blob: 90321d67e0eef7c8e7c138fbbaf2663e40d5f3fb [file] [log] [blame]
Dees_Troy2673cec2013-04-02 20:22:16 +00001LOCAL_PATH := $(call my-dir)
Trevor Drake27fab9b2013-05-16 01:58:13 +01002ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
Dees_Troy2673cec2013-04-02 20:22:16 +00003include $(CLEAR_VARS)
4
5LOCAL_MODULE := libcryptfsjb
Matt Mowerdb220442014-10-31 22:43:59 -05006LOCAL_MODULE_TAGS := eng optional
7LOCAL_CFLAGS :=
Dees_Troy2673cec2013-04-02 20:22:16 +00008LOCAL_SRC_FILES = cryptfs.c
Matt Mower55c75ca2014-08-31 11:30:15 -05009LOCAL_C_INCLUDES += \
10 system/extras/ext4_utils \
11 external/openssl/include \
12 $(commands_recovery_local_path)/crypto/scrypt/lib/crypto
Dees Troy4dff2e62013-11-10 04:11:43 +000013LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto libext4_utils
14LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp libscrypttwrp_static liblogwraptwrp libmincrypttwrp
Dees_Troy2673cec2013-04-02 20:22:16 +000015
Trevor Drake27fab9b2013-05-16 01:58:13 +010016include $(BUILD_SHARED_LIBRARY)
Matt Mowerdb220442014-10-31 22:43:59 -050017endif