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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 "$root_out_dir/ui_test.pak", | 292 "$root_out_dir/ui_test.pak", |
293 ] | 293 ] |
294 } | 294 } |
295 | 295 |
296 # Add only ":unit_tests" dependencies here. If your tests have dependencies | 296 # Add only ":unit_tests" dependencies here. If your tests have dependencies |
297 # (this would at least include the component itself), they should be on the | 297 # (this would at least include the component itself), they should be on the |
298 # test source set and not here. | 298 # test source set and not here. |
299 deps = [ | 299 deps = [ |
300 "//components/auto_login_parser:unit_tests", | 300 "//components/auto_login_parser:unit_tests", |
301 "//components/autofill/content/browser:unit_tests", | 301 "//components/autofill/content/browser:unit_tests", |
| 302 "//components/autofill/content/renderer:unit_tests", |
302 "//components/autofill/core/browser:unit_tests", | 303 "//components/autofill/core/browser:unit_tests", |
303 "//components/autofill/core/common:unit_tests", | 304 "//components/autofill/core/common:unit_tests", |
304 "//components/bookmarks/browser:unit_tests", | 305 "//components/bookmarks/browser:unit_tests", |
305 "//components/bookmarks/managed:unit_tests", | 306 "//components/bookmarks/managed:unit_tests", |
306 "//components/captive_portal:unit_tests", | 307 "//components/captive_portal:unit_tests", |
307 "//components/cloud_devices/common:unit_tests", | 308 "//components/cloud_devices/common:unit_tests", |
308 "//components/component_updater:unit_tests", | 309 "//components/component_updater:unit_tests", |
309 "//components/content_settings/core/browser:unit_tests", | 310 "//components/content_settings/core/browser:unit_tests", |
310 "//components/content_settings/core/common:unit_tests", | 311 "//components/content_settings/core/common:unit_tests", |
311 "//components/crx_file:unit_tests", | 312 "//components/crx_file:unit_tests", |
(...skipping 13 matching lines...) Expand all Loading... |
325 "//components/gcm_driver/instance_id:unit_tests", | 326 "//components/gcm_driver/instance_id:unit_tests", |
326 "//components/gcm_driver:unit_tests", | 327 "//components/gcm_driver:unit_tests", |
327 "//components/google/core/browser:unit_tests", | 328 "//components/google/core/browser:unit_tests", |
328 "//components/history/content/browser:unit_tests", | 329 "//components/history/content/browser:unit_tests", |
329 "//components/history/core/browser:unit_tests", | 330 "//components/history/core/browser:unit_tests", |
330 "//components/history/core/common:unit_tests", | 331 "//components/history/core/common:unit_tests", |
331 "//components/invalidation/impl:unit_tests", | 332 "//components/invalidation/impl:unit_tests", |
332 "//components/json_schema:unit_tests", | 333 "//components/json_schema:unit_tests", |
333 "//components/keyed_service/content:unit_tests", | 334 "//components/keyed_service/content:unit_tests", |
334 "//components/keyed_service/core:unit_tests", | 335 "//components/keyed_service/core:unit_tests", |
| 336 "//components/language_usage_metrics:unit_tests", |
335 "//components/leveldb_proto:unit_tests", | 337 "//components/leveldb_proto:unit_tests", |
336 "//components/login:unit_tests", | 338 "//components/login:unit_tests", |
337 "//components/memory_pressure:unit_tests", | 339 "//components/memory_pressure:unit_tests", |
338 "//components/metrics:unit_tests", | 340 "//components/metrics:unit_tests", |
339 "//components/mime_util:unit_tests", | 341 "//components/mime_util:unit_tests", |
| 342 "//components/network_time:unit_tests", |
340 "//components/offline_pages:unit_tests", | 343 "//components/offline_pages:unit_tests", |
341 "//components/omnibox/browser:unit_tests", | 344 "//components/omnibox/browser:unit_tests", |
342 "//components/open_from_clipboard:unit_tests", | 345 "//components/open_from_clipboard:unit_tests", |
| 346 "//components/os_crypt:unit_tests", |
343 "//components/packed_ct_ev_whitelist:unit_tests", | 347 "//components/packed_ct_ev_whitelist:unit_tests", |
344 "//components/password_manager/content/browser:unit_tests", | 348 "//components/password_manager/content/browser:unit_tests", |
345 "//components/password_manager/core/browser:unit_tests", | 349 "//components/password_manager/core/browser:unit_tests", |
346 "//components/password_manager/core/common:unit_tests", | 350 "//components/password_manager/core/common:unit_tests", |
347 "//components/password_manager/sync/browser:unit_tests", | 351 "//components/password_manager/sync/browser:unit_tests", |
348 "//components/precache/content:unit_tests", | 352 "//components/precache/content:unit_tests", |
349 "//components/precache/core:unit_tests", | 353 "//components/precache/core:unit_tests", |
350 "//components/proxy_config:unit_tests", | 354 "//components/proxy_config:unit_tests", |
351 "//components/query_parser:unit_tests", | 355 "//components/query_parser:unit_tests", |
352 "//components/rappor:unit_tests", | 356 "//components/rappor:unit_tests", |
353 "//components/search:unit_tests", | 357 "//components/search:unit_tests", |
354 "//components/search_engines:unit_tests", | 358 "//components/search_engines:unit_tests", |
355 "//components/search_provider_logos:unit_tests", | 359 "//components/search_provider_logos:unit_tests", |
356 "//components/signin/core/browser:unit_tests", | 360 "//components/signin/core/browser:unit_tests", |
357 "//components/suggestions:unit_tests", | 361 "//components/suggestions:unit_tests", |
358 "//components/sync_driver:unit_tests", | 362 "//components/sync_driver:unit_tests", |
359 "//components/translate/core/browser:unit_tests", | 363 "//components/translate/core/browser:unit_tests", |
360 "//components/translate/core/common:unit_tests", | 364 "//components/translate/core/common:unit_tests", |
361 "//components/translate/core/language_detection:unit_tests", | 365 "//components/translate/core/language_detection:unit_tests", |
362 "//components/undo:unit_tests", | 366 "//components/undo:unit_tests", |
363 "//components/url_formatter:unit_tests", | 367 "//components/url_formatter:unit_tests", |
364 "//components/url_matcher:unit_tests", | 368 "//components/url_matcher:unit_tests", |
365 "//components/update_client:unit_tests", | 369 "//components/update_client:unit_tests", |
366 "//components/upload_list:unit_tests", | 370 "//components/upload_list:unit_tests", |
367 "//components/user_prefs/tracked:unit_tests", | 371 "//components/user_prefs/tracked:unit_tests", |
368 "//components/variations:unit_tests", | 372 "//components/variations:unit_tests", |
| 373 "//components/wallpaper:unit_tests", |
369 "//components/web_resource:unit_tests", | 374 "//components/web_resource:unit_tests", |
370 "//components/webcrypto:unit_tests", | 375 "//components/webcrypto:unit_tests", |
371 "//components/webdata/common:unit_tests", | 376 "//components/webdata/common:unit_tests", |
372 | 377 |
373 # These are the deps required by the code in this target. | 378 # These are the deps required by the code in this target. |
374 "//base", | 379 "//base", |
375 "//base/test:test_support", | 380 "//base/test:test_support", |
376 "//components/policy:policy_component", | 381 "//components/policy:policy_component", |
377 "//content/test:test_support", | 382 "//content/test:test_support", |
378 "//net", | 383 "//net", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 ] | 420 ] |
416 } | 421 } |
417 | 422 |
418 if (is_chromeos) { | 423 if (is_chromeos) { |
419 deps += [ "//components/ownership:unit_tests" ] | 424 deps += [ "//components/ownership:unit_tests" ] |
420 } | 425 } |
421 | 426 |
422 # TODO(GYP) need this target. | 427 # TODO(GYP) need this target. |
423 #'breakpad/app/crash_keys_win_unittest.cc', | 428 #'breakpad/app/crash_keys_win_unittest.cc', |
424 | 429 |
425 # Precache tests need these defines. | |
426 #configs += [ "//components/precache/core:precache_config" ] | |
427 | |
428 if (enable_configuration_policy) { | 430 if (enable_configuration_policy) { |
429 deps += [ | 431 deps += [ |
430 "//components/policy/core/browser:unit_tests", | 432 "//components/policy/core/browser:unit_tests", |
431 "//components/policy/core/common:unit_tests", | 433 "//components/policy/core/common:unit_tests", |
432 ] | 434 ] |
433 } | 435 } |
434 | 436 |
435 if (toolkit_views) { | 437 if (toolkit_views) { |
436 # TODO bug 522654 Enable this when the undefined symbol is fixed in | 438 # TODO bug 522654 Enable this when the undefined symbol is fixed in |
437 # web_modal such that this links. | 439 # web_modal such that this links. |
438 #deps += [ "//components/constrained_window:unit_tests" ] | 440 #deps += [ "//components/constrained_window:unit_tests" ] |
439 } | 441 } |
440 if (is_win) { | 442 if (is_win) { |
441 deps += [ "//components/browser_watcher:unit_tests" ] | 443 deps += [ "//components/browser_watcher:unit_tests" ] |
442 } | 444 } |
443 if (is_ios) { | 445 if (is_ios) { |
444 deps += [ "//components/signin/core/browser:unit_tests" ] | 446 deps += [ "//components/signin/core/browser:unit_tests" ] |
445 deps -= [ "//components/devtools_http_handler:unit_tests" ] | 447 deps -= [ "//components/devtools_http_handler:unit_tests" ] |
446 } else { | 448 } else { |
447 # Non-iOS tests. | 449 # Non-iOS tests. |
448 deps += [ | 450 deps += [ |
449 "//components/error_page/renderer:unit_tests", | 451 "//components/error_page/renderer:unit_tests", |
450 "//components/guest_view/browser:unit_tests", | 452 "//components/guest_view/browser:unit_tests", |
451 "//components/navigation_interception:unit_tests", | 453 "//components/navigation_interception:unit_tests", |
452 "//components/network_hints/renderer:unit_tests", | 454 "//components/network_hints/renderer:unit_tests", |
| 455 "//components/power:unit_tests", |
453 "//components/safe_json:unit_tests", | 456 "//components/safe_json:unit_tests", |
454 "//components/scheduler:unit_tests", | 457 "//components/scheduler:unit_tests", |
| 458 "//components/ui/zoom:unit_tests", |
455 "//components/visitedlink/test:unit_tests", | 459 "//components/visitedlink/test:unit_tests", |
456 "//components/web_cache/browser:unit_tests", | 460 "//components/web_cache/browser:unit_tests", |
457 ] | 461 ] |
458 } | 462 } |
459 | 463 |
460 if (enable_basic_printing || enable_print_preview) { | 464 if (enable_basic_printing || enable_print_preview) { |
461 deps += [ | 465 deps += [ |
462 "//components/printing/browser", | 466 "//components/printing/browser", |
463 "//components/printing/common", | 467 "//components/printing/common", |
464 "//components/printing/renderer", | 468 "//components/printing/renderer", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 | 583 |
580 deps = [ | 584 deps = [ |
581 "//base", | 585 "//base", |
582 "//base/test:test_support_perf", | 586 "//base/test:test_support_perf", |
583 "//testing/gtest", | 587 "//testing/gtest", |
584 "//testing/perf", | 588 "//testing/perf", |
585 "//content/test:test_support", | 589 "//content/test:test_support", |
586 "//components/visitedlink/browser", | 590 "//components/visitedlink/browser", |
587 ] | 591 ] |
588 } | 592 } |
OLD | NEW |