]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Workspace/MetaFileParser.py
BaseTools: Skip module AutoGen by comparing timestamp.
[mirror_edk2.git] / BaseTools / Source / Python / Workspace / MetaFileParser.py
index 37a7f5d1de7e86e0f999ed0ba90c7a2aca7b969c..d094403a001d2e4895cc65e4502d24e9700d359d 100644 (file)
@@ -859,6 +859,8 @@ class DscParser(MetaFileParser):
 \r
     SymbolPattern = ValueExpression.SymbolPattern\r
 \r
+    IncludedFiles = set()\r
+\r
     ## Constructor of DscParser\r
     #\r
     #  Initialize object of DscParser\r
@@ -1501,6 +1503,8 @@ class DscParser(MetaFileParser):
             Parser = DscParser(IncludedFile1, self._FileType, self._Arch, IncludedFileTable,\r
                                Owner=Owner, From=Owner)\r
 \r
+            self.IncludedFiles.add (IncludedFile1)\r
+\r
             # Does not allow lower level included file to include upper level included file\r
             if Parser._From != Owner and int(Owner) > int (Parser._From):\r
                 EdkLogger.error('parser', FILE_ALREADY_EXIST, File=self._FileWithError,\r