From nobody Mon May 6 04:54:38 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1523639409166659.7572773646634; Fri, 13 Apr 2018 10:10:09 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id AFBA22272962F; Fri, 13 Apr 2018 10:10:07 -0700 (PDT) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 2596E2274F3CC for ; Fri, 13 Apr 2018 10:10:05 -0700 (PDT) Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Apr 2018 10:10:05 -0700 Received: from jcarsey-desk1.amr.corp.intel.com ([10.7.159.144]) by orsmga007.jf.intel.com with ESMTP; 13 Apr 2018 10:10:05 -0700 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=jaben.carsey@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,446,1517904000"; d="scan'208";a="33185670" From: Jaben To: edk2-devel@lists.01.org Date: Fri, 13 Apr 2018 10:10:00 -0700 Message-Id: X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: References: Subject: [edk2] [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: , Cc: Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey Reviewed-by: Yonghong Zhu =20 --- 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 -# -# Copyright (c) 2007, Intel Corporation. All rights reserved.
-# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BS= D 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 IMP= LIED. - -## -# Import Modules -# -from CommonClass import * -from collections import OrderedDict - -## PackageHeaderClass -# -# This class defined header items used in Package file -#=20 -# @param IdentificationClass: 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 -#=20 -# @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 \ --=20 2.16.2.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel