From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=jaben.carsey@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 B668C226C7C35 for ; Tue, 3 Apr 2018 14:03:11 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2018 14:03:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,402,1517904000"; d="scan'208";a="47710149" Received: from jcarsey-desk1.amr.corp.intel.com ([10.7.159.144]) by orsmga002.jf.intel.com with ESMTP; 03 Apr 2018 14:03:11 -0700 From: Jaben Carsey To: edk2-devel@lists.01.org Date: Tue, 3 Apr 2018 14:03:00 -0700 Message-Id: X-Mailer: git-send-email 2.16.2.windows.1 Subject: [PATCH v1 00/10] BaseTools: refactor code 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, 03 Apr 2018 21:03:11 -0000 remove sdict class use and replace with built in types remove unused code Jaben Carsey (10): BaseTools: Use local variable for list of constants. BaseTools: use built in dict instead of custom version. BaseTools: Eot tool never populates this dictionary BaseTools: remove unused include statement BaseTools - AutoGen - replace custom dictionary class with python standard one BaseTools: Eot remove unused code BaseTools: use built in dict instead of custom version. BaseTools: use combined version of standard dicts BaseTools: Workspace - use built in OrderedDict instead of custom version. BaseTools: Remove unused code from Misc BaseTools/Source/Python/AutoGen/AutoGen.py | 31 +-- BaseTools/Source/Python/AutoGen/GenC.py | 30 ++- BaseTools/Source/Python/AutoGen/GenMake.py | 3 +- BaseTools/Source/Python/Common/DscClassObject.py | 4 +- BaseTools/Source/Python/Common/EdkIIWorkspaceBuild.py | 10 +- BaseTools/Source/Python/Common/Misc.py | 280 +------------------- BaseTools/Source/Python/CommonDataClass/PackageClass.py | 4 +- BaseTools/Source/Python/Eot/Eot.py | 9 - BaseTools/Source/Python/Eot/EotGlobalData.py | 16 +- BaseTools/Source/Python/Eot/FvImage.py | 21 -- BaseTools/Source/Python/Eot/Parser.py | 3 +- BaseTools/Source/Python/GenFds/GenFds.py | 1 - BaseTools/Source/Python/Workspace/BuildClassObject.py | 4 +- BaseTools/Source/Python/Workspace/DecBuildData.py | 24 +- BaseTools/Source/Python/Workspace/DscBuildData.py | 24 +- BaseTools/Source/Python/Workspace/InfBuildData.py | 52 ++-- BaseTools/Source/Python/Workspace/WorkspaceCommon.py | 21 +- BaseTools/Source/Python/build/build.py | 10 +- 18 files changed, 118 insertions(+), 429 deletions(-) -- 2.16.2.windows.1