blob: dd49f6c3879cfe9b5da7ad84bb2e95b85706dd76 [file] [log] [blame]
[email protected]2b894b82014-06-18 16:22:301# Copyright 2014 The Chromium Authors. All rights reserved.
[email protected]64f5650c2013-01-11 05:35:092# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
[email protected]7fa0f512013-10-22 14:19:366 '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,
stuartmorgan7056cb32015-03-05 09:33:4211
12 # Note: sources list duplicated in GN build. In the GN build,
13 # each component has its own unit tests target defined in its
14 # directory that are then linked into the final content_unittests.
15 'auto_login_parser_unittest_sources': [
16 'auto_login_parser/auto_login_parser_unittest.cc',
17 ],
18 'autofill_unittest_sources': [
19 'autofill/content/browser/content_autofill_driver_unittest.cc',
20 'autofill/content/browser/request_autocomplete_manager_unittest.cc',
21 'autofill/content/browser/wallet/full_wallet_unittest.cc',
22 'autofill/content/browser/wallet/instrument_unittest.cc',
estade2a205a72015-03-25 23:49:3723 'autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:4224 'autofill/content/browser/wallet/wallet_address_unittest.cc',
25 'autofill/content/browser/wallet/wallet_client_unittest.cc',
26 'autofill/content/browser/wallet/wallet_items_unittest.cc',
27 'autofill/content/browser/wallet/wallet_service_url_unittest.cc',
28 'autofill/content/browser/wallet/wallet_signin_helper_unittest.cc',
stuartmorgan9c258342015-03-05 15:36:2529 'autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:4230 'autofill/core/browser/address_field_unittest.cc',
31 'autofill/core/browser/address_i18n_unittest.cc',
32 'autofill/core/browser/address_unittest.cc',
33 'autofill/core/browser/autocomplete_history_manager_unittest.cc',
34 'autofill/core/browser/autofill_country_unittest.cc',
35 'autofill/core/browser/autofill_data_model_unittest.cc',
36 'autofill/core/browser/autofill_download_manager_unittest.cc',
37 'autofill/core/browser/autofill_external_delegate_unittest.cc',
38 'autofill/core/browser/autofill_field_unittest.cc',
39 'autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc',
40 'autofill/core/browser/autofill_manager_unittest.cc',
41 'autofill/core/browser/autofill_merge_unittest.cc',
42 'autofill/core/browser/autofill_metrics_unittest.cc',
43 'autofill/core/browser/autofill_profile_unittest.cc',
44 'autofill/core/browser/autofill_regexes_unittest.cc',
45 'autofill/core/browser/autofill_type_unittest.cc',
46 'autofill/core/browser/autofill_xml_parser_unittest.cc',
47 'autofill/core/browser/contact_info_unittest.cc',
48 'autofill/core/browser/credit_card_field_unittest.cc',
49 'autofill/core/browser/credit_card_unittest.cc',
50 'autofill/core/browser/form_field_unittest.cc',
51 'autofill/core/browser/form_structure_unittest.cc',
52 'autofill/core/browser/name_field_unittest.cc',
53 'autofill/core/browser/password_generator_unittest.cc',
54 'autofill/core/browser/personal_data_manager_unittest.cc',
55 'autofill/core/browser/phone_field_unittest.cc',
56 'autofill/core/browser/phone_number_i18n_unittest.cc',
57 'autofill/core/browser/phone_number_unittest.cc',
58 'autofill/core/browser/validation_unittest.cc',
59 'autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc',
60 'autofill/core/browser/webdata/autofill_table_unittest.cc',
61 'autofill/core/browser/webdata/web_data_service_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',
treiba9ea2fb2015-03-20 10:06:0373 'bookmarks/managed/managed_bookmarks_tracker_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:4274 ],
75 'browser_watcher_unittest_sources': [
erikwrightcdb73952015-04-01 04:13:2476 'browser_watcher/crash_reporting_metrics_win_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:4277 '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',
siggic34049f2015-03-26 16:09:3182 'browser_watcher/window_hang_monitor_win_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:4283 ],
84 'captive_portal_unittest_sources': [
85 'captive_portal/captive_portal_detector_unittest.cc',
86 ],
87 'cloud_devices_unittest_sources': [
88 'cloud_devices/common/cloud_devices_urls_unittest.cc',
89 'cloud_devices/common/printer_description_unittest.cc',
90 ],
91 'content_settings_unittest_sources': [
92 'content_settings/core/browser/content_settings_mock_provider.cc',
93 'content_settings/core/browser/content_settings_mock_provider.h',
94 'content_settings/core/browser/content_settings_provider_unittest.cc',
95 'content_settings/core/browser/content_settings_rule_unittest.cc',
96 'content_settings/core/browser/content_settings_utils_unittest.cc',
97 'content_settings/core/common/content_settings_pattern_parser_unittest.cc',
98 'content_settings/core/common/content_settings_pattern_unittest.cc',
99 ],
100 'crash_unittest_sources': [
101 'crash/app/crash_keys_win_unittest.cc',
102 ],
103 'crx_file_unittest_sources': [
104 'crx_file/id_util_unittest.cc',
105 ],
106 'data_reduction_proxy_unittest_sources': [
stuartmorgan9c258342015-03-05 15:36:25107 'data_reduction_proxy/content/browser/data_reduction_proxy_message_filter_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42108 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc',
zhuoyu.qianee7aad62015-04-01 06:17:43109 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc',
zhuoyu.qiana0e8c4b2015-04-02 03:37:35110 'data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc',
jeremyim9e0b2ff2015-03-24 17:21:19111 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42112 'data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc',
113 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc',
114 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc',
115 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc',
116 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc',
117 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc',
118 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs_unittest.cc',
119 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc',
120 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42121 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection_unittest.cc',
jeremyim9e0b2ff2015-03-24 17:21:19122 'data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42123 'data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittest.cc',
124 'data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc',
125 'data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc',
126 ],
127 'device_event_log_unittest_sources': [
128 'device_event_log/device_event_log_impl_unittest.cc',
129 ],
130 'dom_distiller_unittest_sources': [
stuartmorgan9c258342015-03-05 15:36:25131 'dom_distiller/content/dom_distiller_viewer_source_unittest.cc',
132 'dom_distiller/content/web_contents_main_frame_observer_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42133 'dom_distiller/core/article_entry_unittest.cc',
134 'dom_distiller/core/distilled_content_store_unittest.cc',
135 'dom_distiller/core/distilled_page_prefs_unittests.cc',
136 'dom_distiller/core/distiller_unittest.cc',
137 'dom_distiller/core/distiller_url_fetcher_unittest.cc',
138 'dom_distiller/core/dom_distiller_model_unittest.cc',
139 'dom_distiller/core/dom_distiller_service_unittest.cc',
140 'dom_distiller/core/dom_distiller_store_unittest.cc',
cjhopman54caa782015-04-02 20:26:49141 'dom_distiller/core/page_features_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42142 'dom_distiller/core/task_tracker_unittest.cc',
143 'dom_distiller/core/url_utils_unittest.cc',
144 'dom_distiller/core/viewer_unittest.cc',
145 ],
146 'domain_reliability_unittest_sources': [
147 'domain_reliability/config_unittest.cc',
148 'domain_reliability/context_unittest.cc',
149 'domain_reliability/dispatcher_unittest.cc',
150 'domain_reliability/monitor_unittest.cc',
151 'domain_reliability/scheduler_unittest.cc',
152 'domain_reliability/test_util.cc',
153 'domain_reliability/test_util.h',
154 'domain_reliability/uploader_unittest.cc',
155 'domain_reliability/util_unittest.cc',
156 ],
157 'favicon_base_unittest_sources': [
158 'favicon_base/select_favicon_frames_unittest.cc',
159 ],
160
161 # Note: GN tests converted to here, need to do the rest.
stuartmorganccec5f92015-03-05 19:08:49162 'audio_modem_unittest_sources': [
163 'audio_modem/audio_player_unittest.cc',
164 'audio_modem/audio_recorder_unittest.cc',
165 'audio_modem/modem_unittest.cc',
166 ],
167 'copresence_unittest_sources': [
168 'copresence/copresence_state_unittest.cc',
169 'copresence/handlers/audio/audio_directive_handler_unittest.cc',
170 'copresence/handlers/audio/audio_directive_list_unittest.cc',
171 'copresence/handlers/directive_handler_unittest.cc',
172 'copresence/handlers/gcm_handler_unittest.cc',
173 'copresence/rpc/http_post_unittest.cc',
174 'copresence/rpc/rpc_handler_unittest.cc',
175 'copresence/timed_map_unittest.cc',
176 ],
stuartmorgan7056cb32015-03-05 09:33:42177 'enhanced_bookmarks_unittest_sources': [
178 'enhanced_bookmarks/enhanced_bookmark_model_unittest.cc',
179 'enhanced_bookmarks/image_store_ios_unittest.mm',
180 'enhanced_bookmarks/image_store_unittest.cc',
181 'enhanced_bookmarks/item_position_unittest.cc',
182 ],
stuartmorgan9c258342015-03-05 15:36:25183 'error_page_unittest_sources': [
184 'error_page/renderer/net_error_helper_core_unittest.cc',
185 ],
stuartmorgan7056cb32015-03-05 09:33:42186 'feedback_unittest_sources': [
187 'feedback/feedback_common_unittest.cc',
188 'feedback/feedback_data_unittest.cc',
189 'feedback/feedback_uploader_chrome_unittest.cc',
190 'feedback/feedback_uploader_unittest.cc',
191 ],
192 'gcm_driver_unittest_sources': [
193 'gcm_driver/gcm_account_mapper_unittest.cc',
194 'gcm_driver/gcm_channel_status_request_unittest.cc',
195 'gcm_driver/gcm_client_impl_unittest.cc',
196 'gcm_driver/gcm_delayed_task_controller_unittest.cc',
197 'gcm_driver/gcm_driver_desktop_unittest.cc',
198 'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
199 ],
200 'google_unittest_sources': [
201 'google/core/browser/google_url_tracker_unittest.cc',
202 'google/core/browser/google_util_unittest.cc',
203 ],
204 'history_unittest_sources': [
205 'history/core/browser/android/android_history_types_unittest.cc',
206 'history/core/browser/history_types_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42207 'history/core/browser/top_sites_cache_unittest.cc',
208 'history/core/browser/top_sites_database_unittest.cc',
209 'history/core/browser/url_database_unittest.cc',
210 'history/core/browser/url_utils_unittest.cc',
211 'history/core/browser/visit_database_unittest.cc',
212 'history/core/browser/visit_filter_unittest.cc',
213 'history/core/browser/visit_tracker_unittest.cc',
214 'history/core/common/thumbnail_score_unittest.cc',
215 ],
216 'invalidation_unittest_sources': [
stuartmorganccec5f92015-03-05 19:08:49217 'invalidation/fake_invalidator_unittest.cc',
218 'invalidation/gcm_network_channel_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42219 'invalidation/invalidation_logger_unittest.cc',
stuartmorganccec5f92015-03-05 19:08:49220 'invalidation/invalidation_notifier_unittest.cc',
221 'invalidation/invalidator_registrar_unittest.cc',
222 'invalidation/non_blocking_invalidator_unittest.cc',
223 'invalidation/object_id_invalidation_map_unittest.cc',
224 'invalidation/p2p_invalidator_unittest.cc',
225 'invalidation/push_client_channel_unittest.cc',
226 'invalidation/registration_manager_unittest.cc',
227 'invalidation/single_object_invalidation_set_unittest.cc',
228 'invalidation/sync_invalidation_listener_unittest.cc',
229 'invalidation/sync_system_resources_unittest.cc',
230 'invalidation/ticl_invalidation_service_unittest.cc',
231 'invalidation/unacked_invalidation_set_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42232 ],
233 'json_schema_unittest_sources': [
234 'json_schema/json_schema_validator_unittest.cc',
235 'json_schema/json_schema_validator_unittest_base.cc',
236 'json_schema/json_schema_validator_unittest_base.h',
237 ],
238 'keyed_service_unittest_sources': [
239 'keyed_service/content/browser_context_dependency_manager_unittest.cc',
240 'keyed_service/core/dependency_graph_unittest.cc',
241 ],
242 'language_usage_metrics_unittest_sources': [
243 'language_usage_metrics/language_usage_metrics_unittest.cc',
244 ],
245 'leveldb_proto_unittest_sources': [
246 'leveldb_proto/proto_database_impl_unittest.cc',
247 ],
248 'login_unittest_sources': [
249 'login/screens/screen_context_unittest.cc',
250 ],
251 'metrics_unittest_sources': [
wittmand19f5202015-03-24 03:25:47252 'metrics/call_stack_profile_metrics_provider_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42253 'metrics/compression_utils_unittest.cc',
254 'metrics/daily_event_unittest.cc',
stuartmorgan9c258342015-03-05 15:36:25255 'metrics/gpu/gpu_metrics_provider_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42256 'metrics/histogram_encoder_unittest.cc',
257 'metrics/histogram_manager_unittest.cc',
258 'metrics/machine_id_provider_win_unittest.cc',
259 'metrics/metrics_hashes_unittest.cc',
260 'metrics/metrics_log_manager_unittest.cc',
261 'metrics/metrics_log_unittest.cc',
262 'metrics/metrics_reporting_scheduler_unittest.cc',
263 'metrics/metrics_service_unittest.cc',
264 'metrics/metrics_state_manager_unittest.cc',
265 'metrics/net/net_metrics_log_uploader_unittest.cc',
266 'metrics/persisted_logs_unittest.cc',
267 'metrics/profiler/profiler_metrics_provider_unittest.cc',
vadimt379d7fe2015-04-01 00:09:35268 'metrics/profiler/tracking_synchronizer_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42269 ],
stuartmorganccec5f92015-03-05 19:08:49270 'nacl_unittest_sources': [
271 'nacl/browser/nacl_file_host_unittest.cc',
272 'nacl/browser/nacl_process_host_unittest.cc',
273 'nacl/browser/nacl_validation_cache_unittest.cc',
274 'nacl/browser/pnacl_host_unittest.cc',
275 'nacl/browser/pnacl_translation_cache_unittest.cc',
276 'nacl/browser/test_nacl_browser_delegate.cc',
277 'nacl/zygote/nacl_fork_delegate_linux_unittest.cc',
278 ],
stuartmorgan7056cb32015-03-05 09:33:42279 'navigation_interception_unittest_sources': [
280 'navigation_interception/intercept_navigation_resource_throttle_unittest.cc',
281 ],
stuartmorgan9c258342015-03-05 15:36:25282 'network_hints_unittest_sources': [
283 'network_hints/renderer/dns_prefetch_queue_unittest.cc',
284 'network_hints/renderer/renderer_dns_prefetch_unittest.cc',
285 ],
stuartmorgan7056cb32015-03-05 09:33:42286 'network_time_unittest_sources': [
287 'network_time/network_time_tracker_unittest.cc',
288 ],
289 'omnibox_unittest_sources': [
290 'omnibox/answers_cache_unittest.cc',
291 'omnibox/autocomplete_input_unittest.cc',
292 'omnibox/autocomplete_match_unittest.cc',
293 'omnibox/autocomplete_result_unittest.cc',
294 'omnibox/base_search_provider_unittest.cc',
295 'omnibox/keyword_provider_unittest.cc',
296 'omnibox/omnibox_field_trial_unittest.cc',
297 'omnibox/suggestion_answer_unittest.cc',
298 ],
299 'os_crypt_unittest_sources': [
300 'os_crypt/ie7_password_win_unittest.cc',
301 'os_crypt/keychain_password_mac_unittest.mm',
302 'os_crypt/os_crypt_unittest.cc',
303 ],
304 'ownership_unittest_sources': [
305 'ownership/owner_key_util_impl_unittest.cc',
306 ],
307 'packed_ct_ev_whitelist_unittest_sources': [
308 'packed_ct_ev_whitelist/bit_stream_reader_unittest.cc',
309 'packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc',
310 ],
311 'password_manager_unittest_sources': [
stuartmorgan9c258342015-03-05 15:36:25312 'password_manager/content/browser/credential_manager_dispatcher_unittest.cc',
engedy89e07c272015-03-10 20:49:30313 'password_manager/core/browser/affiliated_match_helper_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42314 'password_manager/core/browser/affiliation_backend_unittest.cc',
315 'password_manager/core/browser/affiliation_database_unittest.cc',
316 'password_manager/core/browser/affiliation_fetch_throttler_unittest.cc',
317 'password_manager/core/browser/affiliation_fetcher_unittest.cc',
318 'password_manager/core/browser/affiliation_service_unittest.cc',
319 'password_manager/core/browser/affiliation_utils_unittest.cc',
320 'password_manager/core/browser/browser_save_password_progress_logger_unittest.cc',
321 'password_manager/core/browser/export/csv_writer_unittest.cc',
engedybce04052015-03-10 19:24:43322 'password_manager/core/browser/facet_manager_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42323 'password_manager/core/browser/import/csv_reader_unittest.cc',
324 'password_manager/core/browser/log_router_unittest.cc',
325 'password_manager/core/browser/login_database_unittest.cc',
326 'password_manager/core/browser/password_autofill_manager_unittest.cc',
327 'password_manager/core/browser/password_form_manager_unittest.cc',
328 'password_manager/core/browser/password_generation_manager_unittest.cc',
329 'password_manager/core/browser/password_manager_unittest.cc',
330 'password_manager/core/browser/password_store_default_unittest.cc',
331 'password_manager/core/browser/password_store_unittest.cc',
332 'password_manager/core/browser/password_syncable_service_unittest.cc',
333 'password_manager/core/browser/psl_matching_helper_unittest.cc',
dconnelly11bdc332015-03-26 14:04:28334 'password_manager/core/common/credential_manager_types_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42335 ],
stuartmorganccec5f92015-03-05 19:08:49336 'policy_unittest_sources': [
337 'policy/core/browser/autofill_policy_handler_unittest.cc',
338 'policy/core/browser/browser_policy_connector_unittest.cc',
339 'policy/core/browser/configuration_policy_handler_unittest.cc',
340 'policy/core/browser/configuration_policy_pref_store_unittest.cc',
stuartmorganccec5f92015-03-05 19:08:49341 'policy/core/browser/url_blacklist_policy_handler_unittest.cc',
342 'policy/core/common/async_policy_provider_unittest.cc',
343 'policy/core/common/cloud/cloud_policy_client_unittest.cc',
344 'policy/core/common/cloud/cloud_policy_constants_unittest.cc',
345 'policy/core/common/cloud/cloud_policy_core_unittest.cc',
346 'policy/core/common/cloud/cloud_policy_manager_unittest.cc',
347 'policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc',
348 'policy/core/common/cloud/cloud_policy_service_unittest.cc',
349 'policy/core/common/cloud/cloud_policy_validator_unittest.cc',
350 'policy/core/common/cloud/component_cloud_policy_service_unittest.cc',
351 'policy/core/common/cloud/component_cloud_policy_store_unittest.cc',
352 'policy/core/common/cloud/component_cloud_policy_updater_unittest.cc',
353 'policy/core/common/cloud/device_management_service_unittest.cc',
354 'policy/core/common/cloud/external_policy_data_fetcher_unittest.cc',
355 'policy/core/common/cloud/external_policy_data_updater_unittest.cc',
356 'policy/core/common/cloud/policy_header_io_helper_unittest.cc',
357 'policy/core/common/cloud/policy_header_service_unittest.cc',
358 'policy/core/common/cloud/resource_cache_unittest.cc',
359 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc',
360 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
361 'policy/core/common/cloud/user_info_fetcher_unittest.cc',
362 'policy/core/common/config_dir_policy_loader_unittest.cc',
363 'policy/core/common/generate_policy_source_unittest.cc',
364 'policy/core/common/policy_bundle_unittest.cc',
365 'policy/core/common/policy_loader_ios_unittest.mm',
366 'policy/core/common/policy_loader_mac_unittest.cc',
367 'policy/core/common/policy_loader_win_unittest.cc',
368 'policy/core/common/policy_map_unittest.cc',
369 'policy/core/common/policy_provider_android_unittest.cc',
370 'policy/core/common/policy_service_impl_unittest.cc',
371 'policy/core/common/policy_statistics_collector_unittest.cc',
372 'policy/core/common/preg_parser_win_unittest.cc',
373 'policy/core/common/registry_dict_win_unittest.cc',
374 'policy/core/common/remote_commands/remote_commands_queue_unittest.cc',
binjinefa8017c2015-03-18 10:53:20375 'policy/core/common/remote_commands/remote_commands_service_unittest.cc',
stuartmorganccec5f92015-03-05 19:08:49376 'policy/core/common/schema_map_unittest.cc',
377 'policy/core/common/schema_registry_tracking_policy_provider_unittest.cc',
378 'policy/core/common/schema_registry_unittest.cc',
379 'policy/core/common/schema_unittest.cc',
380 ],
stuartmorgan9c258342015-03-05 15:36:25381 'power_unittest_sources': [
382 'power/origin_power_map_unittest.cc',
383 ],
stuartmorgan7056cb32015-03-05 09:33:42384 'precache_unittest_sources': [
385 'precache/content/precache_manager_unittest.cc',
386 'precache/core/precache_database_unittest.cc',
387 'precache/core/precache_fetcher_unittest.cc',
388 'precache/core/precache_url_table_unittest.cc',
389 ],
stuartmorganccec5f92015-03-05 19:08:49390 'proximity_auth_unittest_sources': [
391 'proximity_auth/base64url_unittest.cc',
392 'proximity_auth/bluetooth_connection_finder_unittest.cc',
393 'proximity_auth/bluetooth_connection_unittest.cc',
394 'proximity_auth/client_unittest.cc',
395 'proximity_auth/connection_unittest.cc',
396 'proximity_auth/cryptauth/cryptauth_account_token_fetcher_unittest.cc',
397 'proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc',
398 'proximity_auth/cryptauth/cryptauth_client_unittest.cc',
399 'proximity_auth/proximity_auth_system_unittest.cc',
400 'proximity_auth/remote_status_update_unittest.cc',
401 'proximity_auth/wire_message_unittest.cc',
402 ],
stuartmorgan7056cb32015-03-05 09:33:42403 'query_parser_unittest_sources': [
404 'query_parser/query_parser_unittest.cc',
405 'query_parser/snippet_unittest.cc',
406 ],
407 'rappor_unittest_sources': [
408 'rappor/bloom_filter_unittest.cc',
409 'rappor/byte_vector_utils_unittest.cc',
410 'rappor/log_uploader_unittest.cc',
411 'rappor/rappor_metric_unittest.cc',
412 'rappor/rappor_prefs_unittest.cc',
413 'rappor/rappor_service_unittest.cc',
mathp46284f32015-03-11 13:06:41414 'rappor/rappor_utils_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42415 ],
416 'search_unittest_sources': [
417 'search/search_android_unittest.cc',
418 'search/search_unittest.cc',
419 'search_engines/default_search_manager_unittest.cc',
420 'search_engines/default_search_policy_handler_unittest.cc',
421 'search_engines/keyword_table_unittest.cc',
422 'search_engines/search_host_to_urls_map_unittest.cc',
423 'search_engines/template_url_prepopulate_data_unittest.cc',
424 'search_engines/template_url_service_util_unittest.cc',
425 'search_engines/template_url_unittest.cc',
426 ],
427 'search_provider_logos_unittest_sources': [
428 'search_provider_logos/logo_cache_unittest.cc',
429 'search_provider_logos/logo_tracker_unittest.cc',
430 ],
431 'sessions_unittest_sources': [
432 'sessions/content/content_serialized_navigation_builder_unittest.cc',
433 'sessions/content/content_serialized_navigation_driver_unittest.cc',
434 'sessions/ios/ios_serialized_navigation_builder_unittest.cc',
435 'sessions/ios/ios_serialized_navigation_driver_unittest.cc',
436 'sessions/serialized_navigation_entry_unittest.cc',
stuartmorgan9c258342015-03-05 15:36:25437 'sessions/session_backend_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42438 'sessions/session_types_unittest.cc',
439 ],
440 'signin_unittest_sources': [
441 'signin/core/browser/account_tracker_service_unittest.cc',
mlerman2bccc6a2015-03-30 14:28:56442 'signin/core/browser/gaia_cookie_manager_service_unittest.cc',
stuartmorgan7056cb32015-03-05 09:33:42443 'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc',
444 'signin/core/browser/refresh_token_annotation_request_unittest.cc',
445 'signin/core/browser/signin_error_controller_unittest.cc',
446 'signin/core/browser/webdata/token_service_table_unittest.cc',
447 'signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm',
448 ],
449 'storage_monitor_unittest_sources': [
450 'storage_monitor/image_capture_device_manager_unittest.mm',
451 'storage_monitor/media_storage_util_unittest.cc',
452 'storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc',
453 'storage_monitor/storage_info_unittest.cc',
454 'storage_monitor/storage_monitor_chromeos_unittest.cc',
455 'storage_monitor/storage_monitor_linux_unittest.cc',
456 'storage_monitor/storage_monitor_mac_unittest.mm',
457 'storage_monitor/storage_monitor_unittest.cc',
458 'storage_monitor/storage_monitor_win_unittest.cc',
459 ],
460 'suggestions_unittest_sources': [
461 'suggestions/blacklist_store_unittest.cc',
462 'suggestions/image_manager_unittest.cc',
463 'suggestions/suggestions_service_unittest.cc',
464 'suggestions/suggestions_store_unittest.cc',
465 ],
466 'sync_driver_unittest_sources': [
467 'sync_driver/data_type_manager_impl_unittest.cc',
468 'sync_driver/device_info_data_type_controller_unittest.cc',
469 'sync_driver/device_info_sync_service_unittest.cc',
470 'sync_driver/generic_change_processor_unittest.cc',
471 'sync_driver/model_association_manager_unittest.cc',
472 'sync_driver/non_blocking_data_type_controller_unittest.cc',
473 'sync_driver/non_ui_data_type_controller_unittest.cc',
474 'sync_driver/shared_change_processor_unittest.cc',
475 'sync_driver/sync_prefs_unittest.cc',
476 'sync_driver/system_encryptor_unittest.cc',
477 'sync_driver/ui_data_type_controller_unittest.cc',
478 ],
479 'translate_unittest_sources': [
480 'translate/core/browser/language_state_unittest.cc',
481 'translate/core/browser/translate_browser_metrics_unittest.cc',
482 'translate/core/browser/translate_prefs_unittest.cc',
483 'translate/core/browser/translate_script_unittest.cc',
484 'translate/core/common/translate_metrics_unittest.cc',
485 'translate/core/common/translate_util_unittest.cc',
486 'translate/core/language_detection/language_detection_util_unittest.cc',
487 'translate/ios/browser/js_translate_manager_unittest.mm',
488 'translate/ios/browser/language_detection_controller_unittest.mm',
489 'translate/ios/browser/translate_controller_unittest.mm',
490 ],
491 'ui_unittest_sources': [
492 'ui/zoom/page_zoom_unittests.cc',
493 ],
494 'update_client_unittest_sources': [
495 'update_client/test/component_patcher_unittest.cc',
496 'update_client/test/crx_downloader_unittest.cc',
497 'update_client/test/ping_manager_unittest.cc',
498 'update_client/test/request_sender_unittest.cc',
499 'update_client/test/update_checker_unittest.cc',
500 'update_client/test/update_response_unittest.cc',
501 'update_client/update_query_params_unittest.cc',
502 ],
503 'url_fixer_unittest_sources': [
504 'url_fixer/url_fixer_unittest.cc',
505 ],
506 'url_matcher_unittest_sources': [
507 'url_matcher/regex_set_matcher_unittest.cc',
508 'url_matcher/string_pattern_unittest.cc',
509 'url_matcher/substring_set_matcher_unittest.cc',
510 'url_matcher/url_matcher_factory_unittest.cc',
511 'url_matcher/url_matcher_unittest.cc',
512 ],
513 'variations_unittest_sources': [
514 'variations/active_field_trials_unittest.cc',
515 'variations/caching_permuted_entropy_provider_unittest.cc',
516 'variations/entropy_provider_unittest.cc',
517 'variations/metrics_util_unittest.cc',
518 'variations/net/variations_http_header_provider_unittest.cc',
519 'variations/study_filtering_unittest.cc',
520 'variations/variations_associated_data_unittest.cc',
521 'variations/variations_seed_processor_unittest.cc',
522 'variations/variations_seed_simulator_unittest.cc',
523 ],
524 'visitedlink_unittest_sources': [
525 'visitedlink/test/visitedlink_unittest.cc',
526 ],
527 'wallpaper_unittest_sources': [
528 'wallpaper/wallpaper_resizer_unittest.cc',
529 ],
530 'web_cache_unittest_sources': [
531 'web_cache/browser/web_cache_manager_unittest.cc',
532 ],
533 'web_modal_unittest_sources': [
534 'web_modal/web_contents_modal_dialog_manager_unittest.cc',
535 ],
536 'web_resource_unittest_sources': [
537 'web_resource/eula_accepted_notifier_unittest.cc',
538 'web_resource/resource_request_allowed_notifier_unittest.cc',
539 ],
540 'webdata_unittest_sources': [
541 'webdata/common/web_database_migration_unittest.cc',
542 ],
tfarina3c4788d2015-02-09 13:18:02543 },
[email protected]62885ab2013-01-23 03:55:16544 'conditions': [
[email protected]01587e12013-10-03 18:24:54545 ['android_webview_build == 0', {
[email protected]62885ab2013-01-23 03:55:16546 'targets': [
547 {
brettw77b58722015-02-27 23:35:06548 # GN version: //components:components_tests_pak
tfarina4bb3f4782015-02-09 20:59:57549 'target_name': 'components_tests_pak',
550 'type': 'none',
551 'dependencies': [
552 '../ui/resources/ui_resources.gyp:ui_resources',
553 '../ui/strings/ui_strings.gyp:ui_strings',
554 'components_resources.gyp:components_resources',
555 'components_strings.gyp:components_strings',
556 ],
557 'actions': [
558 {
559 'action_name': 'repack_components_tests_pak',
560 'variables': {
561 'pak_inputs': [
562 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
563 '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_strings_en-US.pak',
564 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
megjablonf005db92015-02-17 19:09:35565 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
tfarina4bb3f4782015-02-09 20:59:57566 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
567 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
568 ],
569 'pak_output': '<(PRODUCT_DIR)/components_tests_resources.pak',
570 },
571 'includes': [ '../build/repack_action.gypi' ],
572 },
573 ],
574 'direct_dependent_settings': {
575 'mac_bundle_resources': [
576 '<(PRODUCT_DIR)/components_tests_resources.pak',
577 ],
578 },
579 },
580 {
mstrum9f8fae12015-02-17 16:40:03581 # GN version: //components:components_unittests
[email protected]62885ab2013-01-23 03:55:16582 'target_name': 'components_unittests',
583 'type': '<(gtest_target_type)',
584 'sources': [
[email protected]62885ab2013-01-23 03:55:16585 'test/run_all_unittests.cc',
stuartmorgan7056cb32015-03-05 09:33:42586
587 '<@(auto_login_parser_unittest_sources)',
588 '<@(autofill_unittest_sources)',
589 '<@(bookmarks_unittest_sources)',
590 '<@(browser_watcher_unittest_sources)',
591 '<@(captive_portal_unittest_sources)',
592 '<@(cloud_devices_unittest_sources)',
593 '<@(content_settings_unittest_sources)',
594 '<@(crash_unittest_sources)',
595 '<@(crx_file_unittest_sources)',
596 '<@(data_reduction_proxy_unittest_sources)',
597 '<@(device_event_log_unittest_sources)',
598 '<@(dom_distiller_unittest_sources)',
599 '<@(domain_reliability_unittest_sources)',
600 '<@(enhanced_bookmarks_unittest_sources)',
601 '<@(favicon_base_unittest_sources)',
stuartmorgan7056cb32015-03-05 09:33:42602 '<@(gcm_driver_unittest_sources)',
603 '<@(google_unittest_sources)',
604 '<@(history_unittest_sources)',
stuartmorgan7056cb32015-03-05 09:33:42605 '<@(json_schema_unittest_sources)',
606 '<@(keyed_service_unittest_sources)',
607 '<@(language_usage_metrics_unittest_sources)',
608 '<@(leveldb_proto_unittest_sources)',
609 '<@(login_unittest_sources)',
610 '<@(metrics_unittest_sources)',
stuartmorgan7056cb32015-03-05 09:33:42611 '<@(network_time_unittest_sources)',
612 '<@(omnibox_unittest_sources)',
613 '<@(os_crypt_unittest_sources)',
614 '<@(ownership_unittest_sources)',
615 '<@(packed_ct_ev_whitelist_unittest_sources)',
616 '<@(password_manager_unittest_sources)',
617 '<@(precache_unittest_sources)',
618 '<@(query_parser_unittest_sources)',
619 '<@(rappor_unittest_sources)',
620 '<@(search_unittest_sources)',
621 '<@(search_provider_logos_unittest_sources)',
622 '<@(sessions_unittest_sources)',
623 '<@(signin_unittest_sources)',
stuartmorgan7056cb32015-03-05 09:33:42624 '<@(suggestions_unittest_sources)',
625 '<@(sync_driver_unittest_sources)',
626 '<@(translate_unittest_sources)',
stuartmorgan7056cb32015-03-05 09:33:42627 '<@(update_client_unittest_sources)',
628 '<@(url_fixer_unittest_sources)',
629 '<@(url_matcher_unittest_sources)',
630 '<@(variations_unittest_sources)',
stuartmorgan7056cb32015-03-05 09:33:42631 '<@(wallpaper_unittest_sources)',
stuartmorgan7056cb32015-03-05 09:33:42632 '<@(web_resource_unittest_sources)',
633 '<@(webdata_unittest_sources)',
[email protected]62885ab2013-01-23 03:55:16634 ],
635 'include_dirs': [
636 '..',
637 ],
638 'dependencies': [
tfarina7d490662015-01-26 16:21:47639 '../base/base.gyp:base',
[email protected]76b4b152013-12-08 21:10:04640 '../base/base.gyp:base_prefs_test_support',
[email protected]62885ab2013-01-23 03:55:16641 '../base/base.gyp:test_support_base',
[email protected]54ac11b2013-12-04 19:50:37642 # TODO(blundell): Eliminate the need for this dependency in code
643 # that iOS shares. crbug.com/325243
644 '../content/content_shell_and_tests.gyp:test_support_content',
tfarina7d490662015-01-26 16:21:47645 '../google_apis/google_apis.gyp:google_apis_test_support',
646 '../jingle/jingle.gyp:notifier_test_util',
647 '../net/net.gyp:net_test_support',
erikchen5408e452014-11-12 02:57:56648 '../sql/sql.gyp:test_support_sql',
[email protected]82c10122013-10-03 15:12:22649 '../sync/sync.gyp:sync',
[email protected]9d086462014-03-04 20:36:02650 '../sync/sync.gyp:test_support_sync_api',
[email protected]62885ab2013-01-23 03:55:16651 '../testing/gmock.gyp:gmock',
652 '../testing/gtest.gyp:gtest',
tfarina7d490662015-01-26 16:21:47653 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
654 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util',
655 '../third_party/libjingle/libjingle.gyp:libjingle',
656 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
657 '../third_party/libxml/libxml.gyp:libxml',
658 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
[email protected]ed8fd9152014-03-13 10:20:37659 '../ui/base/ui_base.gyp:ui_base',
[email protected]f84b5332013-12-17 14:50:50660 '../ui/gfx/gfx.gyp:gfx',
[email protected]a109fd02014-07-10 07:41:43661 '../ui/gfx/gfx.gyp:gfx_test_support',
jam6bb3c8f2015-01-22 00:44:08662 '../ui/resources/ui_resources.gyp:ui_resources',
663 '../ui/strings/ui_strings.gyp:ui_strings',
tfarina7d490662015-01-26 16:21:47664 '../url/url.gyp:url_lib',
[email protected]7fa0f512013-10-22 14:19:36665 'components.gyp:auto_login_parser',
[email protected]6c79aea2013-12-13 00:52:57666 'components.gyp:autofill_core_browser',
667 'components.gyp:autofill_core_common',
668 'components.gyp:autofill_core_test_support',
[email protected]a90c8ca2014-05-20 17:16:04669 'components.gyp:bookmarks_browser',
treiba9ea2fb2015-03-20 10:06:03670 'components.gyp:bookmarks_managed',
[email protected]a90c8ca2014-05-20 17:16:04671 'components.gyp:bookmarks_test_support',
[email protected]b1a160d2014-04-29 18:05:44672 'components.gyp:captive_portal_test_support',
[email protected]5b38caf2014-04-18 05:32:06673 'components.gyp:cloud_devices_common',
vasiliiac461392014-09-18 11:35:17674 'components.gyp:content_settings_core_browser',
mukai077089f2014-09-11 18:41:52675 'components.gyp:content_settings_core_common',
lucinka.brozkovaa410c802014-11-06 12:09:33676 'components.gyp:content_settings_core_test_support',
Robert Sesekabcd8102014-08-27 16:12:44677 'components.gyp:crash_test_support',
[email protected]fdd28372014-08-21 02:27:26678 'components.gyp:crx_file',
megjablon3476e042014-10-14 19:21:59679 'components.gyp:data_reduction_proxy_core_browser',
680 'components.gyp:data_reduction_proxy_core_common',
[email protected]a0a06932014-04-14 21:23:42681 'components.gyp:data_reduction_proxy_test_support',
reillyg4a849272015-02-20 21:38:43682 'components.gyp:device_event_log_component',
[email protected]7fa0f512013-10-22 14:19:36683 'components.gyp:distilled_page_proto',
684 'components.gyp:dom_distiller_core',
[email protected]2eb48e682014-01-14 13:40:32685 'components.gyp:dom_distiller_test_support',
[email protected]45de676a2014-03-18 23:52:02686 'components.gyp:domain_reliability',
[email protected]174a6212014-05-11 14:19:52687 'components.gyp:enhanced_bookmarks',
688 'components.gyp:enhanced_bookmarks_test_support',
sdefresnef900329e2015-01-14 09:49:06689 'components.gyp:favicon_base',
[email protected]8d41e5a2014-05-28 03:18:49690 'components.gyp:gcm_driver',
691 'components.gyp:gcm_driver_test_support',
blundell9082b5b2014-08-27 09:22:37692 'components.gyp:google_core_browser',
[email protected]73b2d1e72014-06-25 23:45:36693 'components.gyp:history_core_browser',
[email protected]36db2ae2014-06-11 17:49:27694 'components.gyp:history_core_common',
sdefresne0da3bc02015-01-29 18:26:35695 'components.gyp:history_core_test_support',
[email protected]7315c962014-05-09 23:17:47696 'components.gyp:invalidation',
[email protected]44828772014-06-06 02:56:52697 'components.gyp:invalidation_test_support',
[email protected]7fa0f512013-10-22 14:19:36698 'components.gyp:json_schema',
[email protected]fc217c02014-03-12 04:47:52699 'components.gyp:keyed_service_core',
[email protected]3f3a65f2014-01-09 19:05:05700 'components.gyp:language_usage_metrics',
[email protected]2b894b82014-06-18 16:22:30701 'components.gyp:leveldb_proto',
702 'components.gyp:leveldb_proto_test_support',
ygorshenin98f956e52014-10-24 17:22:16703 'components.gyp:login',
[email protected]0d5a61a82014-05-31 22:28:34704 'components.gyp:metrics',
gunsch1afc65172014-09-16 00:03:32705 'components.gyp:metrics_gpu',
[email protected]0d5a61a82014-05-31 22:28:34706 'components.gyp:metrics_net',
gunsch840bc412014-09-18 19:38:06707 'components.gyp:metrics_profiler',
[email protected]bfb77b52014-06-07 01:54:01708 'components.gyp:metrics_test_support',
[email protected]d0ab865b2014-06-04 19:41:34709 'components.gyp:network_time',
[email protected]b1c5ab682014-08-07 11:53:17710 'components.gyp:omnibox',
711 'components.gyp:omnibox_test_support',
[email protected]45de676a2014-03-18 23:52:02712 'components.gyp:os_crypt',
ygorshenin39e36782014-08-29 13:09:51713 'components.gyp:ownership',
tfarina7d490662015-01-26 16:21:47714 'components.gyp:packed_ct_ev_whitelist',
715 'components.gyp:password_manager_core_browser',
[email protected]e27e0092014-02-05 19:04:13716 'components.gyp:password_manager_core_browser',
[email protected]faaa917f2014-02-05 10:43:28717 'components.gyp:password_manager_core_browser_test_support',
[email protected]7fa0f512013-10-22 14:19:36718 'components.gyp:precache_core',
[email protected]b35490f2014-06-19 07:00:01719 'components.gyp:pref_registry_test_support',
[email protected]acf9f272014-04-15 23:04:00720 'components.gyp:query_parser',
[email protected]2a172e42014-02-21 04:06:10721 'components.gyp:rappor',
holte5a7ed7c2015-01-09 23:52:46722 'components.gyp:rappor_test_support',
[email protected]720b10492014-07-23 08:48:40723 'components.gyp:search',
[email protected]63f021882014-07-11 03:14:16724 'components.gyp:search_engines',
hashimoto3c831812014-08-25 07:40:23725 'components.gyp:search_engines_test_support',
[email protected]12fad442014-04-30 21:55:16726 'components.gyp:search_provider_logos',
rohitrao2975885b2014-10-24 19:00:27727 'components.gyp:sessions_test_support',
[email protected]7274ef02014-03-24 22:43:40728 'components.gyp:signin_core_browser',
[email protected]154e0b342014-03-28 20:28:33729 'components.gyp:signin_core_browser_test_support',
[email protected]bdceb3ba2014-07-25 16:47:48730 'components.gyp:suggestions',
[email protected]a0e77d32014-01-31 16:07:13731 'components.gyp:sync_driver_test_support',
[email protected]3f3a65f2014-01-09 19:05:05732 'components.gyp:translate_core_browser',
[email protected]eba93c92014-01-07 17:34:17733 'components.gyp:translate_core_common',
[email protected]bfa4c82a2014-05-13 23:45:02734 'components.gyp:translate_core_language_detection',
wjmaclean91ddc472015-01-15 19:58:27735 'components.gyp:ui_zoom',
sorin39eab2f2015-01-06 01:09:08736 'components.gyp:update_client',
sorin52ac0882015-01-24 01:15:00737 'components.gyp:update_client_test_support',
[email protected]9b5b1d602014-06-12 14:29:02738 'components.gyp:url_fixer',
[email protected]7fa0f512013-10-22 14:19:36739 'components.gyp:variations',
[email protected]f561a7c2014-08-22 01:18:03740 'components.gyp:variations_http_provider',
tfarina7d490662015-01-26 16:21:47741 'components.gyp:wallpaper',
drogerf8479942014-11-21 17:47:53742 'components.gyp:web_resource',
743 'components.gyp:web_resource_test_support',
tfarina7d490662015-01-26 16:21:47744 'components_resources.gyp:components_resources',
745 'components_strings.gyp:components_strings',
tfarina4bb3f4782015-02-09 20:59:57746 'components_tests_pak',
jam6bb3c8f2015-01-22 00:44:08747 ],
[email protected]c03ef212013-01-24 23:44:30748 'conditions': [
[email protected]dbae95e2014-05-10 12:07:45749 ['toolkit_views == 1', {
750 'sources': [
[email protected]a90c8ca2014-05-20 17:16:04751 'bookmarks/browser/bookmark_node_data_unittest.cc',
oshima136691a2014-10-24 21:54:11752 'constrained_window/constrained_window_views_unittest.cc',
[email protected]dbae95e2014-05-10 12:07:45753 ],
oshima136691a2014-10-24 21:54:11754 'dependencies': [
755 '<(DEPTH)/ui/views/views.gyp:views_test_support',
756 'components.gyp:constrained_window',
757 ]
[email protected]dbae95e2014-05-10 12:07:45758 }],
siggic0d0a0e2014-11-17 23:29:19759 ['OS=="win"', {
760 'dependencies': [
tfarinafaf223ee2015-01-29 14:22:19761 'components.gyp:browser_watcher',
762 'components.gyp:browser_watcher_client',
siggic0d0a0e2014-11-17 23:29:19763 ]
764 }],
hanseec0e162014-11-04 21:02:55765 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
766 'dependencies': [
767 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
768 ],
769 }],
andrewhayden14d91352014-11-11 17:47:16770 [ 'cld_version==0 or cld_version==2', {
771 'dependencies': [
772 # Unit tests should always use statically-linked CLD data.
773 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
774 }],
[email protected]54ac11b2013-12-04 19:50:37775 ['OS != "ios"', {
[email protected]6a6e6a892014-03-03 12:30:52776 'sources': [
stuartmorgan9c258342015-03-05 15:36:25777 '<@(error_page_unittest_sources)',
stuartmorgane52ebfff2015-03-05 17:31:30778 '<@(navigation_interception_unittest_sources)',
stuartmorgan9c258342015-03-05 15:36:25779 '<@(network_hints_unittest_sources)',
780 '<@(power_unittest_sources)',
stuartmorgane52ebfff2015-03-05 17:31:30781 '<@(storage_monitor_unittest_sources)',
782 '<@(ui_unittest_sources)',
783 '<@(visitedlink_unittest_sources)',
784 '<@(web_cache_unittest_sources)',
785 '<@(web_modal_unittest_sources)',
[email protected]6a6e6a892014-03-03 12:30:52786 ],
[email protected]54ac11b2013-12-04 19:50:37787 'dependencies': [
tfarinafaf223ee2015-01-29 14:22:19788 '../skia/skia.gyp:skia',
[email protected]048fc8f2014-03-21 11:23:03789 'components.gyp:autofill_content_browser',
[email protected]b62a4e02014-04-10 16:05:35790 'components.gyp:autofill_content_renderer',
[email protected]048fc8f2014-03-21 11:23:03791 'components.gyp:autofill_content_test_support',
jeremyim364ac1182015-03-03 18:49:43792 'components.gyp:data_reduction_proxy_content_browser',
[email protected]6a6e6a892014-03-03 12:30:52793 'components.gyp:dom_distiller_content',
hashimoto9b160e22014-10-15 03:56:53794 'components.gyp:error_page_renderer',
sdefresne715246622015-01-12 16:24:04795 'components.gyp:history_content_browser',
[email protected]fc217c02014-03-12 04:47:52796 'components.gyp:keyed_service_content',
tfarinafaf223ee2015-01-29 14:22:19797 'components.gyp:navigation_interception',
pmeenaned4b6f82015-01-30 21:59:59798 'components.gyp:network_hints_renderer',
mkwst07f0d3d2014-09-29 12:39:48799 'components.gyp:password_manager_content_browser',
800 'components.gyp:password_manager_content_common',
[email protected]3e305902014-08-14 20:25:33801 'components.gyp:power',
tfarinafaf223ee2015-01-29 14:22:19802 'components.gyp:precache_content',
rohitraod16f44e2014-10-24 15:34:35803 'components.gyp:sessions_content',
[email protected]e4c5f97b2014-02-17 18:57:17804 'components.gyp:storage_monitor',
805 'components.gyp:storage_monitor_test_support',
[email protected]716c0162013-12-13 20:36:53806 'components.gyp:url_matcher',
[email protected]54ac11b2013-12-04 19:50:37807 'components.gyp:visitedlink_browser',
808 'components.gyp:visitedlink_renderer',
hanxi149b92d2014-09-11 21:57:18809 'components.gyp:web_cache_browser',
[email protected]54ac11b2013-12-04 19:50:37810 'components.gyp:web_modal',
811 'components.gyp:web_modal_test_support',
812 ],
813 }, { # 'OS == "ios"'
droger7ebec072014-12-19 11:19:49814 'sources': [
jifd8262e92015-03-04 09:33:08815 'open_from_clipboard/clipboard_recent_content_ios_unittest.mm',
droger7ebec072014-12-19 11:19:49816 'webp_transcode/webp_decoder_unittest.mm',
drogerb04f6c5c2015-03-20 16:44:51817 'webp_transcode/webp_network_client_unittest.mm',
droger7ebec072014-12-19 11:19:49818 ],
stuartmorgane52ebfff2015-03-05 17:31:30819 'sources!': [
820 'metrics/gpu/gpu_metrics_provider_unittest.cc',
821 'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc',
stuartmorgane52ebfff2015-03-05 17:31:30822 ],
[email protected]01587e12013-10-03 18:24:54823 'sources/': [
sdefresne9cd12472015-03-02 15:56:49824 # Exclude all tests that depends on //content (based on layered-
825 # component directory structure).
826 ['exclude', '^[^/]*/content/'],
[email protected]01587e12013-10-03 18:24:54827 ],
[email protected]b472aee02014-04-11 15:36:53828 'dependencies': [
[email protected]b472aee02014-04-11 15:36:53829 '../ios/ios_tests.gyp:test_support_ios',
drogerbfba8a42014-12-16 21:58:13830 '../ios/web/ios_web.gyp:test_support_ios_web',
831 '../third_party/ocmock/ocmock.gyp:ocmock',
jifd8262e92015-03-04 09:33:08832 'components.gyp:open_from_clipboard',
tfarina71f5a072015-02-02 10:41:03833 'components.gyp:sessions_ios',
834 'components.gyp:signin_ios_browser',
835 'components.gyp:translate_ios_browser',
836 'components.gyp:webp_transcode',
[email protected]b472aee02014-04-11 15:36:53837 ],
[email protected]bcb9e872014-03-04 11:22:47838 'actions': [
839 {
840 'action_name': 'copy_test_data',
841 'variables': {
842 'test_data_files': [
843 'test/data',
844 ],
845 'test_data_prefix': 'components',
846 },
847 'includes': [ '../build/copy_test_data_ios.gypi' ],
848 },
849 ],
[email protected]f4f7af992014-01-22 21:48:03850 'conditions': [
851 ['configuration_policy==1', {
852 'sources/': [
853 ['include', '^policy/'],
854 ],
855 }],
856 ],
[email protected]01587e12013-10-03 18:24:54857 }],
[email protected]ef42ee8c82013-11-01 05:26:13858 ['disable_nacl==0', {
859 'sources': [
stuartmorganccec5f92015-03-05 19:08:49860 '<@(nacl_unittest_sources)',
[email protected]ef42ee8c82013-11-01 05:26:13861 ],
862 'dependencies': [
863 'nacl.gyp:nacl_browser',
[email protected]058fe532013-11-28 06:45:59864 'nacl.gyp:nacl_common',
[email protected]ef42ee8c82013-11-01 05:26:13865 ],
866 }],
[email protected]ec623ca12013-12-07 03:54:28867 ['OS == "mac"', {
868 'link_settings': {
869 'libraries': [
870 '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
[email protected]e4c5f97b2014-02-17 18:57:17871 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
872 '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framework',
[email protected]ec623ca12013-12-07 03:54:28873 ],
874 },
[email protected]aedc52c2014-02-17 14:26:00875 'sources!': [
876 'password_manager/core/browser/password_store_default_unittest.cc',
877 ],
[email protected]ec623ca12013-12-07 03:54:28878 }],
[email protected]e41d0082013-05-16 04:37:54879 ['OS == "android"', {
maxbogueb8d6efc2014-09-29 17:45:19880 'sources': [
megjablonf005db92015-02-17 19:09:35881 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc',
megjablon5effca2e2015-02-13 23:54:07882 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc',
883 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager_unittest.cc',
stuartmorganccec5f92015-03-05 19:08:49884 'invalidation/invalidation_logger_unittest.cc',
maxbogueb8d6efc2014-09-29 17:45:19885 'invalidation/invalidation_service_android_unittest.cc',
886 ],
[email protected]e41d0082013-05-16 04:37:54887 'sources!': [
fgorskic1047312014-09-04 16:48:54888 'gcm_driver/gcm_account_mapper_unittest.cc',
jianli1235e51c2014-09-08 18:56:41889 'gcm_driver/gcm_channel_status_request_unittest.cc',
[email protected]cd57f372014-06-09 17:13:06890 'gcm_driver/gcm_client_impl_unittest.cc',
fgorski05d507c2014-09-10 17:28:10891 'gcm_driver/gcm_delayed_task_controller_unittest.cc',
[email protected]21b77652014-05-31 01:21:09892 'gcm_driver/gcm_driver_desktop_unittest.cc',
maxbogueb8d6efc2014-09-29 17:45:19893 'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
stuartmorgan9c258342015-03-05 15:36:25894 'sessions/session_backend_unittest.cc',
[email protected]7fa4af92014-03-31 11:41:20895 'signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc',
[email protected]e4c5f97b2014-02-17 18:57:17896 'storage_monitor/media_storage_util_unittest.cc',
897 'storage_monitor/storage_info_unittest.cc',
898 'storage_monitor/storage_monitor_unittest.cc',
[email protected]e41d0082013-05-16 04:37:54899 'web_modal/web_contents_modal_dialog_manager_unittest.cc',
900 ],
[email protected]b42e689c2014-05-29 21:03:41901 'dependencies': [
megjablon5effca2e2015-02-13 23:54:07902 'components.gyp:data_reduction_proxy_content',
[email protected]b42e689c2014-05-29 21:03:41903 '../testing/android/native_test.gyp:native_test_native_code',
904 ],
[email protected]e41d0082013-05-16 04:37:54905 'dependencies!': [
[email protected]e4c5f97b2014-02-17 18:57:17906 'components.gyp:storage_monitor',
907 'components.gyp:storage_monitor_test_support',
[email protected]7fa0f512013-10-22 14:19:36908 'components.gyp:web_modal',
909 'components.gyp:web_modal_test_support',
[email protected]e41d0082013-05-16 04:37:54910 ],
911 }],
[email protected]44828772014-06-06 02:56:52912 ['OS != "android"', {
913 'sources': [
stuartmorganccec5f92015-03-05 19:08:49914 '<@(invalidation_unittest_sources)',
[email protected]44828772014-06-06 02:56:52915 ],
916 }],
[email protected]ff0ed122014-08-06 23:44:23917 ['OS != "ios" and OS != "android"', {
918 'sources': [
stuartmorganccec5f92015-03-05 19:08:49919 '<@(audio_modem_unittest_sources)',
920 '<@(copresence_unittest_sources)',
sdefresnebbf563c2015-03-17 11:09:09921 '<@(feedback_unittest_sources)',
stuartmorganccec5f92015-03-05 19:08:49922 '<@(proximity_auth_unittest_sources)',
[email protected]ff0ed122014-08-06 23:44:23923 ],
924 'dependencies': [
isherman83d08a292014-09-26 03:32:44925 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
tengs408c7412014-12-13 00:36:13926 '../google_apis/google_apis.gyp:google_apis_test_support',
tengs77b8ce72014-12-05 19:31:42927 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
ckehoea9408e142015-02-17 20:05:24928 'components.gyp:audio_modem',
929 'components.gyp:audio_modem_test_support',
tfarina562d5c5a2015-02-05 09:38:50930 'components.gyp:copresence',
931 'components.gyp:copresence_test_support',
932 'components.gyp:cryptauth',
sdefresnebbf563c2015-03-17 11:09:09933 'components.gyp:feedback_component',
tfarina562d5c5a2015-02-05 09:38:50934 'components.gyp:proximity_auth',
[email protected]ff0ed122014-08-06 23:44:23935 ],
936 }],
[email protected]e4c5f97b2014-02-17 18:57:17937 ['chromeos==1', {
[email protected]26287982014-08-09 06:05:14938 'sources': [
939 'pairing/message_buffer_unittest.cc',
chirantan26436e402014-10-24 19:44:42940 'timers/alarm_timer_unittest.cc',
quiche9d40dcf2015-01-17 00:35:22941 'wifi_sync/wifi_config_delegate_chromeos_unittest.cc',
quichec96b5d52015-01-26 20:12:55942 'wifi_sync/wifi_credential_syncable_service_unittest.cc',
quiche80674e32015-01-10 01:21:47943 'wifi_sync/wifi_credential_unittest.cc',
quiche271c6cca2014-12-20 03:57:53944 'wifi_sync/wifi_security_class_chromeos_unittest.cc',
quiche9606d272015-01-09 23:49:59945 'wifi_sync/wifi_security_class_unittest.cc',
[email protected]26287982014-08-09 06:05:14946 ],
[email protected]e4c5f97b2014-02-17 18:57:17947 'sources!': [
948 'storage_monitor/storage_monitor_linux_unittest.cc',
949 ],
950 'dependencies': [
tfarina562d5c5a2015-02-05 09:38:50951 '../chromeos/chromeos.gyp:chromeos_test_support',
[email protected]26287982014-08-09 06:05:14952 'components.gyp:pairing',
merkulova793f3022015-02-04 10:18:30953 'components.gyp:user_manager_test_support',
tfarina562d5c5a2015-02-05 09:38:50954 'components.gyp:wifi_sync',
[email protected]e4c5f97b2014-02-17 18:57:17955 ],
956 }],
957 ['OS=="linux"', {
[email protected]1ebdce332014-07-17 21:19:19958 'sources': [
959 'metrics/serialization/serialization_utils_unittest.cc',
960 ],
[email protected]e4c5f97b2014-02-17 18:57:17961 'dependencies': [
[email protected]1ebdce332014-07-17 21:19:19962 'components.gyp:metrics_serialization',
[email protected]e4c5f97b2014-02-17 18:57:17963 '../dbus/dbus.gyp:dbus',
964 '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
965 ],
966 }],
[email protected]47d4e8e2014-06-05 02:01:54967 ['OS=="linux" and use_udev==0', {
968 'dependencies!': [
[email protected]10d8d022014-06-05 19:37:01969 'components.gyp:storage_monitor',
970 'components.gyp:storage_monitor_test_support',
[email protected]47d4e8e2014-06-05 02:01:54971 ],
[email protected]10d8d022014-06-05 19:37:01972 'sources/': [
973 ['exclude', '^storage_monitor/'],
[email protected]47d4e8e2014-06-05 02:01:54974 ],
975 }],
[email protected]c5c9e6dc2013-01-30 12:46:58976 ['OS=="win" and win_use_allocator_shim==1', {
977 'dependencies': [
978 '../base/allocator/allocator.gyp:allocator',
979 ],
980 }],
[email protected]2fa89ef2014-05-07 18:45:59981 ['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
John Abd-El-Malek38a6fabc2015-01-21 15:17:27982 'dependencies': [
[email protected]19e9de232013-07-23 20:21:06983 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
John Abd-El-Malek38a6fabc2015-01-21 15:17:27984 ],
985 'link_settings': {
[email protected]19e9de232013-07-23 20:21:06986 'ldflags': ['-rdynamic'],
John Abd-El-Malek38a6fabc2015-01-21 15:17:27987 },
[email protected]19e9de232013-07-23 20:21:06988 }],
[email protected]183be4e2013-08-14 14:41:10989 ['configuration_policy==1', {
[email protected]f20a3a22013-12-03 16:12:37990 'dependencies': [
[email protected]991573e2013-12-16 13:49:20991 'components.gyp:policy_component',
[email protected]f20a3a22013-12-03 16:12:37992 'components.gyp:policy_component_test_support',
[email protected]991573e2013-12-16 13:49:20993 'components.gyp:policy_test_support',
[email protected]f20a3a22013-12-03 16:12:37994 ],
[email protected]183be4e2013-08-14 14:41:10995 'sources': [
stuartmorganccec5f92015-03-05 19:08:49996 '<@(policy_unittest_sources)',
[email protected]63f021882014-07-11 03:14:16997 'search_engines/default_search_policy_handler_unittest.cc',
[email protected]183be4e2013-08-14 14:41:10998 ],
[email protected]bab765e2013-12-04 04:46:59999 'conditions': [
[email protected]bc6e5d22014-03-05 18:36:061000 ['OS=="android"', {
1001 'sources/': [
1002 ['exclude', '^policy/core/common/async_policy_provider_unittest\\.cc'],
1003 ],
1004 }],
[email protected]278c74bc2014-01-17 14:55:401005 ['OS=="android" or OS=="ios"', {
[email protected]f4f7af992014-01-22 21:48:031006 # Note: 'sources!' is processed before any 'sources/', so the
1007 # ['include', '^policy/'] on iOS above will include all of the
1008 # policy source files again. Using 'source/' here too will get
1009 # these files excluded as expected.
1010 'sources/': [
[email protected]f4f7af992014-01-22 21:48:031011 ['exclude', '^policy/core/common/cloud/component_cloud_policy_service_unittest\\.cc'],
1012 ['exclude', '^policy/core/common/cloud/component_cloud_policy_store_unittest\\.cc'],
1013 ['exclude', '^policy/core/common/cloud/component_cloud_policy_updater_unittest\\.cc'],
1014 ['exclude', '^policy/core/common/cloud/external_policy_data_fetcher_unittest\\.cc'],
1015 ['exclude', '^policy/core/common/cloud/external_policy_data_updater_unittest\\.cc'],
1016 ['exclude', '^policy/core/common/cloud/resource_cache_unittest\\.cc'],
1017 ['exclude', '^policy/core/common/config_dir_policy_loader_unittest\\.cc'],
[email protected]bab765e2013-12-04 04:46:591018 ],
1019 }],
[email protected]d769050f2013-12-12 17:48:011020 ['chromeos==1', {
[email protected]b3e621222014-01-21 21:31:471021 'sources': [
1022 'policy/core/common/proxy_policy_provider_unittest.cc',
1023 ],
[email protected]d769050f2013-12-12 17:48:011024 'sources!': [
1025 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc',
1026 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
1027 ],
1028 }],
[email protected]3ad09812014-03-05 07:05:571029 ['OS=="ios" or OS=="mac"', {
1030 'sources': [
1031 'policy/core/common/mac_util_unittest.cc',
1032 ],
1033 }],
[email protected]bab765e2013-12-04 04:46:591034 ],
[email protected]183be4e2013-08-14 14:41:101035 }],
[email protected]c03ef212013-01-24 23:44:301036 ],
[email protected]aa6eacc2013-02-09 21:18:421037 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1038 'msvs_disabled_warnings': [4267, ],
[email protected]b1babd92013-04-05 18:29:421039 },
[email protected]01587e12013-10-03 18:24:541040 ],
1041 }],
1042 ['OS != "ios" and android_webview_build == 0', {
1043 'targets': [
[email protected]b1babd92013-04-05 18:29:421044 {
dprankedb5527d72015-03-08 04:22:471045 # GN: //components:components_perftests
[email protected]b1babd92013-04-05 18:29:421046 'target_name': 'components_perftests',
1047 'type': '<(gtest_target_type)',
1048 'dependencies': [
1049 '../base/base.gyp:base',
1050 '../base/base.gyp:test_support_perf',
[email protected]ba42b1e2013-10-19 22:13:171051 '../content/content_shell_and_tests.gyp:test_support_content',
[email protected]b1babd92013-04-05 18:29:421052 '../testing/gtest.gyp:gtest',
[email protected]7fa0f512013-10-22 14:19:361053 'components.gyp:visitedlink_browser',
[email protected]b1babd92013-04-05 18:29:421054 ],
1055 'include_dirs': [
1056 '..',
1057 ],
1058 'sources': [
1059 'visitedlink/test/visitedlink_perftest.cc',
1060 ],
1061 'conditions': [
[email protected]87a80852014-05-17 16:09:581062 ['OS == "android"', {
[email protected]b1babd92013-04-05 18:29:421063 'dependencies': [
1064 '../testing/android/native_test.gyp:native_test_native_code',
1065 ],
1066 }],
hanseec0e162014-11-04 21:02:551067 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
1068 'dependencies': [
1069 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1070 ],
1071 }],
[email protected]b1babd92013-04-05 18:29:421072 ],
1073 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1074 'msvs_disabled_warnings': [ 4267, ],
1075 },
[email protected]64f5650c2013-01-11 05:35:091076 ],
[email protected]c03ef212013-01-24 23:44:301077 'conditions': [
[email protected]87a80852014-05-17 16:09:581078 ['OS == "android"', {
[email protected]c03ef212013-01-24 23:44:301079 'targets': [
1080 {
1081 'target_name': 'components_unittests_apk',
1082 'type': 'none',
1083 'dependencies': [
1084 'components_unittests',
maxbogueb8d6efc2014-09-29 17:45:191085 'components.gyp:invalidation_java',
[email protected]c03ef212013-01-24 23:44:301086 ],
1087 'variables': {
1088 'test_suite_name': 'components_unittests',
[email protected]c03ef212013-01-24 23:44:301089 },
1090 'includes': [ '../build/apk_test.gypi' ],
1091 },
1092 ],
1093 }],
1094 ],
[email protected]62885ab2013-01-23 03:55:161095 }],
[email protected]c0f759b2013-11-13 22:05:301096 ['OS!="ios"', {
nyquist0c86f532015-01-26 23:12:241097 'conditions': [
1098 ['test_isolation_mode != "noop"', {
1099 'targets': [
1100 {
1101 'target_name': 'components_browsertests_run',
1102 'type': 'none',
1103 'dependencies': [ 'components_browsertests' ],
1104 'includes': [
1105 '../build/isolate.gypi',
1106 ],
1107 'sources': [
1108 'components_browsertests.isolate',
1109 ],
1110 'conditions': [
1111 ['use_x11==1', {
1112 'dependencies': [
1113 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1114 ],
1115 }],
1116 ],
1117 },
1118 ],
1119 }],
1120 ],
[email protected]c0f759b2013-11-13 22:05:301121 'targets': [
1122 {
1123 'target_name': 'components_browsertests',
1124 'type': '<(gtest_target_type)',
1125 'defines!': ['CONTENT_IMPLEMENTATION'],
1126 'dependencies': [
[email protected]db2610a2014-03-21 01:13:011127 '../content/content.gyp:content_common',
1128 '../content/content.gyp:content_gpu',
1129 '../content/content.gyp:content_plugin',
1130 '../content/content.gyp:content_renderer',
[email protected]c0f759b2013-11-13 22:05:301131 '../content/content_shell_and_tests.gyp:content_browser_test_support',
[email protected]db2610a2014-03-21 01:13:011132 '../content/content_shell_and_tests.gyp:content_shell_lib',
1133 '../content/content_shell_and_tests.gyp:content_shell_pak',
[email protected]c0f759b2013-11-13 22:05:301134 '../content/content_shell_and_tests.gyp:test_support_content',
1135 '../skia/skia.gyp:skia',
[email protected]706833b2014-04-03 04:27:071136 '../testing/gmock.gyp:gmock',
[email protected]c0f759b2013-11-13 22:05:301137 '../testing/gtest.gyp:gtest',
tfarina562d5c5a2015-02-05 09:38:501138 'components.gyp:autofill_content_browser',
1139 'components.gyp:autofill_content_renderer',
kuan3695ffe2014-09-25 16:23:071140 'components.gyp:dom_distiller_content',
1141 'components.gyp:dom_distiller_core',
tfarina562d5c5a2015-02-05 09:38:501142 'components.gyp:password_manager_content_renderer',
1143 'components.gyp:pref_registry_test_support',
1144 'components_resources.gyp:components_resources',
kuan3695ffe2014-09-25 16:23:071145 'components_strings.gyp:components_strings',
tfarina4bb3f4782015-02-09 20:59:571146 'components_tests_pak',
[email protected]c0f759b2013-11-13 22:05:301147 ],
1148 'include_dirs': [
1149 '..',
1150 ],
1151 'defines': [
1152 'HAS_OUT_OF_PROC_TEST_RUNNER',
1153 ],
1154 'sources': [
[email protected]706833b2014-04-03 04:27:071155 'autofill/content/browser/risk/fingerprint_browsertest.cc',
vivek.vg71e305e2014-12-22 14:34:231156 'autofill/content/renderer/password_form_conversion_utils_browsertest.cc',
[email protected]c0f759b2013-11-13 22:05:301157 'dom_distiller/content/distiller_page_web_contents_browsertest.cc',
mkwst4ea2bcac2014-09-02 15:34:001158 'password_manager/content/renderer/credential_manager_client_browsertest.cc',
[email protected]db2610a2014-03-21 01:13:011159 ],
[email protected]c0f759b2013-11-13 22:05:301160 'conditions': [
[email protected]706833b2014-04-03 04:27:071161 ['OS == "android"', {
1162 'sources!': [
1163 'autofill/content/browser/risk/fingerprint_browsertest.cc',
1164 ],
1165 }],
[email protected]9f51bb62014-04-09 04:22:481166 ['OS == "linux"', {
1167 'sources': [
qi1988.yang9542ef22015-02-12 02:22:151168 # content_extractor_browsertest is a standalone content extraction tool built as
[email protected]9f51bb62014-04-09 04:22:481169 # a MANUAL component_browsertest.
qi1988.yang9542ef22015-02-12 02:22:151170 'dom_distiller/standalone/content_extractor_browsertest.cc',
[email protected]9f51bb62014-04-09 04:22:481171 ],
1172 }],
[email protected]c0f759b2013-11-13 22:05:301173 ['OS=="win"', {
1174 'resource_include_dirs': [
[email protected]a9ca8d52014-08-22 10:21:081175 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources',
[email protected]c0f759b2013-11-13 22:05:301176 ],
1177 'sources': [
1178 '../content/shell/app/resource.h',
1179 '../content/shell/app/shell.rc',
1180 # TODO: It would be nice to have these pulled in
1181 # automatically from direct_dependent_settings in
1182 # their various targets (net.gyp:net_resources, etc.),
1183 # but that causes errors in other targets when
1184 # resulting .res files get referenced multiple times.
[email protected]1400d1d2014-07-25 07:49:591185 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.rc',
[email protected]6586a2e32014-08-09 19:24:121186 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.rc',
[email protected]c0f759b2013-11-13 22:05:301187 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
[email protected]c0f759b2013-11-13 22:05:301188 ],
1189 'dependencies': [
[email protected]a9ca8d52014-08-22 10:21:081190 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources',
[email protected]6586a2e32014-08-09 19:24:121191 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
[email protected]c0f759b2013-11-13 22:05:301192 '<(DEPTH)/net/net.gyp:net_resources',
[email protected]1400d1d2014-07-25 07:49:591193 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
[email protected]c0f759b2013-11-13 22:05:301194 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1195 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
[email protected]c0f759b2013-11-13 22:05:301196 ],
1197 'configurations': {
1198 'Debug_Base': {
1199 'msvs_settings': {
1200 'VCLinkerTool': {
1201 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1202 },
1203 },
1204 },
1205 },
1206 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1207 'msvs_disabled_warnings': [ 4267, ],
1208 }],
1209 ['OS=="win" and win_use_allocator_shim==1', {
1210 'dependencies': [
1211 '../base/allocator/allocator.gyp:allocator',
1212 ],
1213 }],
nyquist0c86f532015-01-26 23:12:241214 ['OS=="mac"', {
1215 'dependencies': [
pmeenaned4b6f82015-01-30 21:59:591216 '../content/content_shell_and_tests.gyp:content_shell', # Needed for Content Shell.app's Helper.
nyquist0c86f532015-01-26 23:12:241217 ],
1218 }],
dgn97dd2462015-02-05 19:31:161219 ['enable_basic_printing==1 or enable_print_preview==1', {
1220 'dependencies': [
1221 'components.gyp:printing_test_support',
1222 ],
1223 'sources' : [
1224 'printing/test/print_web_view_helper_browsertest.cc',
1225 ],
1226 }]
[email protected]c0f759b2013-11-13 22:05:301227 ],
1228 },
1229 ],
1230 }],
John Abd-El-Malek38a6fabc2015-01-21 15:17:271231 ['test_isolation_mode != "noop"', {
1232 'targets': [
1233 {
1234 'target_name': 'components_unittests_run',
1235 'type': 'none',
1236 'dependencies': [
1237 'components_unittests',
1238 ],
1239 'includes': [
1240 '../build/isolate.gypi',
1241 ],
1242 'sources': [
1243 'components_unittests.isolate',
1244 ],
estade7748e1c62015-03-10 20:48:261245 'conditions': [
1246 ['use_x11==1', {
1247 'dependencies': [
1248 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1249 ],
1250 }],
1251 ],
John Abd-El-Malek38a6fabc2015-01-21 15:17:271252 },
1253 ],
1254 }],
[email protected]62885ab2013-01-23 03:55:161255 ],
[email protected]64f5650c2013-01-11 05:35:091256}