blob: cca72f850d025f86fdd9376b29b82587337b8176 [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
Vatsal Buchac09ae062018-11-14 13:25:08 +053023ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GCOV)),true)
24LOCAL_CFLAGS += --coverage -fprofile-arcs -ftest-coverage
25LOCAL_CPPFLAGS += --coverage -fprofile-arcs -ftest-coverage
26LOCAL_STATIC_LIBRARIES += libprofile_rt
27endif
28
Manish Dewangan141cb562016-09-27 11:58:05 +053029LOCAL_32_BIT_ONLY := true
30
31LOCAL_C_INCLUDES += $(hal-play-inc)
Sachin Mohan Gadag25328bd2017-12-06 16:04:16 +053032LOCAL_VENDOR_MODULE := true
Manish Dewangan141cb562016-09-27 11:58:05 +053033
34include $(BUILD_EXECUTABLE)
35
36# audio_hal_multi_record_test
37# ==============================================================================
38include $(CLEAR_VARS)
39LOCAL_SRC_FILES := qahw_multi_record_test.c
40LOCAL_MODULE := hal_rec_test
41LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
42LOCAL_SHARED_LIBRARIES := \
43 libaudioutils \
44 libqahw \
45 libutils
46
47LOCAL_32_BIT_ONLY := true
48
49hal-rec-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
50
51LOCAL_C_INCLUDES += $(hal-rec-inc)
Sachin Mohan Gadag25328bd2017-12-06 16:04:16 +053052LOCAL_VENDOR_MODULE := true
53
Manish Dewangan141cb562016-09-27 11:58:05 +053054include $(BUILD_EXECUTABLE)