summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-10 14:41:30 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-10 14:52:49 -0700
commitb072abd9f9c1668f64d6c2db4aaaed708962eaac (patch)
treeccd381e3fa2649b4bb8fbdae7687859237e69bcf
parente2f604066d97431c95856c73d7b9ee46b348d37e (diff)
downloadlibdaemon-b072abd9f9c1668f64d6c2db4aaaed708962eaac.tar.gz
Use -Werror in external/libdaemon
* Keep user-defined-warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Idb7f889803ca602dd484f1aea5b0c5478f4d7c20
-rw-r--r--libdaemon/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdaemon/Android.mk b/libdaemon/Android.mk
index 565c873..eab115b 100644
--- a/libdaemon/Android.mk
+++ b/libdaemon/Android.mk
@@ -25,6 +25,8 @@ LOCAL_EXPORT_C_INCLUDE_DIRS:= $(LOCAL_PATH)/..
# -MT testd.o -MD -MP -MF .deps/testd.Tpo -c -o testd.o testd.c
LOCAL_CFLAGS+= \
+ -Wall -Werror \
+ -Wno-error=user-defined-warnings \
-Wno-unused-parameter \
-DHAVE_CONFIG_H \
-DLOCALSTATEDIR=\"/var\"