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 | |
| 8 | LOCAL_MODULE:= libsndmonitor |
| 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 |
| 43 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 44 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 45 | |
| 46 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 47 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 48 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 49 | endif |
| 50 | |
| 51 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 52 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
| 53 | include $(BUILD_SHARED_LIBRARY) |
| 54 | |
| 55 | #-------------------------------------------- |
| 56 | # Build COMPRESS_CAPTURE LIB |
| 57 | #-------------------------------------------- |
| 58 | include $(CLEAR_VARS) |
| 59 | |
| 60 | LOCAL_MODULE:= libcomprcapture |
| 61 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 62 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 63 | |
| 64 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 65 | |
Arun Mirpuri | 5a54af3 | 2019-02-26 11:15:33 -0800 | [diff] [blame] | 66 | ifneq ($(filter sdm845 sdm710 qcs605 msmnile kona $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 67 | # B-family platform uses msm8974 code base |
| 68 | AUDIO_PLATFORM = msm8974 |
| 69 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 70 | endif |
| 71 | |
| 72 | LOCAL_SRC_FILES:= \ |
| 73 | compress_capture.c |
| 74 | |
| 75 | LOCAL_CFLAGS += \ |
| 76 | -Wall \ |
| 77 | -Werror \ |
| 78 | -Wno-unused-function \ |
| 79 | -Wno-unused-variable \ |
| 80 | |
| 81 | LOCAL_SHARED_LIBRARIES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 82 | libaudioutils \ |
| 83 | libcutils \ |
| 84 | liblog \ |
| 85 | libtinyalsa \ |
| 86 | libtinycompress \ |
| 87 | libaudioroute \ |
| 88 | libdl \ |
| 89 | libexpat |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 90 | |
| 91 | LOCAL_C_INCLUDES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 92 | external/tinyalsa/include \ |
| 93 | external/tinycompress/include \ |
| 94 | system/media/audio_utils/include \ |
| 95 | external/expat/lib \ |
| 96 | $(call include-path-for, audio-route) \ |
| 97 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 98 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 99 | $(call include-path-for, audio-effects) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 100 | |
| 101 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| 102 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 103 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 104 | |
| 105 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 106 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 107 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 108 | endif |
| 109 | |
| 110 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 111 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
| 112 | include $(BUILD_SHARED_LIBRARY) |
| 113 | |
| 114 | #------------------------------------------- |
| 115 | # Build SSREC LIB |
| 116 | #------------------------------------------- |
| 117 | include $(CLEAR_VARS) |
| 118 | |
| 119 | LOCAL_MODULE:= libssrec |
| 120 | LOCAL_VENDOR_MODULE := true |
| 121 | |
| 122 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 123 | |
Ashok Kundurthi | ecbe97d | 2019-03-22 22:55:55 +0530 | [diff] [blame] | 124 | ifneq ($(filter sdm845 sdm710 msmnile kona $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 125 | # B-family platform uses msm8974 code base |
| 126 | AUDIO_PLATFORM = msm8974 |
| 127 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 128 | endif |
| 129 | |
| 130 | LOCAL_SRC_FILES:= ssr.c |
| 131 | |
| 132 | LOCAL_CFLAGS += \ |
| 133 | -Wall \ |
| 134 | -Werror \ |
| 135 | -Wno-unused-function \ |
| 136 | -Wno-unused-variable |
| 137 | |
| 138 | LOCAL_SHARED_LIBRARIES := \ |
| 139 | libaudioutils \ |
| 140 | libcutils \ |
| 141 | liblog \ |
| 142 | libtinyalsa \ |
| 143 | libtinycompress \ |
| 144 | libaudioroute \ |
| 145 | libdl \ |
| 146 | libexpat |
| 147 | |
| 148 | LOCAL_C_INCLUDES := \ |
| 149 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
| 150 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
| 151 | external/tinyalsa/include \ |
| 152 | external/tinycompress/include \ |
| 153 | external/expat/lib \ |
| 154 | system/media/audio_utils/include \ |
| 155 | $(call include-path-for, audio-route) \ |
| 156 | $(call include-path-for, audio-effects) \ |
| 157 | $(TARGET_OUT_HEADERS)/mm-audio/surround_sound_3mic/ \ |
| 158 | $(TARGET_OUT_HEADERS)/common/inc/ |
| 159 | |
| 160 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| 161 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 162 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 163 | |
| 164 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 165 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 166 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 167 | endif |
| 168 | |
| 169 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 170 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
| 171 | #include $(BUILD_SHARED_LIBRARY) |
| 172 | |
| 173 | #-------------------------------------------- |
| 174 | # Build HDMI_EDID LIB |
| 175 | #-------------------------------------------- |
| 176 | include $(CLEAR_VARS) |
| 177 | |
| 178 | LOCAL_MODULE:= libhdmiedid |
| 179 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 180 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 181 | |
| 182 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 183 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 184 | |
Ashok Kundurthi | ecbe97d | 2019-03-22 22:55:55 +0530 | [diff] [blame] | 185 | ifneq ($(filter sdm845 sdm710 msmnile kona $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 186 | # B-family platform uses msm8974 code base |
| 187 | AUDIO_PLATFORM = msm8974 |
| 188 | endif |
| 189 | |
| 190 | LOCAL_SRC_FILES:= \ |
| 191 | edid.c |
| 192 | |
| 193 | LOCAL_CFLAGS += \ |
| 194 | -Wall \ |
| 195 | -Werror \ |
| 196 | -Wno-unused-function \ |
| 197 | -Wno-unused-variable \ |
| 198 | |
| 199 | LOCAL_SHARED_LIBRARIES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 200 | libaudioutils \ |
| 201 | libcutils \ |
| 202 | liblog \ |
| 203 | libtinyalsa \ |
| 204 | libtinycompress \ |
| 205 | libaudioroute \ |
| 206 | libdl \ |
| 207 | libexpat |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 208 | |
| 209 | LOCAL_C_INCLUDES := \ |
Aalique Grahame | 182676b | 2019-03-26 15:39:11 -0700 | [diff] [blame] | 210 | external/tinyalsa/include \ |
| 211 | external/tinycompress/include \ |
| 212 | system/media/audio_utils/include \ |
| 213 | external/expat/lib \ |
| 214 | $(call include-path-for, audio-route) \ |
| 215 | $(PRIMARY_HAL_PATH) \ |
| 216 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 217 | $(call include-path-for, audio-effects) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 218 | |
| 219 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| 220 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 221 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 222 | |
| 223 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 224 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 225 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 226 | endif |
| 227 | |
| 228 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 229 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
| 230 | include $(BUILD_SHARED_LIBRARY) |
| 231 | |
| 232 | #-------------------------------------------- |
| 233 | # Build SPKR_PROTECT LIB |
| 234 | #-------------------------------------------- |
| 235 | include $(CLEAR_VARS) |
| 236 | |
Ashok Kundurthi | ecbe97d | 2019-03-22 22:55:55 +0530 | [diff] [blame] | 237 | ifneq ($(filter sdm845 sdm710 msmnile kona $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 238 | # B-family platform uses msm8974 code base |
| 239 | AUDIO_PLATFORM = msm8974 |
| 240 | endif |
| 241 | |
| 242 | LOCAL_MODULE:= libspkrprot |
| 243 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 244 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 245 | |
| 246 | LOCAL_SRC_FILES:= \ |
| 247 | spkr_protection.c |
| 248 | |
| 249 | LOCAL_CFLAGS += \ |
| 250 | -Wall \ |
| 251 | -Werror \ |
| 252 | -Wno-unused-function \ |
| 253 | -Wno-unused-variable \ |
| 254 | |
| 255 | LOCAL_CFLAGS += -DSPKR_PROT_ENABLED |
| 256 | |
| 257 | LOCAL_SHARED_LIBRARIES := \ |
| 258 | libaudioutils \ |
| 259 | libcutils \ |
| 260 | liblog \ |
| 261 | libtinyalsa \ |
| 262 | libtinycompress \ |
| 263 | libaudioroute \ |
| 264 | libdl \ |
| 265 | libexpat |
| 266 | |
| 267 | LOCAL_C_INCLUDES := \ |
| 268 | external/tinyalsa/include \ |
| 269 | external/tinycompress/include \ |
| 270 | system/media/audio_utils/include \ |
| 271 | external/expat/lib \ |
| 272 | $(call include-path-for, audio-route) \ |
| 273 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
| 274 | vendor/qcom/opensource/audio-hal/primary-hal/hal/audio_extn \ |
| 275 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
| 276 | vendor/qcom/opensource/audio-kernel/include/uapi/ \ |
| 277 | $(call include-path-for, audio-effects) |
| 278 | |
| 279 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
Meng Wang | 6719f4d | 2019-04-09 09:09:16 +0800 | [diff] [blame^] | 280 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 281 | |
| 282 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 283 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
| 284 | include $(BUILD_SHARED_LIBRARY) |
| 285 | #==================================================================================================== |
| 286 | # --- enable 3rd Party Spkr-prot lib |
| 287 | #==================================================================================================== |
| 288 | |
| 289 | include $(CLEAR_VARS) |
| 290 | |
Ashok Kundurthi | ecbe97d | 2019-03-22 22:55:55 +0530 | [diff] [blame] | 291 | ifneq ($(filter sdm845 sdm710 msmnile kona $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 292 | # B-family platform uses msm8974 code base |
| 293 | AUDIO_PLATFORM = msm8974 |
| 294 | endif |
| 295 | |
| 296 | LOCAL_MODULE:= libcirrusspkrprot |
| 297 | LOCAL_MODULE_OWNER := third_party |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 298 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 299 | |
| 300 | LOCAL_SRC_FILES:= \ |
| 301 | cirrus_playback.c |
| 302 | |
| 303 | LOCAL_CFLAGS += \ |
| 304 | -Wall \ |
| 305 | -Werror \ |
| 306 | -Wno-unused-function \ |
| 307 | -Wno-unused-variable \ |
| 308 | |
| 309 | LOCAL_CFLAGS += -DENABLE_CIRRUS_DETECTION |
| 310 | LOCAL_CFLAGS += -DCIRRUS_FACTORY_CALIBRATION |
| 311 | |
| 312 | LOCAL_SHARED_LIBRARIES := \ |
| 313 | libaudioutils \ |
| 314 | libcutils \ |
| 315 | liblog \ |
| 316 | libtinyalsa \ |
| 317 | libaudioroute \ |
| 318 | libdl \ |
| 319 | libexpat |
| 320 | |
| 321 | LOCAL_C_INCLUDES := \ |
| 322 | external/tinyalsa/include \ |
| 323 | external/tinycompress/include \ |
| 324 | system/media/audio_utils/include \ |
| 325 | external/expat/lib \ |
| 326 | $(call include-path-for, audio-route) \ |
| 327 | vendor/qcom/opensource/audio-hal/primary-hal/hal \ |
| 328 | vendor/qcom/opensource/audio-hal/primary-hal/hal/audio_extn \ |
| 329 | vendor/qcom/opensource/audio-hal/primary-hal/hal/$(AUDIO_PLATFORM) \ |
| 330 | vendor/qcom/opensource/audio-kernel/include/uapi/ \ |
| 331 | $(call include-path-for, audio-effects) |
| 332 | |
| 333 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
Meng Wang | 6719f4d | 2019-04-09 09:09:16 +0800 | [diff] [blame^] | 334 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 335 | |
| 336 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 337 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
| 338 | include $(BUILD_SHARED_LIBRARY) |
| 339 | |
| 340 | #------------------------------------------- |
| 341 | # Build A2DP_OFFLOAD LIB |
| 342 | #------------------------------------------- |
| 343 | include $(CLEAR_VARS) |
| 344 | |
| 345 | LOCAL_MODULE:= liba2dpoffload |
Piyush Balwani | 18c6b2d | 2019-02-13 12:28:50 +0530 | [diff] [blame] | 346 | LOCAL_VENDOR_MODULE := true |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 347 | |
| 348 | PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal |
| 349 | AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) |
| 350 | |
Ashok Kundurthi | ecbe97d | 2019-03-22 22:55:55 +0530 | [diff] [blame] | 351 | ifneq ($(filter sdm845 sdm710 msmnile kona $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM)),) |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 352 | # B-family platform uses msm8974 code base |
| 353 | AUDIO_PLATFORM = msm8974 |
| 354 | MULTIPLE_HW_VARIANTS_ENABLED := true |
| 355 | endif |
| 356 | |
| 357 | LOCAL_SRC_FILES:= \ |
| 358 | a2dp.c |
| 359 | |
| 360 | LOCAL_CFLAGS += \ |
| 361 | -Wall \ |
| 362 | -Werror \ |
| 363 | -Wno-unused-function \ |
| 364 | -Wno-unused-variable |
| 365 | |
| 366 | LOCAL_SHARED_LIBRARIES := \ |
| 367 | libaudioutils \ |
| 368 | libcutils \ |
| 369 | liblog \ |
| 370 | libtinyalsa \ |
| 371 | libtinycompress \ |
| 372 | libaudioroute \ |
| 373 | libdl \ |
Arun Mirpuri | 5dc7780 | 2019-02-26 16:32:42 -0800 | [diff] [blame] | 374 | libexpat |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 375 | |
| 376 | LOCAL_C_INCLUDES := \ |
| 377 | $(PRIMARY_HAL_PATH) \ |
| 378 | $(PRIMARY_HAL_PATH)/$(AUDIO_PLATFORM) \ |
| 379 | external/tinyalsa/include \ |
| 380 | external/tinycompress/include \ |
| 381 | external/expat/lib \ |
| 382 | system/media/audio_utils/include \ |
| 383 | $(call include-path-for, audio-route) \ |
| 384 | |
| 385 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| 386 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/techpack/audio/include |
| 387 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 388 | |
| 389 | ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true) |
| 390 | LOCAL_HEADER_LIBRARIES += audio_kernel_headers |
| 391 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include |
Arun Mirpuri | b1bec9c | 2019-01-29 16:42:45 -0800 | [diff] [blame] | 392 | endif |
| 393 | |
| 394 | LOCAL_HEADER_LIBRARIES += libhardware_headers |
| 395 | LOCAL_HEADER_LIBRARIES += libsystem_headers |
| 396 | include $(BUILD_SHARED_LIBRARY) |