aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobols <sobols@yandex-team.com>2024-01-22 16:34:55 +0300
committerAlexander Smirnov <alex@ydb.tech>2024-01-24 15:01:57 +0300
commit55e21874e2db76c916c6564afc2d757a09b3679d (patch)
treec892c412c4157897d70873a1040a916e25648061
parent79028cb8784083d0e6dbad6c7daedfe70bf70e8f (diff)
downloadydb-55e21874e2db76c916c6564afc2d757a09b3679d.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