summaryrefslogtreecommitdiffstats
path: root/applypatch/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-01-20 21:19:44 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-01-20 21:19:44 +0100
commitca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2 (patch)
treeb2e5db48135124c31b3f4aa8ad4c274a3e0255f5 /applypatch/Android.mk
parentMerge "imgdiff: cache bsdiff suffix array in zip mode." (diff)
parentMerge "imgpatch: Compile with ZLIB_CONST defined." (diff)
downloadandroid_bootable_recovery-ca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2.tar
android_bootable_recovery-ca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2.tar.gz
android_bootable_recovery-ca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2.tar.bz2
android_bootable_recovery-ca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2.tar.lz
android_bootable_recovery-ca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2.tar.xz
android_bootable_recovery-ca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2.tar.zst
android_bootable_recovery-ca261d3b48ec38f30b4e7ed38b8a11b7a3f02df2.zip
Diffstat (limited to 'applypatch/Android.mk')
-rw-r--r--applypatch/Android.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index 85b5c9fcd..bdaef1b27 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -35,7 +35,9 @@ LOCAL_STATIC_LIBRARIES := \
libcrypto \
libbz \
libz
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := \
+ -DZLIB_CONST \
+ -Werror
include $(BUILD_STATIC_LIBRARY)
# libimgpatch (static library)
@@ -54,7 +56,9 @@ LOCAL_STATIC_LIBRARIES := \
libcrypto \
libbz \
libz
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := \
+ -DZLIB_CONST \
+ -Werror
include $(BUILD_STATIC_LIBRARY)
# libimgpatch (host static library)
@@ -74,7 +78,9 @@ LOCAL_STATIC_LIBRARIES := \
libcrypto \
libbz \
libz
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := \
+ -DZLIB_CONST \
+ -Werror
include $(BUILD_HOST_STATIC_LIBRARY)
# libapplypatch_modes (static library)