Merge "Use -Werror in external/tinycompress" am: e7d3077126 am: 5e02fdc8eb
am: 69d5d66bd6

Change-Id: Ied3ba388c2be68fbb46e33684a4603d025c5ae15
diff --git a/Android.bp b/Android.bp
index c22852c..f0000f1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2,7 +2,12 @@
     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 @@
     name: "cplay",
     vendor: true,
 
-    cflags: ["-Wno-macro-redefined"],
+    cflags: [
+        "-Wall",
+        "-Werror",
+        "-Wno-macro-redefined"
+    ],
     local_include_dirs: ["include"],
     srcs: ["cplay.c"],
     shared_libs: [