blob: 59441108157cf28606fd06b81e394e6d5a6b382c [file] [log] [blame]
Dan Willemsen3106c1c2016-10-03 23:56:51 -07001// Build the unit tests,
2
3// Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
4// to integrate with auto-test framework.
5cc_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 Willemsen3106c1c2016-10-03 23:56:51 -070018 "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 Willemsen3106c1c2016-10-03 23:56:51 -070037 "libui",
38 "libutils",
Mathias Agopian89ed4c82017-02-09 18:48:34 -080039 "libnativewindow"
Dan Willemsen3106c1c2016-10-03 23:56:51 -070040 ],
41}