blob: 7516299446ab7119c75d3f3ed290411eeaed7c6e [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 := \
12 SurfaceTextureClient_test.cpp \
13 SurfaceTexture_test.cpp \
14
15LOCAL_SHARED_LIBRARIES := \
16 libEGL \
17 libGLESv2 \
18 libandroid \
Jamie Gennisd2acedf2011-03-08 12:18:54 -080019 libbinder \
Jamie Gennisf3cedb62011-03-10 16:24:46 -080020 libcutils \
Jamie Gennisd2acedf2011-03-08 12:18:54 -080021 libgui \
22 libstlport \
Jamie Gennisf3cedb62011-03-10 16:24:46 -080023 libsurfaceflinger_client \
24 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
39# Build the manual test programs.
40include $(call all-subdir-makefiles)
41
42endif
43
44# Include subdirectory makefiles
45# ============================================================
46
47# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
48# team really wants is to build the stuff defined by this makefile.
49ifeq (,$(ONE_SHOT_MAKEFILE))
50include $(call first-makefiles-under,$(LOCAL_PATH))
51endif