GN + Android: extract android_standalone_library rule.
[chromium-blink-merge.git] / components / components_tests.gyp
blob2c24c41d2d11c9105eeff03171d4ae680965ff1b
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,
11     'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components',
12    },
13   'conditions': [
14     ['android_webview_build == 0', {
15       'targets': [
16         {
17           # GN version: //components/components_unittests
18           'target_name': 'components_unittests',
19           'type': '<(gtest_target_type)',
20           'sources': [
21             # Note: sources list duplicated in GN build. In the GN build,
22             # each component has its own unit tests target defined in its
23             # directory that are then linked into the final content_unittests.
24             'auto_login_parser/auto_login_parser_unittest.cc',
25             'autofill/content/browser/content_autofill_driver_unittest.cc',
26             'autofill/content/browser/request_autocomplete_manager_unittest.cc',
27             'autofill/content/browser/wallet/full_wallet_unittest.cc',
28             'autofill/content/browser/wallet/instrument_unittest.cc',
29             'autofill/content/browser/wallet/wallet_address_unittest.cc',
30             'autofill/content/browser/wallet/wallet_client_unittest.cc',
31             'autofill/content/browser/wallet/wallet_items_unittest.cc',
32             'autofill/content/browser/wallet/wallet_service_url_unittest.cc',
33             'autofill/content/browser/wallet/wallet_signin_helper_unittest.cc',
34             'autofill/core/browser/address_field_unittest.cc',
35             'autofill/core/browser/address_i18n_unittest.cc',
36             'autofill/core/browser/address_unittest.cc',
37             'autofill/core/browser/autocomplete_history_manager_unittest.cc',
38             'autofill/core/browser/autofill_country_unittest.cc',
39             'autofill/core/browser/autofill_data_model_unittest.cc',
40             'autofill/core/browser/autofill_download_manager_unittest.cc',
41             'autofill/core/browser/autofill_external_delegate_unittest.cc',
42             'autofill/core/browser/autofill_field_unittest.cc',
43             'autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc',
44             'autofill/core/browser/autofill_manager_unittest.cc',
45             'autofill/core/browser/autofill_merge_unittest.cc',
46             'autofill/core/browser/autofill_metrics_unittest.cc',
47             'autofill/core/browser/autofill_profile_unittest.cc',
48             'autofill/core/browser/autofill_regexes_unittest.cc',
49             'autofill/core/browser/autofill_type_unittest.cc',
50             'autofill/core/browser/autofill_xml_parser_unittest.cc',
51             'autofill/core/browser/contact_info_unittest.cc',
52             'autofill/core/browser/credit_card_field_unittest.cc',
53             'autofill/core/browser/credit_card_unittest.cc',
54             'autofill/core/browser/form_field_unittest.cc',
55             'autofill/core/browser/form_structure_unittest.cc',
56             'autofill/core/browser/name_field_unittest.cc',
57             'autofill/core/browser/password_generator_unittest.cc',
58             'autofill/core/browser/personal_data_manager_unittest.cc',
59             'autofill/core/browser/phone_field_unittest.cc',
60             'autofill/core/browser/phone_number_i18n_unittest.cc',
61             'autofill/core/browser/phone_number_unittest.cc',
62             'autofill/core/browser/validation_unittest.cc',
63             'autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc',
64             'autofill/core/browser/webdata/autofill_table_unittest.cc',
65             'autofill/core/browser/webdata/web_data_service_unittest.cc',
66             'autofill/core/common/form_data_unittest.cc',
67             'autofill/core/common/form_field_data_unittest.cc',
68             'autofill/core/common/password_form_fill_data_unittest.cc',
69             'autofill/core/common/save_password_progress_logger_unittest.cc',
70             'bookmarks/browser/bookmark_codec_unittest.cc',
71             'bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc',
72             'bookmarks/browser/bookmark_index_unittest.cc',
73             'bookmarks/browser/bookmark_model_unittest.cc',
74             'bookmarks/browser/bookmark_utils_unittest.cc',
75             'browser_watcher/exit_code_watcher_win_unittest.cc',
76             'browser_watcher/watcher_client_win_unittest.cc',
77             'browser_watcher/watcher_metrics_provider_win_unittest.cc',
78             'crash/app/crash_keys_win_unittest.cc',
79             'captive_portal/captive_portal_detector_unittest.cc',
80             'cloud_devices/common/cloud_devices_urls_unittest.cc',
81             'cloud_devices/common/printer_description_unittest.cc',
82             'component_updater/test/component_patcher_unittest.cc',
83             'component_updater/test/component_updater_ping_manager_unittest.cc',
84             'component_updater/test/crx_downloader_unittest.cc',
85             'component_updater/test/request_sender_unittest.cc',
86             'component_updater/test/update_checker_unittest.cc',
87             'component_updater/test/update_response_unittest.cc',
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             'crx_file/id_util_unittest.cc',
96             'data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler_unittest.cc',
97             'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_unittest.cc',
98             'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc',
99             'data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc',
100             'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc',
101             'data_reduction_proxy/core/browser/data_reduction_proxy_prefs_unittest.cc',
102             'data_reduction_proxy/core/browser/data_reduction_proxy_protocol_unittest.cc',
103             'data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc',
104             'data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs_unittest.cc',
105             'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection_unittest.cc',
106             'data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats_unittest.cc',
107             'data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc',
108             'data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc',
109             'data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc',
110             'dom_distiller/core/article_entry_unittest.cc',
111             'dom_distiller/core/distilled_content_store_unittest.cc',
112             'dom_distiller/core/distilled_page_prefs_unittests.cc',
113             'dom_distiller/core/distiller_unittest.cc',
114             'dom_distiller/core/distiller_url_fetcher_unittest.cc',
115             'dom_distiller/core/dom_distiller_model_unittest.cc',
116             'dom_distiller/core/dom_distiller_service_unittest.cc',
117             'dom_distiller/core/dom_distiller_store_unittest.cc',
118             'dom_distiller/core/task_tracker_unittest.cc',
119             'dom_distiller/core/url_utils_unittest.cc',
120             'dom_distiller/core/viewer_unittest.cc',
121             'domain_reliability/config_unittest.cc',
122             'domain_reliability/context_unittest.cc',
123             'domain_reliability/dispatcher_unittest.cc',
124             'domain_reliability/monitor_unittest.cc',
125             'domain_reliability/scheduler_unittest.cc',
126             'domain_reliability/test_util.cc',
127             'domain_reliability/test_util.h',
128             'domain_reliability/uploader_unittest.cc',
129             'domain_reliability/util_unittest.cc',
130             # Note: GN tests converted to here, need to do the rest.
131             'enhanced_bookmarks/enhanced_bookmark_model_unittest.cc',
132             'enhanced_bookmarks/image_store_ios_unittest.mm',
133             'enhanced_bookmarks/image_store_unittest.cc',
134             'enhanced_bookmarks/item_position_unittest.cc',
135             'feedback/feedback_common_unittest.cc',
136             'feedback/feedback_data_unittest.cc',
137             'feedback/feedback_uploader_unittest.cc',
138             'gcm_driver/gcm_account_mapper_unittest.cc',
139             'gcm_driver/gcm_channel_status_request_unittest.cc',
140             'gcm_driver/gcm_client_impl_unittest.cc',
141             'gcm_driver/gcm_delayed_task_controller_unittest.cc',
142             'gcm_driver/gcm_driver_desktop_unittest.cc',
143             'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
144             'google/core/browser/google_url_tracker_unittest.cc',
145             'google/core/browser/google_util_unittest.cc',
146             'history/core/android/android_history_types_unittest.cc',
147             'history/core/browser/history_types_unittest.cc',
148             'history/core/browser/url_database_unittest.cc',
149             'history/core/common/thumbnail_score_unittest.cc',
150             'invalidation/invalidation_logger_unittest.cc',
151             'json_schema/json_schema_validator_unittest.cc',
152             'json_schema/json_schema_validator_unittest_base.cc',
153             'json_schema/json_schema_validator_unittest_base.h',
154             'keyed_service/content/browser_context_dependency_manager_unittest.cc',
155             'keyed_service/core/dependency_graph_unittest.cc',
156             'language_usage_metrics/language_usage_metrics_unittest.cc',
157             'leveldb_proto/proto_database_impl_unittest.cc',
158             'login/screens/screen_context_unittest.cc',
159             'metrics/compression_utils_unittest.cc',
160             'metrics/daily_event_unittest.cc',
161             'metrics/machine_id_provider_win_unittest.cc',
162             'metrics/metrics_hashes_unittest.cc',
163             'metrics/metrics_log_manager_unittest.cc',
164             'metrics/metrics_log_unittest.cc',
165             'metrics/metrics_reporting_scheduler_unittest.cc',
166             'metrics/metrics_service_unittest.cc',
167             'metrics/metrics_state_manager_unittest.cc',
168             'metrics/persisted_logs_unittest.cc',
169             'metrics/profiler/profiler_metrics_provider_unittest.cc',
170             'navigation_interception/intercept_navigation_resource_throttle_unittest.cc',
171             'network_time/network_time_tracker_unittest.cc',
172             'omaha_client/omaha_query_params_unittest.cc',
173             'omnibox/answers_cache_unittest.cc',
174             'omnibox/base_search_provider_unittest.cc',
175             'omnibox/autocomplete_input_unittest.cc',
176             'omnibox/autocomplete_match_unittest.cc',
177             'omnibox/autocomplete_result_unittest.cc',
178             'omnibox/keyword_provider_unittest.cc',
179             'omnibox/omnibox_field_trial_unittest.cc',
180             'omnibox/suggestion_answer_unittest.cc',
181             'os_crypt/ie7_password_win_unittest.cc',
182             'os_crypt/keychain_password_mac_unittest.mm',
183             'os_crypt/os_crypt_unittest.cc',
184             'ownership/owner_key_util_impl_unittest.cc',
185             'password_manager/core/browser/browser_save_password_progress_logger_unittest.cc',
186             'password_manager/core/browser/log_router_unittest.cc',
187             'password_manager/core/browser/login_database_unittest.cc',
188             'password_manager/core/browser/password_autofill_manager_unittest.cc',
189             'password_manager/core/browser/password_form_manager_unittest.cc',
190             'password_manager/core/browser/password_generation_manager_unittest.cc',
191             'password_manager/core/browser/password_manager_unittest.cc',
192             'password_manager/core/browser/password_manager_url_collection_experiment_unittest.cc',
193             'password_manager/core/browser/password_store_default_unittest.cc',
194             'password_manager/core/browser/password_store_unittest.cc',
195             'password_manager/core/browser/password_syncable_service_unittest.cc',
196             'password_manager/core/browser/psl_matching_helper_unittest.cc',
197             'precache/content/precache_manager_unittest.cc',
198             'precache/core/precache_database_unittest.cc',
199             'precache/core/precache_fetcher_unittest.cc',
200             'precache/core/precache_url_table_unittest.cc',
201             'query_parser/query_parser_unittest.cc',
202             'query_parser/snippet_unittest.cc',
203             'rappor/bloom_filter_unittest.cc',
204             'rappor/byte_vector_utils_unittest.cc',
205             'rappor/log_uploader_unittest.cc',
206             'rappor/rappor_metric_unittest.cc',
207             'rappor/rappor_service_unittest.cc',
208             'search/search_android_unittest.cc',
209             'search/search_unittest.cc',
210             'search_engines/default_search_manager_unittest.cc',
211             'search_engines/default_search_policy_handler_unittest.cc',
212             'search_engines/search_host_to_urls_map_unittest.cc',
213             'search_engines/template_url_prepopulate_data_unittest.cc',
214             'search_engines/template_url_service_util_unittest.cc',
215             'search_engines/template_url_unittest.cc',
216             'search_provider_logos/logo_cache_unittest.cc',
217             'search_provider_logos/logo_tracker_unittest.cc',
218             'sessions/content/content_serialized_navigation_builder_unittest.cc',
219             'sessions/content/content_serialized_navigation_driver_unittest.cc',
220             'sessions/ios/ios_serialized_navigation_builder_unittest.cc',
221             'sessions/ios/ios_serialized_navigation_driver_unittest.cc',
222             'sessions/serialized_navigation_entry_unittest.cc',
223             'sessions/session_types_unittest.cc',
224             'signin/core/browser/account_tracker_service_unittest.cc',
225             'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc',
226             'signin/core/browser/refresh_token_annotation_request_unittest.cc',
227             'signin/core/browser/signin_error_controller_unittest.cc',
228             'signin/core/browser/webdata/token_service_table_unittest.cc',
229             'signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm',
230             'storage_monitor/image_capture_device_manager_unittest.mm',
231             'storage_monitor/media_storage_util_unittest.cc',
232             'storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc',
233             'storage_monitor/storage_info_unittest.cc',
234             'storage_monitor/storage_monitor_chromeos_unittest.cc',
235             'storage_monitor/storage_monitor_linux_unittest.cc',
236             'storage_monitor/storage_monitor_mac_unittest.mm',
237             'storage_monitor/storage_monitor_unittest.cc',
238             'storage_monitor/storage_monitor_win_unittest.cc',
239             'suggestions/blacklist_store_unittest.cc',
240             'suggestions/image_manager_unittest.cc',
241             'suggestions/suggestions_service_unittest.cc',
242             'suggestions/suggestions_store_unittest.cc',
243             'sync_driver/non_ui_data_type_controller_unittest.cc',
244             'sync_driver/data_type_manager_impl_unittest.cc',
245             'sync_driver/device_info_data_type_controller_unittest.cc',
246             'sync_driver/device_info_sync_service_unittest.cc',
247             'sync_driver/generic_change_processor_unittest.cc',
248             'sync_driver/model_association_manager_unittest.cc',
249             'sync_driver/non_blocking_data_type_controller_unittest.cc',
250             'sync_driver/shared_change_processor_unittest.cc',
251             'sync_driver/sync_prefs_unittest.cc',
252             'sync_driver/system_encryptor_unittest.cc',
253             'sync_driver/ui_data_type_controller_unittest.cc',
254             'test/run_all_unittests.cc',
255             'translate/core/browser/language_state_unittest.cc',
256             'translate/core/browser/translate_browser_metrics_unittest.cc',
257             'translate/core/browser/translate_prefs_unittest.cc',
258             'translate/core/browser/translate_script_unittest.cc',
259             'translate/core/common/translate_metrics_unittest.cc',
260             'translate/core/common/translate_util_unittest.cc',
261             'translate/core/language_detection/language_detection_util_unittest.cc',
262             'url_matcher/regex_set_matcher_unittest.cc',
263             'url_matcher/string_pattern_unittest.cc',
264             'url_matcher/substring_set_matcher_unittest.cc',
265             'url_matcher/url_matcher_factory_unittest.cc',
266             'url_matcher/url_matcher_unittest.cc',
267             'url_fixer/url_fixer_unittest.cc',
268             'variations/active_field_trials_unittest.cc',
269             'variations/caching_permuted_entropy_provider_unittest.cc',
270             'variations/entropy_provider_unittest.cc',
271             'variations/metrics_util_unittest.cc',
272             'variations/net/variations_http_header_provider_unittest.cc',
273             'variations/study_filtering_unittest.cc',
274             'variations/variations_associated_data_unittest.cc',
275             'variations/variations_seed_processor_unittest.cc',
276             'variations/variations_seed_simulator_unittest.cc',
277             'visitedlink/test/visitedlink_unittest.cc',
278             'wallpaper/wallpaper_resizer_unittest.cc',
279             'web_cache/browser/web_cache_manager_unittest.cc',
280             'web_modal/web_contents_modal_dialog_manager_unittest.cc',
281             'web_resource/eula_accepted_notifier_unittest.cc',
282             'web_resource/resource_request_allowed_notifier_unittest.cc',
283             'webdata/common/web_database_migration_unittest.cc',
284           ],
285           'include_dirs': [
286             '..',
287           ],
288           'dependencies': [
289             '../base/base.gyp:base_prefs_test_support',
290             '../base/base.gyp:test_support_base',
291             # TODO(blundell): Eliminate this dependency by having
292             # components_unittests have its own pakfile. crbug.com/348563
293             '../chrome/chrome_resources.gyp:packed_extra_resources',
294             # TODO(blundell): Eliminate the need for this dependency in code
295             # that iOS shares. crbug.com/325243
296             '../content/content_shell_and_tests.gyp:test_support_content',
297             '../sql/sql.gyp:test_support_sql',
298             '../sync/sync.gyp:sync',
299             '../sync/sync.gyp:test_support_sync_api',
300             '../testing/gmock.gyp:gmock',
301             '../testing/gtest.gyp:gtest',
302             '../ui/base/ui_base.gyp:ui_base',
303             '../ui/gfx/gfx.gyp:gfx',
304             '../ui/gfx/gfx.gyp:gfx_test_support',
306             'components_resources.gyp:components_resources',
308             # Dependencies of auto_login_parser
309             'components.gyp:auto_login_parser',
311             # Dependencies of autofill
312             'components.gyp:autofill_core_browser',
313             'components.gyp:autofill_core_common',
314             'components.gyp:autofill_core_test_support',
315             'components_strings.gyp:components_strings',
316             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
317             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util',
319             # Dependencies of bookmarks
320             'components.gyp:bookmarks_browser',
321             'components.gyp:bookmarks_test_support',
323             # Dependencies of captive_portal
324             'components.gyp:captive_portal_test_support',
325             '../net/net.gyp:net_test_support',
327             # Dependencies of cloud_devices
328             'components.gyp:cloud_devices_common',
330             # Dependencies of component_updater
331             'components.gyp:component_updater',
332             'components.gyp:component_updater_test_support',
333             '../third_party/libxml/libxml.gyp:libxml',
335             # Dependencies of content_settings
336             'components.gyp:content_settings_core_browser',
337             'components.gyp:content_settings_core_common',
338             'components.gyp:content_settings_core_test_support',
340             # Dependencies of crash
341             'components.gyp:crash_test_support',
343             # Dependencies of crx_file
344             'components.gyp:crx_file',
346             # Dependencies of data_reduction_proxy
347             'components.gyp:data_reduction_proxy_core_browser',
348             'components.gyp:data_reduction_proxy_core_common',
349             'components.gyp:data_reduction_proxy_test_support',
351             # Dependencies of dom_distiller
352             'components.gyp:distilled_page_proto',
353             'components.gyp:dom_distiller_core',
354             'components.gyp:dom_distiller_test_support',
356             # Dependencies of domain_reliability
357             'components.gyp:domain_reliability',
359             # Dependencies of enhanced_bookmarks
360             'components.gyp:enhanced_bookmarks',
361             'components.gyp:enhanced_bookmarks_test_support',
363             # Dependencies of feedback
364             'components.gyp:feedback_component',
366             # Dependencies of gcm
367             'components.gyp:gcm_driver',
368             'components.gyp:gcm_driver_test_support',
370             # Dependencies of google
371             'components.gyp:google_core_browser',
373             # Dependencies of history
374             'components.gyp:history_core_browser',
375             'components.gyp:history_core_common',
377             # Dependencies of infobar
378             'components.gyp:infobars_test_support',
380             # Dependencies of invalidation
381             'components.gyp:invalidation',
382             'components.gyp:invalidation_test_support',
383             '../jingle/jingle.gyp:notifier_test_util',
384             '../third_party/libjingle/libjingle.gyp:libjingle',
386             # Dependencies of json_schema
387             'components.gyp:json_schema',
389             # Dependencies of keyed_service
390             'components.gyp:keyed_service_core',
392             # Dependencies of language_usage_metrics
393             'components.gyp:language_usage_metrics',
395             # Dependencies of leveldb_proto
396             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
397             'components.gyp:leveldb_proto',
398             'components.gyp:leveldb_proto_test_support',
400             # Dependencies of login
401             'components.gyp:login',
403             # Dependencies of metrics
404             'components.gyp:metrics',
405             'components.gyp:metrics_gpu',
406             'components.gyp:metrics_net',
407             'components.gyp:metrics_profiler',
408             'components.gyp:metrics_test_support',
410             # Dependencies of network_time
411             'components.gyp:network_time',
413             # Dependencies of omaha_client
414             'components.gyp:omaha_client',
416             # Dependencies of omnibox
417             'components.gyp:omnibox',
418             'components.gyp:omnibox_test_support',
420             # Dependencies of os_crypt
421             'components.gyp:os_crypt',
423             # Dependencies of ownership
424             'components.gyp:ownership',
426             # Dependencies of password_manager
427             'components.gyp:password_manager_core_browser',
428             'components.gyp:password_manager_core_browser_test_support',
430             # Dependencies of precache/core
431             'components.gyp:password_manager_core_browser',
432             'components.gyp:precache_core',
434             # Dependencies of pref_registry
435             'components.gyp:pref_registry_test_support',
437             # Dependencies of query_parser
438             'components.gyp:query_parser',
440             # Dependencies of rappor
441             'components.gyp:rappor',
443             # Dependencies of search
444             'components.gyp:search',
446             # Dependencies of search_engines
447             'components.gyp:search_engines',
448             'components.gyp:search_engines_test_support',
450             # Dependencies of search_provider_logos
451             'components.gyp:search_provider_logos',
453             # Dependencies of sessions
454             '../third_party/protobuf/protobuf.gyp:protobuf_lite',
455             'components.gyp:sessions_test_support',
457             # Dependencies of signin
458             'components.gyp:signin_core_browser',
459             'components.gyp:signin_core_browser_test_support',
460             '../google_apis/google_apis.gyp:google_apis_test_support',
462             # Dependencies of suggestions
463             'components.gyp:suggestions',
465             # Dependencies of sync_driver
466             'components.gyp:sync_driver_test_support',
468             # Dependencies of translate.
469             'components.gyp:translate_core_browser',
470             'components.gyp:translate_core_common',
471             'components.gyp:translate_core_language_detection',
473             # Dependencies of wallpaper
474             'components.gyp:wallpaper',
476             # Dependencies of url_fixer
477             'components.gyp:url_fixer',
478             '../url/url.gyp:url_lib',
480             # Dependencies of variations
481             'components.gyp:variations',
482             'components.gyp:variations_http_provider',
484             # Dependencies of web_resource
485             'components.gyp:web_resource',
486             'components.gyp:web_resource_test_support',
487             '../base/base.gyp:base',
488           ],
489           'conditions': [
490             ['toolkit_views == 1', {
491               'sources': [
492                 'bookmarks/browser/bookmark_node_data_unittest.cc',
493                 'constrained_window/constrained_window_views_unittest.cc',
494               ],
495               'dependencies': [
496                 '<(DEPTH)/ui/views/views.gyp:views_test_support',
497                 'components.gyp:constrained_window',
498               ]
499             }],
500             ['OS=="win"', {
501               'dependencies': [
502                  # Dependencies of browser_watcher, windows only.
503                  'components.gyp:browser_watcher',
504                  'components.gyp:browser_watcher_client',
505               ]
506             }],
507             ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
508               'dependencies': [
509                 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
510               ],
511             }],
512             [ 'cld_version==0 or cld_version==2', {
513               'dependencies': [
514                 # Unit tests should always use statically-linked CLD data.
515                 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
516             }],
517             ['OS != "ios"', {
518               'sources': [
519                 'autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc',
520                 'dns_prefetch/renderer/predictor_queue_unittest.cc',
521                 'dns_prefetch/renderer/renderer_net_predictor_unittest.cc',
522                 'dom_distiller/content/dom_distiller_viewer_source_unittest.cc',
523                 'dom_distiller/content/web_contents_main_frame_observer_unittest.cc',
524                 'error_page/renderer/net_error_helper_core_unittest.cc',
525                 'metrics/gpu/gpu_metrics_provider_unittest.cc',
526                 'password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc',
527                 'power/origin_power_map_unittest.cc',
528               ],
529               'dependencies': [
530                 # Dependencies of autofill
531                 'components.gyp:autofill_content_browser',
532                 'components.gyp:autofill_content_renderer',
533                 'components.gyp:autofill_content_test_support',
535                 # Dependencies of dns_prefetch
536                 'components.gyp:dns_prefetch_renderer',
538                 # Dependencies of dom_distiller
539                 'components.gyp:dom_distiller_content',
541                 # Dependencies of error_page
542                 'components.gyp:error_page_renderer',
544                 # Dependencies of
545                 # intercept_navigation_resource_throttle_unittest.cc
546                 '../skia/skia.gyp:skia',
547                 'components.gyp:navigation_interception',
549                 # Dependencies of keyed_service
550                 'components.gyp:keyed_service_content',
552                 # Dependencies of password_manager
553                 'components.gyp:password_manager_content_browser',
554                 'components.gyp:password_manager_content_common',
556                 # Dependencies of precache/content
557                 'components.gyp:precache_content',
559                 # Dependencies of power
560                 'components.gyp:power',
562                 # Dependencies of sessions
563                 'components.gyp:sessions_content',
565                 # Dependencies of storage monitor
566                 'components.gyp:storage_monitor',
567                 'components.gyp:storage_monitor_test_support',
569                 # Dependencies of url_matcher.
570                 'components.gyp:url_matcher',
572                 # Dependencies of visitedlink
573                 'components.gyp:visitedlink_browser',
574                 'components.gyp:visitedlink_renderer',
576                 # Dependencies of web_cache
577                 'components.gyp:web_cache_browser',
579                 # Dependencies of web_modal
580                 'components.gyp:web_modal',
581                 'components.gyp:web_modal_test_support',
582               ],
583               'conditions': [
584                 ['OS != "android"', {
585                   'sources': [
586                     'sessions/session_backend_unittest.cc',
587                    ],
588                 }],
589               ],
590             }, { # 'OS == "ios"'
591               'includes': ['../chrome/chrome_ios_bundle_resources.gypi'],
592               'sources/': [
593                 ['exclude', '\\.cc$'],
594                 ['exclude', '\\.mm$'],
595                 ['include', '^test/run_all_unittests\\.cc$'],
596                 ['include', '^auto_login_parser/'],
597                 ['include', '^autofill/core/'],
598                 ['include', '^bookmarks/'],
599                 ['include', '^component_updater/'],
600                 ['include', '^crash/'],
601                 ['include', '^content_settings/'],
602                 ['include', '^data_reduction_proxy/'],
603                 ['include', '^dom_distiller/'],
604                 ['include', '^enhanced_bookmarks/'],
605                 ['include', '^gcm_driver/'],
606                 ['include', '^google/'],
607                 ['include', '^history/'],
608                 ['include', '^invalidation/'],
609                 ['include', '^json_schema/'],
610                 ['include', '^keyed_service/core/'],
611                 ['include', '^language_usage_metrics/'],
612                 ['include', '^leveldb_proto/'],
613                 ['include', '^metrics/'],
614                 ['include', '^network_time/'],
615                 ['include', '^password_manager/'],
616                 ['include', '^precache/core/'],
617                 ['include', '^query_parser/'],
618                 ['include', '^search/'],
619                 ['include', '^search_engines/'],
620                 ['include', '^search_provider_logos/'],
621                 ['include', '^sessions/ios/'],
622                 ['include', '^sessions/serialized_navigation_entry_unittest\\.cc$'],
623                 ['exclude', '^signin/core/browser/mutable_profile_oauth2_token_service_unittest\\.cc$'],
624                 ['include', '^suggestions/'],
625                 ['include', '^sync_driver/'],
626                 ['include', '^translate/'],
627                 ['include', '^url_fixer/'],
628                 ['include', '^variations/'],
629               ],
630               'dependencies': [
631                 # Dependencies of sessions
632                 'components.gyp:sessions_ios',
634                 # Dependencies of signin
635                 'components.gyp:signin_ios_browser',
636                 '../ios/ios_tests.gyp:test_support_ios',
637               ],
638               'actions': [
639                 {
640                   'action_name': 'copy_test_data',
641                   'variables': {
642                     'test_data_files': [
643                       'test/data',
644                     ],
645                     'test_data_prefix': 'components',
646                   },
647                   'includes': [ '../build/copy_test_data_ios.gypi' ],
648                 },
649               ],
650               'conditions': [
651                 ['configuration_policy==1', {
652                   'sources/': [
653                     ['include', '^policy/'],
654                   ],
655                 }],
656               ],
657             }],
658             ['disable_nacl==0', {
659               'includes': [
660                 'nacl/nacl_defines.gypi',
661               ],
662               'defines': [
663                 '<@(nacl_defines)',
664               ],
665               'sources': [
666                 'nacl/browser/nacl_file_host_unittest.cc',
667                 'nacl/browser/nacl_process_host_unittest.cc',
668                 'nacl/browser/nacl_validation_cache_unittest.cc',
669                 'nacl/browser/pnacl_host_unittest.cc',
670                 'nacl/browser/pnacl_translation_cache_unittest.cc',
671                 'nacl/browser/test_nacl_browser_delegate.cc',
672                 'nacl/zygote/nacl_fork_delegate_linux_unittest.cc',
673               ],
674               'dependencies': [
675                 'nacl.gyp:nacl_browser',
676                 'nacl.gyp:nacl_common',
677               ],
678             }],
679             ['OS == "mac"', {
680               'link_settings': {
681                 'libraries': [
682                   '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
683                   '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
684                   '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framework',
685                 ],
686               },
687               'sources!': [
688                 'password_manager/core/browser/password_store_default_unittest.cc',
689               ],
690             }],
691             ['OS == "android"', {
692               'sources': [
693                 'invalidation/invalidation_service_android_unittest.cc',
694               ],
695               'sources!': [
696                 'gcm_driver/gcm_account_mapper_unittest.cc',
697                 'gcm_driver/gcm_channel_status_request_unittest.cc',
698                 'gcm_driver/gcm_client_impl_unittest.cc',
699                 'gcm_driver/gcm_delayed_task_controller_unittest.cc',
700                 'gcm_driver/gcm_driver_desktop_unittest.cc',
701                 'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
702                 'feedback/feedback_common_unittest.cc',
703                 'feedback/feedback_data_unittest.cc',
704                 'feedback/feedback_uploader_unittest.cc',
705                 'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc',
706                 'storage_monitor/media_storage_util_unittest.cc',
707                 'storage_monitor/storage_info_unittest.cc',
708                 'storage_monitor/storage_monitor_unittest.cc',
709                 'web_modal/web_contents_modal_dialog_manager_unittest.cc',
710               ],
711               'dependencies': [
712                 '../testing/android/native_test.gyp:native_test_native_code',
713                 'components.gyp:history_core_android',
714               ],
715               'dependencies!': [
716                 'components.gyp:feedback_component',
717                 'components.gyp:storage_monitor',
718                 'components.gyp:storage_monitor_test_support',
719                 'components.gyp:web_modal',
720                 'components.gyp:web_modal_test_support',
721               ],
722             }],
723             ['OS != "android"', {
724               'sources': [
725                 'invalidation/fake_invalidator_unittest.cc',
726                 'invalidation/gcm_network_channel_unittest.cc',
727                 'invalidation/invalidation_notifier_unittest.cc',
728                 'invalidation/invalidator_registrar_unittest.cc',
729                 'invalidation/non_blocking_invalidator_unittest.cc',
730                 'invalidation/object_id_invalidation_map_unittest.cc',
731                 'invalidation/p2p_invalidator_unittest.cc',
732                 'invalidation/push_client_channel_unittest.cc',
733                 'invalidation/registration_manager_unittest.cc',
734                 'invalidation/single_object_invalidation_set_unittest.cc',
735                 'invalidation/sync_invalidation_listener_unittest.cc',
736                 'invalidation/sync_system_resources_unittest.cc',
737                 'invalidation/ticl_invalidation_service_unittest.cc',
738                 'invalidation/unacked_invalidation_set_unittest.cc',
739               ],
740             }],
741             ['OS != "ios" and OS != "android"', {
742               'sources': [
743                 'copresence/handlers/audio/audio_directive_handler_unittest.cc',
744                 'copresence/handlers/audio/audio_directive_list_unittest.cc',
745                 'copresence/handlers/directive_handler_unittest.cc',
746                 'copresence/handlers/gcm_handler_unittest.cc',
747                 'copresence/mediums/audio/audio_manager_unittest.cc',
748                 'copresence/mediums/audio/audio_player_unittest.cc',
749                 'copresence/mediums/audio/audio_recorder_unittest.cc',
750                 'copresence/rpc/http_post_unittest.cc',
751                 'copresence/rpc/rpc_handler_unittest.cc',
752                 'copresence/timed_map_unittest.cc',
753                 'proximity_auth/base64url_unittest.cc',
754                 'proximity_auth/bluetooth_connection_unittest.cc',
755                 'proximity_auth/bluetooth_connection_finder_unittest.cc',
756                 'proximity_auth/client_unittest.cc',
757                 'proximity_auth/connection_unittest.cc',
758                 'proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc',
759                 'proximity_auth/cryptauth/cryptauth_client_unittest.cc',
760                 'proximity_auth/proximity_auth_system_unittest.cc',
761                 'proximity_auth/remote_status_update_unittest.cc',
762                 'proximity_auth/wire_message_unittest.cc',
763               ],
764               'dependencies': [
765                 # Dependencies for copresence.
766                 'components.gyp:copresence',
767                 'components.gyp:copresence_test_support',
769                 # Dependencies of proxmity_auth
770                 'components.gyp:proximity_auth',
771                 'components.gyp:cryptauth',
772                 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
773                 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
774               ],
775             }],
776             ['chromeos==1', {
777               'sources': [
778                 'pairing/message_buffer_unittest.cc',
779                 'timers/alarm_timer_unittest.cc',
780               ],
781               'sources!': [
782                 'storage_monitor/storage_monitor_linux_unittest.cc',
783               ],
784               'dependencies': [
785                 'components.gyp:pairing',
786                 '../chromeos/chromeos.gyp:chromeos_test_support',
787               ],
788             }],
789             ['OS=="linux"', {
790               'sources': [
791                 'metrics/serialization/serialization_utils_unittest.cc',
792               ],
793               'dependencies': [
794                 'components.gyp:metrics_serialization',
795                 '../dbus/dbus.gyp:dbus',
796                 '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
797               ],
798             }],
799             ['OS=="linux" and use_udev==0', {
800               'dependencies!': [
801                 'components.gyp:storage_monitor',
802                 'components.gyp:storage_monitor_test_support',
803               ],
804               'sources/': [
805                 ['exclude', '^storage_monitor/'],
806               ],
807             }],
808             ['OS=="win" and win_use_allocator_shim==1', {
809               'dependencies': [
810                 '../base/allocator/allocator.gyp:allocator',
811               ],
812             }],
813             ['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
814             'dependencies': [
815                 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
816             ],
817             'link_settings': {
818                 'ldflags': ['-rdynamic'],
819             },
820             }],
821             ['configuration_policy==1', {
822               'dependencies': [
823                 'components.gyp:policy_component',
824                 'components.gyp:policy_component_test_support',
825                 'components.gyp:policy_test_support',
826               ],
827               'sources': [
828                 'policy/core/browser/autofill_policy_handler_unittest.cc',
829                 'policy/core/browser/browser_policy_connector_unittest.cc',
830                 'policy/core/browser/configuration_policy_handler_unittest.cc',
831                 'policy/core/browser/configuration_policy_pref_store_unittest.cc',
832                 'policy/core/browser/managed_bookmarks_tracker_unittest.cc',
833                 'policy/core/browser/url_blacklist_policy_handler_unittest.cc',
834                 'policy/core/common/async_policy_provider_unittest.cc',
835                 'policy/core/common/cloud/cloud_policy_client_unittest.cc',
836                 'policy/core/common/cloud/cloud_policy_constants_unittest.cc',
837                 'policy/core/common/cloud/cloud_policy_core_unittest.cc',
838                 'policy/core/common/cloud/cloud_policy_manager_unittest.cc',
839                 'policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc',
840                 'policy/core/common/cloud/cloud_policy_service_unittest.cc',
841                 'policy/core/common/cloud/cloud_policy_validator_unittest.cc',
842                 'policy/core/common/cloud/component_cloud_policy_service_unittest.cc',
843                 'policy/core/common/cloud/component_cloud_policy_store_unittest.cc',
844                 'policy/core/common/cloud/component_cloud_policy_updater_unittest.cc',
845                 'policy/core/common/cloud/device_management_service_unittest.cc',
846                 'policy/core/common/cloud/external_policy_data_fetcher_unittest.cc',
847                 'policy/core/common/cloud/external_policy_data_updater_unittest.cc',
848                 'policy/core/common/cloud/policy_header_io_helper_unittest.cc',
849                 'policy/core/common/cloud/policy_header_service_unittest.cc',
850                 'policy/core/common/cloud/resource_cache_unittest.cc',
851                 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc',
852                 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
853                 'policy/core/common/cloud/user_info_fetcher_unittest.cc',
854                 'policy/core/common/config_dir_policy_loader_unittest.cc',
855                 'policy/core/common/generate_policy_source_unittest.cc',
856                 'policy/core/common/policy_bundle_unittest.cc',
857                 'policy/core/common/policy_loader_ios_unittest.mm',
858                 'policy/core/common/policy_loader_mac_unittest.cc',
859                 'policy/core/common/policy_loader_win_unittest.cc',
860                 'policy/core/common/policy_map_unittest.cc',
861                 'policy/core/common/policy_provider_android_unittest.cc',
862                 'policy/core/common/policy_service_impl_unittest.cc',
863                 'policy/core/common/policy_statistics_collector_unittest.cc',
864                 'policy/core/common/preg_parser_win_unittest.cc',
865                 'policy/core/common/registry_dict_win_unittest.cc',
866                 'policy/core/common/schema_map_unittest.cc',
867                 'policy/core/common/schema_registry_tracking_policy_provider_unittest.cc',
868                 'policy/core/common/schema_registry_unittest.cc',
869                 'policy/core/common/schema_unittest.cc',
870                 'search_engines/default_search_policy_handler_unittest.cc',
871               ],
872               'conditions': [
873                 ['OS=="android"', {
874                   'sources/': [
875                     ['exclude', '^policy/core/common/async_policy_provider_unittest\\.cc'],
876                   ],
877                 }],
878                 ['OS=="android" or OS=="ios"', {
879                   # Note: 'sources!' is processed before any 'sources/', so the
880                   # ['include', '^policy/'] on iOS above will include all of the
881                   # policy source files again. Using 'source/' here too will get
882                   # these files excluded as expected.
883                   'sources/': [
884                     ['exclude', '^policy/core/common/cloud/component_cloud_policy_service_unittest\\.cc'],
885                     ['exclude', '^policy/core/common/cloud/component_cloud_policy_store_unittest\\.cc'],
886                     ['exclude', '^policy/core/common/cloud/component_cloud_policy_updater_unittest\\.cc'],
887                     ['exclude', '^policy/core/common/cloud/external_policy_data_fetcher_unittest\\.cc'],
888                     ['exclude', '^policy/core/common/cloud/external_policy_data_updater_unittest\\.cc'],
889                     ['exclude', '^policy/core/common/cloud/resource_cache_unittest\\.cc'],
890                     ['exclude', '^policy/core/common/config_dir_policy_loader_unittest\\.cc'],
891                   ],
892                 }],
893                 ['chromeos==1', {
894                   'sources': [
895                     'policy/core/common/proxy_policy_provider_unittest.cc',
896                   ],
897                   'sources!': [
898                     'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc',
899                     'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
900                   ],
901                 }],
902                 ['OS=="ios" or OS=="mac"', {
903                   'sources': [
904                     'policy/core/common/mac_util_unittest.cc',
905                   ],
906                 }],
907               ],
908             }],
909           ],
910           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
911           'msvs_disabled_warnings': [4267, ],
912         },
913       ],
914     }],
915     ['OS != "ios" and android_webview_build == 0', {
916       'targets': [
917         {
918           'target_name': 'components_perftests',
919           'type': '<(gtest_target_type)',
920           'dependencies': [
921             '../base/base.gyp:base',
922             '../base/base.gyp:test_support_perf',
923             '../content/content_shell_and_tests.gyp:test_support_content',
924             '../testing/gtest.gyp:gtest',
925             'components.gyp:visitedlink_browser',
926           ],
927          'include_dirs': [
928            '..',
929          ],
930          'sources': [
931            'visitedlink/test/visitedlink_perftest.cc',
932          ],
933          'conditions': [
934            ['OS == "android"', {
935              'dependencies': [
936                '../testing/android/native_test.gyp:native_test_native_code',
937              ],
938            }],
939            ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
940              'dependencies': [
941                '<(DEPTH)/base/allocator/allocator.gyp:allocator',
942              ],
943            }],
944          ],
945          # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
946          'msvs_disabled_warnings': [ 4267, ],
947         },
948       ],
949       'conditions': [
950         ['OS == "android"', {
951           'targets': [
952             {
953               'target_name': 'components_unittests_apk',
954               'type': 'none',
955               'dependencies': [
956                 'components_unittests',
957                 'components.gyp:invalidation_java',
958               ],
959               'variables': {
960                 'test_suite_name': 'components_unittests',
961               },
962               'includes': [ '../build/apk_test.gypi' ],
963             },
964           ],
965         }],
966       ],
967     }],
968     ['OS!="ios"', {
969       'targets': [
970         {
971           'target_name': 'components_browsertests',
972           'type': '<(gtest_target_type)',
973           'defines!': ['CONTENT_IMPLEMENTATION'],
974           'dependencies': [
975             'components.gyp:autofill_content_browser',
976             'components.gyp:password_manager_content_renderer',
977             'components.gyp:pref_registry_test_support',
978             'components_resources.gyp:components_resources',
979             '../content/content.gyp:content_common',
980             '../content/content.gyp:content_gpu',
981             '../content/content.gyp:content_plugin',
982             '../content/content.gyp:content_renderer',
983             '../content/content_shell_and_tests.gyp:content_browser_test_support',
984             '../content/content_shell_and_tests.gyp:content_shell_lib',
985             '../content/content_shell_and_tests.gyp:content_shell_pak',
986             '../content/content_shell_and_tests.gyp:test_support_content',
987             '../skia/skia.gyp:skia',
988             '../testing/gmock.gyp:gmock',
989             '../testing/gtest.gyp:gtest',
991             # Dependencies of dom_distiller
992             'components.gyp:dom_distiller_content',
993             'components.gyp:dom_distiller_core',
994             'components_strings.gyp:components_strings',
995           ],
996           'include_dirs': [
997             '..',
998           ],
999           'defines': [
1000             'HAS_OUT_OF_PROC_TEST_RUNNER',
1001           ],
1002           'sources': [
1003             'autofill/content/browser/risk/fingerprint_browsertest.cc',
1004             'dom_distiller/content/distiller_page_web_contents_browsertest.cc',
1005             'password_manager/content/renderer/credential_manager_client_browsertest.cc',
1006           ],
1007           'actions': [
1008             {
1009               'action_name': 'repack_components_pack',
1010               'variables': {
1011                 'pak_inputs': [
1012                   '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
1013                   '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_strings_en-US.pak',
1014                 ],
1015                 'pak_output': '<(PRODUCT_DIR)/components_resources.pak',
1016               },
1017               'includes': [ '../build/repack_action.gypi' ],
1018             },
1019           ],
1020           'conditions': [
1021             ['OS == "android"', {
1022               'sources!': [
1023                 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1024               ],
1025             }],
1026             ['OS == "linux"', {
1027               'sources': [
1028                   # content_extractor is a standalone content extraction tool built as
1029                   # a MANUAL component_browsertest.
1030                   'dom_distiller/standalone/content_extractor.cc',
1031                 ],
1032             }],
1033             ['OS=="win"', {
1034               'resource_include_dirs': [
1035                 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources',
1036                 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1037               ],
1038               'sources': [
1039                 '../content/shell/app/resource.h',
1040                 '../content/shell/app/shell.rc',
1041                 # TODO:  It would be nice to have these pulled in
1042                 # automatically from direct_dependent_settings in
1043                 # their various targets (net.gyp:net_resources, etc.),
1044                 # but that causes errors in other targets when
1045                 # resulting .res files get referenced multiple times.
1046                 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.rc',
1047                 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.rc',
1048                 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1049               ],
1050               'dependencies': [
1051                 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources',
1052                 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
1053                 '<(DEPTH)/net/net.gyp:net_resources',
1054                 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
1055                 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1056                 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
1057               ],
1058               'configurations': {
1059                 'Debug_Base': {
1060                   'msvs_settings': {
1061                     'VCLinkerTool': {
1062                       'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1063                     },
1064                   },
1065                 },
1066               },
1067               # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1068               'msvs_disabled_warnings': [ 4267, ],
1069             }],
1070             ['OS=="win" and win_use_allocator_shim==1', {
1071               'dependencies': [
1072                 '../base/allocator/allocator.gyp:allocator',
1073               ],
1074             }],
1075           ],
1076         },
1077       ],
1078     }],
1079   ],