blob: b655648a8e7f4ad393c6750c1e216bcc69d9058c [file] [log] [blame]
Jamie Gennis23c2c5d2011-10-11 19:22:19 -07001# Build the unit tests,
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
5LOCAL_MODULE := SurfaceFlinger_test
6
7LOCAL_MODULE_TAGS := tests
8
9LOCAL_SRC_FILES := \
10 Transaction_test.cpp \
11
12LOCAL_SHARED_LIBRARIES := \
13 libEGL \
14 libGLESv2 \
15 libandroid \
16 libbinder \
17 libcutils \
18 libgui \
19 libstlport \
20 libui \
21 libutils \
22
23LOCAL_C_INCLUDES := \
24 bionic \
25 bionic/libstdc++/include \
26 external/gtest/include \
27 external/stlport/stlport \
28
29# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
30# to integrate with auto-test framework.
31include $(BUILD_NATIVE_TEST)
32
33# Include subdirectory makefiles
34# ============================================================
35
36# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
37# team really wants is to build the stuff defined by this makefile.
38ifeq (,$(ONE_SHOT_MAKEFILE))
39include $(call first-makefiles-under,$(LOCAL_PATH))
40endif