blob: f37efec7130659f57070e40164c0e610fb118c85 [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 \
Mathias Agopiana4e19522013-07-31 20:09:53 -070016 libbinder \
Mathias Agopian2f739f82011-07-07 14:54:30 -070017 libstlport \
18 libutils \
Daniel Lam1cbcb982012-04-16 22:21:02 -070019 libgui \
Mathias Agopian2f739f82011-07-07 14:54:30 -070020
21LOCAL_STATIC_LIBRARIES := \
22 libgtest \
23 libgtest_main \
24
25LOCAL_C_INCLUDES := \
26 bionic \
Jamie Gennis98c63832011-11-07 17:03:54 -080027 bionic/libc/private \
Mathias Agopian2f739f82011-07-07 14:54:30 -070028 bionic/libstdc++/include \
29 external/gtest/include \
30 external/stlport/stlport \
Mathias Agopian373c2b22012-03-07 19:46:57 -080031 frameworks/native/opengl/libs \
32 frameworks/native/opengl/libs/EGL \
Mathias Agopian2f739f82011-07-07 14:54:30 -070033
Ben Cheng20b97492012-11-06 23:11:35 -080034# gold in binutils 2.22 will warn about the usage of mktemp
35LOCAL_LDFLAGS += -Wl,--no-fatal-warnings
36
Mathias Agopian2f739f82011-07-07 14:54:30 -070037include $(BUILD_EXECUTABLE)
38
Mathias Agopian2f739f82011-07-07 14:54:30 -070039# Include subdirectory makefiles
40# ============================================================
41
42# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
43# team really wants is to build the stuff defined by this makefile.
44ifeq (,$(ONE_SHOT_MAKEFILE))
45include $(call first-makefiles-under,$(LOCAL_PATH))
46endif