Sync all class object with the latest spec.
authorhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 17 Jul 2007 08:30:51 +0000 (08:30 +0000)
committerhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 17 Jul 2007 08:30:51 +0000 (08:30 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@345 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/CommonDataClass/ModuleClass.py

index 8941bc3..f0d926e 100644 (file)
@@ -28,7 +28,7 @@ class ModuleHeaderClass(IdentificationClass, CommonHeaderClass, DefineClass):
         self.InfVersion = ''\r
         self.EfiSpecificationVersion = ''\r
         self.EdkReleaseVersion = ''\r
-        self.LibraryClass = []                      #[ LibraryClass, ...]\r
+        self.LibraryClass = []                      #[ LibraryClassClass, ...]\r
         self.ComponentType = ''                     #LIBRARY | SECURITY_CORE | PEI_CORE | COMBINED_PEIM_DRIVER | PIC_PEIM | RELOCATABLE_PEIM | BS_DRIVER | RT_DRIVER | SAL_RT_DRIVER | APPLICATION\r
         self.MakefileName = ''\r
         self.BuildNumber = ''\r
@@ -127,7 +127,12 @@ class ModuleExternCallBackClass(object):
     def __init__(self):\r
         self.SetVirtualAddressMapCallBack = ''\r
         self.ExitBootServicesCallBack = ''\r
-        \r
+\r
+class ModuleDepexClass(CommonClass):\r
+    def __init__(self):\r
+        CommonClass.__init__(self)\r
+        self.Depex = ''\r
+\r
 class ModuleClass(object):\r
     def __init__(self):\r
         self.Header = ModuleHeaderClass()\r
@@ -138,7 +143,7 @@ class ModuleClass(object):
         self.NonProcessedFiles = []                 #[ '', '', ...]\r
         self.PackageDependencies = []               #[ ModulePackageDependencyClass, ... ] \r
         self.Nmake = {}                             #{ Name : Value, ... }\r
-        self.Depex = []                             #[ '', '', ... ]\r
+        self.Depex = []                             #[ ModuleDepexClass, ... ]\r
         self.Includes = []                          #[ IncludeClass, ...]\r
         self.Protocols = []                         #[ ProtocolClass, ...]\r
         self.Ppis = []                              #[ PpiClass, ...]\r