• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup", "split_srcs_and_hdrs")
2
3package(
4    default_applicable_licenses = ["//:license"],
5)
6
7licenses(["notice"])
8
9exports_files_legacy()
10
11TEXT_FILES = [
12    "GlyphRun.cpp",
13    "GlyphRun.h",
14    "StrikeForGPU.cpp",
15    "StrikeForGPU.h",
16    "SlugFromBuffer.cpp",
17]
18
19split_srcs_and_hdrs(
20    name = "text",
21    files = TEXT_FILES,
22)
23
24skia_filegroup(
25    name = "srcs",
26    srcs = [":text_srcs"],
27    visibility = [
28        "//src:__pkg__",
29    ],
30)
31
32skia_filegroup(
33    name = "private_hdrs",
34    srcs = [":text_hdrs"],
35    visibility = [
36        "//src:__pkg__",
37    ],
38)
39
40alias(
41    name = "core_priv_hdrs",
42    actual = ":private_hdrs",
43    visibility = [
44        "//src/core:__pkg__",
45    ],
46)
47
48alias(
49    name = "core_srcs",
50    actual = ":srcs",
51    visibility = [
52        "//src/core:__pkg__",
53    ],
54)
55