aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-09 19:23:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-09 19:23:05 +0000
commite500fa038e3ebdfb48fc95190b2d3e511cb27d32 (patch)
tree9766f85fd247904d5edaae23b48e1b8ec81c9f1b
parentac43a3b34885d57e2c4347e9c40d710c02952045 (diff)
parentf9d17bb77f2c9e8ad6e31ed96ecacba7e1d911df (diff)
downloadlibpng-e500fa038e3ebdfb48fc95190b2d3e511cb27d32.tar.gz
am: f9d17bb77f Change-Id: I79e98ca431190564dc80fd418c03c1dd2c23f99d
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 4065193d3..aea02bfa1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -22,6 +22,8 @@ cc_defaults {
],
cflags: [
"-std=gnu89",
+ "-Wall",
+ "-Werror",
"-Wno-unused-parameter",
],
arch: {
@@ -106,6 +108,7 @@ cc_test {
gtest: false,
srcs: ["pngtest.c"],
name: "pngtest",
+ cflags: ["-Wall", "-Werror"],
shared_libs: [
"libpng",
"libz",