Commit 9cd1247f authored by sdefresne's avatar sdefresne Committed by Commit bot

Enable on iOS all components unittests for components that are built

Update the list of included unit tests on iOS to list all the components
that are built on iOS (based on the list in components/components.gyp).
Use an exclusion to remove all tests that depends on //content.

Sort the list of gypi files included by components.gyp.

BUG=462585

Review URL: https://codereview.chromium.org/963683003

Cr-Commit-Position: refs/heads/master@{#318701}
parent b71e1fa9
......@@ -537,43 +537,87 @@
'webp_transcode/webp_decoder_unittest.mm',
],
'sources/': [
# First start by excluding all tests on iOS.
['exclude', '\\.cc$'],
['exclude', '\\.mm$'],
# Include the test runner.
['include', '^test/run_all_unittests\\.cc$'],
# Include tests for all components that are built on iOS.
['include', '^auto_login_parser/'],
['include', '^autofill/core/'],
['include', '^autofill/'],
['include', '^bookmarks/'],
['include', '^captive_portal/'],
['include', '^cloud_devices/'],
['include', '^component_updater/'],
['include', '^crash/'],
['include', '^content_settings/'],
['include', '^crash/'],
['include', '^cronet/'],
['include', '^crx_file/'],
['include', '^data_reduction_proxy/'],
['include', '^device_event_log/'],
['include', '^dom_distiller/'],
['include', '^domain_reliability/'],
['include', '^enhanced_bookmarks/'],
['include', '^error_page/'],
['include', '^favicon/'],
['include', '^favicon_base/'],
['include', '^gcm_driver/'],
['include', '^google/'],
['include', '^handoff/'],
['include', '^history/'],
['include', '^infobars/'],
['include', '^invalidation/'],
['include', '^json_schema/'],
['include', '^keyed_service/core/'],
['include', '^keyed_service/'],
['include', '^language_usage_metrics/'],
['include', '^leveldb_proto/'],
['include', '^login/'],
['include', '^metrics/'],
['include', '^navigation_metrics/'],
['include', '^network_hints/'],
['include', '^network_time/'],
['include', '^omnibox/'],
['include', '^onc/'],
['include', '^open_from_clipboard/'],
['include', '^os_crypt/'],
['include', '^ownership/'],
['include', '^packed_ct_ev_whitelist/'],
['include', '^password_manager/'],
['include', '^precache/core/'],
['include', '^policy/'],
['include', '^precache/'],
['include', '^pref_registry/'],
['include', '^query_parser/'],
['include', '^rappor/'],
['include', '^renderer_context_menu/'],
['include', '^search/'],
['include', '^search_engines/'],
['include', '^search_provider_logos/'],
['include', '^sessions/ios/'],
['include', '^sessions/serialized_navigation_entry_unittest\\.cc$'],
['exclude', '^signin/core/browser/mutable_profile_oauth2_token_service_unittest\\.cc$'],
['include', '^sessions/'],
['include', '^signin/'],
['include', '^startup_metric_utils/'],
['include', '^suggestions/'],
['include', '^sync_driver/'],
['include', '^translate/'],
['include', '^ui_zoom/'],
['include', '^update_client/'],
['include', '^url_fixer/'],
['include', '^url_matcher/'],
['include', '^user_prefs/'],
['include', '^variations/'],
['include', '^wallpaper/'],
['include', '^web_resource/'],
['include', '^webdata/'],
['include', '^webdata_services/'],
['include', '^webp_transcode/'],
# Exclude individual tests that are known not to work on iOS.
['exclude', '^signin/core/browser/mutable_profile_oauth2_token_service_unittest\\.cc$'],
# Exclude all tests that depends on //content (based on layered-
# component directory structure).
['exclude', '^[^/]*/content/'],
],
'dependencies': [
'../ios/ios_tests.gyp:test_support_ios',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment