This reverts commit 187b7d1950.
Reason for revert: system/core is multiple projects, not one.
Change-Id: I790ea41741f8cd9b8b6db2f59a49e71fb0958fd6
58 lines
911 B
Text
58 lines
911 B
Text
cc_library_shared {
|
|
name: "libnetutils",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
|
|
srcs: [
|
|
"checksum.c",
|
|
"dhcpclient.c",
|
|
"dhcpmsg.c",
|
|
"ifc_utils.c",
|
|
"packet.c",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
export_include_dirs: ["include"],
|
|
// TODO: remove connectivity module dependency, or have this lib build against the ndk
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.tethering",
|
|
],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libipchecksum",
|
|
|
|
srcs: [
|
|
"checksum.c",
|
|
],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "dhcpdbg",
|
|
|
|
srcs: [
|
|
"dhcptool.c",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libnetutils",
|
|
],
|
|
|
|
cflags: ["-Werror"],
|
|
}
|