summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-09-28 14:55:17 -0700
committerChih-Hung Hsieh <chh@google.com>2017-09-28 14:59:16 -0700
commit3210a80411d51e0bdfe50ca124aaf170c35c8a09 (patch)
treefb503a1049b5f2c62500e095f0bbcbdc683a59f5
parenta70e1c33cb5e1f298de2affa000950123656c4f6 (diff)
downloadlibvterm-3210a80411d51e0bdfe50ca124aaf170c35c8a09.tar.gz
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
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
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",
],
}