| // Build the unit tests, | |
| // Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) | |
| // to integrate with auto-test framework. | |
| cc_test { | |
| name: "libgui_test", | |
| clang: true, | |
| srcs: [ | |
| "BufferQueue_test.cpp", | |
| "CpuConsumer_test.cpp", | |
| "FillBuffer.cpp", | |
| "GLTest.cpp", | |
| "IGraphicBufferProducer_test.cpp", | |
| "MultiTextureConsumer_test.cpp", | |
| "StreamSplitter_test.cpp", | |
| "SurfaceTextureClient_test.cpp", | |
| "SurfaceTextureFBO_test.cpp", | |
| "SurfaceTextureGLThreadToGL_test.cpp", | |
| "SurfaceTextureGLToGL_test.cpp", | |
| "SurfaceTextureGL_test.cpp", | |
| "SurfaceTextureMultiContextGL_test.cpp", | |
| "Surface_test.cpp", | |
| "TextureRenderer.cpp", | |
| ], | |
| shared_libs: [ | |
| "liblog", | |
| "libEGL", | |
| "libGLESv1_CM", | |
| "libGLESv2", | |
| "libbinder", | |
| "libcutils", | |
| "libgui", | |
| "libui", | |
| "libutils", | |
| "libnativewindow" | |
| ], | |
| } |