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 | |
Kenny Root | 7eb7567 | 2012-10-16 10:47:27 -0700 | [diff] [blame] | 11 | LOCAL_C_INCLUDES := \ |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 12 | external/zlib \ |
| 13 | external/safe-iop/include |
Stephen Smalley | 779701d | 2012-02-09 14:13:23 -0500 | [diff] [blame] | 14 | |
Kenny Root | 7eb7567 | 2012-10-16 10:47:27 -0700 | [diff] [blame] | 15 | LOCAL_STATIC_LIBRARIES := libselinux |
Stephen Smalley | 779701d | 2012-02-09 14:13:23 -0500 | [diff] [blame] | 16 | |
Ethan Yonker | 738be7a | 2014-12-10 11:40:43 -0600 | [diff] [blame] | 17 | LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) |
| 18 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 19 | LOCAL_MODULE := libminzip |
| 20 | |
| 21 | LOCAL_CFLAGS += -Wall |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 22 | LOCAL_SHARED_LIBRARIES := libz |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 23 | |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 24 | include $(BUILD_SHARED_LIBRARY) |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 25 | |
| 26 | |
| 27 | include $(CLEAR_VARS) |
| 28 | |
| 29 | LOCAL_SRC_FILES := \ |
| 30 | Hash.c \ |
| 31 | SysUtil.c \ |
| 32 | DirUtil.c \ |
| 33 | Inlines.c \ |
| 34 | Zip.c |
| 35 | |
| 36 | LOCAL_C_INCLUDES += \ |
| 37 | external/zlib \ |
| 38 | external/safe-iop/include |
| 39 | |
Dees Troy | 4bf3b0d | 2013-09-11 19:12:49 +0000 | [diff] [blame] | 40 | ifeq ($(TWHAVE_SELINUX),true) |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 41 | LOCAL_C_INCLUDES += external/libselinux/include |
| 42 | LOCAL_STATIC_LIBRARIES += libselinux |
| 43 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 44 | endif |
| 45 | |
| 46 | LOCAL_MODULE := libminzip |
| 47 | |
| 48 | LOCAL_CFLAGS += -Wall |
| 49 | LOCAL_STATIC_LIBRARIES := libz |
| 50 | |
| 51 | include $(BUILD_STATIC_LIBRARY) |