Xia Wang | 4c87516 | 2011-08-30 18:48:11 -0700 | [diff] [blame^] | 1 | # Build the unit tests, |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | include $(CLEAR_VARS) |
| 4 | |
Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 5 | LOCAL_MODULE := SurfaceTexture_test |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 6 | |
Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 7 | LOCAL_MODULE_TAGS := tests |
| 8 | |
| 9 | LOCAL_SRC_FILES := \ |
Mathias Agopian | d87f162 | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 10 | Surface_test.cpp \ |
Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 11 | SurfaceTextureClient_test.cpp \ |
| 12 | SurfaceTexture_test.cpp \ |
| 13 | |
| 14 | LOCAL_SHARED_LIBRARIES := \ |
| 15 | libEGL \ |
| 16 | libGLESv2 \ |
| 17 | libandroid \ |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 18 | libbinder \ |
Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 19 | libcutils \ |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 20 | libgui \ |
| 21 | libstlport \ |
Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 22 | libui \ |
| 23 | libutils \ |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 24 | |
Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 25 | LOCAL_C_INCLUDES := \ |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 26 | bionic \ |
| 27 | bionic/libstdc++/include \ |
| 28 | external/gtest/include \ |
| 29 | external/stlport/stlport \ |
| 30 | |
Xia Wang | 4c87516 | 2011-08-30 18:48:11 -0700 | [diff] [blame^] | 31 | # Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) |
| 32 | # to integrate with auto-test framework. |
| 33 | include $(BUILD_NATIVE_TEST) |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 34 | |
Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 35 | # Include subdirectory makefiles |
| 36 | # ============================================================ |
| 37 | |
| 38 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 39 | # team really wants is to build the stuff defined by this makefile. |
| 40 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 41 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 42 | endif |