[arc] [build] fix using arc API from python
The issue can be reproduced with PEERDIR'ing `arc/api/grpc` from any PY_PROGRAM and building it for windows platform.
@@ -299,6 +299,10 @@ macro OPTIMIZE_PY_PROTOS() {
SET(OPTIMIZE_PY_PROTOS_FLAG yes)
}
+macro NO_OPTIMIZE_PY_PROTOS() {
+ SET(OPTIMIZE_PY_PROTOS_FLAG no)
+}
+
macro PROTO_PLUGIN_ARGS_BASE(Name, Tool) {
.CMD=--plugin=protoc-gen-${Name}=\${tool:"$Tool"} --${Name}_out=$ARCADIA_BUILD_ROOT/$PROTO_NAMESPACE
}
