Ytai Ben-Tsvi | d58b04a | 2019-11-22 12:33:09 -0800 | [diff] [blame] | 1 | aidl_interface { |
| 2 | name: "audio_common-aidl", |
| 3 | local_include_dir: "java", |
| 4 | srcs: [ |
| 5 | "java/android/media/audio/common/AudioChannelMask.aidl", |
| 6 | "java/android/media/audio/common/AudioConfig.aidl", |
| 7 | "java/android/media/audio/common/AudioFormat.aidl", |
| 8 | "java/android/media/audio/common/AudioOffloadInfo.aidl", |
| 9 | "java/android/media/audio/common/AudioStreamType.aidl", |
| 10 | "java/android/media/audio/common/AudioUsage.aidl", |
| 11 | ], |
| 12 | backend: |
| 13 | { |
| 14 | cpp: { |
| 15 | enabled: true, |
| 16 | }, |
| 17 | java: { |
| 18 | // Already generated as part of the entire media java library. |
| 19 | enabled: false, |
| 20 | }, |
| 21 | }, |
| 22 | } |
| 23 | |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 24 | aidl_interface { |
| 25 | name: "soundtrigger_middleware-aidl", |
| 26 | local_include_dir: "java", |
| 27 | srcs: [ |
| 28 | "java/android/media/soundtrigger_middleware/ConfidenceLevel.aidl", |
| 29 | "java/android/media/soundtrigger_middleware/ISoundTriggerCallback.aidl", |
| 30 | "java/android/media/soundtrigger_middleware/ISoundTriggerMiddlewareService.aidl", |
| 31 | "java/android/media/soundtrigger_middleware/ISoundTriggerModule.aidl", |
Ytai Ben-Tsvi | 93c117c86 | 2019-11-25 12:43:28 -0800 | [diff] [blame] | 32 | "java/android/media/soundtrigger_middleware/ModelParameter.aidl", |
| 33 | "java/android/media/soundtrigger_middleware/ModelParameterRange.aidl", |
Ytai Ben-Tsvi | ab58ef6 | 2019-11-25 12:26:07 -0800 | [diff] [blame] | 34 | "java/android/media/soundtrigger_middleware/Phrase.aidl", |
| 35 | "java/android/media/soundtrigger_middleware/PhraseRecognitionEvent.aidl", |
| 36 | "java/android/media/soundtrigger_middleware/PhraseRecognitionExtra.aidl", |
| 37 | "java/android/media/soundtrigger_middleware/PhraseSoundModel.aidl", |
| 38 | "java/android/media/soundtrigger_middleware/RecognitionConfig.aidl", |
| 39 | "java/android/media/soundtrigger_middleware/RecognitionEvent.aidl", |
| 40 | "java/android/media/soundtrigger_middleware/RecognitionMode.aidl", |
| 41 | "java/android/media/soundtrigger_middleware/RecognitionStatus.aidl", |
| 42 | "java/android/media/soundtrigger_middleware/SoundModel.aidl", |
| 43 | "java/android/media/soundtrigger_middleware/SoundModelType.aidl", |
| 44 | "java/android/media/soundtrigger_middleware/SoundTriggerModuleDescriptor.aidl", |
| 45 | "java/android/media/soundtrigger_middleware/SoundTriggerModuleProperties.aidl", |
| 46 | "java/android/media/soundtrigger_middleware/Status.aidl", |
| 47 | ], |
| 48 | backend: |
| 49 | { |
| 50 | cpp: { |
| 51 | enabled: true, |
| 52 | }, |
| 53 | java: { |
| 54 | // Already generated as part of the entire media java library. |
| 55 | enabled: false, |
| 56 | }, |
| 57 | ndk: { |
| 58 | // Not currently needed, and disabled because of b/146172425 |
| 59 | enabled: false, |
| 60 | }, |
| 61 | }, |
| 62 | imports: [ "audio_common-aidl" ], |
| 63 | } |