Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 1 | package { |
| 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-Tsvi | d58b04a | 2019-11-22 12:33:09 -0800 | [diff] [blame] | 10 | aidl_interface { |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 11 | name: "media_permission-aidl", |
| 12 | unstable: true, |
Philip P. Moltmann | fece243 | 2020-07-17 16:39:54 -0700 | [diff] [blame] | 13 | host_supported: true, |
| 14 | vendor_available: true, |
| 15 | double_loadable: true, |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 16 | local_include_dir: "aidl", |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 17 | srcs: [ |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 18 | "aidl/android/media/permission/Identity.aidl", |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 19 | ], |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | aidl_interface { |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 23 | name: "soundtrigger_middleware-aidl", |
Jiyong Park | db589dd | 2020-04-13 12:55:24 +0900 | [diff] [blame] | 24 | unstable: true, |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 25 | local_include_dir: "aidl", |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 26 | backend: { |
| 27 | java: { |
| 28 | sdk_version: "module_current", |
| 29 | }, |
| 30 | }, |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 31 | srcs: [ |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 32 | "aidl/android/media/soundtrigger_middleware/ISoundTriggerCallback.aidl", |
| 33 | "aidl/android/media/soundtrigger_middleware/ISoundTriggerMiddlewareService.aidl", |
| 34 | "aidl/android/media/soundtrigger_middleware/ISoundTriggerModule.aidl", |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 35 | "aidl/android/media/soundtrigger_middleware/SoundTriggerModuleDescriptor.aidl", |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 36 | ], |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 37 | imports: [ |
Jiyong Park | a031a29 | 2022-04-16 08:33:06 +0900 | [diff] [blame] | 38 | "android.media.audio.common.types-V1", |
Jiyong Park | c1942ad | 2022-03-22 14:58:16 +0900 | [diff] [blame] | 39 | "android.media.soundtrigger.types-V1", |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 40 | "media_permission-aidl", |
| 41 | ], |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 42 | } |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 43 | |
| 44 | aidl_interface { |
| 45 | name: "android.media.audio.common.types", |
| 46 | vendor_available: true, |
| 47 | host_supported: true, |
| 48 | double_loadable: true, |
Mikhail Naganov | 1571010 | 2021-08-10 16:10:06 -0700 | [diff] [blame] | 49 | flags: [ |
| 50 | "-Werror", |
| 51 | "-Weverything", |
| 52 | ], |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 53 | local_include_dir: "aidl", |
| 54 | srcs: [ |
Mikhail Naganov | 1571010 | 2021-08-10 16:10:06 -0700 | [diff] [blame] | 55 | "aidl/android/media/audio/common/AudioChannelLayout.aidl", |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 56 | "aidl/android/media/audio/common/AudioConfig.aidl", |
Mikhail Naganov | b6148ee | 2021-08-25 18:17:08 -0700 | [diff] [blame] | 57 | "aidl/android/media/audio/common/AudioConfigBase.aidl", |
Mikhail Naganov | 67c75e4 | 2021-09-03 13:56:35 -0700 | [diff] [blame] | 58 | "aidl/android/media/audio/common/AudioContentType.aidl", |
Mikhail Naganov | 49ba38f | 2021-09-15 22:20:30 +0000 | [diff] [blame] | 59 | "aidl/android/media/audio/common/AudioDevice.aidl", |
Mikhail Naganov | 54d0193 | 2021-09-16 01:03:48 +0000 | [diff] [blame] | 60 | "aidl/android/media/audio/common/AudioDeviceAddress.aidl", |
Mikhail Naganov | 49ba38f | 2021-09-15 22:20:30 +0000 | [diff] [blame] | 61 | "aidl/android/media/audio/common/AudioDeviceDescription.aidl", |
| 62 | "aidl/android/media/audio/common/AudioDeviceType.aidl", |
Mikhail Naganov | 67c75e4 | 2021-09-03 13:56:35 -0700 | [diff] [blame] | 63 | "aidl/android/media/audio/common/AudioEncapsulationMetadataType.aidl", |
Mikhail Naganov | b6148ee | 2021-08-25 18:17:08 -0700 | [diff] [blame] | 64 | "aidl/android/media/audio/common/AudioEncapsulationMode.aidl", |
Mikhail Naganov | 67c75e4 | 2021-09-03 13:56:35 -0700 | [diff] [blame] | 65 | "aidl/android/media/audio/common/AudioEncapsulationType.aidl", |
Mikhail Naganov | 1571010 | 2021-08-10 16:10:06 -0700 | [diff] [blame] | 66 | "aidl/android/media/audio/common/AudioFormatDescription.aidl", |
| 67 | "aidl/android/media/audio/common/AudioFormatType.aidl", |
Mikhail Naganov | 788d91b | 2021-09-22 23:49:56 +0000 | [diff] [blame] | 68 | "aidl/android/media/audio/common/AudioGain.aidl", |
| 69 | "aidl/android/media/audio/common/AudioGainConfig.aidl", |
| 70 | "aidl/android/media/audio/common/AudioGainMode.aidl", |
Mikhail Naganov | d80ff5a | 2021-10-19 10:08:49 -0700 | [diff] [blame] | 71 | "aidl/android/media/audio/common/AudioInputFlags.aidl", |
| 72 | "aidl/android/media/audio/common/AudioIoFlags.aidl", |
jiabin | 072b46f | 2021-09-17 05:23:39 +0000 | [diff] [blame] | 73 | "aidl/android/media/audio/common/AudioMMapPolicy.aidl", |
| 74 | "aidl/android/media/audio/common/AudioMMapPolicyInfo.aidl", |
| 75 | "aidl/android/media/audio/common/AudioMMapPolicyType.aidl", |
Mikhail Naganov | 67c75e4 | 2021-09-03 13:56:35 -0700 | [diff] [blame] | 76 | "aidl/android/media/audio/common/AudioMode.aidl", |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 77 | "aidl/android/media/audio/common/AudioOffloadInfo.aidl", |
Mikhail Naganov | d80ff5a | 2021-10-19 10:08:49 -0700 | [diff] [blame] | 78 | "aidl/android/media/audio/common/AudioOutputFlags.aidl", |
Mikhail Naganov | af0e3bf | 2021-09-30 01:09:39 +0000 | [diff] [blame] | 79 | "aidl/android/media/audio/common/AudioPort.aidl", |
| 80 | "aidl/android/media/audio/common/AudioPortConfig.aidl", |
Mikhail Naganov | d80ff5a | 2021-10-19 10:08:49 -0700 | [diff] [blame] | 81 | "aidl/android/media/audio/common/AudioPortDeviceExt.aidl", |
Mikhail Naganov | af0e3bf | 2021-09-30 01:09:39 +0000 | [diff] [blame] | 82 | "aidl/android/media/audio/common/AudioPortExt.aidl", |
| 83 | "aidl/android/media/audio/common/AudioPortMixExt.aidl", |
| 84 | "aidl/android/media/audio/common/AudioPortMixExtUseCase.aidl", |
Mikhail Naganov | 651ff0a | 2021-09-21 20:44:14 +0000 | [diff] [blame] | 85 | "aidl/android/media/audio/common/AudioProfile.aidl", |
Mikhail Naganov | 67c75e4 | 2021-09-03 13:56:35 -0700 | [diff] [blame] | 86 | "aidl/android/media/audio/common/AudioSource.aidl", |
Mikhail Naganov | af0e3bf | 2021-09-30 01:09:39 +0000 | [diff] [blame] | 87 | "aidl/android/media/audio/common/AudioStandard.aidl", |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 88 | "aidl/android/media/audio/common/AudioStreamType.aidl", |
| 89 | "aidl/android/media/audio/common/AudioUsage.aidl", |
Mikhail Naganov | 67c75e4 | 2021-09-03 13:56:35 -0700 | [diff] [blame] | 90 | "aidl/android/media/audio/common/AudioUuid.aidl", |
Mikhail Naganov | af0e3bf | 2021-09-30 01:09:39 +0000 | [diff] [blame] | 91 | "aidl/android/media/audio/common/ExtraAudioDescriptor.aidl", |
| 92 | "aidl/android/media/audio/common/Int.aidl", |
Mikhail Naganov | 1571010 | 2021-08-10 16:10:06 -0700 | [diff] [blame] | 93 | "aidl/android/media/audio/common/PcmType.aidl", |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 94 | ], |
| 95 | stability: "vintf", |
| 96 | backend: { |
| 97 | cpp: { |
Mikhail Naganov | 1571010 | 2021-08-10 16:10:06 -0700 | [diff] [blame] | 98 | min_sdk_version: "29", |
| 99 | apex_available: [ |
| 100 | "//apex_available:platform", |
| 101 | "com.android.media", |
| 102 | ], |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 103 | }, |
| 104 | java: { |
| 105 | sdk_version: "module_current", |
Keun young Park | 7e556af | 2022-02-09 08:12:12 -0800 | [diff] [blame] | 106 | min_sdk_version: "29", |
| 107 | apex_available: [ |
| 108 | "//apex_available:platform", |
| 109 | "com.android.car.framework", |
| 110 | ], |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 111 | }, |
| 112 | ndk: { |
| 113 | vndk: { |
| 114 | enabled: true, |
| 115 | }, |
Roopa Sattiraju | 44ff57e | 2022-02-03 13:47:56 -0800 | [diff] [blame] | 116 | min_sdk_version: "29", |
| 117 | apex_available: [ |
| 118 | "//apex_available:platform", |
| 119 | "com.android.bluetooth", |
| 120 | ], |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 121 | }, |
| 122 | }, |
Jiyong Park | dd018a9 | 2022-04-16 07:13:30 +0900 | [diff] [blame] | 123 | versions_with_info: [ |
| 124 | { |
| 125 | version: "1", |
| 126 | imports: [], |
| 127 | }, |
| 128 | ], |
| 129 | |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 130 | } |
| 131 | |
| 132 | aidl_interface { |
| 133 | name: "android.media.soundtrigger.types", |
| 134 | vendor_available: true, |
Rios Kao | b5191d5 | 2021-11-17 06:35:00 +0000 | [diff] [blame] | 135 | host_supported: true, |
Mikhail Naganov | 1571010 | 2021-08-10 16:10:06 -0700 | [diff] [blame] | 136 | flags: [ |
| 137 | "-Werror", |
| 138 | "-Weverything", |
| 139 | ], |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 140 | local_include_dir: "aidl", |
| 141 | srcs: [ |
| 142 | "aidl/android/media/soundtrigger/AudioCapabilities.aidl", |
| 143 | "aidl/android/media/soundtrigger/ConfidenceLevel.aidl", |
| 144 | "aidl/android/media/soundtrigger/ModelParameter.aidl", |
| 145 | "aidl/android/media/soundtrigger/ModelParameterRange.aidl", |
| 146 | "aidl/android/media/soundtrigger/Phrase.aidl", |
| 147 | "aidl/android/media/soundtrigger/PhraseRecognitionEvent.aidl", |
| 148 | "aidl/android/media/soundtrigger/PhraseRecognitionExtra.aidl", |
| 149 | "aidl/android/media/soundtrigger/PhraseSoundModel.aidl", |
| 150 | "aidl/android/media/soundtrigger/Properties.aidl", |
| 151 | "aidl/android/media/soundtrigger/RecognitionConfig.aidl", |
| 152 | "aidl/android/media/soundtrigger/RecognitionEvent.aidl", |
| 153 | "aidl/android/media/soundtrigger/RecognitionMode.aidl", |
| 154 | "aidl/android/media/soundtrigger/RecognitionStatus.aidl", |
| 155 | "aidl/android/media/soundtrigger/SoundModel.aidl", |
| 156 | "aidl/android/media/soundtrigger/SoundModelType.aidl", |
| 157 | "aidl/android/media/soundtrigger/Status.aidl", |
| 158 | ], |
| 159 | stability: "vintf", |
| 160 | backend: { |
| 161 | cpp: { |
| 162 | enabled: true, |
| 163 | }, |
| 164 | java: { |
| 165 | sdk_version: "module_current", |
| 166 | }, |
| 167 | ndk: { |
| 168 | vndk: { |
| 169 | enabled: true, |
| 170 | }, |
| 171 | }, |
| 172 | }, |
| 173 | imports: [ |
| 174 | "android.media.audio.common.types", |
| 175 | ], |
Jiyong Park | 1fd7a8d | 2022-03-22 14:18:22 +0900 | [diff] [blame] | 176 | versions_with_info: [ |
| 177 | { |
| 178 | version: "1", |
| 179 | imports: ["android.media.audio.common.types-V1"], |
| 180 | }, |
| 181 | ], |
| 182 | |
Ytai Ben-Tsvi | 92da3a1 | 2021-03-10 15:03:45 -0800 | [diff] [blame] | 183 | } |