blob: 16b22fef3659aeeeaeab6fae22de7a97424fa75e [file] [log] [blame]
Alice Kuoa4dbaff2021-10-18 03:35:59 +08001// Copyright (C) 2021 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Bob Badour8df6fa12022-01-13 11:51:58 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "hardware_interfaces_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["hardware_interfaces_license"],
22}
23
Alice Kuoa4dbaff2021-10-18 03:35:59 +080024aidl_interface {
25 name: "android.hardware.bluetooth.audio",
26 vendor_available: true,
27 srcs: ["android/hardware/bluetooth/audio/*.aidl"],
28 stability: "vintf",
29 imports: [
30 "android.hardware.common-V2",
31 "android.hardware.common.fmq-V1",
Ram Mohanf6497dd2023-06-29 08:36:31 +053032 "android.hardware.audio.common-V2",
Alice Kuoa4dbaff2021-10-18 03:35:59 +080033 ],
34 backend: {
35 cpp: {
36 enabled: false,
37 },
38 java: {
39 sdk_version: "module_current",
40 enabled: false,
41 },
42 ndk: {
Josh Wu6ab53e72021-12-29 23:53:33 -080043 apex_available: [
44 "//apex_available:platform",
William Escande2591c3d2022-08-22 11:27:58 -070045 "com.android.btservices",
Josh Wu6ab53e72021-12-29 23:53:33 -080046 ],
Roopa Sattiraju7455efc2022-02-03 14:15:22 -080047 min_sdk_version: "31",
Alice Kuoa4dbaff2021-10-18 03:35:59 +080048 },
49 },
Jiyong Park703e9792022-03-22 14:18:48 +090050 versions_with_info: [
51 {
52 version: "1",
53 imports: [
54 "android.hardware.common-V2",
55 "android.hardware.common.fmq-V1",
56 "android.hardware.audio.common-V1",
57 ],
58 },
Omer Osmana2587da2022-05-01 03:54:11 +000059 {
60 version: "2",
61 imports: [
62 "android.hardware.common-V2",
63 "android.hardware.common.fmq-V1",
64 "android.hardware.audio.common-V1",
65 ],
66 },
Devin Mooredfcd3bd2023-07-31 23:20:30 +000067 {
68 version: "3",
69 imports: [
70 "android.hardware.common-V2",
71 "android.hardware.common.fmq-V1",
Ram Mohanf6497dd2023-06-29 08:36:31 +053072 "android.hardware.audio.common-V2",
Devin Mooredfcd3bd2023-07-31 23:20:30 +000073 ],
74 },
Omer Osmana2587da2022-05-01 03:54:11 +000075
Jiyong Park703e9792022-03-22 14:18:48 +090076 ],
Devin Mooredfcd3bd2023-07-31 23:20:30 +000077 frozen: true,
Jiyong Park703e9792022-03-22 14:18:48 +090078
Alice Kuoa4dbaff2021-10-18 03:35:59 +080079}