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 04:21:24 +0200
commit7aa88748f6ec4e53333d1a15747bc44826ccc410 (patch)
tree98edb6021753eec604eb1105c45b4e8e7fa569a3 /otafault/Android.mk
parentMerge "Report uncrypt errors in details" (diff)
downloadandroid_bootable_recovery-7aa88748f6ec4e53333d1a15747bc44826ccc410.tar
android_bootable_recovery-7aa88748f6ec4e53333d1a15747bc44826ccc410.tar.gz
android_bootable_recovery-7aa88748f6ec4e53333d1a15747bc44826ccc410.tar.bz2
android_bootable_recovery-7aa88748f6ec4e53333d1a15747bc44826ccc410.tar.lz
android_bootable_recovery-7aa88748f6ec4e53333d1a15747bc44826ccc410.tar.xz
android_bootable_recovery-7aa88748f6ec4e53333d1a15747bc44826ccc410.tar.zst
android_bootable_recovery-7aa88748f6ec4e53333d1a15747bc44826ccc410.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