diff options
author | Andreas Gampe <agampe@google.com> | 2014-12-08 17:35:34 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-12-08 17:35:34 -0800 |
commit | 8a050ed9dc33830ebab505940e05e36a1a999080 (patch) | |
tree | f433904da599d146c79ccfb1f04eb03079344a32 | |
parent | 5da72011e0c14cf41ac9a2b3f93e59ff7b8be219 (diff) | |
download | android_hardware_intel_common_omx-components-8a050ed9dc33830ebab505940e05e36a1a999080.tar.gz android_hardware_intel_common_omx-components-8a050ed9dc33830ebab505940e05e36a1a999080.tar.bz2 android_hardware_intel_common_omx-components-8a050ed9dc33830ebab505940e05e36a1a999080.zip |
Libvpx: Turn off unused-function warning
For build-system CFLAGS clean-up, disable unused-function warning
locally.
There are way too many static functions declared in headers that
are not used in all files the header is included in. Turn off the
warning for now.
Bug: 18632512
Change-Id: Ib61d235f38342816cd76c1ae27607193e7535c12
-rw-r--r-- | videocodec/libvpx_internal/libvpx.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/videocodec/libvpx_internal/libvpx.mk b/videocodec/libvpx_internal/libvpx.mk index 461f683..633c848 100644 --- a/videocodec/libvpx_internal/libvpx.mk +++ b/videocodec/libvpx_internal/libvpx.mk @@ -42,6 +42,10 @@ libvpx_codec_srcs := $(shell cat $(libvpx_config_dir)/libvpx_srcs.txt) LOCAL_SHARED_LIBRARIES += liblog LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog LOCAL_CFLAGS := -DHAVE_CONFIG_H=vpx_config.h + +# Static functions declared in headers. b/18632512 +LOCAL_CFLAGS += -Wno-unused-function + LOCAL_CFLAGS += -Werror LOCAL_MODULE := libvpx_internal |