Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Side by Side Diff: components/components_tests.gyp

Issue 2306443002: Remove GYP files from components. (Closed)
Patch Set: Remove compiled resources Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/components_strings.gyp ('k') | components/constrained_window.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
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
12 # Note: sources list duplicated in GN build. In the GN build,
13 # each component has its own unit tests target defined in its
14 # directory that are then linked into the final components_unittests.
15 'auto_login_parser_unittest_sources': [
16 'auto_login_parser/auto_login_parser_unittest.cc',
17 ],
18 'autofill_unittest_sources': [
19 'autofill/content/browser/content_autofill_driver_unittest.cc',
20 'autofill/content/browser/payments/payments_client_unittest.cc',
21 'autofill/content/public/cpp/autofill_types_struct_traits_unittest.cc',
22 'autofill/content/renderer/renderer_save_password_progress_logger_unittest .cc',
23 'autofill/core/browser/address_field_unittest.cc',
24 'autofill/core/browser/address_i18n_unittest.cc',
25 'autofill/core/browser/address_unittest.cc',
26 'autofill/core/browser/address_rewriter_unittest.cc',
27 'autofill/core/browser/autocomplete_history_manager_unittest.cc',
28 'autofill/core/browser/autofill_country_unittest.cc',
29 'autofill/core/browser/autofill_data_model_unittest.cc',
30 'autofill/core/browser/autofill_data_util_unittest.cc',
31 'autofill/core/browser/autofill_download_manager_unittest.cc',
32 'autofill/core/browser/autofill_external_delegate_unittest.cc',
33 'autofill/core/browser/autofill_field_unittest.cc',
34 'autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc',
35 'autofill/core/browser/autofill_manager_unittest.cc',
36 'autofill/core/browser/autofill_merge_unittest.cc',
37 'autofill/core/browser/autofill_metrics_unittest.cc',
38 'autofill/core/browser/autofill_profile_comparator_unittest.cc',
39 'autofill/core/browser/autofill_profile_unittest.cc',
40 'autofill/core/browser/autofill_type_unittest.cc',
41 'autofill/core/browser/contact_info_unittest.cc',
42 'autofill/core/browser/country_names_unittest.cc',
43 'autofill/core/browser/credit_card_field_unittest.cc',
44 'autofill/core/browser/credit_card_unittest.cc',
45 'autofill/core/browser/field_candidates_unittest.cc',
46 'autofill/core/browser/form_field_unittest.cc',
47 'autofill/core/browser/form_structure_unittest.cc',
48 'autofill/core/browser/legal_message_line_unittest.cc',
49 'autofill/core/browser/name_field_unittest.cc',
50 'autofill/core/browser/password_generator_unittest.cc',
51 'autofill/core/browser/payments/full_card_request_unittest.cc',
52 'autofill/core/browser/payments/payments_service_url_unittest.cc',
53 'autofill/core/browser/personal_data_manager_unittest.cc',
54 'autofill/core/browser/phone_field_unittest.cc',
55 'autofill/core/browser/phone_number_i18n_unittest.cc',
56 'autofill/core/browser/phone_number_unittest.cc',
57 'autofill/core/browser/ui/card_unmask_prompt_controller_impl_unittest.cc',
58 'autofill/core/browser/validation_unittest.cc',
59 'autofill/core/browser/webdata/autofill_data_type_controller_unittest.cc',
60 'autofill/core/browser/webdata/autofill_profile_syncable_service_unittest. cc',
61 'autofill/core/browser/webdata/autofill_table_unittest.cc',
62 'autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service_u nittest.cc',
63 'autofill/core/browser/webdata/web_data_service_unittest.cc',
64 'autofill/core/common/autofill_l10n_util_unittest.cc',
65 'autofill/core/common/autofill_regexes_unittest.cc',
66 'autofill/core/common/autofill_util_unittest.cc',
67 'autofill/core/common/form_data_unittest.cc',
68 'autofill/core/common/form_field_data_unittest.cc',
69 'autofill/core/common/password_form_fill_data_unittest.cc',
70 'autofill/core/common/save_password_progress_logger_unittest.cc',
71 ],
72 'base32_unittest_sources': [
73 'base32/base32_unittest.cc',
74 ],
75 'bookmarks_unittest_sources': [
76 'bookmarks/browser/bookmark_codec_unittest.cc',
77 'bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc',
78 'bookmarks/browser/bookmark_index_unittest.cc',
79 'bookmarks/browser/bookmark_model_unittest.cc',
80 'bookmarks/browser/bookmark_utils_unittest.cc',
81 'bookmarks/managed/managed_bookmarks_tracker_unittest.cc',
82 ],
83 'browser_sync_unittest_sources': [
84 'browser_sync/browser/profile_sync_service_autofill_unittest.cc',
85 'browser_sync/browser/profile_sync_service_bookmark_unittest.cc',
86 'browser_sync/browser/profile_sync_service_startup_unittest.cc',
87 'browser_sync/browser/profile_sync_service_typed_url_unittest.cc',
88 'browser_sync/browser/profile_sync_service_unittest.cc',
89 ],
90 'browser_watcher_unittest_sources': [
91 'browser_watcher/endsession_watcher_window_win_unittest.cc',
92 'browser_watcher/exit_code_watcher_win_unittest.cc',
93 'browser_watcher/exit_funnel_win_unittest.cc',
94 'browser_watcher/watcher_client_win_unittest.cc',
95 'browser_watcher/watcher_metrics_provider_win_unittest.cc',
96 'browser_watcher/window_hang_monitor_win_unittest.cc',
97 ],
98 'browsing_data_ui_unittest_sources': [
99 'browsing_data_ui/history_notice_utils_unittest.cc'
100 ],
101 'bubble_unittest_sources': [
102 'bubble/bubble_manager_mocks.cc',
103 'bubble/bubble_manager_mocks.h',
104 'bubble/bubble_manager_unittest.cc',
105 ],
106 'captive_portal_unittest_sources': [
107 'captive_portal/captive_portal_detector_unittest.cc',
108 ],
109 'cast_certificate_unittest_sources': [
110 'cast_certificate/cast_cert_validator_unittest.cc',
111 'cast_certificate/cast_crl_unittest.cc',
112 ],
113 'certificate_reporting_unittest_sources': [
114 'certificate_reporting/error_report_unittest.cc',
115 'certificate_reporting/error_reporter_unittest.cc',
116 ],
117 'certificate_transparency_unittest_sources': [
118 'certificate_transparency/ct_policy_manager_unittest.cc',
119 'certificate_transparency/log_dns_client_unittest.cc',
120 'certificate_transparency/log_proof_fetcher_unittest.cc',
121 'certificate_transparency/mock_log_dns_traffic.cc',
122 'certificate_transparency/mock_log_dns_traffic.h',
123 'certificate_transparency/single_tree_tracker_unittest.cc',
124 ],
125 'child_trace_message_filter_unittest_sources': [
126 'tracing/child/child_trace_message_filter_unittest.cc',
127 ],
128 'client_update_protocol_unittest_sources': [
129 'client_update_protocol/ecdsa_unittest.cc',
130 ],
131 'cloud_devices_unittest_sources': [
132 'cloud_devices/common/cloud_devices_urls_unittest.cc',
133 'cloud_devices/common/printer_description_unittest.cc',
134 ],
135 'component_updater_unittest_sources': [
136 'component_updater/component_updater_service_unittest.cc',
137 'component_updater/configurator_impl_unittest.cc',
138 'component_updater/default_component_installer_unittest.cc',
139 'component_updater/timer_unittest.cc',
140 'component_updater/updater_state_unittest_win.cc',
141 ],
142 'content_settings_unittest_sources': [
143 'content_settings/core/browser/content_settings_mock_provider.cc',
144 'content_settings/core/browser/content_settings_mock_provider.h',
145 'content_settings/core/browser/content_settings_registry_unittest.cc',
146 'content_settings/core/browser/content_settings_rule_unittest.cc',
147 'content_settings/core/browser/content_settings_utils_unittest.cc',
148 'content_settings/core/browser/cookie_settings_unittest.cc',
149 'content_settings/core/browser/website_settings_registry_unittest.cc',
150 'content_settings/core/common/content_settings_pattern_parser_unittest.cc' ,
151 'content_settings/core/common/content_settings_pattern_unittest.cc',
152 ],
153 'crash_unittest_sources': [
154 'crash/content/app/crash_keys_win_unittest.cc',
155 'crash/core/common/crash_keys_unittest.cc',
156 'crash/core/common/objc_zombie_unittest.mm',
157 ],
158 'crx_file_unittest_sources': [
159 'crx_file/id_util_unittest.cc',
160 ],
161 'data_reduction_proxy_unittest_sources': [
162 'data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc',
163 'data_reduction_proxy/content/browser/content_lofi_ui_service_unittest.cc' ,
164 'data_reduction_proxy/content/browser/data_reduction_proxy_message_filter_ unittest.cc',
165 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_un ittest.cc',
166 'data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unitt est.cc',
167 'data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_ unittest.cc',
168 'data_reduction_proxy/core/browser/data_reduction_proxy_config_service_cli ent_unittest.cc',
169 'data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc ',
170 'data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unitt est.cc',
171 'data_reduction_proxy/core/browser/data_reduction_proxy_data_unittest.cc',
172 'data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest. cc',
173 'data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unitte st.cc',
174 'data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.c c',
175 'data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.c c',
176 'data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_val ues_unittest.cc',
177 'data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_u nittest.cc',
178 'data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_un ittest.cc',
179 'data_reduction_proxy/core/browser/data_reduction_proxy_prefs_unittest.cc' ,
180 'data_reduction_proxy/core/browser/data_reduction_proxy_request_options_un ittest.cc',
181 'data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest. cc',
182 'data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection_u nittest.cc',
183 'data_reduction_proxy/core/browser/data_usage_store_unittest.cc',
184 'data_reduction_proxy/core/common/data_reduction_proxy_event_store_unittes t.cc',
185 'data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc ',
186 'data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc' ,
187 'data_reduction_proxy/core/common/data_reduction_proxy_util_unittest.cc',
188 ],
189 'data_usage_unittest_sources': [
190 'data_usage/core/data_use_aggregator_unittest.cc',
191 ],
192 'device_event_log_unittest_sources': [
193 'device_event_log/device_event_log_impl_unittest.cc',
194 ],
195 'devtools_http_handler_unittest_sources': [
196 'devtools_http_handler/devtools_http_handler_unittest.cc',
197 ],
198 'display_compositor_unittest_sources': [
199 'display_compositor/buffer_queue_unittest.cc',
200 ],
201 'dom_distiller_unittest_sources': [
202 'dom_distiller/content/browser/dom_distiller_viewer_source_unittest.cc',
203 'dom_distiller/content/browser/web_contents_main_frame_observer_unittest.c c',
204 'dom_distiller/core/article_entry_unittest.cc',
205 'dom_distiller/core/distillable_page_detector_unittest.cc',
206 'dom_distiller/core/distilled_content_store_unittest.cc',
207 'dom_distiller/core/distilled_page_prefs_unittests.cc',
208 'dom_distiller/core/distiller_unittest.cc',
209 'dom_distiller/core/distiller_url_fetcher_unittest.cc',
210 'dom_distiller/core/dom_distiller_model_unittest.cc',
211 'dom_distiller/core/dom_distiller_request_view_base_unittest.cc',
212 'dom_distiller/core/dom_distiller_service_unittest.cc',
213 'dom_distiller/core/dom_distiller_store_unittest.cc',
214 'dom_distiller/core/page_features_unittest.cc',
215 'dom_distiller/core/task_tracker_unittest.cc',
216 'dom_distiller/core/url_utils_unittest.cc',
217 'dom_distiller/core/viewer_unittest.cc',
218 ],
219 'domain_reliability_unittest_sources': [
220 'domain_reliability/config_unittest.cc',
221 'domain_reliability/context_unittest.cc',
222 'domain_reliability/dispatcher_unittest.cc',
223 'domain_reliability/google_configs_unittest.cc',
224 'domain_reliability/header_unittest.cc',
225 'domain_reliability/monitor_unittest.cc',
226 'domain_reliability/scheduler_unittest.cc',
227 'domain_reliability/test_util.cc',
228 'domain_reliability/test_util.h',
229 'domain_reliability/uploader_unittest.cc',
230 'domain_reliability/util_unittest.cc',
231 ],
232 'favicon_base_unittest_sources': [
233 'favicon_base/fallback_icon_url_parser_unittest.cc',
234 'favicon_base/favicon_url_parser_unittest.cc',
235 'favicon_base/large_icon_url_parser_unittest.cc',
236 'favicon_base/select_favicon_frames_unittest.cc',
237 ],
238 'favicon_unittest_sources': [
239 'favicon/content/content_favicon_driver_unittest.cc',
240 'favicon/core/fallback_url_util_unittest.cc',
241 'favicon/core/favicon_handler_unittest.cc',
242 'favicon/core/large_icon_service_unittest.cc',
243 ],
244 'flags_ui_unittest_sources': [
245 'flags_ui/flags_state_unittest.cc',
246 ],
247 'undo_unittest_sources': [
248 'undo/bookmark_undo_service_test.cc',
249 'undo/undo_manager_test.cc',
250 ],
251 'data_use_measurement_unittest_sources': [
252 'data_use_measurement/content/data_use_measurement_unittest.cc',
253 ],
254 'error_page_unittest_sources': [
255 'error_page/renderer/net_error_helper_core_unittest.cc',
256 ],
257 'feedback_unittest_sources': [
258 'feedback/anonymizer_tool_unittest.cc',
259 'feedback/feedback_common_unittest.cc',
260 'feedback/feedback_data_unittest.cc',
261 'feedback/feedback_uploader_chrome_unittest.cc',
262 'feedback/feedback_uploader_unittest.cc',
263 ],
264 'gcm_driver_unittest_sources': [
265 'gcm_driver/gcm_account_mapper_unittest.cc',
266 'gcm_driver/gcm_account_tracker_unittest.cc',
267 'gcm_driver/gcm_channel_status_request_unittest.cc',
268 'gcm_driver/gcm_client_impl_unittest.cc',
269 'gcm_driver/gcm_delayed_task_controller_unittest.cc',
270 'gcm_driver/gcm_driver_desktop_unittest.cc',
271 'gcm_driver/gcm_stats_recorder_android_unittest.cc',
272 'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
273 ],
274 'gcm_driver_crypto_unittest_sources': [
275 'gcm_driver/crypto/encryption_header_parsers_unittest.cc',
276 'gcm_driver/crypto/gcm_encryption_provider_unittest.cc',
277 'gcm_driver/crypto/gcm_key_store_unittest.cc',
278 'gcm_driver/crypto/gcm_message_cryptographer_unittest.cc',
279 'gcm_driver/crypto/p256_key_util_unittest.cc',
280 ],
281 'google_unittest_sources': [
282 'google/core/browser/google_url_tracker_unittest.cc',
283 'google/core/browser/google_util_unittest.cc',
284 ],
285 'guest_view_unittest_sources': [
286 'guest_view/browser/guest_view_manager_unittest.cc'
287 ],
288 'history_unittest_sources': [
289 'history/content/browser/content_history_backend_db_unittest.cc',
290 'history/core/browser/android/android_history_types_unittest.cc',
291 'history/core/browser/expire_history_backend_unittest.cc',
292 'history/core/browser/history_backend_db_unittest.cc',
293 'history/core/browser/history_backend_unittest.cc',
294 'history/core/browser/history_database_unittest.cc',
295 'history/core/browser/history_querying_unittest.cc',
296 'history/core/browser/history_service_unittest.cc',
297 'history/core/browser/history_types_unittest.cc',
298 'history/core/browser/thumbnail_database_unittest.cc',
299 'history/core/browser/top_sites_cache_unittest.cc',
300 'history/core/browser/top_sites_database_unittest.cc',
301 'history/core/browser/top_sites_impl_unittest.cc',
302 'history/core/browser/typed_url_syncable_service_unittest.cc',
303 'history/core/browser/url_database_unittest.cc',
304 'history/core/browser/url_utils_unittest.cc',
305 'history/core/browser/visit_database_unittest.cc',
306 'history/core/browser/visit_tracker_unittest.cc',
307 'history/core/browser/web_history_service_unittest.cc',
308 'history/core/common/thumbnail_score_unittest.cc',
309 ],
310 'image_fetcher_unittest_sources': [
311 'image_fetcher/image_data_fetcher_unittest.cc',
312 ],
313 'instance_id_unittest_sources': [
314 'gcm_driver/instance_id/instance_id_driver_unittest.cc',
315 ],
316 'invalidation_unittest_sources': [
317 'invalidation/impl/fake_invalidator_unittest.cc',
318 'invalidation/impl/gcm_invalidation_bridge_unittest.cc',
319 'invalidation/impl/gcm_network_channel_unittest.cc',
320 'invalidation/impl/invalidation_logger_unittest.cc',
321 'invalidation/impl/invalidation_notifier_unittest.cc',
322 'invalidation/impl/invalidator_registrar_unittest.cc',
323 'invalidation/impl/invalidator_storage_unittest.cc',
324 'invalidation/impl/non_blocking_invalidator_unittest.cc',
325 'invalidation/impl/object_id_invalidation_map_unittest.cc',
326 'invalidation/impl/p2p_invalidator_unittest.cc',
327 'invalidation/impl/push_client_channel_unittest.cc',
328 'invalidation/impl/registration_manager_unittest.cc',
329 'invalidation/impl/single_object_invalidation_set_unittest.cc',
330 'invalidation/impl/sync_invalidation_listener_unittest.cc',
331 'invalidation/impl/sync_system_resources_unittest.cc',
332 'invalidation/impl/ticl_invalidation_service_unittest.cc',
333 'invalidation/impl/ticl_profile_settings_provider_unittest.cc',
334 'invalidation/impl/unacked_invalidation_set_unittest.cc',
335 ],
336 'json_schema_unittest_sources': [
337 'json_schema/json_schema_validator_unittest.cc',
338 'json_schema/json_schema_validator_unittest_base.cc',
339 'json_schema/json_schema_validator_unittest_base.h',
340 ],
341 'keyed_service_unittest_sources': [
342 'keyed_service/content/browser_context_dependency_manager_unittest.cc',
343 'keyed_service/core/dependency_graph_unittest.cc',
344 ],
345 'language_usage_metrics_unittest_sources': [
346 'language_usage_metrics/language_usage_metrics_unittest.cc',
347 ],
348 'leveldb_proto_unittest_sources': [
349 'leveldb_proto/proto_database_impl_unittest.cc',
350 ],
351 'link_header_util_unittest_sources': [
352 'link_header_util/link_header_util_unittest.cc',
353 ],
354 'login_unittest_sources': [
355 'login/screens/screen_context_unittest.cc',
356 ],
357 'memory_coordinator_unittest_sources': [
358 'memory_coordinator/browser/memory_coordinator_unittest.cc',
359 'memory_coordinator/child/child_memory_coordinator_impl_unittest.cc',
360 ],
361 'memory_pressure_unittest_sources': [
362 'memory_pressure/direct_memory_pressure_calculator_linux_unittest.cc',
363 'memory_pressure/direct_memory_pressure_calculator_win_unittest.cc',
364 'memory_pressure/filtered_memory_pressure_calculator_unittest.cc',
365 'memory_pressure/memory_pressure_monitor_unittest.cc',
366 'memory_pressure/memory_pressure_stats_collector_unittest.cc',
367 'memory_pressure/test_memory_pressure_calculator.cc',
368 'memory_pressure/test_memory_pressure_calculator.h',
369 ],
370 'metrics_unittest_sources': [
371 'metrics/call_stack_profile_metrics_provider_unittest.cc',
372 'metrics/cloned_install_detector_unittest.cc',
373 'metrics/daily_event_unittest.cc',
374 'metrics/data_use_tracker_unittest.cc',
375 'metrics/drive_metrics_provider_unittest.cc',
376 'metrics/file_metrics_provider_unittest.cc',
377 'metrics/histogram_encoder_unittest.cc',
378 'metrics/machine_id_provider_win_unittest.cc',
379 'metrics/metrics_log_manager_unittest.cc',
380 'metrics/metrics_log_unittest.cc',
381 'metrics/metrics_reporting_scheduler_unittest.cc',
382 'metrics/metrics_service_unittest.cc',
383 'metrics/metrics_state_manager_unittest.cc',
384 'metrics/net/net_metrics_log_uploader_unittest.cc',
385 'metrics/persisted_logs_unittest.cc',
386 'metrics/profiler/profiler_metrics_provider_unittest.cc',
387 'metrics/profiler/tracking_synchronizer_unittest.cc',
388 'metrics/stability_metrics_helper_unittest.cc',
389 'metrics/ui/screen_info_metrics_provider_unittest.cc',
390 ],
391 'metrics_leak_detector_unittest_sources': [
392 'metrics/leak_detector/call_stack_manager_unittest.cc',
393 'metrics/leak_detector/call_stack_table_unittest.cc',
394 'metrics/leak_detector/leak_analyzer_unittest.cc',
395 'metrics/leak_detector/leak_detector_impl_unittest.cc',
396 'metrics/leak_detector/leak_detector_unittest.cc',
397 'metrics/leak_detector/protobuf_to_mojo_converter_unittest.cc',
398 'metrics/leak_detector/ranked_set_unittest.cc',
399 ],
400 'mime_util_unittest_sources': [
401 'mime_util/mime_util_unittest.cc',
402 ],
403 'nacl_unittest_sources': [
404 'nacl/browser/nacl_file_host_unittest.cc',
405 'nacl/browser/nacl_process_host_unittest.cc',
406 'nacl/browser/nacl_validation_cache_unittest.cc',
407 'nacl/browser/pnacl_host_unittest.cc',
408 'nacl/browser/pnacl_translation_cache_unittest.cc',
409 'nacl/browser/test_nacl_browser_delegate.cc',
410 'nacl/zygote/nacl_fork_delegate_linux_unittest.cc',
411 ],
412 'navigation_interception_unittest_sources': [
413 'navigation_interception/intercept_navigation_throttle_unittest.cc',
414 ],
415 'network_hints_unittest_sources': [
416 'network_hints/renderer/dns_prefetch_queue_unittest.cc',
417 'network_hints/renderer/renderer_dns_prefetch_unittest.cc',
418 ],
419 'network_session_configurator_unittest_sources': [
420 'network_session_configurator/network_session_configurator_unittest.cc',
421 ],
422 'network_time_unittest_sources': [
423 'network_time/network_time_tracker_unittest.cc',
424 ],
425 'ntp_snippets_unittest_sources': [
426 'ntp_snippets/content_suggestions_service_unittest.cc',
427 'ntp_snippets/ntp_snippet_unittest.cc',
428 'ntp_snippets/ntp_snippets_database_unittest.cc',
429 'ntp_snippets/ntp_snippets_fetcher_unittest.cc',
430 'ntp_snippets/ntp_snippets_service_unittest.cc',
431 'ntp_snippets/ntp_snippets_status_service_unittest.cc',
432 'ntp_snippets/ntp_snippets_test_utils.cc',
433 'ntp_snippets/ntp_snippets_test_utils.h',
434 ],
435 'ntp_tiles_unittest_sources': [
436 'ntp_tiles/most_visited_sites_unittest.cc',
437 ],
438 'offline_pages_background_unittest_sources': [
439 'offline_pages/background/request_coordinator_event_logger_unittest.cc',
440 'offline_pages/background/request_coordinator_unittest.cc',
441 'offline_pages/background/request_picker_unittest.cc',
442 'offline_pages/background/request_queue_store_unittest.cc',
443 'offline_pages/background/request_queue_unittest.cc',
444 'offline_pages/background/save_page_request_unittest.cc',
445 ],
446 'offline_pages_downloads_unittest_sources': [
447 'offline_pages/downloads/download_ui_adapter_unittest.cc',
448 ],
449 'offline_pages_unittest_sources': [
450 'offline_pages/archive_manager_unittest.cc',
451 'offline_pages/client_policy_controller_unittest.cc',
452 'offline_pages/offline_page_metadata_store_impl_unittest.cc',
453 'offline_pages/offline_page_model_event_logger_unittest.cc',
454 'offline_pages/offline_page_model_impl_unittest.cc',
455 'offline_pages/offline_page_storage_manager_unittest.cc',
456 'offline_pages/snapshot_controller_unittest.cc',
457 ],
458 'omnibox_unittest_sources': [
459 'omnibox/browser/answers_cache_unittest.cc',
460 'omnibox/browser/autocomplete_input_unittest.cc',
461 'omnibox/browser/autocomplete_match_unittest.cc',
462 'omnibox/browser/autocomplete_provider_unittest.cc',
463 'omnibox/browser/autocomplete_result_unittest.cc',
464 'omnibox/browser/base_search_provider_unittest.cc',
465 'omnibox/browser/bookmark_provider_unittest.cc',
466 'omnibox/browser/builtin_provider_unittest.cc',
467 'omnibox/browser/clipboard_url_provider_unittest.cc',
468 'omnibox/browser/history_quick_provider_unittest.cc',
469 'omnibox/browser/history_url_provider_unittest.cc',
470 'omnibox/browser/in_memory_url_index_types_unittest.cc',
471 'omnibox/browser/in_memory_url_index_unittest.cc',
472 'omnibox/browser/keyword_provider_unittest.cc',
473 'omnibox/browser/omnibox_edit_unittest.cc',
474 'omnibox/browser/omnibox_field_trial_unittest.cc',
475 'omnibox/browser/omnibox_popup_model_unittest.cc',
476 'omnibox/browser/omnibox_view_unittest.cc',
477 'omnibox/browser/scored_history_match_unittest.cc',
478 'omnibox/browser/shortcuts_backend_unittest.cc',
479 'omnibox/browser/shortcuts_database_unittest.cc',
480 'omnibox/browser/shortcuts_provider_unittest.cc',
481 'omnibox/browser/suggestion_answer_unittest.cc',
482 'omnibox/browser/url_prefix_unittest.cc',
483 'omnibox/browser/zero_suggest_provider_unittest.cc',
484 ],
485 'open_from_clipboard_unittest_sources': [
486 'open_from_clipboard/clipboard_recent_content_ios_unittest.mm',
487 ],
488 'os_crypt_unittest_sources': [
489 'os_crypt/ie7_password_win_unittest.cc',
490 'os_crypt/keychain_password_mac_unittest.mm',
491 'os_crypt/os_crypt_unittest.cc',
492 ],
493 'ownership_unittest_sources': [
494 'ownership/owner_key_util_impl_unittest.cc',
495 ],
496 'packed_ct_ev_whitelist_unittest_sources': [
497 'packed_ct_ev_whitelist/bit_stream_reader_unittest.cc',
498 'packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc',
499 ],
500 'password_manager_unittest_sources': [
501 'password_manager/content/browser/content_password_manager_driver_unittest .cc',
502 'password_manager/content/browser/credential_manager_impl_unittest.cc',
503 'password_manager/core/browser/affiliated_match_helper_unittest.cc',
504 'password_manager/core/browser/affiliation_backend_unittest.cc',
505 'password_manager/core/browser/affiliation_database_unittest.cc',
506 'password_manager/core/browser/affiliation_fetch_throttler_unittest.cc',
507 'password_manager/core/browser/affiliation_fetcher_unittest.cc',
508 'password_manager/core/browser/affiliation_service_unittest.cc',
509 'password_manager/core/browser/affiliation_utils_unittest.cc',
510 'password_manager/core/browser/browser_save_password_progress_logger_unitt est.cc',
511 'password_manager/core/browser/export/csv_writer_unittest.cc',
512 'password_manager/core/browser/export/password_csv_writer_unittest.cc',
513 'password_manager/core/browser/export/password_exporter_unittest.cc',
514 'password_manager/core/browser/facet_manager_unittest.cc',
515 'password_manager/core/browser/form_fetcher_impl_unittest.cc',
516 'password_manager/core/browser/form_saver_impl_unittest.cc',
517 'password_manager/core/browser/import/csv_reader_unittest.cc',
518 'password_manager/core/browser/import/password_csv_reader_unittest.cc',
519 'password_manager/core/browser/import/password_importer_unittest.cc',
520 'password_manager/core/browser/log_manager_unittest.cc',
521 'password_manager/core/browser/log_router_unittest.cc',
522 'password_manager/core/browser/login_database_ios_unittest.cc',
523 'password_manager/core/browser/login_database_unittest.cc',
524 'password_manager/core/browser/login_model_unittest.cc',
525 'password_manager/core/browser/mock_affiliated_match_helper.cc',
526 'password_manager/core/browser/mock_affiliated_match_helper.h',
527 'password_manager/core/browser/password_autofill_manager_unittest.cc',
528 'password_manager/core/browser/password_bubble_experiment_unittest.cc',
529 'password_manager/core/browser/password_form_manager_unittest.cc',
530 'password_manager/core/browser/password_generation_manager_unittest.cc',
531 'password_manager/core/browser/password_manager_settings_migration_experim ent_unittest.cc',
532 'password_manager/core/browser/password_manager_unittest.cc',
533 'password_manager/core/browser/password_manager_util_unittest.cc',
534 'password_manager/core/browser/password_store_default_unittest.cc',
535 'password_manager/core/browser/password_store_origin_unittest.h',
536 'password_manager/core/browser/password_store_unittest.cc',
537 'password_manager/core/browser/password_syncable_service_unittest.cc',
538 'password_manager/core/browser/password_ui_utils_unittest.cc',
539 'password_manager/core/browser/psl_matching_helper_unittest.cc',
540 'password_manager/core/browser/sql_table_builder_unittest.cc',
541 'password_manager/core/browser/statistics_table_unittest.cc',
542 'password_manager/core/common/credential_manager_types_unittest.cc',
543 'password_manager/sync/browser/password_manager_setting_migrator_service_u nittest.cc',
544 'password_manager/sync/browser/password_sync_util_unittest.cc',
545 'password_manager/sync/browser/sync_credentials_filter_unittest.cc',
546 'password_manager/sync/browser/sync_username_test_base.cc',
547 'password_manager/sync/browser/sync_username_test_base.h',
548 ],
549 'policy_unittest_sources': [
550 'policy/core/browser/android/android_combined_policy_provider_unittest.cc' ,
551 'policy/core/browser/android/policy_converter_unittest.cc',
552 'policy/core/browser/autofill_policy_handler_unittest.cc',
553 'policy/core/browser/browser_policy_connector_unittest.cc',
554 'policy/core/browser/configuration_policy_handler_unittest.cc',
555 'policy/core/browser/configuration_policy_pref_store_unittest.cc',
556 'policy/core/browser/proxy_policy_handler_unittest.cc',
557 'policy/core/browser/url_blacklist_manager_unittest.cc',
558 'policy/core/browser/url_blacklist_policy_handler_unittest.cc',
559 'policy/core/common/async_policy_provider_unittest.cc',
560 'policy/core/common/cloud/cloud_policy_client_unittest.cc',
561 'policy/core/common/cloud/cloud_policy_core_unittest.cc',
562 'policy/core/common/cloud/cloud_policy_manager_unittest.cc',
563 'policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc',
564 'policy/core/common/cloud/cloud_policy_service_unittest.cc',
565 'policy/core/common/cloud/cloud_policy_validator_unittest.cc',
566 'policy/core/common/cloud/component_cloud_policy_service_unittest.cc',
567 'policy/core/common/cloud/component_cloud_policy_store_unittest.cc',
568 'policy/core/common/cloud/component_cloud_policy_updater_unittest.cc',
569 'policy/core/common/cloud/device_management_service_unittest.cc',
570 'policy/core/common/cloud/external_policy_data_fetcher_unittest.cc',
571 'policy/core/common/cloud/external_policy_data_updater_unittest.cc',
572 'policy/core/common/cloud/policy_header_io_helper_unittest.cc',
573 'policy/core/common/cloud/policy_header_service_unittest.cc',
574 'policy/core/common/cloud/resource_cache_unittest.cc',
575 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc',
576 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
577 'policy/core/common/cloud/user_info_fetcher_unittest.cc',
578 'policy/core/common/config_dir_policy_loader_unittest.cc',
579 'policy/core/common/generate_policy_source_unittest.cc',
580 'policy/core/common/policy_bundle_unittest.cc',
581 'policy/core/common/policy_loader_ios_unittest.mm',
582 'policy/core/common/policy_loader_mac_unittest.cc',
583 'policy/core/common/policy_loader_win_unittest.cc',
584 'policy/core/common/policy_map_unittest.cc',
585 'policy/core/common/policy_service_impl_unittest.cc',
586 'policy/core/common/policy_statistics_collector_unittest.cc',
587 'policy/core/common/preg_parser_win_unittest.cc',
588 'policy/core/common/registry_dict_win_unittest.cc',
589 'policy/core/common/remote_commands/remote_commands_queue_unittest.cc',
590 'policy/core/common/remote_commands/remote_commands_service_unittest.cc',
591 'policy/core/common/schema_map_unittest.cc',
592 'policy/core/common/schema_registry_tracking_policy_provider_unittest.cc',
593 'policy/core/common/schema_registry_unittest.cc',
594 'policy/core/common/schema_unittest.cc',
595 ],
596 'power_unittest_sources': [
597 'power/origin_power_map_unittest.cc',
598 ],
599 'precache_unittest_sources': [
600 'precache/content/precache_manager_unittest.cc',
601 'precache/core/fetcher_pool_unittest.cc',
602 'precache/core/precache_database_unittest.cc',
603 'precache/core/precache_fetcher_unittest.cc',
604 'precache/core/precache_referrer_host_table_unittest.cc',
605 'precache/core/precache_session_table_unittest.cc',
606 'precache/core/precache_url_table_unittest.cc',
607 ],
608 'user_prefs_unittest_sources': [
609 'user_prefs/tracked/device_id_unittest.cc',
610 'user_prefs/tracked/pref_hash_calculator_unittest.cc',
611 'user_prefs/tracked/pref_hash_filter_unittest.cc',
612 'user_prefs/tracked/pref_hash_store_impl_unittest.cc',
613 'user_prefs/tracked/registry_hash_store_contents_win_unittest.cc',
614 'user_prefs/tracked/segregated_pref_store_unittest.cc',
615 'user_prefs/tracked/tracked_preferences_migration_unittest.cc',
616 ],
617 'proximity_auth_unittest_sources': [
618 'proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.c c',
619 'proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc',
620 'proximity_auth/ble/bluetooth_low_energy_connection_unittest.cc',
621 'proximity_auth/ble/bluetooth_low_energy_device_whitelist_unittest.cc',
622 'proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest. cc',
623 'proximity_auth/ble/bluetooth_low_energy_weave_packet_generator_unittest.c c',
624 'proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver_unittest.cc ',
625 'proximity_auth/bluetooth_connection_finder_unittest.cc',
626 'proximity_auth/bluetooth_connection_unittest.cc',
627 'proximity_auth/bluetooth_throttler_impl_unittest.cc',
628 'proximity_auth/connection_unittest.cc',
629 'proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl_unittest.cc' ,
630 'proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc',
631 'proximity_auth/cryptauth/cryptauth_client_impl_unittest.cc',
632 'proximity_auth/cryptauth/cryptauth_device_manager_unittest.cc',
633 'proximity_auth/cryptauth/cryptauth_enroller_impl_unittest.cc',
634 'proximity_auth/cryptauth/cryptauth_enrollment_manager_unittest.cc',
635 'proximity_auth/cryptauth/cryptauth_gcm_manager_impl_unittest.cc',
636 'proximity_auth/cryptauth/fake_secure_message_delegate_unittest.cc',
637 'proximity_auth/cryptauth/sync_scheduler_impl_unittest.cc',
638 'proximity_auth/device_to_device_authenticator_unittest.cc',
639 'proximity_auth/device_to_device_operations_unittest.cc',
640 'proximity_auth/device_to_device_operations_unittest.cc',
641 'proximity_auth/device_to_device_secure_context_unittest.cc',
642 'proximity_auth/logging/logging_unittest.cc',
643 'proximity_auth/messenger_impl_unittest.cc',
644 'proximity_auth/proximity_auth_pref_manager_unittest.cc',
645 'proximity_auth/proximity_auth_system_unittest.cc',
646 'proximity_auth/proximity_monitor_impl_unittest.cc',
647 'proximity_auth/remote_device_life_cycle_impl_unittest.cc',
648 'proximity_auth/remote_device_loader_unittest.cc',
649 'proximity_auth/remote_status_update_unittest.cc',
650 'proximity_auth/throttled_bluetooth_connection_finder_unittest.cc',
651 'proximity_auth/unlock_manager_unittest.cc',
652 'proximity_auth/wire_message_unittest.cc',
653 ],
654 'proxy_config_unittest_sources': [
655 'proxy_config/pref_proxy_config_tracker_impl_unittest.cc',
656 'proxy_config/proxy_config_dictionary_unittest.cc',
657 'proxy_config/proxy_prefs_unittest.cc',
658 ],
659 'prefs_unittest_sources': [
660 'prefs/default_pref_store_unittest.cc',
661 'prefs/in_memory_pref_store_unittest.cc',
662 'prefs/json_pref_store_unittest.cc',
663 'prefs/overlay_user_pref_store_unittest.cc',
664 'prefs/pref_change_registrar_unittest.cc',
665 'prefs/pref_member_unittest.cc',
666 'prefs/pref_notifier_impl_unittest.cc',
667 'prefs/pref_service_unittest.cc',
668 'prefs/pref_value_map_unittest.cc',
669 'prefs/pref_value_store_unittest.cc',
670 'prefs/scoped_user_pref_update_unittest.cc',
671 ],
672 'previews_unittest_sources': [
673 'previews/previews_experiments_unittest.cc',
674 ],
675 'query_parser_unittest_sources': [
676 'query_parser/query_parser_unittest.cc',
677 'query_parser/snippet_unittest.cc',
678 ],
679 'rappor_unittest_sources': [
680 'rappor/bloom_filter_unittest.cc',
681 'rappor/byte_vector_utils_unittest.cc',
682 'rappor/log_uploader_unittest.cc',
683 'rappor/rappor_metric_unittest.cc',
684 'rappor/rappor_prefs_unittest.cc',
685 'rappor/rappor_service_unittest.cc',
686 'rappor/rappor_utils_unittest.cc',
687 'rappor/reports_unittest.cc',
688 'rappor/sampler_unittest.cc',
689 ],
690 'rlz_unittest_sources': [
691 'rlz/rlz_tracker_unittest.cc',
692 ],
693 'safe_browsing_db_mobile_unittest_sources': [
694 'safe_browsing_db/remote_database_manager_unittest.cc',
695 'safe_browsing_db/safe_browsing_api_handler_unittest.cc',
696 ],
697 'safe_browsing_db_unittest_sources': [
698 'safe_browsing_db/database_manager_unittest.cc',
699 'safe_browsing_db/prefix_set_unittest.cc',
700 'safe_browsing_db/testing_util.h',
701 'safe_browsing_db/util_unittest.cc',
702 'safe_browsing_db/v4_database_unittest.cc',
703 'safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc',
704 'safe_browsing_db/v4_protocol_manager_util_unittest.cc',
705 'safe_browsing_db/v4_rice_unittest.cc',
706 'safe_browsing_db/v4_store_unittest.cc',
707 'safe_browsing_db/v4_update_protocol_manager_unittest.cc',
708 ],
709 'safe_json_unittest_sources': [
710 'safe_json/json_sanitizer_unittest.cc',
711 'safe_json/testing_json_parser_unittest.cc',
712 ],
713 'search_unittest_sources': [
714 'search/search_android_unittest.cc',
715 'search/search_unittest.cc',
716 ],
717 'search_engines_unittest_sources': [
718 'search_engines/default_search_manager_unittest.cc',
719 'search_engines/default_search_policy_handler_unittest.cc',
720 'search_engines/default_search_pref_migration_unittest.cc',
721 'search_engines/keyword_table_unittest.cc',
722 'search_engines/search_engine_data_type_controller_unittest.cc',
723 'search_engines/search_host_to_urls_map_unittest.cc',
724 'search_engines/template_url_prepopulate_data_unittest.cc',
725 'search_engines/template_url_service_util_unittest.cc',
726 'search_engines/template_url_unittest.cc',
727 ],
728 'search_provider_logos_unittest_sources': [
729 'search_provider_logos/logo_cache_unittest.cc',
730 'search_provider_logos/logo_tracker_unittest.cc',
731 ],
732 'security_state_unittest_sources': [
733 'security_state/security_state_model_unittest.cc',
734 ],
735 'sessions_unittest_sources': [
736 'sessions/content/content_serialized_navigation_builder_unittest.cc',
737 'sessions/content/content_serialized_navigation_driver_unittest.cc',
738 'sessions/core/serialized_navigation_entry_unittest.cc',
739 'sessions/core/session_backend_unittest.cc',
740 'sessions/core/session_types_unittest.cc',
741 'sessions/core/tab_restore_service_unittest.cc',
742 'sessions/ios/ios_serialized_navigation_builder_unittest.mm',
743 'sessions/ios/ios_serialized_navigation_driver_unittest.cc',
744 ],
745 'signin_unittest_sources': [
746 'signin/core/browser/account_info_unittest.cc',
747 'signin/core/browser/account_investigator_unittest.cc',
748 'signin/core/browser/account_tracker_service_unittest.cc',
749 'signin/core/browser/gaia_cookie_manager_service_unittest.cc',
750 'signin/core/browser/refresh_token_annotation_request_unittest.cc',
751 'signin/core/browser/signin_error_controller_unittest.cc',
752 'signin/core/browser/signin_investigator_unittest.cc',
753 'signin/core/browser/signin_status_metrics_provider_unittest.cc',
754 'signin/core/browser/webdata/token_service_table_unittest.cc',
755 'signin/ios/browser/account_consistency_service_unittest.mm',
756 'signin/ios/browser/profile_oauth2_token_service_ios_delegate_unittest.mm' ,
757 ],
758 'spellcheck_unittest_sources': [
759 'spellcheck/renderer/custom_dictionary_engine_unittest.cc',
760 'spellcheck/renderer/spellcheck_multilingual_unittest.cc',
761 'spellcheck/renderer/spellcheck_provider_hunspell_unittest.cc',
762 'spellcheck/renderer/spellcheck_provider_mac_unittest.cc',
763 'spellcheck/renderer/spellcheck_provider_test.cc',
764 'spellcheck/renderer/spellcheck_provider_test.h',
765 'spellcheck/renderer/spellcheck_unittest.cc',
766 'spellcheck/renderer/spellcheck_worditerator_unittest.cc',
767 ],
768 'ssl_config_unittest_sources': [
769 'ssl_config/ssl_config_service_manager_pref_unittest.cc',
770 ],
771 'ssl_errors_unittest_sources': [
772 'ssl_errors/error_classification_unittest.cc'
773 ],
774 'storage_monitor_unittest_sources': [
775 'storage_monitor/image_capture_device_manager_unittest.mm',
776 'storage_monitor/media_storage_util_unittest.cc',
777 'storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc ',
778 'storage_monitor/storage_info_unittest.cc',
779 'storage_monitor/storage_monitor_chromeos_unittest.cc',
780 'storage_monitor/storage_monitor_linux_unittest.cc',
781 'storage_monitor/storage_monitor_mac_unittest.mm',
782 'storage_monitor/storage_monitor_unittest.cc',
783 'storage_monitor/storage_monitor_win_unittest.cc',
784 ],
785 'subresource_filter_content_browser_unittest_sources': [
786 'subresource_filter/content/browser/content_ruleset_distributor_unittest.c c',
787 'subresource_filter/content/browser/content_subresource_filter_driver_fact ory_unittest.cc',
788 'subresource_filter/content/browser/subresource_filter_navigation_throttle _unittests.cc',
789 ],
790 'subresource_filter_content_renderer_unittest_sources': [
791 'subresource_filter/content/renderer/document_subresource_filter_unittest. cc',
792 'subresource_filter/content/renderer/subresource_filter_agent_unittest.cc' ,
793 ],
794 'subresource_filter_core_browser_unittest_sources': [
795 'subresource_filter/core/browser/ruleset_service_unittest.cc',
796 'subresource_filter/core/browser/subresource_filter_features_unittest.cc',
797 ],
798 'subresource_filter_core_common_unittest_sources': [
799 'subresource_filter/core/common/closed_hash_map_unittest.cc',
800 'subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc',
801 'subresource_filter/core/common/indexed_ruleset_unittest.cc',
802 'subresource_filter/core/common/knuth_morris_pratt_unittest.cc',
803 'subresource_filter/core/common/ngram_extractor_unittest.cc',
804 'subresource_filter/core/common/string_splitter_unittest.cc',
805 'subresource_filter/core/common/unindexed_ruleset_unittest.cc',
806 'subresource_filter/core/common/url_pattern_matching_unittest.cc',
807 ],
808 'suggestions_unittest_sources': [
809 'suggestions/blacklist_store_unittest.cc',
810 'suggestions/image_manager_unittest.cc',
811 'suggestions/suggestions_service_unittest.cc',
812 'suggestions/suggestions_store_unittest.cc',
813 ],
814 'supervised_user_error_page_unittest_sources': [
815 'supervised_user_error_page/supervised_user_error_page_unittest.cc',
816 ],
817 'sync_unittest_sources': [
818 'sync/api/attachments/attachment_id_unittest.cc',
819 'sync/api/attachments/attachment_metadata_unittest.cc',
820 'sync/api/attachments/attachment_unittest.cc',
821 'sync/api/entity_data_unittest.cc',
822 'sync/api/model_type_service_unittest.cc',
823 'sync/api/sync_change_unittest.cc',
824 'sync/api/sync_data_unittest.cc',
825 'sync/api/sync_error_unittest.cc',
826 'sync/api/sync_merge_result_unittest.cc',
827 'sync/driver/about_sync_util_unittest.cc',
828 'sync/driver/backend_migrator_unittest.cc',
829 'sync/driver/data_type_manager_impl_unittest.cc',
830 'sync/driver/device_count_metrics_provider_unittest.cc',
831 'sync/driver/device_info_data_type_controller_unittest.cc',
832 'sync/driver/device_info_service_unittest.cc',
833 'sync/driver/device_info_sync_service_unittest.cc',
834 'sync/driver/device_info_util_unittest.cc',
835 'sync/driver/frontend_data_type_controller_unittest.cc',
836 'sync/driver/generic_change_processor_unittest.cc',
837 'sync/driver/glue/browser_thread_model_worker_unittest.cc',
838 'sync/driver/glue/sync_backend_host_impl_unittest.cc',
839 'sync/driver/glue/sync_backend_registrar_unittest.cc',
840 'sync/driver/glue/ui_model_worker_unittest.cc',
841 'sync/driver/local_device_info_provider_unittest.cc',
842 'sync/driver/model_association_manager_unittest.cc',
843 'sync/driver/non_blocking_data_type_controller_unittest.cc',
844 'sync/driver/non_ui_data_type_controller_unittest.cc',
845 'sync/driver/non_ui_model_type_controller_unittest.cc',
846 'sync/driver/profile_sync_auth_provider_unittest.cc',
847 'sync/driver/shared_change_processor_unittest.cc',
848 'sync/driver/startup_controller_unittest.cc',
849 'sync/driver/sync_prefs_unittest.cc',
850 'sync/driver/sync_stopped_reporter_unittest.cc',
851 'sync/driver/sync_util_unittest.cc',
852 'sync/driver/system_encryptor_unittest.cc',
853 'sync/driver/ui_data_type_controller_unittest.cc',
854 'sync/driver/ui_model_type_controller_unittest.cc',
855 'sync/engine_impl/apply_control_data_updates_unittest.cc',
856 'sync/engine_impl/backoff_delay_provider_unittest.cc',
857 'sync/engine_impl/directory_commit_contribution_unittest.cc',
858 'sync/engine_impl/directory_update_handler_unittest.cc',
859 'sync/engine_impl/get_updates_processor_unittest.cc',
860 'sync/engine_impl/model_type_worker_unittest.cc',
861 'sync/engine_impl/sync_scheduler_unittest.cc',
862 'sync/engine_impl/syncer_proto_util_unittest.cc',
863 'sync/engine_impl/syncer_unittest.cc',
864 'sync/engine_impl/syncer_util_unittest.cc',
865 'sync/engine_impl/worker_entity_tracker_unittest.cc',
866 'sync/core_impl/attachments/attachment_downloader_impl_unittest.cc',
867 'sync/core_impl/attachments/attachment_service_impl_unittest.cc',
868 'sync/core_impl/attachments/attachment_service_proxy_unittest.cc',
869 'sync/core_impl/attachments/attachment_store_frontend_unittest.cc',
870 'sync/core_impl/attachments/attachment_store_test_template.h',
871 'sync/core_impl/attachments/attachment_uploader_impl_unittest.cc',
872 'sync/core_impl/attachments/fake_attachment_downloader_unittest.cc',
873 'sync/core_impl/attachments/fake_attachment_uploader_unittest.cc',
874 'sync/core_impl/attachments/in_memory_attachment_store_unittest.cc',
875 'sync/core_impl/attachments/on_disk_attachment_store_unittest.cc',
876 'sync/core_impl/attachments/task_queue_unittest.cc',
877 'sync/core_impl/debug_info_event_listener_unittest.cc',
878 'sync/core/http_bridge_unittest.cc',
879 'sync/core_impl/js_mutation_event_observer_unittest.cc',
880 'sync/core_impl/js_sync_encryption_handler_observer_unittest.cc',
881 'sync/core_impl/js_sync_manager_observer_unittest.cc',
882 'sync/core_impl/model_type_connector_proxy_unittest.cc',
883 'sync/core/model_type_store_backend_unittest.cc',
884 'sync/core/model_type_store_impl_unittest.cc',
885 'sync/core/processor_entity_tracker_unittest.cc',
886 'sync/core_impl/protocol_event_buffer_unittest.cc',
887 'sync/base/attachment_id_proto_unittest.cc',
888 'sync/base/cancelation_signal_unittest.cc',
889 'sync/base/enum_set_unittest.cc',
890 'sync/base/node_ordinal_unittest.cc',
891 'sync/base/ordinal_unittest.cc',
892 'sync/base/unique_position_unittest.cc',
893 'sync/core/change_record_unittest.cc',
894 'sync/core/data_batch_impl_unittest.cc',
895 'sync/engine/model_safe_worker_unittest.cc',
896 'sync/sessions/sync_session_snapshot_unittest.cc',
897 'sync/core/simple_metadata_change_list_unittest.cc',
898 'sync/base/immutable_unittest.cc',
899 'sync/base/proto_value_ptr_unittest.cc',
900 'sync/base/weak_handle_unittest.cc',
901 'sync/core/shared_model_type_processor_unittest.cc',
902 'sync/core_impl/sync_encryption_handler_impl_unittest.cc',
903 'sync/core_impl/sync_manager_impl_unittest.cc',
904 'sync/core_impl/syncapi_server_connection_manager_unittest.cc',
905 'sync/js/js_event_details_unittest.cc',
906 'sync/js/sync_js_controller_unittest.cc',
907 'sync/protocol/proto_enum_conversions_unittest.cc',
908 'sync/protocol/proto_value_conversions_unittest.cc',
909 'sync/sessions_impl/model_type_registry_unittest.cc',
910 'sync/sessions_impl/nudge_tracker_unittest.cc',
911 'sync/sessions_impl/status_controller_unittest.cc',
912 'sync/syncable/directory_backing_store_unittest.cc',
913 'sync/syncable/directory_unittest.cc',
914 'sync/syncable/directory_unittest.h',
915 'sync/syncable/entry_kernel_unittest.cc',
916 'sync/syncable/model_type_unittest.cc',
917 'sync/syncable/nigori_util_unittest.cc',
918 'sync/syncable/parent_child_index_unittest.cc',
919 'sync/syncable/syncable_enum_conversions_unittest.cc',
920 'sync/syncable/syncable_id_unittest.cc',
921 'sync/syncable/syncable_unittest.cc',
922 'sync/syncable/syncable_util_unittest.cc',
923 'sync/base/cryptographer_unittest.cc',
924 'sync/base/data_type_histogram_unittest.cc',
925 'sync/base/get_session_name_unittest.cc',
926 'sync/base/nigori_unittest.cc',
927 'sync/base/protobuf_unittest.cc',
928 ],
929 'sync_bookmarks_unittest_sources': [
930 'sync_bookmarks/bookmark_data_type_controller_unittest.cc',
931 ],
932 'sync_sessions_unittest_sources': [
933 'sync_sessions/favicon_cache_unittest.cc',
934 'sync_sessions/revisit/bookmarks_page_revisit_observer_unittest.cc',
935 'sync_sessions/revisit/current_tab_matcher_unittest.cc',
936 'sync_sessions/revisit/offset_tab_matcher_unittest.cc',
937 'sync_sessions/revisit/page_revisit_broadcaster_unittest.cc',
938 'sync_sessions/revisit/sessions_page_revisit_observer_unittest.cc',
939 'sync_sessions/revisit/typed_url_page_revisit_task_unittest.cc',
940 'sync_sessions/session_data_type_controller_unittest.cc',
941 'sync_sessions/sync_sessions_metrics_unittest.cc',
942 'sync_sessions/synced_session_tracker_unittest.cc',
943 'sync_sessions/tab_node_pool_unittest.cc',
944 ],
945 'syncable_prefs_unittest_sources': [
946 'syncable_prefs/pref_model_associator_unittest.cc',
947 'syncable_prefs/pref_service_syncable_unittest.cc',
948 ],
949 'tracing_unittest_sources': [
950 'tracing/browser/trace_config_file_unittest.cc',
951 'tracing/common/graphics_memory_dump_provider_android_unittest.cc',
952 'tracing/common/process_metrics_memory_dump_provider_unittest.cc',
953 'tracing/core/proto_utils_unittest.cc',
954 'tracing/core/proto_zero_message_unittest.cc',
955 'tracing/core/trace_buffer_writer_unittest.cc',
956 'tracing/core/trace_ring_buffer_unittest.cc',
957 'tracing/core/scattered_stream_writer_unittest.cc',
958 'tracing/test/fake_scattered_buffer.cc',
959 'tracing/test/proto_zero_generation_unittest.cc',
960 ],
961 'translate_unittest_sources': [
962 'translate/core/browser/language_state_unittest.cc',
963 'translate/core/browser/mock_translate_driver.cc',
964 'translate/core/browser/translate_browser_metrics_unittest.cc',
965 'translate/core/browser/translate_language_list_unittest.cc',
966 'translate/core/browser/translate_manager_unittest.cc',
967 'translate/core/browser/translate_prefs_unittest.cc',
968 'translate/core/browser/translate_script_unittest.cc',
969 'translate/core/browser/translate_ui_delegate_unittest.cc',
970 'translate/core/common/translate_metrics_unittest.cc',
971 'translate/core/common/translate_util_unittest.cc',
972 'translate/core/language_detection/language_detection_util_unittest.cc',
973 'translate/ios/browser/js_translate_manager_unittest.mm',
974 'translate/ios/browser/language_detection_controller_unittest.mm',
975 'translate/ios/browser/translate_controller_unittest.mm',
976 ],
977 'zoom_unittest_sources': [
978 'zoom/page_zoom_unittests.cc',
979 ],
980 'update_client_unittest_sources': [
981 'update_client/component_patcher_unittest.cc',
982 'update_client/crx_downloader_unittest.cc',
983 'update_client/persisted_data_unittest.cc',
984 'update_client/ping_manager_unittest.cc',
985 'update_client/request_sender_unittest.cc',
986 'update_client/update_checker_unittest.cc',
987 'update_client/update_client_unittest.cc',
988 'update_client/update_query_params_unittest.cc',
989 'update_client/update_response_unittest.cc',
990 'update_client/utils_unittest.cc',
991 ],
992 'upload_list_unittest_sources': [
993 'upload_list/upload_list_unittest.cc',
994 ],
995 'url_formatter_unittest_sources': [
996 'url_formatter/elide_url_unittest.cc',
997 'url_formatter/url_fixer_unittest.cc',
998 'url_formatter/url_formatter_unittest.cc',
999 ],
1000 'url_matcher_unittest_sources': [
1001 'url_matcher/regex_set_matcher_unittest.cc',
1002 'url_matcher/string_pattern_unittest.cc',
1003 'url_matcher/substring_set_matcher_unittest.cc',
1004 'url_matcher/url_matcher_factory_unittest.cc',
1005 'url_matcher/url_matcher_unittest.cc',
1006 ],
1007 'user_manager_unittest_sources': [
1008 'user_manager/user_unittest.cc',
1009 ],
1010 'variations_unittest_sources': [
1011 'variations/active_field_trials_unittest.cc',
1012 'variations/caching_permuted_entropy_provider_unittest.cc',
1013 'variations/entropy_provider_unittest.cc',
1014 'variations/experiment_labels_unittest.cc',
1015 'variations/metrics_util_unittest.cc',
1016 'variations/net/variations_http_headers_unittest.cc',
1017 'variations/service/ui_string_overrider_unittest.cc',
1018 'variations/service/variations_service_unittest.cc',
1019 'variations/study_filtering_unittest.cc',
1020 'variations/variations_associated_data_unittest.cc',
1021 'variations/variations_http_header_provider_unittest.cc',
1022 'variations/variations_request_scheduler_mobile_unittest.cc',
1023 'variations/variations_request_scheduler_unittest.cc',
1024 'variations/variations_seed_processor_unittest.cc',
1025 'variations/variations_seed_simulator_unittest.cc',
1026 'variations/variations_seed_store_unittest.cc',
1027 ],
1028 'visitedlink_unittest_sources': [
1029 'visitedlink/test/visitedlink_unittest.cc',
1030 ],
1031 'wallpaper_unittest_sources': [
1032 'wallpaper/wallpaper_resizer_unittest.cc',
1033 ],
1034 'web_cache_unittest_sources': [
1035 'web_cache/browser/web_cache_manager_unittest.cc',
1036 ],
1037 'web_modal_unittest_sources': [
1038 'web_modal/web_contents_modal_dialog_manager_unittest.cc',
1039 ],
1040 'web_resource_unittest_sources': [
1041 'web_resource/eula_accepted_notifier_unittest.cc',
1042 'web_resource/resource_request_allowed_notifier_unittest.cc',
1043 ],
1044 'web_restrictions_unittest_sources' : [
1045 'web_restrictions/browser/web_restrictions_client_unittest.cc',
1046 'web_restrictions/browser/web_restrictions_resource_throttle_unittest.cc',
1047 ],
1048 'webcrypto_unittest_sources': [
1049 'webcrypto/algorithms/aes_cbc_unittest.cc',
1050 'webcrypto/algorithms/aes_ctr_unittest.cc',
1051 'webcrypto/algorithms/aes_gcm_unittest.cc',
1052 'webcrypto/algorithms/aes_kw_unittest.cc',
1053 'webcrypto/algorithms/ecdh_unittest.cc',
1054 'webcrypto/algorithms/ecdsa_unittest.cc',
1055 'webcrypto/algorithms/hmac_unittest.cc',
1056 'webcrypto/algorithms/rsa_oaep_unittest.cc',
1057 'webcrypto/algorithms/rsa_pss_unittest.cc',
1058 'webcrypto/algorithms/rsa_ssa_unittest.cc',
1059 'webcrypto/algorithms/sha_unittest.cc',
1060 'webcrypto/algorithms/test_helpers.cc',
1061 'webcrypto/algorithms/test_helpers.h',
1062 'webcrypto/status_unittest.cc',
1063 ],
1064 'webdata_unittest_sources': [
1065 'webdata/common/web_database_migration_unittest.cc',
1066 ],
1067 },
1068 'targets': [
1069 {
1070 # GN version: //components:components_tests_pak
1071 'target_name': 'components_tests_pak',
1072 'type': 'none',
1073 'dependencies': [
1074 'components_resources.gyp:components_resources',
1075 'components_strings.gyp:components_strings',
1076 ],
1077 'actions': [
1078 {
1079 'action_name': 'repack_components_tests_pak',
1080 'variables': {
1081 'pak_inputs': [
1082 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
1083 '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_strings_ en-US.pak',
1084 ],
1085 'pak_output': '<(PRODUCT_DIR)/components_tests_resources.pak',
1086 },
1087 'includes': [ '../build/repack_action.gypi' ],
1088 },
1089 ],
1090 'direct_dependent_settings': {
1091 'mac_bundle_resources': [
1092 '<(PRODUCT_DIR)/components_tests_resources.pak',
1093 ],
1094 },
1095 },
1096 {
1097 # GN version: //components:components_unittests
1098 'target_name': 'components_unittests',
1099 'type': '<(gtest_target_type)',
1100 'sources': [
1101 'test/run_all_unittests.cc',
1102
1103 '<@(auto_login_parser_unittest_sources)',
1104 '<@(autofill_unittest_sources)',
1105 '<@(base32_unittest_sources)',
1106 '<@(bookmarks_unittest_sources)',
1107 '<@(browser_sync_unittest_sources)',
1108 '<@(browser_watcher_unittest_sources)',
1109 '<@(browsing_data_ui_unittest_sources)',
1110 '<@(bubble_unittest_sources)',
1111 '<@(captive_portal_unittest_sources)',
1112 '<@(cast_certificate_unittest_sources)',
1113 '<@(client_update_protocol_unittest_sources)',
1114 '<@(cloud_devices_unittest_sources)',
1115 '<@(component_updater_unittest_sources)',
1116 '<@(content_settings_unittest_sources)',
1117 '<@(crash_unittest_sources)',
1118 '<@(crx_file_unittest_sources)',
1119 '<@(data_reduction_proxy_unittest_sources)',
1120 '<@(data_usage_unittest_sources)',
1121 '<@(data_use_measurement_unittest_sources)',
1122 '<@(device_event_log_unittest_sources)',
1123 '<@(dom_distiller_unittest_sources)',
1124 '<@(favicon_base_unittest_sources)',
1125 '<@(favicon_unittest_sources)',
1126 '<@(flags_ui_unittest_sources)',
1127 '<@(gcm_driver_crypto_unittest_sources)',
1128 '<@(gcm_driver_unittest_sources)',
1129 '<@(google_unittest_sources)',
1130 '<@(history_unittest_sources)',
1131 '<@(image_fetcher_unittest_sources)',
1132 '<@(instance_id_unittest_sources)',
1133 '<@(json_schema_unittest_sources)',
1134 '<@(keyed_service_unittest_sources)',
1135 '<@(language_usage_metrics_unittest_sources)',
1136 '<@(leveldb_proto_unittest_sources)',
1137 '<@(link_header_util_unittest_sources)',
1138 '<@(login_unittest_sources)',
1139 '<@(memory_pressure_unittest_sources)',
1140 '<@(metrics_unittest_sources)',
1141 '<@(mime_util_unittest_sources)',
1142 '<@(network_session_configurator_unittest_sources)',
1143 '<@(network_time_unittest_sources)',
1144 '<@(ntp_snippets_unittest_sources)',
1145 '<@(ntp_tiles_unittest_sources)',
1146 '<@(offline_pages_background_unittest_sources)',
1147 '<@(offline_pages_unittest_sources)',
1148 '<@(omnibox_unittest_sources)',
1149 '<@(open_from_clipboard_unittest_sources)',
1150 '<@(os_crypt_unittest_sources)',
1151 '<@(password_manager_unittest_sources)',
1152 '<@(precache_unittest_sources)',
1153 '<@(proxy_config_unittest_sources)',
1154 '<@(prefs_unittest_sources)',
1155 '<@(previews_unittest_sources)',
1156 '<@(query_parser_unittest_sources)',
1157 '<@(rappor_unittest_sources)',
1158 '<@(search_engines_unittest_sources)',
1159 '<@(search_provider_logos_unittest_sources)',
1160 '<@(search_unittest_sources)',
1161 '<@(security_state_unittest_sources)',
1162 '<@(sessions_unittest_sources)',
1163 '<@(signin_unittest_sources)',
1164 '<@(ssl_config_unittest_sources)',
1165 '<@(ssl_errors_unittest_sources)',
1166 '<@(subresource_filter_core_browser_unittest_sources)',
1167 '<@(subresource_filter_core_common_unittest_sources)',
1168 '<@(suggestions_unittest_sources)',
1169 '<@(supervised_user_error_page_unittest_sources)',
1170 '<@(sync_unittest_sources)',
1171 '<@(sync_bookmarks_unittest_sources)',
1172 '<@(sync_sessions_unittest_sources)',
1173 '<@(syncable_prefs_unittest_sources)',
1174 '<@(translate_unittest_sources)',
1175 '<@(undo_unittest_sources)',
1176 '<@(update_client_unittest_sources)',
1177 '<@(upload_list_unittest_sources)',
1178 '<@(url_formatter_unittest_sources)',
1179 '<@(url_matcher_unittest_sources)',
1180 '<@(user_prefs_unittest_sources)',
1181 '<@(variations_unittest_sources)',
1182 '<@(web_resource_unittest_sources)',
1183 '<@(webdata_unittest_sources)',
1184 'net_log/net_log_file_writer_unittest.cc',
1185 ],
1186 'include_dirs': [
1187 '..',
1188 ],
1189 'dependencies': [
1190 '../base/base.gyp:base',
1191 '../base/base.gyp:test_support_base',
1192 '../google_apis/google_apis.gyp:google_apis_test_support',
1193 '../jingle/jingle.gyp:notifier_test_util',
1194 '../net/net.gyp:net_test_support',
1195 '../sql/sql.gyp:test_support_sql',
1196 '../testing/gmock.gyp:gmock',
1197 '../testing/gtest.gyp:gtest',
1198 '../third_party/icu/icu.gyp:icui18n',
1199 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1200 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util ',
1201 '../third_party/libjingle/libjingle.gyp:libjingle',
1202 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
1203 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
1204 '../third_party/re2/re2.gyp:re2',
1205 '../ui/base/ui_base.gyp:ui_base',
1206 '../ui/gfx/gfx.gyp:gfx',
1207 '../ui/gfx/gfx.gyp:gfx_test_support',
1208 '../ui/resources/ui_resources.gyp:ui_resources',
1209 '../ui/resources/ui_resources.gyp:ui_test_pak',
1210 '../ui/strings/ui_strings.gyp:ui_strings',
1211 '../url/url.gyp:url_lib',
1212 'components.gyp:auto_login_parser',
1213 'components.gyp:autofill_core_browser',
1214 'components.gyp:autofill_core_common',
1215 'components.gyp:autofill_core_test_support',
1216 'components.gyp:base32',
1217 'components.gyp:bookmarks_browser',
1218 'components.gyp:bookmarks_managed',
1219 'components.gyp:bookmarks_test_support',
1220 'components.gyp:browser_sync_browser',
1221 'components.gyp:browser_sync_browser_test_support',
1222 'components.gyp:browsing_data_ui',
1223 'components.gyp:bubble',
1224 'components.gyp:captive_portal_test_support',
1225 'components.gyp:cast_certificate',
1226 'components.gyp:cast_certificate_test_proto',
1227 'components.gyp:cast_certificate_test_support',
1228 'components.gyp:certificate_reporting',
1229 'components.gyp:cloud_devices_common',
1230 'components.gyp:component_updater',
1231 'components.gyp:component_updater_test_support',
1232 'components.gyp:content_settings_core_browser',
1233 'components.gyp:content_settings_core_common',
1234 'components.gyp:content_settings_core_test_support',
1235 'components.gyp:crash_core_common',
1236 'components.gyp:crx_file',
1237 'components.gyp:data_reduction_proxy_core_browser',
1238 'components.gyp:data_reduction_proxy_core_common',
1239 'components.gyp:data_reduction_proxy_test_support',
1240 'components.gyp:data_usage_core',
1241 'components.gyp:data_use_measurement_core',
1242 'components.gyp:device_event_log_component',
1243 'components.gyp:dom_distiller_core',
1244 'components.gyp:dom_distiller_protos',
1245 'components.gyp:dom_distiller_test_support',
1246 'components.gyp:favicon_base',
1247 'components.gyp:favicon_core',
1248 'components.gyp:flags_ui',
1249 'components.gyp:gcm_driver',
1250 'components.gyp:gcm_driver_test_support',
1251 'components.gyp:google_core_browser',
1252 'components.gyp:history_core_browser',
1253 'components.gyp:history_core_common',
1254 'components.gyp:history_core_test_support',
1255 'components.gyp:image_fetcher',
1256 'components.gyp:instance_id_test_support',
1257 'components.gyp:invalidation_impl',
1258 'components.gyp:invalidation_test_support',
1259 'components.gyp:json_schema',
1260 'components.gyp:keyed_service_core',
1261 'components.gyp:language_usage_metrics',
1262 'components.gyp:leveldb_proto',
1263 'components.gyp:leveldb_proto_test_support',
1264 'components.gyp:login',
1265 'components.gyp:memory_pressure',
1266 'components.gyp:metrics',
1267 'components.gyp:metrics_net',
1268 'components.gyp:metrics_profiler',
1269 'components.gyp:metrics_test_support',
1270 'components.gyp:metrics_ui',
1271 'components.gyp:net_log',
1272 'components.gyp:network_session_configurator',
1273 'components.gyp:network_time',
1274 'components.gyp:ntp_snippets',
1275 'components.gyp:ntp_tiles',
1276 'components.gyp:offline_pages',
1277 'components.gyp:offline_pages_background_offliner',
1278 'components.gyp:offline_pages_test_support',
1279 'components.gyp:omnibox_browser',
1280 'components.gyp:omnibox_test_support',
1281 'components.gyp:open_from_clipboard',
1282 'components.gyp:open_from_clipboard_test_support',
1283 'components.gyp:os_crypt',
1284 'components.gyp:os_crypt_test_support',
1285 'components.gyp:password_manager_core_browser',
1286 'components.gyp:password_manager_core_browser_test_support',
1287 'components.gyp:password_manager_sync_browser',
1288 'components.gyp:precache_core',
1289 'components.gyp:pref_registry_test_support',
1290 'components.gyp:previews',
1291 'components.gyp:proxy_config',
1292 'components.gyp:query_parser',
1293 'components.gyp:rappor',
1294 'components.gyp:rappor_test_support',
1295 'components.gyp:search',
1296 'components.gyp:search_engines',
1297 'components.gyp:search_engines_test_support',
1298 'components.gyp:search_provider_logos',
1299 'components.gyp:security_state',
1300 'components.gyp:sessions_test_support',
1301 'components.gyp:signin_core_browser',
1302 'components.gyp:signin_core_browser_test_support',
1303 'components.gyp:spellcheck_renderer',
1304 'components.gyp:ssl_config',
1305 'components.gyp:ssl_errors',
1306 'components.gyp:subresource_filter_core_browser_test_support',
1307 'components.gyp:subresource_filter_core_browser',
1308 'components.gyp:subresource_filter_core_common',
1309 'components.gyp:subresource_filter_core_common_test_support',
1310 'components.gyp:suggestions',
1311 'components.gyp:supervised_user_error_page',
1312 'components.gyp:sync_bookmarks',
1313 'components.gyp:sync_sessions',
1314 'components.gyp:sync_sessions_test_support',
1315 'components.gyp:syncable_prefs_test_support',
1316 'components.gyp:toolbar_test_support',
1317 'components.gyp:translate_core_browser',
1318 'components.gyp:translate_core_common',
1319 'components.gyp:translate_core_language_detection',
1320 'components.gyp:undo_component',
1321 'components.gyp:update_client',
1322 'components.gyp:update_client_test_support',
1323 'components.gyp:upload_list',
1324 'components.gyp:url_matcher',
1325 'components.gyp:user_prefs_tracked',
1326 'components.gyp:user_prefs_tracked_test_support',
1327 'components.gyp:variations',
1328 'components.gyp:variations_net',
1329 'components.gyp:variations_service',
1330 'components.gyp:version_info',
1331 'components.gyp:webdata_services_test_support',
1332 'components.gyp:web_resource',
1333 'components.gyp:web_resource_test_support',
1334 'components_resources.gyp:components_resources',
1335 'components_strings.gyp:components_strings',
1336 'components_tests_pak',
1337 'link_header_util/link_header_util.gyp:link_header_util',
1338 'mime_util/mime_util.gyp:mime_util',
1339 'prefs/prefs.gyp:prefs',
1340 'prefs/prefs.gyp:prefs_test_support',
1341 'sync.gyp:sync',
1342 'sync.gyp:test_support_sync_api',
1343 'sync.gyp:test_support_sync_core',
1344 'sync.gyp:test_support_sync_core_impl',
1345 'sync.gyp:test_support_sync_driver',
1346 'url_formatter/url_formatter.gyp:url_formatter',
1347 ],
1348 'conditions': [
1349 ['OS!="mac" and OS!="ios"', {
1350 'sources!': [
1351 'crash/core/common/objc_zombie_unittest.mm',
1352 ],
1353 }],
1354 ['enable_rlz_support==1', {
1355 'sources': [
1356 '<@(rlz_unittest_sources)',
1357 ],
1358 'dependencies': [
1359 '../net/net.gyp:net_test_support',
1360 '../rlz/rlz.gyp:test_support_rlz',
1361 'components.gyp:rlz',
1362 ],
1363 'conditions': [
1364 ['OS == "ios"', {
1365 'dependencies': [
1366 '../ui/base/ui_base.gyp:ui_base',
1367 ],
1368 }],
1369 ],
1370 }],
1371 ['toolkit_views == 1', {
1372 'sources': [
1373 'bookmarks/browser/bookmark_node_data_unittest.cc',
1374 'constrained_window/constrained_window_views_unittest.cc',
1375 ],
1376 'dependencies': [
1377 '<(DEPTH)/ui/views/views.gyp:views',
1378 '<(DEPTH)/ui/views/views.gyp:views_test_support',
1379 'components.gyp:constrained_window',
1380 ]
1381 }],
1382 ['enable_spellcheck==1', {
1383 'sources': [ '<@(spellcheck_unittest_sources)' ],
1384 'conditions': [
1385 ['OS=="android"', {
1386 'sources!': [
1387 'spellcheck/renderer/spellcheck_multilingual_unittest.cc',
1388 'spellcheck/renderer/spellcheck_provider_hunspell_unittest.cc',
1389 'spellcheck/renderer/spellcheck_unittest.cc',
1390 ],
1391 }],
1392 ['OS=="mac"', {
1393 'sources!': [
1394 'spellcheck/renderer/spellcheck_multilingual_unittest.cc',
1395 'spellcheck/renderer/spellcheck_provider_hunspell_unittest.cc',
1396 ],
1397 }],
1398 ],
1399 }],
1400 ['OS=="win"', {
1401 'dependencies': [
1402 'components.gyp:browser_watcher',
1403 'components.gyp:browser_watcher_client',
1404 ]
1405 }],
1406 ['OS != "ios"', {
1407 'sources': [
1408 '<@(certificate_reporting_unittest_sources)',
1409 '<@(certificate_transparency_unittest_sources)',
1410 '<@(child_trace_message_filter_unittest_sources)',
1411 '<@(devtools_http_handler_unittest_sources)',
1412 '<@(display_compositor_unittest_sources)',
1413 '<@(domain_reliability_unittest_sources)',
1414 '<@(error_page_unittest_sources)',
1415 '<@(guest_view_unittest_sources)',
1416 '<@(memory_coordinator_unittest_sources)',
1417 '<@(navigation_interception_unittest_sources)',
1418 '<@(network_hints_unittest_sources)',
1419 '<@(packed_ct_ev_whitelist_unittest_sources)',
1420 '<@(power_unittest_sources)',
1421 '<@(safe_browsing_db_unittest_sources)',
1422 '<@(safe_json_unittest_sources)',
1423 '<@(storage_monitor_unittest_sources)',
1424 '<@(subresource_filter_content_browser_unittest_sources)',
1425 '<@(subresource_filter_content_renderer_unittest_sources)',
1426 '<@(tracing_unittest_sources)',
1427 '<@(visitedlink_unittest_sources)',
1428 '<@(wallpaper_unittest_sources)',
1429 '<@(web_cache_unittest_sources)',
1430 '<@(webcrypto_unittest_sources)',
1431 '<@(web_modal_unittest_sources)',
1432 '<@(zoom_unittest_sources)',
1433 ],
1434 'dependencies': [
1435 '../content/content_shell_and_tests.gyp:test_support_content',
1436 '../mojo/mojo_base.gyp:mojo_common_lib',
1437 '../skia/skia.gyp:skia',
1438 'components.gyp:autofill_content_browser',
1439 'components.gyp:autofill_content_renderer',
1440 'components.gyp:autofill_content_test_support',
1441 'components.gyp:autofill_content_test_types_mojo_bindings',
1442 'components.gyp:certificate_transparency',
1443 'components.gyp:crash_test_support',
1444 'components.gyp:data_reduction_proxy_content_browser',
1445 'components.gyp:data_use_measurement_content',
1446 'components.gyp:devtools_http_handler',
1447 'components.gyp:display_compositor',
1448 'components.gyp:dom_distiller_content_browser',
1449 'components.gyp:dom_distiller_content_renderer',
1450 'components.gyp:domain_reliability',
1451 'components.gyp:error_page_renderer',
1452 'components.gyp:favicon_content',
1453 'components.gyp:guest_view_browser',
1454 'components.gyp:guest_view_common',
1455 'components.gyp:guest_view_test_support',
1456 'components.gyp:history_content_browser',
1457 'components.gyp:keyed_service_content',
1458 'components.gyp:memory_coordinator_browser',
1459 'components.gyp:memory_coordinator_child',
1460 'components.gyp:metrics_gpu',
1461 'components.gyp:navigation_interception',
1462 'components.gyp:network_hints_renderer',
1463 'components.gyp:packed_ct_ev_whitelist',
1464 'components.gyp:password_manager_content_browser',
1465 'components.gyp:power',
1466 'components.gyp:precache_content',
1467 'components.gyp:safe_browsing_db',
1468 'components.gyp:safe_json',
1469 'components.gyp:safe_json_test_support',
1470 'components.gyp:sessions_content',
1471 'components.gyp:storage_monitor',
1472 'components.gyp:storage_monitor_test_support',
1473 'components.gyp:subresource_filter_content_browser',
1474 'components.gyp:subresource_filter_content_common',
1475 'components.gyp:subresource_filter_content_renderer',
1476 'components.gyp:subresource_filter_core_browser',
1477 'components.gyp:test_database_manager',
1478 'components.gyp:url_matcher',
1479 'components.gyp:visitedlink_browser',
1480 'components.gyp:visitedlink_renderer',
1481 'components.gyp:wallpaper',
1482 'components.gyp:web_cache_browser',
1483 'components.gyp:web_modal',
1484 'components.gyp:web_modal_test_support',
1485 'components.gyp:zoom',
1486 'test_runner/test_runner.gyp:test_runner',
1487 'tracing.gyp:golden_protos_for_tests',
1488 'tracing.gyp:proto_zero_testing_messages',
1489 'tracing.gyp:tracing',
1490 'webcrypto/webcrypto.gyp:webcrypto',
1491 '../third_party/boringssl/boringssl.gyp:boringssl',
1492 '../third_party/re2/re2.gyp:re2',
1493 ],
1494 'conditions': [
1495 ['OS=="android"', {
1496 'sources' : [
1497 '<@(web_restrictions_unittest_sources)',
1498 ],
1499 'dependencies': [
1500 'components.gyp:web_restrictions_browser',
1501 'components.gyp:web_restrictions_test_support',
1502 '../build/android/ndk.gyp:cpu_features',
1503 ],
1504 }],
1505 ['OS=="android" and configuration_policy == 1', {
1506 'dependencies': [
1507 'components.gyp:policy_java',
1508 ],
1509 }],
1510 ['safe_browsing == 2 and OS != "ios"', {
1511 'dependencies': [
1512 'components.gyp:safe_browsing_db_mobile',
1513 ],
1514 'sources': [
1515 '<@(safe_browsing_db_mobile_unittest_sources)',
1516 ],
1517 }],
1518 ['OS != "mac" and use_aura == 0', {
1519 'sources!': [
1520 'display_compositor/buffer_queue_unittest.cc',
1521 ],
1522 }],
1523 ],
1524 }, { # 'OS == "ios"'
1525 'sources/': [
1526 # Exclude all tests that depends on //content (based on layered-
1527 # component directory structure).
1528 ['exclude', '^[^/]*/content/'],
1529 ],
1530 'sources!': [
1531 'core/http_bridge_unittest.cc',
1532 ],
1533 'mac_bundle_resources': [
1534 '<(PRODUCT_DIR)/ui_test.pak',
1535 ],
1536 'dependencies': [
1537 '../ios/web/ios_web.gyp:ios_web_test_support',
1538 '../third_party/ocmock/ocmock.gyp:ocmock',
1539 'components.gyp:autofill_ios_browser',
1540 'components.gyp:sessions_ios',
1541 'components.gyp:signin_ios_browser',
1542 'components.gyp:signin_ios_browser_test_support',
1543 'components.gyp:translate_ios_browser',
1544 ],
1545 'actions': [
1546 {
1547 'action_name': 'copy_test_data',
1548 'variables': {
1549 'test_data_files': [
1550 '../net/data/ssl/certificates',
1551 'test/data',
1552 ],
1553 'test_data_prefix': 'components',
1554 },
1555 'includes': [ '../build/copy_test_data_ios.gypi' ],
1556 },
1557 ],
1558 'conditions': [
1559 ['configuration_policy==1', {
1560 'sources/': [
1561 ['include', '^policy/'],
1562 ],
1563 }],
1564 ],
1565 }],
1566 ['disable_nacl==0', {
1567 'sources': [
1568 '<@(nacl_unittest_sources)',
1569 ],
1570 'dependencies': [
1571 'nacl.gyp:nacl_browser',
1572 'nacl.gyp:nacl_common',
1573 ],
1574 }],
1575 ['OS == "mac"', {
1576 'link_settings': {
1577 'libraries': [
1578 '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
1579 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1580 '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framework',
1581 ],
1582 },
1583 'sources!': [
1584 'password_manager/core/browser/password_store_default_unittest.cc',
1585 ],
1586 }],
1587 ['OS == "android"', {
1588 'sources': [
1589 'autofill/core/browser/autofill_assistant_unittest.cc',
1590 'data_usage/android/traffic_stats_amortizer_unittest.cc',
1591 'invalidation/impl/invalidation_logger_unittest.cc',
1592 'invalidation/impl/invalidation_service_android_unittest.cc',
1593 ],
1594 'sources!': [
1595 'gcm_driver/gcm_account_mapper_unittest.cc',
1596 'gcm_driver/gcm_channel_status_request_unittest.cc',
1597 'gcm_driver/gcm_client_impl_unittest.cc',
1598 'gcm_driver/gcm_driver_desktop_unittest.cc',
1599 'gcm_driver/gcm_stats_recorder_impl_unittest.cc',
1600 'sessions/core/session_backend_unittest.cc',
1601 'storage_monitor/media_storage_util_unittest.cc',
1602 'storage_monitor/storage_info_unittest.cc',
1603 'storage_monitor/storage_monitor_unittest.cc',
1604 'web_modal/web_contents_modal_dialog_manager_unittest.cc',
1605 ],
1606 'dependencies': [
1607 'components.gyp:data_usage_android',
1608 'components.gyp:safe_json_java',
1609 'components.gyp:variations_java',
1610 '../content/content.gyp:content_java',
1611 '../testing/android/native_test.gyp:native_test_native_code',
1612 ],
1613 'dependencies!': [
1614 'components.gyp:storage_monitor',
1615 'components.gyp:storage_monitor_test_support',
1616 'components.gyp:web_modal',
1617 'components.gyp:web_modal_test_support',
1618 ],
1619 }, {
1620 'sources': [
1621 '<@(invalidation_unittest_sources)',
1622 ],
1623 }],
1624 ['OS != "ios" and OS != "android"', {
1625 'sources': [
1626 '<@(feedback_unittest_sources)',
1627 '<@(proximity_auth_unittest_sources)',
1628 ],
1629 'sources!': [
1630 'variations/variations_request_scheduler_mobile_unittest.cc',
1631 'web_resource/promo_resource_service_mobile_ntp_unittest.cc',
1632 ],
1633 'dependencies': [
1634 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
1635 '../device/core/core.gyp:device_core',
1636 '../device/core/core.gyp:device_core_mocks',
1637 '../device/hid/hid.gyp:device_hid_mocks',
1638 '../device/usb/usb.gyp:device_usb',
1639 '../device/usb/usb.gyp:device_usb_mocks',
1640 '../google_apis/google_apis.gyp:google_apis_test_support',
1641 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
1642 'components.gyp:cryptauth',
1643 'components.gyp:cryptauth_proto',
1644 'components.gyp:cryptauth_test_support',
1645 'components.gyp:feedback_component',
1646 'components.gyp:pref_registry_test_support',
1647 'components.gyp:proximity_auth',
1648 'components.gyp:proximity_auth_test_support',
1649 ],
1650 }],
1651 ['chromeos==1', {
1652 'sources': [
1653 'arc/arc_bridge_service_unittest.cc',
1654 'arc/ime/arc_ime_service_unittest.cc',
1655 'arc/intent_helper/activity_icon_loader_unittest.cc',
1656 'arc/intent_helper/arc_intent_helper_bridge_unittest.cc',
1657 'arc/intent_helper/font_size_util_unittest.cc',
1658 'arc/intent_helper/intent_filter_unittest.cc',
1659 'arc/intent_helper/link_handler_model_impl_unittest.cc',
1660 'pairing/message_buffer_unittest.cc',
1661 'timers/alarm_timer_unittest.cc',
1662 'wifi_sync/wifi_config_delegate_chromeos_unittest.cc',
1663 'wifi_sync/wifi_credential_syncable_service_unittest.cc',
1664 'wifi_sync/wifi_credential_unittest.cc',
1665 'wifi_sync/wifi_security_class_chromeos_unittest.cc',
1666 'wifi_sync/wifi_security_class_unittest.cc',
1667 '<@(metrics_leak_detector_unittest_sources)',
1668 '<@(ownership_unittest_sources)',
1669 '<@(user_manager_unittest_sources)',
1670 ],
1671 'sources!': [
1672 'signin/core/browser/account_investigator_unittest.cc',
1673 'signin/core/browser/signin_status_metrics_provider_unittest.cc',
1674 'storage_monitor/storage_monitor_linux_unittest.cc',
1675 ],
1676 'dependencies': [
1677 '../chromeos/chromeos.gyp:chromeos_test_support',
1678 'components.gyp:arc',
1679 'components.gyp:arc_test_support',
1680 'components.gyp:metrics_leak_detector',
1681 'components.gyp:metrics_mojo_bindings',
1682 'components.gyp:ownership',
1683 'components.gyp:pairing',
1684 'components.gyp:user_manager_test_support',
1685 'components.gyp:wifi_sync',
1686 ],
1687 }],
1688 ['OS=="linux"', {
1689 'sources': [
1690 'metrics/serialization/serialization_utils_unittest.cc',
1691 ],
1692 'dependencies': [
1693 'components.gyp:metrics_serialization',
1694 '../dbus/dbus.gyp:dbus',
1695 '../device/media_transfer_protocol/media_transfer_protocol.gyp:devic e_media_transfer_protocol',
1696 ],
1697 }],
1698 ['OS=="linux" and chromeos!=1', {
1699 'sources': [
1700 'os_crypt/key_storage_kwallet_unittest.cc',
1701 'os_crypt/kwallet_dbus_unittest.cc',
1702 'os_crypt/os_crypt_linux_unittest.cc',
1703 'os_crypt/os_crypt_util_linux_unittest.cc',
1704 ],
1705 'defines': [
1706 'USE_KWALLET',
1707 'USE_LIBSECRET',
1708 ],
1709 'include_dirs': [
1710 '../third_party/libsecret'
1711 ],
1712 'dependencies' : [
1713 '../build/linux/system.gyp:dbus',
1714 '../dbus/dbus.gyp:dbus',
1715 '../dbus/dbus.gyp:dbus_test_support',
1716 ]
1717 }],
1718 ['OS=="linux" and use_udev==0', {
1719 'dependencies!': [
1720 'components.gyp:storage_monitor',
1721 'components.gyp:storage_monitor_test_support',
1722 ],
1723 'sources/': [
1724 ['exclude', '^storage_monitor/'],
1725 ],
1726 }],
1727 ['configuration_policy==1', {
1728 'dependencies': [
1729 'components.gyp:policy_component',
1730 'components.gyp:policy_component_test_support',
1731 'components.gyp:policy_test_support',
1732 ],
1733 'sources': [
1734 '<@(policy_unittest_sources)',
1735 'sync/driver/sync_policy_handler_unittest.cc',
1736 ],
1737 'conditions': [
1738 ['OS=="android"', {
1739 'sources/': [
1740 ['exclude', '^policy/core/common/async_policy_provider_unittest\ \.cc'],
1741 ['exclude', '^tracing/browser/trace_config_file_unittest\\.cc'],
1742 ],
1743 }],
1744 ['OS=="android" or OS=="ios"', {
1745 # Note: 'sources!' is processed before any 'sources/', so the
1746 # ['include', '^policy/'] on iOS above will include all of the
1747 # policy source files again. Using 'source/' here too will get
1748 # these files excluded as expected.
1749 'sources/': [
1750 ['exclude', '^policy/core/common/cloud/component_cloud_policy_se rvice_unittest\\.cc'],
1751 ['exclude', '^policy/core/common/cloud/component_cloud_policy_st ore_unittest\\.cc'],
1752 ['exclude', '^policy/core/common/cloud/component_cloud_policy_up dater_unittest\\.cc'],
1753 ['exclude', '^policy/core/common/cloud/external_policy_data_fetc her_unittest\\.cc'],
1754 ['exclude', '^policy/core/common/cloud/external_policy_data_upda ter_unittest\\.cc'],
1755 ['exclude', '^policy/core/common/cloud/resource_cache_unittest\\ .cc'],
1756 ['exclude', '^policy/core/common/config_dir_policy_loader_unitte st\\.cc'],
1757 ],
1758 }],
1759 ['chromeos==1', {
1760 'sources': [
1761 'policy/core/common/proxy_policy_provider_unittest.cc',
1762 ],
1763 'sources!': [
1764 'policy/core/common/cloud/user_cloud_policy_manager_unittest.cc' ,
1765 'policy/core/common/cloud/user_cloud_policy_store_unittest.cc',
1766 ],
1767 }],
1768 ['OS=="ios" or OS=="mac"', {
1769 'sources': [
1770 'policy/core/common/mac_util_unittest.cc',
1771 ],
1772 }],
1773 ],
1774 }, { # configuration_policy!=1
1775 'sources!': [
1776 'search_engines/default_search_policy_handler_unittest.cc',
1777 'sync/driver/sync_policy_handler_unittest.cc',
1778 ],
1779 }],
1780 ['enable_plugins == 1', {
1781 'sources': [
1782 'content_settings/core/browser/content_settings_provider_unittest.cc ',
1783 ],
1784 }],
1785 ],
1786 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1787 'msvs_disabled_warnings': [4267, ],
1788 },
1789 ],
1790 'conditions': [
1791 ['OS == "android"', {
1792 'variables': {
1793 'components_browsertests_pak_input_resources': [
1794 '<(PRODUCT_DIR)/components_tests_resources.pak',
1795 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
1796 ],
1797 'conditions': [
1798 ['icu_use_data_file_flag==1', {
1799 'components_browsertests_pak_input_resources': [
1800 '<(PRODUCT_DIR)/icudtl.dat',
1801 ],
1802 }],
1803 ],
1804 },
1805 'includes': ['../build/android/v8_external_startup_data_arch_suffix.gypi'] ,
1806 'targets': [
1807 {
1808 'target_name': 'components_browsertests_paks_copy',
1809 'type': 'none',
1810 'dependencies': [
1811 'components_browsertests',
1812 ],
1813 'variables': {
1814 'dest_path': '<(PRODUCT_DIR)/components_browsertests_apk_shell/asset s',
1815 'src_files': [
1816 '<@(components_browsertests_pak_input_resources)',
1817 ],
1818 'clear': 1,
1819 'conditions': [
1820 ['v8_use_external_startup_data==1', {
1821 'renaming_sources': [
1822 '<(PRODUCT_DIR)/natives_blob.bin',
1823 '<(PRODUCT_DIR)/snapshot_blob.bin',
1824 ],
1825 'renaming_destinations': [
1826 'natives_blob_<(arch_suffix).bin',
1827 'snapshot_blob_<(arch_suffix).bin',
1828 ],
1829 }],
1830 ],
1831 },
1832 'includes': ['../build/android/copy_ex.gypi'],
1833 },
1834 {
1835 'target_name': 'components_browsertests_manifest',
1836 'type': 'none',
1837 'variables': {
1838 'jinja_inputs': ['test/android/browsertests_apk/AndroidManifest.xml. jinja2'],
1839 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/components_browsertests_ manifest/AndroidManifest.xml',
1840 },
1841 'includes': [ '../build/android/jinja_template.gypi' ],
1842 },
1843 {
1844 # GN: //components:components_browsertests_apk
1845 'target_name': 'components_browsertests_apk',
1846 'type': 'none',
1847 'dependencies': [
1848 '../content/content.gyp:content_java',
1849 '../content/content_shell_and_tests.gyp:content_java_test_support',
1850 '../content/content_shell_and_tests.gyp:content_shell_browsertests_j ava',
1851 '../content/content_shell_and_tests.gyp:content_shell_java',
1852 'components_browsertests_paks_copy',
1853 'components_browsertests',
1854 ],
1855 'variables': {
1856 'test_suite_name': 'components_browsertests',
1857 'isolate_file': 'components_browsertests.isolate',
1858 'java_in_dir': 'test/android/browsertests_apk',
1859 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/components_brow sertests_manifest/AndroidManifest.xml',
1860 'resource_dir': 'test/android/browsertests_apk/res',
1861 'asset_location': '<(PRODUCT_DIR)/components_browsertests_apk_shell/ assets',
1862 'conditions': [
1863 ['icu_use_data_file_flag==1', {
1864 'additional_input_paths': [
1865 '<(asset_location)/icudtl.dat',
1866 ],
1867 }],
1868 ['v8_use_external_startup_data==1', {
1869 'additional_input_paths': [
1870 '<(asset_location)/natives_blob_<(arch_suffix).bin',
1871 '<(asset_location)/snapshot_blob_<(arch_suffix).bin',
1872 ],
1873 }],
1874 ],
1875 },
1876 'includes': [ '../build/apk_browsertest.gypi' ],
1877 },
1878 {
1879 'target_name': 'components_unittests_apk',
1880 'isolate_file': 'components_unittests.isolate',
1881 'type': 'none',
1882 'dependencies': [
1883 'components_unittests',
1884 'components.gyp:instance_id_driver_java',
1885 'components.gyp:instance_id_driver_test_support_java',
1886 'components.gyp:invalidation_java',
1887 'components.gyp:signin_core_browser_java',
1888 'components.gyp:web_restrictions_test_support_java',
1889 ],
1890 'variables': {
1891 'test_suite_name': 'components_unittests',
1892 },
1893 'includes': [ '../build/apk_test.gypi' ],
1894 },
1895 {
1896 'target_name': 'components_junit_tests',
1897 'type': 'none',
1898 'dependencies': [
1899 'components.gyp:invalidation_java',
1900 'components.gyp:policy_java',
1901 'components.gyp:policy_java_test_support',
1902 'components.gyp:web_restrictions_java_browser',
1903 '../base/base.gyp:base_java',
1904 '../base/base.gyp:base_java_test_support',
1905 '../testing/android/junit/junit_test.gyp:junit_test_support',
1906 ],
1907 'variables': {
1908 'main_class': 'org.chromium.testing.local.JunitTestMain',
1909 'src_paths': [
1910 'invalidation/impl/android/junit/',
1911 'policy/android/junit/',
1912 'web_restrictions/browser/junit/'
1913 ],
1914 'wrapper_script_name': 'helper/<(_target_name)',
1915 },
1916 'includes': [ '../build/host_jar.gypi' ],
1917 },
1918 ],
1919 'conditions': [
1920 ['test_isolation_mode != "noop"',
1921 {
1922 'targets': [
1923 {
1924 'target_name': 'components_browsertests_apk_run',
1925 'type': 'none',
1926 'dependencies': [
1927 'components_browsertests_apk',
1928 ],
1929 'includes': [
1930 '../build/isolate.gypi',
1931 ],
1932 'sources': [
1933 'components_browsertests_apk.isolate',
1934 ],
1935 },
1936 {
1937 'target_name': 'components_unittests_apk_run',
1938 'type': 'none',
1939 'dependencies': [
1940 'components_unittests_apk',
1941 ],
1942 'includes': [
1943 '../build/isolate.gypi',
1944 ],
1945 'sources': [
1946 'components_unittests_apk.isolate',
1947 ],
1948 },
1949 ],
1950 },
1951 ],
1952 ],
1953 }],
1954 ['OS != "ios"', {
1955 'targets': [
1956 {
1957 # GN: //components:components_perftests
1958 'target_name': 'components_perftests',
1959 'type': '<(gtest_target_type)',
1960 'dependencies': [
1961 '../base/base.gyp:base',
1962 '../base/base.gyp:test_support_perf',
1963 '../content/content_shell_and_tests.gyp:test_support_content',
1964 '../testing/gtest.gyp:gtest',
1965 '../testing/perf/perf_test.gyp:perf_test',
1966 'components.gyp:visitedlink_browser',
1967 ],
1968 'include_dirs': [
1969 '..',
1970 ],
1971 'sources': [
1972 'scheduler/base/task_queue_manager_delegate_for_test.cc',
1973 'scheduler/base/task_queue_manager_delegate_for_test.h',
1974 'scheduler/base/task_queue_manager_perftest.cc',
1975 'scheduler/base/test_task_time_tracker.h',
1976 'visitedlink/test/visitedlink_perftest.cc',
1977 ],
1978 'conditions': [
1979 ['OS == "android"', {
1980 'dependencies': [
1981 '../testing/android/native_test.gyp:native_test_native_code',
1982 ],
1983 }],
1984 ],
1985 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1986 'msvs_disabled_warnings': [ 4267, ],
1987 },
1988 {
1989 'target_name': 'components_browsertests',
1990 'type': '<(gtest_target_type)',
1991 'defines!': ['CONTENT_IMPLEMENTATION'],
1992 'dependencies': [
1993 '../content/content.gyp:content_common',
1994 '../content/content.gyp:content_gpu',
1995 '../content/content.gyp:content_renderer',
1996 '../content/content_shell_and_tests.gyp:content_browser_test_base',
1997 '../content/content_shell_and_tests.gyp:content_browser_test_support ',
1998 '../content/content_shell_and_tests.gyp:content_shell_lib',
1999 '../content/content_shell_and_tests.gyp:content_shell_pak',
2000 '../content/content_shell_and_tests.gyp:test_support_content',
2001 '../skia/skia.gyp:skia',
2002 '../testing/gmock.gyp:gmock',
2003 '../testing/gtest.gyp:gtest',
2004 'components.gyp:autofill_content_browser',
2005 'components.gyp:autofill_content_renderer',
2006 'components.gyp:content_settings_core_browser',
2007 'components.gyp:content_settings_core_common',
2008 'components.gyp:dom_distiller_content_browser',
2009 'components.gyp:dom_distiller_content_renderer',
2010 'components.gyp:dom_distiller_core',
2011 'components.gyp:password_manager_content_renderer',
2012 'components.gyp:pref_registry_test_support',
2013 'components_resources.gyp:components_resources',
2014 'components_strings.gyp:components_strings',
2015 'components_tests_pak',
2016 'tracing.gyp:tracing',
2017 ],
2018 'include_dirs': [
2019 '..',
2020 ],
2021 'defines': [
2022 'HAS_OUT_OF_PROC_TEST_RUNNER',
2023 ],
2024 'sources': [
2025 # Note: test list duplicated in GN build.
2026 'autofill/content/browser/risk/fingerprint_browsertest.cc',
2027 'autofill/content/renderer/password_form_conversion_utils_browsertes t.cc',
2028 'dom_distiller/content/browser/distillable_page_utils_browsertest.cc ',
2029 'dom_distiller/content/browser/distiller_page_web_contents_browserte st.cc',
2030 'dom_distiller/content/browser/test/dom_distiller_js_browsertest.cc' ,
2031 'password_manager/content/renderer/credential_manager_client_browser test.cc',
2032 'tracing/child/child_trace_message_filter_browsertest.cc',
2033 ],
2034 'conditions': [
2035 ['OS == "android"', {
2036 'sources' : [
2037 'test/android/browsertests_apk/components_browser_tests_jni_onlo ad.cc',
2038 ],
2039 'sources!': [
2040 'autofill/content/browser/risk/fingerprint_browsertest.cc',
2041 ],
2042 'dependencies': [
2043 '../testing/android/native_test.gyp:native_test_support',
2044 ],
2045 }],
2046 ['OS == "linux"', {
2047 'sources': [
2048 # content_extractor_browsertest is a standalone content extrac tion tool built as
2049 # a MANUAL component_browsertest.
2050 'dom_distiller/standalone/content_extractor_browsertest.cc',
2051 ],
2052 }],
2053 ['OS=="win"', {
2054 'resource_include_dirs': [
2055 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources',
2056 ],
2057 'sources': [
2058 '../content/shell/app/resource.h',
2059 '../content/shell/app/shell.rc',
2060 ],
2061 'dependencies': [
2062 '<(DEPTH)/content/app/resources/content_resources.gyp:content_re sources',
2063 '<(DEPTH)/content/app/strings/content_strings.gyp:content_string s',
2064 '<(DEPTH)/net/net.gyp:net_resources',
2065 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_re sources',
2066 '<(DEPTH)/third_party/iaccessible2/iaccessible2.gyp:iaccessible2 ',
2067 '<(DEPTH)/third_party/isimpledom/isimpledom.gyp:isimpledom',
2068 ],
2069 'configurations': {
2070 'Debug_Base': {
2071 'msvs_settings': {
2072 'VCLinkerTool': {
2073 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2074 },
2075 },
2076 },
2077 },
2078 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2079 'msvs_disabled_warnings': [ 4267, ],
2080 }],
2081 ['OS=="mac"', {
2082 'dependencies': [
2083 '../content/content_shell_and_tests.gyp:content_shell', # Neede d for Content Shell.app's Helper.
2084 ],
2085 }],
2086 ['enable_basic_printing==1 or enable_print_preview==1', {
2087 'dependencies': [
2088 'components.gyp:printing_test_support',
2089 ],
2090 'sources' : [
2091 'printing/test/print_web_view_helper_browsertest.cc',
2092 ],
2093 }]
2094 ],
2095 },
2096 ],
2097 'conditions': [
2098 ['test_isolation_mode != "noop"', {
2099 'targets': [
2100 {
2101 'target_name': 'components_browsertests_run',
2102 'type': 'none',
2103 'dependencies': [ 'components_browsertests' ],
2104 'includes': [
2105 '../build/isolate.gypi',
2106 ],
2107 'sources': [
2108 'components_browsertests.isolate',
2109 ],
2110 'conditions': [
2111 ['use_x11==1', {
2112 'dependencies': [
2113 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2114 ],
2115 }],
2116 ],
2117 },
2118 ],
2119 }],
2120 ],
2121 }],
2122 ['test_isolation_mode != "noop"', {
2123 'targets': [
2124 {
2125 'target_name': 'components_unittests_run',
2126 'type': 'none',
2127 'dependencies': [
2128 'components_unittests',
2129 ],
2130 'includes': [
2131 '../build/isolate.gypi',
2132 ],
2133 'sources': [
2134 'components_unittests.isolate',
2135 ],
2136 'conditions': [
2137 ['use_x11==1', {
2138 'dependencies': [
2139 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2140 ],
2141 }],
2142 ],
2143 },
2144 ],
2145 }],
2146 ],
2147 }
OLDNEW
« no previous file with comments | « components/components_strings.gyp ('k') | components/constrained_window.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698