Update V8 to version 4.7.19.
[chromium-blink-merge.git] / components / components_tests.gyp
blob9eba450df20dc52a0e3c499bb2eec5b5f2064691
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.
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,
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 components_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/real_pan_wallet_client_unittest.cc',
23       'autofill/content/browser/wallet/wallet_address_unittest.cc',
24       'autofill/content/browser/wallet/wallet_service_url_unittest.cc',
25       'autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc',
26       'autofill/core/browser/address_field_unittest.cc',
27       'autofill/core/browser/address_i18n_unittest.cc',
28       'autofill/core/browser/address_unittest.cc',
29       'autofill/core/browser/autocomplete_history_manager_unittest.cc',
30       'autofill/core/browser/autofill_country_unittest.cc',
31       'autofill/core/browser/autofill_data_model_unittest.cc',
32       'autofill/core/browser/autofill_download_manager_unittest.cc',
33       'autofill/core/browser/autofill_external_delegate_unittest.cc',
34       'autofill/core/browser/autofill_field_unittest.cc',
35       'autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc',
36       'autofill/core/browser/autofill_manager_unittest.cc',
37       'autofill/core/browser/autofill_merge_unittest.cc',
38       'autofill/core/browser/autofill_metrics_unittest.cc',
39       'autofill/core/browser/autofill_profile_unittest.cc',
40       'autofill/core/browser/autofill_type_unittest.cc',
41       'autofill/core/browser/autofill_xml_parser_unittest.cc',
42       'autofill/core/browser/contact_info_unittest.cc',
43       'autofill/core/browser/credit_card_field_unittest.cc',
44       'autofill/core/browser/credit_card_unittest.cc',
45       'autofill/core/browser/form_field_unittest.cc',
46       'autofill/core/browser/form_structure_unittest.cc',
47       'autofill/core/browser/name_field_unittest.cc',
48       'autofill/core/browser/options_util_unittest.cc',
49       'autofill/core/browser/password_generator_unittest.cc',
50       'autofill/core/browser/personal_data_manager_unittest.cc',
51       'autofill/core/browser/phone_field_unittest.cc',
52       'autofill/core/browser/phone_number_i18n_unittest.cc',
53       'autofill/core/browser/phone_number_unittest.cc',
54       'autofill/core/browser/ui/card_unmask_prompt_controller_impl_unittest.cc',
55       'autofill/core/browser/validation_unittest.cc',
56       'autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc',
57       'autofill/core/browser/webdata/autofill_table_unittest.cc',
58       'autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service_unittest.cc',
59       'autofill/core/browser/webdata/web_data_service_unittest.cc',
60       'autofill/core/common/autofill_regexes_unittest.cc',
61       'autofill/core/common/autofill_util_unittest.cc',
62       'autofill/core/common/form_data_unittest.cc',
63       'autofill/core/common/form_field_data_unittest.cc',
64       'autofill/core/common/password_form_fill_data_unittest.cc',
65       'autofill/core/common/save_password_progress_logger_unittest.cc',
66     ],
67     'bookmarks_unittest_sources': [
68       'bookmarks/browser/bookmark_codec_unittest.cc',
69       'bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc',
70       'bookmarks/browser/bookmark_index_unittest.cc',
71       'bookmarks/browser/bookmark_model_unittest.cc',
72       'bookmarks/browser/bookmark_utils_unittest.cc',
73       'bookmarks/managed/managed_bookmarks_tracker_unittest.cc',
74     ],
75     'browser_watcher_unittest_sources': [
76       'browser_watcher/crash_reporting_metrics_win_unittest.cc',
77       'browser_watcher/endsession_watcher_window_win_unittest.cc',
78       'browser_watcher/exit_code_watcher_win_unittest.cc',
79       'browser_watcher/exit_funnel_win_unittest.cc',
80       'browser_watcher/watcher_client_win_unittest.cc',
81       'browser_watcher/watcher_metrics_provider_win_unittest.cc',
82       'browser_watcher/window_hang_monitor_win_unittest.cc',
83     ],
84     'bubble_unittest_sources': [
85       'bubble/bubble_manager_unittest.cc',
86     ],
87     'captive_portal_unittest_sources': [
88       'captive_portal/captive_portal_detector_unittest.cc',
89     ],
90     'cloud_devices_unittest_sources': [
91       'cloud_devices/common/cloud_devices_urls_unittest.cc',
92       'cloud_devices/common/printer_description_unittest.cc',
93     ],
94     'component_updater_unittest_sources': [
95       'component_updater/component_updater_service_unittest.cc',
96       'component_updater/timer_unittest.cc',
97     ],
98     'compression_unittest_sources': [
99       'compression/compression_utils_unittest.cc',
100     ],
101     'content_settings_unittest_sources': [
102       'content_settings/core/browser/content_settings_mock_provider.cc',
103       'content_settings/core/browser/content_settings_mock_provider.h',
104       'content_settings/core/browser/content_settings_provider_unittest.cc',
105       'content_settings/core/browser/content_settings_rule_unittest.cc',
106       'content_settings/core/browser/content_settings_utils_unittest.cc',
107       'content_settings/core/browser/cookie_settings_unittest.cc',
108       'content_settings/core/browser/plugins_field_trial_unittest.cc',
109       'content_settings/core/browser/website_settings_registry_unittest.cc',
110       'content_settings/core/common/content_settings_pattern_parser_unittest.cc',
111       'content_settings/core/common/content_settings_pattern_unittest.cc',
112     ],
113     'crash_unittest_sources': [
114       'crash/app/crash_keys_win_unittest.cc',
115     ],
116     'crx_file_unittest_sources': [
117       'crx_file/id_util_unittest.cc',
118     ],
119     'data_reduction_proxy_unittest_sources': [
120       'data_reduction_proxy/content/browser/data_reduction_proxy_message_filter_unittest.cc',
121       'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc',
122       'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc',
123       'data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc',
124       'data_reduction_proxy/core/browser/data_reduction_proxy_config_retrieval_params_unittest.cc',
125       'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc',
126       'data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc',
127       'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc',
128       'data_reduction_proxy/core/browser/data_reduction_proxy_experiments_stats_unittest.cc',
129       'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc',
130       'data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc',
131       'data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc',
132       'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc',
133       'data_reduction_proxy/core/browser/data_reduction_proxy_prefs_unittest.cc',
134       'data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc',
135       'data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc',
136       'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection_unittest.cc',
137       'data_reduction_proxy/core/browser/data_usage_store_unittest.cc',
138       'data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser_unittest.cc',
139       'data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc',
140       'data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc',
141       'data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc',
142     ],
143     'device_event_log_unittest_sources': [
144       'device_event_log/device_event_log_impl_unittest.cc',
145     ],
146     'devtools_http_handler_unittest_sources': [
147       'devtools_http_handler/devtools_http_handler_unittest.cc',
148     ],
149     'dom_distiller_unittest_sources': [
150       'dom_distiller/content/browser/dom_distiller_viewer_source_unittest.cc',
151       'dom_distiller/content/browser/web_contents_main_frame_observer_unittest.cc',
152       'dom_distiller/core/article_entry_unittest.cc',
153       'dom_distiller/core/distillable_page_detector_unittest.cc',
154       'dom_distiller/core/distilled_content_store_unittest.cc',
155       'dom_distiller/core/distilled_page_prefs_unittests.cc',
156       'dom_distiller/core/distiller_unittest.cc',
157       'dom_distiller/core/distiller_url_fetcher_unittest.cc',
158       'dom_distiller/core/dom_distiller_model_unittest.cc',
159       'dom_distiller/core/dom_distiller_request_view_base_unittest.cc',
160       'dom_distiller/core/dom_distiller_service_unittest.cc',
161       'dom_distiller/core/dom_distiller_store_unittest.cc',
162       'dom_distiller/core/page_features_unittest.cc',
163       'dom_distiller/core/task_tracker_unittest.cc',
164       'dom_distiller/core/url_utils_unittest.cc',
165       'dom_distiller/core/viewer_unittest.cc',
166     ],
167     'domain_reliability_unittest_sources': [
168       'domain_reliability/config_unittest.cc',
169       'domain_reliability/context_unittest.cc',
170       'domain_reliability/dispatcher_unittest.cc',
171       'domain_reliability/monitor_unittest.cc',
172       'domain_reliability/scheduler_unittest.cc',
173       'domain_reliability/test_util.cc',
174       'domain_reliability/test_util.h',
175       'domain_reliability/uploader_unittest.cc',
176       'domain_reliability/util_unittest.cc',
177     ],
178     'favicon_base_unittest_sources': [
179       'favicon_base/fallback_icon_url_parser_unittest.cc',
180       'favicon_base/favicon_url_parser_unittest.cc',
181       'favicon_base/large_icon_url_parser_unittest.cc',
182       'favicon_base/select_favicon_frames_unittest.cc',
183     ],
184     'favicon_unittest_sources': [
185       'favicon/content/content_favicon_driver_unittest.cc',
186       'favicon/core/favicon_handler_unittest.cc',
187       'favicon/core/large_icon_service_unittest.cc',
188     ],
189     'undo_unittest_sources': [
190       'undo/bookmark_undo_service_test.cc',
191       'undo/undo_manager_test.cc',
192     ],
194     'audio_modem_unittest_sources': [
195       'audio_modem/audio_player_unittest.cc',
196       'audio_modem/audio_recorder_unittest.cc',
197       'audio_modem/modem_unittest.cc',
198     ],
199     'copresence_unittest_sources': [
200       'copresence/copresence_state_unittest.cc',
201       'copresence/handlers/audio/audio_directive_handler_unittest.cc',
202       'copresence/handlers/audio/audio_directive_list_unittest.cc',
203       'copresence/handlers/directive_handler_unittest.cc',
204       'copresence/handlers/gcm_handler_unittest.cc',
205       'copresence/rpc/http_post_unittest.cc',
206       'copresence/rpc/rpc_handler_unittest.cc',
207       'copresence/timed_map_unittest.cc',
208     ],
209     'cronet_unittest_sources': [
210       'cronet/histogram_manager_unittest.cc',
211     ],
212     'enhanced_bookmarks_unittest_sources': [
213       'enhanced_bookmarks/enhanced_bookmark_model_unittest.cc',
214       'enhanced_bookmarks/image_store_ios_unittest.mm',
215       'enhanced_bookmarks/image_store_unittest.cc',
216       'enhanced_bookmarks/item_position_unittest.cc',
217     ],
218     'error_page_unittest_sources': [
219       'error_page/renderer/net_error_helper_core_unittest.cc',
220     ],
221     'feedback_unittest_sources': [
222       'feedback/feedback_common_unittest.cc',
223       'feedback/feedback_data_unittest.cc',
224       'feedback/feedback_uploader_chrome_unittest.cc',
225       'feedback/feedback_uploader_unittest.cc',
226     ],
227     'gcm_driver_unittest_sources': [
228       'gcm_driver/gcm_account_tracker_unittest.cc',
229       'gcm_driver/gcm_account_mapper_unittest.cc',
230       'gcm_driver/gcm_channel_status_request_unittest.cc',
231       'gcm_driver/gcm_client_impl_unittest.cc',
232       'gcm_driver/gcm_delayed_task_controller_unittest.cc',
233       'gcm_driver/gcm_driver_desktop_unittest.cc',
234       'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
235     ],
236     'gcm_driver_crypto_unittest_sources': [
237       'gcm_driver/crypto/gcm_key_store_unittest.cc',
238       'gcm_driver/crypto/gcm_message_cryptographer_unittest.cc',
239     ],
240     'google_unittest_sources': [
241       'google/core/browser/google_url_tracker_unittest.cc',
242       'google/core/browser/google_util_unittest.cc',
243     ],
244     'guest_view_unittest_sources': [
245       'guest_view/browser/guest_view_manager_unittest.cc'
246     ],
247     'history_unittest_sources': [
248       'history/content/browser/content_history_backend_db_unittest.cc',
249       'history/core/browser/android/android_history_types_unittest.cc',
250       'history/core/browser/expire_history_backend_unittest.cc',
251       'history/core/browser/history_backend_db_unittest.cc',
252       'history/core/browser/history_backend_unittest.cc',
253       'history/core/browser/history_database_unittest.cc',
254       'history/core/browser/history_querying_unittest.cc',
255       'history/core/browser/history_service_unittest.cc',
256       'history/core/browser/history_types_unittest.cc',
257       'history/core/browser/thumbnail_database_unittest.cc',
258       'history/core/browser/top_sites_cache_unittest.cc',
259       'history/core/browser/top_sites_database_unittest.cc',
260       'history/core/browser/top_sites_impl_unittest.cc',
261       'history/core/browser/typed_url_syncable_service_unittest.cc',
262       'history/core/browser/url_database_unittest.cc',
263       'history/core/browser/url_utils_unittest.cc',
264       'history/core/browser/visit_database_unittest.cc',
265       'history/core/browser/visit_filter_unittest.cc',
266       'history/core/browser/visit_tracker_unittest.cc',
267       'history/core/common/thumbnail_score_unittest.cc',
268     ],
269     'instance_id_unittest_sources': [
270       'gcm_driver/instance_id/instance_id_driver_unittest.cc',
271     ],
272     'invalidation_unittest_sources': [
273       'invalidation/impl/fake_invalidator_unittest.cc',
274       'invalidation/impl/gcm_network_channel_unittest.cc',
275       'invalidation/impl/invalidation_logger_unittest.cc',
276       'invalidation/impl/invalidation_notifier_unittest.cc',
277       'invalidation/impl/invalidator_registrar_unittest.cc',
278       'invalidation/impl/non_blocking_invalidator_unittest.cc',
279       'invalidation/impl/object_id_invalidation_map_unittest.cc',
280       'invalidation/impl/p2p_invalidator_unittest.cc',
281       'invalidation/impl/push_client_channel_unittest.cc',
282       'invalidation/impl/registration_manager_unittest.cc',
283       'invalidation/impl/single_object_invalidation_set_unittest.cc',
284       'invalidation/impl/sync_invalidation_listener_unittest.cc',
285       'invalidation/impl/sync_system_resources_unittest.cc',
286       'invalidation/impl/ticl_invalidation_service_unittest.cc',
287       'invalidation/impl/unacked_invalidation_set_unittest.cc',
288     ],
289     'json_schema_unittest_sources': [
290       'json_schema/json_schema_validator_unittest.cc',
291       'json_schema/json_schema_validator_unittest_base.cc',
292       'json_schema/json_schema_validator_unittest_base.h',
293     ],
294     'keyed_service_unittest_sources': [
295       'keyed_service/content/browser_context_dependency_manager_unittest.cc',
296       'keyed_service/core/dependency_graph_unittest.cc',
297     ],
298     'language_usage_metrics_unittest_sources': [
299       'language_usage_metrics/language_usage_metrics_unittest.cc',
300     ],
301     'leveldb_proto_unittest_sources': [
302       'leveldb_proto/proto_database_impl_unittest.cc',
303     ],
304     'login_unittest_sources': [
305       'login/screens/screen_context_unittest.cc',
306     ],
307     'memory_pressure_unittest_sources': [
308       'memory_pressure/direct_memory_pressure_calculator_win_unittest.cc',
309       'memory_pressure/filtered_memory_pressure_calculator_unittest.cc',
310       'memory_pressure/test_memory_pressure_calculator.cc',
311       'memory_pressure/test_memory_pressure_calculator.h',
312     ],
313     'metrics_unittest_sources': [
314       'metrics/call_stack_profile_metrics_provider_unittest.cc',
315       'metrics/daily_event_unittest.cc',
316       'metrics/drive_metrics_provider_unittest.cc',
317       'metrics/gpu/gpu_metrics_provider_unittest.cc',
318       'metrics/histogram_encoder_unittest.cc',
319       'metrics/machine_id_provider_win_unittest.cc',
320       'metrics/metrics_hashes_unittest.cc',
321       'metrics/metrics_log_manager_unittest.cc',
322       'metrics/metrics_log_unittest.cc',
323       'metrics/metrics_reporting_scheduler_unittest.cc',
324       'metrics/metrics_service_unittest.cc',
325       'metrics/metrics_state_manager_unittest.cc',
326       'metrics/net/net_metrics_log_uploader_unittest.cc',
327       'metrics/persisted_logs_unittest.cc',
328       'metrics/profiler/profiler_metrics_provider_unittest.cc',
329       'metrics/profiler/tracking_synchronizer_unittest.cc',
330     ],
331     'mime_util_unittest_sources': [
332       'mime_util/mime_util_unittest.cc',
333     ],
334     'nacl_unittest_sources': [
335       'nacl/browser/nacl_file_host_unittest.cc',
336       'nacl/browser/nacl_process_host_unittest.cc',
337       'nacl/browser/nacl_validation_cache_unittest.cc',
338       'nacl/browser/pnacl_host_unittest.cc',
339       'nacl/browser/pnacl_translation_cache_unittest.cc',
340       'nacl/browser/test_nacl_browser_delegate.cc',
341       'nacl/zygote/nacl_fork_delegate_linux_unittest.cc',
342     ],
343     'navigation_interception_unittest_sources': [
344       'navigation_interception/intercept_navigation_resource_throttle_unittest.cc',
345     ],
346     'network_hints_unittest_sources': [
347       'network_hints/renderer/dns_prefetch_queue_unittest.cc',
348       'network_hints/renderer/renderer_dns_prefetch_unittest.cc',
349     ],
350     'network_time_unittest_sources': [
351       'network_time/network_time_tracker_unittest.cc',
352     ],
353     'offline_page_unittest_sources': [
354       'offline_pages/offline_page_metadata_store_impl_unittest.cc',
355       'offline_pages/offline_page_model_unittest.cc',
356     ],
357     'omnibox_unittest_sources': [
358       'omnibox/browser/answers_cache_unittest.cc',
359       'omnibox/browser/autocomplete_input_unittest.cc',
360       'omnibox/browser/autocomplete_match_unittest.cc',
361       'omnibox/browser/autocomplete_result_unittest.cc',
362       'omnibox/browser/base_search_provider_unittest.cc',
363       'omnibox/browser/clipboard_url_provider_unittest.cc',
364       'omnibox/browser/in_memory_url_index_types_unittest.cc',
365       'omnibox/browser/keyword_provider_unittest.cc',
366       'omnibox/browser/omnibox_field_trial_unittest.cc',
367       'omnibox/browser/omnibox_popup_model_unittest.cc',
368       'omnibox/browser/omnibox_view_unittest.cc',
369       'omnibox/browser/scored_history_match_unittest.cc',
370       'omnibox/browser/suggestion_answer_unittest.cc',
371     ],
372     'open_from_clipboard_unittest_sources': [
373       'open_from_clipboard/clipboard_recent_content_ios_unittest.mm',
374     ],
375     'os_crypt_unittest_sources': [
376       'os_crypt/ie7_password_win_unittest.cc',
377       'os_crypt/keychain_password_mac_unittest.mm',
378       'os_crypt/os_crypt_unittest.cc',
379     ],
380     'ownership_unittest_sources': [
381       'ownership/owner_key_util_impl_unittest.cc',
382     ],
383     'packed_ct_ev_whitelist_unittest_sources': [
384       'packed_ct_ev_whitelist/bit_stream_reader_unittest.cc',
385       'packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc',
386     ],
387     'password_manager_unittest_sources': [
388       'password_manager/content/browser/credential_manager_dispatcher_unittest.cc',
389       'password_manager/core/browser/affiliated_match_helper_unittest.cc',
390       'password_manager/core/browser/affiliation_backend_unittest.cc',
391       'password_manager/core/browser/affiliation_database_unittest.cc',
392       'password_manager/core/browser/affiliation_fetch_throttler_unittest.cc',
393       'password_manager/core/browser/affiliation_fetcher_unittest.cc',
394       'password_manager/core/browser/affiliation_service_unittest.cc',
395       'password_manager/core/browser/affiliation_utils_unittest.cc',
396       'password_manager/core/browser/browser_save_password_progress_logger_unittest.cc',
397       'password_manager/core/browser/export/csv_writer_unittest.cc',
398       'password_manager/core/browser/facet_manager_unittest.cc',
399       'password_manager/core/browser/import/csv_reader_unittest.cc',
400       'password_manager/core/browser/log_router_unittest.cc',
401       'password_manager/core/browser/login_database_unittest.cc',
402       'password_manager/core/browser/password_autofill_manager_unittest.cc',
403       'password_manager/core/browser/password_form_manager_unittest.cc',
404       'password_manager/core/browser/password_generation_manager_unittest.cc',
405       'password_manager/core/browser/password_manager_metrics_util_unittest.cc',
406       'password_manager/core/browser/password_manager_unittest.cc',
407       'password_manager/core/browser/password_store_default_unittest.cc',
408       'password_manager/core/browser/password_store_unittest.cc',
409       'password_manager/core/browser/password_syncable_service_unittest.cc',
410       'password_manager/core/browser/psl_matching_helper_unittest.cc',
411       'password_manager/core/browser/statistics_table_unittest.cc',
412       'password_manager/core/common/credential_manager_types_unittest.cc',
413       'password_manager/sync/browser/sync_store_result_filter_unittest.cc',
414     ],
415     'policy_unittest_sources': [
416       'policy/core/browser/android/android_combined_policy_provider_unittest.cc',
417       'policy/core/browser/android/policy_converter_unittest.cc',
418       'policy/core/browser/autofill_policy_handler_unittest.cc',
419       'policy/core/browser/browser_policy_connector_unittest.cc',
420       'policy/core/browser/configuration_policy_handler_unittest.cc',
421       'policy/core/browser/configuration_policy_pref_store_unittest.cc',
422       'policy/core/browser/url_blacklist_policy_handler_unittest.cc',
423       'policy/core/common/async_policy_provider_unittest.cc',
424       'policy/core/common/cloud/cloud_policy_client_unittest.cc',
425       'policy/core/common/cloud/cloud_policy_constants_unittest.cc',
426       'policy/core/common/cloud/cloud_policy_core_unittest.cc',
427       'policy/core/common/cloud/cloud_policy_manager_unittest.cc',
428       'policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc',
429       'policy/core/common/cloud/cloud_policy_service_unittest.cc',
430       'policy/core/common/cloud/cloud_policy_validator_unittest.cc',
431       'policy/core/common/cloud/component_cloud_policy_service_unittest.cc',
432       'policy/core/common/cloud/component_cloud_policy_store_unittest.cc',
433       'policy/core/common/cloud/component_cloud_policy_updater_unittest.cc',
434       'policy/core/common/cloud/device_management_service_unittest.cc',
435       'policy/core/common/cloud/external_policy_data_fetcher_unittest.cc',
436       'policy/core/common/cloud/external_policy_data_updater_unittest.cc',
437       'policy/core/common/cloud/policy_header_io_helper_unittest.cc',
438       'policy/core/common/cloud/policy_header_service_unittest.cc',
439       'policy/core/common/cloud/resource_cache_unittest.cc',
440       'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc',
441       'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
442       'policy/core/common/cloud/user_info_fetcher_unittest.cc',
443       'policy/core/common/config_dir_policy_loader_unittest.cc',
444       'policy/core/common/generate_policy_source_unittest.cc',
445       'policy/core/common/policy_bundle_unittest.cc',
446       'policy/core/common/policy_loader_ios_unittest.mm',
447       'policy/core/common/policy_loader_mac_unittest.cc',
448       'policy/core/common/policy_loader_win_unittest.cc',
449       'policy/core/common/policy_map_unittest.cc',
450       'policy/core/common/policy_service_impl_unittest.cc',
451       'policy/core/common/policy_statistics_collector_unittest.cc',
452       'policy/core/common/preg_parser_win_unittest.cc',
453       'policy/core/common/registry_dict_win_unittest.cc',
454       'policy/core/common/remote_commands/remote_commands_queue_unittest.cc',
455       'policy/core/common/remote_commands/remote_commands_service_unittest.cc',
456       'policy/core/common/schema_map_unittest.cc',
457       'policy/core/common/schema_registry_tracking_policy_provider_unittest.cc',
458       'policy/core/common/schema_registry_unittest.cc',
459       'policy/core/common/schema_unittest.cc',
460     ],
461     'power_unittest_sources': [
462       'power/origin_power_map_unittest.cc',
463     ],
464     'precache_unittest_sources': [
465       'precache/content/precache_manager_unittest.cc',
466       'precache/core/precache_database_unittest.cc',
467       'precache/core/precache_fetcher_unittest.cc',
468       'precache/core/precache_url_table_unittest.cc',
469     ],
470     'user_prefs_unittest_sources': [
471       'user_prefs/tracked/device_id_unittest.cc',
472       'user_prefs/tracked/pref_hash_calculator_unittest.cc',
473       'user_prefs/tracked/pref_hash_filter_unittest.cc',
474       'user_prefs/tracked/pref_hash_store_impl_unittest.cc',
475       'user_prefs/tracked/pref_service_hash_store_contents_unittest.cc',
476       'user_prefs/tracked/segregated_pref_store_unittest.cc',
477       'user_prefs/tracked/tracked_preferences_migration_unittest.cc',
478     ],
479     'proximity_auth_unittest_sources': [
480       'proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc',
481       'proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc',
482       'proximity_auth/ble/bluetooth_low_energy_connection_unittest.cc',
483       'proximity_auth/ble/bluetooth_low_energy_device_whitelist_unittest.cc',
484       'proximity_auth/ble/proximity_auth_ble_system_unittest.cc',
485       'proximity_auth/bluetooth_connection_finder_unittest.cc',
486       'proximity_auth/bluetooth_connection_unittest.cc',
487       'proximity_auth/bluetooth_throttler_impl_unittest.cc',
488       'proximity_auth/client_impl_unittest.cc',
489       'proximity_auth/connection_unittest.cc',
490       'proximity_auth/cryptauth/base64url_unittest.cc',
491       'proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl_unittest.cc',
492       'proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc',
493       'proximity_auth/cryptauth/cryptauth_client_impl_unittest.cc',
494       'proximity_auth/cryptauth/cryptauth_device_manager_unittest.cc',
495       'proximity_auth/cryptauth/cryptauth_enroller_impl_unittest.cc',
496       'proximity_auth/cryptauth/cryptauth_enrollment_manager_unittest.cc',
497       'proximity_auth/cryptauth/cryptauth_gcm_manager_impl_unittest.cc',
498       'proximity_auth/cryptauth/fake_secure_message_delegate_unittest.cc',
499       'proximity_auth/cryptauth/sync_scheduler_impl_unittest.cc',
500       'proximity_auth/device_to_device_operations_unittest.cc',
501       'proximity_auth/device_to_device_operations_unittest.cc',
502       'proximity_auth/device_to_device_secure_context_unittest.cc',
503       'proximity_auth/logging/logging_unittest.cc',
504       'proximity_auth/proximity_auth_system_unittest.cc',
505       'proximity_auth/proximity_monitor_impl_unittest.cc',
506       'proximity_auth/remote_status_update_unittest.cc',
507       'proximity_auth/throttled_bluetooth_connection_finder_unittest.cc',
508       'proximity_auth/unlock_manager_unittest.cc',
509       'proximity_auth/wire_message_unittest.cc',
510     ],
511     'proxy_config_unittest_sources': [
512       'proxy_config/proxy_config_dictionary_unittest.cc',
513       'proxy_config/proxy_prefs_unittest.cc',
514     ],
515     'query_parser_unittest_sources': [
516       'query_parser/query_parser_unittest.cc',
517       'query_parser/snippet_unittest.cc',
518     ],
519     'rappor_unittest_sources': [
520       'rappor/bloom_filter_unittest.cc',
521       'rappor/byte_vector_utils_unittest.cc',
522       'rappor/log_uploader_unittest.cc',
523       'rappor/rappor_metric_unittest.cc',
524       'rappor/rappor_prefs_unittest.cc',
525       'rappor/rappor_service_unittest.cc',
526       'rappor/rappor_utils_unittest.cc',
527       'rappor/sampler_unittest.cc',
528     ],
529     'rlz_unittest_sources': [
530       'rlz/rlz_tracker_unittest.cc',
531     ],
532     'safe_json_unittest_sources': [
533       'safe_json/json_sanitizer_unittest.cc',
534     ],
535     'scheduler_unittest_sources': [
536       'scheduler/child/idle_helper_unittest.cc',
537       'scheduler/child/nestable_task_runner_for_test.cc',
538       'scheduler/child/nestable_task_runner_for_test.h',
539       'scheduler/child/scheduler_helper_unittest.cc',
540       'scheduler/child/scheduler_task_runner_delegate_for_test.cc',
541       'scheduler/child/scheduler_task_runner_delegate_for_test.h',
542       'scheduler/child/scheduler_task_runner_delegate_impl_unittest.cc',
543       'scheduler/child/task_queue_manager_unittest.cc',
544       'scheduler/child/task_queue_selector_unittest.cc',
545       'scheduler/child/task_queue_sets_unittest.cc',
546       'scheduler/child/test_time_source.cc',
547       'scheduler/child/test_time_source.h',
548       'scheduler/child/webthread_impl_for_worker_scheduler_unittest.cc',
549       'scheduler/child/worker_scheduler_impl_unittest.cc',
550       'scheduler/renderer/deadline_task_runner_unittest.cc',
551       'scheduler/renderer/renderer_scheduler_impl_unittest.cc',
552       'scheduler/renderer/task_cost_estimator_unittest.cc',
553       'scheduler/renderer/webthread_impl_for_renderer_scheduler_unittest.cc',
554       'scheduler/test/test_always_fail_time_source.cc',
555       'scheduler/test/test_always_fail_time_source.h',
556     ],
557     'search_unittest_sources': [
558       'search/search_android_unittest.cc',
559       'search/search_unittest.cc',
560     ],
561     'search_engines_unittest_sources': [
562       'search_engines/default_search_manager_unittest.cc',
563       'search_engines/default_search_policy_handler_unittest.cc',
564       'search_engines/default_search_pref_migration_unittest.cc',
565       'search_engines/keyword_table_unittest.cc',
566       'search_engines/search_host_to_urls_map_unittest.cc',
567       'search_engines/template_url_prepopulate_data_unittest.cc',
568       'search_engines/template_url_service_util_unittest.cc',
569       'search_engines/template_url_unittest.cc',
570     ],
571     'search_provider_logos_unittest_sources': [
572       'search_provider_logos/logo_cache_unittest.cc',
573       'search_provider_logos/logo_tracker_unittest.cc',
574     ],
575     'sessions_unittest_sources': [
576       'sessions/content/content_serialized_navigation_builder_unittest.cc',
577       'sessions/content/content_serialized_navigation_driver_unittest.cc',
578       'sessions/ios/ios_serialized_navigation_builder_unittest.cc',
579       'sessions/ios/ios_serialized_navigation_driver_unittest.cc',
580       'sessions/serialized_navigation_entry_unittest.cc',
581       'sessions/session_backend_unittest.cc',
582       'sessions/session_types_unittest.cc',
583     ],
584     'signin_unittest_sources': [
585       'signin/core/browser/account_tracker_service_unittest.cc',
586       'signin/core/browser/gaia_cookie_manager_service_unittest.cc',
587       'signin/core/browser/refresh_token_annotation_request_unittest.cc',
588       'signin/core/browser/signin_error_controller_unittest.cc',
589       'signin/core/browser/webdata/token_service_table_unittest.cc',
590       'signin/ios/browser/account_consistency_service_unittest.mm',
591       'signin/ios/browser/profile_oauth2_token_service_ios_delegate_unittest.mm',
592     ],
593     'storage_monitor_unittest_sources': [
594       'storage_monitor/image_capture_device_manager_unittest.mm',
595       'storage_monitor/media_storage_util_unittest.cc',
596       'storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc',
597       'storage_monitor/storage_info_unittest.cc',
598       'storage_monitor/storage_monitor_chromeos_unittest.cc',
599       'storage_monitor/storage_monitor_linux_unittest.cc',
600       'storage_monitor/storage_monitor_mac_unittest.mm',
601       'storage_monitor/storage_monitor_unittest.cc',
602       'storage_monitor/storage_monitor_win_unittest.cc',
603     ],
604     'suggestions_unittest_sources': [
605       'suggestions/blacklist_store_unittest.cc',
606       'suggestions/image_manager_unittest.cc',
607       'suggestions/suggestions_service_unittest.cc',
608       'suggestions/suggestions_store_unittest.cc',
609     ],
610     'sync_driver_unittest_sources': [
611       'sync_driver/about_sync_util_unittest.cc',
612       'sync_driver/data_type_manager_impl_unittest.cc',
613       'sync_driver/device_info_data_type_controller_unittest.cc',
614       'sync_driver/device_info_sync_service_unittest.cc',
615       'sync_driver/favicon_cache_unittest.cc',
616       'sync_driver/generic_change_processor_unittest.cc',
617       'sync_driver/model_association_manager_unittest.cc',
618       'sync_driver/non_blocking_data_type_controller_unittest.cc',
619       'sync_driver/non_ui_data_type_controller_unittest.cc',
620       'sync_driver/shared_change_processor_unittest.cc',
621       'sync_driver/sync_policy_handler_unittest.cc',
622       'sync_driver/sync_prefs_unittest.cc',
623       'sync_driver/sync_stopped_reporter_unittest.cc',
624       'sync_driver/sync_util_unittest.cc',
625       'sync_driver/system_encryptor_unittest.cc',
626       'sync_driver/tab_node_pool_unittest.cc',
627       'sync_driver/ui_data_type_controller_unittest.cc',
628     ],
629     'tracing_unittest_sources': [
630       'tracing/trace_config_file_unittest.cc',
631     ],
632     'translate_unittest_sources': [
633       'translate/core/browser/language_state_unittest.cc',
634       'translate/core/browser/translate_browser_metrics_unittest.cc',
635       'translate/core/browser/translate_language_list_unittest.cc',
636       'translate/core/browser/translate_prefs_unittest.cc',
637       'translate/core/browser/translate_script_unittest.cc',
638       'translate/core/common/translate_metrics_unittest.cc',
639       'translate/core/common/translate_util_unittest.cc',
640       'translate/core/language_detection/language_detection_util_unittest.cc',
641       # TODO(GYP) bug 523060: these translate tests on iOS.
642       'translate/ios/browser/js_translate_manager_unittest.mm',
643       'translate/ios/browser/language_detection_controller_unittest.mm',
644       'translate/ios/browser/translate_controller_unittest.mm',
645     ],
646     'ui_unittest_sources': [
647       'ui/zoom/page_zoom_unittests.cc',
648     ],
649     'update_client_unittest_sources': [
650       'update_client/component_patcher_unittest.cc',
651       'update_client/crx_downloader_unittest.cc',
652       'update_client/ping_manager_unittest.cc',
653       'update_client/request_sender_unittest.cc',
654       'update_client/update_checker_unittest.cc',
655       'update_client/update_client_unittest.cc',
656       'update_client/update_query_params_unittest.cc',
657       'update_client/update_response_unittest.cc',
658     ],
659     'upload_list_unittest_sources': [
660       'upload_list/upload_list_unittest.cc',
661     ],
662     'url_formatter_unittest_sources': [
663       'url_formatter/elide_url_unittest.cc',
664       'url_formatter/url_fixer_unittest.cc',
665       'url_formatter/url_formatter_unittest.cc',
666     ],
667     'url_matcher_unittest_sources': [
668       'url_matcher/regex_set_matcher_unittest.cc',
669       'url_matcher/string_pattern_unittest.cc',
670       'url_matcher/substring_set_matcher_unittest.cc',
671       'url_matcher/url_matcher_factory_unittest.cc',
672       'url_matcher/url_matcher_unittest.cc',
673     ],
674     'variations_unittest_sources': [
675       'variations/active_field_trials_unittest.cc',
676       'variations/caching_permuted_entropy_provider_unittest.cc',
677       'variations/entropy_provider_unittest.cc',
678       'variations/experiment_labels_unittest.cc',
679       'variations/metrics_util_unittest.cc',
680       'variations/net/variations_http_header_provider_unittest.cc',
681       'variations/study_filtering_unittest.cc',
682       'variations/variations_associated_data_unittest.cc',
683       'variations/variations_request_scheduler_mobile_unittest.cc',
684       'variations/variations_request_scheduler_unittest.cc',
685       'variations/variations_seed_processor_unittest.cc',
686       'variations/variations_seed_simulator_unittest.cc',
687       'variations/variations_seed_store_unittest.cc',
688     ],
689     'visitedlink_unittest_sources': [
690       'visitedlink/test/visitedlink_unittest.cc',
691     ],
692     'wallpaper_unittest_sources': [
693       'wallpaper/wallpaper_resizer_unittest.cc',
694     ],
695     'web_cache_unittest_sources': [
696       'web_cache/browser/web_cache_manager_unittest.cc',
697     ],
698     'web_modal_unittest_sources': [
699       'web_modal/web_contents_modal_dialog_manager_unittest.cc',
700     ],
701     'web_resource_unittest_sources': [
702       'web_resource/eula_accepted_notifier_unittest.cc',
703       'web_resource/resource_request_allowed_notifier_unittest.cc',
704     ],
705     'webcrypto_unittest_sources': [
706       'webcrypto/test/aes_cbc_unittest.cc',
707       'webcrypto/test/aes_ctr_unittest.cc',
708       'webcrypto/test/aes_gcm_unittest.cc',
709       'webcrypto/test/aes_kw_unittest.cc',
710       'webcrypto/test/ecdh_unittest.cc',
711       'webcrypto/test/ecdsa_unittest.cc',
712       'webcrypto/test/hmac_unittest.cc',
713       'webcrypto/test/rsa_oaep_unittest.cc',
714       'webcrypto/test/rsa_pss_unittest.cc',
715       'webcrypto/test/rsa_ssa_unittest.cc',
716       'webcrypto/test/sha_unittest.cc',
717       'webcrypto/test/status_unittest.cc',
718       'webcrypto/test/test_helpers.cc',
719       'webcrypto/test/test_helpers.h',
720     ],
721     'webdata_unittest_sources': [
722       'webdata/common/web_database_migration_unittest.cc',
723     ],
724   },
725   'targets': [
726     {
727       # GN version: //components:components_tests_pak
728       'target_name': 'components_tests_pak',
729       'type': 'none',
730       'dependencies': [
731         'components_resources.gyp:components_resources',
732         'components_strings.gyp:components_strings',
733       ],
734       'actions': [
735         {
736           'action_name': 'repack_components_tests_pak',
737           'variables': {
738             'pak_inputs': [
739               '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
740               '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_strings_en-US.pak',
741             ],
742             'pak_output': '<(PRODUCT_DIR)/components_tests_resources.pak',
743           },
744           'includes': [ '../build/repack_action.gypi' ],
745         },
746       ],
747       'direct_dependent_settings': {
748         'mac_bundle_resources': [
749           '<(PRODUCT_DIR)/components_tests_resources.pak',
750         ],
751       },
752     },
753     {
754       # GN version: //components:components_unittests
755       'target_name': 'components_unittests',
756       'type': '<(gtest_target_type)',
757       'sources': [
758         'test/run_all_unittests.cc',
760         '<@(auto_login_parser_unittest_sources)',
761         '<@(autofill_unittest_sources)',
762         '<@(bookmarks_unittest_sources)',
763         '<@(browser_watcher_unittest_sources)',
764         '<@(bubble_unittest_sources)',
765         '<@(captive_portal_unittest_sources)',
766         '<@(cloud_devices_unittest_sources)',
767         '<@(component_updater_unittest_sources)',
768         '<@(compression_unittest_sources)',
769         '<@(content_settings_unittest_sources)',
770         '<@(crash_unittest_sources)',
771         '<@(crx_file_unittest_sources)',
772         '<@(data_reduction_proxy_unittest_sources)',
773         '<@(device_event_log_unittest_sources)',
774         '<@(dom_distiller_unittest_sources)',
775         '<@(domain_reliability_unittest_sources)',
776         '<@(enhanced_bookmarks_unittest_sources)',
777         '<@(favicon_base_unittest_sources)',
778         '<@(favicon_unittest_sources)',
779         '<@(gcm_driver_crypto_unittest_sources)',
780         '<@(gcm_driver_unittest_sources)',
781         '<@(google_unittest_sources)',
782         '<@(history_unittest_sources)',
783         '<@(instance_id_unittest_sources)',
784         '<@(json_schema_unittest_sources)',
785         '<@(keyed_service_unittest_sources)',
786         '<@(language_usage_metrics_unittest_sources)',
787         '<@(leveldb_proto_unittest_sources)',
788         '<@(login_unittest_sources)',
789         '<@(memory_pressure_unittest_sources)',
790         '<@(metrics_unittest_sources)',
791         '<@(mime_util_unittest_sources)',
792         '<@(network_time_unittest_sources)',
793         '<@(offline_page_unittest_sources)',
794         '<@(omnibox_unittest_sources)',
795         '<@(open_from_clipboard_unittest_sources)',
796         '<@(os_crypt_unittest_sources)',
797         '<@(packed_ct_ev_whitelist_unittest_sources)',
798         '<@(password_manager_unittest_sources)',
799         '<@(precache_unittest_sources)',
800         '<@(proxy_config_unittest_sources)',
801         '<@(query_parser_unittest_sources)',
802         '<@(rappor_unittest_sources)',
803         '<@(search_engines_unittest_sources)',
804         '<@(search_provider_logos_unittest_sources)',
805         '<@(search_unittest_sources)',
806         '<@(sessions_unittest_sources)',
807         '<@(signin_unittest_sources)',
808         '<@(suggestions_unittest_sources)',
809         '<@(sync_driver_unittest_sources)',
810         '<@(translate_unittest_sources)',
811         '<@(undo_unittest_sources)',
812         '<@(update_client_unittest_sources)',
813         '<@(upload_list_unittest_sources)',
814         '<@(url_formatter_unittest_sources)',
815         '<@(url_matcher_unittest_sources)',
816         '<@(user_prefs_unittest_sources)',
817         '<@(variations_unittest_sources)',
818         '<@(wallpaper_unittest_sources)',
819         '<@(web_resource_unittest_sources)',
820         '<@(webdata_unittest_sources)',
821       ],
822       'include_dirs': [
823         '..',
824       ],
825       'dependencies': [
826         '../base/base.gyp:base',
827         '../base/base.gyp:base_prefs_test_support',
828         '../base/base.gyp:test_support_base',
829         # TODO(blundell): Eliminate the need for this dependency in code
830         # that iOS shares. crbug.com/325243
831         '../content/content_shell_and_tests.gyp:test_support_content',
832         '../google_apis/google_apis.gyp:google_apis_test_support',
833         '../jingle/jingle.gyp:notifier_test_util',
834         '../net/net.gyp:net_test_support',
835         '../sql/sql.gyp:test_support_sql',
836         '../sync/sync.gyp:sync',
837         '../sync/sync.gyp:test_support_sync_api',
838         '../testing/gmock.gyp:gmock',
839         '../testing/gtest.gyp:gtest',
840         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
841         '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util',
842         '../third_party/libjingle/libjingle.gyp:libjingle',
843         '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
844         '../third_party/libxml/libxml.gyp:libxml',
845         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
846         '../ui/base/ui_base.gyp:ui_base',
847         '../ui/gfx/gfx.gyp:gfx',
848         '../ui/gfx/gfx.gyp:gfx_test_support',
849         '../ui/resources/ui_resources.gyp:ui_resources',
850         '../ui/resources/ui_resources.gyp:ui_test_pak',
851         '../ui/strings/ui_strings.gyp:ui_strings',
852         '../url/url.gyp:url_lib',
853         'components.gyp:auto_login_parser',
854         'components.gyp:autofill_core_browser',
855         'components.gyp:autofill_core_common',
856         'components.gyp:autofill_core_test_support',
857         'components.gyp:bookmarks_browser',
858         'components.gyp:bookmarks_managed',
859         'components.gyp:bookmarks_test_support',
860         'components.gyp:bubble',
861         'components.gyp:captive_portal_test_support',
862         'components.gyp:cloud_devices_common',
863         'components.gyp:component_updater',
864         'components.gyp:compression',
865         'components.gyp:content_settings_core_browser',
866         'components.gyp:content_settings_core_common',
867         'components.gyp:content_settings_core_test_support',
868         'components.gyp:crx_file',
869         'components.gyp:data_reduction_proxy_core_browser',
870         'components.gyp:data_reduction_proxy_core_common',
871         'components.gyp:data_reduction_proxy_test_support',
872         'components.gyp:device_event_log_component',
873         'components.gyp:dom_distiller_core',
874         'components.gyp:dom_distiller_protos',
875         'components.gyp:dom_distiller_test_support',
876         'components.gyp:domain_reliability',
877         'components.gyp:enhanced_bookmarks',
878         'components.gyp:enhanced_bookmarks_test_support',
879         'components.gyp:favicon_base',
880         'components.gyp:favicon_core',
881         'components.gyp:gcm_driver',
882         'components.gyp:gcm_driver_test_support',
883         'components.gyp:google_core_browser',
884         'components.gyp:history_core_browser',
885         'components.gyp:history_core_common',
886         'components.gyp:history_core_test_support',
887         'components.gyp:instance_id_test_support',
888         'components.gyp:invalidation_impl',
889         'components.gyp:invalidation_test_support',
890         'components.gyp:json_schema',
891         'components.gyp:keyed_service_core',
892         'components.gyp:language_usage_metrics',
893         'components.gyp:leveldb_proto',
894         'components.gyp:leveldb_proto_test_support',
895         'components.gyp:login',
896         'components.gyp:memory_pressure',
897         'components.gyp:metrics',
898         'components.gyp:metrics_gpu',
899         'components.gyp:metrics_net',
900         'components.gyp:metrics_profiler',
901         'components.gyp:metrics_test_support',
902         'components.gyp:network_time',
903         'components.gyp:offline_pages',
904         'components.gyp:omnibox_browser',
905         'components.gyp:omnibox_test_support',
906         'components.gyp:open_from_clipboard',
907         'components.gyp:open_from_clipboard_test_support',
908         'components.gyp:os_crypt',
909         'components.gyp:packed_ct_ev_whitelist',
910         'components.gyp:password_manager_core_browser',
911         'components.gyp:password_manager_core_browser_test_support',
912         'components.gyp:password_manager_sync_browser',
913         'components.gyp:precache_core',
914         'components.gyp:pref_registry_test_support',
915         'components.gyp:proxy_config',
916         'components.gyp:query_parser',
917         'components.gyp:rappor',
918         'components.gyp:rappor_test_support',
919         'components.gyp:search',
920         'components.gyp:search_engines',
921         'components.gyp:search_engines_test_support',
922         'components.gyp:search_provider_logos',
923         'components.gyp:sessions_test_support',
924         'components.gyp:signin_core_browser',
925         'components.gyp:signin_core_browser_test_support',
926         'components.gyp:suggestions',
927         'components.gyp:sync_driver_test_support',
928         'components.gyp:translate_core_browser',
929         'components.gyp:translate_core_common',
930         'components.gyp:translate_core_language_detection',
931         'components.gyp:ui_zoom',
932         'components.gyp:undo_component',
933         'components.gyp:update_client',
934         'components.gyp:update_client_test_support',
935         'components.gyp:upload_list',
936         'components.gyp:user_prefs_tracked',
937         'components.gyp:user_prefs_tracked_test_support',
938         'components.gyp:variations',
939         'components.gyp:variations_http_provider',
940         'components.gyp:version_info',
941         'components.gyp:wallpaper',
942         'components.gyp:web_resource',
943         'components.gyp:web_resource_test_support',
944         'components_resources.gyp:components_resources',
945         'components_strings.gyp:components_strings',
946         'components_tests_pak',
947         'mime_util/mime_util.gyp:mime_util',
948         'url_formatter/url_formatter.gyp:url_formatter',
949       ],
950       'conditions': [
951         ['enable_rlz_support==1', {
952           'sources': [
953             '<@(rlz_unittest_sources)',
954           ],
955           'dependencies': [
956             '../net/net.gyp:net_test_support',
957             '../rlz/rlz.gyp:test_support_rlz',
958             'components.gyp:rlz',
959           ],
960           'conditions': [
961             ['OS == "ios"', {
962               'dependencies': [
963                 '../ui/base/ui_base.gyp:ui_base',
964               ],
965             }],
966           ],
967         }],
968         ['toolkit_views == 1', {
969           'sources': [
970             'bookmarks/browser/bookmark_node_data_unittest.cc',
971             'constrained_window/constrained_window_views_unittest.cc',
972           ],
973           'dependencies': [
974             '<(DEPTH)/ui/views/views.gyp:views',
975             '<(DEPTH)/ui/views/views.gyp:views_test_support',
976             'components.gyp:constrained_window',
977           ]
978         }],
979         ['OS=="win"', {
980           'dependencies': [
981             'components.gyp:browser_watcher',
982             'components.gyp:browser_watcher_client',
983           ]
984         }],
985         ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
986           'dependencies': [
987             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
988           ],
989         }],
990         [ 'cld_version==2', {
991           'dependencies': [
992             # Unit tests should always use statically-linked CLD data.
993             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
994         }],
995         ['OS != "ios"', {
996           'sources': [
997             '<@(devtools_http_handler_unittest_sources)',
998             '<@(error_page_unittest_sources)',
999             '<@(guest_view_unittest_sources)',
1000             '<@(navigation_interception_unittest_sources)',
1001             '<@(network_hints_unittest_sources)',
1002             '<@(power_unittest_sources)',
1003             '<@(safe_json_unittest_sources)',
1004             '<@(scheduler_unittest_sources)',
1005             '<@(storage_monitor_unittest_sources)',
1006             '<@(ui_unittest_sources)',
1007             '<@(visitedlink_unittest_sources)',
1008             '<@(web_cache_unittest_sources)',
1009             '<@(webcrypto_unittest_sources)',
1010             '<@(web_modal_unittest_sources)',
1011           ],
1012           'dependencies': [
1013             '../skia/skia.gyp:skia',
1014             'components.gyp:autofill_content_browser',
1015             'components.gyp:autofill_content_renderer',
1016             'components.gyp:autofill_content_test_support',
1017             'components.gyp:crash_test_support',
1018             'components.gyp:data_reduction_proxy_content_browser',
1019             'components.gyp:devtools_http_handler',
1020             'components.gyp:dom_distiller_content_browser',
1021             'components.gyp:error_page_renderer',
1022             'components.gyp:favicon_content',
1023             'components.gyp:guest_view_browser',
1024             'components.gyp:guest_view_common',
1025             'components.gyp:guest_view_test_support',
1026             'components.gyp:history_content_browser',
1027             'components.gyp:keyed_service_content',
1028             'components.gyp:navigation_interception',
1029             'components.gyp:network_hints_renderer',
1030             'components.gyp:password_manager_content_browser',
1031             'components.gyp:password_manager_content_common',
1032             'components.gyp:power',
1033             'components.gyp:precache_content',
1034             'components.gyp:safe_json',
1035             'components.gyp:safe_json_test_support',
1036             'components.gyp:sessions_content',
1037             'components.gyp:storage_monitor',
1038             'components.gyp:storage_monitor_test_support',
1039             'components.gyp:url_matcher',
1040             'components.gyp:visitedlink_browser',
1041             'components.gyp:visitedlink_renderer',
1042             'components.gyp:web_cache_browser',
1043             'components.gyp:web_modal',
1044             'components.gyp:web_modal_test_support',
1045             'scheduler/scheduler.gyp:scheduler',
1046             'webcrypto/webcrypto.gyp:webcrypto',
1047             '../third_party/re2/re2.gyp:re2',
1048           ],
1049           'conditions': [
1050             ['OS=="android"', {
1051               'dependencies': [
1052                 'components.gyp:policy_java',
1053                 '../build/android/ndk.gyp:cpu_features',
1054               ],
1055             }],
1056             ['use_openssl==1', {
1057               'dependencies': [
1058                 '../third_party/boringssl/boringssl.gyp:boringssl',
1059               ],
1060             }, {
1061               'conditions': [
1062                 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1063                   'dependencies': [
1064                     '../build/linux/system.gyp:ssl',
1065                   ],
1066                 }, {
1067                   'dependencies': [
1068                     '../third_party/nss/nss.gyp:nspr',
1069                     '../third_party/nss/nss.gyp:nss',
1070                   ],
1071                 }],
1072               ],
1073             }],
1074           ],
1075         }, { # 'OS == "ios"'
1076           'sources': [
1077             'webp_transcode/webp_decoder_unittest.mm',
1078             'webp_transcode/webp_network_client_unittest.mm',
1079           ],
1080           'sources!': [
1081             'metrics/gpu/gpu_metrics_provider_unittest.cc',
1082           ],
1083           'sources/': [
1084             # Exclude all tests that depends on //content (based on layered-
1085             # component directory structure).
1086             ['exclude', '^[^/]*/content/'],
1087           ],
1088           'mac_bundle_resources': [
1089             '<(PRODUCT_DIR)/ui_test.pak',
1090           ],
1091           'dependencies': [
1092             '../ios/ios_tests.gyp:test_support_ios',
1093             '../ios/web/ios_web.gyp:test_support_ios_web',
1094             '../third_party/ocmock/ocmock.gyp:ocmock',
1095             'components.gyp:autofill_ios_browser',
1096             'components.gyp:sessions_ios',
1097             'components.gyp:signin_ios_browser',
1098             'components.gyp:signin_ios_browser_test_support',
1099             'components.gyp:translate_ios_browser',
1100             'components.gyp:webp_transcode',
1101           ],
1102           'actions': [
1103             {
1104               'action_name': 'copy_test_data',
1105               'variables': {
1106                 'test_data_files': [
1107                   'test/data',
1108                 ],
1109                 'test_data_prefix': 'components',
1110               },
1111               'includes': [ '../build/copy_test_data_ios.gypi' ],
1112             },
1113           ],
1114           'conditions': [
1115             ['configuration_policy==1', {
1116               'sources/': [
1117                 ['include', '^policy/'],
1118               ],
1119             }],
1120           ],
1121         }],
1122         ['disable_nacl==0', {
1123           'sources': [
1124             '<@(nacl_unittest_sources)',
1125           ],
1126           'dependencies': [
1127             'nacl.gyp:nacl_browser',
1128             'nacl.gyp:nacl_common',
1129           ],
1130         }],
1131         ['OS == "mac"', {
1132           'link_settings': {
1133             'libraries': [
1134               '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
1135               '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1136               '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framework',
1137             ],
1138           },
1139           'sources!': [
1140             'password_manager/core/browser/password_store_default_unittest.cc',
1141           ],
1142         }],
1143         ['OS == "android"', {
1144           'sources': [
1145             '<@(cronet_unittest_sources)',
1146             'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc',
1147             'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc',
1148             'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager_unittest.cc',
1149             'invalidation/impl/invalidation_logger_unittest.cc',
1150             'invalidation/impl/invalidation_service_android_unittest.cc',
1151           ],
1152           'sources!': [
1153             'gcm_driver/gcm_account_mapper_unittest.cc',
1154             'gcm_driver/gcm_channel_status_request_unittest.cc',
1155             'gcm_driver/gcm_client_impl_unittest.cc',
1156             'gcm_driver/gcm_delayed_task_controller_unittest.cc',
1157             'gcm_driver/gcm_driver_desktop_unittest.cc',
1158             'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
1159             'gcm_driver/instance_id/instance_id_driver_unittest.cc',
1160             'sessions/session_backend_unittest.cc',
1161             'storage_monitor/media_storage_util_unittest.cc',
1162             'storage_monitor/storage_info_unittest.cc',
1163             'storage_monitor/storage_monitor_unittest.cc',
1164             'web_modal/web_contents_modal_dialog_manager_unittest.cc',
1165           ],
1166           'dependencies': [
1167             'components.gyp:cronet_static',
1168             'components.gyp:data_reduction_proxy_content',
1169             'components.gyp:safe_json_java',
1170             '../content/content.gyp:content_java',
1171             '../testing/android/native_test.gyp:native_test_native_code',
1172           ],
1173           'dependencies!': [
1174             'components.gyp:storage_monitor',
1175             'components.gyp:storage_monitor_test_support',
1176             'components.gyp:web_modal',
1177             'components.gyp:web_modal_test_support',
1178           ],
1179         }],
1180         ['OS != "android"', {
1181           'sources': [
1182             '<@(invalidation_unittest_sources)',
1183           ],
1184         }],
1185         ['OS != "ios" and OS != "android"', {
1186           'sources': [
1187             '<@(audio_modem_unittest_sources)',
1188             '<@(copresence_unittest_sources)',
1189             '<@(feedback_unittest_sources)',
1190             '<@(proximity_auth_unittest_sources)',
1191             '<@(tracing_unittest_sources)',
1192           ],
1193           'sources!': [
1194             'variations/variations_request_scheduler_mobile_unittest.cc',
1195           ],
1196           'dependencies': [
1197             '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
1198             '../google_apis/google_apis.gyp:google_apis_test_support',
1199             '../third_party/protobuf/protobuf.gyp:protobuf_lite',
1200             'components.gyp:audio_modem',
1201             'components.gyp:audio_modem_test_support',
1202             'components.gyp:copresence',
1203             'components.gyp:copresence_test_support',
1204             'components.gyp:cryptauth',
1205             'components.gyp:cryptauth_proto',
1206             'components.gyp:cryptauth_test_support',
1207             'components.gyp:feedback_component',
1208             'components.gyp:pref_registry_test_support',
1209             'components.gyp:proximity_auth',
1210             'components.gyp:proximity_auth_test_support',
1211             'tracing.gyp:tracing',
1212           ],
1213         }],
1214         ['chromeos==1', {
1215           'sources': [
1216             'pairing/message_buffer_unittest.cc',
1217             'timers/alarm_timer_unittest.cc',
1218             'wifi_sync/wifi_config_delegate_chromeos_unittest.cc',
1219             'wifi_sync/wifi_credential_syncable_service_unittest.cc',
1220             'wifi_sync/wifi_credential_unittest.cc',
1221             'wifi_sync/wifi_security_class_chromeos_unittest.cc',
1222             'wifi_sync/wifi_security_class_unittest.cc',
1223             '<@(ownership_unittest_sources)',
1224           ],
1225           'sources!': [
1226             'storage_monitor/storage_monitor_linux_unittest.cc',
1227           ],
1228           'dependencies': [
1229             '../chromeos/chromeos.gyp:chromeos_test_support',
1230             'components.gyp:ownership',
1231             'components.gyp:pairing',
1232             'components.gyp:user_manager_test_support',
1233             'components.gyp:wifi_sync',
1234           ],
1235         }],
1236         ['OS=="linux"', {
1237           'sources': [
1238             'metrics/serialization/serialization_utils_unittest.cc',
1239           ],
1240           'dependencies': [
1241             'components.gyp:metrics_serialization',
1242             '../dbus/dbus.gyp:dbus',
1243             '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
1244           ],
1245         }],
1246         ['OS=="linux" and use_udev==0', {
1247           'dependencies!': [
1248             'components.gyp:storage_monitor',
1249             'components.gyp:storage_monitor_test_support',
1250           ],
1251           'sources/': [
1252             ['exclude', '^storage_monitor/'],
1253           ],
1254         }],
1255         ['OS=="win" and win_use_allocator_shim==1', {
1256           'dependencies': [
1257             '../base/allocator/allocator.gyp:allocator',
1258           ],
1259         }],
1260         ['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
1261           'dependencies': [
1262             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1263           ],
1264           'link_settings': {
1265             'ldflags': ['-rdynamic'],
1266           },
1267         }],
1268         ['configuration_policy==1', {
1269           'dependencies': [
1270             'components.gyp:policy_component',
1271             'components.gyp:policy_component_test_support',
1272             'components.gyp:policy_test_support',
1273           ],
1274           'sources': [
1275             '<@(policy_unittest_sources)',
1276             'search_engines/default_search_policy_handler_unittest.cc',
1277           ],
1278           'conditions': [
1279             ['OS=="android"', {
1280               'sources/': [
1281                 ['exclude', '^policy/core/common/async_policy_provider_unittest\\.cc'],
1282               ],
1283             }],
1284             ['OS=="android" or OS=="ios"', {
1285               # Note: 'sources!' is processed before any 'sources/', so the
1286               # ['include', '^policy/'] on iOS above will include all of the
1287               # policy source files again. Using 'source/' here too will get
1288               # these files excluded as expected.
1289               'sources/': [
1290                 ['exclude', '^policy/core/common/cloud/component_cloud_policy_service_unittest\\.cc'],
1291                 ['exclude', '^policy/core/common/cloud/component_cloud_policy_store_unittest\\.cc'],
1292                 ['exclude', '^policy/core/common/cloud/component_cloud_policy_updater_unittest\\.cc'],
1293                 ['exclude', '^policy/core/common/cloud/external_policy_data_fetcher_unittest\\.cc'],
1294                 ['exclude', '^policy/core/common/cloud/external_policy_data_updater_unittest\\.cc'],
1295                 ['exclude', '^policy/core/common/cloud/resource_cache_unittest\\.cc'],
1296                 ['exclude', '^policy/core/common/config_dir_policy_loader_unittest\\.cc'],
1297               ],
1298             }],
1299             ['chromeos==1', {
1300               'sources': [
1301                 'policy/core/common/proxy_policy_provider_unittest.cc',
1302               ],
1303               'sources!': [
1304                 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc',
1305                 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
1306               ],
1307             }],
1308             ['OS=="ios" or OS=="mac"', {
1309               'sources': [
1310                 'policy/core/common/mac_util_unittest.cc',
1311               ],
1312             }],
1313           ],
1314         }],
1315       ],
1316       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1317       'msvs_disabled_warnings': [4267, ],
1318     },
1319   ],
1320   'conditions': [
1321     ['OS == "android"', {
1322       'variables': {
1323         'components_browsertests_pak_input_resources': [
1324           '<(PRODUCT_DIR)/components_tests_resources.pak',
1325           '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
1326         ],
1327         'conditions': [
1328           ['icu_use_data_file_flag==1', {
1329             'components_browsertests_pak_input_resources': [
1330               '<(PRODUCT_DIR)/icudtl.dat',
1331             ],
1332           }],
1333           ['v8_use_external_startup_data==1', {
1334             'components_browsertests_pak_input_resources': [
1335               '<(PRODUCT_DIR)/natives_blob.bin',
1336               '<(PRODUCT_DIR)/snapshot_blob.bin',
1337             ],
1338           }],
1339         ],
1340       },
1341       'targets': [
1342         {
1343           'target_name': 'components_browsertests_paks_copy',
1344           'type': 'none',
1345           'dependencies': [
1346             'components_browsertests',
1347           ],
1348           'copies': [
1349             {
1350               'destination': '<(PRODUCT_DIR)/components_browsertests_apk_shell/assets',
1351               'files': [
1352                 '<@(components_browsertests_pak_input_resources)',
1353               ],
1354             }
1355           ],
1356         },
1357         {
1358           'target_name': 'components_browsertests_manifest',
1359           'type': 'none',
1360           'variables': {
1361             'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml.jinja2'],
1362             'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_manifest/AndroidManifest.xml',
1363           },
1364           'includes': [ '../build/android/jinja_template.gypi' ],
1365         },
1366         {
1367           # TODO(GN)
1368           'target_name': 'components_browsertests_apk',
1369           'type': 'none',
1370           'dependencies': [
1371             '../content/content.gyp:content_icudata',
1372             '../content/content.gyp:content_java',
1373             '../content/content.gyp:content_v8_external_data',
1374             '../content/content_shell_and_tests.gyp:content_java_test_support',
1375             '../content/content_shell_and_tests.gyp:content_shell_browsertests_java',
1376             '../content/content_shell_and_tests.gyp:content_shell_java',
1377             'components_browsertests_paks_copy',
1378             'components_browsertests',
1379           ],
1380           'variables': {
1381             'test_suite_name': 'components_browsertests',
1382             'isolate_file': 'components_browsertests.isolate',
1383             'java_in_dir': 'test/android/browsertests_apk',
1384             'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_manifest/AndroidManifest.xml',
1385             'resource_dir': 'test/android/browsertests_apk/res',
1386             'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/assets',
1387             'conditions': [
1388               ['icu_use_data_file_flag==1', {
1389                 'additional_input_paths': [
1390                   '<(PRODUCT_DIR)/icudtl.dat',
1391                 ],
1392               }],
1393               ['v8_use_external_startup_data==1', {
1394                 'additional_input_paths': [
1395                   '<(PRODUCT_DIR)/natives_blob.bin',
1396                   '<(PRODUCT_DIR)/snapshot_blob.bin',
1397                 ],
1398               }],
1399             ],
1400           },
1401           'includes': [ '../build/apk_browsertest.gypi' ],
1402         },
1403       ],
1404     }],
1405     ['OS != "ios"', {
1406       'targets': [
1407         {
1408           # GN: //components:components_perftests
1409           'target_name': 'components_perftests',
1410           'type': '<(gtest_target_type)',
1411           'dependencies': [
1412             '../base/base.gyp:base',
1413             '../base/base.gyp:test_support_perf',
1414             '../content/content_shell_and_tests.gyp:test_support_content',
1415             '../testing/gtest.gyp:gtest',
1416             '../testing/perf/perf_test.gyp:perf_test',
1417             'components.gyp:visitedlink_browser',
1418             'scheduler/scheduler.gyp:scheduler',
1419           ],
1420          'include_dirs': [
1421            '..',
1422          ],
1423          'sources': [
1424            'scheduler/child/task_queue_manager_perftest.cc',
1425            'visitedlink/test/visitedlink_perftest.cc',
1426          ],
1427          'conditions': [
1428            ['OS == "android"', {
1429              'dependencies': [
1430                '../testing/android/native_test.gyp:native_test_native_code',
1431              ],
1432            }],
1433            ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1434              'dependencies': [
1435                '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1436              ],
1437            }],
1438          ],
1439          # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1440          'msvs_disabled_warnings': [ 4267, ],
1441         },
1442         {
1443           'target_name': 'components_browsertests',
1444           'type': '<(gtest_target_type)',
1445           'defines!': ['CONTENT_IMPLEMENTATION'],
1446           'dependencies': [
1447             '../content/content.gyp:content_common',
1448             '../content/content.gyp:content_gpu',
1449             '../content/content.gyp:content_plugin',
1450             '../content/content.gyp:content_renderer',
1451             '../content/content_shell_and_tests.gyp:content_browser_test_support',
1452             '../content/content_shell_and_tests.gyp:content_shell_lib',
1453             '../content/content_shell_and_tests.gyp:content_shell_pak',
1454             '../content/content_shell_and_tests.gyp:test_support_content',
1455             '../skia/skia.gyp:skia',
1456             '../testing/gmock.gyp:gmock',
1457             '../testing/gtest.gyp:gtest',
1458             'components.gyp:autofill_content_browser',
1459             'components.gyp:autofill_content_renderer',
1460             'components.gyp:content_settings_core_browser',
1461             'components.gyp:content_settings_core_common',
1462             'components.gyp:dom_distiller_content_browser',
1463             'components.gyp:dom_distiller_core',
1464             'components.gyp:password_manager_content_renderer',
1465             'components.gyp:pref_registry_test_support',
1466             'components_resources.gyp:components_resources',
1467             'components_strings.gyp:components_strings',
1468             'components_tests_pak',
1469           ],
1470           'include_dirs': [
1471             '..',
1472           ],
1473           'defines': [
1474             'HAS_OUT_OF_PROC_TEST_RUNNER',
1475           ],
1476           'sources': [
1477             # Note: test list duplicated in GN build.
1478             'autofill/content/browser/risk/fingerprint_browsertest.cc',
1479             'autofill/content/renderer/password_form_conversion_utils_browsertest.cc',
1480             'dom_distiller/content/browser/distillable_page_utils_browsertest.cc',
1481             'dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc',
1482             'dom_distiller/content/browser/test/dom_distiller_js_browsertest.cc',
1483             'password_manager/content/renderer/credential_manager_client_browsertest.cc',
1484           ],
1485           'conditions': [
1486             ['OS == "android"', {
1487               'sources' : [
1488                 'test/android/browsertests_apk/components_browser_tests_jni_onload.cc',
1489               ],
1490               'sources!': [
1491                 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1492               ],
1493               'dependencies': [
1494                 '../testing/android/native_test.gyp:native_test_support',
1495               ],
1496             }],
1497             ['OS == "linux"', {
1498               'sources': [
1499                   # content_extractor_browsertest is a standalone content extraction tool built as
1500                   # a MANUAL component_browsertest.
1501                   'dom_distiller/standalone/content_extractor_browsertest.cc',
1502                 ],
1503             }],
1504             ['OS=="win"', {
1505               'resource_include_dirs': [
1506                 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources',
1507               ],
1508               'sources': [
1509                 '../content/shell/app/resource.h',
1510                 '../content/shell/app/shell.rc',
1511               ],
1512               'dependencies': [
1513                 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources',
1514                 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
1515                 '<(DEPTH)/net/net.gyp:net_resources',
1516                 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
1517                 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1518                 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1519               ],
1520               'configurations': {
1521                 'Debug_Base': {
1522                   'msvs_settings': {
1523                     'VCLinkerTool': {
1524                       'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1525                     },
1526                   },
1527                 },
1528               },
1529               # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1530               'msvs_disabled_warnings': [ 4267, ],
1531             }],
1532             ['OS=="win" and win_use_allocator_shim==1', {
1533               'dependencies': [
1534                 '../base/allocator/allocator.gyp:allocator',
1535               ],
1536             }],
1537             ['OS=="mac"', {
1538               'dependencies': [
1539                 '../content/content_shell_and_tests.gyp:content_shell',  # Needed for Content Shell.app's Helper.
1540               ],
1541             }],
1542             ['enable_basic_printing==1 or enable_print_preview==1', {
1543               'dependencies': [
1544                 'components.gyp:printing_test_support',
1545               ],
1546               'sources' : [
1547                 'printing/test/print_web_view_helper_browsertest.cc',
1548               ],
1549             }]
1550           ],
1551         },
1552       ],
1553       'conditions': [
1554         ['test_isolation_mode != "noop"', {
1555           'targets': [
1556             {
1557               'target_name': 'components_browsertests_run',
1558               'type': 'none',
1559               'dependencies': [ 'components_browsertests' ],
1560               'includes': [
1561                 '../build/isolate.gypi',
1562               ],
1563               'sources': [
1564                 'components_browsertests.isolate',
1565               ],
1566               'conditions': [
1567                 ['use_x11==1', {
1568                   'dependencies': [
1569                     '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1570                   ],
1571                 }],
1572               ],
1573             },
1574           ],
1575         }],
1576       ],
1577     }],
1578     ['test_isolation_mode != "noop"', {
1579       'targets': [
1580         {
1581           'target_name': 'components_unittests_run',
1582           'type': 'none',
1583           'dependencies': [
1584             'components_unittests',
1585           ],
1586           'includes': [
1587             '../build/isolate.gypi',
1588           ],
1589           'sources': [
1590             'components_unittests.isolate',
1591           ],
1592           'conditions': [
1593             ['use_x11==1', {
1594               'dependencies': [
1595                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1596               ],
1597             }],
1598           ],
1599         },
1600       ],
1601     }],
1602     ['OS == "android"', {
1603       'targets': [
1604         {
1605           'target_name': 'components_unittests_apk',
1606           'isolate_file': 'components_unittests.isolate',
1607           'type': 'none',
1608           'dependencies': [
1609             'components_unittests',
1610             'components.gyp:invalidation_java',
1611             'components.gyp:signin_core_browser_java',
1612           ],
1613           'variables': {
1614             'test_suite_name': 'components_unittests',
1615           },
1616           'includes': [ '../build/apk_test.gypi' ],
1617         },
1618         {
1619           'target_name': 'components_junit_tests',
1620           'type': 'none',
1621           'dependencies': [
1622             'components.gyp:invalidation_java',
1623             'components.gyp:policy_java',
1624             '../base/base.gyp:base_java',
1625             '../base/base.gyp:base_java_test_support',
1626             '../testing/android/junit/junit_test.gyp:junit_test_support',
1627           ],
1628           'variables': {
1629             'main_class': 'org.chromium.testing.local.JunitTestMain',
1630             'src_paths': [
1631               'invalidation/impl/android/junit/',
1632               'policy/android/junit/'
1633             ],
1634           },
1635           'includes': [ '../build/host_jar.gypi' ],
1636          },
1637       ],
1638     }],
1639   ],