2021-02-23 14:26:20 -08:00
|
|
|
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"],
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-09 10:46:38 -07:00
|
|
|
aidl_interface {
|
|
|
|
|
name: "android.hardware.common.fmq",
|
|
|
|
|
host_supported: true,
|
|
|
|
|
vendor_available: true,
|
|
|
|
|
vndk: {
|
|
|
|
|
enabled: true,
|
|
|
|
|
support_system_process: true,
|
|
|
|
|
},
|
|
|
|
|
srcs: [
|
|
|
|
|
"android/hardware/common/fmq/*.aidl",
|
|
|
|
|
],
|
2021-01-18 16:11:20 -08:00
|
|
|
imports: [
|
2021-08-31 18:04:36 -07:00
|
|
|
"android.hardware.common-V2",
|
2021-01-18 16:11:20 -08:00
|
|
|
],
|
2020-10-09 10:46:38 -07:00
|
|
|
stability: "vintf",
|
|
|
|
|
backend: {
|
|
|
|
|
java: {
|
2023-02-15 20:39:58 +00:00
|
|
|
// 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,
|
2021-07-15 13:44:02 -07:00
|
|
|
sdk_version: "module_current",
|
2020-10-09 10:46:38 -07:00
|
|
|
},
|
|
|
|
|
cpp: {
|
2023-02-15 20:39:58 +00:00
|
|
|
// FMQ will not be supported in the cpp backend because the parcelables
|
|
|
|
|
// are not stable enough for use in shared memory
|
2020-10-09 10:46:38 -07:00
|
|
|
enabled: false,
|
|
|
|
|
},
|
2022-02-03 14:15:22 -08:00
|
|
|
ndk: {
|
|
|
|
|
apex_available: [
|
|
|
|
|
"//apex_available:platform",
|
2022-08-22 11:27:58 -07:00
|
|
|
"com.android.btservices",
|
2022-12-10 09:44:04 +00:00
|
|
|
"com.android.media.swcodec",
|
2022-02-03 14:15:22 -08:00
|
|
|
],
|
|
|
|
|
min_sdk_version: "29",
|
|
|
|
|
},
|
2022-10-17 14:11:41 +00:00
|
|
|
rust: {
|
2023-09-14 15:44:57 +00:00
|
|
|
// FMQ is not supported in the rust backend, but we need this AIDL interface for
|
|
|
|
|
// HardwareBuffer.
|
|
|
|
|
enabled: true,
|
2023-02-15 20:39:58 +00:00
|
|
|
},
|
2020-10-09 10:46:38 -07:00
|
|
|
},
|
2022-11-18 19:33:29 +00:00
|
|
|
frozen: true,
|
2023-03-20 23:47:49 +00:00
|
|
|
versions_with_info: [
|
|
|
|
|
{
|
|
|
|
|
version: "1",
|
|
|
|
|
imports: ["android.hardware.common-V2"],
|
|
|
|
|
},
|
|
|
|
|
],
|
2020-10-09 10:46:38 -07:00
|
|
|
}
|