| 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 := \ | 
 | 15 | 	libEGL \ | 
 | 16 | 	libcutils \ | 
| Mathias Agopian | a4e1952 | 2013-07-31 20:09:53 -0700 | [diff] [blame] | 17 | 	libbinder \ | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 18 | 	libutils \ | 
| Daniel Lam | 1cbcb98 | 2012-04-16 22:21:02 -0700 | [diff] [blame] | 19 | 	libgui \ | 
| Kalle Raita | 454c92e | 2016-11-17 15:23:17 -0800 | [diff] [blame] | 20 | 	libbase \ | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 21 |  | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 22 | LOCAL_C_INCLUDES := \ | 
| Jamie Gennis | 98c6383 | 2011-11-07 17:03:54 -0800 | [diff] [blame] | 23 |     bionic/libc/private \ | 
| Mathias Agopian | 373c2b2 | 2012-03-07 19:46:57 -0800 | [diff] [blame] | 24 |     frameworks/native/opengl/libs \ | 
 | 25 |     frameworks/native/opengl/libs/EGL \ | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 26 |  | 
| Ben Cheng | 20b9749 | 2012-11-06 23:11:35 -0800 | [diff] [blame] | 27 | # gold in binutils 2.22 will warn about the usage of mktemp | 
 | 28 | LOCAL_LDFLAGS += -Wl,--no-fatal-warnings | 
 | 29 |  | 
| Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 30 | include $(BUILD_NATIVE_TEST) | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 31 |  | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 32 | # 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. | 
 | 37 | ifeq (,$(ONE_SHOT_MAKEFILE)) | 
 | 38 | include $(call first-makefiles-under,$(LOCAL_PATH)) | 
 | 39 | endif |