edk2/BaseTools/Source/Python/Workspace
Bob Chen (UST Global Singapore Pte Limited) cd1d45873c BaseTools: Make DSC arch macro expansion owner-aware
PR #12628 expanded architecture macros for every DSC record so
component-private records match their component. A positive raw owner can
also represent include provenance, so broad expansion changes records
outside component scope.

Expand architecture macros only for Component records and records whose
owner maps to a final Component. Reset the owner mapping whenever the
post-processed table is rebuilt to prevent stale ownership across
DoPostProcess calls.

Add regression coverage for component-private LibraryClasses and PCDs,
nested and private includes, multiple architectures, unresolved macros,
repeated sections, and repeated post-processing.

Signed-off-by: Bob Chen (UST Global Singapore Pte Limited) <v-kuanlchen@microsoft.com>
2026-08-26 11:05:00 +08:00
..
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
BuildClassObject.py BaseTools: WorkSpace: Remove unnecessary code 2025-07-01 09:51:38 +08:00
DecBuildData.py BaseTools: Enable the flag to treat dynamic pcd as dynamicEx 2021-07-12 07:40:07 +00:00
DscBuildData.py BaseTools/Build: Output warning message for library class mismatch 2026-08-06 04:55:34 +00:00
InfBuildData.py BaseTools: Remove DXE_SAL_DRIVER 2025-10-30 10:00:32 +00:00
MetaDataTable.py BaseTools: WorkSpace: Remove unnecessary code 2025-07-01 09:51:38 +08:00
MetaFileCommentParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaFileParser.py BaseTools: Make DSC arch macro expansion owner-aware 2026-08-26 11:05:00 +08:00
MetaFileTable.py BaseTools/Build: Output warning message for library class mismatch 2026-08-06 04:55:34 +00:00
WorkspaceCommon.py BaseTools: Dump library dependency chain on build failure 2025-04-08 08:40:49 +00:00
WorkspaceDatabase.py BaseTools: WorkSpace: Remove unnecessary code 2025-07-01 09:51:38 +08:00