blob: b7c3a9c112d1b47c524a6047c21e0408de33ca9f [file] [log] [blame]
Bob Badour8a6a2bc2021-02-12 17:07:05 -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 "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
8}
9
Ytai Ben-Tsvid58b04a2019-11-22 12:33:09 -080010aidl_interface {
11 name: "audio_common-aidl",
Jiyong Parkdb589dd2020-04-13 12:55:24 +090012 unstable: true,
Ytai Ben-Tsvi50ae0982020-09-28 16:40:36 -070013 host_supported: true,
14 vendor_available: true,
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070015 local_include_dir: "aidl",
Ytai Ben-Tsvi50ae0982020-09-28 16:40:36 -070016 double_loadable: true,
Ytai Ben-Tsvid58b04a2019-11-22 12:33:09 -080017 srcs: [
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070018 "aidl/android/media/audio/common/AudioChannelMask.aidl",
19 "aidl/android/media/audio/common/AudioConfig.aidl",
20 "aidl/android/media/audio/common/AudioFormat.aidl",
21 "aidl/android/media/audio/common/AudioOffloadInfo.aidl",
22 "aidl/android/media/audio/common/AudioStreamType.aidl",
Josh Wu04a84762022-01-04 00:37:58 -080023 ],
24 imports: [
25 "android.media.audio.common.types",
Ytai Ben-Tsvid58b04a2019-11-22 12:33:09 -080026 ],
Ytai Ben-Tsvid58b04a2019-11-22 12:33:09 -080027}
28
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080029aidl_interface {
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070030 name: "media_permission-aidl",
31 unstable: true,
Philip P. Moltmannfece2432020-07-17 16:39:54 -070032 host_supported: true,
33 vendor_available: true,
34 double_loadable: true,
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070035 local_include_dir: "aidl",
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070036 srcs: [
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070037 "aidl/android/media/permission/Identity.aidl",
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070038 ],
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070039}
40
41aidl_interface {
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080042 name: "soundtrigger_middleware-aidl",
Jiyong Parkdb589dd2020-04-13 12:55:24 +090043 unstable: true,
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070044 local_include_dir: "aidl",
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080045 srcs: [
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070046 "aidl/android/media/soundtrigger_middleware/AudioCapabilities.aidl",
47 "aidl/android/media/soundtrigger_middleware/ConfidenceLevel.aidl",
48 "aidl/android/media/soundtrigger_middleware/ISoundTriggerCallback.aidl",
49 "aidl/android/media/soundtrigger_middleware/ISoundTriggerMiddlewareService.aidl",
50 "aidl/android/media/soundtrigger_middleware/ISoundTriggerModule.aidl",
51 "aidl/android/media/soundtrigger_middleware/ModelParameter.aidl",
52 "aidl/android/media/soundtrigger_middleware/ModelParameterRange.aidl",
53 "aidl/android/media/soundtrigger_middleware/Phrase.aidl",
54 "aidl/android/media/soundtrigger_middleware/PhraseRecognitionEvent.aidl",
55 "aidl/android/media/soundtrigger_middleware/PhraseRecognitionExtra.aidl",
56 "aidl/android/media/soundtrigger_middleware/PhraseSoundModel.aidl",
57 "aidl/android/media/soundtrigger_middleware/RecognitionConfig.aidl",
58 "aidl/android/media/soundtrigger_middleware/RecognitionEvent.aidl",
59 "aidl/android/media/soundtrigger_middleware/RecognitionMode.aidl",
60 "aidl/android/media/soundtrigger_middleware/RecognitionStatus.aidl",
61 "aidl/android/media/soundtrigger_middleware/SoundModel.aidl",
62 "aidl/android/media/soundtrigger_middleware/SoundModelType.aidl",
63 "aidl/android/media/soundtrigger_middleware/SoundTriggerModuleDescriptor.aidl",
64 "aidl/android/media/soundtrigger_middleware/SoundTriggerModuleProperties.aidl",
65 "aidl/android/media/soundtrigger_middleware/Status.aidl",
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080066 ],
Ytai Ben-Tsvi1a619f02020-04-29 15:36:36 -070067 imports: [
68 "audio_common-aidl",
69 "media_permission-aidl",
70 ],
Ytai Ben-Tsviab58ef62019-11-25 12:26:07 -080071}
Josh Wu04a84762022-01-04 00:37:58 -080072
73aidl_interface {
74 name: "android.media.audio.common.types",
75 vendor_available: true,
76 host_supported: true,
77 double_loadable: true,
78 flags: [
79 "-Werror",
80 "-Weverything",
81 ],
82 local_include_dir: "aidl",
83 srcs: [
84 "aidl/android/media/audio/common/AudioContentType.aidl",
85 "aidl/android/media/audio/common/AudioSource.aidl",
86 "aidl/android/media/audio/common/AudioUsage.aidl",
87 ],
88 stability: "vintf",
89 backend: {
90 cpp: {
91 min_sdk_version: "29",
92 apex_available: [
93 "//apex_available:platform",
94 "com.android.media",
95 ],
96 },
97 java: {
98 },
99 ndk: {
100 vndk: {
101 enabled: true,
102 },
Roopa Sattiraju44ff57e2022-02-03 13:47:56 -0800103 min_sdk_version: "29",
104 apex_available: [
105 "//apex_available:platform",
106 "com.android.bluetooth",
107 ],
Josh Wu04a84762022-01-04 00:37:58 -0800108 },
109 },
110}