diff options
author | dvshkurko <dvshkurko@yandex-team.ru> | 2022-02-10 16:45:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:51 +0300 |
commit | 321ee9bce31ec6e238be26dbcbe539cffa2c3309 (patch) | |
tree | 14407a2757cbf29eb97e266b7f07e851f971000c /build/plugins/java.py | |
parent | 2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (diff) | |
download | ydb-321ee9bce31ec6e238be26dbcbe539cffa2c3309.tar.gz |
Restoring authorship annotation for <dvshkurko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/java.py')
-rw-r--r-- | build/plugins/java.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/build/plugins/java.py b/build/plugins/java.py index 16fc126734..c40e184295 100644 --- a/build/plugins/java.py +++ b/build/plugins/java.py @@ -180,15 +180,15 @@ def onjava_module(unit, *args): ymake.report_configure_error('{}: JDK export supported only for JAVA_PROGRAM module type'.format(unit.path())) data['WITH_JDK'] = extract_macro_calls(unit, 'WITH_JDK_VALUE', args_delim) - if not data['EXTERNAL_JAR']: - has_processor = extract_macro_calls(unit, 'GENERATE_VCS_JAVA_INFO_NODEP', args_delim) - data['EMBED_VCS'] = [[str(has_processor and has_processor[0] and has_processor[0][0])]] - # FORCE_VCS_INFO_UPDATE is responsible for setting special value of VCS_INFO_DISABLE_CACHE__NO_UID__ - macro_val = extract_macro_calls(unit, 'FORCE_VCS_INFO_UPDATE', args_delim) - macro_str = macro_val[0][0] if macro_val and macro_val[0] and macro_val[0][0] else '' - if macro_str and macro_str == 'yes': - data['VCS_INFO_DISABLE_CACHE__NO_UID__'] = macro_val - + if not data['EXTERNAL_JAR']: + has_processor = extract_macro_calls(unit, 'GENERATE_VCS_JAVA_INFO_NODEP', args_delim) + data['EMBED_VCS'] = [[str(has_processor and has_processor[0] and has_processor[0][0])]] + # FORCE_VCS_INFO_UPDATE is responsible for setting special value of VCS_INFO_DISABLE_CACHE__NO_UID__ + macro_val = extract_macro_calls(unit, 'FORCE_VCS_INFO_UPDATE', args_delim) + macro_str = macro_val[0][0] if macro_val and macro_val[0] and macro_val[0][0] else '' + if macro_str and macro_str == 'yes': + data['VCS_INFO_DISABLE_CACHE__NO_UID__'] = macro_val + for java_srcs_args in data['JAVA_SRCS']: external = None |