aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-09 19:24:24 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-09 19:24:24 +0000
commit6e267ffb6f981d1abd9913c5d0d9856771254fdb (patch)
tree9766f85fd247904d5edaae23b48e1b8ec81c9f1b
parent1ef9ccdb740c31e0b23ee7a7839510cfba3abfec (diff)
parente500fa038e3ebdfb48fc95190b2d3e511cb27d32 (diff)
downloadlibpng-pie-qpr1-release.tar.gz
am: e500fa038e Change-Id: I96a6cff405085b78a217493976a5313bcfa33e71
-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",