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") { |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//ui/base", | 13 "//ui/base", |
14 "//url", | 14 "//url", |
15 ] | 15 ] |
16 | 16 |
17 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] | 17 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] |
18 | 18 |
19 if (enable_notifications && !is_android) { | 19 if (enable_notifications && !is_android) { |
20 deps += [ | 20 deps += [ |
21 "//base:i18n", | 21 "//base:i18n", |
22 "//base/third_party/dynamic_annotations", | 22 "//base/third_party/dynamic_annotations", |
23 "//components/url_formatter", | 23 "//components/url_formatter", |
24 "//skia", | 24 "//skia", |
25 "//ui/accessibility", | 25 "//ui/accessibility", |
| 26 "//ui/display", |
26 "//ui/events", | 27 "//ui/events", |
27 "//ui/gfx", | 28 "//ui/gfx", |
28 "//ui/gfx/geometry", | 29 "//ui/gfx/geometry", |
29 "//ui/native_theme", | 30 "//ui/native_theme", |
30 "//ui/resources", | 31 "//ui/resources", |
31 "//ui/strings", | 32 "//ui/strings", |
32 ] | 33 ] |
33 | 34 |
34 configs += [ | 35 configs += [ |
35 "//build/config:precompiled_headers", | 36 "//build/config:precompiled_headers", |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 "views/bounded_label_unittest.cc", | 227 "views/bounded_label_unittest.cc", |
227 "views/message_center_view_unittest.cc", | 228 "views/message_center_view_unittest.cc", |
228 "views/message_popup_collection_unittest.cc", | 229 "views/message_popup_collection_unittest.cc", |
229 "views/notification_view_unittest.cc", | 230 "views/notification_view_unittest.cc", |
230 "views/notifier_settings_view_unittest.cc", | 231 "views/notifier_settings_view_unittest.cc", |
231 ] | 232 ] |
232 deps += [ | 233 deps += [ |
233 # Compositor is needed by message_center_view_unittest.cc and for the | 234 # Compositor is needed by message_center_view_unittest.cc and for the |
234 # fonts used by bounded_label_unittest.cc. | 235 # fonts used by bounded_label_unittest.cc. |
235 "//ui/compositor", | 236 "//ui/compositor", |
| 237 "//ui/display", |
236 "//ui/views", | 238 "//ui/views", |
237 "//ui/views:test_support", | 239 "//ui/views:test_support", |
238 ] | 240 ] |
239 } | 241 } |
240 } # enable_notifications && !is_android | 242 } # enable_notifications && !is_android |
241 } | 243 } |
OLD | NEW |