blob: 5620496e1763ad59686edd352ddf748f02ed3e26 [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 := \
Courtney Goeltzenleuchterf29f2872017-03-28 17:29:52 -060015 android.hardware.configstore@1.0 \
Courtney Goeltzenleuchterc221d642017-04-05 18:34:30 -060016 android.hardware.configstore-utils \
Mathias Agopian2f739f82011-07-07 14:54:30 -070017 libEGL \
18 libcutils \
Mathias Agopiana4e19522013-07-31 20:09:53 -070019 libbinder \
Courtney Goeltzenleuchterf29f2872017-03-28 17:29:52 -060020 libhidlbase \
21 libhidltransport \
Mathias Agopian2f739f82011-07-07 14:54:30 -070022 libutils \
Daniel Lam1cbcb982012-04-16 22:21:02 -070023 libgui \
Kalle Raita454c92e2016-11-17 15:23:17 -080024 libbase \
Courtney Goeltzenleuchterf29f2872017-03-28 17:29:52 -060025 liblog \
Mathias Agopian2f739f82011-07-07 14:54:30 -070026
Mathias Agopian2f739f82011-07-07 14:54:30 -070027LOCAL_C_INCLUDES := \
Jamie Gennis98c63832011-11-07 17:03:54 -080028 bionic/libc/private \
Mathias Agopian373c2b22012-03-07 19:46:57 -080029 frameworks/native/opengl/libs \
30 frameworks/native/opengl/libs/EGL \
Mathias Agopian2f739f82011-07-07 14:54:30 -070031
Ben Cheng20b97492012-11-06 23:11:35 -080032# gold in binutils 2.22 will warn about the usage of mktemp
33LOCAL_LDFLAGS += -Wl,--no-fatal-warnings
34
Dan Albertb79dfe62014-09-11 18:45:33 -070035include $(BUILD_NATIVE_TEST)
Mathias Agopian2f739f82011-07-07 14:54:30 -070036
Mathias Agopian2f739f82011-07-07 14:54:30 -070037# Include subdirectory makefiles
38# ============================================================
39
40# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
41# team really wants is to build the stuff defined by this makefile.
42ifeq (,$(ONE_SHOT_MAKEFILE))
43include $(call first-makefiles-under,$(LOCAL_PATH))
44endif