Index: content/shell/BUILD.gn |
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn |
index 275499d7c7ebd94c281655acd9b8e91b218236b2..e774ce9d22258165a5fdb3e27dac2c7ecd67296e 100644 |
--- a/content/shell/BUILD.gn |
+++ b/content/shell/BUILD.gn |
@@ -276,7 +276,12 @@ static_library("content_shell_lib") { |
deps += [ "//components/crash/content/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", |
@@ -311,6 +316,11 @@ static_library("content_shell_lib") { |
if (is_chromeos) { |
deps += [ |
"//chromeos", |
+ ] |
+ } |
+ |
+ if (is_chromeos || (is_android && use_aura)) { |
+ deps += [ |
"//ui/wm:test_support", |
] |
} |