blob: 03840873a7a3ba9b2c18855212d6af4a07cdf65e [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
6LOCAL_MODULE_TAGS := eng
7LOCAL_MODULES_TAGS = optional
8LOCAL_CFLAGS =
9LOCAL_SRC_FILES = cryptfs.c
Matt Mower55c75ca2014-08-31 11:30:15 -050010LOCAL_C_INCLUDES += \
11 system/extras/ext4_utils \
12 external/openssl/include \
13 $(commands_recovery_local_path)/crypto/scrypt/lib/crypto
Dees Troy4dff2e62013-11-10 04:11:43 +000014LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto libext4_utils
15LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp libscrypttwrp_static liblogwraptwrp libmincrypttwrp
Dees_Troy2673cec2013-04-02 20:22:16 +000016
Trevor Drake27fab9b2013-05-16 01:58:13 +010017include $(BUILD_SHARED_LIBRARY)
18endif