Minor Python style clean-up
[chromium-blink-merge.git] / ios / chrome / ios_chrome_tests.gyp
blobc7409236fb86d297a588818561717209274ec98d
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/cookie_util_unittest.mm',
47         'browser/net/image_fetcher_unittest.mm',
48         'browser/net/metrics_network_client_unittest.mm',
49         'browser/net/retryable_url_fetcher_unittest.mm',
50         'browser/signin/chrome_identity_service_observer_bridge_unittest.mm',
51         'browser/signin/gaia_auth_fetcher_ios_unittest.mm',
52         'browser/snapshots/snapshot_cache_unittest.mm',
53         'browser/snapshots/snapshots_util_unittest.mm',
54         'browser/translate/translate_service_ios_unittest.cc',
55         'browser/ui/commands/set_up_for_testing_command_unittest.mm',
56         'browser/ui/keyboard/hardware_keyboard_watcher_unittest.mm',
57         'browser/ui/keyboard/UIKeyCommand+ChromeTest.mm',
58         'browser/ui/native_content_controller_unittest.mm',
59         'browser/ui/ui_util_unittest.mm',
60         'browser/ui/uikit_ui_util_unittest.mm',
61         'browser/web_resource/web_resource_util_unittest.cc',
62         'common/string_util_unittest.mm',
63       ],
64       'actions': [
65         {
66           'action_name': 'copy_ios_chrome_test_data',
67           'variables': {
68             'test_data_files': [
69               'test/data/webdata/bookmarkimages',
70             ],
71             'test_data_prefix': 'ios/chrome',
72           },
73           'includes': [ '../../build/copy_test_data_ios.gypi' ]
74         },
75       ],
76       'includes': ['ios_chrome_resources_bundle.gypi'],
77     },
78     {
79       'target_name': 'ios_chrome_test_support',
80       'type': 'static_library',
81       'dependencies': [
82         '../../base/base.gyp:base',
83         '../../components/components.gyp:signin_ios_browser_test_support',
84         '../../testing/gmock.gyp:gmock',
85         '../../testing/gtest.gyp:gtest',
86         '../../ui/base/ui_base.gyp:ui_base',
87         '../../url/url.gyp:url_lib',
88         '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
89         'ios_chrome.gyp:ios_chrome_browser',
90       ],
91       'sources': [
92         'browser/geolocation/location_manager+Testing.h',
93         'browser/geolocation/test_location_manager.h',
94         'browser/geolocation/test_location_manager.mm',
95         'browser/net/mock_image_fetcher.h',
96         'browser/net/mock_image_fetcher.mm',
97         'browser/signin/fake_oauth2_token_service_builder.cc',
98         'browser/signin/fake_oauth2_token_service_builder.h',
99         'browser/signin/fake_signin_manager_builder.cc',
100         'browser/signin/fake_signin_manager_builder.h',
101         'browser/sync/sync_setup_service_mock.cc',
102         'browser/sync/sync_setup_service_mock.h',
103         'test/ios_chrome_unit_test_suite.cc',
104         'test/ios_chrome_unit_test_suite.h',
105         'test/run_all_unittests.cc',
106         'test/testing_application_context.cc',
107         'test/testing_application_context.h',
108       ],
109     },
110   ],