• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_deps", "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        "CreatePlatformGLTestContext_glx.cpp",
15        # This is easier than making a TEST_UTIL version //:ganesh_glx_factory
16        "//include/gpu/ganesh/gl/glx:public_hdrs",
17        "//src/gpu/ganesh/gl/glx:srcs",
18    ],
19    visibility = ["//tools/gpu/gl:__pkg__"],
20)
21
22skia_cc_deps(
23    name = "deps",
24    linkopts = [
25        "-lGL",
26        "-lGLU",
27        "-lX11",
28        "-lxcb",  # dep of X11
29        "-lXau",  # dep of xcb
30        "-lXdmcp",  # dep of xcb
31    ],
32    visibility = ["//tools/gpu/gl:__pkg__"],
33)
34