]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTool: Support EDKII style GUID definition for VFR function.
[mirror_edk2.git] / BaseTools / Source / Python / AutoGen / AutoGen.py
index 7c0d7a4509b9ac0d121c9a40bc007bbb94016096..cd61e8e75896a7fc162cf33cf64661c33830b28b 100644 (file)
@@ -2935,7 +2935,8 @@ class ModuleAutoGen(AutoGen):
     #\r
     def _GetGuidList(self):\r
         if self._GuidList == None:\r
-            self._GuidList = self.Module.Guids\r
+            self._GuidList = sdict()\r
+            self._GuidList.update(self.Module.Guids)\r
             for Library in self.DependentLibraryList:\r
                 self._GuidList.update(Library.Guids)\r
                 self.UpdateComments(self._GuidComments, Library.GuidComments)\r
@@ -2955,7 +2956,8 @@ class ModuleAutoGen(AutoGen):
     #\r
     def _GetProtocolList(self):\r
         if self._ProtocolList == None:\r
-            self._ProtocolList = self.Module.Protocols\r
+            self._ProtocolList = sdict()\r
+            self._ProtocolList.update(self.Module.Protocols)\r
             for Library in self.DependentLibraryList:\r
                 self._ProtocolList.update(Library.Protocols)\r
                 self.UpdateComments(self._ProtocolComments, Library.ProtocolComments)\r
@@ -2968,7 +2970,8 @@ class ModuleAutoGen(AutoGen):
     #\r
     def _GetPpiList(self):\r
         if self._PpiList == None:\r
-            self._PpiList = self.Module.Ppis\r
+            self._PpiList = sdict()\r
+            self._PpiList.update(self.Module.Ppis)\r
             for Library in self.DependentLibraryList:\r
                 self._PpiList.update(Library.Ppis)\r
                 self.UpdateComments(self._PpiComments, Library.PpiComments)\r