summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorRobert Lee <lerobert@google.com>2019-02-21 10:47:21 -0800
committerrioskao <rioskao@google.com>2019-03-12 22:44:18 -0700
commit6b94039cca0669fb52a9f5ff2d578a3e79d629a7 (patch)
treef95a678422138aaf11efbff4f94f7025dc3aedbf /Android.mk
parent5cb3413a3776cfcdb0d3acb27781e17a1fa264c3 (diff)
downloadandroid_hardware_knowles_athletico_sound_trigger_hal-6b94039cca0669fb52a9f5ff2d578a3e79d629a7.tar.gz
android_hardware_knowles_athletico_sound_trigger_hal-6b94039cca0669fb52a9f5ff2d578a3e79d629a7.tar.bz2
android_hardware_knowles_athletico_sound_trigger_hal-6b94039cca0669fb52a9f5ff2d578a3e79d629a7.zip
sthal: HSW 9.1 integration
note: +Internal oscillator trimming using 32Khz ext oscillator from host. FW by default enable this and host has control to stop, start and set frequency. +Plugin set get param support from HOST1 +Removed redundant code from ST HAL plugin creations and model loads. +Only 2 sec buffer plugin is created when only hotword feature is enabled. if another ST model is selected then we will destroy 2 sec buffer and recreate 8 sec buffer with read pointer for 2 sec and 8 sec. Test: Manual test SoundTrigger features. Bug: 122871429 Bug: 123177333 Bug: 121286156 Bug: 122640303 Bug: 124878266 Bug: 124626705 Bug: 127721992 Bug: 127660934 Change-Id: Idcf3c4ac24ad176b68bc6593d05c7b160a606e46
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk26
1 files changed, 24 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 0dd6485..394e476 100644
--- a/Android.mk
+++ b/Android.mk
@@ -98,7 +98,11 @@ LOCAL_SRC_FILES := tests/sensor_param_test.c
LOCAL_32_BIT_ONLY := true
LOCAL_SHARED_LIBRARIES := liblog \
libutils \
- libcutils
+ libcutils \
+ libtinyalsa
+LOCAL_C_INCLUDES += external/tinyalsa/include \
+ $(LOCAL_PATH)/../hal
+
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
@@ -201,4 +205,22 @@ LOCAL_SHARED_LIBRARIES := libcutils \
include $(BUILD_EXECUTABLE)
-endif \ No newline at end of file
+include $(CLEAR_VARS)
+LOCAL_MODULE := plugin_status_test
+LOCAL_SRC_FILES := tests/plugin_status_test.c
+LOCAL_VENDOR_MODULE := true
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/
+LOCAL_32_BIT_ONLY := true
+LOCAL_SHARED_LIBRARIES := libcutils libodsp
+
+include $(BUILD_EXECUTABLE)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := get_pwr_stats
+LOCAL_SRC_FILES := tests/get_pwr_stats.c
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/
+LOCAL_32_BIT_ONLY := true
+LOCAL_SHARED_LIBRARIES := libcutils liblog
+
+include $(BUILD_EXECUTABLE)
+endif