diff options
author | spreis <spreis@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
commit | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch) | |
tree | d41d29a041d5733ef148335290dbb817b197d4cd /build/plugins/swig.py | |
parent | 986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff) | |
download | ydb-bcd1126cbd5d445cd0665d295198aa39c6ab8cbe.tar.gz |
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/swig.py')
-rw-r--r-- | build/plugins/swig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/plugins/swig.py b/build/plugins/swig.py index 32a37204a60..b8953935b8d 100644 --- a/build/plugins/swig.py +++ b/build/plugins/swig.py @@ -66,7 +66,7 @@ class Swig(iw.CustomCommand): unit.onpeerdir(['build/platform/perl']) if self._swig_lang in ['jni_cpp', 'java']: - self._out_header = os.path.splitext(self._main_out)[0] + '.h' + self._out_header = os.path.splitext(self._main_out)[0] + '.h' if (not unit.get('USE_SYSTEM_JDK')) and (unit.get('OS_ANDROID') != "yes"): unit.onpeerdir(['contrib/libs/jdk']) @@ -101,9 +101,9 @@ class Swig(iw.CustomCommand): (common.join_intl_paths(self._bindir, self._out_name), (['noauto', 'add_to_outs'] if self._swig_lang != 'java' else [])), ] + ([(self._out_header, [])] if self._swig_lang == 'java' else []) - def output_includes(self): + def output_includes(self): return [(self._out_header, [])] if self._swig_lang in ['java', 'jni_cpp'] else [] - + def run(self, extra_args, binary): if self._local_swig: binary = self._tool |