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

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

Issue 1979583003: Support notifications with custom content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@messageview-close-button
Patch Set: fix mac build, attempt 2 Created 4 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 unified diff | Download patch
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 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 # TODO(msw|mukai|dewittj): Move ash-specific files: crbug.com/585175 9 # TODO(msw|mukai|dewittj): Move ash-specific files: crbug.com/585175
10 component("message_center") { 10 component("message_center") {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 libs = [ 87 libs = [
88 "AppKit.framework", 88 "AppKit.framework",
89 "Foundation.framework", 89 "Foundation.framework",
90 ] 90 ]
91 } 91 }
92 92
93 # On Mac, toolkit-views builds still use the Cocoa UI. Keep this in sync 93 # On Mac, toolkit-views builds still use the Cocoa UI. Keep this in sync
94 # with message_center_unittests below. 94 # with message_center_unittests below.
95 if (toolkit_views && !is_mac) { 95 if (toolkit_views && !is_mac) {
96 sources += [ 96 sources += [
97 "notification_delegate_views.cc",
97 "views/bounded_label.cc", 98 "views/bounded_label.cc",
98 "views/bounded_label.h", 99 "views/bounded_label.h",
99 "views/constants.h", 100 "views/constants.h",
101 "views/custom_notification_view.cc",
102 "views/custom_notification_view.h",
100 "views/desktop_popup_alignment_delegate.cc", 103 "views/desktop_popup_alignment_delegate.cc",
101 "views/desktop_popup_alignment_delegate.h", 104 "views/desktop_popup_alignment_delegate.h",
102 "views/message_bubble_base.cc", 105 "views/message_bubble_base.cc",
103 "views/message_bubble_base.h", 106 "views/message_bubble_base.h",
104 "views/message_center_bubble.cc", 107 "views/message_center_bubble.cc",
105 "views/message_center_bubble.h", 108 "views/message_center_bubble.h",
106 "views/message_center_button_bar.cc", 109 "views/message_center_button_bar.cc",
107 "views/message_center_button_bar.h", 110 "views/message_center_button_bar.h",
108 "views/message_center_controller.h", 111 "views/message_center_controller.h",
109 "views/message_center_view.cc", 112 "views/message_center_view.cc",
110 "views/message_center_view.h", 113 "views/message_center_view.h",
111 "views/message_list_view.cc", 114 "views/message_list_view.cc",
112 "views/message_list_view.h", 115 "views/message_list_view.h",
113 "views/message_popup_collection.cc", 116 "views/message_popup_collection.cc",
114 "views/message_popup_collection.h", 117 "views/message_popup_collection.h",
115 "views/message_view.cc", 118 "views/message_view.cc",
116 "views/message_view.h", 119 "views/message_view.h",
117 "views/message_view_context_menu_controller.cc", 120 "views/message_view_context_menu_controller.cc",
118 "views/message_view_context_menu_controller.h", 121 "views/message_view_context_menu_controller.h",
122 "views/message_view_factory.cc",
123 "views/message_view_factory.h",
119 "views/notification_button.cc", 124 "views/notification_button.cc",
120 "views/notification_button.h", 125 "views/notification_button.h",
121 "views/notification_progress_bar.cc", 126 "views/notification_progress_bar.cc",
122 "views/notification_progress_bar.h", 127 "views/notification_progress_bar.h",
123 "views/notification_view.cc", 128 "views/notification_view.cc",
124 "views/notification_view.h", 129 "views/notification_view.h",
125 "views/notifier_settings_view.cc", 130 "views/notifier_settings_view.cc",
126 "views/notifier_settings_view.h", 131 "views/notifier_settings_view.h",
127 "views/padded_button.cc", 132 "views/padded_button.cc",
128 "views/padded_button.h", 133 "views/padded_button.h",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 "notification_list_unittest.cc", 230 "notification_list_unittest.cc",
226 ] 231 ]
227 232
228 if (is_mac) { 233 if (is_mac) {
229 deps += [ "//ui/gfx:test_support" ] 234 deps += [ "//ui/gfx:test_support" ]
230 } 235 }
231 236
232 if (toolkit_views && !is_mac) { 237 if (toolkit_views && !is_mac) {
233 sources += [ 238 sources += [
234 "views/bounded_label_unittest.cc", 239 "views/bounded_label_unittest.cc",
240 "views/custom_notification_view_unittest.cc",
235 "views/message_center_view_unittest.cc", 241 "views/message_center_view_unittest.cc",
236 "views/message_popup_collection_unittest.cc", 242 "views/message_popup_collection_unittest.cc",
237 "views/notification_view_unittest.cc", 243 "views/notification_view_unittest.cc",
238 "views/notifier_settings_view_unittest.cc", 244 "views/notifier_settings_view_unittest.cc",
239 ] 245 ]
240 deps += [ 246 deps += [
241 # Compositor is needed by message_center_view_unittest.cc and for the 247 # Compositor is needed by message_center_view_unittest.cc and for the
242 # fonts used by bounded_label_unittest.cc. 248 # fonts used by bounded_label_unittest.cc.
243 "//ui/compositor", 249 "//ui/compositor",
244 "//ui/display", 250 "//ui/display",
245 "//ui/views", 251 "//ui/views",
246 "//ui/views:test_support", 252 "//ui/views:test_support",
247 ] 253 ]
248 } 254 }
249 } # enable_notifications && !is_android 255 } # enable_notifications && !is_android
250 } 256 }
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_conversion_helper.cc ('k') | ui/message_center/message_center.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698