blob: feed6f55ca5e8d184f8ed9c97f95dc0b69d325b7 [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,
Yung Ti Sufefceb12023-08-22 09:29:06 +000027 host_supported: true,
Alice Kuoa4dbaff2021-10-18 03:35:59 +080028 srcs: ["android/hardware/bluetooth/audio/*.aidl"],
29 stability: "vintf",
Shunkai Yao195d3d62023-10-10 19:26:07 +000030 defaults: [
31 "latest_android_hardware_audio_common_import_interface",
32 ],
Alice Kuoa4dbaff2021-10-18 03:35:59 +080033 imports: [
34 "android.hardware.common-V2",
35 "android.hardware.common.fmq-V1",
Alice Kuoa4dbaff2021-10-18 03:35:59 +080036 ],
37 backend: {
38 cpp: {
39 enabled: false,
40 },
41 java: {
42 sdk_version: "module_current",
43 enabled: false,
44 },
45 ndk: {
Josh Wu6ab53e72021-12-29 23:53:33 -080046 apex_available: [
47 "//apex_available:platform",
William Escande2591c3d2022-08-22 11:27:58 -070048 "com.android.btservices",
Josh Wu6ab53e72021-12-29 23:53:33 -080049 ],
Roopa Sattiraju7455efc2022-02-03 14:15:22 -080050 min_sdk_version: "31",
Alice Kuoa4dbaff2021-10-18 03:35:59 +080051 },
52 },
Jiyong Park703e9792022-03-22 14:18:48 +090053 versions_with_info: [
54 {
55 version: "1",
56 imports: [
57 "android.hardware.common-V2",
58 "android.hardware.common.fmq-V1",
59 "android.hardware.audio.common-V1",
60 ],
61 },
Omer Osmana2587da2022-05-01 03:54:11 +000062 {
63 version: "2",
64 imports: [
65 "android.hardware.common-V2",
66 "android.hardware.common.fmq-V1",
67 "android.hardware.audio.common-V1",
68 ],
69 },
Devin Mooredfcd3bd2023-07-31 23:20:30 +000070 {
71 version: "3",
72 imports: [
73 "android.hardware.common-V2",
74 "android.hardware.common.fmq-V1",
Ram Mohanf6497dd2023-06-29 08:36:31 +053075 "android.hardware.audio.common-V2",
Devin Mooredfcd3bd2023-07-31 23:20:30 +000076 ],
77 },
Omer Osmana2587da2022-05-01 03:54:11 +000078
Jiyong Park703e9792022-03-22 14:18:48 +090079 ],
Shunkai Yao195d3d62023-10-10 19:26:07 +000080 frozen: false,
Jiyong Park703e9792022-03-22 14:18:48 +090081
Alice Kuoa4dbaff2021-10-18 03:35:59 +080082}
Shunkai Yao195d3d62023-10-10 19:26:07 +000083
84// Note: This should always be one version ahead of the last frozen version
85latest_android_hardware_bluetooth_audio = "android.hardware.bluetooth.audio-V4"
86
87cc_defaults {
88 name: "latest_android_hardware_bluetooth_audio_ndk_shared",
89 shared_libs: [
90 latest_android_hardware_bluetooth_audio + "-ndk",
91 ],
92}
93
94cc_defaults {
95 name: "latest_android_hardware_bluetooth_audio_ndk_static",
96 static_libs: [
97 latest_android_hardware_bluetooth_audio + "-ndk",
98 ],
99}