2017-04-20 07:46:46 +08:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libnetutils",
|
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"dhcpclient.c",
|
|
|
|
"dhcpmsg.c",
|
|
|
|
"ifc_utils.c",
|
|
|
|
"packet.c",
|
|
|
|
],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
"liblog",
|
|
|
|
],
|
|
|
|
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
}
|
2017-05-17 05:20:15 +08:00
|
|
|
|
|
|
|
cc_binary {
|
2017-05-18 01:47:28 +08:00
|
|
|
name: "dhcpdbg",
|
2017-05-17 05:20:15 +08:00
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"dhcptool.c",
|
|
|
|
],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"libnetutils",
|
|
|
|
],
|
|
|
|
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
}
|