aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/protoc/plugins
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/tools/protoc/plugins
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/tools/protoc/plugins')
-rw-r--r--contrib/tools/protoc/plugins/cpp_styleguide/bin/ya.make19
-rw-r--r--contrib/tools/protoc/plugins/cpp_styleguide/ya.make11
-rw-r--r--contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make28
-rw-r--r--contrib/tools/protoc/plugins/grpc_cpp/ya.make14
-rw-r--r--contrib/tools/protoc/plugins/grpc_java/bin/parsever/ya.make11
-rw-r--r--contrib/tools/protoc/plugins/grpc_java/bin/test/ya.make7
-rw-r--r--contrib/tools/protoc/plugins/grpc_java/bin/ya.make20
-rw-r--r--contrib/tools/protoc/plugins/grpc_java/ya.make13
-rw-r--r--contrib/tools/protoc/plugins/grpc_python/bin/ya.make26
-rw-r--r--contrib/tools/protoc/plugins/grpc_python/ya.make14
-rw-r--r--contrib/tools/protoc/plugins/ya.make6
11 files changed, 169 insertions, 0 deletions
diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/bin/ya.make b/contrib/tools/protoc/plugins/cpp_styleguide/bin/ya.make
new file mode 100644
index 0000000000..c6e59ea46d
--- /dev/null
+++ b/contrib/tools/protoc/plugins/cpp_styleguide/bin/ya.make
@@ -0,0 +1,19 @@
+PROGRAM(cpp_styleguide)
+
+NO_COMPILER_WARNINGS()
+
+PEERDIR(
+ contrib/libs/protoc
+)
+
+SRCS(
+ cpp_styleguide.cpp
+)
+
+SRCDIR(
+ contrib/tools/protoc/plugins/cpp_styleguide
+)
+
+INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/protoc/plugins/cpp_styleguide/ya.make.induced_deps)
+
+END()
diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/ya.make b/contrib/tools/protoc/plugins/cpp_styleguide/ya.make
new file mode 100644
index 0000000000..ea749e8ca7
--- /dev/null
+++ b/contrib/tools/protoc/plugins/cpp_styleguide/ya.make
@@ -0,0 +1,11 @@
+IF (USE_PREBUILT_TOOLS)
+ INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/protoc/plugins/cpp_styleguide/ya.make.prebuilt)
+ENDIF()
+
+IF (NOT PREBUILT)
+ INCLUDE(${ARCADIA_ROOT}/contrib/tools/protoc/plugins/cpp_styleguide/bin/ya.make)
+ENDIF()
+
+RECURSE(
+ bin
+)
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
+)
diff --git a/contrib/tools/protoc/plugins/grpc_java/bin/parsever/ya.make b/contrib/tools/protoc/plugins/grpc_java/bin/parsever/ya.make
new file mode 100644
index 0000000000..2237d039c8
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_java/bin/parsever/ya.make
@@ -0,0 +1,11 @@
+PY3_PROGRAM()
+
+PEERDIR(library/python/resource)
+
+RESOURCE(
+ ${ARCADIA_ROOT}/contrib/libs/grpc-java/core/src/main/java/io/grpc/internal/GrpcUtil.java /GrpcUtil.java
+)
+
+PY_SRCS(__main__.py)
+
+END()
diff --git a/contrib/tools/protoc/plugins/grpc_java/bin/test/ya.make b/contrib/tools/protoc/plugins/grpc_java/bin/test/ya.make
new file mode 100644
index 0000000000..d196ed450b
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_java/bin/test/ya.make
@@ -0,0 +1,7 @@
+EXECTEST()
+
+DEPENDS(contrib/tools/protoc/plugins/grpc_java/bin/parsever)
+INCLUDE(${ARCADIA_ROOT}/contrib/tools/protoc/plugins/grpc_java/bin/ya.version)
+RUN(parsever ${GRPC_JAVA_VERSION})
+
+END()
diff --git a/contrib/tools/protoc/plugins/grpc_java/bin/ya.make b/contrib/tools/protoc/plugins/grpc_java/bin/ya.make
new file mode 100644
index 0000000000..34373aefea
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_java/bin/ya.make
@@ -0,0 +1,20 @@
+PROGRAM(grpc_java)
+
+INCLUDE(ya.version)
+
+VERSION(${GRPC_JAVA_VERSION})
+
+NO_COMPILER_WARNINGS()
+
+PEERDIR(
+ contrib/libs/protoc
+)
+
+SRCDIR(contrib/libs/grpc-java/compiler/src/java_plugin/cpp)
+
+SRCS(
+ java_plugin.cpp
+ java_generator.cpp
+)
+
+END()
diff --git a/contrib/tools/protoc/plugins/grpc_java/ya.make b/contrib/tools/protoc/plugins/grpc_java/ya.make
new file mode 100644
index 0000000000..23d63e89ba
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_java/ya.make
@@ -0,0 +1,13 @@
+IF (USE_PREBUILT_TOOLS)
+ INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/protoc/plugins/grpc_java/ya.make.prebuilt)
+ENDIF()
+
+IF (NOT PREBUILT)
+ INCLUDE(${ARCADIA_ROOT}/contrib/tools/protoc/plugins/grpc_java/bin/ya.make)
+ENDIF()
+
+RECURSE(
+ bin
+ bin/parsever
+ bin/test
+)
diff --git a/contrib/tools/protoc/plugins/grpc_python/bin/ya.make b/contrib/tools/protoc/plugins/grpc_python/bin/ya.make
new file mode 100644
index 0000000000..ab21ab6c50
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_python/bin/ya.make
@@ -0,0 +1,26 @@
+PROGRAM(grpc_python)
+
+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(
+ python_plugin.cc
+)
+
+END()
diff --git a/contrib/tools/protoc/plugins/grpc_python/ya.make b/contrib/tools/protoc/plugins/grpc_python/ya.make
new file mode 100644
index 0000000000..3cd9647f0b
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_python/ya.make
@@ -0,0 +1,14 @@
+# Copy of contrib/libs/grpc/src/compiler/grpc_python_plugin
+# Generated by devtools/yamaker.
+
+IF (USE_PREBUILT_TOOLS)
+ INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/protoc/plugins/grpc_python/ya.make.prebuilt)
+ENDIF()
+
+IF (NOT PREBUILT)
+ INCLUDE(${ARCADIA_ROOT}/contrib/tools/protoc/plugins/grpc_python/bin/ya.make)
+ENDIF()
+
+RECURSE(
+ bin
+)
diff --git a/contrib/tools/protoc/plugins/ya.make b/contrib/tools/protoc/plugins/ya.make
new file mode 100644
index 0000000000..44254ae111
--- /dev/null
+++ b/contrib/tools/protoc/plugins/ya.make
@@ -0,0 +1,6 @@
+RECURSE(
+ cpp_styleguide
+ grpc_cpp
+ grpc_java
+ grpc_python
+)