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