diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-10 16:48:26 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-10 16:48:58 -0800 |
commit | d2361f2f1f54c8f244d4a25c59a6a0d2b29fe515 (patch) | |
tree | 83d7f5d04f19cbcb01c2c1eddd6cf1c94efeeff0 /native | |
parent | a31318620bce4e00e80188ee2778b7799cbdf0dc (diff) | |
download | frameworks_base-d2361f2f1f54c8f244d4a25c59a6a0d2b29fe515.zip frameworks_base-d2361f2f1f54c8f244d4a25c59a6a0d2b29fe515.tar.gz frameworks_base-d2361f2f1f54c8f244d4a25c59a6a0d2b29fe515.tar.bz2 |
Frameworks/base: Wall Werror in native/android
Turn on -Wall -Werror in native/android.
Change-Id: I28bab9ebd2fe3f6935878816773a04531e26450f
Diffstat (limited to 'native')
-rw-r--r-- | native/android/Android.mk | 4 |
1 files changed, 3 insertions, 1 deletions
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) |