diff options
author | Vikram Panduranga <vpandura@codeaurora.org> | 2019-05-24 17:02:47 -0700 |
---|---|---|
committer | Vikram Panduranga <vpandura@codeaurora.org> | 2019-05-31 13:38:27 -0700 |
commit | 1719d7c0c0e86a0c17529f96a5f0d5566f5b1979 (patch) | |
tree | 73ef8a59aca948a32d8abeebb504c9ee0788a04b /post_proc/Android.mk | |
parent | 1aee8389bb762987399a7c588bba37d55a3e17b6 (diff) | |
download | android_hardware_qcom_audio-1719d7c0c0e86a0c17529f96a5f0d5566f5b1979.tar.gz android_hardware_qcom_audio-1719d7c0c0e86a0c17529f96a5f0d5566f5b1979.tar.bz2 android_hardware_qcom_audio-1719d7c0c0e86a0c17529f96a5f0d5566f5b1979.zip |
hal: Enable integer overflow sanitizer
Enable integer overflow sanitizer in audio HAL for kona.
Change-Id: I16a81af39c888f9e5c3c10187ad81d29035a8bc0
Diffstat (limited to 'post_proc/Android.mk')
-rw-r--r-- | post_proc/Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/post_proc/Android.mk b/post_proc/Android.mk index 6b1afd3c..27c3037b 100644 --- a/post_proc/Android.mk +++ b/post_proc/Android.mk @@ -95,6 +95,9 @@ ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr endif +ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) +LOCAL_SANITIZE := integer_overflow +endif include $(BUILD_SHARED_LIBRARY) @@ -136,6 +139,9 @@ endif LOCAL_MODULE:= libhwacceffectswrapper LOCAL_VENDOR_MODULE := true +ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) +LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow +endif include $(BUILD_STATIC_LIBRARY) endif @@ -205,6 +211,9 @@ ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr endif +ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) +LOCAL_SANITIZE := integer_overflow +endif include $(BUILD_SHARED_LIBRARY) endif @@ -238,6 +247,9 @@ LOCAL_C_INCLUDES := \ LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libsystem_headers +ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) +LOCAL_SANITIZE := integer_overflow +endif include $(BUILD_SHARED_LIBRARY) endif |