@@ -32,8 +32,7 @@ set(DOXYGEN_EXCLUDE_PATTERNS
3232set (DOXYGEN_EXCLUDE_SYMBOLS "internal" "storage_benchmarks" )
3333
3434# Creates the proto headers needed by doxygen.
35- set (GOOGLE_CLOUD_CPP_DOXYGEN_DEPS google-cloud-cpp::storage_protos
36- google_cloud_cpp_storage_internal_protos)
35+ set (GOOGLE_CLOUD_CPP_DOXYGEN_DEPS google-cloud-cpp::storage_protos)
3736
3837include (GoogleCloudCppCommon )
3938
@@ -313,17 +312,6 @@ install(
313312
314313if (GOOGLE_CLOUD_CPP_STORAGE_ENABLE_GRPC)
315314 find_package (gRPC REQUIRED )
316- google_cloud_cpp_proto_library (
317- google_cloud_cpp_storage_internal_protos
318- internal /grpc_resumable_upload_session_url.proto PROTO_PATH_DIRECTORIES
319- ${CMAKE_CURRENT_SOURCE_DIR} /internal LOCAL_INCLUDE )
320- add_library (google-cloud-cpp::internal-storage-protos ALIAS
321- google_cloud_cpp_storage_internal_protos )
322- set_target_properties (
323- google_cloud_cpp_storage_internal_protos
324- PROPERTIES EXPORT_NAME "google-cloud-cpp::internal-storage-protos"
325- VERSION ${PROJECT_VERSION} SOVERSION
326- ${PROJECT_VERSION_MAJOR} )
327315 add_library (
328316 google_cloud_cpp_storage_grpc
329317 grpc_plugin.cc
@@ -349,7 +337,6 @@ if (GOOGLE_CLOUD_CPP_STORAGE_ENABLE_GRPC)
349337 PUBLIC google-cloud-cpp::storage
350338 google-cloud-cpp::grpc_utils
351339 google-cloud-cpp::common
352- google_cloud_cpp_storage_internal_protos
353340 google-cloud-cpp::storage_protos
354341 nlohmann_json::nlohmann_json
355342 gRPC::grpc++
@@ -378,20 +365,14 @@ if (GOOGLE_CLOUD_CPP_STORAGE_ENABLE_GRPC)
378365
379366 create_bazel_config (google_cloud_cpp_storage_grpc )
380367else ()
381- add_library (google_cloud_cpp_storage_internal_protos INTERFACE )
382368 add_library (google_cloud_cpp_storage_grpc INTERFACE )
383369
384370 set_target_properties (
385371 google_cloud_cpp_storage_grpc
386372 PROPERTIES EXPORT_NAME "google-cloud-cpp::experimental-storage-grpc" )
387- set_target_properties (
388- google_cloud_cpp_storage_internal_protos
389- PROPERTIES EXPORT_NAME "google-cloud-cpp::internal-storage-protos" )
390373endif (GOOGLE_CLOUD_CPP_STORAGE_ENABLE_GRPC )
391374add_library (google-cloud-cpp::experimental-storage-grpc ALIAS
392375 google_cloud_cpp_storage_grpc )
393- add_library (google-cloud-cpp::internal-storage-protos ALIAS
394- google_cloud_cpp_storage_internal_protos )
395376
396377# Setup global variables used in the following *.in files.
397378set (GOOGLE_CLOUD_CPP_PC_NAME "The GCS (Google Cloud Storage) gRPC plugin" )
@@ -407,8 +388,7 @@ string(
407388 " google_cloud_cpp_common"
408389 " libcurl"
409390 " openssl" )
410- string (CONCAT GOOGLE_CLOUD_CPP_PC_LIBS "-lgoogle_cloud_cpp_storage_grpc"
411- " -lgoogle_cloud_cpp_storage_internal_protos" )
391+ string (CONCAT GOOGLE_CLOUD_CPP_PC_LIBS "-lgoogle_cloud_cpp_storage_grpc" )
412392
413393# Create and install the pkg-config files.
414394configure_file ("${PROJECT_SOURCE_DIR} /google/cloud/config.pc.in"
@@ -648,7 +628,6 @@ endif ()
648628
649629install (
650630 TARGETS google_cloud_cpp_storage google_cloud_cpp_storage_grpc
651- google_cloud_cpp_storage_internal_protos
652631 EXPORT storage-targets
653632 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
654633 COMPONENT google_cloud_cpp_runtime
@@ -661,7 +640,6 @@ install(
661640# duplication).
662641install (
663642 TARGETS google_cloud_cpp_storage google_cloud_cpp_storage_grpc
664- google_cloud_cpp_storage_internal_protos
665643 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
666644 COMPONENT google_cloud_cpp_development
667645 NAMELINK_ONLY
0 commit comments