Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 1 | # Build the unit tests. |
| 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | include $(CLEAR_VARS) |
Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 4 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 5 | |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 6 | LOCAL_MODULE := EGL_test |
| 7 | |
| 8 | LOCAL_MODULE_TAGS := tests |
| 9 | |
| 10 | LOCAL_SRC_FILES := \ |
Jamie Gennis | 98c6383 | 2011-11-07 17:03:54 -0800 | [diff] [blame] | 11 | egl_cache_test.cpp \ |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 12 | EGL_test.cpp \ |
| 13 | |
| 14 | LOCAL_SHARED_LIBRARIES := \ |
Courtney Goeltzenleuchter | f29f287 | 2017-03-28 17:29:52 -0600 | [diff] [blame] | 15 | android.hardware.configstore@1.0 \ |
Courtney Goeltzenleuchter | c221d64 | 2017-04-05 18:34:30 -0600 | [diff] [blame] | 16 | android.hardware.configstore-utils \ |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 17 | libEGL \ |
| 18 | libcutils \ |
Mathias Agopian | a4e1952 | 2013-07-31 20:09:53 -0700 | [diff] [blame] | 19 | libbinder \ |
Courtney Goeltzenleuchter | f29f287 | 2017-03-28 17:29:52 -0600 | [diff] [blame] | 20 | libhidlbase \ |
| 21 | libhidltransport \ |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 22 | libutils \ |
Daniel Lam | 1cbcb98 | 2012-04-16 22:21:02 -0700 | [diff] [blame] | 23 | libgui \ |
Kalle Raita | 454c92e | 2016-11-17 15:23:17 -0800 | [diff] [blame] | 24 | libbase \ |
Courtney Goeltzenleuchter | f29f287 | 2017-03-28 17:29:52 -0600 | [diff] [blame] | 25 | liblog \ |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 26 | |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 27 | LOCAL_C_INCLUDES := \ |
Jamie Gennis | 98c6383 | 2011-11-07 17:03:54 -0800 | [diff] [blame] | 28 | bionic/libc/private \ |
Mathias Agopian | 373c2b2 | 2012-03-07 19:46:57 -0800 | [diff] [blame] | 29 | frameworks/native/opengl/libs \ |
| 30 | frameworks/native/opengl/libs/EGL \ |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 31 | |
Ben Cheng | 20b9749 | 2012-11-06 23:11:35 -0800 | [diff] [blame] | 32 | # gold in binutils 2.22 will warn about the usage of mktemp |
| 33 | LOCAL_LDFLAGS += -Wl,--no-fatal-warnings |
| 34 | |
Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 35 | include $(BUILD_NATIVE_TEST) |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 36 | |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 37 | # 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. |
| 42 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 43 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 44 | endif |