Index: build/config/linux/BUILD.gn |
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn |
index d24ab75613062634e27b53e23599f45a1124213f..144cd2429a6cd0e0ebd9cc06f79b6c499f3326a0 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. |