blob: fa87f29aa1b3b8806b81fe8d14bfa44162e6dfba [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",
Dan Stoza47730d62017-05-16 15:12:48 -070018 "Malicious.cpp",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070019 "MultiTextureConsumer_test.cpp",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070020 "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 Goeltzenleuchter6a570b62017-03-13 14:30:00 -060032 "android.hardware.configstore@1.0",
33 "android.hardware.configstore-utils",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070034 "liblog",
35 "libEGL",
36 "libGLESv1_CM",
37 "libGLESv2",
38 "libbinder",
39 "libcutils",
40 "libgui",
Courtney Goeltzenleuchter6a570b62017-03-13 14:30:00 -060041 "libhidlbase",
42 "libhidltransport",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070043 "libui",
44 "libutils",
Mathias Agopian89ed4c82017-02-09 18:48:34 -080045 "libnativewindow"
Dan Willemsen3106c1c2016-10-03 23:56:51 -070046 ],
47}