summaryrefslogtreecommitdiffstats
path: root/applypatch/Android.mk
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 /applypatch/Android.mk
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 'applypatch/Android.mk')
-rw-r--r--applypatch/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index 0fc6e3682..77e499ec6 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -36,6 +36,7 @@ LOCAL_STATIC_LIBRARIES += \
libcrypto \
libbz \
libz
+LOCAL_CFLAGS := -Werror
include $(BUILD_STATIC_LIBRARY)
# libimgpatch (static library)
@@ -49,6 +50,7 @@ LOCAL_C_INCLUDES += \
bootable/recovery
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES += libcrypto libbz libz
+LOCAL_CFLAGS := -Werror
include $(BUILD_STATIC_LIBRARY)
# libimgpatch (host static library)
@@ -63,6 +65,7 @@ LOCAL_C_INCLUDES += \
bootable/recovery
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES += libcrypto libbz libz
+LOCAL_CFLAGS := -Werror
include $(BUILD_HOST_STATIC_LIBRARY)
# applypatch (executable)
@@ -81,6 +84,7 @@ LOCAL_STATIC_LIBRARIES += \
libcrypto \
libbz
LOCAL_SHARED_LIBRARIES += libbase libz libcutils libc
+LOCAL_CFLAGS := -Werror
include $(BUILD_EXECUTABLE)
# imgdiff (host static executable)
@@ -95,5 +99,6 @@ LOCAL_STATIC_LIBRARIES += \
libdivsufsort64 \
libdivsufsort \
libz
+LOCAL_CFLAGS := -Werror
LOCAL_FORCE_STATIC_EXECUTABLE := true
include $(BUILD_HOST_EXECUTABLE)