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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 deps = [ | 155 deps = [ |
156 ":message_center", | 156 ":message_center", |
157 "//base", | 157 "//base", |
158 "//base/test:test_support", | 158 "//base/test:test_support", |
159 "//skia", | 159 "//skia", |
160 "//ui/gfx", | 160 "//ui/gfx", |
161 "//ui/gfx/geometry", | 161 "//ui/gfx/geometry", |
162 ] | 162 ] |
163 } | 163 } |
164 | 164 |
165 # TODO(GYP) Enable this when media is linked. | |
166 if (false) { | |
167 | |
168 test("message_center_unittests") { | 165 test("message_center_unittests") { |
169 sources = [ | 166 sources = [ |
170 "test/run_all_unittests.cc", | 167 "test/run_all_unittests.cc", |
171 ] | 168 ] |
172 | 169 |
173 deps = [ | 170 deps = [ |
174 ":message_center", | 171 ":message_center", |
175 ":test_support", | 172 ":test_support", |
176 "//base", | 173 "//base", |
177 "//base/allocator", | 174 "//base/allocator", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 deps += [ | 213 deps += [ |
217 # Compositor is needed by message_center_view_unittest.cc and for the | 214 # Compositor is needed by message_center_view_unittest.cc and for the |
218 # fonts used by bounded_label_unittest.cc. | 215 # fonts used by bounded_label_unittest.cc. |
219 "//ui/compositor", | 216 "//ui/compositor", |
220 "//ui/views", | 217 "//ui/views", |
221 "//ui/views:test_support", | 218 "//ui/views:test_support", |
222 ] | 219 ] |
223 } | 220 } |
224 } # enable_notifications | 221 } # enable_notifications |
225 } | 222 } |
226 | |
227 } # if false | |
OLD | NEW |