Android.bp revision 6a570b60716e4cbccd10432502491588f8a5c096
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        "MultiTextureConsumer_test.cpp",
18        "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: [
30        "android.hardware.configstore@1.0",
31        "android.hardware.configstore-utils",
32        "liblog",
33        "libEGL",
34        "libGLESv1_CM",
35        "libGLESv2",
36        "libbinder",
37        "libcutils",
38        "libgui",
39        "libhidlbase",
40        "libhidltransport",
41        "libui",
42        "libutils",
43        "libnativewindow"
44    ],
45}
46