summaryrefslogtreecommitdiff
path: root/app-launcher
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-18 16:28:14 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-20 15:46:36 -0700
commit373d3c7257fa815d0b9ee8f16874470a6002042e (patch)
tree2488faeb9a5a2dfd9f76054bd4ba001b4806ffb3 /app-launcher
parentd7bf23ae7b93ec93b8b7c2ce98eaa2ea94f387aa (diff)
downloadextras-373d3c7257fa815d0b9ee8f16874470a6002042e.tar.gz
Use -Werror in system/extras
* Remove unused variables. * Fix redefined macro warnings. * Fix sign-compare warnings. * Fix 'return false' in main(). * Keep existing warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
Diffstat (limited to 'app-launcher')
-rw-r--r--app-launcher/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-launcher/Android.mk b/app-launcher/Android.mk
index 755b1d3f..cef9daaa 100644
--- a/app-launcher/Android.mk
+++ b/app-launcher/Android.mk
@@ -5,6 +5,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE_HOST_OS := linux
LOCAL_SRC_FILES := computestatsf.c
LOCAL_MODULE := computestatsf
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_MODULE_TAGS := debug
include $(BUILD_HOST_EXECUTABLE)
@@ -13,6 +14,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE_HOST_OS := linux
LOCAL_SRC_FILES := computestats.c
LOCAL_MODULE := computestats
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_MODULE_TAGS := debug
include $(BUILD_HOST_EXECUTABLE)