LOCAL_MODULE := libOMX.Exynos.MP3.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libOMX.Exynos.WMA.Decoder
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libOMX.Exynos.AAC.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libOMX.Exynos.FLAC.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libOMX.Exynos.MP3.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libExynosOMX_Basecomponent
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_STATIC_LIBRARIES := libExynosOMX_OSAL
LOCAL_SHARED_LIBRARIES := libcutils libutils liblog
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := libExynosOMX_Resourcemanager
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_STATIC_LIBRARIES := libExynosOMX_OSAL
LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
LOCAL_STATIC_LIBRARIES := libExynosVideoApi
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
+
ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
LOCAL_C_INCLUDES += $(EXYNOS_OMX_INC)/khronos
LOCAL_MODULE := libOMX.Exynos.AVC.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
ifeq ($(BOARD_USE_ANB), true)
LOCAL_CFLAGS += -DUSE_ANB
LOCAL_MODULE := libOMX.Exynos.HEVC.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_CFLAGS += -DUSE_HEVC_SUPPORT
ifeq ($(BOARD_USE_ANB), true)
LOCAL_MODULE := libOMX.Exynos.MPEG2.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
ifeq ($(BOARD_USE_ANB), true)
LOCAL_CFLAGS += -DUSE_ANB
LOCAL_MODULE := libOMX.Exynos.MPEG4.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline \
+ -Wno-sign-compare \
+ -Wno-pointer-arith
ifeq ($(BOARD_USE_ANB), true)
LOCAL_CFLAGS += -DUSE_ANB
LOCAL_MODULE := libOMX.Exynos.WMV.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
ifeq ($(BOARD_USE_ANB), true)
LOCAL_CFLAGS += -DUSE_ANB
LOCAL_MODULE := libOMX.Exynos.VP8.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_CFLAGS += -DUSE_VP8_SUPPORT
ifeq ($(BOARD_USE_ANB), true)
LOCAL_MODULE := libOMX.Exynos.VP9.Decoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_CFLAGS += -DUSE_VP9_SUPPORT
ifeq ($(BOARD_USE_ANB), true)
LOCAL_ADDITIONAL_DEPENDENCIES += \
$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
+
ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
LOCAL_C_INCLUDES += $(EXYNOS_OMX_INC)/khronos
LOCAL_MODULE := libOMX.Exynos.AVC.Encoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
ifeq ($(BOARD_USE_ANDROID), true)
LOCAL_CFLAGS += -DUSE_ANDROID
LOCAL_MODULE := libOMX.Exynos.HEVC.Encoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_CFLAGS += -DUSE_HEVC_SUPPORT
ifeq ($(BOARD_USE_ANDROID), true)
LOCAL_MODULE := libOMX.Exynos.MPEG4.Encoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
ifeq ($(BOARD_USE_METADATABUFFERTYPE), true)
LOCAL_CFLAGS += -DUSE_METADATABUFFERTYPE
LOCAL_MODULE := libOMX.Exynos.VP8.Encoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_CFLAGS += -DUSE_VP8_SUPPORT
ifeq ($(BOARD_USE_METADATABUFFERTYPE), true)
return (bProfileSupport && bLevelSupport);
}
-static OMX_U32 OMXVP8ProfileToProfileIDC(OMX_VIDEO_VP8PROFILETYPE eProfile)
+static __unused OMX_U32 OMXVP8ProfileToProfileIDC(OMX_VIDEO_VP8PROFILETYPE eProfile)
{
OMX_U32 ret;
LOCAL_MODULE := libOMX.Exynos.VP9.Encoder
LOCAL_MODULE_RELATIVE_PATH := omx
-LOCAL_CFLAGS := -DUSE_VP9_SUPPORT
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
+LOCAL_CFLAGS += -DUSE_VP9_SUPPORT
ifeq ($(BOARD_USE_METADATABUFFERTYPE), true)
LOCAL_CFLAGS += -DUSE_METADATABUFFERTYPE
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := libExynosOMX_Core
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
LOCAL_ARM_MODE := arm
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := libExynosOMX_SkypeHD_Enc
-LOCAL_CFLAGS := -DUSE_SKYPE_HD
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
+LOCAL_CFLAGS += -DUSE_SKYPE_HD
LOCAL_CFLAGS += -DBUILD_ENC
LOCAL_SRC_FILES := Exynos_OSAL_SkypeHD.c
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := libExynosOMX_OSAL
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+ -Wno-enum-conversion \
+ -Wno-unused-label \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+ -Wno-parentheses-equality \
+ -Wno-undefined-inline
ifeq ($(BOARD_USE_ANDROID), true)
LOCAL_SRC_FILES += \