Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | # audio_hal_playback_test |
| 4 | # ============================================================================== |
| 5 | include $(CLEAR_VARS) |
Dhananjay Kumar | 23a3bec | 2017-01-11 18:38:09 +0530 | [diff] [blame] | 6 | LOCAL_SRC_FILES := qahw_playback_test.c \ |
| 7 | qahw_effect_test.c |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 8 | LOCAL_MODULE := hal_play_test |
| 9 | |
Naresh Tanniru | 79ed9bc | 2017-03-27 18:49:54 +0530 | [diff] [blame] | 10 | hal-play-inc += external/tinyalsa/include |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 11 | |
| 12 | LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare |
| 13 | |
Pig | 962fad0 | 2020-09-19 08:57:38 +0800 | [diff] [blame^] | 14 | LOCAL_HEADER_LIBRARIES := \ |
| 15 | libqahw_headers \ |
| 16 | libqahwapi_headers |
| 17 | |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 18 | LOCAL_SHARED_LIBRARIES := \ |
| 19 | libaudioutils\ |
| 20 | libqahw \ |
Dhanalakshmi Siddani | 80365d2 | 2017-10-10 23:04:55 +0530 | [diff] [blame] | 21 | libqahwwrapper \ |
Naresh Tanniru | 79ed9bc | 2017-03-27 18:49:54 +0530 | [diff] [blame] | 22 | libutils \ |
| 23 | libcutils |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 24 | |
Vatsal Bucha | c09ae06 | 2018-11-14 13:25:08 +0530 | [diff] [blame] | 25 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GCOV)),true) |
| 26 | LOCAL_CFLAGS += --coverage -fprofile-arcs -ftest-coverage |
| 27 | LOCAL_CPPFLAGS += --coverage -fprofile-arcs -ftest-coverage |
| 28 | LOCAL_STATIC_LIBRARIES += libprofile_rt |
| 29 | endif |
| 30 | |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 31 | LOCAL_32_BIT_ONLY := true |
| 32 | |
| 33 | LOCAL_C_INCLUDES += $(hal-play-inc) |
Sachin Mohan Gadag | 25328bd | 2017-12-06 16:04:16 +0530 | [diff] [blame] | 34 | LOCAL_VENDOR_MODULE := true |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 35 | |
Deepthi Gunturi | 6167e2b | 2020-04-10 09:52:53 +0530 | [diff] [blame] | 36 | ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 37 | LOCAL_SANITIZE := integer_overflow |
| 38 | endif |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 39 | include $(BUILD_EXECUTABLE) |
| 40 | |
| 41 | # audio_hal_multi_record_test |
| 42 | # ============================================================================== |
| 43 | include $(CLEAR_VARS) |
| 44 | LOCAL_SRC_FILES := qahw_multi_record_test.c |
| 45 | LOCAL_MODULE := hal_rec_test |
| 46 | LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare |
Pig | 962fad0 | 2020-09-19 08:57:38 +0800 | [diff] [blame^] | 47 | |
| 48 | LOCAL_HEADER_LIBRARIES := \ |
| 49 | libqahwapi_headers |
| 50 | |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 51 | LOCAL_SHARED_LIBRARIES := \ |
| 52 | libaudioutils \ |
| 53 | libqahw \ |
| 54 | libutils |
| 55 | |
| 56 | LOCAL_32_BIT_ONLY := true |
| 57 | |
Sachin Mohan Gadag | 25328bd | 2017-12-06 16:04:16 +0530 | [diff] [blame] | 58 | LOCAL_VENDOR_MODULE := true |
| 59 | |
Deepthi Gunturi | 6167e2b | 2020-04-10 09:52:53 +0530 | [diff] [blame] | 60 | ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 61 | LOCAL_SANITIZE := integer_overflow |
| 62 | endif |
Manish Dewangan | 141cb56 | 2016-09-27 11:58:05 +0530 | [diff] [blame] | 63 | include $(BUILD_EXECUTABLE) |