summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/BUILD.gn')
-rw-r--r--chrome/browser/ui/BUILD.gn8
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index dcc96d7..f08a99f 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -224,13 +224,7 @@ static_library("ui") {
gypi_values.chrome_browser_ui_views_non_chromeos_sources,
".", "//chrome")
}
- if (is_mac) {
- if (mac_views_browser) {
- sources -= [ "cocoa/browser_window_factory_cocoa.mm" ]
- } else {
- sources -= [ "views/frame/browser_window_factory.cc" ]
- }
- } else {
+ if (!is_mac) {
sources += rebase_path(
gypi_values.chrome_browser_ui_views_non_mac_sources,
".", "//chrome")