blob: edb29c9df5289a3c1bd0d29fb034ed28c036b239 [file] [log] [blame]
Hayden Gomes49c845f2020-10-27 13:01:33 -07001// This is the expected build file, but it may not be right in all cases
2
Bob Badourc22b35b2021-02-23 14:26:20 -08003package {
4 // See: http://go/android-license-faq
5 // A large-scale-change added 'default_applicable_licenses' to import
6 // all of the 'license_kinds' from "hardware_interfaces_license"
7 // to get the below license kinds:
8 // SPDX-license-identifier-Apache-2.0
9 default_applicable_licenses: ["hardware_interfaces_license"],
10}
11
Hayden Gomes49c845f2020-10-27 13:01:33 -070012aidl_interface {
13 name: "android.hardware.automotive.audiocontrol",
14 vendor_available: true,
15 srcs: ["android/hardware/automotive/audiocontrol/*.aidl"],
Shunkai Yao0d523092023-10-10 19:26:07 +000016 defaults: [
17 "latest_android_hardware_audio_common_import_interface",
18 "latest_android_media_audio_common_types_import_interface",
Francois Gaffie5d7af1e2022-02-02 11:12:08 +010019 ],
Hayden Gomes49c845f2020-10-27 13:01:33 -070020 stability: "vintf",
21 backend: {
22 java: {
23 sdk_version: "module_current",
Keun young Park8791c7e2021-10-05 16:11:07 -070024 min_sdk_version: "31",
25 apex_available: [
26 "//apex_available:platform",
27 "com.android.car.framework",
28 ],
Hayden Gomes49c845f2020-10-27 13:01:33 -070029 },
Weilin Xu90af84e2024-04-16 11:56:00 -070030 rust: {
31 enabled: true,
32 },
Hayden Gomes49c845f2020-10-27 13:01:33 -070033 },
Jiyong Park703e9792022-03-22 14:18:48 +090034 versions_with_info: [
35 {
36 version: "1",
37 imports: [
38 "android.hardware.audio.common-V1",
Lorena Torres-Huerta8296aa82022-08-29 21:48:01 +000039 "android.media.audio.common.types-V2",
Jiyong Park703e9792022-03-22 14:18:48 +090040 ],
41 },
42 {
43 version: "2",
44 imports: [
45 "android.hardware.audio.common-V1",
Lorena Torres-Huerta8296aa82022-08-29 21:48:01 +000046 "android.media.audio.common.types-V2",
Jiyong Park703e9792022-03-22 14:18:48 +090047 ],
48 },
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000049 {
50 version: "3",
51 imports: [
52 "android.hardware.audio.common-V1",
53 "android.media.audio.common.types-V2",
54 ],
55 },
Devin Moorea8efdb12024-02-20 17:31:40 +000056 {
57 version: "4",
58 imports: [
59 "android.media.audio.common.types-V3",
60 "android.hardware.audio.common-V3",
61 ],
62 },
Jiyong Park703e9792022-03-22 14:18:48 +090063
Francois Gaffie5d7af1e2022-02-02 11:12:08 +010064 ],
François Gaffie25aff252024-04-15 13:33:51 +020065 frozen: false,
Jiyong Park703e9792022-03-22 14:18:48 +090066
Hayden Gomes49c845f2020-10-27 13:01:33 -070067}
Shunkai Yao0d523092023-10-10 19:26:07 +000068
69// Note: This should always be one version ahead of the last frozen version
François Gaffie25aff252024-04-15 13:33:51 +020070latest_android_hardware_automotive_audiocontrol = "android.hardware.automotive.audiocontrol-V5"
Shunkai Yao0d523092023-10-10 19:26:07 +000071
72cc_defaults {
73 name: "latest_android_hardware_automotive_audiocontrol_cpp_static",
74 static_libs: [
75 latest_android_hardware_automotive_audiocontrol + "-cpp",
76 ],
77}
78
79cc_defaults {
80 name: "latest_android_hardware_automotive_audiocontrol_cpp_shared",
81 shared_libs: [
82 latest_android_hardware_automotive_audiocontrol + "-cpp",
83 ],
84}
85
86cc_defaults {
87 name: "latest_android_hardware_automotive_audiocontrol_ndk_static",
88 static_libs: [
89 latest_android_hardware_automotive_audiocontrol + "-ndk",
90 ],
91}
92
93cc_defaults {
94 name: "latest_android_hardware_automotive_audiocontrol_ndk_shared",
95 shared_libs: [
96 latest_android_hardware_automotive_audiocontrol + "-ndk",
97 ],
98}
Weilin Xu7d2ac2b2024-04-02 14:56:40 -070099
100java_defaults {
101 name: "latest_android_hardware_automotive_audiocontrol_java_static",
102 static_libs: [
103 latest_android_hardware_automotive_audiocontrol + "-java",
104 ],
105}
Weilin Xu90af84e2024-04-16 11:56:00 -0700106
107rust_defaults {
108 name: "latest_android_hardware_automotive_audiocontrol_rust",
109 rustlibs: [
110 latest_android_hardware_automotive_audiocontrol + "-rust",
111 ],
112}