summaryrefslogtreecommitdiffstats
path: root/otafault/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-28 20:42:17 +0200
committerTianjie Xu <xunchang@google.com>2016-09-30 20:18:01 +0200
commit17e316cce0047dcb892fb6dae9924cf6e0b41516 (patch)
treeed0fa36534423e5fa55c22afa38248bd1dd303c1 /otafault/Android.mk
parentMerge "Report uncrypt errors in details" into nyc-mr1-dev-plus-aosp (diff)
downloadandroid_bootable_recovery-17e316cce0047dcb892fb6dae9924cf6e0b41516.tar
android_bootable_recovery-17e316cce0047dcb892fb6dae9924cf6e0b41516.tar.gz
android_bootable_recovery-17e316cce0047dcb892fb6dae9924cf6e0b41516.tar.bz2
android_bootable_recovery-17e316cce0047dcb892fb6dae9924cf6e0b41516.tar.lz
android_bootable_recovery-17e316cce0047dcb892fb6dae9924cf6e0b41516.tar.xz
android_bootable_recovery-17e316cce0047dcb892fb6dae9924cf6e0b41516.tar.zst
android_bootable_recovery-17e316cce0047dcb892fb6dae9924cf6e0b41516.zip
Diffstat (limited to 'otafault/Android.mk')
-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