Ethan Yonker | 4eca40d | 2014-11-11 14:52:28 -0600 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
that | ceb7b8e | 2014-12-09 23:15:16 +0100 | [diff] [blame] | 2 | ifeq ($(TW_INCLUDE_CRYPTO), true) |
Ethan Yonker | 4eca40d | 2014-11-11 14:52:28 -0600 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
| 4 | |
Ethan Yonker | 4eca40d | 2014-11-11 14:52:28 -0600 | [diff] [blame] | 5 | LOCAL_MODULE := libcryptfslollipop |
| 6 | LOCAL_MODULE_TAGS := eng optional |
| 7 | LOCAL_CFLAGS := |
| 8 | LOCAL_SRC_FILES = cryptfs.c |
that | 183a6f8 | 2014-12-31 18:30:50 +0100 | [diff] [blame] | 9 | LOCAL_SHARED_LIBRARIES := libcrypto libhardware libcutils |
| 10 | LOCAL_C_INCLUDES := external/openssl/include $(commands_recovery_local_path)/crypto/scrypt/lib/crypto |
Ethan Yonker | 253368a | 2014-11-25 15:00:52 -0600 | [diff] [blame] | 11 | LOCAL_WHOLE_STATIC_LIBRARIES += libscrypttwrp_static |
| 12 | |
| 13 | include $(BUILD_SHARED_LIBRARY) |
| 14 | |
Ethan Yonker | 4eca40d | 2014-11-11 14:52:28 -0600 | [diff] [blame] | 15 | endif |