diff options
author | Yuchen Zeng <zyc@google.com> | 2017-01-23 10:30:10 -0800 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-01-23 10:30:10 -0800 |
commit | 4c702ed1a1f5ae714c93d6738c1b1fda037b6019 (patch) | |
tree | 9b63e22d6d6e7c47b99ef1978eb40a741ea96e2d /BUILD | |
parent | 6a167b6e86100d013ad15802f410d7a6cb1ef355 (diff) |
Add bazel build rule for c-ares
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -67,6 +67,7 @@ grpc_cc_library( "grpc_lb_policy_pick_first", "grpc_lb_policy_round_robin", "grpc_load_reporting", + "grpc_resolver_dns_ares", "grpc_resolver_dns_native", "grpc_resolver_sockaddr", "grpc_secure", @@ -790,6 +791,29 @@ grpc_cc_library( ) grpc_cc_library( + name = "grpc_resolver_dns_ares", + srcs = [ + "src/core/ext/resolver/dns/c_ares/dns_resolver_ares.c", + "src/core/ext/resolver/dns/c_ares/grpc_ares_ev_driver_fallback.c", + "src/core/ext/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c", + "src/core/ext/resolver/dns/c_ares/grpc_ares_wrapper.c", + "src/core/ext/resolver/dns/c_ares/grpc_ares_wrapper_fallback.c", + ], + hdrs = [ + "src/core/ext/resolver/dns/c_ares/grpc_ares_ev_driver.h", + "src/core/ext/resolver/dns/c_ares/grpc_ares_wrapper.h", + ], + language = "c", + deps = [ + "grpc_base", + "grpc_client_channel", + ], + external_deps = [ + "cares", + ], +) + +grpc_cc_library( name = "grpc_resolver_sockaddr", srcs = [ "src/core/ext/resolver/sockaddr/sockaddr_resolver.c", |