aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-12 18:15:18 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 18:15:18 +0000
commit5e02fdc8ebb10c5b0aa70ccde2dc823ccbd3bf88 (patch)
tree7bcfb22b2056aa579ce8cec2d01f7d9957e86c31
parentc189c3fded329fcb5358ebe349b329080fe3384b (diff)
parente7d30771266f17367fc19f5a22985e501c7b3674 (diff)
Merge "Use -Werror in external/tinycompress"
am: e7d3077126 Change-Id: Ib37cfaa4080019c518ab1a0d7841bf613ad0ed2b
-rw-r--r--Android.bp13
1 files changed, 11 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index c22852c..f0000f1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2,7 +2,12 @@ cc_library_shared {
name: "libtinycompress",
vendor: true,
- cflags: ["-Wno-macro-redefined"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wno-macro-redefined",
+ "-Wno-unused-function",
+ ],
export_include_dirs: ["include"],
srcs: [
"compress.c",
@@ -21,7 +26,11 @@ cc_binary {
name: "cplay",
vendor: true,
- cflags: ["-Wno-macro-redefined"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wno-macro-redefined"
+ ],
local_include_dirs: ["include"],
srcs: ["cplay.c"],
shared_libs: [