Index: content/shell/BUILD.gn |
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn |
index 126d1c735ac9e52e6a8183844527efa9435db512..45962fb517fba90f5bdb83fc047c9bd57c40e491 100644 |
--- a/content/shell/BUILD.gn |
+++ b/content/shell/BUILD.gn |
@@ -274,7 +274,12 @@ static_library("content_shell_lib") { |
deps += [ "//components/crash/browser" ] |
} |
- if (use_aura) { |
+ if (is_android && use_aura) { |
+ sources -= [ |
+ "browser/shell_android.cc", |
+ "android/shell_manager.cc", |
+ "android/shell_manager.h", |
+ ] |
deps += [ |
"//ui/aura", |
"//ui/aura:test_support", |
@@ -309,6 +314,11 @@ static_library("content_shell_lib") { |
if (is_chromeos) { |
deps += [ |
"//chromeos", |
+ ] |
+ } |
+ |
+ if (is_chromeos || is_android) { |
+ deps += [ |
"//ui/wm:test_support", |
] |
} |