Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
Trevor Drake | 27fab9b | 2013-05-16 01:58:13 +0100 | [diff] [blame] | 2 | ifeq ($(TW_INCLUDE_JB_CRYPTO), true) |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE := libcryptfsjb |
| 6 | LOCAL_MODULE_TAGS := eng |
| 7 | LOCAL_MODULES_TAGS = optional |
| 8 | LOCAL_CFLAGS = |
| 9 | LOCAL_SRC_FILES = cryptfs.c |
Matt Mower | 55c75ca | 2014-08-31 11:30:15 -0500 | [diff] [blame] | 10 | LOCAL_C_INCLUDES += \ |
| 11 | system/extras/ext4_utils \ |
| 12 | external/openssl/include \ |
| 13 | $(commands_recovery_local_path)/crypto/scrypt/lib/crypto |
Dees Troy | 4dff2e6 | 2013-11-10 04:11:43 +0000 | [diff] [blame] | 14 | LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto libext4_utils |
| 15 | LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp libscrypttwrp_static liblogwraptwrp libmincrypttwrp |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 16 | |
Trevor Drake | 27fab9b | 2013-05-16 01:58:13 +0100 | [diff] [blame] | 17 | include $(BUILD_SHARED_LIBRARY) |
| 18 | endif |