diff --git a/android/app/Android.bp b/android/app/Android.bp index a93b4eee6fd49964ff45d9803ceb81e973004c3a..7b98878785b562b0c48ec70fd4c753ae056eb887 100644 --- a/android/app/Android.bp +++ b/android/app/Android.bp @@ -108,6 +108,7 @@ cc_library_shared { "android.hardware.bluetooth@1.0", "android.hardware.bluetooth@1.1", "android.system.suspend-V1-ndk", + "libaaudio", "libbinder_ndk", "libfmq", "libnativehelper", diff --git a/system/btif/Android.bp b/system/btif/Android.bp index 8ca41c8dc1901304705637b7188d445cbb149d00..802c80b15791725668c46a87a505ead24355e308 100644 --- a/system/btif/Android.bp +++ b/system/btif/Android.bp @@ -136,6 +136,7 @@ cc_library_static { "libPlatformProperties", ], srcs: ["src/btif_avrcp_audio_track.cc"], + shared_libs: ["libaaudio"], }, host: { srcs: [ @@ -210,6 +211,7 @@ cc_library_static { target: { android: { srcs: ["src/btif_avrcp_audio_track.cc"], + shared_libs: ["libaaudio"], }, host: { srcs: [ diff --git a/system/build/Android.bp b/system/build/Android.bp index 62a3791a747c782b39513564931e039a69cbdec8..56b5fbb9af358456a3c2bef3a256181731438c1c 100644 --- a/system/build/Android.bp +++ b/system/build/Android.bp @@ -130,7 +130,6 @@ cc_defaults { android: { shared_libs: [ "libPlatformProperties", - "libaaudio", ], }, },