Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index dff7b8b995b4c950b34f765339a019ed6e67f5dd..205bde3577cee3c366331ac994f27352dd1cb4cd 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -444,7 +444,7 @@ source_set("ui") { |
".", |
"//chrome") |
} |
- if (enable_media_router) { |
+ if (enable_media_router && !is_android && !is_ios) { |
sources += rebase_path(gypi_values.chrome_browser_ui_media_router_sources, |
".", |
"//chrome") |