diff options
author | Fan, ZhijuX <zhijux.fan@intel.com> | 2019-12-03 17:04:25 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2019-12-04 07:56:55 +0000 |
commit | c8ff8e05afb6a20b1ae66aa80bb8636b664be0b2 (patch) | |
tree | 9e0faa21ad1c8155e17246c784b4c95748a78ef7 /BaseTools/Source/Python/Workspace/MetaDataTable.py | |
parent | 9c33f16f8cecba845e877295e8b9be805dd2fbb8 (diff) | |
download | edk2-c8ff8e05afb6a20b1ae66aa80bb8636b664be0b2.tar.gz edk2-c8ff8e05afb6a20b1ae66aa80bb8636b664be0b2.tar.bz2 edk2-c8ff8e05afb6a20b1ae66aa80bb8636b664be0b2.zip |
BaseTools:Enhance the way to handling included dsc file
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2400
In Dsc Parser, included dsc file is parsed always no matter
if its condition is False
gUefiOvmfPkgTokenSpaceGuid.test1|FALSE
!if gUefiOvmfPkgTokenSpaceGuid.test1 == FALSE
!include OvmfPkg/test1.dsc
!else
!include OvmfPkg/test2.dsc
!endif
The patch avoids processing redundant dsc files and improves
the way Tool handles them.
In the above case, since the conditional result is FALSE,
"test2.dsc" is not parsed.
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaDataTable.py')
0 files changed, 0 insertions, 0 deletions