Index: chrome/browser/extensions/BUILD.gn |
diff --git a/chrome/browser/extensions/BUILD.gn b/chrome/browser/extensions/BUILD.gn |
index 61bb6de4d9fb6097cb34a64f0ae4114317e24600..1befad5a48a140797e533e78934f546b4936c204 100644 |
--- a/chrome/browser/extensions/BUILD.gn |
+++ b/chrome/browser/extensions/BUILD.gn |
@@ -116,17 +116,6 @@ |
] |
} |
- if (use_aura) { |
- deps += [ |
- "//ui/keyboard", |
- "//ui/keyboard:resources", |
- ] |
- } |
- |
- if (toolkit_views) { |
- deps += [ "//ui/views" ] |
- } |
- |
if (is_linux) { |
configs += [ "//build/config/linux:fontconfig" ] |
deps += [ "//dbus" ] |
@@ -167,6 +156,13 @@ |
sources += [ "api/braille_display_private/braille_controller_stub.cc" ] |
} |
+ if (use_aura) { |
+ deps += [ |
+ "//ui/keyboard", |
+ "//ui/keyboard:resources", |
+ ] |
+ } |
+ |
# chromeos uses its own global_shortcut_listener, _x11 is not necessary. |
if (is_chromeos || !use_x11) { |
sources -= [ |