From d2361f2f1f54c8f244d4a25c59a6a0d2b29fe515 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 10 Nov 2014 16:48:26 -0800 Subject: Frameworks/base: Wall Werror in native/android Turn on -Wall -Werror in native/android. Change-Id: I28bab9ebd2fe3f6935878816773a04531e26450f --- native/android/Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/native/android/Android.mk b/native/android/Android.mk index cda38e0..b3a74a8 100644 --- a/native/android/Android.mk +++ b/native/android/Android.mk @@ -34,6 +34,8 @@ LOCAL_C_INCLUDES += \ frameworks/base/native/include \ frameworks/base/core/jni/android -LOCAL_MODULE:= libandroid +LOCAL_MODULE := libandroid + +LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code include $(BUILD_SHARED_LIBRARY) -- cgit v1.1