blob: 3127352e1ee4ce2abaaaf895f095ce3c58c4066b [file] [log] [blame]
Kenny Rootacc9e7d2010-06-18 19:06:50 -07001# Build the unit tests.
2LOCAL_PATH := $(call my-dir)
Dan Albertb2aaf3a2014-09-12 10:48:12 -07003
Kenny Rootacc9e7d2010-06-18 19:06:50 -07004include $(CLEAR_VARS)
Dan Albertb2aaf3a2014-09-12 10:48:12 -07005LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Kenny Rootacc9e7d2010-06-18 19:06:50 -07006
Dan Albertb2aaf3a2014-09-12 10:48:12 -07007LOCAL_C_INCLUDES := \
Jeff Sharkey11c2d382017-09-11 10:32:01 -06008 system/core/fs_mgr/include \
9 system/vold/
Kenny Rootacc9e7d2010-06-18 19:06:50 -070010
Jeff Sharkey11c2d382017-09-11 10:32:01 -060011LOCAL_STATIC_LIBRARIES := libbase libselinux libvold liblog libcrypto
Janis Danisevskis2ad849b2017-02-07 08:52:08 +000012
Jeff Sharkey95440eb2017-09-18 18:19:28 -060013LOCAL_SRC_FILES := \
14 cryptfs_test.cpp \
15 VolumeManager_test.cpp \
16
Dan Albertb2aaf3a2014-09-12 10:48:12 -070017LOCAL_MODULE := vold_tests
18LOCAL_MODULE_TAGS := eng tests
Kenny Rootacc9e7d2010-06-18 19:06:50 -070019
Dan Albertb2aaf3a2014-09-12 10:48:12 -070020include $(BUILD_NATIVE_TEST)
Janis Danisevskis2ad849b2017-02-07 08:52:08 +000021
22include $(CLEAR_VARS)
23LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
24
25# LOCAL_C_INCLUDES := \
26 system/core/fs_mgr/include
27
28LOCAL_STATIC_LIBRARIES := libselinux libvold liblog libcrypto
29LOCAL_SHARED_LIBRARIES := \
30 libutils \
31 libbase \
32 libhardware \
33 libhardware_legacy \
34 libhwbinder \
35 libhidlbase \
36 libkeystore_binder \
37 android.hardware.keymaster@3.0
38
39LOCAL_SRC_FILES := CryptfsScryptHidlizationEquivalence_test.cpp
40LOCAL_MODULE := vold_cryptfs_scrypt_hidlization_equivalence_test
41LOCAL_MODULE_TAGS := eng tests
42
43include $(BUILD_NATIVE_TEST)