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