1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_google_gfxstream_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-MIT
8    default_applicable_licenses: ["hardware_google_gfxstream_license"],
9}
10
11cc_library_static {
12    name: "libgfxstream_host_gl_server",
13    defaults: ["gfxstream_defaults"],
14    srcs: [
15        "BufferGl.cpp",
16        "ColorBufferGl.cpp",
17        "CompositorGl.cpp",
18        "DebugGl.cpp",
19        "DisplayGl.cpp",
20        "DisplaySurfaceGl.cpp",
21        "EmulatedEglConfig.cpp",
22        "EmulatedEglContext.cpp",
23        "EmulatedEglFenceSync.cpp",
24        "EmulatedEglImage.cpp",
25        "EmulatedEglWindowSurface.cpp",
26        "EmulationGl.cpp",
27        "GLESVersionDetector.cpp",
28        "ReadbackWorkerGl.cpp",
29        "TextureDraw.cpp",
30        "TextureResize.cpp",
31        "YUVConverter.cpp",
32    ],
33    header_libs: [
34        "gfxstream_gl_host_common_headers",
35        "gfxstream_opengl_headers",
36    ],
37    static_libs: [
38        "libgfxstream_host_features",
39        "libgfxstream_host_gles1_dec",
40        "libgfxstream_host_gles2_dec",
41        "libgfxstream_host_glsnapshot",
42    ],
43}
44