mirror_edk2/BaseTools/Source/Python/Common
Carsey, Jaben 8bb63e377b BaseTools: replace string constants used for module types
replace raw strings in the code (note: except UPT) with constants.
SUP_MODULE_BASE was 'BASE'
SUP_MODULE_SEC was 'SEC'
SUP_MODULE_PEI_CORE was 'PEI_CORE'
SUP_MODULE_PEIM was 'PEIM'
SUP_MODULE_DXE_CORE was 'DXE_CORE'
SUP_MODULE_DXE_DRIVER was 'DXE_DRIVER'
SUP_MODULE_DXE_RUNTIME_DRIVER was 'DXE_RUNTIME_DRIVER'
SUP_MODULE_DXE_SAL_DRIVER was 'DXE_SAL_DRIVER'
SUP_MODULE_DXE_SMM_DRIVER was 'DXE_SMM_DRIVER'
SUP_MODULE_UEFI_DRIVER was 'UEFI_DRIVER'
SUP_MODULE_UEFI_APPLICATION was 'UEFI_APPLICATION'
SUP_MODULE_USER_DEFINED was 'USER_DEFINED'
SUP_MODULE_SMM_CORE was 'SMM_CORE'
SUP_MODULE_MM_STANDALONE was 'MM_STANDALONE'
SUP_MODULE_MM_CORE_STANDALONE was 'MM_CORE_STANDALONE'

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-05-02 14:56:31 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
BuildToolError.py BaseTools: PcdDataBase Optimization for multiple SkuIds 2017-12-25 11:05:47 +08:00
BuildVersion.py BaseTools: Clear build versions to sync with buildtools/BaseTools 2014-07-25 21:10:33 +00:00
Database.py There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
DataType.py BaseTools: replace string constants used for module types 2018-05-02 14:56:31 +08:00
EdkLogger.py BaseTools: Remove equality operator with None 2018-03-30 08:25:13 +08:00
Expression.py BaseTools: simplify if call 2018-04-26 14:36:05 +08:00
GlobalData.py BaseTools: GenFds - simplify testing for Hex number 2018-04-26 14:44:35 +08:00
Identification.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
LongFilePathOs.py This patch is going to: 2014-08-21 07:51:21 +00:00
LongFilePathOsPath.py BaseTools: Update Build tool to support multiple workspaces 2015-10-08 09:27:14 +00:00
LongFilePathSupport.py BaseTools/Ecc: Add a checkpoint for invalid UNI file. 2015-06-25 07:50:55 +00:00
MigrationUtilities.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
Misc.py BaseTools: Share RegEx between files 2018-04-26 14:27:59 +08:00
MultipleWorkspace.py BaseTools: Fix the bug to correctly handle the [BuildOptions] 2016-04-15 08:41:21 +08:00
Parsing.py BaseTools: refactor and remove un-needed use of .keys() on dictionaries 2018-04-18 22:15:36 +08:00
PyUtility.pyd Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
RangeExpression.py BaseTools: merge towards minimum PCD MAX <something> methods 2018-04-18 22:15:36 +08:00
String.py BaseTools: refactor and remove un-needed use of .keys() on dictionaries 2018-04-18 22:15:36 +08:00
TargetTxtClassObject.py BaseTools: remove uncalled functions 2018-04-10 10:00:00 +08:00
ToolDefClassObject.py BaseTools: remove unused file 2018-04-10 09:58:08 +08:00
VariableAttributes.py BaseTools/Build: Add SDL support 2015-04-10 06:59:47 +00:00
VpdInfoFile.py BaseTools: replace 'UINT8','UINT16','UINT32','UINT64','VOID*' with shared constants. 2018-04-23 11:11:20 +08:00