aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/protoc/plugins/grpc_cpp
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/tools/protoc/plugins/grpc_cpp
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/tools/protoc/plugins/grpc_cpp')
-rw-r--r--contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make28
-rw-r--r--contrib/tools/protoc/plugins/grpc_cpp/ya.make14
2 files changed, 42 insertions, 0 deletions
diff --git a/contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make b/contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make
new file mode 100644
index 0000000000..81672852db
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make
@@ -0,0 +1,28 @@
+PROGRAM(grpc_cpp)
+
+LICENSE(Apache-2.0)
+
+PEERDIR(
+ contrib/libs/grpc/src/compiler/grpc_plugin_support
+)
+
+ADDINCL(
+ contrib/libs/grpc
+ contrib/libs/grpc/include
+)
+
+NO_COMPILER_WARNINGS()
+
+CFLAGS(
+ -DGRPC_USE_ABSL=0
+)
+
+SRCDIR(contrib/libs/grpc/src/compiler)
+
+SRCS(
+ cpp_plugin.cc
+)
+
+INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/protoc/plugins/grpc_cpp/ya.make.induced_deps)
+
+END()
diff --git a/contrib/tools/protoc/plugins/grpc_cpp/ya.make b/contrib/tools/protoc/plugins/grpc_cpp/ya.make
new file mode 100644
index 0000000000..0d73a27c95
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_cpp/ya.make
@@ -0,0 +1,14 @@
+# Copy of contrib/libs/grpc/src/compiler/grpc_cpp_plugin
+# Generated by devtools/yamaker.
+
+IF (USE_PREBUILT_TOOLS)
+ INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/protoc/plugins/grpc_cpp/ya.make.prebuilt)
+ENDIF()
+
+IF (NOT PREBUILT)
+ INCLUDE(${ARCADIA_ROOT}/contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make)
+ENDIF()
+
+RECURSE(
+ bin
+)