Remove `grpc++_codegen` (#31138)

* Remove `grpc++_codegen`

* Update

* Update
pull/31154/head
Cheng-Yu Chung 2 years ago committed by GitHub
parent 2bdec04852
commit 7c4b87ede5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 117
      BUILD
  2. 3
      tools/distrib/fix_build_deps.py

117
BUILD

@ -259,6 +259,7 @@ GRPCXX_SRCS = [
"src/cpp/util/status.cc",
"src/cpp/util/string_ref.cc",
"src/cpp/util/time_cc.cc",
"src/cpp/codegen/codegen_init.cc",
]
GRPCXX_HDRS = [
@ -877,8 +878,6 @@ grpc_cc_library(
deps = [
"gpr",
"grpc++_base_unsecure",
"grpc++_codegen_base",
"grpc++_codegen_base_src",
"grpc++_codegen_proto",
"grpc_insecure_credentials",
"grpc_public_hdrs",
@ -5462,7 +5461,7 @@ grpc_cc_library(
"gpr_platform",
"grpc",
"grpc++",
"grpc++_codegen_base",
"grpc++_public_hdrs",
"grpc_public_hdrs",
"lb_server_load_reporting_filter",
"lb_server_load_reporting_service_server_builder_plugin",
@ -6819,7 +6818,7 @@ grpc_cc_library(
deps = [
"gpr",
"grpc++",
"grpc++_codegen_base",
"grpc++_public_hdrs",
"grpc_authorization_provider",
"grpc_public_hdrs",
],
@ -7287,8 +7286,6 @@ grpc_cc_library(
"gpr",
"gpr_manual_constructor",
"grpc",
"grpc++_codegen_base",
"grpc++_codegen_base_src",
"grpc++_codegen_proto",
"grpc_base",
"grpc_credentials_util",
@ -7343,8 +7340,6 @@ grpc_cc_library(
"config",
"gpr",
"gpr_manual_constructor",
"grpc++_codegen_base",
"grpc++_codegen_base_src",
"grpc_base",
"grpc_health_upb",
"grpc_insecure_credentials",
@ -7365,107 +7360,6 @@ grpc_cc_library(
],
)
grpc_cc_library(
name = "grpc++_codegen_base",
language = "c++",
public_hdrs = [
"include/grpc++/impl/codegen/async_stream.h",
"include/grpc++/impl/codegen/async_unary_call.h",
"include/grpc++/impl/codegen/byte_buffer.h",
"include/grpc++/impl/codegen/call_hook.h",
"include/grpc++/impl/codegen/call.h",
"include/grpc++/impl/codegen/channel_interface.h",
"include/grpc++/impl/codegen/client_context.h",
"include/grpc++/impl/codegen/client_unary_call.h",
"include/grpc++/impl/codegen/completion_queue_tag.h",
"include/grpc++/impl/codegen/completion_queue.h",
"include/grpc++/impl/codegen/config.h",
"include/grpc++/impl/codegen/core_codegen_interface.h",
"include/grpc++/impl/codegen/create_auth_context.h",
"include/grpc++/impl/codegen/grpc_library.h",
"include/grpc++/impl/codegen/metadata_map.h",
"include/grpc++/impl/codegen/method_handler_impl.h",
"include/grpc++/impl/codegen/rpc_method.h",
"include/grpc++/impl/codegen/rpc_service_method.h",
"include/grpc++/impl/codegen/security/auth_context.h",
"include/grpc++/impl/codegen/serialization_traits.h",
"include/grpc++/impl/codegen/server_context.h",
"include/grpc++/impl/codegen/server_interface.h",
"include/grpc++/impl/codegen/service_type.h",
"include/grpc++/impl/codegen/slice.h",
"include/grpc++/impl/codegen/status_code_enum.h",
"include/grpc++/impl/codegen/status.h",
"include/grpc++/impl/codegen/string_ref.h",
"include/grpc++/impl/codegen/stub_options.h",
"include/grpc++/impl/codegen/sync_stream.h",
"include/grpc++/impl/codegen/time.h",
"include/grpcpp/impl/codegen/async_generic_service.h",
"include/grpcpp/impl/codegen/async_stream.h",
"include/grpcpp/impl/codegen/async_unary_call.h",
"include/grpcpp/impl/codegen/byte_buffer.h",
"include/grpcpp/impl/codegen/call_hook.h",
"include/grpcpp/impl/codegen/call_op_set_interface.h",
"include/grpcpp/impl/codegen/call_op_set.h",
"include/grpcpp/impl/codegen/call.h",
"include/grpcpp/impl/codegen/callback_common.h",
"include/grpcpp/impl/codegen/channel_interface.h",
"include/grpcpp/impl/codegen/client_callback.h",
"include/grpcpp/impl/codegen/client_context.h",
"include/grpcpp/impl/codegen/client_interceptor.h",
"include/grpcpp/impl/codegen/client_unary_call.h",
"include/grpcpp/impl/codegen/completion_queue_tag.h",
"include/grpcpp/impl/codegen/completion_queue.h",
"include/grpcpp/impl/codegen/config.h",
"include/grpcpp/impl/codegen/core_codegen_interface.h",
"include/grpcpp/impl/codegen/create_auth_context.h",
"include/grpcpp/impl/codegen/delegating_channel.h",
"include/grpcpp/impl/codegen/grpc_library.h",
"include/grpcpp/impl/codegen/intercepted_channel.h",
"include/grpcpp/impl/codegen/interceptor_common.h",
"include/grpcpp/impl/codegen/interceptor.h",
"include/grpcpp/impl/codegen/message_allocator.h",
"include/grpcpp/impl/codegen/metadata_map.h",
"include/grpcpp/impl/codegen/method_handler_impl.h",
"include/grpcpp/impl/codegen/method_handler.h",
"include/grpcpp/impl/codegen/rpc_method.h",
"include/grpcpp/impl/codegen/rpc_service_method.h",
"include/grpcpp/impl/codegen/security/auth_context.h",
"include/grpcpp/impl/codegen/serialization_traits.h",
"include/grpcpp/impl/codegen/server_callback_handlers.h",
"include/grpcpp/impl/codegen/server_callback.h",
"include/grpcpp/impl/codegen/server_context.h",
"include/grpcpp/impl/codegen/server_interceptor.h",
"include/grpcpp/impl/codegen/server_interface.h",
"include/grpcpp/impl/codegen/service_type.h",
"include/grpcpp/impl/codegen/slice.h",
"include/grpcpp/impl/codegen/status_code_enum.h",
"include/grpcpp/impl/codegen/status.h",
"include/grpcpp/impl/codegen/string_ref.h",
"include/grpcpp/impl/codegen/stub_options.h",
"include/grpcpp/impl/codegen/sync_stream.h",
"include/grpcpp/impl/codegen/time.h",
],
tags = ["nofixdeps"],
visibility = ["@grpc:public"],
deps = [
"grpc++_public_hdrs",
"grpc_public_hdrs",
],
)
grpc_cc_library(
name = "grpc++_codegen_base_src",
srcs = [
"src/cpp/codegen/codegen_init.cc",
],
language = "c++",
tags = ["nofixdeps"],
deps = [
"grpc++_codegen_base",
"grpc++_public_hdrs",
],
)
grpc_cc_library(
name = "grpc++_codegen_proto",
external_deps = [
@ -7481,8 +7375,8 @@ grpc_cc_library(
tags = ["nofixdeps"],
visibility = ["@grpc:public"],
deps = [
"grpc++_codegen_base",
"grpc++_config_proto",
"grpc++_public_hdrs",
],
)
@ -7544,7 +7438,6 @@ grpc_cc_library(
visibility = ["@grpc:public"],
deps = [
"arena",
"grpc++_codegen_base",
"grpc++_public_hdrs",
"grpc_backend_metric_data",
"xds_orca_upb",
@ -7594,7 +7487,6 @@ grpc_cc_library(
"default_event_engine",
"gpr",
"grpc++",
"grpc++_codegen_base",
"grpc_base",
"protobuf_duration_upb",
"ref_counted",
@ -7652,7 +7544,6 @@ grpc_cc_library(
"gpr",
"grpc",
"grpc++_base",
"grpc++_codegen_base",
"//src/proto/grpc/testing/xds/v3:csds_proto",
],
alwayslink = 1,

@ -597,9 +597,6 @@ def make_library(library):
(hdr, library))
error = True
if library in needs_codegen_base_src:
deps.add('grpc++_codegen_base_src', '#needs_codegen_base_src')
deps.remove(library)
deps = sorted(

Loading…
Cancel
Save