diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/tools/protoc/plugins | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'contrib/tools/protoc/plugins')
6 files changed, 102 insertions, 2 deletions
diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt index fc7b1ee73c..a681d385f3 100644 --- a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt +++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt @@ -8,6 +8,6 @@ if (APPLE) include(CMakeLists.darwin.txt) -elseif (UNIX AND NOT APPLE) +elseif (UNIX) include(CMakeLists.linux.txt) endif() 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..e8f7558208 --- /dev/null +++ b/contrib/tools/protoc/plugins/cpp_styleguide/bin/ya.make @@ -0,0 +1,21 @@ +OWNER(g:contrib) + +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/grpc_cpp/CMakeLists.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt index fc7b1ee73c..a681d385f3 100644 --- a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt +++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt @@ -8,6 +8,6 @@ if (APPLE) include(CMakeLists.darwin.txt) -elseif (UNIX AND NOT APPLE) +elseif (UNIX) include(CMakeLists.linux.txt) endif() 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..f2181ce63a --- /dev/null +++ b/contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make @@ -0,0 +1,30 @@ +OWNER(akastornov g:contrib g:cpp-contrib) + +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_java/bin/ya.make b/contrib/tools/protoc/plugins/grpc_java/bin/ya.make new file mode 100644 index 0000000000..b5da57408c --- /dev/null +++ b/contrib/tools/protoc/plugins/grpc_java/bin/ya.make @@ -0,0 +1,21 @@ +OWNER( + akastornov + g:contrib +) + +PROGRAM(grpc_java) + +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_python/bin/ya.make b/contrib/tools/protoc/plugins/grpc_python/bin/ya.make new file mode 100644 index 0000000000..bd0f6a3b48 --- /dev/null +++ b/contrib/tools/protoc/plugins/grpc_python/bin/ya.make @@ -0,0 +1,28 @@ +OWNER(akastornov g:contrib g:cpp-contrib) + +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() |