blob: b7724509b2379f5e7e8a9840bd87d428a090c67f [file] [log] [blame]
Mathias Agopian2f739f82011-07-07 14:54:30 -07001# Build the unit tests.
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
Dan Albertb79dfe62014-09-11 18:45:33 -07004LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Mathias Agopian2f739f82011-07-07 14:54:30 -07005
Mathias Agopian2f739f82011-07-07 14:54:30 -07006LOCAL_MODULE := EGL_test
7
8LOCAL_MODULE_TAGS := tests
9
10LOCAL_SRC_FILES := \
Jamie Gennis98c63832011-11-07 17:03:54 -080011 egl_cache_test.cpp \
Mathias Agopian2f739f82011-07-07 14:54:30 -070012 EGL_test.cpp \
13
14LOCAL_SHARED_LIBRARIES := \
15 libEGL \
16 libcutils \
Mathias Agopiana4e19522013-07-31 20:09:53 -070017 libbinder \
Mathias Agopian2f739f82011-07-07 14:54:30 -070018 libutils \
Daniel Lam1cbcb982012-04-16 22:21:02 -070019 libgui \
Kalle Raita454c92e2016-11-17 15:23:17 -080020 libbase \
Mathias Agopian2f739f82011-07-07 14:54:30 -070021
Mathias Agopian2f739f82011-07-07 14:54:30 -070022LOCAL_C_INCLUDES := \
Jamie Gennis98c63832011-11-07 17:03:54 -080023 bionic/libc/private \
Mathias Agopian373c2b22012-03-07 19:46:57 -080024 frameworks/native/opengl/libs \
25 frameworks/native/opengl/libs/EGL \
Mathias Agopian2f739f82011-07-07 14:54:30 -070026
Ben Cheng20b97492012-11-06 23:11:35 -080027# gold in binutils 2.22 will warn about the usage of mktemp
28LOCAL_LDFLAGS += -Wl,--no-fatal-warnings
29
Dan Albertb79dfe62014-09-11 18:45:33 -070030include $(BUILD_NATIVE_TEST)
Mathias Agopian2f739f82011-07-07 14:54:30 -070031
Mathias Agopian2f739f82011-07-07 14:54:30 -070032# Include subdirectory makefiles
33# ============================================================
34
35# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
36# team really wants is to build the stuff defined by this makefile.
37ifeq (,$(ONE_SHOT_MAKEFILE))
38include $(call first-makefiles-under,$(LOCAL_PATH))
39endif