diff options
author | deshevoy <deshevoy@yandex-team.ru> | 2022-02-10 16:46:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:56 +0300 |
commit | e988f30484abe5fdeedcc7a5d3c226c01a21800c (patch) | |
tree | 0a217b173aabb57b7e51f8a169989b1a3e0309fe /build/plugins/linker_script.py | |
parent | 33ee501c05d3f24036ae89766a858930ae66c548 (diff) | |
download | ydb-e988f30484abe5fdeedcc7a5d3c226c01a21800c.tar.gz |
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/linker_script.py')
-rw-r--r-- | build/plugins/linker_script.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/build/plugins/linker_script.py b/build/plugins/linker_script.py index bee9777a4e9..81e263ed5fe 100644 --- a/build/plugins/linker_script.py +++ b/build/plugins/linker_script.py @@ -1,12 +1,12 @@ -def onlinker_script(unit, *args): - """ - @usage: LINKER_SCRIPT(Files...) - - Specify files to be used as a linker script - """ - for arg in args: - if not arg.endswith(".ld") and not arg.endswith(".ld.in"): - unit.message(['error', "Invalid linker script extension: {}".format(arg)]) - return - - unit.onglobal_srcs(list(args)) +def onlinker_script(unit, *args): + """ + @usage: LINKER_SCRIPT(Files...) + + Specify files to be used as a linker script + """ + for arg in args: + if not arg.endswith(".ld") and not arg.endswith(".ld.in"): + unit.message(['error', "Invalid linker script extension: {}".format(arg)]) + return + + unit.onglobal_srcs(list(args)) |