[email protected] | 2b894b8 | 2014-06-18 16:22:30 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors. All rights reserved. |
[email protected] | 64f5650c | 2013-01-11 05:35:09 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 6 | 'variables': { |
| 7 | # This turns on e.g. the filename-based detection of which |
| 8 | # platforms to include source files on (e.g. files ending in |
| 9 | # _mac.h or _mac.cc are only compiled on MacOSX). |
| 10 | 'chromium_code': 1, |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 11 | |
| 12 | # Note: sources list duplicated in GN build. In the GN build, |
| 13 | # each component has its own unit tests target defined in its |
| 14 | # directory that are then linked into the final content_unittests. |
| 15 | 'auto_login_parser_unittest_sources': [ |
| 16 | 'auto_login_parser/auto_login_parser_unittest.cc', |
| 17 | ], |
| 18 | 'autofill_unittest_sources': [ |
| 19 | 'autofill/content/browser/content_autofill_driver_unittest.cc', |
| 20 | 'autofill/content/browser/request_autocomplete_manager_unittest.cc', |
| 21 | 'autofill/content/browser/wallet/full_wallet_unittest.cc', |
| 22 | 'autofill/content/browser/wallet/instrument_unittest.cc', |
| 23 | 'autofill/content/browser/wallet/wallet_address_unittest.cc', |
| 24 | 'autofill/content/browser/wallet/wallet_client_unittest.cc', |
| 25 | 'autofill/content/browser/wallet/wallet_items_unittest.cc', |
| 26 | 'autofill/content/browser/wallet/wallet_service_url_unittest.cc', |
| 27 | 'autofill/content/browser/wallet/wallet_signin_helper_unittest.cc', |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 28 | 'autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 29 | 'autofill/core/browser/address_field_unittest.cc', |
| 30 | 'autofill/core/browser/address_i18n_unittest.cc', |
| 31 | 'autofill/core/browser/address_unittest.cc', |
| 32 | 'autofill/core/browser/autocomplete_history_manager_unittest.cc', |
| 33 | 'autofill/core/browser/autofill_country_unittest.cc', |
| 34 | 'autofill/core/browser/autofill_data_model_unittest.cc', |
| 35 | 'autofill/core/browser/autofill_download_manager_unittest.cc', |
| 36 | 'autofill/core/browser/autofill_external_delegate_unittest.cc', |
| 37 | 'autofill/core/browser/autofill_field_unittest.cc', |
| 38 | 'autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc', |
| 39 | 'autofill/core/browser/autofill_manager_unittest.cc', |
| 40 | 'autofill/core/browser/autofill_merge_unittest.cc', |
| 41 | 'autofill/core/browser/autofill_metrics_unittest.cc', |
| 42 | 'autofill/core/browser/autofill_profile_unittest.cc', |
| 43 | 'autofill/core/browser/autofill_regexes_unittest.cc', |
| 44 | 'autofill/core/browser/autofill_type_unittest.cc', |
| 45 | 'autofill/core/browser/autofill_xml_parser_unittest.cc', |
| 46 | 'autofill/core/browser/contact_info_unittest.cc', |
| 47 | 'autofill/core/browser/credit_card_field_unittest.cc', |
| 48 | 'autofill/core/browser/credit_card_unittest.cc', |
| 49 | 'autofill/core/browser/form_field_unittest.cc', |
| 50 | 'autofill/core/browser/form_structure_unittest.cc', |
| 51 | 'autofill/core/browser/name_field_unittest.cc', |
| 52 | 'autofill/core/browser/password_generator_unittest.cc', |
| 53 | 'autofill/core/browser/personal_data_manager_unittest.cc', |
| 54 | 'autofill/core/browser/phone_field_unittest.cc', |
| 55 | 'autofill/core/browser/phone_number_i18n_unittest.cc', |
| 56 | 'autofill/core/browser/phone_number_unittest.cc', |
| 57 | 'autofill/core/browser/validation_unittest.cc', |
| 58 | 'autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc', |
| 59 | 'autofill/core/browser/webdata/autofill_table_unittest.cc', |
| 60 | 'autofill/core/browser/webdata/web_data_service_unittest.cc', |
| 61 | 'autofill/core/common/form_data_unittest.cc', |
| 62 | 'autofill/core/common/form_field_data_unittest.cc', |
| 63 | 'autofill/core/common/password_form_fill_data_unittest.cc', |
| 64 | 'autofill/core/common/save_password_progress_logger_unittest.cc', |
| 65 | ], |
| 66 | 'bookmarks_unittest_sources': [ |
| 67 | 'bookmarks/browser/bookmark_codec_unittest.cc', |
| 68 | 'bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc', |
| 69 | 'bookmarks/browser/bookmark_index_unittest.cc', |
| 70 | 'bookmarks/browser/bookmark_model_unittest.cc', |
| 71 | 'bookmarks/browser/bookmark_utils_unittest.cc', |
| 72 | ], |
| 73 | 'browser_watcher_unittest_sources': [ |
| 74 | 'browser_watcher/endsession_watcher_window_win_unittest.cc', |
| 75 | 'browser_watcher/exit_code_watcher_win_unittest.cc', |
| 76 | 'browser_watcher/exit_funnel_win_unittest.cc', |
| 77 | 'browser_watcher/watcher_client_win_unittest.cc', |
| 78 | 'browser_watcher/watcher_metrics_provider_win_unittest.cc', |
| 79 | ], |
| 80 | 'captive_portal_unittest_sources': [ |
| 81 | 'captive_portal/captive_portal_detector_unittest.cc', |
| 82 | ], |
| 83 | 'cloud_devices_unittest_sources': [ |
| 84 | 'cloud_devices/common/cloud_devices_urls_unittest.cc', |
| 85 | 'cloud_devices/common/printer_description_unittest.cc', |
| 86 | ], |
| 87 | 'content_settings_unittest_sources': [ |
| 88 | 'content_settings/core/browser/content_settings_mock_provider.cc', |
| 89 | 'content_settings/core/browser/content_settings_mock_provider.h', |
| 90 | 'content_settings/core/browser/content_settings_provider_unittest.cc', |
| 91 | 'content_settings/core/browser/content_settings_rule_unittest.cc', |
| 92 | 'content_settings/core/browser/content_settings_utils_unittest.cc', |
| 93 | 'content_settings/core/common/content_settings_pattern_parser_unittest.cc', |
| 94 | 'content_settings/core/common/content_settings_pattern_unittest.cc', |
| 95 | ], |
| 96 | 'crash_unittest_sources': [ |
| 97 | 'crash/app/crash_keys_win_unittest.cc', |
| 98 | ], |
| 99 | 'crx_file_unittest_sources': [ |
| 100 | 'crx_file/id_util_unittest.cc', |
| 101 | ], |
| 102 | 'data_reduction_proxy_unittest_sources': [ |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 103 | 'data_reduction_proxy/content/browser/data_reduction_proxy_message_filter_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 104 | 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc', |
| 105 | 'data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc', |
| 106 | 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc', |
| 107 | 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc', |
| 108 | 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc', |
| 109 | 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc', |
| 110 | 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc', |
| 111 | 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs_unittest.cc', |
| 112 | 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc', |
| 113 | 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc', |
| 114 | 'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs_unittest.cc', |
| 115 | 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection_unittest.cc', |
| 116 | 'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats_unittest.cc', |
| 117 | 'data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc', |
| 118 | 'data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc', |
| 119 | 'data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc', |
| 120 | ], |
| 121 | 'device_event_log_unittest_sources': [ |
| 122 | 'device_event_log/device_event_log_impl_unittest.cc', |
| 123 | ], |
| 124 | 'dom_distiller_unittest_sources': [ |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 125 | 'dom_distiller/content/dom_distiller_viewer_source_unittest.cc', |
| 126 | 'dom_distiller/content/web_contents_main_frame_observer_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 127 | 'dom_distiller/core/article_entry_unittest.cc', |
| 128 | 'dom_distiller/core/distilled_content_store_unittest.cc', |
| 129 | 'dom_distiller/core/distilled_page_prefs_unittests.cc', |
| 130 | 'dom_distiller/core/distiller_unittest.cc', |
| 131 | 'dom_distiller/core/distiller_url_fetcher_unittest.cc', |
| 132 | 'dom_distiller/core/dom_distiller_model_unittest.cc', |
| 133 | 'dom_distiller/core/dom_distiller_service_unittest.cc', |
| 134 | 'dom_distiller/core/dom_distiller_store_unittest.cc', |
| 135 | 'dom_distiller/core/task_tracker_unittest.cc', |
| 136 | 'dom_distiller/core/url_utils_unittest.cc', |
| 137 | 'dom_distiller/core/viewer_unittest.cc', |
| 138 | ], |
| 139 | 'domain_reliability_unittest_sources': [ |
| 140 | 'domain_reliability/config_unittest.cc', |
| 141 | 'domain_reliability/context_unittest.cc', |
| 142 | 'domain_reliability/dispatcher_unittest.cc', |
| 143 | 'domain_reliability/monitor_unittest.cc', |
| 144 | 'domain_reliability/scheduler_unittest.cc', |
| 145 | 'domain_reliability/test_util.cc', |
| 146 | 'domain_reliability/test_util.h', |
| 147 | 'domain_reliability/uploader_unittest.cc', |
| 148 | 'domain_reliability/util_unittest.cc', |
| 149 | ], |
| 150 | 'favicon_base_unittest_sources': [ |
| 151 | 'favicon_base/select_favicon_frames_unittest.cc', |
| 152 | ], |
| 153 | |
| 154 | # Note: GN tests converted to here, need to do the rest. |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 155 | 'audio_modem_unittest_sources': [ |
| 156 | 'audio_modem/audio_player_unittest.cc', |
| 157 | 'audio_modem/audio_recorder_unittest.cc', |
| 158 | 'audio_modem/modem_unittest.cc', |
| 159 | ], |
| 160 | 'copresence_unittest_sources': [ |
| 161 | 'copresence/copresence_state_unittest.cc', |
| 162 | 'copresence/handlers/audio/audio_directive_handler_unittest.cc', |
| 163 | 'copresence/handlers/audio/audio_directive_list_unittest.cc', |
| 164 | 'copresence/handlers/directive_handler_unittest.cc', |
| 165 | 'copresence/handlers/gcm_handler_unittest.cc', |
| 166 | 'copresence/rpc/http_post_unittest.cc', |
| 167 | 'copresence/rpc/rpc_handler_unittest.cc', |
| 168 | 'copresence/timed_map_unittest.cc', |
| 169 | ], |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 170 | 'enhanced_bookmarks_unittest_sources': [ |
| 171 | 'enhanced_bookmarks/enhanced_bookmark_model_unittest.cc', |
| 172 | 'enhanced_bookmarks/image_store_ios_unittest.mm', |
| 173 | 'enhanced_bookmarks/image_store_unittest.cc', |
| 174 | 'enhanced_bookmarks/item_position_unittest.cc', |
| 175 | ], |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 176 | 'error_page_unittest_sources': [ |
| 177 | 'error_page/renderer/net_error_helper_core_unittest.cc', |
| 178 | ], |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 179 | 'feedback_unittest_sources': [ |
| 180 | 'feedback/feedback_common_unittest.cc', |
| 181 | 'feedback/feedback_data_unittest.cc', |
| 182 | 'feedback/feedback_uploader_chrome_unittest.cc', |
| 183 | 'feedback/feedback_uploader_unittest.cc', |
| 184 | ], |
| 185 | 'gcm_driver_unittest_sources': [ |
| 186 | 'gcm_driver/gcm_account_mapper_unittest.cc', |
| 187 | 'gcm_driver/gcm_channel_status_request_unittest.cc', |
| 188 | 'gcm_driver/gcm_client_impl_unittest.cc', |
| 189 | 'gcm_driver/gcm_delayed_task_controller_unittest.cc', |
| 190 | 'gcm_driver/gcm_driver_desktop_unittest.cc', |
| 191 | 'gcm_driver/gcm_stats_recorder_impl_unittest.cc', |
| 192 | ], |
| 193 | 'google_unittest_sources': [ |
| 194 | 'google/core/browser/google_url_tracker_unittest.cc', |
| 195 | 'google/core/browser/google_util_unittest.cc', |
| 196 | ], |
| 197 | 'history_unittest_sources': [ |
| 198 | 'history/core/browser/android/android_history_types_unittest.cc', |
| 199 | 'history/core/browser/history_types_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 200 | 'history/core/browser/top_sites_cache_unittest.cc', |
| 201 | 'history/core/browser/top_sites_database_unittest.cc', |
| 202 | 'history/core/browser/url_database_unittest.cc', |
| 203 | 'history/core/browser/url_utils_unittest.cc', |
| 204 | 'history/core/browser/visit_database_unittest.cc', |
| 205 | 'history/core/browser/visit_filter_unittest.cc', |
| 206 | 'history/core/browser/visit_tracker_unittest.cc', |
| 207 | 'history/core/common/thumbnail_score_unittest.cc', |
| 208 | ], |
| 209 | 'invalidation_unittest_sources': [ |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 210 | 'invalidation/fake_invalidator_unittest.cc', |
| 211 | 'invalidation/gcm_network_channel_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 212 | 'invalidation/invalidation_logger_unittest.cc', |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 213 | 'invalidation/invalidation_notifier_unittest.cc', |
| 214 | 'invalidation/invalidator_registrar_unittest.cc', |
| 215 | 'invalidation/non_blocking_invalidator_unittest.cc', |
| 216 | 'invalidation/object_id_invalidation_map_unittest.cc', |
| 217 | 'invalidation/p2p_invalidator_unittest.cc', |
| 218 | 'invalidation/push_client_channel_unittest.cc', |
| 219 | 'invalidation/registration_manager_unittest.cc', |
| 220 | 'invalidation/single_object_invalidation_set_unittest.cc', |
| 221 | 'invalidation/sync_invalidation_listener_unittest.cc', |
| 222 | 'invalidation/sync_system_resources_unittest.cc', |
| 223 | 'invalidation/ticl_invalidation_service_unittest.cc', |
| 224 | 'invalidation/unacked_invalidation_set_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 225 | ], |
| 226 | 'json_schema_unittest_sources': [ |
| 227 | 'json_schema/json_schema_validator_unittest.cc', |
| 228 | 'json_schema/json_schema_validator_unittest_base.cc', |
| 229 | 'json_schema/json_schema_validator_unittest_base.h', |
| 230 | ], |
| 231 | 'keyed_service_unittest_sources': [ |
| 232 | 'keyed_service/content/browser_context_dependency_manager_unittest.cc', |
| 233 | 'keyed_service/core/dependency_graph_unittest.cc', |
| 234 | ], |
| 235 | 'language_usage_metrics_unittest_sources': [ |
| 236 | 'language_usage_metrics/language_usage_metrics_unittest.cc', |
| 237 | ], |
| 238 | 'leveldb_proto_unittest_sources': [ |
| 239 | 'leveldb_proto/proto_database_impl_unittest.cc', |
| 240 | ], |
| 241 | 'login_unittest_sources': [ |
| 242 | 'login/screens/screen_context_unittest.cc', |
| 243 | ], |
| 244 | 'metrics_unittest_sources': [ |
| 245 | 'metrics/compression_utils_unittest.cc', |
| 246 | 'metrics/daily_event_unittest.cc', |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 247 | 'metrics/gpu/gpu_metrics_provider_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 248 | 'metrics/histogram_encoder_unittest.cc', |
| 249 | 'metrics/histogram_manager_unittest.cc', |
| 250 | 'metrics/machine_id_provider_win_unittest.cc', |
| 251 | 'metrics/metrics_hashes_unittest.cc', |
| 252 | 'metrics/metrics_log_manager_unittest.cc', |
| 253 | 'metrics/metrics_log_unittest.cc', |
| 254 | 'metrics/metrics_reporting_scheduler_unittest.cc', |
| 255 | 'metrics/metrics_service_unittest.cc', |
| 256 | 'metrics/metrics_state_manager_unittest.cc', |
| 257 | 'metrics/net/net_metrics_log_uploader_unittest.cc', |
| 258 | 'metrics/persisted_logs_unittest.cc', |
| 259 | 'metrics/profiler/profiler_metrics_provider_unittest.cc', |
| 260 | ], |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 261 | 'nacl_unittest_sources': [ |
| 262 | 'nacl/browser/nacl_file_host_unittest.cc', |
| 263 | 'nacl/browser/nacl_process_host_unittest.cc', |
| 264 | 'nacl/browser/nacl_validation_cache_unittest.cc', |
| 265 | 'nacl/browser/pnacl_host_unittest.cc', |
| 266 | 'nacl/browser/pnacl_translation_cache_unittest.cc', |
| 267 | 'nacl/browser/test_nacl_browser_delegate.cc', |
| 268 | 'nacl/zygote/nacl_fork_delegate_linux_unittest.cc', |
| 269 | ], |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 270 | 'navigation_interception_unittest_sources': [ |
| 271 | 'navigation_interception/intercept_navigation_resource_throttle_unittest.cc', |
| 272 | ], |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 273 | 'network_hints_unittest_sources': [ |
| 274 | 'network_hints/renderer/dns_prefetch_queue_unittest.cc', |
| 275 | 'network_hints/renderer/renderer_dns_prefetch_unittest.cc', |
| 276 | ], |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 277 | 'network_time_unittest_sources': [ |
| 278 | 'network_time/network_time_tracker_unittest.cc', |
| 279 | ], |
| 280 | 'omnibox_unittest_sources': [ |
| 281 | 'omnibox/answers_cache_unittest.cc', |
| 282 | 'omnibox/autocomplete_input_unittest.cc', |
| 283 | 'omnibox/autocomplete_match_unittest.cc', |
| 284 | 'omnibox/autocomplete_result_unittest.cc', |
| 285 | 'omnibox/base_search_provider_unittest.cc', |
| 286 | 'omnibox/keyword_provider_unittest.cc', |
| 287 | 'omnibox/omnibox_field_trial_unittest.cc', |
| 288 | 'omnibox/suggestion_answer_unittest.cc', |
| 289 | ], |
| 290 | 'os_crypt_unittest_sources': [ |
| 291 | 'os_crypt/ie7_password_win_unittest.cc', |
| 292 | 'os_crypt/keychain_password_mac_unittest.mm', |
| 293 | 'os_crypt/os_crypt_unittest.cc', |
| 294 | ], |
| 295 | 'ownership_unittest_sources': [ |
| 296 | 'ownership/owner_key_util_impl_unittest.cc', |
| 297 | ], |
| 298 | 'packed_ct_ev_whitelist_unittest_sources': [ |
| 299 | 'packed_ct_ev_whitelist/bit_stream_reader_unittest.cc', |
| 300 | 'packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc', |
| 301 | ], |
| 302 | 'password_manager_unittest_sources': [ |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 303 | 'password_manager/content/browser/credential_manager_dispatcher_unittest.cc', |
| 304 | 'password_manager/content/common/credential_manager_types_unittest.cc', |
engedy | 89e07c27 | 2015-03-10 20:49:30 | [diff] [blame] | 305 | 'password_manager/core/browser/affiliated_match_helper_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 306 | 'password_manager/core/browser/affiliation_backend_unittest.cc', |
| 307 | 'password_manager/core/browser/affiliation_database_unittest.cc', |
| 308 | 'password_manager/core/browser/affiliation_fetch_throttler_unittest.cc', |
| 309 | 'password_manager/core/browser/affiliation_fetcher_unittest.cc', |
| 310 | 'password_manager/core/browser/affiliation_service_unittest.cc', |
| 311 | 'password_manager/core/browser/affiliation_utils_unittest.cc', |
| 312 | 'password_manager/core/browser/browser_save_password_progress_logger_unittest.cc', |
| 313 | 'password_manager/core/browser/export/csv_writer_unittest.cc', |
engedy | bce0405 | 2015-03-10 19:24:43 | [diff] [blame] | 314 | 'password_manager/core/browser/facet_manager_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 315 | 'password_manager/core/browser/import/csv_reader_unittest.cc', |
| 316 | 'password_manager/core/browser/log_router_unittest.cc', |
| 317 | 'password_manager/core/browser/login_database_unittest.cc', |
| 318 | 'password_manager/core/browser/password_autofill_manager_unittest.cc', |
| 319 | 'password_manager/core/browser/password_form_manager_unittest.cc', |
| 320 | 'password_manager/core/browser/password_generation_manager_unittest.cc', |
| 321 | 'password_manager/core/browser/password_manager_unittest.cc', |
| 322 | 'password_manager/core/browser/password_store_default_unittest.cc', |
| 323 | 'password_manager/core/browser/password_store_unittest.cc', |
| 324 | 'password_manager/core/browser/password_syncable_service_unittest.cc', |
| 325 | 'password_manager/core/browser/psl_matching_helper_unittest.cc', |
| 326 | ], |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 327 | 'policy_unittest_sources': [ |
| 328 | 'policy/core/browser/autofill_policy_handler_unittest.cc', |
| 329 | 'policy/core/browser/browser_policy_connector_unittest.cc', |
| 330 | 'policy/core/browser/configuration_policy_handler_unittest.cc', |
| 331 | 'policy/core/browser/configuration_policy_pref_store_unittest.cc', |
| 332 | 'policy/core/browser/managed_bookmarks_tracker_unittest.cc', |
| 333 | 'policy/core/browser/url_blacklist_policy_handler_unittest.cc', |
| 334 | 'policy/core/common/async_policy_provider_unittest.cc', |
| 335 | 'policy/core/common/cloud/cloud_policy_client_unittest.cc', |
| 336 | 'policy/core/common/cloud/cloud_policy_constants_unittest.cc', |
| 337 | 'policy/core/common/cloud/cloud_policy_core_unittest.cc', |
| 338 | 'policy/core/common/cloud/cloud_policy_manager_unittest.cc', |
| 339 | 'policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc', |
| 340 | 'policy/core/common/cloud/cloud_policy_service_unittest.cc', |
| 341 | 'policy/core/common/cloud/cloud_policy_validator_unittest.cc', |
| 342 | 'policy/core/common/cloud/component_cloud_policy_service_unittest.cc', |
| 343 | 'policy/core/common/cloud/component_cloud_policy_store_unittest.cc', |
| 344 | 'policy/core/common/cloud/component_cloud_policy_updater_unittest.cc', |
| 345 | 'policy/core/common/cloud/device_management_service_unittest.cc', |
| 346 | 'policy/core/common/cloud/external_policy_data_fetcher_unittest.cc', |
| 347 | 'policy/core/common/cloud/external_policy_data_updater_unittest.cc', |
| 348 | 'policy/core/common/cloud/policy_header_io_helper_unittest.cc', |
| 349 | 'policy/core/common/cloud/policy_header_service_unittest.cc', |
| 350 | 'policy/core/common/cloud/resource_cache_unittest.cc', |
| 351 | 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc', |
| 352 | 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc', |
| 353 | 'policy/core/common/cloud/user_info_fetcher_unittest.cc', |
| 354 | 'policy/core/common/config_dir_policy_loader_unittest.cc', |
| 355 | 'policy/core/common/generate_policy_source_unittest.cc', |
| 356 | 'policy/core/common/policy_bundle_unittest.cc', |
| 357 | 'policy/core/common/policy_loader_ios_unittest.mm', |
| 358 | 'policy/core/common/policy_loader_mac_unittest.cc', |
| 359 | 'policy/core/common/policy_loader_win_unittest.cc', |
| 360 | 'policy/core/common/policy_map_unittest.cc', |
| 361 | 'policy/core/common/policy_provider_android_unittest.cc', |
| 362 | 'policy/core/common/policy_service_impl_unittest.cc', |
| 363 | 'policy/core/common/policy_statistics_collector_unittest.cc', |
| 364 | 'policy/core/common/preg_parser_win_unittest.cc', |
| 365 | 'policy/core/common/registry_dict_win_unittest.cc', |
| 366 | 'policy/core/common/remote_commands/remote_commands_queue_unittest.cc', |
binjin | efa8017c | 2015-03-18 10:53:20 | [diff] [blame] | 367 | 'policy/core/common/remote_commands/remote_commands_service_unittest.cc', |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 368 | 'policy/core/common/schema_map_unittest.cc', |
| 369 | 'policy/core/common/schema_registry_tracking_policy_provider_unittest.cc', |
| 370 | 'policy/core/common/schema_registry_unittest.cc', |
| 371 | 'policy/core/common/schema_unittest.cc', |
| 372 | ], |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 373 | 'power_unittest_sources': [ |
| 374 | 'power/origin_power_map_unittest.cc', |
| 375 | ], |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 376 | 'precache_unittest_sources': [ |
| 377 | 'precache/content/precache_manager_unittest.cc', |
| 378 | 'precache/core/precache_database_unittest.cc', |
| 379 | 'precache/core/precache_fetcher_unittest.cc', |
| 380 | 'precache/core/precache_url_table_unittest.cc', |
| 381 | ], |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 382 | 'proximity_auth_unittest_sources': [ |
| 383 | 'proximity_auth/base64url_unittest.cc', |
| 384 | 'proximity_auth/bluetooth_connection_finder_unittest.cc', |
| 385 | 'proximity_auth/bluetooth_connection_unittest.cc', |
| 386 | 'proximity_auth/client_unittest.cc', |
| 387 | 'proximity_auth/connection_unittest.cc', |
| 388 | 'proximity_auth/cryptauth/cryptauth_account_token_fetcher_unittest.cc', |
| 389 | 'proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc', |
| 390 | 'proximity_auth/cryptauth/cryptauth_client_unittest.cc', |
| 391 | 'proximity_auth/proximity_auth_system_unittest.cc', |
| 392 | 'proximity_auth/remote_status_update_unittest.cc', |
| 393 | 'proximity_auth/wire_message_unittest.cc', |
| 394 | ], |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 395 | 'query_parser_unittest_sources': [ |
| 396 | 'query_parser/query_parser_unittest.cc', |
| 397 | 'query_parser/snippet_unittest.cc', |
| 398 | ], |
| 399 | 'rappor_unittest_sources': [ |
| 400 | 'rappor/bloom_filter_unittest.cc', |
| 401 | 'rappor/byte_vector_utils_unittest.cc', |
| 402 | 'rappor/log_uploader_unittest.cc', |
| 403 | 'rappor/rappor_metric_unittest.cc', |
| 404 | 'rappor/rappor_prefs_unittest.cc', |
| 405 | 'rappor/rappor_service_unittest.cc', |
mathp | 46284f3 | 2015-03-11 13:06:41 | [diff] [blame] | 406 | 'rappor/rappor_utils_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 407 | ], |
| 408 | 'search_unittest_sources': [ |
| 409 | 'search/search_android_unittest.cc', |
| 410 | 'search/search_unittest.cc', |
| 411 | 'search_engines/default_search_manager_unittest.cc', |
| 412 | 'search_engines/default_search_policy_handler_unittest.cc', |
| 413 | 'search_engines/keyword_table_unittest.cc', |
| 414 | 'search_engines/search_host_to_urls_map_unittest.cc', |
| 415 | 'search_engines/template_url_prepopulate_data_unittest.cc', |
| 416 | 'search_engines/template_url_service_util_unittest.cc', |
| 417 | 'search_engines/template_url_unittest.cc', |
| 418 | ], |
| 419 | 'search_provider_logos_unittest_sources': [ |
| 420 | 'search_provider_logos/logo_cache_unittest.cc', |
| 421 | 'search_provider_logos/logo_tracker_unittest.cc', |
| 422 | ], |
| 423 | 'sessions_unittest_sources': [ |
| 424 | 'sessions/content/content_serialized_navigation_builder_unittest.cc', |
| 425 | 'sessions/content/content_serialized_navigation_driver_unittest.cc', |
| 426 | 'sessions/ios/ios_serialized_navigation_builder_unittest.cc', |
| 427 | 'sessions/ios/ios_serialized_navigation_driver_unittest.cc', |
| 428 | 'sessions/serialized_navigation_entry_unittest.cc', |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 429 | 'sessions/session_backend_unittest.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 430 | 'sessions/session_types_unittest.cc', |
| 431 | ], |
| 432 | 'signin_unittest_sources': [ |
| 433 | 'signin/core/browser/account_tracker_service_unittest.cc', |
| 434 | 'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc', |
| 435 | 'signin/core/browser/refresh_token_annotation_request_unittest.cc', |
| 436 | 'signin/core/browser/signin_error_controller_unittest.cc', |
| 437 | 'signin/core/browser/webdata/token_service_table_unittest.cc', |
| 438 | 'signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm', |
| 439 | ], |
| 440 | 'storage_monitor_unittest_sources': [ |
| 441 | 'storage_monitor/image_capture_device_manager_unittest.mm', |
| 442 | 'storage_monitor/media_storage_util_unittest.cc', |
| 443 | 'storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc', |
| 444 | 'storage_monitor/storage_info_unittest.cc', |
| 445 | 'storage_monitor/storage_monitor_chromeos_unittest.cc', |
| 446 | 'storage_monitor/storage_monitor_linux_unittest.cc', |
| 447 | 'storage_monitor/storage_monitor_mac_unittest.mm', |
| 448 | 'storage_monitor/storage_monitor_unittest.cc', |
| 449 | 'storage_monitor/storage_monitor_win_unittest.cc', |
| 450 | ], |
| 451 | 'suggestions_unittest_sources': [ |
| 452 | 'suggestions/blacklist_store_unittest.cc', |
| 453 | 'suggestions/image_manager_unittest.cc', |
| 454 | 'suggestions/suggestions_service_unittest.cc', |
| 455 | 'suggestions/suggestions_store_unittest.cc', |
| 456 | ], |
| 457 | 'sync_driver_unittest_sources': [ |
| 458 | 'sync_driver/data_type_manager_impl_unittest.cc', |
| 459 | 'sync_driver/device_info_data_type_controller_unittest.cc', |
| 460 | 'sync_driver/device_info_sync_service_unittest.cc', |
| 461 | 'sync_driver/generic_change_processor_unittest.cc', |
| 462 | 'sync_driver/model_association_manager_unittest.cc', |
| 463 | 'sync_driver/non_blocking_data_type_controller_unittest.cc', |
| 464 | 'sync_driver/non_ui_data_type_controller_unittest.cc', |
| 465 | 'sync_driver/shared_change_processor_unittest.cc', |
| 466 | 'sync_driver/sync_prefs_unittest.cc', |
| 467 | 'sync_driver/system_encryptor_unittest.cc', |
| 468 | 'sync_driver/ui_data_type_controller_unittest.cc', |
| 469 | ], |
| 470 | 'translate_unittest_sources': [ |
| 471 | 'translate/core/browser/language_state_unittest.cc', |
| 472 | 'translate/core/browser/translate_browser_metrics_unittest.cc', |
| 473 | 'translate/core/browser/translate_prefs_unittest.cc', |
| 474 | 'translate/core/browser/translate_script_unittest.cc', |
| 475 | 'translate/core/common/translate_metrics_unittest.cc', |
| 476 | 'translate/core/common/translate_util_unittest.cc', |
| 477 | 'translate/core/language_detection/language_detection_util_unittest.cc', |
| 478 | 'translate/ios/browser/js_translate_manager_unittest.mm', |
| 479 | 'translate/ios/browser/language_detection_controller_unittest.mm', |
| 480 | 'translate/ios/browser/translate_controller_unittest.mm', |
| 481 | ], |
| 482 | 'ui_unittest_sources': [ |
| 483 | 'ui/zoom/page_zoom_unittests.cc', |
| 484 | ], |
| 485 | 'update_client_unittest_sources': [ |
| 486 | 'update_client/test/component_patcher_unittest.cc', |
| 487 | 'update_client/test/crx_downloader_unittest.cc', |
| 488 | 'update_client/test/ping_manager_unittest.cc', |
| 489 | 'update_client/test/request_sender_unittest.cc', |
| 490 | 'update_client/test/update_checker_unittest.cc', |
| 491 | 'update_client/test/update_response_unittest.cc', |
| 492 | 'update_client/update_query_params_unittest.cc', |
| 493 | ], |
| 494 | 'url_fixer_unittest_sources': [ |
| 495 | 'url_fixer/url_fixer_unittest.cc', |
| 496 | ], |
| 497 | 'url_matcher_unittest_sources': [ |
| 498 | 'url_matcher/regex_set_matcher_unittest.cc', |
| 499 | 'url_matcher/string_pattern_unittest.cc', |
| 500 | 'url_matcher/substring_set_matcher_unittest.cc', |
| 501 | 'url_matcher/url_matcher_factory_unittest.cc', |
| 502 | 'url_matcher/url_matcher_unittest.cc', |
| 503 | ], |
| 504 | 'variations_unittest_sources': [ |
| 505 | 'variations/active_field_trials_unittest.cc', |
| 506 | 'variations/caching_permuted_entropy_provider_unittest.cc', |
| 507 | 'variations/entropy_provider_unittest.cc', |
| 508 | 'variations/metrics_util_unittest.cc', |
| 509 | 'variations/net/variations_http_header_provider_unittest.cc', |
| 510 | 'variations/study_filtering_unittest.cc', |
| 511 | 'variations/variations_associated_data_unittest.cc', |
| 512 | 'variations/variations_seed_processor_unittest.cc', |
| 513 | 'variations/variations_seed_simulator_unittest.cc', |
| 514 | ], |
| 515 | 'visitedlink_unittest_sources': [ |
| 516 | 'visitedlink/test/visitedlink_unittest.cc', |
| 517 | ], |
| 518 | 'wallpaper_unittest_sources': [ |
| 519 | 'wallpaper/wallpaper_resizer_unittest.cc', |
| 520 | ], |
| 521 | 'web_cache_unittest_sources': [ |
| 522 | 'web_cache/browser/web_cache_manager_unittest.cc', |
| 523 | ], |
| 524 | 'web_modal_unittest_sources': [ |
| 525 | 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
| 526 | ], |
| 527 | 'web_resource_unittest_sources': [ |
| 528 | 'web_resource/eula_accepted_notifier_unittest.cc', |
| 529 | 'web_resource/resource_request_allowed_notifier_unittest.cc', |
| 530 | ], |
| 531 | 'webdata_unittest_sources': [ |
| 532 | 'webdata/common/web_database_migration_unittest.cc', |
| 533 | ], |
tfarina | 3c4788d | 2015-02-09 13:18:02 | [diff] [blame] | 534 | }, |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 535 | 'conditions': [ |
[email protected] | 01587e1 | 2013-10-03 18:24:54 | [diff] [blame] | 536 | ['android_webview_build == 0', { |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 537 | 'targets': [ |
| 538 | { |
brettw | 77b5872 | 2015-02-27 23:35:06 | [diff] [blame] | 539 | # GN version: //components:components_tests_pak |
tfarina | 4bb3f478 | 2015-02-09 20:59:57 | [diff] [blame] | 540 | 'target_name': 'components_tests_pak', |
| 541 | 'type': 'none', |
| 542 | 'dependencies': [ |
| 543 | '../ui/resources/ui_resources.gyp:ui_resources', |
| 544 | '../ui/strings/ui_strings.gyp:ui_strings', |
| 545 | 'components_resources.gyp:components_resources', |
| 546 | 'components_strings.gyp:components_strings', |
| 547 | ], |
| 548 | 'actions': [ |
| 549 | { |
| 550 | 'action_name': 'repack_components_tests_pak', |
| 551 | 'variables': { |
| 552 | 'pak_inputs': [ |
| 553 | '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak', |
| 554 | '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_strings_en-US.pak', |
| 555 | '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak', |
megjablon | f005db9 | 2015-02-17 19:09:35 | [diff] [blame] | 556 | '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', |
tfarina | 4bb3f478 | 2015-02-09 20:59:57 | [diff] [blame] | 557 | '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak', |
| 558 | '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', |
| 559 | ], |
| 560 | 'pak_output': '<(PRODUCT_DIR)/components_tests_resources.pak', |
| 561 | }, |
| 562 | 'includes': [ '../build/repack_action.gypi' ], |
| 563 | }, |
| 564 | ], |
| 565 | 'direct_dependent_settings': { |
| 566 | 'mac_bundle_resources': [ |
| 567 | '<(PRODUCT_DIR)/components_tests_resources.pak', |
| 568 | ], |
| 569 | }, |
| 570 | }, |
| 571 | { |
mstrum | 9f8fae1 | 2015-02-17 16:40:03 | [diff] [blame] | 572 | # GN version: //components:components_unittests |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 573 | 'target_name': 'components_unittests', |
| 574 | 'type': '<(gtest_target_type)', |
| 575 | 'sources': [ |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 576 | 'test/run_all_unittests.cc', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 577 | |
| 578 | '<@(auto_login_parser_unittest_sources)', |
| 579 | '<@(autofill_unittest_sources)', |
| 580 | '<@(bookmarks_unittest_sources)', |
| 581 | '<@(browser_watcher_unittest_sources)', |
| 582 | '<@(captive_portal_unittest_sources)', |
| 583 | '<@(cloud_devices_unittest_sources)', |
| 584 | '<@(content_settings_unittest_sources)', |
| 585 | '<@(crash_unittest_sources)', |
| 586 | '<@(crx_file_unittest_sources)', |
| 587 | '<@(data_reduction_proxy_unittest_sources)', |
| 588 | '<@(device_event_log_unittest_sources)', |
| 589 | '<@(dom_distiller_unittest_sources)', |
| 590 | '<@(domain_reliability_unittest_sources)', |
| 591 | '<@(enhanced_bookmarks_unittest_sources)', |
| 592 | '<@(favicon_base_unittest_sources)', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 593 | '<@(gcm_driver_unittest_sources)', |
| 594 | '<@(google_unittest_sources)', |
| 595 | '<@(history_unittest_sources)', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 596 | '<@(json_schema_unittest_sources)', |
| 597 | '<@(keyed_service_unittest_sources)', |
| 598 | '<@(language_usage_metrics_unittest_sources)', |
| 599 | '<@(leveldb_proto_unittest_sources)', |
| 600 | '<@(login_unittest_sources)', |
| 601 | '<@(metrics_unittest_sources)', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 602 | '<@(network_time_unittest_sources)', |
| 603 | '<@(omnibox_unittest_sources)', |
| 604 | '<@(os_crypt_unittest_sources)', |
| 605 | '<@(ownership_unittest_sources)', |
| 606 | '<@(packed_ct_ev_whitelist_unittest_sources)', |
| 607 | '<@(password_manager_unittest_sources)', |
| 608 | '<@(precache_unittest_sources)', |
| 609 | '<@(query_parser_unittest_sources)', |
| 610 | '<@(rappor_unittest_sources)', |
| 611 | '<@(search_unittest_sources)', |
| 612 | '<@(search_provider_logos_unittest_sources)', |
| 613 | '<@(sessions_unittest_sources)', |
| 614 | '<@(signin_unittest_sources)', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 615 | '<@(suggestions_unittest_sources)', |
| 616 | '<@(sync_driver_unittest_sources)', |
| 617 | '<@(translate_unittest_sources)', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 618 | '<@(update_client_unittest_sources)', |
| 619 | '<@(url_fixer_unittest_sources)', |
| 620 | '<@(url_matcher_unittest_sources)', |
| 621 | '<@(variations_unittest_sources)', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 622 | '<@(wallpaper_unittest_sources)', |
stuartmorgan | 7056cb3 | 2015-03-05 09:33:42 | [diff] [blame] | 623 | '<@(web_resource_unittest_sources)', |
| 624 | '<@(webdata_unittest_sources)', |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 625 | ], |
| 626 | 'include_dirs': [ |
| 627 | '..', |
| 628 | ], |
| 629 | 'dependencies': [ |
tfarina | 7d49066 | 2015-01-26 16:21:47 | [diff] [blame] | 630 | '../base/base.gyp:base', |
[email protected] | 76b4b15 | 2013-12-08 21:10:04 | [diff] [blame] | 631 | '../base/base.gyp:base_prefs_test_support', |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 632 | '../base/base.gyp:test_support_base', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 633 | # TODO(blundell): Eliminate the need for this dependency in code |
| 634 | # that iOS shares. crbug.com/325243 |
| 635 | '../content/content_shell_and_tests.gyp:test_support_content', |
tfarina | 7d49066 | 2015-01-26 16:21:47 | [diff] [blame] | 636 | '../google_apis/google_apis.gyp:google_apis_test_support', |
| 637 | '../jingle/jingle.gyp:notifier_test_util', |
| 638 | '../net/net.gyp:net_test_support', |
erikchen | 5408e45 | 2014-11-12 02:57:56 | [diff] [blame] | 639 | '../sql/sql.gyp:test_support_sql', |
[email protected] | 82c1012 | 2013-10-03 15:12:22 | [diff] [blame] | 640 | '../sync/sync.gyp:sync', |
[email protected] | 9d08646 | 2014-03-04 20:36:02 | [diff] [blame] | 641 | '../sync/sync.gyp:test_support_sync_api', |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 642 | '../testing/gmock.gyp:gmock', |
| 643 | '../testing/gtest.gyp:gtest', |
tfarina | 7d49066 | 2015-01-26 16:21:47 | [diff] [blame] | 644 | '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 645 | '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util', |
| 646 | '../third_party/libjingle/libjingle.gyp:libjingle', |
| 647 | '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', |
| 648 | '../third_party/libxml/libxml.gyp:libxml', |
| 649 | '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
[email protected] | ed8fd915 | 2014-03-13 10:20:37 | [diff] [blame] | 650 | '../ui/base/ui_base.gyp:ui_base', |
[email protected] | f84b533 | 2013-12-17 14:50:50 | [diff] [blame] | 651 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | a109fd0 | 2014-07-10 07:41:43 | [diff] [blame] | 652 | '../ui/gfx/gfx.gyp:gfx_test_support', |
jam | 6bb3c8f | 2015-01-22 00:44:08 | [diff] [blame] | 653 | '../ui/resources/ui_resources.gyp:ui_resources', |
| 654 | '../ui/strings/ui_strings.gyp:ui_strings', |
tfarina | 7d49066 | 2015-01-26 16:21:47 | [diff] [blame] | 655 | '../url/url.gyp:url_lib', |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 656 | 'components.gyp:auto_login_parser', |
[email protected] | 6c79aea | 2013-12-13 00:52:57 | [diff] [blame] | 657 | 'components.gyp:autofill_core_browser', |
| 658 | 'components.gyp:autofill_core_common', |
| 659 | 'components.gyp:autofill_core_test_support', |
[email protected] | a90c8ca | 2014-05-20 17:16:04 | [diff] [blame] | 660 | 'components.gyp:bookmarks_browser', |
| 661 | 'components.gyp:bookmarks_test_support', |
[email protected] | b1a160d | 2014-04-29 18:05:44 | [diff] [blame] | 662 | 'components.gyp:captive_portal_test_support', |
[email protected] | 5b38caf | 2014-04-18 05:32:06 | [diff] [blame] | 663 | 'components.gyp:cloud_devices_common', |
vasilii | ac46139 | 2014-09-18 11:35:17 | [diff] [blame] | 664 | 'components.gyp:content_settings_core_browser', |
mukai | 077089f | 2014-09-11 18:41:52 | [diff] [blame] | 665 | 'components.gyp:content_settings_core_common', |
lucinka.brozkova | a410c80 | 2014-11-06 12:09:33 | [diff] [blame] | 666 | 'components.gyp:content_settings_core_test_support', |
Robert Sesek | abcd810 | 2014-08-27 16:12:44 | [diff] [blame] | 667 | 'components.gyp:crash_test_support', |
[email protected] | fdd2837 | 2014-08-21 02:27:26 | [diff] [blame] | 668 | 'components.gyp:crx_file', |
megjablon | 3476e04 | 2014-10-14 19:21:59 | [diff] [blame] | 669 | 'components.gyp:data_reduction_proxy_core_browser', |
| 670 | 'components.gyp:data_reduction_proxy_core_common', |
[email protected] | a0a0693 | 2014-04-14 21:23:42 | [diff] [blame] | 671 | 'components.gyp:data_reduction_proxy_test_support', |
reillyg | 4a84927 | 2015-02-20 21:38:43 | [diff] [blame] | 672 | 'components.gyp:device_event_log_component', |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 673 | 'components.gyp:distilled_page_proto', |
| 674 | 'components.gyp:dom_distiller_core', |
[email protected] | 2eb48e68 | 2014-01-14 13:40:32 | [diff] [blame] | 675 | 'components.gyp:dom_distiller_test_support', |
[email protected] | 45de676a | 2014-03-18 23:52:02 | [diff] [blame] | 676 | 'components.gyp:domain_reliability', |
[email protected] | 174a621 | 2014-05-11 14:19:52 | [diff] [blame] | 677 | 'components.gyp:enhanced_bookmarks', |
| 678 | 'components.gyp:enhanced_bookmarks_test_support', |
sdefresne | f900329e | 2015-01-14 09:49:06 | [diff] [blame] | 679 | 'components.gyp:favicon_base', |
[email protected] | 8d41e5a | 2014-05-28 03:18:49 | [diff] [blame] | 680 | 'components.gyp:gcm_driver', |
| 681 | 'components.gyp:gcm_driver_test_support', |
blundell | 9082b5b | 2014-08-27 09:22:37 | [diff] [blame] | 682 | 'components.gyp:google_core_browser', |
[email protected] | 73b2d1e7 | 2014-06-25 23:45:36 | [diff] [blame] | 683 | 'components.gyp:history_core_browser', |
[email protected] | 36db2ae | 2014-06-11 17:49:27 | [diff] [blame] | 684 | 'components.gyp:history_core_common', |
sdefresne | 0da3bc0 | 2015-01-29 18:26:35 | [diff] [blame] | 685 | 'components.gyp:history_core_test_support', |
[email protected] | 7315c96 | 2014-05-09 23:17:47 | [diff] [blame] | 686 | 'components.gyp:invalidation', |
[email protected] | 4482877 | 2014-06-06 02:56:52 | [diff] [blame] | 687 | 'components.gyp:invalidation_test_support', |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 688 | 'components.gyp:json_schema', |
[email protected] | fc217c0 | 2014-03-12 04:47:52 | [diff] [blame] | 689 | 'components.gyp:keyed_service_core', |
[email protected] | 3f3a65f | 2014-01-09 19:05:05 | [diff] [blame] | 690 | 'components.gyp:language_usage_metrics', |
[email protected] | 2b894b8 | 2014-06-18 16:22:30 | [diff] [blame] | 691 | 'components.gyp:leveldb_proto', |
| 692 | 'components.gyp:leveldb_proto_test_support', |
ygorshenin | 98f956e5 | 2014-10-24 17:22:16 | [diff] [blame] | 693 | 'components.gyp:login', |
[email protected] | 0d5a61a8 | 2014-05-31 22:28:34 | [diff] [blame] | 694 | 'components.gyp:metrics', |
gunsch | 1afc6517 | 2014-09-16 00:03:32 | [diff] [blame] | 695 | 'components.gyp:metrics_gpu', |
[email protected] | 0d5a61a8 | 2014-05-31 22:28:34 | [diff] [blame] | 696 | 'components.gyp:metrics_net', |
gunsch | 840bc41 | 2014-09-18 19:38:06 | [diff] [blame] | 697 | 'components.gyp:metrics_profiler', |
[email protected] | bfb77b5 | 2014-06-07 01:54:01 | [diff] [blame] | 698 | 'components.gyp:metrics_test_support', |
[email protected] | d0ab865b | 2014-06-04 19:41:34 | [diff] [blame] | 699 | 'components.gyp:network_time', |
[email protected] | b1c5ab68 | 2014-08-07 11:53:17 | [diff] [blame] | 700 | 'components.gyp:omnibox', |
| 701 | 'components.gyp:omnibox_test_support', |
[email protected] | 45de676a | 2014-03-18 23:52:02 | [diff] [blame] | 702 | 'components.gyp:os_crypt', |
ygorshenin | 39e3678 | 2014-08-29 13:09:51 | [diff] [blame] | 703 | 'components.gyp:ownership', |
tfarina | 7d49066 | 2015-01-26 16:21:47 | [diff] [blame] | 704 | 'components.gyp:packed_ct_ev_whitelist', |
| 705 | 'components.gyp:password_manager_core_browser', |
[email protected] | e27e009 | 2014-02-05 19:04:13 | [diff] [blame] | 706 | 'components.gyp:password_manager_core_browser', |
[email protected] | faaa917f | 2014-02-05 10:43:28 | [diff] [blame] | 707 | 'components.gyp:password_manager_core_browser_test_support', |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 708 | 'components.gyp:precache_core', |
[email protected] | b35490f | 2014-06-19 07:00:01 | [diff] [blame] | 709 | 'components.gyp:pref_registry_test_support', |
[email protected] | acf9f27 | 2014-04-15 23:04:00 | [diff] [blame] | 710 | 'components.gyp:query_parser', |
[email protected] | 2a172e4 | 2014-02-21 04:06:10 | [diff] [blame] | 711 | 'components.gyp:rappor', |
holte | 5a7ed7c | 2015-01-09 23:52:46 | [diff] [blame] | 712 | 'components.gyp:rappor_test_support', |
[email protected] | 720b1049 | 2014-07-23 08:48:40 | [diff] [blame] | 713 | 'components.gyp:search', |
[email protected] | 63f02188 | 2014-07-11 03:14:16 | [diff] [blame] | 714 | 'components.gyp:search_engines', |
hashimoto | 3c83181 | 2014-08-25 07:40:23 | [diff] [blame] | 715 | 'components.gyp:search_engines_test_support', |
[email protected] | 12fad44 | 2014-04-30 21:55:16 | [diff] [blame] | 716 | 'components.gyp:search_provider_logos', |
rohitrao | 2975885b | 2014-10-24 19:00:27 | [diff] [blame] | 717 | 'components.gyp:sessions_test_support', |
[email protected] | 7274ef0 | 2014-03-24 22:43:40 | [diff] [blame] | 718 | 'components.gyp:signin_core_browser', |
[email protected] | 154e0b34 | 2014-03-28 20:28:33 | [diff] [blame] | 719 | 'components.gyp:signin_core_browser_test_support', |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 720 | 'components.gyp:suggestions', |
[email protected] | a0e77d3 | 2014-01-31 16:07:13 | [diff] [blame] | 721 | 'components.gyp:sync_driver_test_support', |
[email protected] | 3f3a65f | 2014-01-09 19:05:05 | [diff] [blame] | 722 | 'components.gyp:translate_core_browser', |
[email protected] | eba93c9 | 2014-01-07 17:34:17 | [diff] [blame] | 723 | 'components.gyp:translate_core_common', |
[email protected] | bfa4c82a | 2014-05-13 23:45:02 | [diff] [blame] | 724 | 'components.gyp:translate_core_language_detection', |
wjmaclean | 91ddc47 | 2015-01-15 19:58:27 | [diff] [blame] | 725 | 'components.gyp:ui_zoom', |
sorin | 39eab2f | 2015-01-06 01:09:08 | [diff] [blame] | 726 | 'components.gyp:update_client', |
sorin | 52ac088 | 2015-01-24 01:15:00 | [diff] [blame] | 727 | 'components.gyp:update_client_test_support', |
[email protected] | 9b5b1d60 | 2014-06-12 14:29:02 | [diff] [blame] | 728 | 'components.gyp:url_fixer', |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 729 | 'components.gyp:variations', |
[email protected] | f561a7c | 2014-08-22 01:18:03 | [diff] [blame] | 730 | 'components.gyp:variations_http_provider', |
tfarina | 7d49066 | 2015-01-26 16:21:47 | [diff] [blame] | 731 | 'components.gyp:wallpaper', |
droger | f847994 | 2014-11-21 17:47:53 | [diff] [blame] | 732 | 'components.gyp:web_resource', |
| 733 | 'components.gyp:web_resource_test_support', |
tfarina | 7d49066 | 2015-01-26 16:21:47 | [diff] [blame] | 734 | 'components_resources.gyp:components_resources', |
| 735 | 'components_strings.gyp:components_strings', |
tfarina | 4bb3f478 | 2015-02-09 20:59:57 | [diff] [blame] | 736 | 'components_tests_pak', |
jam | 6bb3c8f | 2015-01-22 00:44:08 | [diff] [blame] | 737 | ], |
[email protected] | c03ef21 | 2013-01-24 23:44:30 | [diff] [blame] | 738 | 'conditions': [ |
[email protected] | dbae95e | 2014-05-10 12:07:45 | [diff] [blame] | 739 | ['toolkit_views == 1', { |
| 740 | 'sources': [ |
[email protected] | a90c8ca | 2014-05-20 17:16:04 | [diff] [blame] | 741 | 'bookmarks/browser/bookmark_node_data_unittest.cc', |
oshima | 136691a | 2014-10-24 21:54:11 | [diff] [blame] | 742 | 'constrained_window/constrained_window_views_unittest.cc', |
[email protected] | dbae95e | 2014-05-10 12:07:45 | [diff] [blame] | 743 | ], |
oshima | 136691a | 2014-10-24 21:54:11 | [diff] [blame] | 744 | 'dependencies': [ |
| 745 | '<(DEPTH)/ui/views/views.gyp:views_test_support', |
| 746 | 'components.gyp:constrained_window', |
| 747 | ] |
[email protected] | dbae95e | 2014-05-10 12:07:45 | [diff] [blame] | 748 | }], |
siggi | c0d0a0e | 2014-11-17 23:29:19 | [diff] [blame] | 749 | ['OS=="win"', { |
| 750 | 'dependencies': [ |
tfarina | faf223ee | 2015-01-29 14:22:19 | [diff] [blame] | 751 | 'components.gyp:browser_watcher', |
| 752 | 'components.gyp:browser_watcher_client', |
siggi | c0d0a0e | 2014-11-17 23:29:19 | [diff] [blame] | 753 | ] |
| 754 | }], |
hans | eec0e16 | 2014-11-04 21:02:55 | [diff] [blame] | 755 | ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', { |
| 756 | 'dependencies': [ |
| 757 | '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
| 758 | ], |
| 759 | }], |
andrewhayden | 14d9135 | 2014-11-11 17:47:16 | [diff] [blame] | 760 | [ 'cld_version==0 or cld_version==2', { |
| 761 | 'dependencies': [ |
| 762 | # Unit tests should always use statically-linked CLD data. |
| 763 | '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ], |
| 764 | }], |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 765 | ['OS != "ios"', { |
[email protected] | 6a6e6a89 | 2014-03-03 12:30:52 | [diff] [blame] | 766 | 'sources': [ |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 767 | '<@(error_page_unittest_sources)', |
stuartmorgan | e52ebfff | 2015-03-05 17:31:30 | [diff] [blame] | 768 | '<@(navigation_interception_unittest_sources)', |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 769 | '<@(network_hints_unittest_sources)', |
| 770 | '<@(power_unittest_sources)', |
stuartmorgan | e52ebfff | 2015-03-05 17:31:30 | [diff] [blame] | 771 | '<@(storage_monitor_unittest_sources)', |
| 772 | '<@(ui_unittest_sources)', |
| 773 | '<@(visitedlink_unittest_sources)', |
| 774 | '<@(web_cache_unittest_sources)', |
| 775 | '<@(web_modal_unittest_sources)', |
[email protected] | 6a6e6a89 | 2014-03-03 12:30:52 | [diff] [blame] | 776 | ], |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 777 | 'dependencies': [ |
tfarina | faf223ee | 2015-01-29 14:22:19 | [diff] [blame] | 778 | '../skia/skia.gyp:skia', |
[email protected] | 048fc8f | 2014-03-21 11:23:03 | [diff] [blame] | 779 | 'components.gyp:autofill_content_browser', |
[email protected] | b62a4e0 | 2014-04-10 16:05:35 | [diff] [blame] | 780 | 'components.gyp:autofill_content_renderer', |
[email protected] | 048fc8f | 2014-03-21 11:23:03 | [diff] [blame] | 781 | 'components.gyp:autofill_content_test_support', |
jeremyim | 364ac118 | 2015-03-03 18:49:43 | [diff] [blame] | 782 | 'components.gyp:data_reduction_proxy_content_browser', |
[email protected] | 6a6e6a89 | 2014-03-03 12:30:52 | [diff] [blame] | 783 | 'components.gyp:dom_distiller_content', |
hashimoto | 9b160e2 | 2014-10-15 03:56:53 | [diff] [blame] | 784 | 'components.gyp:error_page_renderer', |
sdefresne | 71524662 | 2015-01-12 16:24:04 | [diff] [blame] | 785 | 'components.gyp:history_content_browser', |
[email protected] | fc217c0 | 2014-03-12 04:47:52 | [diff] [blame] | 786 | 'components.gyp:keyed_service_content', |
tfarina | faf223ee | 2015-01-29 14:22:19 | [diff] [blame] | 787 | 'components.gyp:navigation_interception', |
pmeenan | ed4b6f8 | 2015-01-30 21:59:59 | [diff] [blame] | 788 | 'components.gyp:network_hints_renderer', |
mkwst | 07f0d3d | 2014-09-29 12:39:48 | [diff] [blame] | 789 | 'components.gyp:password_manager_content_browser', |
| 790 | 'components.gyp:password_manager_content_common', |
[email protected] | 3e30590 | 2014-08-14 20:25:33 | [diff] [blame] | 791 | 'components.gyp:power', |
tfarina | faf223ee | 2015-01-29 14:22:19 | [diff] [blame] | 792 | 'components.gyp:precache_content', |
rohitrao | d16f44e | 2014-10-24 15:34:35 | [diff] [blame] | 793 | 'components.gyp:sessions_content', |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 794 | 'components.gyp:storage_monitor', |
| 795 | 'components.gyp:storage_monitor_test_support', |
[email protected] | 716c016 | 2013-12-13 20:36:53 | [diff] [blame] | 796 | 'components.gyp:url_matcher', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 797 | 'components.gyp:visitedlink_browser', |
| 798 | 'components.gyp:visitedlink_renderer', |
hanxi | 149b92d | 2014-09-11 21:57:18 | [diff] [blame] | 799 | 'components.gyp:web_cache_browser', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 800 | 'components.gyp:web_modal', |
| 801 | 'components.gyp:web_modal_test_support', |
| 802 | ], |
| 803 | }, { # 'OS == "ios"' |
droger | 7ebec07 | 2014-12-19 11:19:49 | [diff] [blame] | 804 | 'sources': [ |
jif | d8262e9 | 2015-03-04 09:33:08 | [diff] [blame] | 805 | 'open_from_clipboard/clipboard_recent_content_ios_unittest.mm', |
droger | 7ebec07 | 2014-12-19 11:19:49 | [diff] [blame] | 806 | 'webp_transcode/webp_decoder_unittest.mm', |
| 807 | ], |
stuartmorgan | e52ebfff | 2015-03-05 17:31:30 | [diff] [blame] | 808 | 'sources!': [ |
| 809 | 'metrics/gpu/gpu_metrics_provider_unittest.cc', |
| 810 | 'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc', |
stuartmorgan | e52ebfff | 2015-03-05 17:31:30 | [diff] [blame] | 811 | ], |
[email protected] | 01587e1 | 2013-10-03 18:24:54 | [diff] [blame] | 812 | 'sources/': [ |
sdefresne | 9cd1247 | 2015-03-02 15:56:49 | [diff] [blame] | 813 | # Exclude all tests that depends on //content (based on layered- |
| 814 | # component directory structure). |
| 815 | ['exclude', '^[^/]*/content/'], |
[email protected] | 01587e1 | 2013-10-03 18:24:54 | [diff] [blame] | 816 | ], |
[email protected] | b472aee0 | 2014-04-11 15:36:53 | [diff] [blame] | 817 | 'dependencies': [ |
[email protected] | b472aee0 | 2014-04-11 15:36:53 | [diff] [blame] | 818 | '../ios/ios_tests.gyp:test_support_ios', |
droger | bfba8a4 | 2014-12-16 21:58:13 | [diff] [blame] | 819 | '../ios/web/ios_web.gyp:test_support_ios_web', |
| 820 | '../third_party/ocmock/ocmock.gyp:ocmock', |
jif | d8262e9 | 2015-03-04 09:33:08 | [diff] [blame] | 821 | 'components.gyp:open_from_clipboard', |
tfarina | 71f5a07 | 2015-02-02 10:41:03 | [diff] [blame] | 822 | 'components.gyp:sessions_ios', |
| 823 | 'components.gyp:signin_ios_browser', |
| 824 | 'components.gyp:translate_ios_browser', |
| 825 | 'components.gyp:webp_transcode', |
[email protected] | b472aee0 | 2014-04-11 15:36:53 | [diff] [blame] | 826 | ], |
[email protected] | bcb9e87 | 2014-03-04 11:22:47 | [diff] [blame] | 827 | 'actions': [ |
| 828 | { |
| 829 | 'action_name': 'copy_test_data', |
| 830 | 'variables': { |
| 831 | 'test_data_files': [ |
| 832 | 'test/data', |
| 833 | ], |
| 834 | 'test_data_prefix': 'components', |
| 835 | }, |
| 836 | 'includes': [ '../build/copy_test_data_ios.gypi' ], |
| 837 | }, |
| 838 | ], |
[email protected] | f4f7af99 | 2014-01-22 21:48:03 | [diff] [blame] | 839 | 'conditions': [ |
| 840 | ['configuration_policy==1', { |
| 841 | 'sources/': [ |
| 842 | ['include', '^policy/'], |
| 843 | ], |
| 844 | }], |
| 845 | ], |
[email protected] | 01587e1 | 2013-10-03 18:24:54 | [diff] [blame] | 846 | }], |
[email protected] | ef42ee8c8 | 2013-11-01 05:26:13 | [diff] [blame] | 847 | ['disable_nacl==0', { |
| 848 | 'sources': [ |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 849 | '<@(nacl_unittest_sources)', |
[email protected] | ef42ee8c8 | 2013-11-01 05:26:13 | [diff] [blame] | 850 | ], |
| 851 | 'dependencies': [ |
| 852 | 'nacl.gyp:nacl_browser', |
[email protected] | 058fe53 | 2013-11-28 06:45:59 | [diff] [blame] | 853 | 'nacl.gyp:nacl_common', |
[email protected] | ef42ee8c8 | 2013-11-01 05:26:13 | [diff] [blame] | 854 | ], |
| 855 | }], |
[email protected] | ec623ca1 | 2013-12-07 03:54:28 | [diff] [blame] | 856 | ['OS == "mac"', { |
| 857 | 'link_settings': { |
| 858 | 'libraries': [ |
| 859 | '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework', |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 860 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 861 | '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framework', |
[email protected] | ec623ca1 | 2013-12-07 03:54:28 | [diff] [blame] | 862 | ], |
| 863 | }, |
[email protected] | aedc52c | 2014-02-17 14:26:00 | [diff] [blame] | 864 | 'sources!': [ |
| 865 | 'password_manager/core/browser/password_store_default_unittest.cc', |
| 866 | ], |
[email protected] | ec623ca1 | 2013-12-07 03:54:28 | [diff] [blame] | 867 | }], |
[email protected] | e41d008 | 2013-05-16 04:37:54 | [diff] [blame] | 868 | ['OS == "android"', { |
maxbogue | b8d6efc | 2014-09-29 17:45:19 | [diff] [blame] | 869 | 'sources': [ |
megjablon | f005db9 | 2015-02-17 19:09:35 | [diff] [blame] | 870 | 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc', |
megjablon | 5effca2e | 2015-02-13 23:54:07 | [diff] [blame] | 871 | 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc', |
| 872 | 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager_unittest.cc', |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 873 | 'invalidation/invalidation_logger_unittest.cc', |
maxbogue | b8d6efc | 2014-09-29 17:45:19 | [diff] [blame] | 874 | 'invalidation/invalidation_service_android_unittest.cc', |
| 875 | ], |
[email protected] | e41d008 | 2013-05-16 04:37:54 | [diff] [blame] | 876 | 'sources!': [ |
fgorski | c104731 | 2014-09-04 16:48:54 | [diff] [blame] | 877 | 'gcm_driver/gcm_account_mapper_unittest.cc', |
jianli | 1235e51c | 2014-09-08 18:56:41 | [diff] [blame] | 878 | 'gcm_driver/gcm_channel_status_request_unittest.cc', |
[email protected] | cd57f37 | 2014-06-09 17:13:06 | [diff] [blame] | 879 | 'gcm_driver/gcm_client_impl_unittest.cc', |
fgorski | 05d507c | 2014-09-10 17:28:10 | [diff] [blame] | 880 | 'gcm_driver/gcm_delayed_task_controller_unittest.cc', |
[email protected] | 21b7765 | 2014-05-31 01:21:09 | [diff] [blame] | 881 | 'gcm_driver/gcm_driver_desktop_unittest.cc', |
maxbogue | b8d6efc | 2014-09-29 17:45:19 | [diff] [blame] | 882 | 'gcm_driver/gcm_stats_recorder_impl_unittest.cc', |
stuartmorgan | 9c25834 | 2015-03-05 15:36:25 | [diff] [blame] | 883 | 'sessions/session_backend_unittest.cc', |
[email protected] | 7fa4af9 | 2014-03-31 11:41:20 | [diff] [blame] | 884 | 'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc', |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 885 | 'storage_monitor/media_storage_util_unittest.cc', |
| 886 | 'storage_monitor/storage_info_unittest.cc', |
| 887 | 'storage_monitor/storage_monitor_unittest.cc', |
[email protected] | e41d008 | 2013-05-16 04:37:54 | [diff] [blame] | 888 | 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
| 889 | ], |
[email protected] | b42e689c | 2014-05-29 21:03:41 | [diff] [blame] | 890 | 'dependencies': [ |
megjablon | 5effca2e | 2015-02-13 23:54:07 | [diff] [blame] | 891 | 'components.gyp:data_reduction_proxy_content', |
[email protected] | b42e689c | 2014-05-29 21:03:41 | [diff] [blame] | 892 | '../testing/android/native_test.gyp:native_test_native_code', |
| 893 | ], |
[email protected] | e41d008 | 2013-05-16 04:37:54 | [diff] [blame] | 894 | 'dependencies!': [ |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 895 | 'components.gyp:storage_monitor', |
| 896 | 'components.gyp:storage_monitor_test_support', |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 897 | 'components.gyp:web_modal', |
| 898 | 'components.gyp:web_modal_test_support', |
[email protected] | e41d008 | 2013-05-16 04:37:54 | [diff] [blame] | 899 | ], |
| 900 | }], |
[email protected] | 4482877 | 2014-06-06 02:56:52 | [diff] [blame] | 901 | ['OS != "android"', { |
| 902 | 'sources': [ |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 903 | '<@(invalidation_unittest_sources)', |
[email protected] | 4482877 | 2014-06-06 02:56:52 | [diff] [blame] | 904 | ], |
| 905 | }], |
[email protected] | ff0ed12 | 2014-08-06 23:44:23 | [diff] [blame] | 906 | ['OS != "ios" and OS != "android"', { |
| 907 | 'sources': [ |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 908 | '<@(audio_modem_unittest_sources)', |
| 909 | '<@(copresence_unittest_sources)', |
sdefresne | bbf563c | 2015-03-17 11:09:09 | [diff] [blame] | 910 | '<@(feedback_unittest_sources)', |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 911 | '<@(proximity_auth_unittest_sources)', |
[email protected] | ff0ed12 | 2014-08-06 23:44:23 | [diff] [blame] | 912 | ], |
| 913 | 'dependencies': [ |
isherman | 83d08a29 | 2014-09-26 03:32:44 | [diff] [blame] | 914 | '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', |
tengs | 408c741 | 2014-12-13 00:36:13 | [diff] [blame] | 915 | '../google_apis/google_apis.gyp:google_apis_test_support', |
tengs | 77b8ce7 | 2014-12-05 19:31:42 | [diff] [blame] | 916 | '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
ckehoe | a9408e14 | 2015-02-17 20:05:24 | [diff] [blame] | 917 | 'components.gyp:audio_modem', |
| 918 | 'components.gyp:audio_modem_test_support', |
tfarina | 562d5c5a | 2015-02-05 09:38:50 | [diff] [blame] | 919 | 'components.gyp:copresence', |
| 920 | 'components.gyp:copresence_test_support', |
| 921 | 'components.gyp:cryptauth', |
sdefresne | bbf563c | 2015-03-17 11:09:09 | [diff] [blame] | 922 | 'components.gyp:feedback_component', |
tfarina | 562d5c5a | 2015-02-05 09:38:50 | [diff] [blame] | 923 | 'components.gyp:proximity_auth', |
[email protected] | ff0ed12 | 2014-08-06 23:44:23 | [diff] [blame] | 924 | ], |
| 925 | }], |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 926 | ['chromeos==1', { |
[email protected] | 2628798 | 2014-08-09 06:05:14 | [diff] [blame] | 927 | 'sources': [ |
| 928 | 'pairing/message_buffer_unittest.cc', |
chirantan | 26436e40 | 2014-10-24 19:44:42 | [diff] [blame] | 929 | 'timers/alarm_timer_unittest.cc', |
quiche | 9d40dcf | 2015-01-17 00:35:22 | [diff] [blame] | 930 | 'wifi_sync/wifi_config_delegate_chromeos_unittest.cc', |
quiche | c96b5d5 | 2015-01-26 20:12:55 | [diff] [blame] | 931 | 'wifi_sync/wifi_credential_syncable_service_unittest.cc', |
quiche | 80674e3 | 2015-01-10 01:21:47 | [diff] [blame] | 932 | 'wifi_sync/wifi_credential_unittest.cc', |
quiche | 271c6cca | 2014-12-20 03:57:53 | [diff] [blame] | 933 | 'wifi_sync/wifi_security_class_chromeos_unittest.cc', |
quiche | 9606d27 | 2015-01-09 23:49:59 | [diff] [blame] | 934 | 'wifi_sync/wifi_security_class_unittest.cc', |
[email protected] | 2628798 | 2014-08-09 06:05:14 | [diff] [blame] | 935 | ], |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 936 | 'sources!': [ |
| 937 | 'storage_monitor/storage_monitor_linux_unittest.cc', |
| 938 | ], |
| 939 | 'dependencies': [ |
tfarina | 562d5c5a | 2015-02-05 09:38:50 | [diff] [blame] | 940 | '../chromeos/chromeos.gyp:chromeos_test_support', |
[email protected] | 2628798 | 2014-08-09 06:05:14 | [diff] [blame] | 941 | 'components.gyp:pairing', |
merkulova | 793f302 | 2015-02-04 10:18:30 | [diff] [blame] | 942 | 'components.gyp:user_manager_test_support', |
tfarina | 562d5c5a | 2015-02-05 09:38:50 | [diff] [blame] | 943 | 'components.gyp:wifi_sync', |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 944 | ], |
| 945 | }], |
| 946 | ['OS=="linux"', { |
[email protected] | 1ebdce33 | 2014-07-17 21:19:19 | [diff] [blame] | 947 | 'sources': [ |
| 948 | 'metrics/serialization/serialization_utils_unittest.cc', |
| 949 | ], |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 950 | 'dependencies': [ |
[email protected] | 1ebdce33 | 2014-07-17 21:19:19 | [diff] [blame] | 951 | 'components.gyp:metrics_serialization', |
[email protected] | e4c5f97b | 2014-02-17 18:57:17 | [diff] [blame] | 952 | '../dbus/dbus.gyp:dbus', |
| 953 | '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol', |
| 954 | ], |
| 955 | }], |
[email protected] | 47d4e8e | 2014-06-05 02:01:54 | [diff] [blame] | 956 | ['OS=="linux" and use_udev==0', { |
| 957 | 'dependencies!': [ |
[email protected] | 10d8d02 | 2014-06-05 19:37:01 | [diff] [blame] | 958 | 'components.gyp:storage_monitor', |
| 959 | 'components.gyp:storage_monitor_test_support', |
[email protected] | 47d4e8e | 2014-06-05 02:01:54 | [diff] [blame] | 960 | ], |
[email protected] | 10d8d02 | 2014-06-05 19:37:01 | [diff] [blame] | 961 | 'sources/': [ |
| 962 | ['exclude', '^storage_monitor/'], |
[email protected] | 47d4e8e | 2014-06-05 02:01:54 | [diff] [blame] | 963 | ], |
| 964 | }], |
[email protected] | c5c9e6dc | 2013-01-30 12:46:58 | [diff] [blame] | 965 | ['OS=="win" and win_use_allocator_shim==1', { |
| 966 | 'dependencies': [ |
| 967 | '../base/allocator/allocator.gyp:allocator', |
| 968 | ], |
| 969 | }], |
[email protected] | 2fa89ef | 2014-05-07 18:45:59 | [diff] [blame] | 970 | ['OS=="linux" and component=="shared_library" and use_allocator!="none"', { |
John Abd-El-Malek | 38a6fabc | 2015-01-21 15:17:27 | [diff] [blame] | 971 | 'dependencies': [ |
[email protected] | 19e9de23 | 2013-07-23 20:21:06 | [diff] [blame] | 972 | '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
John Abd-El-Malek | 38a6fabc | 2015-01-21 15:17:27 | [diff] [blame] | 973 | ], |
| 974 | 'link_settings': { |
[email protected] | 19e9de23 | 2013-07-23 20:21:06 | [diff] [blame] | 975 | 'ldflags': ['-rdynamic'], |
John Abd-El-Malek | 38a6fabc | 2015-01-21 15:17:27 | [diff] [blame] | 976 | }, |
[email protected] | 19e9de23 | 2013-07-23 20:21:06 | [diff] [blame] | 977 | }], |
[email protected] | 183be4e | 2013-08-14 14:41:10 | [diff] [blame] | 978 | ['configuration_policy==1', { |
[email protected] | f20a3a2 | 2013-12-03 16:12:37 | [diff] [blame] | 979 | 'dependencies': [ |
[email protected] | 991573e | 2013-12-16 13:49:20 | [diff] [blame] | 980 | 'components.gyp:policy_component', |
[email protected] | f20a3a2 | 2013-12-03 16:12:37 | [diff] [blame] | 981 | 'components.gyp:policy_component_test_support', |
[email protected] | 991573e | 2013-12-16 13:49:20 | [diff] [blame] | 982 | 'components.gyp:policy_test_support', |
[email protected] | f20a3a2 | 2013-12-03 16:12:37 | [diff] [blame] | 983 | ], |
[email protected] | 183be4e | 2013-08-14 14:41:10 | [diff] [blame] | 984 | 'sources': [ |
stuartmorgan | ccec5f9 | 2015-03-05 19:08:49 | [diff] [blame] | 985 | '<@(policy_unittest_sources)', |
[email protected] | 63f02188 | 2014-07-11 03:14:16 | [diff] [blame] | 986 | 'search_engines/default_search_policy_handler_unittest.cc', |
[email protected] | 183be4e | 2013-08-14 14:41:10 | [diff] [blame] | 987 | ], |
[email protected] | bab765e | 2013-12-04 04:46:59 | [diff] [blame] | 988 | 'conditions': [ |
[email protected] | bc6e5d2 | 2014-03-05 18:36:06 | [diff] [blame] | 989 | ['OS=="android"', { |
| 990 | 'sources/': [ |
| 991 | ['exclude', '^policy/core/common/async_policy_provider_unittest\\.cc'], |
| 992 | ], |
| 993 | }], |
[email protected] | 278c74bc | 2014-01-17 14:55:40 | [diff] [blame] | 994 | ['OS=="android" or OS=="ios"', { |
[email protected] | f4f7af99 | 2014-01-22 21:48:03 | [diff] [blame] | 995 | # Note: 'sources!' is processed before any 'sources/', so the |
| 996 | # ['include', '^policy/'] on iOS above will include all of the |
| 997 | # policy source files again. Using 'source/' here too will get |
| 998 | # these files excluded as expected. |
| 999 | 'sources/': [ |
[email protected] | f4f7af99 | 2014-01-22 21:48:03 | [diff] [blame] | 1000 | ['exclude', '^policy/core/common/cloud/component_cloud_policy_service_unittest\\.cc'], |
| 1001 | ['exclude', '^policy/core/common/cloud/component_cloud_policy_store_unittest\\.cc'], |
| 1002 | ['exclude', '^policy/core/common/cloud/component_cloud_policy_updater_unittest\\.cc'], |
| 1003 | ['exclude', '^policy/core/common/cloud/external_policy_data_fetcher_unittest\\.cc'], |
| 1004 | ['exclude', '^policy/core/common/cloud/external_policy_data_updater_unittest\\.cc'], |
| 1005 | ['exclude', '^policy/core/common/cloud/resource_cache_unittest\\.cc'], |
| 1006 | ['exclude', '^policy/core/common/config_dir_policy_loader_unittest\\.cc'], |
[email protected] | bab765e | 2013-12-04 04:46:59 | [diff] [blame] | 1007 | ], |
| 1008 | }], |
[email protected] | d769050f | 2013-12-12 17:48:01 | [diff] [blame] | 1009 | ['chromeos==1', { |
[email protected] | b3e62122 | 2014-01-21 21:31:47 | [diff] [blame] | 1010 | 'sources': [ |
| 1011 | 'policy/core/common/proxy_policy_provider_unittest.cc', |
| 1012 | ], |
[email protected] | d769050f | 2013-12-12 17:48:01 | [diff] [blame] | 1013 | 'sources!': [ |
| 1014 | 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc', |
| 1015 | 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc', |
| 1016 | ], |
| 1017 | }], |
[email protected] | 3ad0981 | 2014-03-05 07:05:57 | [diff] [blame] | 1018 | ['OS=="ios" or OS=="mac"', { |
| 1019 | 'sources': [ |
| 1020 | 'policy/core/common/mac_util_unittest.cc', |
| 1021 | ], |
| 1022 | }], |
[email protected] | bab765e | 2013-12-04 04:46:59 | [diff] [blame] | 1023 | ], |
[email protected] | 183be4e | 2013-08-14 14:41:10 | [diff] [blame] | 1024 | }], |
[email protected] | c03ef21 | 2013-01-24 23:44:30 | [diff] [blame] | 1025 | ], |
[email protected] | aa6eacc | 2013-02-09 21:18:42 | [diff] [blame] | 1026 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1027 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | b1babd9 | 2013-04-05 18:29:42 | [diff] [blame] | 1028 | }, |
[email protected] | 01587e1 | 2013-10-03 18:24:54 | [diff] [blame] | 1029 | ], |
| 1030 | }], |
| 1031 | ['OS != "ios" and android_webview_build == 0', { |
| 1032 | 'targets': [ |
[email protected] | b1babd9 | 2013-04-05 18:29:42 | [diff] [blame] | 1033 | { |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 1034 | # GN: //components:components_perftests |
[email protected] | b1babd9 | 2013-04-05 18:29:42 | [diff] [blame] | 1035 | 'target_name': 'components_perftests', |
| 1036 | 'type': '<(gtest_target_type)', |
| 1037 | 'dependencies': [ |
| 1038 | '../base/base.gyp:base', |
| 1039 | '../base/base.gyp:test_support_perf', |
[email protected] | ba42b1e | 2013-10-19 22:13:17 | [diff] [blame] | 1040 | '../content/content_shell_and_tests.gyp:test_support_content', |
[email protected] | b1babd9 | 2013-04-05 18:29:42 | [diff] [blame] | 1041 | '../testing/gtest.gyp:gtest', |
[email protected] | 7fa0f51 | 2013-10-22 14:19:36 | [diff] [blame] | 1042 | 'components.gyp:visitedlink_browser', |
[email protected] | b1babd9 | 2013-04-05 18:29:42 | [diff] [blame] | 1043 | ], |
| 1044 | 'include_dirs': [ |
| 1045 | '..', |
| 1046 | ], |
| 1047 | 'sources': [ |
| 1048 | 'visitedlink/test/visitedlink_perftest.cc', |
| 1049 | ], |
| 1050 | 'conditions': [ |
[email protected] | 87a8085 | 2014-05-17 16:09:58 | [diff] [blame] | 1051 | ['OS == "android"', { |
[email protected] | b1babd9 | 2013-04-05 18:29:42 | [diff] [blame] | 1052 | 'dependencies': [ |
| 1053 | '../testing/android/native_test.gyp:native_test_native_code', |
| 1054 | ], |
| 1055 | }], |
hans | eec0e16 | 2014-11-04 21:02:55 | [diff] [blame] | 1056 | ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', { |
| 1057 | 'dependencies': [ |
| 1058 | '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
| 1059 | ], |
| 1060 | }], |
[email protected] | b1babd9 | 2013-04-05 18:29:42 | [diff] [blame] | 1061 | ], |
| 1062 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1063 | 'msvs_disabled_warnings': [ 4267, ], |
| 1064 | }, |
[email protected] | 64f5650c | 2013-01-11 05:35:09 | [diff] [blame] | 1065 | ], |
[email protected] | c03ef21 | 2013-01-24 23:44:30 | [diff] [blame] | 1066 | 'conditions': [ |
[email protected] | 87a8085 | 2014-05-17 16:09:58 | [diff] [blame] | 1067 | ['OS == "android"', { |
[email protected] | c03ef21 | 2013-01-24 23:44:30 | [diff] [blame] | 1068 | 'targets': [ |
| 1069 | { |
| 1070 | 'target_name': 'components_unittests_apk', |
| 1071 | 'type': 'none', |
| 1072 | 'dependencies': [ |
| 1073 | 'components_unittests', |
maxbogue | b8d6efc | 2014-09-29 17:45:19 | [diff] [blame] | 1074 | 'components.gyp:invalidation_java', |
[email protected] | c03ef21 | 2013-01-24 23:44:30 | [diff] [blame] | 1075 | ], |
| 1076 | 'variables': { |
| 1077 | 'test_suite_name': 'components_unittests', |
[email protected] | c03ef21 | 2013-01-24 23:44:30 | [diff] [blame] | 1078 | }, |
| 1079 | 'includes': [ '../build/apk_test.gypi' ], |
| 1080 | }, |
| 1081 | ], |
| 1082 | }], |
| 1083 | ], |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 1084 | }], |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1085 | ['OS!="ios"', { |
nyquist | 0c86f53 | 2015-01-26 23:12:24 | [diff] [blame] | 1086 | 'conditions': [ |
| 1087 | ['test_isolation_mode != "noop"', { |
| 1088 | 'targets': [ |
| 1089 | { |
| 1090 | 'target_name': 'components_browsertests_run', |
| 1091 | 'type': 'none', |
| 1092 | 'dependencies': [ 'components_browsertests' ], |
| 1093 | 'includes': [ |
| 1094 | '../build/isolate.gypi', |
| 1095 | ], |
| 1096 | 'sources': [ |
| 1097 | 'components_browsertests.isolate', |
| 1098 | ], |
| 1099 | 'conditions': [ |
| 1100 | ['use_x11==1', { |
| 1101 | 'dependencies': [ |
| 1102 | '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 1103 | ], |
| 1104 | }], |
| 1105 | ], |
| 1106 | }, |
| 1107 | ], |
| 1108 | }], |
| 1109 | ], |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1110 | 'targets': [ |
| 1111 | { |
| 1112 | 'target_name': 'components_browsertests', |
| 1113 | 'type': '<(gtest_target_type)', |
| 1114 | 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 1115 | 'dependencies': [ |
[email protected] | db2610a | 2014-03-21 01:13:01 | [diff] [blame] | 1116 | '../content/content.gyp:content_common', |
| 1117 | '../content/content.gyp:content_gpu', |
| 1118 | '../content/content.gyp:content_plugin', |
| 1119 | '../content/content.gyp:content_renderer', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1120 | '../content/content_shell_and_tests.gyp:content_browser_test_support', |
[email protected] | db2610a | 2014-03-21 01:13:01 | [diff] [blame] | 1121 | '../content/content_shell_and_tests.gyp:content_shell_lib', |
| 1122 | '../content/content_shell_and_tests.gyp:content_shell_pak', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1123 | '../content/content_shell_and_tests.gyp:test_support_content', |
| 1124 | '../skia/skia.gyp:skia', |
[email protected] | 706833b | 2014-04-03 04:27:07 | [diff] [blame] | 1125 | '../testing/gmock.gyp:gmock', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1126 | '../testing/gtest.gyp:gtest', |
tfarina | 562d5c5a | 2015-02-05 09:38:50 | [diff] [blame] | 1127 | 'components.gyp:autofill_content_browser', |
| 1128 | 'components.gyp:autofill_content_renderer', |
kuan | 3695ffe | 2014-09-25 16:23:07 | [diff] [blame] | 1129 | 'components.gyp:dom_distiller_content', |
| 1130 | 'components.gyp:dom_distiller_core', |
tfarina | 562d5c5a | 2015-02-05 09:38:50 | [diff] [blame] | 1131 | 'components.gyp:password_manager_content_renderer', |
| 1132 | 'components.gyp:pref_registry_test_support', |
| 1133 | 'components_resources.gyp:components_resources', |
kuan | 3695ffe | 2014-09-25 16:23:07 | [diff] [blame] | 1134 | 'components_strings.gyp:components_strings', |
tfarina | 4bb3f478 | 2015-02-09 20:59:57 | [diff] [blame] | 1135 | 'components_tests_pak', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1136 | ], |
| 1137 | 'include_dirs': [ |
| 1138 | '..', |
| 1139 | ], |
| 1140 | 'defines': [ |
| 1141 | 'HAS_OUT_OF_PROC_TEST_RUNNER', |
| 1142 | ], |
| 1143 | 'sources': [ |
[email protected] | 706833b | 2014-04-03 04:27:07 | [diff] [blame] | 1144 | 'autofill/content/browser/risk/fingerprint_browsertest.cc', |
vivek.vg | 71e305e | 2014-12-22 14:34:23 | [diff] [blame] | 1145 | 'autofill/content/renderer/password_form_conversion_utils_browsertest.cc', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1146 | 'dom_distiller/content/distiller_page_web_contents_browsertest.cc', |
mkwst | 4ea2bcac | 2014-09-02 15:34:00 | [diff] [blame] | 1147 | 'password_manager/content/renderer/credential_manager_client_browsertest.cc', |
[email protected] | db2610a | 2014-03-21 01:13:01 | [diff] [blame] | 1148 | ], |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1149 | 'conditions': [ |
[email protected] | 706833b | 2014-04-03 04:27:07 | [diff] [blame] | 1150 | ['OS == "android"', { |
| 1151 | 'sources!': [ |
| 1152 | 'autofill/content/browser/risk/fingerprint_browsertest.cc', |
| 1153 | ], |
| 1154 | }], |
[email protected] | 9f51bb6 | 2014-04-09 04:22:48 | [diff] [blame] | 1155 | ['OS == "linux"', { |
| 1156 | 'sources': [ |
qi1988.yang | 9542ef2 | 2015-02-12 02:22:15 | [diff] [blame] | 1157 | # content_extractor_browsertest is a standalone content extraction tool built as |
[email protected] | 9f51bb6 | 2014-04-09 04:22:48 | [diff] [blame] | 1158 | # a MANUAL component_browsertest. |
qi1988.yang | 9542ef2 | 2015-02-12 02:22:15 | [diff] [blame] | 1159 | 'dom_distiller/standalone/content_extractor_browsertest.cc', |
[email protected] | 9f51bb6 | 2014-04-09 04:22:48 | [diff] [blame] | 1160 | ], |
| 1161 | }], |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1162 | ['OS=="win"', { |
| 1163 | 'resource_include_dirs': [ |
[email protected] | a9ca8d5 | 2014-08-22 10:21:08 | [diff] [blame] | 1164 | '<(SHARED_INTERMEDIATE_DIR)/content/app/resources', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1165 | ], |
| 1166 | 'sources': [ |
| 1167 | '../content/shell/app/resource.h', |
| 1168 | '../content/shell/app/shell.rc', |
| 1169 | # TODO: It would be nice to have these pulled in |
| 1170 | # automatically from direct_dependent_settings in |
| 1171 | # their various targets (net.gyp:net_resources, etc.), |
| 1172 | # but that causes errors in other targets when |
| 1173 | # resulting .res files get referenced multiple times. |
[email protected] | 1400d1d | 2014-07-25 07:49:59 | [diff] [blame] | 1174 | '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.rc', |
[email protected] | 6586a2e3 | 2014-08-09 19:24:12 | [diff] [blame] | 1175 | '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.rc', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1176 | '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1177 | ], |
| 1178 | 'dependencies': [ |
[email protected] | a9ca8d5 | 2014-08-22 10:21:08 | [diff] [blame] | 1179 | '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources', |
[email protected] | 6586a2e3 | 2014-08-09 19:24:12 | [diff] [blame] | 1180 | '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1181 | '<(DEPTH)/net/net.gyp:net_resources', |
[email protected] | 1400d1d | 2014-07-25 07:49:59 | [diff] [blame] | 1182 | '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1183 | '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2', |
| 1184 | '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom', |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1185 | ], |
| 1186 | 'configurations': { |
| 1187 | 'Debug_Base': { |
| 1188 | 'msvs_settings': { |
| 1189 | 'VCLinkerTool': { |
| 1190 | 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| 1191 | }, |
| 1192 | }, |
| 1193 | }, |
| 1194 | }, |
| 1195 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1196 | 'msvs_disabled_warnings': [ 4267, ], |
| 1197 | }], |
| 1198 | ['OS=="win" and win_use_allocator_shim==1', { |
| 1199 | 'dependencies': [ |
| 1200 | '../base/allocator/allocator.gyp:allocator', |
| 1201 | ], |
| 1202 | }], |
nyquist | 0c86f53 | 2015-01-26 23:12:24 | [diff] [blame] | 1203 | ['OS=="mac"', { |
| 1204 | 'dependencies': [ |
pmeenan | ed4b6f8 | 2015-01-30 21:59:59 | [diff] [blame] | 1205 | '../content/content_shell_and_tests.gyp:content_shell', # Needed for Content Shell.app's Helper. |
nyquist | 0c86f53 | 2015-01-26 23:12:24 | [diff] [blame] | 1206 | ], |
| 1207 | }], |
dgn | 97dd246 | 2015-02-05 19:31:16 | [diff] [blame] | 1208 | ['enable_basic_printing==1 or enable_print_preview==1', { |
| 1209 | 'dependencies': [ |
| 1210 | 'components.gyp:printing_test_support', |
| 1211 | ], |
| 1212 | 'sources' : [ |
| 1213 | 'printing/test/print_web_view_helper_browsertest.cc', |
| 1214 | ], |
| 1215 | }] |
[email protected] | c0f759b | 2013-11-13 22:05:30 | [diff] [blame] | 1216 | ], |
| 1217 | }, |
| 1218 | ], |
| 1219 | }], |
John Abd-El-Malek | 38a6fabc | 2015-01-21 15:17:27 | [diff] [blame] | 1220 | ['test_isolation_mode != "noop"', { |
| 1221 | 'targets': [ |
| 1222 | { |
| 1223 | 'target_name': 'components_unittests_run', |
| 1224 | 'type': 'none', |
| 1225 | 'dependencies': [ |
| 1226 | 'components_unittests', |
| 1227 | ], |
| 1228 | 'includes': [ |
| 1229 | '../build/isolate.gypi', |
| 1230 | ], |
| 1231 | 'sources': [ |
| 1232 | 'components_unittests.isolate', |
| 1233 | ], |
estade | 7748e1c6 | 2015-03-10 20:48:26 | [diff] [blame] | 1234 | 'conditions': [ |
| 1235 | ['use_x11==1', { |
| 1236 | 'dependencies': [ |
| 1237 | '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 1238 | ], |
| 1239 | }], |
| 1240 | ], |
John Abd-El-Malek | 38a6fabc | 2015-01-21 15:17:27 | [diff] [blame] | 1241 | }, |
| 1242 | ], |
| 1243 | }], |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 1244 | ], |
[email protected] | 64f5650c | 2013-01-11 05:35:09 | [diff] [blame] | 1245 | } |