summaryrefslogtreecommitdiffstats
path: root/crypto/jb/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/jb/Android.mk')
-rw-r--r--crypto/jb/Android.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/jb/Android.mk b/crypto/jb/Android.mk
new file mode 100644
index 000000000..90321d67e
--- /dev/null
+++ b/crypto/jb/Android.mk
@@ -0,0 +1,17 @@
+LOCAL_PATH := $(call my-dir)
+ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libcryptfsjb
+LOCAL_MODULE_TAGS := eng optional
+LOCAL_CFLAGS :=
+LOCAL_SRC_FILES = cryptfs.c
+LOCAL_C_INCLUDES += \
+ system/extras/ext4_utils \
+ external/openssl/include \
+ $(commands_recovery_local_path)/crypto/scrypt/lib/crypto
+LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto libext4_utils
+LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp libscrypttwrp_static liblogwraptwrp libmincrypttwrp
+
+include $(BUILD_SHARED_LIBRARY)
+endif