diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-07-01 22:23:35 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@5.9.244.119> | 2013-07-01 22:23:35 +0200 |
commit | 35813e66daa4a6b181d742ae67568b0e9ace015f (patch) | |
tree | b16df1e4ea446b993146265a47fdb17f97b38058 | |
parent | FB2PNG: Add fb2png source to TWRP (diff) | |
parent | Fix CFLAGS for Samsung decrypt (diff) | |
download | android_bootable_recovery-35813e66daa4a6b181d742ae67568b0e9ace015f.tar android_bootable_recovery-35813e66daa4a6b181d742ae67568b0e9ace015f.tar.gz android_bootable_recovery-35813e66daa4a6b181d742ae67568b0e9ace015f.tar.bz2 android_bootable_recovery-35813e66daa4a6b181d742ae67568b0e9ace015f.tar.lz android_bootable_recovery-35813e66daa4a6b181d742ae67568b0e9ace015f.tar.xz android_bootable_recovery-35813e66daa4a6b181d742ae67568b0e9ace015f.tar.zst android_bootable_recovery-35813e66daa4a6b181d742ae67568b0e9ace015f.zip |
-rw-r--r-- | crypto/ics/Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/ics/Android.mk b/crypto/ics/Android.mk index 88f3b845a..4529ae5cf 100644 --- a/crypto/ics/Android.mk +++ b/crypto/ics/Android.mk @@ -6,6 +6,18 @@ LOCAL_MODULE := libcryptfsics LOCAL_MODULE_TAGS := eng LOCAL_MODULES_TAGS = optional LOCAL_CFLAGS = +LOCAL_CFLAGS += -DCRYPTO_FS_TYPE=\"$(TW_CRYPTO_FS_TYPE)\" +ifeq ($(TW_INCLUDE_CRYPTO_SAMSUNG), true) + LOCAL_CFLAGS += -DTW_INCLUDE_CRYPTO_SAMSUNG=\"$(TW_INCLUDE_CRYPTO_SAMSUNG)\" + LOCAL_LDFLAGS += -ldl + LOCAL_STATIC_LIBRARIES += libcrypt_samsung +endif +ifneq ($(TW_INTERNAL_STORAGE_PATH),) + LOCAL_CFLAGS += -DTW_INTERNAL_STORAGE_PATH=$(TW_INTERNAL_STORAGE_PATH) +endif +ifneq ($(TW_EXTERNAL_STORAGE_PATH),) + LOCAL_CFLAGS += -DTW_EXTERNAL_STORAGE_PATH=$(TW_EXTERNAL_STORAGE_PATH) +endif LOCAL_SRC_FILES = cryptfs.c LOCAL_C_INCLUDES += system/extras/ext4_utils external/openssl/include LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto |