blob: 778d6849a73c2528cd961af52add468f8ef6a985 [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",
Dan Shi9cd52062017-03-29 23:09:37 -07007 test_suites: ["device-tests"],
Dan Willemsen3106c1c2016-10-03 23:56:51 -07008
9 clang: true,
10
11 srcs: [
Jiwen 'Steve' Caiaf7b2a12017-03-19 12:26:10 -070012 "BufferItemConsumer_test.cpp",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070013 "BufferQueue_test.cpp",
14 "CpuConsumer_test.cpp",
15 "FillBuffer.cpp",
16 "GLTest.cpp",
17 "IGraphicBufferProducer_test.cpp",
18 "MultiTextureConsumer_test.cpp",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070019 "StreamSplitter_test.cpp",
20 "SurfaceTextureClient_test.cpp",
21 "SurfaceTextureFBO_test.cpp",
22 "SurfaceTextureGLThreadToGL_test.cpp",
23 "SurfaceTextureGLToGL_test.cpp",
24 "SurfaceTextureGL_test.cpp",
25 "SurfaceTextureMultiContextGL_test.cpp",
26 "Surface_test.cpp",
27 "TextureRenderer.cpp",
28 ],
29
30 shared_libs: [
Courtney Goeltzenleuchter6a570b62017-03-13 14:30:00 -060031 "android.hardware.configstore@1.0",
32 "android.hardware.configstore-utils",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070033 "liblog",
34 "libEGL",
35 "libGLESv1_CM",
36 "libGLESv2",
37 "libbinder",
38 "libcutils",
39 "libgui",
Courtney Goeltzenleuchter6a570b62017-03-13 14:30:00 -060040 "libhidlbase",
41 "libhidltransport",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070042 "libui",
43 "libutils",
Mathias Agopian89ed4c82017-02-09 18:48:34 -080044 "libnativewindow"
Dan Willemsen3106c1c2016-10-03 23:56:51 -070045 ],
46}