@@ -96,7 +96,9 @@ set(GOOGLEAPIS_CPP_PROTO_FILES
9696 "google/spanner/v1/result_set.proto"
9797 "google/spanner/v1/spanner.proto"
9898 "google/spanner/v1/transaction.proto"
99- "google/spanner/v1/type.proto" )
99+ "google/spanner/v1/type.proto"
100+ "google/storage/v1/storage.proto"
101+ "google/storage/v1/storage_resources.proto" )
100102
101103set (GOOGLEAPIS_CPP_BYPRODUCTS)
102104foreach (proto ${GOOGLEAPIS_CPP_PROTO_FILES} )
@@ -325,6 +327,23 @@ target_link_libraries(
325327 googleapis-c++::rpc_status_protos
326328 PRIVATE googleapis_cpp_common_flags)
327329
330+ google_cloud_cpp_grpcpp_library(
331+ googleapis_cpp_storage_protos
332+ "${GOOGLEAPIS_CPP_SOURCE} /google/storage/v1/storage.proto"
333+ "${GOOGLEAPIS_CPP_SOURCE} /google/storage/v1/storage_resources.proto"
334+ PROTO_PATH_DIRECTORIES
335+ "${GOOGLEAPIS_CPP_SOURCE} "
336+ "${PROTO_INCLUDE_DIR} " )
337+ googleapis_cpp_set_version_and_alias(storage_protos)
338+ target_link_libraries (
339+ googleapis_cpp_storage_protos
340+ PUBLIC googleapis-c++::api_annotations_protos
341+ googleapis-c++::api_client_protos
342+ googleapis-c++::api_field_behavior_protos
343+ googleapis-c++::iam_v1_iam_policy_protos
344+ googleapis-c++::iam_v1_policy_protos
345+ PRIVATE googleapis_cpp_common_flags)
346+
328347# Install the libraries and headers in the locations determined by
329348# GNUInstallDirs
330349include (GNUInstallDirs)
@@ -334,6 +353,7 @@ set(googleapis_cpp_installed_libraries_list
334353 googleapis_cpp_cloud_bigquery_protos
335354 googleapis_cpp_pubsub_protos
336355 googleapis_cpp_spanner_protos
356+ googleapis_cpp_storage_protos
337357 googleapis_cpp_longrunning_operations_protos
338358 googleapis_cpp_api_http_protos
339359 googleapis_cpp_api_annotations_protos
@@ -425,6 +445,8 @@ string(
425445 CONCAT GOOGLE_CLOUD_CPP_PC_REQUIRES
426446 "googleapis_cpp_bigtable_protos"
427447 " googleapis_cpp_cloud_bigquery_protos"
448+ " googleapis_pubsub_protos"
449+ " googleapis_cpp_storage_protos"
428450 " googleapis_cpp_iam_v1_iam_policy_protos"
429451 " googleapis_cpp_iam_v1_options_protos"
430452 " googleapis_cpp_iam_v1_policy_protos"
0 commit comments