blob: 9c1b45d1258edd1dc0f28d9871f745b1fbdb6c34 [file] [log] [blame]
Bob Badourc22b35b2021-02-23 14:26:20 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Devin Moore14b2cbe2020-10-09 10:46:38 -070010aidl_interface {
11 name: "android.hardware.common.fmq",
12 host_supported: true,
13 vendor_available: true,
Nikita Putikhin3e40dc12024-05-08 17:35:18 +020014 product_available: true,
Kiyoung Kim9e9d41d2024-03-11 13:04:36 +090015 double_loadable: true,
Devin Moore14b2cbe2020-10-09 10:46:38 -070016 srcs: [
17 "android/hardware/common/fmq/*.aidl",
18 ],
Devin Moore17365e52021-01-18 16:11:20 -080019 imports: [
Steven Moreland7ccd3de2021-08-31 18:04:36 -070020 "android.hardware.common-V2",
Devin Moore17365e52021-01-18 16:11:20 -080021 ],
Devin Moore14b2cbe2020-10-09 10:46:38 -070022 stability: "vintf",
23 backend: {
24 java: {
Devin Moored73e9142023-02-15 20:39:58 +000025 // There is no Java FMQ library, but we support the AIDL type
26 // to allow subsets of interfaces that include it to be used in Java
27 enabled: true,
Hongguangd66dff62021-07-15 13:44:02 -070028 sdk_version: "module_current",
Devin Moore14b2cbe2020-10-09 10:46:38 -070029 },
30 cpp: {
Devin Moored73e9142023-02-15 20:39:58 +000031 // FMQ will not be supported in the cpp backend because the parcelables
32 // are not stable enough for use in shared memory
Devin Moore14b2cbe2020-10-09 10:46:38 -070033 enabled: false,
34 },
Roopa Sattiraju7455efc2022-02-03 14:15:22 -080035 ndk: {
36 apex_available: [
37 "//apex_available:platform",
William Escande2591c3d2022-08-22 11:27:58 -070038 "com.android.btservices",
Sungtak Leebfeecf32022-12-10 09:44:04 +000039 "com.android.media.swcodec",
Roopa Sattiraju7455efc2022-02-03 14:15:22 -080040 ],
41 min_sdk_version: "29",
42 },
Vadim Caen60741ed2022-10-17 14:11:41 +000043 rust: {
Andrew Walbranfcb6c412023-09-14 15:44:57 +000044 // FMQ is not supported in the rust backend, but we need this AIDL interface for
45 // HardwareBuffer.
46 enabled: true,
Devin Moored73e9142023-02-15 20:39:58 +000047 },
Devin Moore14b2cbe2020-10-09 10:46:38 -070048 },
Steven Moreland93ea25c2022-11-18 19:33:29 +000049 frozen: true,
Devin Moore777a0bc2023-03-20 23:47:49 +000050 versions_with_info: [
51 {
52 version: "1",
53 imports: ["android.hardware.common-V2"],
54 },
55 ],
Devin Moore14b2cbe2020-10-09 10:46:38 -070056}