diff options
author | Hess Chen <hesheng.chen@intel.com> | 2015-06-25 08:01:59 +0000 |
---|---|---|
committer | hchen30 <hchen30@Edk2> | 2015-06-25 08:01:59 +0000 |
commit | 14239f66034c9fc5ab2e8ae283f9174c4f78f360 (patch) | |
tree | 13754b58d521eecb7b53641b32767b659408ca2f /BaseTools/Source/Python/Ecc/Configuration.py | |
parent | b66592d8eb2d83ea88a39354f3929172d4f7b8b2 (diff) | |
download | edk2-14239f66034c9fc5ab2e8ae283f9174c4f78f360.tar.gz edk2-14239f66034c9fc5ab2e8ae283f9174c4f78f360.tar.bz2 edk2-14239f66034c9fc5ab2e8ae283f9174c4f78f360.zip |
BaseTools/Ecc: Add a checkpoint for invalid DEC file.
Add a checkpoint to check whether a header file in 'include' directory is defined in DEC file
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@17708 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Configuration.py')
-rw-r--r-- | BaseTools/Source/Python/Ecc/Configuration.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Ecc/Configuration.py b/BaseTools/Source/Python/Ecc/Configuration.py index 5a06c4ee2e..da53f5f6f8 100644 --- a/BaseTools/Source/Python/Ecc/Configuration.py +++ b/BaseTools/Source/Python/Ecc/Configuration.py @@ -220,6 +220,8 @@ class Configuration(object): self.MetaDataFileCheckLibraryInstanceOrder = 1
# Check whether the unnecessary inclusion of library classes in the INF file
self.MetaDataFileCheckLibraryNoUse = 1
+ # Check the header file in Include\Library directory whether be defined in the package DEC file.
+ self.MetaDataFileCheckLibraryDefinedInDec = 1
# 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
self.MetaDataFileCheckBinaryInfInFdf = 1
# Not to report error and warning related OS include file such as "windows.h" and "stdio.h"
|