blob: 80e4867b2ef74e1a8e61f52ae54f0e4fdff9f529 [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 \
Mathias Agopian2f739f82011-07-07 14:54:30 -070020
Mathias Agopian2f739f82011-07-07 14:54:30 -070021LOCAL_C_INCLUDES := \
Jamie Gennis98c63832011-11-07 17:03:54 -080022 bionic/libc/private \
Mathias Agopian373c2b22012-03-07 19:46:57 -080023 frameworks/native/opengl/libs \
24 frameworks/native/opengl/libs/EGL \
Mathias Agopian2f739f82011-07-07 14:54:30 -070025
Ben Cheng20b97492012-11-06 23:11:35 -080026# gold in binutils 2.22 will warn about the usage of mktemp
27LOCAL_LDFLAGS += -Wl,--no-fatal-warnings
28
Dan Albertb79dfe62014-09-11 18:45:33 -070029include $(BUILD_NATIVE_TEST)
Mathias Agopian2f739f82011-07-07 14:54:30 -070030
Mathias Agopian2f739f82011-07-07 14:54:30 -070031# 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