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 configs += [ | 26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
27 "//build/config:precompiled_headers", | 27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
28 | |
29 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
30 "//build/config/compiler:no_size_t_to_int_warning", | |
31 ] | |
32 | 28 |
33 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] | 29 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] |
34 | 30 |
35 if (enable_notifications && !is_android) { | 31 if (enable_notifications && !is_android) { |
36 sources = [ | 32 sources = [ |
37 "cocoa/notification_controller.h", | 33 "cocoa/notification_controller.h", |
38 "cocoa/notification_controller.mm", | 34 "cocoa/notification_controller.mm", |
39 "cocoa/opaque_views.h", | 35 "cocoa/opaque_views.h", |
40 "cocoa/opaque_views.mm", | 36 "cocoa/opaque_views.mm", |
41 "cocoa/popup_collection.h", | 37 "cocoa/popup_collection.h", |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 deps += [ | 231 deps += [ |
236 # Compositor is needed by message_center_view_unittest.cc and for the | 232 # Compositor is needed by message_center_view_unittest.cc and for the |
237 # fonts used by bounded_label_unittest.cc. | 233 # fonts used by bounded_label_unittest.cc. |
238 "//ui/compositor", | 234 "//ui/compositor", |
239 "//ui/views", | 235 "//ui/views", |
240 "//ui/views:test_support", | 236 "//ui/views:test_support", |
241 ] | 237 ] |
242 } | 238 } |
243 } # enable_notifications && !is_android | 239 } # enable_notifications && !is_android |
244 } | 240 } |
OLD | NEW |