aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobols <sobols@yandex-team.com>2024-01-22 16:34:55 +0300
committersobols <sobols@yandex-team.com>2024-01-22 16:55:20 +0300
commit241d7cd1f334d5b6231dbc6d197df754726d5804 (patch)
treeab2deb5afd96d6395c089daa07a315e9e8fa709d
parentde1073ebfea7ef7e8eacb91f2a1a3b3f378ede76 (diff)
downloadydb-241d7cd1f334d5b6231dbc6d197df754726d5804.tar.gz
[domscheme] Move runtime.h into a separate library
The content of tools/domschemec/runtime.h file was pasted directly to each generated .sc.h file. Now we extract this file into LIBRARY() at library/cpp/domscheme and include it in each .sc.h in a usual way.
-rw-r--r--build/ymake.core.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index e5e8cc8825..fd7c7877d7 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -3077,7 +3077,8 @@ macro MANUAL_GENERATION(Outs...) {
# tag:src-processing
macro _SRC("sc", SRC, SRCFLAGS...) {
- .CMD=${tool:"tools/domschemec"} --in ${input:SRC} --out ${output;norel:SRC.h} ${output_include;hide:"util/generic/strbuf.h"} ${output_include;hide:"array"} ${output_include;hide:"util/generic/string.h"} ${output_include;hide:"util/generic/vector.h"} ${output_include;hide:"util/string/cast.h"} ${SRCFLAGS} ${kv;hide:"p SC"} ${kv;hide:"pc yellow"}
+ .CMD=${tool:"tools/domschemec"} --in ${input:SRC} --out ${output;norel:SRC.h} ${output_include;hide:"library/cpp/domscheme/runtime.h"} ${SRCFLAGS} ${kv;hide:"p SC"} ${kv;hide:"pc yellow"}
+ .PEERDIR=library/cpp/domscheme
}
# tag:src-processing