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

Side by Side Diff: ui/message_center/message_center.gyp

Issue 247943003: Allow compiling Android with notifications=1, add stubbed UI manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ['use_ash==0', { 129 ['use_ash==0', {
130 'sources!': [ 130 'sources!': [
131 'views/message_bubble_base.cc', 131 'views/message_bubble_base.cc',
132 'views/message_bubble_base.h', 132 'views/message_bubble_base.h',
133 'views/message_center_bubble.cc', 133 'views/message_center_bubble.cc',
134 'views/message_center_bubble.h', 134 'views/message_center_bubble.h',
135 'views/message_popup_bubble.cc', 135 'views/message_popup_bubble.cc',
136 'views/message_popup_bubble.h', 136 'views/message_popup_bubble.h',
137 ], 137 ],
138 }], 138 }],
139 ['notifications==0', { # Android and iOS. 139 # iOS disables notifications altogether, Android implements its own
140 # notification UI manager instead of deferring to the message center.
141 ['notifications==0 or OS=="android"', {
140 'sources/': [ 142 'sources/': [
141 # Exclude everything except dummy impl. 143 # Exclude everything except dummy impl.
142 ['exclude', '\\.(cc|mm)$'], 144 ['exclude', '\\.(cc|mm)$'],
143 ['include', '^dummy_message_center\\.cc$'], 145 ['include', '^dummy_message_center\\.cc$'],
144 ['include', '^message_center_switches\\.cc$'], 146 ['include', '^message_center_switches\\.cc$'],
145 ], 147 ],
146 }, { # notifications==1 148 }, { # notifications==1
147 'sources!': [ 'dummy_message_center.cc' ], 149 'sources!': [ 'dummy_message_center.cc' ],
148 }], 150 }],
151 # Include a minimal set of files required for notifications on Android.
152 ['OS=="android"', {
153 'sources/': [
154 ['include', '^notification\\.cc$'],
155 ['include', '^notification_delegate\\.cc$'],
156 ['include', '^notifier_settings\\.cc$'],
157 ],
158 }],
149 ], 159 ],
150 }, # target_name: message_center 160 }, # target_name: message_center
151 { 161 {
152 'target_name': 'message_center_test_support', 162 'target_name': 'message_center_test_support',
153 'type': 'static_library', 163 'type': 'static_library',
154 'dependencies': [ 164 'dependencies': [
155 '../../base/base.gyp:base', 165 '../../base/base.gyp:base',
156 '../../base/base.gyp:test_support_base', 166 '../../base/base.gyp:test_support_base',
157 '../../skia/skia.gyp:skia', 167 '../../skia/skia.gyp:skia',
158 '../base/ui_base.gyp:ui_base', 168 '../base/ui_base.gyp:ui_base',
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 242 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
233 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { 243 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
234 'dependencies': [ 244 'dependencies': [
235 '../../base/allocator/allocator.gyp:allocator', 245 '../../base/allocator/allocator.gyp:allocator',
236 ], 246 ],
237 }], 247 }],
238 ], 248 ],
239 }, # target_name: message_center_unittests 249 }, # target_name: message_center_unittests
240 ], 250 ],
241 } 251 }
OLDNEW
« chrome/browser/notifications/notification_ui_manager.cc ('K') | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698