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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 'sources': [ | 530 'sources': [ |
531 'sessions/session_backend_unittest.cc', | 531 'sessions/session_backend_unittest.cc', |
532 ], | 532 ], |
533 }], | 533 }], |
534 ], | 534 ], |
535 }, { # 'OS == "ios"' | 535 }, { # 'OS == "ios"' |
536 'sources': [ | 536 'sources': [ |
537 'webp_transcode/webp_decoder_unittest.mm', | 537 'webp_transcode/webp_decoder_unittest.mm', |
538 ], | 538 ], |
539 'sources/': [ | 539 'sources/': [ |
| 540 # First start by excluding all tests on iOS. |
540 ['exclude', '\\.cc$'], | 541 ['exclude', '\\.cc$'], |
541 ['exclude', '\\.mm$'], | 542 ['exclude', '\\.mm$'], |
| 543 |
| 544 # Include the test runner. |
542 ['include', '^test/run_all_unittests\\.cc$'], | 545 ['include', '^test/run_all_unittests\\.cc$'], |
| 546 |
| 547 # Include tests for all components that are built on iOS. |
543 ['include', '^auto_login_parser/'], | 548 ['include', '^auto_login_parser/'], |
544 ['include', '^autofill/core/'], | 549 ['include', '^autofill/'], |
545 ['include', '^bookmarks/'], | 550 ['include', '^bookmarks/'], |
| 551 ['include', '^captive_portal/'], |
| 552 ['include', '^cloud_devices/'], |
546 ['include', '^component_updater/'], | 553 ['include', '^component_updater/'], |
| 554 ['include', '^content_settings/'], |
547 ['include', '^crash/'], | 555 ['include', '^crash/'], |
548 ['include', '^content_settings/'], | 556 ['include', '^cronet/'], |
| 557 ['include', '^crx_file/'], |
549 ['include', '^data_reduction_proxy/'], | 558 ['include', '^data_reduction_proxy/'], |
| 559 ['include', '^device_event_log/'], |
550 ['include', '^dom_distiller/'], | 560 ['include', '^dom_distiller/'], |
| 561 ['include', '^domain_reliability/'], |
551 ['include', '^enhanced_bookmarks/'], | 562 ['include', '^enhanced_bookmarks/'], |
| 563 ['include', '^error_page/'], |
| 564 ['include', '^favicon/'], |
| 565 ['include', '^favicon_base/'], |
552 ['include', '^gcm_driver/'], | 566 ['include', '^gcm_driver/'], |
553 ['include', '^google/'], | 567 ['include', '^google/'], |
| 568 ['include', '^handoff/'], |
554 ['include', '^history/'], | 569 ['include', '^history/'], |
| 570 ['include', '^infobars/'], |
555 ['include', '^invalidation/'], | 571 ['include', '^invalidation/'], |
556 ['include', '^json_schema/'], | 572 ['include', '^json_schema/'], |
557 ['include', '^keyed_service/core/'], | 573 ['include', '^keyed_service/'], |
558 ['include', '^language_usage_metrics/'], | 574 ['include', '^language_usage_metrics/'], |
559 ['include', '^leveldb_proto/'], | 575 ['include', '^leveldb_proto/'], |
| 576 ['include', '^login/'], |
560 ['include', '^metrics/'], | 577 ['include', '^metrics/'], |
| 578 ['include', '^navigation_metrics/'], |
| 579 ['include', '^network_hints/'], |
561 ['include', '^network_time/'], | 580 ['include', '^network_time/'], |
| 581 ['include', '^omnibox/'], |
| 582 ['include', '^onc/'], |
| 583 ['include', '^open_from_clipboard/'], |
| 584 ['include', '^os_crypt/'], |
| 585 ['include', '^ownership/'], |
| 586 ['include', '^packed_ct_ev_whitelist/'], |
562 ['include', '^password_manager/'], | 587 ['include', '^password_manager/'], |
563 ['include', '^precache/core/'], | 588 ['include', '^policy/'], |
| 589 ['include', '^precache/'], |
| 590 ['include', '^pref_registry/'], |
564 ['include', '^query_parser/'], | 591 ['include', '^query_parser/'], |
| 592 ['include', '^rappor/'], |
| 593 ['include', '^renderer_context_menu/'], |
565 ['include', '^search/'], | 594 ['include', '^search/'], |
566 ['include', '^search_engines/'], | 595 ['include', '^search_engines/'], |
567 ['include', '^search_provider_logos/'], | 596 ['include', '^search_provider_logos/'], |
568 ['include', '^sessions/ios/'], | 597 ['include', '^sessions/'], |
569 ['include', '^sessions/serialized_navigation_entry_unittest\\.cc
$'], | 598 ['include', '^signin/'], |
570 ['exclude', '^signin/core/browser/mutable_profile_oauth2_token_s
ervice_unittest\\.cc$'], | 599 ['include', '^startup_metric_utils/'], |
571 ['include', '^suggestions/'], | 600 ['include', '^suggestions/'], |
572 ['include', '^sync_driver/'], | 601 ['include', '^sync_driver/'], |
573 ['include', '^translate/'], | 602 ['include', '^translate/'], |
| 603 ['include', '^ui_zoom/'], |
| 604 ['include', '^update_client/'], |
574 ['include', '^url_fixer/'], | 605 ['include', '^url_fixer/'], |
| 606 ['include', '^url_matcher/'], |
| 607 ['include', '^user_prefs/'], |
575 ['include', '^variations/'], | 608 ['include', '^variations/'], |
| 609 ['include', '^wallpaper/'], |
| 610 ['include', '^web_resource/'], |
| 611 ['include', '^webdata/'], |
| 612 ['include', '^webdata_services/'], |
576 ['include', '^webp_transcode/'], | 613 ['include', '^webp_transcode/'], |
| 614 |
| 615 # Exclude individual tests that are known not to work on iOS. |
| 616 ['exclude', '^signin/core/browser/mutable_profile_oauth2_token_s
ervice_unittest\\.cc$'], |
| 617 |
| 618 # Exclude all tests that depends on //content (based on layered- |
| 619 # component directory structure). |
| 620 ['exclude', '^[^/]*/content/'], |
577 ], | 621 ], |
578 'dependencies': [ | 622 'dependencies': [ |
579 '../ios/ios_tests.gyp:test_support_ios', | 623 '../ios/ios_tests.gyp:test_support_ios', |
580 '../ios/web/ios_web.gyp:test_support_ios_web', | 624 '../ios/web/ios_web.gyp:test_support_ios_web', |
581 '../third_party/ocmock/ocmock.gyp:ocmock', | 625 '../third_party/ocmock/ocmock.gyp:ocmock', |
582 'components.gyp:sessions_ios', | 626 'components.gyp:sessions_ios', |
583 'components.gyp:signin_ios_browser', | 627 'components.gyp:signin_ios_browser', |
584 'components.gyp:translate_ios_browser', | 628 'components.gyp:translate_ios_browser', |
585 'components.gyp:webp_transcode', | 629 'components.gyp:webp_transcode', |
586 ], | 630 ], |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 '../build/isolate.gypi', | 1113 '../build/isolate.gypi', |
1070 ], | 1114 ], |
1071 'sources': [ | 1115 'sources': [ |
1072 'components_unittests.isolate', | 1116 'components_unittests.isolate', |
1073 ], | 1117 ], |
1074 }, | 1118 }, |
1075 ], | 1119 ], |
1076 }], | 1120 }], |
1077 ], | 1121 ], |
1078 } | 1122 } |
OLD | NEW |