Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 1 | # Build the unit tests. |
| 2 | LOCAL_PATH := $(call my-dir) |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 3 | |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 4 | include $(CLEAR_VARS) |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 5 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 6 | |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 7 | LOCAL_C_INCLUDES := \ |
Jeff Sharkey | 11c2d38 | 2017-09-11 10:32:01 -0600 | [diff] [blame] | 8 | system/core/fs_mgr/include \ |
| 9 | system/vold/ |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 10 | |
Jeff Sharkey | 11c2d38 | 2017-09-11 10:32:01 -0600 | [diff] [blame] | 11 | LOCAL_STATIC_LIBRARIES := libbase libselinux libvold liblog libcrypto |
Janis Danisevskis | 2ad849b | 2017-02-07 08:52:08 +0000 | [diff] [blame] | 12 | |
Jeff Sharkey | 95440eb | 2017-09-18 18:19:28 -0600 | [diff] [blame] | 13 | LOCAL_SRC_FILES := \ |
| 14 | cryptfs_test.cpp \ |
| 15 | VolumeManager_test.cpp \ |
| 16 | |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 17 | LOCAL_MODULE := vold_tests |
| 18 | LOCAL_MODULE_TAGS := eng tests |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 19 | |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 20 | include $(BUILD_NATIVE_TEST) |
Janis Danisevskis | 2ad849b | 2017-02-07 08:52:08 +0000 | [diff] [blame] | 21 | |
| 22 | include $(CLEAR_VARS) |
| 23 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 24 | |
| 25 | # LOCAL_C_INCLUDES := \ |
| 26 | system/core/fs_mgr/include |
| 27 | |
| 28 | LOCAL_STATIC_LIBRARIES := libselinux libvold liblog libcrypto |
| 29 | LOCAL_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 | |
| 39 | LOCAL_SRC_FILES := CryptfsScryptHidlizationEquivalence_test.cpp |
| 40 | LOCAL_MODULE := vold_cryptfs_scrypt_hidlization_equivalence_test |
| 41 | LOCAL_MODULE_TAGS := eng tests |
| 42 | |
| 43 | include $(BUILD_NATIVE_TEST) |