[c-ares] Upgrade c-ares dependency to 1.19.1 (#33392)

WIP
pull/33413/head
apolcyn 1 year ago committed by GitHub
parent 14c63c70af
commit 017786f151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 96
      Makefile
  2. 8
      bazel/grpc_deps.bzl
  3. 8
      grpc.gemspec
  4. 205
      src/c-ares/gen_build_yaml.py
  5. 4
      src/python/grpcio/grpc_core_dependencies.py
  6. 2
      templates/Makefile.template
  7. 2
      third_party/cares/cares
  8. 122
      third_party/cares/cares.BUILD
  9. 2
      tools/run_tests/sanity/check_submodules.sh

96
Makefile generated

@ -375,7 +375,7 @@ LDFLAGS += -pthread
endif
ifeq ($(SYSTEM),MINGW32)
LIBS = m pthread ws2_32 dbghelp bcrypt
LIBS = m pthread ws2_32 iphlpapi dbghelp bcrypt
LDFLAGS += -pthread
endif
@ -2807,62 +2807,66 @@ endif
# start of build recipe for library "ares" (generated by makelib(lib) template function)
LIBARES_SRC = \
third_party/cares/cares/src/lib/ares_init.c \
third_party/cares/cares/src/lib/ares_expand_string.c \
third_party/cares/cares/src/lib/ares_strcasecmp.c \
third_party/cares/cares/src/lib/ares_destroy.c \
third_party/cares/cares/src/lib/ares_free_string.c \
third_party/cares/cares/src/lib/ares__read_line.c \
third_party/cares/cares/src/lib/ares__get_hostent.c \
third_party/cares/cares/src/lib/ares__close_sockets.c \
third_party/cares/cares/src/lib/ares__timeval.c \
third_party/cares/cares/src/lib/ares_library_init.c \
third_party/cares/cares/src/lib/ares_getsock.c \
third_party/cares/cares/src/lib/ares_process.c \
third_party/cares/cares/src/lib/ares_create_query.c \
third_party/cares/cares/src/lib/ares_gethostbyaddr.c \
third_party/cares/cares/src/lib/ares_getenv.c \
third_party/cares/cares/src/lib/ares_free_string.c \
third_party/cares/cares/src/lib/ares_free_hostent.c \
third_party/cares/cares/src/lib/ares_fds.c \
third_party/cares/cares/src/lib/ares_gethostbyname.c \
third_party/cares/cares/src/lib/ares_mkquery.c \
third_party/cares/cares/src/lib/ares_freeaddrinfo.c \
third_party/cares/cares/src/lib/ares_strdup.c \
third_party/cares/cares/src/lib/ares_timeout.c \
third_party/cares/cares/src/lib/ares_getnameinfo.c \
third_party/cares/cares/src/lib/ares_expand_string.c \
third_party/cares/cares/src/lib/ares_create_query.c \
third_party/cares/cares/src/lib/ares_cancel.c \
third_party/cares/cares/src/lib/ares_android.c \
third_party/cares/cares/src/lib/ares_parse_txt_reply.c \
third_party/cares/cares/src/lib/ares_parse_srv_reply.c \
third_party/cares/cares/src/lib/ares_parse_soa_reply.c \
third_party/cares/cares/src/lib/ares_parse_ptr_reply.c \
third_party/cares/cares/src/lib/ares_parse_ns_reply.c \
third_party/cares/cares/src/lib/ares_parse_naptr_reply.c \
third_party/cares/cares/src/lib/ares_parse_a_reply.c \
third_party/cares/cares/src/lib/ares_send.c \
third_party/cares/cares/src/lib/ares_nowarn.c \
third_party/cares/cares/src/lib/ares__sortaddrinfo.c \
third_party/cares/cares/src/lib/ares_android.c \
third_party/cares/cares/src/lib/ares_strerror.c \
third_party/cares/cares/src/lib/ares_parse_mx_reply.c \
third_party/cares/cares/src/lib/ares_parse_caa_reply.c \
third_party/cares/cares/src/lib/ares__close_sockets.c \
third_party/cares/cares/src/lib/ares_options.c \
third_party/cares/cares/src/lib/ares_nowarn.c \
third_party/cares/cares/src/lib/ares_mkquery.c \
third_party/cares/cares/src/lib/ares_llist.c \
third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c \
third_party/cares/cares/src/lib/ares_getaddrinfo.c \
third_party/cares/cares/src/lib/ares_parse_ns_reply.c \
third_party/cares/cares/src/lib/windows_port.c \
third_party/cares/cares/src/lib/ares_getsock.c \
third_party/cares/cares/src/lib/ares_getnameinfo.c \
third_party/cares/cares/src/lib/bitncmp.c \
third_party/cares/cares/src/lib/ares_strsplit.c \
third_party/cares/cares/src/lib/ares_data.c \
third_party/cares/cares/src/lib/ares_free_hostent.c \
third_party/cares/cares/src/lib/ares_platform.c \
third_party/cares/cares/src/lib/ares_parse_txt_reply.c \
third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c \
third_party/cares/cares/src/lib/ares_gethostbyaddr.c \
third_party/cares/cares/src/lib/ares_parse_srv_reply.c \
third_party/cares/cares/src/lib/ares_writev.c \
third_party/cares/cares/src/lib/ares_version.c \
third_party/cares/cares/src/lib/ares_getenv.c \
third_party/cares/cares/src/lib/ares_timeout.c \
third_party/cares/cares/src/lib/ares_strerror.c \
third_party/cares/cares/src/lib/ares_strcasecmp.c \
third_party/cares/cares/src/lib/ares_search.c \
third_party/cares/cares/src/lib/ares_parse_mx_reply.c \
third_party/cares/cares/src/lib/ares__get_hostent.c \
third_party/cares/cares/src/lib/ares_platform.c \
third_party/cares/cares/src/lib/windows_port.c \
third_party/cares/cares/src/lib/inet_ntop.c \
third_party/cares/cares/src/lib/ares__sortaddrinfo.c \
third_party/cares/cares/src/lib/ares__readaddrinfo.c \
third_party/cares/cares/src/lib/ares_parse_ptr_reply.c \
third_party/cares/cares/src/lib/ares__read_line.c \
third_party/cares/cares/src/lib/ares_query.c \
third_party/cares/cares/src/lib/ares_options.c \
third_party/cares/cares/src/lib/inet_net_pton.c \
third_party/cares/cares/src/lib/ares_parse_uri_reply.c \
third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c \
third_party/cares/cares/src/lib/ares_parse_a_reply.c \
third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c \
third_party/cares/cares/src/lib/ares_library_init.c \
third_party/cares/cares/src/lib/ares_init.c \
third_party/cares/cares/src/lib/ares_gethostbyname.c \
third_party/cares/cares/src/lib/ares_getaddrinfo.c \
third_party/cares/cares/src/lib/ares_freeaddrinfo.c \
third_party/cares/cares/src/lib/ares_expand_name.c \
third_party/cares/cares/src/lib/inet_ntop.c \
third_party/cares/cares/src/lib/ares_cancel.c \
third_party/cares/cares/src/lib/ares_writev.c \
third_party/cares/cares/src/lib/ares_destroy.c \
third_party/cares/cares/src/lib/ares_data.c \
third_party/cares/cares/src/lib/ares__addrinfo_localhost.c \
third_party/cares/cares/src/lib/ares__addrinfo2hostent.c \
third_party/cares/cares/src/lib/inet_net_pton.c \
third_party/cares/cares/src/lib/ares_strsplit.c \
third_party/cares/cares/src/lib/ares_strdup.c \
third_party/cares/cares/src/lib/ares_send.c \
third_party/cares/cares/src/lib/ares_rand.c \
third_party/cares/cares/src/lib/ares_query.c \
third_party/cares/cares/src/lib/ares_process.c \
LIBARES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBARES_SRC))))

@ -327,11 +327,11 @@ def grpc_deps():
http_archive(
name = "com_github_cares_cares",
build_file = "@com_github_grpc_grpc//third_party:cares/cares.BUILD",
sha256 = "ec76c5e79db59762776bece58b69507d095856c37b81fd35bfb0958e74b61d93",
strip_prefix = "c-ares-6654436a307a5a686b008c1d4c93b0085da6e6d8",
sha256 = "bf26e5b25e259911914a85ae847b6d723488adb5af4f8bdeb9d0871a318476e3",
strip_prefix = "c-ares-6360e96b5cf8e5980c887ce58ef727e53d77243a",
urls = [
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz",
"https://github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz",
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/c-ares/c-ares/archive/6360e96b5cf8e5980c887ce58ef727e53d77243a.tar.gz",
"https://github.com/c-ares/c-ares/archive/6360e96b5cf8e5980c887ce58ef727e53d77243a.tar.gz",
],
)

8
grpc.gemspec generated

@ -2624,8 +2624,11 @@ Gem::Specification.new do |s|
s.files += %w( third_party/cares/ares_build.h )
s.files += %w( third_party/cares/cares/include/ares.h )
s.files += %w( third_party/cares/cares/include/ares_dns.h )
s.files += %w( third_party/cares/cares/include/ares_nameser.h )
s.files += %w( third_party/cares/cares/include/ares_rules.h )
s.files += %w( third_party/cares/cares/include/ares_version.h )
s.files += %w( third_party/cares/cares/src/lib/ares__addrinfo2hostent.c )
s.files += %w( third_party/cares/cares/src/lib/ares__addrinfo_localhost.c )
s.files += %w( third_party/cares/cares/src/lib/ares__close_sockets.c )
s.files += %w( third_party/cares/cares/src/lib/ares__get_hostent.c )
s.files += %w( third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c )
@ -2658,11 +2661,9 @@ Gem::Specification.new do |s|
s.files += %w( third_party/cares/cares/src/lib/ares_iphlpapi.h )
s.files += %w( third_party/cares/cares/src/lib/ares_ipv6.h )
s.files += %w( third_party/cares/cares/src/lib/ares_library_init.c )
s.files += %w( third_party/cares/cares/src/lib/ares_library_init.h )
s.files += %w( third_party/cares/cares/src/lib/ares_llist.c )
s.files += %w( third_party/cares/cares/src/lib/ares_llist.h )
s.files += %w( third_party/cares/cares/src/lib/ares_mkquery.c )
s.files += %w( third_party/cares/cares/src/lib/ares_nameser.h )
s.files += %w( third_party/cares/cares/src/lib/ares_nowarn.c )
s.files += %w( third_party/cares/cares/src/lib/ares_nowarn.h )
s.files += %w( third_party/cares/cares/src/lib/ares_options.c )
@ -2676,11 +2677,13 @@ Gem::Specification.new do |s|
s.files += %w( third_party/cares/cares/src/lib/ares_parse_soa_reply.c )
s.files += %w( third_party/cares/cares/src/lib/ares_parse_srv_reply.c )
s.files += %w( third_party/cares/cares/src/lib/ares_parse_txt_reply.c )
s.files += %w( third_party/cares/cares/src/lib/ares_parse_uri_reply.c )
s.files += %w( third_party/cares/cares/src/lib/ares_platform.c )
s.files += %w( third_party/cares/cares/src/lib/ares_platform.h )
s.files += %w( third_party/cares/cares/src/lib/ares_private.h )
s.files += %w( third_party/cares/cares/src/lib/ares_process.c )
s.files += %w( third_party/cares/cares/src/lib/ares_query.c )
s.files += %w( third_party/cares/cares/src/lib/ares_rand.c )
s.files += %w( third_party/cares/cares/src/lib/ares_search.c )
s.files += %w( third_party/cares/cares/src/lib/ares_send.c )
s.files += %w( third_party/cares/cares/src/lib/ares_setup.h )
@ -2703,6 +2706,7 @@ Gem::Specification.new do |s|
s.files += %w( third_party/cares/cares/src/lib/inet_ntop.c )
s.files += %w( third_party/cares/cares/src/lib/setup_once.h )
s.files += %w( third_party/cares/cares/src/lib/windows_port.c )
s.files += %w( third_party/cares/cares/src/tools/ares_getopt.h )
s.files += %w( third_party/cares/config_darwin/ares_config.h )
s.files += %w( third_party/cares/config_freebsd/ares_config.h )
s.files += %w( third_party/cares/config_linux/ares_config.h )

@ -49,105 +49,112 @@ try:
gen_ares_build(x)
return "third_party/cares/cares/include/ares_build.h"
out["libs"] = [
{
"name": "ares",
"defaults": "ares",
"build": "private",
"language": "c",
"secure": False,
"src": [
"third_party/cares/cares/src/lib/ares_init.c",
"third_party/cares/cares/src/lib/ares_expand_string.c",
"third_party/cares/cares/src/lib/ares_strcasecmp.c",
"third_party/cares/cares/src/lib/ares_destroy.c",
"third_party/cares/cares/src/lib/ares_free_string.c",
"third_party/cares/cares/src/lib/ares__timeval.c",
"third_party/cares/cares/src/lib/ares_library_init.c",
"third_party/cares/cares/src/lib/ares_getsock.c",
"third_party/cares/cares/src/lib/ares_process.c",
"third_party/cares/cares/src/lib/ares_create_query.c",
"third_party/cares/cares/src/lib/ares_fds.c",
"third_party/cares/cares/src/lib/ares_gethostbyname.c",
"third_party/cares/cares/src/lib/ares_mkquery.c",
"third_party/cares/cares/src/lib/ares_freeaddrinfo.c",
"third_party/cares/cares/src/lib/ares_strdup.c",
"third_party/cares/cares/src/lib/ares_timeout.c",
"third_party/cares/cares/src/lib/ares_getnameinfo.c",
"third_party/cares/cares/src/lib/ares_parse_soa_reply.c",
"third_party/cares/cares/src/lib/ares_parse_naptr_reply.c",
"third_party/cares/cares/src/lib/ares_parse_a_reply.c",
"third_party/cares/cares/src/lib/ares_send.c",
"third_party/cares/cares/src/lib/ares_nowarn.c",
"third_party/cares/cares/src/lib/ares__sortaddrinfo.c",
"third_party/cares/cares/src/lib/ares_android.c",
"third_party/cares/cares/src/lib/ares_strerror.c",
"third_party/cares/cares/src/lib/ares_parse_caa_reply.c",
"third_party/cares/cares/src/lib/ares__close_sockets.c",
"third_party/cares/cares/src/lib/ares_llist.c",
"third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c",
"third_party/cares/cares/src/lib/ares_getaddrinfo.c",
"third_party/cares/cares/src/lib/ares_parse_ns_reply.c",
"third_party/cares/cares/src/lib/windows_port.c",
"third_party/cares/cares/src/lib/bitncmp.c",
"third_party/cares/cares/src/lib/ares_strsplit.c",
"third_party/cares/cares/src/lib/ares_data.c",
"third_party/cares/cares/src/lib/ares_free_hostent.c",
"third_party/cares/cares/src/lib/ares_platform.c",
"third_party/cares/cares/src/lib/ares_parse_txt_reply.c",
"third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c",
"third_party/cares/cares/src/lib/ares_gethostbyaddr.c",
"third_party/cares/cares/src/lib/ares_parse_srv_reply.c",
"third_party/cares/cares/src/lib/ares_version.c",
"third_party/cares/cares/src/lib/ares_getenv.c",
"third_party/cares/cares/src/lib/ares_search.c",
"third_party/cares/cares/src/lib/ares_parse_mx_reply.c",
"third_party/cares/cares/src/lib/ares__get_hostent.c",
"third_party/cares/cares/src/lib/ares__readaddrinfo.c",
"third_party/cares/cares/src/lib/ares_parse_ptr_reply.c",
"third_party/cares/cares/src/lib/ares__read_line.c",
"third_party/cares/cares/src/lib/ares_query.c",
"third_party/cares/cares/src/lib/ares_options.c",
"third_party/cares/cares/src/lib/inet_net_pton.c",
"third_party/cares/cares/src/lib/ares_expand_name.c",
"third_party/cares/cares/src/lib/inet_ntop.c",
"third_party/cares/cares/src/lib/ares_cancel.c",
"third_party/cares/cares/src/lib/ares_writev.c",
],
"headers": [
"third_party/cares/ares_build.h",
"third_party/cares/cares/include/ares_version.h",
"third_party/cares/cares/include/ares.h",
"third_party/cares/cares/include/ares_rules.h",
"third_party/cares/cares/include/ares_dns.h",
"third_party/cares/cares/src/lib/ares_data.h",
"third_party/cares/cares/src/lib/ares_strsplit.h",
"third_party/cares/cares/src/lib/bitncmp.h",
"third_party/cares/cares/src/lib/ares_iphlpapi.h",
"third_party/cares/cares/src/lib/ares_inet_net_pton.h",
"third_party/cares/cares/src/lib/ares_getenv.h",
"third_party/cares/cares/src/lib/ares_platform.h",
"third_party/cares/cares/src/lib/ares_writev.h",
"third_party/cares/cares/src/lib/ares_private.h",
"third_party/cares/cares/src/lib/ares_setup.h",
"third_party/cares/cares/src/lib/config-win32.h",
"third_party/cares/cares/src/lib/ares_strcasecmp.h",
"third_party/cares/cares/src/lib/setup_once.h",
"third_party/cares/cares/src/lib/ares_ipv6.h",
"third_party/cares/cares/src/lib/ares_library_init.h",
"third_party/cares/cares/src/lib/ares_nameser.h",
"third_party/cares/cares/src/lib/ares_strdup.h",
"third_party/cares/cares/src/lib/config-dos.h",
"third_party/cares/cares/src/lib/ares_llist.h",
"third_party/cares/cares/src/lib/ares_nowarn.h",
"third_party/cares/cares/src/lib/ares_android.h",
"third_party/cares/config_darwin/ares_config.h",
"third_party/cares/config_freebsd/ares_config.h",
"third_party/cares/config_linux/ares_config.h",
"third_party/cares/config_openbsd/ares_config.h",
],
}
]
out['libs'] = [{
'name':
'ares',
'defaults':
'ares',
'build':
'private',
'language':
'c',
'secure':
False,
'src': [
"third_party/cares/cares/src/lib/ares__read_line.c",
"third_party/cares/cares/src/lib/ares__get_hostent.c",
"third_party/cares/cares/src/lib/ares__close_sockets.c",
"third_party/cares/cares/src/lib/ares__timeval.c",
"third_party/cares/cares/src/lib/ares_gethostbyaddr.c",
"third_party/cares/cares/src/lib/ares_getenv.c",
"third_party/cares/cares/src/lib/ares_free_string.c",
"third_party/cares/cares/src/lib/ares_free_hostent.c",
"third_party/cares/cares/src/lib/ares_fds.c",
"third_party/cares/cares/src/lib/ares_expand_string.c",
"third_party/cares/cares/src/lib/ares_create_query.c",
"third_party/cares/cares/src/lib/ares_cancel.c",
"third_party/cares/cares/src/lib/ares_android.c",
"third_party/cares/cares/src/lib/ares_parse_txt_reply.c",
"third_party/cares/cares/src/lib/ares_parse_srv_reply.c",
"third_party/cares/cares/src/lib/ares_parse_soa_reply.c",
"third_party/cares/cares/src/lib/ares_parse_ptr_reply.c",
"third_party/cares/cares/src/lib/ares_parse_ns_reply.c",
"third_party/cares/cares/src/lib/ares_parse_naptr_reply.c",
"third_party/cares/cares/src/lib/ares_parse_mx_reply.c",
"third_party/cares/cares/src/lib/ares_parse_caa_reply.c",
"third_party/cares/cares/src/lib/ares_options.c",
"third_party/cares/cares/src/lib/ares_nowarn.c",
"third_party/cares/cares/src/lib/ares_mkquery.c",
"third_party/cares/cares/src/lib/ares_llist.c",
"third_party/cares/cares/src/lib/ares_getsock.c",
"third_party/cares/cares/src/lib/ares_getnameinfo.c",
"third_party/cares/cares/src/lib/bitncmp.c",
"third_party/cares/cares/src/lib/ares_writev.c",
"third_party/cares/cares/src/lib/ares_version.c",
"third_party/cares/cares/src/lib/ares_timeout.c",
"third_party/cares/cares/src/lib/ares_strerror.c",
"third_party/cares/cares/src/lib/ares_strcasecmp.c",
"third_party/cares/cares/src/lib/ares_search.c",
"third_party/cares/cares/src/lib/ares_platform.c",
"third_party/cares/cares/src/lib/windows_port.c",
"third_party/cares/cares/src/lib/inet_ntop.c",
"third_party/cares/cares/src/lib/ares__sortaddrinfo.c",
"third_party/cares/cares/src/lib/ares__readaddrinfo.c",
"third_party/cares/cares/src/lib/ares_parse_uri_reply.c",
"third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c",
"third_party/cares/cares/src/lib/ares_parse_a_reply.c",
"third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c",
"third_party/cares/cares/src/lib/ares_library_init.c",
"third_party/cares/cares/src/lib/ares_init.c",
"third_party/cares/cares/src/lib/ares_gethostbyname.c",
"third_party/cares/cares/src/lib/ares_getaddrinfo.c",
"third_party/cares/cares/src/lib/ares_freeaddrinfo.c",
"third_party/cares/cares/src/lib/ares_expand_name.c",
"third_party/cares/cares/src/lib/ares_destroy.c",
"third_party/cares/cares/src/lib/ares_data.c",
"third_party/cares/cares/src/lib/ares__addrinfo_localhost.c",
"third_party/cares/cares/src/lib/ares__addrinfo2hostent.c",
"third_party/cares/cares/src/lib/inet_net_pton.c",
"third_party/cares/cares/src/lib/ares_strsplit.c",
"third_party/cares/cares/src/lib/ares_strdup.c",
"third_party/cares/cares/src/lib/ares_send.c",
"third_party/cares/cares/src/lib/ares_rand.c",
"third_party/cares/cares/src/lib/ares_query.c",
"third_party/cares/cares/src/lib/ares_process.c",
],
'headers': [
"third_party/cares/ares_build.h",
"third_party/cares/cares/include/ares_version.h",
"third_party/cares/cares/include/ares.h",
"third_party/cares/cares/include/ares_rules.h",
"third_party/cares/cares/include/ares_dns.h",
"third_party/cares/cares/include/ares_nameser.h",
"third_party/cares/cares/src/tools/ares_getopt.h",
"third_party/cares/cares/src/lib/ares_strsplit.h",
"third_party/cares/cares/src/lib/ares_android.h",
"third_party/cares/cares/src/lib/ares_private.h",
"third_party/cares/cares/src/lib/ares_llist.h",
"third_party/cares/cares/src/lib/ares_platform.h",
"third_party/cares/cares/src/lib/ares_ipv6.h",
"third_party/cares/cares/src/lib/config-dos.h",
"third_party/cares/cares/src/lib/bitncmp.h",
"third_party/cares/cares/src/lib/ares_strcasecmp.h",
"third_party/cares/cares/src/lib/setup_once.h",
"third_party/cares/cares/src/lib/ares_inet_net_pton.h",
"third_party/cares/cares/src/lib/ares_data.h",
"third_party/cares/cares/src/lib/ares_getenv.h",
"third_party/cares/cares/src/lib/config-win32.h",
"third_party/cares/cares/src/lib/ares_strdup.h",
"third_party/cares/cares/src/lib/ares_iphlpapi.h",
"third_party/cares/cares/src/lib/ares_setup.h",
"third_party/cares/cares/src/lib/ares_writev.h",
"third_party/cares/cares/src/lib/ares_nowarn.h",
"third_party/cares/config_darwin/ares_config.h",
"third_party/cares/config_freebsd/ares_config.h",
"third_party/cares/config_linux/ares_config.h",
"third_party/cares/config_openbsd/ares_config.h",
],
}]
except:
pass

@ -1211,6 +1211,8 @@ CORE_SOURCE_FILES = [
'third_party/boringssl-with-bazel/src/ssl/tls13_server.cc',
'third_party/boringssl-with-bazel/src/ssl/tls_method.cc',
'third_party/boringssl-with-bazel/src/ssl/tls_record.cc',
'third_party/cares/cares/src/lib/ares__addrinfo2hostent.c',
'third_party/cares/cares/src/lib/ares__addrinfo_localhost.c',
'third_party/cares/cares/src/lib/ares__close_sockets.c',
'third_party/cares/cares/src/lib/ares__get_hostent.c',
'third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c',
@ -1251,9 +1253,11 @@ CORE_SOURCE_FILES = [
'third_party/cares/cares/src/lib/ares_parse_soa_reply.c',
'third_party/cares/cares/src/lib/ares_parse_srv_reply.c',
'third_party/cares/cares/src/lib/ares_parse_txt_reply.c',
'third_party/cares/cares/src/lib/ares_parse_uri_reply.c',
'third_party/cares/cares/src/lib/ares_platform.c',
'third_party/cares/cares/src/lib/ares_process.c',
'third_party/cares/cares/src/lib/ares_query.c',
'third_party/cares/cares/src/lib/ares_rand.c',
'third_party/cares/cares/src/lib/ares_search.c',
'third_party/cares/cares/src/lib/ares_send.c',
'third_party/cares/cares/src/lib/ares_strcasecmp.c',

@ -283,7 +283,7 @@
endif
ifeq ($(SYSTEM),MINGW32)
LIBS = m pthread ws2_32 dbghelp bcrypt
LIBS = m pthread ws2_32 iphlpapi dbghelp bcrypt
LDFLAGS += -pthread
endif

@ -1 +1 @@
Subproject commit 6654436a307a5a686b008c1d4c93b0085da6e6d8
Subproject commit 6360e96b5cf8e5980c887ce58ef727e53d77243a

@ -133,62 +133,66 @@ copy_file(
cc_library(
name = "ares",
srcs = [
"src/lib/ares_init.c",
"src/lib/ares_expand_string.c",
"src/lib/ares_strcasecmp.c",
"src/lib/ares_destroy.c",
"src/lib/ares_free_string.c",
"src/lib/ares__read_line.c",
"src/lib/ares__get_hostent.c",
"src/lib/ares__close_sockets.c",
"src/lib/ares__timeval.c",
"src/lib/ares_library_init.c",
"src/lib/ares_getsock.c",
"src/lib/ares_process.c",
"src/lib/ares_create_query.c",
"src/lib/ares_gethostbyaddr.c",
"src/lib/ares_getenv.c",
"src/lib/ares_free_string.c",
"src/lib/ares_free_hostent.c",
"src/lib/ares_fds.c",
"src/lib/ares_gethostbyname.c",
"src/lib/ares_mkquery.c",
"src/lib/ares_freeaddrinfo.c",
"src/lib/ares_strdup.c",
"src/lib/ares_timeout.c",
"src/lib/ares_getnameinfo.c",
"src/lib/ares_expand_string.c",
"src/lib/ares_create_query.c",
"src/lib/ares_cancel.c",
"src/lib/ares_android.c",
"src/lib/ares_parse_txt_reply.c",
"src/lib/ares_parse_srv_reply.c",
"src/lib/ares_parse_soa_reply.c",
"src/lib/ares_parse_ptr_reply.c",
"src/lib/ares_parse_ns_reply.c",
"src/lib/ares_parse_naptr_reply.c",
"src/lib/ares_parse_a_reply.c",
"src/lib/ares_send.c",
"src/lib/ares_nowarn.c",
"src/lib/ares__sortaddrinfo.c",
"src/lib/ares_android.c",
"src/lib/ares_strerror.c",
"src/lib/ares_parse_mx_reply.c",
"src/lib/ares_parse_caa_reply.c",
"src/lib/ares__close_sockets.c",
"src/lib/ares_options.c",
"src/lib/ares_nowarn.c",
"src/lib/ares_mkquery.c",
"src/lib/ares_llist.c",
"src/lib/ares_parse_aaaa_reply.c",
"src/lib/ares_getaddrinfo.c",
"src/lib/ares_parse_ns_reply.c",
"src/lib/windows_port.c",
"src/lib/ares_getsock.c",
"src/lib/ares_getnameinfo.c",
"src/lib/bitncmp.c",
"src/lib/ares_strsplit.c",
"src/lib/ares_data.c",
"src/lib/ares_free_hostent.c",
"src/lib/ares_platform.c",
"src/lib/ares_parse_txt_reply.c",
"src/lib/ares__parse_into_addrinfo.c",
"src/lib/ares_gethostbyaddr.c",
"src/lib/ares_parse_srv_reply.c",
"src/lib/ares_writev.c",
"src/lib/ares_version.c",
"src/lib/ares_getenv.c",
"src/lib/ares_timeout.c",
"src/lib/ares_strerror.c",
"src/lib/ares_strcasecmp.c",
"src/lib/ares_search.c",
"src/lib/ares_parse_mx_reply.c",
"src/lib/ares__get_hostent.c",
"src/lib/ares_platform.c",
"src/lib/windows_port.c",
"src/lib/inet_ntop.c",
"src/lib/ares__sortaddrinfo.c",
"src/lib/ares__readaddrinfo.c",
"src/lib/ares_parse_ptr_reply.c",
"src/lib/ares__read_line.c",
"src/lib/ares_query.c",
"src/lib/ares_options.c",
"src/lib/inet_net_pton.c",
"src/lib/ares_parse_uri_reply.c",
"src/lib/ares__parse_into_addrinfo.c",
"src/lib/ares_parse_a_reply.c",
"src/lib/ares_parse_aaaa_reply.c",
"src/lib/ares_library_init.c",
"src/lib/ares_init.c",
"src/lib/ares_gethostbyname.c",
"src/lib/ares_getaddrinfo.c",
"src/lib/ares_freeaddrinfo.c",
"src/lib/ares_expand_name.c",
"src/lib/inet_ntop.c",
"src/lib/ares_cancel.c",
"src/lib/ares_writev.c",
"src/lib/ares_destroy.c",
"src/lib/ares_data.c",
"src/lib/ares__addrinfo_localhost.c",
"src/lib/ares__addrinfo2hostent.c",
"src/lib/inet_net_pton.c",
"src/lib/ares_strsplit.c",
"src/lib/ares_strdup.c",
"src/lib/ares_send.c",
"src/lib/ares_rand.c",
"src/lib/ares_query.c",
"src/lib/ares_process.c",
],
hdrs = [
"ares_build.h",
@ -197,27 +201,27 @@ cc_library(
"include/ares.h",
"include/ares_rules.h",
"include/ares_dns.h",
"src/lib/ares_data.h",
"include/ares_nameser.h",
"src/tools/ares_getopt.h",
"src/lib/ares_strsplit.h",
"src/lib/ares_android.h",
"src/lib/ares_private.h",
"src/lib/ares_llist.h",
"src/lib/ares_platform.h",
"src/lib/ares_ipv6.h",
"src/lib/config-dos.h",
"src/lib/bitncmp.h",
"src/lib/ares_iphlpapi.h",
"src/lib/ares_strcasecmp.h",
"src/lib/setup_once.h",
"src/lib/ares_inet_net_pton.h",
"src/lib/ares_data.h",
"src/lib/ares_getenv.h",
"src/lib/ares_platform.h",
"src/lib/ares_writev.h",
"src/lib/ares_private.h",
"src/lib/ares_setup.h",
"src/lib/config-win32.h",
"src/lib/ares_strcasecmp.h",
"src/lib/setup_once.h",
"src/lib/ares_ipv6.h",
"src/lib/ares_library_init.h",
"src/lib/ares_nameser.h",
"src/lib/ares_strdup.h",
"src/lib/config-dos.h",
"src/lib/ares_llist.h",
"src/lib/ares_iphlpapi.h",
"src/lib/ares_setup.h",
"src/lib/ares_writev.h",
"src/lib/ares_nowarn.h",
"src/lib/ares_android.h",
],
copts = [
"-D_GNU_SOURCE",

@ -29,7 +29,7 @@ third_party/abseil-cpp c2435f8342c2d0ed8101cb43adfd605fdc52dca2
third_party/benchmark 361e8d1cfe0c6c36d30b39f1b61302ece5507320
third_party/bloaty 60209eb1ccc34d5deefb002d1b7f37545204f7f2
third_party/boringssl-with-bazel e46383fc18d08def901b2ed5a194295693e905c7
third_party/cares/cares 6654436a307a5a686b008c1d4c93b0085da6e6d8
third_party/cares/cares 6360e96b5cf8e5980c887ce58ef727e53d77243a
third_party/envoy-api 68d4315167352ffac71f149a43b8088397d3f33d
third_party/googleapis 2f9af297c84c55c8b871ba4495e01ade42476c92
third_party/googletest 0e402173c97aea7a00749e825b194bfede4f2e45

Loading…
Cancel
Save