Index: trunk/src/chrome/chrome_browser.gypi |
=================================================================== |
--- trunk/src/chrome/chrome_browser.gypi (revision 199638) |
+++ trunk/src/chrome/chrome_browser.gypi (working copy) |
@@ -54,7 +54,6 @@ |
'../third_party/zlib/zlib.gyp:minizip', |
'../third_party/zlib/zlib.gyp:zlib', |
'../ui/base/strings/ui_strings.gyp:ui_strings', |
- '../ui/message_center/message_center.gyp:message_center', |
'../ui/ui.gyp:shell_dialogs', |
'../ui/ui.gyp:ui', |
'../ui/ui.gyp:ui_resources', |
@@ -2985,6 +2984,18 @@ |
'../ui/app_list/app_list.gyp:app_list', |
] |
}], |
+ ['enable_message_center==1', { |
+ 'dependencies': [ |
+ '../ui/message_center/message_center.gyp:message_center', |
+ ], |
+ }, { # enable_message_center==0 |
+ 'sources!': [ |
+ 'browser/notifications/message_center_notification_manager.cc', |
+ 'browser/notifications/message_center_notification_manager.h', |
+ 'browser/notifications/message_center_settings_controller.cc', |
+ 'browser/notifications/message_center_settings_controller.h', |
+ ], |
+ }], |
['enable_managed_users!=1', { |
'sources/': [ |
['exclude', '^browser/managed_mode/'], |