Jamie Gennis | 23c2c5d | 2011-10-11 19:22:19 -0700 | [diff] [blame] | 1 | # Build the unit tests, |
| 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE := SurfaceFlinger_test |
| 6 | |
| 7 | LOCAL_MODULE_TAGS := tests |
| 8 | |
| 9 | LOCAL_SRC_FILES := \ |
| 10 | Transaction_test.cpp \ |
| 11 | |
| 12 | LOCAL_SHARED_LIBRARIES := \ |
| 13 | libEGL \ |
| 14 | libGLESv2 \ |
Jamie Gennis | 23c2c5d | 2011-10-11 19:22:19 -0700 | [diff] [blame] | 15 | libbinder \ |
| 16 | libcutils \ |
| 17 | libgui \ |
| 18 | libstlport \ |
| 19 | libui \ |
| 20 | libutils \ |
| 21 | |
| 22 | LOCAL_C_INCLUDES := \ |
| 23 | bionic \ |
| 24 | bionic/libstdc++/include \ |
| 25 | external/gtest/include \ |
| 26 | external/stlport/stlport \ |
| 27 | |
| 28 | # Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) |
| 29 | # to integrate with auto-test framework. |
| 30 | include $(BUILD_NATIVE_TEST) |
| 31 | |
| 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 |