blob: 68485abe1deda528d479e5aaa7ae3dbdf0337aab [file] [log] [blame]
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -08001LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES := \
5 Hash.c \
6 SysUtil.c \
7 DirUtil.c \
8 Inlines.c \
9 Zip.c
10
Kenny Root7eb75672012-10-16 10:47:27 -070011LOCAL_C_INCLUDES := \
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080012 external/zlib \
13 external/safe-iop/include
Stephen Smalley779701d2012-02-09 14:13:23 -050014
Kenny Root7eb75672012-10-16 10:47:27 -070015LOCAL_STATIC_LIBRARIES := libselinux
Stephen Smalley779701d2012-02-09 14:13:23 -050016
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080017LOCAL_MODULE := libminzip
18
19LOCAL_CFLAGS += -Wall
Dees_Troy2673cec2013-04-02 20:22:16 +000020LOCAL_SHARED_LIBRARIES := libz
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080021
Dees_Troy2673cec2013-04-02 20:22:16 +000022include $(BUILD_SHARED_LIBRARY)
Dees_Troyf6b15d12013-04-11 15:29:54 +000023
24
25include $(CLEAR_VARS)
26
27LOCAL_SRC_FILES := \
28 Hash.c \
29 SysUtil.c \
30 DirUtil.c \
31 Inlines.c \
32 Zip.c
33
34LOCAL_C_INCLUDES += \
35 external/zlib \
36 external/safe-iop/include
37
Dees Troy4bf3b0d2013-09-11 19:12:49 +000038ifeq ($(TWHAVE_SELINUX),true)
Dees_Troyf6b15d12013-04-11 15:29:54 +000039LOCAL_C_INCLUDES += external/libselinux/include
40LOCAL_STATIC_LIBRARIES += libselinux
41LOCAL_CFLAGS += -DHAVE_SELINUX
42endif
43
44LOCAL_MODULE := libminzip
45
46LOCAL_CFLAGS += -Wall
47LOCAL_STATIC_LIBRARIES := libz
48
49include $(BUILD_STATIC_LIBRARY)