summaryrefslogtreecommitdiffstats
path: root/tests/keymaster/Android.mk
blob: 2661211b139dba3ece148ce84e602a82fd0421e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Build the keymaster unit tests

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
    keymaster_test.cpp

# Note that "bionic" is needed because of stlport
LOCAL_C_INCLUDES := \
    bionic \
    external/gtest/include \
    external/stlport/stlport

LOCAL_SHARED_LIBRARIES := \
    liblog \
    libutils \
    libstlport \
    libhardware

LOCAL_STATIC_LIBRARIES := \
    libgtest \
    libgtest_main

LOCAL_MODULE := keymaster_test

LOCAL_MODULE_TAGS := tests

include $(BUILD_EXECUTABLE)