aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-13 08:09:03 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-13 08:09:03 +0000
commitaa1240808a348338b295c93317770f175168a1a7 (patch)
tree7bcfb22b2056aa579ce8cec2d01f7d9957e86c31
parentff64557339915ea8a9718a0746424bf6c18c41b1 (diff)
parent67eecda8d99419fab4482154a5e6b572f33dc80b (diff)
Snap for 4393550 from 67eecda8d99419fab4482154a5e6b572f33dc80b to pi-release
Change-Id: Ia5328d0231bb4d1e9349dcc768283043a340e2cc
-rw-r--r--Android.bp13
1 files changed, 11 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index c22852c..f0000f1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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: [