diff options
author | Elliott Hughes <enh@google.com> | 2011-07-13 17:39:21 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-05-03 16:02:20 -0700 |
commit | 13ee59ad1fec4e320540b5270251b77c6bf07c92 (patch) | |
tree | 7894a795cef26cc084a77d88a21d84f44194c6c3 /Android.mk | |
parent | 683eb93eef7832d39e1f121ce8115a41e2e77b2e (diff) | |
download | zlib-13ee59ad1fec4e320540b5270251b77c6bf07c92.tar.gz |
Make a libz.so for the host too.
(cherry picked from commit 7bd2783170024771e7406adb23c5955833f054b1)
Change-Id: Ic3b0af7ea00989544e5b0c7fd73c493226e65584
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -55,6 +55,16 @@ LOCAL_SRC_FILES := $(zlib_files) include $(BUILD_HOST_STATIC_LIBRARY) +include $(CLEAR_VARS) + +LOCAL_ARM_MODE := arm +LOCAL_MODULE := libz +LOCAL_MODULE_TAGS := optional +LOCAL_CFLAGS += -O3 -DUSE_MMAP +LOCAL_SRC_FILES := $(zlib_files) +include $(BUILD_HOST_SHARED_LIBRARY) + + # libunz used to be an unzip-only subset of libz. Only host-side tools were # taking advantage of it, though, and it's not a notion supported by zlib |