blob: e0df169645d84922c8389aa760935c1b3e261619 [file] [log] [blame]
cc_defaults {
name: "grpc_defaults",
cflags: [
"-Wno-unused-parameter",
"-Wno-implicit-fallthrough",
"-Wno-unused-result",
],
host_supported: true,
}
cc_library_host_static {
name: "libgrpc_plugin_support",
defaults: ["grpc_defaults"],
srcs: [
"src/compiler/cpp_generator.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",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_plugin_support",
],
shared_libs: [
"libprotoc",
],
}
cc_binary_host {
name: "protoc-gen-grpc-python-plugin",
defaults: ["grpc_defaults"],
srcs: [
"src/compiler/python_plugin.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_plugin_support",
],
shared_libs: [
"libprotoc",
],
}
cc_library_static {
name: "libgrpc_resolver_fake",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
],
}
cc_library_static {
name: "libgrpc_resolver_sockaddr",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
],
}
cc_library_static {
name: "libgrpc_deadline_filter",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/deadline/deadline_filter.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
],
}
cc_library_static {
name: "libgrpc_server_backward_compatibility",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/workarounds/workaround_utils.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_workaround_cronet_compression_filter",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_server_backward_compatibility",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_client_authority_filter",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/http/client_authority_filter.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
],
}
cc_library_static {
name: "libgrpc_lb_policy_round_robin",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
"libgrpc_deadline_filter",
],
}
cc_library_static {
name: "libgrpc_lb_policy_pick_first",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
"libgrpc_deadline_filter",
],
}
cc_library_static {
name: "libgrpc_max_age_filter",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/max_age/max_age_filter.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
],
}
cc_library_static {
name: "libgrpc_transport_chttp2_alpn",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/transport/chttp2/alpn/alpn.cc",
],
static_libs: [
"gpr_base",
"liblog",
],
}
cc_library_static {
name: "libgrpc_transport_chttp2_client_connector",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/transport/chttp2/client/authority.cc",
"src/core/ext/transport/chttp2/client/chttp2_connector.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
"libgrpc_deadline_filter",
"libgrpc_transport_chttp2",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_transport_chttp2_server_insecure",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/transport/chttp2/server/chttp2_server.cc",
"src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
"src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_transport_chttp2",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_transport_chttp2_client_insecure",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
"src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
"libgrpc_deadline_filter",
"libgrpc_transport_chttp2",
"libgrpc_transport_chttp2_client_connector",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_message_size_filter",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/message_size/message_size_filter.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
],
}
cc_library_static {
name: "libgrpc_transport_inproc",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/transport/inproc/inproc_plugin.cc",
"src/core/ext/transport/inproc/inproc_transport.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_resolver_dns_ares",
defaults: ["grpc_defaults"],
srcs: [
"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.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_fallback.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",
],
local_include_dirs: [
"include",
"third_party/cares",
"third_party/cares/config_android",
],
static_libs: [
"libaddress_sorting",
"libgrpc_base",
"libgrpc_client_channel",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_resolver_dns_native",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
],
}
cc_library_static {
name: "libgrpc_http_filters",
defaults: ["grpc_defaults"],
srcs: [
"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/message_compress_filter.cc",
"src/core/ext/filters/http/server/http_server_filter.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc_transport_chttp2",
defaults: ["grpc_defaults"],
srcs: [
"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_plugin.cc",
"src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
"src/core/ext/transport/chttp2/transport/flow_control.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_parser.cc",
"src/core/ext/transport/chttp2/transport/hpack_mapping.cc",
"src/core/ext/transport/chttp2/transport/hpack_table.cc",
"src/core/ext/transport/chttp2/transport/http2_settings.cc",
"src/core/ext/transport/chttp2/transport/huffsyms.cc",
"src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
"src/core/ext/transport/chttp2/transport/parsing.cc",
"src/core/ext/transport/chttp2/transport/stream_lists.cc",
"src/core/ext/transport/chttp2/transport/stream_map.cc",
"src/core/ext/transport/chttp2/transport/varint.cc",
"src/core/ext/transport/chttp2/transport/writing.cc",
],
local_include_dirs: [
"include",
],
static_libs: [
"libgrpc_base",
"libgrpc_http_filters",
"libgrpc_transport_chttp2_alpn",
],
}
cc_library_static {
name: "libgrpc_lb_policy_grpclb",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
"src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
"src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.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/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
"src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c",
"src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
],
local_include_dirs: [
"include",
"src/core/ext/filters/client_channel/lb_policy/grpclb",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
"libgrpc_deadline_filter",
"libgrpc_resolver_fake",
"libprotobuf-c-nano",
],
}
cc_library_static {
name: "libgrpc++_codegen_base_src",
defaults: ["grpc_defaults"],
srcs: [
"src/cpp/codegen/codegen_init.cc",
],
local_include_dirs: [
"include",
],
}
cc_library_static {
name: "gpr_base",
defaults: ["grpc_defaults"],
srcs: [
"src/core/lib/gpr/alloc.cc",
"src/core/lib/gpr/arena.cc",
"src/core/lib/gpr/atm.cc",
"src/core/lib/gpr/cpu_iphone.cc",
"src/core/lib/gpr/cpu_linux.cc",
"src/core/lib/gpr/cpu_posix.cc",
"src/core/lib/gpr/cpu_windows.cc",
"src/core/lib/gpr/env_linux.cc",
"src/core/lib/gpr/env_posix.cc",
"src/core/lib/gpr/env_windows.cc",
"src/core/lib/gpr/host_port.cc",
"src/core/lib/gpr/log.cc",
"src/core/lib/gpr/log_android.cc",
"src/core/lib/gpr/log_linux.cc",
"src/core/lib/gpr/log_posix.cc",
"src/core/lib/gpr/log_windows.cc",
"src/core/lib/gpr/mpscq.cc",
"src/core/lib/gpr/murmur_hash.cc",
"src/core/lib/gpr/string.cc",
"src/core/lib/gpr/string_posix.cc",
"src/core/lib/gpr/string_util_windows.cc",
"src/core/lib/gpr/string_windows.cc",
"src/core/lib/gpr/sync.cc",
"src/core/lib/gpr/sync_posix.cc",
"src/core/lib/gpr/sync_windows.cc",
"src/core/lib/gpr/time.cc",
"src/core/lib/gpr/time_posix.cc",
"src/core/lib/gpr/time_precise.cc",
"src/core/lib/gpr/time_windows.cc",
"src/core/lib/gpr/tls_pthread.cc",
"src/core/lib/gpr/tmpfile_msys.cc",
"src/core/lib/gpr/tmpfile_posix.cc",
"src/core/lib/gpr/tmpfile_windows.cc",
"src/core/lib/gpr/wrap_memcpy.cc",
"src/core/lib/gprpp/fork.cc",
"src/core/lib/gprpp/thd_posix.cc",
"src/core/lib/gprpp/thd_windows.cc",
"src/core/lib/profiling/basic_timers.cc",
"src/core/lib/profiling/stap_timers.cc",
],
static_libs: [
"liblog",
],
export_include_dirs: [
"include",
".",
],
}
cc_library_static {
name: "libgrpc_client_channel",
defaults: ["grpc_defaults"],
srcs: [
"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/connector.cc",
"src/core/ext/filters/client_channel/http_connect_handshaker.cc",
"src/core/ext/filters/client_channel/http_proxy.cc",
"src/core/ext/filters/client_channel/lb_policy.cc",
"src/core/ext/filters/client_channel/lb_policy_factory.cc",
"src/core/ext/filters/client_channel/lb_policy_registry.cc",
"src/core/ext/filters/client_channel/method_params.cc",
"src/core/ext/filters/client_channel/parse_address.cc",
"src/core/ext/filters/client_channel/proxy_mapper.cc",
"src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
"src/core/ext/filters/client_channel/resolver.cc",
"src/core/ext/filters/client_channel/resolver_registry.cc",
"src/core/ext/filters/client_channel/retry_throttle.cc",
"src/core/ext/filters/client_channel/subchannel.cc",
"src/core/ext/filters/client_channel/subchannel_index.cc",
"src/core/ext/filters/client_channel/uri_parser.cc",
],
local_include_dirs: [
"include",
"src/core/ext/filters/client_channel",
],
static_libs: [
"libgrpc_base",
"libgrpc_deadline_filter",
],
}
cc_library_static {
name: "libgrpc_trace",
defaults: ["grpc_defaults"],
srcs: [
"src/core/lib/debug/trace.cc",
],
static_libs: [
"gpr_base",
"liblog",
],
}
cc_library_static {
name: "libgrpc_base_c",
defaults: ["grpc_defaults"],
srcs: [
"src/core/lib/avl/avl.cc",
"src/core/lib/backoff/backoff.cc",
"src/core/lib/channel/channel_args.cc",
"src/core/lib/channel/channel_stack.cc",
"src/core/lib/channel/channel_stack_builder.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/handshaker.cc",
"src/core/lib/channel/handshaker_factory.cc",
"src/core/lib/channel/handshaker_registry.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/compression/stream_compression.cc",
"src/core/lib/compression/stream_compression_gzip.cc",
"src/core/lib/compression/stream_compression_identity.cc",
"src/core/lib/debug/stats.cc",
"src/core/lib/debug/stats_data.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/combiner.cc",
"src/core/lib/iomgr/endpoint.cc",
"src/core/lib/iomgr/endpoint_pair_posix.cc",
"src/core/lib/iomgr/endpoint_pair_uv.cc",
"src/core/lib/iomgr/endpoint_pair_windows.cc",
"src/core/lib/iomgr/error.cc",
"src/core/lib/iomgr/ev_epoll1_linux.cc",
"src/core/lib/iomgr/ev_epollex_linux.cc",
"src/core/lib/iomgr/ev_epollsig_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/internal_errqueue.cc",
"src/core/lib/iomgr/iocp_windows.cc",
"src/core/lib/iomgr/iomgr.cc",
"src/core/lib/iomgr/iomgr_custom.cc",
"src/core/lib/iomgr/iomgr_internal.cc",
"src/core/lib/iomgr/iomgr_posix.cc",
"src/core/lib/iomgr/iomgr_windows.cc",
"src/core/lib/iomgr/is_epollexclusive_available.cc",
"src/core/lib/iomgr/load_file.cc",
"src/core/lib/iomgr/lockfree_event.cc",
"src/core/lib/iomgr/network_status_tracker.cc",
"src/core/lib/iomgr/polling_entity.cc",
"src/core/lib/iomgr/pollset.cc",
"src/core/lib/iomgr/pollset_custom.cc",
"src/core/lib/iomgr/pollset_set.cc",
"src/core/lib/iomgr/pollset_set_custom.cc",
"src/core/lib/iomgr/pollset_set_windows.cc",
"src/core/lib/iomgr/pollset_uv.cc",
"src/core/lib/iomgr/pollset_windows.cc",
"src/core/lib/iomgr/resolve_address.cc",
"src/core/lib/iomgr/resolve_address_custom.cc",
"src/core/lib/iomgr/resolve_address_posix.cc",
"src/core/lib/iomgr/resolve_address_windows.cc",
"src/core/lib/iomgr/resource_quota.cc",
"src/core/lib/iomgr/sockaddr_utils.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/tcp_client.cc",
"src/core/lib/iomgr/tcp_client_custom.cc",
"src/core/lib/iomgr/tcp_client_posix.cc",
"src/core/lib/iomgr/tcp_client_windows.cc",
"src/core/lib/iomgr/tcp_custom.cc",
"src/core/lib/iomgr/tcp_posix.cc",
"src/core/lib/iomgr/tcp_server.cc",
"src/core/lib/iomgr/tcp_server_custom.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_uv.cc",
"src/core/lib/iomgr/tcp_windows.cc",
"src/core/lib/iomgr/time_averaged_stats.cc",
"src/core/lib/iomgr/timer.cc",
"src/core/lib/iomgr/timer_custom.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/timer_uv.cc",
"src/core/lib/iomgr/udp_server.cc",
"src/core/lib/iomgr/unix_sockets_posix.cc",
"src/core/lib/iomgr/unix_sockets_posix_noop.cc",
"src/core/lib/iomgr/wakeup_fd_cv.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.cc",
"src/core/lib/json/json_reader.cc",
"src/core/lib/json/json_string.cc",
"src/core/lib/json/json_writer.cc",
"src/core/lib/slice/b64.cc",
"src/core/lib/slice/percent_encoding.cc",
"src/core/lib/slice/slice.cc",
"src/core/lib/slice/slice_buffer.cc",
"src/core/lib/slice/slice_intern.cc",
"src/core/lib/slice/slice_string_helpers.cc",
"src/core/lib/surface/api_trace.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/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/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/bdp_estimator.cc",
"src/core/lib/transport/byte_stream.cc",
"src/core/lib/transport/connectivity_state.cc",
"src/core/lib/transport/error_utils.cc",
"src/core/lib/transport/metadata.cc",
"src/core/lib/transport/metadata_batch.cc",
"src/core/lib/transport/pid_controller.cc",
"src/core/lib/transport/service_config.cc",
"src/core/lib/transport/static_metadata.cc",
"src/core/lib/transport/status_conversion.cc",
"src/core/lib/transport/status_metadata.cc",
"src/core/lib/transport/timeout_encoding.cc",
"src/core/lib/transport/transport.cc",
"src/core/lib/transport/transport_op_string.cc",
],
static_libs: [
"libgrpc_trace",
"gpr_base",
"liblog",
"libz",
],
}
cc_library_static {
name: "census",
defaults: ["grpc_defaults"],
srcs: [
"src/core/ext/filters/census/grpc_context.cc",
],
static_libs: [
"libgrpc_base",
],
local_include_dirs: [
"include",
],
}
cc_library_static {
name: "libgrpc_unsecure",
defaults: ["grpc_defaults"],
srcs: [
"src/core/lib/surface/init.cc",
"src/core/lib/surface/init_unsecure.cc",
"src/core/plugin_registry/grpc_unsecure_plugin_registry.cc",
],
static_libs: [
"libgrpc_base",
"libgrpc_client_channel",
"libgrpc_client_authority_filter",
"libgrpc_deadline_filter",
"libgrpc_resolver_dns_native",
"libgrpc_http_filters",
"libgrpc_lb_policy_grpclb",
"libgrpc_lb_policy_pick_first",
"libgrpc_lb_policy_round_robin",
"libgrpc_max_age_filter",
"libgrpc_message_size_filter",
"libgrpc_resolver_dns_ares",
"libgrpc_resolver_dns_native",
"libgrpc_resolver_fake",
"libgrpc_resolver_sockaddr",
"libgrpc_server_backward_compatibility",
"libgrpc_transport_chttp2",
"libgrpc_transport_chttp2_server_insecure",
"libgrpc_transport_chttp2_client_insecure",
"libgrpc_transport_inproc",
"libgrpc_trace",
"libgrpc_workaround_cronet_compression_filter",
"libprotobuf-c-nano",
],
export_include_dirs: [
"include",
".",
],
local_include_dirs: [
"third_party/cares",
"third_party/cares/config_android",
],
}
cc_library_static {
name: "libgrpc++_base",
defaults: ["grpc_defaults"],
srcs: [
"src/cpp/client/channel_cc.cc",
"src/cpp/client/client_context.cc",
"src/cpp/client/create_channel.cc",
"src/cpp/client/create_channel_internal.cc",
"src/cpp/client/create_channel_posix.cc",
"src/cpp/client/credentials_cc.cc",
"src/cpp/client/generic_stub.cc",
"src/cpp/common/alarm.cc",
"src/cpp/common/channel_arguments.cc",
"src/cpp/common/channel_filter.cc",
"src/cpp/common/completion_queue_cc.cc",
"src/cpp/common/core_codegen.cc",
"src/cpp/common/resource_quota_cc.cc",
"src/cpp/common/rpc_method.cc",
"src/cpp/common/version_cc.cc",
"src/cpp/server/async_generic_service.cc",
"src/cpp/server/channel_argument_option.cc",
"src/cpp/server/create_default_thread_pool.cc",
"src/cpp/server/dynamic_thread_pool.cc",
"src/cpp/server/health/default_health_check_service.cc",
"src/cpp/server/health/health.pb.c",
"src/cpp/server/health/health_check_service.cc",
"src/cpp/server/health/health_check_service_server_builder_option.cc",
"src/cpp/server/server_builder.cc",
"src/cpp/server/server_cc.cc",
"src/cpp/server/server_context.cc",
"src/cpp/server/server_credentials.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",
],
local_include_dirs: [
"include",
],
static_libs: [
"census",
"libgrpc_base",
"libgrpc++_codegen_base_src",
"libgrpc_client_channel",
"libgrpc_client_authority_filter",
"libgrpc_deadline_filter",
"libgrpc_resolver_dns_native",
"libgrpc_http_filters",
"libgrpc_lb_policy_grpclb",
"libgrpc_lb_policy_pick_first",
"libgrpc_lb_policy_round_robin",
"libgrpc_max_age_filter",
"libgrpc_message_size_filter",
"libgrpc_resolver_dns_ares",
"libgrpc_resolver_dns_native",
"libgrpc_resolver_fake",
"libgrpc_resolver_sockaddr",
"libgrpc_server_backward_compatibility",
"libgrpc_transport_chttp2",
"libgrpc_transport_chttp2_client_connector",
"libgrpc_transport_chttp2_client_insecure",
"libgrpc_transport_chttp2_server_insecure",
"libgrpc_transport_inproc",
"libgrpc_unsecure",
"libgrpc_workaround_cronet_compression_filter",
"libprotobuf-c-nano",
],
cflags: [
"-Wno-unused-parameter",
],
}
cc_library_static {
name: "libgrpc_base",
defaults: ["grpc_defaults"],
srcs: [
"src/core/lib/surface/lame_client.cc",
],
whole_static_libs: [
"gpr_base",
"libgrpc_base_c",
"libgrpc_trace",
"liblog",
"libz",
],
}
// gRPC C++ library target with no encryption or authentication
cc_library_shared {
name: "libgrpc++_unsecure",
defaults: ["grpc_defaults"],
srcs: [
"src/cpp/client/insecure_credentials.cc",
"src/cpp/common/insecure_create_auth_context.cc",
"src/cpp/server/insecure_server_credentials.cc",
],
static_libs: [
"census",
"libgrpc_base",
"libgrpc++_codegen_base_src",
"libgrpc_base_c",
"libgrpc_client_channel",
"libgrpc_client_authority_filter",
"libgrpc_deadline_filter",
"libgrpc_resolver_dns_native",
"libgrpc_http_filters",
"libgrpc_lb_policy_grpclb",
"libgrpc_lb_policy_pick_first",
"libgrpc_lb_policy_round_robin",
"libgrpc_max_age_filter",
"libgrpc_message_size_filter",
"libgrpc_resolver_dns_ares",
"libgrpc_resolver_dns_native",
"libgrpc_resolver_fake",
"libgrpc_resolver_sockaddr",
"libgrpc_server_backward_compatibility",
"libgrpc_transport_chttp2",
"libgrpc_transport_chttp2_client_connector",
"libgrpc_transport_chttp2_client_insecure",
"libgrpc_transport_chttp2_server_insecure",
"libgrpc_transport_inproc",
"libgrpc_trace",
"libgrpc_unsecure",
"libgrpc_workaround_cronet_compression_filter",
"liblog",
"libz",
"libprotobuf-c-nano",
],
whole_static_libs: [
"libgrpc++_base",
],
export_include_dirs: [
"include",
".",
],
}