41405bb3e5
The libcrypto and libssl modules (and their respective static and host versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module is sufficient. Additionally, cryptfs.h was including an OpenSSL header just to get the length of a SHA-256 hash. Rather than force all users of this header to also depend on libcrypto, it's easier just to define that value in the header file. Change-Id: I3e3e0db906a212e1093944b298e4a8ff2e2fb07d
19 lines
411 B
Makefile
19 lines
411 B
Makefile
# Build the unit tests.
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
system/core/fs_mgr/include
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libcrypto \
|
|
|
|
LOCAL_STATIC_LIBRARIES := libvold
|
|
LOCAL_SRC_FILES := VolumeManager_test.cpp
|
|
LOCAL_MODULE := vold_tests
|
|
LOCAL_MODULE_TAGS := eng tests
|
|
|
|
include $(BUILD_NATIVE_TEST)
|