| # Copyright 2022 gRPC authors. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| load( |
| "//bazel:grpc_build_system.bzl", |
| "grpc_cc_library", |
| "grpc_generate_one_off_internal_targets", |
| "grpc_upb_proto_library", |
| "grpc_upb_proto_reflection_library", |
| ) |
| |
| licenses(["reciprocal"]) |
| |
| package( |
| default_visibility = ["//:__subpackages__"], |
| features = [ |
| "layering_check", |
| ], |
| ) |
| |
| # This is needed as a transitionary mechanism to build the src/core targets in |
| # the top-level BUILD file that have not yet been moved here. Should go away |
| # once the transition is complete. |
| exports_files( |
| glob( |
| ["**"], |
| exclude = ["ext/transport/binder/java/**"], |
| ), |
| visibility = ["//:__subpackages__"], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_fwd", |
| hdrs = [ |
| "lib/channel/channel_fwd.h", |
| ], |
| language = "c++", |
| ) |
| |
| grpc_cc_library( |
| name = "slice_cast", |
| hdrs = [ |
| "//:include/grpc/event_engine/internal/slice_cast.h", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_extensions", |
| hdrs = [ |
| "lib/event_engine/extensions/can_track_errors.h", |
| "lib/event_engine/extensions/chaotic_good_extension.h", |
| "lib/event_engine/extensions/supports_fd.h", |
| ], |
| external_deps = [ |
| "absl/status:statusor", |
| "absl/functional:any_invocable", |
| "absl/strings", |
| ], |
| deps = [ |
| ":memory_quota", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_common", |
| srcs = [ |
| "lib/event_engine/event_engine.cc", |
| "lib/event_engine/resolved_address.cc", |
| "lib/event_engine/slice.cc", |
| "lib/event_engine/slice_buffer.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/extensions/can_track_errors.h", |
| "lib/event_engine/handle_containers.h", |
| "lib/event_engine/resolved_address_internal.h", |
| "//:include/grpc/event_engine/slice.h", |
| "//:include/grpc/event_engine/slice_buffer.h", |
| ], |
| external_deps = [ |
| "absl/container:flat_hash_set", |
| "absl/hash", |
| "absl/strings", |
| "absl/utility", |
| ], |
| deps = [ |
| "resolved_address", |
| "slice", |
| "slice_buffer", |
| "slice_cast", |
| "slice_refcount", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "transport_fwd", |
| hdrs = [ |
| "lib/transport/transport_fwd.h", |
| ], |
| language = "c++", |
| ) |
| |
| grpc_cc_library( |
| name = "server_call_tracer_filter", |
| srcs = [ |
| "lib/channel/server_call_tracer_filter.cc", |
| ], |
| hdrs = [ |
| "lib/channel/server_call_tracer_filter.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| ], |
| language = "c++", |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "arena_promise", |
| "call_finalization", |
| "cancel_callback", |
| "channel_args", |
| "channel_fwd", |
| "channel_stack_type", |
| "context", |
| "map", |
| "pipe", |
| "//:call_tracer", |
| "//:config", |
| "//:gpr_platform", |
| "//:grpc_base", |
| "//:legacy_context", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "atomic_utils", |
| language = "c++", |
| public_hdrs = ["lib/gprpp/atomic_utils.h"], |
| deps = ["//:gpr"], |
| ) |
| |
| grpc_cc_library( |
| name = "metadata_compression_traits", |
| hdrs = [ |
| "lib/transport/metadata_compression_traits.h", |
| ], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "metadata_info", |
| srcs = ["lib/transport/metadata_info.cc"], |
| hdrs = ["lib/transport/metadata_info.h"], |
| deps = [ |
| "channel_args", |
| "hpack_constants", |
| "metadata_batch", |
| "slice", |
| "//:call_tracer", |
| "//:gpr_platform", |
| "//:grpc_base", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "experiments", |
| srcs = [ |
| "lib/experiments/config.cc", |
| "lib/experiments/experiments.cc", |
| ], |
| hdrs = [ |
| "lib/experiments/config.h", |
| "lib/experiments/experiments.h", |
| ], |
| defines = select( |
| { |
| "//:grpc_experiments_are_final": ["GRPC_EXPERIMENTS_ARE_FINAL"], |
| "//conditions:default": [], |
| }, |
| ), |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/strings", |
| ], |
| language = "c++", |
| tags = ["nofixdeps"], |
| visibility = ["@grpc:grpc_experiments"], |
| deps = [ |
| "no_destruct", |
| "//:config_vars", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "init_internally", |
| srcs = ["lib/surface/init_internally.cc"], |
| hdrs = ["lib/surface/init_internally.h"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "useful", |
| hdrs = ["lib/gpr/useful.h"], |
| external_deps = [ |
| "absl/strings", |
| "absl/types:variant", |
| ], |
| language = "c++", |
| visibility = ["@grpc:useful"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "examine_stack", |
| srcs = [ |
| "lib/gprpp/examine_stack.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/examine_stack.h", |
| ], |
| external_deps = ["absl/types:optional"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "gpr_atm", |
| srcs = [ |
| "lib/gpr/atm.cc", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "//:include/grpc/support/atm.h", |
| "//:include/grpc/support/atm_gcc_atomic.h", |
| "//:include/grpc/support/atm_gcc_sync.h", |
| "//:include/grpc/support/atm_windows.h", |
| "//: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", |
| ], |
| deps = [ |
| "useful", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "gpr_manual_constructor", |
| srcs = [], |
| hdrs = [ |
| "lib/gprpp/manual_constructor.h", |
| ], |
| language = "c++", |
| deps = [ |
| "construct_destruct", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "gpr_spinlock", |
| srcs = [], |
| hdrs = [ |
| "lib/gpr/spinlock.h", |
| ], |
| language = "c++", |
| deps = [ |
| "gpr_atm", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "gpr_log_internal", |
| hdrs = [ |
| "lib/gpr/log_internal.h", |
| ], |
| language = "c++", |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "env", |
| srcs = [ |
| "lib/gprpp/linux/env.cc", |
| "lib/gprpp/posix/env.cc", |
| "lib/gprpp/windows/env.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/env.h", |
| ], |
| external_deps = ["absl/types:optional"], |
| deps = [ |
| "tchar", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "directory_reader", |
| srcs = [ |
| "lib/gprpp/posix/directory_reader.cc", |
| "lib/gprpp/windows/directory_reader.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/directory_reader.h", |
| ], |
| external_deps = [ |
| "absl/functional:function_ref", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "chunked_vector", |
| hdrs = ["lib/gprpp/chunked_vector.h"], |
| deps = [ |
| "arena", |
| "gpr_manual_constructor", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "construct_destruct", |
| language = "c++", |
| public_hdrs = ["lib/gprpp/construct_destruct.h"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "status_helper", |
| srcs = [ |
| "lib/gprpp/status_helper.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/status_helper.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/strings", |
| "absl/strings:cord", |
| "absl/time", |
| "absl/types:optional", |
| "upb_base_lib", |
| "upb_mem_lib", |
| ], |
| language = "c++", |
| deps = [ |
| "percent_encoding", |
| "slice", |
| "//:debug_location", |
| "//:google_rpc_status_upb", |
| "//:gpr", |
| "//:protobuf_any_upb", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "unique_type_name", |
| hdrs = ["lib/gprpp/unique_type_name.h"], |
| external_deps = ["absl/strings"], |
| language = "c++", |
| deps = [ |
| "useful", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "validation_errors", |
| srcs = [ |
| "lib/gprpp/validation_errors.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/validation_errors.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/strings", |
| ], |
| language = "c++", |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "overload", |
| language = "c++", |
| public_hdrs = ["lib/gprpp/overload.h"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "match", |
| external_deps = ["absl/types:variant"], |
| language = "c++", |
| public_hdrs = ["lib/gprpp/match.h"], |
| deps = [ |
| "overload", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "table", |
| external_deps = [ |
| "absl/meta:type_traits", |
| "absl/utility", |
| ], |
| language = "c++", |
| public_hdrs = ["lib/gprpp/table.h"], |
| deps = [ |
| "bitset", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "packed_table", |
| hdrs = ["lib/gprpp/packed_table.h"], |
| language = "c++", |
| deps = [ |
| "sorted_pack", |
| "table", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "bitset", |
| language = "c++", |
| public_hdrs = ["lib/gprpp/bitset.h"], |
| deps = [ |
| "useful", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "no_destruct", |
| language = "c++", |
| public_hdrs = ["lib/gprpp/no_destruct.h"], |
| deps = [ |
| "construct_destruct", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "tchar", |
| srcs = [ |
| "lib/gprpp/tchar.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/tchar.h", |
| ], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "poll", |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/poll.h", |
| ], |
| deps = [ |
| "construct_destruct", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "status_flag", |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/status_flag.h", |
| ], |
| deps = [ |
| "promise_status", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "map_pipe", |
| external_deps = ["absl/status"], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/map_pipe.h", |
| ], |
| deps = [ |
| "for_each", |
| "map", |
| "pipe", |
| "poll", |
| "promise_factory", |
| "promise_trace", |
| "try_seq", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "1999", |
| srcs = [ |
| "lib/promise/party.cc", |
| ], |
| hdrs = [ |
| "lib/promise/party.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/strings", |
| "absl/strings:str_format", |
| ], |
| language = "c++", |
| deps = [ |
| "activity", |
| "arena", |
| "construct_destruct", |
| "context", |
| "poll", |
| "promise_factory", |
| "promise_trace", |
| "ref_counted", |
| "//:event_engine_base_hdrs", |
| "//:exec_ctx", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "context", |
| external_deps = ["absl/meta:type_traits"], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/context.h", |
| ], |
| deps = [ |
| "down_cast", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "map", |
| language = "c++", |
| public_hdrs = ["lib/promise/map.h"], |
| deps = [ |
| "poll", |
| "promise_like", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "sleep", |
| srcs = [ |
| "lib/promise/sleep.cc", |
| ], |
| hdrs = [ |
| "lib/promise/sleep.h", |
| ], |
| external_deps = ["absl/status"], |
| deps = [ |
| "activity", |
| "context", |
| "event_engine_context", |
| "poll", |
| "time", |
| "//:event_engine_base_hdrs", |
| "//:exec_ctx", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "wait_for_callback", |
| hdrs = [ |
| "lib/promise/wait_for_callback.h", |
| ], |
| external_deps = ["absl/base:core_headers"], |
| deps = [ |
| "activity", |
| "poll", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "arena_promise", |
| external_deps = ["absl/meta:type_traits"], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/arena_promise.h", |
| ], |
| deps = [ |
| "arena", |
| "construct_destruct", |
| "context", |
| "poll", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "promise_like", |
| external_deps = ["absl/meta:type_traits"], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/detail/promise_like.h", |
| ], |
| deps = [ |
| "poll", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "cancel_callback", |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/cancel_callback.h", |
| ], |
| deps = [ |
| "promise_like", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "promise_factory", |
| external_deps = ["absl/meta:type_traits"], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/detail/promise_factory.h", |
| ], |
| deps = [ |
| "promise_like", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "if", |
| external_deps = [ |
| "absl/status:statusor", |
| "absl/types:variant", |
| ], |
| language = "c++", |
| public_hdrs = ["lib/promise/if.h"], |
| deps = [ |
| "construct_destruct", |
| "poll", |
| "promise_factory", |
| "promise_like", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "switch", |
| language = "c++", |
| public_hdrs = ["lib/promise/switch.h"], |
| deps = [ |
| "if", |
| "promise_factory", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "promise_status", |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/detail/status.h", |
| ], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "race", |
| language = "c++", |
| public_hdrs = ["lib/promise/race.h"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "prioritized_race", |
| language = "c++", |
| public_hdrs = ["lib/promise/prioritized_race.h"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "loop", |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/types:variant", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/loop.h", |
| ], |
| deps = [ |
| "construct_destruct", |
| "poll", |
| "promise_factory", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "join_state", |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/detail/join_state.h", |
| ], |
| deps = [ |
| "bitset", |
| "construct_destruct", |
| "poll", |
| "promise_like", |
| "promise_trace", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "join", |
| external_deps = ["absl/meta:type_traits"], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/join.h", |
| ], |
| deps = [ |
| "join_state", |
| "map", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "try_join", |
| external_deps = [ |
| "absl/meta:type_traits", |
| "absl/status", |
| "absl/status:statusor", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/try_join.h", |
| ], |
| deps = [ |
| "join_state", |
| "map", |
| "poll", |
| "status_flag", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "all_ok", |
| external_deps = [ |
| "absl/meta:type_traits", |
| "absl/status", |
| "absl/status:statusor", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/all_ok.h", |
| ], |
| deps = [ |
| "join_state", |
| "map", |
| "poll", |
| "status_flag", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "basic_seq", |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/detail/basic_seq.h", |
| ], |
| deps = [ |
| "construct_destruct", |
| "poll", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "seq_state", |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/strings", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/detail/seq_state.h", |
| ], |
| deps = [ |
| "construct_destruct", |
| "poll", |
| "promise_factory", |
| "promise_like", |
| "promise_trace", |
| "//:debug_location", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "seq", |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/seq.h", |
| ], |
| deps = [ |
| "basic_seq", |
| "poll", |
| "promise_like", |
| "seq_state", |
| "//:debug_location", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "try_seq", |
| external_deps = [ |
| "absl/meta:type_traits", |
| "absl/status", |
| "absl/status:statusor", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/try_seq.h", |
| ], |
| deps = [ |
| "basic_seq", |
| "poll", |
| "promise_like", |
| "promise_status", |
| "seq_state", |
| "status_flag", |
| "//:debug_location", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "activity", |
| srcs = [ |
| "lib/promise/activity.cc", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/status", |
| "absl/strings", |
| "absl/strings:str_format", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/activity.h", |
| ], |
| deps = [ |
| "atomic_utils", |
| "construct_destruct", |
| "context", |
| "event_engine_context", |
| "no_destruct", |
| "poll", |
| "promise_factory", |
| "promise_status", |
| "//:gpr", |
| "//:orphanable", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "exec_ctx_wakeup_scheduler", |
| hdrs = [ |
| "lib/promise/exec_ctx_wakeup_scheduler.h", |
| ], |
| external_deps = ["absl/status"], |
| language = "c++", |
| deps = [ |
| "closure", |
| "error", |
| "//:debug_location", |
| "//:exec_ctx", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_wakeup_scheduler", |
| hdrs = [ |
| "lib/promise/event_engine_wakeup_scheduler.h", |
| ], |
| language = "c++", |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:exec_ctx", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "wait_set", |
| external_deps = [ |
| "absl/container:flat_hash_set", |
| "absl/hash", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/wait_set.h", |
| ], |
| deps = [ |
| "activity", |
| "poll", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "latch", |
| external_deps = ["absl/strings"], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/latch.h", |
| ], |
| deps = [ |
| "activity", |
| "poll", |
| "promise_trace", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "inter_activity_latch", |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/strings", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/promise/inter_activity_latch.h", |
| ], |
| deps = [ |
| "activity", |
| "poll", |
| "promise_trace", |
| "wait_set", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "interceptor_list", |
| hdrs = [ |
| "lib/promise/interceptor_list.h", |
| ], |
| external_deps = [ |
| "absl/strings", |
| "absl/strings:str_format", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "arena", |
| "construct_destruct", |
| "context", |
| "poll", |
| "promise_factory", |
| "promise_trace", |
| "//:debug_location", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "pipe", |
| hdrs = [ |
| "lib/promise/pipe.h", |
| ], |
| external_deps = [ |
| "absl/strings", |
| "absl/types:optional", |
| "absl/types:variant", |
| ], |
| language = "c++", |
| deps = [ |
| "activity", |
| "arena", |
| "context", |
| "if", |
| "interceptor_list", |
| "map", |
| "poll", |
| "promise_trace", |
| "seq", |
| "//:debug_location", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "promise_mutex", |
| hdrs = [ |
| "lib/promise/promise_mutex.h", |
| ], |
| language = "c++", |
| deps = [ |
| "activity", |
| "poll", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "inter_activity_pipe", |
| hdrs = [ |
| "lib/promise/inter_activity_pipe.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| deps = [ |
| "activity", |
| "poll", |
| "ref_counted", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "promise_trace", |
| srcs = [ |
| "lib/promise/trace.cc", |
| ], |
| hdrs = [ |
| "lib/promise/trace.h", |
| ], |
| language = "c++", |
| deps = [ |
| "//:gpr_platform", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "mpsc", |
| hdrs = [ |
| "lib/promise/mpsc.h", |
| ], |
| external_deps = ["absl/base:core_headers"], |
| language = "c++", |
| deps = [ |
| "activity", |
| "poll", |
| "ref_counted", |
| "wait_set", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "observable", |
| hdrs = [ |
| "lib/promise/observable.h", |
| ], |
| external_deps = [ |
| "absl/container:flat_hash_set", |
| "absl/functional:any_invocable", |
| ], |
| language = "c++", |
| deps = [ |
| "activity", |
| "poll", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "for_each", |
| external_deps = [ |
| "absl/status", |
| "absl/strings", |
| ], |
| language = "c++", |
| public_hdrs = ["lib/promise/for_each.h"], |
| deps = [ |
| "activity", |
| "construct_destruct", |
| "poll", |
| "promise_factory", |
| "promise_status", |
| "promise_trace", |
| "status_flag", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "ref_counted", |
| language = "c++", |
| public_hdrs = ["lib/gprpp/ref_counted.h"], |
| deps = [ |
| "atomic_utils", |
| "down_cast", |
| "//:debug_location", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "dual_ref_counted", |
| language = "c++", |
| public_hdrs = ["lib/gprpp/dual_ref_counted.h"], |
| deps = [ |
| "down_cast", |
| "//:debug_location", |
| "//:gpr", |
| "//:orphanable", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "ref_counted_string", |
| srcs = [ |
| "lib/gprpp/ref_counted_string.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/ref_counted_string.h", |
| ], |
| external_deps = ["absl/strings"], |
| language = "c++", |
| deps = [ |
| "ref_counted", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "uuid_v4", |
| srcs = ["lib/gprpp/uuid_v4.cc"], |
| external_deps = ["absl/strings:str_format"], |
| language = "c++", |
| public_hdrs = ["lib/gprpp/uuid_v4.h"], |
| deps = ["//:gpr"], |
| ) |
| |
| grpc_cc_library( |
| name = "handshaker_factory", |
| language = "c++", |
| public_hdrs = [ |
| "lib/transport/handshaker_factory.h", |
| ], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "channel_args", |
| "iomgr_fwd", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "handshaker_registry", |
| srcs = [ |
| "lib/transport/handshaker_registry.cc", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/transport/handshaker_registry.h", |
| ], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "channel_args", |
| "handshaker_factory", |
| "iomgr_fwd", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "tcp_connect_handshaker", |
| srcs = [ |
| "lib/transport/tcp_connect_handshaker.cc", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| public_hdrs = [ |
| "lib/transport/tcp_connect_handshaker.h", |
| ], |
| deps = [ |
| "channel_args", |
| "channel_args_endpoint_config", |
| "closure", |
| "error", |
| "handshaker_factory", |
| "handshaker_registry", |
| "iomgr_fwd", |
| "pollset_set", |
| "resolved_address", |
| "slice", |
| "//:config", |
| "//:debug_location", |
| "//:exec_ctx", |
| "//:gpr", |
| "//:grpc_base", |
| "//:handshaker", |
| "//:iomgr", |
| "//:parse_address", |
| "//:ref_counted_ptr", |
| "//:uri_parser", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "endpoint_info_handshaker", |
| srcs = [ |
| "lib/transport/endpoint_info_handshaker.cc", |
| ], |
| hdrs = [ |
| "lib/transport/endpoint_info_handshaker.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| ], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "closure", |
| "handshaker_factory", |
| "handshaker_registry", |
| "//:config", |
| "//:debug_location", |
| "//:exec_ctx", |
| "//:gpr", |
| "//:handshaker", |
| "//:iomgr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_creds_registry", |
| hdrs = [ |
| "lib/security/credentials/channel_creds_registry.h", |
| ], |
| external_deps = ["absl/strings"], |
| language = "c++", |
| deps = [ |
| "json", |
| "json_args", |
| "ref_counted", |
| "validation_errors", |
| "//:gpr_platform", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_memory_allocator", |
| hdrs = [ |
| "//:include/grpc/event_engine/internal/memory_allocator_impl.h", |
| "//:include/grpc/event_engine/memory_allocator.h", |
| "//:include/grpc/event_engine/memory_request.h", |
| ], |
| external_deps = ["absl/strings"], |
| language = "c++", |
| deps = [ |
| "slice", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_memory_allocator_factory", |
| hdrs = [ |
| "lib/event_engine/memory_allocator_factory.h", |
| ], |
| external_deps = ["absl/strings"], |
| language = "c++", |
| deps = [ |
| "event_engine_memory_allocator", |
| "memory_quota", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "memory_quota", |
| srcs = [ |
| "lib/resource_quota/memory_quota.cc", |
| ], |
| hdrs = [ |
| "lib/resource_quota/memory_quota.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/container:flat_hash_set", |
| "absl/status", |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "activity", |
| "event_engine_memory_allocator", |
| "exec_ctx_wakeup_scheduler", |
| "experiments", |
| "loop", |
| "map", |
| "periodic_update", |
| "poll", |
| "race", |
| "resource_quota_trace", |
| "seq", |
| "slice_refcount", |
| "time", |
| "useful", |
| "//:gpr", |
| "//:grpc_trace", |
| "//:orphanable", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "periodic_update", |
| srcs = [ |
| "lib/resource_quota/periodic_update.cc", |
| ], |
| hdrs = [ |
| "lib/resource_quota/periodic_update.h", |
| ], |
| external_deps = ["absl/functional:function_ref"], |
| deps = [ |
| "time", |
| "useful", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "arena", |
| srcs = [ |
| "lib/resource_quota/arena.cc", |
| ], |
| hdrs = [ |
| "lib/resource_quota/arena.h", |
| ], |
| visibility = [ |
| "@grpc:alt_grpc_base_legacy", |
| ], |
| deps = [ |
| "construct_destruct", |
| "context", |
| "event_engine_memory_allocator", |
| "memory_quota", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "thread_quota", |
| srcs = [ |
| "lib/resource_quota/thread_quota.cc", |
| ], |
| hdrs = [ |
| "lib/resource_quota/thread_quota.h", |
| ], |
| external_deps = ["absl/base:core_headers"], |
| deps = [ |
| "ref_counted", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "connection_quota", |
| srcs = [ |
| "lib/resource_quota/connection_quota.cc", |
| ], |
| hdrs = [ |
| "lib/resource_quota/connection_quota.h", |
| ], |
| external_deps = ["absl/base:core_headers"], |
| deps = [ |
| "memory_quota", |
| "ref_counted", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "resource_quota_trace", |
| srcs = [ |
| "lib/resource_quota/trace.cc", |
| ], |
| hdrs = [ |
| "lib/resource_quota/trace.h", |
| ], |
| deps = [ |
| "//:gpr_platform", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "resource_quota", |
| srcs = [ |
| "lib/resource_quota/resource_quota.cc", |
| ], |
| hdrs = [ |
| "lib/resource_quota/resource_quota.h", |
| ], |
| external_deps = ["absl/strings"], |
| visibility = [ |
| "@grpc:alt_grpc_base_legacy", |
| ], |
| deps = [ |
| "connection_quota", |
| "memory_quota", |
| "ref_counted", |
| "thread_quota", |
| "useful", |
| "//:channel_arg_names", |
| "//:cpp_impl_of", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "slice_refcount", |
| srcs = [ |
| "lib/slice/slice_refcount.cc", |
| ], |
| hdrs = [ |
| "lib/slice/slice_refcount.h", |
| ], |
| public_hdrs = [ |
| "//:include/grpc/slice.h", |
| ], |
| deps = [ |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "slice", |
| srcs = [ |
| "lib/slice/slice.cc", |
| "lib/slice/slice_string_helpers.cc", |
| ], |
| hdrs = [ |
| "lib/slice/slice.h", |
| "lib/slice/slice_internal.h", |
| "lib/slice/slice_string_helpers.h", |
| "//:include/grpc/slice.h", |
| ], |
| external_deps = [ |
| "absl/hash", |
| "absl/strings", |
| ], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "slice_cast", |
| "slice_refcount", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "slice_buffer", |
| srcs = [ |
| "lib/slice/slice_buffer.cc", |
| ], |
| hdrs = [ |
| "lib/slice/slice_buffer.h", |
| "//:include/grpc/slice_buffer.h", |
| ], |
| deps = [ |
| "slice", |
| "slice_refcount", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "error", |
| srcs = [ |
| "lib/iomgr/error.cc", |
| ], |
| hdrs = [ |
| "lib/iomgr/error.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/strings:str_format", |
| ], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "gpr_spinlock", |
| "slice", |
| "slice_refcount", |
| "status_helper", |
| "strerror", |
| "useful", |
| "//:gpr", |
| "//:grpc_public_hdrs", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "closure", |
| srcs = [ |
| "lib/iomgr/closure.cc", |
| ], |
| hdrs = [ |
| "lib/iomgr/closure.h", |
| ], |
| external_deps = ["absl/strings:str_format"], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "error", |
| "gpr_manual_constructor", |
| "//:debug_location", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "time", |
| srcs = [ |
| "lib/gprpp/time.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/time.h", |
| ], |
| external_deps = [ |
| "absl/strings:str_format", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "no_destruct", |
| "useful", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "iomgr_port", |
| hdrs = [ |
| "lib/iomgr/port.h", |
| ], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "iomgr_fwd", |
| hdrs = [ |
| "lib/iomgr/iomgr_fwd.h", |
| ], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "grpc_sockaddr", |
| srcs = [ |
| "lib/iomgr/sockaddr_utils_posix.cc", |
| "lib/iomgr/socket_utils_windows.cc", |
| ], |
| hdrs = [ |
| "lib/iomgr/sockaddr.h", |
| "lib/iomgr/sockaddr_posix.h", |
| "lib/iomgr/sockaddr_windows.h", |
| "lib/iomgr/socket_utils.h", |
| ], |
| deps = [ |
| "iomgr_port", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "avl", |
| hdrs = [ |
| "lib/avl/avl.h", |
| ], |
| deps = [ |
| "ref_counted", |
| "useful", |
| "//:gpr_platform", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "time_averaged_stats", |
| srcs = ["lib/gprpp/time_averaged_stats.cc"], |
| hdrs = [ |
| "lib/gprpp/time_averaged_stats.h", |
| ], |
| deps = ["//:gpr"], |
| ) |
| |
| grpc_cc_library( |
| name = "forkable", |
| srcs = [ |
| "lib/event_engine/forkable.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/forkable.h", |
| ], |
| deps = [ |
| "//:config_vars", |
| "//:gpr", |
| "//:gpr_platform", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_poller", |
| hdrs = [ |
| "lib/event_engine/poller.h", |
| ], |
| external_deps = ["absl/functional:function_ref"], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_time_util", |
| srcs = ["lib/event_engine/time_util.cc"], |
| hdrs = ["lib/event_engine/time_util.h"], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_query_extensions", |
| hdrs = [ |
| "lib/event_engine/query_extensions.h", |
| ], |
| external_deps = ["absl/strings"], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_work_queue", |
| hdrs = [ |
| "lib/event_engine/work_queue/work_queue.h", |
| ], |
| external_deps = ["absl/functional:any_invocable"], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_basic_work_queue", |
| srcs = [ |
| "lib/event_engine/work_queue/basic_work_queue.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/work_queue/basic_work_queue.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/functional:any_invocable", |
| ], |
| deps = [ |
| "common_event_engine_closures", |
| "event_engine_work_queue", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "common_event_engine_closures", |
| hdrs = ["lib/event_engine/common_closures.h"], |
| external_deps = ["absl/functional:any_invocable"], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_timer", |
| srcs = [ |
| "lib/event_engine/posix_engine/timer.cc", |
| "lib/event_engine/posix_engine/timer_heap.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/timer.h", |
| "lib/event_engine/posix_engine/timer_heap.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "time", |
| "time_averaged_stats", |
| "useful", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_thread_local", |
| srcs = ["lib/event_engine/thread_local.cc"], |
| hdrs = ["lib/event_engine/thread_local.h"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_thread_count", |
| srcs = [ |
| "lib/event_engine/thread_pool/thread_count.cc", |
| ], |
| hdrs = ["lib/event_engine/thread_pool/thread_count.h"], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/time", |
| "absl/status", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "time", |
| "useful", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_thread_pool", |
| srcs = [ |
| "lib/event_engine/thread_pool/thread_pool_factory.cc", |
| "lib/event_engine/thread_pool/work_stealing_thread_pool.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/thread_pool/thread_pool.h", |
| "lib/event_engine/thread_pool/work_stealing_thread_pool.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/container:flat_hash_set", |
| "absl/functional:any_invocable", |
| "absl/time", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "common_event_engine_closures", |
| "env", |
| "event_engine_basic_work_queue", |
| "event_engine_thread_count", |
| "event_engine_thread_local", |
| "event_engine_trace", |
| "event_engine_work_queue", |
| "examine_stack", |
| "forkable", |
| "no_destruct", |
| "notification", |
| "time", |
| "//:backoff", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_base_hdrs", |
| srcs = [], |
| hdrs = [ |
| "lib/event_engine/posix.h", |
| ], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/status:statusor", |
| ], |
| deps = [ |
| "event_engine_extensions", |
| "event_engine_query_extensions", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_timer_manager", |
| srcs = ["lib/event_engine/posix_engine/timer_manager.cc"], |
| hdrs = [ |
| "lib/event_engine/posix_engine/timer_manager.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/time", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "event_engine_thread_pool", |
| "forkable", |
| "notification", |
| "posix_event_engine_timer", |
| "time", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_event_poller", |
| srcs = [], |
| hdrs = [ |
| "lib/event_engine/posix_engine/event_poller.h", |
| ], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/strings", |
| ], |
| deps = [ |
| "event_engine_poller", |
| "forkable", |
| "posix_event_engine_closure", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_closure", |
| srcs = [], |
| hdrs = [ |
| "lib/event_engine/posix_engine/posix_engine_closure.h", |
| ], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/status", |
| ], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_lockfree_event", |
| srcs = [ |
| "lib/event_engine/posix_engine/lockfree_event.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/lockfree_event.h", |
| ], |
| external_deps = ["absl/status"], |
| deps = [ |
| "gpr_atm", |
| "posix_event_engine_closure", |
| "posix_event_engine_event_poller", |
| "status_helper", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_wakeup_fd_posix", |
| hdrs = [ |
| "lib/event_engine/posix_engine/wakeup_fd_posix.h", |
| ], |
| external_deps = ["absl/status"], |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_wakeup_fd_posix_pipe", |
| srcs = [ |
| "lib/event_engine/posix_engine/wakeup_fd_pipe.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/wakeup_fd_pipe.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "iomgr_port", |
| "posix_event_engine_wakeup_fd_posix", |
| "strerror", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_wakeup_fd_posix_eventfd", |
| srcs = [ |
| "lib/event_engine/posix_engine/wakeup_fd_eventfd.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/wakeup_fd_eventfd.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "iomgr_port", |
| "posix_event_engine_wakeup_fd_posix", |
| "strerror", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_wakeup_fd_posix_default", |
| srcs = [ |
| "lib/event_engine/posix_engine/wakeup_fd_posix_default.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/wakeup_fd_posix_default.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| ], |
| deps = [ |
| "iomgr_port", |
| "posix_event_engine_wakeup_fd_posix", |
| "posix_event_engine_wakeup_fd_posix_eventfd", |
| "posix_event_engine_wakeup_fd_posix_pipe", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_poller_posix_epoll1", |
| srcs = [ |
| "lib/event_engine/posix_engine/ev_epoll1_linux.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/ev_epoll1_linux.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/container:inlined_vector", |
| "absl/functional:function_ref", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "event_engine_poller", |
| "event_engine_time_util", |
| "iomgr_port", |
| "posix_event_engine_closure", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_internal_errqueue", |
| "posix_event_engine_lockfree_event", |
| "posix_event_engine_wakeup_fd_posix", |
| "posix_event_engine_wakeup_fd_posix_default", |
| "status_helper", |
| "strerror", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:grpc_public_hdrs", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_poller_posix_poll", |
| srcs = [ |
| "lib/event_engine/posix_engine/ev_poll_posix.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/ev_poll_posix.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/container:inlined_vector", |
| "absl/functional:any_invocable", |
| "absl/functional:function_ref", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "common_event_engine_closures", |
| "event_engine_poller", |
| "event_engine_time_util", |
| "iomgr_port", |
| "posix_event_engine_closure", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_wakeup_fd_posix", |
| "posix_event_engine_wakeup_fd_posix_default", |
| "status_helper", |
| "strerror", |
| "time", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:grpc_public_hdrs", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_poller_posix_default", |
| srcs = [ |
| "lib/event_engine/posix_engine/event_poller_posix_default.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/event_poller_posix_default.h", |
| ], |
| external_deps = ["absl/strings"], |
| deps = [ |
| "forkable", |
| "iomgr_port", |
| "no_destruct", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_poller_posix_epoll1", |
| "posix_event_engine_poller_posix_poll", |
| "//:config_vars", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_internal_errqueue", |
| srcs = [ |
| "lib/event_engine/posix_engine/internal_errqueue.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/internal_errqueue.h", |
| ], |
| deps = [ |
| "iomgr_port", |
| "strerror", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_traced_buffer_list", |
| srcs = [ |
| "lib/event_engine/posix_engine/traced_buffer_list.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/traced_buffer_list.h", |
| ], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "iomgr_port", |
| "posix_event_engine_internal_errqueue", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_endpoint", |
| srcs = [ |
| "lib/event_engine/posix_engine/posix_endpoint.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/posix_endpoint.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/container:flat_hash_map", |
| "absl/functional:any_invocable", |
| "absl/hash", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "event_engine_common", |
| "event_engine_extensions", |
| "event_engine_tcp_socket_utils", |
| "event_engine_trace", |
| "experiments", |
| "iomgr_port", |
| "load_file", |
| "memory_quota", |
| "posix_event_engine_base_hdrs", |
| "posix_event_engine_closure", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_internal_errqueue", |
| "posix_event_engine_tcp_socket_utils", |
| "posix_event_engine_traced_buffer_list", |
| "ref_counted", |
| "resource_quota", |
| "slice", |
| "status_helper", |
| "strerror", |
| "time", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:exec_ctx", |
| "//:gpr", |
| "//:grpc_public_hdrs", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_utils", |
| srcs = ["lib/event_engine/utils.cc"], |
| hdrs = ["lib/event_engine/utils.h"], |
| external_deps = ["absl/strings"], |
| deps = [ |
| "time", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_tcp_socket_utils", |
| srcs = [ |
| "lib/event_engine/posix_engine/tcp_socket_utils.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/tcp_socket_utils.h", |
| ], |
| external_deps = [ |
| "absl/cleanup", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "event_engine_tcp_socket_utils", |
| "iomgr_port", |
| "resource_quota", |
| "socket_mutator", |
| "status_helper", |
| "strerror", |
| "time", |
| "useful", |
| "//:channel_arg_names", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_listener_utils", |
| srcs = [ |
| "lib/event_engine/posix_engine/posix_engine_listener_utils.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/posix_engine_listener_utils.h", |
| ], |
| external_deps = [ |
| "absl/cleanup", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "event_engine_tcp_socket_utils", |
| "iomgr_port", |
| "posix_event_engine_tcp_socket_utils", |
| "socket_mutator", |
| "status_helper", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine_listener", |
| srcs = [ |
| "lib/event_engine/posix_engine/posix_engine_listener.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/posix_engine_listener.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "event_engine_tcp_socket_utils", |
| "event_engine_trace", |
| "iomgr_port", |
| "posix_event_engine_base_hdrs", |
| "posix_event_engine_closure", |
| "posix_event_engine_endpoint", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_listener_utils", |
| "posix_event_engine_tcp_socket_utils", |
| "socket_mutator", |
| "status_helper", |
| "strerror", |
| "time", |
| "//:event_engine_base_hdrs", |
| "//:exec_ctx", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "posix_event_engine", |
| srcs = ["lib/event_engine/posix_engine/posix_engine.cc"], |
| hdrs = ["lib/event_engine/posix_engine/posix_engine.h"], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/cleanup", |
| "absl/container:flat_hash_map", |
| "absl/functional:any_invocable", |
| "absl/hash", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "ares_resolver", |
| "event_engine_common", |
| "event_engine_poller", |
| "event_engine_tcp_socket_utils", |
| "event_engine_thread_pool", |
| "event_engine_trace", |
| "event_engine_utils", |
| "forkable", |
| "init_internally", |
| "iomgr_port", |
| "native_posix_dns_resolver", |
| "no_destruct", |
| "posix_event_engine_base_hdrs", |
| "posix_event_engine_closure", |
| "posix_event_engine_endpoint", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_listener", |
| "posix_event_engine_poller_posix_default", |
| "posix_event_engine_tcp_socket_utils", |
| "posix_event_engine_timer", |
| "posix_event_engine_timer_manager", |
| "ref_counted_dns_resolver_interface", |
| "useful", |
| "//:config_vars", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:grpc_trace", |
| "//:orphanable", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "windows_event_engine", |
| srcs = ["lib/event_engine/windows/windows_engine.cc"], |
| hdrs = ["lib/event_engine/windows/windows_engine.h"], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "ares_resolver", |
| "channel_args_endpoint_config", |
| "common_event_engine_closures", |
| "error", |
| "event_engine_common", |
| "event_engine_tcp_socket_utils", |
| "event_engine_thread_pool", |
| "event_engine_trace", |
| "event_engine_utils", |
| "init_internally", |
| "iomgr_port", |
| "posix_event_engine_timer_manager", |
| "time", |
| "windows_endpoint", |
| "windows_event_engine_listener", |
| "windows_iocp", |
| "windows_native_resolver", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "windows_native_resolver", |
| srcs = ["lib/event_engine/windows/native_windows_dns_resolver.cc"], |
| hdrs = ["lib/event_engine/windows/native_windows_dns_resolver.h"], |
| external_deps = ["absl/strings:str_format"], |
| deps = [ |
| "error", |
| "status_helper", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "windows_iocp", |
| srcs = [ |
| "lib/event_engine/windows/iocp.cc", |
| "lib/event_engine/windows/win_socket.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/windows/iocp.h", |
| "lib/event_engine/windows/win_socket.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "error", |
| "event_engine_poller", |
| "event_engine_tcp_socket_utils", |
| "event_engine_thread_pool", |
| "event_engine_time_util", |
| "event_engine_trace", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "windows_endpoint", |
| srcs = [ |
| "lib/event_engine/windows/windows_endpoint.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/windows/windows_endpoint.h", |
| ], |
| external_deps = [ |
| "absl/cleanup", |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "error", |
| "event_engine_tcp_socket_utils", |
| "event_engine_thread_pool", |
| "event_engine_trace", |
| "status_helper", |
| "windows_iocp", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "windows_event_engine_listener", |
| srcs = [ |
| "lib/event_engine/windows/windows_listener.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/windows/windows_listener.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "common_event_engine_closures", |
| "error", |
| "event_engine_tcp_socket_utils", |
| "event_engine_thread_pool", |
| "event_engine_trace", |
| "windows_endpoint", |
| "windows_iocp", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "cf_event_engine", |
| srcs = [ |
| "lib/event_engine/cf_engine/cf_engine.cc", |
| "lib/event_engine/cf_engine/cfstream_endpoint.cc", |
| "lib/event_engine/cf_engine/dns_service_resolver.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/cf_engine/cf_engine.h", |
| "lib/event_engine/cf_engine/cfstream_endpoint.h", |
| "lib/event_engine/cf_engine/cftype_unique_ref.h", |
| "lib/event_engine/cf_engine/dns_service_resolver.h", |
| ], |
| external_deps = [ |
| "absl/container:flat_hash_map", |
| "absl/strings", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "event_engine_common", |
| "event_engine_tcp_socket_utils", |
| "event_engine_thread_pool", |
| "event_engine_trace", |
| "event_engine_utils", |
| "init_internally", |
| "posix_event_engine_closure", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_lockfree_event", |
| "posix_event_engine_timer_manager", |
| "ref_counted", |
| "strerror", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:parse_address", |
| "//:ref_counted_ptr", |
| "//:sockaddr_utils", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_tcp_socket_utils", |
| srcs = [ |
| "lib/event_engine/tcp_socket_utils.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/tcp_socket_utils.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/strings:str_format", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "iomgr_port", |
| "resolved_address", |
| "status_helper", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:gpr_platform", |
| "//:parse_address", |
| "//:uri_parser", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_trace", |
| srcs = [ |
| "lib/event_engine/trace.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/trace.h", |
| ], |
| deps = [ |
| "//:gpr", |
| "//:gpr_platform", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_shim", |
| srcs = [ |
| "lib/event_engine/shim.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/shim.h", |
| ], |
| deps = [ |
| "experiments", |
| "iomgr_port", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| # NOTE: this target gets replaced inside Google's build system to be one that |
| # integrates with other internal systems better. Please do not rename or fold |
| # this into other targets. |
| grpc_cc_library( |
| name = "default_event_engine_factory", |
| srcs = ["lib/event_engine/default_event_engine_factory.cc"], |
| hdrs = ["lib/event_engine/default_event_engine_factory.h"], |
| external_deps = ["absl/memory"], |
| select_deps = [ |
| { |
| "//:windows": ["windows_event_engine"], |
| "//:windows_msvc": ["windows_event_engine"], |
| "//:windows_other": ["windows_event_engine"], |
| "//:mac": [ |
| "posix_event_engine", |
| "cf_event_engine", |
| ], |
| "//:mac_x86_64": [ |
| "posix_event_engine", |
| "cf_event_engine", |
| ], |
| "//:mac_arm64": [ |
| "posix_event_engine", |
| "cf_event_engine", |
| ], |
| "//:ios": ["cf_event_engine"], |
| "//:tvos": ["cf_event_engine"], |
| "//:watchos": ["cf_event_engine"], |
| "//conditions:default": ["posix_event_engine"], |
| }, |
| ], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_args_endpoint_config", |
| srcs = [ |
| "lib/event_engine/channel_args_endpoint_config.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/channel_args_endpoint_config.h", |
| ], |
| external_deps = [ |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "channel_args", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "thready_event_engine", |
| srcs = ["lib/event_engine/thready_event_engine/thready_event_engine.cc"], |
| hdrs = ["lib/event_engine/thready_event_engine/thready_event_engine.h"], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_engine_context", |
| hdrs = [ |
| "lib/event_engine/event_engine_context.h", |
| ], |
| visibility = [ |
| "@grpc:alt_grpc_base_legacy", |
| ], |
| deps = [ |
| "context", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "default_event_engine", |
| srcs = [ |
| "lib/event_engine/default_event_engine.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/default_event_engine.h", |
| ], |
| external_deps = ["absl/functional:any_invocable"], |
| visibility = [ |
| "@grpc:alt_grpc_base_legacy", |
| ], |
| deps = [ |
| "channel_args", |
| "default_event_engine_factory", |
| "event_engine_trace", |
| "no_destruct", |
| "thready_event_engine", |
| "//:config", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "ref_counted_dns_resolver_interface", |
| hdrs = ["lib/event_engine/ref_counted_dns_resolver_interface.h"], |
| external_deps = ["absl/strings"], |
| deps = [ |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| "//:orphanable", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "native_posix_dns_resolver", |
| srcs = [ |
| "lib/event_engine/posix_engine/native_posix_dns_resolver.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/posix_engine/native_posix_dns_resolver.h", |
| ], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "iomgr_port", |
| "useful", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "ares_resolver", |
| srcs = [ |
| "lib/event_engine/ares_resolver.cc", |
| "lib/event_engine/windows/grpc_polled_fd_windows.cc", |
| ], |
| hdrs = [ |
| "lib/event_engine/ares_resolver.h", |
| "lib/event_engine/grpc_polled_fd.h", |
| "lib/event_engine/nameser.h", |
| "lib/event_engine/posix_engine/grpc_polled_fd_posix.h", |
| "lib/event_engine/windows/grpc_polled_fd_windows.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/container:flat_hash_map", |
| "absl/functional:any_invocable", |
| "absl/hash", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/strings:str_format", |
| "absl/types:optional", |
| "absl/types:variant", |
| "address_sorting", |
| "cares", |
| ], |
| deps = [ |
| "common_event_engine_closures", |
| "error", |
| "event_engine_time_util", |
| "grpc_sockaddr", |
| "iomgr_port", |
| "posix_event_engine_closure", |
| "posix_event_engine_event_poller", |
| "posix_event_engine_tcp_socket_utils", |
| "ref_counted_dns_resolver_interface", |
| "resolved_address", |
| "slice", |
| "windows_iocp", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:grpc_trace", |
| "//:orphanable", |
| "//:parse_address", |
| "//:ref_counted_ptr", |
| "//:sockaddr_utils", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_args_preconditioning", |
| srcs = [ |
| "lib/channel/channel_args_preconditioning.cc", |
| ], |
| hdrs = [ |
| "lib/channel/channel_args_preconditioning.h", |
| ], |
| deps = [ |
| "channel_args", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "bdp_estimator", |
| srcs = [ |
| "lib/transport/bdp_estimator.cc", |
| ], |
| hdrs = ["lib/transport/bdp_estimator.h"], |
| external_deps = ["absl/strings"], |
| deps = [ |
| "time", |
| "//:gpr", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "percent_encoding", |
| srcs = [ |
| "lib/slice/percent_encoding.cc", |
| ], |
| hdrs = [ |
| "lib/slice/percent_encoding.h", |
| ], |
| deps = [ |
| "bitset", |
| "slice", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "socket_mutator", |
| srcs = [ |
| "lib/iomgr/socket_mutator.cc", |
| ], |
| hdrs = [ |
| "lib/iomgr/socket_mutator.h", |
| ], |
| visibility = ["@grpc:alt_grpc_base_legacy"], |
| deps = [ |
| "channel_args", |
| "useful", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "pollset_set", |
| srcs = [ |
| "lib/iomgr/pollset_set.cc", |
| ], |
| hdrs = [ |
| "lib/iomgr/pollset_set.h", |
| ], |
| deps = [ |
| "iomgr_fwd", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "histogram_view", |
| srcs = [ |
| "lib/debug/histogram_view.cc", |
| ], |
| hdrs = [ |
| "lib/debug/histogram_view.h", |
| ], |
| deps = ["//:gpr"], |
| ) |
| |
| grpc_cc_library( |
| name = "stats_data", |
| srcs = [ |
| "lib/debug/stats_data.cc", |
| ], |
| hdrs = [ |
| "lib/debug/stats_data.h", |
| ], |
| external_deps = ["absl/strings"], |
| deps = [ |
| "histogram_view", |
| "per_cpu", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "per_cpu", |
| srcs = [ |
| "lib/gprpp/per_cpu.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/per_cpu.h", |
| ], |
| deps = [ |
| "useful", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "event_log", |
| srcs = [ |
| "lib/debug/event_log.cc", |
| ], |
| hdrs = [ |
| "lib/debug/event_log.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/strings", |
| "absl/types:span", |
| ], |
| deps = [ |
| "per_cpu", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "load_file", |
| srcs = [ |
| "lib/gprpp/load_file.cc", |
| ], |
| hdrs = [ |
| "lib/gprpp/load_file.h", |
| ], |
| external_deps = [ |
| "absl/cleanup", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| language = "c++", |
| deps = [ |
| "slice", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "http2_errors", |
| hdrs = [ |
| "lib/transport/http2_errors.h", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_stack_type", |
| srcs = [ |
| "lib/surface/channel_stack_type.cc", |
| ], |
| hdrs = [ |
| "lib/surface/channel_stack_type.h", |
| ], |
| language = "c++", |
| deps = ["//:gpr_platform"], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_stack_trace", |
| srcs = [ |
| "lib/channel/channel_stack_trace.cc", |
| ], |
| hdrs = [ |
| "lib/channel/channel_stack_trace.h", |
| ], |
| language = "c++", |
| deps = [ |
| "//:gpr_platform", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_init", |
| srcs = [ |
| "lib/surface/channel_init.cc", |
| ], |
| hdrs = [ |
| "lib/surface/channel_init.h", |
| ], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| deps = [ |
| "call_filters", |
| "channel_args", |
| "channel_fwd", |
| "channel_stack_trace", |
| "channel_stack_type", |
| "//:channel_stack_builder", |
| "//:debug_location", |
| "//:gpr", |
| "//:gpr_platform", |
| "//:grpc_trace", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "server_interface", |
| hdrs = [ |
| "lib/surface/server_interface.h", |
| ], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "//:channelz", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "single_set_ptr", |
| hdrs = [ |
| "lib/gprpp/single_set_ptr.h", |
| ], |
| language = "c++", |
| deps = ["//:gpr"], |
| ) |
| |
| grpc_cc_library( |
| name = "grpc_service_config", |
| hdrs = [ |
| "service_config/service_config.h", |
| "service_config/service_config_call_data.h", |
| ], |
| external_deps = ["absl/strings"], |
| language = "c++", |
| deps = [ |
| "arena", |
| "chunked_vector", |
| "ref_counted", |
| "service_config_parser", |
| "slice_refcount", |
| "unique_type_name", |
| "useful", |
| "//:gpr_platform", |
| "//:legacy_context", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "service_config_parser", |
| srcs = [ |
| "service_config/service_config_parser.cc", |
| ], |
| hdrs = [ |
| "service_config/service_config_parser.h", |
| ], |
| external_deps = ["absl/strings"], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "json", |
| "validation_errors", |
| "//:gpr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "notification", |
| hdrs = [ |
| "lib/gprpp/notification.h", |
| ], |
| external_deps = ["absl/time"], |
| deps = ["//:gpr"], |
| ) |
| |
| grpc_cc_library( |
| name = "channel_args", |
| srcs = [ |
| "lib/channel/channel_args.cc", |
| ], |
| hdrs = [ |
| "lib/channel/channel_args.h", |
| ], |
| external_deps = [ |
| "absl/meta:type_traits", |
| "absl/strings", |
| "absl/strings:str_format", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| visibility = [ |
| "@grpc:alt_grpc_base_legacy", |
| ], |
| deps = [ |
| "avl", |
| "channel_stack_type", |
| "dual_ref_counted", |
| "ref_counted", |
| "ref_counted_string", |
| "time", |
| "useful", |
| "//:channel_arg_names", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "resolved_address", |
| hdrs = ["lib/iomgr/resolved_address.h"], |
| language = "c++", |
| deps = [ |
| "iomgr_port", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "client_channel_internal_header", |
| hdrs = [ |
| "client_channel/client_channel_internal.h", |
| ], |
| external_deps = [ |
| "absl/functional:any_invocable", |
| ], |
| language = "c++", |
| deps = [ |
| "arena", |
| "grpc_service_config", |
| "lb_policy", |
| "unique_type_name", |
| "//:call_tracer", |
| "//:gpr_public_hdrs", |
| "//:grpc_base", |
| "//:legacy_context", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "subchannel_connector", |
| hdrs = [ |
| "client_channel/connector.h", |
| ], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "closure", |
| "error", |
| "iomgr_fwd", |
| "resolved_address", |
| "time", |
| "//:channelz", |
| "//:gpr_platform", |
| "//:grpc_base", |
| "//:iomgr", |
| "//:orphanable", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "subchannel_pool_interface", |
| srcs = [ |
| "client_channel/subchannel_pool_interface.cc", |
| ], |
| hdrs = [ |
| "client_channel/subchannel_pool_interface.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "ref_counted", |
| "resolved_address", |
| "useful", |
| "//:gpr_platform", |
| "//:grpc_trace", |
| "//:ref_counted_ptr", |
| "//:sockaddr_utils", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "config_selector", |
| srcs = [ |
| "client_channel/config_selector.cc", |
| ], |
| hdrs = [ |
| "client_channel/config_selector.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/strings", |
| ], |
| language = "c++", |
| deps = [ |
| "arena", |
| "channel_args", |
| "channel_fwd", |
| "client_channel_internal_header", |
| "grpc_service_config", |
| "metadata_batch", |
| "ref_counted", |
| "slice", |
| "useful", |
| "//:gpr_public_hdrs", |
| "//:grpc_public_hdrs", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "client_channel_service_config", |
| srcs = [ |
| "client_channel/client_channel_service_config.cc", |
| ], |
| hdrs = [ |
| "client_channel/client_channel_service_config.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "json", |
| "json_args", |
| "json_object_loader", |
| "lb_policy", |
| "lb_policy_registry", |
| "service_config_parser", |
| "time", |
| "validation_errors", |
| "//:config", |
| "//:gpr_platform", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "retry_service_config", |
| srcs = [ |
| "client_channel/retry_service_config.cc", |
| ], |
| hdrs = [ |
| "client_channel/retry_service_config.h", |
| ], |
| external_deps = [ |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "json", |
| "json_args", |
| "json_channel_args", |
| "json_object_loader", |
| "service_config_parser", |
| "time", |
| "validation_errors", |
| "//:channel_arg_names", |
| "//:config", |
| "//:gpr_public_hdrs", |
| "//:grpc_base", |
| "//:grpc_public_hdrs", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "retry_throttle", |
| srcs = [ |
| "client_channel/retry_throttle.cc", |
| ], |
| hdrs = [ |
| "client_channel/retry_throttle.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| ], |
| language = "c++", |
| deps = [ |
| "gpr_atm", |
| "ref_counted", |
| "//:gpr", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "client_channel_backup_poller", |
| srcs = [ |
| "client_channel/backup_poller.cc", |
| ], |
| hdrs = [ |
| "client_channel/backup_poller.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| ], |
| language = "c++", |
| deps = [ |
| "closure", |
| "error", |
| "iomgr_fwd", |
| "pollset_set", |
| "time", |
| "//:config_vars", |
| "//:gpr", |
| "//:gpr_platform", |
| "//:iomgr", |
| "//:iomgr_timer", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "client_channel_channelz", |
| srcs = [ |
| "client_channel/client_channel_channelz.cc", |
| ], |
| hdrs = [ |
| "client_channel/client_channel_channelz.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/strings", |
| ], |
| language = "c++", |
| deps = [ |
| "connectivity_state", |
| "json", |
| "//:channelz", |
| "//:gpr", |
| "//:grpc_public_hdrs", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "service_config_channel_arg_filter", |
| srcs = [ |
| "service_config/service_config_channel_arg_filter.cc", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| deps = [ |
| "arena", |
| "arena_promise", |
| "channel_args", |
| "channel_fwd", |
| "channel_stack_type", |
| "context", |
| "grpc_message_size_filter", |
| "grpc_service_config", |
| "metadata_batch", |
| "service_config_parser", |
| "//:channel_arg_names", |
| "//:config", |
| "//:gpr_platform", |
| "//:gpr_public_hdrs", |
| "//:grpc_base", |
| "//:grpc_service_config_impl", |
| "//:legacy_context", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "lb_policy", |
| srcs = ["load_balancing/lb_policy.cc"], |
| hdrs = ["load_balancing/lb_policy.h"], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/types:optional", |
| "absl/types:variant", |
| ], |
| deps = [ |
| "channel_args", |
| "closure", |
| "dual_ref_counted", |
| "error", |
| "grpc_backend_metric_data", |
| "iomgr_fwd", |
| "metrics", |
| "pollset_set", |
| "ref_counted", |
| "resolved_address", |
| "subchannel_interface", |
| "//:debug_location", |
| "//:endpoint_addresses", |
| "//:event_engine_base_hdrs", |
| "//:exec_ctx", |
| "//:gpr", |
| "//:gpr_platform", |
| "//:grpc_trace", |
| "//:orphanable", |
| "//:ref_counted_ptr", |
| "//:work_serializer", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "lb_policy_factory", |
| hdrs = ["load_balancing/lb_policy_factory.h"], |
| external_deps = [ |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| deps = [ |
| "json", |
| "lb_policy", |
| "//:gpr_platform", |
| "//:orphanable", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "lb_policy_registry", |
| srcs = ["load_balancing/lb_policy_registry.cc"], |
| hdrs = ["load_balancing/lb_policy_registry.h"], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/strings:str_format", |
| ], |
| deps = [ |
| "json", |
| "lb_policy", |
| "lb_policy_factory", |
| "//:gpr", |
| "//:orphanable", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "subchannel_interface", |
| hdrs = ["load_balancing/subchannel_interface.h"], |
| external_deps = ["absl/status"], |
| deps = [ |
| "dual_ref_counted", |
| "iomgr_fwd", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "delegating_helper", |
| hdrs = ["load_balancing/delegating_helper.h"], |
| external_deps = [ |
| "absl/status", |
| "absl/strings", |
| ], |
| deps = [ |
| "channel_args", |
| "lb_policy", |
| "resolved_address", |
| "subchannel_interface", |
| "//:debug_location", |
| "//:event_engine_base_hdrs", |
| "//:gpr_platform", |
| "//:grpc_security_base", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "backend_metric_parser", |
| srcs = [ |
| "load_balancing/backend_metric_parser.cc", |
| ], |
| hdrs = [ |
| "load_balancing/backend_metric_parser.h", |
| ], |
| external_deps = [ |
| "absl/strings", |
| "upb_base_lib", |
| "upb_mem_lib", |
| "upb_message_lib", |
| ], |
| language = "c++", |
| deps = [ |
| "grpc_backend_metric_data", |
| "xds_orca_upb", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "proxy_mapper", |
| hdrs = ["lib/handshaker/proxy_mapper.h"], |
| external_deps = [ |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "channel_args", |
| "resolved_address", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "proxy_mapper_registry", |
| srcs = ["lib/handshaker/proxy_mapper_registry.cc"], |
| hdrs = ["lib/handshaker/proxy_mapper_registry.h"], |
| external_deps = [ |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| deps = [ |
| "channel_args", |
| "proxy_mapper", |
| "resolved_address", |
| "//:gpr_platform", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "http_proxy_mapper", |
| srcs = [ |
| "client_channel/http_proxy_mapper.cc", |
| ], |
| hdrs = [ |
| "client_channel/http_proxy_mapper.h", |
| ], |
| external_deps = [ |
| "absl/status", |
| "absl/status:statusor", |
| "absl/strings", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| deps = [ |
| "channel_args", |
| "env", |
| "experiments", |
| "proxy_mapper", |
| "resolved_address", |
| "//:channel_arg_names", |
| "//:config", |
| "//:gpr", |
| "//:grpc_base", |
| "//:http_connect_handshaker", |
| "//:iomgr", |
| "//:parse_address", |
| "//:sockaddr_utils", |
| "//:uri_parser", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "grpc_server_config_selector", |
| hdrs = [ |
| "ext/filters/server_config_selector/server_config_selector.h", |
| ], |
| external_deps = [ |
| "absl/status:statusor", |
| "absl/strings", |
| ], |
| language = "c++", |
| deps = [ |
| "dual_ref_counted", |
| "grpc_service_config", |
| "metadata_batch", |
| "ref_counted", |
| "service_config_parser", |
| "useful", |
| "//:gpr_platform", |
| "//:grpc_base", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "grpc_server_config_selector_filter", |
| srcs = [ |
| "ext/filters/server_config_selector/server_config_selector_filter.cc", |
| ], |
| hdrs = [ |
| "ext/filters/server_config_selector/server_config_selector_filter.h", |
| ], |
| external_deps = [ |
| "absl/base:core_headers", |
| "absl/status", |
| "absl/status:statusor", |
| "absl/types:optional", |
| ], |
| language = "c++", |
| deps = [ |
| "arena", |
| "arena_promise", |
| "channel_args", |
| "channel_fwd", |
| "context", |
| "event_engine_context", |
| "grpc_server_config_selector", |
| "grpc_service_config", |
| "metadata_batch", |
| "status_helper", |
| "//:gpr", |
| "//:grpc_base", |
| "//:legacy_context", |
| "//:promise", |
| "//:ref_counted_ptr", |
| ], |
| ) |
| |
| grpc_cc_library( |
| name = "sorted_pack", |
| hdrs = [ |
| "lib/gprpp/sorted_pack.h", |
| ], |
| language = "c++", |
| deps = [ |
| "type_list", |
| "//:gpr_platform", |
| ], |
| ) |
| |
|