summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/config/linux/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn
index d24ab75..144cd24 100644
--- a/build/config/linux/BUILD.gn
+++ b/build/config/linux/BUILD.gn
@@ -111,7 +111,7 @@ config("libresolv") {
}
# CrOS doesn't install GTK, gconf or any gnome packages.
-if (!is_chromeos) {
+if (!is_chromeos && use_gconf) {
# These packages should _only_ be expected when building for a target.
# If these extra checks are not run, gconf is required when building host
# tools for a CrOS build.