blob: 8b52f35ddb658951b1988be452d3b6a4aa09b163 [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
Matt Mower231daef2015-11-11 23:13:44 -060015LOCAL_C_INCLUDES += external/libselinux/include
16LOCAL_SHARED_LIBRARIES += libselinux
Stephen Smalley779701d2012-02-09 14:13:23 -050017
Ethan Yonker738be7a2014-12-10 11:40:43 -060018LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
19
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080020LOCAL_MODULE := libminzip
21
Matt Mower231daef2015-11-11 23:13:44 -060022LOCAL_SHARED_LIBRARIES += libz
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080023
Ethan Yonker34ae4832016-08-24 15:32:18 -050024LOCAL_CLANG := true
25
26LOCAL_CFLAGS += -Werror -Wall
27
Dees_Troy2673cec2013-04-02 20:22:16 +000028include $(BUILD_SHARED_LIBRARY)
Dees_Troyf6b15d12013-04-11 15:29:54 +000029
30
31include $(CLEAR_VARS)
32
33LOCAL_SRC_FILES := \
34 Hash.c \
35 SysUtil.c \
36 DirUtil.c \
37 Inlines.c \
38 Zip.c
39
40LOCAL_C_INCLUDES += \
41 external/zlib \
42 external/safe-iop/include
43
Dees_Troyf6b15d12013-04-11 15:29:54 +000044LOCAL_C_INCLUDES += external/libselinux/include
45LOCAL_STATIC_LIBRARIES += libselinux
Dees_Troyf6b15d12013-04-11 15:29:54 +000046
Ethan Yonker34ae4832016-08-24 15:32:18 -050047LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
48
Dees_Troyf6b15d12013-04-11 15:29:54 +000049LOCAL_MODULE := libminzip
50
Matt Mower231daef2015-11-11 23:13:44 -060051LOCAL_STATIC_LIBRARIES += libz
Dees_Troyf6b15d12013-04-11 15:29:54 +000052
Tao Bao80e46e02015-06-03 10:49:29 -070053LOCAL_CLANG := true
54
Elliott Hughesf267dee2015-06-23 12:31:02 -070055LOCAL_CFLAGS += -Werror -Wall
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080056
Dees_Troyf6b15d12013-04-11 15:29:54 +000057include $(BUILD_STATIC_LIBRARY)