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 assert(use_ash) | 9 assert(use_ash) |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 "//ui/events:events_base", | 47 "//ui/events:events_base", |
48 "//ui/events:gesture_detection", | 48 "//ui/events:gesture_detection", |
49 "//ui/events/devices", | 49 "//ui/events/devices", |
50 "//ui/gfx", | 50 "//ui/gfx", |
51 "//ui/gfx/geometry", | 51 "//ui/gfx/geometry", |
52 "//ui/keyboard", | 52 "//ui/keyboard", |
53 "//ui/message_center", | 53 "//ui/message_center", |
54 "//ui/resources", | 54 "//ui/resources", |
55 "//ui/strings", | 55 "//ui/strings", |
56 "//ui/views", | 56 "//ui/views", |
| 57 "//ui/views/mus", |
57 "//ui/wm", | 58 "//ui/wm", |
58 "//url", | 59 "//url", |
59 ] | 60 ] |
60 | 61 |
61 if (is_win) { | 62 if (is_win) { |
62 sources -= [ | 63 sources -= [ |
63 "sticky_keys/sticky_keys_controller.cc", | 64 "sticky_keys/sticky_keys_controller.cc", |
64 "sticky_keys/sticky_keys_controller.h", | 65 "sticky_keys/sticky_keys_controller.h", |
65 ] | 66 ] |
66 | 67 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 sources = gypi_values.ash_test_support_sources | 172 sources = gypi_values.ash_test_support_sources |
172 configs += [ "//build/config:precompiled_headers" ] | 173 configs += [ "//build/config:precompiled_headers" ] |
173 | 174 |
174 public_deps = [ | 175 public_deps = [ |
175 ":ash", | 176 ":ash", |
176 ] | 177 ] |
177 deps = [ | 178 deps = [ |
178 ":test_support_with_content", # TODO(beng): reverse this direction. | 179 ":test_support_with_content", # TODO(beng): reverse this direction. |
179 "//ash/resources", | 180 "//ash/resources", |
180 "//components/signin/core/account_id", | 181 "//components/signin/core/account_id", |
| 182 "//components/user_manager", |
181 "//skia", | 183 "//skia", |
182 "//testing/gtest", | 184 "//testing/gtest", |
183 "//ui/accessibility", | 185 "//ui/accessibility", |
184 "//ui/app_list", | 186 "//ui/app_list", |
185 "//ui/app_list:test_support", | 187 "//ui/app_list:test_support", |
186 "//ui/events:events_base", | 188 "//ui/events:events_base", |
187 "//ui/events/devices", | 189 "//ui/events/devices", |
188 "//ui/gl", | 190 "//ui/gl", |
189 "//ui/views", | 191 "//ui/views", |
190 "//ui/views:test_support", | 192 "//ui/views:test_support", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 "//skia", | 279 "//skia", |
278 ] | 280 ] |
279 } | 281 } |
280 | 282 |
281 test("ash_unittests") { | 283 test("ash_unittests") { |
282 sources = gypi_values.ash_unittests_sources | 284 sources = gypi_values.ash_unittests_sources |
283 configs += [ "//build/config:precompiled_headers" ] | 285 configs += [ "//build/config:precompiled_headers" ] |
284 | 286 |
285 deps = [ | 287 deps = [ |
286 ":ash", | 288 ":ash", |
| 289 ":ash_shell_lib", |
287 ":ash_with_content", | 290 ":ash_with_content", |
288 ":test_support", | 291 ":test_support", |
289 "//ash/resources", | 292 "//ash/resources", |
290 "//ash/strings", | 293 "//ash/strings", |
291 "//base", | 294 "//base", |
292 "//base/allocator", | 295 "//base/allocator", |
293 "//base/test:test_support", | 296 "//base/test:test_support", |
294 "//components/signin/core/account_id", | 297 "//components/signin/core/account_id", |
295 "//components/user_manager", | 298 "//components/user_manager", |
296 "//content/public/browser", | 299 "//content/public/browser", |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 configs += [ "//build/config/win:windowed" ] | 407 configs += [ "//build/config/win:windowed" ] |
405 deps += [ "//sandbox" ] | 408 deps += [ "//sandbox" ] |
406 } | 409 } |
407 | 410 |
408 if (is_chromeos) { | 411 if (is_chromeos) { |
409 deps += [ "//device/bluetooth" ] | 412 deps += [ "//device/bluetooth" ] |
410 } | 413 } |
411 } | 414 } |
412 # When adding support for isolates, please have a look at run-time dependencies | 415 # When adding support for isolates, please have a look at run-time dependencies |
413 # in the ash_unittests_run target in ash.gyp. | 416 # in the ash_unittests_run target in ash.gyp. |
OLD | NEW |