The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES := \ |
| 5 | Hash.c \ |
| 6 | SysUtil.c \ |
| 7 | DirUtil.c \ |
| 8 | Inlines.c \ |
| 9 | Zip.c |
| 10 | |
| 11 | LOCAL_C_INCLUDES += \ |
| 12 | external/zlib \ |
| 13 | external/safe-iop/include |
Stephen Smalley | 779701d | 2012-02-09 14:13:23 -0500 | [diff] [blame] | 14 | |
| 15 | ifeq ($(HAVE_SELINUX),true) |
| 16 | LOCAL_C_INCLUDES += external/libselinux/include |
| 17 | LOCAL_STATIC_LIBRARIES += libselinux |
| 18 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 19 | endif |
| 20 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 21 | LOCAL_MODULE := libminzip |
| 22 | |
| 23 | LOCAL_CFLAGS += -Wall |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 24 | LOCAL_SHARED_LIBRARIES := libz |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 25 | |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 26 | include $(BUILD_SHARED_LIBRARY) |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 27 | |
| 28 | |
| 29 | include $(CLEAR_VARS) |
| 30 | |
| 31 | LOCAL_SRC_FILES := \ |
| 32 | Hash.c \ |
| 33 | SysUtil.c \ |
| 34 | DirUtil.c \ |
| 35 | Inlines.c \ |
| 36 | Zip.c |
| 37 | |
| 38 | LOCAL_C_INCLUDES += \ |
| 39 | external/zlib \ |
| 40 | external/safe-iop/include |
| 41 | |
| 42 | ifeq ($(HAVE_SELINUX),true) |
| 43 | LOCAL_C_INCLUDES += external/libselinux/include |
| 44 | LOCAL_STATIC_LIBRARIES += libselinux |
| 45 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 46 | endif |
| 47 | |
| 48 | LOCAL_MODULE := libminzip |
| 49 | |
| 50 | LOCAL_CFLAGS += -Wall |
| 51 | LOCAL_STATIC_LIBRARIES := libz |
| 52 | |
| 53 | include $(BUILD_STATIC_LIBRARY) |