blob: 477900377ab15619b2f1db24ec72ba358eabd116 [file] [log] [blame]
Dan Willemsena3310632016-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",
Dan Shi9cd52062017-03-29 23:09:37 -07007 test_suites: ["device-tests"],
Dan Willemsena3310632016-10-03 23:56:51 -07008
9 clang: true,
10
11 srcs: [
12 "BufferQueue_test.cpp",
13 "CpuConsumer_test.cpp",
14 "FillBuffer.cpp",
15 "GLTest.cpp",
16 "IGraphicBufferProducer_test.cpp",
17 "MultiTextureConsumer_test.cpp",
18 "Sensor_test.cpp",
19 "SRGB_test.cpp",
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: [
32 "liblog",
33 "libEGL",
34 "libGLESv1_CM",
35 "libGLESv2",
36 "libbinder",
37 "libcutils",
38 "libgui",
39 "libsync",
40 "libui",
41 "libutils",
42 ],
43}