blob: 8d3a9b5ebafa65f00e0a34f6861793da374eb651 [file] [log] [blame]
Jamie Gennisd2acedf2011-03-08 12:18:54 -08001# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
5ifneq ($(TARGET_SIMULATOR),true)
6
Jamie Gennisf3cedb62011-03-10 16:24:46 -08007LOCAL_MODULE := SurfaceTexture_test
Jamie Gennisd2acedf2011-03-08 12:18:54 -08008
Jamie Gennisf3cedb62011-03-10 16:24:46 -08009LOCAL_MODULE_TAGS := tests
10
11LOCAL_SRC_FILES := \
Mathias Agopian696257c2011-03-25 18:42:40 -070012 Surface_test.cpp \
Jamie Gennisf3cedb62011-03-10 16:24:46 -080013 SurfaceTextureClient_test.cpp \
14 SurfaceTexture_test.cpp \
15
16LOCAL_SHARED_LIBRARIES := \
17 libEGL \
18 libGLESv2 \
19 libandroid \
Jamie Gennisd2acedf2011-03-08 12:18:54 -080020 libbinder \
Jamie Gennisf3cedb62011-03-10 16:24:46 -080021 libcutils \
Jamie Gennisd2acedf2011-03-08 12:18:54 -080022 libgui \
23 libstlport \
Jamie Gennisf3cedb62011-03-10 16:24:46 -080024 libui \
25 libutils \
Jamie Gennisd2acedf2011-03-08 12:18:54 -080026
Jamie Gennisf3cedb62011-03-10 16:24:46 -080027LOCAL_STATIC_LIBRARIES := \
Jamie Gennisd2acedf2011-03-08 12:18:54 -080028 libgtest \
29 libgtest_main \
30
Jamie Gennisf3cedb62011-03-10 16:24:46 -080031LOCAL_C_INCLUDES := \
Jamie Gennisd2acedf2011-03-08 12:18:54 -080032 bionic \
33 bionic/libstdc++/include \
34 external/gtest/include \
35 external/stlport/stlport \
36
Jamie Gennisf3cedb62011-03-10 16:24:46 -080037include $(BUILD_EXECUTABLE)
Jamie Gennisd2acedf2011-03-08 12:18:54 -080038
Jamie Gennisd2acedf2011-03-08 12:18:54 -080039endif
40
41# Include subdirectory makefiles
42# ============================================================
43
44# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
45# team really wants is to build the stuff defined by this makefile.
46ifeq (,$(ONE_SHOT_MAKEFILE))
47include $(call first-makefiles-under,$(LOCAL_PATH))
48endif