• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library(
2    name = "GLES_V2_translator_static",
3    srcs = [
4        "ANGLEShaderParser.cpp",
5        "GLESv2Context.cpp",
6        "GLESv2Imp.cpp",
7        "GLESv2Validate.cpp",
8        "ProgramData.cpp",
9        "SamplerData.cpp",
10        "ShaderParser.cpp",
11        "ShaderValidator.cpp",
12        "TransformFeedbackData.cpp",
13    ] + glob(["*.h"]),
14    hdrs = [
15        "GLESv2Imp.cpp",
16        "GLESv30Imp.cpp",
17        "GLESv31Imp.cpp",
18        "GLESv32Imp.cpp",
19    ],
20    copts = [
21        "-Wno-extern-c-compat",
22        "-Wno-inconsistent-missing-override",
23    ],
24    defines = [
25        "BUILDING_EMUGL_COMMON_SHARED",
26    ],
27    includes = ["."],
28    visibility = ["//visibility:public"],
29    deps = [
30        "//hardware/google/gfxstream:gfxstream-gl-host-common-headers",
31        "//hardware/google/gfxstream/host/apigen-codec-common",
32        "//hardware/google/gfxstream/host/gl:gl_common",
33    ],
34    alwayslink = True,
35)
36