summaryrefslogtreecommitdiffstats
path: root/libzipfile/Android.mk
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 (patch)
tree54fd1b2695a591d2306d41264df67c53077b752c /libzipfile/Android.mk
downloadcore-4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53.tar.gz
core-4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53.tar.bz2
core-4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53.zip
Initial Contribution
Diffstat (limited to 'libzipfile/Android.mk')
-rw-r--r--libzipfile/Android.mk48
1 files changed, 48 insertions, 0 deletions
diff --git a/libzipfile/Android.mk b/libzipfile/Android.mk
new file mode 100644
index 000000000..d2d758cc2
--- /dev/null
+++ b/libzipfile/Android.mk
@@ -0,0 +1,48 @@
+LOCAL_PATH:= $(call my-dir)
+
+# build host static library
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ centraldir.c \
+ zipfile.c
+
+LOCAL_STATIC_LIBRARIES := \
+ libunz
+
+LOCAL_MODULE:= libzipfile
+
+LOCAL_C_INCLUDES += external/zlib
+
+include $(BUILD_HOST_STATIC_LIBRARY)
+
+# build device static library
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ centraldir.c \
+ zipfile.c
+
+LOCAL_STATIC_LIBRARIES := \
+ libunz
+
+LOCAL_MODULE:= libzipfile
+
+LOCAL_C_INCLUDES += external/zlib
+
+include $(BUILD_STATIC_LIBRARY)
+
+
+# build test_zipfile
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ test_zipfile.c
+
+LOCAL_STATIC_LIBRARIES := libzipfile libunz
+
+LOCAL_MODULE := test_zipfile
+
+LOCAL_C_INCLUDES += external/zlib
+
+include $(BUILD_HOST_EXECUTABLE)