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 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 # Collection of all components. You wouldn't link to this, but this is rather | 10 # Collection of all components. You wouldn't link to this, but this is rather |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 } | 300 } |
301 | 301 |
302 # Add only ":unit_tests" dependencies here. If your tests have dependencies | 302 # Add only ":unit_tests" dependencies here. If your tests have dependencies |
303 # (this would at least include the component itself), they should be on the | 303 # (this would at least include the component itself), they should be on the |
304 # test source set and not here. | 304 # test source set and not here. |
305 | 305 |
306 deps = [ | 306 deps = [ |
307 "//base", | 307 "//base", |
308 "//base/test:test_support", | 308 "//base/test:test_support", |
309 "//components/bookmarks/browser:unit_tests", | 309 "//components/bookmarks/browser:unit_tests", |
| 310 "//components/bookmarks/managed:unit_tests", |
| 311 "//components/compression:unit_tests", |
310 "//components/content_settings/core/common", | 312 "//components/content_settings/core/common", |
| 313 "//components/data_usage/core:unit_tests", |
| 314 "//components/data_use_measurement/content:unit_tests", |
311 "//components/google/core/browser:unit_tests", | 315 "//components/google/core/browser:unit_tests", |
| 316 "//components/net_log:unit_tests", |
312 "//components/search:unit_tests", | 317 "//components/search:unit_tests", |
| 318 "//components/sessions:unit_tests", |
| 319 "//components/syncable_prefs:unit_tests", |
313 "//components/undo:unit_tests", | 320 "//components/undo:unit_tests", |
314 "//net", | 321 "//net", |
315 "//ui/base", | 322 "//ui/base", |
316 "//ui/resources:ui_test_pak", | 323 "//ui/resources:ui_test_pak", |
317 "//components/search_engines:unit_tests", | 324 "//components/search_engines:unit_tests", |
318 "//components/undo:unit_tests", | 325 "//components/undo:unit_tests", |
319 "//components/leveldb_proto:unit_tests", | 326 "//components/leveldb_proto:unit_tests", |
320 "//components/suggestions:unit_tests", | 327 "//components/suggestions:unit_tests", |
321 "//components/omnibox/browser:unit_tests", | 328 "//components/omnibox/browser:unit_tests", |
322 ] | 329 ] |
323 | 330 |
324 if (!is_ios) { | 331 if (!is_ios) { |
325 deps += [ | 332 deps += [ |
| 333 "//components/certificate_transparency:unit_tests", |
326 "//components/enhanced_bookmarks:unit_tests", | 334 "//components/enhanced_bookmarks:unit_tests", |
327 "//components/error_page/renderer:unit_tests", | 335 "//components/error_page/renderer:unit_tests", |
328 "//components/guest_view/browser:unit_tests", | 336 "//components/guest_view/browser:unit_tests", |
329 "//components/navigation_interception:unit_tests", | 337 "//components/navigation_interception:unit_tests", |
330 "//components/network_hints/renderer:unit_tests", | 338 "//components/network_hints/renderer:unit_tests", |
| 339 "//components/page_load_metrics/browser:unit_tests", |
| 340 "//components/page_load_metrics/renderer:unit_tests", |
331 "//components/power:unit_tests", | 341 "//components/power:unit_tests", |
332 "//components/safe_json:unit_tests", | 342 "//components/safe_json:unit_tests", |
333 "//components/scheduler:unit_tests", | 343 "//components/scheduler:unit_tests", |
334 "//components/test_runner:test_runner", | 344 "//components/test_runner:test_runner", |
| 345 "//components/tracing:unit_tests", |
335 "//components/ui/zoom:unit_tests", | 346 "//components/ui/zoom:unit_tests", |
336 "//components/visitedlink/test:unit_tests", | 347 "//components/visitedlink/test:unit_tests", |
337 "//components/web_cache/browser:unit_tests", | 348 "//components/web_cache/browser:unit_tests", |
338 "//components/auto_login_parser:unit_tests", | 349 "//components/auto_login_parser:unit_tests", |
339 "//components/autofill/content/browser:unit_tests", | 350 "//components/autofill/content/browser:unit_tests", |
340 "//components/autofill/content/renderer:unit_tests", | 351 "//components/autofill/content/renderer:unit_tests", |
341 "//components/autofill/core/browser:unit_tests", | 352 "//components/autofill/core/browser:unit_tests", |
342 "//components/autofill/core/common:unit_tests", | 353 "//components/autofill/core/common:unit_tests", |
343 "//components/bubble:unit_tests", | 354 "//components/bubble:unit_tests", |
344 "//components/captive_portal:unit_tests", | 355 "//components/captive_portal:unit_tests", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 "//components/policy:policy_component", | 425 "//components/policy:policy_component", |
415 "//content/test:test_support", | 426 "//content/test:test_support", |
416 ] | 427 ] |
417 | 428 |
418 if (!is_android) { | 429 if (!is_android) { |
419 deps += [ | 430 deps += [ |
420 "//components/audio_modem:unit_tests", | 431 "//components/audio_modem:unit_tests", |
421 "//components/copresence:unit_tests", | 432 "//components/copresence:unit_tests", |
422 "//components/feedback:unit_tests", | 433 "//components/feedback:unit_tests", |
423 "//components/proximity_auth:unit_tests", | 434 "//components/proximity_auth:unit_tests", |
424 "//components/sessions:unit_tests", | |
425 "//components/storage_monitor:unit_tests", | 435 "//components/storage_monitor:unit_tests", |
426 "//components/tracing:unit_tests", | |
427 "//components/webusb:unit_tests", | 436 "//components/webusb:unit_tests", |
428 ] | 437 ] |
429 } | 438 } |
430 data_deps = [ | 439 data_deps = [ |
431 ":components_tests_pak", | 440 ":components_tests_pak", |
432 "//third_party/mesa:osmesa", | 441 "//third_party/mesa:osmesa", |
433 "//ui/resources:ui_test_pak", | 442 "//ui/resources:ui_test_pak", |
434 ] | 443 ] |
435 | 444 |
436 if (enable_rlz_support) { | 445 if (enable_rlz_support) { |
437 deps += [ "//components/rlz:unit_tests" ] | 446 deps += [ "//components/rlz:unit_tests" ] |
438 } | 447 } |
439 if (is_android) { | 448 if (is_android) { |
440 isolate_file = "components_unittests.isolate" | 449 isolate_file = "components_unittests.isolate" |
441 | 450 |
442 deps += [ "//content/public/android:content_java" ] | 451 deps += [ "//content/public/android:content_java" ] |
443 deps -= [ | 452 deps -= [ "//components/gcm_driver/instance_id:unit_tests" ] |
444 "//components/gcm_driver:unit_tests", | |
445 "//components/gcm_driver/instance_id:unit_tests", | |
446 "//components/password_manager/content/browser:unit_tests", | |
447 "//components/password_manager/core/browser:unit_tests", | |
448 "//components/password_manager/core/common:unit_tests", | |
449 "//components/password_manager/sync/browser:unit_tests", | |
450 ] | |
451 | 453 |
452 apk_deps = [ | 454 apk_deps = [ |
453 "//components/invalidation/impl:java", | 455 "//components/invalidation/impl:java", |
454 "//components/safe_json/android:safe_json_java", | 456 "//components/safe_json/android:safe_json_java", |
455 "//components/signin/core/browser/android:java", | 457 "//components/signin/core/browser/android:java", |
456 "//content/public/android:content_java", | 458 "//content/public/android:content_java", |
457 "//ui/android:ui_java", | 459 "//ui/android:ui_java", |
458 ] | 460 ] |
459 | 461 |
460 if (enable_configuration_policy) { | 462 if (enable_configuration_policy) { |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 ] | 623 ] |
622 if (!is_ios) { | 624 if (!is_ios) { |
623 deps += [ | 625 deps += [ |
624 "//base", | 626 "//base", |
625 "//base/test:test_support_perf", | 627 "//base/test:test_support_perf", |
626 "//content/test:test_support", | 628 "//content/test:test_support", |
627 "//components/visitedlink/browser", | 629 "//components/visitedlink/browser", |
628 ] | 630 ] |
629 } | 631 } |
630 } | 632 } |
OLD | NEW |