From 2ecf4ac3d8c631906eacca9562b5f777878fdc80 Mon Sep 17 00:00:00 2001 From: Pavlin Radoslavov Date: Mon, 24 Apr 2017 17:37:20 -0700 Subject: [PATCH] Add missing library dependency when compiling the unit tests This fixes a compilation issue when compiling with ASAN enabled. Bug: 37624756 Test: make -j 40 SANITIZE_TARGET='address coverage' tests Change-Id: I9caa3d404e60ee105435539744ed2b8ccf353700 (cherry picked from commit 044921b223868595a6f96709020b46349b05fa45) --- audio_a2dp_hw/Android.bp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/audio_a2dp_hw/Android.bp b/audio_a2dp_hw/Android.bp index 9cc049767..b427063af 100644 --- a/audio_a2dp_hw/Android.bp +++ b/audio_a2dp_hw/Android.bp @@ -44,5 +44,8 @@ cc_test { shared_libs: [ "liblog", ], - static_libs: ["audio.a2dp.default"], + static_libs: [ + "audio.a2dp.default", + "libosi", + ], } -- 2.11.0