From 3210a80411d51e0bdfe50ca124aaf170c35c8a09 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 28 Sep 2017 14:55:17 -0700 Subject: Use -Werror in external/libvterm * Suppress unused-function warnings: mk_wcswidth and mk_wcswidth_cjk. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ic61d79221bcb7d347e1c97c1cb1488bf7f100bf5 --- Android.bp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Android.bp') diff --git a/Android.bp b/Android.bp index b09fd43..33d3b75 100644 --- a/Android.bp +++ b/Android.bp @@ -16,8 +16,11 @@ cc_library_static { cflags: [ "-std=c99", + "-Wall", + "-Werror", "-Wno-missing-field-initializers", "-Wno-sign-compare", + "-Wno-unused-function", "-Wno-unused-parameter", ], } -- cgit v1.2.3