From c8d07c5eeb481e777ad48dc1737d1ab1be67bd44 Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Wed, 23 Mar 2016 17:34:13 +0800 Subject: BaseTools: Add two new sections for PCD in the build report Build Spec updated to add two new sections for PCD in the build report. 1.Conditional directives section:If the DSC or FDF file contains conditional directive statements. 2.Unused PCDs section: If the DSC or FDF file define values for PCDs that are not used by any module and are not used in conditional directive statements. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu Reviewed-by: Liming Gao --- BaseTools/Source/Python/Common/GlobalData.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'BaseTools/Source/Python/Common/GlobalData.py') diff --git a/BaseTools/Source/Python/Common/GlobalData.py b/BaseTools/Source/Python/Common/GlobalData.py index 8f544bd1b2..c3439ebbfc 100644 --- a/BaseTools/Source/Python/Common/GlobalData.py +++ b/BaseTools/Source/Python/Common/GlobalData.py @@ -78,3 +78,6 @@ gFdfParser = None gTempInfs = [] BuildOptionPcd = [] + +# Pcd name for the Pcd which used in the Conditional directives +gConditionalPcds = [] -- cgit v1.2.3