summaryrefslogtreecommitdiff
path: root/audio/Android.mk
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2018-04-27 15:39:02 -0700
committerAlistair Strachan <astrachan@google.com>2018-06-16 01:16:16 -0700
commit17509388c7c7c2741e3b4d489281dbceddcbb240 (patch)
tree3ed5c3b6329e2681074bc7d0b1d7e7cf1eddec28 /audio/Android.mk
parent7eac2820f3fc8101889710bfab69de0cc643f3ce (diff)
downloadhikey-17509388c7c7c2741e3b4d489281dbceddcbb240.tar.gz
hikey/hikey960: Audio changes in prep for Treble
This patch provides audio changes that are needed to work with FULL_TREBLE enabled Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org> who basically was the original author and magician who got things working. I've only refactored and split up his changes to help with the submissions. Change-Id: Ib29b063cc1ac8c449b289d98ef06c32e0ab50c2c Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'audio/Android.mk')
-rw-r--r--audio/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
index c1ba5640..0a02789e 100644
--- a/audio/Android.mk
+++ b/audio/Android.mk
@@ -22,8 +22,11 @@ LOCAL_PATH := $(call my-dir)
# required type is 'primary'. Other possibilites are 'a2dp', 'usb', etc.
include $(CLEAR_VARS)
+LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_MODULE := audio.primary.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_VENDOR_MODULE := true
+
LOCAL_SRC_FILES := audio_hw.c
LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa
LOCAL_CFLAGS := -Wno-unused-parameter