c3a448ec61
G3 prefers license() first. This was done mechanically with a big find/replace Change-Id: I8c33c7bc10a6bec42e966cad81c259954e841811 Bug: skia:13211 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/535898 Reviewed-by: Ben Wagner <bungeman@google.com>
19 lines
524 B
Python
19 lines
524 B
Python
load("//bazel:macros.bzl", "cc_library", "exports_files_legacy")
|
|
|
|
licenses(["notice"])
|
|
|
|
exports_files_legacy()
|
|
|
|
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": [],
|
|
}),
|
|
)
|