platform_hardware_interfaces/common/support/Android.bp
Nikita Putikhin 3e40dc1656 Make fmq product_available
Vendors already can use these targets on /vendor. This change makes them
available to /product as well.

More about product partitions:
https://source.android.com/docs/core/architecture/partitions/product-partitions

Bug: 336989719
Test: mm
Change-Id: I2cb1817525d4b2b3033e0e633ea2f8e7f5653a6c
2024-05-08 19:38:41 +00:00

51 lines
1.2 KiB
Text

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,
product_available: true,
host_supported: true,
target: {
darwin: {
enabled: false,
},
},
srcs: ["NativeHandle.cpp"],
export_include_dirs: ["include"],
shared_libs: [
"android.hardware.common-V2-ndk",
"libcutils",
],
apex_available: [
"//apex_available:platform",
"com.android.neuralnetworks",
"com.android.media.swcodec",
],
min_sdk_version: "29",
}
cc_test {
name: "libaidlcommonsupport_test",
host_supported: true,
target: {
darwin: {
enabled: false,
},
},
srcs: ["test.cpp"],
static_libs: [
"android.hardware.common-V2-ndk",
"libaidlcommonsupport",
],
shared_libs: [
"libcutils",
],
test_suites: ["general-tests"],
}