summaryrefslogtreecommitdiff
path: root/src/Android.bp
blob: c76403981d2e7ab82af7f717ed1363efd8f7539c (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
cc_binary {
    name: "dnsmasq",
    srcs: [
        "cache.c",
        "dhcp.c",
        "dnsmasq.c",
        "forward.c",
        "helper.c",
        "lease.c",
        "log.c",
        "netlink.c",
        "network.c",
        "option.c",
        "rfc1035.c",
        "rfc2131.c",
        "util.c",
    ],

    cflags: [
        "-O2",
        "-g",
        "-W",
        "-Wall",
        "-D__ANDROID__",
        "-DIPV6",
        "-DNO_SCRIPT",
        "-D_BSD_SOURCE",
        "-Wno-unused-variable",
        "-Wno-unused-parameter",
        "-Werror",
    ],
    system_shared_libs: ["libc"],
    shared_libs: [
        "libcutils",
        "liblog",
    ],
}