| 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) | 
 | 4 |  | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 5 | LOCAL_MODULE := EGL_test | 
 | 6 |  | 
 | 7 | LOCAL_MODULE_TAGS := tests | 
 | 8 |  | 
 | 9 | LOCAL_SRC_FILES := \ | 
| Jamie Gennis | 98c6383 | 2011-11-07 17:03:54 -0800 | [diff] [blame] | 10 |     egl_cache_test.cpp \ | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 11 |     EGL_test.cpp \ | 
 | 12 |  | 
 | 13 | LOCAL_SHARED_LIBRARIES := \ | 
 | 14 | 	libEGL \ | 
 | 15 | 	libcutils \ | 
 | 16 | 	libstlport \ | 
 | 17 | 	libutils \ | 
| Daniel Lam | 1cbcb98 | 2012-04-16 22:21:02 -0700 | [diff] [blame] | 18 | 	libgui \ | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 19 |  | 
 | 20 | LOCAL_STATIC_LIBRARIES := \ | 
 | 21 | 	libgtest \ | 
 | 22 | 	libgtest_main \ | 
 | 23 |  | 
 | 24 | LOCAL_C_INCLUDES := \ | 
 | 25 |     bionic \ | 
| Jamie Gennis | 98c6383 | 2011-11-07 17:03:54 -0800 | [diff] [blame] | 26 |     bionic/libc/private \ | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 27 |     bionic/libstdc++/include \ | 
 | 28 |     external/gtest/include \ | 
 | 29 |     external/stlport/stlport \ | 
| Mathias Agopian | 373c2b2 | 2012-03-07 19:46:57 -0800 | [diff] [blame] | 30 |     frameworks/native/opengl/libs \ | 
 | 31 |     frameworks/native/opengl/libs/EGL \ | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 32 |  | 
| Ben Cheng | 20b9749 | 2012-11-06 23:11:35 -0800 | [diff] [blame] | 33 | # gold in binutils 2.22 will warn about the usage of mktemp | 
 | 34 | LOCAL_LDFLAGS += -Wl,--no-fatal-warnings | 
 | 35 |  | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 36 | include $(BUILD_EXECUTABLE) | 
 | 37 |  | 
| Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 38 | # Include subdirectory makefiles | 
 | 39 | # ============================================================ | 
 | 40 |  | 
 | 41 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework | 
 | 42 | # team really wants is to build the stuff defined by this makefile. | 
 | 43 | ifeq (,$(ONE_SHOT_MAKEFILE)) | 
 | 44 | include $(call first-makefiles-under,$(LOCAL_PATH)) | 
 | 45 | endif |