Merge "bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'" into main am: f12a076304

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3091790

Change-Id: I60df8ea2429bf0c216f43fa0da2e710e90444e3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mikhail Naganov
2024-05-21 19:09:52 +00:00
committed by Automerger Merge Worker
2 changed files with 25 additions and 1 deletions

View File

@@ -97,3 +97,25 @@ cc_defaults {
latest_android_hardware_bluetooth_audio + "-ndk",
],
}
cc_defaults {
name: "latest_android_hardware_bluetooth_audio_ndk_android_shared",
target: {
android: {
shared_libs: [
latest_android_hardware_bluetooth_audio + "-ndk",
],
},
},
}
cc_defaults {
name: "latest_android_hardware_bluetooth_audio_ndk_android_static",
target: {
android: {
static_libs: [
latest_android_hardware_bluetooth_audio + "-ndk",
],
},
},
}

View File

@@ -90,6 +90,9 @@ cc_library_shared {
cc_test {
name: "BluetoothLeAudioCodecsProviderTest",
defaults: [
"latest_android_hardware_bluetooth_audio_ndk_shared",
],
srcs: [
"aidl_session/BluetoothLeAudioCodecsProvider.cpp",
"aidl_session/BluetoothLeAudioCodecsProviderTest.cpp",
@@ -100,7 +103,6 @@ cc_test {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.bluetooth.audio-V4-ndk",
"libxml2",
],
test_suites: [