aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-12 18:37:12 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 18:37:12 +0000
commit1926c2138d9825d29d07b1532c28dd85ab833c24 (patch)
tree7bcfb22b2056aa579ce8cec2d01f7d9957e86c31
parentff64557339915ea8a9718a0746424bf6c18c41b1 (diff)
parent69d5d66bd6025114f61dff8108ef4814c31e911c (diff)
downloadtinycompress-1926c2138d9825d29d07b1532c28dd85ab833c24.tar.gz
am: 69d5d66bd6 Change-Id: Ied3ba388c2be68fbb46e33684a4603d025c5ae15
-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: [