diff options
author | Elliott Hughes <enh@google.com> | 2012-01-31 11:31:13 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-01-31 11:31:13 -0800 |
commit | ee9e11d0d4e3361533860bf04896abb86a291bfb (patch) | |
tree | e54371f8731899df19f2c000dbd98dc8ad871662 /Android.mk | |
parent | 69e5801bd16a495e1c1666669fe827b1ddb8d56b (diff) | |
download | zlib-ee9e11d0d4e3361533860bf04896abb86a291bfb.tar.gz |
Upgrade to zlib 1.2.6.
Change-Id: Id2bcb4a91755b39521c1151ebdcae557a4a783ce
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -9,18 +9,18 @@ zlib_files := \ adler32.c \ compress.c \ crc32.c \ + deflate.c \ gzclose.c \ gzlib.c \ gzread.c \ gzwrite.c \ - uncompr.c \ - deflate.c \ - trees.c \ - zutil.c \ - inflate.c \ infback.c \ + inflate.c \ inftrees.c \ - inffast.c + inffast.c \ + trees.c \ + uncompr.c \ + zutil.c LOCAL_MODULE := libz LOCAL_MODULE_TAGS := optional @@ -56,22 +56,21 @@ include $(BUILD_HOST_STATIC_LIBRARY) -unzip_files := \ - adler32.c \ - crc32.c \ - zutil.c \ - inflate.c \ - inftrees.c \ - inffast.c +# 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 +# itself. This caused trouble during the 1.2.6 upgrade because libunz ended +# up needing to drag in most of the other files anyway. So this is a first +# step towards killing libunz. If you're reading this in the K release or +# later, please see if you can get a bit further in removing libunz... include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(unzip_files) +LOCAL_SRC_FILES := $(zlib_files) LOCAL_MODULE:= libunz LOCAL_ARM_MODE := arm include $(BUILD_HOST_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(unzip_files) +LOCAL_SRC_FILES := $(zlib_files) LOCAL_MODULE:= libunz LOCAL_ARM_MODE := arm ifneq ($(TARGET_ARCH),x86) |