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