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) |
Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame^] | 4 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Jamie Gennis | 23c2c5d | 2011-10-11 19:22:19 -0700 | [diff] [blame] | 5 | |
| 6 | LOCAL_MODULE := SurfaceFlinger_test |
| 7 | |
| 8 | LOCAL_MODULE_TAGS := tests |
| 9 | |
| 10 | LOCAL_SRC_FILES := \ |
| 11 | Transaction_test.cpp \ |
| 12 | |
| 13 | LOCAL_SHARED_LIBRARIES := \ |
| 14 | libEGL \ |
| 15 | libGLESv2 \ |
Jamie Gennis | 23c2c5d | 2011-10-11 19:22:19 -0700 | [diff] [blame] | 16 | libbinder \ |
| 17 | libcutils \ |
| 18 | libgui \ |
Jamie Gennis | 23c2c5d | 2011-10-11 19:22:19 -0700 | [diff] [blame] | 19 | libui \ |
| 20 | libutils \ |
| 21 | |
Jamie Gennis | 23c2c5d | 2011-10-11 19:22:19 -0700 | [diff] [blame] | 22 | # Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) |
| 23 | # to integrate with auto-test framework. |
| 24 | include $(BUILD_NATIVE_TEST) |
| 25 | |
| 26 | # Include subdirectory makefiles |
| 27 | # ============================================================ |
| 28 | |
| 29 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 30 | # team really wants is to build the stuff defined by this makefile. |
| 31 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 32 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 33 | endif |