| OLD | NEW |
| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 "views/bounded_label.cc", | 97 "views/bounded_label.cc", |
| 98 "views/bounded_label.h", | 98 "views/bounded_label.h", |
| 99 "views/constants.h", | 99 "views/constants.h", |
| 100 "views/custom_notification_view.cc", |
| 101 "views/custom_notification_view.h", |
| 100 "views/desktop_popup_alignment_delegate.cc", | 102 "views/desktop_popup_alignment_delegate.cc", |
| 101 "views/desktop_popup_alignment_delegate.h", | 103 "views/desktop_popup_alignment_delegate.h", |
| 102 "views/message_bubble_base.cc", | 104 "views/message_bubble_base.cc", |
| 103 "views/message_bubble_base.h", | 105 "views/message_bubble_base.h", |
| 104 "views/message_center_bubble.cc", | 106 "views/message_center_bubble.cc", |
| 105 "views/message_center_bubble.h", | 107 "views/message_center_bubble.h", |
| 106 "views/message_center_button_bar.cc", | 108 "views/message_center_button_bar.cc", |
| 107 "views/message_center_button_bar.h", | 109 "views/message_center_button_bar.h", |
| 108 "views/message_center_controller.h", | 110 "views/message_center_controller.h", |
| 109 "views/message_center_view.cc", | 111 "views/message_center_view.cc", |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 "notification_list_unittest.cc", | 227 "notification_list_unittest.cc", |
| 226 ] | 228 ] |
| 227 | 229 |
| 228 if (is_mac) { | 230 if (is_mac) { |
| 229 deps += [ "//ui/gfx:test_support" ] | 231 deps += [ "//ui/gfx:test_support" ] |
| 230 } | 232 } |
| 231 | 233 |
| 232 if (toolkit_views && !is_mac) { | 234 if (toolkit_views && !is_mac) { |
| 233 sources += [ | 235 sources += [ |
| 234 "views/bounded_label_unittest.cc", | 236 "views/bounded_label_unittest.cc", |
| 237 "views/custom_notification_view_unittest.cc", |
| 235 "views/message_center_view_unittest.cc", | 238 "views/message_center_view_unittest.cc", |
| 236 "views/message_popup_collection_unittest.cc", | 239 "views/message_popup_collection_unittest.cc", |
| 237 "views/notification_view_unittest.cc", | 240 "views/notification_view_unittest.cc", |
| 238 "views/notifier_settings_view_unittest.cc", | 241 "views/notifier_settings_view_unittest.cc", |
| 239 ] | 242 ] |
| 240 deps += [ | 243 deps += [ |
| 241 # Compositor is needed by message_center_view_unittest.cc and for the | 244 # Compositor is needed by message_center_view_unittest.cc and for the |
| 242 # fonts used by bounded_label_unittest.cc. | 245 # fonts used by bounded_label_unittest.cc. |
| 243 "//ui/compositor", | 246 "//ui/compositor", |
| 244 "//ui/display", | 247 "//ui/display", |
| 245 "//ui/views", | 248 "//ui/views", |
| 246 "//ui/views:test_support", | 249 "//ui/views:test_support", |
| 247 ] | 250 ] |
| 248 } | 251 } |
| 249 } # enable_notifications && !is_android | 252 } # enable_notifications && !is_android |
| 250 } | 253 } |
| OLD | NEW |