skia2/modules/skshaper/BUILD.bazel
Kevin Lubick c3a448ec61 [bazel] Put licenses() after legacy_exports
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>
2022-05-02 15:04:33 +00:00

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": [],
}),
)