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 |
Matt Mower | db22044 | 2014-10-31 22:43:59 -0500 | [diff] [blame] | 6 | LOCAL_MODULE_TAGS := eng optional |
| 7 | LOCAL_CFLAGS := |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 8 | LOCAL_SRC_FILES = cryptfs.c |
Matt Mower | 55c75ca | 2014-08-31 11:30:15 -0500 | [diff] [blame] | 9 | LOCAL_C_INCLUDES += \ |
| 10 | system/extras/ext4_utils \ |
| 11 | external/openssl/include \ |
| 12 | $(commands_recovery_local_path)/crypto/scrypt/lib/crypto |
Dees Troy | 4dff2e6 | 2013-11-10 04:11:43 +0000 | [diff] [blame] | 13 | LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto libext4_utils |
| 14 | LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp libscrypttwrp_static liblogwraptwrp libmincrypttwrp |
Dees_Troy | 2673cec | 2013-04-02 20:22:16 +0000 | [diff] [blame] | 15 | |
Trevor Drake | 27fab9b | 2013-05-16 01:58:13 +0100 | [diff] [blame] | 16 | include $(BUILD_SHARED_LIBRARY) |
Matt Mower | db22044 | 2014-10-31 22:43:59 -0500 | [diff] [blame] | 17 | endif |