diff options
author | snermolaev <snermolaev@yandex-team.ru> | 2022-02-10 16:45:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:53 +0300 |
commit | 7353a3fdea9c67c256980c00a2b3b67f09b23a27 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /build/plugins/rodata.py | |
parent | 2015790ac9fcc04caab83fccc23ab2460310a797 (diff) | |
download | ydb-7353a3fdea9c67c256980c00a2b3b67f09b23a27.tar.gz |
Restoring authorship annotation for <snermolaev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/rodata.py')
-rw-r--r-- | build/plugins/rodata.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build/plugins/rodata.py b/build/plugins/rodata.py index ffb31be093e..3ecb0f9a839 100644 --- a/build/plugins/rodata.py +++ b/build/plugins/rodata.py @@ -21,13 +21,13 @@ class ROData(iw.CustomCommand): if flags: self.parse_flags(path, unit, collections.deque(flags.split(' '))) - if unit.enabled('DARWIN') or unit.enabled('IOS'): + if unit.enabled('DARWIN') or unit.enabled('IOS'): self._platform = ['DARWIN', 'UNIX'] self._fmt = 'macho' - elif unit.enabled('WIN64') or unit.enabled('CYGWIN'): + elif unit.enabled('WIN64') or unit.enabled('CYGWIN'): self._platform = ['WIN64'] self._fmt = 'win' - elif unit.enabled('WIN32'): + elif unit.enabled('WIN32'): self._platform = ['WIN32'] self._fmt = 'win' else: @@ -37,10 +37,10 @@ class ROData(iw.CustomCommand): if 'elf' in self._fmt: self._flags += ['-g', 'dwarf2'] - self._fmt += unit.get('HARDWARE_ARCH') - self._type = unit.get('HARDWARE_TYPE') + self._fmt += unit.get('HARDWARE_ARCH') + self._type = unit.get('HARDWARE_TYPE') - if unit.enabled('DARWIN') or unit.enabled('IOS') or (unit.enabled('WINDOWS') and unit.enabled('ARCH_TYPE_32')): + if unit.enabled('DARWIN') or unit.enabled('IOS') or (unit.enabled('WINDOWS') and unit.enabled('ARCH_TYPE_32')): self._prefix = '_' else: self._prefix = '' |