blob: 06e8a5a2c3a70c099f00cf9ef275146ed369874e [file] [log] [blame]
Manish Dewangan141cb562016-09-27 11:58:05 +05301LOCAL_PATH := $(call my-dir)
2
3# audio_hal_playback_test
4# ==============================================================================
5include $(CLEAR_VARS)
Dhananjay Kumar23a3bec2017-01-11 18:38:09 +05306LOCAL_SRC_FILES := qahw_playback_test.c \
7 qahw_effect_test.c
Manish Dewangan141cb562016-09-27 11:58:05 +05308LOCAL_MODULE := hal_play_test
9
10hal-play-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
Dhanalakshmi Siddani80365d22017-10-10 23:04:55 +053011hal-play-inc += $(TARGET_OUT_HEADERS)/mm-audio/qahw/inc
Naresh Tanniru79ed9bc2017-03-27 18:49:54 +053012hal-play-inc += external/tinyalsa/include
Manish Dewangan141cb562016-09-27 11:58:05 +053013
14LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
15
16LOCAL_SHARED_LIBRARIES := \
17 libaudioutils\
18 libqahw \
Dhanalakshmi Siddani80365d22017-10-10 23:04:55 +053019 libqahwwrapper \
Naresh Tanniru79ed9bc2017-03-27 18:49:54 +053020 libutils \
21 libcutils
Manish Dewangan141cb562016-09-27 11:58:05 +053022
Manish Dewangan141cb562016-09-27 11:58:05 +053023LOCAL_32_BIT_ONLY := true
24
25LOCAL_C_INCLUDES += $(hal-play-inc)
Sachin Mohan Gadag25328bd2017-12-06 16:04:16 +053026LOCAL_VENDOR_MODULE := true
Manish Dewangan141cb562016-09-27 11:58:05 +053027
28include $(BUILD_EXECUTABLE)
29
30# audio_hal_multi_record_test
31# ==============================================================================
32include $(CLEAR_VARS)
33LOCAL_SRC_FILES := qahw_multi_record_test.c
34LOCAL_MODULE := hal_rec_test
35LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
36LOCAL_SHARED_LIBRARIES := \
37 libaudioutils \
38 libqahw \
39 libutils
40
41LOCAL_32_BIT_ONLY := true
42
43hal-rec-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
44
45LOCAL_C_INCLUDES += $(hal-rec-inc)
Sachin Mohan Gadag25328bd2017-12-06 16:04:16 +053046LOCAL_VENDOR_MODULE := true
47
Manish Dewangan141cb562016-09-27 11:58:05 +053048include $(BUILD_EXECUTABLE)