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

Commit 31eebbb0 authored by Dan Austin's avatar Dan Austin Committed by android-build-merger
Browse files

Merge "Enable fsanitize signed-integer-overflow in Soft MPEG4 encoder" am: a6d91eea

am: 2ded8a0d

* commit '2ded8a0d':
  Enable fsanitize signed-integer-overflow in Soft MPEG4 encoder
parents 94d40720 2ded8a0d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ LOCAL_C_INCLUDES := \
    $(TOP)/frameworks/native/include/media/openmax

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

include $(BUILD_STATIC_LIBRARY)

@@ -75,6 +77,8 @@ LOCAL_MODULE := libstagefright_soft_mpeg4enc
LOCAL_MODULE_TAGS := optional

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

include $(BUILD_SHARED_LIBRARY)

@@ -89,6 +93,8 @@ LOCAL_C_INCLUDES := \
        $(LOCAL_PATH)/include

LOCAL_CFLAGS := -DOSCL_EXPORT_REF= -DOSCL_IMPORT_REF= -DBX_RC
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow

LOCAL_STATIC_LIBRARIES := \
        libstagefright_m4vh263enc