Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index 97019946ded0b3feb11af9fb07f07db8d00bccde..42b1d8fe9420637dcf9ce65e18a4008f515ed686 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) { |