summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2019-04-24 23:09:07 +0200
committerDees Troy <dees_troy@teamw.in>2019-05-24 22:39:12 +0200
commitabf1fb00862cec01d457972419fbff4b95cc6300 (patch)
tree33d00f57c1f7c7783eca85c9a383db43d279957d /crypto/ext4crypt
parentDigest: Create digest for each subpartition and not just the first. (diff)
downloadandroid_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.gz
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.bz2
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.lz
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.xz
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.tar.zst
android_bootable_recovery-abf1fb00862cec01d457972419fbff4b95cc6300.zip
Diffstat (limited to 'crypto/ext4crypt')
-rw-r--r--crypto/ext4crypt/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/ext4crypt/Android.mk b/crypto/ext4crypt/Android.mk
index 8e77cdf30..0c6ef5b56 100644
--- a/crypto/ext4crypt/Android.mk
+++ b/crypto/ext4crypt/Android.mk
@@ -45,7 +45,11 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0)
LOCAL_SHARED_LIBRARIES += libkeyutils
endif
endif
- LOCAL_REQUIRED_MODULES := keystore_auth
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
+ LOCAL_REQUIRED_MODULES := keystore_auth
+ else
+ LOCAL_ADDITIONAL_DEPENDENCIES := keystore_auth
+ endif
else
#7.x rules
LOCAL_SRC_FILES += Ext4Crypt.cpp Keymaster.cpp KeyStorage.cpp