Naresh Tanniru | f129015 | 2018-11-27 12:16:45 +0530 | [diff] [blame] | 1 | ifneq ($(AUDIO_USE_STUB_HAL), true) |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | |
| 4 | include $(CLEAR_VARS) |
| 5 | |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 6 | LOCAL_CFLAGS := -DLIB_AUDIO_HAL="/vendor/lib/hw/audio.primary."$(TARGET_BOARD_PLATFORM)".so" |
Soumil Shah | 196157e | 2018-01-22 17:39:48 -0800 | [diff] [blame] | 7 | LOCAL_CFLAGS += -Wno-unused-variable |
| 8 | LOCAL_CFLAGS += -Wno-sign-compare |
| 9 | LOCAL_CFLAGS += -Wno-unused-parameter |
| 10 | LOCAL_CFLAGS += -Wno-unused-label |
| 11 | LOCAL_CFLAGS += -Wno-gnu-designator |
| 12 | LOCAL_CFLAGS += -Wno-typedef-redefinition |
| 13 | LOCAL_CFLAGS += -Wno-shorten-64-to-32 |
| 14 | LOCAL_CFLAGS += -Wno-tautological-compare |
| 15 | LOCAL_CFLAGS += -Wno-unused-function |
| 16 | LOCAL_CFLAGS += -Wno-unused-local-typedef |
| 17 | LOCAL_CFLAGS += -Wno-format |
Abhishek Arpure | ce11235 | 2018-01-31 21:29:03 +0530 | [diff] [blame] | 18 | LOCAL_CFLAGS += -Wno-unused-value |
Aalique Grahame | 22e4910 | 2018-12-18 14:23:57 -0800 | [diff] [blame] | 19 | LOCAL_CFLAGS += -Wall |
| 20 | LOCAL_CFLAGS += -Werror |
Soumil Shah | 196157e | 2018-01-22 17:39:48 -0800 | [diff] [blame] | 21 | |
Mingming Yin | a6dad60 | 2014-05-16 12:10:55 -0700 | [diff] [blame] | 22 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true) |
Mingming Yin | 67e3451 | 2014-04-03 17:47:22 -0700 | [diff] [blame] | 23 | LOCAL_CFLAGS += -DAFE_PROXY_ENABLED |
| 24 | endif |
| 25 | |
Akhil Karuturi | 60c2347 | 2020-05-19 22:19:00 -0700 | [diff] [blame] | 26 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GKI)),true) |
| 27 | LOCAL_CFLAGS += -DAUDIO_GKI_ENABLED |
| 28 | endif |
| 29 | |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 30 | LOCAL_SRC_FILES:= \ |
Aniket Kumar Lata | f56b640 | 2016-10-27 12:03:18 -0700 | [diff] [blame] | 31 | bundle.c \ |
| 32 | equalizer.c \ |
| 33 | bass_boost.c \ |
| 34 | virtualizer.c \ |
| 35 | reverb.c \ |
| 36 | effect_api.c \ |
Weiyin Jiang | fd19e98 | 2019-07-05 11:20:28 +0800 | [diff] [blame] | 37 | effect_util.c |
Mingming Yin | 497419f | 2015-07-01 16:57:32 -0700 | [diff] [blame] | 38 | |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 39 | # HW_ACCELERATED has been disabled by default since msm8996. File doesn't |
| 40 | # compile cleanly on tip so don't want to include it, but keeping this |
| 41 | # as a reference. |
| 42 | # LOCAL_SRC_FILES += hw_accelerator.c |
Dhananjay Kumar | 1c978df | 2015-09-04 13:44:59 +0530 | [diff] [blame] | 43 | |
Vignesh Kulothungan | bbf4497 | 2018-09-17 15:12:07 -0700 | [diff] [blame] | 44 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_INSTANCE_ID)), true) |
| 45 | LOCAL_CFLAGS += -DINSTANCE_ID_ENABLED |
| 46 | endif |
| 47 | |
Vatsal Bucha | c09ae06 | 2018-11-14 13:25:08 +0530 | [diff] [blame] | 48 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GCOV)),true) |
| 49 | LOCAL_CFLAGS += --coverage -fprofile-arcs -ftest-coverage |
| 50 | LOCAL_CPPFLAGS += --coverage -fprofile-arcs -ftest-coverage |
| 51 | LOCAL_STATIC_LIBRARIES += libprofile_rt |
| 52 | endif |
| 53 | |
Vignesh Kulothungan | 9f86d7a | 2018-09-17 15:12:07 -0700 | [diff] [blame] | 54 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_INSTANCE_ID)), true) |
| 55 | LOCAL_CFLAGS += -DINSTANCE_ID_ENABLED |
| 56 | endif |
| 57 | |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 58 | LOCAL_CFLAGS+= -O2 -fvisibility=hidden |
| 59 | |
Jitendra Naruka | 1b6513f | 2014-11-22 19:34:13 -0800 | [diff] [blame] | 60 | ifneq ($(strip $(AUDIO_FEATURE_DISABLED_DTS_EAGLE)),true) |
| 61 | LOCAL_CFLAGS += -DDTS_EAGLE |
| 62 | endif |
| 63 | |
Revathi Uddaraju | e8bd13c | 2018-04-02 21:27:54 +0530 | [diff] [blame] | 64 | LOCAL_HEADER_LIBRARIES := libhardware_headers \ |
| 65 | libsystem_headers \ |
| 66 | libutils_headers |
| 67 | |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 68 | LOCAL_SHARED_LIBRARIES := \ |
Aniket Kumar Lata | f56b640 | 2016-10-27 12:03:18 -0700 | [diff] [blame] | 69 | libcutils \ |
| 70 | liblog \ |
| 71 | libtinyalsa \ |
| 72 | libdl |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 73 | |
| 74 | LOCAL_MODULE_TAGS := optional |
| 75 | |
Apoorv Raghuvanshi | 1b555f7 | 2014-05-29 12:48:15 -0700 | [diff] [blame] | 76 | LOCAL_MODULE_RELATIVE_PATH := soundfx |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 77 | LOCAL_MODULE:= libqcompostprocbundle |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 78 | LOCAL_VENDOR_MODULE := true |
Aalique Grahame | 22e4910 | 2018-12-18 14:23:57 -0800 | [diff] [blame] | 79 | LOCAL_MODULE_OWNER := qti |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 80 | |
Subhash Chandra Bose Naripeddy | e40a7cd | 2014-06-03 19:42:41 -0700 | [diff] [blame] | 81 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 82 | |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 83 | LOCAL_C_INCLUDES := \ |
Aniket Kumar Lata | f56b640 | 2016-10-27 12:03:18 -0700 | [diff] [blame] | 84 | external/tinyalsa/include \ |
Aniket Kumar Lata | 808e8d6 | 2019-01-28 22:54:28 -0800 | [diff] [blame] | 85 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
Subhash Chandra Bose Naripeddy | 090a2aa | 2014-01-30 14:03:12 -0800 | [diff] [blame] | 86 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \ |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 87 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio \ |
Asish Bhattacharya | 0b9bfb0 | 2017-07-15 08:39:36 +0530 | [diff] [blame] | 88 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include \ |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 89 | $(call include-path-for, audio-effects) \ |
| 90 | vendor/qcom/opensource/audio-hal/primary-hal/hal/audio_extn/ |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 91 | |
Satish Babu Patakokila | 2787cee | 2018-03-22 11:18:42 +0530 | [diff] [blame] | 92 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
Revathi Uddaraju | 3f4cfa4 | 2018-06-04 20:35:10 +0530 | [diff] [blame] | 93 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
Asish Bhattacharya | d066587 | 2017-09-07 19:46:29 +0530 | [diff] [blame] | 94 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Asish Bhattacharya | d066587 | 2017-09-07 19:46:29 +0530 | [diff] [blame] | 95 | endif |
| 96 | |
Srinivas Rao Narne | 8ff4db5 | 2018-01-25 16:04:44 -0800 | [diff] [blame] | 97 | ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) |
| 98 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
Satish Babu Patakokila | 1d3b15d | 2018-07-03 17:09:40 +0530 | [diff] [blame] | 99 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
Srinivas Rao Narne | 8ff4db5 | 2018-01-25 16:04:44 -0800 | [diff] [blame] | 100 | endif |
| 101 | |
Deepthi Gunturi | 6167e2b | 2020-04-10 09:52:53 +0530 | [diff] [blame] | 102 | ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 103 | LOCAL_SANITIZE := integer_overflow |
| 104 | endif |
Subhash Chandra Bose Naripeddy | 3eedc00 | 2013-11-12 20:45:15 -0800 | [diff] [blame] | 105 | include $(BUILD_SHARED_LIBRARY) |
Subhash Chandra Bose Naripeddy | e40a7cd | 2014-06-03 19:42:41 -0700 | [diff] [blame] | 106 | |
| 107 | |
| 108 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS)),true) |
| 109 | include $(CLEAR_VARS) |
| 110 | |
Soumil Shah | 196157e | 2018-01-22 17:39:48 -0800 | [diff] [blame] | 111 | LOCAL_CFLAGS += -Wno-unused-variable |
| 112 | LOCAL_CFLAGS += -Wno-sign-compare |
| 113 | LOCAL_CFLAGS += -Wno-unused-parameter |
| 114 | LOCAL_CFLAGS += -Wno-unused-label |
| 115 | LOCAL_CFLAGS += -Wno-gnu-designator |
| 116 | LOCAL_CFLAGS += -Wno-typedef-redefinition |
| 117 | LOCAL_CFLAGS += -Wno-shorten-64-to-32 |
| 118 | LOCAL_CFLAGS += -Wno-tautological-compare |
| 119 | LOCAL_CFLAGS += -Wno-unused-function |
| 120 | LOCAL_CFLAGS += -Wno-unused-local-typedef |
| 121 | LOCAL_CFLAGS += -Wno-format |
Subhash Chandra Bose Naripeddy | e40a7cd | 2014-06-03 19:42:41 -0700 | [diff] [blame] | 122 | LOCAL_SRC_FILES := EffectsHwAcc.cpp |
| 123 | |
| 124 | LOCAL_C_INCLUDES := \ |
| 125 | $(call include-path-for, audio-effects) |
| 126 | |
Revathi Uddaraju | e8bd13c | 2018-04-02 21:27:54 +0530 | [diff] [blame] | 127 | LOCAL_HEADER_LIBRARIES := libhardware_headers \ |
| 128 | libsystem_headers \ |
| 129 | libutils_headers |
| 130 | |
Subhash Chandra Bose Naripeddy | e40a7cd | 2014-06-03 19:42:41 -0700 | [diff] [blame] | 131 | LOCAL_SHARED_LIBRARIES := \ |
| 132 | liblog \ |
| 133 | libeffects |
| 134 | |
| 135 | LOCAL_MODULE_TAGS := optional |
| 136 | |
| 137 | LOCAL_CFLAGS += -O2 -fvisibility=hidden |
| 138 | |
Alexy Joseph | d464f3b | 2014-11-18 16:14:41 -0800 | [diff] [blame] | 139 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DTS_EAGLE)), true) |
| 140 | LOCAL_CFLAGS += -DHW_ACC_HPX |
| 141 | endif |
| 142 | |
Subhash Chandra Bose Naripeddy | e40a7cd | 2014-06-03 19:42:41 -0700 | [diff] [blame] | 143 | LOCAL_MODULE:= libhwacceffectswrapper |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 144 | LOCAL_VENDOR_MODULE := true |
Subhash Chandra Bose Naripeddy | e40a7cd | 2014-06-03 19:42:41 -0700 | [diff] [blame] | 145 | |
Deepthi Gunturi | 6167e2b | 2020-04-10 09:52:53 +0530 | [diff] [blame] | 146 | ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 147 | LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow |
| 148 | endif |
Subhash Chandra Bose Naripeddy | e40a7cd | 2014-06-03 19:42:41 -0700 | [diff] [blame] | 149 | include $(BUILD_STATIC_LIBRARY) |
| 150 | endif |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 151 | |
| 152 | |
Soumil Shah | 196157e | 2018-01-22 17:39:48 -0800 | [diff] [blame] | 153 | |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 154 | ################################################################################ |
| 155 | |
Deepthi Gunturi | 6167e2b | 2020-04-10 09:52:53 +0530 | [diff] [blame] | 156 | ifneq ($(filter msm8992 msm8994 msm8996 msm8998 sdm660 sdm845 apq8098_latv sdm710 msm8953 msm8937 qcs605 sdmshrike msmnile kona lahaina holi atoll $(MSMSTEPPE) $(TRINKET) lito,$(TARGET_BOARD_PLATFORM)),) |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 157 | |
| 158 | include $(CLEAR_VARS) |
| 159 | |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 160 | LOCAL_CFLAGS := -DLIB_AUDIO_HAL="/vendor/lib/hw/audio.primary."$(TARGET_BOARD_PLATFORM)".so" |
Soumil Shah | 196157e | 2018-01-22 17:39:48 -0800 | [diff] [blame] | 161 | LOCAL_CFLAGS += -Wno-unused-variable |
| 162 | LOCAL_CFLAGS += -Wno-sign-compare |
| 163 | LOCAL_CFLAGS += -Wno-unused-parameter |
| 164 | LOCAL_CFLAGS += -Wno-unused-label |
| 165 | LOCAL_CFLAGS += -Wno-gnu-designator |
| 166 | LOCAL_CFLAGS += -Wno-typedef-redefinition |
| 167 | LOCAL_CFLAGS += -Wno-shorten-64-to-32 |
| 168 | LOCAL_CFLAGS += -Wno-tautological-compare |
| 169 | LOCAL_CFLAGS += -Wno-unused-function |
| 170 | LOCAL_CFLAGS += -Wno-unused-local-typedef |
| 171 | LOCAL_CFLAGS += -Wno-format |
Aalique Grahame | 22e4910 | 2018-12-18 14:23:57 -0800 | [diff] [blame] | 172 | LOCAL_CFLAGS += -Wall |
| 173 | LOCAL_CFLAGS += -Werror |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 174 | |
| 175 | LOCAL_SRC_FILES:= \ |
| 176 | volume_listener.c |
| 177 | |
| 178 | LOCAL_CFLAGS+= -O2 -fvisibility=hidden |
| 179 | |
Revathi Uddaraju | e8bd13c | 2018-04-02 21:27:54 +0530 | [diff] [blame] | 180 | LOCAL_HEADER_LIBRARIES := libhardware_headers \ |
| 181 | libsystem_headers \ |
| 182 | libutils_headers |
| 183 | |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 184 | LOCAL_SHARED_LIBRARIES := \ |
| 185 | libcutils \ |
| 186 | liblog \ |
Aalique Grahame | 22e4910 | 2018-12-18 14:23:57 -0800 | [diff] [blame] | 187 | libdl \ |
| 188 | libaudioutils |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 189 | |
| 190 | LOCAL_MODULE_RELATIVE_PATH := soundfx |
| 191 | LOCAL_MODULE:= libvolumelistener |
Naresh Tanniru | 10758b6 | 2017-06-05 21:05:53 +0530 | [diff] [blame] | 192 | LOCAL_VENDOR_MODULE := true |
Aalique Grahame | 22e4910 | 2018-12-18 14:23:57 -0800 | [diff] [blame] | 193 | LOCAL_MODULE_OWNER := qti |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 194 | |
Aniket Kumar Lata | 8e743e6 | 2017-08-14 12:36:47 -0700 | [diff] [blame] | 195 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 196 | |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 197 | LOCAL_C_INCLUDES := \ |
vivek mehta | a24d1ad | 2019-01-15 22:38:01 -0800 | [diff] [blame] | 198 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
Aniket Kumar Lata | f56b640 | 2016-10-27 12:03:18 -0700 | [diff] [blame] | 199 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \ |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 200 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio \ |
Aniket Kumar Lata | 8e743e6 | 2017-08-14 12:36:47 -0700 | [diff] [blame] | 201 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include \ |
Aniket Kumar Lata | f56b640 | 2016-10-27 12:03:18 -0700 | [diff] [blame] | 202 | external/tinyalsa/include \ |
| 203 | $(call include-path-for, audio-effects) \ |
| 204 | $(call include-path-for, audio-route) \ |
vivek mehta | a24d1ad | 2019-01-15 22:38:01 -0800 | [diff] [blame] | 205 | vendor/qcom/opensource/audio-hal/primary-hal/hal/audio_extn \ |
Aalique Grahame | 22e4910 | 2018-12-18 14:23:57 -0800 | [diff] [blame] | 206 | external/tinycompress/include \ |
| 207 | system/media/audio_utils/include |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 208 | |
Satish Babu Patakokila | 2787cee | 2018-03-22 11:18:42 +0530 | [diff] [blame] | 209 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
Revathi Uddaraju | 3f4cfa4 | 2018-06-04 20:35:10 +0530 | [diff] [blame] | 210 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
Asish Bhattacharya | d066587 | 2017-09-07 19:46:29 +0530 | [diff] [blame] | 211 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Asish Bhattacharya | d066587 | 2017-09-07 19:46:29 +0530 | [diff] [blame] | 212 | endif |
| 213 | |
Srinivas Rao Narne | 8ff4db5 | 2018-01-25 16:04:44 -0800 | [diff] [blame] | 214 | ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) |
| 215 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
Satish Babu Patakokila | 1d3b15d | 2018-07-03 17:09:40 +0530 | [diff] [blame] | 216 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
Srinivas Rao Narne | 8ff4db5 | 2018-01-25 16:04:44 -0800 | [diff] [blame] | 217 | endif |
| 218 | |
Deepthi Gunturi | 6167e2b | 2020-04-10 09:52:53 +0530 | [diff] [blame] | 219 | ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 220 | LOCAL_SANITIZE := integer_overflow |
| 221 | endif |
vivek mehta | 341b6f0 | 2015-06-15 16:16:11 -0700 | [diff] [blame] | 222 | include $(BUILD_SHARED_LIBRARY) |
| 223 | |
| 224 | endif |
jasmine cha | 75fa6f0 | 2018-03-30 15:41:33 +0800 | [diff] [blame] | 225 | |
| 226 | ################################################################################ |
| 227 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_MAXX_AUDIO)), true) |
| 228 | |
| 229 | include $(CLEAR_VARS) |
| 230 | |
| 231 | LOCAL_CFLAGS := -D HAL_LIB_NAME=\"audio.primary."$(TARGET_BOARD_PLATFORM)".so\" |
| 232 | |
| 233 | LOCAL_SRC_FILES:= \ |
Aalique Grahame | 5ce7fbe | 2019-01-28 12:08:13 -0800 | [diff] [blame] | 234 | ma_listener.c |
jasmine cha | 75fa6f0 | 2018-03-30 15:41:33 +0800 | [diff] [blame] | 235 | |
| 236 | LOCAL_CFLAGS += $(qcom_post_proc_common_cflags) |
| 237 | |
| 238 | LOCAL_SHARED_LIBRARIES := \ |
Aalique Grahame | 5ce7fbe | 2019-01-28 12:08:13 -0800 | [diff] [blame] | 239 | libcutils \ |
| 240 | liblog \ |
| 241 | libdl |
jasmine cha | 75fa6f0 | 2018-03-30 15:41:33 +0800 | [diff] [blame] | 242 | |
| 243 | LOCAL_MODULE_RELATIVE_PATH := soundfx |
| 244 | LOCAL_MODULE:= libmalistener |
| 245 | LOCAL_MODULE_OWNER := google |
| 246 | LOCAL_PROPRIETARY_MODULE := true |
| 247 | |
| 248 | LOCAL_C_INCLUDES := \ |
Aalique Grahame | 5ce7fbe | 2019-01-28 12:08:13 -0800 | [diff] [blame] | 249 | hardware/qcom/audio/hal \ |
| 250 | system/media/audio/include/system \ |
| 251 | $(call include-path-for, audio-effects) |
jasmine cha | 75fa6f0 | 2018-03-30 15:41:33 +0800 | [diff] [blame] | 252 | |
| 253 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 254 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Deepthi Gunturi | 6167e2b | 2020-04-10 09:52:53 +0530 | [diff] [blame] | 255 | ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 256 | LOCAL_SANITIZE := integer_overflow |
| 257 | endif |
jasmine cha | 75fa6f0 | 2018-03-30 15:41:33 +0800 | [diff] [blame] | 258 | include $(BUILD_SHARED_LIBRARY) |
| 259 | |
| 260 | endif |
Naresh Tanniru | f129015 | 2018-11-27 12:16:45 +0530 | [diff] [blame] | 261 | endif |