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 := \ |
| 10 | EGL_test.cpp \ |
| 11 | |
| 12 | LOCAL_SHARED_LIBRARIES := \ |
| 13 | libEGL \ |
| 14 | libcutils \ |
| 15 | libstlport \ |
| 16 | libutils \ |
| 17 | |
| 18 | LOCAL_STATIC_LIBRARIES := \ |
| 19 | libgtest \ |
| 20 | libgtest_main \ |
| 21 | |
| 22 | LOCAL_C_INCLUDES := \ |
| 23 | bionic \ |
| 24 | bionic/libstdc++/include \ |
| 25 | external/gtest/include \ |
| 26 | external/stlport/stlport \ |
| 27 | |
| 28 | include $(BUILD_EXECUTABLE) |
| 29 | |
Mathias Agopian | 2f739f8 | 2011-07-07 14:54:30 -0700 | [diff] [blame] | 30 | # Include subdirectory makefiles |
| 31 | # ============================================================ |
| 32 | |
| 33 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 34 | # team really wants is to build the stuff defined by this makefile. |
| 35 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 36 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 37 | endif |