Index: build/linux/BUILD.gn |
diff --git a/build/linux/BUILD.gn b/build/linux/BUILD.gn |
index 754859a56107899c74c26dc47dc495a89b4dde1b..df753ee016fe68f051f0756c0be21b5fffbb90fd 100644 |
--- a/build/linux/BUILD.gn |
+++ b/build/linux/BUILD.gn |
@@ -11,7 +11,7 @@ gypi_values = exec_script("//build/gypi_to_gn.py", |
"scope", |
[ "system.gyp" ]) |
-use_system_fontconfig = !is_chromecast |
+use_system_fontconfig = !is_chromecast && !is_headless |
jam
2015/10/26 17:05:32
why?
Sami
2015/10/26 18:09:06
Right, I suppose that choice is really orthogonal.
|
# If brlapi isn't needed, don't require it to be installed. |
if (use_brlapi) { |
@@ -30,7 +30,7 @@ if (use_brlapi) { |
functions = gypi_values.libbrlapi_functions |
} |
} |
-if (is_desktop_linux) { |
+if (use_gio) { |
pkg_config("gio_config") { |
packages = [ "gio-2.0" ] |