ad8cf52c4c
As of VNDK deprecation, any libraries that defines vndk is no longer valid anymore. This change removes all VNDK definition(s) from modules which was VNDK. Any former VNDK-SP libraries will be marked as double-loadable, so it can keep be able to be referenced by LLNDK libraries. Bug: 328994089 Test: AOSP CF build succeeded Change-Id: I1662f16e5e446bb28167b0bb278cd63997267d2a
60 lines
1.1 KiB
Text
60 lines
1.1 KiB
Text
package {
|
|
default_applicable_licenses: ["system_core_libnetutils_license"],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "system_core_libnetutils_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
],
|
|
license_text: [
|
|
"NOTICE",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libnetutils",
|
|
vendor_available: true,
|
|
|
|
srcs: [
|
|
"dhcpclient.c",
|
|
"dhcpmsg.c",
|
|
"ifc_utils.c",
|
|
"packet.c",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
|
|
static_libs: [
|
|
"libip_checksum",
|
|
],
|
|
|
|
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_binary {
|
|
name: "dhcpdbg",
|
|
|
|
srcs: [
|
|
"dhcptool.c",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libnetutils",
|
|
],
|
|
|
|
cflags: ["-Werror"],
|
|
}
|