From dcd9f3f384f9497916118173ece71cd258cab876 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 5 Jun 2017 09:23:34 -0500 Subject: Fix issues building with LineageOS cryptfs_hw Change-Id: Ie22691433aefa3b8819ec14e0349ee12bd88a1c2 --- prebuilt/Android.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'prebuilt') diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index f03c66744..aff20d555 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -170,7 +170,11 @@ ifeq ($(TW_INCLUDE_CRYPTO), true) RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libhardware.so RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libgpt_twrp.so ifeq ($(TARGET_HW_DISK_ENCRYPTION),true) - RELINK_SOURCE_FILES += $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libcryptfs_hw.so + ifeq ($(TARGET_CRYPTFS_HW_PATH),) + RELINK_SOURCE_FILES += $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libcryptfs_hw.so + else + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfs_hw.so + endif endif # FBE files ifeq ($(TW_INCLUDE_CRYPTO_FBE), true) -- cgit v1.2.3