blob: d8208756671d239db2051efa0e192f692c5d6b6a [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 := \
Jamie Gennis98c63832011-11-07 17:03:54 -080010 egl_cache_test.cpp \
Mathias Agopian2f739f82011-07-07 14:54:30 -070011 EGL_test.cpp \
12
13LOCAL_SHARED_LIBRARIES := \
14 libEGL \
15 libcutils \
16 libstlport \
17 libutils \
Daniel Lam1cbcb982012-04-16 22:21:02 -070018 libgui \
Mathias Agopian2f739f82011-07-07 14:54:30 -070019
20LOCAL_STATIC_LIBRARIES := \
21 libgtest \
22 libgtest_main \
23
24LOCAL_C_INCLUDES := \
25 bionic \
Jamie Gennis98c63832011-11-07 17:03:54 -080026 bionic/libc/private \
Mathias Agopian2f739f82011-07-07 14:54:30 -070027 bionic/libstdc++/include \
28 external/gtest/include \
29 external/stlport/stlport \
Mathias Agopian373c2b22012-03-07 19:46:57 -080030 frameworks/native/opengl/libs \
31 frameworks/native/opengl/libs/EGL \
Mathias Agopian2f739f82011-07-07 14:54:30 -070032
33include $(BUILD_EXECUTABLE)
34
Mathias Agopian2f739f82011-07-07 14:54:30 -070035# Include subdirectory makefiles
36# ============================================================
37
38# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
39# team really wants is to build the stuff defined by this makefile.
40ifeq (,$(ONE_SHOT_MAKEFILE))
41include $(call first-makefiles-under,$(LOCAL_PATH))
42endif