]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Improve GetDependencyList function
authorFeng, Bob C <bob.c.feng@intel.com>
Wed, 28 Aug 2019 08:56:11 +0000 (16:56 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Tue, 17 Sep 2019 02:19:05 +0000 (10:19 +0800)
commitbc9e4194cf3edaf9524c83098ba3f72008c70190
tree7387cbe5a229b4a14e33b091fcebaf80cf73a5bc
parente32f7bc96dc8db7af0c1c532e4990c9a36a12354
BaseTools: Improve GetDependencyList function

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2102

GetDependencyList get the header file via
re.findall in the whole header file.

This patch is to pre-process the header file and
to feed the shorter string to re.findall.

This patch is to improve GetDependencyList() efficiency

Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/GenMake.py