diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-09-29 11:29:00 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-09-29 11:59:15 -0700 |
commit | c1bc48fca7085f01a2ddbdb8e594af937235e695 (patch) | |
tree | 7bcfb22b2056aa579ce8cec2d01f7d9957e86c31 | |
parent | 846573ce25e334e2709b3b4d7c5ab39d0a2b3bec (diff) | |
download | tinycompress-c1bc48fca7085f01a2ddbdb8e594af937235e695.tar.gz |
Use -Werror in external/tinycompress
* Suppress non-critical warnings.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Id0a4f4431f8420dbbe20ec541aa3be6a77567b7c
-rw-r--r-- | Android.bp | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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: [ |