|
|
@ -35,8 +35,12 @@ exports_files(["LICENSE"]) |
|
|
|
|
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"]) |
|
|
|
package(default_visibility = ["//visibility:public"]) |
|
|
|
|
|
|
|
|
|
|
|
load("//bazel:grpc_build_system.bzl", "grpc_cc_library", |
|
|
|
load( |
|
|
|
"grpc_proto_plugin", "grpc_cc_libraries") |
|
|
|
"//bazel:grpc_build_system.bzl", |
|
|
|
|
|
|
|
"grpc_cc_library", |
|
|
|
|
|
|
|
"grpc_proto_plugin", |
|
|
|
|
|
|
|
"grpc_cc_libraries", |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# This should be updated along with build.yaml |
|
|
|
# This should be updated along with build.yaml |
|
|
|
g_stands_for = "gregarious" |
|
|
|
g_stands_for = "gregarious" |
|
|
@ -55,10 +59,19 @@ grpc_cc_library( |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
grpc_cc_libraries( |
|
|
|
grpc_cc_libraries( |
|
|
|
name_list = ["grpc", "grpc_unsecure",], |
|
|
|
|
|
|
|
srcs = [ |
|
|
|
srcs = [ |
|
|
|
"src/core/lib/surface/init.c", |
|
|
|
"src/core/lib/surface/init.c", |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
additional_dep_list = [ |
|
|
|
|
|
|
|
[ |
|
|
|
|
|
|
|
"grpc_secure", |
|
|
|
|
|
|
|
"grpc_resolver_dns_ares", |
|
|
|
|
|
|
|
"grpc_lb_policy_grpclb_secure", |
|
|
|
|
|
|
|
"grpc_transport_chttp2_client_secure", |
|
|
|
|
|
|
|
"grpc_transport_chttp2_server_secure", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
[], |
|
|
|
|
|
|
|
], |
|
|
|
additional_src_list = [ |
|
|
|
additional_src_list = [ |
|
|
|
[ |
|
|
|
[ |
|
|
|
"src/core/plugin_registry/grpc_plugin_registry.c", |
|
|
|
"src/core/plugin_registry/grpc_plugin_registry.c", |
|
|
@ -69,30 +82,24 @@ grpc_cc_libraries( |
|
|
|
], |
|
|
|
], |
|
|
|
], |
|
|
|
], |
|
|
|
language = "c", |
|
|
|
language = "c", |
|
|
|
|
|
|
|
name_list = [ |
|
|
|
|
|
|
|
"grpc", |
|
|
|
|
|
|
|
"grpc_unsecure", |
|
|
|
|
|
|
|
], |
|
|
|
standalone = True, |
|
|
|
standalone = True, |
|
|
|
deps = [ |
|
|
|
deps = [ |
|
|
|
"census", |
|
|
|
"census", |
|
|
|
"grpc_base", |
|
|
|
"grpc_base", |
|
|
|
|
|
|
|
"grpc_deadline_filter", |
|
|
|
"grpc_lb_policy_pick_first", |
|
|
|
"grpc_lb_policy_pick_first", |
|
|
|
"grpc_lb_policy_round_robin", |
|
|
|
"grpc_lb_policy_round_robin", |
|
|
|
"grpc_load_reporting", |
|
|
|
"grpc_load_reporting", |
|
|
|
"grpc_max_age_filter", |
|
|
|
"grpc_max_age_filter", |
|
|
|
|
|
|
|
"grpc_message_size_filter", |
|
|
|
"grpc_resolver_dns_native", |
|
|
|
"grpc_resolver_dns_native", |
|
|
|
"grpc_resolver_sockaddr", |
|
|
|
"grpc_resolver_sockaddr", |
|
|
|
"grpc_transport_chttp2_client_insecure", |
|
|
|
"grpc_transport_chttp2_client_insecure", |
|
|
|
"grpc_transport_chttp2_server_insecure", |
|
|
|
"grpc_transport_chttp2_server_insecure", |
|
|
|
"grpc_message_size_filter", |
|
|
|
|
|
|
|
"grpc_deadline_filter", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
additional_dep_list = [ |
|
|
|
|
|
|
|
[ |
|
|
|
|
|
|
|
"grpc_secure", |
|
|
|
|
|
|
|
"grpc_resolver_dns_ares", |
|
|
|
|
|
|
|
"grpc_lb_policy_grpclb_secure", |
|
|
|
|
|
|
|
"grpc_transport_chttp2_client_secure", |
|
|
|
|
|
|
|
"grpc_transport_chttp2_server_secure", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
[], |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -105,9 +112,9 @@ grpc_cc_library( |
|
|
|
language = "c", |
|
|
|
language = "c", |
|
|
|
deps = [ |
|
|
|
deps = [ |
|
|
|
"grpc_base", |
|
|
|
"grpc_base", |
|
|
|
|
|
|
|
"grpc_http_filters", |
|
|
|
"grpc_transport_chttp2_client_secure", |
|
|
|
"grpc_transport_chttp2_client_secure", |
|
|
|
"grpc_transport_cronet_client_secure", |
|
|
|
"grpc_transport_cronet_client_secure", |
|
|
|
"grpc_http_filters", |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -373,13 +380,13 @@ grpc_cc_library( |
|
|
|
hdrs = [ |
|
|
|
hdrs = [ |
|
|
|
"src/core/lib/profiling/timers.h", |
|
|
|
"src/core/lib/profiling/timers.h", |
|
|
|
"src/core/lib/support/arena.h", |
|
|
|
"src/core/lib/support/arena.h", |
|
|
|
|
|
|
|
"src/core/lib/support/atomic.h", |
|
|
|
|
|
|
|
"src/core/lib/support/atomic_with_atm.h", |
|
|
|
|
|
|
|
"src/core/lib/support/atomic_with_std.h", |
|
|
|
"src/core/lib/support/backoff.h", |
|
|
|
"src/core/lib/support/backoff.h", |
|
|
|
"src/core/lib/support/block_annotate.h", |
|
|
|
"src/core/lib/support/block_annotate.h", |
|
|
|
"src/core/lib/support/env.h", |
|
|
|
"src/core/lib/support/env.h", |
|
|
|
"src/core/lib/support/memory.h", |
|
|
|
"src/core/lib/support/memory.h", |
|
|
|
"src/core/lib/support/atomic.h", |
|
|
|
|
|
|
|
"src/core/lib/support/atomic_with_atm.h", |
|
|
|
|
|
|
|
"src/core/lib/support/atomic_with_std.h", |
|
|
|
|
|
|
|
"src/core/lib/support/mpscq.h", |
|
|
|
"src/core/lib/support/mpscq.h", |
|
|
|
"src/core/lib/support/murmur_hash.h", |
|
|
|
"src/core/lib/support/murmur_hash.h", |
|
|
|
"src/core/lib/support/spinlock.h", |
|
|
|
"src/core/lib/support/spinlock.h", |
|
|
@ -466,6 +473,7 @@ grpc_cc_library( |
|
|
|
"src/core/lib/iomgr/endpoint_pair_windows.c", |
|
|
|
"src/core/lib/iomgr/endpoint_pair_windows.c", |
|
|
|
"src/core/lib/iomgr/error.c", |
|
|
|
"src/core/lib/iomgr/error.c", |
|
|
|
"src/core/lib/iomgr/ev_epoll_linux.c", |
|
|
|
"src/core/lib/iomgr/ev_epoll_linux.c", |
|
|
|
|
|
|
|
"src/core/lib/iomgr/ev_epoll_thread_pool_linux.c", |
|
|
|
"src/core/lib/iomgr/ev_poll_posix.c", |
|
|
|
"src/core/lib/iomgr/ev_poll_posix.c", |
|
|
|
"src/core/lib/iomgr/ev_posix.c", |
|
|
|
"src/core/lib/iomgr/ev_posix.c", |
|
|
|
"src/core/lib/iomgr/exec_ctx.c", |
|
|
|
"src/core/lib/iomgr/exec_ctx.c", |
|
|
@ -588,6 +596,7 @@ grpc_cc_library( |
|
|
|
"src/core/lib/iomgr/error.h", |
|
|
|
"src/core/lib/iomgr/error.h", |
|
|
|
"src/core/lib/iomgr/error_internal.h", |
|
|
|
"src/core/lib/iomgr/error_internal.h", |
|
|
|
"src/core/lib/iomgr/ev_epoll_linux.h", |
|
|
|
"src/core/lib/iomgr/ev_epoll_linux.h", |
|
|
|
|
|
|
|
"src/core/lib/iomgr/ev_epoll_thread_pool_linux.h", |
|
|
|
"src/core/lib/iomgr/ev_poll_posix.h", |
|
|
|
"src/core/lib/iomgr/ev_poll_posix.h", |
|
|
|
"src/core/lib/iomgr/ev_posix.h", |
|
|
|
"src/core/lib/iomgr/ev_posix.h", |
|
|
|
"src/core/lib/iomgr/exec_ctx.h", |
|
|
|
"src/core/lib/iomgr/exec_ctx.h", |
|
|
@ -791,16 +800,16 @@ grpc_cc_library( |
|
|
|
|
|
|
|
|
|
|
|
grpc_cc_library( |
|
|
|
grpc_cc_library( |
|
|
|
name = "grpc_http_filters", |
|
|
|
name = "grpc_http_filters", |
|
|
|
hdrs = [ |
|
|
|
|
|
|
|
"src/core/ext/filters/http/message_compress/message_compress_filter.h", |
|
|
|
|
|
|
|
"src/core/ext/filters/http/client/http_client_filter.h", |
|
|
|
|
|
|
|
"src/core/ext/filters/http/server/http_server_filter.h", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
srcs = [ |
|
|
|
srcs = [ |
|
|
|
"src/core/ext/filters/http/message_compress/message_compress_filter.c", |
|
|
|
|
|
|
|
"src/core/ext/filters/http/client/http_client_filter.c", |
|
|
|
"src/core/ext/filters/http/client/http_client_filter.c", |
|
|
|
|
|
|
|
"src/core/ext/filters/http/http_filters_plugin.c", |
|
|
|
|
|
|
|
"src/core/ext/filters/http/message_compress/message_compress_filter.c", |
|
|
|
"src/core/ext/filters/http/server/http_server_filter.c", |
|
|
|
"src/core/ext/filters/http/server/http_server_filter.c", |
|
|
|
"src/core/ext/filters/http/http_filters_plugin.c" |
|
|
|
], |
|
|
|
|
|
|
|
hdrs = [ |
|
|
|
|
|
|
|
"src/core/ext/filters/http/client/http_client_filter.h", |
|
|
|
|
|
|
|
"src/core/ext/filters/http/message_compress/message_compress_filter.h", |
|
|
|
|
|
|
|
"src/core/ext/filters/http/server/http_server_filter.h", |
|
|
|
], |
|
|
|
], |
|
|
|
language = "c", |
|
|
|
language = "c", |
|
|
|
deps = [ |
|
|
|
deps = [ |
|
|
@ -1069,8 +1078,8 @@ grpc_cc_library( |
|
|
|
language = "c", |
|
|
|
language = "c", |
|
|
|
deps = [ |
|
|
|
deps = [ |
|
|
|
"grpc_base", |
|
|
|
"grpc_base", |
|
|
|
"grpc_transport_chttp2_alpn", |
|
|
|
|
|
|
|
"grpc_http_filters", |
|
|
|
"grpc_http_filters", |
|
|
|
|
|
|
|
"grpc_transport_chttp2_alpn", |
|
|
|
], |
|
|
|
], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -1226,11 +1235,6 @@ grpc_cc_library( |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
grpc_cc_libraries( |
|
|
|
grpc_cc_libraries( |
|
|
|
name_list = ["grpc++_base", "grpc++_base_unsecure"], |
|
|
|
|
|
|
|
additional_dep_list = [ |
|
|
|
|
|
|
|
["grpc", ], |
|
|
|
|
|
|
|
["grpc_unsecure", ], |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
srcs = [ |
|
|
|
srcs = [ |
|
|
|
"src/cpp/client/channel_cc.cc", |
|
|
|
"src/cpp/client/channel_cc.cc", |
|
|
|
"src/cpp/client/client_context.cc", |
|
|
|
"src/cpp/client/client_context.cc", |
|
|
@ -1265,7 +1269,7 @@ grpc_cc_libraries( |
|
|
|
"src/cpp/util/status.cc", |
|
|
|
"src/cpp/util/status.cc", |
|
|
|
"src/cpp/util/string_ref.cc", |
|
|
|
"src/cpp/util/string_ref.cc", |
|
|
|
"src/cpp/util/time_cc.cc", |
|
|
|
"src/cpp/util/time_cc.cc", |
|
|
|
], |
|
|
|
], |
|
|
|
hdrs = [ |
|
|
|
hdrs = [ |
|
|
|
"src/cpp/client/create_channel_internal.h", |
|
|
|
"src/cpp/client/create_channel_internal.h", |
|
|
|
"src/cpp/common/channel_filter.h", |
|
|
|
"src/cpp/common/channel_filter.h", |
|
|
@ -1274,8 +1278,16 @@ grpc_cc_libraries( |
|
|
|
"src/cpp/server/health/health.pb.h", |
|
|
|
"src/cpp/server/health/health.pb.h", |
|
|
|
"src/cpp/server/thread_pool_interface.h", |
|
|
|
"src/cpp/server/thread_pool_interface.h", |
|
|
|
"src/cpp/thread_manager/thread_manager.h", |
|
|
|
"src/cpp/thread_manager/thread_manager.h", |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
additional_dep_list = [ |
|
|
|
|
|
|
|
["grpc"], |
|
|
|
|
|
|
|
["grpc_unsecure"], |
|
|
|
|
|
|
|
], |
|
|
|
language = "c++", |
|
|
|
language = "c++", |
|
|
|
|
|
|
|
name_list = [ |
|
|
|
|
|
|
|
"grpc++_base", |
|
|
|
|
|
|
|
"grpc++_base_unsecure", |
|
|
|
|
|
|
|
], |
|
|
|
public_hdrs = [ |
|
|
|
public_hdrs = [ |
|
|
|
"include/grpc++/alarm.h", |
|
|
|
"include/grpc++/alarm.h", |
|
|
|
"include/grpc++/channel.h", |
|
|
|
"include/grpc++/channel.h", |
|
|
@ -1324,7 +1336,7 @@ grpc_cc_libraries( |
|
|
|
"include/grpc++/support/stub_options.h", |
|
|
|
"include/grpc++/support/stub_options.h", |
|
|
|
"include/grpc++/support/sync_stream.h", |
|
|
|
"include/grpc++/support/sync_stream.h", |
|
|
|
"include/grpc++/support/time.h", |
|
|
|
"include/grpc++/support/time.h", |
|
|
|
], |
|
|
|
], |
|
|
|
deps = [ |
|
|
|
deps = [ |
|
|
|
"grpc++_codegen_base", |
|
|
|
"grpc++_codegen_base", |
|
|
|
], |
|
|
|
], |
|
|
|