blob: 3dd97ff041479ca44e91508614db7eb119079e33 [file] [log] [blame]
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
LOCAL_STATIC_LIBRARIES := libselinux
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)