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: [