summaryrefslogtreecommitdiffstats
blob: 1d43775d6d125015233047989c042c5bdb751727 (plain) (blame)
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_library_shared {
    name: "libnetutils",
    vendor_available: true,
    vndk: {
        enabled: true,
    },

    srcs: [
        "dhcpclient.c",
        "dhcpmsg.c",
        "ifc_utils.c",
        "packet.c",
    ],

    shared_libs: [
        "libcutils",
        "liblog",
    ],

    cflags: ["-Werror"],

    export_include_dirs: ["include"],
}

cc_binary {
    name: "dhcpdbg",

    srcs: [
        "dhcptool.c",
    ],

    shared_libs: [
        "libnetutils",
    ],

    cflags: ["-Werror"],
}