blob: 192bfc8facd30b5233fa4658f40893a037e4177e [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: [
Jiwen 'Steve' Caiaf7b2a12017-03-19 12:26:10 -070011 "BufferItemConsumer_test.cpp",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070012 "BufferQueue_test.cpp",
13 "CpuConsumer_test.cpp",
14 "FillBuffer.cpp",
15 "GLTest.cpp",
16 "IGraphicBufferProducer_test.cpp",
17 "MultiTextureConsumer_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: [
Courtney Goeltzenleuchter6a570b62017-03-13 14:30:00 -060030 "android.hardware.configstore@1.0",
31 "android.hardware.configstore-utils",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070032 "liblog",
33 "libEGL",
34 "libGLESv1_CM",
35 "libGLESv2",
36 "libbinder",
37 "libcutils",
38 "libgui",
Courtney Goeltzenleuchter6a570b62017-03-13 14:30:00 -060039 "libhidlbase",
40 "libhidltransport",
Dan Willemsen3106c1c2016-10-03 23:56:51 -070041 "libui",
42 "libutils",
Mathias Agopian89ed4c82017-02-09 18:48:34 -080043 "libnativewindow"
Dan Willemsen3106c1c2016-10-03 23:56:51 -070044 ],
45}