• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup")
2
3package(
4    default_applicable_licenses = ["//:license"],
5)
6
7licenses(["notice"])
8
9exports_files_legacy()
10
11skia_filegroup(
12    name = "srcs",
13    srcs = [
14        "GrGLMakeNativeInterface_webgl.cpp",
15    ],
16    visibility = ["//src/gpu/ganesh/gl:__pkg__"],
17)
18
19skia_cc_library(
20    name = "webgl_factory",
21    srcs = [
22        "GrGLMakeNativeInterface_webgl.cpp",
23    ],
24    hdrs = [
25        "//include/gpu/ganesh/gl:webgl_hdrs",
26    ],
27    local_defines = ["SK_DISABLE_LEGACY_GL_MAKE_NATIVE_INTERFACE"],
28    visibility = ["//:__pkg__"],
29    deps = [
30        "//:core",
31        "//:ganesh_gl",
32    ],
33)
34