summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-12-16 06:48:02 +0100
committerEthan Yonker <dees_troy@teamw.in>2018-01-04 14:40:22 +0100
commite131bec179826431b7b89e4748ae05e8a4262145 (patch)
tree6d03dc4ffe679f642438fc9451dffdc57d4055fe /crypto/ext4crypt/Android.mk
parentMerge up to android-8.1.0_r1 and fix conflicts (diff)
downloadandroid_bootable_recovery-e131bec179826431b7b89e4748ae05e8a4262145.tar
android_bootable_recovery-e131bec179826431b7b89e4748ae05e8a4262145.tar.gz
android_bootable_recovery-e131bec179826431b7b89e4748ae05e8a4262145.tar.bz2
android_bootable_recovery-e131bec179826431b7b89e4748ae05e8a4262145.tar.lz
android_bootable_recovery-e131bec179826431b7b89e4748ae05e8a4262145.tar.xz
android_bootable_recovery-e131bec179826431b7b89e4748ae05e8a4262145.tar.zst
android_bootable_recovery-e131bec179826431b7b89e4748ae05e8a4262145.zip
Diffstat (limited to '')
-rw-r--r--crypto/ext4crypt/Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/ext4crypt/Android.mk b/crypto/ext4crypt/Android.mk
index af5ab3af0..693b67518 100644
--- a/crypto/ext4crypt/Android.mk
+++ b/crypto/ext4crypt/Android.mk
@@ -28,6 +28,7 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0)
LOCAL_CFLAGS += -DHAVE_LIBKEYUTILS
LOCAL_SHARED_LIBRARIES += libkeyutils
endif
+ LOCAL_ADDITIONAL_DEPENDENCIES := keystore_auth
else
LOCAL_SRC_FILES += Keymaster.cpp KeyStorage.cpp
endif
@@ -58,4 +59,15 @@ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
include $(BUILD_EXECUTABLE)
+include $(CLEAR_VARS)
+LOCAL_MODULE := keystore_auth
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
+LOCAL_SRC_FILES := keystore_auth.cpp
+LOCAL_SHARED_LIBRARIES := libc libkeystore_binder libutils libbinder liblog
+LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
+
+include $(BUILD_EXECUTABLE)
+
endif