hal: enable compilation for lahaina

Add lahaina target to android makefiles to enable compilation.

Change-Id: I5f80633d98ec915054103db206783eb2d7c0e070
This commit is contained in:
Vignesh Kulothungan 2020-01-15 18:34:48 -08:00
parent 24bb646a30
commit 4e64c78e06
16 changed files with 56 additions and 56 deletions

View File

@ -1,5 +1,5 @@
ifneq ($(AUDIO_USE_STUB_HAL), true) ifneq ($(AUDIO_USE_STUB_HAL), true)
ifneq ($(filter mpq8092 msm8960 msm8226 msm8x26 msm8610 msm8974 msm8x74 apq8084 msm8916 msm8994 msm8992 msm8909 msm8996 msm8952 msm8937 thorium msm8953 msmgold msm8998 sdm660 sdm845 sdm710 apq8098_latv qcs605 sdmshrike msmnile kona $(MSMSTEPPE) $(TRINKET) atoll lito bengal,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter mpq8092 msm8960 msm8226 msm8x26 msm8610 msm8974 msm8x74 apq8084 msm8916 msm8994 msm8992 msm8909 msm8996 msm8952 msm8937 thorium msm8953 msmgold msm8998 sdm660 sdm845 sdm710 apq8098_latv qcs605 sdmshrike msmnile kona lahaina $(MSMSTEPPE) $(TRINKET) atoll lito bengal,$(TARGET_BOARD_PLATFORM)),)
MY_LOCAL_PATH := $(call my-dir) MY_LOCAL_PATH := $(call my-dir)

View File

@ -26,7 +26,7 @@ LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_MODULE:= audiod LOCAL_MODULE:= audiod
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -8,7 +8,7 @@ LOCAL_ARM_MODE := arm
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter msm8974 msm8226 msm8084 msm8610 apq8084 msm8994 msm8992 msm8996 msm8998 apq8098_latv sdm845 sdm710 qcs605 sdmshrike msmnile kona sdm660 msm8937 $(MSMSTEPPE) $(TRINKET) lito atoll bengal,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter msm8974 msm8226 msm8084 msm8610 apq8084 msm8994 msm8992 msm8996 msm8998 apq8098_latv sdm845 sdm710 qcs605 sdmshrike msmnile kona lahaina sdm660 msm8937 $(MSMSTEPPE) $(TRINKET) lito atoll bengal,$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM = msm8974 AUDIO_PLATFORM = msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -70,7 +70,7 @@ ifneq ($(filter msmnile sdmshrike,$(TARGET_BOARD_PLATFORM)),)
LOCAL_CFLAGS += -DINCALL_MUSIC_ENABLED LOCAL_CFLAGS += -DINCALL_MUSIC_ENABLED
LOCAL_CFLAGS += -DINCALL_STEREO_CAPTURE_ENABLED LOCAL_CFLAGS += -DINCALL_STEREO_CAPTURE_ENABLED
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_CFLAGS := -DPLATFORM_KONA LOCAL_CFLAGS := -DPLATFORM_KONA
LOCAL_CFLAGS += -DMAX_TARGET_SPECIFIC_CHANNEL_CNT="4" LOCAL_CFLAGS += -DMAX_TARGET_SPECIFIC_CHANNEL_CNT="4"
LOCAL_CFLAGS += -DINCALL_STEREO_CAPTURE_ENABLED LOCAL_CFLAGS += -DINCALL_STEREO_CAPTURE_ENABLED
@ -373,7 +373,7 @@ LOCAL_MODULE_OWNER := qti
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)

View File

@ -51,7 +51,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -67,7 +67,7 @@ LOCAL_VENDOR_MODULE := true
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 qcs605 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 qcs605 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -114,7 +114,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -130,7 +130,7 @@ LOCAL_VENDOR_MODULE := true
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -179,7 +179,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -196,7 +196,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
endif endif
@ -242,7 +242,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -252,7 +252,7 @@ include $(BUILD_SHARED_LIBRARY)
#-------------------------------------------- #--------------------------------------------
include $(CLEAR_VARS) include $(CLEAR_VARS)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
endif endif
@ -301,7 +301,7 @@ LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -311,7 +311,7 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS) include $(CLEAR_VARS)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
endif endif
@ -360,7 +360,7 @@ LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -376,7 +376,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -422,7 +422,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -440,7 +440,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -487,7 +487,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -503,7 +503,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -554,7 +554,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -570,7 +570,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -620,7 +620,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -636,7 +636,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -693,7 +693,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -709,7 +709,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito bengal atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -756,7 +756,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
#include $(BUILD_SHARED_LIBRARY) #include $(BUILD_SHARED_LIBRARY)
@ -772,7 +772,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona sdm660 msm8937 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina sdm660 msm8937 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM = msm8974 AUDIO_PLATFORM = msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -818,7 +818,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -833,7 +833,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona sdm660 msm8937 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina sdm660 msm8937 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM = msm8974 AUDIO_PLATFORM = msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -879,7 +879,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -897,7 +897,7 @@ LOCAL_VENDOR_MODULE := true
PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal PRIMARY_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal/hal
AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM) AUDIO_PLATFORM := $(TARGET_BOARD_PLATFORM)
ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lito atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter sdm845 sdm710 sdmshrike msmnile kona lahaina lito atoll sdm660 msm8937 msm8998 $(MSMSTEPPE) $(TRINKET),$(TARGET_BOARD_PLATFORM)),)
# B-family platform uses msm8974 code base # B-family platform uses msm8974 code base
AUDIO_PLATFORM := msm8974 AUDIO_PLATFORM := msm8974
MULTIPLE_HW_VARIANTS_ENABLED := true MULTIPLE_HW_VARIANTS_ENABLED := true
@ -941,7 +941,7 @@ endif
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)

View File

@ -18,7 +18,7 @@ LOCAL_CPPFLAGS += --coverage -fprofile-arcs -ftest-coverage
LOCAL_STATIC_LIBRARIES += libprofile_rt LOCAL_STATIC_LIBRARIES += libprofile_rt
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -55,7 +55,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true)
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -81,7 +81,7 @@ LOCAL_SHARED_LIBRARIES += libOmxAacEnc
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := test/omx_aac_enc_test.c LOCAL_SRC_FILES := test/omx_aac_enc_test.c
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -57,7 +57,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true)
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -83,7 +83,7 @@ LOCAL_SHARED_LIBRARIES += libOmxAmrEnc
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := test/omx_amr_enc_test.c LOCAL_SRC_FILES := test/omx_amr_enc_test.c
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -57,7 +57,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true)
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/vendor/qcom/opensource/audio-kernel/include
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -82,7 +82,7 @@ LOCAL_SHARED_LIBRARIES += libOmxEvrcEnc
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := test/omx_evrc_enc_test.c LOCAL_SRC_FILES := test/omx_evrc_enc_test.c
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -59,7 +59,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true)
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -86,7 +86,7 @@ LOCAL_SHARED_LIBRARIES += libOmxG711Enc
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := test/omx_g711_enc_test.c LOCAL_SRC_FILES := test/omx_g711_enc_test.c
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -58,7 +58,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DLKM)),true)
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -85,7 +85,7 @@ LOCAL_SHARED_LIBRARIES += libOmxQcelp13Enc
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := test/omx_qcelp13_enc_test.c LOCAL_SRC_FILES := test/omx_qcelp13_enc_test.c
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -95,7 +95,7 @@ ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true)
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -139,7 +139,7 @@ endif
LOCAL_MODULE:= libhwacceffectswrapper LOCAL_MODULE:= libhwacceffectswrapper
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow
endif endif
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
@ -149,7 +149,7 @@ endif
################################################################################ ################################################################################
ifneq ($(filter msm8992 msm8994 msm8996 msm8998 sdm660 sdm845 apq8098_latv sdm710 msm8953 msm8937 qcs605 sdmshrike msmnile kona atoll $(MSMSTEPPE) $(TRINKET) lito,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter msm8992 msm8994 msm8996 msm8998 sdm660 sdm845 apq8098_latv sdm710 msm8953 msm8937 qcs605 sdmshrike msmnile kona lahaina atoll $(MSMSTEPPE) $(TRINKET) lito,$(TARGET_BOARD_PLATFORM)),)
include $(CLEAR_VARS) include $(CLEAR_VARS)
@ -212,7 +212,7 @@ ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true)
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
endif endif
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
@ -248,7 +248,7 @@ LOCAL_C_INCLUDES := \
LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libhardware_headers
LOCAL_HEADER_LIBRARIES += libsystem_headers LOCAL_HEADER_LIBRARIES += libsystem_headers
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)

View File

@ -34,7 +34,7 @@ LOCAL_COPY_HEADERS += inc/qahw_effect_api.h
LOCAL_PROPRIETARY_MODULE := true LOCAL_PROPRIETARY_MODULE := true
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)

View File

@ -43,7 +43,7 @@ LOCAL_COPY_HEADERS += inc/qahw_effect_visualizer.h
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)

View File

@ -31,7 +31,7 @@ LOCAL_32_BIT_ONLY := true
LOCAL_C_INCLUDES += $(hal-play-inc) LOCAL_C_INCLUDES += $(hal-play-inc)
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)
@ -54,7 +54,7 @@ hal-rec-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
LOCAL_C_INCLUDES += $(hal-rec-inc) LOCAL_C_INCLUDES += $(hal-rec-inc)
LOCAL_VENDOR_MODULE := true LOCAL_VENDOR_MODULE := true
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -64,7 +64,7 @@ LOCAL_CFLAGS += -Wno-tautological-compare
LOCAL_CFLAGS += -Wno-unused-function LOCAL_CFLAGS += -Wno-unused-function
LOCAL_CFLAGS += -Wno-unused-local-typedef LOCAL_CFLAGS += -Wno-unused-local-typedef
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)

View File

@ -50,7 +50,7 @@ LOCAL_CFLAGS += -Wno-tautological-compare
LOCAL_CFLAGS += -Wno-unused-function LOCAL_CFLAGS += -Wno-unused-function
LOCAL_CFLAGS += -Wno-unused-local-typedef LOCAL_CFLAGS += -Wno-unused-local-typedef
ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) ifneq ($(filter kona lahaina,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow LOCAL_SANITIZE := integer_overflow
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)