Publicly depend on fontmgrs.
When a fontmgr is included in the Skia build any headers it provides
(like through public) are also public Skia headers.
Change-Id: Ibf18819a956e626a925f83a4f8ebab90978ff9a9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295818
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index f1fbf84..6edbb82 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -918,6 +918,16 @@
configs += skia_library_configs
public_deps = [
+ ":fontmgr_FontConfigInterface",
+ ":fontmgr_android",
+ ":fontmgr_custom_directory",
+ ":fontmgr_custom_embedded",
+ ":fontmgr_custom_empty",
+ ":fontmgr_fontconfig",
+ ":fontmgr_fuchsia",
+ ":fontmgr_mac_ct",
+ ":fontmgr_win",
+ ":fontmgr_win_gdi",
":gpu",
":pdf",
":skcms",
@@ -931,17 +941,7 @@
":avx",
":compile_processors",
":crc32",
- ":fontmgr_FontConfigInterface",
- ":fontmgr_android",
- ":fontmgr_custom_directory",
- ":fontmgr_custom_embedded",
- ":fontmgr_custom_empty",
":fontmgr_factory",
- ":fontmgr_fontconfig",
- ":fontmgr_fuchsia",
- ":fontmgr_mac_ct",
- ":fontmgr_win",
- ":fontmgr_win_gdi",
":gif",
":heif",
":hsw",