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    default_applicable_licenses: ["hardware_google_gfxstream_license"],
8}
9
10cc_library_static {
11    name: "libgfxstream_host_dispatch",
12    defaults: ["gfxstream_defaults"],
13    header_libs: [
14        "gfxstream_opengl_headers",
15    ],
16    static_libs: [
17        "gfxstream_base",
18        "libgfxstream_thirdparty_glm",
19        "libgfxstream_host_gles1_dec",
20        "libgfxstream_host_gles2_dec",
21        "libgfxstream_host_apigen_codec_common",
22        "libgfxstream_glestranslator_egl",
23    ],
24    cflags: [
25        "-fvisibility=default",
26    ],
27    srcs: [
28        "EGLDispatch.cpp",
29        "gles1_stubbed_in_translator_namespace.cpp",
30        "gles2_stubbed_in_translator_namespace.cpp",
31        "GLESv1Dispatch.cpp",
32        "GLESv2Dispatch.cpp",
33        "OpenGLDispatchLoader.cpp",
34        "StaticDispatch.cpp",
35    ],
36}
37