summaryrefslogtreecommitdiffstats
path: root/minzipold/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-09-10 22:47:35 +0200
committerDees Troy <dees_troy@teamw.in>2013-09-10 22:47:46 +0200
commitb7ae098e21e4a5f8496d8d064ed2f38d59509eeb (patch)
tree66a8623d9b950df4eb8c2d4ceff3d58f28406980 /minzipold/Android.mk
parentMerge "Hack-fix build with different system/core/charger versions" into twrp2.7 (diff)
downloadandroid_bootable_recovery-b7ae098e21e4a5f8496d8d064ed2f38d59509eeb.tar
android_bootable_recovery-b7ae098e21e4a5f8496d8d064ed2f38d59509eeb.tar.gz
android_bootable_recovery-b7ae098e21e4a5f8496d8d064ed2f38d59509eeb.tar.bz2
android_bootable_recovery-b7ae098e21e4a5f8496d8d064ed2f38d59509eeb.tar.lz
android_bootable_recovery-b7ae098e21e4a5f8496d8d064ed2f38d59509eeb.tar.xz
android_bootable_recovery-b7ae098e21e4a5f8496d8d064ed2f38d59509eeb.tar.zst
android_bootable_recovery-b7ae098e21e4a5f8496d8d064ed2f38d59509eeb.zip
Diffstat (limited to 'minzipold/Android.mk')
-rw-r--r--minzipold/Android.mk53
1 files changed, 53 insertions, 0 deletions
diff --git a/minzipold/Android.mk b/minzipold/Android.mk
new file mode 100644
index 000000000..0435c6afb
--- /dev/null
+++ b/minzipold/Android.mk
@@ -0,0 +1,53 @@
+LOCAL_PATH := $(call my-dir)
+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_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)