2017-04-20 01:46:46 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libnetutils",
|
2017-05-17 20:44:29 +02:00
|
|
|
vendor_available: true,
|
2017-07-24 08:19:45 +02:00
|
|
|
vndk: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
2017-04-20 01:46:46 +02:00
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"dhcpclient.c",
|
|
|
|
"dhcpmsg.c",
|
|
|
|
"ifc_utils.c",
|
|
|
|
"packet.c",
|
|
|
|
],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
"liblog",
|
|
|
|
],
|
|
|
|
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
}
|
2017-05-16 23:20:15 +02:00
|
|
|
|
|
|
|
cc_binary {
|
2017-05-17 19:47:28 +02:00
|
|
|
name: "dhcpdbg",
|
2017-05-16 23:20:15 +02:00
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"dhcptool.c",
|
|
|
|
],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"libnetutils",
|
|
|
|
],
|
|
|
|
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
}
|