Index: components/html_viewer/BUILD.gn |
diff --git a/components/html_viewer/BUILD.gn b/components/html_viewer/BUILD.gn |
index dcbdaf28ee1d75a3ded952c36b634a6ef996ec57..ab49118aaca7a641538c420e94529624dc4b3b8c 100644 |
--- a/components/html_viewer/BUILD.gn |
+++ b/components/html_viewer/BUILD.gn |
@@ -185,6 +185,10 @@ source_set("lib") { |
sources += [ "html_viewer_version.rc" ] |
} |
+ if (is_linux && !is_android) { |
+ deps += [ "//components/font_service/public/cpp" ] |
+ } |
+ |
data_deps = [ |
"//components/clipboard", |
"//components/view_manager", |
@@ -316,4 +320,8 @@ mojo_native_application("apptests") { |
":html_viewer", |
"//components/view_manager", |
] |
+ |
+ if (is_linux && !is_android) { |
+ data_deps += [ "//components/font_service" ] |
+ } |
} |