From 58d8a5746978dd22e387eee3d6b5cebce215668b Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Tue, 11 Jul 2023 16:08:27 -0700 Subject: [PATCH] BluetoothAudio: Statically link HAL dependencies Bug: 290666670 Bug: 289857524 Bug: 284091286 Bug: 289489060 Test: mma -j32 Change-Id: I2b3c32b133e208ec2cfb1b244ccb24ad249f22df (cherry picked from commit 44628f38d2f60a8e9c283315485d2d62605f677d) Merged-In: I2b3c32b133e208ec2cfb1b244ccb24ad249f22df --- bluetooth/audio/aidl/vts/Android.bp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bluetooth/audio/aidl/vts/Android.bp b/bluetooth/audio/aidl/vts/Android.bp index 3c11eedf42..1d90d214fb 100644 --- a/bluetooth/audio/aidl/vts/Android.bp +++ b/bluetooth/audio/aidl/vts/Android.bp @@ -15,17 +15,19 @@ cc_test { ], tidy_timeout_srcs: ["VtsHalBluetoothAudioTargetTest.cpp"], srcs: ["VtsHalBluetoothAudioTargetTest.cpp"], - shared_libs: [ + static_libs: [ "android.hardware.audio.common-V1-ndk", "android.hardware.bluetooth.audio-V2-ndk", "android.hardware.common-V2-ndk", "android.hardware.common.fmq-V1-ndk", + "android.media.audio.common.types-V1-ndk", + ], + shared_libs: [ "libbase", "libbinder_ndk", "libcutils", "libfmq", ], - test_config: "VtsHalBluetoothAudioTargetTest.xml", test_suites: [ "general-tests", "vts",