2010-06-19 04:06:50 +02:00
|
|
|
# Build the unit tests.
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2014-09-12 19:48:12 +02:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
2010-06-19 04:06:50 +02:00
|
|
|
|
2014-09-12 19:48:12 +02:00
|
|
|
LOCAL_C_INCLUDES := \
|
2015-01-23 01:45:28 +01:00
|
|
|
system/core/fs_mgr/include
|
2010-06-19 04:06:50 +02:00
|
|
|
|
2016-12-06 17:22:04 +01:00
|
|
|
LOCAL_STATIC_LIBRARIES := libselinux libvold liblog libcrypto
|
2017-02-07 09:52:08 +01:00
|
|
|
|
2014-09-12 19:48:12 +02:00
|
|
|
LOCAL_SRC_FILES := VolumeManager_test.cpp
|
|
|
|
LOCAL_MODULE := vold_tests
|
|
|
|
LOCAL_MODULE_TAGS := eng tests
|
2010-06-19 04:06:50 +02:00
|
|
|
|
2017-10-19 01:15:49 +02:00
|
|
|
LOCAL_CFLAGS := -Wall -Werror
|
2014-09-12 19:48:12 +02:00
|
|
|
include $(BUILD_NATIVE_TEST)
|
2017-02-07 09:52:08 +01:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
|
|
|
|
|
|
|
# LOCAL_C_INCLUDES := \
|
|
|
|
system/core/fs_mgr/include
|
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := libselinux libvold liblog libcrypto
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libutils \
|
|
|
|
libbase \
|
|
|
|
libhardware \
|
|
|
|
libhardware_legacy \
|
|
|
|
libhwbinder \
|
|
|
|
libhidlbase \
|
|
|
|
libkeystore_binder \
|
|
|
|
android.hardware.keymaster@3.0
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := CryptfsScryptHidlizationEquivalence_test.cpp
|
|
|
|
LOCAL_MODULE := vold_cryptfs_scrypt_hidlization_equivalence_test
|
|
|
|
LOCAL_MODULE_TAGS := eng tests
|
|
|
|
|
|
|
|
include $(BUILD_NATIVE_TEST)
|