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 component("message_center") { | 9 component("message_center") { |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
12 "//base:i18n", | 12 "//base:i18n", |
13 "//base/third_party/dynamic_annotations", | 13 "//base/third_party/dynamic_annotations", |
14 "//skia", | 14 "//skia", |
15 "//ui/accessibility", | 15 "//ui/accessibility", |
16 "//ui/base", | 16 "//ui/base", |
17 "//ui/events", | 17 "//ui/events", |
18 "//ui/gfx", | 18 "//ui/gfx", |
19 "//ui/gfx/geometry", | 19 "//ui/gfx/geometry", |
20 "//ui/native_theme", | 20 "//ui/native_theme", |
21 "//ui/resources", | 21 "//ui/resources", |
22 "//ui/strings", | 22 "//ui/strings", |
23 "//url", | 23 "//url", |
24 ] | 24 ] |
25 | 25 |
26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 26 configs += [ |
27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 27 "//build/config:precompiled_headers", |
| 28 |
| 29 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 30 "//build/config/compiler:no_size_t_to_int_warning", |
| 31 ] |
28 | 32 |
29 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] | 33 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] |
30 | 34 |
31 if (enable_notifications && !is_android) { | 35 if (enable_notifications && !is_android) { |
32 sources = [ | 36 sources = [ |
33 "cocoa/notification_controller.h", | 37 "cocoa/notification_controller.h", |
34 "cocoa/notification_controller.mm", | 38 "cocoa/notification_controller.mm", |
35 "cocoa/opaque_views.h", | 39 "cocoa/opaque_views.h", |
36 "cocoa/opaque_views.mm", | 40 "cocoa/opaque_views.mm", |
37 "cocoa/popup_collection.h", | 41 "cocoa/popup_collection.h", |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 deps += [ | 235 deps += [ |
232 # Compositor is needed by message_center_view_unittest.cc and for the | 236 # Compositor is needed by message_center_view_unittest.cc and for the |
233 # fonts used by bounded_label_unittest.cc. | 237 # fonts used by bounded_label_unittest.cc. |
234 "//ui/compositor", | 238 "//ui/compositor", |
235 "//ui/views", | 239 "//ui/views", |
236 "//ui/views:test_support", | 240 "//ui/views:test_support", |
237 ] | 241 ] |
238 } | 242 } |
239 } # enable_notifications && !is_android | 243 } # enable_notifications && !is_android |
240 } | 244 } |
OLD | NEW |