summaryrefslogtreecommitdiffstats
path: root/otafault
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-30 19:41:14 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-09-30 19:41:14 +0200
commit695ef7cacc128efc0b710cb25d39c72da2eaef36 (patch)
tree98edb6021753eec604eb1105c45b4e8e7fa569a3 /otafault
parentMerge "Report uncrypt errors in details" (diff)
parentTurn on -Werror for recovery (diff)
downloadandroid_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.gz
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.bz2
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.lz
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.xz
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.zst
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.zip
Diffstat (limited to 'otafault')
-rw-r--r--otafault/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/otafault/Android.mk b/otafault/Android.mk
index 47c04050b..82c267101 100644
--- a/otafault/Android.mk
+++ b/otafault/Android.mk
@@ -23,6 +23,7 @@ otafault_static_libs := \
libbase \
liblog
+LOCAL_CFLAGS := -Werror
LOCAL_SRC_FILES := config.cpp ota_io.cpp
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libotafault
@@ -41,6 +42,7 @@ LOCAL_SRC_FILES := config.cpp ota_io.cpp test.cpp
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE := otafault_test
LOCAL_STATIC_LIBRARIES := $(otafault_static_libs)
+LOCAL_CFLAGS := -Werror
LOCAL_C_INCLUDES := bootable/recovery
LOCAL_FORCE_STATIC_EXECUTABLE := true