Android.mk revision 7ea777f097784492f880623067becac1b276f884
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 IGraphicBufferProducer_test.cpp \ 13 SurfaceTextureClient_test.cpp \ 14 SurfaceTexture_test.cpp \ 15 Surface_test.cpp \ 16 17LOCAL_SHARED_LIBRARIES := \ 18 libEGL \ 19 libGLESv1_CM \ 20 libGLESv2 \ 21 libbinder \ 22 libcutils \ 23 libgui \ 24 libstlport \ 25 libsync \ 26 libui \ 27 libutils \ 28 29LOCAL_C_INCLUDES := \ 30 bionic \ 31 bionic/libstdc++/include \ 32 external/gtest/include \ 33 external/stlport/stlport \ 34 35# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) 36# to integrate with auto-test framework. 37include $(BUILD_NATIVE_TEST) 38 39# Include subdirectory makefiles 40# ============================================================ 41 42# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 43# team really wants is to build the stuff defined by this makefile. 44ifeq (,$(ONE_SHOT_MAKEFILE)) 45include $(call first-makefiles-under,$(LOCAL_PATH)) 46endif 47