Skip to content

Commit

Permalink
Add -Wno-error to compile with global -Werror.
Browse files Browse the repository at this point in the history
Bug: 66996870
Test: normal builds.
Change-Id: Ie9d18e6ea8db12b0ccde25f2718d0ef83fe4ba3a
  • Loading branch information
chih-hung authored and elginsk8r committed Aug 13, 2018
1 parent 90874b0 commit 3f0a6d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions mm-core/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ OMXCORE_CFLAGS := -g -O3 -DVERBOSE
OMXCORE_CFLAGS += -O0 -fno-inline -fno-short-enums
OMXCORE_CFLAGS += -D_ANDROID_
OMXCORE_CFLAGS += -U_ENABLE_QC_MSG_LOG_
OMXCORE_CFLAGS += -Wno-error

#===============================================================================
# Figure out the targets
Expand Down
2 changes: 2 additions & 0 deletions mm-video-v4l2/vidc/vdec/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ LOCAL_SRC_FILES += src/hevc_utils.cpp
LOCAL_STATIC_LIBRARIES := libOmxVidcCommon
LOCAL_SRC_FILES += src/omx_vdec_v4l2.cpp

LOCAL_CFLAGS += -Wno-error

include $(BUILD_SHARED_LIBRARY)


Expand Down
2 changes: 2 additions & 0 deletions mm-video-v4l2/vidc/venc/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ LOCAL_STATIC_LIBRARIES := libOmxVidcCommon
LOCAL_SRC_FILES := src/omx_video_base.cpp
LOCAL_SRC_FILES += src/omx_swvenc_mpeg4.cpp

LOCAL_CFLAGS += -Wno-error

include $(BUILD_SHARED_LIBRARY)
endif # QCPATH
endif
Expand Down

0 comments on commit 3f0a6d6

Please sign in to comment.