55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
# audio_hal_playback_test
|
|
# ==============================================================================
|
|
include $(CLEAR_VARS)
|
|
LOCAL_SRC_FILES := qahw_playback_test.c \
|
|
qahw_effect_test.c
|
|
LOCAL_MODULE := hal_play_test
|
|
|
|
hal-play-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
|
|
hal-play-inc += $(TARGET_OUT_HEADERS)/mm-audio/qahw/inc
|
|
hal-play-inc += external/tinyalsa/include
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libaudioutils\
|
|
libqahw \
|
|
libqahwwrapper \
|
|
libutils \
|
|
libcutils
|
|
|
|
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GCOV)),true)
|
|
LOCAL_CFLAGS += --coverage -fprofile-arcs -ftest-coverage
|
|
LOCAL_CPPFLAGS += --coverage -fprofile-arcs -ftest-coverage
|
|
LOCAL_STATIC_LIBRARIES += libprofile_rt
|
|
endif
|
|
|
|
LOCAL_32_BIT_ONLY := true
|
|
|
|
LOCAL_C_INCLUDES += $(hal-play-inc)
|
|
LOCAL_VENDOR_MODULE := true
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
# audio_hal_multi_record_test
|
|
# ==============================================================================
|
|
include $(CLEAR_VARS)
|
|
LOCAL_SRC_FILES := qahw_multi_record_test.c
|
|
LOCAL_MODULE := hal_rec_test
|
|
LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libaudioutils \
|
|
libqahw \
|
|
libutils
|
|
|
|
LOCAL_32_BIT_ONLY := true
|
|
|
|
hal-rec-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
|
|
|
|
LOCAL_C_INCLUDES += $(hal-rec-inc)
|
|
LOCAL_VENDOR_MODULE := true
|
|
|
|
include $(BUILD_EXECUTABLE)
|