summaryrefslogtreecommitdiffstats
path: root/build/plugins/res.py
diff options
context:
space:
mode:
authorrnefyodov <[email protected]>2022-02-10 16:47:17 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:17 +0300
commitc22320e8c4f3d7be38c504706f137034e91d31e6 (patch)
tree35cc6c382a1bd8cb932449ffa734056fcc73e6d4 /build/plugins/res.py
parent93e9e4639b6ee2afbdf45cf3927cea6d340e19b0 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/res.py')
-rw-r--r--build/plugins/res.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/plugins/res.py b/build/plugins/res.py
index a937caba816..0c47e6ed7e8 100644
--- a/build/plugins/res.py
+++ b/build/plugins/res.py
@@ -1,5 +1,5 @@
from _common import iterpair, listid, pathid, rootrel_arc_src, tobuilddir, filter_out_by_keyword
-
+
def split(lst, limit):
# paths are specified with replaceable prefix
@@ -36,7 +36,7 @@ def remove_prefix(text, prefix):
def onfat_resource(unit, *args):
unit.onpeerdir(['library/cpp/resource'])
-
+
# Since the maximum length of lpCommandLine string for CreateProcess is 8kb (windows) characters,
# we make several calls of rescompiler
# https://msdn.microsoft.com/ru-ru/library/windows/desktop/ms682425.aspx
@@ -45,7 +45,7 @@ def onfat_resource(unit, *args):
inputs = [x for x, y in iterpair(part_args) if x != '-']
if inputs:
inputs = ['IN'] + inputs
-
+
unit.onrun_program(['tools/rescompiler', output] + part_args + inputs + ['OUT_NOAUTO', output])
unit.onsrcs(['GLOBAL', output])