| 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 import("//ui/vector_icons/vector_icons.gni") | 8 import("//ui/vector_icons/vector_icons.gni") |
| 9 | 9 |
| 10 aggregate_vector_icons("message_center_vector_icons") { | 10 aggregate_vector_icons("message_center_vector_icons") { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 } | 106 } |
| 107 | 107 |
| 108 # On Mac, toolkit-views builds still use the Cocoa UI. Keep this in sync | 108 # On Mac, toolkit-views builds still use the Cocoa UI. Keep this in sync |
| 109 # with message_center_unittests below. | 109 # with message_center_unittests below. |
| 110 if (toolkit_views && !is_mac) { | 110 if (toolkit_views && !is_mac) { |
| 111 sources += [ | 111 sources += [ |
| 112 "notification_delegate_views.cc", | 112 "notification_delegate_views.cc", |
| 113 "views/bounded_label.cc", | 113 "views/bounded_label.cc", |
| 114 "views/bounded_label.h", | 114 "views/bounded_label.h", |
| 115 "views/constants.h", | 115 "views/constants.h", |
| 116 "views/custom_notification_content_view_delegate.cc", | |
| 117 "views/custom_notification_content_view_delegate.h", | |
| 118 "views/custom_notification_view.cc", | |
| 119 "views/custom_notification_view.h", | |
| 120 "views/desktop_popup_alignment_delegate.cc", | 116 "views/desktop_popup_alignment_delegate.cc", |
| 121 "views/desktop_popup_alignment_delegate.h", | 117 "views/desktop_popup_alignment_delegate.h", |
| 122 "views/message_bubble_base.cc", | 118 "views/message_bubble_base.cc", |
| 123 "views/message_bubble_base.h", | 119 "views/message_bubble_base.h", |
| 124 "views/message_center_bubble.cc", | 120 "views/message_center_bubble.cc", |
| 125 "views/message_center_bubble.h", | 121 "views/message_center_bubble.h", |
| 126 "views/message_center_button_bar.cc", | 122 "views/message_center_button_bar.cc", |
| 127 "views/message_center_button_bar.h", | 123 "views/message_center_button_bar.h", |
| 128 "views/message_center_controller.h", | 124 "views/message_center_controller.h", |
| 129 "views/message_center_view.cc", | 125 "views/message_center_view.cc", |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 "notification_list_unittest.cc", | 245 "notification_list_unittest.cc", |
| 250 ] | 246 ] |
| 251 | 247 |
| 252 if (is_mac) { | 248 if (is_mac) { |
| 253 deps += [ "//ui/gfx:test_support" ] | 249 deps += [ "//ui/gfx:test_support" ] |
| 254 } | 250 } |
| 255 | 251 |
| 256 if (toolkit_views && !is_mac) { | 252 if (toolkit_views && !is_mac) { |
| 257 sources += [ | 253 sources += [ |
| 258 "views/bounded_label_unittest.cc", | 254 "views/bounded_label_unittest.cc", |
| 259 "views/custom_notification_view_unittest.cc", | |
| 260 "views/message_center_view_unittest.cc", | 255 "views/message_center_view_unittest.cc", |
| 261 "views/message_list_view_unittest.cc", | 256 "views/message_list_view_unittest.cc", |
| 262 "views/message_popup_collection_unittest.cc", | 257 "views/message_popup_collection_unittest.cc", |
| 263 "views/notification_view_unittest.cc", | 258 "views/notification_view_unittest.cc", |
| 264 "views/notifier_settings_view_unittest.cc", | 259 "views/notifier_settings_view_unittest.cc", |
| 265 ] | 260 ] |
| 266 deps += [ | 261 deps += [ |
| 267 # Compositor is needed by message_center_view_unittest.cc and for the | 262 # Compositor is needed by message_center_view_unittest.cc and for the |
| 268 # fonts used by bounded_label_unittest.cc. | 263 # fonts used by bounded_label_unittest.cc. |
| 269 "//ui/compositor", | 264 "//ui/compositor", |
| 270 "//ui/display", | 265 "//ui/display", |
| 271 "//ui/views", | 266 "//ui/views", |
| 272 "//ui/views:test_support", | 267 "//ui/views:test_support", |
| 273 ] | 268 ] |
| 274 } | 269 } |
| 275 | 270 |
| 276 if (!is_ios) { | 271 if (!is_ios) { |
| 277 sources += [ "mojo/struct_traits_unittest.cc" ] | 272 sources += [ "mojo/struct_traits_unittest.cc" ] |
| 278 deps += [ | 273 deps += [ |
| 279 "//mojo/edk/system", | 274 "//mojo/edk/system", |
| 280 "//ui/gfx:test_support", | 275 "//ui/gfx:test_support", |
| 281 "//ui/message_center/mojo:test_interfaces", | 276 "//ui/message_center/mojo:test_interfaces", |
| 282 ] | 277 ] |
| 283 } | 278 } |
| 284 } # !is_ios && !is_android | 279 } # !is_ios && !is_android |
| 285 } | 280 } |
| OLD | NEW |