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