aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/cares/cares.BUILD
blob: 48096aa0551fd9aa5b6032f4d28a556e2b1df9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
cc_library(
    name = "ares",
    srcs = [
        "cares/ares__close_sockets.c",
        "cares/ares__get_hostent.c",
        "cares/ares__read_line.c",
        "cares/ares__timeval.c",
        "cares/ares_cancel.c",
        "cares/ares_create_query.c",
        "cares/ares_data.c",
        "cares/ares_destroy.c",
        "cares/ares_expand_name.c",
        "cares/ares_expand_string.c",
        "cares/ares_fds.c",
        "cares/ares_free_hostent.c",
        "cares/ares_free_string.c",
        "cares/ares_getenv.c",
        "cares/ares_gethostbyaddr.c",
        "cares/ares_gethostbyname.c",
        "cares/ares_getnameinfo.c",
        "cares/ares_getopt.c",
        "cares/ares_getsock.c",
        "cares/ares_init.c",
        "cares/ares_library_init.c",
        "cares/ares_llist.c",
        "cares/ares_mkquery.c",
        "cares/ares_nowarn.c",
        "cares/ares_options.c",
        "cares/ares_parse_a_reply.c",
        "cares/ares_parse_aaaa_reply.c",
        "cares/ares_parse_mx_reply.c",
        "cares/ares_parse_naptr_reply.c",
        "cares/ares_parse_ns_reply.c",
        "cares/ares_parse_ptr_reply.c",
        "cares/ares_parse_soa_reply.c",
        "cares/ares_parse_srv_reply.c",
        "cares/ares_parse_txt_reply.c",
        "cares/ares_platform.c",
        "cares/ares_process.c",
        "cares/ares_query.c",
        "cares/ares_search.c",
        "cares/ares_send.c",
        "cares/ares_strcasecmp.c",
        "cares/ares_strdup.c",
        "cares/ares_strerror.c",
        "cares/ares_timeout.c",
        "cares/ares_version.c",
        "cares/ares_writev.c",
        "cares/bitncmp.c",
        "cares/inet_net_pton.c",
        "cares/inet_ntop.c",
        "cares/windows_port.c",
    ],
    hdrs = [
        "ares_build.h",
        "config_linux/ares_config.h",
        "cares/ares.h",
        "cares/ares_data.h",
        "cares/ares_dns.h",
        "cares/ares_getenv.h",
        "cares/ares_getopt.h",
        "cares/ares_inet_net_pton.h",
        "cares/ares_iphlpapi.h",
        "cares/ares_ipv6.h",
        "cares/ares_library_init.h",
        "cares/ares_llist.h",
        "cares/ares_nowarn.h",
        "cares/ares_platform.h",
        "cares/ares_private.h",
        "cares/ares_rules.h",
        "cares/ares_setup.h",
        "cares/ares_strcasecmp.h",
        "cares/ares_strdup.h",
        "cares/ares_version.h",
        "cares/bitncmp.h",
        "cares/config-win32.h",
        "cares/setup_once.h",
    ],
    includes = [
        ".",
        "config_linux",
        "cares",
    ],
    linkstatic = 1,
    visibility = [
        "//visibility:public",
    ],
    copts = [
        "-D_GNU_SOURCE",
        "-D_HAS_EXCEPTIONS=0",
        "-DNOMINMAX",
        "-DHAVE_CONFIG_H",
    ],
)