aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2017-10-10 16:59:44 -0500
committerChih-Hung Hsieh2017-10-12 13:48:12 -0500
commit36def26b34cb8d7a133d8eb9bdeea00767dffbb8 (patch)
tree8ad29bc4bb62a665c85f5e30d507c9f33ab8bc3f /rockchip
parent486358728120226bf5b48cc1ec7e14744bdaff33 (diff)
downloadexternal-libdrm-36def26b34cb8d7a133d8eb9bdeea00767dffbb8.tar.gz
external-libdrm-36def26b34cb8d7a133d8eb9bdeea00767dffbb8.tar.xz
external-libdrm-36def26b34cb8d7a133d8eb9bdeea00767dffbb8.zip
Use -Werror in external/libdrm
* Suppress unused-parameter, unused-variable, pointer-arith, format, gnu-variable-sized-type-not-at-end warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I74fdde60e697d77b90644ea9e94005dc6d14a9a6
Diffstat (limited to 'rockchip')
-rw-r--r--rockchip/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/rockchip/Android.mk b/rockchip/Android.mk
index 05d421e2..82b3b00a 100644
--- a/rockchip/Android.mk
+++ b/rockchip/Android.mk
@@ -8,7 +8,8 @@ LOCAL_SHARED_LIBRARIES := libdrm
8LOCAL_SRC_FILES := rockchip_drm.c 8LOCAL_SRC_FILES := rockchip_drm.c
9 9
10LOCAL_CFLAGS := \ 10LOCAL_CFLAGS := \
11 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 11 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 \
12 -Wall -Werror
12 13
13LOCAL_SHARED_LIBRARIES := \ 14LOCAL_SHARED_LIBRARIES := \
14 libdrm 15 libdrm