aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authors-berdnikov <s-berdnikov@yandex-team.com>2023-11-18 15:38:11 +0300
committers-berdnikov <s-berdnikov@yandex-team.com>2023-11-18 15:59:57 +0300
commitc3bc7a241fef1fc018de8df71cfc366f93c32e07 (patch)
tree9e20555692c327b41e31ba82e29a48c56dff1beb /build
parent2c2b40cc0e738d6a07d3f713e50f5dc660ef7426 (diff)
downloadydb-c3bc7a241fef1fc018de8df71cfc366f93c32e07.tar.gz
Move YP Go codegen to YT ORM
Diffstat (limited to 'build')
-rw-r--r--build/conf/proto.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/conf/proto.conf b/build/conf/proto.conf
index d14f804ed2..f09448b375 100644
--- a/build/conf/proto.conf
+++ b/build/conf/proto.conf
@@ -347,13 +347,13 @@ macro _GO_PROTO_CMD(File) {
}
# tag:proto
-### @usage: YP_PROTO_YSON(Files... OUT_OPTS Opts...)
+### @usage: YT_ORM_PROTO_YSON(Files... OUT_OPTS Opts...)
###
-### Generate .yson.go from .proto using yp/go/yson/internal/proto-yson-gen/cmd/proto-yson-gen
-macro YP_PROTO_YSON(OUT_OPTS[], Files...) {
- .CMD=${cwd:BINDIR} $PROTOC --plugin=protoc-gen-custom=${tool:"yp/go/yson/internal/proto-yson-gen/cmd/proto-yson-gen"} -I=${ARCADIA_ROOT}/${PROTO_NAMESPACE} ${pre=-I=:_PROTO__INCLUDE} -I=${ARCADIA_ROOT} --custom_out="$OUT_OPTS paths=base_name:." --custom_opt="goroot=${GO_TOOLS_ROOT}" $_PROTOC_FLAGS ${input:Files} ${output;hide;noauto;nopath;noext;suf=.yson.go:Files} ${hide:PROTO_FAKEID}
+### Generate .yson.go from .proto using yt/yt/orm/go/codegen/yson/internal/proto-yson-gen/cmd/proto-yson-gen
+macro YT_ORM_PROTO_YSON(OUT_OPTS[], Files...) {
+ .CMD=${cwd:BINDIR} $PROTOC --plugin=protoc-gen-custom=${tool:"yt/yt/orm/go/codegen/yson/internal/proto-yson-gen/cmd/proto-yson-gen"} -I=${ARCADIA_ROOT}/${PROTO_NAMESPACE} ${pre=-I=:_PROTO__INCLUDE} -I=${ARCADIA_ROOT} --custom_out="$OUT_OPTS paths=base_name:." --custom_opt="goroot=${GO_TOOLS_ROOT}" $_PROTOC_FLAGS ${input:Files} ${output;hide;noauto;nopath;noext;suf=.yson.go:Files} ${hide:PROTO_FAKEID}
.ADDINCL=FOR proto ${ARCADIA_ROOT}/${MODDIR} FOR proto ${ARCADIA_ROOT}/${GO_TEST_IMPORT_PATH} FOR proto yt ${ARCADIA_BUILD_ROOT}/yt FOR proto contrib/libs/protobuf/src
- .PEERDIR=$GOSTD/strings $GOSTD/fmt $GOSTD/errors $GOSTD/encoding/json library/go/core/xerrors yt/go/yson yt/go/yterrors yp/go/yson/ytypes contrib/libs/protobuf
+ .PEERDIR=$GOSTD/strings $GOSTD/fmt $GOSTD/errors $GOSTD/encoding/json library/go/core/xerrors yt/go/yson yt/go/yterrors yt/yt/orm/go/codegen/yson/ytypes contrib/libs/protobuf
}