]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/Configuration.py
BaseTools: Change source files to DOS format.
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / Configuration.py
index 55a1655ae5857c112be8a97a6c1f19e40cddb434..5262b685a52e5f48ec5ebe8df5f2d14361089d3e 100644 (file)
@@ -220,6 +220,8 @@ class Configuration(object):
         self.MetaDataFileCheckLibraryInstanceOrder = 1\r
         # Check whether the unnecessary inclusion of library classes in the INF file\r
         self.MetaDataFileCheckLibraryNoUse = 1\r
+        # Check the header file in Include\Library directory whether be defined in the package DEC file.\r
+        self.MetaDataFileCheckLibraryDefinedInDec = 1\r
         # Check whether an INF file is specified in the FDF file, but not in the DSC file, then the INF file must be for a Binary module only\r
         self.MetaDataFileCheckBinaryInfInFdf = 1\r
         # Not to report error and warning related OS include file such as "windows.h" and "stdio.h"\r
@@ -246,6 +248,13 @@ class Configuration(object):
         self.MetaDataFileCheckModuleFilePpiFormat = 1\r
         # Check Pcd Format in INF files\r
         self.MetaDataFileCheckModuleFilePcdFormat = 1\r
+        \r
+        # Check UNI file\r
+        self.UniCheckAll = 0\r
+        # Check INF or DEC file whether defined the localized information in the associated UNI file.\r
+        self.UniCheckHelpInfo = 1\r
+        # Check PCD whether defined the prompt, help in the DEC file and localized information in the associated UNI file.\r
+        self.UniCheckPCDInfo = 1\r
 \r
         #\r
         # The check points in this section are reserved\r
@@ -265,6 +274,9 @@ class Configuration(object):
         \r
         # A list for only scanned folders\r
         self.ScanOnlyDirList = []\r
+        \r
+        # A list for Copyright format\r
+        self.Copyright = []\r
 \r
         self.ParseConfig()\r
 \r
@@ -293,6 +305,8 @@ class Configuration(object):
                     List[1] = GetSplitValueList(List[1], TAB_COMMA_SPLIT)\r
                 if List[0] == 'BinaryExtList':\r
                     List[1] = GetSplitValueList(List[1], TAB_COMMA_SPLIT)\r
+                if List[0] == 'Copyright':\r
+                    List[1] = GetSplitValueList(List[1], TAB_COMMA_SPLIT)\r
                 self.__dict__[List[0]] = List[1]\r
 \r
     def ShowMe(self):\r