Version 7 golden file for safe-browsing test.
[chromium-blink-merge.git] / chrome / chrome_tests_unit.gypi
blob1f8e9e780f649c766ce9a3990c768a818bce9bbf
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   'targets': [
6     {
7       # This target contains mocks and test utilities that don't belong in
8       # production libraries but are used by more than one test executable.
9       'target_name': 'test_support_common',
10       'type': 'static_library',
11       'dependencies': [
12         # NOTE: New dependencies should generally be added in the OS!="ios"
13         # dependencies block below, rather than here.
14         'browser',
15         'chrome_resources.gyp:chrome_resources',
16         'chrome_resources.gyp:chrome_strings',
17         'chrome_resources.gyp:theme_resources',
18         'common',
19         '../base/base.gyp:base_prefs_test_support',
20         '../base/base.gyp:test_support_base',
21         '../components/components.gyp:password_manager_core_browser_test_support',
22         '../components/components.gyp:sync_driver_test_support',
23         '../content/content.gyp:content_app_both',
24         '../content/content_shell_and_tests.gyp:test_support_content',
25         '../net/net.gyp:net',
26         '../net/net.gyp:net_test_support',
27         '../skia/skia.gyp:skia',
28         '../sql/sql.gyp:sql',
29         '../sql/sql.gyp:test_support_sql',
30         '../sync/sync.gyp:sync',
31         '../testing/gmock.gyp:gmock',
32         '../testing/gtest.gyp:gtest',
33         '../third_party/zlib/zlib.gyp:zlib',
34         '../ui/message_center/message_center.gyp:message_center_test_support',
35       ],
36       'export_dependent_settings': [
37         '../base/base.gyp:test_support_base',
38         '../content/content_shell_and_tests.gyp:test_support_content',
39       ],
40       'include_dirs': [
41         '..',
42       ],
43       'sources': [
44         'app/chrome_main_delegate.cc',
45         'app/chrome_main_delegate.h',
46         'browser/android/bookmarks/partner_bookmarks_shim_unittest.cc',
47         'browser/android/mock_google_location_settings_helper.cc',
48         'browser/android/mock_google_location_settings_helper.h',
49         'browser/bookmarks/bookmark_test_helpers.cc',
50         'browser/bookmarks/bookmark_test_helpers.h',
51         'browser/browsing_data/mock_browsing_data_appcache_helper.cc',
52         'browser/browsing_data/mock_browsing_data_appcache_helper.h',
53         'browser/browsing_data/mock_browsing_data_cookie_helper.cc',
54         'browser/browsing_data/mock_browsing_data_cookie_helper.h',
55         'browser/browsing_data/mock_browsing_data_database_helper.cc',
56         'browser/browsing_data/mock_browsing_data_database_helper.h',
57         'browser/browsing_data/mock_browsing_data_file_system_helper.cc',
58         'browser/browsing_data/mock_browsing_data_file_system_helper.h',
59         'browser/browsing_data/mock_browsing_data_flash_lso_helper.cc',
60         'browser/browsing_data/mock_browsing_data_flash_lso_helper.h',
61         'browser/browsing_data/mock_browsing_data_indexed_db_helper.cc',
62         'browser/browsing_data/mock_browsing_data_indexed_db_helper.h',
63         'browser/browsing_data/mock_browsing_data_local_storage_helper.cc',
64         'browser/browsing_data/mock_browsing_data_local_storage_helper.h',
65         'browser/browsing_data/mock_browsing_data_quota_helper.cc',
66         'browser/browsing_data/mock_browsing_data_quota_helper.h',
67         'browser/browsing_data/mock_browsing_data_server_bound_cert_helper.cc',
68         'browser/browsing_data/mock_browsing_data_server_bound_cert_helper.h',
69         'browser/captive_portal/testing_utils.cc',
70         'browser/captive_portal/testing_utils.h',
71         'browser/chromeos/input_method/mock_candidate_window_controller.cc',
72         'browser/chromeos/input_method/mock_candidate_window_controller.h',
73         'browser/chromeos/input_method/mock_input_method_engine.cc',
74         'browser/chromeos/input_method/mock_input_method_engine.h',
75         'browser/chromeos/input_method/mock_input_method_manager.cc',
76         'browser/chromeos/input_method/mock_input_method_manager.h',
77         'browser/chromeos/login/fake_login_utils.cc',
78         'browser/chromeos/login/fake_login_utils.h',
79         'browser/chromeos/login/fake_supervised_user_manager.cc',
80         'browser/chromeos/login/fake_supervised_user_manager.h',
81         'browser/chromeos/login/fake_user_manager.cc',
82         'browser/chromeos/login/fake_user_manager.h',
83         'browser/chromeos/login/mock_authenticator.cc',
84         'browser/chromeos/login/mock_authenticator.h',
85         'browser/chromeos/login/mock_login_display.cc',
86         'browser/chromeos/login/mock_login_display.h',
87         'browser/chromeos/login/mock_login_display_host.cc',
88         'browser/chromeos/login/mock_login_display_host.h',
89         'browser/chromeos/login/mock_login_status_consumer.cc',
90         'browser/chromeos/login/mock_login_status_consumer.h',
91         'browser/chromeos/login/mock_login_utils.cc',
92         'browser/chromeos/login/mock_login_utils.h',
93         'browser/chromeos/login/mock_url_fetchers.cc',
94         'browser/chromeos/login/mock_url_fetchers.h',
95         'browser/chromeos/login/mock_user_image_manager.cc',
96         'browser/chromeos/login/mock_user_image_manager.h',
97         'browser/chromeos/login/mock_user_manager.cc',
98         'browser/chromeos/login/mock_user_manager.h',
99         'browser/chromeos/login/test/oobe_screen_waiter.cc',
100         'browser/chromeos/login/test/oobe_screen_waiter.h',
101         'browser/chromeos/login/test/js_checker.cc',
102         'browser/chromeos/login/test/js_checker.h',
103         'browser/chromeos/net/network_portal_detector_test_utils.cc',
104         'browser/chromeos/net/network_portal_detector_test_utils.h',
105         'browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc',
106         'browser/chromeos/policy/cloud_external_data_manager_base_test_util.h',
107         'browser/chromeos/policy/device_policy_builder.cc',
108         'browser/chromeos/policy/device_policy_builder.h',
109         'browser/chromeos/policy/stub_enterprise_install_attributes.cc',
110         'browser/chromeos/policy/stub_enterprise_install_attributes.h',
111         'browser/chromeos/settings/device_settings_test_helper.cc',
112         'browser/chromeos/settings/device_settings_test_helper.h',
113         'browser/chromeos/settings/mock_owner_key_util.cc',
114         'browser/chromeos/settings/mock_owner_key_util.h',
115         'browser/chromeos/system/fake_input_device_settings.cc',
116         'browser/chromeos/system/fake_input_device_settings.h',
117         # The only thing used from browser is Browser::Type.
118         'browser/download/download_test_file_activity_observer.cc',
119         'browser/download/download_test_file_activity_observer.h',
120         'browser/download/test_download_shelf.cc',
121         'browser/download/test_download_shelf.h',
122         'browser/drive/dummy_drive_service.cc',
123         'browser/drive/dummy_drive_service.h',
124         'browser/drive/fake_drive_service.cc',
125         'browser/drive/fake_drive_service.h',
126         'browser/extensions/api/messaging/native_messaging_test_util.cc',
127         'browser/extensions/api/messaging/native_messaging_test_util.h',
128         'browser/extensions/extension_notification_observer.cc',
129         'browser/extensions/extension_notification_observer.h',
130         'browser/extensions/extension_test_message_listener.cc',
131         'browser/extensions/extension_test_message_listener.h',
132         'browser/extensions/fake_safe_browsing_database_manager.cc',
133         'browser/extensions/fake_safe_browsing_database_manager.h',
134         'browser/extensions/mock_extension_special_storage_policy.cc',
135         'browser/extensions/mock_extension_special_storage_policy.h',
136         'browser/extensions/test_blacklist.cc',
137         'browser/extensions/test_blacklist.h',
138         'browser/extensions/test_blacklist_state_fetcher.cc',
139         'browser/extensions/test_blacklist_state_fetcher.h',
140         'browser/extensions/test_extension_environment.cc',
141         'browser/extensions/test_extension_environment.h',
142         'browser/extensions/test_extension_prefs.cc',
143         'browser/extensions/test_extension_prefs.h',
144         'browser/extensions/test_extension_service.cc',
145         'browser/extensions/test_extension_service.h',
146         'browser/extensions/test_extension_system.cc',
147         'browser/extensions/test_extension_system.h',
148         'browser/invalidation/fake_invalidation_service.cc',
149         'browser/invalidation/fake_invalidation_service.h',
150         'browser/invalidation/p2p_invalidation_service.cc',
151         'browser/invalidation/p2p_invalidation_service.h',
152         'browser/media/fake_desktop_media_list.cc',
153         'browser/media/fake_desktop_media_list.h',
154         'browser/media_galleries/media_galleries_test_util.cc',
155         'browser/media_galleries/media_galleries_test_util.h',
156         'browser/net/dns_probe_test_util.cc',
157         'browser/net/dns_probe_test_util.h',
158         'browser/net/url_request_mock_util.cc',
159         'browser/net/url_request_mock_util.h',
160         'browser/notifications/notification_test_util.cc',
161         'browser/notifications/notification_test_util.h',
162         'browser/password_manager/mock_password_store_service.cc',
163         'browser/password_manager/mock_password_store_service.h',
164         'browser/password_manager/null_password_store_service.cc',
165         'browser/password_manager/null_password_store_service.h',
166         'browser/password_manager/test_password_store_service.cc',
167         'browser/password_manager/test_password_store_service.h',
168         'browser/policy/test/local_policy_test_server.cc',
169         'browser/policy/test/local_policy_test_server.h',
170         'browser/prefs/pref_service_mock_factory.cc',
171         'browser/prefs/pref_service_mock_factory.h',
172         'browser/profile_resetter/profile_resetter_test_base.cc',
173         'browser/profile_resetter/profile_resetter_test_base.h',
174         'browser/search_engines/template_url_service_test_util.cc',
175         'browser/search_engines/template_url_service_test_util.h',
176         'browser/sessions/session_service_test_helper.cc',
177         'browser/sessions/session_service_test_helper.h',
178         'browser/signin/fake_profile_oauth2_token_service.cc',
179         'browser/signin/fake_profile_oauth2_token_service.h',
180         'browser/signin/fake_profile_oauth2_token_service_builder.cc',
181         'browser/signin/fake_profile_oauth2_token_service_builder.h',
182         'browser/signin/fake_signin_manager.cc',
183         'browser/signin/fake_signin_manager.h',
184         'browser/ssl/ssl_client_auth_requestor_mock.cc',
185         'browser/ssl/ssl_client_auth_requestor_mock.h',
186         'browser/sync/profile_sync_service_mock.cc',
187         'browser/sync/profile_sync_service_mock.h',
188         'browser/ui/app_list/test/chrome_app_list_test_support.cc',
189         'browser/ui/app_list/test/chrome_app_list_test_support.h',
190         'browser/ui/browser.h',
191         'browser/ui/cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm',
192         'browser/ui/cocoa/run_loop_testing.h',
193         'browser/ui/cocoa/run_loop_testing.mm',
194         'browser/ui/find_bar/find_bar_host_unittest_util.h',
195         'browser/ui/fullscreen/fullscreen_controller_state_test.cc',
196         'browser/ui/fullscreen/fullscreen_controller_state_test.h',
197         'browser/ui/fullscreen/fullscreen_controller_state_tests.h',
198         'browser/ui/fullscreen/fullscreen_controller_test.cc',
199         'browser/ui/fullscreen/fullscreen_controller_test.h',
200         'browser/ui/gtk/find_bar_host_unittest_util_gtk.cc',
201         'browser/ui/test/test_confirm_bubble_model.cc',
202         'browser/ui/test/test_confirm_bubble_model.h',
203         'browser/ui/views/find_bar_host_unittest_util_views.cc',
204         'browser/ui/website_settings/mock_permission_bubble_request.cc',
205         'browser/ui/website_settings/mock_permission_bubble_request.h',
206         'common/extensions/extension_test_util.cc',
207         'common/extensions/extension_test_util.h',
208         'renderer/chrome_mock_render_thread.cc',
209         'renderer/chrome_mock_render_thread.h',
210         'renderer/media/mock_webrtc_logging_message_filter.cc',
211         'renderer/media/mock_webrtc_logging_message_filter.h',
212         'renderer/mock_printer.cc',
213         'renderer/mock_printer.h',
214         'renderer/safe_browsing/mock_feature_extractor_clock.cc',
215         'renderer/safe_browsing/mock_feature_extractor_clock.h',
216         'renderer/safe_browsing/test_utils.cc',
217         'renderer/safe_browsing/test_utils.h',
218         'test/automation/automation_handle_tracker.cc',
219         'test/automation/automation_handle_tracker.h',
220         'test/automation/automation_proxy.cc',
221         'test/automation/automation_proxy.h',
222         'test/automation/browser_proxy.cc',
223         'test/automation/browser_proxy.h',
224         'test/automation/tab_proxy.cc',
225         'test/automation/tab_proxy.h',
226         'test/automation/window_proxy.cc',
227         'test/automation/window_proxy.h',
228         'test/base/chrome_process_util.cc',
229         'test/base/chrome_process_util.h',
230         'test/base/chrome_process_util_mac.cc',
231         'test/base/chrome_render_view_host_test_harness.cc',
232         'test/base/chrome_render_view_host_test_harness.h',
233         'test/base/chrome_test_launcher.cc',
234         'test/base/chrome_test_launcher.h',
235         'test/base/chrome_test_suite.cc',
236         'test/base/chrome_test_suite.h',
237         'test/base/chrome_unit_test_suite.cc',
238         'test/base/chrome_unit_test_suite.h',
239         'test/base/find_in_page_observer.cc',
240         'test/base/find_in_page_observer.h',
241         'test/base/history_index_restore_observer.cc',
242         'test/base/history_index_restore_observer.h',
243         'test/base/in_process_browser_test.cc',
244         'test/base/in_process_browser_test.h',
245         'test/base/javascript_test_observer.cc',
246         'test/base/javascript_test_observer.h',
247         'test/base/module_system_test.cc',
248         'test/base/module_system_test.h',
249         'test/base/profile_mock.cc',
250         'test/base/profile_mock.h',
251         'test/base/scoped_browser_locale.cc',
252         'test/base/scoped_browser_locale.h',
253         'test/base/scoped_testing_local_state.cc',
254         'test/base/scoped_testing_local_state.h',
255         'test/base/test_browser_window.cc',
256         'test/base/test_browser_window.h',
257         'test/base/test_launcher_utils.cc',
258         'test/base/test_launcher_utils.h',
259         'test/base/test_switches.cc',
260         'test/base/test_switches.h',
261         'test/base/testing_browser_process.cc',
262         'test/base/testing_browser_process.h',
263         'test/base/testing_browser_process_platform_part.h',
264         'test/base/testing_browser_process_platform_part.cc',
265         'test/base/testing_io_thread_state.cc',
266         'test/base/testing_io_thread_state.h',
267         'test/base/testing_pref_service_syncable.cc',
268         'test/base/testing_pref_service_syncable.h',
269         'test/base/testing_profile.cc',
270         'test/base/testing_profile.h',
271         'test/base/testing_profile_manager.cc',
272         'test/base/testing_profile_manager.h',
273         'test/base/tracing.cc',
274         'test/base/tracing.h',
275         'test/base/ui_test_utils.cc',
276         'test/base/ui_test_utils.h',
277         'test/base/uma_histogram_helper.cc',
278         'test/base/uma_histogram_helper.h',
279         'test/logging/win/file_logger.cc',
280         'test/logging/win/file_logger.h',
281         'test/logging/win/log_file_printer.cc',
282         'test/logging/win/log_file_printer.h',
283         'test/logging/win/log_file_reader.cc',
284         'test/logging/win/log_file_reader.h',
285         'test/logging/win/mof_data_parser.cc',
286         'test/logging/win/mof_data_parser.h',
287         'test/logging/win/test_log_collector.cc',
288         'test/logging/win/test_log_collector.h',
289         'test/ppapi/ppapi_test.cc',
290         'test/ppapi/ppapi_test.h',
291         '../ui/gfx/image/image_unittest_util.cc',
292         '../ui/gfx/image/image_unittest_util.h',
293         '../webkit/browser/quota/mock_quota_manager.cc',
294         '../webkit/browser/quota/mock_quota_manager.h',
295         '../webkit/browser/quota/mock_quota_manager_proxy.cc',
296         '../webkit/browser/quota/mock_quota_manager_proxy.h',
297         '../webkit/browser/quota/mock_special_storage_policy.cc',
298         '../webkit/browser/quota/mock_special_storage_policy.h',
299       ],
300       'conditions': [
301         ['OS!="ios"', {
302           'dependencies': [
303             'common/extensions/api/api.gyp:chrome_api',
304             'plugin',
305             'renderer',
306             'utility',
307             '../content/content.gyp:content_gpu',
308             '../content/content.gyp:content_plugin',
309             '../content/content.gyp:content_ppapi_plugin',
310             '../content/content.gyp:content_renderer',
311             '../content/content.gyp:content_utility',
312             '../content/content.gyp:content_worker',
313             '../components/components.gyp:autofill_core_test_support',
314             '../components/components.gyp:sessions_test_support',
315             '../components/components.gyp:storage_monitor_test_support',
316             '../extensions/extensions.gyp:extensions_test_support',
317             '../google_apis/google_apis.gyp:google_apis_test_support',
318             '../ipc/ipc.gyp:test_support_ipc',
319             '../media/media.gyp:media_test_support',
320             '../ppapi/ppapi_internal.gyp:ppapi_shared',
321             '../sql/sql.gyp:test_support_sql',
322             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
323             '../webkit/child/webkit_child.gyp:webkit_child',
324           ],
325           'export_dependent_settings': [
326             'renderer',
327           ],
328         }, {  # OS=="ios"
329           'sources/': [
330             # Exclude everything but iOS-specific files.
331             ['exclude', '\\.(cc|mm)$'],
332             ['include', '_ios\\.(cc|mm)$'],
333             ['include', '(^|/)ios/'],
334             # TODO(ios): Add files here as they are updated to compile on iOS.
335             ['include', '^test/base/chrome_test_suite\\.cc$'],
336             ['include', '^test/base/chrome_unit_test_suite\\.cc$'],
337             ['include', '^test/base/testing_browser_process'],
338           ],
339         }],
340         ['chromeos==0', {
341           'sources/': [
342             ['exclude', '^browser/chromeos'],
343           ],
344         }, {  # chromeos==1
345           'dependencies': [
346             '../build/linux/system.gyp:dbus',
347             '../chromeos/chromeos.gyp:chromeos_test_support',
348           ],
349         }],
350         ['configuration_policy==0', {
351           'sources/': [
352             ['exclude', '^browser/policy'],
353             ['exclude', 'browser/net/disk_cache_dir_policy_handler_unittest.cc'],
354           ],
355         }],
356         ['configuration_policy==1', {
357           'dependencies': [
358             '../components/components.gyp:policy_component_test_support',
359             '../components/components.gyp:policy_test_support',
360           ],
361           'export_dependent_settings': [
362             '../components/components.gyp:policy_component_test_support',
363             '../components/components.gyp:policy_test_support',
364           ],
365         }],
366         ['safe_browsing!=1', {
367           'sources/': [
368             ['exclude', '^browser/extensions/blacklist_unittest.cc'],
369             ['exclude', '^browser/extensions/fake_safe_browsing_database_manager.cc'],
370             ['exclude', '^browser/extensions/fake_safe_browsing_database_manager.h'],
371           ],
372         }],
373         ['toolkit_uses_gtk == 1', {
374           'dependencies': [
375             '../build/linux/system.gyp:gtk',
376           ],
377         }],
378         ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)', {
379           'dependencies': [
380             '../build/linux/system.gyp:ssl',
381           ],
382         }],
383         ['enable_printing==1', {
384           'dependencies': [
385             'service',
386           ],
387         }],
388         ['enable_printing==0', {
389           'sources/': [
390             ['exclude', '^renderer/mock_printer.cc'],
391             ['exclude', '^renderer/mock_printer.h'],
392           ],
393         }],
394         ['OS=="android"', {
395           '!dependencies': [
396             '../components/components.gyp:storage_monitor_test_support',
397           ],
398           'sources/': [
399             ['exclude', '^browser/media_galleries/'],
400             ['exclude', '^browser/extensions/api/messaging/native_messaging_'],
401           ],
402         }],
403         ['OS=="win"', {
404           'dependencies': [
405             '../ui/snapshot/snapshot.gyp:snapshot_test_support',
406           ],
407           'include_dirs': [
408             '<(DEPTH)/third_party/wtl/include',
409           ],
410           'conditions': [
411             ['use_aura==1', {
412               'dependencies': [
413                 '../win8/win8.gyp:test_registrar_constants',
414                 '../win8/win8.gyp:test_support_win8',
415               ],
416             }],
417           ],
418         }],
419         ['OS=="win" or OS=="mac"', {
420           'sources': [
421             'common/extensions/api/networking_private/networking_private_crypto_unittest.cc',
422             'common/media_galleries/picasa_test_util.cc',
423             'common/media_galleries/picasa_test_util.cc',
424             'common/media_galleries/pmp_test_util.cc',
425             'common/media_galleries/pmp_test_util.h',
426           ],
427         }],
428         ['OS=="mac"', {
429           'dependencies': [
430             '../breakpad/breakpad.gyp:breakpad',
431             '../components/components.gyp:breakpad_component',
432           ],
433           'sources': [
434             'app/chrome_breakpad_client.cc',
435             'app/chrome_breakpad_client_mac.mm',
436             'app/chrome_main_mac.mm',
437           ],
438         }],
439         ['enable_mdns == 1', {
440             'sources': [
441               'browser/local_discovery/test_service_discovery_client.cc',
442               'browser/local_discovery/test_service_discovery_client.h',
443             ]
444         }],
445         ['enable_app_list==0', {
446           'sources/': [
447             ['exclude', '^browser/ui/app_list/'],
448           ],
449         }],
450         ['enable_webrtc==0', {
451           'sources!': [
452             'renderer/media/mock_webrtc_logging_message_filter.cc',
453             'renderer/media/mock_webrtc_logging_message_filter.h',
454           ],
455         }],
456       ],
457     },
458     {
459       'target_name': 'test_support_unit',
460       'type': 'static_library',
461       'dependencies': [
462         'chrome_resources.gyp:chrome_resources',
463         'chrome_resources.gyp:chrome_strings',
464         'browser',
465         'common',
466         'test_support_common',
467         '../base/base.gyp:base',
468         '../skia/skia.gyp:skia',
469         '../sync/sync.gyp:sync',
470         '../testing/gmock.gyp:gmock',
471         '../testing/gtest.gyp:gtest',
472       ],
473       'include_dirs': [
474         '..',
475       ],
476       'sources': [
477         'browser/sync/glue/session_sync_test_helper.cc',
478         'browser/sync/glue/session_sync_test_helper.h',
479         'test/base/run_all_unittests.cc',
480       ],
481       'conditions': [
482         ['toolkit_uses_gtk == 1', {
483           'dependencies': [
484             # Needed for the following #include chain:
485             #   test/base/run_all_unittests.cc
486             #   test/base/chrome_test_suite.h
487             #   gtk/gtk.h
488             '../build/linux/system.gyp:gtk',
489           ],
490         }],
491       ],
492     },
493     {
494       'target_name': 'unit_tests',
495       'type': '<(gtest_target_type)',
496       'dependencies': [
497         # NOTE: New dependencies should generally be added in the OS!="ios"
498         # dependencies block below, rather than here.
499         # Unit tests should only depend on:
500         # 1) everything that the chrome binaries depend on:
501         '<@(chromium_browser_dependencies)',
502         '<@(chromium_child_dependencies)',
503         # 2) test-specific support libraries:
504         '../base/base.gyp:test_support_base',
505         '../components/components_resources.gyp:components_resources',
506         '../content/content.gyp:content_app_both',
507         '../net/net.gyp:net',
508         '../net/net.gyp:net_test_support',
509         '../rlz/rlz.gyp:test_support_rlz',
510         '../sync/sync.gyp:test_support_sync_api',
511         '../sync/sync.gyp:test_support_sync_core',
512         '../sync/sync.gyp:test_support_sync_internal_api',
513         '../sync/sync.gyp:test_support_sync_notifier',
514         '../testing/gmock.gyp:gmock',
515         '../testing/gtest.gyp:gtest',
516         'test_support_common',
517         'test_support_unit',
518         # 3) anything tests directly depend on
519         '../courgette/courgette.gyp:courgette_lib',
520         '../google_apis/google_apis.gyp:google_apis',
521         '../skia/skia.gyp:skia',
522         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
523         '../third_party/icu/icu.gyp:icui18n',
524         '../third_party/icu/icu.gyp:icuuc',
525         '../third_party/libxml/libxml.gyp:libxml',
526         '../ui/gfx/gfx.gyp:gfx_test_support',
527         '../ui/resources/ui_resources.gyp:ui_resources',
528         '../ui/ui_unittests.gyp:ui_test_support',
529         'chrome_resources.gyp:chrome_resources',
530         'chrome_resources.gyp:chrome_strings',
531       ],
532       'include_dirs': [
533         '..',
534       ],
535       'msvs_settings': {
536         'VCLinkerTool': {
537           'conditions': [
538             ['incremental_chrome_dll==1', {
539               'UseLibraryDependencyInputs': "true",
540             }],
541           ],
542         },
543       },
544       'sources': [
545         '../apps/app_shim/app_shim_host_mac_unittest.cc',
546         '../apps/app_shim/extension_app_shim_handler_mac_unittest.cc',
547         '../apps/app_window_geometry_cache_unittest.cc',
548         '../apps/saved_files_service_unittest.cc',
549         '../components/autofill/content/renderer/test_password_autofill_agent.cc',
550         '../components/autofill/content/renderer/test_password_autofill_agent.h',
551         '../components/autofill/content/renderer/test_password_generation_agent.cc',
552         '../components/autofill/content/renderer/test_password_generation_agent.h',
553         # TODO: Create an extensions_unittests target. http://crbug.com/348066
554         '../extensions/browser/admin_policy_unittest.cc',
555         '../extensions/browser/api/storage/settings_quota_unittest.cc',
556         '../extensions/browser/api/storage/settings_test_util.cc',
557         '../extensions/browser/api/storage/settings_test_util.h',
558         '../extensions/browser/api/storage/storage_api_unittest.cc',
559         '../extensions/browser/api/storage/storage_frontend_unittest.cc',
560         '../extensions/browser/error_map_unittest.cc',
561         '../extensions/browser/event_listener_map_unittest.cc',
562         '../extensions/browser/event_router_unittest.cc',
563         '../extensions/browser/extension_error_test_util.cc',
564         '../extensions/browser/extension_error_test_util.h',
565         '../extensions/browser/extension_pref_value_map_unittest.cc',
566         '../extensions/browser/extension_registry_unittest.cc',
567         '../extensions/browser/file_highlighter_unittest.cc',
568         '../extensions/browser/file_reader_unittest.cc',
569         '../extensions/browser/info_map_unittest.cc',
570         '../extensions/browser/lazy_background_task_queue_unittest.cc',
571         '../extensions/browser/management_policy_unittest.cc',
572         '../extensions/browser/process_manager_unittest.cc',
573         '../extensions/browser/process_map_unittest.cc',
574         '../extensions/browser/quota_service_unittest.cc',
575         '../extensions/browser/runtime_data_unittest.cc',
576         '../extensions/browser/value_store/leveldb_value_store_unittest.cc',
577         '../extensions/browser/value_store/testing_value_store_unittest.cc',
578         '../extensions/browser/value_store/value_store_change_unittest.cc',
579         '../extensions/browser/value_store/value_store_frontend_unittest.cc',
580         '../extensions/browser/value_store/value_store_unittest.cc',
581         '../extensions/browser/value_store/value_store_unittest.h',
582         '../extensions/common/csp_validator_unittest.cc',
583         '../extensions/common/event_filter_unittest.cc',
584         '../extensions/common/extension_resource_unittest.cc',
585         '../extensions/common/extension_set_unittest.cc',
586         '../extensions/common/file_util_unittest.cc',
587         '../extensions/common/id_util_unittest.cc',
588         '../extensions/common/manifest_handler_unittest.cc',
589         '../extensions/common/manifest_handlers/shared_module_manifest_unittest.cc',
590         '../extensions/common/one_shot_event_unittest.cc',
591         '../extensions/common/permissions/api_permission_set_unittest.cc',
592         '../extensions/common/permissions/manifest_permission_set_unittest.cc',
593         '../extensions/common/permissions/permissions_data_unittest.cc',
594         '../extensions/common/url_pattern_set_unittest.cc',
595         '../extensions/common/url_pattern_unittest.cc',
596         '../extensions/common/user_script_unittest.cc',
597         'app/chrome_dll.rc',
598         # All unittests in browser, common, renderer and service.
599         'browser/about_flags_unittest.cc',
600         'browser/app_controller_mac_unittest.mm',
601         'browser/apps/ephemeral_app_service_unittest.cc',
602         'browser/autocomplete/autocomplete_input_unittest.cc',
603         'browser/autocomplete/autocomplete_match_unittest.cc',
604         'browser/autocomplete/autocomplete_provider_unittest.cc',
605         'browser/autocomplete/autocomplete_result_unittest.cc',
606         'browser/autocomplete/bookmark_provider_unittest.cc',
607         'browser/autocomplete/builtin_provider_unittest.cc',
608         'browser/autocomplete/extension_app_provider_unittest.cc',
609         'browser/autocomplete/history_quick_provider_unittest.cc',
610         'browser/autocomplete/history_url_provider_unittest.cc',
611         'browser/autocomplete/keyword_provider_unittest.cc',
612         'browser/autocomplete/search_provider_unittest.cc',
613         'browser/autocomplete/shortcuts_backend_unittest.cc',
614         'browser/autocomplete/shortcuts_provider_unittest.cc',
615         'browser/autofill/autofill_cc_infobar_delegate_unittest.cc',
616         'browser/background/background_application_list_model_unittest.cc',
617         'browser/background/background_contents_service_unittest.cc',
618         'browser/background/background_mode_manager_unittest.cc',
619         'browser/bookmarks/bookmark_codec_unittest.cc',
620         'browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc',
621         'browser/bookmarks/bookmark_html_writer_unittest.cc',
622         'browser/bookmarks/bookmark_index_unittest.cc',
623         'browser/bookmarks/bookmark_model_unittest.cc',
624         'browser/bookmarks/bookmark_node_data_unittest.cc',
625         'browser/bookmarks/bookmark_tag_model_unittest.cc',
626         'browser/bookmarks/bookmark_utils_unittest.cc',
627         'browser/browser_about_handler_unittest.cc',
628         'browser/browser_commands_unittest.cc',
629         'browser/browsing_data/browsing_data_appcache_helper_unittest.cc',
630         'browser/browsing_data/browsing_data_cookie_helper_unittest.cc',
631         'browser/browsing_data/browsing_data_database_helper_unittest.cc',
632         'browser/browsing_data/browsing_data_file_system_helper_unittest.cc',
633         'browser/browsing_data/browsing_data_helper_unittest.cc',
634         'browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc',
635         'browser/browsing_data/browsing_data_local_storage_helper_unittest.cc',
636         'browser/browsing_data/browsing_data_quota_helper_unittest.cc',
637         'browser/browsing_data/browsing_data_remover_unittest.cc',
638         'browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc',
639         'browser/browsing_data/cookies_tree_model_unittest.cc',
640         'browser/captive_portal/captive_portal_detector_unittest.cc',
641         'browser/captive_portal/captive_portal_service_unittest.cc',
642         'browser/captive_portal/captive_portal_tab_helper_unittest.cc',
643         'browser/captive_portal/captive_portal_tab_reloader_unittest.cc',
644         'browser/chrome_browser_application_mac_unittest.mm',
645         'browser/chrome_elf_init_unittest_win.cc',
646         'browser/chrome_page_zoom_unittest.cc',
647         'browser/chrome_process_singleton_win_unittest.cc',
648         'browser/chromeos/accessibility/magnification_manager_unittest.cc',
649         'browser/chromeos/attestation/attestation_ca_client_unittest.cc',
650         'browser/chromeos/attestation/attestation_policy_observer_unittest.cc',
651         'browser/chromeos/attestation/fake_certificate.cc',
652         'browser/chromeos/attestation/fake_certificate.h',
653         'browser/chromeos/attestation/platform_verification_flow_unittest.cc',
654         'browser/chromeos/customization_document_unittest.cc',
655         'browser/chromeos/dbus/cros_dbus_service_unittest.cc',
656         'browser/chromeos/dbus/printer_service_provider_unittest.cc',
657         'browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc',
658         'browser/chromeos/dbus/service_provider_test_helper.cc',
659         'browser/chromeos/dbus/service_provider_test_helper.h',
660         'browser/chromeos/display/display_preferences_unittest.cc',
661         'browser/chromeos/drive/change_list_loader_unittest.cc',
662         'browser/chromeos/drive/change_list_processor_unittest.cc',
663         'browser/chromeos/drive/directory_loader_unittest.cc',
664         'browser/chromeos/drive/download_handler_unittest.cc',
665         'browser/chromeos/drive/drive_file_stream_reader_unittest.cc',
666         'browser/chromeos/drive/drive_integration_service_unittest.cc',
667         'browser/chromeos/drive/drive_url_request_job_unittest.cc',
668         'browser/chromeos/drive/dummy_file_system.h',
669         'browser/chromeos/drive/fake_file_system.cc',
670         'browser/chromeos/drive/fake_file_system.h',
671         'browser/chromeos/drive/fake_file_system_unittest.cc',
672         'browser/chromeos/drive/fake_free_disk_space_getter.cc',
673         'browser/chromeos/drive/fake_free_disk_space_getter.h',
674         'browser/chromeos/drive/file_cache_unittest.cc',
675         'browser/chromeos/drive/file_change_unittest.cc',
676         'browser/chromeos/drive/file_system/copy_operation_unittest.cc',
677         'browser/chromeos/drive/file_system/create_directory_operation_unittest.cc',
678         'browser/chromeos/drive/file_system/create_file_operation_unittest.cc',
679         'browser/chromeos/drive/file_system/download_operation_unittest.cc',
680         'browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc',
681         'browser/chromeos/drive/file_system/move_operation_unittest.cc',
682         'browser/chromeos/drive/file_system/open_file_operation_unittest.cc',
683         'browser/chromeos/drive/file_system/operation_test_base.cc',
684         'browser/chromeos/drive/file_system/operation_test_base.h',
685         'browser/chromeos/drive/file_system/remove_operation_unittest.cc',
686         'browser/chromeos/drive/file_system/search_operation_unittest.cc',
687         'browser/chromeos/drive/file_system/touch_operation_unittest.cc',
688         'browser/chromeos/drive/file_system/truncate_operation_unittest.cc',
689         'browser/chromeos/drive/file_system_unittest.cc',
690         'browser/chromeos/drive/file_system_util_unittest.cc',
691         'browser/chromeos/drive/file_write_watcher_unittest.cc',
692         'browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc',
693         'browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl_unittest.cc',
694         'browser/chromeos/drive/job_queue_unittest.cc',
695         'browser/chromeos/drive/job_scheduler_unittest.cc',
696         'browser/chromeos/drive/local_file_reader_unittest.cc',
697         'browser/chromeos/drive/remove_stale_cache_files_unittest.cc',
698         'browser/chromeos/drive/resource_entry_conversion_unittest.cc',
699         'browser/chromeos/drive/resource_metadata_storage_unittest.cc',
700         'browser/chromeos/drive/resource_metadata_unittest.cc',
701         'browser/chromeos/drive/search_metadata_unittest.cc',
702         'browser/chromeos/drive/sync/entry_revert_performer_unittest.cc',
703         'browser/chromeos/drive/sync/entry_update_performer_unittest.cc',
704         'browser/chromeos/drive/sync/remove_performer_unittest.cc',
705         'browser/chromeos/drive/sync_client_unittest.cc',
706         'browser/chromeos/drive/test_util.cc',
707         'browser/chromeos/drive/test_util.h',
708         'browser/chromeos/drive/write_on_cache_file_unittest.cc',
709         'browser/chromeos/events/event_rewriter_unittest.cc',
710         'browser/chromeos/events/keyboard_driven_event_rewriter_unittest.cc',
711         'browser/chromeos/extensions/default_app_order_unittest.cc',
712         'browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc',
713         'browser/chromeos/extensions/external_cache_unittest.cc',
714         'browser/chromeos/file_manager/fake_disk_mount_manager.cc',
715         'browser/chromeos/file_manager/fake_disk_mount_manager.h',
716         'browser/chromeos/file_manager/file_tasks_unittest.cc',
717         'browser/chromeos/file_manager/file_watcher_unittest.cc',
718         'browser/chromeos/file_manager/mime_util_unittest.cc',
719         'browser/chromeos/file_manager/mounted_disk_monitor_unittest.cc',
720         'browser/chromeos/file_manager/path_util_unittest.cc',
721         'browser/chromeos/file_manager/url_util_unittest.cc',
722         'browser/chromeos/file_manager/volume_manager_unittest.cc',
723         'browser/chromeos/file_system_provider/service_unittest.cc',
724         'browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc',
725         'browser/chromeos/extensions/wallpaper_private_api_unittest.cc',
726         'browser/chromeos/external_metrics_unittest.cc',
727         'browser/chromeos/fileapi/file_access_permissions_unittest.cc',
728         'browser/chromeos/fileapi/file_system_backend_unittest.cc',
729         'browser/chromeos/imageburner/burn_device_handler_unittest.cc',
730         'browser/chromeos/imageburner/burn_manager_unittest.cc',
731         'browser/chromeos/input_method/browser_state_monitor_unittest.cc',
732         'browser/chromeos/input_method/input_method_configuration_unittest.cc',
733         'browser/chromeos/input_method/input_method_manager_impl_unittest.cc',
734         'browser/chromeos/input_method/input_method_persistence_unittest.cc',
735         'browser/chromeos/input_method/input_method_util_unittest.cc',
736         'browser/chromeos/kiosk_mode/kiosk_mode_idle_logout_unittest.cc',
737         'browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc',
738         'browser/chromeos/login/existing_user_controller_auto_login_unittest.cc',
739         'browser/chromeos/login/hwid_checker_unittest.cc',
740         'browser/chromeos/login/merge_session_load_page_unittest.cc',
741         'browser/chromeos/login/mock_auth_attempt_state_resolver.cc',
742         'browser/chromeos/login/mock_auth_attempt_state_resolver.h',
743         'browser/chromeos/login/multi_profile_user_controller_unittest.cc',
744         'browser/chromeos/login/online_attempt_unittest.cc',
745         'browser/chromeos/login/parallel_authenticator_unittest.cc',
746         'browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc',
747         'browser/chromeos/login/screens/screen_context_unittest.cc',
748         'browser/chromeos/login/user_manager_unittest.cc',
749         'browser/chromeos/login/wallpaper_manager_unittest.cc',
750         'browser/chromeos/memory/oom_priority_manager_unittest.cc',
751         'browser/chromeos/mobile/mobile_activator_unittest.cc',
752         'browser/chromeos/mobile_config_unittest.cc',
753         'browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc',
754         'browser/chromeos/net/network_portal_detector_impl_unittest.cc',
755         'browser/chromeos/net/network_portal_notification_controller_unittest.cc',
756         'browser/chromeos/net/onc_utils_unittest.cc',
757         'browser/chromeos/offline/offline_load_page_unittest.cc',
758         'browser/chromeos/options/network_property_ui_data_unittest.cc',
759         'browser/chromeos/policy/auto_enrollment_client_unittest.cc',
760         'browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc',
761         'browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc',
762         'browser/chromeos/policy/cloud_external_data_store_unittest.cc',
763         'browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc',
764         'browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc',
765         'browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc',
766         'browser/chromeos/policy/device_local_account_policy_service_unittest.cc',
767         'browser/chromeos/policy/enterprise_install_attributes_unittest.cc',
768         'browser/chromeos/policy/network_configuration_updater_unittest.cc',
769         'browser/chromeos/policy/recommendation_restorer_unittest.cc',
770         'browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc',
771         'browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc',
772         'browser/chromeos/power/power_data_collector_unittest.cc',
773         'browser/chromeos/power/power_prefs_unittest.cc',
774         'browser/chromeos/preferences_unittest.cc',
775         'browser/chromeos/profiles/profile_list_chromeos_unittest.cc',
776         'browser/chromeos/session_length_limiter_unittest.cc',
777         'browser/chromeos/proxy_config_service_impl_unittest.cc',
778         'browser/chromeos/settings/cros_settings_unittest.cc',
779         'browser/chromeos/settings/device_oauth2_token_service_unittest.cc',
780         'browser/chromeos/settings/device_settings_provider_unittest.cc',
781         'browser/chromeos/settings/device_settings_service_unittest.cc',
782         'browser/chromeos/settings/owner_key_util_unittest.cc',
783         'browser/chromeos/settings/session_manager_operation_unittest.cc',
784         'browser/chromeos/settings/stub_cros_settings_provider_unittest.cc',
785         'browser/chromeos/system/automatic_reboot_manager_unittest.cc',
786         'browser/chromeos/ui/idle_app_name_notification_view_unittest.cc',
787         'browser/chromeos/version_loader_unittest.cc',
788         'browser/command_updater_unittest.cc',
789         'browser/component_updater/test/component_installers_unittest.cc',
790         'browser/component_updater/test/component_patcher_mock.h',
791         'browser/component_updater/test/component_patcher_unittest.cc',
792         'browser/component_updater/test/component_updater_ping_manager_unittest.cc',
793         'browser/component_updater/test/component_updater_service_unittest.cc',
794         'browser/component_updater/test/crx_downloader_unittest.cc',
795         'browser/component_updater/test/test_installer.cc',
796         'browser/component_updater/test/update_checker_unittest.cc',
797         'browser/component_updater/test/update_response_unittest.cc',
798         'browser/component_updater/test/url_request_post_interceptor.cc',
799         'browser/content_settings/content_settings_default_provider_unittest.cc',
800         'browser/content_settings/content_settings_mock_observer.cc',
801         'browser/content_settings/content_settings_mock_observer.h',
802         'browser/content_settings/content_settings_mock_provider.cc',
803         'browser/content_settings/content_settings_mock_provider.h',
804         'browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc',
805         'browser/content_settings/content_settings_policy_provider_unittest.cc',
806         'browser/content_settings/content_settings_pref_provider_unittest.cc',
807         'browser/content_settings/content_settings_provider_unittest.cc',
808         'browser/content_settings/content_settings_rule_unittest.cc',
809         'browser/content_settings/content_settings_usages_state_unittest.cc',
810         'browser/content_settings/content_settings_utils_unittest.cc',
811         'browser/content_settings/cookie_settings_unittest.cc',
812         'browser/content_settings/host_content_settings_map_unittest.cc',
813         'browser/content_settings/mock_settings_observer.cc',
814         'browser/content_settings/mock_settings_observer.h',
815         'browser/content_settings/permission_queue_controller_unittest.cc',
816         'browser/content_settings/tab_specific_content_settings_unittest.cc',
817         'browser/custom_handlers/protocol_handler_registry_unittest.cc',
818         'browser/diagnostics/diagnostics_model_unittest.cc',
819         'browser/diagnostics/diagnostics_controller_unittest.cc',
820         'browser/devtools/devtools_contents_resizing_strategy_unittest.cc',
821         'browser/download/all_download_item_notifier_unittest.cc',
822         'browser/download/chrome_download_manager_delegate_unittest.cc',
823         'browser/download/download_history_unittest.cc',
824         'browser/download/download_item_model_unittest.cc',
825         'browser/download/download_path_reservation_tracker_unittest.cc',
826         'browser/download/download_query_unittest.cc',
827         'browser/download/download_request_infobar_delegate_unittest.cc',
828         'browser/download/download_request_limiter_unittest.cc',
829         'browser/download/download_shelf_unittest.cc',
830         'browser/download/download_status_updater_unittest.cc',
831         'browser/download/download_target_determiner_unittest.cc',
832         'browser/download/download_ui_controller_unittest.cc',
833         'browser/drive/drive_app_registry_unittest.cc',
834         'browser/drive/drive_api_util_unittest.cc',
835         'browser/drive/drive_uploader_unittest.cc',
836         'browser/drive/event_logger_unittest.cc',
837         'browser/drive/fake_drive_service_unittest.cc',
838         'browser/enumerate_modules_model_unittest_win.cc',
839         'browser/extensions/active_tab_unittest.cc',
840         'browser/extensions/activity_log/activity_database_unittest.cc',
841         'browser/extensions/activity_log/activity_log_enabled_unittest.cc',
842         'browser/extensions/activity_log/activity_log_unittest.cc',
843         'browser/extensions/activity_log/activity_log_policy_unittest.cc',
844         'browser/extensions/activity_log/counting_policy_unittest.cc',
845         'browser/extensions/activity_log/database_string_table_unittest.cc',
846         'browser/extensions/activity_log/fullstream_ui_policy_unittest.cc',
847         'browser/extensions/activity_log/uma_policy_unittest.cc',
848         'browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc',
849         'browser/extensions/api/alarms/alarms_api_unittest.cc',
850         'browser/extensions/api/api_resource_manager_unittest.cc',
851         'browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc',
852         'browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc',
853         'browser/extensions/api/cast_channel/cast_socket_unittest.cc',
854         'browser/extensions/api/content_settings/content_settings_store_unittest.cc',
855         'browser/extensions/api/content_settings/content_settings_unittest.cc',
856         'browser/extensions/api/cookies/cookies_unittest.cc',
857         'browser/extensions/api/declarative/declarative_rule_unittest.cc',
858         'browser/extensions/api/declarative/deduping_factory_unittest.cc',
859         'browser/extensions/api/declarative/rules_registry_service_unittest.cc',
860         'browser/extensions/api/declarative/rules_registry_unittest.cc',
861         'browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc',
862         'browser/extensions/api/declarative_content/content_action_unittest.cc',
863         'browser/extensions/api/declarative_content/content_condition_unittest.cc',
864         'browser/extensions/api/declarative_content/content_rules_registry_unittest.cc',
865         'browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc',
866         'browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc',
867         'browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc',
868         'browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc',
869         'browser/extensions/api/dial/dial_device_data_unittest.cc',
870         'browser/extensions/api/dial/dial_registry_unittest.cc',
871         'browser/extensions/api/dial/dial_service_unittest.cc',
872         'browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc',
873         'browser/extensions/api/extension_action/extension_action_prefs_unittest.cc',
874         'browser/extensions/api/extension_action/extension_browser_actions_api_unittest.cc',
875         'browser/extensions/api/file_system/file_system_api_unittest.cc',
876         'browser/extensions/api/identity/account_tracker_unittest.cc',
877         'browser/extensions/api/identity/extension_token_key_unittest.cc',
878         'browser/extensions/api/identity/gaia_web_auth_flow_unittest.cc',
879         'browser/extensions/api/identity/identity_mint_queue_unittest.cc',
880         'browser/extensions/api/idle/idle_api_unittest.cc',
881         'browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc',
882         'browser/extensions/api/image_writer_private/operation_manager_unittest.cc',
883         'browser/extensions/api/image_writer_private/operation_unittest.cc',
884         'browser/extensions/api/image_writer_private/test_utils.cc',
885         'browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc',
886         'browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc',
887         'browser/extensions/api/log_private/syslog_parser_unittest.cc',
888         'browser/extensions/api/mdns/dns_sd_registry_unittest.cc',
889         'browser/extensions/api/messaging/native_message_process_host_unittest.cc',
890         'browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc',
891         'browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc',
892         'browser/extensions/api/omnibox/omnibox_unittest.cc',
893         'browser/extensions/api/permissions/permissions_api_helpers_unittest.cc',
894         'browser/extensions/api/power/power_api_unittest.cc',
895         'browser/extensions/api/preference/preference_api_prefs_unittest.cc',
896         'browser/extensions/api/proxy/proxy_api_helpers_unittest.cc',
897         'browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher_unittest.cc',
898         'browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc',
899         'browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc',
900         'browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc',
901         'browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc',
902         'browser/extensions/api/socket/socket_api_unittest.cc',
903         'browser/extensions/api/socket/tcp_socket_unittest.cc',
904         'browser/extensions/api/socket/udp_socket_unittest.cc',
905         'browser/extensions/api/sockets_tcp/sockets_tcp_api_unittest.cc',
906         'browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api_unittest.cc',
907         'browser/extensions/api/sockets_udp/sockets_udp_api_unittest.cc',
908         'browser/extensions/api/storage/policy_value_store_unittest.cc',
909         'browser/extensions/api/storage/settings_sync_unittest.cc',
910         'browser/extensions/api/streams_private/streams_private_manifest_unittest.cc',
911         'browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc',
912         'browser/extensions/api/web_navigation/frame_navigation_state_unittest.cc',
913         'browser/extensions/api/web_request/form_data_parser_unittest.cc',
914         'browser/extensions/api/web_request/upload_data_presenter_unittest.cc',
915         'browser/extensions/api/web_request/web_request_api_unittest.cc',
916         'browser/extensions/api/web_request/web_request_permissions_unittest.cc',
917         'browser/extensions/api/web_request/web_request_time_tracker_unittest.cc',
918         'browser/extensions/app_sync_data_unittest.cc',
919         'browser/extensions/blacklist_unittest.cc',
920         'browser/extensions/blacklist_state_fetcher_unittest.cc',
921         'browser/extensions/bookmark_app_helper_unittest.cc',
922         'browser/extensions/browser_permissions_policy_delegate_unittest.cc',
923         'browser/extensions/chrome_app_sorting_unittest.cc',
924         'browser/extensions/component_loader_unittest.cc',
925         'browser/extensions/convert_user_script_unittest.cc',
926         'browser/extensions/convert_web_app_unittest.cc',
927         'browser/extensions/default_apps_unittest.cc',
928         'browser/extensions/error_console/error_console_unittest.cc',
929         'browser/extensions/event_router_forwarder_unittest.cc',
930         'browser/extensions/extension_api_unittest.cc',
931         'browser/extensions/extension_api_unittest.h',
932         'browser/extensions/extension_action_icon_factory_unittest.cc',
933         'browser/extensions/extension_action_unittest.cc',
934         'browser/extensions/extension_context_menu_model_unittest.cc',
935         'browser/extensions/extension_creator_filter_unittest.cc',
936         'browser/extensions/extension_function_test_utils.cc',
937         'browser/extensions/extension_function_test_utils.h',
938         'browser/extensions/extension_icon_image_unittest.cc',
939         'browser/extensions/extension_icon_manager_unittest.cc',
940         'browser/extensions/extension_message_bubble_controller_unittest.cc',
941         'browser/extensions/extension_prefs_unittest.cc',
942         'browser/extensions/extension_prefs_unittest.h',
943         'browser/extensions/extension_protocols_unittest.cc',
944         'browser/extensions/extension_service_unittest.cc',
945         'browser/extensions/extension_service_unittest.h',
946         'browser/extensions/extension_special_storage_policy_unittest.cc',
947         'browser/extensions/extension_sync_data_unittest.cc',
948         'browser/extensions/extension_test_message_listener_unittest.cc',
949         'browser/extensions/extension_ui_unittest.cc',
950         'browser/extensions/extension_warning_badge_service_unittest.cc',
951         'browser/extensions/extension_warning_service_unittest.cc',
952         'browser/extensions/extension_web_ui_unittest.cc',
953         'browser/extensions/external_policy_loader_unittest.cc',
954         'browser/extensions/external_provider_impl_unittest.cc',
955         'browser/extensions/external_provider_impl_chromeos_unittest.cc',
956         'browser/extensions/favicon_downloader_unittest.cc',
957         'browser/extensions/image_loader_unittest.cc',
958         'browser/extensions/menu_manager_unittest.cc',
959         'browser/extensions/pack_extension_unittest.cc',
960         'browser/extensions/page_action_controller_unittest.cc',
961         'browser/extensions/permissions_updater_unittest.cc',
962         'browser/extensions/policy_handlers_unittest.cc',
963         'browser/extensions/sandboxed_unpacker_unittest.cc',
964         'browser/extensions/standard_management_policy_provider_unittest.cc',
965         'browser/extensions/token_cache/token_cache_service_unittest.cc',
966         'browser/extensions/updater/extension_cache_fake.h',
967         'browser/extensions/updater/extension_cache_fake.cc',
968         'browser/extensions/updater/extension_updater_unittest.cc',
969         'browser/extensions/user_script_listener_unittest.cc',
970         'browser/extensions/user_script_master_unittest.cc',
971         'browser/extensions/webstore_inline_installer_unittest.cc',
972         'browser/extensions/webstore_installer_unittest.cc',
973         'browser/external_protocol/external_protocol_handler_unittest.cc',
974         'browser/favicon/favicon_handler_unittest.cc',
975         'browser/feedback/feedback_uploader_unittest.cc',
976         'browser/file_select_helper_unittest.cc',
977         'browser/first_run/first_run_unittest.cc',
978         'browser/geolocation/chrome_geolocation_permission_context_unittest.cc',
979         'browser/global_keyboard_shortcuts_mac_unittest.mm',
980         'browser/google/google_search_counter_unittest.cc',
981         'browser/google/google_update_settings_unittest.cc',
982         'browser/google/google_url_tracker_unittest.cc',
983         'browser/google/google_util_unittest.cc',
984         'browser/history/android/android_cache_database_unittest.cc',
985         'browser/history/android/android_history_provider_service_unittest.cc',
986         'browser/history/android/android_history_types_unittest.cc',
987         'browser/history/android/android_provider_backend_unittest.cc',
988         'browser/history/android/android_urls_database_unittest.cc',
989         'browser/history/android/bookmark_model_sql_handler_unittest.cc',
990         'browser/history/android/sqlite_cursor_unittest.cc',
991         'browser/history/android/urls_sql_handler_unittest.cc',
992         'browser/history/android/visit_sql_handler_unittest.cc',
993         'browser/history/expire_history_backend_unittest.cc',
994         'browser/history/history_backend_unittest.cc',
995         'browser/history/history_database_unittest.cc',
996         'browser/history/history_querying_unittest.cc',
997         'browser/history/history_types_unittest.cc',
998         'browser/history/history_unittest.cc',
999         'browser/history/history_unittest_base.cc',
1000         'browser/history/history_unittest_base.h',
1001         'browser/history/in_memory_url_index_types_unittest.cc',
1002         'browser/history/in_memory_url_index_unittest.cc',
1003         'browser/history/most_visited_tiles_experiment_unittest.cc',
1004         'browser/history/query_parser_unittest.cc',
1005         'browser/history/scored_history_match_unittest.cc',
1006         'browser/history/select_favicon_frames_unittest.cc',
1007         'browser/history/shortcuts_database_unittest.cc',
1008         'browser/history/snippet_unittest.cc',
1009         'browser/history/thumbnail_database_unittest.cc',
1010         'browser/history/top_sites_cache_unittest.cc',
1011         'browser/history/top_sites_database_unittest.cc',
1012         'browser/history/top_sites_impl_unittest.cc',
1013         'browser/history/typed_url_syncable_service_unittest.cc',
1014         'browser/history/url_database_unittest.cc',
1015         'browser/history/url_utils_unittest.cc',
1016         'browser/history/visit_database_unittest.cc',
1017         'browser/history/visit_filter_unittest.cc',
1018         'browser/history/visit_tracker_unittest.cc',
1019         'browser/importer/firefox_profile_lock_unittest.cc',
1020         'browser/importer/profile_writer_unittest.cc',
1021         'browser/internal_auth_unittest.cc',
1022         'browser/install_verification/win/imported_module_verification_unittest.cc',
1023         'browser/install_verification/win/loaded_module_verification_unittest.cc',
1024         'browser/install_verification/win/loaded_modules_snapshot_unittest.cc',
1025         'browser/install_verification/win/module_ids_unittest.cc',
1026         'browser/install_verification/win/module_info_unittest.cc',
1027         'browser/install_verification/win/module_list_unittest.cc',
1028         'browser/install_verification/win/module_verification_test.cc',
1029         'browser/install_verification/win/module_verification_test.h',
1030         'browser/invalidation/gcm_invalidation_bridge_unittest.cc',
1031         'browser/invalidation/invalidation_logger_unittest.cc',
1032         'browser/invalidation/invalidation_service_android_unittest.cc',
1033         'browser/invalidation/invalidation_service_test_template.cc',
1034         'browser/invalidation/invalidation_service_test_template.h',
1035         'browser/invalidation/invalidator_storage_unittest.cc',
1036         'browser/invalidation/ticl_invalidation_service_unittest.cc',
1037         'browser/local_discovery/privet_confirm_api_flow_unittest.cc',
1038         'browser/local_discovery/privet_http_unittest.cc',
1039         'browser/local_discovery/privet_url_fetcher_unittest.cc',
1040         'browser/local_discovery/storage/path_util_unittest.cc',
1041         'browser/local_discovery/cloud_print_printer_list_unittest.cc',
1042         'browser/local_discovery/service_discovery_client_mac_unittest.mm',
1043         'browser/logging_chrome_unittest.cc',
1044         'browser/mac/keystone_glue_unittest.mm',
1045         'browser/managed_mode/managed_mode_url_filter_unittest.cc',
1046         'browser/managed_mode/managed_user_service_unittest.cc',
1047         'browser/managed_mode/managed_user_sync_service_unittest.cc',
1048         'browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc',
1049         'browser/managed_mode/managed_user_registration_utility_unittest.cc',
1050         'browser/managed_mode/managed_user_settings_service_unittest.cc',
1051         'browser/managed_mode/managed_user_shared_settings_service_unittest.cc',
1052         'browser/managed_mode/managed_user_shared_settings_update_unittest.cc',
1053         'browser/managed_mode/supervised_user_pref_mapping_service_unittest.cc',
1054         'browser/managed_mode/supervised_user_pref_store_unittest.cc',
1055         'browser/media/audio_stream_monitor_unittest.cc',
1056         'browser/media/cast_transport_host_filter_unittest.cc',
1057         'browser/media/desktop_media_list_ash_unittest.cc',
1058         'browser/media/native_desktop_media_list_unittest.cc',
1059         'browser/media/webrtc_log_uploader_unittest.cc',
1060         'browser/media/webrtc_log_util_unittest.cc',
1061         'browser/media_galleries/fileapi/native_media_file_util_unittest.cc',
1062         'browser/media_galleries/linux/mtp_device_object_enumerator_unittest.cc',
1063         'browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm',
1064         'browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc',
1065         'browser/media_galleries/media_file_system_registry_unittest.cc',
1066         'browser/media_galleries/media_folder_finder_unittest.cc',
1067         'browser/media_galleries/media_galleries_dialog_controller_mock.cc',
1068         'browser/media_galleries/media_galleries_dialog_controller_mock.h',
1069         'browser/media_galleries/media_galleries_dialog_controller_unittest.cc',
1070         'browser/media_galleries/media_galleries_permissions_unittest.cc',
1071         'browser/media_galleries/media_galleries_preferences_unittest.cc',
1072         'browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc',
1073         'browser/media_galleries/media_scan_manager_unittest.cc',
1074         'browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc',
1075         'browser/metrics/cloned_install_detector_unittest.cc',
1076         'browser/metrics/compression_utils_unittest.cc',
1077         'browser/metrics/extension_metrics_unittest.cc',
1078         'browser/metrics/machine_id_provider_win_unittest.cc',
1079         'browser/metrics/metrics_log_unittest.cc',
1080         'browser/metrics/metrics_log_serializer_unittest.cc',
1081         'browser/metrics/metrics_reporting_scheduler_unittest.cc',
1082         'browser/metrics/metrics_service_unittest.cc',
1083         'browser/metrics/thread_watcher_unittest.cc',
1084         'browser/metrics/thread_watcher_android_unittest.cc',
1085         'browser/metrics/time_ticks_experiment_unittest.cc',
1086         'browser/metrics/variations/variations_http_header_provider_unittest.cc',
1087         'browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc',
1088         'browser/metrics/variations/variations_request_scheduler_unittest.cc',
1089         'browser/metrics/variations/variations_seed_store_unittest.cc',
1090         'browser/metrics/variations/variations_service_unittest.cc',
1091         'browser/net/chrome_fraudulent_certificate_reporter_unittest.cc',
1092         'browser/net/chrome_network_delegate_unittest.cc',
1093         'browser/net/client_hints_unittest.cc',
1094         'browser/net/connection_tester_unittest.cc',
1095         'browser/net/dns_probe_runner_unittest.cc',
1096         'browser/net/dns_probe_service_unittest.cc',
1097         'browser/net/evicted_domain_cookie_counter_unittest.cc',
1098         'browser/net/firefox_proxy_settings_unittest.cc',
1099         'browser/net/http_pipelining_compatibility_client_unittest.cc',
1100         'browser/net/http_server_properties_manager_unittest.cc',
1101         'browser/net/net_error_tab_helper_unittest.cc',
1102         'browser/net/net_log_temp_file_unittest.cc',
1103         'browser/net/network_stats_unittest.cc',
1104         'browser/net/predictor_unittest.cc',
1105         'browser/net/pref_proxy_config_tracker_impl_unittest.cc',
1106         'browser/net/probe_message_unittest.cc',
1107         'browser/net/proxy_policy_handler_unittest.cc',
1108         'browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc',
1109         'browser/net/spdyproxy/data_reduction_proxy_settings_unittest.h',
1110         'browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc',
1111         'browser/net/spdyproxy/data_saving_metrics_unittest.cc',
1112         'browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc',
1113         'browser/net/sqlite_server_bound_cert_store_unittest.cc',
1114         'browser/net/ssl_config_service_manager_pref_unittest.cc',
1115         'browser/net/url_info_unittest.cc',
1116         'browser/network_time/navigation_time_helper_unittest.cc',
1117         'browser/network_time/network_time_tracker_unittest.cc',
1118         'browser/notifications/desktop_notification_service_unittest.cc',
1119         'browser/notifications/extension_welcome_notification_unittest.cc',
1120         'browser/notifications/login_state_notification_blocker_chromeos_unittest.cc',
1121         'browser/notifications/message_center_notifications_unittest_win.cc',
1122         'browser/notifications/message_center_settings_controller_unittest.cc',
1123         'browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc',
1124         'browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc',
1125         'browser/notifications/sync_notifier/synced_notification_unittest.cc',
1126         'browser/notifications/sync_notifier/synced_notification_app_info_unittest.cc',
1127         'browser/notifications/sync_notifier/synced_notification_app_info_service_unittest.cc',
1128         'browser/notifications/sync_notifier/sync_notifier_test_utils.cc',
1129         'browser/notifications/sync_notifier/sync_notifier_test_utils.h',
1130         'browser/notifications/sync_notifier/welcome_delegate_unittest.cc',
1131         'browser/omnibox/omnibox_field_trial_unittest.cc',
1132         'browser/omaha_query_params/omaha_query_params_unittest.cc',
1133         'browser/parsers/metadata_parser_filebase_unittest.cc',
1134         'browser/password_manager/chrome_password_manager_client_unittest.cc',
1135         'browser/password_manager/native_backend_gnome_x_unittest.cc',
1136         'browser/password_manager/native_backend_kwallet_x_unittest.cc',
1137         'browser/password_manager/password_manager_metrics_util_unittest.cc',
1138         'browser/password_manager/password_store_mac_unittest.cc',
1139         'browser/password_manager/password_store_win_unittest.cc',
1140         'browser/password_manager/password_store_x_unittest.cc',
1141         'browser/performance_monitor/database_unittest.cc',
1142         'browser/plugins/plugin_finder_unittest.cc',
1143         'browser/plugins/plugin_metadata_unittest.cc',
1144         'browser/plugins/plugin_prefs_unittest.cc',
1145         'browser/policy/cloud/cloud_policy_invalidator_unittest.cc',
1146         'browser/policy/cloud/user_policy_signin_service_unittest.cc',
1147         'browser/policy/file_selection_dialogs_policy_handler_unittest.cc',
1148         'browser/policy/javascript_policy_handler_unittest.cc',
1149         'browser/policy/policy_path_parser_unittest.cc',
1150         'browser/policy/url_blacklist_manager_unittest.cc',
1151         'browser/predictors/autocomplete_action_predictor_table_unittest.cc',
1152         'browser/predictors/autocomplete_action_predictor_unittest.cc',
1153         'browser/prefs/chrome_pref_service_unittest.cc',
1154         'browser/prefs/command_line_pref_store_unittest.cc',
1155         'browser/prefs/incognito_mode_prefs_unittest.cc',
1156         'browser/prefs/pref_hash_calculator_unittest.cc',
1157         'browser/prefs/pref_hash_filter_unittest.cc',
1158         'browser/prefs/pref_hash_store_impl_unittest.cc',
1159         'browser/prefs/pref_model_associator_unittest.cc',
1160         'browser/prefs/profile_pref_store_manager_unittest.cc',
1161         'browser/prefs/proxy_config_dictionary_unittest.cc',
1162         'browser/prefs/proxy_policy_unittest.cc',
1163         'browser/prefs/proxy_prefs_unittest.cc',
1164         'browser/prefs/session_startup_pref_unittest.cc',
1165         'browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc',
1166         'browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc',
1167         'browser/prerender/prerender_history_unittest.cc',
1168         'browser/prerender/prerender_tracker_unittest.cc',
1169         'browser/prerender/prerender_unittest.cc',
1170         'browser/prerender/prerender_util_unittest.cc',
1171         'browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc',
1172         'browser/printing/print_dialog_cloud_unittest.cc',
1173         'browser/printing/print_job_unittest.cc',
1174         'browser/printing/print_preview_dialog_controller_unittest.cc',
1175         'browser/printing/print_preview_test.cc',
1176         'browser/printing/print_preview_test.h',
1177         'browser/process_info_snapshot_mac_unittest.cc',
1178         'browser/process_singleton_linux_unittest.cc',
1179         'browser/process_singleton_mac_unittest.cc',
1180         'browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc',
1181         'browser/profile_resetter/automatic_profile_resetter_unittest.cc',
1182         'browser/profile_resetter/jtl_interpreter_unittest.cc',
1183         'browser/profile_resetter/profile_resetter_unittest.cc',
1184         'browser/profiles/file_path_verifier_win_unittest.cc',
1185         'browser/profiles/gaia_info_update_service_unittest.cc',
1186         'browser/profiles/incognito_mode_policy_handler_unittest.cc',
1187         'browser/profiles/off_the_record_profile_impl_unittest.cc',
1188         'browser/profiles/profile_downloader_unittest.cc',
1189         'browser/profiles/profile_info_cache_unittest.cc',
1190         'browser/profiles/profile_info_cache_unittest.h',
1191         'browser/profiles/profile_info_util_unittest.cc',
1192         'browser/profiles/profile_list_desktop_unittest.cc',
1193         'browser/profiles/profile_manager_unittest.cc',
1194         'browser/profiles/profile_shortcut_manager_unittest_win.cc',
1195         'browser/renderer_context_menu/context_menu_content_type_unittest.cc',
1196         'browser/renderer_context_menu/render_view_context_menu_test_util.cc',
1197         'browser/renderer_context_menu/render_view_context_menu_test_util.h',
1198         'browser/renderer_context_menu/render_view_context_menu_unittest.cc',
1199         'browser/renderer_host/plugin_info_message_filter_unittest.cc',
1200         'browser/renderer_host/web_cache_manager_unittest.cc',
1201         'browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper_unit_test.mm',
1202         'browser/resources/google_now/background.js',
1203         'browser/resources/google_now/background_test_util.js',
1204         'browser/resources/google_now/background_unittest.gtestjs',
1205         'browser/resources/google_now/cards.js',
1206         'browser/resources/google_now/cards_unittest.gtestjs',
1207         'browser/resources/google_now/common_test_util.js',
1208         'browser/resources/google_now/utility.js',
1209         'browser/resources/google_now/utility_test_util.js',
1210         'browser/resources/google_now/utility_unittest.gtestjs',
1211         'browser/resources/print_preview/data/measurement_system.js',
1212         'browser/resources/print_preview/data/measurement_system_unittest.gtestjs',
1213         'browser/resources/print_preview/print_preview_utils.js',
1214         'browser/resources/print_preview/print_preview_utils_unittest.gtestjs',
1215         'browser/resources_util_unittest.cc',
1216         'browser/rlz/rlz_unittest.cc',
1217         'browser/safe_browsing/binary_feature_extractor_win_unittest.cc',
1218         'browser/safe_browsing/browser_feature_extractor_unittest.cc',
1219         'browser/safe_browsing/chunk_range_unittest.cc',
1220         'browser/safe_browsing/client_side_detection_host_unittest.cc',
1221         'browser/safe_browsing/client_side_detection_service_unittest.cc',
1222         'browser/safe_browsing/database_manager_unittest.cc',
1223         'browser/safe_browsing/download_feedback_service_unittest.cc',
1224         'browser/safe_browsing/download_feedback_unittest.cc',
1225         'browser/safe_browsing/download_protection_service_unittest.cc',
1226         'browser/safe_browsing/local_two_phase_testserver.cc',
1227         'browser/safe_browsing/malware_details_unittest.cc',
1228         'browser/safe_browsing/pe_image_reader_win_unittest.cc',
1229         'browser/safe_browsing/ping_manager_unittest.cc',
1230         'browser/safe_browsing/prefix_set_unittest.cc',
1231         'browser/safe_browsing/protocol_manager_unittest.cc',
1232         'browser/safe_browsing/protocol_parser_unittest.cc',
1233         'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc',
1234         'browser/safe_browsing/safe_browsing_database_unittest.cc',
1235         'browser/safe_browsing/safe_browsing_store_file_unittest.cc',
1236         'browser/safe_browsing/safe_browsing_store_unittest.cc',
1237         'browser/safe_browsing/safe_browsing_util_unittest.cc',
1238         'browser/safe_browsing/two_phase_uploader_unittest.cc',
1239         'browser/search/hotword_service_unittest.cc',
1240         'browser/search/iframe_source_unittest.cc',
1241         'browser/search/instant_service_unittest.cc',
1242         'browser/search/instant_unittest_base.cc',
1243         'browser/search/instant_unittest_base.h',
1244         'browser/search/most_visited_iframe_source_unittest.cc',
1245         'browser/search/search_unittest.cc',
1246         'browser/search/suggestions/suggestions_service_unittest.cc',
1247         'browser/search_engines/default_search_policy_handler_unittest.cc',
1248         'browser/search_engines/search_host_to_urls_map_unittest.cc',
1249         'browser/search_engines/search_provider_install_data_unittest.cc',
1250         'browser/search_engines/template_url_fetcher_unittest.cc',
1251         'browser/search_engines/template_url_service_util_unittest.cc',
1252         'browser/search_engines/template_url_service_sync_unittest.cc',
1253         'browser/search_engines/template_url_service_unittest.cc',
1254         'browser/search_engines/template_url_parser_unittest.cc',
1255         'browser/search_engines/template_url_prepopulate_data_unittest.cc',
1256         'browser/search_engines/template_url_scraper_unittest.cc',
1257         'browser/search_engines/template_url_unittest.cc',
1258         'browser/services/gcm/gcm_client_mock.cc',
1259         'browser/services/gcm/gcm_client_mock.h',
1260         'browser/services/gcm/gcm_profile_service_unittest.cc',
1261         'browser/sessions/persistent_tab_restore_service_unittest.cc',
1262         'browser/sessions/restore_on_startup_policy_handler_unittest.cc',
1263         'browser/sessions/session_backend_unittest.cc',
1264         'browser/sessions/session_service_unittest.cc',
1265         'browser/sessions/session_types_unittest.cc',
1266         'browser/shell_integration_linux_unittest.cc',
1267         'browser/shell_integration_win_unittest.cc',
1268         'browser/signin/account_reconcilor_unittest.cc',
1269         'browser/signin/fake_auth_status_provider.cc',
1270         'browser/signin/fake_auth_status_provider.h',
1271         'browser/signin/local_auth_unittest.cc',
1272         'browser/signin/mutable_profile_oauth2_token_service_unittest.cc',
1273         'browser/signin/profile_oauth2_token_service_request_unittest.cc',
1274         'browser/signin/signin_error_controller_unittest.cc',
1275         'browser/signin/signin_error_notifier_ash_unittest.cc',
1276         'browser/signin/signin_global_error_unittest.cc',
1277         'browser/signin/signin_manager_unittest.cc',
1278         'browser/signin/signin_names_io_thread_unittest.cc',
1279         'browser/signin/signin_tracker_unittest.cc',
1280         'browser/speech/extension_api/extension_manifests_tts_unittest.cc',
1281         'browser/speech/speech_recognition_bubble_controller_unittest.cc',
1282         'browser/speech/tts_controller_unittest.cc',
1283         'browser/spellchecker/feedback_sender_unittest.cc',
1284         'browser/spellchecker/feedback_unittest.cc',
1285         'browser/spellchecker/misspelling_unittest.cc',
1286         'browser/spellchecker/spellcheck_action_unittest.cc',
1287         'browser/spellchecker/spellcheck_custom_dictionary_unittest.cc',
1288         'browser/spellchecker/spellcheck_host_metrics_unittest.cc',
1289         'browser/spellchecker/spellcheck_message_filter_mac_unittest.cc',
1290         'browser/spellchecker/spellcheck_message_filter_unittest.cc',
1291         'browser/spellchecker/spellcheck_platform_mac_unittest.cc',
1292         'browser/spellchecker/spellcheck_service_unittest.cc',
1293         'browser/spellchecker/spelling_service_client_unittest.cc',
1294         'browser/spellchecker/word_trimmer_unittest.cc',
1295         'browser/status_icons/status_icon_menu_model_unittest.cc',
1296         'browser/status_icons/status_icon_unittest.cc',
1297         'browser/status_icons/status_tray_unittest.cc',
1298         'browser/sync/about_sync_util_unittest.cc',
1299         'browser/sync/abstract_profile_sync_service_test.cc',
1300         'browser/sync/abstract_profile_sync_service_test.h',
1301         'browser/sync/backend_migrator_unittest.cc',
1302         'browser/sync/glue/autofill_data_type_controller_unittest.cc',
1303         'browser/sync/glue/bookmark_data_type_controller_unittest.cc',
1304         'browser/sync/glue/browser_thread_model_worker_unittest.cc',
1305         'browser/sync/glue/change_processor_mock.cc',
1306         'browser/sync/glue/change_processor_mock.h',
1307         'browser/sync/glue/data_type_manager_impl_unittest.cc',
1308         'browser/sync/glue/extensions_activity_monitor_unittest.cc',
1309         'browser/sync/glue/fake_generic_change_processor.cc',
1310         'browser/sync/glue/fake_generic_change_processor.h',
1311         'browser/sync/glue/favicon_cache_unittest.cc',
1312         'browser/sync/glue/frontend_data_type_controller_mock.cc',
1313         'browser/sync/glue/frontend_data_type_controller_mock.h',
1314         'browser/sync/glue/frontend_data_type_controller_unittest.cc',
1315         'browser/sync/glue/generic_change_processor_unittest.cc',
1316         'browser/sync/glue/non_frontend_data_type_controller_mock.cc',
1317         'browser/sync/glue/non_frontend_data_type_controller_mock.h',
1318         'browser/sync/glue/non_frontend_data_type_controller_unittest.cc',
1319         'browser/sync/glue/non_ui_data_type_controller_mock.cc',
1320         'browser/sync/glue/non_ui_data_type_controller_mock.h',
1321         'browser/sync/glue/non_ui_data_type_controller_unittest.cc',
1322         'browser/sync/glue/search_engine_data_type_controller_unittest.cc',
1323         'browser/sync/glue/session_model_associator_unittest.cc',
1324         'browser/sync/glue/shared_change_processor_mock.cc',
1325         'browser/sync/glue/shared_change_processor_mock.h',
1326         'browser/sync/glue/shared_change_processor_unittest.cc',
1327         'browser/sync/glue/sync_backend_host_impl_unittest.cc',
1328         'browser/sync/glue/sync_backend_host_mock.cc',
1329         'browser/sync/glue/sync_backend_host_mock.h',
1330         'browser/sync/glue/sync_backend_registrar_unittest.cc',
1331         'browser/sync/glue/synced_device_tracker_unittest.cc',
1332         'browser/sync/glue/synced_session_tracker_unittest.cc',
1333         'browser/sync/glue/tab_node_pool_unittest.cc',
1334         'browser/sync/glue/typed_url_model_associator_unittest.cc',
1335         'browser/sync/glue/ui_data_type_controller_unittest.cc',
1336         'browser/sync/glue/ui_model_worker_unittest.cc',
1337         'browser/sync/profile_sync_components_factory_impl_unittest.cc',
1338         'browser/sync/profile_sync_components_factory_mock.cc',
1339         'browser/sync/profile_sync_components_factory_mock.h',
1340         'browser/sync/profile_sync_service_autofill_unittest.cc',
1341         'browser/sync/profile_sync_service_bookmark_unittest.cc',
1342         'browser/sync/profile_sync_service_preference_unittest.cc',
1343         'browser/sync/profile_sync_service_session_unittest.cc',
1344         'browser/sync/profile_sync_service_startup_unittest.cc',
1345         'browser/sync/profile_sync_service_typed_url_unittest.cc',
1346         'browser/sync/profile_sync_service_unittest.cc',
1347         'browser/sync/profile_sync_test_util.cc',
1348         'browser/sync/profile_sync_test_util.h',
1349         'browser/sync/sessions2/sessions_sync_manager_unittest.cc',
1350         'browser/sync/sessions2/tab_node_pool2_unittest.cc',
1351         'browser/sync/startup_controller_unittest.cc',
1352         'browser/sync/sync_global_error_unittest.cc',
1353         'browser/sync/sync_policy_handler_unittest.cc',
1354         'browser/sync/sync_startup_tracker_unittest.cc',
1355         'browser/sync/sync_ui_util_unittest.cc',
1356         'browser/sync/test/test_http_bridge_factory.cc',
1357         'browser/sync/test/test_http_bridge_factory.h',
1358         'browser/sync/test_profile_sync_service.cc',
1359         'browser/sync/test_profile_sync_service.h',
1360         'browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc',
1361         'browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc',
1362         'browser/sync_file_system/drive_backend/drive_backend_test_util.cc',
1363         'browser/sync_file_system/drive_backend/drive_backend_test_util.h',
1364         'browser/sync_file_system/drive_backend/fake_drive_service_helper.cc',
1365         'browser/sync_file_system/drive_backend/fake_drive_service_helper.h',
1366         'browser/sync_file_system/drive_backend/fake_drive_uploader.cc',
1367         'browser/sync_file_system/drive_backend/fake_drive_uploader.h',
1368         'browser/sync_file_system/drive_backend/list_changes_task_unittest.cc',
1369         'browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc',
1370         'browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc',
1371         'browser/sync_file_system/drive_backend/metadata_database_unittest.cc',
1372         'browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc',
1373         'browser/sync_file_system/drive_backend/register_app_task_unittest.cc',
1374         'browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc',
1375         'browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc',
1376         'browser/sync_file_system/drive_backend/sync_engine_unittest.cc',
1377         'browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc',
1378         'browser/sync_file_system/drive_backend/task_dependency_manager_unittest.cc',
1379         'browser/sync_file_system/drive_backend_v1/api_util_unittest.cc',
1380         'browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc',
1381         'browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc',
1382         'browser/sync_file_system/drive_backend_v1/drive_file_sync_service_unittest.cc',
1383         'browser/sync_file_system/drive_backend_v1/drive_metadata_store_unittest.cc',
1384         'browser/sync_file_system/drive_backend_v1/fake_api_util.cc',
1385         'browser/sync_file_system/drive_backend_v1/fake_api_util.h',
1386         'browser/sync_file_system/drive_backend_v1/fake_api_util_unittest.cc',
1387         'browser/sync_file_system/drive_backend_v1/local_sync_operation_resolver_unittest.cc',
1388         'browser/sync_file_system/drive_backend_v1/origin_operation_queue_unittest.cc',
1389         'browser/sync_file_system/drive_backend_v1/remote_sync_operation_resolver_unittest.cc',
1390         'browser/sync_file_system/fake_remote_change_processor.cc',
1391         'browser/sync_file_system/fake_remote_change_processor.h',
1392         'browser/sync_file_system/file_change_unittest.cc',
1393         'browser/sync_file_system/local/canned_syncable_file_system.cc',
1394         'browser/sync_file_system/local/canned_syncable_file_system.h',
1395         'browser/sync_file_system/local/local_file_change_tracker_unittest.cc',
1396         'browser/sync_file_system/local/local_file_sync_context_unittest.cc',
1397         'browser/sync_file_system/local/local_file_sync_service_unittest.cc',
1398         'browser/sync_file_system/local/local_file_sync_status_unittest.cc',
1399         'browser/sync_file_system/local/mock_sync_status_observer.cc',
1400         'browser/sync_file_system/local/mock_sync_status_observer.h',
1401         'browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc',
1402         'browser/sync_file_system/local/syncable_file_system_unittest.cc',
1403         'browser/sync_file_system/logger_unittest.cc',
1404         'browser/sync_file_system/mock_local_change_processor.cc',
1405         'browser/sync_file_system/mock_local_change_processor.h',
1406         'browser/sync_file_system/mock_remote_change_processor.cc',
1407         'browser/sync_file_system/mock_remote_change_processor.h',
1408         'browser/sync_file_system/mock_remote_file_sync_service.cc',
1409         'browser/sync_file_system/mock_remote_file_sync_service.h',
1410         'browser/sync_file_system/subtree_set_unittest.cc',
1411         'browser/sync_file_system/sync_file_system_service_unittest.cc',
1412         'browser/sync_file_system/sync_file_system_test_util.cc',
1413         'browser/sync_file_system/sync_file_system_test_util.h',
1414         'browser/sync_file_system/syncable_file_system_util_unittest.cc',
1415         'browser/task_manager/task_manager_unittest.cc',
1416         'browser/task_manager/task_manager_util_unittest.cc',
1417         'browser/task_profiler/task_profiler_data_serializer_unittest.cc',
1418         'browser/themes/browser_theme_pack_unittest.cc',
1419         'browser/themes/theme_properties_unittest.cc',
1420         'browser/themes/theme_service_unittest.cc',
1421         'browser/themes/theme_syncable_service_unittest.cc',
1422         'browser/thumbnails/content_analysis_unittest.cc',
1423         'browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc',
1424         'browser/thumbnails/simple_thumbnail_crop_unittest.cc',
1425         'browser/thumbnails/thumbnail_service_unittest.cc',
1426         'browser/translate/translate_manager_unittest.cc',
1427         'browser/translate/translate_manager_render_view_host_unittest.cc',
1428         'browser/ui/android/tab_model/tab_model_unittest.cc',
1429         'browser/ui/ash/ime_controller_chromeos_unittest.cc',
1430         'browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc',
1431         'browser/ui/ash/launcher/launcher_context_menu_unittest.cc',
1432         'browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc',
1433         'browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc',
1434         'browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc',
1435         'browser/ui/ash/screenshot_taker_unittest.cc',
1436         'browser/ui/ash/session_state_delegate_chromeos_unittest.cc',
1437         'browser/ui/ash/test_views_delegate_with_parent.cc',
1438         'browser/ui/ash/test_views_delegate_with_parent.h',
1439         'browser/ui/ash/window_positioner_unittest.cc',
1440         'browser/ui/autofill/account_chooser_model_unittest.cc',
1441         'browser/ui/autofill/autofill_dialog_controller_unittest.cc',
1442         'browser/ui/autofill/autofill_dialog_i18n_input_unittest.cc',
1443         'browser/ui/autofill/autofill_dialog_models_unittest.cc',
1444         'browser/ui/autofill/autofill_dialog_types_unittest.cc',
1445         'browser/ui/autofill/autofill_popup_controller_unittest.cc',
1446         'browser/ui/autofill/country_combobox_model_unittest.cc',
1447         'browser/ui/autofill/data_model_wrapper_unittest.cc',
1448         'browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc',
1449         'browser/ui/autofill/mock_address_validator.cc',
1450         'browser/ui/autofill/mock_address_validator.h',
1451         'browser/ui/autofill/mock_autofill_dialog_view_delegate.cc',
1452         'browser/ui/autofill/mock_autofill_dialog_view_delegate.h',
1453         'browser/ui/autofill/mock_new_credit_card_bubble_controller.cc',
1454         'browser/ui/autofill/mock_new_credit_card_bubble_controller.h',
1455         'browser/ui/autofill/popup_controller_common_unittest.cc',
1456         'browser/ui/autofill/test_generated_credit_card_bubble_controller.cc',
1457         'browser/ui/autofill/test_generated_credit_card_bubble_controller.h',
1458         'browser/ui/autofill/test_generated_credit_card_bubble_view.cc',
1459         'browser/ui/autofill/test_generated_credit_card_bubble_view.h',
1460         'browser/ui/autofill/test_popup_controller_common.cc',
1461         'browser/ui/autofill/test_popup_controller_common.h',
1462         'browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc',
1463         'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc',
1464         'browser/ui/bookmarks/bookmark_editor_unittest.cc',
1465         'browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc',
1466         'browser/ui/bookmarks/bookmark_ui_utils_unittest.cc',
1467         'browser/ui/bookmarks/bookmark_unittest.cc',
1468         'browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc',
1469         'browser/ui/browser_command_controller_unittest.cc',
1470         'browser/ui/browser_instant_controller_unittest.cc',
1471         'browser/ui/browser_iterator_unittest.cc',
1472         'browser/ui/browser_unittest.cc',
1473         'browser/ui/chrome_select_file_policy_unittest.cc',
1474         # It is safe to list */cocoa/* files in the "common" file list
1475         # without an explicit exclusion since gyp is smart enough to
1476         # exclude them from non-Mac builds.
1477         'browser/ui/cocoa/about_ipc_controller_unittest.mm',
1478         'browser/ui/cocoa/accelerators_cocoa_unittest.mm',
1479         'browser/ui/cocoa/animatable_image_unittest.mm',
1480         'browser/ui/cocoa/animatable_view_unittest.mm',
1481         'browser/ui/cocoa/applescript/apple_event_util_unittest.mm',
1482         'browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.h',
1483         'browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.mm',
1484         'browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm',
1485         'browser/ui/cocoa/applescript/bookmark_item_applescript_unittest.mm',
1486         'browser/ui/cocoa/autofill/autofill_account_chooser_unittest.mm',
1487         'browser/ui/cocoa/autofill/autofill_details_container_unittest.mm',
1488         'browser/ui/cocoa/autofill/autofill_bubble_controller_unittest.mm',
1489         'browser/ui/cocoa/autofill/autofill_main_container_unittest.mm',
1490         'browser/ui/cocoa/autofill/autofill_notification_container_unittest.mm',
1491         'browser/ui/cocoa/autofill/autofill_notification_controller_unittest.mm',
1492         'browser/ui/cocoa/autofill/autofill_overlay_controller_unittest.mm',
1493         'browser/ui/cocoa/autofill/autofill_pop_up_button_unittest.mm',
1494         'browser/ui/cocoa/autofill/autofill_textfield_unittest.mm',
1495         'browser/ui/cocoa/autofill/autofill_tooltip_controller_unittest.mm',
1496         'browser/ui/cocoa/autofill/autofill_section_container_unittest.mm',
1497         'browser/ui/cocoa/autofill/autofill_section_view_unittest.mm',
1498         'browser/ui/cocoa/autofill/autofill_sign_in_container_unittest.mm',
1499         'browser/ui/cocoa/autofill/autofill_suggestion_container_unittest.mm',
1500         'browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm',
1501         'browser/ui/cocoa/autofill/layout_view_unittest.mm',
1502         'browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa_unittest.mm',
1503         'browser/ui/cocoa/autofill/simple_grid_layout_unittest.mm',
1504         'browser/ui/cocoa/background_gradient_view_unittest.mm',
1505         'browser/ui/cocoa/base_bubble_controller_unittest.mm',
1506         'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller_unittest.mm',
1507         'browser/ui/cocoa/bookmarks/bookmark_bar_bridge_unittest.mm',
1508         'browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm',
1509         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm',
1510         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm',
1511         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state_unittest.mm',
1512         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm',
1513         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window_unittest.mm',
1514         'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view_unittest.mm',
1515         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h',
1516         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.mm',
1517         'browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm',
1518         'browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm',
1519         'browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm',
1520         'browser/ui/cocoa/bookmarks/bookmark_button_unittest.mm',
1521         'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller_unittest.mm',
1522         'browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm',
1523         'browser/ui/cocoa/bookmarks/bookmark_folder_target_unittest.mm',
1524         'browser/ui/cocoa/bookmarks/bookmark_menu_bridge_unittest.mm',
1525         'browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller_unittest.mm',
1526         'browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm',
1527         'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller_unittest.mm',
1528         'browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm',
1529         'browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell_unittest.mm',
1530         'browser/ui/cocoa/browser/avatar_button_controller_unittest.mm',
1531         'browser/ui/cocoa/browser/avatar_icon_controller_unittest.mm',
1532         'browser/ui/cocoa/browser/avatar_label_button_unittest.mm',
1533         'browser/ui/cocoa/browser/avatar_menu_bubble_controller_unittest.mm',
1534         'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller_unittest.mm',
1535         'browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm',
1536         'browser/ui/cocoa/browser/profile_chooser_controller_unittest.mm',
1537         'browser/ui/cocoa/browser/user_manager_mac_unittest.mm',
1538         'browser/ui/cocoa/browser/zoom_bubble_controller_unittest.mm',
1539         'browser/ui/cocoa/browser_window_cocoa_unittest.mm',
1540         'browser/ui/cocoa/browser_window_controller_unittest.mm',
1541         'browser/ui/cocoa/bubble_view_unittest.mm',
1542         'browser/ui/cocoa/chrome_browser_window_unittest.mm',
1543         'browser/ui/cocoa/chrome_event_processing_window_unittest.mm',
1544         'browser/ui/cocoa/clickhold_button_cell_unittest.mm',
1545         'browser/ui/cocoa/cocoa_profile_test.h',
1546         'browser/ui/cocoa/cocoa_profile_test.mm',
1547         'browser/ui/cocoa/cocoa_test_helper.h',
1548         'browser/ui/cocoa/cocoa_test_helper.mm',
1549         'browser/ui/cocoa/command_observer_bridge_unittest.mm',
1550         'browser/ui/cocoa/confirm_bubble_controller_unittest.mm',
1551         'browser/ui/cocoa/confirm_quit_panel_controller_unittest.mm',
1552         'browser/ui/cocoa/constrained_window/constrained_window_alert_unittest.mm',
1553         'browser/ui/cocoa/constrained_window/constrained_window_animation_unittest.mm',
1554         'browser/ui/cocoa/constrained_window/constrained_window_button_unittest.mm',
1555         'browser/ui/cocoa/constrained_window/constrained_window_custom_window_unittest.mm',
1556         'browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm',
1557         'browser/ui/cocoa/content_settings/collected_cookies_mac_unittest.mm',
1558         'browser/ui/cocoa/content_settings/cookie_details_unittest.mm',
1559         'browser/ui/cocoa/content_settings/cookie_details_view_controller_unittest.mm',
1560         'browser/ui/cocoa/custom_frame_view_unittest.mm',
1561         'browser/ui/cocoa/download/download_item_button_unittest.mm',
1562         'browser/ui/cocoa/download/download_item_cell_unittest.mm',
1563         'browser/ui/cocoa/download/download_shelf_controller_unittest.mm',
1564         'browser/ui/cocoa/download/download_shelf_mac_unittest.mm',
1565         'browser/ui/cocoa/download/download_shelf_view_unittest.mm',
1566         'browser/ui/cocoa/download/download_util_mac_unittest.mm',
1567         'browser/ui/cocoa/draggable_button_unittest.mm',
1568         'browser/ui/cocoa/extensions/browser_actions_container_view_unittest.mm',
1569         'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h',
1570         'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm',
1571         'browser/ui/cocoa/extensions/extension_install_view_controller_unittest.mm',
1572         'browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm',
1573         'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_unittest.mm',
1574         'browser/ui/cocoa/extensions/media_galleries_scan_result_dialog_cocoa_unittest.mm',
1575         'browser/ui/cocoa/fast_resize_view_unittest.mm',
1576         'browser/ui/cocoa/find_bar/find_bar_bridge_unittest.mm',
1577         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller_unittest.mm',
1578         'browser/ui/cocoa/find_bar/find_bar_text_field_cell_unittest.mm',
1579         'browser/ui/cocoa/find_bar/find_bar_text_field_unittest.mm',
1580         'browser/ui/cocoa/find_bar/find_bar_view_unittest.mm',
1581         'browser/ui/cocoa/find_pasteboard_unittest.mm',
1582         'browser/ui/cocoa/first_run_bubble_controller_unittest.mm',
1583         'browser/ui/cocoa/floating_bar_backing_view_unittest.mm',
1584         'browser/ui/cocoa/framed_browser_window_unittest.mm',
1585         'browser/ui/cocoa/fullscreen_window_unittest.mm',
1586         'browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm',
1587         'browser/ui/cocoa/gradient_button_cell_unittest.mm',
1588         'browser/ui/cocoa/history_menu_bridge_unittest.mm',
1589         'browser/ui/cocoa/history_menu_cocoa_controller_unittest.mm',
1590         'browser/ui/cocoa/history_overlay_controller_unittest.mm',
1591         'browser/ui/cocoa/hover_close_button_unittest.mm',
1592         'browser/ui/cocoa/hung_renderer_controller_unittest.mm',
1593         'browser/ui/cocoa/hyperlink_text_view_unittest.mm',
1594         'browser/ui/cocoa/image_button_cell_unittest.mm',
1595         'browser/ui/cocoa/info_bubble_view_unittest.mm',
1596         'browser/ui/cocoa/info_bubble_window_unittest.mm',
1597         'browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm',
1598         'browser/ui/cocoa/infobars/infobar_container_controller_unittest.mm',
1599         'browser/ui/cocoa/infobars/infobar_gradient_view_unittest.mm',
1600         'browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.cc',
1601         'browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h',
1602         'browser/ui/cocoa/infobars/translate_infobar_unittest.mm',
1603         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm',
1604         'browser/ui/cocoa/location_bar/autocomplete_text_field_editor_unittest.mm',
1605         'browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm',
1606         'browser/ui/cocoa/location_bar/autocomplete_text_field_unittest_helper.mm',
1607         'browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm',
1608         'browser/ui/cocoa/location_bar/image_decoration_unittest.mm',
1609         'browser/ui/cocoa/location_bar/keyword_hint_decoration_unittest.mm',
1610         'browser/ui/cocoa/location_bar/selected_keyword_decoration_unittest.mm',
1611         'browser/ui/cocoa/media_picker/desktop_media_picker_controller_unittest.mm',
1612         'browser/ui/cocoa/menu_button_unittest.mm',
1613         'browser/ui/cocoa/notifications/balloon_controller_unittest.mm',
1614         'browser/ui/cocoa/notifications/message_center_tray_bridge_unittest.mm',
1615         'browser/ui/cocoa/nsmenuitem_additions_unittest.mm',
1616         'browser/ui/cocoa/nsview_additions_unittest.mm',
1617         'browser/ui/cocoa/omnibox/omnibox_popup_cell_unittest.mm',
1618         'browser/ui/cocoa/omnibox/omnibox_popup_matrix_unittest.mm',
1619         'browser/ui/cocoa/omnibox/omnibox_popup_separator_view_unittest.mm',
1620         'browser/ui/cocoa/omnibox/omnibox_popup_view_mac_unittest.mm',
1621         'browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm',
1622         'browser/ui/cocoa/one_click_signin_bubble_controller_unittest.mm',
1623         'browser/ui/cocoa/panels/panel_cocoa_unittest.mm',
1624         'browser/ui/cocoa/profile_menu_controller_unittest.mm',
1625         'browser/ui/cocoa/run_loop_testing_unittest.mm',
1626         'browser/ui/cocoa/screen_capture_notification_ui_cocoa_unittest.mm',
1627         'browser/ui/cocoa/sprite_view_unittest.mm',
1628         'browser/ui/cocoa/status_bubble_mac_unittest.mm',
1629         'browser/ui/cocoa/status_icons/status_icon_mac_unittest.mm',
1630         'browser/ui/cocoa/styled_text_field_cell_unittest.mm',
1631         'browser/ui/cocoa/styled_text_field_test_helper.h',
1632         'browser/ui/cocoa/styled_text_field_test_helper.mm',
1633         'browser/ui/cocoa/styled_text_field_unittest.mm',
1634         'browser/ui/cocoa/tab_contents/sad_tab_controller_unittest.mm',
1635         'browser/ui/cocoa/tab_contents/sad_tab_view_unittest.mm',
1636         'browser/ui/cocoa/table_row_nsimage_cache_unittest.mm',
1637         'browser/ui/cocoa/tabs/media_indicator_view_unittest.mm',
1638         'browser/ui/cocoa/tabs/tab_controller_unittest.mm',
1639         'browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm',
1640         'browser/ui/cocoa/tabs/tab_strip_view_unittest.mm',
1641         'browser/ui/cocoa/tabs/tab_view_unittest.mm',
1642         'browser/ui/cocoa/task_manager_mac_unittest.mm',
1643         'browser/ui/cocoa/toolbar/reload_button_unittest.mm',
1644         'browser/ui/cocoa/toolbar/toolbar_button_unittest.mm',
1645         'browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm',
1646         'browser/ui/cocoa/toolbar/toolbar_view_unittest.mm',
1647         'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell_unittest.mm',
1648         'browser/ui/cocoa/translate/translate_bubble_controller_unittest.mm',
1649         'browser/ui/cocoa/vertical_gradient_view_unittest.mm',
1650         'browser/ui/cocoa/validation_message_bubble_controller_unittest.mm',
1651         'browser/ui/cocoa/view_resizer_pong.h',
1652         'browser/ui/cocoa/view_resizer_pong.mm',
1653         'browser/ui/cocoa/website_settings/permission_bubble_controller_unittest.mm',
1654         'browser/ui/cocoa/website_settings_bubble_controller_unittest.mm',
1655         'browser/ui/cocoa/web_dialog_window_controller_unittest.mm',
1656         'browser/ui/cocoa/window_size_autosaver_unittest.mm',
1657         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view_unittest.mm',
1658         'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell_unittest.mm',
1659         'browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm',
1660         'browser/ui/content_settings/content_setting_bubble_model_unittest.cc',
1661         'browser/ui/content_settings/content_setting_image_model_unittest.cc',
1662         'browser/ui/find_bar/find_backend_unittest.cc',
1663         'browser/ui/fullscreen/fullscreen_controller_state_unittest.cc',
1664         'browser/ui/global_error/global_error_service_unittest.cc',
1665         'browser/ui/gtk/accelerators_gtk_unittest.cc',
1666         'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc',
1667         'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc',
1668         'browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc',
1669         'browser/ui/gtk/event_utils_unittest.cc',
1670         'browser/ui/gtk/extensions/media_galleries_dialog_gtk_unittest.cc',
1671         'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc',
1672         'browser/ui/gtk/gtk_theme_service_unittest.cc',
1673         'browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc',
1674         'browser/ui/gtk/omnibox/omnibox_view_gtk_unittest.cc',
1675         'browser/ui/gtk/reload_button_gtk_unittest.cc',
1676         'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc',
1677         'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
1678         'browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc',
1679         'browser/ui/login/login_prompt_unittest.cc',
1680         'browser/ui/omnibox/omnibox_controller_unittest.cc',
1681         'browser/ui/omnibox/omnibox_edit_unittest.cc',
1682         'browser/ui/omnibox/omnibox_popup_model_unittest.cc',
1683         'browser/ui/omnibox/omnibox_view_unittest.cc',
1684         'browser/ui/panels/panel_mouse_watcher_unittest.cc',
1685         'browser/ui/passwords/password_manager_presenter_unittest.cc',
1686         'browser/ui/search_engines/keyword_editor_controller_unittest.cc',
1687         'browser/ui/search/instant_page_unittest.cc',
1688         'browser/ui/search/instant_search_prerenderer_unittest.cc',
1689         'browser/ui/search/search_delegate_unittest.cc',
1690         'browser/ui/search/search_ipc_router_policy_unittest.cc',
1691         'browser/ui/search/search_ipc_router_unittest.cc',
1692         'browser/ui/search/search_model_unittest.cc',
1693         'browser/ui/search/search_tab_helper_unittest.cc',
1694         'browser/ui/startup/session_crashed_infobar_delegate_unittest.cc',
1695         'browser/ui/sync/one_click_signin_helper_unittest.cc',
1696         'browser/ui/sync/one_click_signin_sync_starter_unittest.cc',
1697         'browser/ui/sync/profile_signin_confirmation_helper_unittest.cc',
1698         'browser/ui/sync/sync_promo_ui_unittest.cc',
1699         'browser/ui/tab_contents/tab_contents_iterator_unittest.cc',
1700         'browser/ui/tabs/pinned_tab_codec_unittest.cc',
1701         'browser/ui/tabs/pinned_tab_service_unittest.cc',
1702         'browser/ui/tabs/pinned_tab_test_utils.cc',
1703         'browser/ui/tabs/tab_menu_model_unittest.cc',
1704         'browser/ui/tabs/tab_strip_model_unittest.cc',
1705         'browser/ui/tabs/test_tab_strip_model_delegate.cc',
1706         'browser/ui/tabs/test_tab_strip_model_delegate.h',
1707         'browser/ui/tests/elide_url_unittest.cc',
1708         'browser/ui/tests/ui_gfx_image_unittest.cc',
1709         'browser/ui/tests/ui_gfx_image_unittest.mm',
1710         'browser/ui/toolbar/back_forward_menu_model_unittest.cc',
1711         'browser/ui/toolbar/encoding_menu_controller_unittest.cc',
1712         'browser/ui/toolbar/origin_chip_info_unittest.cc',
1713         'browser/ui/toolbar/recent_tabs_builder_test_helper.cc',
1714         'browser/ui/toolbar/recent_tabs_builder_test_helper.h',
1715         'browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc',
1716         'browser/ui/toolbar/toolbar_model_unittest.cc',
1717         'browser/ui/toolbar/test_toolbar_model.cc',
1718         'browser/ui/toolbar/test_toolbar_model.h',
1719         'browser/ui/toolbar/wrench_icon_painter_unittest.cc',
1720         'browser/ui/toolbar/wrench_menu_model_unittest.cc',
1721         'browser/ui/views/accelerator_table_unittest.cc',
1722         'browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc',
1723         'browser/ui/views/apps/shaped_app_window_targeter_unittest.cc',
1724         'browser/ui/views/autofill/autofill_dialog_views_unittest.cc',
1725         'browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc',
1726         'browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc',
1727         'browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc',
1728         'browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc',
1729         'browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc',
1730         'browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc',
1731         'browser/ui/views/bookmarks/bookmark_sync_promo_view_unittest.cc',
1732         'browser/ui/views/confirm_bubble_views_unittest.cc',
1733         'browser/ui/views/constrained_window_views_unittest.cc',
1734         'browser/ui/views/crypto_module_password_dialog_view_unittest.cc',
1735         'browser/ui/views/extensions/browser_action_drag_data_unittest.cc',
1736         'browser/ui/views/extensions/media_galleries_dialog_views_unittest.cc',
1737         'browser/ui/views/first_run_bubble_unittest.cc',
1738         'browser/ui/views/frame/browser_view_layout_unittest.cc',
1739         'browser/ui/views/frame/browser_view_unittest.cc',
1740         'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc',
1741         'browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc',
1742         'browser/ui/views/frame/test_with_browser_view.cc',
1743         'browser/ui/views/frame/test_with_browser_view.h',
1744         'browser/ui/views/toolbar/reload_button_unittest.cc',
1745         'browser/ui/views/select_file_dialog_extension_unittest.cc',
1746         'browser/ui/views/status_icons/status_tray_win_unittest.cc',
1747         'browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc',
1748         'browser/ui/views/tabs/fake_base_tab_strip_controller.cc',
1749         'browser/ui/views/tabs/fake_base_tab_strip_controller.h',
1750         'browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc',
1751         'browser/ui/views/tabs/tab_unittest.cc',
1752         'browser/ui/views/tabs/tab_strip_unittest.cc',
1753         'browser/ui/views/translate/translate_bubble_view_unittest.cc',
1754         'browser/ui/views/validation_message_bubble_delegate_unittest.cc',
1755         'browser/ui/website_settings/permission_bubble_manager_unittest.cc',
1756         'browser/ui/website_settings/website_settings_unittest.cc',
1757         'browser/ui/webui/fileicon_source_unittest.cc',
1758         'browser/ui/webui/history_ui_unittest.cc',
1759         'browser/ui/webui/ntp/ntp_user_data_logger_unittest.cc',
1760         'browser/ui/webui/ntp/suggestions_combiner_unittest.cc',
1761         'browser/ui/webui/options/chromeos/cros_language_options_handler_unittest.cc',
1762         'browser/ui/webui/options/language_options_handler_unittest.cc',
1763         'browser/ui/webui/options/pepper_flash_content_settings_utils_unittest.cc',
1764         'browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc',
1765         'browser/ui/webui/print_preview/print_preview_ui_unittest.cc',
1766         'browser/ui/webui/signin/login_ui_service_unittest.cc',
1767         'browser/ui/webui/sync_internals_ui_unittest.cc',
1768         'browser/ui/webui/sync_setup_handler_unittest.cc',
1769         'browser/ui/webui/theme_source_unittest.cc',
1770         'browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc',
1771         'browser/ui/window_sizer/window_sizer_ash_unittest.cc',
1772         'browser/ui/window_sizer/window_sizer_common_unittest.cc',
1773         'browser/ui/window_sizer/window_sizer_unittest.cc',
1774         'browser/ui/zoom/zoom_controller_unittest.cc',
1775         'browser/upload_list_unittest.cc',
1776         'browser/chrome_content_browser_client_unittest.cc',
1777         'browser/undo/bookmark_undo_service_test.cc',
1778         'browser/undo/undo_manager_test.cc',
1779         'browser/usb/usb_context_unittest.cc',
1780         'browser/web_applications/web_app_mac_unittest.mm',
1781         'browser/web_applications/web_app_unittest.cc',
1782         'browser/web_resource/eula_accepted_notifier_unittest.cc',
1783         'browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc',
1784         'browser/web_resource/promo_resource_service_unittest.cc',
1785         'browser/web_resource/resource_request_allowed_notifier_test_util.cc',
1786         'browser/web_resource/resource_request_allowed_notifier_test_util.h',
1787         'browser/web_resource/resource_request_allowed_notifier_unittest.cc',
1788         'browser/webdata/keyword_table_unittest.cc',
1789         'browser/webdata/web_apps_table_unittest.cc',
1790         'common/chrome_paths_unittest.cc',
1791         'common/chrome_content_client_unittest.cc',
1792         'common/cloud_print/cloud_print_helpers_unittest.cc',
1793         'common/content_settings_helper_unittest.cc',
1794         'common/content_settings_pattern_parser_unittest.cc',
1795         'common/content_settings_pattern_unittest.cc',
1796         'common/crash_keys_unittest.cc',
1797         'common/extensions/api/commands/commands_manifest_unittest.cc',
1798         'common/extensions/api/extension_action/browser_action_manifest_unittest.cc',
1799         'common/extensions/api/extension_action/page_action_manifest_unittest.cc',
1800         'common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc',
1801         'common/extensions/api/file_handlers/file_handlers_manifest_unittest.cc',
1802         'common/extensions/api/i18n/default_locale_manifest_unittest.cc',
1803         'common/extensions/api/identity/extension_manifests_auth_unittest.cc',
1804         'common/extensions/api/sockets/sockets_manifest_permission_unittest.cc',
1805         'common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc',
1806         'common/extensions/command_unittest.cc',
1807         'common/extensions/extension_file_util_unittest.cc',
1808         'common/extensions/extension_icon_set_unittest.cc',
1809         'common/extensions/extension_l10n_util_unittest.cc',
1810         'common/extensions/extension_unittest.cc',
1811         'common/extensions/feature_switch_unittest.cc',
1812         'common/extensions/features/base_feature_provider_unittest.cc',
1813         'common/extensions/features/complex_feature_unittest.cc',
1814         'common/extensions/features/simple_feature_unittest.cc',
1815         'common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc',
1816         'common/extensions/manifest_handlers/exclude_matches_manifest_unittest.cc',
1817         'common/extensions/manifest_handlers/externally_connectable_unittest.cc',
1818         'common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc',
1819         'common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc',
1820         'common/extensions/manifest_tests/extension_manifest_test.cc',
1821         'common/extensions/manifest_tests/extension_manifests_background_unittest.cc',
1822         'common/extensions/manifest_tests/extension_manifests_chromepermission_unittest.cc',
1823         'common/extensions/manifest_tests/extension_manifests_contentsecuritypolicy_unittest.cc',
1824         'common/extensions/manifest_tests/extension_manifests_default_extent_path_unittest.cc',
1825         'common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc',
1826         'common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc',
1827         'common/extensions/manifest_tests/extension_manifests_experimental_unittest.cc',
1828         'common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc',
1829         'common/extensions/manifest_tests/extension_manifests_icons_unittest.cc',
1830         'common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc',
1831         'common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc',
1832         'common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc',
1833         'common/extensions/manifest_tests/extension_manifests_launch_unittest.cc',
1834         'common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc',
1835         'common/extensions/manifest_tests/extension_manifests_offline_unittest.cc',
1836         'common/extensions/manifest_tests/extension_manifests_old_unittest.cc',
1837         'common/extensions/manifest_tests/extension_manifests_options_unittest.cc',
1838         'common/extensions/manifest_tests/extension_manifests_override_unittest.cc',
1839         'common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc',
1840         'common/extensions/manifest_tests/extension_manifests_portsinpermissions_unittest.cc',
1841         'common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc',
1842         'common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc',
1843         'common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc',
1844         'common/extensions/manifest_tests/extension_manifests_storage_unittest.cc',
1845         'common/extensions/manifest_tests/extension_manifests_ui_unittest.cc',
1846         'common/extensions/manifest_tests/extension_manifests_update_unittest.cc',
1847         'common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc',
1848         'common/extensions/manifest_tests/extension_manifests_web_accessible_resources_unittest.cc',
1849         'common/extensions/manifest_tests/extension_manifests_web_unittest.cc',
1850         'common/extensions/manifest_tests/extension_manifests_webview_accessible_resources_unittest.cc',
1851         'common/extensions/manifest_unittest.cc',
1852         'common/extensions/message_bundle_unittest.cc',
1853         'common/extensions/permissions/media_galleries_permission_unittest.cc',
1854         'common/extensions/permissions/permission_set_unittest.cc',
1855         'common/extensions/permissions/settings_override_permission_unittest.cc',
1856         'common/extensions/permissions/socket_permission_unittest.cc',
1857         'common/extensions/permissions/usb_device_permission_unittest.cc',
1858         'common/extensions/sync_type_unittest.cc',
1859         'common/extensions/update_manifest_unittest.cc',
1860         'common/extensions/value_counter_unittest.cc',
1861         'common/extensions/api/extension_api_unittest.cc',
1862         'common/favicon/favicon_url_parser_unittest.cc',
1863         'common/importer/firefox_importer_utils_unittest.cc',
1864         'common/instant_restricted_id_cache_unittest.cc',
1865         'common/mac/cfbundle_blocker_unittest.mm',
1866         'common/mac/mock_launchd.cc',
1867         'common/mac/mock_launchd.h',
1868         'common/mac/objc_method_swizzle_unittest.mm',
1869         'common/mac/objc_zombie_unittest.mm',
1870         'common/metrics/caching_permuted_entropy_provider_unittest.cc',
1871         'common/metrics/metrics_log_base_unittest.cc',
1872         'common/metrics/metrics_log_manager_unittest.cc',
1873         'common/metrics/variations/experiment_labels_unittest.cc',
1874         'common/metrics/variations/variations_util_unittest.cc',
1875         'common/multi_process_lock_unittest.cc',
1876         'common/net/url_fixer_upper_unittest.cc',
1877         'common/net/x509_certificate_model_unittest.cc',
1878         'common/partial_circular_buffer_unittest.cc',
1879         'common/pref_names_util_unittest.cc',
1880         'common/search_urls_unittest.cc',
1881         'common/service_process_util_unittest.cc',
1882         'common/switch_utils_unittest.cc',
1883         'common/thumbnail_score_unittest.cc',
1884         'common/worker_thread_ticker_unittest.cc',
1885         'renderer/chrome_content_renderer_client_unittest.cc',
1886         'renderer/content_settings_observer_unittest.cc',
1887         'renderer/extensions/activity_log_converter_strategy_unittest.cc',
1888         'renderer/extensions/chrome_v8_context_set_unittest.cc',
1889         'renderer/extensions/event_unittest.cc',
1890         'renderer/extensions/extension_localization_peer_unittest.cc',
1891         'renderer/extensions/json_schema_unittest.cc',
1892         'renderer/extensions/messaging_utils_unittest.cc',
1893         'renderer/extensions/module_system_unittest.cc',
1894         'renderer/extensions/renderer_permissions_policy_delegate_unittest.cc',
1895         'renderer/extensions/safe_builtins_unittest.cc',
1896         'renderer/media/chrome_webrtc_log_message_delegate_unittest.cc',
1897         'renderer/net/net_error_helper_core_unittest.cc',
1898         'renderer/net/predictor_queue_unittest.cc',
1899         'renderer/net/renderer_predictor_unittest.cc',
1900         'renderer/plugins/plugin_uma_unittest.cc',
1901         'renderer/prerender/prerender_dispatcher_unittest.cc',
1902         'renderer/safe_browsing/features_unittest.cc',
1903         'renderer/safe_browsing/murmurhash3_util_unittest.cc',
1904         'renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc',
1905         'renderer/safe_browsing/phishing_url_feature_extractor_unittest.cc',
1906         'renderer/safe_browsing/scorer_unittest.cc',
1907         'renderer/searchbox/search_bouncer_unittest.cc',
1908         'renderer/searchbox/searchbox_extension_unittest.cc',
1909         'renderer/searchbox/searchbox_unittest.cc',
1910         'renderer/spellchecker/custom_dictionary_engine_unittest.cc',
1911         'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc',
1912         'renderer/spellchecker/spellcheck_provider_mac_unittest.cc',
1913         'renderer/spellchecker/spellcheck_provider_test.cc',
1914         'renderer/spellchecker/spellcheck_provider_test.h',
1915         'renderer/spellchecker/spellcheck_unittest.cc',
1916         'renderer/spellchecker/spellcheck_worditerator_unittest.cc',
1917         'renderer/web_apps_unittest.cc',
1918         'service/cloud_print/cloud_print_service_helpers_unittest.cc',
1919         'service/cloud_print/cloud_print_token_store_unittest.cc',
1920         'service/cloud_print/cloud_print_url_fetcher_unittest.cc',
1921         'service/cloud_print/connector_settings_unittest.cc',
1922         'service/cloud_print/printer_job_handler_unittest.cc',
1923         'service/cloud_print/printer_job_queue_handler_unittest.cc',
1924         'service/service_process_prefs_unittest.cc',
1925         'service/service_process_unittest.cc',
1926         'test/base/browser_with_test_window_test.cc',
1927         'test/base/browser_with_test_window_test.h',
1928         'test/base/chrome_render_view_test.cc',
1929         'test/base/chrome_render_view_test.h',
1930         'test/base/menu_model_test.cc',
1931         'test/base/menu_model_test.h',
1932         'test/base/v8_unit_test.cc',
1933         'test/base/v8_unit_test.h',
1934         'test/data/resource.rc',
1935         'test/data/unit/framework_unittest.gtestjs',
1936         'test/logging/win/mof_data_parser_unittest.cc',
1937         'tools/convert_dict/convert_dict_unittest.cc',
1938         'tools/profile_reset/jtl_compiler_unittest.cc',
1939         'tools/profile_reset/jtl_parser_unittest.cc',
1940         'utility/cloud_print/pwg_encoder_unittest.cc',
1941         'utility/extensions/unpacker_unittest.cc',
1942         'utility/image_writer/image_writer_unittest.cc',
1943         'utility/importer/bookmark_html_reader_unittest.cc',
1944         'utility/importer/bookmarks_file_importer_unittest.cc',
1945         'utility/importer/firefox_importer_unittest.cc',
1946         'utility/importer/firefox_importer_unittest_messages_internal.h',
1947         'utility/importer/firefox_importer_unittest_utils.h',
1948         'utility/importer/firefox_importer_unittest_utils_mac.cc',
1949         'utility/importer/safari_importer_unittest.mm',
1951         # Duplicate these tests here because PathService has more items in
1952         # unit_tests than in base_unittests.
1953         '../base/path_service_unittest.cc',
1955         # TODO(yael): Move to //components/components_tests.gypi once
1956         # nacl_defines is moved out of chrome.gyp into a common place.
1957         '../components/nacl/loader/nacl_ipc_adapter_unittest.cc',
1958         '../components/nacl/loader/nacl_validation_query_unittest.cc',
1960         '../components/webdata/common/web_database_migration_unittest.cc',
1961         '../components/webdata/common/web_data_service_test_util.cc',
1962         '../components/webdata/common/web_data_service_test_util.h',
1964         '../skia/ext/analysis_canvas_unittest.cc',
1965         '../skia/ext/bitmap_platform_device_mac_unittest.cc',
1966         '../skia/ext/convolver_unittest.cc',
1967         '../skia/ext/image_operations_unittest.cc',
1968         '../skia/ext/pixel_ref_utils_unittest.cc',
1969         '../skia/ext/platform_canvas_unittest.cc',
1970         '../skia/ext/recursive_gaussian_convolution_unittest.cc',
1971         '../skia/ext/refptr_unittest.cc',
1972         '../skia/ext/skia_utils_ios_unittest.mm',
1973         '../skia/ext/skia_utils_mac_unittest.mm',
1974         '../skia/ext/vector_canvas_unittest.cc',
1975         '../testing/gtest_mac_unittest.mm',
1976         '../third_party/zlib/google/zip_reader_unittest.cc',
1977         '../third_party/zlib/google/zip_unittest.cc',
1978         '../tools/json_schema_compiler/test/additional_properties_unittest.cc',
1979         '../tools/json_schema_compiler/test/any_unittest.cc',
1980         '../tools/json_schema_compiler/test/arrays_unittest.cc',
1981         '../tools/json_schema_compiler/test/callbacks_unittest.cc',
1982         '../tools/json_schema_compiler/test/choices_unittest.cc',
1983         '../tools/json_schema_compiler/test/crossref_unittest.cc',
1984         '../tools/json_schema_compiler/test/enums_unittest.cc',
1985         '../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc',
1986         '../tools/json_schema_compiler/test/functions_on_types_unittest.cc',
1987         '../tools/json_schema_compiler/test/idl_schemas_unittest.cc',
1988         '../tools/json_schema_compiler/test/objects_unittest.cc',
1989         '../tools/json_schema_compiler/test/simple_api_unittest.cc',
1990         '../tools/json_schema_compiler/test/error_generation_unittest.cc',
1991         '../ui/webui/resources/js/cr.js',
1992         '../webkit/browser/quota/mock_storage_client.cc',
1993         '../webkit/browser/quota/mock_storage_client.h',
1994       ],
1995       'conditions': [
1996         ['OS!="ios"', {
1997           'dependencies': [
1998             '../components/components.gyp:autofill_content_test_support',
1999             '../components/components_strings.gyp:components_strings',
2000             '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
2001             '../gpu/gpu.gyp:gpu_unittest_utils',
2002             '../media/media.gyp:media_test_support',
2003             '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
2004             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2005             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
2006             '../third_party/libjingle/libjingle.gyp:libjingle',
2007             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
2008             '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:json_schema_compiler_tests',
2009             '../ui/gl/gl.gyp:gl',
2010             '../v8/tools/gyp/v8.gyp:v8',
2011             '../webkit/webkit_resources.gyp:webkit_resources',
2012             'common/extensions/api/api.gyp:chrome_api',
2013           ],
2014           # TODO(scr): Use this in browser_tests too.
2015           'includes': [
2016             'js_unittest_rules.gypi',
2017           ],
2018           'include_dirs': [
2019             '<(SHARED_INTERMEDIATE_DIR)/chrome',
2020           ],
2021         }, {  # OS=="ios"
2022           'dependencies': [
2023             '../third_party/ocmock/ocmock.gyp:ocmock',
2024           ],
2025           'sources/': [
2026             # Exclude everything but iOS-specific files.
2027             ['exclude', '\\.(cc|mm)$'],
2028             ['include', '_ios\\.(cc|mm)$'],
2029             ['include', '(^|/)ios/'],
2030             # TODO(ios): Add files here as they are updated to compile on iOS.
2031             ['include', '^common/translate/language_detection_util_unittest\\.cc$'],
2032             ['include', '^common/translate/translate_util_unittest\\.cc$'],
2033             ['include', '^common/zip_'],
2034           ],
2035           # Bundle all the necessary resources into the test bundle.
2036           'includes': ['chrome_ios_bundle_resources.gypi'],
2037           'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']},
2038         }],
2039         ['enable_background==0', {
2040           'sources/': [
2041             ['exclude', '^browser/background/'],
2042           ],
2043         }],
2044         ['enable_spellcheck==0', {
2045           'sources/': [
2046              ['exclude', '^browser/spellchecker/'],
2047              ['exclude', '^renderer/spellchecker/'],
2048           ],
2049           'dependencies!': [
2050              '../third_party/hunspell/hunspell.gyp:hunspell',
2051           ],
2052         }],
2053         ['enable_one_click_signin==0', {
2054           'sources!': [
2055             'browser/ui/cocoa/one_click_signin_bubble_controller_unittest.mm',
2056             'browser/ui/sync/one_click_signin_helper_unittest.cc',
2057             'browser/ui/sync/one_click_signin_sync_starter_unittest.cc',
2058             'browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc',
2059           ]
2060         }],
2061         ['disable_nacl==1', {
2062           'sources!':[
2063             # TODO(yael): Move to //components/components_tests.gypi once
2064             # nacl_defines is moved out of chrome.gyp into a common place.
2065             '../components/nacl/loader/nacl_ipc_adapter_unittest.cc',
2066             '../components/nacl/loader/nacl_validation_query_unittest.cc',
2067           ],
2068         }],
2069         ['enable_extensions==0', {
2070           'sources/': [
2071             ['exclude', '^../extensions/'],
2072             ['exclude', '^browser/extensions/activity_log/'],
2073             ['exclude', '^browser/extensions/api/'],
2074             ['exclude', '^browser/extensions/error_console/'],
2075             ['exclude', '^browser/sync/glue/extensions_activity_monitor_unittest.cc'],
2076             ['exclude', '^common/extensions/api/'],
2077             ['exclude', '^common/extensions/manifest_handlers/'],
2078             ['exclude', '^common/extensions/manifest_tests/'],
2079             # This test depends on manifest_tests.
2080             ['exclude', '^common/extensions/permissions/settings_override_permission_unittest.cc'],
2081           ],
2082           'sources!': [
2083             'browser/extensions/extension_context_menu_model_unittest.cc',
2084             'browser/extensions/extension_protocols_unittest.cc',
2085             'browser/extensions/extension_ui_unittest.cc',
2086             'browser/extensions/extension_web_ui_unittest.cc',
2087             'browser/extensions/pack_extension_unittest.cc',
2088             'browser/extensions/permissions_updater_unittest.cc',
2089             'browser/extensions/sandboxed_unpacker_unittest.cc',
2090             'common/extensions/sync_type_unittest.cc',
2091             'common/extensions/permissions/permission_set_unittest.cc',
2092             'renderer/extensions/activity_log_converter_strategy_unittest.cc',
2093             'renderer/extensions/chrome_v8_context_set_unittest.cc',
2094             'renderer/extensions/event_unittest.cc',
2095             'renderer/extensions/extension_localization_peer_unittest.cc',
2096             'renderer/extensions/json_schema_unittest.cc',
2097             'renderer/extensions/messaging_utils_unittest.cc',
2098             'renderer/extensions/module_system_unittest.cc',
2099             'renderer/extensions/renderer_permissions_policy_delegate_unittest.cc',
2100             'renderer/extensions/safe_builtins_unittest.cc',
2101             'utility/extensions/unpacker_unittest.cc',
2102           ],
2103         }],
2104         ['use_ash==1', {
2105           'sources': [
2106             'browser/ui/app_list/search/app_search_provider_unittest.cc',
2107             'browser/ui/app_list/search/history_unittest.cc',
2108             'browser/ui/app_list/search/history_data_store_unittest.cc',
2109             'browser/ui/app_list/search/mixer_unittest.cc',
2110             'browser/ui/app_list/search/term_break_iterator_unittest.cc',
2111             'browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc',
2112             'browser/ui/app_list/search/tokenized_string_match_unittest.cc',
2113             'browser/ui/app_list/search/tokenized_string_unittest.cc',
2114           ],
2115           'dependencies': [
2116             '../ash/ash.gyp:ash_resources',
2117             '../ash/ash.gyp:ash_test_support',
2118             '../ash/ash_strings.gyp:ash_strings',
2119           ],
2120           # We eventually want to compile both in Win Aura builds, see
2121           # http://crbug.com/155545.
2122           'conditions': [
2123             ['OS !="win"', {
2124               'sources!': [
2125                 'browser/ui/window_sizer/window_sizer_unittest.cc',
2126               ],
2127             }],
2128           ],
2129         }],
2130         ['use_aura==1', {
2131           'dependencies': [
2132             '../ui/aura/aura.gyp:aura_test_support',
2133           ],
2134           'sources/': [
2135             ['exclude', '^browser/ui/views/extensions/browser_action_drag_data_unittest.cc'],
2136           ],
2137         }],
2138         ['use_aura==1 and use_ash==0 and use_ozone==0 and OS=="linux"', {
2139           'dependencies': [
2140             'browser/ui/libgtk2ui/libgtk2ui.gyp:gtk2ui',
2141             '../build/linux/system.gyp:gio',
2142           ],
2143         }, {
2144           'sources/': [
2145             ['exclude', '^browser/ui/libgtk2ui/'],
2146           ],
2147         }],
2148         ['use_aura==1 or toolkit_views==1', {
2149           'dependencies': [
2150             '../ui/events/events.gyp:events_test_support',
2151             '../ui/wm/wm.gyp:wm_core',
2152           ],
2153         }],
2154         ['use_aura==1 and component=="shared_library"', {
2155           'sources!': [
2156             # TODO(erg): This file does not compile in shared library mode
2157             # because it is reaching into the internals of libgtk2ui, which
2158             # shouldn't be linked with the rest of chrome. This should either
2159             # be fixed by creating a separate unit test target, or by deleting
2160             # the test.
2161             'browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2_unittest.cc'
2162           ],
2163         }],
2164         ['enable_task_manager==0', {
2165           'sources/': [
2166             ['exclude', '^browser/task_manager/'],
2167           ],
2168         }],
2169         ['chromeos==0', {
2170           'sources!': [
2171             'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc',
2172             'browser/ui/views/select_file_dialog_extension_unittest.cc',
2173           ],
2174         }],
2175         ['enable_mdns == 1', {
2176             'sources': [
2177               'utility/local_discovery/local_domain_resolver_unittest.cc',
2178               'utility/local_discovery/service_discovery_client_unittest.cc',
2179               'browser/local_discovery/privet_device_lister_unittest.cc',
2180               'browser/local_discovery/privet_notifications_unittest.cc',
2181               'browser/local_discovery/privet_local_printer_lister_unittest.cc',
2182               'browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc',
2183             ]
2184         }],
2185         ['configuration_policy==0', {
2186           'sources!': [
2187             'browser/extensions/api/storage/policy_value_store_unittest.cc',
2188             'browser/extensions/policy_handlers_unittest.cc',
2189             'browser/net/proxy_policy_handler_unittest.cc',
2190             'browser/prefs/proxy_policy_unittest.cc',
2191             'browser/profiles/incognito_mode_policy_handler_unittest.cc',
2192             'browser/search_engines/default_search_policy_handler_unittest.cc',
2193             'browser/sessions/restore_on_startup_policy_handler_unittest.cc',
2194             'browser/sync/sync_policy_handler_unittest.cc',
2195           ],
2196           'sources/': [
2197             ['exclude', '^browser/policy/'],
2198           ],
2199         }],
2200         ['input_speech==0', {
2201           'sources/': [
2202             ['exclude', '^browser/speech/'],
2203           ],
2204         }],
2205         ['notifications==0', {
2206           'sources/': [
2207             ['exclude', '^browser/notifications/'],
2208           ],
2209         }],
2210         ['safe_browsing==1', {
2211           'defines': [
2212             'FULL_SAFE_BROWSING',
2213           ],
2214         }],
2215         # TODO(sgurun): enable tests for safe_browsing==2.
2216         ['safe_browsing!=1', {
2217           'sources/': [
2218             ['exclude', '^browser/safe_browsing/'],
2219             ['exclude', '^renderer/safe_browsing/'],
2220           ],
2221         }],
2222         ['enable_autofill_dialog!=1 or OS=="android"', {
2223           'sources!': [
2224             'browser/ui/autofill/account_chooser_model_unittest.cc',
2225             'browser/ui/autofill/autofill_credit_card_bubble_controller_unittest.cc',
2226             'browser/ui/autofill/autofill_dialog_controller_unittest.cc',
2227             'browser/ui/autofill/autofill_dialog_i18n_input_unittest.cc',
2228             'browser/ui/autofill/country_combobox_model_unittest.cc',
2229             'browser/ui/autofill/data_model_wrapper_unittest.cc',
2230             'browser/ui/autofill/mock_address_validator.cc',
2231             'browser/ui/autofill/mock_address_validator.h',
2232             'browser/ui/autofill/mock_autofill_dialog_view_delegate.cc',
2233             'browser/ui/autofill/mock_autofill_dialog_view_delegate.h',
2234             'browser/ui/autofill/test_autofill_credit_card_bubble.cc',
2235             'browser/ui/autofill/test_autofill_credit_card_bubble.h',
2236           ],
2237         }],
2238         ['enable_automation!=1', {
2239           'sources/': [
2240             ['exclude', '^browser/automation/'],
2241           ],
2242         }],
2243         ['enable_plugins==0', {
2244           'sources/': [
2245             ['exclude', '^browser/plugins/'],
2246           ],
2247           'sources!': [
2248             'browser/renderer_host/plugin_info_message_filter_unittest.cc',
2249           ],
2250         }],
2251         ['enable_printing!=1', {
2252           'sources/': [
2253             ['exclude', '^browser/printing/'],
2254             ['exclude', '^browser/ui/webui/print_preview/'],
2255           ],
2256         }],
2257         ['enable_captive_portal_detection!=1', {
2258           'sources/': [
2259             ['exclude', '^browser/captive_portal/'],
2260           ],
2261         }],
2262         ['enable_session_service!=1', {
2263           'sources!': [
2264             'browser/sessions/session_service_unittest.cc',
2265             'browser/ui/startup/session_crashed_infobar_delegate_unittest.cc',
2266           ],
2267         }],
2268         ['enable_webrtc==0', {
2269           'sources!': [
2270             'browser/media/webrtc_log_uploader_unittest.cc',
2271             'browser/media/webrtc_log_util_unittest.cc',
2272             'renderer/media/chrome_webrtc_log_message_delegate_unittest.cc',
2273           ],
2274         }],
2275         ['chromeos==1', {
2276           'sources!': [
2277             'browser/extensions/api/messaging/native_message_process_host_unittest.cc',
2278             'browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc',
2279             'browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc',
2280             'browser/password_manager/native_backend_gnome_x_unittest.cc',
2281             'browser/password_manager/native_backend_kwallet_x_unittest.cc',
2282             'browser/policy/cloud/user_policy_signin_service_unittest.cc',
2283             'browser/profiles/profile_list_desktop_unittest.cc',
2284             'browser/safe_browsing/download_protection_service_unittest.cc',
2285             'browser/shell_integration_linux_unittest.cc',
2286             'browser/signin/signin_global_error_unittest.cc',
2287             'browser/signin/signin_manager_unittest.cc',
2288             'browser/signin/signin_names_io_thread_unittest.cc',
2289             'browser/ui/sync/one_click_signin_helper_unittest.cc',
2290             'browser/ui/sync/one_click_signin_sync_starter_unittest.cc',
2291             'browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc',
2292           ],
2293           'sources': [
2294             'browser/extensions/updater/local_extension_cache_unittest.cc',
2295           ],
2296         }, { # else: chromeos == 0
2297           'sources/': [
2298             ['exclude', '^browser/chromeos/'],
2299             ['exclude', '^browser/ui/webui/chromeos/imageburner/'],
2300             ['exclude', '^browser/ui/webui/chromeos/login'],
2301             ['exclude', '^browser/ui/webui/options/chromeos/'],
2302             ['exclude', '^browser/ui/webui/options/chromeos/'],
2303           ],
2304           'sources!': [
2305             'browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc',
2306             'browser/notifications/login_state_notification_blocker_chromeos_unittest.cc',
2307             'browser/extensions/api/log_private/syslog_parser_unittest.cc',
2308           ],
2309         }],
2310         ['use_x11==1', {
2311           'dependencies': [
2312             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2313           ],
2314         }],
2315         ['toolkit_uses_gtk == 1', {
2316           'conditions': [
2317             ['toolkit_views==1', {
2318               'sources!': [
2319                 'browser/ui/gtk/accelerators_gtk_unittest.cc',
2320                 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc',
2321                 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc',
2322                 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc',
2323                 'browser/ui/gtk/gtk_theme_service_unittest.cc',
2324                 'browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc',
2325                 'browser/ui/gtk/omnibox/omnibox_view_gtk_unittest.cc',
2326                 'browser/ui/gtk/reload_button_gtk_unittest.cc',
2327                 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc',
2328               ],
2329             }],
2330           ],
2331           'dependencies': [
2332             '../build/linux/system.gyp:dbus',
2333             '../build/linux/system.gyp:gtk',
2334             '../dbus/dbus.gyp:dbus_test_support',
2335             '../sandbox/sandbox.gyp:*',
2336           ],
2337         }, { # else: toolkit_uses_gtk != 1
2338           'sources!': [
2339             'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
2340             '../ui/views/focus/accelerator_handler_gtk_unittest.cc',
2341           ],
2342         }],
2343         ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)', {
2344           'dependencies': [
2345             '../build/linux/system.gyp:ssl',
2346           ],
2347         }],
2348         ['use_gnome_keyring == 0', {
2349           # Disable the GNOME Keyring tests if we are not using it.
2350           'sources!': [
2351             'browser/password_manager/native_backend_gnome_x_unittest.cc',
2352           ],
2353         }, {
2354           # We use a few library functions directly, so link directly.
2355           'dependencies': [
2356             '../build/linux/system.gyp:gnome_keyring_direct',
2357           ],
2358         }],
2359         ['OS=="linux" and use_aura==1', {
2360           'dependencies': [
2361             '../build/linux/system.gyp:dbus',
2362             '../dbus/dbus.gyp:dbus_test_support',
2363             '../ui/aura/aura.gyp:aura_test_support',
2364           ],
2365         }],
2366         ['OS=="linux" and branding=="Chrome" and target_arch=="ia32"', {
2367           'configurations': {
2368             'Release': {
2369               'ldflags': [
2370                 '-Wl,--strip-debug',
2371               ],
2372             },
2373           },
2374         }],
2375         ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2376           'conditions': [
2377             # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
2378             ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
2379               'dependencies': [
2380                 '../base/allocator/allocator.gyp:allocator',
2381               ],
2382             }],
2383           ],
2384         }],
2385         ['OS=="mac"', {
2386           # The test fetches resources which means Mac need the app bundle to
2387           # exist on disk so it can pull from it.
2388           'dependencies': [
2389             '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
2390             '../third_party/ocmock/ocmock.gyp:ocmock',
2391             'chrome',
2392           ],
2393           'sources!': [
2394             'browser/ui/tests/ui_gfx_image_unittest.cc',
2395             'browser/ui/gtk/reload_button_gtk_unittest.cc',
2396             'tools/convert_dict/convert_dict_unittest.cc',
2397             'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc',
2398           ],
2399           # TODO(mark): We really want this for all non-static library targets,
2400           # but when we tried to pull it up to the common.gypi level, it broke
2401           # other things like the ui and startup tests. *shrug*
2402           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2403         }],
2404         ['OS!="mac" and OS!="ios"', {
2405           'dependencies': [
2406             '../third_party/hunspell/hunspell.gyp:hunspell',
2407             'chrome_resources.gyp:packed_extra_resources',
2408             'chrome_resources.gyp:packed_resources',
2409             'tools/convert_dict/convert_dict.gyp:convert_dict_lib',
2410           ],
2411         }],
2412         ['OS!="win" and OS!="mac"', {
2413           'sources!': [
2414             '../skia/ext/platform_canvas_unittest.cc',
2415           ],
2416         }],
2417         ['OS=="win" or OS=="mac"', {
2418           'sources': [
2419             'browser/media_galleries/fileapi/itunes_file_util_unittest.cc',
2420             'browser/media_galleries/fileapi/picasa_file_util_unittest.cc',
2421             'utility/media_galleries/itunes_library_parser_unittest.cc',
2422             'utility/media_galleries/picasa_album_table_reader_unittest.cc',
2423             'utility/media_galleries/picasa_albums_indexer_unittest.cc',
2424             'utility/media_galleries/pmp_column_reader_unittest.cc',
2425           ],
2426         }],
2427         ['OS=="mac"', {
2428           'sources': [
2429             'browser/media_galleries/fileapi/iphoto_file_util_unittest.cc',
2430             'utility/media_galleries/iphoto_library_parser_unittest.cc',
2431           ],
2432         }],
2433         ['enable_rlz==0', {
2434           'sources!': [
2435             'browser/rlz/rlz_unittest.cc',
2436           ],
2437         }],
2438         ['OS=="win" and component!="shared_library"', {
2439           # Unit_tests pdb files can get too big when incremental linking is
2440           # on, disabling for this target.
2441           'configurations': {
2442             'Debug': {
2443               'msvs_settings': {
2444                 'VCLinkerTool': {
2445                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2446                 },
2447               },
2448             },
2449           },
2450         }],
2451         ['OS=="win"', {
2452           'dependencies': [
2453             'chrome_version_resources',
2454             'installer_util_strings',
2455             'unit_tests_exe_pdb_workaround',
2456             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
2457             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
2458           ],
2459           'conditions': [
2460             ['win_use_allocator_shim==1', {
2461               'dependencies': [
2462                 '<(allocator_target)',
2463               ],
2464             }],
2465           ],
2466           'include_dirs': [
2467             '<(DEPTH)/third_party/wtl/include',
2468           ],
2469           'sources': [
2470             # TODO:  It would be nice to have these pulled in
2471             # automatically from direct_dependent_settings in
2472             # their various targets (net.gyp:net_resources, etc.),
2473             # but that causes errors in other targets when
2474             # resulting .res files get referenced multiple times.
2475             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2476             '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings/installer_util_strings.rc',
2477             '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc',
2478           ],
2479           'link_settings': {
2480             'libraries': [
2481               '-lcomsupp.lib',
2482               '-loleacc.lib',
2483               '-lrpcrt4.lib',
2484               '-lurlmon.lib',
2485               '-lwinmm.lib',
2486             ],
2487           },
2488         }, { # else: OS != "win"
2489           'sources!': [
2490             'app/chrome_dll.rc',
2491             'browser/search_engines/template_url_scraper_unittest.cc',
2492             'browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc',
2493             'browser/ui/views/extensions/browser_action_drag_data_unittest.cc',
2494             'test/data/resource.rc',
2495             '../skia/ext/vector_canvas_unittest.cc',
2496           ],
2497         }],
2498         ['OS!="android" and OS!="ios"', {
2499           'dependencies': [
2500             'tools/profile_reset/jtl_compiler.gyp:jtl_compiler_lib',
2501           ],
2502           'sources!': [
2503             'browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc',
2504             'browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc',
2505             'browser/net/spdyproxy/data_reduction_proxy_settings_unittest.h',
2506             'browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc',
2507           ],
2508         }],
2509         ['OS=="android"', {
2510           'dependencies!': [
2511             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
2512           ],
2513           'sources!': [
2514             # Bookmark export/import are handled via the BookmarkColumns
2515             # ContentProvider.
2516             'browser/bookmarks/bookmark_html_writer_unittest.cc',
2518             # No service process (which also requires multiprocess lock).
2519             'common/multi_process_lock_unittest.cc',
2521             # Sync setup uses native ui.
2522             'browser/ui/webui/sync_setup_handler_unittest.cc',
2523             'browser/sync/sync_ui_util_unittest.cc',
2525             'browser/browser_commands_unittest.cc',
2526             'browser/download/download_shelf_unittest.cc',
2527             'browser/extensions/extension_message_bubble_controller_unittest.cc',
2528             'browser/extensions/extension_test_message_listener_unittest.cc',
2529             'browser/policy/policy_path_parser_unittest.cc',
2530             'browser/profiles/off_the_record_profile_impl_unittest.cc',
2531             'browser/profiles/profile_list_desktop_unittest.cc',
2532             'browser/renderer_context_menu/render_view_context_menu_unittest.cc',
2533             'browser/search/instant_service_unittest.cc',
2534             'browser/search/search_unittest.cc',
2535             'browser/signin/mutable_profile_oauth2_token_service_unittest.cc',
2536             'browser/sync/profile_sync_service_session_unittest.cc',
2537             'browser/sync/sessions2/sessions_sync_manager_unittest.cc',
2538             'browser/sync/sync_global_error_unittest.cc',
2539             'browser/translate/translate_manager_render_view_host_unittest.cc',
2540             'browser/ui/browser_instant_controller_unittest.cc',
2541             'browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc',
2542             'browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc',
2543             'browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc',
2544             'browser/ui/bookmarks/bookmark_unittest.cc',
2545             'browser/ui/browser_command_controller_unittest.cc',
2546             'browser/ui/browser_iterator_unittest.cc',
2547             'browser/ui/fullscreen/fullscreen_controller_state_unittest.cc',
2548             'browser/ui/fullscreen/fullscreen_controller_unittest.cc',
2549             'browser/ui/search/instant_page_unittest.cc',
2550             'browser/ui/search/instant_search_prerenderer_unittest.cc',
2551             'browser/ui/search/search_delegate_unittest.cc',
2552             'browser/ui/search/search_ipc_router_policy_unittest.cc',
2553             'browser/ui/search/search_ipc_router_unittest.cc',
2554             'browser/ui/search/search_model_unittest.cc',
2555             'browser/ui/search/search_tab_helper_unittest.cc',
2556             'browser/ui/tab_contents/tab_contents_iterator_unittest.cc',
2557             'browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc',
2558             'browser/ui/toolbar/toolbar_model_unittest.cc',
2559             'browser/ui/toolbar/wrench_menu_model_unittest.cc',
2560             'browser/ui/webui/ntp/suggestions_combiner_unittest.cc',
2561             'browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc',
2562             'browser/ui/window_sizer/window_sizer_common_unittest.cc',
2563             'browser/ui/window_sizer/window_sizer_unittest.cc',
2564             'test/base/browser_with_test_window_test.cc',
2565             'test/base/browser_with_test_window_test.h',
2566             'test/base/test_browser_window.h',
2568             'browser/sessions/persistent_tab_restore_service_unittest.cc',
2569             'browser/sessions/session_backend_unittest.cc',
2571             # Test files cannot be opened on Android.
2572             'browser/drive/fake_drive_service_unittest.cc',
2573             'browser/sync_file_system/drive_backend/api_util_unittest.cc',
2574             'browser/sync_file_system/drive_backend/drive_file_sync_service_sync_unittest.cc',
2576             # The autofill popup is implemented in mostly native code on
2577             # Android.
2578             'browser/ui/autofill/autofill_popup_controller_unittest.cc',
2580             # Android uses a different invaliator.
2581             'browser/invalidation/gcm_invalidation_bridge_unittest.cc',
2582             'browser/invalidation/ticl_invalidation_service_unittest.cc',
2584             # The importer code is not used on Android.
2585             'common/importer/firefox_importer_utils_unittest.cc',
2587             # USB service is not supported on Android.
2588             'browser/usb/usb_context_unittest.cc',
2590             # Bookmark undo is not used on Android.
2591            'browser/undo/bookmark_undo_service_test.cc',
2592            'browser/undo/undo_manager_test.cc',
2594             # URL elider is not used on android.
2595            'browser/ui/tests/elide_url_unittest.cc',
2596           ],
2597           'sources/': [
2598             ['exclude', '^browser/captive_portal/'],
2599             ['exclude', '^browser/diagnostics/'],
2600             ['exclude', '^browser/first_run/'],
2601             ['exclude', '^browser/lifetime/'],
2602             ['exclude', '^browser/media_galleries/'],
2603             ['exclude', '^browser/net/firefox_*'],
2604             ['exclude', '^browser/profile_resetter/'],
2605             ['exclude', '^browser/speech/'],
2606             ['exclude', '^browser/sync/glue/app_'],
2607             ['exclude', '^browser/sync/glue/extension_'],
2608             ['exclude', '^browser/themes/'],
2609             ['exclude', '^browser/ui/autofill/.*credit_card_bubble.*'],
2610             ['exclude', '^browser/ui/content_settings/'],
2611             ['exclude', '^browser/ui/omnibox/'],
2612             ['exclude', '^browser/ui/panels'],
2613             ['exclude', '^browser/ui/tabs/'],
2614             ['exclude', '^browser/ui/toolbar/'],
2615             ['exclude', '^browser/ui/webui/downloads_'],
2616             ['exclude', '^browser/ui/webui/flags_'],
2617             ['exclude', '^browser/ui/webui/help/'],
2618             ['exclude', '^browser/ui/webui/options/'],
2619             ['exclude', '^browser/ui/webui/options/'],
2620             ['exclude', '^browser/ui/webui/signin/'],
2621             ['exclude', '^browser/ui/webui/suggestions_internals'],
2622             ['exclude', '^browser/ui/webui/sync_promo'],
2623             ['exclude', '^tools/profile_reset/'],
2624             ['exclude', '^utility/importer/'],
2625           ],
2626           'conditions': [
2627             ['gtest_target_type == "shared_library"', {
2628               'dependencies': [
2629                 '../testing/android/native_test.gyp:native_test_native_code',
2630               ],
2631             }],
2632           ],
2633         }],  # OS == android
2634         ['OS!="android" and OS!="ios" and chromeos==0 and configuration_policy==1', {
2635           'sources': [
2636             'browser/net/disk_cache_dir_policy_handler_unittest.cc',
2637           ],
2638         }],
2639         ['OS!="android" and OS!="ios" and configuration_policy==1', {
2640           'sources': [
2641             'browser/download/download_dir_policy_handler_unittest.cc'
2642           ],
2643         }],
2644         ['enable_printing!=1', {
2645           'sources/': [
2646             # No need for service process.
2647             ['exclude', '^browser/service/'],
2648             ['exclude', '^common/service_'],
2649             ['exclude', '^service/'],
2650           ],
2651         }],
2652         ['enable_themes==0', {
2653           'sources!': [
2654             'browser/ui/webui/theme_source_unittest.cc',
2655           ],
2656           'sources/': [
2657             ['exclude', '^browser/themes/'],
2658           ],
2659         }],
2660         ['toolkit_views==1', {
2661           'dependencies': [
2662             '../components/components.gyp:web_modal_test_support',
2663             '../ui/views/views.gyp:views',
2664             '../ui/views/views.gyp:views_test_support',
2665           ],
2666           'sources!': [
2667             'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
2668           ],
2669         }, { # else: toolkit_views == 0
2670           'sources/': [
2671             ['exclude', '^browser/bookmarks/bookmark_node_data_unittest.cc'],
2672             ['exclude', '^browser/ui/views/'],
2673             ['exclude', '^../apps/ui/views/'],
2674             ['exclude', '^../ui/views/'],
2675           ],
2676         }],
2677         ['use_nss==0 and use_openssl==0', {
2678           'sources!': [
2679             'common/net/x509_certificate_model_unittest.cc',
2680           ],
2681         }],
2682         ['use_openssl==1', {
2683           'sources!': [
2684             # networking_private_crypto.cc uses NSS functions.
2685             'common/extensions/api/networking_private/networking_private_crypto_unittest.cc',
2686           ],
2687           'sources/': [
2688             # OpenSSL build does not support firefox importer. See
2689             # http://crbug.com/64926
2690             ['exclude', '^browser/importer/'],
2691           ],
2692         }],
2693         ['enable_managed_users!=1', {
2694           'sources/': [
2695             ['exclude', '^browser/managed_mode/'],
2696           ],
2697         }],
2698         ['safe_browsing!=1', {
2699           'sources/': [
2700             ['exclude', '^browser/extensions/blacklist_unittest.cc'],
2701           ],
2702         }],
2703         ['cld_version==0 or cld_version==1', {
2704           'defines': [
2705             'CLD_WINDOWS',
2706           ],
2707           'direct_dependent_settings': {
2708             'defines': [
2709               'CLD_WINDOWS',
2710             ],
2711           },
2712           'sources': [
2713             '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest_small.cc',
2714           ],
2715           'dependencies': [
2716             '../third_party/cld/cld.gyp:cld',
2717           ],
2718         }],
2719         ['enable_app_list==1', {
2720           'dependencies': [
2721             '../ui/app_list/app_list.gyp:app_list_test_support',
2722           ],
2723           'sources': [
2724             'browser/ui/app_list/extension_app_model_builder_unittest.cc',
2725             'browser/ui/app_list/hotword_background_activity_monitor_unittest.cc',
2726             'browser/ui/app_list/test/fast_show_pickler_unittest.cc',
2727           ],
2728         }],
2729       ],
2730     },
2731     {
2732       'target_name': 'chrome_app_unittests',
2733       'type': 'executable',
2734       'dependencies': [
2735         # unit tests should only depend on
2736         # 1) everything that the chrome binaries depend on:
2737         '<@(chromium_browser_dependencies)',
2738         '<@(chromium_child_dependencies)',
2739         '../content/content.gyp:content_app_both',
2740         # 2) test-specific support libraries:
2741         '../base/base.gyp:run_all_unittests',
2742         '../testing/gmock.gyp:gmock',
2743         '../testing/gtest.gyp:gtest',
2744         'test_support_common',
2745       ],
2746       'include_dirs': [
2747         '..',
2748       ],
2749       'sources': [
2750         'app/delay_load_hook_win.cc',
2751         'app/delay_load_hook_win.h',
2752         'app/delay_load_hook_unittest_win.cc',
2753         'app/signature_validator_win.cc',
2754         'app/signature_validator_win.h',
2755         'app/signature_validator_win_unittest.cc',
2756         'common/crash_keys.cc',
2757         'common/crash_keys.h',
2758       ],
2759       'conditions': [
2760         ['OS=="mac" or OS=="ios"', {
2761           'include_dirs': [
2762             '<(DEPTH)/breakpad/src',
2763           ],
2764         }],
2765         ['OS=="mac"', {
2766           # TODO(mark): We really want this for all non-static library targets,
2767           # but when we tried to pull it up to the common.gypi level, it broke
2768           # other things like the ui and startup tests. *shrug*
2769           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2770         }],
2771         ['OS=="win"', {
2772           'dependencies': [
2773             # breakpad is currently only tested on Windows.
2774             '../breakpad/breakpad.gyp:*',
2775             '../components/components.gyp:breakpad_component',
2776           ],
2777           'conditions': [
2778             ['win_use_allocator_shim==1', {
2779               'dependencies': [
2780                 '<(allocator_target)',
2781               ],
2782             }],
2783           ],
2784           'msvs_settings': {
2785             'VCLinkerTool': {
2786               'AdditionalDependencies': [ 'wintrust.lib' ],
2787             },
2788           },
2789         }],
2790       ],
2791     },
2792   ],
2794   'conditions': [
2795     # Special target to wrap a gtest_target_type==shared_library
2796     # unit_tests into an android apk for execution.
2797     ['OS == "android" and gtest_target_type == "shared_library"', {
2798       'targets': [
2799         {
2800           'target_name': 'unit_tests_java',
2801           'type': 'none',
2802           'variables': {
2803             'java_in_dir': 'test/android/unit_tests_apk',
2804           },
2805           'dependencies': [
2806             'chrome_java',
2807           ],
2808           'includes': [ '../build/java.gypi' ],
2809         },
2810         {
2811           'target_name': 'unit_tests_apk',
2812           'type': 'none',
2813           'dependencies': [
2814             'chrome_java',
2815             'unit_tests_java',
2816             'unit_tests',
2817           ],
2818           'variables': {
2819             'test_suite_name': 'unit_tests',
2820             'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)unit_tests<(SHARED_LIB_SUFFIX)',
2821             'android_manifest_path': 'test/android/unit_tests_apk/AndroidManifest.xml',
2822           },
2823           'includes': [ '../build/apk_test.gypi' ],
2824         },
2825       ],
2826     }],
2827     ['test_isolation_mode != "noop"', {
2828       'targets': [
2829         {
2830           'target_name': 'unit_tests_run',
2831           'type': 'none',
2832           'dependencies': [
2833             'unit_tests',
2834           ],
2835           'includes': [
2836             '../build/isolate.gypi',
2837             'unit_tests.isolate',
2838           ],
2839           'sources': [
2840             'unit_tests.isolate',
2841           ],
2842         },
2843       ],
2844     }],
2845     ['OS=="win"', {
2846       'targets' : [
2847         {
2848           # This target is only depended upon on Windows.
2849           'target_name': 'unit_tests_exe_pdb_workaround',
2850           'type': 'static_library',
2851           'sources': [ 'empty_pdb_workaround.cc' ],
2852           'msvs_settings': {
2853             'VCCLCompilerTool': {
2854               # This *in the compile phase* must match the pdb name that's
2855               # output by the final link. See empty_pdb_workaround.cc for
2856               # more details.
2857               'DebugInformationFormat': '3',
2858               'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb',
2859             },
2860           },
2861         },
2862       ],
2863     }],
2864     ['enable_app_list==1', {
2865       'targets': [
2866         {
2867           # Unit tests for chrome app list, not run on any bots, this is for faster
2868           # compile/link/test cycles during development.
2869           'target_name': 'chrome_app_list_unittests',
2870           'type': '<(gtest_target_type)',
2871           'dependencies': [
2872             '../base/base.gyp:run_all_unittests',
2873             '../chrome/chrome.gyp:test_support_common',
2874             '../skia/skia.gyp:skia',
2875             '../testing/gtest.gyp:gtest',
2876             'browser_ui',
2877           ],
2878           'sources': [
2879             'browser/ui/app_list/app_list_positioner_unittest.cc',
2880             'browser/ui/app_list/app_list_service_mac_unittest.mm',
2881             'browser/ui/app_list/app_list_service_unittest.cc',
2882             'browser/ui/app_list/profile_loader_unittest.cc',
2883             'browser/ui/app_list/test/app_list_shower_unittest.cc',
2884             'browser/ui/app_list/test/fake_keep_alive_service.cc',
2885             'browser/ui/app_list/test/fake_keep_alive_service.h',
2886             'browser/ui/app_list/test/fake_profile.cc',
2887             'browser/ui/app_list/test/fake_profile.h',
2888             'browser/ui/app_list/test/fake_profile_store.cc',
2889             'browser/ui/app_list/test/fake_profile_store.h',
2890             'browser/ui/app_list/test/fast_show_pickler_unittest.cc',
2891             'browser/ui/views/app_list/linux/app_list_linux_unittest.cc',
2892             'browser/ui/views/app_list/win/app_list_win_unittest.cc',
2893           ],
2894         },
2895       ],
2896     }],
2897   ],  # 'conditions'