[build] Stop publishing iomgr/error.h from grpc_base (#31521)

* [build] Stop publishing iomgr/error.h from grpc_base

* fixes

* fix
pull/31620/head
Craig Tiller 2 years ago committed by GitHub
parent 504d49dc61
commit 5b8f006ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      BUILD
  2. 29
      src/core/BUILD
  3. 1
      src/cpp/ext/gcp/BUILD
  4. 5
      test/core/end2end/BUILD
  5. 3
      test/core/util/BUILD

15
BUILD

@ -842,6 +842,7 @@ grpc_cc_library(
"grpc_public_hdrs",
"grpc_trace",
"ref_counted_ptr",
"//src/core:error",
"//src/core:grpc_authorization_base",
"//src/core:grpc_matchers",
"//src/core:grpc_rbac_engine",
@ -1336,7 +1337,6 @@ grpc_cc_library(
# to clean this up, we'll remove these.
[
"//src/core:lib/iomgr/closure.h",
"//src/core:lib/iomgr/error.h",
"//src/core:lib/slice/slice_internal.h",
"//src/core:lib/slice/slice_string_helpers.h",
"//src/core:lib/iomgr/exec_ctx.h",
@ -1619,6 +1619,7 @@ grpc_cc_library(
"//src/core:channel_fwd",
"//src/core:closure",
"//src/core:context",
"//src/core:error",
"//src/core:event_engine_memory_allocator",
"//src/core:gpr_atm",
"//src/core:handshaker_factory",
@ -1824,6 +1825,7 @@ grpc_cc_library(
"ref_counted_ptr",
"//src/core:arena",
"//src/core:channel_init",
"//src/core:error",
"//src/core:gpr_atm",
"//src/core:gpr_manual_constructor",
"//src/core:grpc_insecure_credentials",
@ -2284,6 +2286,7 @@ grpc_cc_library(
"ref_counted_ptr",
"//src/core:channel_args",
"//src/core:closure",
"//src/core:error",
"//src/core:ref_counted",
"//src/core:slice",
"//src/core:slice_buffer",
@ -2319,6 +2322,7 @@ grpc_cc_library(
"ref_counted_ptr",
"//src/core:channel_args",
"//src/core:closure",
"//src/core:error",
"//src/core:handshaker_factory",
"//src/core:handshaker_registry",
"//src/core:iomgr_fwd",
@ -2682,6 +2686,7 @@ grpc_cc_library(
"//src/core:construct_destruct",
"//src/core:dual_ref_counted",
"//src/core:env",
"//src/core:error",
"//src/core:gpr_atm",
"//src/core:grpc_backend_metric_data",
"//src/core:grpc_deadline_filter",
@ -2758,6 +2763,7 @@ grpc_cc_library(
"server_address",
"sockaddr_utils",
"uri_parser",
"//src/core:error",
"//src/core:event_engine_common",
"//src/core:grpc_resolver_dns_selection",
"//src/core:grpc_service_config",
@ -2811,6 +2817,7 @@ grpc_cc_library(
"sockaddr_utils",
"uri_parser",
"//src/core:channel_args_preconditioning",
"//src/core:error",
"//src/core:handshaker_registry",
"//src/core:iomgr_fwd",
"//src/core:pollset_set",
@ -2854,6 +2861,7 @@ grpc_cc_library(
"tsi_alts_credentials",
"tsi_base",
"//src/core:arena_promise",
"//src/core:error",
"//src/core:iomgr_fwd",
"//src/core:slice",
"//src/core:slice_refcount",
@ -2918,6 +2926,7 @@ grpc_cc_library(
"ref_counted_ptr",
"uri_parser",
"//src/core:arena_promise",
"//src/core:error",
"//src/core:gpr_manual_constructor",
"//src/core:httpcli_ssl_credentials",
"//src/core:iomgr_fwd",
@ -2952,6 +2961,7 @@ grpc_cc_library(
"gpr",
"grpc_base",
"grpc_security_base",
"//src/core:error",
"//src/core:json",
"//src/core:useful",
],
@ -3079,6 +3089,7 @@ grpc_cc_library(
"ref_counted_ptr",
"tsi_base",
"tsi_ssl_session_cache",
"//src/core:error",
"//src/core:grpc_transport_chttp2_alpn",
"//src/core:ref_counted",
"//src/core:tsi_ssl_types",
@ -3127,6 +3138,7 @@ grpc_cc_library(
"//src/core:channel_init",
"//src/core:channel_stack_type",
"//src/core:context",
"//src/core:error",
"//src/core:grpc_message_size_filter",
"//src/core:latch",
"//src/core:percent_encoding",
@ -3352,6 +3364,7 @@ grpc_cc_library(
"//src/core:bitset",
"//src/core:chttp2_flow_control",
"//src/core:decode_huff",
"//src/core:error",
"//src/core:experiments",
"//src/core:gpr_atm",
"//src/core:hpack_constants",

@ -880,6 +880,7 @@ grpc_cc_library(
deps = [
"channel_args",
"closure",
"error",
"handshaker_factory",
"handshaker_registry",
"iomgr_fwd",
@ -1119,6 +1120,7 @@ grpc_cc_library(
"absl/status",
"absl/strings:str_format",
],
visibility = ["@grpc:alt_grpc_base_legacy"],
deps = [
"gpr_spinlock",
"slice",
@ -2297,6 +2299,7 @@ grpc_cc_library(
deps = [
"channel_args",
"dual_ref_counted",
"error",
"grpc_service_config",
"ref_counted",
"service_config_parser",
@ -2328,6 +2331,7 @@ grpc_cc_library(
"channel_args",
"channel_fwd",
"context",
"error",
"grpc_server_config_selector",
"grpc_service_config",
"status_helper",
@ -2437,6 +2441,7 @@ grpc_cc_library(
language = "c++",
deps = [
"arena_promise",
"error",
"iomgr_fwd",
"slice",
"unique_type_name",
@ -2470,6 +2475,7 @@ grpc_cc_library(
language = "c++",
deps = [
"arena_promise",
"error",
"iomgr_fwd",
"tsi_local_credentials",
"unique_type_name",
@ -2520,6 +2526,7 @@ grpc_cc_library(
language = "c++",
deps = [
"arena_promise",
"error",
"grpc_sockaddr",
"iomgr_fwd",
"resolved_address",
@ -2559,6 +2566,7 @@ grpc_cc_library(
language = "c++",
deps = [
"arena_promise",
"error",
"iomgr_fwd",
"unique_type_name",
"useful",
@ -2595,6 +2603,7 @@ grpc_cc_library(
tags = ["nofixdeps"],
deps = [
"env",
"error",
"grpc_external_account_credentials",
"grpc_lb_xds_channel_args",
"grpc_oauth2_credentials",
@ -2666,6 +2675,7 @@ grpc_cc_library(
language = "c++",
deps = [
"arena_promise",
"error",
"iomgr_fwd",
"ref_counted",
"slice",
@ -2738,6 +2748,7 @@ grpc_cc_library(
"activity",
"arena_promise",
"context",
"error",
"httpcli_ssl_credentials",
"json",
"poll",
@ -2790,6 +2801,7 @@ grpc_cc_library(
language = "c++",
deps = [
"env",
"error",
"grpc_oauth2_credentials",
"httpcli_ssl_credentials",
"json",
@ -2824,6 +2836,7 @@ grpc_cc_library(
language = "c++",
deps = [
"arena_promise",
"error",
"iomgr_fwd",
"unique_type_name",
"//:debug_location",
@ -3011,6 +3024,7 @@ grpc_cc_library(
"channel_init",
"channel_stack_type",
"closure",
"error",
"exec_ctx_wakeup_scheduler",
"http2_errors",
"idle_filter_state",
@ -3054,6 +3068,7 @@ grpc_cc_library(
"channel_init",
"channel_stack_type",
"closure",
"error",
"status_helper",
"time",
"//:channel_stack_builder",
@ -3116,6 +3131,7 @@ grpc_cc_library(
"channel_init",
"channel_stack_type",
"closure",
"error",
"grpc_service_config",
"json",
"json_args",
@ -3194,6 +3210,7 @@ grpc_cc_library(
"channel_args",
"channel_fwd",
"closure",
"error",
"grpc_authorization_base",
"grpc_matchers",
"grpc_rbac_engine",
@ -3245,6 +3262,7 @@ grpc_cc_library(
"channel_fwd",
"channel_init",
"channel_stack_type",
"error",
"gpr_atm",
"grpc_sockaddr",
"json",
@ -3316,6 +3334,7 @@ grpc_cc_library(
language = "c++",
deps = [
"dual_ref_counted",
"error",
"grpc_fake_credentials",
"json",
"json_args",
@ -3569,6 +3588,7 @@ grpc_cc_library(
"channel_args",
"channel_args_preconditioning",
"channel_fwd",
"error",
"grpc_server_config_selector",
"grpc_server_config_selector_filter",
"grpc_service_config",
@ -3651,6 +3671,7 @@ grpc_cc_library(
],
language = "c++",
deps = [
"error",
"grpc_matchers",
"grpc_outlier_detection_header",
"grpc_tls_credentials",
@ -3958,6 +3979,7 @@ grpc_cc_library(
language = "c++",
deps = [
"closure",
"error",
"grpc_lb_subchannel_list",
"json",
"json_args",
@ -4044,6 +4066,7 @@ grpc_cc_library(
deps = [
"channel_args",
"closure",
"error",
"grpc_outlier_detection_header",
"iomgr_fwd",
"json",
@ -4084,6 +4107,7 @@ grpc_cc_library(
deps = [
"channel_args",
"closure",
"error",
"grpc_lb_address_filtering",
"json",
"json_args",
@ -4356,6 +4380,7 @@ grpc_cc_library(
"arena",
"channel_fwd",
"dual_ref_counted",
"error",
"grpc_lb_policy_ring_hash",
"grpc_service_config",
"grpc_xds_client",
@ -4397,6 +4422,7 @@ grpc_cc_library(
language = "c++",
deps = [
"env",
"error",
"grpc_xds_client",
"json",
"resource_quota",
@ -4541,6 +4567,7 @@ grpc_cc_library(
deps = [
"channel_args_preconditioning",
"channel_stack_type",
"error",
"grpc_insecure_credentials",
"handshaker_registry",
"resolved_address",
@ -4584,6 +4611,7 @@ grpc_cc_library(
],
language = "c++",
deps = [
"error",
"grpc_insecure_credentials",
"handshaker_registry",
"iomgr_fwd",
@ -4631,6 +4659,7 @@ grpc_cc_library(
"arena",
"channel_args_preconditioning",
"channel_stack_type",
"error",
"iomgr_fwd",
"slice",
"slice_buffer",

@ -80,6 +80,7 @@ grpc_cc_library(
"//:grpc_base",
"//:grpc_public_hdrs",
"//src/core:env",
"//src/core:error",
"//src/core:json",
"//src/core:json_args",
"//src/core:json_object_loader",

@ -69,6 +69,7 @@ grpc_cc_library(
"//:httpcli",
"//:sockaddr_utils",
"//src/core:channel_args_preconditioning",
"//src/core:error",
"//src/core:iomgr_fwd",
"//src/core:pollset_set",
"//src/core:resolved_address",
@ -115,6 +116,7 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//:grpc_public_hdrs",
"//src/core:error",
"//src/core:gpr_atm",
"//src/core:iomgr_fwd",
"//src/core:status_helper",
@ -152,6 +154,7 @@ grpc_cc_test(
"//:grpc",
"//:grpc_public_hdrs",
"//:sockaddr_utils",
"//src/core:error",
"//src/core:iomgr_port",
"//src/core:resolved_address",
"//test/core/util:grpc_test_util",
@ -176,6 +179,7 @@ grpc_cc_test(
"//:grpc_resolver_dns_ares",
"//:server_address",
"//src/core:default_event_engine",
"//src/core:error",
"//src/core:grpc_sockaddr",
"//src/core:iomgr_fwd",
"//src/core:resolved_address",
@ -258,6 +262,7 @@ grpc_cc_test(
"//:grpc",
"//:grpc_public_hdrs",
"//:tsi_ssl_credentials",
"//src/core:error",
"//src/core:useful",
"//test/core/util:grpc_test_util",
],

@ -135,6 +135,7 @@ grpc_cc_library(
"//:tsi_ssl_credentials",
"//:uri_parser",
"//src/core:channel_args_preconditioning",
"//src/core:error",
"//src/core:gpr_atm",
"//src/core:grpc_sockaddr",
"//src/core:iomgr_fwd",
@ -172,6 +173,7 @@ grpc_cc_library(
"//:ref_counted_ptr",
"//:uri_parser",
"//src/core:channel_args_preconditioning",
"//src/core:error",
"//src/core:gpr_atm",
"//src/core:grpc_sockaddr",
"//src/core:iomgr_fwd",
@ -298,6 +300,7 @@ grpc_cc_library(
"//:ref_counted_ptr",
"//:server_address",
"//:uri_parser",
"//src/core:error",
"//src/core:grpc_backend_metric_data",
"//src/core:json",
"//src/core:json_util",

Loading…
Cancel
Save