Skip to content

Commit

Permalink
Remove gpr_codegen (#30899)
Browse files Browse the repository at this point in the history
* Remove `gpr_codegen`

* Update

* Revert "Update"

This reverts commit 1f04465.

* Automated change: Fix sanity tests (#19)
  • Loading branch information
ralphchung committed Sep 13, 2022
1 parent 0867393 commit 3b66ddb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 264 deletions.
50 changes: 2 additions & 48 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,8 @@ grpc_cc_library(
"include/grpc/support/atm.h",
],
deps = [
"gpr_codegen",
"gpr_platform",
"gpr_public_hdrs",
"useful",
],
)
Expand Down Expand Up @@ -1106,7 +1106,6 @@ grpc_cc_library(
"examine_stack",
"gpr_atm",
"gpr_tls",
"grpc_codegen",
"no_destruct",
"tchar",
"useful",
Expand Down Expand Up @@ -1199,30 +1198,6 @@ grpc_cc_library(
],
)

grpc_cc_library(
name = "gpr_codegen",
language = "c++",
public_hdrs = [
"include/grpc/impl/codegen/atm.h",
"include/grpc/impl/codegen/atm_gcc_atomic.h",
"include/grpc/impl/codegen/atm_gcc_sync.h",
"include/grpc/impl/codegen/atm_windows.h",
"include/grpc/impl/codegen/fork.h",
"include/grpc/impl/codegen/gpr_slice.h",
"include/grpc/impl/codegen/gpr_types.h",
"include/grpc/impl/codegen/log.h",
"include/grpc/impl/codegen/port_platform.h",
"include/grpc/impl/codegen/sync.h",
"include/grpc/impl/codegen/sync_abseil.h",
"include/grpc/impl/codegen/sync_custom.h",
"include/grpc/impl/codegen/sync_generic.h",
"include/grpc/impl/codegen/sync_posix.h",
"include/grpc/impl/codegen/sync_windows.h",
],
tags = ["nofixdeps"],
visibility = ["@grpc:public"],
)

# A library that vends only port_platform, so that libraries that don't need
# anything else from gpr can still be portable!
grpc_cc_library(
Expand All @@ -1243,7 +1218,6 @@ grpc_cc_library(
visibility = ["@grpc:trace"],
deps = [
"gpr",
"gpr_codegen",
"grpc_codegen",
"grpc_public_hdrs",
],
Expand Down Expand Up @@ -2214,7 +2188,6 @@ grpc_cc_library(
deps = [
"event_engine_base_hdrs",
"gpr",
"gpr_codegen",
"useful",
],
)
Expand All @@ -2239,7 +2212,6 @@ grpc_cc_library(
"error",
"gpr",
"gpr_atm",
"gpr_codegen",
"gpr_spinlock",
"gpr_tls",
"grpc_codegen",
Expand Down Expand Up @@ -2517,7 +2489,6 @@ grpc_cc_library(
"event_engine_base_hdrs",
"forkable",
"gpr",
"gpr_codegen",
"gpr_tls",
"grpc_trace",
"posix_event_engine_timer",
Expand Down Expand Up @@ -2704,7 +2675,6 @@ grpc_cc_library(
"event_engine_poller",
"event_engine_time_util",
"gpr",
"gpr_codegen",
"iomgr_port",
"posix_event_engine_closure",
"posix_event_engine_event_poller",
Expand Down Expand Up @@ -2760,7 +2730,6 @@ grpc_cc_library(
],
deps = [
"gpr",
"gpr_codegen",
"iomgr_port",
"posix_event_engine_internal_errqueue",
],
Expand Down Expand Up @@ -3022,7 +2991,6 @@ grpc_cc_library(
deps = [
"exec_ctx",
"gpr",
"gpr_codegen",
"grpc_trace",
"time",
],
Expand Down Expand Up @@ -3863,7 +3831,6 @@ grpc_cc_library(
"dual_ref_counted",
"gpr",
"gpr_atm",
"gpr_codegen",
"grpc_backend_metric_data",
"grpc_base",
"grpc_codegen",
Expand Down Expand Up @@ -4279,7 +4246,7 @@ grpc_cc_library(
"include/grpc/impl/codegen/slice.h",
],
visibility = ["@grpc:public"],
deps = ["gpr_codegen"],
deps = ["gpr"],
)

grpc_cc_library(
Expand Down Expand Up @@ -4338,7 +4305,6 @@ grpc_cc_library(
"default_event_engine",
"gpr",
"gpr_atm",
"gpr_codegen",
"grpc_base",
"grpc_client_channel",
"grpc_codegen",
Expand Down Expand Up @@ -4501,7 +4467,6 @@ grpc_cc_library(
"exec_ctx",
"google_rpc_status_upb",
"gpr",
"gpr_codegen",
"grpc_trace",
"json",
"orphanable",
Expand Down Expand Up @@ -4654,7 +4619,6 @@ grpc_cc_library(
"error",
"google_rpc_status_upb",
"gpr",
"gpr_codegen",
"grpc_base",
"grpc_client_channel",
"grpc_codegen",
Expand Down Expand Up @@ -5425,7 +5389,6 @@ grpc_cc_library(
tags = ["nofixdeps"],
deps = [
"gpr",
"gpr_codegen",
"grpc++",
"lb_load_reporter",
],
Expand Down Expand Up @@ -5467,7 +5430,6 @@ grpc_cc_library(
tags = ["nofixdeps"],
deps = [
"gpr",
"gpr_codegen",
"lb_get_cpu_stats",
"lb_load_data_store",
"//src/proto/grpc/lb/v1:load_reporter_proto",
Expand Down Expand Up @@ -6174,7 +6136,6 @@ grpc_cc_library(
"arena_promise",
"debug_location",
"gpr",
"gpr_codegen",
"grpc_base",
"grpc_codegen",
"grpc_credentials_util",
Expand Down Expand Up @@ -6251,7 +6212,6 @@ grpc_cc_library(
deps = [
"arena_promise",
"gpr",
"gpr_codegen",
"gpr_manual_constructor",
"grpc_base",
"grpc_credentials_util",
Expand Down Expand Up @@ -6295,7 +6255,6 @@ grpc_cc_library(
"arena_promise",
"context",
"gpr",
"gpr_codegen",
"grpc_base",
"grpc_credentials_util",
"grpc_security_base",
Expand Down Expand Up @@ -6456,7 +6415,6 @@ grpc_cc_library(
"exec_ctx",
"gpr",
"gpr_atm",
"gpr_codegen",
"grpc_base",
"grpc_codegen",
"grpc_public_hdrs",
Expand Down Expand Up @@ -6737,7 +6695,6 @@ grpc_cc_library(
public_hdrs = GRPC_PUBLIC_HDRS,
deps = [
"gpr",
"gpr_codegen",
"grpc_authorization_base",
"grpc_base",
"grpc_codegen",
Expand Down Expand Up @@ -7214,7 +7171,6 @@ grpc_cc_library(
"config",
"error",
"gpr",
"gpr_codegen",
"gpr_manual_constructor",
"grpc",
"grpc++_codegen_base",
Expand Down Expand Up @@ -7272,7 +7228,6 @@ grpc_cc_library(
"channel_init",
"config",
"gpr",
"gpr_codegen",
"gpr_manual_constructor",
"grpc++_codegen_base",
"grpc++_codegen_base_src",
Expand Down Expand Up @@ -7707,7 +7662,6 @@ grpc_cc_library(
"channel_stack_type",
"debug_location",
"gpr",
"gpr_codegen",
"grpc++",
"grpc++_base",
"grpc_base",
Expand Down
72 changes: 0 additions & 72 deletions CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b66ddb

Please sign in to comment.