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: [
|
2019-01-20 03:47:12 +01:00
|
|
|
"checksum.c",
|
2017-04-20 01:46:46 +02:00
|
|
|
"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
|
|
|
|
2020-07-09 09:35:47 +02:00
|
|
|
cc_library_static {
|
|
|
|
name: "libipchecksum",
|
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"checksum.c",
|
|
|
|
],
|
|
|
|
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-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"],
|
|
|
|
}
|