1# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
5
6LOCAL_MODULE := EGL_test
7
8LOCAL_MODULE_TAGS := tests
9
10LOCAL_SRC_FILES := \
11    egl_cache_test.cpp \
12    EGL_test.cpp \
13
14LOCAL_SHARED_LIBRARIES := \
15	libEGL \
16	libcutils \
17	libbinder \
18	libutils \
19	libgui \
20
21LOCAL_C_INCLUDES := \
22    bionic/libc/private \
23    frameworks/native/opengl/libs \
24    frameworks/native/opengl/libs/EGL \
25
26# gold in binutils 2.22 will warn about the usage of mktemp
27LOCAL_LDFLAGS += -Wl,--no-fatal-warnings
28
29include $(BUILD_NATIVE_TEST)
30
31# Include subdirectory makefiles
32# ============================================================
33
34# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
35# team really wants is to build the stuff defined by this makefile.
36ifeq (,$(ONE_SHOT_MAKEFILE))
37include $(call first-makefiles-under,$(LOCAL_PATH))
38endif
39