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