1# Build the unit tests, 2LOCAL_PATH:= $(call my-dir) 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := libgui_test 6 7LOCAL_MODULE_TAGS := tests 8 9LOCAL_SRC_FILES := \ 10 BufferQueue_test.cpp \ 11 CpuConsumer_test.cpp \ 12 SurfaceTextureClient_test.cpp \ 13 SurfaceTexture_test.cpp \ 14 Surface_test.cpp \ 15 16LOCAL_SHARED_LIBRARIES := \ 17 libEGL \ 18 libGLESv2 \ 19 libbinder \ 20 libcutils \ 21 libgui \ 22 libstlport \ 23 libsync \ 24 libui \ 25 libutils \ 26 27LOCAL_C_INCLUDES := \ 28 bionic \ 29 bionic/libstdc++/include \ 30 external/gtest/include \ 31 external/stlport/stlport \ 32 33# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) 34# to integrate with auto-test framework. 35include $(BUILD_NATIVE_TEST) 36 37# Include subdirectory makefiles 38# ============================================================ 39 40# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 41# team really wants is to build the stuff defined by this makefile. 42ifeq (,$(ONE_SHOT_MAKEFILE)) 43include $(call first-makefiles-under,$(LOCAL_PATH)) 44endif 45