Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4371c8e authored by Dan Austin's avatar Dan Austin Committed by Android Git Automerger
Browse files

am a0f7d418: am 0dd0d7a3: Merge "Enable fsanitize signed-integer-overflow in AAC encoder"

* commit 'a0f7d418':
  Enable fsanitize signed-integer-overflow in AAC encoder
parents dbba66c8 a0f7d418
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -83,6 +83,8 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/src/asm/ARMV7
endif

LOCAL_CFLAGS += -Werror
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow

include $(BUILD_STATIC_LIBRARY)

@@ -109,6 +111,8 @@ ifeq ($(AAC_LIBRARY), fraunhofer)
  LOCAL_CFLAGS :=

  LOCAL_CFLAGS += -Werror
  LOCAL_CLANG := true
  LOCAL_SANITIZE := signed-integer-overflow

  LOCAL_STATIC_LIBRARIES := libFraunhoferAAC

@@ -133,6 +137,8 @@ else # visualon
  LOCAL_CFLAGS := -DOSCL_IMPORT_REF=

  LOCAL_CFLAGS += -Werror
  LOCAL_CLANG := true
  LOCAL_SANITIZE := signed-integer-overflow

  LOCAL_STATIC_LIBRARIES := \
          libstagefright_aacenc