diff options
author | Craig Tiller <ctiller@google.com> | 2016-03-31 13:08:49 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-03-31 13:08:49 -0700 |
commit | 65938df105732f9be3d379b69fbea91262761a23 (patch) | |
tree | 767c01531730de178d9a6f50ce0a31154da4d5b9 /src/core/lib/surface | |
parent | f3f099ada9dedd941e5a3f7a506a8152bab34a93 (diff) |
Optionalize name resolvers
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r-- | src/core/lib/surface/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/lib/surface/init.c b/src/core/lib/surface/init.c index 786bf1d5da..51d9625e2a 100644 --- a/src/core/lib/surface/init.c +++ b/src/core/lib/surface/init.c @@ -48,8 +48,6 @@ #include "src/core/lib/channel/http_server_filter.h" #include "src/core/lib/client_config/lb_policy_registry.h" #include "src/core/lib/client_config/resolver_registry.h" -#include "src/core/lib/client_config/resolvers/dns_resolver.h" -#include "src/core/lib/client_config/resolvers/sockaddr_resolver.h" #include "src/core/lib/client_config/subchannel.h" #include "src/core/lib/client_config/subchannel_index.h" #include "src/core/lib/debug/trace.h" @@ -165,12 +163,6 @@ void grpc_init(void) { grpc_channel_init_init(); grpc_lb_policy_registry_init(); grpc_resolver_registry_init(GRPC_DEFAULT_NAME_PREFIX); - grpc_register_resolver_type(grpc_dns_resolver_factory_create()); - grpc_register_resolver_type(grpc_ipv4_resolver_factory_create()); - grpc_register_resolver_type(grpc_ipv6_resolver_factory_create()); -#ifdef GPR_HAVE_UNIX_SOCKET - grpc_register_resolver_type(grpc_unix_resolver_factory_create()); -#endif grpc_register_tracer("api", &grpc_api_trace); grpc_register_tracer("channel", &grpc_trace_channel); grpc_register_tracer("http", &grpc_http_trace); |