waf: reduce scope of ant_glob() patterns

And reduce pre-build execution time.
This commit is contained in:
Gustavo Jose de Sousa 2016-07-25 16:44:20 -03:00 committed by Lucas De Marchi
parent e3934fac80
commit ef0fb97fe4
1 changed files with 5 additions and 4 deletions

View File

@ -266,8 +266,9 @@ def _build_recursion(bld):
'*', '*',
'Tools/*', 'Tools/*',
'libraries/*/examples/*', 'libraries/*/examples/*',
'**/tests', 'libraries/*/tests',
'**/benchmarks', 'libraries/*/utility/tests',
'libraries/*/benchmarks',
] ]
common_dirs_excl = [ common_dirs_excl = [
@ -277,8 +278,8 @@ def _build_recursion(bld):
] ]
hal_dirs_patterns = [ hal_dirs_patterns = [
'libraries/%s/**/tests', 'libraries/%s/*/tests',
'libraries/%s/**/benchmarks', 'libraries/%s/*/benchmarks',
'libraries/%s/examples/*', 'libraries/%s/examples/*',
] ]