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_glestranslator_glesv2",
12    defaults: ["gfxstream_defaults"],
13    header_libs: [
14        "gfxstream_opengl_headers",
15    ],
16    static_libs: [
17        "gfxstream_base",
18        "libgfxstream_host_apigen_codec_common",
19        "libgfxstream_host_glestranslator_glcommon",
20    ],
21    cflags: [
22        "-fvisibility=hidden",
23        "-Wno-inconsistent-missing-override",
24    ],
25    srcs: [
26        "ANGLEShaderParser.cpp",
27        "GLESv2Context.cpp",
28        "GLESv2Imp.cpp",
29        "GLESv2Validate.cpp",
30        "ProgramData.cpp",
31        "SamplerData.cpp",
32        "ShaderParser.cpp",
33        "ShaderValidator.cpp",
34        "TransformFeedbackData.cpp",
35    ],
36}
37