Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 1 | #-------------------------------------------- |
| 2 | # Build SND_MONITOR LIB |
| 3 | #-------------------------------------------- |
| 4 | LOCAL_PATH:= $(call my-dir) |
| 5 | |
| 6 | include $(CLEAR_VARS) |
| 7 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 8 | LOCAL_MODULE := libsndmonitor |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 9 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 10 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 11 | |
| 12 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 13 | |
| 14 | LOCAL_SRC_FILES:= \ |
| 15 | sndmonitor.c |
| 16 | |
| 17 | LOCAL_CFLAGS += \ |
| 18 | -Wall \ |
| 19 | -Werror \ |
| 20 | -Wno-unused-function \ |
| 21 | -Wno-unused-variable \ |
| 22 | |
| 23 | LOCAL_SHARED_LIBRARIES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 24 | libaudioutils \ |
| 25 | libcutils \ |
| 26 | liblog \ |
| 27 | libtinyalsa \ |
| 28 | libtinycompress \ |
| 29 | libaudioroute \ |
| 30 | libdl \ |
| 31 | libexpat |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 32 | |
| 33 | LOCAL_C_INCLUDES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 34 | external/tinyalsa/include \ |
| 35 | external/tinycompress/include \ |
| 36 | system/media/audio_utils/include \ |
| 37 | external/expat/lib \ |
| 38 | $(call include-path-for, audio-route) \ |
| 39 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
| 40 | $(call include-path-for, audio-effects) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 41 | |
| 42 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 43 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 44 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 45 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 46 | |
| 47 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 48 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 49 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 50 | endif |
| 51 | |
| 52 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 53 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 54 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 55 | LOCAL_SANITIZE := integer_overflow |
| 56 | endif |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 57 | include $(BUILD_SHARED_LIBRARY) |
| 58 | |
| 59 | #-------------------------------------------- |
| 60 | # Build COMPRESS_CAPTURE LIB |
| 61 | #-------------------------------------------- |
| 62 | include $(CLEAR_VARS) |
| 63 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 64 | LOCAL_MODULE := libcomprcapture |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 65 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 66 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 67 | |
| 68 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 69 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 70 | ifneq ($(filter sdm845 sdm710 qcs605 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 71 | # B-family platform uses msm8974 code base |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 72 | AUDIO_PLATFORM := msm8974 |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 73 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 74 | endif |
| 75 | |
| 76 | LOCAL_SRC_FILES:= \ |
| 77 | compress_capture.c |
| 78 | |
| 79 | LOCAL_CFLAGS += \ |
| 80 | -Wall \ |
| 81 | -Werror \ |
| 82 | -Wno-unused-function \ |
| 83 | -Wno-unused-variable \ |
| 84 | |
| 85 | LOCAL_SHARED_LIBRARIES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 86 | libaudioutils \ |
| 87 | libcutils \ |
| 88 | liblog \ |
| 89 | libtinyalsa \ |
| 90 | libtinycompress \ |
| 91 | libaudioroute \ |
| 92 | libdl \ |
| 93 | libexpat |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 94 | |
| 95 | LOCAL_C_INCLUDES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 96 | external/tinyalsa/include \ |
| 97 | external/tinycompress/include \ |
| 98 | system/media/audio_utils/include \ |
| 99 | external/expat/lib \ |
| 100 | $(call include-path-for, audio-route) \ |
| 101 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 102 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 103 | $(call include-path-for, audio-effects) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 104 | |
| 105 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 106 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 107 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 108 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 109 | |
| 110 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 111 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 112 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 113 | endif |
| 114 | |
| 115 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 116 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 117 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 118 | LOCAL_SANITIZE := integer_overflow |
| 119 | endif |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 120 | include $(BUILD_SHARED_LIBRARY) |
| 121 | |
| 122 | #------------------------------------------- |
| 123 | # Build SSREC LIB |
| 124 | #------------------------------------------- |
Derek Chen | 799148a | 2019-09-08 15:18:33 -0700 | [diff] [blame] | 125 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SSR)),true) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 126 | include $(CLEAR_VARS) |
| 127 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 128 | LOCAL_MODULE := libssrec |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 129 | LOCAL_VENDOR_MODULE := true |
| 130 | |
| 131 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 132 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 133 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 134 | # B-family platform uses msm8974 code base |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 135 | AUDIO_PLATFORM := msm8974 |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 136 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 137 | endif |
| 138 | |
| 139 | LOCAL_SRC_FILES:= ssr.c |
| 140 | |
| 141 | LOCAL_CFLAGS += \ |
| 142 | -Wall \ |
| 143 | -Werror \ |
| 144 | -Wno-unused-function \ |
| 145 | -Wno-unused-variable |
| 146 | |
| 147 | LOCAL_SHARED_LIBRARIES := \ |
| 148 | libaudioutils \ |
| 149 | libcutils \ |
| 150 | liblog \ |
| 151 | libtinyalsa \ |
| 152 | libtinycompress \ |
| 153 | libaudioroute \ |
| 154 | libdl \ |
Ramjee Singh | 82fd0c1 | 2019-08-21 16:31:33 +0530 | [diff] [blame] | 155 | libexpat \ |
| 156 | libprocessgroup |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 157 | |
| 158 | LOCAL_C_INCLUDES := \ |
| 159 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
| 160 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
| 161 | external/tinyalsa/include \ |
| 162 | external/tinycompress/include \ |
| 163 | external/expat/lib \ |
| 164 | system/media/audio_utils/include \ |
| 165 | $(call include-path-for, audio-route) \ |
| 166 | $(call include-path-for, audio-effects) \ |
| 167 | $(TARGET_OUT_HEADERS)/mm-audio/surround_sound_3mic/ \ |
| 168 | $(TARGET_OUT_HEADERS)/common/inc/ |
| 169 | |
| 170 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 171 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 172 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 173 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 174 | |
| 175 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 176 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 177 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 178 | endif |
| 179 | |
| 180 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 181 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 182 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 183 | LOCAL_SANITIZE := integer_overflow |
| 184 | endif |
Ramjee Singh | 82fd0c1 | 2019-08-21 16:31:33 +0530 | [diff] [blame] | 185 | include $(BUILD_SHARED_LIBRARY) |
Derek Chen | 799148a | 2019-09-08 15:18:33 -0700 | [diff] [blame] | 186 | endif |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 187 | #-------------------------------------------- |
| 188 | # Build HDMI_EDID LIB |
| 189 | #-------------------------------------------- |
| 190 | include $(CLEAR_VARS) |
| 191 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 192 | LOCAL_MODULE := libhdmiedid |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 193 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 194 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 195 | |
| 196 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 197 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 198 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 199 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 200 | # B-family platform uses msm8974 code base |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 201 | AUDIO_PLATFORM := msm8974 |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 202 | endif |
| 203 | |
| 204 | LOCAL_SRC_FILES:= \ |
| 205 | edid.c |
| 206 | |
| 207 | LOCAL_CFLAGS += \ |
| 208 | -Wall \ |
| 209 | -Werror \ |
| 210 | -Wno-unused-function \ |
| 211 | -Wno-unused-variable \ |
| 212 | |
| 213 | LOCAL_SHARED_LIBRARIES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 214 | libaudioutils \ |
| 215 | libcutils \ |
| 216 | liblog \ |
| 217 | libtinyalsa \ |
| 218 | libtinycompress \ |
| 219 | libaudioroute \ |
| 220 | libdl \ |
| 221 | libexpat |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 222 | |
| 223 | LOCAL_C_INCLUDES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 224 | external/tinyalsa/include \ |
| 225 | external/tinycompress/include \ |
| 226 | system/media/audio_utils/include \ |
| 227 | external/expat/lib \ |
| 228 | $(call include-path-for, audio-route) \ |
| 229 | $(PRIMARY_HAL_PATH) \ |
| 230 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 231 | $(call include-path-for, audio-effects) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 232 | |
| 233 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 234 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 235 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 236 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 237 | |
| 238 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 239 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 240 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 241 | endif |
| 242 | |
| 243 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 244 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 245 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 246 | LOCAL_SANITIZE := integer_overflow |
| 247 | endif |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 248 | include $(BUILD_SHARED_LIBRARY) |
| 249 | |
| 250 | #-------------------------------------------- |
| 251 | # Build SPKR_PROTECT LIB |
| 252 | #-------------------------------------------- |
| 253 | include $(CLEAR_VARS) |
| 254 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 255 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 256 | # B-family platform uses msm8974 code base |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 257 | AUDIO_PLATFORM := msm8974 |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 258 | endif |
| 259 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 260 | LOCAL_MODULE := libspkrprot |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 261 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 262 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 263 | |
| 264 | LOCAL_SRC_FILES:= \ |
| 265 | spkr_protection.c |
| 266 | |
| 267 | LOCAL_CFLAGS += \ |
| 268 | -Wall \ |
| 269 | -Werror \ |
| 270 | -Wno-unused-function \ |
| 271 | -Wno-unused-variable \ |
| 272 | |
| 273 | LOCAL_CFLAGS += -DSPKR_PROT_ENABLED |
| 274 | |
| 275 | LOCAL_SHARED_LIBRARIES := \ |
| 276 | libaudioutils \ |
| 277 | libcutils \ |
| 278 | liblog \ |
| 279 | libtinyalsa \ |
| 280 | libtinycompress \ |
| 281 | libaudioroute \ |
| 282 | libdl \ |
| 283 | libexpat |
| 284 | |
| 285 | LOCAL_C_INCLUDES := \ |
| 286 | external/tinyalsa/include \ |
| 287 | external/tinycompress/include \ |
| 288 | system/media/audio_utils/include \ |
| 289 | external/expat/lib \ |
| 290 | $(call include-path-for, audio-route) \ |
| 291 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
| 292 | vendor/qcom/opensource/audio-hal/primary-hal/hal/audio_extn \ |
| 293 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
| 294 | vendor/qcom/opensource/audio-kernel/include/uapi/ \ |
| 295 | $(call include-path-for, audio-effects) |
| 296 | |
Sujin Panicker | b904fbe | 2019-04-04 13:28:07 +0530 | [diff] [blame] | 297 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 298 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 299 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
Meng Wang | 6719f4d | 2019-04-09 09:09:16 +0800 | [diff] [blame] | 300 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 301 | |
| 302 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 303 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 304 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 305 | LOCAL_SANITIZE := integer_overflow |
| 306 | endif |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 307 | include $(BUILD_SHARED_LIBRARY) |
| 308 | #==================================================================================================== |
| 309 | # --- enable 3rd Party Spkr-prot lib |
| 310 | #==================================================================================================== |
| 311 | |
| 312 | include $(CLEAR_VARS) |
| 313 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 314 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 315 | # B-family platform uses msm8974 code base |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 316 | AUDIO_PLATFORM := msm8974 |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 317 | endif |
| 318 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 319 | LOCAL_MODULE := libcirrusspkrprot |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 320 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 321 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 322 | |
| 323 | LOCAL_SRC_FILES:= \ |
| 324 | cirrus_playback.c |
| 325 | |
| 326 | LOCAL_CFLAGS += \ |
| 327 | -Wall \ |
| 328 | -Werror \ |
| 329 | -Wno-unused-function \ |
| 330 | -Wno-unused-variable \ |
| 331 | |
| 332 | LOCAL_CFLAGS += -DENABLE_CIRRUS_DETECTION |
| 333 | LOCAL_CFLAGS += -DCIRRUS_FACTORY_CALIBRATION |
| 334 | |
| 335 | LOCAL_SHARED_LIBRARIES := \ |
| 336 | libaudioutils \ |
| 337 | libcutils \ |
| 338 | liblog \ |
| 339 | libtinyalsa \ |
| 340 | libaudioroute \ |
| 341 | libdl \ |
| 342 | libexpat |
| 343 | |
| 344 | LOCAL_C_INCLUDES := \ |
| 345 | external/tinyalsa/include \ |
| 346 | external/tinycompress/include \ |
| 347 | system/media/audio_utils/include \ |
| 348 | external/expat/lib \ |
| 349 | $(call include-path-for, audio-route) \ |
| 350 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
| 351 | vendor/qcom/opensource/audio-hal/primary-hal/hal/audio_extn \ |
| 352 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
| 353 | vendor/qcom/opensource/audio-kernel/include/uapi/ \ |
| 354 | $(call include-path-for, audio-effects) |
| 355 | |
Sujin Panicker | b904fbe | 2019-04-04 13:28:07 +0530 | [diff] [blame] | 356 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 357 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 358 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
Meng Wang | 6719f4d | 2019-04-09 09:09:16 +0800 | [diff] [blame] | 359 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 360 | |
| 361 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 362 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 363 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 364 | LOCAL_SANITIZE := integer_overflow |
| 365 | endif |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 366 | include $(BUILD_SHARED_LIBRARY) |
| 367 | |
| 368 | #------------------------------------------- |
| 369 | # Build A2DP_OFFLOAD LIB |
| 370 | #------------------------------------------- |
| 371 | include $(CLEAR_VARS) |
| 372 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 373 | LOCAL_MODULE := liba2dpoffload |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 374 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 375 | |
| 376 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 377 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 378 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 379 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 380 | # B-family platform uses msm8974 code base |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 381 | AUDIO_PLATFORM := msm8974 |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 382 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 383 | endif |
| 384 | |
| 385 | LOCAL_SRC_FILES:= \ |
| 386 | a2dp.c |
| 387 | |
| 388 | LOCAL_CFLAGS += \ |
| 389 | -Wall \ |
| 390 | -Werror \ |
| 391 | -Wno-unused-function \ |
| 392 | -Wno-unused-variable |
| 393 | |
| 394 | LOCAL_SHARED_LIBRARIES := \ |
| 395 | libaudioutils \ |
| 396 | libcutils \ |
| 397 | liblog \ |
| 398 | libtinyalsa \ |
| 399 | libtinycompress \ |
| 400 | libaudioroute \ |
| 401 | libdl \ |
Arun Mirpuri | 5dc7780 | 2019-02-26 16:32:42 -0800 | [diff] [blame] | 402 | libexpat |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 403 | |
| 404 | LOCAL_C_INCLUDES := \ |
| 405 | $(PRIMARY_HAL_PATH) \ |
| 406 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 407 | external/tinyalsa/include \ |
| 408 | external/tinycompress/include \ |
| 409 | external/expat/lib \ |
| 410 | system/media/audio_utils/include \ |
| 411 | $(call include-path-for, audio-route) \ |
| 412 | |
| 413 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 414 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 415 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 416 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 417 | |
| 418 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 419 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 420 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 421 | endif |
| 422 | |
| 423 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 424 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 425 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 426 | LOCAL_SANITIZE := integer_overflow |
| 427 | endif |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 428 | include $(BUILD_SHARED_LIBRARY) |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 429 | |
| 430 | #------------------------------------------- |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame] | 431 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 432 | # Build EXT_HW_PLUGIN LIB |
| 433 | #------------------------------------------- |
| 434 | include $(CLEAR_VARS) |
| 435 | |
| 436 | LOCAL_MODULE := libexthwplugin |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame] | 437 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 438 | LOCAL_VENDOR_MODULE := true |
| 439 | |
| 440 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 441 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 442 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 443 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 444 | # B-family platform uses msm8974 code base |
| 445 | AUDIO_PLATFORM := msm8974 |
| 446 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 447 | endif |
| 448 | |
| 449 | LOCAL_SRC_FILES:= \ |
| 450 | ext_hw_plugin.c |
| 451 | |
| 452 | LOCAL_CFLAGS += \ |
| 453 | -Wall \ |
| 454 | -Werror \ |
| 455 | -Wno-unused-function \ |
| 456 | -Wno-unused-variable |
| 457 | |
| 458 | LOCAL_SHARED_LIBRARIES := \ |
| 459 | libaudioroute \ |
| 460 | libaudioutils \ |
| 461 | libcutils \ |
| 462 | libdl \ |
| 463 | libexpat \ |
| 464 | liblog \ |
| 465 | libtinyalsa \ |
| 466 | libtinycompress |
| 467 | |
| 468 | LOCAL_C_INCLUDES := \ |
| 469 | $(PRIMARY_HAL_PATH) \ |
| 470 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 471 | external/tinyalsa/include \ |
| 472 | external/tinycompress/include \ |
| 473 | external/expat/lib \ |
| 474 | system/media/audio_utils/include \ |
| 475 | $(call include-path-for, audio-route) \ |
| 476 | |
| 477 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 478 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 479 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 480 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 481 | |
| 482 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 483 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 484 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 485 | LOCAL_ADDITIONAL_DEPENDENCIES += $(BOARD_VENDOR_KERNEL_MODULES) |
| 486 | endif |
| 487 | |
| 488 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 489 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 490 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 491 | LOCAL_SANITIZE := integer_overflow |
| 492 | endif |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 493 | include $(BUILD_SHARED_LIBRARY) |
| 494 | |
| 495 | #------------------------------------------- |
| 496 | # Build HFP LIB |
| 497 | #------------------------------------------- |
| 498 | include $(CLEAR_VARS) |
| 499 | |
| 500 | LOCAL_MODULE := libhfp |
| 501 | LOCAL_VENDOR_MODULE := true |
| 502 | |
| 503 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 504 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 505 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 506 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 507 | # B-family platform uses msm8974 code base |
| 508 | AUDIO_PLATFORM := msm8974 |
| 509 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 510 | endif |
| 511 | |
Derek Chen | f709279 | 2017-05-23 12:23:53 -0400 | [diff] [blame] | 512 | ifeq ($(TARGET_BOARD_AUTO),true) |
| 513 | LOCAL_CFLAGS += -DPLATFORM_AUTO |
| 514 | endif |
| 515 | |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 516 | LOCAL_SRC_FILES:= \ |
| 517 | hfp.c |
| 518 | |
| 519 | LOCAL_CFLAGS += \ |
| 520 | -Wall \ |
| 521 | -Werror \ |
| 522 | -Wno-unused-function \ |
| 523 | -Wno-unused-variable |
| 524 | |
| 525 | LOCAL_SHARED_LIBRARIES := \ |
| 526 | libaudioroute \ |
| 527 | libaudioutils \ |
| 528 | libcutils \ |
| 529 | libdl \ |
| 530 | libexpat \ |
| 531 | liblog \ |
| 532 | libtinyalsa \ |
| 533 | libtinycompress |
| 534 | |
| 535 | LOCAL_C_INCLUDES := \ |
| 536 | $(PRIMARY_HAL_PATH) \ |
| 537 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 538 | external/tinyalsa/include \ |
| 539 | external/tinycompress/include \ |
| 540 | external/expat/lib \ |
| 541 | system/media/audio_utils/include \ |
| 542 | $(call include-path-for, audio-route) \ |
| 543 | |
| 544 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 545 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 546 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 547 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 548 | |
| 549 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 550 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 551 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 552 | LOCAL_ADDITIONAL_DEPENDENCIES += $(BOARD_VENDOR_KERNEL_MODULES) |
| 553 | endif |
| 554 | |
| 555 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 556 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 557 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 558 | LOCAL_SANITIZE := integer_overflow |
| 559 | endif |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 560 | include $(BUILD_SHARED_LIBRARY) |
| 561 | |
| 562 | #------------------------------------------- |
| 563 | # Build HDMI PASSTHROUGH |
| 564 | #------------------------------------------- |
| 565 | include $(CLEAR_VARS) |
| 566 | |
| 567 | LOCAL_MODULE := libhdmipassthru |
| 568 | LOCAL_VENDOR_MODULE := true |
| 569 | |
| 570 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 571 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 572 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 573 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 574 | # B-family platform uses msm8974 code base |
| 575 | AUDIO_PLATFORM := msm8974 |
| 576 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 577 | endif |
| 578 | |
| 579 | LOCAL_SRC_FILES:= \ |
| 580 | passthru.c |
| 581 | |
| 582 | LOCAL_CFLAGS += \ |
| 583 | -Wall \ |
| 584 | -Werror \ |
| 585 | -Wno-unused-function \ |
| 586 | -Wno-unused-variable \ |
| 587 | -DDTSHD_PARSER_ENABLED |
| 588 | |
| 589 | LOCAL_SHARED_LIBRARIES := \ |
| 590 | libaudioparsers \ |
| 591 | libaudioroute \ |
| 592 | libaudioutils \ |
| 593 | libcutils \ |
| 594 | libdl \ |
| 595 | libexpat \ |
| 596 | liblog \ |
| 597 | libtinyalsa \ |
| 598 | libtinycompress |
| 599 | |
| 600 | LOCAL_C_INCLUDES := \ |
| 601 | $(PRIMARY_HAL_PATH) \ |
| 602 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 603 | external/tinyalsa/include \ |
| 604 | external/tinycompress/include \ |
| 605 | external/expat/lib \ |
| 606 | system/media/audio_utils/include \ |
Arun Mirpuri | f607447 | 2019-04-17 11:39:08 -0700 | [diff] [blame] | 607 | $(TARGET_OUT_HEADERS)/mm-audio/audio-parsers \ |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 608 | $(call include-path-for, audio-route) \ |
| 609 | |
| 610 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 611 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 612 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 613 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 614 | |
| 615 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 616 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 617 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 618 | LOCAL_ADDITIONAL_DEPENDENCIES += $(BOARD_VENDOR_KERNEL_MODULES) |
| 619 | endif |
| 620 | |
| 621 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 622 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 623 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 624 | LOCAL_SANITIZE := integer_overflow |
| 625 | endif |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 626 | include $(BUILD_SHARED_LIBRARY) |
| 627 | |
| 628 | #------------------------------------------- |
| 629 | # Build BATTERY_LISTENER |
| 630 | #------------------------------------------- |
| 631 | include $(CLEAR_VARS) |
| 632 | |
| 633 | LOCAL_MODULE := libbatterylistener |
| 634 | LOCAL_VENDOR_MODULE := true |
| 635 | |
| 636 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 637 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 638 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 639 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 640 | # B-family platform uses msm8974 code base |
| 641 | AUDIO_PLATFORM := msm8974 |
| 642 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 643 | endif |
| 644 | |
| 645 | LOCAL_SRC_FILES:= \ |
| 646 | battery_listener.cpp |
| 647 | |
| 648 | LOCAL_CFLAGS += \ |
| 649 | -Wall \ |
| 650 | -Werror \ |
| 651 | -Wno-unused-function \ |
| 652 | -Wno-unused-variable \ |
| 653 | -DDTSHD_PARSER_ENABLED |
| 654 | |
| 655 | LOCAL_SHARED_LIBRARIES := \ |
| 656 | android.hardware.health@1.0 \ |
| 657 | android.hardware.health@2.0 \ |
| 658 | android.hardware.power@1.2 \ |
| 659 | libaudioroute \ |
| 660 | libaudioutils \ |
| 661 | libbase \ |
| 662 | libcutils \ |
| 663 | libdl \ |
| 664 | libexpat \ |
| 665 | libhidlbase \ |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 666 | liblog \ |
| 667 | libtinyalsa \ |
| 668 | libtinycompress \ |
| 669 | libutils \ |
| 670 | |
| 671 | LOCAL_STATIC_LIBRARIES := \ |
| 672 | libhealthhalutils |
| 673 | |
| 674 | LOCAL_C_INCLUDES := \ |
| 675 | $(PRIMARY_HAL_PATH) \ |
| 676 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 677 | external/tinyalsa/include \ |
| 678 | external/tinycompress/include \ |
| 679 | external/expat/lib \ |
| 680 | system/media/audio_utils/include \ |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 681 | $(call include-path-for, audio-route) \ |
| 682 | |
| 683 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 684 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 685 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 686 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 687 | |
| 688 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 689 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 690 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 691 | LOCAL_ADDITIONAL_DEPENDENCIES += $(BOARD_VENDOR_KERNEL_MODULES) |
| 692 | endif |
| 693 | |
| 694 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 695 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 696 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 697 | LOCAL_SANITIZE := integer_overflow |
| 698 | endif |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 699 | include $(BUILD_SHARED_LIBRARY) |
| 700 | |
| 701 | #------------------------------------------- |
| 702 | # Build HWDEP_CAL |
| 703 | #------------------------------------------- |
| 704 | include $(CLEAR_VARS) |
| 705 | |
| 706 | LOCAL_MODULE := libhwdepcal |
| 707 | LOCAL_VENDOR_MODULE := true |
| 708 | |
| 709 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 710 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 711 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 712 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 713 | # B-family platform uses msm8974 code base |
| 714 | AUDIO_PLATFORM := msm8974 |
| 715 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 716 | endif |
| 717 | |
| 718 | # LOCAL_SRC_FILES:= \ |
| 719 | # hwdep_cal.c |
| 720 | |
| 721 | LOCAL_CFLAGS += \ |
| 722 | -Wall \ |
| 723 | -Werror \ |
| 724 | -Wno-unused-function \ |
| 725 | -Wno-unused-variable |
| 726 | |
| 727 | LOCAL_SHARED_LIBRARIES := \ |
| 728 | libaudioroute \ |
| 729 | libaudioutils \ |
| 730 | libcutils \ |
| 731 | libdl \ |
| 732 | libexpat \ |
| 733 | liblog \ |
| 734 | libtinyalsa \ |
| 735 | libtinycompress |
| 736 | |
| 737 | LOCAL_C_INCLUDES := \ |
| 738 | $(PRIMARY_HAL_PATH) \ |
| 739 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 740 | external/tinyalsa/include \ |
| 741 | external/tinycompress/include \ |
| 742 | external/expat/lib \ |
| 743 | system/media/audio_utils/include \ |
| 744 | $(call include-path-for, audio-route) \ |
| 745 | |
| 746 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 747 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 748 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 749 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 750 | |
| 751 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 752 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 753 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 754 | LOCAL_ADDITIONAL_DEPENDENCIES += $(BOARD_VENDOR_KERNEL_MODULES) |
| 755 | endif |
| 756 | |
| 757 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 758 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 759 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 760 | LOCAL_SANITIZE := integer_overflow |
| 761 | endif |
Arun Mirpuri | e008ed2 | 2019-03-21 11:21:04 -0700 | [diff] [blame] | 762 | #include $(BUILD_SHARED_LIBRARY) |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame] | 763 | |
| 764 | #------------------------------------------- |
| 765 | # Build MAXX_AUDIO |
| 766 | #------------------------------------------- |
| 767 | include $(CLEAR_VARS) |
| 768 | |
| 769 | LOCAL_MODULE:= libmaxxaudio |
| 770 | LOCAL_VENDOR_MODULE := true |
| 771 | |
| 772 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 773 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 774 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 775 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina sdm660 msm8937 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame] | 776 | # B-family platform uses msm8974 code base |
| 777 | AUDIO_PLATFORM = msm8974 |
| 778 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 779 | endif |
| 780 | |
| 781 | LOCAL_SRC_FILES:= \ |
| 782 | maxxaudio.c |
| 783 | |
| 784 | LOCAL_CFLAGS += \ |
| 785 | -Wall \ |
| 786 | -Werror \ |
| 787 | -Wno-unused-function \ |
| 788 | -Wno-unused-variable |
| 789 | |
| 790 | LOCAL_SHARED_LIBRARIES := \ |
| 791 | libaudioutils \ |
| 792 | libcutils \ |
| 793 | liblog \ |
| 794 | libtinyalsa \ |
| 795 | libtinycompress \ |
| 796 | libaudioroute \ |
| 797 | libdl \ |
| 798 | libexpat |
| 799 | |
| 800 | LOCAL_C_INCLUDES := \ |
| 801 | $(PRIMARY_HAL_PATH) \ |
| 802 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 803 | external/tinyalsa/include \ |
| 804 | external/tinycompress/include \ |
| 805 | external/expat/lib \ |
| 806 | system/media/audio_utils/include \ |
| 807 | $(call include-path-for, audio-route) \ |
| 808 | |
| 809 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 810 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame] | 811 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 812 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 813 | |
| 814 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 815 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 816 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 817 | endif |
| 818 | |
| 819 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 820 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 821 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 822 | LOCAL_SANITIZE := integer_overflow |
| 823 | endif |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame] | 824 | include $(BUILD_SHARED_LIBRARY) |
vivek mehta | ba5ed15 | 2019-05-03 17:28:25 -0700 | [diff] [blame] | 825 | #------------------------------------------- |
| 826 | # Build AUDIOZOOM |
| 827 | #------------------------------------------- |
| 828 | include $(CLEAR_VARS) |
| 829 | |
| 830 | LOCAL_MODULE:= libaudiozoom |
| 831 | LOCAL_VENDOR_MODULE := true |
| 832 | |
| 833 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 834 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 835 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 836 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina sdm660 msm8937 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
vivek mehta | ba5ed15 | 2019-05-03 17:28:25 -0700 | [diff] [blame] | 837 | # B-family platform uses msm8974 code base |
| 838 | AUDIO_PLATFORM = msm8974 |
| 839 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 840 | endif |
| 841 | |
| 842 | LOCAL_SRC_FILES:= \ |
| 843 | audiozoom.c |
| 844 | |
| 845 | LOCAL_CFLAGS += \ |
| 846 | -Wall \ |
| 847 | -Werror \ |
| 848 | -Wno-unused-function \ |
| 849 | -Wno-unused-variable |
| 850 | |
| 851 | LOCAL_SHARED_LIBRARIES := \ |
| 852 | libaudioutils \ |
| 853 | libcutils \ |
| 854 | liblog \ |
| 855 | libtinyalsa \ |
| 856 | libtinycompress \ |
| 857 | libaudioroute \ |
| 858 | libdl \ |
| 859 | libexpat |
| 860 | |
| 861 | LOCAL_C_INCLUDES := \ |
| 862 | $(PRIMARY_HAL_PATH) \ |
| 863 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 864 | external/tinyalsa/include \ |
| 865 | external/tinycompress/include \ |
| 866 | external/expat/lib \ |
| 867 | system/media/audio_utils/include \ |
| 868 | $(call include-path-for, audio-route) \ |
| 869 | |
| 870 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 871 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
vivek mehta | ba5ed15 | 2019-05-03 17:28:25 -0700 | [diff] [blame] | 872 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 873 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 874 | |
| 875 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 876 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 877 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 878 | endif |
| 879 | |
| 880 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 881 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 882 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 883 | LOCAL_SANITIZE := integer_overflow |
| 884 | endif |
vivek mehta | ba5ed15 | 2019-05-03 17:28:25 -0700 | [diff] [blame] | 885 | include $(BUILD_SHARED_LIBRARY) |
| 886 | |
Derek Chen | f082fdb | 2019-07-24 13:27:20 -0700 | [diff] [blame] | 887 | #------------------------------------------- |
vivek mehta | ba5ed15 | 2019-05-03 17:28:25 -0700 | [diff] [blame] | 888 | |
Derek Chen | f082fdb | 2019-07-24 13:27:20 -0700 | [diff] [blame] | 889 | # Build AUTO_HAL LIB |
| 890 | #------------------------------------------- |
| 891 | include $(CLEAR_VARS) |
| 892 | |
| 893 | LOCAL_MODULE := libautohal |
| 894 | |
| 895 | LOCAL_VENDOR_MODULE := true |
| 896 | |
| 897 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 898 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 899 | |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 900 | ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Derek Chen | f082fdb | 2019-07-24 13:27:20 -0700 | [diff] [blame] | 901 | # B-family platform uses msm8974 code base |
| 902 | AUDIO_PLATFORM := msm8974 |
| 903 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 904 | endif |
| 905 | |
| 906 | LOCAL_SRC_FILES:= \ |
| 907 | auto_hal.c |
| 908 | |
| 909 | LOCAL_CFLAGS += \ |
| 910 | -Wall \ |
| 911 | -Werror \ |
| 912 | -Wno-unused-function \ |
| 913 | -Wno-unused-variable |
| 914 | |
| 915 | LOCAL_SHARED_LIBRARIES := \ |
| 916 | libaudioutils \ |
| 917 | libcutils \ |
| 918 | libdl \ |
| 919 | libexpat \ |
| 920 | liblog |
| 921 | |
| 922 | LOCAL_C_INCLUDES := \ |
| 923 | $(PRIMARY_HAL_PATH) \ |
| 924 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 925 | external/tinyalsa/include \ |
| 926 | external/tinycompress/include \ |
| 927 | external/expat/lib \ |
| 928 | system/media/audio_utils/include \ |
| 929 | $(call include-path-for, audio-route) \ |
| 930 | |
| 931 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
Vignesh Kulothungan | c49bdfa | 2020-01-08 14:24:17 -0800 | [diff] [blame] | 932 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/audio |
Derek Chen | f082fdb | 2019-07-24 13:27:20 -0700 | [diff] [blame] | 933 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 934 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 935 | |
| 936 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 937 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 938 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
| 939 | LOCAL_ADDITIONAL_DEPENDENCIES += $(BOARD_VENDOR_KERNEL_MODULES) |
| 940 | endif |
| 941 | |
| 942 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 943 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
Vignesh Kulothungan | 4e64c78 | 2020-01-15 18:34:48 -0800 | [diff] [blame^] | 944 | ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),) |
Vikram Panduranga | 6ff1c95 | 2019-08-07 13:33:01 -0700 | [diff] [blame] | 945 | LOCAL_SANITIZE := integer_overflow |
| 946 | endif |
Derek Chen | f082fdb | 2019-07-24 13:27:20 -0700 | [diff] [blame] | 947 | include $(BUILD_SHARED_LIBRARY) |