platform_hardware_interfaces/soundtrigger/aidl/Android.bp
Lorena Torres-Huerta 8296aa824b Use explicit aidl versions for audio hal and soundtrigger dependencies.
There are still issues with importing implicit versions. Switching to explicit versions while b/188871598 is worked out.

Bug: 242678729
Test: m; AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api && AIDL_FROZEN_REL=true m
Change-Id: Ide6a90716bf042fbb925357e110bc84ddb9e96fb
2022-08-30 03:24:03 +00:00

58 lines
1.9 KiB
Text

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
aidl_interface {
name: "android.hardware.soundtrigger3",
vendor_available: true,
host_supported: true,
flags: [
"-Werror",
"-Weverything",
"-Wno-missing-permission-annotation",
],
srcs: [
"android/hardware/soundtrigger3/ISoundTriggerHw.aidl",
"android/hardware/soundtrigger3/ISoundTriggerHwCallback.aidl",
"android/hardware/soundtrigger3/ISoundTriggerHwGlobalCallback.aidl",
],
stability: "vintf",
imports: [
"android.media.soundtrigger.types-V1",
],
backend: {
cpp: {
// prefer NDK backend which can be used anywhere
enabled: false,
},
java: {
sdk_version: "module_current",
},
},
versions_with_info: [
{
version: "1",
imports: ["android.media.soundtrigger.types-V1"],
},
// IMPORTANT: Update latest_android_hardware_soundtrigger3 every time
// you add the latest frozen version to versions_with_info
],
}
// Note: This should always be one version ahead of the last frozen version
latest_android_hardware_soundtrigger3 = "android.hardware.soundtrigger3-V1"
// Modules that depend on android.hardware.soundtrigger3 directly can include
// the following java_defaults to avoid explicitly managing dependency versions
// across many scattered files.
java_defaults {
name: "latest_android_hardware_soundtrigger3_java_static",
static_libs: [
latest_android_hardware_soundtrigger3 + "-java",
],
}