Debian Codegraph @

modules/skottie/src/text/BUILD.bazel

raw
1 load("//bazel:skia_rules.bzl", "skia_filegroup", "split_srcs_and_hdrs")
2
3 package(
4 default_applicable_licenses = ["//:license"],
5 )
6
7 licenses(["notice"])
8
9 TEXT_FILES = [
10 "Font.cpp",
11 "Font.h",
12 "RangeSelector.cpp",
13 "RangeSelector.h",
14 "TextAdapter.cpp",
15 "TextAdapter.h",
16 "TextAnimator.cpp",
17 "TextAnimator.h",
18 "TextValue.cpp",
19 "TextValue.h",
20 # TextShaper.cpp is explicitly not here
21 ]
22
23 split_srcs_and_hdrs(
24 name = "text",
25 files = TEXT_FILES,
26 )
27
28 skia_filegroup(
29 name = "srcs_without_textshaper",
30 srcs = [
31 ":text_hdrs", # TODO(kjlubick) Remove after making G3 explicitly use this
32 ":text_srcs",
33 ],
34 visibility = ["//modules/skottie/src:__pkg__"],
35 )
36
37 skia_filegroup(
38 name = "private_hdrs",
39 srcs = [
40 ":text_hdrs",
41 ],
42 visibility = ["//modules/skottie:__pkg__"],
43 )
44
45 skia_filegroup(
46 name = "text_shaper_srcs",
47 srcs = [
48 "TextShaper.cpp",
49 "Unicode.cpp",
50 ],
51 visibility = ["//modules/skottie:__pkg__"],
52 )