blob: 887f41675782b991c7d3b19e1035f6601bc59839 [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
Naresh Tanniru79ed9bc2017-03-27 18:49:54 +053011hal-play-inc += external/tinyalsa/include
Manish Dewangan141cb562016-09-27 11:58:05 +053012
13LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
14
15LOCAL_SHARED_LIBRARIES := \
16 libaudioutils\
17 libqahw \
Naresh Tanniru79ed9bc2017-03-27 18:49:54 +053018 libutils \
19 libcutils
Manish Dewangan141cb562016-09-27 11:58:05 +053020
Naresh Tanniru79ed9bc2017-03-27 18:49:54 +053021LOCAL_LDLIBS := -lpthread
Manish Dewangan141cb562016-09-27 11:58:05 +053022LOCAL_32_BIT_ONLY := true
23
24LOCAL_C_INCLUDES += $(hal-play-inc)
25
26include $(BUILD_EXECUTABLE)
27
28# audio_hal_multi_record_test
29# ==============================================================================
30include $(CLEAR_VARS)
31LOCAL_SRC_FILES := qahw_multi_record_test.c
32LOCAL_MODULE := hal_rec_test
33LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
34LOCAL_SHARED_LIBRARIES := \
35 libaudioutils \
36 libqahw \
37 libutils
38
39LOCAL_32_BIT_ONLY := true
40
41hal-rec-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
42
43LOCAL_C_INCLUDES += $(hal-rec-inc)
44include $(BUILD_EXECUTABLE)