Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 1 | // Build the unit tests, |
| 2 | |
| 3 | // Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) |
| 4 | // to integrate with auto-test framework. |
| 5 | cc_test { |
| 6 | name: "libgui_test", |
| 7 | |
| 8 | clang: true, |
| 9 | |
| 10 | srcs: [ |
| 11 | "BufferQueue_test.cpp", |
| 12 | "CpuConsumer_test.cpp", |
| 13 | "FillBuffer.cpp", |
| 14 | "GLTest.cpp", |
| 15 | "IGraphicBufferProducer_test.cpp", |
| 16 | "MultiTextureConsumer_test.cpp", |
| 17 | "Sensor_test.cpp", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 18 | "StreamSplitter_test.cpp", |
| 19 | "SurfaceTextureClient_test.cpp", |
| 20 | "SurfaceTextureFBO_test.cpp", |
| 21 | "SurfaceTextureGLThreadToGL_test.cpp", |
| 22 | "SurfaceTextureGLToGL_test.cpp", |
| 23 | "SurfaceTextureGL_test.cpp", |
| 24 | "SurfaceTextureMultiContextGL_test.cpp", |
| 25 | "Surface_test.cpp", |
| 26 | "TextureRenderer.cpp", |
| 27 | ], |
| 28 | |
| 29 | shared_libs: [ |
| 30 | "liblog", |
| 31 | "libEGL", |
| 32 | "libGLESv1_CM", |
| 33 | "libGLESv2", |
| 34 | "libbinder", |
| 35 | "libcutils", |
| 36 | "libgui", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 37 | "libui", |
| 38 | "libutils", |
Mathias Agopian | 89ed4c8 | 2017-02-09 18:48:34 -0800 | [diff] [blame] | 39 | "libnativewindow" |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 40 | ], |
| 41 | } |