From 87da4245566acfe067efd156287b0f4e613b93e9 Mon Sep 17 00:00:00 2001 From: Dees Troy Date: Fri, 12 Dec 2014 18:50:07 +0000 Subject: Fixes for compiling crypto in older trees Some of these fixes needed to be made anyway. Note that older trees will still need to have files / repos copied into them from newer trees. Namely we need: system/security/softkeymaster hardware/libhardware/include/hardware/keymaster.h Maybe others as I did not document very carefully what I was pulling in. Change-Id: I465fd1fbe228803ec02fba047b151f07ea13d5ca --- crypto/scrypt/Scrypt.mk | 2 +- crypto/scrypt/tests/Android.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'crypto/scrypt') diff --git a/crypto/scrypt/Scrypt.mk b/crypto/scrypt/Scrypt.mk index 45af97fc2..04fa6f879 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) +LOCAL_C_INCLUDES += $(target_c_includes) bootable/recovery/crypto/scrypt/lib/util LOCAL_MODULE_TAGS := optional LOCAL_MODULE:= libscrypttwrp_static LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) diff --git a/crypto/scrypt/tests/Android.mk b/crypto/scrypt/tests/Android.mk index 07c21023d..c20b41da9 100644 --- a/crypto/scrypt/tests/Android.mk +++ b/crypto/scrypt/tests/Android.mk @@ -20,6 +20,7 @@ LOCAL_STATIC_LIBRARIES := \ libgtest \ libgtest_main +LOCAL_MODULE_TAGS := optional LOCAL_MODULE := scrypttwrp_test include $(BUILD_NATIVE_TEST) -- cgit v1.2.3