mirror_edk2/BaseTools/Source/Python
Zhaozh1x 073891a3e7 BaseTools: Convert "Unicode string" to "byte array" if value type diff
V2:
Fixed 3 typo.
Use startswith(('L"',"L'")) to check if a string is Unicode string.
Use a set PcdValueTypeSet instead of a list PcdValueTypeList to save
memory.

V1:
For the same one VOID* pcd, if the default value type of one SKU is
"Unicode string", the other SKUs are "OtherVOID*"(ASCII string or
byte array),Then convert "Unicode string" to "byte array".

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: ZhiqiangX Zhao <zhiqiangx.zhao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2018-10-22 15:19:27 +08:00
..
AutoGen BaseTool: Support different PCDs that refers to the same EFI variable. 2018-10-22 15:19:26 +08:00
BPDG Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
build BaseTools: Fix one crash bug in the report for Fixed structure Pcd 2018-10-21 20:10:21 +08:00
Capsule BaseTools/Capsule: Support capsules without a payload header 2018-08-02 14:35:29 -07:00
Common BaseTools: delete unused file 2018-10-21 20:06:03 +08:00
CommonDataClass BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Ecc Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Eot BaseTools/EOT: Change to call a program instead of calling Python API. 2018-10-16 14:52:02 +08:00
GenFds BaseTools: Fix regression boot hang issue by commit 0e982cf03d 2018-10-15 18:21:28 +08:00
GenPatchPcdTable Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
PatchPcdValue Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Pkcs7Sign Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Rsa2048Sha256Sign Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Table Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
TargetTool Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Trim Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
UPT BaseTools: Remove the step to freeze python tool 2018-10-19 08:21:47 +08:00
Workspace BaseTools: Convert "Unicode string" to "byte array" if value type diff 2018-10-22 15:19:27 +08:00
GNUmakefile Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
Makefile BaseTools: Remove the step to freeze python tool 2018-10-19 08:21:47 +08:00
sitecustomize.py BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00