package { default_applicable_licenses: ["external_grpc-grpc_license"], } // Added automatically by a large-scale-change that took the approach of // 'apply every license found to every target'. While this makes sure we respect // every license restriction, it may not be entirely correct. // // e.g. GPL in an MIT project might only apply to the contrib/ directory. // // Please consider splitting the single license below into multiple licenses, // taking care not to lose any license_kind information, and overriding the // default license using the 'licenses: [...]' property on targets as needed. // // For unused files, consider creating a 'fileGroup' with "//visibility:private" // to attach the license to, and including a comment whether the files may be // used in the current project. // // large-scale-change included anything that looked like it might be a license // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. // // Please consider removing redundant or irrelevant files from 'license_text:'. // See: http://go/android-license-faq license { name: "external_grpc-grpc_license", visibility: [":__subpackages__"], license_kinds: [ "SPDX-license-identifier-Apache-2.0", "SPDX-license-identifier-BSD", "SPDX-license-identifier-ISC", "SPDX-license-identifier-MIT", "SPDX-license-identifier-MPL-2.0", "SPDX-license-identifier-Zlib", "legacy_unencumbered", ], license_text: [ "LICENSE", "NOTICE.txt", ], } // Replicating the target structure from the upstream BUILD file is tedious // and requires updating the APEX dependency list on every upgrade. Instead, // we use the script update_android_bp.sh, which queries the source files with // Bazel and uses "diff" to construct the common, secure and unsecure source // file lists. // Proto files with service definitions have to be handled separately, but // fortunately there are much fewer of them. // file_lists_start // Autogenerated by update_android_bp.sh, do not modify. GRPC_COMMON_SRCS = [ "src/core/ext/filters/backend_metrics/backend_metric_filter.cc", "src/core/ext/filters/census/grpc_context.cc", "src/core/ext/filters/channel_idle/channel_idle_filter.cc", "src/core/ext/filters/channel_idle/idle_filter_state.cc", "src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc", "src/core/ext/filters/client_channel/backend_metric.cc", "src/core/ext/filters/client_channel/backup_poller.cc", "src/core/ext/filters/client_channel/channel_connectivity.cc", "src/core/ext/filters/client_channel/client_channel.cc", "src/core/ext/filters/client_channel/client_channel_channelz.cc", "src/core/ext/filters/client_channel/client_channel_factory.cc", "src/core/ext/filters/client_channel/client_channel_plugin.cc", "src/core/ext/filters/client_channel/client_channel_service_config.cc", "src/core/ext/filters/client_channel/config_selector.cc", "src/core/ext/filters/client_channel/dynamic_filters.cc", "src/core/ext/filters/client_channel/global_subchannel_pool.cc", "src/core/ext/filters/client_channel/http_proxy_mapper.cc", "src/core/ext/filters/client_channel/lb_policy/address_filtering.cc", "src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc", "src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc", "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc", "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc", "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc", "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc", "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc", "src/core/ext/filters/client_channel/lb_policy/health_check_client.cc", "src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc", "src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc", "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc", "src/core/ext/filters/client_channel/lb_policy/priority/priority.cc", "src/core/ext/filters/client_channel/lb_policy/rls/rls.cc", "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc", "src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/static_stride_scheduler.cc", "src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc", "src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc", "src/core/ext/filters/client_channel/local_subchannel_pool.cc", "src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc", "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc", "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc", "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc", "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc", "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc", "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc", "src/core/ext/filters/client_channel/resolver/dns/dns_resolver_plugin.cc", "src/core/ext/filters/client_channel/resolver/dns/event_engine/event_engine_client_channel_resolver.cc", "src/core/ext/filters/client_channel/resolver/dns/event_engine/service_config_helper.cc", "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc", "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc", "src/core/ext/filters/client_channel/resolver/polling_resolver.cc", "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc", "src/core/ext/filters/client_channel/retry_filter.cc", "src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc", "src/core/ext/filters/client_channel/retry_service_config.cc", "src/core/ext/filters/client_channel/retry_throttle.cc", "src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc", "src/core/ext/filters/client_channel/subchannel.cc", "src/core/ext/filters/client_channel/subchannel_pool_interface.cc", "src/core/ext/filters/client_channel/subchannel_stream_client.cc", "src/core/ext/filters/deadline/deadline_filter.cc", "src/core/ext/filters/fault_injection/fault_injection_filter.cc", "src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc", "src/core/ext/filters/http/client_authority_filter.cc", "src/core/ext/filters/http/client/http_client_filter.cc", "src/core/ext/filters/http/http_filters_plugin.cc", "src/core/ext/filters/http/message_compress/compression_filter.cc", "src/core/ext/filters/http/message_compress/legacy_compression_filter.cc", "src/core/ext/filters/http/server/http_server_filter.cc", "src/core/ext/filters/message_size/message_size_filter.cc", "src/core/ext/transport/chttp2/client/chttp2_connector.cc", "src/core/ext/transport/chttp2/server/chttp2_server.cc", "src/core/ext/transport/chttp2/transport/bin_decoder.cc", "src/core/ext/transport/chttp2/transport/bin_encoder.cc", "src/core/ext/transport/chttp2/transport/chttp2_transport.cc", "src/core/ext/transport/chttp2/transport/decode_huff.cc", "src/core/ext/transport/chttp2/transport/flow_control.cc", "src/core/ext/transport/chttp2/transport/frame.cc", "src/core/ext/transport/chttp2/transport/frame_data.cc", "src/core/ext/transport/chttp2/transport/frame_goaway.cc", "src/core/ext/transport/chttp2/transport/frame_ping.cc", "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc", "src/core/ext/transport/chttp2/transport/frame_settings.cc", "src/core/ext/transport/chttp2/transport/frame_window_update.cc", "src/core/ext/transport/chttp2/transport/hpack_encoder.cc", "src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc", "src/core/ext/transport/chttp2/transport/hpack_parser.cc", "src/core/ext/transport/chttp2/transport/hpack_parse_result.cc", "src/core/ext/transport/chttp2/transport/hpack_parser_table.cc", "src/core/ext/transport/chttp2/transport/http2_settings.cc", "src/core/ext/transport/chttp2/transport/http_trace.cc", "src/core/ext/transport/chttp2/transport/huffsyms.cc", "src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc", "src/core/ext/transport/chttp2/transport/parsing.cc", "src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc", "src/core/ext/transport/chttp2/transport/ping_callbacks.cc", "src/core/ext/transport/chttp2/transport/ping_rate_policy.cc", "src/core/ext/transport/chttp2/transport/stream_lists.cc", "src/core/ext/transport/chttp2/transport/varint.cc", "src/core/ext/transport/chttp2/transport/write_size_policy.cc", "src/core/ext/transport/chttp2/transport/writing.cc", "src/core/ext/transport/inproc/inproc_plugin.cc", "src/core/ext/transport/inproc/inproc_transport.cc", "src/core/ext/transport/inproc/legacy_inproc_transport.cc", "src/core/lib/address_utils/parse_address.cc", "src/core/lib/address_utils/sockaddr_utils.cc", "src/core/lib/backoff/backoff.cc", "src/core/lib/backoff/random_early_detection.cc", "src/core/lib/channel/call_tracer.cc", "src/core/lib/channel/channel_args.cc", "src/core/lib/channel/channel_args_preconditioning.cc", "src/core/lib/channel/channel_stack_builder.cc", "src/core/lib/channel/channel_stack_builder_impl.cc", "src/core/lib/channel/channel_stack.cc", "src/core/lib/channel/channel_stack_trace.cc", "src/core/lib/channel/channel_trace.cc", "src/core/lib/channel/channelz.cc", "src/core/lib/channel/channelz_registry.cc", "src/core/lib/channel/connected_channel.cc", "src/core/lib/channel/promise_based_filter.cc", "src/core/lib/channel/server_call_tracer_filter.cc", "src/core/lib/channel/status_util.cc", "src/core/lib/compression/compression.cc", "src/core/lib/compression/compression_internal.cc", "src/core/lib/compression/message_compress.cc", "src/core/lib/config/config_vars.cc", "src/core/lib/config/config_vars_non_generated.cc", "src/core/lib/config/core_configuration.cc", "src/core/lib/config/load_config.cc", "src/core/lib/debug/event_log.cc", "src/core/lib/debug/histogram_view.cc", "src/core/lib/debug/stats.cc", "src/core/lib/debug/stats_data.cc", "src/core/lib/debug/trace.cc", "src/core/lib/event_engine/ares_resolver.cc", "src/core/lib/event_engine/channel_args_endpoint_config.cc", "src/core/lib/event_engine/default_event_engine.cc", "src/core/lib/event_engine/default_event_engine_factory.cc", "src/core/lib/event_engine/event_engine.cc", "src/core/lib/event_engine/forkable.cc", "src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc", "src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc", "src/core/lib/event_engine/posix_engine/ev_poll_posix.cc", "src/core/lib/event_engine/posix_engine/internal_errqueue.cc", "src/core/lib/event_engine/posix_engine/lockfree_event.cc", "src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc", "src/core/lib/event_engine/posix_engine/posix_endpoint.cc", "src/core/lib/event_engine/posix_engine/posix_engine.cc", "src/core/lib/event_engine/posix_engine/posix_engine_listener.cc", "src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc", "src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc", "src/core/lib/event_engine/posix_engine/timer.cc", "src/core/lib/event_engine/posix_engine/timer_heap.cc", "src/core/lib/event_engine/posix_engine/timer_manager.cc", "src/core/lib/event_engine/posix_engine/traced_buffer_list.cc", "src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc", "src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc", "src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc", "src/core/lib/event_engine/resolved_address.cc", "src/core/lib/event_engine/shim.cc", "src/core/lib/event_engine/slice_buffer.cc", "src/core/lib/event_engine/slice.cc", "src/core/lib/event_engine/tcp_socket_utils.cc", "src/core/lib/event_engine/thread_local.cc", "src/core/lib/event_engine/thread_pool/thread_count.cc", "src/core/lib/event_engine/thread_pool/thread_pool_factory.cc", "src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc", "src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc", "src/core/lib/event_engine/time_util.cc", "src/core/lib/event_engine/trace.cc", "src/core/lib/event_engine/utils.cc", "src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc", "src/core/lib/event_engine/windows/iocp.cc", "src/core/lib/event_engine/windows/native_windows_dns_resolver.cc", "src/core/lib/event_engine/windows/windows_endpoint.cc", "src/core/lib/event_engine/windows/windows_engine.cc", "src/core/lib/event_engine/windows/windows_listener.cc", "src/core/lib/event_engine/windows/win_socket.cc", "src/core/lib/event_engine/work_queue/basic_work_queue.cc", "src/core/lib/experiments/config.cc", "src/core/lib/experiments/experiments.cc", "src/core/lib/gpr/alloc.cc", "src/core/lib/gpr/android/log.cc", "src/core/lib/gpr/atm.cc", "src/core/lib/gpr/iphone/cpu.cc", "src/core/lib/gpr/linux/cpu.cc", "src/core/lib/gpr/linux/log.cc", "src/core/lib/gpr/log.cc", "src/core/lib/gpr/msys/tmpfile.cc", "src/core/lib/gpr/posix/cpu.cc", "src/core/lib/gpr/posix/log.cc", "src/core/lib/gpr/posix/string.cc", "src/core/lib/gpr/posix/sync.cc", "src/core/lib/gpr/posix/time.cc", "src/core/lib/gpr/posix/tmpfile.cc", "src/core/lib/gprpp/crash.cc", "src/core/lib/gprpp/examine_stack.cc", "src/core/lib/gprpp/fork.cc", "src/core/lib/gprpp/host_port.cc", "src/core/lib/gprpp/linux/env.cc", "src/core/lib/gprpp/load_file.cc", "src/core/lib/gprpp/mpscq.cc", "src/core/lib/gprpp/per_cpu.cc", "src/core/lib/gprpp/posix/env.cc", "src/core/lib/gprpp/posix/stat.cc", "src/core/lib/gprpp/posix/thd.cc", "src/core/lib/gprpp/ref_counted_string.cc", "src/core/lib/gprpp/status_helper.cc", "src/core/lib/gprpp/strerror.cc", "src/core/lib/gprpp/tchar.cc", "src/core/lib/gprpp/time_averaged_stats.cc", "src/core/lib/gprpp/time.cc", "src/core/lib/gprpp/time_util.cc", "src/core/lib/gprpp/validation_errors.cc", "src/core/lib/gprpp/windows/env.cc", "src/core/lib/gprpp/windows/stat.cc", "src/core/lib/gprpp/windows/thd.cc", "src/core/lib/gprpp/work_serializer.cc", "src/core/lib/gpr/string.cc", "src/core/lib/gpr/sync_abseil.cc", "src/core/lib/gpr/sync.cc", "src/core/lib/gpr/time.cc", "src/core/lib/gpr/time_precise.cc", "src/core/lib/gpr/windows/cpu.cc", "src/core/lib/gpr/windows/log.cc", "src/core/lib/gpr/windows/string.cc", "src/core/lib/gpr/windows/string_util.cc", "src/core/lib/gpr/windows/sync.cc", "src/core/lib/gpr/windows/time.cc", "src/core/lib/gpr/windows/tmpfile.cc", "src/core/lib/handshaker/proxy_mapper_registry.cc", "src/core/lib/http/format_request.cc", "src/core/lib/http/httpcli.cc", "src/core/lib/http/parser.cc", "src/core/lib/iomgr/buffer_list.cc", "src/core/lib/iomgr/call_combiner.cc", "src/core/lib/iomgr/cfstream_handle.cc", "src/core/lib/iomgr/closure.cc", "src/core/lib/iomgr/combiner.cc", "src/core/lib/iomgr/dualstack_socket_posix.cc", "src/core/lib/iomgr/endpoint.cc", "src/core/lib/iomgr/endpoint_cfstream.cc", "src/core/lib/iomgr/endpoint_pair_posix.cc", "src/core/lib/iomgr/endpoint_pair_windows.cc", "src/core/lib/iomgr/error.cc", "src/core/lib/iomgr/error_cfstream.cc", "src/core/lib/iomgr/ev_apple.cc", "src/core/lib/iomgr/event_engine_shims/closure.cc", "src/core/lib/iomgr/event_engine_shims/endpoint.cc", "src/core/lib/iomgr/event_engine_shims/tcp_client.cc", "src/core/lib/iomgr/ev_epoll1_linux.cc", "src/core/lib/iomgr/ev_poll_posix.cc", "src/core/lib/iomgr/ev_posix.cc", "src/core/lib/iomgr/ev_windows.cc", "src/core/lib/iomgr/exec_ctx.cc", "src/core/lib/iomgr/executor.cc", "src/core/lib/iomgr/fork_posix.cc", "src/core/lib/iomgr/fork_windows.cc", "src/core/lib/iomgr/gethostname_fallback.cc", "src/core/lib/iomgr/gethostname_host_name_max.cc", "src/core/lib/iomgr/gethostname_sysconf.cc", "src/core/lib/iomgr/grpc_if_nametoindex_posix.cc", "src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc", "src/core/lib/iomgr/internal_errqueue.cc", "src/core/lib/iomgr/iocp_windows.cc", "src/core/lib/iomgr/iomgr.cc", "src/core/lib/iomgr/iomgr_internal.cc", "src/core/lib/iomgr/iomgr_posix.cc", "src/core/lib/iomgr/iomgr_posix_cfstream.cc", "src/core/lib/iomgr/iomgr_windows.cc", "src/core/lib/iomgr/load_file.cc", "src/core/lib/iomgr/lockfree_event.cc", "src/core/lib/iomgr/polling_entity.cc", "src/core/lib/iomgr/pollset.cc", "src/core/lib/iomgr/pollset_set.cc", "src/core/lib/iomgr/pollset_set_windows.cc", "src/core/lib/iomgr/pollset_windows.cc", "src/core/lib/iomgr/resolve_address.cc", "src/core/lib/iomgr/resolve_address_posix.cc", "src/core/lib/iomgr/resolve_address_windows.cc", "src/core/lib/iomgr/sockaddr_utils_posix.cc", "src/core/lib/iomgr/socket_factory_posix.cc", "src/core/lib/iomgr/socket_mutator.cc", "src/core/lib/iomgr/socket_utils_common_posix.cc", "src/core/lib/iomgr/socket_utils_linux.cc", "src/core/lib/iomgr/socket_utils_posix.cc", "src/core/lib/iomgr/socket_utils_windows.cc", "src/core/lib/iomgr/socket_windows.cc", "src/core/lib/iomgr/systemd_utils.cc", "src/core/lib/iomgr/tcp_client.cc", "src/core/lib/iomgr/tcp_client_cfstream.cc", "src/core/lib/iomgr/tcp_client_posix.cc", "src/core/lib/iomgr/tcp_client_windows.cc", "src/core/lib/iomgr/tcp_posix.cc", "src/core/lib/iomgr/tcp_server.cc", "src/core/lib/iomgr/tcp_server_posix.cc", "src/core/lib/iomgr/tcp_server_utils_posix_common.cc", "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc", "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc", "src/core/lib/iomgr/tcp_server_windows.cc", "src/core/lib/iomgr/tcp_windows.cc", "src/core/lib/iomgr/timer.cc", "src/core/lib/iomgr/timer_generic.cc", "src/core/lib/iomgr/timer_heap.cc", "src/core/lib/iomgr/timer_manager.cc", "src/core/lib/iomgr/unix_sockets_posix.cc", "src/core/lib/iomgr/unix_sockets_posix_noop.cc", "src/core/lib/iomgr/vsock.cc", "src/core/lib/iomgr/wakeup_fd_eventfd.cc", "src/core/lib/iomgr/wakeup_fd_nospecial.cc", "src/core/lib/iomgr/wakeup_fd_pipe.cc", "src/core/lib/iomgr/wakeup_fd_posix.cc", "src/core/lib/json/json_object_loader.cc", "src/core/lib/json/json_reader.cc", "src/core/lib/json/json_writer.cc", "src/core/lib/load_balancing/lb_policy.cc", "src/core/lib/load_balancing/lb_policy_registry.cc", "src/core/lib/promise/activity.cc", "src/core/lib/promise/party.cc", "src/core/lib/promise/sleep.cc", "src/core/lib/promise/trace.cc", "src/core/lib/resolver/endpoint_addresses.cc", "src/core/lib/resolver/resolver.cc", "src/core/lib/resolver/resolver_registry.cc", "src/core/lib/resource_quota/api.cc", "src/core/lib/resource_quota/arena.cc", "src/core/lib/resource_quota/memory_quota.cc", "src/core/lib/resource_quota/periodic_update.cc", "src/core/lib/resource_quota/resource_quota.cc", "src/core/lib/resource_quota/thread_quota.cc", "src/core/lib/resource_quota/trace.cc", "src/core/lib/security/authorization/authorization_policy_provider_vtable.cc", "src/core/lib/security/authorization/evaluate_args.cc", "src/core/lib/security/authorization/grpc_server_authz_filter.cc", "src/core/lib/security/certificate_provider/certificate_provider_registry.cc", "src/core/lib/security/context/security_context.cc", "src/core/lib/security/credentials/alts/check_gcp_environment.cc", "src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc", "src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc", "src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc", "src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc", "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc", "src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc", "src/core/lib/security/credentials/call_creds_util.cc", "src/core/lib/security/credentials/composite/composite_credentials.cc", "src/core/lib/security/credentials/credentials.cc", "src/core/lib/security/credentials/fake/fake_credentials.cc", "src/core/lib/security/credentials/insecure/insecure_credentials.cc", "src/core/lib/security/credentials/plugin/plugin_credentials.cc", "src/core/lib/security/credentials/tls/tls_utils.cc", "src/core/lib/security/security_connector/fake/fake_security_connector.cc", "src/core/lib/security/security_connector/insecure/insecure_security_connector.cc", "src/core/lib/security/security_connector/load_system_roots_fallback.cc", "src/core/lib/security/security_connector/load_system_roots_supported.cc", "src/core/lib/security/security_connector/security_connector.cc", "src/core/lib/security/transport/client_auth_filter.cc", "src/core/lib/security/transport/legacy_server_auth_filter.cc", "src/core/lib/security/transport/secure_endpoint.cc", "src/core/lib/security/transport/security_handshaker.cc", "src/core/lib/security/transport/server_auth_filter.cc", "src/core/lib/security/transport/tsi_error.cc", "src/core/lib/security/util/json_util.cc", "src/core/lib/service_config/service_config_impl.cc", "src/core/lib/service_config/service_config_parser.cc", "src/core/lib/slice/b64.cc", "src/core/lib/slice/percent_encoding.cc", "src/core/lib/slice/slice_buffer.cc", "src/core/lib/slice/slice.cc", "src/core/lib/slice/slice_refcount.cc", "src/core/lib/slice/slice_string_helpers.cc", "src/core/lib/surface/api_trace.cc", "src/core/lib/surface/builtins.cc", "src/core/lib/surface/byte_buffer.cc", "src/core/lib/surface/byte_buffer_reader.cc", "src/core/lib/surface/call.cc", "src/core/lib/surface/call_details.cc", "src/core/lib/surface/call_log_batch.cc", "src/core/lib/surface/call_trace.cc", "src/core/lib/surface/channel.cc", "src/core/lib/surface/channel_init.cc", "src/core/lib/surface/channel_ping.cc", "src/core/lib/surface/channel_stack_type.cc", "src/core/lib/surface/completion_queue.cc", "src/core/lib/surface/completion_queue_factory.cc", "src/core/lib/surface/event_string.cc", "src/core/lib/surface/init.cc", "src/core/lib/surface/init_internally.cc", "src/core/lib/surface/lame_client.cc", "src/core/lib/surface/metadata_array.cc", "src/core/lib/surface/server.cc", "src/core/lib/surface/validate_metadata.cc", "src/core/lib/surface/version.cc", "src/core/lib/transport/batch_builder.cc", "src/core/lib/transport/bdp_estimator.cc", "src/core/lib/transport/call_final_info.cc", "src/core/lib/transport/connectivity_state.cc", "src/core/lib/transport/error_utils.cc", "src/core/lib/transport/handshaker.cc", "src/core/lib/transport/handshaker_registry.cc", "src/core/lib/transport/http_connect_handshaker.cc", "src/core/lib/transport/metadata_batch.cc", "src/core/lib/transport/parsed_metadata.cc", "src/core/lib/transport/status_conversion.cc", "src/core/lib/transport/tcp_connect_handshaker.cc", "src/core/lib/transport/timeout_encoding.cc", "src/core/lib/transport/transport.cc", "src/core/lib/transport/transport_op_string.cc", "src/core/lib/uri/uri_parser.cc", "src/core/plugin_registry/grpc_plugin_registry.cc", "src/core/tsi/alts/handshaker/transport_security_common_api.cc", "src/core/tsi/fake_transport_security.cc", "src/core/tsi/local_transport_security.cc", "src/core/tsi/transport_security.cc", "src/core/tsi/transport_security_grpc.cc", "src/cpp/client/channel_cc.cc", "src/cpp/client/client_callback.cc", "src/cpp/client/client_context.cc", "src/cpp/client/client_interceptor.cc", "src/cpp/client/client_stats_interceptor.cc", "src/cpp/client/create_channel.cc", "src/cpp/client/create_channel_internal.cc", "src/cpp/client/create_channel_posix.cc", "src/cpp/client/insecure_credentials.cc", "src/cpp/common/alarm.cc", "src/cpp/common/channel_arguments.cc", "src/cpp/common/completion_queue_cc.cc", "src/cpp/common/resource_quota_cc.cc", "src/cpp/common/rpc_method.cc", "src/cpp/common/validate_service_config.cc", "src/cpp/common/version_cc.cc", "src/cpp/server/async_generic_service.cc", "src/cpp/server/backend_metric_recorder.cc", "src/cpp/server/channel_argument_option.cc", "src/cpp/server/create_default_thread_pool.cc", "src/cpp/server/external_connection_acceptor_impl.cc", "src/cpp/server/health/default_health_check_service.cc", "src/cpp/server/health/health_check_service.cc", "src/cpp/server/health/health_check_service_server_builder_option.cc", "src/cpp/server/insecure_server_credentials.cc", "src/cpp/server/server_builder.cc", "src/cpp/server/server_callback.cc", "src/cpp/server/server_cc.cc", "src/cpp/server/server_context.cc", "src/cpp/server/server_posix.cc", "src/cpp/thread_manager/thread_manager.cc", "src/cpp/util/byte_buffer_cc.cc", "src/cpp/util/status.cc", "src/cpp/util/string_ref.cc", "src/cpp/util/time_cc.cc", ] // Autogenerated by update_android_bp.sh, do not modify. GRPC_SECURE_SRCS = [ "src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc", "src/core/ext/filters/client_channel/lb_policy/xds/cds.cc", "src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc", "src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc", "src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc", "src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc", "src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc", "src/core/ext/filters/client_channel/resolver/xds/xds_dependency_manager.cc", "src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc", "src/core/ext/filters/client_channel/resolver/xds/xds_resolver_trace.cc", "src/core/ext/filters/rbac/rbac_filter.cc", "src/core/ext/filters/rbac/rbac_service_config_parser.cc", "src/core/ext/filters/server_config_selector/server_config_selector_filter.cc", "src/core/ext/filters/stateful_session/stateful_session_filter.cc", "src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc", "src/core/ext/gcp/metadata_query.cc", "src/core/ext/transport/binder/client/binder_connector.cc", "src/core/ext/transport/binder/client/channel_create.cc", "src/core/ext/transport/binder/client/channel_create_impl.cc", "src/core/ext/transport/binder/client/connection_id_generator.cc", "src/core/ext/transport/binder/client/endpoint_binder_pool.cc", "src/core/ext/transport/binder/client/jni_utils.cc", "src/core/ext/transport/binder/client/security_policy_setting.cc", "src/core/ext/transport/binder/security_policy/binder_security_policy.cc", "src/core/ext/transport/binder/server/binder_server.cc", "src/core/ext/transport/binder/server/binder_server_credentials.cc", "src/core/ext/transport/binder/transport/binder_transport.cc", "src/core/ext/transport/binder/utils/transport_stream_receiver_impl.cc", "src/core/ext/transport/binder/wire_format/binder_android.cc", "src/core/ext/transport/binder/wire_format/binder_constants.cc", "src/core/ext/transport/binder/wire_format/transaction.cc", "src/core/ext/transport/binder/wire_format/wire_reader_impl.cc", "src/core/ext/transport/binder/wire_format/wire_writer.cc", "src/core/ext/transport/chttp2/alpn/alpn.cc", "src/core/ext/xds/certificate_provider_store.cc", "src/core/ext/xds/file_watcher_certificate_provider_factory.cc", "src/core/ext/xds/xds_api.cc", "src/core/ext/xds/xds_audit_logger_registry.cc", "src/core/ext/xds/xds_bootstrap.cc", "src/core/ext/xds/xds_bootstrap_grpc.cc", "src/core/ext/xds/xds_certificate_provider.cc", "src/core/ext/xds/xds_channel_stack_modifier.cc", "src/core/ext/xds/xds_client.cc", "src/core/ext/xds/xds_client_grpc.cc", "src/core/ext/xds/xds_client_stats.cc", "src/core/ext/xds/xds_cluster.cc", "src/core/ext/xds/xds_cluster_specifier_plugin.cc", "src/core/ext/xds/xds_common_types.cc", "src/core/ext/xds/xds_endpoint.cc", "src/core/ext/xds/xds_health_status.cc", "src/core/ext/xds/xds_http_fault_filter.cc", "src/core/ext/xds/xds_http_filters.cc", "src/core/ext/xds/xds_http_rbac_filter.cc", "src/core/ext/xds/xds_http_stateful_session_filter.cc", "src/core/ext/xds/xds_lb_policy_registry.cc", "src/core/ext/xds/xds_listener.cc", "src/core/ext/xds/xds_route_config.cc", "src/core/ext/xds/xds_routing.cc", "src/core/ext/xds/xds_server_config_fetcher.cc", "src/core/ext/xds/xds_transport_grpc.cc", "src/core/lib/gprpp/posix/directory_reader.cc", "src/core/lib/gprpp/windows/directory_reader.cc", "src/core/lib/http/httpcli_security_connector.cc", "src/core/lib/json/json_util.cc", "src/core/lib/matchers/matchers.cc", "src/core/lib/security/authorization/audit_logging.cc", "src/core/lib/security/authorization/grpc_authorization_engine.cc", "src/core/lib/security/authorization/matchers.cc", "src/core/lib/security/authorization/rbac_policy.cc", "src/core/lib/security/authorization/stdout_logger.cc", "src/core/lib/security/credentials/alts/alts_credentials.cc", "src/core/lib/security/credentials/channel_creds_registry_init.cc", "src/core/lib/security/credentials/external/aws_external_account_credentials.cc", "src/core/lib/security/credentials/external/aws_request_signer.cc", "src/core/lib/security/credentials/external/external_account_credentials.cc", "src/core/lib/security/credentials/external/file_external_account_credentials.cc", "src/core/lib/security/credentials/external/url_external_account_credentials.cc", "src/core/lib/security/credentials/google_default/credentials_generic.cc", "src/core/lib/security/credentials/google_default/google_default_credentials.cc", "src/core/lib/security/credentials/iam/iam_credentials.cc", "src/core/lib/security/credentials/jwt/json_token.cc", "src/core/lib/security/credentials/jwt/jwt_credentials.cc", "src/core/lib/security/credentials/jwt/jwt_verifier.cc", "src/core/lib/security/credentials/local/local_credentials.cc", "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc", "src/core/lib/security/credentials/ssl/ssl_credentials.cc", "src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc", "src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc", "src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc", "src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc", "src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc", "src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc", "src/core/lib/security/credentials/tls/tls_credentials.cc", "src/core/lib/security/credentials/xds/xds_credentials.cc", "src/core/lib/security/security_connector/alts/alts_security_connector.cc", "src/core/lib/security/security_connector/local/local_security_connector.cc", "src/core/lib/security/security_connector/ssl/ssl_security_connector.cc", "src/core/lib/security/security_connector/ssl_utils.cc", "src/core/lib/security/security_connector/tls/tls_security_connector.cc", "src/core/plugin_registry/grpc_plugin_registry_extra.cc", "src/core/tsi/alts/crypt/aes_gcm.cc", "src/core/tsi/alts/crypt/gsec.cc", "src/core/tsi/alts/frame_protector/alts_counter.cc", "src/core/tsi/alts/frame_protector/alts_crypter.cc", "src/core/tsi/alts/frame_protector/alts_frame_protector.cc", "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc", "src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc", "src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc", "src/core/tsi/alts/frame_protector/frame_handler.cc", "src/core/tsi/alts/handshaker/alts_handshaker_client.cc", "src/core/tsi/alts/handshaker/alts_shared_resource.cc", "src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc", "src/core/tsi/alts/handshaker/alts_tsi_utils.cc", "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc", "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc", "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc", "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc", "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc", "src/core/tsi/ssl/key_logging/ssl_key_logging.cc", "src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc", "src/core/tsi/ssl/session_cache/ssl_session_cache.cc", "src/core/tsi/ssl/session_cache/ssl_session_openssl.cc", "src/core/tsi/ssl_transport_security.cc", "src/core/tsi/ssl_transport_security_utils.cc", "src/cpp/client/secure_credentials.cc", "src/cpp/client/xds_credentials.cc", "src/cpp/common/auth_property_iterator.cc", "src/cpp/common/secure_auth_context.cc", "src/cpp/common/secure_channel_arguments.cc", "src/cpp/common/secure_create_auth_context.cc", "src/cpp/common/tls_certificate_provider.cc", "src/cpp/common/tls_certificate_verifier.cc", "src/cpp/common/tls_credentials_options.cc", "src/cpp/server/secure_server_credentials.cc", "src/cpp/server/xds_server_builder.cc", "src/cpp/server/xds_server_credentials.cc", ] // Autogenerated by update_android_bp.sh, do not modify. GRPC_UNSECURE_SRCS = [ "src/core/plugin_registry/grpc_plugin_registry_noextra.cc", "src/cpp/common/insecure_create_auth_context.cc", ] // file_lists_end // Defaults for the bundled dependencies in third_party cc_defaults { name: "grpc_deps_defaults", host_supported: true, vendor_available: true, apex_available: [ "//apex_available:platform", ], visibility: ["//external/grpc-grpc:__subpackages__"], } cc_defaults { name: "grpc_defaults", defaults: ["grpc_deps_defaults"], cflags: [ "-Wno-implicit-fallthrough", "-Wno-missing-field-initializers", "-Wno-unused-parameter", ], header_libs: [ "jni_headers", "libgrpc_third_party_xxhash", ], static_libs: [ "libabsl", "libregex_re2", ], shared_libs: [ "libbinder_ndk", "libz", ], local_include_dirs: [ "include", ], target: { darwin: { cflags: ["-UANDROID"], }, }, } cc_defaults { name: "grpc_version_defaults", target: { vendor: { // Needs to be updated when a new version is imported. suffix: "-1.61.1", }, }, } cc_library_host_static { name: "libgrpc_plugin_support", defaults: ["grpc_defaults"], srcs: [ "src/compiler/cpp_generator.cc", "src/compiler/proto_parser_helper.cc", "src/compiler/python_generator.cc", ], local_include_dirs: [ "include", ], shared_libs: [ "libprotobuf-cpp-full", ], } cc_binary_host { name: "protoc-gen-grpc-cpp-plugin", defaults: ["grpc_defaults"], srcs: [ "src/compiler/cpp_plugin.cc", ], static_libs: [ "libgrpc_plugin_support", ], shared_libs: [ "libprotoc", ], visibility: ["//visibility:public"], } cc_binary_host { name: "protoc-gen-grpc-python-plugin", defaults: ["grpc_defaults"], srcs: [ "src/compiler/python_plugin.cc", ], static_libs: [ "libgrpc_plugin_support", ], shared_libs: [ "libprotoc", ], visibility: ["//visibility:public"], } genrule { name: "reflection_proto_h", tools: [ "aprotoc", "protoc-gen-grpc-cpp-plugin", ], cmd: "$(location aprotoc) -Iexternal/grpc-grpc --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(in) --grpc_out=$(genDir) --cpp_out=$(genDir)", srcs: [ "src/proto/grpc/reflection/v1/reflection.proto", "src/proto/grpc/reflection/v1alpha/reflection.proto", ], out: [ "src/proto/grpc/reflection/v1/reflection.pb.h", "src/proto/grpc/reflection/v1/reflection.grpc.pb.h", "src/proto/grpc/reflection/v1alpha/reflection.pb.h", "src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h", ], } genrule { name: "reflection_proto_cc", tools: [ "aprotoc", "protoc-gen-grpc-cpp-plugin", ], cmd: "$(location aprotoc) -Iexternal/grpc-grpc --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(in) --grpc_out=$(genDir) --cpp_out=$(genDir)", srcs: [ "src/proto/grpc/reflection/v1/reflection.proto", "src/proto/grpc/reflection/v1alpha/reflection.proto", ], out: [ "src/proto/grpc/reflection/v1/reflection.pb.cc", "src/proto/grpc/reflection/v1/reflection.grpc.pb.cc", "src/proto/grpc/reflection/v1alpha/reflection.pb.cc", "src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc", ], } cc_library_host_static { name: "libgrpc++_reflection", defaults: ["grpc_defaults"], srcs: [ "src/cpp/ext/proto_server_reflection.cc", "src/cpp/ext/proto_server_reflection_plugin.cc", ], generated_headers: [ "reflection_proto_h", ], export_generated_headers: [ "reflection_proto_h", ], generated_sources: [ "reflection_proto_cc", ], static_libs: [ "libgrpc++_common", "libprotobuf-cpp-full", ], visibility: ["//visibility:public"], } cc_library_host_static { name: "grpc_cli_libs", srcs: [ "test/cpp/util/cli_call.cc", "test/cpp/util/cli_credentials.cc", "test/cpp/util/grpc_tool.cc", "test/cpp/util/proto_file_parser.cc", "test/cpp/util/service_describer.cc", "test/cpp/util/proto_reflection_descriptor_database.cc", "test/cpp/util/test_config_cc.cc", ], local_include_dirs: [ "include", ], static_libs: [ "libabsl", ], generated_headers: [ "reflection_proto_h", ], export_generated_headers: [ "reflection_proto_h", ], generated_sources: [ "reflection_proto_cc", ], shared_libs: [ "libprotobuf-cpp-full", ], cflags: [ "-Wno-unused-parameter", ], export_include_dirs: ["."], visibility: ["//device/google/cuttlefish:__subpackages__"], } cc_library_headers { name: "libgrpc++_internal_headers", defaults: ["grpc_defaults"], export_include_dirs: ["."], visibility: ["//visibility:public"], } cc_library_static { name: "libgrpc++_common", defaults: ["grpc_defaults"], srcs: GRPC_COMMON_SRCS, static_libs: [ "libgrpc_third_party_upb", "libgrpc_third_party_utf8_range", "libgrpc_upb_protos", ], shared_libs: ["liblog"], } // gRPC C++ library target with no encryption or authentication cc_library_shared { name: "libgrpc++_unsecure", defaults: [ "grpc_defaults", "grpc_version_defaults", ], srcs: GRPC_UNSECURE_SRCS, static_libs: [ "libgrpc_third_party_upb", "libgrpc_third_party_utf8_range", "libgrpc_upb_protos", ], whole_static_libs: [ "libgrpc++_common", ], shared_libs: [ "liblog", ], export_static_lib_headers: [ "libabsl", ], export_include_dirs: [ "include", ], visibility: ["//visibility:public"], } // Secured gRPC C++ library target cc_library_shared { name: "libgrpc++", defaults: [ "grpc_defaults", "grpc_version_defaults", ], srcs: GRPC_SECURE_SRCS, static_libs: [ "libgrpc_third_party_upb", "libgrpc_third_party_utf8_range", "libgrpc_upb_protos", ], whole_static_libs: [ "libgrpc++_common", ], shared_libs: [ "liblog", "libcrypto", "libssl", ], export_static_lib_headers: [ "libabsl", ], export_include_dirs: [ "include", ], visibility: ["//visibility:public"], } cc_library_static { name: "libgrpc_upb_protos", defaults: ["grpc_defaults"], srcs: [ "src/core/ext/upb-gen/**/*.c", "src/core/ext/upbdefs-gen/**/*.c", ], export_include_dirs: [ "src/core/ext/upb-gen", "src/core/ext/upbdefs-gen", ], header_libs: [ "libgrpc_third_party_upb_headers", ], } cc_library_static { name: "libgpr_test_util", defaults: ["grpc_defaults"], srcs: [ "test/core/event_engine/test_init.cc", "test/core/util/build.cc", "test/core/util/stack_tracer.cc", "test/core/util/test_config.cc", ], header_libs: [ "libgrpc++_internal_headers", ], static_libs: [ "libgrpc++_common", ], } cc_defaults { name: "grpc_test_defaults", defaults: ["grpc_defaults"], test_suites: ["general-tests"], header_libs: ["libgrpc++_internal_headers"], static_libs: ["libgpr_test_util"], shared_libs: ["libgrpc++_unsecure"], } cc_test { name: "grpc_alarm_test", defaults: ["grpc_test_defaults"], srcs: ["test/cpp/common/alarm_test.cc"], } cc_test { name: "grpc_sockaddr_utils_test", defaults: ["grpc_test_defaults"], srcs: ["test/core/address_utils/sockaddr_utils_test.cc"], } cc_test { name: "grpc_parse_address_test", defaults: ["grpc_test_defaults"], srcs: ["test/core/address_utils/parse_address_test.cc"], } cc_test { name: "grpc_tcp_socket_utils_test", defaults: ["grpc_test_defaults"], srcs: ["test/core/event_engine/tcp_socket_utils_test.cc"], }