Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index ecc7ee5ed24f9a3e0580b77f9e34db1d0c45dced..dff7b8b995b4c950b34f765339a019ed6e67f5dd 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -203,7 +203,7 @@ source_set("ui") { |
deps += [ "//extensions/components/native_app_window" ] |
} |
- if (!is_chromeos) { |
+ if (!is_chromeos && (!is_mac || mac_views_browser)) { |
sources += |
rebase_path(gypi_values.chrome_browser_ui_views_non_chromeos_sources, |
".", |