commit | c123b5a93d4da3531edab419146533a3ab5cae57 | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Fri May 27 15:12:31 2022 -0400 |
committer | Kevin Lubick <kjlubick@google.com> | Tue May 31 14:14:54 2022 +0000 |
tree | af1af326c6afab353787e7b4c48818defed5f443 | |
parent | 5810c7ad0b8bbe0c044ff28d0fa93258661a969f [diff] |
[bazel] Add rules for CanvasKit and dependent modules This may look like a lot, but //modules/canvaskit/BUILD.bazel is nearly identical to how it was with gazelle: https://github.com/google/skia/blob/162dfca3403b21575212f2b75e6627fa88ae6160/modules/canvaskit/BUILD.bazel I removed the "wasm_gm_tests" targets from it, because they had bitrotted slightly and fixing them is its own task. CanvasKit depends on Skottie and Particles, which depend on the SkParagraph, SkShaper, SkUnicode, and SkResources modules. I've structured the BUILD.bazel files in the //modules directory in a similar fashion as the "hierarchical filegroup" introduced in https://skia-review.googlesource.com/c/skia/+/543977 Suggested Review Order - //modules/skottie/... - //modules/skparagraph/... - all other modules. - Note that modules/canvaskit/go/gold_test_env/BUILD.bazel is generated from gazelle, because we like how gazelle handles golang files and deps. - All other files in any order. Change-Id: I0aa9e6f81dba2c00f15cae7b19fe49a2027dcf1d Bug: skia:12541 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/544676 Reviewed-by: Leandro Lovisolo <lovisolo@google.com>