Dees Troy | b7ae098 | 2013-09-10 20:47:35 +0000 | [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 | |
Ethan Yonker | 75bf041 | 2014-11-21 13:54:27 -0600 | [diff] [blame] | 11 | LOCAL_C_INCLUDES := \ |
Dees Troy | b7ae098 | 2013-09-10 20:47:35 +0000 | [diff] [blame] | 12 | external/zlib \ |
| 13 | external/safe-iop/include |
| 14 | |
Ethan Yonker | 75bf041 | 2014-11-21 13:54:27 -0600 | [diff] [blame] | 15 | LOCAL_STATIC_LIBRARIES := libselinux |
Dees Troy | b7ae098 | 2013-09-10 20:47:35 +0000 | [diff] [blame] | 16 | |
| 17 | LOCAL_MODULE := libminzip |
| 18 | |
| 19 | LOCAL_CFLAGS += -Wall |
| 20 | LOCAL_SHARED_LIBRARIES := libz |
| 21 | |
| 22 | include $(BUILD_SHARED_LIBRARY) |
| 23 | |
| 24 | |
| 25 | include $(CLEAR_VARS) |
| 26 | |
| 27 | LOCAL_SRC_FILES := \ |
| 28 | Hash.c \ |
| 29 | SysUtil.c \ |
| 30 | DirUtil.c \ |
| 31 | Inlines.c \ |
| 32 | Zip.c |
| 33 | |
| 34 | LOCAL_C_INCLUDES += \ |
| 35 | external/zlib \ |
| 36 | external/safe-iop/include |
| 37 | |
Ethan Yonker | 75bf041 | 2014-11-21 13:54:27 -0600 | [diff] [blame] | 38 | ifeq ($(TWHAVE_SELINUX),true) |
Dees Troy | b7ae098 | 2013-09-10 20:47:35 +0000 | [diff] [blame] | 39 | LOCAL_C_INCLUDES += external/libselinux/include |
| 40 | LOCAL_STATIC_LIBRARIES += libselinux |
| 41 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 42 | endif |
| 43 | |
| 44 | LOCAL_MODULE := libminzip |
| 45 | |
| 46 | LOCAL_CFLAGS += -Wall |
| 47 | LOCAL_STATIC_LIBRARIES := libz |
| 48 | |
| 49 | include $(BUILD_STATIC_LIBRARY) |