| Kenny Root | 4fd0db7 | 2012-03-16 13:19:07 -0700 | [diff] [blame] | 1 | # Build the keymaster unit tests |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES:= \ |
| 7 | keymaster_test.cpp |
| 8 | |
| 9 | # Note that "bionic" is needed because of stlport |
| 10 | LOCAL_C_INCLUDES := \ |
| 11 | bionic \ |
| Kenny Root | 4fd0db7 | 2012-03-16 13:19:07 -0700 | [diff] [blame] | 12 | external/gtest/include \ |
| Kenny Root | 8467a6d | 2012-08-08 17:04:40 -0700 | [diff] [blame] | 13 | external/openssl/include \ |
| Kenny Root | 4fd0db7 | 2012-03-16 13:19:07 -0700 | [diff] [blame] | 14 | external/stlport/stlport |
| 15 | |
| 16 | LOCAL_SHARED_LIBRARIES := \ |
| 17 | liblog \ |
| 18 | libutils \ |
| Kenny Root | 8467a6d | 2012-08-08 17:04:40 -0700 | [diff] [blame] | 19 | libcrypto \ |
| Kenny Root | 4fd0db7 | 2012-03-16 13:19:07 -0700 | [diff] [blame] | 20 | libstlport \ |
| 21 | libhardware |
| 22 | |
| 23 | LOCAL_STATIC_LIBRARIES := \ |
| 24 | libgtest \ |
| 25 | libgtest_main |
| 26 | |
| 27 | LOCAL_MODULE := keymaster_test |
| 28 | |
| 29 | LOCAL_MODULE_TAGS := tests |
| 30 | |
| 31 | include $(BUILD_EXECUTABLE) |