blob: 3b022fcb65c890489ff93fe4dd7cf11540a1da33 [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,
14 vndk: {
15 enabled: true,
16 support_system_process: true,
17 },
18 srcs: [
19 "android/hardware/common/fmq/*.aidl",
20 ],
Devin Moore17365e52021-01-18 16:11:20 -080021 imports: [
Steven Moreland7ccd3de2021-08-31 18:04:36 -070022 "android.hardware.common-V2",
Devin Moore17365e52021-01-18 16:11:20 -080023 ],
Devin Moore14b2cbe2020-10-09 10:46:38 -070024 stability: "vintf",
25 backend: {
26 java: {
Devin Moored73e9142023-02-15 20:39:58 +000027 // There is no Java FMQ library, but we support the AIDL type
28 // to allow subsets of interfaces that include it to be used in Java
29 enabled: true,
Hongguangd66dff62021-07-15 13:44:02 -070030 sdk_version: "module_current",
Devin Moore14b2cbe2020-10-09 10:46:38 -070031 },
32 cpp: {
Devin Moored73e9142023-02-15 20:39:58 +000033 // FMQ will not be supported in the cpp backend because the parcelables
34 // are not stable enough for use in shared memory
Devin Moore14b2cbe2020-10-09 10:46:38 -070035 enabled: false,
36 },
Roopa Sattiraju7455efc2022-02-03 14:15:22 -080037 ndk: {
38 apex_available: [
39 "//apex_available:platform",
William Escande2591c3d2022-08-22 11:27:58 -070040 "com.android.btservices",
Sungtak Leebfeecf32022-12-10 09:44:04 +000041 "com.android.media.swcodec",
Roopa Sattiraju7455efc2022-02-03 14:15:22 -080042 ],
43 min_sdk_version: "29",
44 },
Vadim Caen60741ed2022-10-17 14:11:41 +000045 rust: {
Devin Moored73e9142023-02-15 20:39:58 +000046 // FMQ is not supported in the rust backend
47 enabled: false,
48 },
Devin Moore14b2cbe2020-10-09 10:46:38 -070049 },
Steven Moreland93ea25c2022-11-18 19:33:29 +000050 frozen: true,
Devin Moore777a0bc2023-03-20 23:47:49 +000051 versions_with_info: [
52 {
53 version: "1",
54 imports: ["android.hardware.common-V2"],
55 },
56 ],
Devin Moore14b2cbe2020-10-09 10:46:38 -070057}