Files
hardware_interfaces/common/fmq/aidl/Android.bp
Chan Wang eb2c1450a1 Mark 'android.hardware.common.fmq' as available in any apex
The generated ndk library is used by our project and we have the requirement of marking all our libraries as available in any apex.

Bug: b / 352027888

Test: m
Change-Id: I04a73ee8acdb3626dfcdc93543c0b128816cb8b5
2024-08-02 13:55:50 +00:00

56 lines
1.6 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"],
}
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",
"//apex_available:anyapex",
],
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"],
},
],
}