summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2018-03-28 14:55:45 +0200
committerDees Troy <dees_troy@teamw.in>2018-05-25 18:24:09 +0200
commitca3fd0c0fa9164f34fd4bb3ae0914e8244cda637 (patch)
tree6a40090e2b507d395a64483e745339a4a96ca471 /crypto
parentvold_decrypt: Code cleanup (diff)
downloadandroid_bootable_recovery-ca3fd0c0fa9164f34fd4bb3ae0914e8244cda637.tar
android_bootable_recovery-ca3fd0c0fa9164f34fd4bb3ae0914e8244cda637.tar.gz
android_bootable_recovery-ca3fd0c0fa9164f34fd4bb3ae0914e8244cda637.tar.bz2
android_bootable_recovery-ca3fd0c0fa9164f34fd4bb3ae0914e8244cda637.tar.lz
android_bootable_recovery-ca3fd0c0fa9164f34fd4bb3ae0914e8244cda637.tar.xz
android_bootable_recovery-ca3fd0c0fa9164f34fd4bb3ae0914e8244cda637.tar.zst
android_bootable_recovery-ca3fd0c0fa9164f34fd4bb3ae0914e8244cda637.zip
Diffstat (limited to 'crypto')
-rw-r--r--crypto/vold_decrypt/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/vold_decrypt/Android.mk b/crypto/vold_decrypt/Android.mk
index ddfad0327..19c2963c0 100644
--- a/crypto/vold_decrypt/Android.mk
+++ b/crypto/vold_decrypt/Android.mk
@@ -89,6 +89,12 @@ ifeq ($(TW_INCLUDE_CRYPTO), true)
ifeq ($(TW_CRYPTO_SYSTEM_VOLD_DEBUG),true)
# Enabling strace will expose the password in the strace logs!!
LOCAL_CFLAGS += -DTW_CRYPTO_SYSTEM_VOLD_DEBUG
+ else
+ ifneq ($(TW_CRYPTO_SYSTEM_VOLD_DEBUG),)
+ # Specify strace path
+ LOCAL_CFLAGS += -DTW_CRYPTO_SYSTEM_VOLD_DEBUG
+ LOCAL_CFLAGS += -DVD_STRACE_BIN=\"$(TW_CRYPTO_SYSTEM_VOLD_DEBUG)\"
+ endif
endif
LOCAL_SRC_FILES = vold_decrypt.cpp