summaryrefslogtreecommitdiff
path: root/pts/audio/brillo-audio-test/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pts/audio/brillo-audio-test/Android.mk')
-rw-r--r--pts/audio/brillo-audio-test/Android.mk17
1 files changed, 13 insertions, 4 deletions
diff --git a/pts/audio/brillo-audio-test/Android.mk b/pts/audio/brillo-audio-test/Android.mk
index 4c55512..37543a4 100644
--- a/pts/audio/brillo-audio-test/Android.mk
+++ b/pts/audio/brillo-audio-test/Android.mk
@@ -29,14 +29,23 @@ LOCAL_CFLAGS += -Wall -Wno-unused-parameter
LOCAL_SHARED_LIBRARIES := \
libaudioutils \
libbinder \
- libbrillo \
- libchrome \
+ liblog \
libmedia \
- libsinesource \
libstagefright \
libstagefright_foundation \
libutils
-LOCAL_STATIC_LIBRARIES := libsndfile
+LOCAL_STATIC_LIBRARIES := \
+ libbrillo \
+ libchrome \
+ libsinesource \
+ libsndfile
+# Note: This is because of libchrome.
+LOCAL_LDFLAGS += \
+ -Wl,-wrap,calloc \
+ -Wl,-wrap,free \
+ -Wl,-wrap,malloc \
+ -Wl,-wrap,memalign \
+ -Wl,-wrap,realloc
LOCAL_C_INCLUDES := \
$(TOP)/device/generic/brillo/pts/audio/common \
$(TOP)/frameworks/av/media/libstagefright \