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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
524 'sources': [ | 524 'sources': [ |
525 'sessions/session_backend_unittest.cc', | 525 'sessions/session_backend_unittest.cc', |
526 ], | 526 ], |
527 }], | 527 }], |
528 ], | 528 ], |
529 }, { # 'OS == "ios"' | 529 }, { # 'OS == "ios"' |
530 'sources': [ | 530 'sources': [ |
531 'webp_transcode/webp_decoder_unittest.mm', | 531 'webp_transcode/webp_decoder_unittest.mm', |
532 ], | 532 ], |
533 'sources/': [ | 533 'sources/': [ |
534 # First start by excluding all tests on iOS. | |
534 ['exclude', '\\.cc$'], | 535 ['exclude', '\\.cc$'], |
535 ['exclude', '\\.mm$'], | 536 ['exclude', '\\.mm$'], |
537 | |
538 # The include the test runner. | |
blundell
2015/03/02 10:52:05
s/The//
sdefresne
2015/03/02 15:13:35
Done.
| |
536 ['include', '^test/run_all_unittests\\.cc$'], | 539 ['include', '^test/run_all_unittests\\.cc$'], |
540 | |
541 # Include tests for all components that are built on iOS. | |
537 ['include', '^auto_login_parser/'], | 542 ['include', '^auto_login_parser/'], |
538 ['include', '^autofill/core/'], | 543 ['include', '^autofill/'], |
539 ['include', '^bookmarks/'], | 544 ['include', '^bookmarks/'], |
545 ['include', '^captive_portal/'], | |
546 ['include', '^cloud_devices/'], | |
540 ['include', '^component_updater/'], | 547 ['include', '^component_updater/'], |
548 ['include', '^content_settings/'], | |
541 ['include', '^crash/'], | 549 ['include', '^crash/'], |
542 ['include', '^content_settings/'], | 550 ['include', '^cronet/'], |
551 ['include', '^crx_file/'], | |
543 ['include', '^data_reduction_proxy/'], | 552 ['include', '^data_reduction_proxy/'], |
553 ['include', '^device_event_log/'], | |
544 ['include', '^dom_distiller/'], | 554 ['include', '^dom_distiller/'], |
555 ['include', '^domain_reliability/'], | |
545 ['include', '^enhanced_bookmarks/'], | 556 ['include', '^enhanced_bookmarks/'], |
546 ['include', '^gcm_driver/'], | 557 ['include', '^error_page/'], |
558 ['include', '^favicon/'], | |
559 ['include', '^favicon_base/'], | |
560 ['include', '^gcm_driver'], | |
blundell
2015/03/02 10:52:05
why remove the "/" here and on some other ones?
sdefresne
2015/03/02 15:13:35
It was a mistake. Fixed, thank you.
| |
547 ['include', '^google/'], | 561 ['include', '^google/'], |
562 ['include', '^handoff/'], | |
548 ['include', '^history/'], | 563 ['include', '^history/'], |
549 ['include', '^invalidation/'], | 564 ['include', '^infobars/'], |
565 ['include', '^invalidation'], | |
550 ['include', '^json_schema/'], | 566 ['include', '^json_schema/'], |
551 ['include', '^keyed_service/core/'], | 567 ['include', '^keyed_service/'], |
552 ['include', '^language_usage_metrics/'], | 568 ['include', '^language_usage_metrics/'], |
553 ['include', '^leveldb_proto/'], | 569 ['include', '^leveldb_proto/'], |
570 ['include', '^login/'], | |
554 ['include', '^metrics/'], | 571 ['include', '^metrics/'], |
572 ['include', '^navigation_metrics/'], | |
573 ['include', '^network_hints/'], | |
555 ['include', '^network_time/'], | 574 ['include', '^network_time/'], |
575 ['include', '^omnibox'], | |
576 ['include', '^onc/'], | |
577 ['include', '^open_from_clipboard'], | |
578 ['include', '^os_crypt/'], | |
579 ['include', '^ownership/'], | |
580 ['include', '^packed_ct_ev_whitelist/'], | |
556 ['include', '^password_manager/'], | 581 ['include', '^password_manager/'], |
557 ['include', '^precache/core/'], | 582 ['include', '^policy/'], |
583 ['include', '^precache/'], | |
584 ['include', '^pref_registry/'], | |
558 ['include', '^query_parser/'], | 585 ['include', '^query_parser/'], |
586 ['include', '^rappor/'], | |
587 ['include', '^renderer_context_menu'], | |
559 ['include', '^search/'], | 588 ['include', '^search/'], |
560 ['include', '^search_engines/'], | 589 ['include', '^search_engines'], |
561 ['include', '^search_provider_logos/'], | 590 ['include', '^search_provider_logos/'], |
562 ['include', '^sessions/ios/'], | 591 ['include', '^sessions/'], |
563 ['include', '^sessions/serialized_navigation_entry_unittest\\.cc $'], | 592 ['include', '^signin/'], |
593 ['include', '^startup_metric_utils/'], | |
594 ['include', '^suggestions/'], | |
595 ['include', '^sync_driver'], | |
596 ['include', '^translate/'], | |
597 ['include', '^ui_zoom/'], | |
598 ['include', '^update_client/'], | |
599 ['include', '^url_fixer/'], | |
600 ['include', '^url_matcher/'], | |
601 ['include', '^user_prefs/'], | |
602 ['include', '^variations/'], | |
603 ['include', '^wallpaper/'], | |
604 ['include', '^web_resource/'], | |
605 ['include', '^webdata/'], | |
606 ['include', '^webdata_services/'], | |
607 ['include', '^webp_transcode/'], | |
608 | |
609 # Exclude individual tests that are known not to work on iOS. | |
564 ['exclude', '^signin/core/browser/mutable_profile_oauth2_token_s ervice_unittest\\.cc$'], | 610 ['exclude', '^signin/core/browser/mutable_profile_oauth2_token_s ervice_unittest\\.cc$'], |
565 ['include', '^suggestions/'], | 611 |
566 ['include', '^sync_driver/'], | 612 # Exclude all tests that depends on //content (based on layered- |
567 ['include', '^translate/'], | 613 # component directory structure). |
568 ['include', '^url_fixer/'], | 614 ['exclude', '^[^/]*/content/'], |
569 ['include', '^variations/'], | |
570 ['include', '^webp_transcode/'], | |
571 ], | 615 ], |
572 'dependencies': [ | 616 'dependencies': [ |
573 '../ios/ios_tests.gyp:test_support_ios', | 617 '../ios/ios_tests.gyp:test_support_ios', |
574 '../ios/web/ios_web.gyp:test_support_ios_web', | 618 '../ios/web/ios_web.gyp:test_support_ios_web', |
575 '../third_party/ocmock/ocmock.gyp:ocmock', | 619 '../third_party/ocmock/ocmock.gyp:ocmock', |
576 'components.gyp:sessions_ios', | 620 'components.gyp:sessions_ios', |
577 'components.gyp:signin_ios_browser', | 621 'components.gyp:signin_ios_browser', |
578 'components.gyp:translate_ios_browser', | 622 'components.gyp:translate_ios_browser', |
579 'components.gyp:webp_transcode', | 623 'components.gyp:webp_transcode', |
580 ], | 624 ], |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1063 '../build/isolate.gypi', | 1107 '../build/isolate.gypi', |
1064 ], | 1108 ], |
1065 'sources': [ | 1109 'sources': [ |
1066 'components_unittests.isolate', | 1110 'components_unittests.isolate', |
1067 ], | 1111 ], |
1068 }, | 1112 }, |
1069 ], | 1113 ], |
1070 }], | 1114 }], |
1071 ], | 1115 ], |
1072 } | 1116 } |
OLD | NEW |