diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/tools/protoc/plugins | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'contrib/tools/protoc/plugins')
-rw-r--r-- | contrib/tools/protoc/plugins/cpp_styleguide/bin/ya.make | 19 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/cpp_styleguide/ya.make | 11 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make | 28 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_cpp/ya.make | 14 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_java/bin/parsever/ya.make | 11 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_java/bin/test/ya.make | 7 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_java/bin/ya.make | 20 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_java/bin/ya.version | 1 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_java/ya.make | 13 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_python/bin/ya.make | 26 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_python/ya.make | 14 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/ya.make | 6 |
12 files changed, 170 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/bin/ya.version b/contrib/tools/protoc/plugins/grpc_java/bin/ya.version new file mode 100644 index 0000000000..2990e20e5b --- /dev/null +++ b/contrib/tools/protoc/plugins/grpc_java/bin/ya.version @@ -0,0 +1 @@ +SET(GRPC_JAVA_VERSION 1.43.2) 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 +) |