diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2022-11-24 13:14:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2022-11-24 14:46:00 +0300 |
commit | 87f7fceed34bcafb8aaff351dd493a35c916986f (patch) | |
tree | 26809ec8f550aba8eb019e59adc3d48e51913eb2 /contrib/libs | |
parent | 11bc4015b8010ae201bf3eb33db7dba425aca35e (diff) | |
download | ydb-87f7fceed34bcafb8aaff351dd493a35c916986f.tar.gz |
Ydb stable 22-4-4322.4.43
x-stable-origin-commit: 8d49d46cc834835bf3e50870516acd7376a63bcf
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/CMakeLists.darwin.txt | 1 | ||||
-rw-r--r-- | contrib/libs/CMakeLists.linux.txt | 1 | ||||
-rw-r--r-- | contrib/libs/googleapis-common-protos/CMakeLists.txt | 97 |
3 files changed, 99 insertions, 0 deletions
diff --git a/contrib/libs/CMakeLists.darwin.txt b/contrib/libs/CMakeLists.darwin.txt index db4d5e7fb8..b46f017a16 100644 --- a/contrib/libs/CMakeLists.darwin.txt +++ b/contrib/libs/CMakeLists.darwin.txt @@ -19,6 +19,7 @@ add_subdirectory(double-conversion) add_subdirectory(farmhash) add_subdirectory(fastlz) add_subdirectory(fmt) +add_subdirectory(googleapis-common-protos) add_subdirectory(grpc) add_subdirectory(hdr_histogram) add_subdirectory(highwayhash) diff --git a/contrib/libs/CMakeLists.linux.txt b/contrib/libs/CMakeLists.linux.txt index 804ea5a55f..f74ddfaa2b 100644 --- a/contrib/libs/CMakeLists.linux.txt +++ b/contrib/libs/CMakeLists.linux.txt @@ -20,6 +20,7 @@ add_subdirectory(expat) add_subdirectory(farmhash) add_subdirectory(fastlz) add_subdirectory(fmt) +add_subdirectory(googleapis-common-protos) add_subdirectory(grpc) add_subdirectory(hdr_histogram) add_subdirectory(highwayhash) diff --git a/contrib/libs/googleapis-common-protos/CMakeLists.txt b/contrib/libs/googleapis-common-protos/CMakeLists.txt new file mode 100644 index 0000000000..00784e3f88 --- /dev/null +++ b/contrib/libs/googleapis-common-protos/CMakeLists.txt @@ -0,0 +1,97 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(contrib-libs-googleapis-common-protos) +set_property(TARGET contrib-libs-googleapis-common-protos PROPERTY + PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h +) +set_property(TARGET contrib-libs-googleapis-common-protos PROPERTY + PROTO_NAMESPACE contrib/libs/googleapis-common-protos +) +target_include_directories(contrib-libs-googleapis-common-protos PUBLIC + ${CMAKE_BINARY_DIR}/contrib/libs/googleapis-common-protos +) +target_link_libraries(contrib-libs-googleapis-common-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + contrib-libs-protobuf +) +target_proto_messages(contrib-libs-googleapis-common-protos PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/annotations.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/auth.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/backend.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/billing.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/client.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/config_change.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/consumer.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/context.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/control.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/distribution.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/documentation.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/endpoint.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/http.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/httpbody.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/label.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/launch_stage.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/log.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/logging.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/metric.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/monitored_resource.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/monitoring.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/quota.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/resource.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/routing.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/service.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/source_info.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/system_parameter.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/usage.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/cloud/extended_operations.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/cloud/location/locations.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/gapic/metadata/gapic_metadata.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/logging/type/http_request.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/logging/type/log_severity.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/longrunning/operations.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/rpc/code.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/rpc/error_details.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/rpc/status.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/calendar_period.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/color.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/date.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/datetime.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/dayofweek.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/expr.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/fraction.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/latlng.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/money.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/month.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/postal_address.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/quaternion.proto + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/type/timeofday.proto +) +target_proto_addincls(contrib-libs-googleapis-common-protos + ./contrib/libs/googleapis-common-protos + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(contrib-libs-googleapis-common-protos + --cpp_out=${CMAKE_BINARY_DIR}/contrib/libs/googleapis-common-protos + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/contrib/libs/googleapis-common-protos +) +target_proto_plugin(contrib-libs-googleapis-common-protos + grpc_cpp + grpc_cpp +) |