1// 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        "BufferItemConsumer_test.cpp",
12        "BufferQueue_test.cpp",
13        "CpuConsumer_test.cpp",
14        "FillBuffer.cpp",
15        "GLTest.cpp",
16        "IGraphicBufferProducer_test.cpp",
17        "Malicious.cpp",
18        "MultiTextureConsumer_test.cpp",
19        "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: [
31        "android.hardware.configstore@1.0",
32        "android.hardware.configstore-utils",
33        "liblog",
34        "libEGL",
35        "libGLESv1_CM",
36        "libGLESv2",
37        "libbinder",
38        "libcutils",
39        "libgui",
40        "libhidlbase",
41        "libhidltransport",
42        "libui",
43        "libutils",
44        "libnativewindow"
45    ],
46}
47