From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D893E2113DA28 for ; Thu, 20 Sep 2018 00:01:36 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2018 00:01:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,397,1531810800"; d="scan'208";a="265134948" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 20 Sep 2018 00:01:35 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 20 Sep 2018 00:01:35 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 20 Sep 2018 00:01:35 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.226]) by shsmsx102.ccr.corp.intel.com ([169.254.2.70]) with mapi id 14.03.0319.002; Thu, 20 Sep 2018 15:01:32 +0800 From: "Zhu, Yonghong" To: "Carsey, Jaben" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH v2 0/9] BaseTools: refactor Workspace classes Thread-Index: AQHUSVQ4EbDtF8gELE+6BaxGzMMKt6T4zJOg Date: Thu, 20 Sep 2018 07:01:31 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 0/9] BaseTools: refactor Workspace classes X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 07:01:37 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu =20 Best Regards, Zhu Yonghong -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jabe= n Carsey Sent: Tuesday, September 11, 2018 6:18 AM To: edk2-devel@lists.01.org Subject: [edk2] [PATCH v2 0/9] BaseTools: refactor Workspace classes update the classes for the following: 1) use decorators for property 2) use decorators for caching property and caching function - this allows for objects to reduce in size as they get used 3) remove unused variables and properties 4) use tuple instead of custom class when apropriate 5) remove callers from accessing "private" data and use the existing proper= ties 6) removed a circular dependency between APIs v2: fix error where class attribute M was accidentally removed. Jaben Carsey (9): BaseTools: Refactor PlatformAutoGen BaseTools: AutoGen refactor WorkspaceAutoGen class BaseTools: AutoGen - refactor class properties BaseTools: refactor class properties BaseTools: Workspace classes refactor properties BaseTools: refactor Build Database objects BaseTools: Don't save unused workspace data BaseTools: refactor to not overcreate ModuleAutoGen objects BaseTools: refactor to cache InfBuildData data BaseTools/Source/Python/AutoGen/AutoGen.py | 692 +++++++------= - BaseTools/Source/Python/AutoGen/GenMake.py | 20 +- BaseTools/Source/Python/Common/Misc.py | 90 +- BaseTools/Source/Python/GenFds/FfsInfStatement.py | 4 +- BaseTools/Source/Python/Workspace/BuildClassObject.py | 39 +- BaseTools/Source/Python/Workspace/DecBuildData.py | 65 +- BaseTools/Source/Python/Workspace/DscBuildData.py | 151 ++-- BaseTools/Source/Python/Workspace/InfBuildData.py | 954 +++++++++----= ------- BaseTools/Source/Python/Workspace/MetaFileParser.py | 18 +- BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | 16 +- BaseTools/Source/Python/build/build.py | 4 +- 11 files changed, 933 insertions(+), 1120 deletions(-) -- 2.16.2.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel