blob: 92d7eb12ac9dc70ae8edc610bb1ceab4debb205c [file] [log] [blame]
Mathias Agopian2f739f82011-07-07 14:54:30 -07001# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
Mathias Agopian2f739f82011-07-07 14:54:30 -07005LOCAL_MODULE := EGL_test
6
7LOCAL_MODULE_TAGS := tests
8
9LOCAL_SRC_FILES := \
10 EGL_test.cpp \
11
12LOCAL_SHARED_LIBRARIES := \
13 libEGL \
14 libcutils \
15 libstlport \
16 libutils \
17
18LOCAL_STATIC_LIBRARIES := \
19 libgtest \
20 libgtest_main \
21
22LOCAL_C_INCLUDES := \
23 bionic \
24 bionic/libstdc++/include \
25 external/gtest/include \
26 external/stlport/stlport \
27
28include $(BUILD_EXECUTABLE)
29
Mathias Agopian2f739f82011-07-07 14:54:30 -070030# Include subdirectory makefiles
31# ============================================================
32
33# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
34# team really wants is to build the stuff defined by this makefile.
35ifeq (,$(ONE_SHOT_MAKEFILE))
36include $(call first-makefiles-under,$(LOCAL_PATH))
37endif