audk/BaseTools/Source/Python/Workspace
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
..
BuildClassObject.py BaseTools: Remove Makefile/MakefileName fields 2021-09-29 14:31:37 +00:00
DecBuildData.py BaseTools: Enable the flag to treat dynamic pcd as dynamicEx 2021-07-12 07:40:07 +00:00
DscBuildData.py BaseTools: Move gPlatformFinalPcd to Datapipe and optimize size 2022-04-22 13:55:16 +00:00
InfBuildData.py BaseTools: Move gPlatformFinalPcd to Datapipe and optimize size 2022-04-22 13:55:16 +00:00
MetaDataTable.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaFileCommentParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaFileParser.py BaseTools: Add the FeatureFlagExpression usage to the Source Section 2022-03-26 00:59:18 +00:00
MetaFileTable.py BaseTools: Correct report the line number in INF file issue 2020-12-22 02:21:26 +00:00
WorkspaceCommon.py BaseTools: Move gPlatformFinalPcd to Datapipe and optimize size 2022-04-22 13:55:16 +00:00
WorkspaceDatabase.py BaseTools: Remove the file timestamp checking during parsing 2020-07-21 04:12:32 +00:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00