aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-11-07 10:46:28 -0800
committerChih-Hung Hsieh <chh@google.com>2017-11-07 10:54:58 -0800
commit15fcd4ff5b0606cd1c30f7a5b5dc57fb29fb6fdd (patch)
tree650f6ef0f91695ade9898494cfd8bc8fcc080865
parentea469443e9c2cd1fda87188df2b1ffe0e30656b2 (diff)
downloadstressapptest-15fcd4ff5b0606cd1c30f7a5b5dc57fb29fb6fdd.tar.gz
Use -Werror in external/stressapptest
* Suppress existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I920b72895732b3e7af8e375c89e57d1562f9fc9c
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 1f15d46..f3cd77d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -25,6 +25,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH := mips x86
LOCAL_CFLAGS := -DHAVE_CONFIG_H -DANDROID -DNDEBUG -UDEBUG -DCHECKOPTS
+LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter -Wno-\#warnings
LOCAL_CPP_EXTENSION := .cc