blob: 14104d171ee0b404a06ce15af6bf6d4f42c38127 [file] [log] [blame]
Mathias Agopian222b4662011-07-07 14:54:30 -07001# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
Mathias Agopian222b4662011-07-07 14:54:30 -07005LOCAL_MODULE := EGL_test
6
7LOCAL_MODULE_TAGS := tests
8
9LOCAL_SRC_FILES := \
Jamie Gennisd90bf392011-11-07 17:03:54 -080010 egl_cache_test.cpp \
Mathias Agopian222b4662011-07-07 14:54:30 -070011 EGL_test.cpp \
12
13LOCAL_SHARED_LIBRARIES := \
14 libEGL \
15 libcutils \
16 libstlport \
17 libutils \
18
19LOCAL_STATIC_LIBRARIES := \
20 libgtest \
21 libgtest_main \
22
23LOCAL_C_INCLUDES := \
24 bionic \
Jamie Gennisd90bf392011-11-07 17:03:54 -080025 bionic/libc/private \
Mathias Agopian222b4662011-07-07 14:54:30 -070026 bionic/libstdc++/include \
27 external/gtest/include \
28 external/stlport/stlport \
Jamie Gennisd90bf392011-11-07 17:03:54 -080029 frameworks/base/opengl/libs \
30 frameworks/base/opengl/libs/EGL \
Mathias Agopian222b4662011-07-07 14:54:30 -070031
32include $(BUILD_EXECUTABLE)
33
Mathias Agopian222b4662011-07-07 14:54:30 -070034# 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