blob: ab5f4bdecabbe6b6dabe403bef00857c03c5aad0 [file] [log] [blame]
Mathias Agopian2f739f82011-07-07 14:54:30 -07001# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
5ifneq ($(TARGET_SIMULATOR),true)
6
7LOCAL_MODULE := EGL_test
8
9LOCAL_MODULE_TAGS := tests
10
11LOCAL_SRC_FILES := \
12 EGL_test.cpp \
13
14LOCAL_SHARED_LIBRARIES := \
15 libEGL \
16 libcutils \
17 libstlport \
18 libutils \
19
20LOCAL_STATIC_LIBRARIES := \
21 libgtest \
22 libgtest_main \
23
24LOCAL_C_INCLUDES := \
25 bionic \
26 bionic/libstdc++/include \
27 external/gtest/include \
28 external/stlport/stlport \
29
30include $(BUILD_EXECUTABLE)
31
32endif
33
34# 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