summaryrefslogtreecommitdiffstats
path: root/otafault/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-30 22:34:23 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-30 22:34:23 +0200
commit10e223c18100239bfc55c7ceae1744ed84ab9843 (patch)
treed914da4be18ef00a95ba4585e2cec21053db46b4 /otafault/Android.mk
parentMerge "Turn on -Werror for recovery" am: 695ef7cacc am: 5269808bb0 am: dbde5cf1d5 -s ours (diff)
parentTurn on -Werror for recovery (diff)
downloadandroid_bootable_recovery-10e223c18100239bfc55c7ceae1744ed84ab9843.tar
android_bootable_recovery-10e223c18100239bfc55c7ceae1744ed84ab9843.tar.gz
android_bootable_recovery-10e223c18100239bfc55c7ceae1744ed84ab9843.tar.bz2
android_bootable_recovery-10e223c18100239bfc55c7ceae1744ed84ab9843.tar.lz
android_bootable_recovery-10e223c18100239bfc55c7ceae1744ed84ab9843.tar.xz
android_bootable_recovery-10e223c18100239bfc55c7ceae1744ed84ab9843.tar.zst
android_bootable_recovery-10e223c18100239bfc55c7ceae1744ed84ab9843.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