platform_system_core/libnetutils/Android.bp

38 lines
510 B
Plaintext

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"],
}