Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index e1f8f3a3939bc1fe698ae43e6f124680a418d565..034b0f07813edda33a2fbda56e40fdf7667e0e25 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -139,9 +139,6 @@ static_library("common") { |
"//extensions:extensions_resources", |
"//extensions/strings", |
"//media/cast:net", |
- |
- # This dependency is for a header used only by extensions code. |
- "//ui/keyboard:keyboard_with_content", |
] |
if (is_chromeos) { |
sources += |
@@ -149,6 +146,10 @@ static_library("common") { |
".", |
"//chrome") |
} |
+ if (use_aura) { |
+ # This dependency is for a header used only by extensions code. |
+ public_deps += [ "//ui/keyboard:keyboard_with_content" ] |
+ } |
} |
if (is_win || is_mac) { |