blob: 2c04a571a0cae1b490751a999d3488b00e0d6a84 [file]
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: [
"ifc_utils.c",
],
shared_libs: [
"libcutils",
"liblog",
],
cflags: ["-Werror"],
export_include_dirs: ["include"],
// TODO: we should seriously consider removing the dependency of the
// connectivity/tethering module and/or have this lib build against the ndk,
// or maybe even just delete 'libnetutils' entirely.
apex_available: [
"//apex_available:platform",
"com.android.tethering",
],
}