| 1 |
load("//bazel:skia_rules.bzl", "skia_cc_library", "skia_filegroup") |
| 2 |
|
| 3 |
package( |
| 4 |
default_applicable_licenses = ["//:license"], |
| 5 |
) |
| 6 |
|
| 7 |
licenses(["notice"]) |
| 8 |
|
| 9 |
skia_filegroup( |
| 10 |
name = "hdrs", |
| 11 |
srcs = [ |
| 12 |
"SkottieUtils.h", |
| 13 |
"TextEditor.h", |
| 14 |
], |
| 15 |
visibility = ["//modules/skottie:__pkg__"], |
| 16 |
) |
| 17 |
|
| 18 |
skia_filegroup( |
| 19 |
name = "srcs", |
| 20 |
srcs = [ |
| 21 |
"SkottieUtils.cpp", |
| 22 |
"TextEditor.cpp", |
| 23 |
], |
| 24 |
visibility = ["//modules/skottie:__pkg__"], |
| 25 |
) |
| 26 |
|
| 27 |
skia_filegroup( |
| 28 |
name = "skottie_preshape_tool", |
| 29 |
srcs = [ |
| 30 |
"PreshapeTool.cpp", |
| 31 |
], |
| 32 |
visibility = ["//modules/skottie:__pkg__"], |
| 33 |
) |
| 34 |
|
| 35 |
skia_cc_library( |
| 36 |
name = "skottie_utils", |
| 37 |
srcs = [ |
| 38 |
"SkottieUtils.cpp", |
| 39 |
], |
| 40 |
hdrs = [ |
| 41 |
"SkottieUtils.h", |
| 42 |
], |
| 43 |
features = ["layering_check"], |
| 44 |
visibility = [ |
| 45 |
"//:__pkg__", |
| 46 |
"//dm:__pkg__", |
| 47 |
"//modules/canvaskit:__pkg__", |
| 48 |
"//modules/skottie:__subpackages__", |
| 49 |
"//tools/viewer:__pkg__", |
| 50 |
], |
| 51 |
deps = [ |
| 52 |
"//:core", |
| 53 |
"//modules/skottie", |
| 54 |
"//modules/skresources", |
| 55 |
"//src/base", |
| 56 |
], |
| 57 |
) |
| 58 |
|
| 59 |
skia_cc_library( |
| 60 |
name = "text_editor", |
| 61 |
srcs = [ |
| 62 |
"TextEditor.cpp", |
| 63 |
], |
| 64 |
hdrs = [ |
| 65 |
"TextEditor.h", |
| 66 |
], |
| 67 |
features = ["layering_check"], |
| 68 |
visibility = [ |
| 69 |
"//:__pkg__", |
| 70 |
"//modules/canvaskit:__pkg__", |
| 71 |
"//modules/skottie:__subpackages__", |
| 72 |
"//tools/viewer:__pkg__", |
| 73 |
], |
| 74 |
deps = [ |
| 75 |
"//:core", |
| 76 |
"//modules/skottie", |
| 77 |
"//src/base", |
| 78 |
"//tools/skui", |
| 79 |
], |
| 80 |
) |
| 81 |
|
| 82 |
skia_cc_library( |
| 83 |
name = "text_preshape", |
| 84 |
srcs = [ |
| 85 |
"TextPreshape.cpp", |
| 86 |
], |
| 87 |
hdrs = [ |
| 88 |
"TextPreshape.h", |
| 89 |
], |
| 90 |
features = ["layering_check"], |
| 91 |
visibility = [ |
| 92 |
"//:__pkg__", |
| 93 |
"//modules/skottie:__subpackages__", |
| 94 |
], |
| 95 |
deps = [ |
| 96 |
"//:core", |
| 97 |
"//modules/skottie", |
| 98 |
"//modules/skottie:skottie_priv", |
| 99 |
"//modules/skresources", |
| 100 |
"//modules/skshaper:skshaper_core", |
| 101 |
"//src/base", |
| 102 |
"//src/core:core_priv", |
| 103 |
], |
| 104 |
) |