cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ios / chrome / ios_chrome_tests.gyp
blob2847f312a5558d68cdb34c5dddec719414a7e5fc
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
3 # found in the LICENSE file.
5   'variables': {
6     'chromium_code': 1,
7   },
8   'targets': [
9     {
10       'target_name': 'ios_chrome_unittests',
11       'type': '<(gtest_target_type)',
12       'dependencies': [
13         '../../base/base.gyp:base',
14         '../../base/base.gyp:base_prefs_test_support',
15         '../../base/base.gyp:test_support_base',
16         '../../components/components.gyp:bookmarks_test_support',
17         '../../components/components.gyp:enhanced_bookmarks_test_support',
18         '../../components/components.gyp:metrics',
19         '../../components/components.gyp:metrics_test_support',
20         '../../net/net.gyp:net_test_support',
21         '../../testing/gmock.gyp:gmock',
22         '../../testing/gtest.gyp:gtest',
23         '../../third_party/ocmock/ocmock.gyp:ocmock',
24         '../ios_tests.gyp:test_support_ios',
25         '../web/ios_web.gyp:ios_web',
26         '../web/ios_web.gyp:test_support_ios_web',
27         'ios_chrome.gyp:ios_chrome_app',
28         'ios_chrome.gyp:ios_chrome_browser',
29         'ios_chrome.gyp:ios_chrome_common',
30         'ios_chrome_test_support',
31       ],
32       'mac_bundle_resources': [
33         'browser/ui/native_content_controller_test.xib'
34       ],
35       'sources': [
36         'app/safe_mode_util_unittest.cc',
37         'browser/chrome_url_util_unittest.mm',
38         'browser/crash_loop_detection_util_unittest.mm',
39         'browser/geolocation/CLLocation+XGeoHeaderTest.mm',
40         'browser/geolocation/location_manager_unittest.mm',
41         'browser/geolocation/omnibox_geolocation_local_state_unittest.mm',
42         'browser/install_time_util_unittest.mm',
43         'browser/installation_notifier_unittest.mm',
44         'browser/metrics/previous_session_info_unittest.mm',
45         'browser/metrics/ios_stability_metrics_provider_unittest.mm',
46         'browser/net/image_fetcher_unittest.mm',
47         'browser/net/metrics_network_client_unittest.mm',
48         'browser/net/retryable_url_fetcher_unittest.mm',
49         'browser/signin/chrome_identity_service_observer_bridge_unittest.mm',
50         'browser/signin/gaia_auth_fetcher_ios_unittest.mm',
51         'browser/snapshots/snapshot_cache_unittest.mm',
52         'browser/snapshots/snapshots_util_unittest.mm',
53         'browser/translate/translate_service_ios_unittest.cc',
54         'browser/ui/commands/set_up_for_testing_command_unittest.mm',
55         'browser/ui/keyboard/hardware_keyboard_watcher_unittest.mm',
56         'browser/ui/keyboard/UIKeyCommand+ChromeTest.mm',
57         'browser/ui/native_content_controller_unittest.mm',
58         'browser/ui/ui_util_unittest.mm',
59         'browser/ui/uikit_ui_util_unittest.mm',
60         'browser/web_resource/web_resource_util_unittest.cc',
61         'common/string_util_unittest.mm',
62       ],
63       'actions': [
64         {
65           'action_name': 'copy_ios_chrome_test_data',
66           'variables': {
67             'test_data_files': [
68               'test/data/webdata/bookmarkimages',
69             ],
70             'test_data_prefix': 'ios/chrome',
71           },
72           'includes': [ '../../build/copy_test_data_ios.gypi' ]
73         },
74       ],
75       'includes': ['ios_chrome_resources_bundle.gypi'],
76     },
77     {
78       'target_name': 'ios_chrome_test_support',
79       'type': 'static_library',
80       'dependencies': [
81         '../../base/base.gyp:base',
82         '../../components/components.gyp:signin_ios_browser_test_support',
83         '../../testing/gmock.gyp:gmock',
84         '../../testing/gtest.gyp:gtest',
85         '../../ui/base/ui_base.gyp:ui_base',
86         '../../url/url.gyp:url_lib',
87         '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
88         'ios_chrome.gyp:ios_chrome_browser',
89       ],
90       'sources': [
91         'browser/geolocation/location_manager+Testing.h',
92         'browser/geolocation/test_location_manager.h',
93         'browser/geolocation/test_location_manager.mm',
94         'browser/net/mock_image_fetcher.h',
95         'browser/net/mock_image_fetcher.mm',
96         'browser/signin/fake_oauth2_token_service_builder.cc',
97         'browser/signin/fake_oauth2_token_service_builder.h',
98         'browser/signin/fake_signin_manager_builder.cc',
99         'browser/signin/fake_signin_manager_builder.h',
100         'browser/sync/sync_setup_service_mock.cc',
101         'browser/sync/sync_setup_service_mock.h',
102         'test/ios_chrome_unit_test_suite.cc',
103         'test/ios_chrome_unit_test_suite.h',
104         'test/run_all_unittests.cc',
105         'test/testing_application_context.cc',
106         'test/testing_application_context.h',
107       ],
108     },
109   ],