Update V8 to version 4.7.19.
[chromium-blink-merge.git] / ios / chrome / ios_chrome_tests.gyp
blob43432b0429970bd23021d0ab455747f08fd03a81
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/native_content_controller_unittest.mm',
57         'browser/ui/ui_util_unittest.mm',
58         'browser/ui/uikit_ui_util_unittest.mm',
59         'common/string_util_unittest.mm',
60       ],
61       'actions': [
62         {
63           'action_name': 'copy_ios_chrome_test_data',
64           'variables': {
65             'test_data_files': [
66               'test/data/webdata/bookmarkimages',
67             ],
68             'test_data_prefix': 'ios/chrome',
69           },
70           'includes': [ '../../build/copy_test_data_ios.gypi' ]
71         },
72       ],
73       'includes': ['ios_chrome_resources_bundle.gypi'],
74     },
75     {
76       'target_name': 'ios_chrome_test_support',
77       'type': 'static_library',
78       'dependencies': [
79         '../../base/base.gyp:base',
80         '../../components/components.gyp:signin_ios_browser_test_support',
81         '../../testing/gmock.gyp:gmock',
82         '../../testing/gtest.gyp:gtest',
83         '../../ui/base/ui_base.gyp:ui_base',
84         '../../url/url.gyp:url_lib',
85         '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
86         'ios_chrome.gyp:ios_chrome_browser',
87       ],
88       'sources': [
89         'browser/geolocation/location_manager+Testing.h',
90         'browser/geolocation/test_location_manager.h',
91         'browser/geolocation/test_location_manager.mm',
92         'browser/net/mock_image_fetcher.h',
93         'browser/net/mock_image_fetcher.mm',
94         'browser/signin/fake_oauth2_token_service_builder.cc',
95         'browser/signin/fake_oauth2_token_service_builder.h',
96         'browser/signin/fake_signin_manager_builder.cc',
97         'browser/signin/fake_signin_manager_builder.h',
98         'browser/sync/sync_setup_service_mock.cc',
99         'browser/sync/sync_setup_service_mock.h',
100         'test/ios_chrome_unit_test_suite.cc',
101         'test/ios_chrome_unit_test_suite.h',
102         'test/run_all_unittests.cc',
103         'test/testing_application_context.cc',
104         'test/testing_application_context.h',
105       ],
106     },
107   ],