Switch to protobuf_std from contrib/
@@ -417,25 +417,6 @@ macro PY_PROTO_PLUGIN2(NAME, EXT1, EXT2, TOOL, DEPS[]) {
_ADD_PY_PROTO_OUT($EXT2)
}
-### @usage: QUASAR_PROTO() # deprecated
-###
-### This macro is quasar-specific and should never be used
-macro QUASAR_PROTO() {
- SET(QUASAR yes)
-
- SET(PROTOC ${env:"LD_LIBRARY_PATH=$ARCADIA_ROOT/quasar/yandex_io/daemons/local/lib/x86_64"} $ARCADIA_ROOT/quasar/yandex_io/daemons/local/bin/protoc)
- SET(PROTO_PATH $ARCADIA_ROOT/quasar/yandex_io/protobuf)
- SET(PROTO_NAMESPACE quasar/yandex_io/protobuf)
- SET(PROTOC_STYLEGUIDE_OUT)
- SET(PROTOC_PLUGIN_STYLEGUIDE)
- SET(PROTO_SOURCE_INCLUDE)
- SET(PROTO_HEADER_INCLUDE)
- when ($LITE_VERSION) {
- CPP_PROTO_PLUGINS="lite:"
- }
- PEERDIR(quasar/yandex_io/daemons/external_libs/protobuf)
-}
-
GO_PROTO_GEN_TOOL=vendor/github.com/golang/protobuf/protoc-gen-go
GO_PROTO_GEN_PLUGINS=
GO_PROTO_PACKAGE_MAP=
@@ -511,10 +492,6 @@ macro _EXTERNAL_CPP_PROTO_CMD(File) {
.PEERDIR=build/external_resources/protoc
}
-macro _QUASAR_CPP_PROTO_CMD(File) {
- .CMD=$CPP_PROTO_CMDLINE $CPP_PROTO_OUTS ${kv;hide:"p PB"} ${kv;hide:"pc yellow"}
-}
-
macro _PY_PROTO_CMD_BASE(File, Suf, Args...) {
.CMD=$PROTOC -I=./$PROTO_NAMESPACE -I=$ARCADIA_ROOT/$PROTO_NAMESPACE -I=$ARCADIA_BUILD_ROOT -I=$PROTO_PATH --python_out=$ARCADIA_BUILD_ROOT/$PROTO_NAMESPACE ${input;rootrel:File} ${output;hide;noauto;norel;nopath;noext;suf=$Suf:File} ${kv;hide:"p PT"} ${kv;hide:"pc yellow"} $Args
}
@@ -704,9 +681,6 @@ module _BASE_UNIT {
CFLAGS+=-Wno-unused-parameter
}
- elsewhen ($QUASAR) {
- MACRO_ALIAS(PROTO_CMD _QUASAR_CPP_PROTO_CMD)
- }
otherwise {
MACRO_ALIAS(PROTO_CMD _CPP_PROTO_CMD)
}
