Index: chrome/browser/BUILD.gn |
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn |
index 5df14a4b99031d956c4dd09a748975acb727e6f3..dfc340a72e169dfde46317a528532c45b04a2af6 100644 |
--- a/chrome/browser/BUILD.gn |
+++ b/chrome/browser/BUILD.gn |
@@ -867,11 +867,10 @@ source_set("browser") { |
if (is_linux) { |
if (use_aura) { |
- configs += [ "//build/config/linux/dbus" ] |
- deps += [ |
- "//build/linux:fontconfig", |
- "//dbus", |
- ] |
+ deps += [ "//build/linux:fontconfig" ] |
+ if (use_dbus) { |
+ deps += [ "//dbus" ] |
+ } |
} |
if (use_x11) { |
configs += [ "//build/config/linux:x11" ] |