blob: d616ce40b0170abd1f75eaa9503adf731ee6acc3 [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
Courtney Goeltzenleuchterf29f2872017-03-28 17:29:52 -060014LOCAL_HEADER_LIBRARIES := \
15 android.hardware.configstore-utils
16
Mathias Agopian2f739f82011-07-07 14:54:30 -070017LOCAL_SHARED_LIBRARIES := \
Courtney Goeltzenleuchterf29f2872017-03-28 17:29:52 -060018 android.hardware.configstore@1.0 \
Mathias Agopian2f739f82011-07-07 14:54:30 -070019 libEGL \
20 libcutils \
Mathias Agopiana4e19522013-07-31 20:09:53 -070021 libbinder \
Courtney Goeltzenleuchterf29f2872017-03-28 17:29:52 -060022 libhidlbase \
23 libhidltransport \
Mathias Agopian2f739f82011-07-07 14:54:30 -070024 libutils \
Daniel Lam1cbcb982012-04-16 22:21:02 -070025 libgui \
Kalle Raita454c92e2016-11-17 15:23:17 -080026 libbase \
Courtney Goeltzenleuchterf29f2872017-03-28 17:29:52 -060027 liblog \
Mathias Agopian2f739f82011-07-07 14:54:30 -070028
Mathias Agopian2f739f82011-07-07 14:54:30 -070029LOCAL_C_INCLUDES := \
Jamie Gennis98c63832011-11-07 17:03:54 -080030 bionic/libc/private \
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
Dan Albertb79dfe62014-09-11 18:45:33 -070037include $(BUILD_NATIVE_TEST)
Mathias Agopian2f739f82011-07-07 14:54:30 -070038
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