summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc/Configuration.py
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2015-06-25 07:50:55 +0000
committerhchen30 <hchen30@Edk2>2015-06-25 07:50:55 +0000
commit1b2467c58f3fd4b407c676438bf471afd65588aa (patch)
tree1deac0d184ea781bfc684362b4572e1a4ce92f9d /BaseTools/Source/Python/Ecc/Configuration.py
parent8c3f9b4e3c639b6a694bdb8099267f646681a34c (diff)
downloadedk2-platforms-1b2467c58f3fd4b407c676438bf471afd65588aa.tar.xz
BaseTools/Ecc: Add a checkpoint for invalid UNI file.
Add a checkpoint to check that the UNI file which is associated by INF or DEC file need define the prompt and help information. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: YangX Li <yangx.li@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17706 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Configuration.py')
-rw-r--r--BaseTools/Source/Python/Ecc/Configuration.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Ecc/Configuration.py b/BaseTools/Source/Python/Ecc/Configuration.py
index 55a1655ae5..5a06c4ee2e 100644
--- a/BaseTools/Source/Python/Ecc/Configuration.py
+++ b/BaseTools/Source/Python/Ecc/Configuration.py
@@ -246,6 +246,13 @@ class Configuration(object):
self.MetaDataFileCheckModuleFilePpiFormat = 1
# Check Pcd Format in INF files
self.MetaDataFileCheckModuleFilePcdFormat = 1
+
+ # Check UNI file
+ self.UniCheckAll = 0
+ # Check INF or DEC file whether defined the localized information in the associated UNI file.
+ self.UniCheckHelpInfo = 1
+ # Check PCD whether defined the prompt, help in the DEC file and localized information in the associated UNI file.
+ self.UniCheckPCDInfo = 1
#
# The check points in this section are reserved