commit | 76670a0ac7490865192a6d4edf87cd10b9126f39 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Sep 28 14:42:50 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Sep 28 14:45:43 2017 -0700 |
tree | 550d1ed398d738c049548afa5dac547b1e644130 | |
parent | a80c5de7e9f205ae9a94fdd94521d0855bbaf091 [diff] [blame] |
Use -Werror in external/libpng Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I452b9afa3871f765866f0f49baf1c6ac4904b4b6
diff --git a/Android.bp b/Android.bp index 9f16bba..d5649c5 100644 --- a/Android.bp +++ b/Android.bp
@@ -22,6 +22,8 @@ ], cflags: [ "-std=gnu89", + "-Wall", + "-Werror", "-Wno-unused-parameter", ], arch: { @@ -111,6 +113,7 @@ gtest: false, srcs: ["pngtest.c"], name: "pngtest", + cflags: ["-Wall", "-Werror"], shared_libs: [ "libpng", ],