blob: 4492a081e7df95a221b08e36691fe69aee56a92c [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",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070017 "StreamSplitter_test.cpp",
18 "SurfaceTextureClient_test.cpp",
19 "SurfaceTextureFBO_test.cpp",
20 "SurfaceTextureGLThreadToGL_test.cpp",
21 "SurfaceTextureGLToGL_test.cpp",
22 "SurfaceTextureGL_test.cpp",
23 "SurfaceTextureMultiContextGL_test.cpp",
24 "Surface_test.cpp",
25 "TextureRenderer.cpp",
26 ],
27
28 shared_libs: [
29 "liblog",
30 "libEGL",
31 "libGLESv1_CM",
32 "libGLESv2",
33 "libbinder",
34 "libcutils",
35 "libgui",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070036 "libui",
37 "libutils",
Mathias Agopian89ed4c82017-02-09 18:48:34 -080038 "libnativewindow"
Dan Willemsen3106c1c2016-10-03 23:56:51 -070039 ],
40}