Android.mk revision e41b318bc4708e1dee9364e73215ff0d51fb76a1
1# Build the unit tests,
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
5LOCAL_MODULE := SurfaceTexture_test
6
7LOCAL_MODULE_TAGS := tests
8
9LOCAL_SRC_FILES := \
10    Surface_test.cpp \
11    SurfaceTextureClient_test.cpp \
12    SurfaceTexture_test.cpp \
13
14LOCAL_SHARED_LIBRARIES := \
15	libEGL \
16	libGLESv2 \
17	libbinder \
18	libcutils \
19	libgui \
20	libstlport \
21	libui \
22	libutils \
23
24LOCAL_C_INCLUDES := \
25    bionic \
26    bionic/libstdc++/include \
27    external/gtest/include \
28    external/stlport/stlport \
29
30# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
31# to integrate with auto-test framework.
32include $(BUILD_NATIVE_TEST)
33
34include $(CLEAR_VARS)
35
36LOCAL_MODULE := CpuConsumer_test
37
38LOCAL_MODULE_TAGS := tests
39
40LOCAL_SRC_FILES := \
41    CpuConsumer_test.cpp
42
43LOCAL_SHARED_LIBRARIES := \
44	libEGL \
45	libGLESv2 \
46	libbinder \
47	libcutils \
48	libgui \
49	libstlport \
50	libui \
51	libutils \
52
53LOCAL_C_INCLUDES := \
54    bionic \
55    bionic/libstdc++/include \
56    external/gtest/include \
57    external/stlport/stlport \
58
59# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
60# to integrate with auto-test framework.
61include $(BUILD_NATIVE_TEST)
62
63# Include subdirectory makefiles
64# ============================================================
65
66# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
67# team really wants is to build the stuff defined by this makefile.
68ifeq (,$(ONE_SHOT_MAKEFILE))
69include $(call first-makefiles-under,$(LOCAL_PATH))
70endif
71