feat: Add library for cloudtrace/v2/trace.proto.

This commit is contained in:
Carlos O'Ryan 2019-08-16 09:00:17 -04:00
parent 1d42dc5dab
commit 62991403dd
No known key found for this signature in database
GPG key ID: BC4C1DC8B0DEF583
2 changed files with 15 additions and 0 deletions

View file

@ -63,6 +63,7 @@ ExternalProject_Add(
"${GOOGLEAPIS_CPP_SOURCE}/google/api/auth.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/auth.proto"
"${GOOGLEAPIS_CPP_SOURCE}/google/api/client.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/client.proto"
"${GOOGLEAPIS_CPP_SOURCE}/google/api/resource.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/resource.proto"
"${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/trace.proto"
"${GOOGLEAPIS_CPP_SOURCE}/google/type/expr.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/type/expr.proto"
"${GOOGLEAPIS_CPP_SOURCE}/google/rpc/error_details.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/rpc/error_details.proto"
"${GOOGLEAPIS_CPP_SOURCE}/google/rpc/status.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/rpc/status.proto"
@ -280,6 +281,18 @@ target_link_libraries(googleapis_cpp_spanner_protos
googleapis-c++::iam_v1_iam_policy_protos googleapis-c++::iam_v1_iam_policy_protos
PRIVATE googleapis_cpp_common_flags) PRIVATE googleapis_cpp_common_flags)
google_cloud_cpp_grpcpp_library(
googleapis_cpp_devtools_cloudtrace_v2_trace_protos
"${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/trace.proto"
PROTO_PATH_DIRECTORIES
"${GOOGLEAPIS_CPP_SOURCE}"
"${PROTO_INCLUDE_DIR}")
googleapis_cpp_set_version_and_alias(devtools_cloudtrace_v2_trace_protos)
target_link_libraries(googleapis_cpp_devtools_cloudtrace_v2_trace_protos
PUBLIC googleapis-c++::api_annotations_protos
googleapis-c++::rpc_status_protos
PRIVATE googleapis_cpp_common_flags)
# Install the libraries and headers in the locations determined by # Install the libraries and headers in the locations determined by
# GNUInstallDirs # GNUInstallDirs
include(GNUInstallDirs) include(GNUInstallDirs)
@ -292,6 +305,7 @@ set(googleapis_cpp_installed_libraries_list
googleapis_cpp_api_annotations_protos googleapis_cpp_api_annotations_protos
googleapis_cpp_api_auth_protos googleapis_cpp_api_auth_protos
googleapis_cpp_api_resource_protos googleapis_cpp_api_resource_protos
googleapis_cpp_devtools_cloudtrace_v2_trace_protos
googleapis_cpp_iam_v1_policy_protos googleapis_cpp_iam_v1_policy_protos
googleapis_cpp_iam_v1_iam_policy_protos googleapis_cpp_iam_v1_iam_policy_protos
googleapis_cpp_rpc_error_details_protos googleapis_cpp_rpc_error_details_protos

View file

@ -26,6 +26,7 @@ foreach (_target
api_http api_http
api_resource api_resource
bigtable bigtable
devtools_cloudtrace_v2_trace
iam_v1_iam_policy iam_v1_iam_policy
iam_v1_policy iam_v1_policy
longrunning_operations longrunning_operations