aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-12 18:26:37 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 18:26:37 +0000
commit69d5d66bd6025114f61dff8108ef4814c31e911c (patch)
tree7bcfb22b2056aa579ce8cec2d01f7d9957e86c31
parentc189c3fded329fcb5358ebe349b329080fe3384b (diff)
parent5e02fdc8ebb10c5b0aa70ccde2dc823ccbd3bf88 (diff)
downloadtinycompress-69d5d66bd6025114f61dff8108ef4814c31e911c.tar.gz
Merge "Use -Werror in external/tinycompress" am: e7d3077126
am: 5e02fdc8eb Change-Id: Id2f4d72bbf40acddf774f44bc1a4f465c9dc2db6
-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: [