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", |
Dan Shi | 9cd5206 | 2017-03-29 23:09:37 -0700 | [diff] [blame] | 7 | test_suites: ["device-tests"], |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 8 | |
| 9 | clang: true, |
| 10 | |
| 11 | srcs: [ |
Jiwen 'Steve' Cai | af7b2a1 | 2017-03-19 12:26:10 -0700 | [diff] [blame] | 12 | "BufferItemConsumer_test.cpp", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 13 | "BufferQueue_test.cpp", |
| 14 | "CpuConsumer_test.cpp", |
| 15 | "FillBuffer.cpp", |
| 16 | "GLTest.cpp", |
| 17 | "IGraphicBufferProducer_test.cpp", |
Dan Stoza | 47730d6 | 2017-05-16 15:12:48 -0700 | [diff] [blame] | 18 | "Malicious.cpp", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 19 | "MultiTextureConsumer_test.cpp", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 20 | "StreamSplitter_test.cpp", |
| 21 | "SurfaceTextureClient_test.cpp", |
| 22 | "SurfaceTextureFBO_test.cpp", |
| 23 | "SurfaceTextureGLThreadToGL_test.cpp", |
| 24 | "SurfaceTextureGLToGL_test.cpp", |
| 25 | "SurfaceTextureGL_test.cpp", |
| 26 | "SurfaceTextureMultiContextGL_test.cpp", |
| 27 | "Surface_test.cpp", |
| 28 | "TextureRenderer.cpp", |
| 29 | ], |
| 30 | |
| 31 | shared_libs: [ |
Courtney Goeltzenleuchter | 6a570b6 | 2017-03-13 14:30:00 -0600 | [diff] [blame] | 32 | "android.hardware.configstore@1.0", |
| 33 | "android.hardware.configstore-utils", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 34 | "liblog", |
| 35 | "libEGL", |
| 36 | "libGLESv1_CM", |
| 37 | "libGLESv2", |
| 38 | "libbinder", |
| 39 | "libcutils", |
| 40 | "libgui", |
Courtney Goeltzenleuchter | 6a570b6 | 2017-03-13 14:30:00 -0600 | [diff] [blame] | 41 | "libhidlbase", |
| 42 | "libhidltransport", |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 43 | "libui", |
| 44 | "libutils", |
Mathias Agopian | 89ed4c8 | 2017-02-09 18:48:34 -0800 | [diff] [blame] | 45 | "libnativewindow" |
Dan Willemsen | 3106c1c | 2016-10-03 23:56:51 -0700 | [diff] [blame] | 46 | ], |
| 47 | } |