summaryrefslogtreecommitdiffstats
path: root/crypto/lollipop/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-11-11 21:52:28 +0100
committerDees Troy <dees_troy@teamw.in>2014-11-12 18:07:24 +0100
commit4eca40d7d8ff6968ed68a24686093cfb6f5f6373 (patch)
tree39a211a1f021a98d7ee2c57d939891dccbc96048 /crypto/lollipop/Android.mk
parentMake TWRP compile for arm64 (diff)
downloadandroid_bootable_recovery-4eca40d7d8ff6968ed68a24686093cfb6f5f6373.tar
android_bootable_recovery-4eca40d7d8ff6968ed68a24686093cfb6f5f6373.tar.gz
android_bootable_recovery-4eca40d7d8ff6968ed68a24686093cfb6f5f6373.tar.bz2
android_bootable_recovery-4eca40d7d8ff6968ed68a24686093cfb6f5f6373.tar.lz
android_bootable_recovery-4eca40d7d8ff6968ed68a24686093cfb6f5f6373.tar.xz
android_bootable_recovery-4eca40d7d8ff6968ed68a24686093cfb6f5f6373.tar.zst
android_bootable_recovery-4eca40d7d8ff6968ed68a24686093cfb6f5f6373.zip
Diffstat (limited to '')
-rw-r--r--crypto/lollipop/Android.mk52
1 files changed, 52 insertions, 0 deletions
diff --git a/crypto/lollipop/Android.mk b/crypto/lollipop/Android.mk
new file mode 100644
index 000000000..cce070b56
--- /dev/null
+++ b/crypto/lollipop/Android.mk
@@ -0,0 +1,52 @@
+LOCAL_PATH := $(call my-dir)
+ifeq ($(TW_INCLUDE_L_CRYPTO), true)
+include $(CLEAR_VARS)
+
+common_c_includes := \
+ system/extras/ext4_utils \
+ system/extras/f2fs_utils \
+ external/openssl/include \
+ external/stlport/stlport \
+ bionic \
+ external/scrypt/lib/crypto \
+ frameworks/native/include \
+ system/security/keystore \
+ hardware/libhardware/include/hardware \
+ system/security/softkeymaster/include/keymaster
+
+common_shared_libraries := \
+ libsysutils \
+ libstlport \
+ libbinder \
+ libcutils \
+ liblog \
+ libdiskconfig \
+ libhardware_legacy \
+ liblogwrap \
+ libext4_utils \
+ libf2fs_sparseblock \
+ libcrypto \
+ libselinux \
+ libutils \
+ libhardware \
+ libsoftkeymaster
+
+LOCAL_MODULE := libcryptfslollipop
+LOCAL_MODULE_TAGS := eng optional
+LOCAL_CFLAGS :=
+LOCAL_SRC_FILES = cryptfs.c
+#LOCAL_C_INCLUDES += \
+# system/extras/ext4_utils \
+# external/openssl/include \
+# system/extras/f2fs_utils \
+# external/scrypt/lib/crypto \
+# system/security/keystore \
+# hardware/libhardware/include/hardware \
+# system/security/softkeymaster/include/keymaster
+#LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto libext4_utils
+LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
+LOCAL_C_INCLUDES := external/openssl/include $(common_c_includes)
+LOCAL_STATIC_LIBRARIES += libfs_mgr libscrypt_static liblogwrap libmincrypttwrp
+
+include $(BUILD_SHARED_LIBRARY)
+endif