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 { |
| 11 | name: "audio_common-aidl", |
Jiyong Park | db589dd | 2020-04-13 12:55:24 +0900 | [diff] [blame] | 12 | unstable: true, |
Ytai Ben-Tsvi | 50ae098 | 2020-09-28 16:40:36 -0700 | [diff] [blame] | 13 | host_supported: true, |
| 14 | vendor_available: true, |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 15 | local_include_dir: "aidl", |
Ytai Ben-Tsvi | 50ae098 | 2020-09-28 16:40:36 -0700 | [diff] [blame] | 16 | double_loadable: true, |
Ytai Ben-Tsvi | d58b04a | 2019-11-22 12:33:09 -0800 | [diff] [blame] | 17 | srcs: [ |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 18 | "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 Wu | 04a8476 | 2022-01-04 00:37:58 -0800 | [diff] [blame] | 23 | ], |
| 24 | imports: [ |
| 25 | "android.media.audio.common.types", |
Ytai Ben-Tsvi | d58b04a | 2019-11-22 12:33:09 -0800 | [diff] [blame] | 26 | ], |
Ytai Ben-Tsvi | d58b04a | 2019-11-22 12:33:09 -0800 | [diff] [blame] | 27 | } |
| 28 | |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 29 | aidl_interface { |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 30 | name: "media_permission-aidl", |
| 31 | unstable: true, |
Philip P. Moltmann | fece243 | 2020-07-17 16:39:54 -0700 | [diff] [blame] | 32 | host_supported: true, |
| 33 | vendor_available: true, |
| 34 | double_loadable: true, |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 35 | local_include_dir: "aidl", |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 36 | srcs: [ |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 37 | "aidl/android/media/permission/Identity.aidl", |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 38 | ], |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | aidl_interface { |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 42 | name: "soundtrigger_middleware-aidl", |
Jiyong Park | db589dd | 2020-04-13 12:55:24 +0900 | [diff] [blame] | 43 | unstable: true, |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 44 | local_include_dir: "aidl", |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 45 | srcs: [ |
Ytai Ben-Tsvi | da7c21e | 2020-09-16 13:04:31 -0700 | [diff] [blame] | 46 | "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-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 66 | ], |
Ytai Ben-Tsvi | 1a619f0 | 2020-04-29 15:36:36 -0700 | [diff] [blame] | 67 | imports: [ |
| 68 | "audio_common-aidl", |
| 69 | "media_permission-aidl", |
| 70 | ], |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 71 | } |
Josh Wu | 04a8476 | 2022-01-04 00:37:58 -0800 | [diff] [blame] | 72 | |
| 73 | aidl_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 Sattiraju | 44ff57e | 2022-02-03 13:47:56 -0800 | [diff] [blame^] | 103 | min_sdk_version: "29", |
| 104 | apex_available: [ |
| 105 | "//apex_available:platform", |
| 106 | "com.android.bluetooth", |
| 107 | ], |
Josh Wu | 04a8476 | 2022-01-04 00:37:58 -0800 | [diff] [blame] | 108 | }, |
| 109 | }, |
| 110 | } |