Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: headless/BUILD.gn

Issue 2877813002: [headless] Enable headless embedders to specify fonts. (Closed)
Patch Set: rebased Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/args/headless.gn ('k') | headless/headless.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index 719ee27900f1b89619513e535d12b2ca94dfdc20..49124bcf949f0fa88b03f30d4cda8d045a56b4eb 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -200,6 +200,20 @@ action("gen_devtools_client_api") {
]
}
+if (headless_fontconfig_utils) {
+ static_library("headless_fontconfig_utils") {
+ sources = [
+ "public/util/fontconfig.cc",
+ "public/util/fontconfig.h",
+ ]
+
+ deps = [
+ "//third_party/fontconfig",
+ "//third_party/freetype",
+ ]
+ }
+}
+
component("headless") {
sources = [
"app/headless_shell_switches.cc",
@@ -380,6 +394,10 @@ component("headless") {
deps += [ "//ui/ozone" ]
}
+ if (headless_fontconfig_utils) {
+ deps += [ ":headless_fontconfig_utils" ]
+ }
+
configs += [ ":headless_implementation" ]
}
« no previous file with comments | « build/args/headless.gn ('k') | headless/headless.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698