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/grpc_cpp | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'contrib/tools/protoc/plugins/grpc_cpp')
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/tools/protoc/plugins/grpc_cpp/bin/ya.make | 30 |
2 files changed, 31 insertions, 1 deletions
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() |