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

Change-Id: Ic5ffa674cf740a0f29997281d469bf067f3bc814
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: [