From a9b45f9ebd42bcb499f2516d9d600b2b619f34b0 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Fri, 15 Mar 2024 21:59:31 +0100 Subject: [PATCH] [tools] Faster localizations generation Signed-off-by: Alexander Borsuk --- tools/python/clean_strings_txt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/python/clean_strings_txt.py b/tools/python/clean_strings_txt.py index 528f43de2c..8d2815f9a7 100755 --- a/tools/python/clean_strings_txt.py +++ b/tools/python/clean_strings_txt.py @@ -90,8 +90,7 @@ def grep_android(): def grep_core(): logging.info("Grepping core...") - grep = "grep -wr -I --exclude-dir {0}/3party --exclude-dir {0}/.git --exclude-dir {0}/data 'GetLocalizedString' {0}/*".format( - OMIM_ROOT) + grep = "grep -wr -I 'GetLocalizedString' {0}/map {0}/platform".format(OMIM_ROOT) ret = android_grep_wrapper(grep, CORE_RE) logging.info("Found in core: {0}".format(len(ret)))