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	libandroid \
18	libbinder \
19	libcutils \
20	libgui \
21	libstlport \
22	libui \
23	libutils \
24
25LOCAL_C_INCLUDES := \
26    bionic \
27    bionic/libstdc++/include \
28    external/gtest/include \
29    external/stlport/stlport \
30
31# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
32# to integrate with auto-test framework.
33include $(BUILD_NATIVE_TEST)
34
35# Include subdirectory makefiles
36# ============================================================
37
38# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
39# team really wants is to build the stuff defined by this makefile.
40ifeq (,$(ONE_SHOT_MAKEFILE))
41include $(call first-makefiles-under,$(LOCAL_PATH))
42endif
43