Index: chrome/chrome_browser_ui.gypi |
diff --git a/chrome/chrome_browser_ui.gypi b/chrome/chrome_browser_ui.gypi |
index 35471d8b77929143f7e48914330a243d9ba8a363..6da4b3728cb6877946d2a5af9125cd08766f8004 100644 |
--- a/chrome/chrome_browser_ui.gypi |
+++ b/chrome/chrome_browser_ui.gypi |
@@ -3271,12 +3271,8 @@ |
['exclude', '^browser/ui/webui/set_as_default_browser_ui.h'], |
], |
'conditions': [ |
- ['use_aura==1',{ |
+ ['use_aura==1', { |
'dependencies': [ |
- '../build/linux/system.gyp:dbus', |
- '../build/linux/system.gyp:fontconfig', |
- '../build/linux/system.gyp:x11', |
- '../dbus/dbus.gyp:dbus', |
'../ui/views/controls/webview/webview.gyp:webview', |
'../ui/views/views.gyp:views', |
], |
@@ -3285,6 +3281,7 @@ |
'<(INTERMEDIATE_DIR)/chrome', |
], |
'sources/': [ |
+ ['exclude', '^browser/ui/cocoa/*'], |
['exclude', '^browser/ui/views/frame/app_panel_browser_frame_view.cc'], |
['exclude', '^browser/ui/views/frame/app_panel_browser_frame_view.h'], |
['exclude', '^browser/ui/views/uninstall_view.cc'], |
@@ -3301,6 +3298,18 @@ |
['exclude', '^browser/ui/views/'], |
] |
}], |
+ ], |
+ }], |
+ ['OS=="linux"', { |
+ 'conditions': [ |
+ ['use_aura==1', { |
+ 'dependencies': [ |
+ '../build/linux/system.gyp:dbus', |
+ '../build/linux/system.gyp:fontconfig', |
+ '../build/linux/system.gyp:x11', |
+ '../dbus/dbus.gyp:dbus', |
+ ], |
+ }], |
# GTK build only |
['toolkit_uses_gtk==1', { |
'sources/': [ |