blob: 0308af3abf683f316f6eef7d0b366b84129673ac [file] [log] [blame]
Jamie Gennis134f0422011-03-08 12:18:54 -08001# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
Jamie Gennisd99c0882011-03-10 16:24:46 -08005LOCAL_MODULE := SurfaceTexture_test
Jamie Gennis134f0422011-03-08 12:18:54 -08006
Jamie Gennisd99c0882011-03-10 16:24:46 -08007LOCAL_MODULE_TAGS := tests
8
9LOCAL_SRC_FILES := \
Mathias Agopiand87f1622011-03-25 18:42:40 -070010 Surface_test.cpp \
Jamie Gennisd99c0882011-03-10 16:24:46 -080011 SurfaceTextureClient_test.cpp \
12 SurfaceTexture_test.cpp \
13
14LOCAL_SHARED_LIBRARIES := \
15 libEGL \
16 libGLESv2 \
17 libandroid \
Jamie Gennis134f0422011-03-08 12:18:54 -080018 libbinder \
Jamie Gennisd99c0882011-03-10 16:24:46 -080019 libcutils \
Jamie Gennis134f0422011-03-08 12:18:54 -080020 libgui \
21 libstlport \
Jamie Gennisd99c0882011-03-10 16:24:46 -080022 libui \
23 libutils \
Jamie Gennis134f0422011-03-08 12:18:54 -080024
Jamie Gennisd99c0882011-03-10 16:24:46 -080025LOCAL_STATIC_LIBRARIES := \
Jamie Gennis134f0422011-03-08 12:18:54 -080026 libgtest \
27 libgtest_main \
28
Jamie Gennisd99c0882011-03-10 16:24:46 -080029LOCAL_C_INCLUDES := \
Jamie Gennis134f0422011-03-08 12:18:54 -080030 bionic \
31 bionic/libstdc++/include \
32 external/gtest/include \
33 external/stlport/stlport \
34
Jamie Gennisd99c0882011-03-10 16:24:46 -080035include $(BUILD_EXECUTABLE)
Jamie Gennis134f0422011-03-08 12:18:54 -080036
Jamie Gennis134f0422011-03-08 12:18:54 -080037# Include subdirectory makefiles
38# ============================================================
39
40# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
41# team really wants is to build the stuff defined by this makefile.
42ifeq (,$(ONE_SHOT_MAKEFILE))
43include $(call first-makefiles-under,$(LOCAL_PATH))
44endif