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 | |
Matt Mower | 231daef | 2015-11-11 23:13:44 -0600 | [diff] [blame] | 15 | LOCAL_C_INCLUDES += external/libselinux/include |
| 16 | LOCAL_SHARED_LIBRARIES += libselinux |
Stephen Smalley | 779701d | 2012-02-09 14:13:23 -0500 | [diff] [blame] | 17 | |
Ethan Yonker | 738be7a | 2014-12-10 11:40:43 -0600 | [diff] [blame] | 18 | LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) |
| 19 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 20 | LOCAL_MODULE := libminzip |
| 21 | |
Matt Mower | 231daef | 2015-11-11 23:13:44 -0600 | [diff] [blame] | 22 | LOCAL_SHARED_LIBRARIES += libz |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 23 | |
Ethan Yonker | 34ae483 | 2016-08-24 15:32:18 -0500 | [diff] [blame] | 24 | LOCAL_CLANG := true |
| 25 | |
| 26 | LOCAL_CFLAGS += -Werror -Wall |
| 27 | |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 28 | include $(BUILD_SHARED_LIBRARY) |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 29 | |
| 30 | |
| 31 | include $(CLEAR_VARS) |
| 32 | |
| 33 | LOCAL_SRC_FILES := \ |
| 34 | Hash.c \ |
| 35 | SysUtil.c \ |
| 36 | DirUtil.c \ |
| 37 | Inlines.c \ |
| 38 | Zip.c |
| 39 | |
| 40 | LOCAL_C_INCLUDES += \ |
| 41 | external/zlib \ |
| 42 | external/safe-iop/include |
| 43 | |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 44 | LOCAL_C_INCLUDES += external/libselinux/include |
| 45 | LOCAL_STATIC_LIBRARIES += libselinux |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 46 | |
Ethan Yonker | 34ae483 | 2016-08-24 15:32:18 -0500 | [diff] [blame] | 47 | LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) |
| 48 | |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 49 | LOCAL_MODULE := libminzip |
| 50 | |
Matt Mower | 231daef | 2015-11-11 23:13:44 -0600 | [diff] [blame] | 51 | LOCAL_STATIC_LIBRARIES += libz |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 52 | |
Tao Bao | 80e46e0 | 2015-06-03 10:49:29 -0700 | [diff] [blame] | 53 | LOCAL_CLANG := true |
| 54 | |
Elliott Hughes | f267dee | 2015-06-23 12:31:02 -0700 | [diff] [blame] | 55 | LOCAL_CFLAGS += -Werror -Wall |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 56 | |
Dees_Troy | f6b15d1 | 2013-04-11 15:29:54 +0000 | [diff] [blame] | 57 | include $(BUILD_STATIC_LIBRARY) |