BaseTools: Add a checking for Sources section in INF file
authorRodriguez, Christian <christian.rodriguez@intel.com>
Wed, 29 May 2019 16:26:48 +0000 (00:26 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Mon, 10 Jun 2019 11:48:51 +0000 (19:48 +0800)
commit1fa6699e6cd4ff7c8f830958f8c26d1eb368a4a7
tree839226a5ca3d64a3bc16b173e98c2af2b34d9f92
parent04797875d1d53e53e31eca4fa01bc3cf6929f39c
BaseTools: Add a checking for Sources section in INF file

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1804

Add a check to see if [Sources] section lists all the header type
files of a module. Performance impact should be minimal with this patch
since information is already being fetched for Makefile purposes. All
other information is already cached in memory. No extra IO time is needed.

Signed-off-by: Christian Rodriguez <christian.rodriguez@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/GenMake.py