hikey960: Audio DSP changes in prep for Treble
This patch provides hifi changes that are needed to work with
FULL_TREBLE enabled.
As /system/bin does not support write permissions moved dec-out.pcm
file to /data/dec-out.pcm
Copied dhifimesg to /vendor/bin in order to capture hifi dsp logs
Bug: 116226155
Change-Id: Ia90f09760198b3fefe5ef3dfbdf5d7e11dd67a4b
Originally-by: Niranjan Yadla <nyadla@cadence.com>
Signed-off-by: Alistair Strachan <astrachan@google.com>
diff --git a/hifi/xaf/host-apf/Android.mk b/hifi/xaf/host-apf/Android.mk
index 28e7101..2bce8cf 100644
--- a/hifi/xaf/host-apf/Android.mk
+++ b/hifi/xaf/host-apf/Android.mk
@@ -4,6 +4,7 @@
################################################################################
include $(CLEAR_VARS)
+LOCAL_VENDOR_MODULE := true
common_C_INCLUDES := \
$(LOCAL_PATH)/include \
$(LOCAL_PATH)/include/audio \
@@ -25,7 +26,9 @@
C_FLAGS := -DXF_TRACE=0 -Wall -Werror -Wno-everything
+LOCAL_SHARED_LIBRARIES := liblog
LOCAL_C_INCLUDES := $(common_C_INCLUDES)
+LOCAL_C_INCLUDES += external/expat/lib
LOCAL_CFLAGS := $(C_FLAGS)
LOCAL_MODULE := libxtensa_proxy
LOCAL_MODULE_TAGS := optional
@@ -36,6 +39,7 @@
# xaf-dec-test: fileinput->ogg/pcm decoder->speaker output
################################################################################
include $(CLEAR_VARS)
+LOCAL_VENDOR_MODULE := true
LOCAL_MODULE := xaf-dec-test
LOCAL_SRC_FILES := \
@@ -52,6 +56,7 @@
# xaf-dec-mix-test: fileinput->ogg orpcm decoder->Mixer->speaker output
################################################################################
include $(CLEAR_VARS)
+LOCAL_VENDOR_MODULE := true
LOCAL_MODULE := xaf-dec-mix-test
LOCAL_SRC_FILES := \