summaryrefslogtreecommitdiffstats
path: root/build/plugins/split_codegen.py
diff options
context:
space:
mode:
authorspreis <[email protected]>2022-02-10 16:47:13 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:13 +0300
commitbcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch)
treed41d29a041d5733ef148335290dbb817b197d4cd /build/plugins/split_codegen.py
parent986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/split_codegen.py')
-rw-r--r--build/plugins/split_codegen.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/build/plugins/split_codegen.py b/build/plugins/split_codegen.py
index f1e60bc142a..f5e874a48b9 100644
--- a/build/plugins/split_codegen.py
+++ b/build/plugins/split_codegen.py
@@ -7,15 +7,15 @@ _ADDITIONAL_STREAM_COUNT = 5
def onsplit_codegen(unit, *args):
- '''
- @usage: SPLIT_CODEGEN(tool prefix opts... [OUT_NUM num] [OUTPUT_INCLUDES output_includes...])
-
- Generator of a certain number of parts of the .cpp file + one header .h file from .in
-
- Supports keywords:
- 1. OUT_NUM <the number of generated Prefix.N.cpp default 25 (N varies from 0 to 24)>
- 2. OUTPUT_INCLUDES <path to files that will be included in generalnyj of macro files>
- '''
+ '''
+ @usage: SPLIT_CODEGEN(tool prefix opts... [OUT_NUM num] [OUTPUT_INCLUDES output_includes...])
+
+ Generator of a certain number of parts of the .cpp file + one header .h file from .in
+
+ Supports keywords:
+ 1. OUT_NUM <the number of generated Prefix.N.cpp default 25 (N varies from 0 to 24)>
+ 2. OUTPUT_INCLUDES <path to files that will be included in generalnyj of macro files>
+ '''
keywords = {"OUT_NUM": 1}
flat_args, spec_args = sort_by_keywords(keywords, args)
@@ -40,4 +40,4 @@ def onsplit_codegen(unit, *args):
else:
cmd += ['OPTS'] + cpp_parts_args
- unit.on_split_codegen_base(cmd)
+ unit.on_split_codegen_base(cmd)