summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-30 19:48:23 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-30 19:48:23 +0200
commitdbde5cf1d5b76b6cee3f22e17b05881551ac8d8b (patch)
treebbbd3b7918991412222eb8a534153aa19ef593df /Android.mk
parentMerge "Report uncrypt errors in details" am: af8b9363c6 (diff)
parentMerge "Turn on -Werror for recovery" (diff)
downloadandroid_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.gz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.bz2
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.lz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.xz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.zst
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 76e99b6e2..7fa98b049 100644
--- a/Android.mk
+++ b/Android.mk
@@ -66,7 +66,7 @@ endif
RECOVERY_API_VERSION := 3
RECOVERY_FSTAB_VERSION := 2
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
-LOCAL_CFLAGS += -Wno-unused-parameter
+LOCAL_CFLAGS += -Wno-unused-parameter -Werror
LOCAL_CLANG := true
LOCAL_C_INCLUDES += \
@@ -146,6 +146,7 @@ LOCAL_SRC_FILES := \
verifier.cpp \
ui.cpp
LOCAL_STATIC_LIBRARIES := libcrypto_utils libcrypto libbase
+LOCAL_CFLAGS := -Werror
include $(BUILD_STATIC_LIBRARY)
include $(LOCAL_PATH)/minui/Android.mk \