blob: 4a3658e93e63449e66bc6d5c2ca7a8da2eb47d10 [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",
Chan Wangeb2c1452024-08-02 08:55:05 +000038 "//apex_available:anyapex",
Roopa Sattiraju7455efc2022-02-03 14:15:22 -080039 ],
40 min_sdk_version: "29",
41 },
Vadim Caen60741ed2022-10-17 14:11:41 +000042 rust: {
Andrew Walbranfcb6c412023-09-14 15:44:57 +000043 // FMQ is not supported in the rust backend, but we need this AIDL interface for
44 // HardwareBuffer.
45 enabled: true,
Devin Moored73e9142023-02-15 20:39:58 +000046 },
Devin Moore14b2cbe2020-10-09 10:46:38 -070047 },
Steven Moreland93ea25c2022-11-18 19:33:29 +000048 frozen: true,
Devin Moore777a0bc2023-03-20 23:47:49 +000049 versions_with_info: [
50 {
51 version: "1",
52 imports: ["android.hardware.common-V2"],
53 },
54 ],
Devin Moore14b2cbe2020-10-09 10:46:38 -070055}