blob: 45e8061afee815f3273a00678cb560eb2bc40313 [file] [log] [blame]
Jeff Browne839a582010-04-22 18:58:52 -07001# Build the unit tests.
2LOCAL_PATH := $(call my-dir)
3include $(CLEAR_VARS)
4
5test_src_files := \
6 PollLoop_test.cpp
7
8LOCAL_SHARED_LIBRARIES := \
9 libz \
10 liblog \
11 libcutils \
12 libutils \
13 libstlport
14
15LOCAL_STATIC_LIBRARIES := \
16 libgtest \
17 libgtest_main
18
19LOCAL_C_INCLUDES := \
20 external/zlib \
21 external/icu4c/common \
22 bionic \
23 bionic/libstdc++/include \
24 external/gtest/include \
25 external/stlport/stlport
26
27LOCAL_MODULE_TAGS := eng tests
28
29$(foreach file,$(test_src_files), \
30 $(eval LOCAL_SRC_FILES := $(file)) \
31 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
32 $(eval include $(BUILD_EXECUTABLE)) \
33)