| OLD | NEW |
| (Empty) |
| 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. | |
| 4 { | |
| 5 'variables': { | |
| 6 'chromium_code': 1, | |
| 7 }, | |
| 8 'targets': [ | |
| 9 { | |
| 10 # GN version: //ios/chrome:ios_chrome_unittests | |
| 11 'target_name': 'ios_chrome_unittests', | |
| 12 'type': '<(gtest_target_type)', | |
| 13 'dependencies': [ | |
| 14 '../../base/base.gyp:base', | |
| 15 '../../base/base.gyp:test_support_base', | |
| 16 '../../components/components.gyp:bookmarks_test_support', | |
| 17 '../../components/components.gyp:favicon_base', | |
| 18 '../../components/components.gyp:metrics', | |
| 19 '../../components/components.gyp:metrics_test_support', | |
| 20 '../../components/components.gyp:password_manager_core_browser', | |
| 21 '../../components/components.gyp:password_manager_core_browser_test_supp
ort', | |
| 22 '../../components/components.gyp:password_manager_core_common', | |
| 23 '../../components/components.gyp:proxy_config', | |
| 24 '../../components/components.gyp:ssl_config', | |
| 25 '../../components/components.gyp:syncable_prefs_test_support', | |
| 26 '../../components/components.gyp:update_client', | |
| 27 '../../components/components.gyp:version_info', | |
| 28 '../../components/prefs/prefs.gyp:prefs_test_support', | |
| 29 '../../ios/testing/ios_testing.gyp:ocmock_support', | |
| 30 '../../net/net.gyp:net_test_support', | |
| 31 '../../skia/skia.gyp:skia', | |
| 32 '../../testing/gmock.gyp:gmock', | |
| 33 '../../testing/gtest.gyp:gtest', | |
| 34 '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:goo
gle_toolbox_for_mac', | |
| 35 '../../third_party/ocmock/ocmock.gyp:ocmock', | |
| 36 '../../ui/base/ui_base.gyp:ui_base', | |
| 37 '../../ui/gfx/gfx.gyp:gfx', | |
| 38 '../../ui/gfx/gfx.gyp:gfx_test_support', | |
| 39 '../../ui/strings/ui_strings.gyp:ui_strings', | |
| 40 '../web/ios_web.gyp:ios_web', | |
| 41 '../web/ios_web.gyp:ios_web_test_support', | |
| 42 'ios_chrome.gyp:ios_chrome_app', | |
| 43 'ios_chrome.gyp:ios_chrome_browser', | |
| 44 'ios_chrome.gyp:ios_chrome_common', | |
| 45 'ios_chrome_test_support', | |
| 46 ], | |
| 47 'mac_bundle_resources': [ | |
| 48 'browser/ui/native_content_controller_test.xib' | |
| 49 ], | |
| 50 'sources': [ | |
| 51 'app/application_delegate/memory_warning_helper_unittest.mm', | |
| 52 'app/safe_mode_util_unittest.cc', | |
| 53 'browser/chrome_url_util_unittest.mm', | |
| 54 'browser/crash_loop_detection_util_unittest.mm', | |
| 55 'browser/favicon/large_icon_cache_unittest.cc', | |
| 56 'browser/geolocation/CLLocation+XGeoHeaderTest.mm', | |
| 57 'browser/geolocation/location_manager_unittest.mm', | |
| 58 'browser/geolocation/omnibox_geolocation_local_state_unittest.mm', | |
| 59 'browser/install_time_util_unittest.mm', | |
| 60 'browser/installation_notifier_unittest.mm', | |
| 61 'browser/ios_chrome_io_thread_unittest.mm', | |
| 62 'browser/itunes_links/itunes_links_observer_unittest.mm', | |
| 63 'browser/metrics/ios_chrome_metrics_service_accessor_unittest.cc', | |
| 64 'browser/metrics/ios_chrome_stability_metrics_provider_unittest.cc', | |
| 65 'browser/metrics/mobile_session_shutdown_metrics_provider_unittest.mm', | |
| 66 'browser/metrics/previous_session_info_unittest.mm', | |
| 67 'browser/net/cookie_util_unittest.mm', | |
| 68 'browser/net/image_fetcher_unittest.mm', | |
| 69 'browser/net/metrics_network_client_unittest.mm', | |
| 70 'browser/net/retryable_url_fetcher_unittest.mm', | |
| 71 'browser/notification_promo_unittest.cc', | |
| 72 'browser/passwords/credential_manager_js_unittest.mm', | |
| 73 'browser/passwords/credential_manager_unittest.mm', | |
| 74 'browser/passwords/password_controller_js_unittest.mm', | |
| 75 'browser/passwords/password_controller_off_the_record_unittest.mm', | |
| 76 'browser/passwords/password_controller_unittest.mm', | |
| 77 'browser/passwords/password_generation_agent_unittest.mm', | |
| 78 'browser/reading_list/reading_list_entry_unittest.cc', | |
| 79 'browser/reading_list/reading_list_model_unittest.cc', | |
| 80 'browser/signin/chrome_identity_service_observer_bridge_unittest.mm', | |
| 81 'browser/signin/gaia_auth_fetcher_ios_unittest.mm', | |
| 82 'browser/snapshots/lru_cache_unittest.mm', | |
| 83 'browser/snapshots/snapshot_cache_unittest.mm', | |
| 84 'browser/snapshots/snapshots_util_unittest.mm', | |
| 85 'browser/ssl/ios_ssl_error_handler_unittest.mm', | |
| 86 'browser/translate/translate_service_ios_unittest.cc', | |
| 87 'browser/ui/alert_coordinator/action_sheet_coordinator_unittest.mm', | |
| 88 'browser/ui/alert_coordinator/alert_coordinator_unittest.mm', | |
| 89 'browser/ui/alert_coordinator/input_alert_coordinator_unittest.mm', | |
| 90 'browser/ui/commands/set_up_for_testing_command_unittest.mm', | |
| 91 'browser/ui/context_menu/context_menu_coordinator_unittest.mm', | |
| 92 'browser/ui/elements/selector_coordinator_unittest.mm', | |
| 93 'browser/ui/elements/selector_picker_view_controller_unittest.mm', | |
| 94 'browser/ui/keyboard/UIKeyCommand+ChromeTest.mm', | |
| 95 'browser/ui/keyboard/hardware_keyboard_watcher_unittest.mm', | |
| 96 'browser/ui/native_content_controller_unittest.mm', | |
| 97 'browser/ui/ui_util_unittest.mm', | |
| 98 'browser/ui/uikit_ui_util_unittest.mm', | |
| 99 'browser/update_client/ios_chrome_update_query_params_delegate_unittest.
cc', | |
| 100 'browser/web_resource/web_resource_util_unittest.cc', | |
| 101 'browser/webp_transcode/webp_decoder_unittest.mm', | |
| 102 'common/string_util_unittest.mm', | |
| 103 'test/google_toolbox_unittest.mm', | |
| 104 ], | |
| 105 'actions': [ | |
| 106 { | |
| 107 'action_name': 'copy_ios_chrome_test_data', | |
| 108 'variables': { | |
| 109 'test_data_files': [ | |
| 110 '../../net/data/ssl/certificates/', | |
| 111 'test/data', | |
| 112 ], | |
| 113 'test_data_prefix': 'ios/chrome', | |
| 114 }, | |
| 115 'includes': [ '../../build/copy_test_data_ios.gypi' ] | |
| 116 }, | |
| 117 ], | |
| 118 'includes': ['ios_chrome_resources_bundle.gypi'], | |
| 119 }, | |
| 120 { | |
| 121 # GN version: //ios/chrome/browser:test_support | |
| 122 'target_name': 'ios_chrome_test_support', | |
| 123 'type': 'static_library', | |
| 124 'dependencies': [ | |
| 125 '../../base/base.gyp:base', | |
| 126 '../../components/components.gyp:keyed_service_core', | |
| 127 '../../components/components.gyp:keyed_service_ios', | |
| 128 '../../components/components.gyp:password_manager_core_browser_test_supp
ort', | |
| 129 '../../components/components.gyp:signin_ios_browser_test_support', | |
| 130 '../../components/sync.gyp:sync', | |
| 131 '../../components/sync.gyp:test_support_sync_driver', | |
| 132 '../../testing/gmock.gyp:gmock', | |
| 133 '../../testing/gtest.gyp:gtest', | |
| 134 '../../ui/base/ui_base.gyp:ui_base', | |
| 135 '../../url/url.gyp:url_lib', | |
| 136 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser', | |
| 137 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser_test_su
pport', | |
| 138 'ios_chrome.gyp:ios_chrome_browser', | |
| 139 ], | |
| 140 'sources': [ | |
| 141 'browser/browser_state/test_chrome_browser_state.h', | |
| 142 'browser/browser_state/test_chrome_browser_state.mm', | |
| 143 'browser/browser_state/test_chrome_browser_state_isolated_context.h', | |
| 144 'browser/browser_state/test_chrome_browser_state_isolated_context.mm', | |
| 145 'browser/browser_state/test_chrome_browser_state_manager.cc', | |
| 146 'browser/browser_state/test_chrome_browser_state_manager.h', | |
| 147 'browser/geolocation/location_manager+Testing.h', | |
| 148 'browser/geolocation/test_location_manager.h', | |
| 149 'browser/geolocation/test_location_manager.mm', | |
| 150 'browser/net/mock_image_fetcher.h', | |
| 151 'browser/net/mock_image_fetcher.mm', | |
| 152 'browser/signin/fake_oauth2_token_service_builder.h', | |
| 153 'browser/signin/fake_oauth2_token_service_builder.mm', | |
| 154 'browser/signin/fake_signin_manager_builder.cc', | |
| 155 'browser/signin/fake_signin_manager_builder.h', | |
| 156 'browser/sync/fake_sync_service_factory.cc', | |
| 157 'browser/sync/fake_sync_service_factory.h', | |
| 158 'browser/sync/ios_chrome_profile_sync_test_util.cc', | |
| 159 'browser/sync/ios_chrome_profile_sync_test_util.h', | |
| 160 'browser/sync/sync_setup_service_mock.cc', | |
| 161 'browser/sync/sync_setup_service_mock.h', | |
| 162 'test/block_cleanup_test.h', | |
| 163 'test/block_cleanup_test.mm', | |
| 164 'test/ios_chrome_scoped_testing_chrome_browser_provider.h', | |
| 165 'test/ios_chrome_scoped_testing_chrome_browser_provider.mm', | |
| 166 'test/ios_chrome_scoped_testing_local_state.cc', | |
| 167 'test/ios_chrome_scoped_testing_local_state.h', | |
| 168 'test/ios_chrome_unit_test_suite.h', | |
| 169 'test/ios_chrome_unit_test_suite.mm', | |
| 170 'test/run_all_unittests.cc', | |
| 171 'test/testing_application_context.h', | |
| 172 'test/testing_application_context.mm', | |
| 173 ], | |
| 174 }, | |
| 175 ], | |
| 176 } | |
| OLD | NEW |