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

Side by Side Diff: ui/message_center/BUILD.gn

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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
« no previous file with comments | « ui/keyboard/BUILD.gn ('k') | ui/native_theme/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 component("message_center") { 8 component("message_center") {
9 deps = [ 9 deps = [
10 "//base", 10 "//base",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 122
123 if (use_ash) { 123 if (use_ash) {
124 sources += [ 124 sources += [
125 "views/message_bubble_base.cc", 125 "views/message_bubble_base.cc",
126 "views/message_bubble_base.h", 126 "views/message_bubble_base.h",
127 "views/message_center_bubble.cc", 127 "views/message_center_bubble.cc",
128 "views/message_center_bubble.h", 128 "views/message_center_bubble.h",
129 ] 129 ]
130 } 130 }
131
132 } else { 131 } else {
133 # Notification service disabled. 132 # Notification service disabled.
134 sources = [ 133 sources = [
135 "dummy_message_center.cc", 134 "dummy_message_center.cc",
136 "notification_delegate.cc", 135 "notification_delegate.cc",
137 "notification_delegate.h", 136 "notification_delegate.h",
138 ] 137 ]
138
139 # Android implements its own notification UI manager instead of deferring to 139 # Android implements its own notification UI manager instead of deferring to
140 # the message center (when notifications are enabled). Include a minimal 140 # the message center (when notifications are enabled). Include a minimal
141 # set of files required for notifications on Android. 141 # set of files required for notifications on Android.
142 if (is_android) { 142 if (is_android) {
143 sources += [ 143 sources += [
144 "notification.cc", 144 "notification.cc",
145 "notification.h", 145 "notification.h",
146 "notifier_settings.cc", 146 "notifier_settings.cc",
147 "notifier_settings.h", 147 "notifier_settings.h",
148 ] 148 ]
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 deps += [ 227 deps += [
228 # Compositor is needed by message_center_view_unittest.cc and for the 228 # Compositor is needed by message_center_view_unittest.cc and for the
229 # fonts used by bounded_label_unittest.cc. 229 # fonts used by bounded_label_unittest.cc.
230 "//ui/compositor", 230 "//ui/compositor",
231 "//ui/views", 231 "//ui/views",
232 "//ui/views:test_support", 232 "//ui/views:test_support",
233 ] 233 ]
234 } 234 }
235 } # enable_notifications && !is_android 235 } # enable_notifications && !is_android
236 } 236 }
OLDNEW
« no previous file with comments | « ui/keyboard/BUILD.gn ('k') | ui/native_theme/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698