2e4280dfe1
This allows us to use it elsewhere, for example, in netd. Bug: 65674744 Test: builds, boots Test: atest clatd_test clatd_microbenchmark Change-Id: I262ddd4176dabc3b10758fb0b4eb09643aa4911c
38 lines
532 B
Text
38 lines
532 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"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "dhcpdbg",
|
|
|
|
srcs: [
|
|
"dhcptool.c",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libnetutils",
|
|
],
|
|
|
|
cflags: ["-Werror"],
|
|
}
|