]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/DecBuildData.py
BaseTools: fix imports
authorCarsey, Jaben <jaben.carsey@intel.com>
Wed, 9 Jan 2019 19:00:41 +0000 (03:00 +0800)
committerBobCF <bob.c.feng@intel.com>
Thu, 10 Jan 2019 14:01:11 +0000 (22:01 +0800)
commit938cf4c33a0695ef1011b07e455a7ec2f87b5ad3
tree54d533d009cb2e8952608eefe2baf6200971d2b1
parenta53a888de8f5fa8dbf75a381e28f25a5497572f1
BaseTools: fix imports

1 - Some of these imports are cascaded from another file. Import them locally.
2 - Some of these imports are not used. Remove them.
3 - Some of these were missing the namespace used to import them.

These changes facilitate optimization of BaseTools:
https://bugzilla.tianocore.org/show_bug.cgi?id=42

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
14 files changed:
BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools/Source/Python/AutoGen/GenC.py
BaseTools/Source/Python/AutoGen/GenPcdDb.py
BaseTools/Source/Python/Common/RangeExpression.py
BaseTools/Source/Python/Common/ToolDefClassObject.py
BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
BaseTools/Source/Python/GenFds/FdfParser.py
BaseTools/Source/Python/GenFds/FfsInfStatement.py
BaseTools/Source/Python/GenFds/GenFds.py
BaseTools/Source/Python/GenFds/GuidSection.py
BaseTools/Source/Python/Workspace/DecBuildData.py
BaseTools/Source/Python/Workspace/DscBuildData.py
BaseTools/Source/Python/Workspace/MetaFileParser.py
BaseTools/Source/Python/build/build.py