audk/BaseTools/Source/Python/AutoGen
Li, Yi1 f4dfec6ca1 BaseTools: Move gPlatformFinalPcd to Datapipe and optimize size
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3828

This is a bugfix of
bf9230a9f3.

1.In the current code, gPlatformFinalPcd will save all PCDs used at
whole compile process, which wastes runtime memory and is unnecessary.

This patch makes gPlatformFinalPcd save only the PCDes which are
assigned in the DSC file, and the PCD that has not been assigned will
use the default value in DEC.

2.During the compilation process, gPlatformFinalPcd may be lost, and
the current code cannot selectively assign PCD in DSC by specifying ARCH.

This patch moves gPlatformFinalPcd into datapipe and modifies the
assignment logicto fix this.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>

Signed-off-by: yi1 li <yi1.li@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2022-04-22 13:55:16 +00:00
..
AutoGen.py BaseTools: Decouple AutoGen Objects 2019-08-09 23:15:52 +08:00
AutoGenWorker.py BaseTools: Move gPlatformFinalPcd to Datapipe and optimize size 2022-04-22 13:55:16 +00:00
BuildEngine.py BaseTools: Fix string concatenation 2020-07-02 10:09:17 +00:00
DataPipe.py BaseTools: Move gPlatformFinalPcd to Datapipe and optimize size 2022-04-22 13:55:16 +00:00
GenC.py BaseTools: Add EDKII_DSC_PLATFORM_GUID MACRO 2020-10-13 02:35:08 +00:00
GenDepex.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenMake.py BaseTools/GenMake: Use ToolDefinition as fallback option 2021-09-29 14:31:37 +00:00
GenPcdDb.py BaseTools: Fix the improper error logging 2021-01-06 02:57:38 +00:00
GenVar.py BaseTools: Fix wrong variable header size 2022-01-13 09:35:35 +00:00
IdfClassObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
IncludesAutoGen.py BaseTools: Resolve index out of range errors. 2020-11-19 02:22:57 +00:00
InfSectionParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ModuleAutoGen.py BaseTools: Remove Makefile/MakefileName fields 2021-09-29 14:31:37 +00:00
ModuleAutoGenHelper.py BaseTools: Fix New Target/ToolChain/Arch in DSC [BuildOptions] issues 2021-05-03 18:16:23 +00:00
PlatformAutoGen.py BaseTools: Fix DSC override of Guided tool 2021-05-10 23:28:58 +00:00
StrGather.py BaseTools:Add extra debugging message 2019-08-01 15:36:48 +08:00
UniClassObject.py python: Replace distutils.utils.split_quotes with shlex.split 2021-08-02 03:09:59 +00:00
ValidCheckingInfoObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
WorkspaceAutoGen.py BaseTools: Add Guid name support in GenFfs. 2020-07-17 05:25:41 +00:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00