Roll src/third_party/WebKit 3c1b001:57aef96 (svn 201977:201978)
[chromium-blink-merge.git] / chrome / chrome_tests_unit.gypi
blob3f095fb479c2680b7fe0a74e090b0446aa67f37a
1 # Copyright 2012 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.
5   'variables': {
6     'chrome_unit_tests_sources': [
7       # histograms.xml is analyzed by AboutFlagsHistogramTest, so this
8       # dependency is needed to make commit bots run unit_tests on
9       # histograms.xml changes.
10       '../tools/metrics/histograms/histograms.xml',
11       # All unittests in browser, common, renderer and service.
12       'browser/about_flags_unittest.cc',
13       'browser/after_startup_task_utils_unittest.cc',
14       'browser/android/bookmarks/partner_bookmarks_shim_unittest.cc',
15       'browser/android/contextualsearch/contextual_search_delegate_unittest.cc',
16       'browser/android/history_report/delta_file_backend_leveldb_unittest.cc',
17       'browser/android/history_report/delta_file_commons_unittest.cc',
18       'browser/android/history_report/usage_reports_buffer_backend_unittest.cc',
19       # TODO(newt): move this to test_support_unit?
20       'browser/android/mock_location_settings.cc',
21       'browser/android/mock_location_settings.h',
22       'browser/android/most_visited_sites_unittest.cc',
23       'browser/android/net/external_estimate_provider_android_unittest.cc',
24       'browser/android/preferences/pref_service_bridge_unittest.cc',
25       'browser/android/shortcut_info_unittest.cc',
26       'browser/android/thumbnail/scoped_ptr_expiring_cache_unittest.cc',
27       'browser/app_controller_mac_unittest.mm',
28       'browser/autocomplete/autocomplete_provider_unittest.cc',
29       'browser/autocomplete/bookmark_provider_unittest.cc',
30       'browser/autocomplete/builtin_provider_unittest.cc',
31       'browser/autocomplete/history_quick_provider_unittest.cc',
32       'browser/autocomplete/history_url_provider_unittest.cc',
33       'browser/autocomplete/in_memory_url_index_unittest.cc',
34       'browser/autocomplete/search_provider_unittest.cc',
35       'browser/autocomplete/shortcuts_backend_unittest.cc',
36       'browser/autocomplete/shortcuts_database_unittest.cc',
37       'browser/autocomplete/shortcuts_provider_unittest.cc',
38       'browser/autocomplete/zero_suggest_provider_unittest.cc',
39       'browser/autofill/autofill_cc_infobar_delegate_unittest.cc',
40       'browser/banners/app_banner_data_fetcher_unittest.cc',
41       'browser/banners/app_banner_settings_helper_unittest.cc',
42       'browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc',
43       'browser/bookmarks/managed_bookmark_service_unittest.cc',
44       'browser/browser_about_handler_unittest.cc',
45       'browser/browser_process_impl_unittest.cc',
46       'browser/browsing_data/browsing_data_appcache_helper_unittest.cc',
47       'browser/browsing_data/browsing_data_cache_storage_helper_unittest.cc',
48       'browser/browsing_data/browsing_data_channel_id_helper_unittest.cc',
49       'browser/browsing_data/browsing_data_cookie_helper_unittest.cc',
50       'browser/browsing_data/browsing_data_database_helper_unittest.cc',
51       'browser/browsing_data/browsing_data_file_system_helper_unittest.cc',
52       'browser/browsing_data/browsing_data_helper_unittest.cc',
53       'browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc',
54       'browser/browsing_data/browsing_data_local_storage_helper_unittest.cc',
55       'browser/browsing_data/browsing_data_quota_helper_unittest.cc',
56       'browser/browsing_data/browsing_data_remover_test_util.cc',
57       'browser/browsing_data/browsing_data_remover_test_util.h',
58       'browser/browsing_data/browsing_data_remover_unittest.cc',
59       'browser/browsing_data/browsing_data_service_worker_helper_unittest.cc',
60       'browser/browsing_data/cookies_tree_model_unittest.cc',
61       'browser/chrome_browser_application_mac_unittest.mm',
62       'browser/chrome_content_browser_client_unittest.cc',
63       'browser/chrome_elf_init_unittest_win.cc',
64       'browser/chrome_process_singleton_win_unittest.cc',
65       'browser/command_updater_unittest.cc',
66       'browser/component_updater/chrome_component_updater_configurator_unittest.cc',
67       'browser/component_updater/cld_component_installer_unittest.cc',
68       'browser/component_updater/supervised_user_whitelist_installer_unittest.cc',
69       'browser/content_settings/content_settings_default_provider_unittest.cc',
70       'browser/content_settings/content_settings_mock_observer.cc',
71       'browser/content_settings/content_settings_mock_observer.h',
72       'browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc',
73       'browser/content_settings/content_settings_policy_provider_unittest.cc',
74       'browser/content_settings/content_settings_pref_provider_unittest.cc',
75       'browser/content_settings/content_settings_usages_state_unittest.cc',
76       'browser/content_settings/cookie_settings_factory_unittest.cc',
77       'browser/content_settings/host_content_settings_map_unittest.cc',
78       'browser/content_settings/mock_settings_observer.cc',
79       'browser/content_settings/mock_settings_observer.h',
80       'browser/content_settings/tab_specific_content_settings_unittest.cc',
81       'browser/custom_handlers/protocol_handler_registry_unittest.cc',
82       'browser/devtools/device/webrtc/devtools_bridge_instances_request_unittest.cc',
83       'browser/devtools/devtools_network_controller_unittest.cc',
84       'browser/download/all_download_item_notifier_unittest.cc',
85       'browser/download/chrome_download_manager_delegate_unittest.cc',
86       'browser/download/download_history_unittest.cc',
87       'browser/download/download_item_model_unittest.cc',
88       'browser/download/download_path_reservation_tracker_unittest.cc',
89       'browser/download/download_prefs_unittest.cc',
90       'browser/download/download_query_unittest.cc',
91       'browser/download/download_request_infobar_delegate_unittest.cc',
92       'browser/download/download_request_limiter_unittest.cc',
93       'browser/download/download_resource_throttle_unittest.cc',
94       'browser/download/download_status_updater_unittest.cc',
95       'browser/download/download_target_determiner_unittest.cc',
96       'browser/download/download_ui_controller_unittest.cc',
97       'browser/enumerate_modules_model_unittest_win.cc',
98       'browser/external_protocol/external_protocol_handler_unittest.cc',
99       'browser/favicon/chrome_fallback_icon_client_unittest.cc',
100       'browser/file_select_helper_unittest.cc',
101       'browser/geolocation/geolocation_permission_context_unittest.cc',
102       'browser/global_keyboard_shortcuts_mac_unittest.mm',
103       'browser/google/google_search_counter_android_unittest.cc',
104       'browser/google/google_search_counter_unittest.cc',
105       'browser/google/google_update_settings_unittest.cc',
106       'browser/google/google_update_win_unittest.cc',
107       'browser/history/android/android_cache_database_unittest.cc',
108       'browser/history/android/android_history_provider_service_unittest.cc',
109       'browser/history/android/android_provider_backend_unittest.cc',
110       'browser/history/android/android_urls_database_unittest.cc',
111       'browser/history/android/bookmark_model_sql_handler_unittest.cc',
112       'browser/history/android/sqlite_cursor_unittest.cc',
113       'browser/history/android/urls_sql_handler_unittest.cc',
114       'browser/history/android/visit_sql_handler_unittest.cc',
115       'browser/history/web_history_service_unittest.cc',
116       'browser/image_holder_unittest.cc',
117       'browser/install_verification/win/imported_module_verification_unittest.cc',
118       'browser/install_verification/win/loaded_module_verification_unittest.cc',
119       'browser/install_verification/win/loaded_modules_snapshot_unittest.cc',
120       'browser/install_verification/win/module_ids_unittest.cc',
121       'browser/install_verification/win/module_info_unittest.cc',
122       'browser/install_verification/win/module_list_unittest.cc',
123       'browser/install_verification/win/module_verification_test.cc',
124       'browser/install_verification/win/module_verification_test.h',
125       'browser/internal_auth_unittest.cc',
126       'browser/invalidation/invalidator_storage_unittest.cc',
127       'browser/io_thread_unittest.cc',
128       'browser/logging_chrome_unittest.cc',
129       'browser/mac/keystone_glue_unittest.mm',
130       'browser/manifest/manifest_icon_downloader_unittest.cc',
131       'browser/manifest/manifest_icon_selector_unittest.cc',
132       'browser/media/media_stream_device_permission_context_unittest.cc',
133       'browser/media/midi_permission_context_unittest.cc',
134       'browser/media/native_desktop_media_list_unittest.cc',
135       'browser/memory/oom_priority_manager_delegate_chromeos_unittest.cc',
136       'browser/memory/oom_priority_manager_unittest.cc',
137       'browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc',
138       'browser/metrics/chrome_metrics_service_accessor_unittest.cc',
139       'browser/metrics/cloned_install_detector_unittest.cc',
140       'browser/metrics/perf_provider_chromeos_unittest.cc',
141       'browser/metrics/signin_status_metrics_provider_chromeos_unittest.cc',
142       'browser/metrics/signin_status_metrics_provider_unittest.cc',
143       'browser/metrics/thread_watcher_android_unittest.cc',
144       'browser/metrics/thread_watcher_unittest.cc',
145       'browser/metrics/time_ticks_experiment_unittest.cc',
146       'browser/metrics/variations/generated_resources_map_lookup_unittest.cc',
147       'browser/mod_pagespeed/mod_pagespeed_metrics_unittest.cc',
148       'browser/net/chrome_network_delegate_unittest.cc',
149       'browser/net/dns_probe_runner_unittest.cc',
150       'browser/net/dns_probe_service_unittest.cc',
151       'browser/net/net_error_tab_helper_unittest.cc',
152       'browser/net/net_log_temp_file_unittest.cc',
153       'browser/net/predictor_unittest.cc',
154       'browser/net/pref_proxy_config_tracker_impl_unittest.cc',
155       'browser/net/probe_message_unittest.cc',
156       'browser/net/quota_policy_channel_id_store_unittest.cc',
157       'browser/net/safe_search_util_unittest.cc',
158       'browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc',
159       'browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc',
160       'browser/net/ssl_config_service_manager_pref_unittest.cc',
161       'browser/net/url_info_unittest.cc',
162       'browser/password_manager/chrome_password_manager_client_unittest.cc',
163       'browser/password_manager/password_manager_internals_service_unittest.cc',
164       'browser/password_manager/password_store_mac_unittest.cc',
165       'browser/password_manager/password_store_proxy_mac_unittest.cc',
166       'browser/password_manager/password_store_win_unittest.cc',
167       'browser/password_manager/password_store_x_unittest.cc',
168       'browser/password_manager/save_password_infobar_delegate_unittest.cc',
169       'browser/password_manager/simple_password_store_mac_unittest.cc',
170       'browser/permissions/permission_context_base_unittest.cc',
171       'browser/permissions/permission_manager_unittest.cc',
172       'browser/permissions/permission_queue_controller_unittest.cc',
173       'browser/predictors/autocomplete_action_predictor_table_unittest.cc',
174       'browser/predictors/autocomplete_action_predictor_unittest.cc',
175       'browser/predictors/resource_prefetch_common_unittest.cc',
176       'browser/predictors/resource_prefetch_predictor_tables_unittest.cc',
177       'browser/predictors/resource_prefetch_predictor_unittest.cc',
178       'browser/predictors/resource_prefetcher_unittest.cc',
179       'browser/prefs/chrome_pref_service_unittest.cc',
180       'browser/prefs/command_line_pref_store_unittest.cc',
181       'browser/prefs/incognito_mode_prefs_unittest.cc',
182       'browser/prefs/pref_model_associator_unittest.cc',
183       'browser/prefs/pref_service_syncable_unittest.cc',
184       'browser/prefs/profile_pref_store_manager_unittest.cc',
185       'browser/prefs/session_startup_pref_unittest.cc',
186       'browser/prerender/prerender_history_unittest.cc',
187       'browser/prerender/prerender_resource_throttle_unittest.cc',
188       'browser/prerender/prerender_unittest.cc',
189       'browser/prerender/prerender_util_unittest.cc',
190       'browser/private_working_set_snapshot_win_unittest.cc',
191       'browser/process_info_snapshot_mac_unittest.cc',
192       'browser/process_singleton_win_unittest.cc',
193       'browser/profiles/file_path_verifier_win_unittest.cc',
194       'browser/profiles/gaia_info_update_service_unittest.cc',
195       'browser/profiles/profile_attributes_storage_unittest.cc',
196       'browser/profiles/profile_avatar_icon_util_unittest.cc',
197       'browser/profiles/profile_downloader_unittest.cc',
198       'browser/profiles/profile_info_cache_unittest.cc',
199       'browser/profiles/profile_info_cache_unittest.h',
200       'browser/profiles/profile_manager_unittest.cc',
201       'browser/profiles/profile_shortcut_manager_unittest_win.cc',
202       'browser/push_messaging/push_messaging_app_identifier_unittest.cc',
203       'browser/push_messaging/push_messaging_permission_context_unittest.cc',
204       'browser/renderer_context_menu/render_view_context_menu_test_util.cc',
205       'browser/renderer_context_menu/render_view_context_menu_test_util.h',
206       'browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_unit_test.mm',
207       'browser/resources_util_unittest.cc',
208       'browser/search/contextual_search_policy_handler_android_unittest.cc',
209       'browser/search/iframe_source_unittest.cc',
210       'browser/search/instant_unittest_base.cc',
211       'browser/search/instant_unittest_base.h',
212       'browser/search/most_visited_iframe_source_unittest.cc',
213       'browser/search/thumbnail_source_unittest.cc',
214       'browser/search_engines/search_provider_install_data_unittest.cc',
215       'browser/service_process/service_process_control_mac_unittest.mm',
216       'browser/services/gcm/fake_gcm_profile_service.cc',
217       'browser/services/gcm/fake_gcm_profile_service.h',
218       'browser/services/gcm/fake_signin_manager.cc',
219       'browser/services/gcm/fake_signin_manager.h',
220       'browser/shell_integration_win_unittest.cc',
221       'browser/signin/account_reconcilor_unittest.cc',
222       'browser/signin/chrome_signin_client_unittest.cc',
223       'browser/signin/local_auth_unittest.cc',
224       'browser/signin/signin_global_error_unittest.cc',
225       'browser/signin/signin_manager_unittest.cc',
226       'browser/signin/signin_tracker_unittest.cc',
227       'browser/signin/test_signin_client_builder.cc',
228       'browser/ssl/ssl_error_classification_unittest.cc',
229       'browser/ssl/ssl_error_handler_unittest.cc',
230       'browser/status_icons/status_icon_menu_model_unittest.cc',
231       'browser/status_icons/status_icon_unittest.cc',
232       'browser/status_icons/status_tray_unittest.cc',
233       'browser/sync/abstract_profile_sync_service_test.cc',
234       'browser/sync/abstract_profile_sync_service_test.h',
235       'browser/sync/backend_migrator_unittest.cc',
236       'browser/sync/backup_rollback_controller_unittest.cc',
237       'browser/sync/glue/autofill_data_type_controller_unittest.cc',
238       'browser/sync/glue/bookmark_data_type_controller_unittest.cc',
239       'browser/sync/glue/browser_thread_model_worker_unittest.cc',
240       'browser/sync/glue/frontend_data_type_controller_unittest.cc',
241       'browser/sync/glue/local_device_info_provider_unittest.cc',
242       'browser/sync/glue/non_frontend_data_type_controller_mock.cc',
243       'browser/sync/glue/non_frontend_data_type_controller_mock.h',
244       'browser/sync/glue/non_frontend_data_type_controller_unittest.cc',
245       'browser/sync/glue/search_engine_data_type_controller_unittest.cc',
246       'browser/sync/glue/sync_backend_host_impl_unittest.cc',
247       'browser/sync/glue/sync_backend_host_mock.cc',
248       'browser/sync/glue/sync_backend_host_mock.h',
249       'browser/sync/glue/sync_backend_registrar_unittest.cc',
250       'browser/sync/glue/synced_session_tracker_unittest.cc',
251       'browser/sync/glue/synced_tab_delegate_unittest.cc',
252       'browser/sync/glue/typed_url_model_associator_unittest.cc',
253       'browser/sync/glue/ui_model_worker_unittest.cc',
254       'browser/sync/profile_sync_auth_provider_unittest.cc',
255       'browser/sync/profile_sync_components_factory_impl_unittest.cc',
256       'browser/sync/profile_sync_service_autofill_unittest.cc',
257       'browser/sync/profile_sync_service_bookmark_unittest.cc',
258       'browser/sync/profile_sync_service_factory_unittest.cc',
259       'browser/sync/profile_sync_service_startup_unittest.cc',
260       'browser/sync/profile_sync_service_typed_url_unittest.cc',
261       'browser/sync/profile_sync_service_unittest.cc',
262       'browser/sync/profile_sync_test_util.cc',
263       'browser/sync/profile_sync_test_util.h',
264       'browser/sync/sessions/session_data_type_controller_unittest.cc',
265       'browser/sync/startup_controller_unittest.cc',
266       'browser/sync/sync_startup_tracker_unittest.cc',
267       'browser/sync/test/test_http_bridge_factory.cc',
268       'browser/sync/test/test_http_bridge_factory.h',
269       'browser/sync/test_profile_sync_service.cc',
270       'browser/sync/test_profile_sync_service.h',
271       'browser/task_profiler/task_profiler_data_serializer_unittest.cc',
272       'browser/thumbnails/content_analysis_unittest.cc',
273       'browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc',
274       'browser/thumbnails/simple_thumbnail_crop_unittest.cc',
275       'browser/thumbnails/thumbnail_service_unittest.cc',
276       'browser/translate/translate_service_unittest.cc',
277       'browser/ui/android/tab_model/tab_model_list_unittest.cc',
278       'browser/ui/android/tab_model/tab_model_unittest.cc',
279       'browser/ui/autofill/autofill_dialog_models_unittest.cc',
280       'browser/ui/autofill/autofill_dialog_types_unittest.cc',
281       'browser/ui/autofill/popup_controller_common_unittest.cc',
282       'browser/ui/autofill/test_popup_controller_common.cc',
283       'browser/ui/autofill/test_popup_controller_common.h',
284       'browser/ui/bookmarks/bookmark_editor_unittest.cc',
285       'browser/ui/bookmarks/bookmark_ui_utils_unittest.cc',
286       'browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc',
287       'browser/ui/browser_unittest.cc',
288       'browser/ui/chrome_select_file_policy_unittest.cc',
289       # It is safe to list */cocoa/* files in the "common" file list
290       # without an explicit exclusion since gyp is smart enough to
291       # exclude them from non-Mac builds.
292       'browser/ui/cocoa/accelerators_cocoa_unittest.mm',
293       'browser/ui/cocoa/animatable_image_unittest.mm',
294       'browser/ui/cocoa/animatable_view_unittest.mm',
295       'browser/ui/cocoa/applescript/apple_event_util_unittest.mm',
296       'browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.h',
297       'browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.mm',
298       'browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm',
299       'browser/ui/cocoa/applescript/bookmark_item_applescript_unittest.mm',
300       'browser/ui/cocoa/autofill/autofill_bubble_controller_unittest.mm',
301       'browser/ui/cocoa/autofill/autofill_details_container_unittest.mm',
302       'browser/ui/cocoa/autofill/autofill_main_container_unittest.mm',
303       'browser/ui/cocoa/autofill/autofill_notification_container_unittest.mm',
304       'browser/ui/cocoa/autofill/autofill_notification_controller_unittest.mm',
305       'browser/ui/cocoa/autofill/autofill_pop_up_button_unittest.mm',
306       'browser/ui/cocoa/autofill/autofill_section_container_unittest.mm',
307       'browser/ui/cocoa/autofill/autofill_section_view_unittest.mm',
308       'browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm',
309       'browser/ui/cocoa/autofill/autofill_textfield_unittest.mm',
310       'browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm',
311       'browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm',
312       'browser/ui/cocoa/autofill/layout_view_unittest.mm',
313       'browser/ui/cocoa/autofill/password_generation_popup_view_cocoa_unittest.mm',
314       'browser/ui/cocoa/autofill/simple_grid_layout_unittest.mm',
315       'browser/ui/cocoa/background_gradient_view_unittest.mm',
316       'browser/ui/cocoa/base_bubble_controller_unittest.mm',
317       'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller_unittest.mm',
318       'browser/ui/cocoa/bookmarks/bookmark_bar_bridge_unittest.mm',
319       'browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm',
320       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm',
321       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm',
322       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state_unittest.mm',
323       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm',
324       'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window_unittest.mm',
325       'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view_unittest.mm',
326       'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h',
327       'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.mm',
328       'browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa_unittest.mm',
329       'browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm',
330       'browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm',
331       'browser/ui/cocoa/bookmarks/bookmark_button_unittest.mm',
332       'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller_unittest.mm',
333       'browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm',
334       'browser/ui/cocoa/bookmarks/bookmark_folder_target_unittest.mm',
335       'browser/ui/cocoa/bookmarks/bookmark_menu_bridge_unittest.mm',
336       'browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller_unittest.mm',
337       'browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm',
338       'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller_unittest.mm',
339       'browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm',
340       'browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell_unittest.mm',
341       'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller_unittest.mm',
342       'browser/ui/cocoa/browser/zoom_bubble_controller_unittest.mm',
343       'browser/ui/cocoa/browser_window_cocoa_unittest.mm',
344       'browser/ui/cocoa/browser_window_controller_unittest.mm',
345       'browser/ui/cocoa/browser_window_layout_unittest.mm',
346       'browser/ui/cocoa/bubble_view_unittest.mm',
347       'browser/ui/cocoa/chrome_browser_window_unittest.mm',
348       'browser/ui/cocoa/clickhold_button_cell_unittest.mm',
349       'browser/ui/cocoa/cocoa_profile_test.h',
350       'browser/ui/cocoa/cocoa_profile_test.mm',
351       'browser/ui/cocoa/cocoa_test_helper.h',
352       'browser/ui/cocoa/cocoa_test_helper.mm',
353       'browser/ui/cocoa/confirm_bubble_controller_unittest.mm',
354       'browser/ui/cocoa/confirm_quit_panel_controller_unittest.mm',
355       'browser/ui/cocoa/constrained_window/constrained_window_alert_unittest.mm',
356       'browser/ui/cocoa/constrained_window/constrained_window_button_unittest.mm',
357       'browser/ui/cocoa/constrained_window/constrained_window_custom_window_unittest.mm',
358       'browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm',
359       'browser/ui/cocoa/content_settings/collected_cookies_mac_unittest.mm',
360       'browser/ui/cocoa/content_settings/cookie_details_unittest.mm',
361       'browser/ui/cocoa/content_settings/cookie_details_view_controller_unittest.mm',
362       'browser/ui/cocoa/custom_frame_view_unittest.mm',
363       'browser/ui/cocoa/download/download_item_button_unittest.mm',
364       'browser/ui/cocoa/download/download_item_cell_unittest.mm',
365       'browser/ui/cocoa/download/download_item_controller_unittest.mm',
366       'browser/ui/cocoa/download/download_shelf_controller_unittest.mm',
367       'browser/ui/cocoa/download/download_shelf_mac_unittest.mm',
368       'browser/ui/cocoa/download/download_shelf_view_cocoa_unittest.mm',
369       'browser/ui/cocoa/download/download_util_mac_unittest.mm',
370       'browser/ui/cocoa/draggable_button_unittest.mm',
371       'browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm',
372       'browser/ui/cocoa/extensions/browser_actions_container_view_unittest.mm',
373       'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h',
374       'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm',
375       'browser/ui/cocoa/extensions/extension_install_view_controller_unittest.mm',
376       'browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm',
377       'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_unittest.mm',
378       'browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac_unittest.mm',
379       'browser/ui/cocoa/find_bar/find_bar_bridge_unittest.mm',
380       'browser/ui/cocoa/find_bar/find_bar_cocoa_controller_unittest.mm',
381       'browser/ui/cocoa/find_bar/find_bar_text_field_cell_unittest.mm',
382       'browser/ui/cocoa/find_bar/find_bar_text_field_unittest.mm',
383       'browser/ui/cocoa/find_bar/find_bar_view_unittest.mm',
384       'browser/ui/cocoa/find_pasteboard_unittest.mm',
385       'browser/ui/cocoa/first_run_bubble_controller_unittest.mm',
386       'browser/ui/cocoa/floating_bar_backing_view_unittest.mm',
387       'browser/ui/cocoa/framed_browser_window_unittest.mm',
388       'browser/ui/cocoa/fullscreen_window_unittest.mm',
389       'browser/ui/cocoa/gradient_button_cell_unittest.mm',
390       'browser/ui/cocoa/history_menu_bridge_unittest.mm',
391       'browser/ui/cocoa/history_menu_cocoa_controller_unittest.mm',
392       'browser/ui/cocoa/history_overlay_controller_unittest.mm',
393       'browser/ui/cocoa/hover_close_button_unittest.mm',
394       'browser/ui/cocoa/hung_renderer_controller_unittest.mm',
395       'browser/ui/cocoa/image_button_cell_unittest.mm',
396       'browser/ui/cocoa/info_bubble_view_unittest.mm',
397       'browser/ui/cocoa/info_bubble_window_unittest.mm',
398       'browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm',
399       'browser/ui/cocoa/infobars/infobar_container_controller_unittest.mm',
400       'browser/ui/cocoa/infobars/infobar_gradient_view_unittest.mm',
401       'browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc',
402       'browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h',
403       'browser/ui/cocoa/infobars/translate_infobar_unittest.mm',
404       'browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm',
405       'browser/ui/cocoa/location_bar/autocomplete_text_field_editor_unittest.mm',
406       'browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm',
407       'browser/ui/cocoa/location_bar/autocomplete_text_field_unittest_helper.mm',
408       'browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm',
409       'browser/ui/cocoa/location_bar/image_decoration_unittest.mm',
410       'browser/ui/cocoa/location_bar/keyword_hint_decoration_unittest.mm',
411       'browser/ui/cocoa/location_bar/manage_passwords_decoration_unittest.mm',
412       'browser/ui/cocoa/location_bar/selected_keyword_decoration_unittest.mm',
413       'browser/ui/cocoa/location_bar/zoom_decoration_unittest.mm',
414       'browser/ui/cocoa/media_picker/desktop_media_picker_controller_unittest.mm',
415       'browser/ui/cocoa/menu_button_unittest.mm',
416       'browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm',
417       'browser/ui/cocoa/nsmenuitem_additions_unittest.mm',
418       'browser/ui/cocoa/omnibox/omnibox_popup_cell_unittest.mm',
419       'browser/ui/cocoa/omnibox/omnibox_popup_matrix_unittest.mm',
420       'browser/ui/cocoa/omnibox/omnibox_popup_separator_view_unittest.mm',
421       'browser/ui/cocoa/omnibox/omnibox_popup_view_mac_unittest.mm',
422       'browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm',
423       'browser/ui/cocoa/one_click_signin_bubble_controller_unittest.mm',
424       'browser/ui/cocoa/panels/panel_cocoa_unittest.mm',
425       'browser/ui/cocoa/passwords/credential_item_view_unittest.mm',
426       'browser/ui/cocoa/passwords/manage_credential_item_view_controller_unittest.mm',
427       'browser/ui/cocoa/passwords/manage_password_item_view_controller_unittest.mm',
428       'browser/ui/cocoa/passwords/manage_passwords_bubble_account_chooser_view_controller_unittest.mm',
429       'browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa_unittest.mm',
430       'browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_view_controller_unittest.mm',
431       'browser/ui/cocoa/passwords/manage_passwords_bubble_controller_unittest.mm',
432       'browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller_unittest.mm',
433       'browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller_unittest.mm',
434       'browser/ui/cocoa/passwords/manage_passwords_controller_test.h',
435       'browser/ui/cocoa/passwords/manage_passwords_controller_test.mm',
436       'browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm',
437       'browser/ui/cocoa/profiles/avatar_button_unittest.mm',
438       'browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm',
439       'browser/ui/cocoa/profiles/avatar_label_button_unittest.mm',
440       'browser/ui/cocoa/profiles/avatar_menu_bubble_controller_unittest.mm',
441       'browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm',
442       'browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm',
443       'browser/ui/cocoa/profiles/user_manager_mac_unittest.mm',
444       'browser/ui/cocoa/run_loop_testing_unittest.mm',
445       'browser/ui/cocoa/screen_capture_notification_ui_cocoa_unittest.mm',
446       'browser/ui/cocoa/spinner_view_unittest.mm',
447       'browser/ui/cocoa/sprite_view_unittest.mm',
448       'browser/ui/cocoa/status_bubble_mac_unittest.mm',
449       'browser/ui/cocoa/status_icons/status_icon_mac_unittest.mm',
450       'browser/ui/cocoa/styled_text_field_cell_unittest.mm',
451       'browser/ui/cocoa/styled_text_field_test_helper.h',
452       'browser/ui/cocoa/styled_text_field_test_helper.mm',
453       'browser/ui/cocoa/styled_text_field_unittest.mm',
454       'browser/ui/cocoa/tab_contents/sad_tab_controller_unittest.mm',
455       'browser/ui/cocoa/tab_contents/sad_tab_view_cocoa_unittest.mm',
456       'browser/ui/cocoa/table_row_nsimage_cache_unittest.mm',
457       'browser/ui/cocoa/tabs/media_indicator_button_cocoa_unittest.mm',
458       'browser/ui/cocoa/tabs/tab_controller_unittest.mm',
459       'browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm',
460       'browser/ui/cocoa/tabs/tab_strip_view_unittest.mm',
461       'browser/ui/cocoa/tabs/tab_view_unittest.mm',
462       'browser/ui/cocoa/task_manager_mac_unittest.mm',
463       'browser/ui/cocoa/toolbar/reload_button_unittest.mm',
464       'browser/ui/cocoa/toolbar/toolbar_button_unittest.mm',
465       'browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm',
466       'browser/ui/cocoa/toolbar/toolbar_view_unittest.mm',
467       'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell_unittest.mm',
468       'browser/ui/cocoa/translate/translate_bubble_controller_unittest.mm',
469       'browser/ui/cocoa/validation_message_bubble_controller_unittest.mm',
470       'browser/ui/cocoa/vertical_gradient_view_unittest.mm',
471       'browser/ui/cocoa/view_resizer_pong.h',
472       'browser/ui/cocoa/view_resizer_pong.mm',
473       'browser/ui/cocoa/web_dialog_window_controller_unittest.mm',
474       'browser/ui/cocoa/website_settings/permission_bubble_controller_unittest.mm',
475       'browser/ui/cocoa/website_settings/permission_selector_button_unittest.mm',
476       'browser/ui/cocoa/website_settings/website_settings_bubble_controller_unittest.mm',
477       'browser/ui/cocoa/window_size_autosaver_unittest.mm',
478       'browser/ui/cocoa/wrench_menu/menu_tracked_root_view_unittest.mm',
479       'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell_unittest.mm',
480       'browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm',
481       'browser/ui/find_bar/find_backend_unittest.cc',
482       'browser/ui/global_error/global_error_service_unittest.cc',
483       'browser/ui/login/login_prompt_unittest.cc',
484       'browser/ui/passwords/manage_passwords_bubble_model_unittest.cc',
485       'browser/ui/passwords/manage_passwords_icon_mock.cc',
486       'browser/ui/passwords/manage_passwords_state_unittest.cc',
487       'browser/ui/passwords/manage_passwords_ui_controller_unittest.cc',
488       'browser/ui/passwords/manage_passwords_view_utils_unittest.cc',
489       'browser/ui/passwords/password_bubble_experiment_unittest.cc',
490       'browser/ui/passwords/password_manager_presenter_unittest.cc',
491       'browser/ui/search_engines/keyword_editor_controller_unittest.cc',
492       'browser/ui/sync/profile_signin_confirmation_helper_unittest.cc',
493       'browser/ui/sync/sync_promo_ui_unittest.cc',
494       'browser/ui/tests/ui_gfx_image_unittest.cc',
495       'browser/ui/tests/ui_gfx_image_unittest.mm',
496       'browser/ui/website_settings/mock_permission_bubble_view.cc',
497       'browser/ui/website_settings/mock_permission_bubble_view.h',
498       'browser/ui/website_settings/website_settings_unittest.cc',
499       'browser/ui/webui/fileicon_source_unittest.cc',
500       'browser/ui/webui/history_ui_unittest.cc',
501       'browser/update_client/chrome_update_query_params_delegate_unittest.cc',
502       'common/chrome_content_client_unittest.cc',
503       'common/chrome_paths_unittest.cc',
504       'common/cloud_print/cloud_print_helpers_unittest.cc',
505       'common/component_flash_hint_file_linux_unittest.cc',
506       'common/crash_keys_unittest.cc',
507       'common/ini_parser_unittest.cc',
508       'common/instant_types_unittest.cc',
509       'common/mac/cfbundle_blocker_unittest.mm',
510       'common/mac/mock_launchd.cc',
511       'common/mac/mock_launchd.h',
512       'common/mac/objc_zombie_unittest.mm',
513       'common/partial_circular_buffer_unittest.cc',
514       'common/pref_names_util_unittest.cc',
515       'common/search_urls_unittest.cc',
516       'common/secure_origin_whitelist_unittest.cc',
517       'common/switch_utils_unittest.cc',
518       'common/variations/variations_util_unittest.cc',
519       'common/worker_thread_ticker_unittest.cc',
520       'renderer/chrome_content_renderer_client_unittest.cc',
521       'renderer/content_settings_observer_unittest.cc',
522       'renderer/instant_restricted_id_cache_unittest.cc',
523       'renderer/plugins/plugin_uma_unittest.cc',
524       'renderer/prerender/prerender_dispatcher_unittest.cc',
525       'renderer/searchbox/search_bouncer_unittest.cc',
526       'renderer/searchbox/searchbox_extension_unittest.cc',
527       'renderer/searchbox/searchbox_unittest.cc',
528       'renderer/web_apps_unittest.cc',
529       'test/base/chrome_render_view_test.cc',
530       'test/base/chrome_render_view_test.h',
531       'test/base/menu_model_test.cc',
532       'test/base/menu_model_test.h',
533       'test/base/v8_unit_test.cc',
534       'test/base/v8_unit_test.h',
535       'test/logging/win/mof_data_parser_unittest.cc',
536       'utility/chrome_content_utility_client_unittest.cc',
537       'utility/cloud_print/pwg_encoder_unittest.cc',
539       # Duplicate these tests here because PathService has more items in
540       # unit_tests than in base_unittests.
541       '../base/path_service_unittest.cc',
543       # TODO(hashimoto): those tests should be componentized and moved to
544       # //components:components_unittests, http://crbug.com/527882.
545       '../components/search_engines/template_url_fetcher_unittest.cc',
546       '../components/search_engines/template_url_parser_unittest.cc',
547       '../components/search_engines/template_url_service_sync_unittest.cc',
548       '../components/search_engines/template_url_service_unittest.cc',
550       '../testing/gtest_mac_unittest.mm',
551       '../third_party/zlib/google/zip_reader_unittest.cc',
552       '../third_party/zlib/google/zip_unittest.cc',
553       '../tools/json_schema_compiler/test/additional_properties_unittest.cc',
554       '../tools/json_schema_compiler/test/any_unittest.cc',
555       '../tools/json_schema_compiler/test/arrays_unittest.cc',
556       '../tools/json_schema_compiler/test/callbacks_unittest.cc',
557       '../tools/json_schema_compiler/test/choices_unittest.cc',
558       '../tools/json_schema_compiler/test/crossref_unittest.cc',
559       '../tools/json_schema_compiler/test/enums_unittest.cc',
560       '../tools/json_schema_compiler/test/error_generation_unittest.cc',
561       '../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc',
562       '../tools/json_schema_compiler/test/functions_on_types_unittest.cc',
563       '../tools/json_schema_compiler/test/idl_schemas_unittest.cc',
564       '../tools/json_schema_compiler/test/objects_unittest.cc',
565       '../tools/json_schema_compiler/test/simple_api_unittest.cc',
566     ],
567     'chrome_unit_tests_spellchecker_sources': [
568       'browser/spellchecker/feedback_sender_unittest.cc',
569       'browser/spellchecker/feedback_unittest.cc',
570       'browser/spellchecker/misspelling_unittest.cc',
571       'browser/spellchecker/spellcheck_action_unittest.cc',
572       'browser/spellchecker/spellcheck_custom_dictionary_unittest.cc',
573       'browser/spellchecker/spellcheck_host_metrics_unittest.cc',
574       'browser/spellchecker/spellcheck_message_filter_platform_mac_unittest.cc',
575       'browser/spellchecker/spellcheck_message_filter_unittest.cc',
576       'browser/spellchecker/spellcheck_platform_mac_unittest.cc',
577       'browser/spellchecker/spellcheck_service_unittest.cc',
578       'browser/spellchecker/spelling_service_client_unittest.cc',
579       'browser/spellchecker/word_trimmer_unittest.cc',
580       'renderer/spellchecker/custom_dictionary_engine_unittest.cc',
581       'renderer/spellchecker/spellcheck_multilingual_unittest.cc',
582       'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc',
583       'renderer/spellchecker/spellcheck_provider_mac_unittest.cc',
584       'renderer/spellchecker/spellcheck_provider_test.cc',
585       'renderer/spellchecker/spellcheck_provider_test.h',
586       'renderer/spellchecker/spellcheck_unittest.cc',
587       'renderer/spellchecker/spellcheck_worditerator_unittest.cc',
588       'tools/convert_dict/convert_dict_unittest.cc',
589     ],
590     'chrome_unit_tests_background_sources': [
591       'browser/background/background_application_list_model_unittest.cc',
592       'browser/background/background_contents_service_unittest.cc',
593       'browser/background/background_mode_manager_unittest.cc',
594     ],
595     'chrome_unit_tests_extensions_sources': [
596       '../apps/saved_files_service_unittest.cc',
597       '../components/drive/drive_api_util_unittest.cc',
598       '../components/drive/drive_app_registry_unittest.cc',
599       '../components/drive/drive_uploader_unittest.cc',
600       '../components/drive/event_logger_unittest.cc',
601       '../components/drive/service/drive_api_service_unittest.cc',
602       '../components/drive/service/fake_drive_service_unittest.cc',
603       'browser/apps/app_shim/app_shim_host_mac_unittest.cc',
604       'browser/apps/app_shim/extension_app_shim_handler_mac_unittest.cc',
605       'browser/apps/drive/drive_app_mapping_unittest.cc',
606       'browser/apps/ephemeral_app_service_unittest.cc',
607       'browser/autocomplete/keyword_extensions_delegate_impl_unittest.cc',
608       'browser/extensions/active_script_controller_unittest.cc',
609       'browser/extensions/active_tab_unittest.cc',
610       'browser/extensions/activity_log/activity_database_unittest.cc',
611       'browser/extensions/activity_log/activity_log_enabled_unittest.cc',
612       'browser/extensions/activity_log/activity_log_policy_unittest.cc',
613       'browser/extensions/activity_log/activity_log_unittest.cc',
614       'browser/extensions/activity_log/counting_policy_unittest.cc',
615       'browser/extensions/activity_log/database_string_table_unittest.cc',
616       'browser/extensions/activity_log/fullstream_ui_policy_unittest.cc',
617       'browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc',
618       'browser/extensions/api/audio_modem/audio_modem_api_unittest.cc',
619       'browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc',
620       'browser/extensions/api/content_settings/content_settings_store_unittest.cc',
621       'browser/extensions/api/content_settings/content_settings_unittest.cc',
622       'browser/extensions/api/cookies/cookies_unittest.cc',
623       'browser/extensions/api/copresence/copresence_api_unittest.cc',
624       'browser/extensions/api/cryptotoken_private/cryptotoken_private_api_unittest.cc',
625       'browser/extensions/api/declarative/rules_registry_service_unittest.cc',
626       'browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc',
627       'browser/extensions/api/declarative_content/chrome_content_rules_registry_unittest.cc',
628       'browser/extensions/api/declarative_content/content_action_unittest.cc',
629       'browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.cc',
630       'browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.h',
631       'browser/extensions/api/declarative_content/declarative_content_css_condition_tracker_unittest.cc',
632       'browser/extensions/api/declarative_content/declarative_content_is_bookmarked_condition_tracker_unittest.cc',
633       'browser/extensions/api/declarative_content/declarative_content_page_url_condition_tracker_unittest.cc',
634       'browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc',
635       'browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc',
636       'browser/extensions/api/developer_private/developer_private_api_unittest.cc',
637       'browser/extensions/api/developer_private/extension_info_generator_unittest.cc',
638       'browser/extensions/api/device_permissions_manager_unittest.cc',
639       'browser/extensions/api/dial/dial_device_data_unittest.cc',
640       'browser/extensions/api/dial/dial_registry_unittest.cc',
641       'browser/extensions/api/dial/dial_service_unittest.cc',
642       'browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc',
643       'browser/extensions/api/experience_sampling_private/experience_sampling_private_api_unittest.cc',
644       'browser/extensions/api/extension_action/extension_action_prefs_unittest.cc',
645       'browser/extensions/api/file_handlers/api_file_handler_util_unittest.cc',
646       'browser/extensions/api/file_handlers/mime_util_unittest.cc',
647       'browser/extensions/api/file_system/file_system_api_unittest.cc',
648       'browser/extensions/api/identity/extension_token_key_unittest.cc',
649       'browser/extensions/api/identity/gaia_web_auth_flow_unittest.cc',
650       'browser/extensions/api/identity/identity_mint_queue_unittest.cc',
651       'browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc',
652       'browser/extensions/api/image_writer_private/operation_manager_unittest.cc',
653       'browser/extensions/api/image_writer_private/operation_unittest.cc',
654       'browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc',
655       'browser/extensions/api/image_writer_private/test_utils.cc',
656       'browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc',
657       'browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc',
658       'browser/extensions/api/management/management_api_unittest.cc',
659       'browser/extensions/api/mdns/dns_sd_registry_unittest.cc',
660       'browser/extensions/api/mdns/mdns_api_unittest.cc',
661       'browser/extensions/api/omnibox/omnibox_unittest.cc',
662       'browser/extensions/api/permissions/permissions_api_helpers_unittest.cc',
663       'browser/extensions/api/preference/preference_api_prefs_unittest.cc',
664       'browser/extensions/api/proxy/proxy_api_helpers_unittest.cc',
665       'browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc',
666       'browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc',
667       'browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc',
668       'browser/extensions/api/socket/socket_api_unittest.cc',
669       'browser/extensions/api/socket/tcp_socket_unittest.cc',
670       'browser/extensions/api/socket/tls_socket_unittest.cc',
671       'browser/extensions/api/socket/udp_socket_unittest.cc',
672       'browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api_unittest.cc',
673       'browser/extensions/api/storage/settings_sync_unittest.cc',
674       'browser/extensions/api/streams_private/streams_private_manifest_unittest.cc',
675       'browser/extensions/api/web_navigation/frame_navigation_state_unittest.cc',
676       'browser/extensions/api/web_request/web_request_api_unittest.cc',
677       'browser/extensions/api/web_request/web_request_permissions_unittest.cc',
678       'browser/extensions/app_data_migrator_unittest.cc',
679       'browser/extensions/blacklist_state_fetcher_unittest.cc',
680       'browser/extensions/bookmark_app_helper_unittest.cc',
681       'browser/extensions/chrome_app_sorting_unittest.cc',
682       'browser/extensions/chrome_component_extension_resource_manager_unittest.cc',
683       'browser/extensions/chrome_info_map_unittest.cc',
684       'browser/extensions/component_loader_unittest.cc',
685       'browser/extensions/convert_user_script_unittest.cc',
686       'browser/extensions/convert_web_app_unittest.cc',
687       'browser/extensions/default_apps_unittest.cc',
688       'browser/extensions/display_info_provider_chromeos_unittest.cc',
689       'browser/extensions/error_console/error_console_unittest.cc',
690       'browser/extensions/event_router_forwarder_unittest.cc',
691       'browser/extensions/extension_action_icon_factory_unittest.cc',
692       'browser/extensions/extension_action_manager_unittest.cc',
693       'browser/extensions/extension_action_unittest.cc',
694       'browser/extensions/extension_api_unittest.cc',
695       'browser/extensions/extension_api_unittest.h',
696       'browser/extensions/extension_context_menu_model_unittest.cc',
697       'browser/extensions/extension_creator_filter_unittest.cc',
698       'browser/extensions/extension_error_controller_unittest.cc',
699       'browser/extensions/extension_function_test_utils.cc',
700       'browser/extensions/extension_function_test_utils.h',
701       'browser/extensions/extension_garbage_collector_chromeos_unittest.cc',
702       'browser/extensions/extension_garbage_collector_unittest.cc',
703       'browser/extensions/extension_gcm_app_handler_unittest.cc',
704       'browser/extensions/extension_icon_manager_unittest.cc',
705       'browser/extensions/extension_install_checker_unittest.cc',
706       'browser/extensions/extension_install_prompt_unittest.cc',
707       'browser/extensions/extension_management_test_util.cc',
708       'browser/extensions/extension_management_test_util.h',
709       'browser/extensions/extension_management_unittest.cc',
710       'browser/extensions/extension_message_bubble_controller_unittest.cc',
711       'browser/extensions/extension_migrator_unittest.cc',
712       'browser/extensions/extension_path_util_unittest.cc',
713       'browser/extensions/extension_prefs_unittest.cc',
714       'browser/extensions/extension_prefs_unittest.h',
715       'browser/extensions/extension_protocols_unittest.cc',
716       'browser/extensions/extension_reenabler_unittest.cc',
717       'browser/extensions/extension_service_test_base.cc',
718       'browser/extensions/extension_service_test_base.h',
719       'browser/extensions/extension_service_unittest.cc',
720       'browser/extensions/extension_special_storage_policy_unittest.cc',
721       'browser/extensions/extension_sync_data_unittest.cc',
722       'browser/extensions/extension_test_message_listener_unittest.cc',
723       'browser/extensions/extension_user_script_loader_unittest.cc',
724       'browser/extensions/extension_web_ui_unittest.cc',
725       'browser/extensions/external_policy_loader_unittest.cc',
726       'browser/extensions/external_provider_impl_chromeos_unittest.cc',
727       'browser/extensions/external_provider_impl_unittest.cc',
728       'browser/extensions/favicon_downloader_unittest.cc',
729       'browser/extensions/install_tracker_unittest.cc',
730       'browser/extensions/location_bar_controller_unittest.cc',
731       'browser/extensions/menu_manager_unittest.cc',
732       'browser/extensions/pack_extension_unittest.cc',
733       'browser/extensions/permission_message_combinations_unittest.cc',
734       'browser/extensions/permission_messages_unittest.cc',
735       'browser/extensions/permissions_based_management_policy_provider_unittest.cc',
736       'browser/extensions/permissions_updater_unittest.cc',
737       'browser/extensions/shared_module_service_unittest.cc',
738       'browser/extensions/standard_management_policy_provider_unittest.cc',
739       'browser/extensions/token_cache/token_cache_service_unittest.cc',
740       'browser/extensions/updater/extension_cache_fake.cc',
741       'browser/extensions/updater/extension_cache_fake.h',
742       'browser/extensions/updater/extension_updater_unittest.cc',
743       'browser/extensions/user_script_listener_unittest.cc',
744       'browser/extensions/warning_badge_service_unittest.cc',
745       'browser/extensions/webstore_inline_installer_unittest.cc',
746       'browser/extensions/webstore_installer_unittest.cc',
747       'browser/extensions/zipfile_installer_unittest.cc',
748       'browser/media/cast_transport_host_filter_unittest.cc',
749       'browser/metrics/extensions_metrics_provider_unittest.cc',
750       'browser/notifications/extension_welcome_notification_unittest.cc',
751       'browser/notifications/notification_conversion_helper_unittest.cc',
752       'browser/renderer_context_menu/context_menu_content_type_unittest.cc',
753       'browser/search/hotword_service_unittest.cc',
754       'browser/signin/easy_unlock_app_manager_unittest.cc',
755       'browser/signin/easy_unlock_auth_attempt_unittest.cc',
756       'browser/signin/easy_unlock_screenlock_state_handler_unittest.cc',
757       'browser/signin/easy_unlock_service_unittest_chromeos.cc',
758       'browser/signin/mutable_profile_oauth2_token_service_delegate_unittest.cc',
759       'browser/sync/glue/extensions_activity_monitor_unittest.cc',
760       'browser/sync_file_system/drive_backend/callback_helper_unittest.cc',
761       'browser/sync_file_system/drive_backend/callback_tracker_unittest.cc',
762       'browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc',
763       'browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc',
764       'browser/sync_file_system/drive_backend/drive_backend_test_util.cc',
765       'browser/sync_file_system/drive_backend/drive_backend_test_util.h',
766       'browser/sync_file_system/drive_backend/fake_drive_service_helper.cc',
767       'browser/sync_file_system/drive_backend/fake_drive_service_helper.h',
768       'browser/sync_file_system/drive_backend/fake_drive_uploader.cc',
769       'browser/sync_file_system/drive_backend/fake_drive_uploader.h',
770       'browser/sync_file_system/drive_backend/fake_sync_worker.cc',
771       'browser/sync_file_system/drive_backend/fake_sync_worker.h',
772       'browser/sync_file_system/drive_backend/leveldb_wrapper_unittest.cc',
773       'browser/sync_file_system/drive_backend/list_changes_task_unittest.cc',
774       'browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc',
775       'browser/sync_file_system/drive_backend/metadata_database_index_on_disk_unittest.cc',
776       'browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc',
777       'browser/sync_file_system/drive_backend/metadata_database_unittest.cc',
778       'browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc',
779       'browser/sync_file_system/drive_backend/register_app_task_unittest.cc',
780       'browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc',
781       'browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc',
782       'browser/sync_file_system/drive_backend/sync_engine_unittest.cc',
783       'browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc',
784       'browser/sync_file_system/drive_backend/sync_worker_unittest.cc',
785       'browser/sync_file_system/drive_backend/task_dependency_manager_unittest.cc',
786       'browser/sync_file_system/fake_remote_change_processor.cc',
787       'browser/sync_file_system/fake_remote_change_processor.h',
788       'browser/sync_file_system/file_change_unittest.cc',
789       'browser/sync_file_system/local/canned_syncable_file_system.cc',
790       'browser/sync_file_system/local/canned_syncable_file_system.h',
791       'browser/sync_file_system/local/local_file_change_tracker_unittest.cc',
792       'browser/sync_file_system/local/local_file_sync_context_unittest.cc',
793       'browser/sync_file_system/local/local_file_sync_service_unittest.cc',
794       'browser/sync_file_system/local/local_file_sync_status_unittest.cc',
795       'browser/sync_file_system/local/mock_sync_status_observer.cc',
796       'browser/sync_file_system/local/mock_sync_status_observer.h',
797       'browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc',
798       'browser/sync_file_system/local/syncable_file_system_unittest.cc',
799       'browser/sync_file_system/logger_unittest.cc',
800       'browser/sync_file_system/mock_local_change_processor.cc',
801       'browser/sync_file_system/mock_local_change_processor.h',
802       'browser/sync_file_system/mock_remote_change_processor.cc',
803       'browser/sync_file_system/mock_remote_change_processor.h',
804       'browser/sync_file_system/mock_remote_file_sync_service.cc',
805       'browser/sync_file_system/mock_remote_file_sync_service.h',
806       'browser/sync_file_system/subtree_set_unittest.cc',
807       'browser/sync_file_system/sync_file_system_service_unittest.cc',
808       'browser/sync_file_system/sync_file_system_test_util.cc',
809       'browser/sync_file_system/sync_file_system_test_util.h',
810       'browser/sync_file_system/sync_process_runner_unittest.cc',
811       'browser/sync_file_system/syncable_file_system_util_unittest.cc',
812       'browser/web_applications/web_app_mac_unittest.mm',
813       'browser/web_applications/web_app_unittest.cc',
814       'common/extensions/api/commands/commands_manifest_unittest.cc',
815       'common/extensions/api/common_extension_api_unittest.cc',
816       'common/extensions/api/extension_action/browser_action_manifest_unittest.cc',
817       'common/extensions/api/extension_action/page_action_manifest_unittest.cc',
818       'common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc',
819       'common/extensions/chrome_extensions_client_unittest.cc',
820       'common/extensions/command_unittest.cc',
821       'common/extensions/extension_icon_set_unittest.cc',
822       'common/extensions/extension_unittest.cc',
823       'common/extensions/feature_switch_unittest.cc',
824       'common/extensions/features/chrome_channel_feature_filter_unittest.cc',
825       'common/extensions/manifest_handlers/automation_unittest.cc',
826       'common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc',
827       'common/extensions/manifest_handlers/exclude_matches_manifest_unittest.cc',
828       'common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc',
829       'common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc',
830       'common/extensions/manifest_tests/chrome_manifest_test.cc',
831       'common/extensions/manifest_tests/chrome_manifest_test.h',
832       'common/extensions/manifest_tests/extension_manifests_about_unittest.cc',
833       'common/extensions/manifest_tests/extension_manifests_background_unittest.cc',
834       'common/extensions/manifest_tests/extension_manifests_chromepermission_unittest.cc',
835       'common/extensions/manifest_tests/extension_manifests_contentsecuritypolicy_unittest.cc',
836       'common/extensions/manifest_tests/extension_manifests_default_extent_path_unittest.cc',
837       'common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc',
838       'common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc',
839       'common/extensions/manifest_tests/extension_manifests_experimental_unittest.cc',
840       'common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc',
841       'common/extensions/manifest_tests/extension_manifests_icons_unittest.cc',
842       'common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc',
843       'common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc',
844       'common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc',
845       'common/extensions/manifest_tests/extension_manifests_launch_unittest.cc',
846       'common/extensions/manifest_tests/extension_manifests_launcher_page_unittest.cc',
847       'common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc',
848       'common/extensions/manifest_tests/extension_manifests_offline_unittest.cc',
849       'common/extensions/manifest_tests/extension_manifests_old_unittest.cc',
850       'common/extensions/manifest_tests/extension_manifests_options_unittest.cc',
851       'common/extensions/manifest_tests/extension_manifests_override_unittest.cc',
852       'common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc',
853       'common/extensions/manifest_tests/extension_manifests_portsinpermissions_unittest.cc',
854       'common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc',
855       'common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc',
856       'common/extensions/manifest_tests/extension_manifests_storage_unittest.cc',
857       'common/extensions/manifest_tests/extension_manifests_ui_unittest.cc',
858       'common/extensions/manifest_tests/extension_manifests_update_unittest.cc',
859       'common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc',
860       'common/extensions/manifest_tests/extension_manifests_web_accessible_resources_unittest.cc',
861       'common/extensions/manifest_tests/extension_manifests_web_unittest.cc',
862       'common/extensions/manifest_tests/extension_manifests_webview_accessible_resources_unittest.cc',
863       'common/extensions/manifest_unittest.cc',
864       'common/extensions/permissions/chrome_permission_message_provider_unittest.cc',
865       'common/extensions/permissions/chrome_permission_message_rules_unittest.cc',
866       'common/extensions/permissions/media_galleries_permission_unittest.cc',
867       'common/extensions/permissions/permission_set_unittest.cc',
868       'common/extensions/permissions/permissions_data_unittest.cc',
869       'common/extensions/permissions/settings_override_permission_unittest.cc',
870       'common/extensions/sync_type_unittest.cc',
871       'common/extensions/value_counter_unittest.cc',
872       'renderer/extensions/extension_localization_peer_unittest.cc',
873       'renderer/extensions/renderer_permissions_policy_delegate_unittest.cc',
874       'renderer/media/cast_ipc_dispatcher_unittest.cc',
875       'utility/image_writer/image_writer_unittest.cc',
876       'utility/media_galleries/image_metadata_extractor_unittest.cc',
877     ],
878     'chrome_unit_tests_extensions_non_chromeos_sources': [
879       'browser/extensions/api/messaging/native_message_process_host_unittest.cc',
880       'browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc',
881       'browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc',
882     ],
883     'chrome_unit_tests_ash_sources': [
884       'browser/media/desktop_media_list_ash_unittest.cc',
885       'browser/signin/signin_error_notifier_ash_unittest.cc',
886       'browser/sync/sync_error_notifier_ash_unittest.cc',
887       # Ash implies the app list is enabled (only disabled on mobile).
888       'browser/ui/ash/accessibility/ax_tree_source_aura_unittest.cc',
889       'browser/ui/ash/chrome_screenshot_grabber_unittest.cc',
890       'browser/ui/ash/ime_controller_chromeos_unittest.cc',
891       'browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc',
892       'browser/ui/ash/launcher/launcher_application_menu_item_model_unittest.cc',
893       'browser/ui/ash/launcher/launcher_context_menu_unittest.cc',
894       'browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc',
895       'browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc',
896       'browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc',
897       'browser/ui/ash/session_state_delegate_chromeos_unittest.cc',
898       'browser/ui/ash/window_positioner_unittest.cc',
899       'browser/ui/window_sizer/window_sizer_ash_unittest.cc',
900     ],
901     'chrome_test_support_unit_ash_sources': [
902       'browser/ui/ash/launcher/test/launcher_application_menu_item_model_test_api.cc',
903       'browser/ui/ash/launcher/test/launcher_application_menu_item_model_test_api.h',
904       'browser/ui/ash/launcher/test/test_chrome_launcher_app_menu_item.cc',
905       'browser/ui/ash/launcher/test/test_chrome_launcher_app_menu_item.h',
906     ],
907     'chrome_unit_tests_task_manager_sources': [
908       # New Task Manager Tests Sources:
909       'browser/task_management/providers/browser_process_task_unittest.cc',
910       'browser/task_management/providers/child_process_task_unittest.cc',
911       'browser/task_management/task_manager_observer_unittest.cc',
912       # Old Task Manager Tests Sources:
913       'browser/task_manager/task_manager_unittest.cc',
914       'browser/task_manager/task_manager_util_unittest.cc',
915     ],
916     'chrome_unit_tests_mdns_sources': [
917       'browser/local_discovery/privet_device_lister_unittest.cc',
918       'browser/local_discovery/privet_local_printer_lister_unittest.cc',
919       'browser/local_discovery/privet_notifications_unittest.cc',
920       'common/local_discovery/local_domain_resolver_unittest.cc',
921       'common/local_discovery/service_discovery_client_unittest.cc',
922     ],
923     'chrome_unit_tests_service_discovery_sources': [
924       'browser/local_discovery/cloud_device_list_unittest.cc',
925       'browser/local_discovery/cloud_print_printer_list_unittest.cc',
926       'browser/local_discovery/gcd_api_flow_unittest.cc',
927       'browser/local_discovery/gcd_registration_ticket_request_unittest.cc',
928       'browser/local_discovery/privet_confirm_api_flow_unittest.cc',
929       'browser/local_discovery/privet_http_unittest.cc',
930       'browser/local_discovery/privet_url_fetcher_unittest.cc',
931       'browser/local_discovery/privetv3_session_unittest.cc',
932       'browser/local_discovery/service_discovery_client_mac_unittest.mm',
933     ],
934     'chrome_unit_tests_configuration_policy_sources': [
935       'browser/net/proxy_policy_handler_unittest.cc',
936       'browser/policy/cloud/cloud_policy_invalidator_unittest.cc',
937       'browser/policy/cloud/remote_commands_invalidator_unittest.cc',
938       'browser/policy/cloud/user_policy_signin_service_unittest.cc',
939       'browser/policy/file_selection_dialogs_policy_handler_unittest.cc',
940       'browser/policy/javascript_policy_handler_unittest.cc',
941       'browser/policy/managed_bookmarks_policy_handler_unittest.cc',
942       'browser/policy/policy_path_parser_unittest.cc',
943       'browser/policy/profile_policy_connector_unittest.cc',
944       'browser/prefs/proxy_policy_unittest.cc',
945       'browser/profiles/incognito_mode_policy_handler_unittest.cc',
946       'browser/sessions/restore_on_startup_policy_handler_unittest.cc',
947     ],
948     # This is extensions && policy sources.
949     'chrome_unit_tests_extensions_policy_sources': [
950       'browser/extensions/api/storage/policy_value_store_unittest.cc',
951       'browser/extensions/policy_handlers_unittest.cc',
952     ],
953     'chrome_unit_tests_speech_sources': [
954       'browser/speech/extension_api/extension_manifests_tts_unittest.cc',
955       'browser/speech/tts_controller_unittest.cc',
956     ],
957     'chrome_unit_tests_notifications_sources': [
958       'browser/notifications/desktop_notification_profile_util_unittest.cc',
959       'browser/notifications/message_center_notifications_unittest.cc',
960       'browser/notifications/message_center_settings_controller_unittest.cc',
961       'browser/notifications/notification_permission_context_unittest.cc',
962       'browser/notifications/platform_notification_service_unittest.cc',
963     ],
964      # Used by Full Safe Browsing (safe_browsing==1) and Mobile Extended Safe
965      # Browsing (==3) modes.
966     'chrome_unit_tests_shared_safe_browsing_sources': [
967       'browser/safe_browsing/malware_details_unittest.cc',
968       'browser/safe_browsing/ping_manager_unittest.cc',
969       'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc',
970       'browser/safe_browsing/ui_manager_unittest.cc',
971      ],
972     'chrome_unit_tests_mobile_extended_safe_browsing_sources': [
973       'browser/safe_browsing/safe_browsing_api_handler_unittest.cc',
974      ],
975     'chrome_unit_tests_full_safe_browsing_sources': [
976       'browser/safe_browsing/browser_feature_extractor_unittest.cc',
977       'browser/safe_browsing/chunk_range_unittest.cc',
978       'browser/safe_browsing/client_side_detection_host_unittest.cc',
979       'browser/safe_browsing/client_side_detection_service_unittest.cc',
980       'browser/safe_browsing/client_side_model_loader_unittest.cc',
981       'browser/safe_browsing/download_feedback_service_unittest.cc',
982       'browser/safe_browsing/download_feedback_unittest.cc',
983       'browser/safe_browsing/download_protection_service_unittest.cc',
984       'browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc',
985       'browser/safe_browsing/incident_reporting/binary_integrity_incident_unittest.cc',
986       'browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win_unittest.cc',
987       'browser/safe_browsing/incident_reporting/blacklist_load_incident_unittest.cc',
988       'browser/safe_browsing/incident_reporting/delayed_callback_runner_unittest.cc',
989       'browser/safe_browsing/incident_reporting/download_metadata_manager_unittest.cc',
990       'browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc',
991       'browser/safe_browsing/incident_reporting/incident_report_uploader_impl_unittest.cc',
992       'browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc',
993       'browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc',
994       'browser/safe_browsing/incident_reporting/mock_incident_receiver.cc',
995       'browser/safe_browsing/incident_reporting/mock_incident_receiver.h',
996       'browser/safe_browsing/incident_reporting/module_integrity_unittest_util_win.cc',
997       'browser/safe_browsing/incident_reporting/module_integrity_unittest_util_win.h',
998       'browser/safe_browsing/incident_reporting/module_integrity_verifier_win_unittest.cc',
999       'browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc',
1000       'browser/safe_browsing/incident_reporting/platform_state_store_unittest.cc',
1001       'browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc',
1002       'browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc',
1003       'browser/safe_browsing/incident_reporting/resource_request_detector_unittest.cc',
1004       'browser/safe_browsing/incident_reporting/state_store_unittest.cc',
1005       'browser/safe_browsing/incident_reporting/tracked_preference_incident_unittest.cc',
1006       'browser/safe_browsing/incident_reporting/variations_seed_signature_incident_unittest.cc',
1007       'browser/safe_browsing/local_database_manager_unittest.cc',
1008       'browser/safe_browsing/local_two_phase_testserver.cc',
1009       'browser/safe_browsing/path_sanitizer_unittest.cc',
1010       'browser/safe_browsing/prefix_set_unittest.cc',
1011       'browser/safe_browsing/protocol_manager_unittest.cc',
1012       'browser/safe_browsing/protocol_parser_unittest.cc',
1013       'browser/safe_browsing/safe_browsing_database_unittest.cc',
1014       'browser/safe_browsing/safe_browsing_store_file_unittest.cc',
1015       'browser/safe_browsing/safe_browsing_store_unittest.cc',
1016       'browser/safe_browsing/safe_browsing_util_unittest.cc',
1017       'browser/safe_browsing/sandboxed_dmg_analyzer_mac_unittest.cc',
1018       'browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc',
1019       'browser/safe_browsing/test_database_manager.cc',
1020       'browser/safe_browsing/test_database_manager.h',
1021       'browser/safe_browsing/two_phase_uploader_unittest.cc',
1022       'common/safe_browsing/binary_feature_extractor_mac_unittest.cc',
1023       'common/safe_browsing/binary_feature_extractor_unittest.cc',
1024       'common/safe_browsing/binary_feature_extractor_win_unittest.cc',
1025       'common/safe_browsing/download_protection_util_unittest.cc',
1026       'common/safe_browsing/ipc_protobuf_message_test_messages.h',
1027       'common/safe_browsing/ipc_protobuf_message_unittest.cc',
1028       'common/safe_browsing/mach_o_image_reader_mac_unittest.cc',
1029       'common/safe_browsing/pe_image_reader_win_unittest.cc',
1030       'renderer/safe_browsing/features_unittest.cc',
1031       'renderer/safe_browsing/murmurhash3_util_unittest.cc',
1032       'renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc',
1033       'renderer/safe_browsing/phishing_url_feature_extractor_unittest.cc',
1034       'renderer/safe_browsing/scorer_unittest.cc',
1035       'utility/safe_browsing/mac/dmg_test_utils.cc',
1036       'utility/safe_browsing/mac/hfs_unittest.cc',
1037       'utility/safe_browsing/mac/read_stream_unittest.cc',
1038       'utility/safe_browsing/mac/udif_unittest.cc',
1039     ],
1040     # These are the enable_autofill_dialog = 1 sources. Some autofill tests
1041     # are always compiled.
1042     'chrome_unit_tests_autofill_dialog_sources': [
1043       'browser/ui/autofill/autofill_dialog_controller_unittest.cc',
1044       'browser/ui/autofill/autofill_dialog_i18n_input_unittest.cc',
1045       'browser/ui/autofill/country_combobox_model_unittest.cc',
1046       'browser/ui/autofill/data_model_wrapper_unittest.cc',
1047       'browser/ui/autofill/mock_address_validator.cc',
1048       'browser/ui/autofill/mock_address_validator.h',
1049       'browser/ui/autofill/mock_autofill_dialog_view_delegate.cc',
1050       'browser/ui/autofill/mock_autofill_dialog_view_delegate.h',
1051     ],
1052     'chrome_unit_tests_plugins_sources': [
1053       'browser/component_updater/component_installers_unittest.cc',
1054       'browser/metrics/chrome_stability_metrics_provider_unittest.cc',
1055       'browser/metrics/plugin_metrics_provider_unittest.cc',
1056       'browser/plugins/plugin_finder_unittest.cc',
1057       'browser/plugins/plugin_info_message_filter_unittest.cc',
1058       'browser/plugins/plugin_installer_unittest.cc',
1059       'browser/plugins/plugin_metadata_unittest.cc',
1060       'browser/plugins/plugin_prefs_unittest.cc',
1061       'common/pepper_permission_util_unittest.cc',
1062     ],
1063     'chrome_unit_tests_print_preview_sources': [
1064       'browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc',
1065       'browser/printing/print_job_unittest.cc',
1066       'browser/printing/print_preview_dialog_controller_unittest.cc',
1067       'browser/printing/print_preview_test.cc',
1068       'browser/printing/print_preview_test.h',
1069       'browser/ui/webui/print_preview/extension_printer_handler_unittest.cc',
1070       'browser/ui/webui/print_preview/print_preview_ui_unittest.cc',
1071       'common/service_process_util_unittest.cc',
1072       'service/cloud_print/cloud_print_service_helpers_unittest.cc',
1073       'service/cloud_print/cloud_print_token_store_unittest.cc',
1074       'service/cloud_print/cloud_print_url_fetcher_unittest.cc',
1075       'service/cloud_print/connector_settings_unittest.cc',
1076       'service/cloud_print/printer_job_handler_unittest.cc',
1077       'service/cloud_print/printer_job_queue_handler_unittest.cc',
1078       'service/service_ipc_server_unittest.cc',
1079       'service/service_process_prefs_unittest.cc',
1080     ],
1081     'chrome_unit_tests_captive_portal_sources': [
1082       'browser/captive_portal/captive_portal_service_unittest.cc',
1083       'browser/captive_portal/captive_portal_tab_helper_unittest.cc',
1084       'browser/captive_portal/captive_portal_tab_reloader_unittest.cc',
1085     ],
1086     'chrome_unit_tests_session_service_sources': [
1087       'browser/sessions/session_restore_stats_collector_unittest.cc',
1088       'browser/sessions/session_service_unittest.cc',
1089       'browser/ui/startup/session_crashed_infobar_delegate_unittest.cc',
1090     ],
1091     'chrome_unit_tests_webrtc_sources': [
1092       'browser/media/webrtc_log_uploader_unittest.cc',
1093       'browser/media/webrtc_log_util_unittest.cc',
1094       'browser/media/webrtc_rtp_dump_handler_unittest.cc',
1095       'browser/media/webrtc_rtp_dump_writer_unittest.cc',
1096       'renderer/media/chrome_webrtc_log_message_delegate_unittest.cc',
1097     ],
1098     'chrome_unit_tests_js_sources': [
1099       'browser/resources/google_now/background.js',
1100       'browser/resources/google_now/background_test_util.js',
1101       'browser/resources/google_now/cards.js',
1102       'browser/resources/google_now/common_test_util.js',
1103       'browser/resources/google_now/utility.js',
1104       'browser/resources/google_now/utility_test_util.js',
1105       'browser/resources/print_preview/data/measurement_system.js',
1106       'browser/resources/print_preview/print_preview_utils.js',
1107       'renderer/resources/extensions/notifications_custom_bindings.js',
1108       'renderer/resources/extensions/notifications_test_util.js',
1109       '../ui/webui/resources/js/cr.js',
1110     ],
1111     'chrome_unit_tests_gtestjs_sources': [
1112       'browser/resources/google_now/background_unittest.gtestjs',
1113       'browser/resources/google_now/cards_unittest.gtestjs',
1114       'browser/resources/google_now/utility_unittest.gtestjs',
1115       'browser/resources/print_preview/data/measurement_system_unittest.gtestjs',
1116       'browser/resources/print_preview/print_preview_utils_unittest.gtestjs',
1117       'renderer/resources/extensions/notifications_custom_bindings.gtestjs',
1118       'test/data/unit/framework_unittest.gtestjs',
1119     ],
1120     'chrome_unit_tests_chromeos_sources': [
1121       # TODO(lukasza): Move Drive tests outside of CrOS (crbug.com/498951).
1122       '../components/drive/change_list_loader_unittest.cc',
1123       '../components/drive/change_list_processor_unittest.cc',
1124       '../components/drive/directory_loader_unittest.cc',
1125       '../components/drive/fake_file_system_unittest.cc',
1126       '../components/drive/file_cache_unittest.cc',
1127       '../components/drive/file_change_unittest.cc',
1128       '../components/drive/file_system/copy_operation_unittest.cc',
1129       '../components/drive/file_system/create_directory_operation_unittest.cc',
1130       '../components/drive/file_system/create_file_operation_unittest.cc',
1131       '../components/drive/file_system/download_operation_unittest.cc',
1132       '../components/drive/file_system/get_file_for_saving_operation_unittest.cc',
1133       '../components/drive/file_system/move_operation_unittest.cc',
1134       '../components/drive/file_system/open_file_operation_unittest.cc',
1135       '../components/drive/file_system/operation_test_base.cc',
1136       '../components/drive/file_system/operation_test_base.h',
1137       '../components/drive/file_system/remove_operation_unittest.cc',
1138       '../components/drive/file_system/search_operation_unittest.cc',
1139       '../components/drive/file_system/set_property_operation_unittest.cc',
1140       '../components/drive/file_system/touch_operation_unittest.cc',
1141       '../components/drive/file_system/truncate_operation_unittest.cc',
1142       '../components/drive/file_system_core_util_unittest.cc',
1143       '../components/drive/file_system_unittest.cc',
1144       '../components/drive/file_write_watcher_unittest.cc',
1145       '../components/drive/job_queue_unittest.cc',
1146       '../components/drive/job_scheduler_unittest.cc',
1147       '../components/drive/local_file_reader_unittest.cc',
1148       '../components/drive/remove_stale_cache_files_unittest.cc',
1149       '../components/drive/resource_entry_conversion_unittest.cc',
1150       '../components/drive/resource_metadata_storage_unittest.cc',
1151       '../components/drive/resource_metadata_unittest.cc',
1152       '../components/drive/search_metadata_unittest.cc',
1153       '../components/drive/sync/entry_revert_performer_unittest.cc',
1154       '../components/drive/sync/entry_update_performer_unittest.cc',
1155       '../components/drive/sync/remove_performer_unittest.cc',
1156       '../components/drive/sync_client_unittest.cc',
1157       'browser/chromeos/accessibility/magnification_manager_unittest.cc',
1158       'browser/chromeos/accessibility/spoken_feedback_event_rewriter_unittest.cc',
1159       'browser/chromeos/attestation/attestation_ca_client_unittest.cc',
1160       'browser/chromeos/attestation/attestation_policy_observer_unittest.cc',
1161       'browser/chromeos/attestation/fake_certificate.cc',
1162       'browser/chromeos/attestation/fake_certificate.h',
1163       'browser/chromeos/attestation/platform_verification_flow_unittest.cc',
1164       'browser/chromeos/certificate_provider/certificate_provider_service_unittest.cc',
1165       'browser/chromeos/customization/customization_document_unittest.cc',
1166       'browser/chromeos/display/display_preferences_unittest.cc',
1167       'browser/chromeos/drive/download_handler_unittest.cc',
1168       'browser/chromeos/drive/drive_file_stream_reader_unittest.cc',
1169       'browser/chromeos/drive/drive_integration_service_unittest.cc',
1170       'browser/chromeos/drive/file_system_util_unittest.cc',
1171       'browser/chromeos/drive/file_task_executor_unittest.cc',
1172       'browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc',
1173       'browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc',
1174       'browser/chromeos/drive/write_on_cache_file_unittest.cc',
1175       'browser/chromeos/events/event_rewriter_unittest.cc',
1176       'browser/chromeos/events/keyboard_driven_event_rewriter_unittest.cc',
1177       'browser/chromeos/extensions/default_app_order_unittest.cc',
1178       'browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc',
1179       'browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc',
1180       'browser/chromeos/extensions/external_cache_unittest.cc',
1181       'browser/chromeos/extensions/file_manager/device_event_router_unittest.cc',
1182       'browser/chromeos/extensions/file_manager/job_event_router_unittest.cc',
1183       'browser/chromeos/extensions/wallpaper_private_api_unittest.cc',
1184       'browser/chromeos/external_metrics_unittest.cc',
1185       'browser/chromeos/file_manager/file_tasks_unittest.cc',
1186       'browser/chromeos/file_manager/file_watcher_unittest.cc',
1187       'browser/chromeos/file_manager/fileapi_util_unittest.cc',
1188       'browser/chromeos/file_manager/path_util_unittest.cc',
1189       'browser/chromeos/file_manager/url_util_unittest.cc',
1190       'browser/chromeos/file_manager/volume_manager_unittest.cc',
1191       'browser/chromeos/file_system_provider/fake_provided_file_system.cc',
1192       'browser/chromeos/file_system_provider/fake_provided_file_system.h',
1193       'browser/chromeos/file_system_provider/fileapi/buffering_file_stream_reader_unittest.cc',
1194       'browser/chromeos/file_system_provider/fileapi/buffering_file_stream_writer_unittest.cc',
1195       'browser/chromeos/file_system_provider/fileapi/file_stream_reader_unittest.cc',
1196       'browser/chromeos/file_system_provider/fileapi/file_stream_writer_unittest.cc',
1197       'browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc',
1198       'browser/chromeos/file_system_provider/mount_path_util_unittest.cc',
1199       'browser/chromeos/file_system_provider/operations/abort_unittest.cc',
1200       'browser/chromeos/file_system_provider/operations/add_watcher_unittest.cc',
1201       'browser/chromeos/file_system_provider/operations/close_file_unittest.cc',
1202       'browser/chromeos/file_system_provider/operations/configure_unittest.cc',
1203       'browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc',
1204       'browser/chromeos/file_system_provider/operations/create_directory_unittest.cc',
1205       'browser/chromeos/file_system_provider/operations/create_file_unittest.cc',
1206       'browser/chromeos/file_system_provider/operations/delete_entry_unittest.cc',
1207       'browser/chromeos/file_system_provider/operations/execute_action_unittest.cc',
1208       'browser/chromeos/file_system_provider/operations/get_actions_unittest.cc',
1209       'browser/chromeos/file_system_provider/operations/get_metadata_unittest.cc',
1210       'browser/chromeos/file_system_provider/operations/move_entry_unittest.cc',
1211       'browser/chromeos/file_system_provider/operations/open_file_unittest.cc',
1212       'browser/chromeos/file_system_provider/operations/read_directory_unittest.cc',
1213       'browser/chromeos/file_system_provider/operations/read_file_unittest.cc',
1214       'browser/chromeos/file_system_provider/operations/remove_watcher_unittest.cc',
1215       'browser/chromeos/file_system_provider/operations/test_util.cc',
1216       'browser/chromeos/file_system_provider/operations/test_util.h',
1217       'browser/chromeos/file_system_provider/operations/truncate_unittest.cc',
1218       'browser/chromeos/file_system_provider/operations/unmount_unittest.cc',
1219       'browser/chromeos/file_system_provider/operations/write_file_unittest.cc',
1220       'browser/chromeos/file_system_provider/provided_file_system_unittest.cc',
1221       'browser/chromeos/file_system_provider/queue_unittest.cc',
1222       'browser/chromeos/file_system_provider/registry_unittest.cc',
1223       'browser/chromeos/file_system_provider/request_manager_unittest.cc',
1224       'browser/chromeos/file_system_provider/scoped_file_opener_unittest.cc',
1225       'browser/chromeos/file_system_provider/service_unittest.cc',
1226       'browser/chromeos/file_system_provider/throttled_file_system_unittest.cc',
1227       'browser/chromeos/fileapi/external_file_url_request_job_unittest.cc',
1228       'browser/chromeos/fileapi/external_file_url_util_unittest.cc',
1229       'browser/chromeos/fileapi/file_access_permissions_unittest.cc',
1230       'browser/chromeos/fileapi/file_system_backend_unittest.cc',
1231       'browser/chromeos/input_method/browser_state_monitor_unittest.cc',
1232       'browser/chromeos/input_method/input_method_configuration_unittest.cc',
1233       'browser/chromeos/input_method/input_method_engine_unittest.cc',
1234       'browser/chromeos/input_method/input_method_manager_impl_unittest.cc',
1235       'browser/chromeos/input_method/input_method_persistence_unittest.cc',
1236       'browser/chromeos/input_method/input_method_util_unittest.cc',
1237       'browser/chromeos/locale_change_guard_unittest.cc',
1238       'browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc',
1239       'browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_unittest.cc',
1240       'browser/chromeos/login/error_screens_histogram_helper_unittest.cc',
1241       'browser/chromeos/login/existing_user_controller_auto_login_unittest.cc',
1242       'browser/chromeos/login/hwid_checker_unittest.cc',
1243       'browser/chromeos/login/profile_auth_data_unittest.cc',
1244       'browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc',
1245       'browser/chromeos/login/signin/merge_session_load_page_unittest.cc',
1246       'browser/chromeos/login/supervised/supervised_user_authentication_unittest.cc',
1247       'browser/chromeos/login/users/affiliation_unittest.cc',
1248       'browser/chromeos/login/users/multi_profile_user_controller_unittest.cc',
1249       'browser/chromeos/login/users/user_manager_unittest.cc',
1250       'browser/chromeos/login/users/wallpaper/wallpaper_manager_unittest.cc',
1251       'browser/chromeos/mobile/mobile_activator_unittest.cc',
1252       'browser/chromeos/mobile_config_unittest.cc',
1253       'browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc',
1254       'browser/chromeos/net/client_cert_store_chromeos_unittest.cc',
1255       'browser/chromeos/net/network_portal_detector_impl_unittest.cc',
1256       'browser/chromeos/net/network_portal_notification_controller_unittest.cc',
1257       'browser/chromeos/options/network_property_ui_data_unittest.cc',
1258       'browser/chromeos/ownership/fake_owner_settings_service.cc',
1259       'browser/chromeos/ownership/fake_owner_settings_service.h',
1260       'browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc',
1261       'browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc',
1262       'browser/chromeos/policy/affiliated_invalidation_service_provider_impl_unittest.cc',
1263       'browser/chromeos/policy/auto_enrollment_client_unittest.cc',
1264       'browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc',
1265       'browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc',
1266       'browser/chromeos/policy/cloud_external_data_store_unittest.cc',
1267       'browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc',
1268       'browser/chromeos/policy/consumer_enrollment_handler_factory_unittest.cc',
1269       'browser/chromeos/policy/consumer_enrollment_handler_unittest.cc',
1270       'browser/chromeos/policy/consumer_management_notifier_factory_unittest.cc',
1271       'browser/chromeos/policy/consumer_management_notifier_unittest.cc',
1272       'browser/chromeos/policy/consumer_management_service_unittest.cc',
1273       'browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc',
1274       'browser/chromeos/policy/device_cloud_policy_initializer_unittest.cc',
1275       'browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc',
1276       'browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc',
1277       'browser/chromeos/policy/device_local_account_policy_service_unittest.cc',
1278       'browser/chromeos/policy/enterprise_install_attributes_unittest.cc',
1279       'browser/chromeos/policy/extension_cache_unittest.cc',
1280       'browser/chromeos/policy/fake_affiliated_invalidation_service_provider.cc',
1281       'browser/chromeos/policy/fake_affiliated_invalidation_service_provider.h',
1282       'browser/chromeos/policy/heartbeat_scheduler_unittest.cc',
1283       'browser/chromeos/policy/network_configuration_updater_unittest.cc',
1284       'browser/chromeos/policy/recommendation_restorer_unittest.cc',
1285       'browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc',
1286       'browser/chromeos/policy/server_backed_state_keys_broker_unittest.cc',
1287       'browser/chromeos/policy/status_uploader_unittest.cc',
1288       'browser/chromeos/policy/system_log_uploader_unittest.cc',
1289       'browser/chromeos/policy/upload_job_unittest.cc',
1290       'browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc',
1291       'browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc',
1292       'browser/chromeos/power/extension_event_observer_unittest.cc',
1293       'browser/chromeos/power/power_data_collector_unittest.cc',
1294       'browser/chromeos/power/power_prefs_unittest.cc',
1295       'browser/chromeos/power/renderer_freezer_unittest.cc',
1296       'browser/chromeos/preferences_unittest.cc',
1297       'browser/chromeos/printer_detector/printer_detector_unittest.cc',
1298       'browser/chromeos/profiles/profile_list_chromeos_unittest.cc',
1299       'browser/chromeos/proxy_config_service_impl_unittest.cc',
1300       'browser/chromeos/session_length_limiter_unittest.cc',
1301       'browser/chromeos/settings/cros_settings_unittest.cc',
1302       'browser/chromeos/settings/device_oauth2_token_service_unittest.cc',
1303       'browser/chromeos/settings/device_settings_provider_unittest.cc',
1304       'browser/chromeos/settings/device_settings_service_unittest.cc',
1305       'browser/chromeos/settings/scoped_cros_settings_test_helper.cc',
1306       'browser/chromeos/settings/scoped_cros_settings_test_helper.h',
1307       'browser/chromeos/settings/session_manager_operation_unittest.cc',
1308       'browser/chromeos/settings/shutdown_policy_handler_unittest.cc',
1309       'browser/chromeos/settings/stub_cros_settings_provider_unittest.cc',
1310       'browser/chromeos/status/data_promo_notification_unittest.cc',
1311       'browser/chromeos/system/automatic_reboot_manager_unittest.cc',
1312       'browser/chromeos/system/device_disabling_manager_unittest.cc',
1313       'browser/chromeos/ui/accessibility_focus_ring_controller_unittest.cc',
1314       'browser/chromeos/ui/idle_app_name_notification_view_unittest.cc',
1315       'browser/download/notification/download_item_notification_unittest.cc',
1316       'browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc',
1317       'browser/extensions/api/log_private/syslog_parser_unittest.cc',
1318       'browser/extensions/updater/local_extension_cache_unittest.cc',
1319       'browser/metrics/chromeos_metrics_provider_unittest.cc',
1320       'browser/notifications/login_state_notification_blocker_chromeos_unittest.cc',
1321       'browser/ui/browser_finder_chromeos_unittest.cc',
1322       # TODO(zturner): Enable this on Windows. See
1323       # BrowserWithTestWindowTest::SetUp() for a comment explaining why this is
1324       # broken.
1325       'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc',
1326       'browser/ui/views/frame/web_app_left_header_view_ash_unittest.cc',
1327       'browser/ui/views/select_file_dialog_extension_unittest.cc',
1328       'browser/ui/webui/chromeos/login/l10n_util_test_util.cc',
1329       'browser/ui/webui/chromeos/login/l10n_util_test_util.h',
1330       'browser/ui/webui/chromeos/login/l10n_util_unittest.cc',
1331       'browser/ui/webui/chromeos/login/signin_userlist_unittest.cc',
1332       'browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc',
1333       'common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc',
1334       'common/extensions/api/file_system_provider/file_system_provider_handler_unittest.cc',
1335     ],
1336     'chrome_unit_tests_chromeos_js_sources': [
1337       'browser/resources/chromeos/braille_ime/braille_ime.js',
1338     ],
1339     'chrome_unit_tests_chromeos_gtestjs_sources': [
1340       'browser/resources/chromeos/braille_ime/braille_ime_unittest.gtestjs',
1341     ],
1342     'chrome_unit_tests_desktop_linux_sources': [
1343       'browser/password_manager/native_backend_kwallet_x_unittest.cc',
1344       'browser/profiles/profile_list_desktop_unittest.cc',
1345       'browser/shell_integration_linux_unittest.cc',
1346     ],
1347     # Cross-platform views unit tests ready for toolkit-views on Mac.
1348     # TODO(tapted): Enable toolkit-views unit_tests on Mac when their
1349     # respective implementations are linked in. http://crbug.com/412234.
1350     'chrome_unit_tests_views_sources': [
1351       'browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc',
1352       'browser/ui/views/apps/app_info_dialog/app_info_permissions_panel_unittest.cc',
1353     ],
1354     # Views unit_tests for everywhere but ChromeOS.
1355     'chrome_unit_tests_views_non_chromeos_sources': [
1356       'browser/ui/views/app_list/linux/app_list_linux_unittest.cc',
1357       'browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc',
1358       'browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc',
1359     ],
1360     # Cross-platform (except Mac) views unit tests. Assumes app list is enabled.
1361     'chrome_unit_tests_views_non_mac_sources': [
1362       'browser/ui/views/accelerator_table_unittest.cc',
1363       # Views implies app list is enabled (only disabled on mobile).
1364       'browser/ui/views/app_list/win/app_list_win_unittest.cc',
1365       'browser/ui/views/apps/app_info_dialog/app_info_dialog_ash_unittest.cc',
1366       'browser/ui/views/apps/shaped_app_window_targeter_unittest.cc',
1367       'browser/ui/views/autofill/autofill_dialog_views_unittest.cc',
1368       'browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc',
1369       'browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc',
1370       'browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc',
1371       'browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc',
1372       'browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc',
1373       'browser/ui/views/bookmarks/bookmark_sync_promo_view_unittest.cc',
1374       'browser/ui/views/confirm_bubble_views_unittest.cc',
1375       'browser/ui/views/crypto_module_password_dialog_view_unittest.cc',
1376       'browser/ui/views/desktop_media_picker_views_unittest.cc',
1377       'browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views_unittest.cc',
1378       'browser/ui/views/extensions/media_galleries_dialog_views_unittest.cc',
1379       'browser/ui/views/first_run_bubble_unittest.cc',
1380       'browser/ui/views/frame/browser_view_layout_unittest.cc',
1381       'browser/ui/views/frame/browser_view_unittest.cc',
1382       'browser/ui/views/frame/test_with_browser_view.cc',
1383       'browser/ui/views/frame/test_with_browser_view.h',
1384       'browser/ui/views/frame/web_contents_close_handler_unittest.cc',
1385       'browser/ui/views/omnibox/omnibox_view_views_unittest.cc',
1386       'browser/ui/views/status_icons/status_tray_win_unittest.cc',
1387       'browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views_unittest.cc',
1388       'browser/ui/views/tabs/fake_base_tab_strip_controller.cc',
1389       'browser/ui/views/tabs/fake_base_tab_strip_controller.h',
1390       'browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc',
1391       'browser/ui/views/tabs/tab_strip_unittest.cc',
1392       'browser/ui/views/tabs/tab_unittest.cc',
1393       'browser/ui/views/toolbar/reload_button_unittest.cc',
1394       'browser/ui/views/toolbar/toolbar_action_view_unittest.cc',
1395       'browser/ui/views/translate/translate_bubble_view_unittest.cc',
1396       'browser/ui/views/validation_message_bubble_delegate_unittest.cc',
1397     ],
1398     'chrome_unit_tests_win_sources': [
1399       'app/chrome_dll.rc',
1400       'browser/search_engines/template_url_scraper_unittest.cc',
1401       'test/data/resource.rc',
1402     ],
1403     'chrome_unit_tests_mac_sources': [
1404       'browser/media_galleries/fileapi/iphoto_file_util_unittest.cc',
1405       'utility/media_galleries/iphoto_library_parser_unittest.cc',
1406     ],
1407     'chrome_unit_tests_win_mac_sources': [
1408       'browser/media_galleries/fileapi/itunes_file_util_unittest.cc',
1409       'browser/media_galleries/fileapi/picasa_file_util_unittest.cc',
1410       'utility/media_galleries/itunes_library_parser_unittest.cc',
1411       'utility/media_galleries/picasa_album_table_reader_unittest.cc',
1412       'utility/media_galleries/picasa_albums_indexer_unittest.cc',
1413       'utility/media_galleries/pmp_column_reader_unittest.cc',
1414     ],
1415     'chrome_unit_tests_themes_sources': [
1416       'browser/themes/browser_theme_pack_unittest.cc',
1417       'browser/themes/theme_properties_unittest.cc',
1418       'browser/themes/theme_service_unittest.cc',
1419       'browser/themes/theme_syncable_service_unittest.cc',
1420       'browser/ui/webui/theme_source_unittest.cc',
1421     ],
1422     'chrome_unit_tests_supervised_user_sources': [
1423       'browser/content_settings/content_settings_supervised_provider_unittest.cc',
1424       'browser/supervised_user/child_accounts/family_info_fetcher_unittest.cc',
1425       'browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc',
1426       'browser/supervised_user/experimental/supervised_user_async_url_checker_unittest.cc',
1427       'browser/supervised_user/supervised_user_bookmarks_handler_unittest.cc',
1428       'browser/supervised_user/supervised_user_pref_store_unittest.cc',
1429       'browser/supervised_user/supervised_user_service_unittest.cc',
1430       'browser/supervised_user/supervised_user_settings_service_unittest.cc',
1431       'browser/supervised_user/supervised_user_url_filter_unittest.cc',
1432       'browser/supervised_user/supervised_user_whitelist_service_unittest.cc',
1433     ],
1434     # TODO(bauerb): This code should be removed (on desktop) once child account
1435     # support has launched (https://crbug.com/505443).
1436     'chrome_unit_tests_supervised_user_legacy_sources': [
1437       'browser/supervised_user/legacy/supervised_user_pref_mapping_service_unittest.cc',
1438       'browser/supervised_user/legacy/supervised_user_refresh_token_fetcher_unittest.cc',
1439       'browser/supervised_user/legacy/supervised_user_registration_utility_unittest.cc',
1440       'browser/supervised_user/legacy/supervised_user_shared_settings_service_unittest.cc',
1441       'browser/supervised_user/legacy/supervised_user_shared_settings_update_unittest.cc',
1442       'browser/supervised_user/legacy/supervised_user_sync_service_unittest.cc',
1443     ],
1444     'chrome_unit_tests_media_router_sources': [
1445       'browser/media/router/create_presentation_session_request_unittest.cc',
1446       'browser/media/router/issue_manager_unittest.cc',
1447       'browser/media/router/issue_unittest.cc',
1448       'browser/media/router/media_route_unittest.cc',
1449       'browser/media/router/media_sink_unittest.cc',
1450       'browser/media/router/media_source_helper_unittest.cc',
1451       'browser/media/router/media_source_unittest.cc',
1452       'browser/media/router/presentation_media_sinks_observer_unittest.cc',
1453       'browser/media/router/presentation_service_delegate_impl_unittest.cc',
1454       'browser/media/router/presentation_session_state_observer_unittest.cc',
1455     ],
1456     'chrome_unit_tests_media_router_non_android_sources': [
1457       'browser/media/router/media_router_mojo_impl_unittest.cc',
1458       'browser/media/router/media_router_type_converters_unittest.cc',
1459       'browser/ui/webui/media_router/media_cast_mode_unittest.cc',
1460       'browser/ui/webui/media_router/media_router_dialog_controller_impl_unittest.cc',
1461       'browser/ui/webui/media_router/media_router_test.cc',
1462       'browser/ui/webui/media_router/media_router_test.h',
1463       'browser/ui/webui/media_router/media_router_ui_unittest.cc',
1464       'browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc',
1465       'browser/ui/webui/media_router/query_result_manager_unittest.cc',
1466     ],
1467     # Everything but Android and iOS (iOS is handled separately).
1468     'chrome_unit_tests_non_android_sources': [
1469       # Bookmark export/import are handled via the BookmarkColumns
1470       # ContentProvider.
1471       'browser/bookmarks/bookmark_html_writer_unittest.cc',
1472       'browser/browser_commands_unittest.cc',
1473       'browser/chrome_webusb_browser_client_unittest.cc',
1474       'browser/diagnostics/diagnostics_controller_unittest.cc',
1475       'browser/diagnostics/diagnostics_model_unittest.cc',
1476       'browser/download/download_commands_unittest.cc',
1477       'browser/download/download_shelf_unittest.cc',
1478       'browser/engagement/site_engagement_eviction_policy_unittest.cc',
1479       'browser/engagement/site_engagement_service_unittest.cc',
1480       'browser/first_run/first_run_unittest.cc',
1481       'browser/font_family_cache_unittest.cc',
1482       'browser/importer/firefox_profile_lock_unittest.cc',
1483       'browser/importer/profile_writer_unittest.cc',
1484       # Android uses a different invalidator.
1485       'browser/invalidation/gcm_invalidation_bridge_unittest.cc',
1486       'browser/invalidation/ticl_profile_settings_provider_unittest.cc',
1487       'browser/media_galleries/fileapi/native_media_file_util_unittest.cc',
1488       'browser/media_galleries/gallery_watch_manager_unittest.cc',
1489       'browser/media_galleries/linux/mtp_device_object_enumerator_unittest.cc',
1490       'browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm',
1491       'browser/media_galleries/media_file_system_registry_unittest.cc',
1492       'browser/media_galleries/media_folder_finder_unittest.cc',
1493       'browser/media_galleries/media_galleries_dialog_controller_mock.cc',
1494       'browser/media_galleries/media_galleries_dialog_controller_mock.h',
1495       'browser/media_galleries/media_galleries_dialog_controller_test_util.cc',
1496       'browser/media_galleries/media_galleries_dialog_controller_test_util.h',
1497       'browser/media_galleries/media_galleries_permission_controller_unittest.cc',
1498       'browser/media_galleries/media_galleries_permissions_unittest.cc',
1499       'browser/media_galleries/media_galleries_preferences_unittest.cc',
1500       'browser/media_galleries/media_galleries_scan_result_controller_unittest.cc',
1501       'browser/media_galleries/media_scan_manager_unittest.cc',
1502       'browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc',
1503       'browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc',
1504       'browser/net/firefox_proxy_settings_unittest.cc',
1505       'browser/platform_util_unittest.cc',
1506       'browser/power/process_power_collector_unittest.cc',
1507       'browser/process_singleton_posix_unittest.cc',
1508       'browser/profile_resetter/profile_resetter_unittest.cc',
1509       'browser/renderer_context_menu/render_view_context_menu_unittest.cc',
1510       'browser/search/instant_service_unittest.cc',
1511       'browser/search/search_unittest.cc',
1512       # GCMDriverAndroid is not yet implemented.
1513       'browser/services/gcm/gcm_profile_service_unittest.cc',
1514       'browser/sessions/persistent_tab_restore_service_unittest.cc',
1515       'browser/sync/sessions/sessions_sync_manager_unittest.cc',
1516       'browser/sync/sync_ui_util_unittest.cc',  # Sync setup uses native ui.
1517       'browser/translate/translate_manager_render_view_host_unittest.cc',
1518       # The autofill popup is implemented in mostly native code on Android.
1519       'browser/ui/autofill/autofill_popup_controller_unittest.cc',
1520       'browser/ui/autofill/mock_new_credit_card_bubble_controller.cc',
1521       'browser/ui/autofill/mock_new_credit_card_bubble_controller.h',
1522       'browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc',
1523       'browser/ui/bookmarks/bookmark_unittest.cc',
1524       'browser/ui/browser_close_unittest.cc',
1525       'browser/ui/browser_command_controller_unittest.cc',
1526       'browser/ui/browser_instant_controller_unittest.cc',
1527       'browser/ui/browser_iterator_unittest.cc',
1528       'browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa_unittest.mm',
1529       'browser/ui/content_settings/content_setting_bubble_model_unittest.cc',
1530       'browser/ui/content_settings/content_setting_image_model_unittest.cc',
1531       'browser/ui/exclusive_access/fullscreen_controller_state_unittest.cc',
1532       'browser/ui/extensions/extension_action_view_controller_unittest.cc',
1533       'browser/ui/omnibox/clipboard_utils_unittest.cc',
1534       'browser/ui/omnibox/omnibox_controller_unittest.cc',
1535       'browser/ui/omnibox/omnibox_edit_unittest.cc',
1536       'browser/ui/panels/panel_mouse_watcher_unittest.cc',
1537       'browser/ui/search/instant_page_unittest.cc',
1538       'browser/ui/search/instant_search_prerenderer_unittest.cc',
1539       'browser/ui/search/search_delegate_unittest.cc',
1540       'browser/ui/search/search_ipc_router_policy_unittest.cc',
1541       'browser/ui/search/search_ipc_router_unittest.cc',
1542       'browser/ui/search/search_model_unittest.cc',
1543       'browser/ui/search/search_tab_helper_unittest.cc',
1544       'browser/ui/tab_contents/tab_contents_iterator_unittest.cc',
1545       'browser/ui/tabs/pinned_tab_codec_unittest.cc',
1546       'browser/ui/tabs/pinned_tab_service_unittest.cc',
1547       'browser/ui/tabs/pinned_tab_test_utils.cc',
1548       'browser/ui/tabs/tab_menu_model_unittest.cc',
1549       'browser/ui/tabs/tab_strip_model_stats_recorder_unittest.cc',
1550       'browser/ui/tabs/tab_strip_model_unittest.cc',
1551       'browser/ui/tabs/test_tab_strip_model_delegate.cc',
1552       'browser/ui/tabs/test_tab_strip_model_delegate.h',
1553       'browser/ui/toolbar/back_forward_menu_model_unittest.cc',
1554       'browser/ui/toolbar/encoding_menu_controller_unittest.cc',
1555       'browser/ui/toolbar/media_router_action_unittest.cc',
1556       'browser/ui/toolbar/mock_component_toolbar_actions_factory.cc',
1557       'browser/ui/toolbar/mock_component_toolbar_actions_factory.h',
1558       'browser/ui/toolbar/recent_tabs_builder_test_helper.cc',
1559       'browser/ui/toolbar/recent_tabs_builder_test_helper.h',
1560       'browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc',
1561       'browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc',
1562       'browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h',
1563       'browser/ui/toolbar/test_toolbar_model.cc',
1564       'browser/ui/toolbar/test_toolbar_model.h',
1565       'browser/ui/toolbar/toolbar_actions_bar_unittest.cc',
1566       'browser/ui/toolbar/toolbar_actions_bar_unittest.h',
1567       'browser/ui/toolbar/toolbar_actions_model_unittest.cc',
1568       'browser/ui/toolbar/toolbar_model_unittest.cc',
1569       'browser/ui/toolbar/wrench_icon_painter_unittest.cc',
1570       'browser/ui/toolbar/wrench_menu_model_unittest.cc',
1571       'browser/ui/website_settings/permission_bubble_manager_unittest.cc',
1572       'browser/ui/website_settings/permission_menu_model_unittest.cc',
1573       'browser/ui/webui/help/version_updater_chromeos_unittest.cc',
1574       'browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc',
1575       'browser/ui/webui/options/autofill_options_handler_unittest.cc',
1576       'browser/ui/webui/options/language_options_handler_unittest.cc',
1577       'browser/ui/webui/options/pepper_flash_content_settings_utils_unittest.cc',
1578       'browser/ui/webui/options/sync_setup_handler_unittest.cc',
1579       'browser/ui/webui/signin/login_ui_service_unittest.cc',
1580       'browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc',
1581       'browser/ui/window_sizer/window_sizer_common_unittest.cc',
1582       'browser/ui/window_sizer/window_sizer_unittest.cc',
1583       'browser/ui/zoom/zoom_controller_unittest.cc',
1584       # The importer code is not used on Android.
1585       'common/importer/firefox_importer_utils_unittest.cc',
1586       # No service process (which also requires multiprocess lock).
1587       'common/multi_process_lock_unittest.cc',
1588       'test/base/browser_with_test_window_test.cc',
1589       'test/base/browser_with_test_window_test.h',
1590       'utility/importer/bookmark_html_reader_unittest.cc',
1591       'utility/importer/bookmarks_file_importer_unittest.cc',
1592       'utility/importer/firefox_importer_unittest.cc',
1593       'utility/importer/firefox_importer_unittest_messages_internal.h',
1594       'utility/importer/firefox_importer_unittest_utils.h',
1595       'utility/importer/firefox_importer_unittest_utils_mac.cc',
1596       'utility/importer/safari_importer_unittest.mm',
1597     ],
1598     # Everything but Android, ChromeOS and iOS (iOS is handled separately).
1599     'chrome_unit_tests_non_android_or_chromeos_sources': [
1600       'browser/signin/cross_device_promo_unittest.cc',
1601       'browser/sync/sync_global_error_unittest.cc',
1602       'browser/upgrade_detector_impl_unittest.cc',
1603     ],
1604     'chrome_unit_tests_app_list_sources': [
1605       'browser/ui/app_list/app_list_positioner_unittest.cc',
1606       'browser/ui/app_list/app_list_service_mac_unittest.mm',
1607       'browser/ui/app_list/app_list_service_unittest.cc',
1608       'browser/ui/app_list/app_list_shower_views_unittest.cc',
1609       'browser/ui/app_list/app_list_test_util.cc',
1610       'browser/ui/app_list/app_list_test_util.h',
1611       'browser/ui/app_list/extension_app_model_builder_unittest.cc',
1612       'browser/ui/app_list/model_pref_updater_unittest.cc',
1613       'browser/ui/app_list/profile_loader_unittest.cc',
1614       'browser/ui/app_list/search/app_search_provider_unittest.cc',
1615       'browser/ui/app_list/search/history_unittest.cc',
1616       'browser/ui/app_list/search/omnibox_result_unittest.cc',
1617       'browser/ui/app_list/search/suggestions/suggestions_search_provider_unittest.cc',
1618       'browser/ui/app_list/speech_auth_helper_unittest.cc',
1619       'browser/ui/app_list/test/fake_profile.cc',
1620       'browser/ui/app_list/test/fake_profile.h',
1621       'browser/ui/app_list/test/fake_profile_store.cc',
1622       'browser/ui/app_list/test/fake_profile_store.h',
1623       'browser/ui/app_list/test/fast_show_pickler_unittest.cc',
1624     ],
1625     # ChromeOS only sources of app_list.
1626     'chrome_unit_tests_app_list_chromeos_sources': [
1627       'browser/ui/app_list/search/launcher_search/launcher_search_icon_image_loader_unittest.cc',
1628     ],
1629     # Sources for Offline pages. For now only for Android.
1630     'chrome_unit_tests_offline_pages_sources': [
1631       'browser/android/offline_pages/offline_page_mhtml_archiver_unittest.cc',
1632       'browser/android/offline_pages/offline_page_web_contents_observer_unittest.cc',
1633     ],
1634   },
1635   'targets': [
1636     {
1637       # This target contains mocks and test utilities that don't belong in
1638       # production libraries but are used by more than one test executable.
1639       #
1640       # GN version: //chrome/test:test_support
1641       'target_name': 'test_support_common',
1642       'type': 'static_library',
1643       'dependencies': [
1644         # NOTE: New dependencies should generally be added in the OS!="ios"
1645         # dependencies block below, rather than here.
1646         'browser',
1647         'chrome_resources.gyp:chrome_resources',
1648         'chrome_resources.gyp:chrome_strings',
1649         'chrome_resources.gyp:theme_resources',
1650         'common',
1651         '../base/base.gyp:base_prefs_test_support',
1652         '../base/base.gyp:test_support_base',
1653         '../components/components.gyp:bookmarks_test_support',
1654         '../components/components.gyp:gcm_driver_test_support',
1655         '../components/components.gyp:history_core_test_support',
1656         '../components/components.gyp:instance_id_test_support',
1657         '../components/components.gyp:invalidation_impl',
1658         '../components/components.gyp:invalidation_test_support',
1659         '../components/components.gyp:metrics_test_support',
1660         '../components/components.gyp:omnibox_test_support',
1661         '../components/components.gyp:password_manager_core_browser_test_support',
1662         '../components/components.gyp:pref_registry_test_support',
1663         '../components/components.gyp:rappor_test_support',
1664         '../components/components.gyp:search_engines_test_support',
1665         '../components/components.gyp:signin_core_browser_test_support',
1666         '../components/components.gyp:sync_driver_test_support',
1667         '../components/components.gyp:update_client_test_support',
1668         '../components/components.gyp:user_prefs_tracked_test_support',
1669         '../components/components.gyp:wallpaper',
1670         '../content/content.gyp:content_app_both',
1671         '../content/content_shell_and_tests.gyp:test_support_content',
1672         '../net/net.gyp:net',
1673         '../net/net.gyp:net_test_support',
1674         '../skia/skia.gyp:skia',
1675         '../sql/sql.gyp:sql',
1676         '../sql/sql.gyp:test_support_sql',
1677         '../sync/sync.gyp:sync',
1678         '../testing/gmock.gyp:gmock',
1679         '../testing/gtest.gyp:gtest',
1680         '../third_party/zlib/zlib.gyp:zlib',
1681         '../ui/gfx/gfx.gyp:gfx_test_support',
1682         '../ui/message_center/message_center.gyp:message_center_test_support',
1683       ],
1684       'export_dependent_settings': [
1685         '../base/base.gyp:test_support_base',
1686         '../content/content_shell_and_tests.gyp:test_support_content',
1687       ],
1688       'include_dirs': [
1689         '..',
1690       ],
1691       'sources': [
1692         'app/chrome_main_delegate.cc',
1693         'app/chrome_main_delegate.h',
1694         'app/close_handle_hook_win.cc',
1695         'app/close_handle_hook_win.h',
1696         'browser/browsing_data/mock_browsing_data_appcache_helper.cc',
1697         'browser/browsing_data/mock_browsing_data_appcache_helper.h',
1698         'browser/browsing_data/mock_browsing_data_cache_storage_helper.cc',
1699         'browser/browsing_data/mock_browsing_data_cache_storage_helper.h',
1700         'browser/browsing_data/mock_browsing_data_channel_id_helper.cc',
1701         'browser/browsing_data/mock_browsing_data_channel_id_helper.h',
1702         'browser/browsing_data/mock_browsing_data_cookie_helper.cc',
1703         'browser/browsing_data/mock_browsing_data_cookie_helper.h',
1704         'browser/browsing_data/mock_browsing_data_database_helper.cc',
1705         'browser/browsing_data/mock_browsing_data_database_helper.h',
1706         'browser/browsing_data/mock_browsing_data_file_system_helper.cc',
1707         'browser/browsing_data/mock_browsing_data_file_system_helper.h',
1708         'browser/browsing_data/mock_browsing_data_flash_lso_helper.cc',
1709         'browser/browsing_data/mock_browsing_data_flash_lso_helper.h',
1710         'browser/browsing_data/mock_browsing_data_indexed_db_helper.cc',
1711         'browser/browsing_data/mock_browsing_data_indexed_db_helper.h',
1712         'browser/browsing_data/mock_browsing_data_local_storage_helper.cc',
1713         'browser/browsing_data/mock_browsing_data_local_storage_helper.h',
1714         'browser/browsing_data/mock_browsing_data_quota_helper.cc',
1715         'browser/browsing_data/mock_browsing_data_quota_helper.h',
1716         'browser/browsing_data/mock_browsing_data_service_worker_helper.cc',
1717         'browser/browsing_data/mock_browsing_data_service_worker_helper.h',
1718         'browser/download/download_test_file_activity_observer.cc',
1719         'browser/download/download_test_file_activity_observer.h',
1720         'browser/download/test_download_shelf.cc',
1721         'browser/download/test_download_shelf.h',
1722         'browser/invalidation/fake_invalidation_service.cc',
1723         'browser/invalidation/fake_invalidation_service.h',
1724         'browser/media/fake_desktop_media_list.cc',
1725         'browser/media/fake_desktop_media_list.h',
1726         'browser/net/dns_probe_test_util.cc',
1727         'browser/net/dns_probe_test_util.h',
1728         'browser/net/url_request_mock_util.cc',
1729         'browser/net/url_request_mock_util.h',
1730         'browser/notifications/notification_test_util.cc',
1731         'browser/notifications/notification_test_util.h',
1732         'browser/password_manager/mock_password_store_service.cc',
1733         'browser/password_manager/mock_password_store_service.h',
1734         'browser/password_manager/null_password_store_service.cc',
1735         'browser/password_manager/null_password_store_service.h',
1736         'browser/password_manager/password_manager_test_base.cc',
1737         'browser/password_manager/password_manager_test_base.h',
1738         'browser/password_manager/test_password_store_service.cc',
1739         'browser/password_manager/test_password_store_service.h',
1740         'browser/prefs/pref_service_mock_factory.cc',
1741         'browser/prefs/pref_service_mock_factory.h',
1742         'browser/profile_resetter/profile_resetter_test_base.cc',
1743         'browser/profile_resetter/profile_resetter_test_base.h',
1744         'browser/search_engines/template_url_service_factory_test_util.cc',
1745         'browser/search_engines/template_url_service_factory_test_util.h',
1746         'browser/search_engines/template_url_service_test_util.cc',
1747         'browser/search_engines/template_url_service_test_util.h',
1748         'browser/sessions/session_restore_test_helper.cc',
1749         'browser/sessions/session_restore_test_helper.h',
1750         'browser/sessions/session_service_test_helper.cc',
1751         'browser/sessions/session_service_test_helper.h',
1752         'browser/signin/fake_account_fetcher_service_builder.cc',
1753         'browser/signin/fake_account_fetcher_service_builder.h',
1754         'browser/signin/fake_gaia_cookie_manager_service.cc',
1755         'browser/signin/fake_gaia_cookie_manager_service.h',
1756         'browser/signin/fake_profile_oauth2_token_service_builder.cc',
1757         'browser/signin/fake_profile_oauth2_token_service_builder.h',
1758         'browser/signin/fake_signin_manager_builder.cc',
1759         'browser/signin/fake_signin_manager_builder.h',
1760         'browser/ssl/ssl_client_auth_requestor_mock.cc',
1761         'browser/ssl/ssl_client_auth_requestor_mock.h',
1762         'browser/sync/profile_sync_components_factory_mock.cc',
1763         'browser/sync/profile_sync_components_factory_mock.h',
1764         'browser/sync/profile_sync_service_mock.cc',
1765         'browser/sync/profile_sync_service_mock.h',
1766         'browser/ui/browser.h',
1767         'browser/ui/cocoa/extensions/browser_action_test_util_mac.mm',
1768         'browser/ui/cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm',
1769         'browser/ui/cocoa/run_loop_testing.h',
1770         'browser/ui/cocoa/run_loop_testing.mm',
1771         'browser/ui/exclusive_access/fullscreen_controller_state_test.cc',
1772         'browser/ui/exclusive_access/fullscreen_controller_state_test.h',
1773         'browser/ui/exclusive_access/fullscreen_controller_state_tests.h',
1774         'browser/ui/exclusive_access/fullscreen_controller_test.cc',
1775         'browser/ui/exclusive_access/fullscreen_controller_test.h',
1776         'browser/ui/find_bar/find_bar_host_unittest_util.h',
1777         'browser/ui/login/login_prompt_test_utils.cc',
1778         'browser/ui/login/login_prompt_test_utils.h',
1779         'browser/ui/passwords/manage_passwords_ui_controller_mock.cc',
1780         'browser/ui/passwords/manage_passwords_ui_controller_mock.h',
1781         'browser/ui/test/test_confirm_bubble_model.cc',
1782         'browser/ui/test/test_confirm_bubble_model.h',
1783         'browser/ui/toolbar/test_toolbar_action_view_controller.cc',
1784         'browser/ui/toolbar/test_toolbar_action_view_controller.h',
1785         'browser/ui/views/find_bar_host_unittest_util_views.cc',
1786         'browser/ui/views/toolbar/browser_action_test_util_views.cc',
1787         'browser/ui/website_settings/mock_permission_bubble_request.cc',
1788         'browser/ui/website_settings/mock_permission_bubble_request.h',
1789         'browser/ui/webui/signin/login_ui_test_utils.cc',
1790         'browser/ui/webui/signin/login_ui_test_utils.h',
1791         'renderer/chrome_mock_render_thread.cc',
1792         'renderer/chrome_mock_render_thread.h',
1793         'renderer/safe_browsing/mock_feature_extractor_clock.cc',
1794         'renderer/safe_browsing/mock_feature_extractor_clock.h',
1795         'renderer/safe_browsing/test_utils.cc',
1796         'renderer/safe_browsing/test_utils.h',
1797         'test/base/chrome_process_util.cc',
1798         'test/base/chrome_process_util.h',
1799         'test/base/chrome_process_util_mac.cc',
1800         'test/base/chrome_render_view_host_test_harness.cc',
1801         'test/base/chrome_render_view_host_test_harness.h',
1802         'test/base/chrome_test_launcher.cc',
1803         'test/base/chrome_test_launcher.h',
1804         'test/base/chrome_test_suite.cc',
1805         'test/base/chrome_test_suite.h',
1806         'test/base/chrome_unit_test_suite.cc',
1807         'test/base/chrome_unit_test_suite.h',
1808         'test/base/dialog_test_browser_window.cc',
1809         'test/base/dialog_test_browser_window.h',
1810         'test/base/find_in_page_observer.cc',
1811         'test/base/find_in_page_observer.h',
1812         'test/base/history_index_restore_observer.cc',
1813         'test/base/history_index_restore_observer.h',
1814         'test/base/in_process_browser_test.cc',
1815         'test/base/in_process_browser_test.h',
1816         'test/base/in_process_browser_test_mac.cc',
1817         'test/base/profile_mock.cc',
1818         'test/base/profile_mock.h',
1819         'test/base/scoped_browser_locale.cc',
1820         'test/base/scoped_browser_locale.h',
1821         'test/base/scoped_bundle_swizzler_mac.h',
1822         'test/base/scoped_bundle_swizzler_mac.mm',
1823         'test/base/scoped_testing_local_state.cc',
1824         'test/base/scoped_testing_local_state.h',
1825         'test/base/test_browser_window.cc',
1826         'test/base/test_browser_window.h',
1827         'test/base/test_launcher_utils.cc',
1828         'test/base/test_launcher_utils.h',
1829         'test/base/test_switches.cc',
1830         'test/base/test_switches.h',
1831         'test/base/testing_browser_process.cc',
1832         'test/base/testing_browser_process.h',
1833         'test/base/testing_browser_process_platform_part.cc',
1834         'test/base/testing_browser_process_platform_part.h',
1835         'test/base/testing_io_thread_state.cc',
1836         'test/base/testing_io_thread_state.h',
1837         'test/base/testing_pref_service_syncable.cc',
1838         'test/base/testing_pref_service_syncable.h',
1839         'test/base/testing_profile.cc',
1840         'test/base/testing_profile.h',
1841         'test/base/testing_profile_manager.cc',
1842         'test/base/testing_profile_manager.h',
1843         'test/base/tracing.cc',
1844         'test/base/tracing.h',
1845         'test/base/ui_test_utils.cc',
1846         'test/base/ui_test_utils.h',
1847         'test/logging/win/file_logger.cc',
1848         'test/logging/win/file_logger.h',
1849         'test/logging/win/log_file_printer.cc',
1850         'test/logging/win/log_file_printer.h',
1851         'test/logging/win/log_file_reader.cc',
1852         'test/logging/win/log_file_reader.h',
1853         'test/logging/win/mof_data_parser.cc',
1854         'test/logging/win/mof_data_parser.h',
1855         'test/logging/win/test_log_collector.cc',
1856         'test/logging/win/test_log_collector.h',
1857       ],
1858       'conditions': [
1859         ['OS!="ios"', {
1860           'dependencies': [
1861             'child',
1862             'plugin',
1863             'renderer',
1864             'utility',
1865             '../content/content.gyp:content_gpu',
1866             '../content/content.gyp:content_plugin',
1867             '../content/content.gyp:content_ppapi_plugin',
1868             '../content/content.gyp:content_renderer',
1869             '../content/content.gyp:content_utility',
1870             '../components/components.gyp:autofill_core_test_support',
1871             '../components/components.gyp:captive_portal_test_support',
1872             '../components/components.gyp:rappor_test_support',
1873             '../components/components.gyp:sessions_test_support',
1874             '../components/components.gyp:web_resource_test_support',
1875             '../google_apis/google_apis.gyp:google_apis_test_support',
1876             '../ipc/ipc.gyp:test_support_ipc',
1877             '../media/media.gyp:media_test_support',
1878             '../ppapi/ppapi_internal.gyp:ppapi_shared',
1879             '../sql/sql.gyp:test_support_sql',
1880             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1881           ],
1882           'export_dependent_settings': [
1883             'renderer',
1884           ],
1885         }, {  # OS=="ios"
1886           'sources/': [
1887             # Exclude everything but iOS-specific files.
1888             ['exclude', '\\.(cc|mm)$'],
1889             ['include', '_ios\\.(cc|mm)$'],
1890             ['include', '(^|/)ios/'],
1891             # TODO(ios): Add files here as they are updated to compile on iOS.
1892             ['include', '^test/base/chrome_test_suite\\.cc$'],
1893             ['include', '^test/base/chrome_unit_test_suite\\.cc$'],
1894             ['include', '^test/base/testing_browser_process'],
1895           ],
1896         }],
1897         ['chromeos==1', {
1898           'dependencies': [
1899             '../build/linux/system.gyp:dbus',
1900             '../chromeos/chromeos.gyp:chromeos_test_support',
1901             '../components/components.gyp:user_manager_test_support',
1902           ],
1903           'sources': [
1904             # Note: sources list duplicated in GN build.
1905             'browser/chromeos/app_mode/fake_cws.cc',
1906             'browser/chromeos/app_mode/fake_cws.h',
1907             'browser/chromeos/file_manager/fake_disk_mount_manager.cc',
1908             'browser/chromeos/file_manager/fake_disk_mount_manager.h',
1909             'browser/chromeos/input_method/mock_candidate_window_controller.cc',
1910             'browser/chromeos/input_method/mock_candidate_window_controller.h',
1911             'browser/chromeos/input_method/mock_input_method_engine.cc',
1912             'browser/chromeos/input_method/mock_input_method_engine.h',
1913             'browser/chromeos/input_method/mock_input_method_manager.cc',
1914             'browser/chromeos/input_method/mock_input_method_manager.h',
1915             'browser/chromeos/login/screens/mock_device_disabled_screen_actor.cc',
1916             'browser/chromeos/login/screens/mock_device_disabled_screen_actor.h',
1917             'browser/chromeos/login/session/user_session_manager_test_api.cc',
1918             'browser/chromeos/login/session/user_session_manager_test_api.h',
1919             'browser/chromeos/login/test/js_checker.cc',
1920             'browser/chromeos/login/test/js_checker.h',
1921             'browser/chromeos/login/test/oobe_screen_waiter.cc',
1922             'browser/chromeos/login/test/oobe_screen_waiter.h',
1923             'browser/chromeos/login/ui/mock_login_display.cc',
1924             'browser/chromeos/login/ui/mock_login_display.h',
1925             'browser/chromeos/login/ui/mock_login_display_host.cc',
1926             'browser/chromeos/login/ui/mock_login_display_host.h',
1927             'browser/chromeos/login/users/avatar/mock_user_image_manager.cc',
1928             'browser/chromeos/login/users/avatar/mock_user_image_manager.h',
1929             'browser/chromeos/login/users/fake_chrome_user_manager.cc',
1930             'browser/chromeos/login/users/fake_chrome_user_manager.h',
1931             'browser/chromeos/login/users/fake_supervised_user_manager.cc',
1932             'browser/chromeos/login/users/fake_supervised_user_manager.h',
1933             'browser/chromeos/login/users/mock_user_manager.cc',
1934             'browser/chromeos/login/users/mock_user_manager.h',
1935             'browser/chromeos/net/network_portal_detector_test_utils.cc',
1936             'browser/chromeos/net/network_portal_detector_test_utils.h',
1937             'browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc',
1938             'browser/chromeos/policy/cloud_external_data_manager_base_test_util.h',
1939             'browser/chromeos/policy/device_policy_builder.cc',
1940             'browser/chromeos/policy/device_policy_builder.h',
1941             'browser/chromeos/policy/fake_consumer_management_service.cc',
1942             'browser/chromeos/policy/fake_consumer_management_service.h',
1943             'browser/chromeos/policy/fake_device_cloud_policy_initializer.cc',
1944             'browser/chromeos/policy/fake_device_cloud_policy_initializer.h',
1945             'browser/chromeos/policy/fake_device_cloud_policy_manager.cc',
1946             'browser/chromeos/policy/fake_device_cloud_policy_manager.h',
1947             'browser/chromeos/policy/stub_enterprise_install_attributes.cc',
1948             'browser/chromeos/policy/stub_enterprise_install_attributes.h',
1949             'browser/chromeos/settings/device_settings_test_helper.cc',
1950             'browser/chromeos/settings/device_settings_test_helper.h',
1951             'browser/chromeos/system/fake_input_device_settings.cc',
1952             'browser/chromeos/system/fake_input_device_settings.h',
1953           ],
1954         }],
1955         ['use_aura==1', {
1956           'sources': [
1957             'test/base/test_browser_window_aura.cc',
1958             'test/base/test_browser_window_aura.h',
1959           ],
1960         }],
1961         ['configuration_policy==1', {
1962           'dependencies': [
1963             '../components/components.gyp:policy_component_test_support',
1964             '../components/components.gyp:policy_test_support',
1965           ],
1966           'export_dependent_settings': [
1967             '../components/components.gyp:policy_component_test_support',
1968             '../components/components.gyp:policy_test_support',
1969           ],
1970           'sources': [
1971             'browser/policy/test/local_policy_test_server.cc',
1972             'browser/policy/test/local_policy_test_server.h',
1973           ],
1974         }],
1975         ['safe_browsing==1', {
1976           'sources': [
1977             'browser/extensions/fake_safe_browsing_database_manager.cc',
1978             'browser/extensions/fake_safe_browsing_database_manager.h',
1979           ],
1980         }],
1981         ['OS=="linux"', {
1982           'dependencies': [
1983             '../build/linux/system.gyp:ssl',
1984           ],
1985         }],
1986         ['enable_print_preview==1', {
1987           'dependencies': [
1988             'service',
1989           ],
1990         }],
1991         ['enable_extensions==1', {
1992           'dependencies': [
1993             '../components/components.gyp:drive_test_support',
1994             '../components/components.gyp:storage_monitor_test_support',
1995             '../extensions/extensions.gyp:extensions_test_support',
1996             'common/extensions/api/api.gyp:chrome_api',
1997           ],
1998           'sources': [
1999             'browser/extensions/api/messaging/native_messaging_test_util.cc',
2000             'browser/extensions/api/messaging/native_messaging_test_util.h',
2001             'browser/extensions/extension_action_test_util.cc',
2002             'browser/extensions/extension_action_test_util.h',
2003             'browser/extensions/extension_notification_observer.cc',
2004             'browser/extensions/extension_notification_observer.h',
2005             'browser/extensions/mock_extension_special_storage_policy.cc',
2006             'browser/extensions/mock_extension_special_storage_policy.h',
2007             'browser/extensions/test_blacklist.cc',
2008             'browser/extensions/test_blacklist.h',
2009             'browser/extensions/test_blacklist_state_fetcher.cc',
2010             'browser/extensions/test_blacklist_state_fetcher.h',
2011             'browser/extensions/test_extension_dir.cc',
2012             'browser/extensions/test_extension_dir.h',
2013             'browser/extensions/test_extension_environment.cc',
2014             'browser/extensions/test_extension_environment.h',
2015             'browser/extensions/test_extension_prefs.cc',
2016             'browser/extensions/test_extension_prefs.h',
2017             'browser/extensions/test_extension_service.cc',
2018             'browser/extensions/test_extension_service.h',
2019             'browser/extensions/test_extension_system.cc',
2020             'browser/extensions/test_extension_system.h',
2021             'browser/media_galleries/media_galleries_test_util.cc',
2022             'browser/media_galleries/media_galleries_test_util.h',
2023             'common/extensions/extension_test_util.cc',
2024             'common/extensions/extension_test_util.h',
2025           ],
2026         }],
2027         ['OS=="win"', {
2028           'include_dirs': [
2029             '<(DEPTH)/third_party/wtl/include',
2030           ],
2031           'conditions': [
2032             ['use_aura==1', {
2033               'dependencies': [
2034                 '../win8/win8.gyp:test_registrar_constants',
2035                 '../win8/win8.gyp:test_support_win8',
2036               ],
2037             }],
2038           ],
2039         }],
2040         ['OS=="win" or OS=="mac"', {
2041           'sources': [
2042             'common/media_galleries/picasa_test_util.cc',
2043             'common/media_galleries/picasa_test_util.cc',
2044             'common/media_galleries/pmp_test_util.cc',
2045             'common/media_galleries/pmp_test_util.h',
2046           ],
2047         }],
2048         ['OS=="mac"', {
2049           'dependencies': [
2050             '../breakpad/breakpad.gyp:breakpad',
2051             '../components/components.gyp:crash_component',
2052             '../third_party/ocmock/ocmock.gyp:*',
2053           ],
2054           'sources': [
2055             'app/chrome_crash_reporter_client.cc',
2056             'app/chrome_crash_reporter_client_mac.mm',
2057             'app/chrome_main_mac.mm',
2058           ],
2059           'sources!': [
2060             'browser/ui/views/toolbar/browser_action_test_util_views.cc',
2061           ]
2062         }],
2063         ['chromeos==1', {
2064           'dependencies': [
2065             '../components/components.gyp:ownership',
2066           ],
2067         }],
2068         ['enable_mdns==1', {
2069           'sources': [
2070             'browser/local_discovery/test_service_discovery_client.cc',
2071             'browser/local_discovery/test_service_discovery_client.h',
2072           ],
2073         }],
2074         ['enable_app_list==1', {
2075           'sources': [
2076             'browser/ui/app_list/test/chrome_app_list_test_support.cc',
2077             'browser/ui/app_list/test/chrome_app_list_test_support.h',
2078             'browser/ui/app_list/test/test_app_list_controller_delegate.cc',
2079             'browser/ui/app_list/test/test_app_list_controller_delegate.h',
2080           ],
2081         }],
2082         ['enable_webrtc==1', {
2083           'sources': [
2084             'renderer/media/mock_webrtc_logging_message_filter.cc',
2085             'renderer/media/mock_webrtc_logging_message_filter.h',
2086           ],
2087         }],
2088         ['enable_wifi_bootstrapping', {
2089           "sources" : [
2090              'browser/local_discovery/wifi/mock_wifi_manager.cc',
2091              'browser/local_discovery/wifi/mock_wifi_manager.h',
2092           ],
2093         }],
2094         ['enable_plugins==1', {
2095           "sources" : [
2096             'test/ppapi/ppapi_test.cc',
2097             'test/ppapi/ppapi_test.h',
2098           ],
2099           'dependencies': [
2100             '../pdf/pdf.gyp:pdf',
2101           ],
2102         }],
2103         ['enable_plugins==1 and disable_nacl==0', {
2104           'dependencies': [
2105             '<(DEPTH)/components/nacl/renderer/plugin/plugin.gyp:nacl_trusted_plugin',
2106           ],
2107         }],
2108         ['toolkit_views==1', {
2109           'dependencies': [
2110             '../ui/views/views.gyp:views',
2111           ],
2112         }],
2113       ],
2114     },
2115     {
2116       # GN version: //chrome/test:test_support_unit
2117       'target_name': 'test_support_unit',
2118       'type': 'static_library',
2119       'dependencies': [
2120         'chrome_resources.gyp:chrome_resources',
2121         'chrome_resources.gyp:chrome_strings',
2122         'browser',
2123         'common',
2124         'test_support_common',
2125         '../base/base.gyp:base',
2126         '../mojo/mojo_base.gyp:mojo_environment_chromium',
2127         '../skia/skia.gyp:skia',
2128         '../sync/sync.gyp:sync',
2129         '../testing/gmock.gyp:gmock',
2130         '../testing/gtest.gyp:gtest',
2131         '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
2132       ],
2133       'include_dirs': [
2134         '..',
2135       ],
2136       'sources': [
2137         'browser/sync/glue/session_sync_test_helper.cc',
2138         'browser/sync/glue/session_sync_test_helper.h',
2139         'test/base/run_all_unittests.cc',
2140       ],
2141       'conditions': [
2142         ['enable_media_router==1', {
2143           'dependencies': [
2144             'browser/media/router/media_router.gyp:media_router_test_support',
2145           ],
2146         }],
2147         ['use_ash==1', {
2148           'sources': [ '<@(chrome_test_support_unit_ash_sources)' ],
2149         }],
2150       ],
2151     },
2152     {
2153       # GN version: //chrome/test:unit_tests
2154       'target_name': 'unit_tests',
2155       'type': '<(gtest_target_type)',
2156       'dependencies': [
2157         # NOTE: New dependencies should generally be added in the OS!="ios"
2158         # dependencies block below, rather than here.
2159         # Unit tests should only depend on:
2160         # 1) everything that the chrome binaries depend on:
2161         '<@(chromium_browser_dependencies)',
2162         '<@(chromium_child_dependencies)',
2163         # 2) test-specific support libraries:
2164         '../base/base.gyp:test_support_base',
2165         '../components/components_resources.gyp:components_resources',
2166         '../components/components.gyp:content_settings_core_test_support',
2167         '../content/content_shell_and_tests.gyp:test_support_content',
2168         '../content/content.gyp:content_app_both',
2169         '../crypto/crypto.gyp:crypto_test_support',
2170         '../net/net.gyp:net',
2171         '../net/net.gyp:net_test_support',
2172         '../sync/sync.gyp:test_support_sync_api',
2173         '../sync/sync.gyp:test_support_sync_core',
2174         '../sync/sync.gyp:test_support_sync_internal_api',
2175         '../testing/gmock.gyp:gmock',
2176         '../testing/gtest.gyp:gtest',
2177         'test_support_common',
2178         'test_support_unit',
2179         # 3) anything tests directly depend on
2180         '../courgette/courgette.gyp:courgette_lib',
2181         '../google_apis/google_apis.gyp:google_apis',
2182         '../skia/skia.gyp:skia',
2183         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
2184         '../third_party/icu/icu.gyp:icui18n',
2185         '../third_party/icu/icu.gyp:icuuc',
2186         '../third_party/libxml/libxml.gyp:libxml',
2187         '../ui/base/ui_base.gyp:ui_base_test_support',
2188         '../ui/gfx/gfx.gyp:gfx_test_support',
2189         '../ui/resources/ui_resources.gyp:ui_resources',
2190         'chrome_resources.gyp:chrome_resources',
2191         'chrome_resources.gyp:chrome_strings',
2192       ],
2193       'include_dirs': [
2194         '..',
2195       ],
2196       'msvs_settings': {
2197         'VCLinkerTool': {
2198           'conditions': [
2199             ['incremental_chrome_dll==1', {
2200               'UseLibraryDependencyInputs': "true",
2201             }],
2202           ],
2203         },
2204       },
2205       'sources': [
2206         '<@(chrome_unit_tests_sources)',
2207         '<@(chrome_unit_tests_js_sources)',
2208         '<@(chrome_unit_tests_gtestjs_sources)',
2209       ],
2210       'conditions': [
2211         ['OS!="ios"', {
2212           'dependencies': [
2213             '../components/components.gyp:autofill_content_test_support',
2214             '../components/components.gyp:component_metrics_proto',
2215             '../components/components.gyp:data_reduction_proxy_test_support',
2216             '../components/components.gyp:safe_json_test_support',
2217             '../components/components.gyp:webdata_services_test_support',
2218             '../components/components_strings.gyp:components_strings',
2219             '../content/app/resources/content_resources.gyp:content_resources',
2220             '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
2221             '../gpu/gpu.gyp:gpu_unittest_utils',
2222             '../media/media.gyp:media_test_support',
2223             '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
2224             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2225             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
2226             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
2227             '../third_party/webrtc/modules/modules.gyp:desktop_capture',
2228             '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:json_schema_compiler_tests',
2229             '../ui/gl/gl.gyp:gl',
2230             '../ui/gl/gl.gyp:gl_test_support',
2231             '../v8/tools/gyp/v8.gyp:v8',
2232           ],
2233           # TODO(scr): Use this in browser_tests too.
2234           'includes': [
2235             'js_unittest_rules.gypi',
2236           ],
2237           'include_dirs': [
2238             '<(SHARED_INTERMEDIATE_DIR)/chrome',
2239           ],
2240         }, {  # OS=="ios"
2241           'dependencies': [
2242             '../third_party/ocmock/ocmock.gyp:ocmock',
2243           ],
2244           'sources/': [
2245             # Exclude everything but iOS-specific files.
2246             ['exclude', '\\.(cc|mm)$'],
2247             ['include', '_ios\\.(cc|mm)$'],
2248             ['include', '(^|/)ios/'],
2249             # TODO(ios): Add files here as they are updated to compile on iOS.
2250             ['include', '^common/translate/language_detection_util_unittest\\.cc$'],
2251             ['include', '^common/translate/translate_util_unittest\\.cc$'],
2252             ['include', '^common/zip_'],
2253           ],
2254           # Bundle all the necessary resources into the test bundle.
2255           'includes': ['chrome_ios_bundle_resources.gypi'],
2256           'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']},
2257         }],
2258         ['chromeos==1', {
2259           'sources!': [
2260             'browser/metrics/signin_status_metrics_provider_unittest.cc',
2261           ],
2262         }],
2263         ['enable_background==1', {
2264           'sources': [ '<@(chrome_unit_tests_background_sources)' ],
2265         }],
2266         ['enable_spellcheck==1', {
2267           'sources': [ '<@(chrome_unit_tests_spellchecker_sources)' ],
2268           'conditions': [
2269             ['OS!="mac" and OS!="ios"', {
2270               'dependencies': [ '../third_party/hunspell/hunspell.gyp:hunspell' ],
2271             }],
2272           ],
2273         }],
2274         ['enable_one_click_signin==1', {
2275           'sources': [
2276             'browser/ui/sync/one_click_signin_sync_observer_unittest.cc',
2277             'browser/ui/sync/one_click_signin_sync_starter_unittest.cc',
2278           ],
2279         }],
2280         ['enable_extensions==1', {
2281           'sources': [ '<@(chrome_unit_tests_extensions_sources)' ],
2282           'dependencies': [
2283             'common/extensions/api/api.gyp:chrome_api',
2284             '../device/usb/usb.gyp:device_usb_mocks',
2285             '../components/components.gyp:audio_modem_test_support',
2286             '../extensions/extensions_resources.gyp:extensions_resources',
2287             '../extensions/extensions_strings.gyp:extensions_strings',
2288           ],
2289           'conditions': [
2290             ['configuration_policy==1', {
2291               'sources': [ '<@(chrome_unit_tests_extensions_policy_sources)' ],
2292             }],
2293             ['chromeos == 0', {
2294               'sources': [
2295                 '<@(chrome_unit_tests_extensions_non_chromeos_sources)',
2296               ],
2297             }],
2298           ],
2299         }],
2300         ['use_ash==1', {
2301           # TODO(calamity): Consider moving the tests to regular
2302           # "chrome_unit_tests_sources" and not require Ash. crbug.com/439542.
2303           'sources': [ '<@(chrome_unit_tests_ash_sources)' ],
2304           'dependencies': [
2305             '../ash/ash.gyp:ash_test_support',
2306             '../ash/ash_resources.gyp:ash_resources',
2307             '../ash/ash_strings.gyp:ash_strings',
2308           ],
2309           # We eventually want to compile both in Win Aura builds, see
2310           # http://crbug.com/155545.
2311           'conditions': [
2312             ['OS !="win"', {
2313               'sources!': [
2314                 'browser/ui/window_sizer/window_sizer_unittest.cc',
2315               ],
2316             }],
2317           ],
2318         }],
2319         ['use_aura==1', {
2320           'dependencies': [
2321             '../ui/wm/wm.gyp:wm',
2322             '../ui/aura/aura.gyp:aura_test_support',
2323             '../ui/views/views.gyp:views_test_support',
2324           ],
2325           'sources': [
2326             '../ui/views/controls/webview/webview_unittest.cc',
2327           ],
2328         }],
2329         ['chromeos==0 and OS=="linux"', {
2330           'sources': [ '<@(chrome_unit_tests_desktop_linux_sources)' ],
2331         }],
2332         ['chromeos==0 and use_ozone==0 and OS=="linux"', {
2333           'dependencies': [
2334             'browser/ui/libgtk2ui/libgtk2ui.gyp:gtk2ui',
2335             '../build/linux/system.gyp:gio',
2336           ],
2337         }],
2338         ['use_aura==1 or toolkit_views==1', {
2339           'dependencies': [
2340             '../ui/events/events.gyp:events_test_support',
2341           ],
2342         }],
2343         ['enable_task_manager==1', {
2344           'sources': [ '<@(chrome_unit_tests_task_manager_sources)' ],
2345         }],
2346         ['enable_mdns==1', {
2347           'sources': [ '<@(chrome_unit_tests_mdns_sources)' ],
2348         }],
2349         ['enable_service_discovery==1', {
2350           'sources': [ '<@(chrome_unit_tests_service_discovery_sources)' ],
2351         }],
2352         ['configuration_policy==1', {
2353           'sources': [ '<@(chrome_unit_tests_configuration_policy_sources)' ],
2354           'conditions': [
2355             ['chromeos==1', {
2356               'sources!': [
2357                 'browser/policy/cloud/user_policy_signin_service_unittest.cc',
2358               ],
2359             }],
2360             ['OS=="android"', {
2361               'sources!': [
2362                 'browser/policy/policy_path_parser_unittest.cc',
2363               ],
2364             }],
2365             ['OS!="android" and OS!="ios" and chromeos==0', {
2366               'sources': [
2367                 'browser/net/disk_cache_dir_policy_handler_unittest.cc',
2368               ],
2369             }],
2370             ['OS!="android" and OS!="ios"', {
2371               'sources': [
2372                 'browser/download/download_dir_policy_handler_unittest.cc'
2373               ],
2374             }],
2375           ],
2376         }],
2377         ['enable_web_speech==1', {
2378           'sources': [ '<@(chrome_unit_tests_speech_sources)' ],
2379         }],
2380         ['notifications==1', {
2381           'sources': [ '<@(chrome_unit_tests_notifications_sources)' ],
2382           'conditions': [
2383             ['OS == "android"', {
2384               'sources!': [
2385                 # Android does not use the Message Center notification system.
2386                 'browser/notifications/message_center_notifications_unittest.cc',
2387                 'browser/notifications/message_center_settings_controller_unittest.cc',
2388               ],
2389             }],
2390           ],
2391         }],
2392         ['safe_browsing==1', {
2393           # TODO(sgurun): enable tests for safe_browsing==2.
2394           'sources': [ '<@(chrome_unit_tests_full_safe_browsing_sources)',
2395                        '<@(chrome_unit_tests_shared_safe_browsing_sources)',
2396                      ],
2397           'dependencies': [
2398             'ipc_protobuf_message_test_proto',
2399           ],
2400         }],
2401         ['safe_browsing==3', {
2402           'sources': [ '<@(chrome_unit_tests_mobile_extended_safe_browsing_sources)',
2403                        '<@(chrome_unit_tests_shared_safe_browsing_sources)',
2404                      ],
2405         }],
2406         ['enable_autofill_dialog==1 and OS!="android"', {
2407           'sources': [ '<@(chrome_unit_tests_autofill_dialog_sources)' ],
2408         }],
2409         ['enable_plugins==1', {
2410           'sources': [ '<@(chrome_unit_tests_plugins_sources)' ],
2411         }],
2412         ['enable_print_preview==1', {
2413           'sources': [ '<@(chrome_unit_tests_print_preview_sources)' ],
2414         }],
2415         ['enable_media_router==1', {
2416           'sources': [ '<@(chrome_unit_tests_media_router_sources)' ],
2417           'dependencies': [ 'browser/media/router/media_router.gyp:media_router_test_support' ],
2418           'conditions': [
2419             ['OS!="android"', {
2420               'sources': [ '<@(chrome_unit_tests_media_router_non_android_sources)' ],
2421             }],
2422           ],
2423         }],
2424         ['enable_captive_portal_detection==1', {
2425           'sources': [ '<@(chrome_unit_tests_captive_portal_sources)' ],
2426         }],
2427         ['enable_session_service==1', {
2428           'sources': [ '<@(chrome_unit_tests_session_service_sources)' ],
2429         }],
2430         ['enable_webrtc==1', {
2431           'sources': [ '<@(chrome_unit_tests_webrtc_sources)' ],
2432         }],
2433         ['chromeos==1', {
2434           'sources': [
2435             '<@(chrome_unit_tests_chromeos_sources)',
2436             '<@(chrome_unit_tests_chromeos_gtestjs_sources)',
2437             '<@(chrome_unit_tests_chromeos_js_sources)',
2438           ],
2439           'dependencies': [
2440             '../ash/ash_resources.gyp:ash_resources',
2441             '../components/components.gyp:drive_test_support',
2442             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
2443           ],
2444           'sources!': [
2445             'browser/signin/signin_global_error_unittest.cc',
2446             'browser/signin/signin_manager_unittest.cc',
2447             'browser/signin/signin_names_io_thread_unittest.cc',
2448           ],
2449         }],
2450         ['use_x11==1', {
2451           'dependencies': [
2452             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2453             '../ui/events/devices/events_devices.gyp:events_devices',
2454           ],
2455         }],
2456         [ 'cld_version==2', {
2457           'dependencies': [
2458             # Unit tests should be independent of the CLD2 access mechanism,
2459             # just use static for simplicity.
2460             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
2461         }],
2462         ['OS=="linux"', {
2463           'dependencies': [
2464             '../build/linux/system.gyp:ssl',
2465           ],
2466         }],
2467         # Only add this test for 64 bit builds because otherwise we need the 32
2468         # bit library on 64 bit systems when running this test.
2469         ['use_gnome_keyring == 1 and target_arch=="x64"', {
2470           'sources': [
2471             'browser/password_manager/native_backend_gnome_x_unittest.cc',
2472           ],
2473           # We use a few library functions directly, so link directly.
2474           'dependencies': [
2475             '../build/linux/system.gyp:gnome_keyring_direct',
2476           ],
2477         }],
2478         ['OS=="linux" and chromeos!=1', {
2479           'sources': [
2480             'browser/password_manager/native_backend_libsecret_unittest.cc',
2481            ],
2482         }],
2483         ['OS=="linux" and use_aura==1', {
2484           'dependencies': [
2485             '../build/linux/system.gyp:dbus',
2486             '../dbus/dbus.gyp:dbus_test_support',
2487             '../ui/aura/aura.gyp:aura_test_support',
2488           ],
2489         }],
2490         ['OS=="linux" and branding=="Chrome" and target_arch=="ia32"', {
2491           'configurations': {
2492             'Release': {
2493               'ldflags': [
2494                 '-Wl,--strip-debug',
2495               ],
2496             },
2497           },
2498         }],
2499         ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2500           'conditions': [
2501             ['use_allocator!="none"', {
2502               'dependencies': [
2503                 '../base/allocator/allocator.gyp:allocator',
2504               ],
2505             }],
2506           ],
2507         }],
2508         ['OS=="mac"', {
2509           # The test fetches resources which means Mac need the app bundle to
2510           # exist on disk so it can pull from it.
2511           'dependencies': [
2512             '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
2513             '../third_party/ocmock/ocmock.gyp:ocmock',
2514             'chrome',
2515           ],
2516           'sources': [ '<@(chrome_unit_tests_mac_sources)' ],
2517           'sources!': [
2518             # This tests the function GetSpellCheckLanguages which is not used
2519             # on Mac.
2520             'browser/spellchecker/spellcheck_service_unittest.cc',
2521             'browser/ui/tests/ui_gfx_image_unittest.cc',
2522             # This tests Chrome's spellchecker which Mac doesn't use.
2523             'renderer/spellchecker/spellcheck_multilingual_unittest.cc',
2524             'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc',
2525             'tools/convert_dict/convert_dict_unittest.cc',
2526           ],
2527           # TODO(mark): We really want this for all non-static library targets,
2528           # but when we tried to pull it up to the common.gypi level, it broke
2529           # other things like the ui and startup tests. *shrug*
2530           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2531         }],
2532         ['OS!="mac" and OS!="ios"', {
2533           'dependencies': [
2534             '../third_party/hunspell/hunspell.gyp:hunspell',
2535             'chrome_resources.gyp:packed_extra_resources',
2536             'chrome_resources.gyp:packed_resources',
2537             'tools/convert_dict/convert_dict.gyp:convert_dict_lib',
2538           ],
2539         }],
2540         ['OS=="win" or OS=="mac"', {
2541           'sources': [ '<@(chrome_unit_tests_win_mac_sources)' ],
2542         }],
2543         ['OS=="win" or OS=="mac" or chromeos==1', {
2544           'sources': [
2545             'common/extensions/api/networking_private/networking_private_crypto_unittest.cc',
2546           ],
2547         }],
2548         ['enable_rlz_support==1', {
2549           'sources': [
2550             'browser/rlz/chrome_rlz_tracker_delegate_unittest.cc',
2551           ],
2552           'dependencies': [
2553             '../components/components.gyp:rlz',
2554             '../rlz/rlz.gyp:test_support_rlz',
2555             'browser_rlz',
2556           ],
2557         }],
2558         ['OS=="win" and component!="shared_library"', {
2559           # Unit_tests pdb files can get too big when incremental linking is
2560           # on, disabling for this target.
2561           'configurations': {
2562             'Debug': {
2563               'msvs_settings': {
2564                 'VCLinkerTool': {
2565                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2566                 },
2567               },
2568             },
2569           },
2570         }],
2571         ['OS=="win"', {
2572           'dependencies': [
2573             'browser/safe_browsing/incident_reporting/verifier_test/verifier_unittest.gyp:verifier_test_dll_1',
2574             'browser/safe_browsing/incident_reporting/verifier_test/verifier_unittest.gyp:verifier_test_dll_2',
2575             'chrome_version_resources',
2576             'installer_util_strings',
2577             '../chrome_elf/chrome_elf.gyp:blacklist_test_dll_1',
2578             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
2579             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
2580           ],
2581           'conditions': [
2582             ['win_use_allocator_shim==1', {
2583               'dependencies': [
2584                 '<(allocator_target)',
2585               ],
2586             }],
2587             ['branding!="Chrome"', {
2588               'sources!': [
2589                 'browser/google/google_update_win_unittest.cc',
2590               ],
2591             }],
2592           ],
2593           'include_dirs': [
2594             '<(DEPTH)/third_party/wtl/include',
2595           ],
2596           'sources': [
2597             '<@(chrome_unit_tests_win_sources)',
2598             '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_strings.rc',
2599             # TODO:  It would be nice to have these pulled in
2600             # automatically from direct_dependent_settings in
2601             # their various targets (net.gyp:net_resources, etc.),
2602             # but that causes errors in other targets when
2603             # resulting .res files get referenced multiple times.
2604             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2605             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2606           ],
2607           'link_settings': {
2608             'libraries': [
2609               '-lcomsupp.lib',
2610               '-loleacc.lib',
2611               '-lrpcrt4.lib',
2612               '-lurlmon.lib',
2613               '-lwinmm.lib',
2614             ],
2615           },
2616         }],
2617         ['OS=="android" or OS=="ios"', {
2618           'sources!': [
2619             'browser/devtools/device/webrtc/devtools_bridge_instances_request_unittest.cc',
2620             'browser/ui/sync/sync_promo_ui_unittest.cc',
2621           ],
2622         }, { # 'OS!="android" and OS!="ios"'
2623           'dependencies': [
2624             'tools/profile_reset/jtl_compiler.gyp:jtl_compiler_lib',
2625           ],
2626         }],
2627         ['OS != "android" and chromeos == 0', {
2628           'sources': [ '<@(chrome_unit_tests_non_android_or_chromeos_sources)' ],
2629         }],
2630         ['OS=="android"', {
2631           'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ],
2632           'dependencies!': [
2633             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
2634           ],
2635           'sources!': [
2636             'renderer/spellchecker/spellcheck_multilingual_unittest.cc',
2637             'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc',
2638             'renderer/spellchecker/spellcheck_unittest.cc',
2639           ],
2640           'ldflags': [
2641             # Some android targets still depend on --gc-sections to link.
2642             # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
2643             '-Wl,--gc-sections',
2644           ],
2645           'dependencies': [
2646             '../testing/android/native_test.gyp:native_test_native_code',
2647           ],
2648         }, {  # Not Android.
2649           'sources': [ '<@(chrome_unit_tests_non_android_sources)' ],
2650           'sources!': [
2651             'browser/download/download_request_infobar_delegate_unittest.cc',
2652           ],
2653         }],
2654         ['enable_themes == 1', {
2655           'sources': [ '<@(chrome_unit_tests_themes_sources)' ],
2656         }],
2657         ['toolkit_views==1', {
2658           'dependencies': [
2659             '../components/components.gyp:web_modal_test_support',
2660             '../ui/views/views.gyp:views',
2661             '../ui/views/views.gyp:views_test_support',
2662           ],
2663           'sources': [ '<@(chrome_unit_tests_views_sources)' ],
2664           'conditions': [
2665             ['chromeos == 0 and (OS != "mac" or mac_views_browser == 1)', {
2666               'sources': [ '<@(chrome_unit_tests_views_non_chromeos_sources)' ],
2667             }],
2668             ['OS != "mac"', {
2669               'sources': [ '<@(chrome_unit_tests_views_non_mac_sources)' ],
2670             }],
2671           ],
2672         }],
2673         ['OS != "android" and (use_nss_certs == 1 or use_openssl_certs == 1)', {
2674           'sources': [
2675             'common/net/x509_certificate_model_unittest.cc',
2676           ],
2677         }],
2678         ['enable_supervised_users == 1', {
2679           'sources': [ '<@(chrome_unit_tests_supervised_user_sources)' ],
2680         }],
2681         ['enable_supervised_users == 1 and OS != "android" and OS != "ios"', {
2682           'sources': [ '<@(chrome_unit_tests_supervised_user_legacy_sources)' ],
2683         }],
2684         ['safe_browsing==1 and enable_extensions==1', {
2685           'sources': [
2686             'browser/extensions/blacklist_unittest.cc',
2687           ],
2688         }],
2689         ['cld_version==1', {
2690           'defines': [
2691             'CLD_WINDOWS',
2692           ],
2693           'direct_dependent_settings': {
2694             'defines': [
2695               'CLD_WINDOWS',
2696             ],
2697           },
2698           'sources': [
2699             '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest_small.cc',
2700           ],
2701           'dependencies': [
2702             '../third_party/cld/cld.gyp:cld',
2703           ],
2704         }],
2705         ['enable_app_list==1', {
2706           'sources': [ '<@(chrome_unit_tests_app_list_sources)' ],
2707           'dependencies': [
2708             '../ui/app_list/app_list.gyp:app_list_test_support',
2709           ],
2710         }],
2711         ['enable_app_list==1 and chromeos==1', {
2712           'sources': [ '<@(chrome_unit_tests_app_list_chromeos_sources)' ],
2713         }],
2714         ['enable_plugin_installation==0', {
2715           'sources!': [
2716             'browser/plugins/plugin_installer_unittest.cc',
2717           ],
2718         }],
2719         ['safe_browsing==1 and OS=="mac"', {
2720           'actions': [
2721             {
2722               'action_name': 'Generate safe_browsing DMG test data',
2723               'variables': {
2724                 'generate_test_data': 'test/data/safe_browsing/dmg/generate_test_data.sh',
2725               },
2726               'inputs': [
2727                 '<(generate_test_data)',
2728                 'test/data/safe_browsing/dmg/make_hfs.sh',
2729                 'test/data/safe_browsing/mach_o/executablefat',
2730                 'test/data/safe_browsing/mach_o/lib64.dylib',
2731               ],
2732               'outputs': [
2733                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDBZ_GPTSPUD.dmg',
2734                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDBZ_NONE.dmg',
2735                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDBZ_SPUD.dmg',
2736                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDCO_GPTSPUD.dmg',
2737                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDCO_NONE.dmg',
2738                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDCO_SPUD.dmg',
2739                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDRO_GPTSPUD.dmg',
2740                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDRO_NONE.dmg',
2741                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDRO_SPUD.dmg',
2742                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDRW_GPTSPUD.dmg',
2743                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDRW_NONE.dmg',
2744                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDRW_SPUD.dmg',
2745                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDSP_GPTSPUD.sparseimage',
2746                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDSP_NONE.sparseimage',
2747                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDSP_SPUD.sparseimage',
2748                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDTO_GPTSPUD.cdr',
2749                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDTO_NONE.cdr',
2750                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDTO_SPUD.cdr',
2751                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDZO_GPTSPUD.dmg',
2752                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDZO_NONE.dmg',
2753                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UDZO_SPUD.dmg',
2754                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UFBI_GPTSPUD.dmg',
2755                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UFBI_NONE.dmg',
2756                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/dmg_UFBI_SPUD.dmg',
2757                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/hfs_plus.img',
2758                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/hfsx_case_sensitive.img',
2759                 '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/mach_o_in_dmg.dmg',
2760               ],
2761               'action': [ '<(generate_test_data)', '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg' ],
2762             },
2763           ],
2764         }],
2765         # Adding more conditions? Don't forget to update the GN build.
2766       ],
2767     },
2768     {
2769       # GN: //chrome/test:chrome_app_unittests
2770       'target_name': 'chrome_app_unittests',
2771       'type': 'executable',
2772       'dependencies': [
2773         # unit tests should only depend on
2774         # 1) everything that the chrome binaries depend on:
2775         '<@(chromium_browser_dependencies)',
2776         '<@(chromium_child_dependencies)',
2777         '../components/components.gyp:crash_keys',
2778         '../content/content.gyp:content_app_both',
2779         # 2) test-specific support libraries:
2780         '../base/base.gyp:run_all_unittests',
2781         '../testing/gmock.gyp:gmock',
2782         '../testing/gtest.gyp:gtest',
2783         'test_support_common',
2784       ],
2785       'include_dirs': [
2786         '..',
2787       ],
2788       'sources': [
2789         'app/chrome_watcher_client_unittest_win.cc',
2790         'app/chrome_watcher_client_win.cc',
2791         'app/chrome_watcher_command_line_unittest_win.cc',
2792         'app/chrome_watcher_command_line_win.cc',
2793         'app/delay_load_hook_unittest_win.cc',
2794         'app/delay_load_hook_win.cc',
2795         'app/delay_load_hook_win.h',
2796         'app/signature_validator_win.cc',
2797         'app/signature_validator_win.h',
2798         'app/signature_validator_win_unittest.cc',
2799         'common/crash_keys.cc',
2800         'common/crash_keys.h',
2801       ],
2802       'conditions': [
2803         ['OS=="mac" or OS=="ios"', {
2804           'include_dirs': [
2805             '<(DEPTH)/breakpad/src',
2806           ],
2807         }],
2808         ['OS=="mac"', {
2809           # TODO(mark): We really want this for all non-static library targets,
2810           # but when we tried to pull it up to the common.gypi level, it broke
2811           # other things like the ui and startup tests. *shrug*
2812           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2813         }],
2814         ['OS=="win"', {
2815           'dependencies': [
2816             # breakpad is currently only tested on Windows.
2817             '../breakpad/breakpad.gyp:*',
2818             '../components/components.gyp:crash_component',
2819           ],
2820           'conditions': [
2821             ['win_use_allocator_shim==1', {
2822               'dependencies': [
2823                 '<(allocator_target)',
2824               ],
2825             }],
2826           ],
2827           'msvs_settings': {
2828             'VCLinkerTool': {
2829               'AdditionalDependencies': [ 'wintrust.lib' ],
2830             },
2831           },
2832         }],
2833       ],
2834     },
2835     {
2836       # Protobuf compiler / generator for IPC protobuf message tests.
2838       # GN version: //chrome/test:test_proto
2839       'target_name': 'ipc_protobuf_message_test_proto',
2840       'type': 'static_library',
2841       'sources': [
2842         'common/safe_browsing/ipc_protobuf_message_test.proto'
2843       ],
2844       'variables': {
2845         'proto_in_dir': 'common/safe_browsing',
2846         'proto_out_dir': 'chrome/common/safe_browsing',
2847       },
2848       'includes': [ '../build/protoc.gypi' ],
2849     },
2850   ],
2852   'conditions': [
2853     ['OS == "android"', {
2854       'targets': [
2855         {
2856           'target_name': 'unit_tests_java',
2857           'type': 'none',
2858           'variables': {
2859             'java_in_dir': 'test/android/unit_tests_apk',
2860           },
2861           'dependencies': [
2862             'chrome_java',
2863           ],
2864           'includes': [ '../build/java.gypi' ],
2865         },
2866         {
2867           'target_name': 'unit_tests_apk',
2868           'type': 'none',
2869           'dependencies': [
2870             'chrome_java',
2871             'unit_tests_java',
2872             'unit_tests',
2873           ],
2874           'variables': {
2875             'test_suite_name': 'unit_tests',
2876             'isolate_file': 'unit_tests.isolate',
2877             'android_manifest_path': 'test/android/unit_tests_apk/AndroidManifest.xml',
2878             'conditions': [
2879               ['v8_use_external_startup_data==1', {
2880                 'asset_location': '<(PRODUCT_DIR)/unit_tests_apk/assets',
2881                 'additional_input_paths': [
2882                   '<(PRODUCT_DIR)/unit_tests_apk/assets/natives_blob.bin',
2883                   '<(PRODUCT_DIR)/unit_tests_apk/assets/snapshot_blob.bin',
2884                 ],
2885                 'inputs': [
2886                   '<(PRODUCT_DIR)/natives_blob.bin',
2887                   '<(PRODUCT_DIR)/snapshot_blob.bin',
2888                 ],
2889               }],
2890             ],
2891           },
2892           'conditions': [
2893             ['v8_use_external_startup_data==1', {
2894               'dependencies': [
2895                 '../v8/tools/gyp/v8.gyp:v8_external_snapshot',
2896               ],
2897               'copies': [
2898                 {
2899                 'destination': '<(asset_location)',
2900                   'files': [
2901                     '<(PRODUCT_DIR)/natives_blob.bin',
2902                     '<(PRODUCT_DIR)/snapshot_blob.bin',
2903                   ],
2904                 },
2905               ],
2906             }],
2907           ],
2908           'includes': [ '../build/apk_test.gypi' ],
2909         },
2910       ],
2911     }],
2912     ['test_isolation_mode != "noop"', {
2913       'targets': [
2914         {
2915           'target_name': 'unit_tests_run',
2916           'type': 'none',
2917           'dependencies': [
2918             'unit_tests',
2919           ],
2920           'includes': [
2921             '../build/isolate.gypi',
2922           ],
2923           'sources': [
2924             'unit_tests.isolate',
2925           ],
2926           'conditions': [
2927             ['use_x11 == 1', {
2928               'dependencies': [
2929                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2930               ],
2931             }],
2932           ],
2933         },
2934       ],
2935     }],
2936   ],  # 'conditions'