Files
android_bootable_recovery/crypto/scrypt/tests/Android.mk
Dees Troy 87da424556 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
2014-12-12 18:50:11 +00:00

27 lines
485 B
Makefile

# Build the scrypt unit tests
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_SRC_FILES:= \
scrypt_test.cpp
LOCAL_C_INCLUDES := \
external/gtest/include \
external/scrypt/lib/crypto
LOCAL_SHARED_LIBRARIES := \
libcrypto
LOCAL_STATIC_LIBRARIES := \
libscrypt_static \
libgtest \
libgtest_main
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := scrypttwrp_test
include $(BUILD_NATIVE_TEST)