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 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 "notification.cc", | 140 "notification.cc", |
141 "notification.h", | 141 "notification.h", |
142 "notifier_settings.cc", | 142 "notifier_settings.cc", |
143 "notifier_settings.h", | 143 "notifier_settings.h", |
144 ] | 144 ] |
145 } | 145 } |
146 } | 146 } |
147 } | 147 } |
148 | 148 |
149 static_library("test_support") { | 149 static_library("test_support") { |
| 150 testonly = true |
150 sources = [ | 151 sources = [ |
151 "fake_message_center.h", | 152 "fake_message_center.h", |
152 "fake_message_center.cc", | 153 "fake_message_center.cc", |
153 "fake_message_center_tray_delegate.h", | 154 "fake_message_center_tray_delegate.h", |
154 "fake_message_center_tray_delegate.cc", | 155 "fake_message_center_tray_delegate.cc", |
155 "fake_notifier_settings_provider.h", | 156 "fake_notifier_settings_provider.h", |
156 "fake_notifier_settings_provider.cc", | 157 "fake_notifier_settings_provider.cc", |
157 ] | 158 ] |
158 | 159 |
159 deps = [ | 160 deps = [ |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 deps += [ | 220 deps += [ |
220 # Compositor is needed by message_center_view_unittest.cc and for the | 221 # Compositor is needed by message_center_view_unittest.cc and for the |
221 # fonts used by bounded_label_unittest.cc. | 222 # fonts used by bounded_label_unittest.cc. |
222 "//ui/compositor", | 223 "//ui/compositor", |
223 "//ui/views", | 224 "//ui/views", |
224 "//ui/views:test_support", | 225 "//ui/views:test_support", |
225 ] | 226 ] |
226 } | 227 } |
227 } # enable_notifications | 228 } # enable_notifications |
228 } | 229 } |
OLD | NEW |