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 | 7 |
8 component("message_center") { | 8 component("message_center") { |
9 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] | 9 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//base:i18n", | 13 "//base:i18n", |
14 "//base/third_party/dynamic_annotations", | 14 "//base/third_party/dynamic_annotations", |
15 "//skia", | 15 "//skia", |
| 16 "//ui/accessibility", |
16 "//ui/base", | 17 "//ui/base", |
| 18 "//ui/events", |
17 "//ui/gfx", | 19 "//ui/gfx", |
18 "//ui/gfx/geometry", | 20 "//ui/gfx/geometry", |
19 "//ui/resources", | 21 "//ui/resources", |
20 "//ui/strings", | 22 "//ui/strings", |
21 ] | 23 ] |
22 | 24 |
23 if (enable_notifications) { | 25 if (enable_notifications) { |
24 sources = [ | 26 sources = [ |
25 "cocoa/notification_controller.h", | 27 "cocoa/notification_controller.h", |
26 "cocoa/notification_controller.mm", | 28 "cocoa/notification_controller.mm", |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 173 |
172 deps = [ | 174 deps = [ |
173 ":message_center", | 175 ":message_center", |
174 ":test_support", | 176 ":test_support", |
175 "//base", | 177 "//base", |
176 "//base/allocator", | 178 "//base/allocator", |
177 "//base/test:test_support", | 179 "//base/test:test_support", |
178 "//skia", | 180 "//skia", |
179 "//testing/gtest", | 181 "//testing/gtest", |
180 "//ui/base", | 182 "//ui/base", |
| 183 "//ui/events", |
181 "//ui/gfx", | 184 "//ui/gfx", |
182 "//ui/gfx/geometry", | 185 "//ui/gfx/geometry", |
| 186 "//ui/gl", |
183 "//ui/resources", | 187 "//ui/resources", |
184 "//ui/resources:ui_test_pak", | 188 "//ui/resources:ui_test_pak", |
185 "//url", | 189 "//url", |
186 ] | 190 ] |
187 | 191 |
188 if (enable_notifications) { | 192 if (enable_notifications) { |
189 sources += [ | 193 sources += [ |
190 "cocoa/notification_controller_unittest.mm", | 194 "cocoa/notification_controller_unittest.mm", |
191 "cocoa/popup_collection_unittest.mm", | 195 "cocoa/popup_collection_unittest.mm", |
192 "cocoa/popup_controller_unittest.mm", | 196 "cocoa/popup_controller_unittest.mm", |
(...skipping 22 matching lines...) Expand all Loading... |
215 deps += [ | 219 deps += [ |
216 # Compositor is needed by message_center_view_unittest.cc and for the | 220 # Compositor is needed by message_center_view_unittest.cc and for the |
217 # fonts used by bounded_label_unittest.cc. | 221 # fonts used by bounded_label_unittest.cc. |
218 "//ui/compositor", | 222 "//ui/compositor", |
219 "//ui/views", | 223 "//ui/views", |
220 "//ui/views:test_support", | 224 "//ui/views:test_support", |
221 ] | 225 ] |
222 } | 226 } |
223 } # enable_notifications | 227 } # enable_notifications |
224 } | 228 } |
OLD | NEW |