Commit 35f1e6ba authored by Andres Medina's avatar Andres Medina Committed by Commit Bot

[third_party] Uprev grpc to v1.33.0+

Bug: b/132440534
Test: CQ and manual size check.
Change-Id: Ie892c66dd5773e93ed154d3754add455e1f47041
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518775Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarSean Topping <seantopping@chromium.org>
Reviewed-by: default avatarLuke Halliwell (slow) <halliwell@chromium.org>
Commit-Queue: Andres Medina <medinaandres@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828763}
parent e86524cd
...@@ -942,7 +942,7 @@ deps = { ...@@ -942,7 +942,7 @@ deps = {
}, },
'src/third_party/grpc/src': { 'src/third_party/grpc/src': {
'url': Var('chromium_git') + '/external/github.com/grpc/grpc.git' + '@' + '74b981a6a3d9ba17f3acae1d72b9109325ef656d', 'url': Var('chromium_git') + '/external/github.com/grpc/grpc.git' + '@' + '4ac9c6f755463a2321f84b0cb2d631e1828faedb',
}, },
'src/third_party/freetype/src': 'src/third_party/freetype/src':
......
...@@ -460,7 +460,6 @@ cast_source_set("browser") { ...@@ -460,7 +460,6 @@ cast_source_set("browser") {
"webview/webview_window_manager.cc", "webview/webview_window_manager.cc",
"webview/webview_window_manager.h", "webview/webview_window_manager.h",
] ]
configs += [ "//third_party/grpc:grpc_config" ]
deps += [ deps += [
":web_contents_provider", ":web_contents_provider",
"//chromecast/browser/webview/proto", "//chromecast/browser/webview/proto",
...@@ -468,6 +467,7 @@ cast_source_set("browser") { ...@@ -468,6 +467,7 @@ cast_source_set("browser") {
"//components/exo/wayland", "//components/exo/wayland",
"//content/public/browser", "//content/public/browser",
"//services/viz/privileged/mojom/compositing", "//services/viz/privileged/mojom/compositing",
"//third_party/grpc:grpc++",
"//ui/display/manager", "//ui/display/manager",
] ]
} }
......
...@@ -26,7 +26,7 @@ cast_source_set("accessibility") { ...@@ -26,7 +26,7 @@ cast_source_set("accessibility") {
"//content/public/browser", "//content/public/browser",
"//extensions/browser/api", "//extensions/browser/api",
"//skia", "//skia",
"//third_party/grpc:grpcpp", "//third_party/grpc:grpc++",
"//ui/views", "//ui/views",
] ]
} }
......
...@@ -7,7 +7,7 @@ proto_library("gallium_accessibility_proto") { ...@@ -7,7 +7,7 @@ proto_library("gallium_accessibility_proto") {
] ]
deps = [ deps = [
"//third_party/grpc:grpcpp", "//third_party/grpc:grpc++",
"//third_party/protobuf:protobuf_lite", "//third_party/protobuf:protobuf_lite",
] ]
......
...@@ -21,5 +21,6 @@ executable("wayland_webview_client") { ...@@ -21,5 +21,6 @@ executable("wayland_webview_client") {
"//ui/events:events_base", "//ui/events:events_base",
"//ui/events/types:headers", "//ui/events/types:headers",
"//ui/gl", "//ui/gl",
"//third_party/grpc:grpc++",
] ]
} }
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
import("//third_party/grpc/grpc_library.gni") import("//third_party/grpc/grpc_library.gni")
cc_grpc_library("proto") { grpc_library("proto") {
sources = [ "webview.proto" ] sources = [ "webview.proto" ]
} }
# Copyright 2019 The Chromium Authors. All rights reserved. # GRPC Chromium GN build file
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//testing/libfuzzer/fuzzer_test.gni") # This file has been automatically generated from a template file.
# Please look at the templates directory instead.
# See //third_party/grpc/README.chromium for more information.
declare_args() {
# Compiles with ares.
enable_grpc_ares = false
}
if (is_android) {
import("//build/config/android/config.gni")
}
config("grpc_config") { config("grpc_config") {
include_dirs = [ "src/include" ] include_dirs = [
"src/include",
"src",
"src/src/core/ext/upb-generated",
"src/src/core/ext/upbdefs-generated",
"src/third_party/cares",
"//third_party/cares",
"src/third_party/upb",
"//third_party/abseil-cpp",
]
defines = [ defines = [
"GRPC_ALLOW_EXCEPTIONS=0",
"GRPC_USE_PROTO_LITE", "GRPC_USE_PROTO_LITE",
"HAVE_CONFIG_H",
"PB_FIELD_16BIT",
"GRPC_NO_XDS",
] ]
cflags = [
"-Wno-implicit-fallthrough",
]
if (is_android) {
libs = [ "log" ] # For __android_log_write
}
if (is_android) {
include_dirs += [ "src/third_party/cares/config_android" ]
} else if (is_fuchsia) {
include_dirs += [ "third_party/cares/config_fuchsia" ]
} else {
include_dirs += [ "src/third_party/cares/config_linux" ]
}
if (is_fuchsia) {
defines += [
# Allows zircon sockets to use file descriptors with gRPC.
"GPR_SUPPORT_CHANNELS_FROM_FD",
]
}
if (!enable_grpc_ares) {
defines += [
# Disable c-ares since it doesn't currently support Fuchsia
"GRPC_ARES=0",
]
}
} }
config("grpc_internal_config") { config("grpc_config_private") {
visibility = [ ":*" ]
include_dirs = [ "src" ]
cflags = [ cflags = [
"-Wno-implicit-fallthrough", "-Wno-implicit-fallthrough",
"-Wno-constant-conversion", "-std=c99",
"-Wno-sign-compare",
"-Wno-unreachable-code",
"-Wno-extra-semi",
"-Wno-macro-redefined",
"-Wno-ignored-qualifiers",
"-Wno-string-concatenation",
] ]
defines = [ "GRPC_ARES=0" ]
} }
config("nanopb_config") { template("grpc_so") {
include_dirs = [ "src/third_party/nanopb" ] # TODO(169395837): Somehow gRPC symbols cannot be found on Android.
defines = [ "PB_FIELD_32BIT=1" ] # Keep using static linking for now.
if (is_apple) { if (is_android) {
defines += [ "PB_NO_PACKED_STRUCTS=1" ] source_set(target_name) {
forward_variables_from(invoker, "*")
}
} else {
shared_library(target_name) {
forward_variables_from(invoker, "*")
inputs = [ "./grpc_shared_lib.map" ]
ldflags = [ "-Wl,--version-script=" + rebase_path("./grpc_shared_lib.map", root_build_dir) ]
}
} }
} }
# The gRPC library. Note that server side code will not be built. You probably grpc_so("grpc++") {
# want to use cc_grpc_library() from grpc_library.gni directly. deps = [
static_library("grpcpp") { ":grpc++_cc",
# This is currently only used by chromecast and libassistant. ":grpc++_repeated",
# NOTE: Using gRPC in Chrome may have security concerns and other
# complications when building the binary. Please contact
# chrome-security-reviews@ first before you decide to use gRPC.
visibility = [
"//chromecast/*",
"//chromeos/assistant/internal/*",
"//chromeos/services/assistant/*",
] ]
sources = [ public_deps = [
"src/src/cpp/client/channel_cc.cc", ":grpc++_h",
"src/src/cpp/client/client_context.cc",
"src/src/cpp/client/client_interceptor.cc",
"src/src/cpp/client/create_channel.cc",
"src/src/cpp/client/create_channel_internal.cc",
"src/src/cpp/client/create_channel_posix.cc",
"src/src/cpp/client/credentials_cc.cc",
"src/src/cpp/client/generic_stub.cc",
"src/src/cpp/client/insecure_credentials.cc",
"src/src/cpp/client/secure_credentials.cc",
"src/src/cpp/codegen/codegen_init.cc",
"src/src/cpp/common/alarm.cc",
"src/src/cpp/common/auth_property_iterator.cc",
"src/src/cpp/common/channel_arguments.cc",
"src/src/cpp/common/channel_filter.cc",
"src/src/cpp/common/completion_queue_cc.cc",
"src/src/cpp/common/core_codegen.cc",
"src/src/cpp/common/resource_quota_cc.cc",
"src/src/cpp/common/rpc_method.cc",
"src/src/cpp/common/secure_auth_context.cc",
"src/src/cpp/common/secure_channel_arguments.cc",
"src/src/cpp/common/secure_create_auth_context.cc",
"src/src/cpp/common/version_cc.cc",
"src/src/cpp/server/async_generic_service.cc",
"src/src/cpp/server/channel_argument_option.cc",
"src/src/cpp/server/create_default_thread_pool.cc",
"src/src/cpp/server/dynamic_thread_pool.cc",
"src/src/cpp/server/external_connection_acceptor_impl.cc",
"src/src/cpp/server/health/default_health_check_service.cc",
"src/src/cpp/server/health/health_check_service.cc",
"src/src/cpp/server/health/health_check_service_server_builder_option.cc",
"src/src/cpp/server/insecure_server_credentials.cc",
"src/src/cpp/server/secure_server_credentials.cc",
"src/src/cpp/server/server_builder.cc",
"src/src/cpp/server/server_cc.cc",
"src/src/cpp/server/server_context.cc",
"src/src/cpp/server/server_credentials.cc",
"src/src/cpp/server/server_posix.cc",
"src/src/cpp/thread_manager/thread_manager.cc",
"src/src/cpp/util/byte_buffer_cc.cc",
"src/src/cpp/util/status.cc",
"src/src/cpp/util/string_ref.cc",
"src/src/cpp/util/time_cc.cc",
] ]
configs -= [ "//build/config/compiler:chromium_code" ] }
configs += [ # There are some .cc files that are in multiple places. GN doesn't like
":grpc_internal_config", # that. Moving them to another target.
"//build/config/compiler:no_chromium_code", source_set("grpc++_h") {
sources = [
"src/include/grpc++/alarm.h",
"src/include/grpc++/channel.h",
"src/include/grpc++/client_context.h",
"src/include/grpc++/completion_queue.h",
"src/include/grpc++/create_channel.h",
"src/include/grpc++/create_channel_posix.h",
"src/include/grpc++/ext/health_check_service_server_builder_option.h",
"src/include/grpc++/generic/async_generic_service.h",
"src/include/grpc++/generic/generic_stub.h",
"src/include/grpc++/grpc++.h",
"src/include/grpc++/health_check_service_interface.h",
"src/include/grpc++/impl/call.h",
"src/include/grpc++/impl/channel_argument_option.h",
"src/include/grpc++/impl/client_unary_call.h",
"src/include/grpc++/impl/codegen/async_stream.h",
"src/include/grpc++/impl/codegen/async_unary_call.h",
"src/include/grpc++/impl/codegen/byte_buffer.h",
"src/include/grpc++/impl/codegen/call.h",
"src/include/grpc++/impl/codegen/call_hook.h",
"src/include/grpc++/impl/codegen/channel_interface.h",
"src/include/grpc++/impl/codegen/client_context.h",
"src/include/grpc++/impl/codegen/client_unary_call.h",
"src/include/grpc++/impl/codegen/completion_queue.h",
"src/include/grpc++/impl/codegen/completion_queue_tag.h",
"src/include/grpc++/impl/codegen/config.h",
"src/include/grpc++/impl/codegen/config_protobuf.h",
"src/include/grpc++/impl/codegen/core_codegen.h",
"src/include/grpc++/impl/codegen/core_codegen_interface.h",
"src/include/grpc++/impl/codegen/create_auth_context.h",
"src/include/grpc++/impl/codegen/grpc_library.h",
"src/include/grpc++/impl/codegen/metadata_map.h",
"src/include/grpc++/impl/codegen/method_handler_impl.h",
"src/include/grpc++/impl/codegen/proto_utils.h",
"src/include/grpc++/impl/codegen/rpc_method.h",
"src/include/grpc++/impl/codegen/rpc_service_method.h",
"src/include/grpc++/impl/codegen/security/auth_context.h",
"src/include/grpc++/impl/codegen/serialization_traits.h",
"src/include/grpc++/impl/codegen/server_context.h",
"src/include/grpc++/impl/codegen/server_interface.h",
"src/include/grpc++/impl/codegen/service_type.h",
"src/include/grpc++/impl/codegen/slice.h",
"src/include/grpc++/impl/codegen/status.h",
"src/include/grpc++/impl/codegen/status_code_enum.h",
"src/include/grpc++/impl/codegen/string_ref.h",
"src/include/grpc++/impl/codegen/stub_options.h",
"src/include/grpc++/impl/codegen/sync_stream.h",
"src/include/grpc++/impl/codegen/time.h",
"src/include/grpc++/impl/grpc_library.h",
"src/include/grpc++/impl/method_handler_impl.h",
"src/include/grpc++/impl/rpc_method.h",
"src/include/grpc++/impl/rpc_service_method.h",
"src/include/grpc++/impl/serialization_traits.h",
"src/include/grpc++/impl/server_builder_option.h",
"src/include/grpc++/impl/server_builder_plugin.h",
"src/include/grpc++/impl/server_initializer.h",
"src/include/grpc++/impl/service_type.h",
"src/include/grpc++/resource_quota.h",
"src/include/grpc++/security/auth_context.h",
"src/include/grpc++/security/auth_metadata_processor.h",
"src/include/grpc++/security/credentials.h",
"src/include/grpc++/security/server_credentials.h",
"src/include/grpc++/server.h",
"src/include/grpc++/server_builder.h",
"src/include/grpc++/server_context.h",
"src/include/grpc++/server_posix.h",
"src/include/grpc++/support/async_stream.h",
"src/include/grpc++/support/async_unary_call.h",
"src/include/grpc++/support/byte_buffer.h",
"src/include/grpc++/support/channel_arguments.h",
"src/include/grpc++/support/config.h",
"src/include/grpc++/support/slice.h",
"src/include/grpc++/support/status.h",
"src/include/grpc++/support/status_code_enum.h",
"src/include/grpc++/support/string_ref.h",
"src/include/grpc++/support/stub_options.h",
"src/include/grpc++/support/sync_stream.h",
"src/include/grpc++/support/time.h",
"src/include/grpc/byte_buffer.h",
"src/include/grpc/byte_buffer_reader.h",
"src/include/grpc/census.h",
"src/include/grpc/compression.h",
"src/include/grpc/fork.h",
"src/include/grpc/grpc.h",
"src/include/grpc/grpc_posix.h",
"src/include/grpc/grpc_security.h",
"src/include/grpc/grpc_security_constants.h",
"src/include/grpc/impl/codegen/atm.h",
"src/include/grpc/impl/codegen/atm_gcc_atomic.h",
"src/include/grpc/impl/codegen/atm_gcc_sync.h",
"src/include/grpc/impl/codegen/atm_windows.h",
"src/include/grpc/impl/codegen/byte_buffer.h",
"src/include/grpc/impl/codegen/byte_buffer_reader.h",
"src/include/grpc/impl/codegen/compression_types.h",
"src/include/grpc/impl/codegen/connectivity_state.h",
"src/include/grpc/impl/codegen/fork.h",
"src/include/grpc/impl/codegen/gpr_slice.h",
"src/include/grpc/impl/codegen/gpr_types.h",
"src/include/grpc/impl/codegen/grpc_types.h",
"src/include/grpc/impl/codegen/log.h",
"src/include/grpc/impl/codegen/port_platform.h",
"src/include/grpc/impl/codegen/propagation_bits.h",
"src/include/grpc/impl/codegen/slice.h",
"src/include/grpc/impl/codegen/status.h",
"src/include/grpc/impl/codegen/sync.h",
"src/include/grpc/impl/codegen/sync_abseil.h",
"src/include/grpc/impl/codegen/sync_custom.h",
"src/include/grpc/impl/codegen/sync_generic.h",
"src/include/grpc/impl/codegen/sync_posix.h",
"src/include/grpc/impl/codegen/sync_windows.h",
"src/include/grpc/load_reporting.h",
"src/include/grpc/slice.h",
"src/include/grpc/slice_buffer.h",
"src/include/grpc/status.h",
"src/include/grpc/support/alloc.h",
"src/include/grpc/support/atm.h",
"src/include/grpc/support/atm_gcc_atomic.h",
"src/include/grpc/support/atm_gcc_sync.h",
"src/include/grpc/support/atm_windows.h",
"src/include/grpc/support/cpu.h",
"src/include/grpc/support/log.h",
"src/include/grpc/support/log_windows.h",
"src/include/grpc/support/port_platform.h",
"src/include/grpc/support/string_util.h",
"src/include/grpc/support/sync.h",
"src/include/grpc/support/sync_abseil.h",
"src/include/grpc/support/sync_custom.h",
"src/include/grpc/support/sync_generic.h",
"src/include/grpc/support/sync_posix.h",
"src/include/grpc/support/sync_windows.h",
"src/include/grpc/support/thd_id.h",
"src/include/grpc/support/time.h",
"src/include/grpc/support/workaround_list.h",
"src/include/grpcpp/alarm.h",
"src/include/grpcpp/channel.h",
"src/include/grpcpp/client_context.h",
"src/include/grpcpp/completion_queue.h",
"src/include/grpcpp/create_channel.h",
"src/include/grpcpp/create_channel_posix.h",
"src/include/grpcpp/ext/health_check_service_server_builder_option.h",
"src/include/grpcpp/generic/async_generic_service.h",
"src/include/grpcpp/generic/generic_stub.h",
"src/include/grpcpp/grpcpp.h",
"src/include/grpcpp/health_check_service_interface.h",
"src/include/grpcpp/impl/call.h",
"src/include/grpcpp/impl/channel_argument_option.h",
"src/include/grpcpp/impl/client_unary_call.h",
"src/include/grpcpp/impl/codegen/async_generic_service.h",
"src/include/grpcpp/impl/codegen/async_stream.h",
"src/include/grpcpp/impl/codegen/async_unary_call.h",
"src/include/grpcpp/impl/codegen/byte_buffer.h",
"src/include/grpcpp/impl/codegen/call.h",
"src/include/grpcpp/impl/codegen/call_hook.h",
"src/include/grpcpp/impl/codegen/call_op_set.h",
"src/include/grpcpp/impl/codegen/call_op_set_interface.h",
"src/include/grpcpp/impl/codegen/callback_common.h",
"src/include/grpcpp/impl/codegen/channel_interface.h",
"src/include/grpcpp/impl/codegen/client_callback.h",
"src/include/grpcpp/impl/codegen/client_context.h",
"src/include/grpcpp/impl/codegen/client_interceptor.h",
"src/include/grpcpp/impl/codegen/client_unary_call.h",
"src/include/grpcpp/impl/codegen/completion_queue.h",
"src/include/grpcpp/impl/codegen/completion_queue_tag.h",
"src/include/grpcpp/impl/codegen/config.h",
"src/include/grpcpp/impl/codegen/config_protobuf.h",
"src/include/grpcpp/impl/codegen/core_codegen.h",
"src/include/grpcpp/impl/codegen/core_codegen_interface.h",
"src/include/grpcpp/impl/codegen/create_auth_context.h",
"src/include/grpcpp/impl/codegen/delegating_channel.h",
"src/include/grpcpp/impl/codegen/grpc_library.h",
"src/include/grpcpp/impl/codegen/intercepted_channel.h",
"src/include/grpcpp/impl/codegen/interceptor.h",
"src/include/grpcpp/impl/codegen/interceptor_common.h",
"src/include/grpcpp/impl/codegen/message_allocator.h",
"src/include/grpcpp/impl/codegen/metadata_map.h",
"src/include/grpcpp/impl/codegen/method_handler.h",
"src/include/grpcpp/impl/codegen/proto_buffer_reader.h",
"src/include/grpcpp/impl/codegen/proto_buffer_writer.h",
"src/include/grpcpp/impl/codegen/proto_utils.h",
"src/include/grpcpp/impl/codegen/rpc_method.h",
"src/include/grpcpp/impl/codegen/rpc_service_method.h",
"src/include/grpcpp/impl/codegen/security/auth_context.h",
"src/include/grpcpp/impl/codegen/serialization_traits.h",
"src/include/grpcpp/impl/codegen/server_callback.h",
"src/include/grpcpp/impl/codegen/server_callback_handlers.h",
"src/include/grpcpp/impl/codegen/server_context.h",
"src/include/grpcpp/impl/codegen/server_interceptor.h",
"src/include/grpcpp/impl/codegen/server_interface.h",
"src/include/grpcpp/impl/codegen/service_type.h",
"src/include/grpcpp/impl/codegen/slice.h",
"src/include/grpcpp/impl/codegen/status.h",
"src/include/grpcpp/impl/codegen/status_code_enum.h",
"src/include/grpcpp/impl/codegen/string_ref.h",
"src/include/grpcpp/impl/codegen/stub_options.h",
"src/include/grpcpp/impl/codegen/sync.h",
"src/include/grpcpp/impl/codegen/sync_stream.h",
"src/include/grpcpp/impl/codegen/time.h",
"src/include/grpcpp/impl/grpc_library.h",
"src/include/grpcpp/impl/method_handler_impl.h",
"src/include/grpcpp/impl/rpc_method.h",
"src/include/grpcpp/impl/rpc_service_method.h",
"src/include/grpcpp/impl/serialization_traits.h",
"src/include/grpcpp/impl/server_builder_option.h",
"src/include/grpcpp/impl/server_builder_plugin.h",
"src/include/grpcpp/impl/server_initializer.h",
"src/include/grpcpp/impl/service_type.h",
"src/include/grpcpp/resource_quota.h",
"src/include/grpcpp/security/auth_context.h",
"src/include/grpcpp/security/auth_metadata_processor.h",
"src/include/grpcpp/security/credentials.h",
"src/include/grpcpp/security/server_credentials.h",
"src/include/grpcpp/security/tls_certificate_provider.h",
"src/include/grpcpp/security/tls_credentials_options.h",
"src/include/grpcpp/server.h",
"src/include/grpcpp/server_builder.h",
"src/include/grpcpp/server_context.h",
"src/include/grpcpp/server_posix.h",
"src/include/grpcpp/support/async_stream.h",
"src/include/grpcpp/support/async_unary_call.h",
"src/include/grpcpp/support/byte_buffer.h",
"src/include/grpcpp/support/channel_arguments.h",
"src/include/grpcpp/support/client_callback.h",
"src/include/grpcpp/support/client_interceptor.h",
"src/include/grpcpp/support/config.h",
"src/include/grpcpp/support/interceptor.h",
"src/include/grpcpp/support/message_allocator.h",
"src/include/grpcpp/support/method_handler.h",
"src/include/grpcpp/support/proto_buffer_reader.h",
"src/include/grpcpp/support/proto_buffer_writer.h",
"src/include/grpcpp/support/server_callback.h",
"src/include/grpcpp/support/server_interceptor.h",
"src/include/grpcpp/support/slice.h",
"src/include/grpcpp/support/status.h",
"src/include/grpcpp/support/status_code_enum.h",
"src/include/grpcpp/support/string_ref.h",
"src/include/grpcpp/support/stub_options.h",
"src/include/grpcpp/support/sync_stream.h",
"src/include/grpcpp/support/time.h",
"src/include/grpcpp/support/validate_service_config.h",
"src/src/core/ext/filters/client_channel/backend_metric.h",
"src/src/core/ext/filters/client_channel/backup_poller.h",
"src/src/core/ext/filters/client_channel/client_channel.h",
"src/src/core/ext/filters/client_channel/client_channel_channelz.h",
"src/src/core/ext/filters/client_channel/client_channel_factory.h",
"src/src/core/ext/filters/client_channel/config_selector.h",
"src/src/core/ext/filters/client_channel/connector.h",
"src/src/core/ext/filters/client_channel/global_subchannel_pool.h",
"src/src/core/ext/filters/client_channel/health/health_check_client.h",
"src/src/core/ext/filters/client_channel/http_connect_handshaker.h",
"src/src/core/ext/filters/client_channel/http_proxy.h",
"src/src/core/ext/filters/client_channel/lb_policy.h",
"src/src/core/ext/filters/client_channel/lb_policy/address_filtering.h",
"src/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h",
"src/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
"src/src/core/ext/filters/client_channel/lb_policy_factory.h",
"src/src/core/ext/filters/client_channel/lb_policy_registry.h",
"src/src/core/ext/filters/client_channel/local_subchannel_pool.h",
"src/src/core/ext/filters/client_channel/proxy_mapper.h",
"src/src/core/ext/filters/client_channel/proxy_mapper_registry.h",
"src/src/core/ext/filters/client_channel/resolver.h",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
"src/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.h",
"src/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h",
"src/src/core/ext/filters/client_channel/resolver_factory.h",
"src/src/core/ext/filters/client_channel/resolver_registry.h",
"src/src/core/ext/filters/client_channel/resolver_result_parsing.h",
"src/src/core/ext/filters/client_channel/resolving_lb_policy.h",
"src/src/core/ext/filters/client_channel/retry_throttle.h",
"src/src/core/ext/filters/client_channel/server_address.h",
"src/src/core/ext/filters/client_channel/service_config.h",
"src/src/core/ext/filters/client_channel/service_config_call_data.h",
"src/src/core/ext/filters/client_channel/service_config_parser.h",
"src/src/core/ext/filters/client_channel/subchannel.h",
"src/src/core/ext/filters/client_channel/subchannel_interface.h",
"src/src/core/ext/filters/client_channel/subchannel_pool_interface.h",
"src/src/core/ext/filters/deadline/deadline_filter.h",
"src/src/core/ext/filters/http/client/http_client_filter.h",
"src/src/core/ext/filters/http/client_authority_filter.h",
"src/src/core/ext/filters/http/message_compress/message_compress_filter.h",
"src/src/core/ext/filters/http/message_compress/message_decompress_filter.h",
"src/src/core/ext/filters/http/server/http_server_filter.h",
"src/src/core/ext/filters/max_age/max_age_filter.h",
"src/src/core/ext/filters/message_size/message_size_filter.h",
"src/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
"src/src/core/ext/filters/workarounds/workaround_utils.h",
"src/src/core/ext/transport/chttp2/alpn/alpn.h",
"src/src/core/ext/transport/chttp2/client/authority.h",
"src/src/core/ext/transport/chttp2/client/chttp2_connector.h",
"src/src/core/ext/transport/chttp2/server/chttp2_server.h",
"src/src/core/ext/transport/chttp2/transport/bin_decoder.h",
"src/src/core/ext/transport/chttp2/transport/bin_encoder.h",
"src/src/core/ext/transport/chttp2/transport/chttp2_transport.h",
"src/src/core/ext/transport/chttp2/transport/context_list.h",
"src/src/core/ext/transport/chttp2/transport/flow_control.h",
"src/src/core/ext/transport/chttp2/transport/frame.h",
"src/src/core/ext/transport/chttp2/transport/frame_data.h",
"src/src/core/ext/transport/chttp2/transport/frame_goaway.h",
"src/src/core/ext/transport/chttp2/transport/frame_ping.h",
"src/src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
"src/src/core/ext/transport/chttp2/transport/frame_settings.h",
"src/src/core/ext/transport/chttp2/transport/frame_window_update.h",
"src/src/core/ext/transport/chttp2/transport/hpack_encoder.h",
"src/src/core/ext/transport/chttp2/transport/hpack_parser.h",
"src/src/core/ext/transport/chttp2/transport/hpack_table.h",
"src/src/core/ext/transport/chttp2/transport/http2_settings.h",
"src/src/core/ext/transport/chttp2/transport/huffsyms.h",
"src/src/core/ext/transport/chttp2/transport/incoming_metadata.h",
"src/src/core/ext/transport/chttp2/transport/internal.h",
"src/src/core/ext/transport/chttp2/transport/stream_map.h",
"src/src/core/ext/transport/chttp2/transport/varint.h",
"src/src/core/ext/transport/inproc/inproc_transport.h",
"src/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h",
"src/src/core/ext/upb-generated/envoy/annotations/resource.upb.h",
"src/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h",
"src/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h",
"src/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h",
"src/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h",
"src/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h",
"src/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h",
"src/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h",
"src/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h",
"src/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h",
"src/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h",
"src/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h",
"src/src/core/ext/upb-generated/envoy/service/cluster/v3/cds.upb.h",
"src/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h",
"src/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h",
"src/src/core/ext/upb-generated/envoy/service/endpoint/v3/eds.upb.h",
"src/src/core/ext/upb-generated/envoy/service/listener/v3/lds.upb.h",
"src/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h",
"src/src/core/ext/upb-generated/envoy/service/route/v3/rds.upb.h",
"src/src/core/ext/upb-generated/envoy/service/route/v3/srds.upb.h",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h",
"src/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h",
"src/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h",
"src/src/core/ext/upb-generated/envoy/type/v3/http.upb.h",
"src/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h",
"src/src/core/ext/upb-generated/envoy/type/v3/range.upb.h",
"src/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h",
"src/src/core/ext/upb-generated/google/api/annotations.upb.h",
"src/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h",
"src/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h",
"src/src/core/ext/upb-generated/google/api/http.upb.h",
"src/src/core/ext/upb-generated/google/rpc/status.upb.h",
"src/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h",
"src/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h",
"src/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h",
"src/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h",
"src/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h",
"src/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h",
"src/src/core/ext/upb-generated/udpa/annotations/security.upb.h",
"src/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h",
"src/src/core/ext/upb-generated/udpa/annotations/status.upb.h",
"src/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h",
"src/src/core/ext/upb-generated/udpa/core/v1/authority.upb.h",
"src/src/core/ext/upb-generated/udpa/core/v1/collection_entry.upb.h",
"src/src/core/ext/upb-generated/udpa/core/v1/context_params.upb.h",
"src/src/core/ext/upb-generated/udpa/core/v1/resource.upb.h",
"src/src/core/ext/upb-generated/udpa/core/v1/resource_locator.upb.h",
"src/src/core/ext/upb-generated/udpa/core/v1/resource_name.upb.h",
"src/src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.h",
"src/src/core/ext/upb-generated/validate/validate.upb.h",
"src/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/cluster/v3/cds.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/endpoint/v3/eds.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/listener/v3/lds.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/route/v3/rds.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/service/route/v3/srds.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/authority.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/collection_entry.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/context_params.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/resource.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/resource_locator.upbdefs.h",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/resource_name.upbdefs.h",
"src/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h",
"src/src/core/lib/avl/avl.h",
"src/src/core/lib/backoff/backoff.h",
"src/src/core/lib/channel/channel_args.h",
"src/src/core/lib/channel/channel_stack.h",
"src/src/core/lib/channel/channel_stack_builder.h",
"src/src/core/lib/channel/channel_trace.h",
"src/src/core/lib/channel/channelz.h",
"src/src/core/lib/channel/channelz_registry.h",
"src/src/core/lib/channel/connected_channel.h",
"src/src/core/lib/channel/context.h",
"src/src/core/lib/channel/handshaker.h",
"src/src/core/lib/channel/handshaker_factory.h",
"src/src/core/lib/channel/handshaker_registry.h",
"src/src/core/lib/channel/status_util.h",
"src/src/core/lib/compression/algorithm_metadata.h",
"src/src/core/lib/compression/compression_args.h",
"src/src/core/lib/compression/compression_internal.h",
"src/src/core/lib/compression/message_compress.h",
"src/src/core/lib/compression/stream_compression.h",
"src/src/core/lib/compression/stream_compression_gzip.h",
"src/src/core/lib/compression/stream_compression_identity.h",
"src/src/core/lib/debug/stats.h",
"src/src/core/lib/debug/stats_data.h",
"src/src/core/lib/debug/trace.h",
"src/src/core/lib/gpr/alloc.h",
"src/src/core/lib/gpr/arena.h",
"src/src/core/lib/gpr/env.h",
"src/src/core/lib/gpr/murmur_hash.h",
"src/src/core/lib/gpr/spinlock.h",
"src/src/core/lib/gpr/string.h",
"src/src/core/lib/gpr/string_windows.h",
"src/src/core/lib/gpr/time_precise.h",
"src/src/core/lib/gpr/tls.h",
"src/src/core/lib/gpr/tls_gcc.h",
"src/src/core/lib/gpr/tls_msvc.h",
"src/src/core/lib/gpr/tls_pthread.h",
"src/src/core/lib/gpr/tls_stdcpp.h",
"src/src/core/lib/gpr/tmpfile.h",
"src/src/core/lib/gpr/useful.h",
"src/src/core/lib/gprpp/arena.h",
"src/src/core/lib/gprpp/atomic.h",
"src/src/core/lib/gprpp/debug_location.h",
"src/src/core/lib/gprpp/dual_ref_counted.h",
"src/src/core/lib/gprpp/examine_stack.h",
"src/src/core/lib/gprpp/fork.h",
"src/src/core/lib/gprpp/global_config.h",
"src/src/core/lib/gprpp/global_config_custom.h",
"src/src/core/lib/gprpp/global_config_env.h",
"src/src/core/lib/gprpp/global_config_generic.h",
"src/src/core/lib/gprpp/host_port.h",
"src/src/core/lib/gprpp/manual_constructor.h",
"src/src/core/lib/gprpp/map.h",
"src/src/core/lib/gprpp/memory.h",
"src/src/core/lib/gprpp/mpscq.h",
"src/src/core/lib/gprpp/orphanable.h",
"src/src/core/lib/gprpp/ref_counted.h",
"src/src/core/lib/gprpp/ref_counted_ptr.h",
"src/src/core/lib/gprpp/stat.h",
"src/src/core/lib/gprpp/sync.h",
"src/src/core/lib/gprpp/thd.h",
"src/src/core/lib/http/format_request.h",
"src/src/core/lib/http/httpcli.h",
"src/src/core/lib/http/parser.h",
"src/src/core/lib/iomgr/block_annotate.h",
"src/src/core/lib/iomgr/buffer_list.h",
"src/src/core/lib/iomgr/call_combiner.h",
"src/src/core/lib/iomgr/cfstream_handle.h",
"src/src/core/lib/iomgr/closure.h",
"src/src/core/lib/iomgr/combiner.h",
"src/src/core/lib/iomgr/dynamic_annotations.h",
"src/src/core/lib/iomgr/endpoint.h",
"src/src/core/lib/iomgr/endpoint_cfstream.h",
"src/src/core/lib/iomgr/endpoint_pair.h",
"src/src/core/lib/iomgr/error.h",
"src/src/core/lib/iomgr/error_cfstream.h",
"src/src/core/lib/iomgr/error_internal.h",
"src/src/core/lib/iomgr/ev_apple.h",
"src/src/core/lib/iomgr/ev_epoll1_linux.h",
"src/src/core/lib/iomgr/ev_epollex_linux.h",
"src/src/core/lib/iomgr/ev_poll_posix.h",
"src/src/core/lib/iomgr/ev_posix.h",
"src/src/core/lib/iomgr/exec_ctx.h",
"src/src/core/lib/iomgr/executor.h",
"src/src/core/lib/iomgr/executor/mpmcqueue.h",
"src/src/core/lib/iomgr/executor/threadpool.h",
"src/src/core/lib/iomgr/gethostname.h",
"src/src/core/lib/iomgr/grpc_if_nametoindex.h",
"src/src/core/lib/iomgr/internal_errqueue.h",
"src/src/core/lib/iomgr/iocp_windows.h",
"src/src/core/lib/iomgr/iomgr.h",
"src/src/core/lib/iomgr/iomgr_custom.h",
"src/src/core/lib/iomgr/iomgr_internal.h",
"src/src/core/lib/iomgr/iomgr_posix.h",
"src/src/core/lib/iomgr/is_epollexclusive_available.h",
"src/src/core/lib/iomgr/load_file.h",
"src/src/core/lib/iomgr/lockfree_event.h",
"src/src/core/lib/iomgr/nameser.h",
"src/src/core/lib/iomgr/parse_address.h",
"src/src/core/lib/iomgr/poller/eventmanager_libuv.h",
"src/src/core/lib/iomgr/polling_entity.h",
"src/src/core/lib/iomgr/pollset.h",
"src/src/core/lib/iomgr/pollset_custom.h",
"src/src/core/lib/iomgr/pollset_set.h",
"src/src/core/lib/iomgr/pollset_set_custom.h",
"src/src/core/lib/iomgr/pollset_set_windows.h",
"src/src/core/lib/iomgr/pollset_uv.h",
"src/src/core/lib/iomgr/pollset_windows.h",
"src/src/core/lib/iomgr/port.h",
"src/src/core/lib/iomgr/python_util.h",
"src/src/core/lib/iomgr/resolve_address.h",
"src/src/core/lib/iomgr/resolve_address_custom.h",
"src/src/core/lib/iomgr/resource_quota.h",
"src/src/core/lib/iomgr/sockaddr.h",
"src/src/core/lib/iomgr/sockaddr_custom.h",
"src/src/core/lib/iomgr/sockaddr_posix.h",
"src/src/core/lib/iomgr/sockaddr_utils.h",
"src/src/core/lib/iomgr/sockaddr_windows.h",
"src/src/core/lib/iomgr/socket_factory_posix.h",
"src/src/core/lib/iomgr/socket_mutator.h",
"src/src/core/lib/iomgr/socket_utils.h",
"src/src/core/lib/iomgr/socket_utils_posix.h",
"src/src/core/lib/iomgr/socket_windows.h",
"src/src/core/lib/iomgr/sys_epoll_wrapper.h",
"src/src/core/lib/iomgr/tcp_client.h",
"src/src/core/lib/iomgr/tcp_client_posix.h",
"src/src/core/lib/iomgr/tcp_custom.h",
"src/src/core/lib/iomgr/tcp_posix.h",
"src/src/core/lib/iomgr/tcp_server.h",
"src/src/core/lib/iomgr/tcp_server_utils_posix.h",
"src/src/core/lib/iomgr/tcp_windows.h",
"src/src/core/lib/iomgr/time_averaged_stats.h",
"src/src/core/lib/iomgr/timer.h",
"src/src/core/lib/iomgr/timer_custom.h",
"src/src/core/lib/iomgr/timer_generic.h",
"src/src/core/lib/iomgr/timer_heap.h",
"src/src/core/lib/iomgr/timer_manager.h",
"src/src/core/lib/iomgr/udp_server.h",
"src/src/core/lib/iomgr/unix_sockets_posix.h",
"src/src/core/lib/iomgr/wakeup_fd_pipe.h",
"src/src/core/lib/iomgr/wakeup_fd_posix.h",
"src/src/core/lib/iomgr/work_serializer.h",
"src/src/core/lib/json/json.h",
"src/src/core/lib/json/json_util.h",
"src/src/core/lib/profiling/timers.h",
"src/src/core/lib/security/authorization/authorization_engine.h",
"src/src/core/lib/security/authorization/evaluate_args.h",
"src/src/core/lib/security/authorization/mock_cel/activation.h",
"src/src/core/lib/security/authorization/mock_cel/cel_expr_builder_factory.h",
"src/src/core/lib/security/authorization/mock_cel/cel_expression.h",
"src/src/core/lib/security/authorization/mock_cel/cel_value.h",
"src/src/core/lib/security/authorization/mock_cel/evaluator_core.h",
"src/src/core/lib/security/authorization/mock_cel/flat_expr_builder.h",
"src/src/core/lib/security/context/security_context.h",
"src/src/core/lib/security/credentials/alts/alts_credentials.h",
"src/src/core/lib/security/credentials/alts/check_gcp_environment.h",
"src/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h",
"src/src/core/lib/security/credentials/composite/composite_credentials.h",
"src/src/core/lib/security/credentials/credentials.h",
"src/src/core/lib/security/credentials/external/external_account_credentials.h",
"src/src/core/lib/security/credentials/external/file_external_account_credentials.h",
"src/src/core/lib/security/credentials/external/url_external_account_credentials.h",
"src/src/core/lib/security/credentials/fake/fake_credentials.h",
"src/src/core/lib/security/credentials/google_default/google_default_credentials.h",
"src/src/core/lib/security/credentials/iam/iam_credentials.h",
"src/src/core/lib/security/credentials/jwt/json_token.h",
"src/src/core/lib/security/credentials/jwt/jwt_credentials.h",
"src/src/core/lib/security/credentials/jwt/jwt_verifier.h",
"src/src/core/lib/security/credentials/local/local_credentials.h",
"src/src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
"src/src/core/lib/security/credentials/plugin/plugin_credentials.h",
"src/src/core/lib/security/credentials/ssl/ssl_credentials.h",
"src/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h",
"src/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h",
"src/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h",
"src/src/core/lib/security/credentials/tls/tls_credentials.h",
"src/src/core/lib/security/credentials/xds/xds_credentials.h",
"src/src/core/lib/security/security_connector/alts/alts_security_connector.h",
"src/src/core/lib/security/security_connector/fake/fake_security_connector.h",
"src/src/core/lib/security/security_connector/insecure/insecure_security_connector.h",
"src/src/core/lib/security/security_connector/load_system_roots.h",
"src/src/core/lib/security/security_connector/load_system_roots_linux.h",
"src/src/core/lib/security/security_connector/local/local_security_connector.h",
"src/src/core/lib/security/security_connector/security_connector.h",
"src/src/core/lib/security/security_connector/ssl/ssl_security_connector.h",
"src/src/core/lib/security/security_connector/ssl_utils.h",
"src/src/core/lib/security/security_connector/ssl_utils_config.h",
"src/src/core/lib/security/security_connector/tls/tls_security_connector.h",
"src/src/core/lib/security/transport/auth_filters.h",
"src/src/core/lib/security/transport/secure_endpoint.h",
"src/src/core/lib/security/transport/security_handshaker.h",
"src/src/core/lib/security/transport/tsi_error.h",
"src/src/core/lib/security/util/json_util.h",
"src/src/core/lib/slice/b64.h",
"src/src/core/lib/slice/percent_encoding.h",
"src/src/core/lib/slice/slice_internal.h",
"src/src/core/lib/slice/slice_string_helpers.h",
"src/src/core/lib/slice/slice_utils.h",
"src/src/core/lib/surface/api_trace.h",
"src/src/core/lib/surface/call.h",
"src/src/core/lib/surface/call_test_only.h",
"src/src/core/lib/surface/channel.h",
"src/src/core/lib/surface/channel_init.h",
"src/src/core/lib/surface/channel_stack_type.h",
"src/src/core/lib/surface/completion_queue.h",
"src/src/core/lib/surface/completion_queue_factory.h",
"src/src/core/lib/surface/event_string.h",
"src/src/core/lib/surface/init.h",
"src/src/core/lib/surface/lame_client.h",
"src/src/core/lib/surface/server.h",
"src/src/core/lib/surface/validate_metadata.h",
"src/src/core/lib/transport/authority_override.h",
"src/src/core/lib/transport/bdp_estimator.h",
"src/src/core/lib/transport/byte_stream.h",
"src/src/core/lib/transport/connectivity_state.h",
"src/src/core/lib/transport/error_utils.h",
"src/src/core/lib/transport/http2_errors.h",
"src/src/core/lib/transport/metadata.h",
"src/src/core/lib/transport/metadata_batch.h",
"src/src/core/lib/transport/pid_controller.h",
"src/src/core/lib/transport/static_metadata.h",
"src/src/core/lib/transport/status_conversion.h",
"src/src/core/lib/transport/status_metadata.h",
"src/src/core/lib/transport/timeout_encoding.h",
"src/src/core/lib/transport/transport.h",
"src/src/core/lib/transport/transport_impl.h",
"src/src/core/lib/uri/uri_parser.h",
"src/src/core/tsi/alts/crypt/gsec.h",
"src/src/core/tsi/alts/frame_protector/alts_counter.h",
"src/src/core/tsi/alts/frame_protector/alts_crypter.h",
"src/src/core/tsi/alts/frame_protector/alts_frame_protector.h",
"src/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h",
"src/src/core/tsi/alts/frame_protector/frame_handler.h",
"src/src/core/tsi/alts/handshaker/alts_handshaker_client.h",
"src/src/core/tsi/alts/handshaker/alts_shared_resource.h",
"src/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h",
"src/src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h",
"src/src/core/tsi/alts/handshaker/alts_tsi_utils.h",
"src/src/core/tsi/alts/handshaker/transport_security_common_api.h",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h",
"src/src/core/tsi/fake_transport_security.h",
"src/src/core/tsi/local_transport_security.h",
"src/src/core/tsi/ssl/session_cache/ssl_session.h",
"src/src/core/tsi/ssl/session_cache/ssl_session_cache.h",
"src/src/core/tsi/ssl_transport_security.h",
"src/src/core/tsi/ssl_types.h",
"src/src/core/tsi/transport_security.h",
"src/src/core/tsi/transport_security_grpc.h",
"src/src/core/tsi/transport_security_interface.h",
"src/src/cpp/client/create_channel_internal.h",
"src/src/cpp/client/secure_credentials.h",
"src/src/cpp/common/channel_filter.h",
"src/src/cpp/common/secure_auth_context.h",
"src/src/cpp/common/tls_credentials_options_util.h",
"src/src/cpp/server/dynamic_thread_pool.h",
"src/src/cpp/server/external_connection_acceptor_impl.h",
"src/src/cpp/server/health/default_health_check_service.h",
"src/src/cpp/server/secure_server_credentials.h",
"src/src/cpp/server/thread_pool_interface.h",
"src/src/cpp/thread_manager/thread_manager.h",
] ]
public_configs = [ ":grpc_config" ]
deps = [ deps = [
":grpc_core", ":address_sorting",
":nanopb", ":cares",
":upb",
"//third_party/abseil-cpp:absl",
"//third_party/boringssl",
"//third_party/protobuf:protobuf_lite", "//third_party/protobuf:protobuf_lite",
"//third_party/zlib",
] ]
} public_configs = [
":grpc_config",
# Only compile the protobuf plugin for the host architecture. ]
if (current_toolchain == host_toolchain) { configs += [
# The protobuf plugin for building gRPC interface from protobuf, used by ":grpc_config_private",
# cc_grpc_library(). ]
executable("grpc_cpp_plugin") { include_dirs = [
sources = [ ":cares",
"src/src/compiler/cpp_generator.cc", "src/third_party/address_sorting/include",
"src/src/compiler/cpp_plugin.cc", ]
] visibility = [ "./*" ]
configs -= [ "//build/config/compiler:chromium_code" ] if (!is_win) {
configs += [ configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
]
public_configs = [ ":grpc_config" ]
deps = [ "//third_party/protobuf:protoc_lib" ]
} }
} }
static_library("grpc_core") { source_set("grpc++_cc") {
visibility = [ ":*" ]
sources = [ sources = [
"src/src/core/ext/filters/census/grpc_context.cc", "src/src/core/ext/filters/census/grpc_context.cc",
"src/src/core/ext/filters/client_channel/backend_metric.cc",
"src/src/core/ext/filters/client_channel/backup_poller.cc", "src/src/core/ext/filters/client_channel/backup_poller.cc",
"src/src/core/ext/filters/client_channel/channel_connectivity.cc", "src/src/core/ext/filters/client_channel/channel_connectivity.cc",
"src/src/core/ext/filters/client_channel/client_channel.cc", "src/src/core/ext/filters/client_channel/client_channel.cc",
"src/src/core/ext/filters/client_channel/client_channel_channelz.cc", "src/src/core/ext/filters/client_channel/client_channel_channelz.cc",
"src/src/core/ext/filters/client_channel/client_channel_factory.cc", "src/src/core/ext/filters/client_channel/client_channel_factory.cc",
"src/src/core/ext/filters/client_channel/client_channel_plugin.cc", "src/src/core/ext/filters/client_channel/client_channel_plugin.cc",
"src/src/core/ext/filters/client_channel/connector.cc", "src/src/core/ext/filters/client_channel/config_selector.cc",
"src/src/core/ext/filters/client_channel/global_subchannel_pool.cc", "src/src/core/ext/filters/client_channel/global_subchannel_pool.cc",
"src/src/core/ext/filters/client_channel/health/health.pb.c",
"src/src/core/ext/filters/client_channel/health/health_check_client.cc", "src/src/core/ext/filters/client_channel/health/health_check_client.cc",
"src/src/core/ext/filters/client_channel/http_connect_handshaker.cc", "src/src/core/ext/filters/client_channel/http_connect_handshaker.cc",
"src/src/core/ext/filters/client_channel/http_proxy.cc", "src/src/core/ext/filters/client_channel/http_proxy.cc",
"src/src/core/ext/filters/client_channel/lb_policy.cc", "src/src/core/ext/filters/client_channel/lb_policy.cc",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc", "src/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc", "src/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc", "src/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
"src/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc", "src/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
"src/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
"src/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc",
"src/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_secure.cc",
"src/src/core/ext/filters/client_channel/lb_policy/xds/xds_client_stats.cc",
"src/src/core/ext/filters/client_channel/lb_policy/xds/xds_load_balancer_api.cc",
"src/src/core/ext/filters/client_channel/lb_policy_registry.cc", "src/src/core/ext/filters/client_channel/lb_policy_registry.cc",
"src/src/core/ext/filters/client_channel/local_subchannel_pool.cc", "src/src/core/ext/filters/client_channel/local_subchannel_pool.cc",
"src/src/core/ext/filters/client_channel/parse_address.cc",
"src/src/core/ext/filters/client_channel/proxy_mapper.cc",
"src/src/core/ext/filters/client_channel/proxy_mapper_registry.cc", "src/src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
"src/src/core/ext/filters/client_channel/resolver.cc", "src/src/core/ext/filters/client_channel/resolver.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_libuv.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_libuv.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc", "src/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc",
"src/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.cc", "src/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.cc",
...@@ -175,13 +903,17 @@ static_library("grpc_core") { ...@@ -175,13 +903,17 @@ static_library("grpc_core") {
"src/src/core/ext/filters/client_channel/retry_throttle.cc", "src/src/core/ext/filters/client_channel/retry_throttle.cc",
"src/src/core/ext/filters/client_channel/server_address.cc", "src/src/core/ext/filters/client_channel/server_address.cc",
"src/src/core/ext/filters/client_channel/service_config.cc", "src/src/core/ext/filters/client_channel/service_config.cc",
"src/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc",
"src/src/core/ext/filters/client_channel/service_config_parser.cc",
"src/src/core/ext/filters/client_channel/subchannel.cc", "src/src/core/ext/filters/client_channel/subchannel.cc",
"src/src/core/ext/filters/client_channel/subchannel_pool_interface.cc", "src/src/core/ext/filters/client_channel/subchannel_pool_interface.cc",
"src/src/core/ext/filters/client_idle/client_idle_filter.cc",
"src/src/core/ext/filters/deadline/deadline_filter.cc", "src/src/core/ext/filters/deadline/deadline_filter.cc",
"src/src/core/ext/filters/http/client/http_client_filter.cc", "src/src/core/ext/filters/http/client/http_client_filter.cc",
"src/src/core/ext/filters/http/client_authority_filter.cc", "src/src/core/ext/filters/http/client_authority_filter.cc",
"src/src/core/ext/filters/http/http_filters_plugin.cc", "src/src/core/ext/filters/http/http_filters_plugin.cc",
"src/src/core/ext/filters/http/message_compress/message_compress_filter.cc", "src/src/core/ext/filters/http/message_compress/message_compress_filter.cc",
"src/src/core/ext/filters/http/message_compress/message_decompress_filter.cc",
"src/src/core/ext/filters/http/server/http_server_filter.cc", "src/src/core/ext/filters/http/server/http_server_filter.cc",
"src/src/core/ext/filters/max_age/max_age_filter.cc", "src/src/core/ext/filters/max_age/max_age_filter.cc",
"src/src/core/ext/filters/message_size/message_size_filter.cc", "src/src/core/ext/filters/message_size/message_size_filter.cc",
...@@ -222,6 +954,149 @@ static_library("grpc_core") { ...@@ -222,6 +954,149 @@ static_library("grpc_core") {
"src/src/core/ext/transport/chttp2/transport/writing.cc", "src/src/core/ext/transport/chttp2/transport/writing.cc",
"src/src/core/ext/transport/inproc/inproc_plugin.cc", "src/src/core/ext/transport/inproc/inproc_plugin.cc",
"src/src/core/ext/transport/inproc/inproc_transport.cc", "src/src/core/ext/transport/inproc/inproc_transport.cc",
"src/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c",
"src/src/core/ext/upb-generated/envoy/annotations/resource.upb.c",
"src/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c",
"src/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c",
"src/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c",
"src/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c",
"src/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c",
"src/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c",
"src/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c",
"src/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c",
"src/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c",
"src/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c",
"src/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c",
"src/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c",
"src/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c",
"src/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c",
"src/src/core/ext/upb-generated/envoy/service/cluster/v3/cds.upb.c",
"src/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c",
"src/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c",
"src/src/core/ext/upb-generated/envoy/service/endpoint/v3/eds.upb.c",
"src/src/core/ext/upb-generated/envoy/service/listener/v3/lds.upb.c",
"src/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c",
"src/src/core/ext/upb-generated/envoy/service/route/v3/rds.upb.c",
"src/src/core/ext/upb-generated/envoy/service/route/v3/srds.upb.c",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c",
"src/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c",
"src/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c",
"src/src/core/ext/upb-generated/envoy/type/v3/http.upb.c",
"src/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c",
"src/src/core/ext/upb-generated/envoy/type/v3/range.upb.c",
"src/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c",
"src/src/core/ext/upb-generated/google/api/annotations.upb.c",
"src/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c",
"src/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c",
"src/src/core/ext/upb-generated/google/rpc/status.upb.c",
"src/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c",
"src/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c",
"src/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c",
"src/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c",
"src/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c",
"src/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c",
"src/src/core/ext/upb-generated/udpa/annotations/security.upb.c",
"src/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c",
"src/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c",
"src/src/core/ext/upb-generated/udpa/core/v1/authority.upb.c",
"src/src/core/ext/upb-generated/udpa/core/v1/collection_entry.upb.c",
"src/src/core/ext/upb-generated/udpa/core/v1/context_params.upb.c",
"src/src/core/ext/upb-generated/udpa/core/v1/resource_locator.upb.c",
"src/src/core/ext/upb-generated/udpa/core/v1/resource_name.upb.c",
"src/src/core/ext/upb-generated/udpa/data/orca/v1/orca_load_report.upb.c",
"src/src/core/ext/upb-generated/validate/validate.upb.c",
"src/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/cluster/v3/cds.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/endpoint/v3/eds.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/listener/v3/lds.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/route/v3/rds.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/service/route/v3/srds.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c",
"src/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/authority.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/collection_entry.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/context_params.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/resource_locator.upbdefs.c",
"src/src/core/ext/upbdefs-generated/udpa/core/v1/resource_name.upbdefs.c",
"src/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c",
"src/src/core/lib/avl/avl.cc", "src/src/core/lib/avl/avl.cc",
"src/src/core/lib/backoff/backoff.cc", "src/src/core/lib/backoff/backoff.cc",
"src/src/core/lib/channel/channel_args.cc", "src/src/core/lib/channel/channel_args.cc",
...@@ -258,13 +1133,13 @@ static_library("grpc_core") { ...@@ -258,13 +1133,13 @@ static_library("grpc_core") {
"src/src/core/lib/gpr/log_linux.cc", "src/src/core/lib/gpr/log_linux.cc",
"src/src/core/lib/gpr/log_posix.cc", "src/src/core/lib/gpr/log_posix.cc",
"src/src/core/lib/gpr/log_windows.cc", "src/src/core/lib/gpr/log_windows.cc",
"src/src/core/lib/gpr/mpscq.cc",
"src/src/core/lib/gpr/murmur_hash.cc", "src/src/core/lib/gpr/murmur_hash.cc",
"src/src/core/lib/gpr/string.cc", "src/src/core/lib/gpr/string.cc",
"src/src/core/lib/gpr/string_posix.cc", "src/src/core/lib/gpr/string_posix.cc",
"src/src/core/lib/gpr/string_util_windows.cc", "src/src/core/lib/gpr/string_util_windows.cc",
"src/src/core/lib/gpr/string_windows.cc", "src/src/core/lib/gpr/string_windows.cc",
"src/src/core/lib/gpr/sync.cc", "src/src/core/lib/gpr/sync.cc",
"src/src/core/lib/gpr/sync_abseil.cc",
"src/src/core/lib/gpr/sync_posix.cc", "src/src/core/lib/gpr/sync_posix.cc",
"src/src/core/lib/gpr/sync_windows.cc", "src/src/core/lib/gpr/sync_windows.cc",
"src/src/core/lib/gpr/time.cc", "src/src/core/lib/gpr/time.cc",
...@@ -275,10 +1150,17 @@ static_library("grpc_core") { ...@@ -275,10 +1150,17 @@ static_library("grpc_core") {
"src/src/core/lib/gpr/tmpfile_msys.cc", "src/src/core/lib/gpr/tmpfile_msys.cc",
"src/src/core/lib/gpr/tmpfile_posix.cc", "src/src/core/lib/gpr/tmpfile_posix.cc",
"src/src/core/lib/gpr/tmpfile_windows.cc", "src/src/core/lib/gpr/tmpfile_windows.cc",
# gRPC memcpy wrapping logic isn't useful here.
# See https://crbug.com/661171
# "src/src/core/lib/gpr/wrap_memcpy.cc",
"src/src/core/lib/gprpp/arena.cc", "src/src/core/lib/gprpp/arena.cc",
"src/src/core/lib/gprpp/examine_stack.cc",
"src/src/core/lib/gprpp/fork.cc", "src/src/core/lib/gprpp/fork.cc",
"src/src/core/lib/gprpp/global_config_env.cc", "src/src/core/lib/gprpp/global_config_env.cc",
"src/src/core/lib/gprpp/host_port.cc", "src/src/core/lib/gprpp/host_port.cc",
"src/src/core/lib/gprpp/mpscq.cc",
"src/src/core/lib/gprpp/stat_posix.cc",
"src/src/core/lib/gprpp/stat_windows.cc",
"src/src/core/lib/gprpp/thd_posix.cc", "src/src/core/lib/gprpp/thd_posix.cc",
"src/src/core/lib/gprpp/thd_windows.cc", "src/src/core/lib/gprpp/thd_windows.cc",
"src/src/core/lib/http/format_request.cc", "src/src/core/lib/http/format_request.cc",
...@@ -289,6 +1171,7 @@ static_library("grpc_core") { ...@@ -289,6 +1171,7 @@ static_library("grpc_core") {
"src/src/core/lib/iomgr/call_combiner.cc", "src/src/core/lib/iomgr/call_combiner.cc",
"src/src/core/lib/iomgr/cfstream_handle.cc", "src/src/core/lib/iomgr/cfstream_handle.cc",
"src/src/core/lib/iomgr/combiner.cc", "src/src/core/lib/iomgr/combiner.cc",
"src/src/core/lib/iomgr/dualstack_socket_posix.cc",
"src/src/core/lib/iomgr/endpoint.cc", "src/src/core/lib/iomgr/endpoint.cc",
"src/src/core/lib/iomgr/endpoint_cfstream.cc", "src/src/core/lib/iomgr/endpoint_cfstream.cc",
"src/src/core/lib/iomgr/endpoint_pair_posix.cc", "src/src/core/lib/iomgr/endpoint_pair_posix.cc",
...@@ -296,6 +1179,7 @@ static_library("grpc_core") { ...@@ -296,6 +1179,7 @@ static_library("grpc_core") {
"src/src/core/lib/iomgr/endpoint_pair_windows.cc", "src/src/core/lib/iomgr/endpoint_pair_windows.cc",
"src/src/core/lib/iomgr/error.cc", "src/src/core/lib/iomgr/error.cc",
"src/src/core/lib/iomgr/error_cfstream.cc", "src/src/core/lib/iomgr/error_cfstream.cc",
"src/src/core/lib/iomgr/ev_apple.cc",
"src/src/core/lib/iomgr/ev_epoll1_linux.cc", "src/src/core/lib/iomgr/ev_epoll1_linux.cc",
"src/src/core/lib/iomgr/ev_epollex_linux.cc", "src/src/core/lib/iomgr/ev_epollex_linux.cc",
"src/src/core/lib/iomgr/ev_poll_posix.cc", "src/src/core/lib/iomgr/ev_poll_posix.cc",
...@@ -303,6 +1187,8 @@ static_library("grpc_core") { ...@@ -303,6 +1187,8 @@ static_library("grpc_core") {
"src/src/core/lib/iomgr/ev_windows.cc", "src/src/core/lib/iomgr/ev_windows.cc",
"src/src/core/lib/iomgr/exec_ctx.cc", "src/src/core/lib/iomgr/exec_ctx.cc",
"src/src/core/lib/iomgr/executor.cc", "src/src/core/lib/iomgr/executor.cc",
"src/src/core/lib/iomgr/executor/mpmcqueue.cc",
"src/src/core/lib/iomgr/executor/threadpool.cc",
"src/src/core/lib/iomgr/fork_posix.cc", "src/src/core/lib/iomgr/fork_posix.cc",
"src/src/core/lib/iomgr/fork_windows.cc", "src/src/core/lib/iomgr/fork_windows.cc",
"src/src/core/lib/iomgr/gethostname_fallback.cc", "src/src/core/lib/iomgr/gethostname_fallback.cc",
...@@ -322,6 +1208,8 @@ static_library("grpc_core") { ...@@ -322,6 +1208,8 @@ static_library("grpc_core") {
"src/src/core/lib/iomgr/is_epollexclusive_available.cc", "src/src/core/lib/iomgr/is_epollexclusive_available.cc",
"src/src/core/lib/iomgr/load_file.cc", "src/src/core/lib/iomgr/load_file.cc",
"src/src/core/lib/iomgr/lockfree_event.cc", "src/src/core/lib/iomgr/lockfree_event.cc",
"src/src/core/lib/iomgr/parse_address.cc",
"src/src/core/lib/iomgr/poller/eventmanager_libuv.cc",
"src/src/core/lib/iomgr/polling_entity.cc", "src/src/core/lib/iomgr/polling_entity.cc",
"src/src/core/lib/iomgr/pollset.cc", "src/src/core/lib/iomgr/pollset.cc",
"src/src/core/lib/iomgr/pollset_custom.cc", "src/src/core/lib/iomgr/pollset_custom.cc",
...@@ -374,12 +1262,14 @@ static_library("grpc_core") { ...@@ -374,12 +1262,14 @@ static_library("grpc_core") {
"src/src/core/lib/iomgr/wakeup_fd_nospecial.cc", "src/src/core/lib/iomgr/wakeup_fd_nospecial.cc",
"src/src/core/lib/iomgr/wakeup_fd_pipe.cc", "src/src/core/lib/iomgr/wakeup_fd_pipe.cc",
"src/src/core/lib/iomgr/wakeup_fd_posix.cc", "src/src/core/lib/iomgr/wakeup_fd_posix.cc",
"src/src/core/lib/json/json.cc", "src/src/core/lib/iomgr/work_serializer.cc",
"src/src/core/lib/json/json_reader.cc", "src/src/core/lib/json/json_reader.cc",
"src/src/core/lib/json/json_string.cc", "src/src/core/lib/json/json_util.cc",
"src/src/core/lib/json/json_writer.cc", "src/src/core/lib/json/json_writer.cc",
"src/src/core/lib/profiling/basic_timers.cc", "src/src/core/lib/profiling/basic_timers.cc",
"src/src/core/lib/profiling/stap_timers.cc", "src/src/core/lib/profiling/stap_timers.cc",
"src/src/core/lib/security/authorization/authorization_engine.cc",
"src/src/core/lib/security/authorization/evaluate_args.cc",
"src/src/core/lib/security/context/security_context.cc", "src/src/core/lib/security/context/security_context.cc",
"src/src/core/lib/security/credentials/alts/alts_credentials.cc", "src/src/core/lib/security/credentials/alts/alts_credentials.cc",
"src/src/core/lib/security/credentials/alts/check_gcp_environment.cc", "src/src/core/lib/security/credentials/alts/check_gcp_environment.cc",
...@@ -392,10 +1282,14 @@ static_library("grpc_core") { ...@@ -392,10 +1282,14 @@ static_library("grpc_core") {
"src/src/core/lib/security/credentials/composite/composite_credentials.cc", "src/src/core/lib/security/credentials/composite/composite_credentials.cc",
"src/src/core/lib/security/credentials/credentials.cc", "src/src/core/lib/security/credentials/credentials.cc",
"src/src/core/lib/security/credentials/credentials_metadata.cc", "src/src/core/lib/security/credentials/credentials_metadata.cc",
"src/src/core/lib/security/credentials/external/external_account_credentials.cc",
"src/src/core/lib/security/credentials/external/file_external_account_credentials.cc",
"src/src/core/lib/security/credentials/external/url_external_account_credentials.cc",
"src/src/core/lib/security/credentials/fake/fake_credentials.cc", "src/src/core/lib/security/credentials/fake/fake_credentials.cc",
"src/src/core/lib/security/credentials/google_default/credentials_generic.cc", "src/src/core/lib/security/credentials/google_default/credentials_generic.cc",
"src/src/core/lib/security/credentials/google_default/google_default_credentials.cc", "src/src/core/lib/security/credentials/google_default/google_default_credentials.cc",
"src/src/core/lib/security/credentials/iam/iam_credentials.cc", "src/src/core/lib/security/credentials/iam/iam_credentials.cc",
"src/src/core/lib/security/credentials/insecure/insecure_credentials.cc",
"src/src/core/lib/security/credentials/jwt/json_token.cc", "src/src/core/lib/security/credentials/jwt/json_token.cc",
"src/src/core/lib/security/credentials/jwt/jwt_credentials.cc", "src/src/core/lib/security/credentials/jwt/jwt_credentials.cc",
"src/src/core/lib/security/credentials/jwt/jwt_verifier.cc", "src/src/core/lib/security/credentials/jwt/jwt_verifier.cc",
...@@ -403,22 +1297,27 @@ static_library("grpc_core") { ...@@ -403,22 +1297,27 @@ static_library("grpc_core") {
"src/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc", "src/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
"src/src/core/lib/security/credentials/plugin/plugin_credentials.cc", "src/src/core/lib/security/credentials/plugin/plugin_credentials.cc",
"src/src/core/lib/security/credentials/ssl/ssl_credentials.cc", "src/src/core/lib/security/credentials/ssl/ssl_credentials.cc",
"src/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc",
"src/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc",
"src/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc", "src/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc",
"src/src/core/lib/security/credentials/tls/tls_credentials.cc",
"src/src/core/lib/security/credentials/xds/xds_credentials.cc",
"src/src/core/lib/security/security_connector/alts/alts_security_connector.cc", "src/src/core/lib/security/security_connector/alts/alts_security_connector.cc",
"src/src/core/lib/security/security_connector/fake/fake_security_connector.cc", "src/src/core/lib/security/security_connector/fake/fake_security_connector.cc",
"src/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc",
"src/src/core/lib/security/security_connector/load_system_roots_fallback.cc", "src/src/core/lib/security/security_connector/load_system_roots_fallback.cc",
"src/src/core/lib/security/security_connector/load_system_roots_linux.cc", "src/src/core/lib/security/security_connector/load_system_roots_linux.cc",
"src/src/core/lib/security/security_connector/local/local_security_connector.cc", "src/src/core/lib/security/security_connector/local/local_security_connector.cc",
"src/src/core/lib/security/security_connector/security_connector.cc", "src/src/core/lib/security/security_connector/security_connector.cc",
"src/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc", "src/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc",
"src/src/core/lib/security/security_connector/ssl_utils.cc", "src/src/core/lib/security/security_connector/ssl_utils.cc",
"src/src/core/lib/security/security_connector/ssl_utils_config.cc",
"src/src/core/lib/security/security_connector/tls/tls_security_connector.cc",
"src/src/core/lib/security/transport/client_auth_filter.cc", "src/src/core/lib/security/transport/client_auth_filter.cc",
"src/src/core/lib/security/transport/secure_endpoint.cc", "src/src/core/lib/security/transport/secure_endpoint.cc",
"src/src/core/lib/security/transport/security_handshaker.cc", "src/src/core/lib/security/transport/security_handshaker.cc",
"src/src/core/lib/security/transport/server_auth_filter.cc", "src/src/core/lib/security/transport/server_auth_filter.cc",
"src/src/core/lib/security/transport/target_authority_table.cc",
"src/src/core/lib/security/transport/tsi_error.cc", "src/src/core/lib/security/transport/tsi_error.cc",
"src/src/core/lib/security/util/json_util.cc",
"src/src/core/lib/slice/b64.cc", "src/src/core/lib/slice/b64.cc",
"src/src/core/lib/slice/percent_encoding.cc", "src/src/core/lib/slice/percent_encoding.cc",
"src/src/core/lib/slice/slice.cc", "src/src/core/lib/slice/slice.cc",
...@@ -445,6 +1344,7 @@ static_library("grpc_core") { ...@@ -445,6 +1344,7 @@ static_library("grpc_core") {
"src/src/core/lib/surface/server.cc", "src/src/core/lib/surface/server.cc",
"src/src/core/lib/surface/validate_metadata.cc", "src/src/core/lib/surface/validate_metadata.cc",
"src/src/core/lib/surface/version.cc", "src/src/core/lib/surface/version.cc",
"src/src/core/lib/transport/authority_override.cc",
"src/src/core/lib/transport/bdp_estimator.cc", "src/src/core/lib/transport/bdp_estimator.cc",
"src/src/core/lib/transport/byte_stream.cc", "src/src/core/lib/transport/byte_stream.cc",
"src/src/core/lib/transport/connectivity_state.cc", "src/src/core/lib/transport/connectivity_state.cc",
...@@ -459,7 +1359,9 @@ static_library("grpc_core") { ...@@ -459,7 +1359,9 @@ static_library("grpc_core") {
"src/src/core/lib/transport/transport.cc", "src/src/core/lib/transport/transport.cc",
"src/src/core/lib/transport/transport_op_string.cc", "src/src/core/lib/transport/transport_op_string.cc",
"src/src/core/lib/uri/uri_parser.cc", "src/src/core/lib/uri/uri_parser.cc",
"src/src/core/plugin_registry/grpc_plugin_registry.cc", # Disabling some default plugins.
# "src/src/core/plugin_registry/grpc_plugin_registry.cc",
"plugin_registry/grpc_plugin_registry.cc",
"src/src/core/tsi/alts/crypt/aes_gcm.cc", "src/src/core/tsi/alts/crypt/aes_gcm.cc",
"src/src/core/tsi/alts/crypt/gsec.cc", "src/src/core/tsi/alts/crypt/gsec.cc",
"src/src/core/tsi/alts/frame_protector/alts_counter.cc", "src/src/core/tsi/alts/frame_protector/alts_counter.cc",
...@@ -470,14 +1372,9 @@ static_library("grpc_core") { ...@@ -470,14 +1372,9 @@ static_library("grpc_core") {
"src/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc", "src/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc",
"src/src/core/tsi/alts/frame_protector/frame_handler.cc", "src/src/core/tsi/alts/frame_protector/frame_handler.cc",
"src/src/core/tsi/alts/handshaker/alts_handshaker_client.cc", "src/src/core/tsi/alts/handshaker/alts_handshaker_client.cc",
"src/src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc",
"src/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc",
"src/src/core/tsi/alts/handshaker/alts_shared_resource.cc", "src/src/core/tsi/alts/handshaker/alts_shared_resource.cc",
"src/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc", "src/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc",
"src/src/core/tsi/alts/handshaker/alts_tsi_utils.cc", "src/src/core/tsi/alts/handshaker/alts_tsi_utils.cc",
"src/src/core/tsi/alts/handshaker/altscontext.pb.c",
"src/src/core/tsi/alts/handshaker/handshaker.pb.c",
"src/src/core/tsi/alts/handshaker/transport_security_common.pb.c",
"src/src/core/tsi/alts/handshaker/transport_security_common_api.cc", "src/src/core/tsi/alts/handshaker/transport_security_common_api.cc",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc", "src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc",
"src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc", "src/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc",
...@@ -492,301 +1389,365 @@ static_library("grpc_core") { ...@@ -492,301 +1389,365 @@ static_library("grpc_core") {
"src/src/core/tsi/ssl_transport_security.cc", "src/src/core/tsi/ssl_transport_security.cc",
"src/src/core/tsi/transport_security.cc", "src/src/core/tsi/transport_security.cc",
"src/src/core/tsi/transport_security_grpc.cc", "src/src/core/tsi/transport_security_grpc.cc",
"src/src/cpp/client/channel_cc.cc",
"src/src/cpp/client/client_callback.cc",
"src/src/cpp/client/client_context.cc",
"src/src/cpp/client/client_interceptor.cc",
"src/src/cpp/client/create_channel.cc",
"src/src/cpp/client/create_channel_internal.cc",
"src/src/cpp/client/create_channel_posix.cc",
"src/src/cpp/client/credentials_cc.cc",
"src/src/cpp/client/secure_credentials.cc",
"src/src/cpp/codegen/codegen_init.cc",
"src/src/cpp/common/alarm.cc",
"src/src/cpp/common/auth_property_iterator.cc",
"src/src/cpp/common/channel_arguments.cc",
"src/src/cpp/common/channel_filter.cc",
"src/src/cpp/common/completion_queue_cc.cc",
"src/src/cpp/common/core_codegen.cc",
"src/src/cpp/common/resource_quota_cc.cc",
"src/src/cpp/common/rpc_method.cc",
"src/src/cpp/common/secure_auth_context.cc",
"src/src/cpp/common/secure_channel_arguments.cc",
"src/src/cpp/common/secure_create_auth_context.cc",
"src/src/cpp/common/tls_certificate_provider.cc",
"src/src/cpp/common/tls_credentials_options.cc",
"src/src/cpp/common/tls_credentials_options_util.cc",
"src/src/cpp/common/validate_service_config.cc",
"src/src/cpp/common/version_cc.cc",
"src/src/cpp/server/async_generic_service.cc",
"src/src/cpp/server/channel_argument_option.cc",
"src/src/cpp/server/create_default_thread_pool.cc",
"src/src/cpp/server/dynamic_thread_pool.cc",
"src/src/cpp/server/external_connection_acceptor_impl.cc",
"src/src/cpp/server/health/default_health_check_service.cc",
"src/src/cpp/server/health/health_check_service.cc",
"src/src/cpp/server/health/health_check_service_server_builder_option.cc",
"src/src/cpp/server/insecure_server_credentials.cc",
"src/src/cpp/server/secure_server_credentials.cc",
"src/src/cpp/server/server_builder.cc",
"src/src/cpp/server/server_callback.cc",
"src/src/cpp/server/server_cc.cc",
"src/src/cpp/server/server_context.cc",
"src/src/cpp/server/server_credentials.cc",
"src/src/cpp/server/server_posix.cc",
"src/src/cpp/thread_manager/thread_manager.cc",
"src/src/cpp/util/byte_buffer_cc.cc",
"src/src/cpp/util/status.cc",
"src/src/cpp/util/string_ref.cc",
"src/src/cpp/util/time_cc.cc",
] ]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
]
deps = [ deps = [
":nanopb", ":address_sorting",
":cares",
":grpc++_h",
":upb",
"//third_party/abseil-cpp:absl",
"//third_party/boringssl", "//third_party/boringssl",
"//third_party/protobuf:protobuf_lite",
"//third_party/zlib",
] ]
public_deps = [ "//third_party/zlib" ] public_configs = [
} ":grpc_config",
static_library("nanopb") {
visibility = [ ":*" ]
sources = [
"src/third_party/nanopb/pb_common.c",
"src/third_party/nanopb/pb_decode.c",
"src/third_party/nanopb/pb_encode.c",
]
public_configs = [ ":nanopb_config" ]
}
static_library("grpc_test_util") {
visibility = [ ":*" ]
sources = [
"src/test/core/end2end/cq_verifier.cc",
"src/test/core/end2end/data/client_certs.cc",
"src/test/core/end2end/data/server1_cert.cc",
"src/test/core/end2end/data/server1_key.cc",
"src/test/core/end2end/data/test_root_cert.cc",
"src/test/core/end2end/fixtures/http_proxy_fixture.cc",
"src/test/core/end2end/fixtures/local_util.cc",
"src/test/core/end2end/fixtures/proxy.cc",
"src/test/core/iomgr/endpoint_tests.cc",
"src/test/core/security/oauth2_utils.cc",
"src/test/core/util/cmdline.cc",
"src/test/core/util/debugger_macros.cc",
"src/test/core/util/fuzzer_util.cc",
"src/test/core/util/grpc_profiler.cc",
"src/test/core/util/histogram.cc",
"src/test/core/util/memory_counters.cc",
"src/test/core/util/mock_endpoint.cc",
"src/test/core/util/parse_hexstring.cc",
"src/test/core/util/passthru_endpoint.cc",
"src/test/core/util/port.cc",
"src/test/core/util/port_isolated_runtime_environment.cc",
"src/test/core/util/port_server_client.cc",
"src/test/core/util/slice_splitter.cc",
"src/test/core/util/subprocess_posix.cc",
"src/test/core/util/subprocess_windows.cc",
"src/test/core/util/test_lb_policies.cc",
"src/test/core/util/tracer_util.cc",
"src/test/core/util/trickle_endpoint.cc",
] ]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ configs += [
":grpc_config", ":grpc_config_private",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
deps = [ include_dirs = [
":grpc_core", ":cares",
":nanopb", "src/third_party/address_sorting/include",
] ]
visibility = [ "./*" ]
if (!is_win) {
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
}
} }
# A dummy group which is needed to make the fuzz targets discoverable. source_set("grpc++_repeated") {
group("fuzzers") { sources = [
} "src/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c",
"src/src/core/ext/upb-generated/google/api/http.upb.c",
fuzzer_test("grpc_alts_credentials_fuzzer") { "src/src/core/ext/upb-generated/udpa/annotations/status.upb.c",
sources = [ "src/test/core/security/alts_credentials_fuzzer.cc" ] "src/src/core/ext/upb-generated/udpa/core/v1/resource.upb.c",
deps = [ "src/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c",
":grpc_core", "src/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c",
":grpc_test_util", "src/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c",
":nanopb", "src/src/core/ext/upbdefs-generated/udpa/core/v1/resource.upbdefs.c",
] "src/src/core/lib/security/util/json_util.cc",
additional_configs = [ "src/src/cpp/client/insecure_credentials.cc",
":grpc_config", "src/src/cpp/client/xds_credentials.cc",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ]
seed_corpus = "src/test/core/security/corpus/alts_credentials_corpus"
}
fuzzer_test("grpc_api_fuzzer") {
sources = [ "src/test/core/end2end/fuzzers/api_fuzzer.cc" ]
deps = [ deps = [
":grpc_core", ":address_sorting",
":grpc_test_util", ":cares",
":nanopb", ":grpc++_h",
":upb",
"//third_party/abseil-cpp:absl",
"//third_party/boringssl",
"//third_party/protobuf:protobuf_lite",
"//third_party/zlib",
] ]
additional_configs = [ public_configs = [
":grpc_config", ":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ] configs += [
seed_corpus = "src/test/core/end2end/fuzzers/api_fuzzer_corpus" ":grpc_config_private",
dict = "src/test/core/end2end/fuzzers/api_fuzzer.dictionary"
}
fuzzer_test("grpc_client_fuzzer") {
sources = [ "src/test/core/end2end/fuzzers/client_fuzzer.cc" ]
deps = [
":grpc_core",
":grpc_test_util",
":nanopb",
]
additional_configs = [
":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ] visibility = [ "./*" ]
seed_corpus = "src/test/core/end2end/fuzzers/client_fuzzer_corpus" if (!is_win) {
dict = "src/test/core/end2end/fuzzers/hpack.dictionary" configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
}
} }
fuzzer_test("grpc_hpack_parser_fuzzer_test") { source_set("address_sorting") {
sources = [ "src/test/core/transport/chttp2/hpack_parser_fuzzer_test.cc" ] sources = [
deps = [ "src/third_party/address_sorting/address_sorting.c",
":grpc_core", "src/third_party/address_sorting/address_sorting_internal.h",
":grpc_test_util", "src/third_party/address_sorting/address_sorting_posix.c",
":nanopb", "src/third_party/address_sorting/address_sorting_windows.c",
"src/third_party/address_sorting/include/address_sorting/address_sorting.h",
] ]
additional_configs = [ public_configs = [
":grpc_config", ":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
]
suppressed_configs = [ "//build/config/compiler:chromium_code" ]
seed_corpus = "src/test/core/transport/chttp2/hpack_parser_corpus"
}
fuzzer_test("grpc_request_fuzzer") {
sources = [ "src/test/core/http/request_fuzzer.cc" ]
deps = [
":grpc_core",
":grpc_test_util",
":nanopb",
] ]
additional_configs = [ include_dirs = [
":grpc_config", "src/third_party/address_sorting/include",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ] visibility = [ "./*" ]
seed_corpus = "src/test/core/http/request_corpus" if (!is_win) {
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
}
} }
fuzzer_test("grpc_response_fuzzer") { # Only compile the plugin for the host architecture.
sources = [ "src/test/core/http/response_fuzzer.cc" ] if (current_toolchain == host_toolchain) {
deps = [ source_set("grpc_plugin_support") {
":grpc_core", sources = [
":grpc_test_util", "src/include/grpc++/impl/codegen/config_protobuf.h",
":nanopb", "src/include/grpcpp/impl/codegen/config_protobuf.h",
] "src/src/compiler/config.h",
additional_configs = [ "src/src/compiler/config_protobuf.h",
":grpc_config", "src/src/compiler/cpp_generator.cc",
":grpc_internal_config", "src/src/compiler/cpp_generator.h",
"//build/config/compiler:no_chromium_code", "src/src/compiler/cpp_generator_helpers.h",
] "src/src/compiler/cpp_plugin.h",
suppressed_configs = [ "//build/config/compiler:chromium_code" ] "src/src/compiler/csharp_generator.cc",
seed_corpus = "src/test/core/http/response_corpus" "src/src/compiler/csharp_generator.h",
} "src/src/compiler/csharp_generator_helpers.h",
"src/src/compiler/generator_helpers.h",
"src/src/compiler/node_generator.cc",
"src/src/compiler/node_generator.h",
"src/src/compiler/node_generator_helpers.h",
"src/src/compiler/objective_c_generator.cc",
"src/src/compiler/objective_c_generator.h",
"src/src/compiler/objective_c_generator_helpers.h",
"src/src/compiler/php_generator.cc",
"src/src/compiler/php_generator.h",
"src/src/compiler/php_generator_helpers.h",
"src/src/compiler/protobuf_plugin.h",
"src/src/compiler/python_generator.cc",
"src/src/compiler/python_generator.h",
"src/src/compiler/python_generator_helpers.h",
"src/src/compiler/python_private_generator.h",
"src/src/compiler/schema_interface.h",
]
fuzzer_test("grpc_json_fuzzer") { deps = [
sources = [ "src/test/core/json/fuzzer.cc" ] "//third_party/protobuf:protoc_lib",
deps = [ ]
":grpc_core", public_configs = [
":grpc_test_util", ":grpc_config",
":nanopb", ]
] }
additional_configs = [
":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
]
suppressed_configs = [ "//build/config/compiler:chromium_code" ]
seed_corpus = "src/test/core/json/corpus"
}
fuzzer_test("grpc_nanopb_fuzzer_response") {
sources = [ "src/test/core/nanopb/fuzzer_response.cc" ]
deps = [
":grpc_core",
":grpc_test_util",
":nanopb",
]
additional_configs = [
":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
]
suppressed_configs = [ "//build/config/compiler:chromium_code" ]
seed_corpus = "src/test/core/nanopb/corpus_response"
} }
source_set("upb") {
fuzzer_test("grpc_nanopb_fuzzer_serverlist") { sources = [
sources = [ "src/test/core/nanopb/fuzzer_serverlist.cc" ] "src/src/core/ext/upb-generated/google/protobuf/any.upb.c",
deps = [ "src/src/core/ext/upb-generated/google/protobuf/any.upb.h",
":grpc_core", "src/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c",
":grpc_test_util", "src/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h",
":nanopb", "src/src/core/ext/upb-generated/google/protobuf/duration.upb.c",
"src/src/core/ext/upb-generated/google/protobuf/duration.upb.h",
"src/src/core/ext/upb-generated/google/protobuf/empty.upb.c",
"src/src/core/ext/upb-generated/google/protobuf/empty.upb.h",
"src/src/core/ext/upb-generated/google/protobuf/struct.upb.c",
"src/src/core/ext/upb-generated/google/protobuf/struct.upb.h",
"src/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c",
"src/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h",
"src/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c",
"src/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h",
"src/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h",
"src/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c",
"src/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h",
"src/third_party/upb/upb/decode.c",
"src/third_party/upb/upb/decode.h",
"src/third_party/upb/upb/def.c",
"src/third_party/upb/upb/def.h",
"src/third_party/upb/upb/def.hpp",
"src/third_party/upb/upb/encode.c",
"src/third_party/upb/upb/encode.h",
"src/third_party/upb/upb/msg.c",
"src/third_party/upb/upb/msg.h",
"src/third_party/upb/upb/port.c",
"src/third_party/upb/upb/port_def.inc",
"src/third_party/upb/upb/port_undef.inc",
"src/third_party/upb/upb/reflection.c",
"src/third_party/upb/upb/reflection.h",
"src/third_party/upb/upb/table.c",
"src/third_party/upb/upb/table.int.h",
"src/third_party/upb/upb/text_encode.c",
"src/third_party/upb/upb/text_encode.h",
"src/third_party/upb/upb/upb.c",
"src/third_party/upb/upb/upb.h",
"src/third_party/upb/upb/upb.hpp",
] ]
additional_configs = [ public_configs = [
":grpc_config", ":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ] visibility = [ "./*" ]
seed_corpus = "src/test/core/nanopb/corpus_serverlist" if (!is_win) {
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
}
} }
fuzzer_test("grpc_percent_decode_fuzzer") { # Only compile the plugin for the host architecture.
sources = [ "src/test/core/slice/percent_decode_fuzzer.cc" ] if (current_toolchain == host_toolchain) {
deps = [ executable("grpc_cpp_plugin") {
":grpc_core", sources = [
":grpc_test_util", "src/src/compiler/cpp_plugin.cc",
":nanopb", ]
] deps = [
additional_configs = [ ":grpc_plugin_support",
":grpc_config", "//third_party/protobuf:protoc_lib",
":grpc_internal_config", ]
"//build/config/compiler:no_chromium_code", configs += [
] "//third_party/protobuf:protobuf_config",
suppressed_configs = [ "//build/config/compiler:chromium_code" ] ]
seed_corpus = "src/test/core/slice/percent_decode_corpus" public_configs = [ ":grpc_config" ]
}
} }
fuzzer_test("grpc_percent_encode_fuzzer") { config("cares_config") {
sources = [ "src/test/core/slice/percent_encode_fuzzer.cc" ] cflags = [
deps = [ "-Wno-macro-redefined",
":grpc_core", "-Wno-unused-variable",
":grpc_test_util",
":nanopb",
]
additional_configs = [
":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ]
seed_corpus = "src/test/core/slice/percent_encode_corpus"
} }
fuzzer_test("grpc_server_fuzzer") { source_set("cares") {
sources = [ "src/test/core/end2end/fuzzers/server_fuzzer.cc" ] sources = [
deps = [ "src/third_party/cares/ares_build.h",
":grpc_core",
":grpc_test_util",
":nanopb",
]
additional_configs = [
":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ]
seed_corpus = "src/test/core/end2end/fuzzers/server_fuzzer_corpus"
}
fuzzer_test("grpc_ssl_server_fuzzer") { if (enable_grpc_ares) {
sources = [ "src/test/core/security/ssl_server_fuzzer.cc" ] sources += [
deps = [ "//third_party/cares/ares.h",
":grpc_core", "//third_party/cares/ares__close_sockets.c",
":grpc_test_util", "//third_party/cares/ares__get_hostent.c",
":nanopb", "//third_party/cares/ares__read_line.c",
] "//third_party/cares/ares__timeval.c",
additional_configs = [ "//third_party/cares/ares_android.c",
":grpc_config", "//third_party/cares/ares_android.h",
":grpc_internal_config", "//third_party/cares/ares_cancel.c",
"//build/config/compiler:no_chromium_code", "//third_party/cares/ares_create_query.c",
] "//third_party/cares/ares_data.c",
suppressed_configs = [ "//build/config/compiler:chromium_code" ] "//third_party/cares/ares_data.h",
seed_corpus = "src/test/core/security/corpus/ssl_server_corpus" "//third_party/cares/ares_destroy.c",
} "//third_party/cares/ares_dns.h",
"//third_party/cares/ares_expand_name.c",
"//third_party/cares/ares_expand_string.c",
"//third_party/cares/ares_fds.c",
"//third_party/cares/ares_free_hostent.c",
"//third_party/cares/ares_free_string.c",
"//third_party/cares/ares_getenv.c",
"//third_party/cares/ares_getenv.h",
"//third_party/cares/ares_gethostbyaddr.c",
"//third_party/cares/ares_gethostbyname.c",
"//third_party/cares/ares_getnameinfo.c",
"//third_party/cares/ares_getopt.c",
"//third_party/cares/ares_getopt.h",
"//third_party/cares/ares_getsock.c",
"//third_party/cares/ares_inet_net_pton.h",
"//third_party/cares/ares_init.c",
"//third_party/cares/ares_iphlpapi.h",
"//third_party/cares/ares_ipv6.h",
"//third_party/cares/ares_library_init.c",
"//third_party/cares/ares_library_init.h",
"//third_party/cares/ares_llist.c",
"//third_party/cares/ares_llist.h",
"//third_party/cares/ares_mkquery.c",
"//third_party/cares/ares_nowarn.c",
"//third_party/cares/ares_nowarn.h",
"//third_party/cares/ares_options.c",
"//third_party/cares/ares_parse_a_reply.c",
"//third_party/cares/ares_parse_aaaa_reply.c",
"//third_party/cares/ares_parse_mx_reply.c",
"//third_party/cares/ares_parse_naptr_reply.c",
"//third_party/cares/ares_parse_ns_reply.c",
"//third_party/cares/ares_parse_ptr_reply.c",
"//third_party/cares/ares_parse_soa_reply.c",
"//third_party/cares/ares_parse_srv_reply.c",
"//third_party/cares/ares_parse_txt_reply.c",
"//third_party/cares/ares_platform.c",
"//third_party/cares/ares_platform.h",
"//third_party/cares/ares_private.h",
"//third_party/cares/ares_process.c",
"//third_party/cares/ares_query.c",
"//third_party/cares/ares_rules.h",
"//third_party/cares/ares_search.c",
"//third_party/cares/ares_send.c",
"//third_party/cares/ares_setup.h",
"//third_party/cares/ares_strcasecmp.c",
"//third_party/cares/ares_strcasecmp.h",
"//third_party/cares/ares_strdup.c",
"//third_party/cares/ares_strdup.h",
"//third_party/cares/ares_strerror.c",
"//third_party/cares/ares_strsplit.c",
"//third_party/cares/ares_strsplit.h",
"//third_party/cares/ares_timeout.c",
"//third_party/cares/ares_version.c",
"//third_party/cares/ares_version.h",
"//third_party/cares/ares_writev.c",
"//third_party/cares/ares_writev.h",
"//third_party/cares/bitncmp.c",
"//third_party/cares/bitncmp.h",
"//third_party/cares/config-dos.h",
"//third_party/cares/config-win32.h",
"//third_party/cares/inet_net_pton.c",
"//third_party/cares/inet_ntop.c",
"//third_party/cares/nameser.h",
"//third_party/cares/setup_once.h",
"//third_party/cares/windows_port.c",
]
}
fuzzer_test("grpc_uri_fuzzer_test") { if (is_android) {
sources = [ "src/test/core/client_channel/uri_fuzzer_test.cc" ] sources += [ "src/third_party/cares/config_android/ares_config.h" ]
configs += [ ":cares_config" ]
} else if (is_fuchsia) {
sources += [ "third_party/cares/config_fuchsia/ares_config.h" ]
} else {
sources += [ "src/third_party/cares/config_linux/ares_config.h" ]
}
deps = [ deps = [
":grpc_core", "//third_party/boringssl",
":grpc_test_util",
":nanopb",
]
additional_configs = [
":grpc_config",
":grpc_internal_config",
"//build/config/compiler:no_chromium_code",
] ]
suppressed_configs = [ "//build/config/compiler:chromium_code" ]
seed_corpus = "src/test/core/client_channel/uri_corpus" public_configs = [ ":grpc_config" ]
} }
group("fuzzers") {}
Name: gRPC Name: grpc
URL: https://github.com/grpc/grpc URL: https://github.com/grpc/grpc
Version: 0
Date: Jul 16, 2019
Revision: 74b981a6a3d9ba17f3acae1d72b9109325ef656d
License: Apache 2.0 License: Apache 2.0
License File: LICENSE Version: v1.33.0+
Revision: 4ac9c6f755463a2321f84b0cb2d631e1828faedb
Security Critical: yes Security Critical: yes
Description: Steps to upgrade to a new version of GRPC:
gRPC is a library to make remote procedure calls (RPC) between server and client 1. Merge origin/grpc/master into eureka/master branch.
applications. This is currently used by Chrome Remote Desktop during the 2. Update revision and version information in this file.
signaling process. 4. Checkout GRPC submodules with: git submodule update --init
5. Copy template/BUILD.chromium.gn.template to src/templates
Local Modifications: 6. Rebuild BUILD.gn by running tools/buildgen/generate_projects.sh
None (make sure mako_templates python module is installed in your system)
and then running gn format BUILD.gn. This will use the template in
templates/BUILD.chromium.gn.template to generate BUILD.chromium.gn file.
4. Do:
mv third_party/grpc/src/BUILD.chromium.gn BUILD.gn
6. Update plugin_register. Ensure xds_resolver and all lb_policies are
disabled except first_pick.
5. Run 'gn format --in-place BUILD.gn'
# Copyright 2019 The Chromium Authors. All rights reserved. # Copyright 2019 Google Inc. All Rights Reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
# Compile a grpc service.
#
# Example:
# grpc_library("mylib") {
# sources = [
# "foo.proto",
# ]
# }
import("//build/config/sanitizers/sanitizers.gni")
import("//third_party/protobuf/proto_library.gni") import("//third_party/protobuf/proto_library.gni")
# Compiles a protocol buffer into gRPC C++ interface. template("grpc_library") {
# assert(defined(invoker.sources), "Need sources for proto_library")
# Example proto_library(target_name) {
# cc_grpc_library("mylib") {
# sources = [
# "foo.proto",
# ]
# }
template("cc_grpc_library") {
proto_library_name = "${target_name}_proto_lib"
proto_library(proto_library_name) {
forward_variables_from(invoker, forward_variables_from(invoker,
[ [
"defines", "cc_include",
"deps", "extra_configs",
"sources", "generator_plugin_label",
"use_protobuf_full", "generator_plugin_suffix",
"generate_python",
"import_dirs", "import_dirs",
"link_deps",
"proto_in_dir", "proto_in_dir",
"proto_out_dir",
"sources",
"testonly",
"visibility",
"deps",
"proto_deps",
]) ])
remove_configs = [ "//build/config/compiler:chromium_code" ]
extra_configs = [ if (defined(invoker.use_protobuf_full)) {
"//build/config/compiler:no_chromium_code", use_protobuf_full = invoker.use_protobuf_full
"//third_party/grpc:grpc_config", } else {
] cc_generator_options = "lite"
generate_python = false }
extra_configs = ["//third_party/grpc:grpc_config"]
generate_cc = true
generator_plugin_label = "//third_party/grpc:grpc_cpp_plugin" generator_plugin_label = "//third_party/grpc:grpc_cpp_plugin"
generator_plugin_suffix = ".grpc.pb" generator_plugin_suffix = ".grpc.pb"
} }
# This group forces caller to depend on grpcpp, which is required when using
# the compiled gRPC library.
group(target_name) {
public_deps = [
":${proto_library_name}",
"//third_party/grpc:grpcpp",
]
}
} }
{
global:
gpr_*;
extern "C++" {
grpc::*;
grpc_*;
tsi_*;
vtable*grpc::*;
};
local:
*;
};
/*
*
* Copyright 2016 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.
*
*/
#include <grpc/grpc.h>
#include <grpc/support/port_platform.h>
void grpc_http_filters_init(void);
void grpc_http_filters_shutdown(void);
void grpc_chttp2_plugin_init(void);
void grpc_chttp2_plugin_shutdown(void);
void grpc_deadline_filter_init(void);
void grpc_deadline_filter_shutdown(void);
void grpc_client_channel_init(void);
void grpc_client_channel_shutdown(void);
void grpc_inproc_plugin_init(void);
void grpc_inproc_plugin_shutdown(void);
void grpc_resolver_fake_init(void);
void grpc_resolver_fake_shutdown(void);
void grpc_lb_policy_grpclb_init(void);
void grpc_lb_policy_grpclb_shutdown(void);
void grpc_lb_policy_priority_init(void);
void grpc_lb_policy_priority_shutdown(void);
void grpc_lb_policy_weighted_target_init(void);
void grpc_lb_policy_weighted_target_shutdown(void);
void grpc_lb_policy_pick_first_init(void);
void grpc_lb_policy_pick_first_shutdown(void);
void grpc_lb_policy_round_robin_init(void);
void grpc_lb_policy_round_robin_shutdown(void);
void grpc_resolver_dns_ares_init(void);
void grpc_resolver_dns_ares_shutdown(void);
void grpc_resolver_dns_native_init(void);
void grpc_resolver_dns_native_shutdown(void);
void grpc_resolver_sockaddr_init(void);
void grpc_resolver_sockaddr_shutdown(void);
void grpc_client_idle_filter_init(void);
void grpc_client_idle_filter_shutdown(void);
void grpc_max_age_filter_init(void);
void grpc_max_age_filter_shutdown(void);
void grpc_message_size_filter_init(void);
void grpc_message_size_filter_shutdown(void);
void grpc_service_config_channel_arg_filter_init(void);
void grpc_service_config_channel_arg_filter_shutdown(void);
void grpc_client_authority_filter_init(void);
void grpc_client_authority_filter_shutdown(void);
void grpc_workaround_cronet_compression_filter_init(void);
void grpc_workaround_cronet_compression_filter_shutdown(void);
#ifndef GRPC_NO_XDS
namespace grpc_core {
void XdsClientGlobalInit();
void XdsClientGlobalShutdown();
} // namespace grpc_core
void grpc_certificate_provider_registry_init(void);
void grpc_certificate_provider_registry_shutdown(void);
void grpc_lb_policy_cds_init(void);
void grpc_lb_policy_cds_shutdown(void);
void grpc_lb_policy_eds_init(void);
void grpc_lb_policy_eds_shutdown(void);
void grpc_lb_policy_xds_cluster_impl_init(void);
void grpc_lb_policy_xds_cluster_impl_shutdown(void);
void grpc_lb_policy_xds_cluster_manager_init(void);
void grpc_lb_policy_xds_cluster_manager_shutdown(void);
void grpc_resolver_xds_init(void);
void grpc_resolver_xds_shutdown(void);
#endif
void grpc_register_built_in_plugins(void) {
grpc_register_plugin(grpc_http_filters_init, grpc_http_filters_shutdown);
grpc_register_plugin(grpc_chttp2_plugin_init, grpc_chttp2_plugin_shutdown);
grpc_register_plugin(grpc_deadline_filter_init,
grpc_deadline_filter_shutdown);
grpc_register_plugin(grpc_client_channel_init, grpc_client_channel_shutdown);
grpc_register_plugin(grpc_inproc_plugin_init, grpc_inproc_plugin_shutdown);
grpc_register_plugin(grpc_resolver_fake_init, grpc_resolver_fake_shutdown);
// grpc_register_plugin(grpc_lb_policy_grpclb_init,
// grpc_lb_policy_grpclb_shutdown);
// grpc_register_plugin(grpc_lb_policy_priority_init,
// grpc_lb_policy_priority_shutdown);
// grpc_register_plugin(grpc_lb_policy_weighted_target_init,
// grpc_lb_policy_weighted_target_shutdown);
grpc_register_plugin(grpc_lb_policy_pick_first_init,
grpc_lb_policy_pick_first_shutdown);
// grpc_register_plugin(grpc_lb_policy_round_robin_init,
// grpc_lb_policy_round_robin_shutdown);
grpc_register_plugin(grpc_resolver_dns_ares_init,
grpc_resolver_dns_ares_shutdown);
grpc_register_plugin(grpc_resolver_dns_native_init,
grpc_resolver_dns_native_shutdown);
grpc_register_plugin(grpc_resolver_sockaddr_init,
grpc_resolver_sockaddr_shutdown);
grpc_register_plugin(grpc_client_idle_filter_init,
grpc_client_idle_filter_shutdown);
grpc_register_plugin(grpc_max_age_filter_init, grpc_max_age_filter_shutdown);
grpc_register_plugin(grpc_message_size_filter_init,
grpc_message_size_filter_shutdown);
grpc_register_plugin(grpc_service_config_channel_arg_filter_init,
grpc_service_config_channel_arg_filter_shutdown);
grpc_register_plugin(grpc_client_authority_filter_init,
grpc_client_authority_filter_shutdown);
grpc_register_plugin(grpc_workaround_cronet_compression_filter_init,
grpc_workaround_cronet_compression_filter_shutdown);
#ifndef GRPC_NO_XDS
grpc_register_plugin(grpc_core::XdsClientGlobalInit,
grpc_core::XdsClientGlobalShutdown);
grpc_register_plugin(grpc_certificate_provider_registry_init,
grpc_certificate_provider_registry_shutdown);
grpc_register_plugin(grpc_lb_policy_cds_init, grpc_lb_policy_cds_shutdown);
grpc_register_plugin(grpc_lb_policy_eds_init, grpc_lb_policy_eds_shutdown);
grpc_register_plugin(grpc_lb_policy_xds_cluster_impl_init,
grpc_lb_policy_xds_cluster_impl_shutdown);
grpc_register_plugin(grpc_lb_policy_xds_cluster_manager_init,
grpc_lb_policy_xds_cluster_manager_shutdown);
grpc_register_plugin(grpc_resolver_xds_init, grpc_resolver_xds_shutdown);
#endif
}
%YAML 1.2
--- |
<%doc>
Header piece
</%doc>\
# GRPC Chromium GN build file
# This file has been automatically generated from a template file.
# Please look at the templates directory instead.
# See //third_party/grpc/README.chromium for more information.
declare_args() {
# Compiles with ares.
enable_grpc_ares = false
}
if (is_android) {
import("//build/config/android/config.gni")
}
config("grpc_config") {
include_dirs = [
"src/include",
"src",
"src/src/core/ext/upb-generated",
"src/src/core/ext/upbdefs-generated",
"src/third_party/cares",
"//third_party/cares",
"src/third_party/upb",
"//third_party/abseil-cpp",
]
defines = [
"GRPC_USE_PROTO_LITE",
"HAVE_CONFIG_H",
"PB_FIELD_16BIT",
"GRPC_NO_XDS",
]
cflags = [
"-Wno-implicit-fallthrough",
]
if (is_android) {
libs = [ "log" ] # For __android_log_write
}
if (is_android) {
include_dirs += [ "src/third_party/cares/config_android" ]
} else if (is_fuchsia) {
include_dirs += [ "third_party/cares/config_fuchsia" ]
} else {
include_dirs += [ "src/third_party/cares/config_linux" ]
}
if (is_fuchsia) {
defines += [
# Allows zircon sockets to use file descriptors with gRPC.
"GPR_SUPPORT_CHANNELS_FROM_FD",
]
}
if (!enable_grpc_ares) {
defines += [
# Disable c-ares since it doesn't currently support Fuchsia
"GRPC_ARES=0",
]
}
}
config("grpc_config_private") {
cflags = [
"-Wno-implicit-fallthrough",
"-std=c99",
"-Wno-sign-compare",
"-Wno-unreachable-code",
"-Wno-extra-semi",
"-Wno-macro-redefined",
"-Wno-ignored-qualifiers",
"-Wno-string-concatenation",
]
}
template("grpc_so") {
# TODO(169395837): Somehow gRPC symbols cannot be found on Android.
# Keep using static linking for now.
if (is_android) {
source_set(target_name) {
forward_variables_from(invoker, "*")
}
} else {
shared_library(target_name) {
forward_variables_from(invoker, "*")
inputs = [ "./grpc_shared_lib.map" ]
ldflags = [ "-Wl,--version-script=" + rebase_path("./grpc_shared_lib.map", root_build_dir) ]
}
}
}
<%doc>
Python convenience functions.
</%doc>
<%!
import os
import re
import glob
# Sort list of sources or dependencies in a GN target.
def gn_sort(l):
new_l = []
l = set(l)
for i in l:
if i.startswith(':'):
new_l.append('1_{}'.format(i))
elif i.startswith('//'):
new_l.append('3_{}'.format(i))
else:
new_l.append('2_{}'.format(i))
new_l.sort()
return [i[2:] for i in new_l]
# Find repeated basenames to avoid conflicts in GN.
def find_repeated(sources):
out_sources = []
repeated = []
basenames = set()
for s in sources:
basename = os.path.basename(s)
ext = os.path.splitext(basename)
if (len(ext) > 1) and (ext[1] == '.h') and not re.search('ext/upb', s):
out_sources.append(s)
continue
if basename in basenames:
repeated.append(s)
else:
basenames.add(basename)
out_sources.append(s)
return (gn_sort(out_sources), gn_sort(repeated))
# Add comments for some files.
def get_commented_sources(sources):
out_sources = []
for s in sources:
if s=='src/src/core/lib/gpr/wrap_memcpy.cc':
out_sources.append('# gRPC memcpy wrapping logic isn\'t useful here.')
out_sources.append('# See https://crbug.com/661171')
out_sources.append('# "{}",'.format(s))
elif s=='src/src/core/plugin_registry/grpc_plugin_registry.cc':
out_sources.append('# Disabling some default plugins.')
out_sources.append('# "{}",'.format(s))
out_sources.append('"plugin_registry/grpc_plugin_registry.cc",')
else:
out_sources.append('"{}",'.format(s))
return out_sources
# Get dependencies for a target.
def get_deps_from_target(target_dict):
deps = set()
if target_dict.get("secure", False):
deps.add("//third_party/boringssl")
if target_dict.get("build", None) == "protoc":
deps.add("//third_party/protobuf:protoc_lib")
name = target_dict.get("name", None)
if name in ("grpc++", "grpc++_codegen_lib"):
deps.add("//third_party/protobuf:protobuf_lite")
elif name in ("grpc", "grpc_unsecure"):
deps.add("//third_party/zlib")
add_absl = False
for d in target_dict.get("deps", []):
if d.startswith('absl'):
add_absl = True
elif d.startswith(("//", ":")):
deps.add(d)
else:
deps.add(":%s" % d)
if add_absl:
deps.add("//third_party/abseil-cpp:absl")
return list(deps)
# Get dependencies for a list of sources.
def get_deps_from_sources(sources):
deps = set()
if needs_ares(sources):
deps.add(":cares")
deps.add(":address_sorting")
if needs_re(sources):
deps.add("//third_party/re")
return list(deps)
def needs_re(srcs):
return any("/resolver/xds/" in f for f in srcs) if srcs else False
def needs_ares(srcs):
return any("/c_ares/" in f for f in srcs) if srcs else False
def needs_address_sorting(sources):
return needs_ares(sources) or any("address_sorting" in s for s in sources)
def get_include_dirs(sources):
dirs = []
if needs_ares(sources):
dirs = [":cares"]
if needs_address_sorting(sources):
dirs.append("src/third_party/address_sorting/include")
return dirs
def get_extra_stuff():
extra_stuff = []
extra_stuff.append('visibility = [ "./*" ]')
extra_stuff.append('if (!is_win) {')
extra_stuff.append(' configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]')
extra_stuff.append('}')
return extra_stuff
def strip_sources(sources):
exceptions = [
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h",
"src/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc",
"src/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
]
return [f for f in sources
if "ruby_generator" not in f
and not (re.match("src/src/core/ext/filters/client_channel/lb_policy/.*/.*",f)
and not f in exceptions)
and not re.match("src/src/core/ext/filters/client_channel/resolver/xds/.*",f)
and not re.match("src/src/core/ext/xds/.*",f) ]
def adjust_srcs(sources):
return ["src/" + f for f in sources]
def get_sources(target):
sources = ((target.public_headers or []) +
(target.headers or []) +
(target.src or []))
return adjust_srcs(sources)
def in_main_lib(lib):
main_libs = ("gpr", "grpc", "grpc++")
return lib.name in main_libs
def wanted_lib(lib):
wanted_libs = ("grpc_plugin_support", "address_sorting", "upb")
return lib.build in ("all", "protoc") and lib.get("name", "") in wanted_libs
def wanted_binary(tgt):
wanted_binaries = ("grpc_cpp_plugin",)
return tgt.build == "protoc" and tgt.get("name", "") in wanted_binaries
def only_on_host_toolchain(tgt):
return tgt.get("name", "") in ("grpc_plugin_support", "grpc_cpp_plugin")
def find_sources(path):
sources = []
for (root, ds, fs) in os.walk(path):
for f in fs:
ext = os.path.splitext(f)
if (len(ext) > 1) and (ext[1] in ('.h', '.c')):
sources.append(os.path.join(root, f))
return ["src/" + s for s in sources]
cares_sources = glob.glob('third_party/cares/cares/*.h')+ \
glob.glob('third_party/cares/cares/*.c')
cares_sources = gn_sort(["//third_party/cares/" + os.path.basename(s) for s in cares_sources])
cares_sources = [s for s in cares_sources if s not in (
'//third_party/cares/ahost.c',
'//third_party/cares/adig.c',
'//third_party/cares/acountry.c')]
%>\
<%doc>
Body of GN file
</%doc>\
${cc_main_library(libs)}
% for lib in libs:
% if wanted_lib(lib):
% if only_on_host_toolchain(lib):
# Only compile the plugin for the host architecture.
if (current_toolchain == host_toolchain) {
${cc_library(lib, " ", True)}
}
% else:
${cc_library(lib, "", False)}
% endif
% endif
% endfor
% for tgt in targets:
% if wanted_binary(tgt):
% if only_on_host_toolchain(tgt):
# Only compile the plugin for the host architecture.
if (current_toolchain == host_toolchain) {${cc_binary(tgt, " ")}}
% else:
${cc_binary(tgt, "")}
% endif
% endif
% endfor
<%doc>
Template Functions
</%doc>\
<%def name="cc_main_library(libs)">\
<%
extra_configs = [':grpc_config_private']
sources = []
headers = []
deps = []
upb_sources = []
for lib in libs:
if lib.name == 'upb':
upb_sources = get_sources(lib)
for lib in libs:
if in_main_lib(lib):
if lib.src:
sources += lib.src
if lib.headers:
headers += lib.headers
if lib.public_headers:
headers += lib.public_headers
deps += get_deps_from_target(lib)
headers = adjust_srcs(headers)
headers = [f for f in headers if f not in upb_sources]
headers = strip_sources(headers)
sources = adjust_srcs(sources)
sources = [f for f in sources if f not in upb_sources]
sources = strip_sources(sources)
(sources, repeated) = find_repeated(sources)
deps = [d for d in deps if d not in (':gpr', ':grpc')]
cc_lib_name = 'grpc++_cc'
h_lib_name = 'grpc++_h'
repeated_lib_name = 'grpc++_repeated'
other_deps = deps[:]
other_deps.append(":{}".format(h_lib_name))
deps_so = [
':{}'.format(cc_lib_name),
':{}'.format(repeated_lib_name),
]
public_deps_so = [
':{}'.format(h_lib_name),
]
extra_stuff = get_extra_stuff()
%>\
grpc_so("grpc++") {
deps = [
% for dep in deps_so:
"${dep}",
% endfor
]
public_deps = [
% for dep in public_deps_so:
"${dep}",
% endfor
]
}
# There are some .cc files that are in multiple places. GN doesn't like
# that. Moving them to another target.
${cc_library_internal(h_lib_name, '', headers, deps, extra_stuff, extra_configs)}
${cc_library_internal(cc_lib_name, '', sources, other_deps, extra_stuff, extra_configs)}
${cc_library_internal(repeated_lib_name, '', repeated, other_deps, extra_stuff, extra_configs)}
</%def>\
<%def name="cc_library(lib, indent, is_host)">\
<%
sources = get_sources(lib)
sources = strip_sources(sources)
repeated_lib_name = "{}_repeated".format(lib.name)
(sources, repeated) = find_repeated(sources)
extra_configs = [':grpc_config_private']
extra_stuff = []
target_type = 'source_set'
if not is_host:
extra_stuff = get_extra_stuff()
deps = get_deps_from_target(lib)
repeated_deps = deps[:]
if repeated:
deps.append(":{}".format(repeated_lib_name))
%>\
${cc_library_internal(lib.name, indent, sources, deps, extra_stuff, [])}
% if repeated:
# There are some .cc files that are in multiple places. GN doesn't like
# that. Moving them to another target.
${cc_library_internal(repeated_lib_name, indent, repeated, repeated_deps, extra_stuff, [])}
% endif
</%def>\
<%def name="cc_library_internal(name, indent, sources, lib_deps, extra_stuff, extra_configs)">\
<%
include_dirs = get_include_dirs(sources)
lib_deps += get_deps_from_sources(sources)
lib_deps = gn_sort(lib_deps)
sources = gn_sort(sources)
sources = get_commented_sources(sources)
%>\
${indent}source_set("${name}") {
% if sources:
${indent} sources = [
% for src in sources:
${indent} ${src}
% endfor
${indent} ]
% endif
% if lib_deps:
${indent} deps = [
% for dep in lib_deps:
${indent} "${dep}",
% endfor
${indent} ]
% endif
${indent} public_configs = [
${indent} ":grpc_config",
${indent} ]
% if extra_configs:
${indent} configs += [
% for config in extra_configs:
${indent} "${config}",
% endfor
${indent} ]
% endif
% if include_dirs:
${indent} include_dirs = [
% for d in include_dirs:
${indent} "${d}",
% endfor
${indent} ]
% endif
% if extra_stuff:
% for e in extra_stuff:
${indent} ${e}
% endfor
% endif
${indent}}\
</%def>
<%def name="cc_binary(tgt, indent)">\
<%
sources = ["src/"+s for s in tgt.src]
sources = gn_sort(sources)
deps = get_deps_from_target(tgt) + get_deps_from_sources(sources)
deps = gn_sort(deps)
%>
${indent}executable("${tgt.name}") {
${indent} sources = [
% for src in sources:
${indent} "${src}",
% endfor
${indent} ]
${indent} deps = [
% for dep in deps:
${indent} "${dep}",
% endfor
${indent} ]
${indent} configs += [
${indent} "//third_party/protobuf:protobuf_config",
${indent} ]
${indent} public_configs = [ ":grpc_config" ]
${indent}}
</%def><%!
%>\
<%doc>
Manual targets
</%doc>\
config("cares_config") {
cflags = [
"-Wno-macro-redefined",
"-Wno-unused-variable",
]
}
source_set("cares") {
sources = [
"src/third_party/cares/ares_build.h",
]
if (enable_grpc_ares) {
sources += [
% for src in cares_sources:
"${src}",
% endfor
]
}
if (is_android) {
sources += [ "src/third_party/cares/config_android/ares_config.h" ]
configs += [ ":cares_config" ]
} else if (is_fuchsia) {
sources += [ "third_party/cares/config_fuchsia/ares_config.h" ]
} else {
sources += [ "src/third_party/cares/config_linux/ares_config.h" ]
}
deps = [
"//third_party/boringssl",
]
public_configs = [ ":grpc_config" ]
}
group("fuzzers") {}
/* ares_config.h. Generated from ares_config.h.in by configure. */
/* ares_config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* define this if ares is built for a big endian system */
/* #undef ARES_BIG_ENDIAN */
/* when building as static part of libcurl */
/* #undef BUILDING_LIBCURL */
/* Defined for build that exposes internal static functions for testing. */
/* #undef CARES_EXPOSE_STATICS */
/* Defined for build with symbol hiding. */
#define CARES_SYMBOL_HIDING 1
/* Definition to make a library symbol externally visible. */
#define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default")))
/* the signed version of size_t */
#define CARES_TYPEOF_ARES_SSIZE_T ssize_t
/* Use resolver library to configure cares */
/* #undef CARES_USE_LIBRESOLV */
/* if a /etc/inet dir is being used */
/* #undef ETC_INET */
/* Define to the type of arg 2 for gethostname. */
#define GETHOSTNAME_TYPE_ARG2 size_t
/* Define to the type qualifier of arg 1 for getnameinfo. */
#define GETNAMEINFO_QUAL_ARG1 const
/* Define to the type of arg 1 for getnameinfo. */
#define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
/* Define to the type of arg 2 for getnameinfo. */
#define GETNAMEINFO_TYPE_ARG2 socklen_t
/* Define to the type of args 4 and 6 for getnameinfo. */
#define GETNAMEINFO_TYPE_ARG46 socklen_t
/* Define to the type of arg 7 for getnameinfo. */
#define GETNAMEINFO_TYPE_ARG7 int
/* Specifies the number of arguments to getservbyport_r */
#define GETSERVBYPORT_R_ARGS 6
/* Specifies the size of the buffer to pass to getservbyport_r */
#define GETSERVBYPORT_R_BUFSIZE 4096
/* Define to 1 if you have AF_INET6. */
#define HAVE_AF_INET6 1
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
#define HAVE_ARPA_NAMESER_COMPAT_H 1
/* Define to 1 if you have the <arpa/nameser.h> header file. */
#define HAVE_ARPA_NAMESER_H 1
/* Define to 1 if you have the <assert.h> header file. */
#define HAVE_ASSERT_H 1
/* Define to 1 if you have the `bitncmp' function. */
/* #undef HAVE_BITNCMP */
/* Define to 1 if bool is an available type. */
#define HAVE_BOOL_T 1
/* Define to 1 if you have the clock_gettime function and monotonic timer. */
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
/* Define to 1 if you have the closesocket function. */
/* #undef HAVE_CLOSESOCKET */
/* Define to 1 if you have the CloseSocket camel case function. */
/* #undef HAVE_CLOSESOCKET_CAMEL */
/* Define to 1 if you have the connect function. */
#define HAVE_CONNECT 1
/* define if the compiler supports basic C++11 syntax */
#define HAVE_CXX11 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
/* Define to 1 if you have the fcntl function. */
#define HAVE_FCNTL 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have a working fcntl O_NONBLOCK function. */
#define HAVE_FCNTL_O_NONBLOCK 1
/* Define to 1 if you have the freeaddrinfo function. */
#define HAVE_FREEADDRINFO 1
/* Define to 1 if you have a working getaddrinfo function. */
#define HAVE_GETADDRINFO 1
/* Define to 1 if the getaddrinfo function is threadsafe. */
#define HAVE_GETADDRINFO_THREADSAFE 1
/* Define to 1 if you have the getenv function. */
#define HAVE_GETENV 1
/* Define to 1 if you have the gethostbyaddr function. */
#define HAVE_GETHOSTBYADDR 1
/* Define to 1 if you have the gethostbyname function. */
#define HAVE_GETHOSTBYNAME 1
/* Define to 1 if you have the gethostname function. */
#define HAVE_GETHOSTNAME 1
/* Define to 1 if you have the getnameinfo function. */
#define HAVE_GETNAMEINFO 1
/* Define to 1 if you have the getservbyport_r function. */
#define HAVE_GETSERVBYPORT_R 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the `if_indextoname' function. */
#define HAVE_IF_INDEXTONAME 1
/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */
/* #undef HAVE_INET_NET_PTON */
/* Define to 1 if you have a IPv6 capable working inet_ntop function. */
#define HAVE_INET_NTOP 1
/* Define to 1 if you have a IPv6 capable working inet_pton function. */
#define HAVE_INET_PTON 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the ioctl function. */
#define HAVE_IOCTL 1
/* Define to 1 if you have the ioctlsocket function. */
/* #undef HAVE_IOCTLSOCKET */
/* Define to 1 if you have the IoctlSocket camel case function. */
/* #undef HAVE_IOCTLSOCKET_CAMEL */
/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
*/
/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */
/* Define to 1 if you have a working ioctlsocket FIONBIO function. */
/* #undef HAVE_IOCTLSOCKET_FIONBIO */
/* Define to 1 if you have a working ioctl FIONBIO function. */
#define HAVE_IOCTL_FIONBIO 1
/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
#define HAVE_IOCTL_SIOCGIFADDR 1
/* Define to 1 if you have the `resolve' library (-lresolve). */
/* #undef HAVE_LIBRESOLVE */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* if your compiler supports LL */
#define HAVE_LL 1
/* Define to 1 if the compiler supports the 'long long' data type. */
#define HAVE_LONGLONG 1
/* Define to 1 if you have the malloc.h header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the memory.h header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the MSG_NOSIGNAL flag. */
/* #undef HAVE_MSG_NOSIGNAL 1 */
/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the <netinet/tcp.h> header file. */
#define HAVE_NETINET_TCP_H 1
/* Define to 1 if you have the <net/if.h> header file. */
#define HAVE_NET_IF_H 1
/* Define to 1 if you have PF_INET6. */
#define HAVE_PF_INET6 1
/* Define to 1 if you have the recv function. */
#define HAVE_RECV 1
/* Define to 1 if you have the recvfrom function. */
#define HAVE_RECVFROM 1
/* Define to 1 if you have the send function. */
#define HAVE_SEND 1
/* Define to 1 if you have the setsockopt function. */
#define HAVE_SETSOCKOPT 1
/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 0
/* Define to 1 if sig_atomic_t is an available typedef. */
#define HAVE_SIG_ATOMIC_T 1
/* Define to 1 if sig_atomic_t is already defined as volatile. */
/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */
/* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
/* Define to 1 if you have the socket function. */
#define HAVE_SOCKET 1
/* Define to 1 if you have the <socket.h> header file. */
/* #undef HAVE_SOCKET_H */
/* Define to 1 if you have the <stdbool.h> header file. */
#define HAVE_STDBOOL_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the strcasecmp function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the strcmpi function. */
/* #undef HAVE_STRCMPI */
/* Define to 1 if you have the strdup function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the stricmp function. */
/* #undef HAVE_STRICMP */
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the strncasecmp function. */
#define HAVE_STRNCASECMP 1
/* Define to 1 if you have the strncmpi function. */
/* #undef HAVE_STRNCMPI */
/* Define to 1 if you have the strnicmp function. */
/* #undef HAVE_STRNICMP */
/* Define to 1 if you have the <stropts.h> header file. */
#define HAVE_STROPTS_H 1
/* Define to 1 if you have struct addrinfo. */
#define HAVE_STRUCT_ADDRINFO 1
/* Define to 1 if you have struct in6_addr. */
#define HAVE_STRUCT_IN6_ADDR 1
/* Define to 1 if you have struct sockaddr_in6. */
#define HAVE_STRUCT_SOCKADDR_IN6 1
/* if struct sockaddr_storage is defined */
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
/* Define to 1 if you have the timeval struct. */
#define HAVE_STRUCT_TIMEVAL 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/uio.h> header file. */
#define HAVE_SYS_UIO_H 1
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the windows.h header file. */
/* #undef HAVE_WINDOWS_H */
/* Define to 1 if you have the winsock2.h header file. */
/* #undef HAVE_WINSOCK2_H */
/* Define to 1 if you have the winsock.h header file. */
/* #undef HAVE_WINSOCK_H */
/* Define to 1 if you have the writev function. */
#define HAVE_WRITEV 1
/* Define to 1 if you have the ws2tcpip.h header file. */
/* #undef HAVE_WS2TCPIP_H */
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* Define to 1 if you need the malloc.h header file even with stdlib.h */
/* #undef NEED_MALLOC_H */
/* Define to 1 if you need the memory.h header file even with stdlib.h */
/* #undef NEED_MEMORY_H */
/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
/* #undef NEED_REENTRANT */
/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */
/* #undef NEED_THREAD_SAFE */
/* cpu-machine-OS */
#if defined(__Fuchsia__)
#if defined(__aarch64__)
#define OS "aarch64-unknown-fuchsia"
#elif defined(__x86_64__)
#define OS "x86_64-unknown-fuchsia"
#else
#error Unsupported architecture
#endif
#else
#error Unsupported OS
#endif
/* Name of package */
#define PACKAGE "c-ares"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
/* Define to the full name of this package. */
#define PACKAGE_NAME "c-ares"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "c-ares -"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "c-ares"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "-"
/* a suitable file/device to read random data from */
#define RANDOM_FILE "/dev/urandom"
/* Define to the type qualifier pointed by arg 5 for recvfrom. */
#define RECVFROM_QUAL_ARG5
/* Define to the type of arg 1 for recvfrom. */
#define RECVFROM_TYPE_ARG1 int
/* Define to the type pointed by arg 2 for recvfrom. */
#define RECVFROM_TYPE_ARG2 void
/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
#define RECVFROM_TYPE_ARG2_IS_VOID 1
/* Define to the type of arg 3 for recvfrom. */
#define RECVFROM_TYPE_ARG3 size_t
/* Define to the type of arg 4 for recvfrom. */
#define RECVFROM_TYPE_ARG4 int
/* Define to the type pointed by arg 5 for recvfrom. */
#define RECVFROM_TYPE_ARG5 struct sockaddr
/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
/* #undef RECVFROM_TYPE_ARG5_IS_VOID */
/* Define to the type pointed by arg 6 for recvfrom. */
#define RECVFROM_TYPE_ARG6 socklen_t
/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
/* #undef RECVFROM_TYPE_ARG6_IS_VOID */
/* Define to the function return type for recvfrom. */
#define RECVFROM_TYPE_RETV ssize_t
/* Define to the type of arg 1 for recv. */
#define RECV_TYPE_ARG1 int
/* Define to the type of arg 2 for recv. */
#define RECV_TYPE_ARG2 void *
/* Define to the type of arg 3 for recv. */
#define RECV_TYPE_ARG3 size_t
/* Define to the type of arg 4 for recv. */
#define RECV_TYPE_ARG4 int
/* Define to the function return type for recv. */
#define RECV_TYPE_RETV ssize_t
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* Define to the type qualifier of arg 2 for send. */
#define SEND_QUAL_ARG2 const
/* Define to the type of arg 1 for send. */
#define SEND_TYPE_ARG1 int
/* Define to the type of arg 2 for send. */
#define SEND_TYPE_ARG2 void *
/* Define to the type of arg 3 for send. */
#define SEND_TYPE_ARG3 size_t
/* Define to the type of arg 4 for send. */
#define SEND_TYPE_ARG4 int
/* Define to the function return type for send. */
#define SEND_TYPE_RETV ssize_t
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Define to disable non-blocking sockets. */
/* #undef USE_BLOCKING_SOCKETS */
/* Version number of package */
#define VERSION "-"
/* Define to avoid automatic inclusion of winsock.h */
/* #undef WIN32_LEAN_AND_MEAN */
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
#endif
/* Define to 1 if OS is AIX. */
#ifndef _ALL_SOURCE
/* # undef _ALL_SOURCE */
#endif
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Type to use in place of in_addr_t when system does not provide it. */
/* #undef in_addr_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment