From edc3fb3b9f9250ceacaf07a83beb5dde02807f9c Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- Android.mk | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Android.mk (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..50373d3 --- /dev/null +++ b/Android.mk @@ -0,0 +1,49 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +# measurements show that the ARM version of ZLib is about x1.17 faster +# than the thumb one... +LOCAL_ARM_MODE := arm + +LOCAL_SRC_FILES:= \ + adler32.c \ + compress.c \ + crc32.c \ + gzio.c \ + uncompr.c \ + deflate.c \ + trees.c \ + zutil.c \ + inflate.c \ + infback.c \ + inftrees.c \ + inffast.c + +LOCAL_MODULE:= libz + +LOCAL_CFLAGS+= -O3 -DUSE_MMAP + +include $(BUILD_SHARED_LIBRARY) + + + +unzip_files := \ + adler32.c \ + crc32.c \ + zutil.c \ + inflate.c \ + inftrees.c \ + inffast.c + +include $(CLEAR_VARS) +LOCAL_SRC_FILES := $(unzip_files) +LOCAL_MODULE:= libunz +LOCAL_ARM_MODE := arm +include $(BUILD_HOST_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_SRC_FILES := $(unzip_files) +LOCAL_MODULE:= libunz +LOCAL_ARM_MODE := arm +include $(BUILD_STATIC_LIBRARY) + -- cgit v1.2.3