Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Unified Diff: ui/message_center/message_center.gyp

Issue 15025002: Remove ENABLE_MESSAGE_CENTER (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing static initializer Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/dummy_message_center.cc ('k') | ui/message_center/message_center_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center.gyp
diff --git a/ui/message_center/message_center.gyp b/ui/message_center/message_center.gyp
index 2b84ad8f4bbf358a338214952c8a1e3e86f62185..ebf18e9102c3775a7cf0518dddfd426f493e9c9a 100644
--- a/ui/message_center/message_center.gyp
+++ b/ui/message_center/message_center.gyp
@@ -17,7 +17,6 @@
'../../build/temp_gyp/googleurl.gyp:googleurl',
'../../skia/skia.gyp:skia',
'../base/strings/ui_strings.gyp:ui_strings',
- '../compositor/compositor.gyp:compositor',
'../ui.gyp:ui',
'../ui.gyp:ui_resources',
],
@@ -31,6 +30,7 @@
'cocoa/popup_collection.mm',
'cocoa/popup_controller.h',
'cocoa/popup_controller.mm',
+ 'dummy_message_center.cc',
'message_center.cc',
'message_center.h',
'message_center_constants.cc',
@@ -97,6 +97,21 @@
'../../third_party/GTM',
],
}],
+ ['OS!="ios"', {
+ 'dependencies': [
+ '../compositor/compositor.gyp:compositor',
+ ],
+ }],
+ ['notifications==0', { # Android and iOS.
+ 'sources/': [
+ # Exclude everything except dummy impl.
+ ['exclude', '\\.(cc|mm)$'],
+ ['include', '^dummy_message_center\\.cc$'],
+ ['include', '^message_center_switches\\.cc$'],
+ ],
+ }, { # notifications==1
+ 'sources!': [ 'dummy_message_center.cc' ],
+ }],
],
}, # target_name: message_center
{
@@ -142,6 +157,13 @@
'views/message_popup_collection_unittest.cc',
],
}],
+ ['notifications==0', { # Android and iOS.
+ 'sources/': [
+ # Exclude everything except main().
+ ['exclude', '\\.(cc|mm)$'],
+ ['include', '^test/run_all_unittests\\.cc$'],
+ ],
+ }],
],
}, # target_name: message_center_unittests
],
« no previous file with comments | « ui/message_center/dummy_message_center.cc ('k') | ui/message_center/message_center_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698