blob: e53e67fdbbf5bd3a066b4e5c5977fc22fd50d94a [file] [log] [blame]
Kenny Root4fd0db72012-03-16 13:19:07 -07001# Build the keymaster unit tests
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7 keymaster_test.cpp
8
9# Note that "bionic" is needed because of stlport
10LOCAL_C_INCLUDES := \
11 bionic \
Kenny Root4fd0db72012-03-16 13:19:07 -070012 external/gtest/include \
Kenny Root8467a6d2012-08-08 17:04:40 -070013 external/openssl/include \
Kenny Root4fd0db72012-03-16 13:19:07 -070014 external/stlport/stlport
15
16LOCAL_SHARED_LIBRARIES := \
17 liblog \
18 libutils \
Kenny Root8467a6d2012-08-08 17:04:40 -070019 libcrypto \
Kenny Root4fd0db72012-03-16 13:19:07 -070020 libstlport \
21 libhardware
22
23LOCAL_STATIC_LIBRARIES := \
24 libgtest \
25 libgtest_main
26
27LOCAL_MODULE := keymaster_test
28
29LOCAL_MODULE_TAGS := tests
30
31include $(BUILD_EXECUTABLE)