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

Unified Diff: headless/BUILD.gn

Issue 2877813002: [headless] Enable headless embedders to specify fonts. (Closed)
Patch Set: 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
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index 8298ad60a9c73e03935fab1073633202c68b25a0..9cfa6d3e972db9ee4042081a25104b5030a6bdd5 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -197,6 +197,18 @@ action("gen_devtools_client_api") {
]
}
+static_library("headless_fontconfig_utils") {
+ sources = [
+ "public/util/fontconfig.cc",
+ "public/util/fontconfig.h",
+ ]
+
+ deps = [
+ "//third_party/fontconfig",
+ "//third_party/freetype",
+ ]
+}
+
static_library("headless_lib") {
sources = [
"app/headless_shell_switches.cc",
@@ -372,6 +384,10 @@ static_library("headless_lib") {
deps += [ "//ui/ozone" ]
}
+ if (headless_fontconfig_utils) {
+ deps += [ ":headless_fontconfig_utils" ]
+ }
+
configs += [ ":headless_implementation" ]
}

Powered by Google App Engine
This is Rietveld 408576698