3 values = {"cpu": "darwin"},
7 name = "darwin_x86_64",
8 values = {"cpu": "darwin_x86_64"},
13 values = {"cpu": "x64_windows"},
16 # Android is not officially supported through C++.
17 # This just helps with the build for now.
21 "crosstool_top": "//external:android/crosstool",
25 # iOS is not officially supported through C++.
26 # This just helps with the build for now.
29 values = {"cpu": "ios_x86_64"},
34 values = {"cpu": "ios_armv7"},
39 values = {"cpu": "ios_armv7s"},
44 values = {"cpu": "ios_arm64"},
48 name = "ares_build_h",
49 srcs = ["@com_github_grpc_grpc//third_party/cares:ares_build.h"],
50 outs = ["ares_build.h"],
55 name = "ares_config_h",
57 ":ios_x86_64": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
58 ":ios_armv7": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
59 ":ios_armv7s": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
60 ":ios_arm64": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
61 ":darwin": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
62 ":darwin_x86_64": ["@com_github_grpc_grpc//third_party/cares:config_darwin/ares_config.h"],
63 ":windows": ["@com_github_grpc_grpc//third_party/cares:config_windows/ares_config.h"],
64 ":android": ["@com_github_grpc_grpc//third_party/cares:config_android/ares_config.h"],
65 "//conditions:default": ["@com_github_grpc_grpc//third_party/cares:config_linux/ares_config.h"],
67 outs = ["ares_config.h"],
74 "ares__close_sockets.c",
75 "ares__get_hostent.c",
79 "ares_create_query.c",
83 "ares_expand_string.c",
85 "ares_free_hostent.c",
88 "ares_gethostbyaddr.c",
89 "ares_gethostbyname.c",
94 "ares_library_init.c",
99 "ares_parse_a_reply.c",
100 "ares_parse_aaaa_reply.c",
101 "ares_parse_mx_reply.c",
102 "ares_parse_naptr_reply.c",
103 "ares_parse_ns_reply.c",
104 "ares_parse_ptr_reply.c",
105 "ares_parse_soa_reply.c",
106 "ares_parse_srv_reply.c",
107 "ares_parse_txt_reply.c",
133 "ares_inet_net_pton.h",
136 "ares_library_init.h",
155 "-D_HAS_EXCEPTIONS=0",
160 "-D_CRT_SECURE_NO_DEPRECATE",
161 "-D_CRT_NONSTDC_NO_DEPRECATE",
162 "-D_WIN32_WINNT=0x0600",
164 "//conditions:default": [],
166 defines = ["CARES_STATICLIB"],
169 ":windows": ["-defaultlib:ws2_32.lib"],
170 "//conditions:default": [],
174 "//visibility:public",