summaryrefslogtreecommitdiffstats
path: root/libnetutils/Android.bp
blob: 9967ef8862312a35cd6ad2dafb7185d2fe470b2d (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
cc_library_shared {
    name: "libnetutils",
    vendor_available: 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"],
}