Files
hardware_interfaces/common/support/Android.bp
Jiyong Park 27f77fefd7 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same 'ndk' backend.

Bug: 161456198
Test: m
Change-Id: Ibe8beeaf0d1b33968fb782f1f70c17ae9e9bf871
2021-07-27 14:44:47 +09:00

42 lines
1.1 KiB
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
cc_library_static {
name: "libaidlcommonsupport",
vendor_available: true,
host_supported: true,
defaults: ["libbinder_ndk_host_user"],
srcs: ["NativeHandle.cpp"],
export_include_dirs: ["include"],
shared_libs: [
"android.hardware.common-V2-ndk",
"libcutils",
],
apex_available: [
"//apex_available:platform",
"com.android.neuralnetworks",
],
min_sdk_version: "29",
}
cc_test {
name: "libaidlcommonsupport_test",
host_supported: true,
defaults: ["libbinder_ndk_host_user"],
srcs: ["test.cpp"],
static_libs: [
"android.hardware.common-V2-ndk",
"libaidlcommonsupport",
],
shared_libs: [
"libcutils",
],
test_suites: ["general-tests"],
}