mirror of https://github.com/acidanthera/audk.git
BaseTools: remove dict from DscBuildData
the dict is not needed as BaseTools can check the set Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
dca689d579
commit
1d5fde83d0
|
@ -1947,13 +1947,11 @@ class DscBuildData(PlatformBuildClassObject):
|
|||
InitByteValue = ""
|
||||
CApp = PcdMainCHeader
|
||||
|
||||
Includes = {}
|
||||
IncludeFiles = set()
|
||||
for PcdName in StructuredPcds:
|
||||
Pcd = StructuredPcds[PcdName]
|
||||
for IncludeFile in Pcd.StructuredPcdIncludeFile:
|
||||
if IncludeFile not in Includes:
|
||||
Includes[IncludeFile] = True
|
||||
if IncludeFile not in IncludeFiles:
|
||||
IncludeFiles.add(IncludeFile)
|
||||
CApp = CApp + '#include <%s>\n' % (IncludeFile)
|
||||
CApp = CApp + '\n'
|
||||
|
|
Loading…
Reference in New Issue