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: [ |
Jiwen 'Steve' Cai | af7b2a1 | 2017-03-19 12:26:10 -0700 | [diff] [blame] | 11 | "BufferItemConsumer_test.cpp", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 12 | "BufferQueue_test.cpp", |
| 13 | "CpuConsumer_test.cpp", |
| 14 | "FillBuffer.cpp", |
| 15 | "GLTest.cpp", |
| 16 | "IGraphicBufferProducer_test.cpp", |
| 17 | "MultiTextureConsumer_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: [ |
Courtney Goeltzenleuchter | 6a570b6 | 2017-03-13 14:30:00 -0600 | [diff] [blame] | 30 | "android.hardware.configstore@1.0", |
| 31 | "android.hardware.configstore-utils", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 32 | "liblog", |
| 33 | "libEGL", |
| 34 | "libGLESv1_CM", |
| 35 | "libGLESv2", |
| 36 | "libbinder", |
| 37 | "libcutils", |
| 38 | "libgui", |
Courtney Goeltzenleuchter | 6a570b6 | 2017-03-13 14:30:00 -0600 | [diff] [blame] | 39 | "libhidlbase", |
| 40 | "libhidltransport", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 41 | "libui", |
| 42 | "libutils", |
Mathias Agopian | 89ed4c8 | 2017-02-09 18:48:34 -0800 | [diff] [blame] | 43 | "libnativewindow" |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 44 | ], |
| 45 | } |