diff options
author | deshevoy <deshevoy@yandex-team.ru> | 2022-02-10 16:46:57 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:57 +0300 |
commit | 28148f76dbfcc644d96427d41c92f36cbf2fdc6e (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /build/plugins/linker_script.py | |
parent | e988f30484abe5fdeedcc7a5d3c226c01a21800c (diff) | |
download | ydb-28148f76dbfcc644d96427d41c92f36cbf2fdc6e.tar.gz |
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 2 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 81e263ed5fe..bee9777a4e9 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)) |