diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-09-30 01:01:15 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-09-30 01:01:15 +0000 |
commit | 462fd64d0ce8fca5ca7e624792aadd564d0a3e4d (patch) | |
tree | 812797d81b655ecef246a48c6f06dc5a49285786 | |
parent | 7725d4fb65bacdae6a4bb09dddffc6e65ee861d4 (diff) | |
parent | 5f9c3c5b5ce76f741419ce43cfb6a2b8fab8a37f (diff) | |
download | zlib-462fd64d0ce8fca5ca7e624792aadd564d0a3e4d.tar.gz |
Merge "Use -Werror in external/zlib" am: 77813b7ffe am: 897d9a491e
am: 5f9c3c5b5c
Change-Id: Ib97d9849f61cdb8650b9b0df22731e4eb52feb06
-rw-r--r-- | Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -14,6 +14,8 @@ cc_library { "-O3", "-DUSE_MMAP", "-DZLIB_CONST", + "-Wall", + "-Werror", ], stl: "none", export_include_dirs: ["."], @@ -59,6 +61,7 @@ cc_library { cc_binary_host { name: "minigzip", srcs: ["src/test/minigzip.c"], + cflags: ["-Wall", "-Werror"], static_libs: ["libz"], stl: "none", } @@ -66,6 +69,7 @@ cc_binary_host { cc_binary { name: "zlib_example", srcs: ["src/test/example.c"], + cflags: ["-Wall", "-Werror"], shared_libs: ["libz"], stl: "none", } @@ -73,6 +77,7 @@ cc_binary { cc_binary_host { name: "zlib_example_host", srcs: ["src/test/example.c"], + cflags: ["-Wall", "-Werror"], static_libs: ["libz"], stl: "none", } |