From b7896268ed47df64dfbc19d05afcc0e04b7d330f Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 18 Dec 2014 15:30:31 -0600 Subject: Fix include paths in crypto Change-Id: Ia9fd0cd75bd6ee6e14909890cb18a8edb3b22267 --- crypto/lollipop/Android.mk | 2 +- crypto/scrypt/Scrypt.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto') diff --git a/crypto/lollipop/Android.mk b/crypto/lollipop/Android.mk index c98d42875..d263a9f32 100644 --- a/crypto/lollipop/Android.mk +++ b/crypto/lollipop/Android.mk @@ -8,7 +8,7 @@ common_c_includes := \ external/openssl/include \ external/stlport/stlport \ bionic \ - bootable/recovery/crypto/scrypt/lib/crypto \ + $(commands_recovery_local_path)/crypto/scrypt/lib/crypto \ frameworks/native/include \ system/security/keystore \ hardware/libhardware/include/hardware \ diff --git a/crypto/scrypt/Scrypt.mk b/crypto/scrypt/Scrypt.mk index 04fa6f879..d2a2fa413 100644 --- a/crypto/scrypt/Scrypt.mk +++ b/crypto/scrypt/Scrypt.mk @@ -24,7 +24,7 @@ endif LOCAL_SRC_FILES += $(target_src_files) LOCAL_CFLAGS += $(target_c_flags) -LOCAL_C_INCLUDES += $(target_c_includes) bootable/recovery/crypto/scrypt/lib/util +LOCAL_C_INCLUDES += $(target_c_includes) $(commands_recovery_local_path)/crypto/scrypt/lib/util LOCAL_MODULE_TAGS := optional LOCAL_MODULE:= libscrypttwrp_static LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) @@ -38,7 +38,7 @@ include $(LOCAL_PATH)/android-config.mk LOCAL_SHARED_LIBRARIES := $(log_shared_libraries) LOCAL_SRC_FILES += $(host_src_files) LOCAL_CFLAGS += $(host_c_flags) -LOCAL_C_INCLUDES += $(host_c_includes) +LOCAL_C_INCLUDES += $(host_c_includes) $(commands_recovery_local_path)/crypto/scrypt/lib/util LOCAL_LDLIBS += -ldl LOCAL_MODULE_TAGS := optional LOCAL_MODULE:= libscrypttwrp_static -- cgit v1.2.3