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