[strings] Faster grep by ignoring 3party

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2021-07-24 08:19:02 +02:00 committed by Alexander Borsuk
parent ffb5727910
commit 95706c5f0d

View file

@ -70,7 +70,7 @@ def grep_android():
def grep_core():
logging.info("Grepping core")
grep = "grep -r -I 'GetLocalizedString' {0}/*".format(OMIM_ROOT)
grep = "grep -r -I --exclude-dir {0}/3party 'GetLocalizedString' {0}/*".format(OMIM_ROOT)
ret = android_grep_wrapper(grep, CORE_RE)
return parenthesize(ret)