summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-04-11 17:29:54 +0200
committerDees_Troy <dees_troy@teamw.in>2013-04-11 17:29:54 +0200
commitf6b15d1d454b85348dcb9566aad22fd7ed5e665a (patch)
treeb47cc6779dce3ae58f07516a61d66e151f7eff85
parentImprove backup list results (diff)
downloadandroid_bootable_recovery-f6b15d1d454b85348dcb9566aad22fd7ed5e665a.tar
android_bootable_recovery-f6b15d1d454b85348dcb9566aad22fd7ed5e665a.tar.gz
android_bootable_recovery-f6b15d1d454b85348dcb9566aad22fd7ed5e665a.tar.bz2
android_bootable_recovery-f6b15d1d454b85348dcb9566aad22fd7ed5e665a.tar.lz
android_bootable_recovery-f6b15d1d454b85348dcb9566aad22fd7ed5e665a.tar.xz
android_bootable_recovery-f6b15d1d454b85348dcb9566aad22fd7ed5e665a.tar.zst
android_bootable_recovery-f6b15d1d454b85348dcb9566aad22fd7ed5e665a.zip
-rw-r--r--minzip/Android.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/minzip/Android.mk b/minzip/Android.mk
index 73407b770..0435c6afb 100644
--- a/minzip/Android.mk
+++ b/minzip/Android.mk
@@ -24,3 +24,30 @@ LOCAL_CFLAGS += -Wall
LOCAL_SHARED_LIBRARIES := libz
include $(BUILD_SHARED_LIBRARY)
+
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ Hash.c \
+ SysUtil.c \
+ DirUtil.c \
+ Inlines.c \
+ Zip.c
+
+LOCAL_C_INCLUDES += \
+ external/zlib \
+ external/safe-iop/include
+
+ifeq ($(HAVE_SELINUX),true)
+LOCAL_C_INCLUDES += external/libselinux/include
+LOCAL_STATIC_LIBRARIES += libselinux
+LOCAL_CFLAGS += -DHAVE_SELINUX
+endif
+
+LOCAL_MODULE := libminzip
+
+LOCAL_CFLAGS += -Wall
+LOCAL_STATIC_LIBRARIES := libz
+
+include $(BUILD_STATIC_LIBRARY)