Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index b57836557d1adc211f5e10e54661abc1c6f7658f..7967a2a36ce83d95c3361f206ffa11dc57bb3d98 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -508,10 +508,10 @@ source_set("ui") { |
".", |
"//chrome") |
if (use_aura) { |
- deps += [ |
- "//build/linux:fontconfig", |
- "//dbus", |
- ] |
+ deps += [ "//build/linux:fontconfig" ] |
+ if (use_dbus) { |
+ deps += [ "//dbus" ] |
+ } |
} |
if (use_x11) { |
sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, |