platform_hardware_interfaces/common/fmq/aidl/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

56 lines
1.7 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"],
}
aidl_interface {
name: "android.hardware.common.fmq",
host_supported: true,
vendor_available: true,
product_available: true,
double_loadable: true,
srcs: [
"android/hardware/common/fmq/*.aidl",
],
imports: [
"android.hardware.common-V2",
],
stability: "vintf",
backend: {
java: {
// There is no Java FMQ library, but we support the AIDL type
// to allow subsets of interfaces that include it to be used in Java
enabled: true,
sdk_version: "module_current",
},
cpp: {
// FMQ will not be supported in the cpp backend because the parcelables
// are not stable enough for use in shared memory
enabled: false,
},
ndk: {
apex_available: [
"//apex_available:platform",
"com.android.btservices",
"com.android.media.swcodec",
],
min_sdk_version: "29",
},
rust: {
// FMQ is not supported in the rust backend, but we need this AIDL interface for
// HardwareBuffer.
enabled: true,
},
},
frozen: true,
versions_with_info: [
{
version: "1",
imports: ["android.hardware.common-V2"],
},
],
}