workaround core.conf
@@ -379,13 +379,15 @@ GO_PROTOBUF_WELLKNOWN_TYPES=\
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(PROTO_HEADER_INCLUDE)
- SET(PROTO_SOURCE_INCLUDE)
SET(PROTOC_STYLEGUIDE_OUT)
SET(PROTOC_PLUGIN_STYLEGUIDE)
+ SET(PROTO_SOURCE_INCLUDE)
+ SET(PROTO_HEADER_INCLUDE)
ADDINCL(GLOBAL quasar/yandex_io/daemons/local/include)
}
@@ -420,6 +422,10 @@ macro _MAPKIT_CPP_PROTO_CMD(File) {
.PEERDIR=build/external_resources/mapkit_sdk
}
+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
}
@@ -618,6 +624,9 @@ module _BASE_UNIT {
PROTO_SOURCE_INCLUDE=
PROTO_HEADER_INCLUDE=
}
+ elsewhen ($QUASAR) {
+ MACRO_ALIAS(PROTO_CMD _QUASAR_CPP_PROTO_CMD)
+ }
otherwise {
MACRO_ALIAS(PROTO_CMD _CPP_PROTO_CMD)
}
