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.88; helo=mga01.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 9052321F2E171 for ; Tue, 17 Apr 2018 05:52:56 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 05:52:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,463,1517904000"; d="scan'208";a="32608950" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga007.fm.intel.com with ESMTP; 17 Apr 2018 05:52:56 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 05:52:55 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 05:52:55 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.79]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.6]) with mapi id 14.03.0319.002; Tue, 17 Apr 2018 20:52:53 +0800 From: "Zhu, Yonghong" To: "Carsey, Jaben" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Zhu, Yonghong" Thread-Topic: [PATCH v1] BaseTools: remove an unused file Thread-Index: AQHT00pJc02+tTP+sUOuY0EipmxHvKQE72ag Date: Tue, 17 Apr 2018 12:52:52 +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 v1] BaseTools: remove an unused file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 12:52:56 -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: Carsey, Jaben=20 Sent: Saturday, April 14, 2018 1:10 AM To: edk2-devel@lists.01.org Cc: Gao, Liming ; Zhu, Yonghong Subject: [PATCH v1] BaseTools: remove an unused file Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey --- BaseTools/Source/Python/CommonDataClass/PackageClass.py | 127 ------------= -------- BaseTools/Source/Python/Makefile | 1 - 2 files changed, 128 deletions(-) diff --git a/BaseTools/Source/Python/CommonDataClass/PackageClass.py b/Base= Tools/Source/Python/CommonDataClass/PackageClass.py deleted file mode 100644 index ba7d7eb67911..000000000000 --- a/BaseTools/Source/Python/CommonDataClass/PackageClass.py +++ /dev/null @@ -1,127 +0,0 @@ -## @file -# This file is used to define a class object to describe a package -# -# C= opyright (c) 2007, Intel Corporation. All rights reserved.
-# This prog= ram and the accompanying materials -# are licensed and made available under= the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may= be found at -# http://opensource.org/licenses/bsd-license.php -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -#= WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLI= ED. - -## -# Import Modules -# -from CommonClass import * -from collections import OrderedDict - -## PackageHeaderClass -# -# This class defined header items used in Package file -# -# @param Identi= ficationClass: Inherited from IdentificationClass class -# @param CommonHeaderClass: Inherited from CommonHeaderClass class -# -# @var DecSpecification: To store value for DecSpecification -# @var ReadOnly: To store value for ReadOnly -# @var RePackage: To store value for RePackage -# @var ClonedFrom: To store value for ClonedFrom, it is a set = structure as -# [ ClonedRecordClass, ...] -# -class PackageHeaderClass(IdentificationClass, CommonHeaderClass): - def __init__(self): - IdentificationClass.__init__(self) - CommonHeaderClass.__init__(self) - self.DecSpecification =3D '' - self.ReadOnly =3D False - self.RePackage =3D False - self.PackagePath =3D '' - self.ClonedFrom =3D [] - -## PackageIndustryStdHeaderClass -# -# This class defined industry std header items used in Package file -# -# = @param CommonHeaderClass: Inherited from CommonHeaderClass class -# -# @var Name: To store value for Name -# @var IncludeHeader: To store value for IncludeHeader -# -class PackageIndustryStdHeaderClass(CommonClass): - def __init__(self): - self.Name =3D '' - self.IncludeHeader =3D '' - CommonClass.__init__(self) - -## PackageIncludePkgHeaderClass -# -# This class defined include Pkg header items used in Package file -#=20 -# @param object: Inherited from object class -# -# @var IncludeHeader: To store value for IncludeHeader -# @var ModuleType: To store value for ModuleType, it is a set structur= e as -# BASE | SEC | PEI_CORE | PEIM | DXE_CORE | DXE_DRIVE= R | DXE_RUNTIME_DRIVER | DXE_SAL_DRIVER | DXE_SMM_DRIVER | TOOL | UEFI_DRIV= ER | UEFI_APPLICATION | USER_DEFINED | SMM_CORE | MM_STANDALONE | MM_CORE_S= TANDALONE -# -class PackageIncludePkgHeaderClass(object): - def __init__(self): - self.IncludeHeader =3D '' - self.ModuleType =3D [] - -## PackageClass -# -# This class defined a complete package item -#=20 -# @param object: Inherited from object class -# -# @var Header: To store value for Header, it is a struc= ture as -# {Arch : PackageHeaderClass} -# @var Includes: To store value for Includes, it is a lis= t structure as -# [ IncludeClass, ...] -# @var LibraryClassDeclarations: To store value for LibraryClassDeclarati= ons, it is a list structure as -# [ LibraryClassClass, ...] -# @var IndustryStdHeaders: To store value for IndustryStdHeaders, i= t is a list structure as -# [ PackageIndustryStdHeader, ...] -# @var ModuleFiles: To store value for ModuleFiles, it is a = list structure as -# [ '', '', ...]=20 -# @var PackageIncludePkgHeaders: To store value for PackageIncludePkgHead= ers, it is a list structure as -# [ PackageIncludePkgHeader, ...] -# @var GuidDeclarations: To store value for GuidDeclarations, it = is a list structure as -# [ GuidClass, ...] -# @var ProtocolDeclarations: To store value for ProtocolDeclarations,= it is a list structure as -# [ ProtocolClass, ...] -# @var PpiDeclarations: To store value for PpiDeclarations, it i= s a list structure as -# [ PpiClass, ...] -# @var PcdDeclarations: To store value for PcdDeclarations, it i= s a list structure as -# [ PcdClass, ...] -# @var UserExtensions: To store value for UserExtensions, it is= a list structure as -# [ UserExtensionsClass, ...] -# -class PackageClass(object): - def __init__(self): - self.PackageHeader =3D PackageHeaderClass() - self.Header =3D {} - self.Includes =3D [] - self.LibraryClassDeclarations =3D [] - self.IndustryStdHeaders =3D [] - self.ModuleFiles =3D [] - # {[Guid, Value, Path(relative to WORKSPACE)]: ModuleClassObj} - self.Modules =3D OrderedDict() - self.PackageIncludePkgHeaders =3D [] - self.GuidDeclarations =3D [] - self.ProtocolDeclarations =3D [] - self.PpiDeclarations =3D [] - self.PcdDeclarations =3D [] - self.PcdChecks =3D [] - self.UserExtensions =3D UserExtensionsClass() - self.MiscFiles =3D MiscFileClass() - self.FileList =3D [] - -## -# -# This acts like the main() function for the script, unless it is 'import'= ed into another -# script. -# -if __name__ =3D=3D '__main__': - P =3D PackageClass() diff --git a/BaseTools/Source/Python/Makefile b/BaseTools/Source/Python/Mak= efile index c1c58dc0a423..27eed82b6ac3 100644 --- a/BaseTools/Source/Python/Makefile +++ b/BaseTools/Source/Python/Makefile @@ -59,7 +59,6 @@ COMMON_PYTHON=3D$(BASE_TOOLS_PATH)\Source\Python\Common\B= uildToolError.py \ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\Exceptions.= py \ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\FdfClass.py= \ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\ModuleClass= .py \ - $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\PackageClas= s.py \ $(BASE_TOOLS_PATH)\Source\Python\CommonDataClass\PlatformCla= ss.py \ $(BASE_TOOLS_PATH)\Source\Python\Table\Table.py \ $(BASE_TOOLS_PATH)\Source\Python\Table\TableDataModel.py \ -- 2.16.2.windows.1