1cc_binary {
2    name: "dnsmasq",
3    srcs: [
4        "cache.c",
5        "dhcp.c",
6        "dnsmasq.c",
7        "forward.c",
8        "helper.c",
9        "lease.c",
10        "log.c",
11        "netlink.c",
12        "network.c",
13        "option.c",
14        "rfc1035.c",
15        "rfc2131.c",
16        "util.c",
17    ],
18
19    cflags: [
20        "-O2",
21        "-g",
22        "-W",
23        "-Wall",
24        "-D__ANDROID__",
25        "-DIPV6",
26        "-DNO_SCRIPT",
27        "-D_BSD_SOURCE",
28        "-Wno-unused-variable",
29        "-Wno-unused-parameter",
30        "-Werror",
31    ],
32    system_shared_libs: ["libc"],
33    shared_libs: [
34        "libcutils",
35        "liblog",
36    ],
37}
38