2022-04-29 15:52:17 +00:00
|
|
|
load("//bazel:macros.bzl", "cc_library", "exports_files_legacy")
|
|
|
|
|
2022-04-13 19:29:51 +00:00
|
|
|
licenses(["notice"])
|
|
|
|
|
2022-05-02 13:38:15 +00:00
|
|
|
exports_files_legacy()
|
|
|
|
|
2021-11-30 20:59:32 +00:00
|
|
|
cc_library(
|
|
|
|
name = "skshaper",
|
|
|
|
hdrs = ["//modules/skshaper/include:hdrs"],
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//modules/skshaper/src:SkShaper_primitive_src",
|
|
|
|
"//modules/skshaper/src:SkShaper_src",
|
|
|
|
] + select({
|
|
|
|
"//bazel/common_config_settings:harfbuzz_shaper": ["//modules/skshaper/src:SkShaper_harfbuzz_src"],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
|
|
|
)
|