blob: 741534b0584b9646b868acba3f2de037775ef0eb [file] [log] [blame]
Xia Wang4c875162011-08-30 18:48:11 -07001# Build the unit tests,
Jamie Gennis134f0422011-03-08 12:18:54 -08002LOCAL_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 \
Jamie Gennis134f0422011-03-08 12:18:54 -080017 libbinder \
Jamie Gennisd99c0882011-03-10 16:24:46 -080018 libcutils \
Jamie Gennis134f0422011-03-08 12:18:54 -080019 libgui \
20 libstlport \
Jamie Gennisd99c0882011-03-10 16:24:46 -080021 libui \
22 libutils \
Jamie Gennis134f0422011-03-08 12:18:54 -080023
Jamie Gennisd99c0882011-03-10 16:24:46 -080024LOCAL_C_INCLUDES := \
Jamie Gennis134f0422011-03-08 12:18:54 -080025 bionic \
26 bionic/libstdc++/include \
27 external/gtest/include \
28 external/stlport/stlport \
29
Xia Wang4c875162011-08-30 18:48:11 -070030# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
31# to integrate with auto-test framework.
32include $(BUILD_NATIVE_TEST)
Jamie Gennis134f0422011-03-08 12:18:54 -080033
Jamie Gennis134f0422011-03-08 12:18:54 -080034# Include subdirectory makefiles
35# ============================================================
36
37# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
38# team really wants is to build the stuff defined by this makefile.
39ifeq (,$(ONE_SHOT_MAKEFILE))
40include $(call first-makefiles-under,$(LOCAL_PATH))
41endif