blob: 55ac1330e9ec6fe02792ec5b0777acfc7b8b18b3 [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 \
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_C_INCLUDES := \
Jamie Gennis134f0422011-03-08 12:18:54 -080026 bionic \
27 bionic/libstdc++/include \
28 external/gtest/include \
29 external/stlport/stlport \
30
Xia Wang4c875162011-08-30 18:48:11 -070031# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
32# to integrate with auto-test framework.
33include $(BUILD_NATIVE_TEST)
Jamie Gennis134f0422011-03-08 12:18:54 -080034
Jamie Gennis134f0422011-03-08 12:18:54 -080035# 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