Removing flow to demote App Launcher to App Host, so app_host.exe can be deleted...
[chromium-blink-merge.git] / chrome / chrome_tests_unit.gypi
blob5a5d16db9f9abce38db49cbac5141dc450ee6ffc
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         'app/policy/cloud_policy_codegen.gyp:policy_test_support',
15         'browser',
16         '../sync/protocol/sync_proto.gyp:sync_proto',
17         'chrome_resources.gyp:chrome_resources',
18         'chrome_resources.gyp:chrome_strings',
19         'chrome_resources.gyp:theme_resources',
20         'common',
21         '../base/base.gyp:test_support_base',
22         '../content/content.gyp:content_app',
23         '../content/content.gyp:test_support_content',
24         '../media/media.gyp:media_test_support',
25         '../net/net.gyp:net',
26         '../net/net.gyp:net_test_support',
27         '../skia/skia.gyp:skia',
28         '../testing/gmock.gyp:gmock',
29         '../testing/gtest.gyp:gtest',
30       ],
31       'export_dependent_settings': [
32         'app/policy/cloud_policy_codegen.gyp:policy_test_support',
33         '../base/base.gyp:test_support_base',
34       ],
35       'include_dirs': [
36         '..',
37       ],
38       'sources': [
39         '../extensions/common/url_pattern_unittest.cc',
40         '../extensions/common/url_pattern_set_unittest.cc',
41         'app/breakpad_mac_stubs.mm',
42         'app/chrome_main_delegate.cc',
43         'app/chrome_main_delegate.h',
44         'browser/android/mock_google_location_settings_helper.cc',
45         'browser/android/mock_google_location_settings_helper.h',
46         'browser/android/tab_android_test_stubs.cc',
47         'browser/autofill/autofill_common_test.cc',
48         'browser/autofill/autofill_common_test.h',
49         'browser/autofill/data_driven_test.cc',
50         'browser/autofill/data_driven_test.h',
51         'browser/autofill/test_autofill_external_delegate.cc',
52         'browser/autofill/test_autofill_external_delegate.h',
53         'browser/automation/mock_tab_event_observer.cc',
54         'browser/automation/mock_tab_event_observer.h',
55         'browser/browsing_data/mock_browsing_data_appcache_helper.cc',
56         'browser/browsing_data/mock_browsing_data_appcache_helper.h',
57         'browser/browsing_data/mock_browsing_data_cookie_helper.cc',
58         'browser/browsing_data/mock_browsing_data_cookie_helper.h',
59         'browser/browsing_data/mock_browsing_data_database_helper.cc',
60         'browser/browsing_data/mock_browsing_data_database_helper.h',
61         'browser/browsing_data/mock_browsing_data_file_system_helper.cc',
62         'browser/browsing_data/mock_browsing_data_file_system_helper.h',
63         'browser/browsing_data/mock_browsing_data_flash_lso_helper.cc',
64         'browser/browsing_data/mock_browsing_data_flash_lso_helper.h',
65         'browser/browsing_data/mock_browsing_data_indexed_db_helper.cc',
66         'browser/browsing_data/mock_browsing_data_indexed_db_helper.h',
67         'browser/browsing_data/mock_browsing_data_local_storage_helper.cc',
68         'browser/browsing_data/mock_browsing_data_local_storage_helper.h',
69         'browser/browsing_data/mock_browsing_data_quota_helper.cc',
70         'browser/browsing_data/mock_browsing_data_quota_helper.h',
71         'browser/browsing_data/mock_browsing_data_server_bound_cert_helper.cc',
72         'browser/browsing_data/mock_browsing_data_server_bound_cert_helper.h',
73         'browser/chromeos/contacts/contact_test_util.cc',
74         'browser/chromeos/contacts/contact_test_util.h',
75         'browser/chromeos/cros/mock_cert_library.cc',
76         'browser/chromeos/cros/mock_cert_library.h',
77         'browser/chromeos/cros/mock_cryptohome_library.cc',
78         'browser/chromeos/cros/mock_cryptohome_library.h',
79         'browser/chromeos/cros/mock_network_library.cc',
80         'browser/chromeos/cros/mock_network_library.h',
81         'browser/chromeos/input_method/mock_candidate_window_controller.cc',
82         'browser/chromeos/input_method/mock_candidate_window_controller.h',
83         'browser/chromeos/input_method/mock_input_method_delegate.cc',
84         'browser/chromeos/input_method/mock_input_method_delegate.h',
85         'browser/chromeos/input_method/mock_input_method_manager.cc',
86         'browser/chromeos/input_method/mock_input_method_manager.h',
87         'browser/chromeos/input_method/mock_xkeyboard.cc',
88         'browser/chromeos/input_method/mock_xkeyboard.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/settings/device_settings_test_helper.cc',
100         'browser/chromeos/settings/device_settings_test_helper.h',
101         'browser/chromeos/settings/mock_owner_key_util.cc',
102         'browser/chromeos/settings/mock_owner_key_util.h',
103         'browser/chromeos/system/mock_statistics_provider.cc',
104         'browser/chromeos/system/mock_statistics_provider.h',
105         # The only thing used from browser is Browser::Type.
106         'browser/download/download_test_file_chooser_observer.cc',
107         'browser/download/download_test_file_chooser_observer.h',
108         'browser/download/test_download_shelf.cc',
109         'browser/download/test_download_shelf.h',
110         'browser/extensions/mock_extension_special_storage_policy.cc',
111         'browser/extensions/mock_extension_special_storage_policy.h',
112         'browser/extensions/test_blacklist.cc',
113         'browser/extensions/test_blacklist.h',
114         'browser/extensions/test_extension_prefs.cc',
115         'browser/extensions/test_extension_prefs.h',
116         'browser/extensions/test_extension_service.cc',
117         'browser/extensions/test_extension_service.h',
118         'browser/extensions/test_extension_system.cc',
119         'browser/extensions/test_extension_system.h',
120         'browser/extensions/test_management_policy.cc',
121         'browser/extensions/test_management_policy.h',
122         'browser/google_apis/test_server/http_connection.cc',
123         'browser/google_apis/test_server/http_connection.h',
124         'browser/google_apis/test_server/http_request.cc',
125         'browser/google_apis/test_server/http_request.h',
126         'browser/google_apis/test_server/http_response.cc',
127         'browser/google_apis/test_server/http_response.h',
128         'browser/google_apis/test_server/http_server.cc',
129         'browser/google_apis/test_server/http_server.h',
130         'browser/google_apis/test_util.cc',
131         'browser/google_apis/test_util.h',
132         'browser/media_gallery/media_galleries_test_util.cc',
133         'browser/media_gallery/media_galleries_test_util.h',
134         'browser/net/url_request_mock_link_doctor_job.cc',
135         'browser/net/url_request_mock_link_doctor_job.h',
136         'browser/net/url_request_mock_util.cc',
137         'browser/net/url_request_mock_util.h',
138         'browser/notifications/notification_test_util.cc',
139         'browser/notifications/notification_test_util.h',
140         'browser/password_manager/mock_password_store.cc',
141         'browser/password_manager/mock_password_store.h',
142         'browser/password_manager/password_form_data.cc',
143         'browser/password_manager/password_form_data.h',
144         'browser/policy/mock_cloud_policy_data_store.cc',
145         'browser/policy/mock_cloud_policy_data_store.h',
146         'browser/policy/mock_configuration_policy_provider.cc',
147         'browser/policy/mock_configuration_policy_provider.h',
148         'browser/policy/policy_builder.cc',
149         'browser/policy/policy_builder.h',
150         'browser/prefs/mock_pref_change_callback.cc',
151         'browser/prefs/mock_pref_change_callback.h',
152         'browser/prefs/pref_service_mock_builder.cc',
153         'browser/prefs/pref_service_mock_builder.h',
154         'browser/protector/mock_protector_service.cc',
155         'browser/protector/mock_protector_service.h',
156         'browser/protector/mock_setting_change.cc',
157         'browser/protector/mock_setting_change.h',
158         'browser/search_engines/template_url_service_test_util.cc',
159         'browser/search_engines/template_url_service_test_util.h',
160         'browser/sessions/session_service_test_helper.cc',
161         'browser/sessions/session_service_test_helper.h',
162         'browser/sessions/session_types_test_helper.cc',
163         'browser/sessions/session_types_test_helper.h',
164         'browser/ssl/ssl_client_auth_requestor_mock.cc',
165         'browser/ssl/ssl_client_auth_requestor_mock.h',
166         'browser/ui/browser.h',
167         'browser/ui/cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm',
168         'browser/ui/cocoa/run_loop_testing.h',
169         'browser/ui/cocoa/run_loop_testing.mm',
170         'browser/ui/find_bar/find_bar_host_unittest_util.h',
171         'browser/ui/fullscreen/fullscreen_controller_state_test.cc',
172         'browser/ui/fullscreen/fullscreen_controller_state_test.h',
173         'browser/ui/fullscreen/fullscreen_controller_test.cc',
174         'browser/ui/fullscreen/fullscreen_controller_test.h',
175         'browser/ui/gtk/find_bar_host_unittest_util_gtk.cc',
176         'browser/ui/views/find_bar_host_unittest_util_views.cc',
177         'common/extensions/extension_builder.cc',
178         'common/extensions/extension_builder.h',
179         'common/extensions/extension_test_util.cc',
180         'common/extensions/extension_test_util.h',
181         'common/extensions/value_builder.cc',
182         'common/extensions/value_builder.h',
183         'renderer/chrome_mock_render_thread.cc',
184         'renderer/chrome_mock_render_thread.h',
185         'renderer/mock_printer.cc',
186         'renderer/mock_printer.h',
187         'renderer/safe_browsing/mock_feature_extractor_clock.cc',
188         'renderer/safe_browsing/mock_feature_extractor_clock.h',
189         'renderer/safe_browsing/test_utils.cc',
190         'renderer/safe_browsing/test_utils.h',
191         'test/automation/automation_handle_tracker.cc',
192         'test/automation/automation_handle_tracker.h',
193         'test/automation/automation_json_requests.cc',
194         'test/automation/automation_json_requests.h',
195         'test/automation/automation_proxy.cc',
196         'test/automation/automation_proxy.h',
197         'test/automation/browser_proxy.cc',
198         'test/automation/browser_proxy.h',
199         'test/automation/tab_proxy.cc',
200         'test/automation/tab_proxy.h',
201         'test/automation/value_conversion_traits.cc',
202         'test/automation/value_conversion_traits.h',
203         'test/automation/value_conversion_util.h',
204         'test/automation/window_proxy.cc',
205         'test/automation/window_proxy.h',
206         'test/base/bookmark_load_observer.cc',
207         'test/base/bookmark_load_observer.h',
208         'test/base/chrome_render_view_host_test_harness.cc',
209         'test/base/chrome_render_view_host_test_harness.h',
210         'test/base/chrome_test_suite.cc',
211         'test/base/chrome_test_suite.h',
212         'test/base/history_index_restore_observer.cc',
213         'test/base/history_index_restore_observer.h',
214         'test/base/in_process_browser_test.cc',
215         'test/base/in_process_browser_test.h',
216         'test/base/javascript_test_observer.cc',
217         'test/base/javascript_test_observer.h',
218         'test/base/model_test_utils.cc',
219         'test/base/model_test_utils.h',
220         'test/base/module_system_test.cc',
221         'test/base/module_system_test.h',
222         'test/base/profile_mock.cc',
223         'test/base/profile_mock.h',
224         'test/base/test_browser_window.cc',
225         'test/base/test_browser_window.h',
226         'test/base/test_launcher_utils.cc',
227         'test/base/test_launcher_utils.h',
228         'test/base/test_location_bar.cc',
229         'test/base/test_location_bar.h',
230         'test/base/test_tab_strip_model_observer.cc',
231         'test/base/test_tab_strip_model_observer.h',
232         'test/base/test_web_dialog_observer.cc',
233         'test/base/test_web_dialog_observer.h',
234         'test/base/testing_browser_process.cc',
235         'test/base/testing_browser_process.h',
236         'test/base/testing_pref_service.cc',
237         'test/base/testing_pref_service.h',
238         'test/base/testing_profile.cc',
239         'test/base/testing_profile.h',
240         'test/base/testing_profile_manager.cc',
241         'test/base/testing_profile_manager.h',
242         'test/base/thread_observer_helper.h',
243         'test/base/tracing.cc',
244         'test/base/tracing.h',
245         'test/base/ui_test_utils.cc',
246         'test/base/ui_test_utils.h',
247         'test/base/uma_histogram_helper.cc',
248         'test/base/uma_histogram_helper.h',
249         'test/logging/win/file_logger.cc',
250         'test/logging/win/file_logger.h',
251         'test/logging/win/log_file_printer.cc',
252         'test/logging/win/log_file_printer.h',
253         'test/logging/win/log_file_reader.cc',
254         'test/logging/win/log_file_reader.h',
255         'test/logging/win/mof_data_parser.cc',
256         'test/logging/win/mof_data_parser.h',
257         'test/logging/win/test_log_collector.cc',
258         'test/logging/win/test_log_collector.h',
259         'test/ppapi/ppapi_test.cc',
260         'test/ppapi/ppapi_test.h',
262         # TODO(joi): Move to 'base_prefs' target in base/base.gyp once
263         # Prefs move is complete and dependencies have been broken.
264         '../base/prefs/testing_pref_store.cc',
265         '../base/prefs/testing_pref_store.h',
266         '../base/prefs/pref_store_observer_mock.cc',
267         '../base/prefs/pref_store_observer_mock.h',
269         '../ui/gfx/image/image_unittest_util.h',
270         '../ui/gfx/image/image_unittest_util.cc',
271         '../webkit/quota/mock_quota_manager.cc',
272         '../webkit/quota/mock_quota_manager.h',
273       ],
274       'conditions': [
275         ['OS!="ios"', {
276           'dependencies': [
277             'common/extensions/api/api.gyp:api',
278             'plugin',
279             'renderer',
280             'utility',
281             '../content/content.gyp:content_gpu',
282             '../content/content.gyp:content_plugin',
283             '../content/content.gyp:content_ppapi_plugin',
284             '../content/content.gyp:content_renderer',
285             '../content/content.gyp:content_utility',
286             '../content/content.gyp:content_worker',
287             '../ipc/ipc.gyp:test_support_ipc',
288             '../ppapi/ppapi_internal.gyp:ppapi_shared',
289             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
290             '../ui/compositor/compositor.gyp:compositor_test_support',
291           ],
292           'export_dependent_settings': [
293             'renderer',
294           ],
295         }, {  # OS=="ios"
296           'sources/': [
297             # Exclude everything but iOS-specific files.
298             ['exclude', '\\.(cc|mm)$'],
299             ['include', '_ios\\.(cc|mm)$'],
300             ['include', '(^|/)ios/'],
301             # TODO(ios): Add files here as they are updated to compile on iOS.
302             ['include', '^test/base/chrome_test_suite\\.cc$'],
303             ['include', '^test/base/testing_browser_process'],
304           ],
305         }],
306         ['chromeos==0', {
307           'sources/': [
308             ['exclude', '^browser/chromeos'],
309           ],
310         }, {  # chromeos==1
311           'dependencies': [
312             '../build/linux/system.gyp:dbus',
313             '../chromeos/chromeos.gyp:chromeos_test_support',
314           ],
315         }],
316         ['toolkit_uses_gtk == 1', {
317           'dependencies': [
318             '../build/linux/system.gyp:gtk',
319           ],
320         }],
321         ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)', {
322           'dependencies': [
323             '../build/linux/system.gyp:ssl',
324           ],
325         }],
326         ['OS!="android" and OS!="ios"', {
327           'dependencies': [
328             'service',
329           ],
330         }],
331         ['OS=="win"', {
332           'include_dirs': [
333             '<(DEPTH)/third_party/wtl/include',
334           ],
335         }],
336       ],
337     },
338     {
339       'target_name': 'test_support_unit',
340       'type': 'static_library',
341       'dependencies': [
342         'chrome_resources.gyp:chrome_resources',
343         'chrome_resources.gyp:chrome_strings',
344         'browser',
345         'common',
346         'test_support_common',
347         '../base/base.gyp:base',
348         '../skia/skia.gyp:skia',
349         '../sync/sync.gyp:sync',
350         '../testing/gmock.gyp:gmock',
351         '../testing/gtest.gyp:gtest',
352       ],
353       'include_dirs': [
354         '..',
355       ],
356       'sources': [
357         'browser/sync/profile_sync_service_mock.cc',
358         'browser/sync/profile_sync_service_mock.h',
359         'test/base/run_all_unittests.cc',
360       ],
361       'conditions': [
362         ['toolkit_uses_gtk == 1', {
363           'dependencies': [
364             # Needed for the following #include chain:
365             #   test/base/run_all_unittests.cc
366             #   test/base/chrome_test_suite.h
367             #   gtk/gtk.h
368             '../build/linux/system.gyp:gtk',
369           ],
370         }],
371       ],
372     },
373     {
374       'target_name': 'unit_tests',
375       'type': '<(gtest_target_type)',
376       'dependencies': [
377         # NOTE: New dependencies should generally be added in the OS!="ios"
378         # dependencies block below, rather than here.
379         # Unit tests should only depend on:
380         # 1) everything that the chrome binaries depend on:
381         '<@(chromium_dependencies)',
382         # 2) test-specific support libraries:
383         '../base/base.gyp:test_support_base',
384         '../media/media.gyp:media_test_support',
385         '../net/net.gyp:net',
386         '../net/net.gyp:net_test_support',
387         '../testing/gmock.gyp:gmock',
388         '../testing/gtest.gyp:gtest',
389         'test_support_common',
390         '../sync/sync.gyp:test_support_sync_api',
391         '../sync/sync.gyp:test_support_sync_core',
392         '../sync/sync.gyp:test_support_sync_internal_api',
393         '../sync/sync.gyp:test_support_sync_notifier',
394         'test_support_unit',
395         # 3) anything tests directly depend on
396         '../google_apis/google_apis.gyp:google_apis',
397         '../skia/skia.gyp:skia',
398         '../third_party/bzip2/bzip2.gyp:bzip2',
399         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
400         '../third_party/icu/icu.gyp:icui18n',
401         '../third_party/icu/icu.gyp:icuuc',
402         '../third_party/libxml/libxml.gyp:libxml',
403         '../ui/ui.gyp:ui_resources',
404         '../ui/ui.gyp:ui_test_support',
405         'chrome_resources.gyp:chrome_resources',
406         'chrome_resources.gyp:chrome_strings',
407       ],
408       'include_dirs': [
409         '..',
410       ],
411       'defines': [
412         'CLD_WINDOWS',
413       ],
414       'direct_dependent_settings': {
415         'defines': [
416           'CLD_WINDOWS',
417         ],
418       },
419       'msvs_settings': {
420         'VCLinkerTool': {
421           'conditions': [
422             ['incremental_chrome_dll==1', {
423               'UseLibraryDependencyInputs': "true",
424             }],
425           ],
426         },
427       },
428       'sources': [
429         'app/breakpad_mac_stubs.mm',
430         'app/chrome_dll.rc',
431         '<(SHARED_INTERMEDIATE_DIR)/chrome/chrome_unscaled_resources.rc',
432         # All unittests in browser, common, renderer and service.
433         'browser/about_flags_unittest.cc',
434         'browser/app_controller_mac_unittest.mm',
435         'browser/autocomplete/autocomplete_input_unittest.cc',
436         'browser/autocomplete/autocomplete_match_unittest.cc',
437         'browser/autocomplete/autocomplete_provider_unittest.cc',
438         'browser/autocomplete/autocomplete_result_unittest.cc',
439         'browser/autocomplete/bookmark_provider_unittest.cc',
440         'browser/autocomplete/builtin_provider_unittest.cc',
441         'browser/autocomplete/contact_provider_chromeos_unittest.cc',
442         'browser/autocomplete/extension_app_provider_unittest.cc',
443         'browser/autocomplete/history_contents_provider_unittest.cc',
444         'browser/autocomplete/history_quick_provider_unittest.cc',
445         'browser/autocomplete/history_url_provider_unittest.cc',
446         'browser/autocomplete/keyword_provider_unittest.cc',
447         'browser/autocomplete/search_provider_unittest.cc',
448         'browser/autocomplete/shortcuts_provider_unittest.cc',
449         'browser/autofill/address_field_unittest.cc',
450         'browser/autofill/address_unittest.cc',
451         'browser/autofill/autocomplete_history_manager_unittest.cc',
452         'browser/autofill/autofill_country_unittest.cc',
453         'browser/autofill/autofill_download_unittest.cc',
454         'browser/autofill/autofill_download_url_unittest.cc',
455         'browser/autofill/autofill_external_delegate_unittest.cc',
456         'browser/autofill/autofill_field_unittest.cc',
457         'browser/autofill/autofill_ie_toolbar_import_win_unittest.cc',
458         'browser/autofill/autofill_manager_unittest.cc',
459         'browser/autofill/autofill_merge_unittest.cc',
460         'browser/autofill/autofill_metrics_unittest.cc',
461         'browser/autofill/autofill_profile_unittest.cc',
462         'browser/autofill/autofill_popup_unittest.cc',
463         'browser/autofill/autofill_regexes_unittest.cc',
464         'browser/autofill/autofill_type_unittest.cc',
465         'browser/autofill/autofill_xml_parser_unittest.cc',
466         'browser/autofill/contact_info_unittest.cc',
467         'browser/autofill/credit_card_field_unittest.cc',
468         'browser/autofill/credit_card_unittest.cc',
469         'browser/autofill/form_field_unittest.cc',
470         'browser/autofill/form_structure_unittest.cc',
471         'browser/autofill/name_field_unittest.cc',
472         'browser/autofill/password_autofill_manager_unittest.cc',
473         'browser/autofill/password_generator_unittest.cc',
474         'browser/autofill/personal_data_manager_unittest.cc',
475         'browser/autofill/phone_field_unittest.cc',
476         'browser/autofill/phone_number_unittest.cc',
477         'browser/autofill/phone_number_i18n_unittest.cc',
478         'browser/automation/automation_provider_unittest.cc',
479         'browser/automation/automation_tab_helper_unittest.cc',
480         'browser/background/background_application_list_model_unittest.cc',
481         'browser/background/background_contents_service_unittest.cc',
482         'browser/background/background_mode_manager_unittest.cc',
483         'browser/bookmarks/bookmark_codec_unittest.cc',
484         'browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc',
485         'browser/bookmarks/bookmark_extension_helpers_unittest.cc',
486         'browser/bookmarks/bookmark_html_writer_unittest.cc',
487         'browser/bookmarks/bookmark_index_unittest.cc',
488         'browser/bookmarks/bookmark_model_test_utils.cc',
489         'browser/bookmarks/bookmark_model_test_utils.h',
490         'browser/bookmarks/bookmark_model_unittest.cc',
491         'browser/bookmarks/bookmark_node_data_unittest.cc',
492         'browser/bookmarks/bookmark_utils_unittest.cc',
493         'browser/bookmarks/recently_used_folders_combo_model_unittest.cc',
494         'browser/browser_about_handler_unittest.cc',
495         'browser/browser_commands_unittest.cc',
496         'browser/browsing_data/browsing_data_appcache_helper_unittest.cc',
497         'browser/browsing_data/browsing_data_cookie_helper_unittest.cc',
498         'browser/browsing_data/browsing_data_database_helper_unittest.cc',
499         'browser/browsing_data/browsing_data_file_system_helper_unittest.cc',
500         'browser/browsing_data/browsing_data_helper_unittest.cc',
501         'browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc',
502         'browser/browsing_data/browsing_data_local_storage_helper_unittest.cc',
503         'browser/browsing_data/browsing_data_quota_helper_unittest.cc',
504         'browser/browsing_data/browsing_data_remover_unittest.cc',
505         'browser/browsing_data/browsing_data_server_bound_cert_helper_unittest.cc',
506         'browser/browsing_data/cookies_tree_model_unittest.cc',
507         'browser/captive_portal/captive_portal_detector_unittest.cc',
508         'browser/captive_portal/captive_portal_service_unittest.cc',
509         'browser/captive_portal/captive_portal_tab_helper_unittest.cc',
510         'browser/captive_portal/captive_portal_tab_reloader_unittest.cc',
511         'browser/captive_portal/testing_utils.cc',
512         'browser/captive_portal/testing_utils.h',
513         'browser/chrome_browser_application_mac_unittest.mm',
514         'browser/chrome_browser_main_unittest.cc',
515         'browser/chrome_page_zoom_unittest.cc',
516         'browser/chromeos/contacts/contact_database_unittest.cc',
517         'browser/chromeos/contacts/contact_manager_stub.cc',
518         'browser/chromeos/contacts/contact_manager_stub.h',
519         'browser/chromeos/contacts/contact_manager_unittest.cc',
520         'browser/chromeos/contacts/contact_map_unittest.cc',
521         'browser/chromeos/contacts/fake_contact_database.cc',
522         'browser/chromeos/contacts/fake_contact_database.h',
523         'browser/chromeos/contacts/fake_contact_store.cc',
524         'browser/chromeos/contacts/fake_contact_store.h',
525         'browser/chromeos/contacts/gdata_contacts_service_stub.cc',
526         'browser/chromeos/contacts/gdata_contacts_service_stub.h',
527         'browser/chromeos/contacts/gdata_contacts_service_unittest.cc',
528         'browser/chromeos/contacts/google_contact_store_unittest.cc',
529         'browser/chromeos/cros/cros_network_functions_unittest.cc',
530         'browser/chromeos/cros/network_constants.h',
531         'browser/chromeos/cros/network_library.cc',
532         'browser/chromeos/cros/network_library.h',
533         'browser/chromeos/cros/network_library_unittest.cc',
534         'browser/chromeos/cros/network_ui_data_unittest.cc',
535         'browser/chromeos/cros/onc_network_parser_unittest.cc',
536         'browser/chromeos/customization_document_unittest.cc',
537         'browser/chromeos/dbus/cros_dbus_service_unittest.cc',
538         'browser/chromeos/dbus/printer_service_provider_unittest.cc',
539         'browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc',
540         'browser/chromeos/dbus/service_provider_test_helper.cc',
541         'browser/chromeos/dbus/service_provider_test_helper.h',
542         'browser/chromeos/drive/drive_cache_metadata_unittest.cc',
543         'browser/chromeos/drive/drive_cache_unittest.cc',
544         'browser/chromeos/drive/drive_file_system_unittest.cc',
545         'browser/chromeos/drive/drive_file_system_util_unittest.cc',
546         'browser/chromeos/drive/drive_prefetcher_unittest.cc',
547         'browser/chromeos/drive/drive_resource_metadata_unittest.cc',
548         'browser/chromeos/drive/drive_scheduler_unittest.cc',
549         'browser/chromeos/drive/drive_sync_client_unittest.cc',
550         'browser/chromeos/drive/drive_test_util.cc',
551         'browser/chromeos/drive/drive_test_util.h',
552         'browser/chromeos/drive/drive_webapps_registry_unittest.cc',
553         'browser/chromeos/drive/event_logger_unittest.cc',
554         'browser/chromeos/drive/file_change_unittest.cc',
555         'browser/chromeos/drive/file_write_helper_unittest.cc',
556         'browser/chromeos/drive/mock_directory_change_observer.cc',
557         'browser/chromeos/drive/mock_directory_change_observer.h',
558         'browser/chromeos/drive/mock_drive_cache_observer.cc',
559         'browser/chromeos/drive/mock_drive_cache_observer.h',
560         'browser/chromeos/drive/mock_drive_file_system.cc',
561         'browser/chromeos/drive/mock_drive_file_system.h',
562         'browser/chromeos/drive/mock_drive_web_apps_registry.cc',
563         'browser/chromeos/drive/mock_drive_web_apps_registry.h',
564         'browser/chromeos/drive/mock_free_disk_space_getter.cc',
565         'browser/chromeos/drive/mock_free_disk_space_getter.h',
566         'browser/chromeos/drive/resource_entry_conversion_unittest.cc',
567         'browser/chromeos/drive/stale_cache_files_remover_unittest.cc',
568         'browser/chromeos/extensions/default_app_order_unittest.cc',
569         'browser/chromeos/extensions/file_browser_notifications_unittest.cc',
570         'browser/chromeos/extensions/wallpaper_private_api_unittest.cc',
571         'browser/chromeos/external_metrics_unittest.cc',
572         'browser/chromeos/imageburner/burn_manager_unittest.cc',
573         'browser/chromeos/input_method/browser_state_monitor_unittest.cc',
574         'browser/chromeos/input_method/candidate_window_controller_impl_unittest.cc',
575         'browser/chromeos/input_method/candidate_window_view_unittest.cc',
576         'browser/chromeos/input_method/ibus_controller_base_unittest.cc',
577         'browser/chromeos/input_method/ibus_controller_impl_unittest.cc',
578         'browser/chromeos/input_method/ibus_controller_unittest.cc',
579         'browser/chromeos/input_method/input_method_configuration_unittest.cc',
580         'browser/chromeos/input_method/input_method_descriptor_unittest.cc',
581         'browser/chromeos/input_method/input_method_manager_impl_unittest.cc',
582         'browser/chromeos/input_method/input_method_persistence_unittest.cc',
583         'browser/chromeos/input_method/input_method_property_unittest.cc',
584         'browser/chromeos/input_method/input_method_util_unittest.cc',
585         'browser/chromeos/input_method/input_method_whitelist_unittest.cc',
586         'browser/chromeos/input_method/xkeyboard_unittest.cc',
587         'browser/chromeos/kiosk_mode/kiosk_mode_idle_logout_unittest.cc',
588         'browser/chromeos/kiosk_mode/kiosk_mode_settings_unittest.cc',
589         'browser/chromeos/language_preferences_unittest.cc',
590         'browser/chromeos/login/mock_auth_attempt_state_resolver.cc',
591         'browser/chromeos/login/mock_auth_attempt_state_resolver.h',
592         'browser/chromeos/login/online_attempt_unittest.cc',
593         'browser/chromeos/login/parallel_authenticator_unittest.cc',
594         'browser/chromeos/login/user_manager_unittest.cc',
595         'browser/chromeos/memory/oom_priority_manager_unittest.cc',
596         'browser/chromeos/mobile_config_unittest.cc',
597         'browser/chromeos/net/network_portal_detector_unittest.cc',
598         'browser/chromeos/offline/offline_load_page_unittest.cc',
599         'browser/chromeos/preferences_unittest.cc',
600         'browser/chromeos/process_proxy/process_output_watcher_unittest.cc',
601         'browser/chromeos/proxy_config_service_impl_unittest.cc',
602         'browser/chromeos/settings/cros_settings_unittest.cc',
603         'browser/chromeos/settings/device_settings_provider_unittest.cc',
604         'browser/chromeos/settings/device_settings_service_unittest.cc',
605         'browser/chromeos/settings/owner_key_util_unittest.cc',
606         'browser/chromeos/settings/session_manager_operation_unittest.cc',
607         'browser/chromeos/settings/stub_cros_settings_provider_unittest.cc',
608         'browser/chromeos/status/network_menu_icon.cc',
609         'browser/chromeos/status/network_menu_icon_unittest.cc',
610         'browser/chromeos/system/name_value_pairs_parser_unittest.cc',
611         'browser/chromeos/system_logs/lsb_release_log_source_unittest.cc',
612         'browser/chromeos/version_loader_unittest.cc',
613         'browser/chromeos/web_socket_proxy_helper_unittest.cc',
614         'browser/command_updater_unittest.cc',
615         'browser/component_updater/component_updater_interceptor.cc',
616         'browser/component_updater/component_updater_interceptor.h',
617         'browser/component_updater/test/component_installers_unittest.cc',
618         'browser/component_updater/test/component_updater_service_unittest.cc',
619         'browser/content_settings/content_settings_default_provider_unittest.cc',
620         'browser/content_settings/content_settings_mock_observer.cc',
621         'browser/content_settings/content_settings_mock_observer.h',
622         'browser/content_settings/content_settings_mock_provider.cc',
623         'browser/content_settings/content_settings_mock_provider.h',
624         'browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc',
625         'browser/content_settings/content_settings_policy_provider_unittest.cc',
626         'browser/content_settings/content_settings_pref_provider_unittest.cc',
627         'browser/content_settings/content_settings_provider_unittest.cc',
628         'browser/content_settings/content_settings_rule_unittest.cc',
629         'browser/content_settings/content_settings_utils_unittest.cc',
630         'browser/content_settings/cookie_settings_unittest.cc',
631         'browser/content_settings/host_content_settings_map_unittest.cc',
632         'browser/content_settings/mock_settings_observer.cc',
633         'browser/content_settings/mock_settings_observer.h',
634         'browser/content_settings/tab_specific_content_settings_unittest.cc',
635         'browser/custom_handlers/protocol_handler_registry_unittest.cc',
636         'browser/diagnostics/diagnostics_model_unittest.cc',
637         'browser/download/chrome_download_manager_delegate_unittest.cc',
638         'browser/download/download_item_model_unittest.cc',
639         'browser/download/all_download_item_notifier_unittest.cc',
640         'browser/download/download_history_unittest.cc',
641         'browser/download/download_request_infobar_delegate_unittest.cc',
642         'browser/download/download_request_limiter_unittest.cc',
643         'browser/download/download_path_reservation_tracker_unittest.cc',
644         'browser/download/download_shelf_unittest.cc',
645         'browser/download/download_status_updater_unittest.cc',
646         'browser/enumerate_modules_model_unittest_win.cc',
647         'browser/extensions/active_tab_unittest.cc',
648         'browser/extensions/admin_policy_unittest.cc',
649         'browser/extensions/api/alarms/alarms_api_unittest.cc',
650         'browser/extensions/api/api_resource_manager_unittest.cc',
651         'browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc',
652         'browser/extensions/api/content_settings/content_settings_store_unittest.cc',
653         'browser/extensions/api/content_settings/content_settings_unittest.cc',
654         'browser/extensions/api/cookies/cookies_unittest.cc',
655         'browser/extensions/api/declarative/initializing_rules_registry_unittest.cc',
656         'browser/extensions/api/declarative/rules_registry_service_unittest.cc',
657         'browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc',
658         'browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc',
659         'browser/extensions/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc',
660         'browser/extensions/api/declarative_webrequest/webrequest_condition_unittest.cc',
661         'browser/extensions/api/declarative_webrequest/webrequest_rule_unittest.cc',
662         'browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc',
663         'browser/extensions/api/discovery/discovery_api_unittest.cc',
664         'browser/extensions/api/extension_action/extension_browser_actions_api_unittest.cc',
665         'browser/extensions/api/file_system/file_system_api_unittest.cc',
666         'browser/extensions/api/identity/web_auth_flow_unittest.cc',
667         'browser/extensions/api/idle/idle_api_unittest.cc',
668         'browser/extensions/api/messaging/native_message_process_host_unittest_posix.cc',
669         'browser/extensions/api/omnibox/omnibox_unittest.cc',
670         'browser/extensions/api/permissions/permissions_api_helpers_unittest.cc',
671         'browser/extensions/api/proxy/proxy_api_helpers_unittest.cc',
672         'browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher_unittest.cc',
673         'browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc',
674         'browser/extensions/api/serial/serial_port_enumerator_unittest.cc',
675         'browser/extensions/api/socket/socket_api_unittest.cc',
676         'browser/extensions/api/socket/tcp_socket_unittest.cc',
677         'browser/extensions/api/socket/udp_socket_unittest.cc',
678         'browser/extensions/api/system_info_storage/storage_info_provider_linux_unittest.cc',
679         'browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc',
680         'browser/extensions/api/web_navigation/frame_navigation_state_unittest.cc',
681         'browser/extensions/api/web_request/form_data_parser_unittest.cc',
682         'browser/extensions/api/web_request/upload_data_presenter_unittest.cc',
683         'browser/extensions/api/web_request/web_request_api_unittest.cc',
684         'browser/extensions/api/web_request/web_request_permissions_unittest.cc',
685         'browser/extensions/api/web_request/web_request_time_tracker_unittest.cc',
686         'browser/extensions/app_notification_manager_sync_unittest.cc',
687         'browser/extensions/app_notification_manager_unittest.cc',
688         'browser/extensions/app_notification_storage_unittest.cc',
689         'browser/extensions/app_notification_test_util.cc',
690         'browser/extensions/app_notify_channel_setup_unittest.cc',
691         'browser/extensions/app_sync_data_unittest.cc',
692         'browser/extensions/blacklist_unittest.cc',
693         'browser/extensions/component_loader_unittest.cc',
694         'browser/extensions/convert_user_script_unittest.cc',
695         'browser/extensions/convert_web_app_unittest.cc',
696         'browser/extensions/default_apps_unittest.cc',
697         'browser/extensions/event_listener_map_unittest.cc',
698         'browser/extensions/event_router_forwarder_unittest.cc',
699         'browser/extensions/extension_action_icon_factory_unittest.cc',
700         'browser/extensions/extension_action_unittest.cc',
701         'browser/extensions/extension_context_menu_model_unittest.cc',
702         'browser/extensions/extension_creator_filter_unittest.cc',
703         'browser/extensions/extension_function_test_utils.cc',
704         'browser/extensions/extension_function_test_utils.h',
705         'browser/extensions/extension_icon_image_unittest.cc',
706         'browser/extensions/extension_icon_manager_unittest.cc',
707         'browser/extensions/extension_info_map_unittest.cc',
708         'browser/extensions/extension_pref_value_map_unittest.cc',
709         'browser/extensions/extension_prefs_unittest.cc',
710         'browser/extensions/extension_prefs_unittest.h',
711         'browser/extensions/extension_process_manager_unittest.cc',
712         'browser/extensions/extension_protocols_unittest.cc',
713         'browser/extensions/extension_service_unittest.cc',
714         'browser/extensions/extension_service_unittest.h',
715         'browser/extensions/extension_sorting_unittest.cc',
716         'browser/extensions/extension_special_storage_policy_unittest.cc',
717         'browser/extensions/extension_sync_data_unittest.cc',
718         'browser/extensions/extension_ui_unittest.cc',
719         'browser/extensions/extension_warning_badge_service_unittest.cc',
720         'browser/extensions/extension_warning_service_unittest.cc',
721         'browser/extensions/extensions_quota_service_unittest.cc',
722         'browser/extensions/external_policy_loader_unittest.cc',
723         'browser/extensions/menu_manager_unittest.cc',
724         'browser/extensions/page_action_controller_unittest.cc',
725         'browser/extensions/permissions_updater_unittest.cc',
726         'browser/extensions/file_reader_unittest.cc',
727         'browser/extensions/image_loader_unittest.cc',
728         'browser/extensions/image_loading_tracker_unittest.cc',
729         'browser/extensions/key_identifier_conversion_views_unittest.cc',
730         'browser/extensions/management_policy_unittest.cc',
731         'browser/extensions/process_map_unittest.cc',
732         'browser/extensions/sandboxed_unpacker_unittest.cc',
733         'browser/extensions/script_badge_controller_unittest.cc',
734         'browser/extensions/script_bubble_controller_unittest.cc',
735         'browser/extensions/settings/settings_frontend_unittest.cc',
736         'browser/extensions/settings/settings_quota_unittest.cc',
737         'browser/extensions/settings/settings_sync_unittest.cc',
738         'browser/extensions/settings/settings_test_util.cc',
739         'browser/extensions/settings/settings_test_util.h',
740         'browser/extensions/shell_window_geometry_cache_unittest.cc',
741         'browser/extensions/standard_management_policy_provider_unittest.cc',
742         'browser/extensions/updater/extension_updater_unittest.cc',
743         'browser/extensions/user_script_listener_unittest.cc',
744         'browser/extensions/user_script_master_unittest.cc',
745         'browser/extensions/webstore_standalone_installer_unittest.cc',
746         'browser/external_protocol/external_protocol_handler_unittest.cc',
747         'browser/favicon/favicon_handler_unittest.cc',
748         'browser/file_select_helper_unittest.cc',
749         'browser/first_run/first_run_unittest.cc',
750         'browser/geolocation/chrome_geolocation_permission_context_unittest.cc',
751         'browser/geolocation/geolocation_infobar_queue_controller_unittest.cc',
752         'browser/geolocation/geolocation_settings_state_unittest.cc',
753         'browser/geolocation/wifi_data_provider_unittest_chromeos.cc',
754         'browser/global_keyboard_shortcuts_mac_unittest.mm',
755         'browser/google/google_search_counter_unittest.cc',
756         'browser/google/google_update_settings_unittest.cc',
757         'browser/google/google_url_tracker_unittest.cc',
758         'browser/google/google_util_unittest.cc',
759         'browser/google_apis/base_operations_unittest.cc',
760         'browser/google_apis/drive_api_parser_unittest.cc',
761         'browser/google_apis/drive_uploader_unittest.cc',
762         'browser/google_apis/gdata_wapi_parser_unittest.cc',
763         'browser/google_apis/gdata_wapi_operations_unittest.cc',
764         'browser/google_apis/gdata_wapi_url_generator_unittest.cc',
765         'browser/google_apis/mock_drive_service.cc',
766         'browser/google_apis/mock_drive_service.h',
767         'browser/google_apis/operation_registry_unittest.cc',
768         'browser/google_apis/test_server/http_request_unittest.cc',
769         'browser/google_apis/test_server/http_response_unittest.cc',
770         'browser/google_apis/test_server/http_server_unittest.cc',
771         'browser/google_apis/time_util_unittest.cc',
772         'browser/history/android/android_cache_database_unittest.cc',
773         'browser/history/android/android_history_provider_service_unittest.cc',
774         'browser/history/android/android_history_types_unittest.cc',
775         'browser/history/android/android_provider_backend_unittest.cc',
776         'browser/history/android/android_urls_database_unittest.cc',
777         'browser/history/android/bookmark_model_sql_handler_unittest.cc',
778         'browser/history/android/sqlite_cursor_unittest.cc',
779         'browser/history/android/urls_sql_handler_unittest.cc',
780         'browser/history/android/visit_sql_handler_unittest.cc',
781         'browser/history/expire_history_backend_unittest.cc',
782         'browser/history/history_backend_unittest.cc',
783         'browser/history/history_database_unittest.cc',
784         'browser/history/history_querying_unittest.cc',
785         'browser/history/history_types_unittest.cc',
786         'browser/history/history_unittest.cc',
787         'browser/history/history_unittest_base.cc',
788         'browser/history/history_unittest_base.h',
789         'browser/history/in_memory_url_index_types_unittest.cc',
790         'browser/history/in_memory_url_index_unittest.cc',
791         'browser/history/query_parser_unittest.cc',
792         'browser/history/scored_history_match_unittest.cc',
793         'browser/history/select_favicon_frames_unittest.cc',
794         'browser/history/shortcuts_backend_unittest.cc',
795         'browser/history/shortcuts_database_unittest.cc',
796         'browser/history/snippet_unittest.cc',
797         'browser/history/text_database_manager_unittest.cc',
798         'browser/history/text_database_unittest.cc',
799         'browser/history/thumbnail_database_unittest.cc',
800         'browser/history/top_sites_database_unittest.cc',
801         'browser/history/top_sites_unittest.cc',
802         'browser/history/url_database_unittest.cc',
803         'browser/history/visit_database_unittest.cc',
804         'browser/history/visit_filter_unittest.cc',
805         'browser/history/visit_tracker_unittest.cc',
806         'browser/importer/firefox_importer_unittest.cc',
807         'browser/importer/firefox_importer_unittest_messages_internal.h',
808         'browser/importer/firefox_importer_unittest_utils.h',
809         'browser/importer/firefox_importer_unittest_utils_mac.cc',
810         'browser/importer/firefox_importer_utils_unittest.cc',
811         'browser/importer/firefox_profile_lock_unittest.cc',
812         'browser/importer/firefox_proxy_settings_unittest.cc',
813         'browser/importer/ie_importer_unittest_win.cc',
814         'browser/importer/importer_unittest_utils.cc',
815         'browser/importer/importer_unittest_utils.h',
816         'browser/importer/safari_importer_unittest.mm',
817         'browser/importer/toolbar_importer_unittest.cc',
818         'browser/intents/cws_intents_registry_unittest.cc',
819         'browser/intents/default_web_intent_service_unittest.cc',
820         'browser/intents/native_services_unittest.cc',
821         'browser/intents/register_intent_handler_infobar_delegate_unittest.cc',
822         'browser/intents/web_intents_registry_unittest.cc',
823         'browser/intents/web_intents_reporting_unittest.cc',
824         'browser/intents/web_intents_util_unittest.cc',
825         'browser/internal_auth_unittest.cc',
826         'browser/language_usage_metrics_unittest.cc',
827         'browser/mac/keystone_glue_unittest.mm',
828         'browser/managed_mode/managed_mode_unittest.cc',
829         'browser/managed_mode/managed_mode_url_filter_unittest.cc',
830         'browser/media/media_internals_unittest.cc',
831         'browser/media_gallery/media_file_system_registry_unittest.cc',
832         'browser/media_gallery/media_galleries_dialog_controller_mock.cc',
833         'browser/media_gallery/media_galleries_dialog_controller_mock.h',
834         'browser/media_gallery/media_galleries_preferences_unittest.cc',
835         'browser/media_gallery/media_gallery_database_unittest.cc',
836         'browser/metrics/metrics_log_unittest.cc',
837         'browser/metrics/metrics_log_serializer_unittest.cc',
838         'browser/metrics/metrics_service_unittest.cc',
839         'browser/metrics/thread_watcher_unittest.cc',
840         'browser/metrics/variations/variations_service_unittest.cc',
841         'browser/metrics/variations/resource_request_allowed_notifier_test_util.cc',
842         'browser/metrics/variations/resource_request_allowed_notifier_test_util.h',
843         'browser/metrics/variations/resource_request_allowed_notifier_unittest.cc',
844         'browser/nacl_host/nacl_validation_cache_unittest.cc',
845         'browser/nacl_host/pnacl_file_host_unittest.cc',
846         'browser/net/chrome_fraudulent_certificate_reporter_unittest.cc',
847         'browser/net/chrome_net_log_unittest.cc',
848         'browser/net/chrome_network_delegate_unittest.cc',
849         'browser/net/clear_on_exit_policy_unittest.cc',
850         'browser/net/connection_tester_unittest.cc',
851         'browser/net/dns_probe_job_unittest.cc',
852         'browser/net/dns_probe_service_unittest.cc',
853         'browser/net/double_get_experiment_interceptor_unittest.cc',
854         'browser/net/gaia/gaia_oauth_fetcher_unittest.cc',
855         'browser/net/http_pipelining_compatibility_client_unittest.cc',
856         'browser/net/http_server_properties_manager_unittest.cc',
857         'browser/net/load_timing_observer_unittest.cc',
858         'browser/net/net_error_tab_helper_unittest.cc',
859         'browser/net/network_stats_unittest.cc',
860         'browser/net/predictor_unittest.cc',
861         'browser/net/pref_proxy_config_tracker_impl_unittest.cc',
862         'browser/net/quoted_printable_unittest.cc',
863         'browser/net/spdyproxy/http_auth_handler_spdyproxy_unittest.cc',
864         'browser/net/sqlite_persistent_cookie_store_unittest.cc',
865         'browser/net/sqlite_server_bound_cert_store_unittest.cc',
866         'browser/net/ssl_config_service_manager_pref_unittest.cc',
867         'browser/net/transport_security_persister_unittest.cc',
868         'browser/net/url_fixer_upper_unittest.cc',
869         'browser/net/url_info_unittest.cc',
870         'browser/notifications/desktop_notification_service_unittest.cc',
871         'browser/page_cycler/page_cycler_unittest.cc',
872         'browser/parsers/metadata_parser_filebase_unittest.cc',
873         'browser/password_manager/encryptor_password_mac_unittest.cc',
874         'browser/password_manager/encryptor_unittest.cc',
875         'browser/password_manager/login_database_unittest.cc',
876         'browser/password_manager/native_backend_gnome_x_unittest.cc',
877         'browser/password_manager/native_backend_kwallet_x_unittest.cc',
878         'browser/password_manager/password_form_manager_unittest.cc',
879         'browser/password_manager/password_manager_unittest.cc',
880         'browser/password_manager/password_store_unittest.cc',
881         'browser/password_manager/password_store_default_unittest.cc',
882         'browser/password_manager/password_store_mac_unittest.cc',
883         'browser/password_manager/password_store_win_unittest.cc',
884         'browser/password_manager/password_store_x_unittest.cc',
885         'browser/performance_monitor/database_unittest.cc',
886         'browser/plugins/plugin_finder_unittest.cc',
887         'browser/plugins/plugin_metadata_unittest.cc',
888         'browser/plugins/plugin_prefs_unittest.cc',
889         'browser/policy/async_policy_provider_unittest.cc',
890         'browser/policy/auto_enrollment_client_unittest.cc',
891         'browser/policy/browser_policy_connector_unittest.cc',
892         'browser/policy/cloud_policy_client_unittest.cc',
893         'browser/policy/cloud_policy_controller_unittest.cc',
894         'browser/policy/cloud_policy_core_unittest.cc',
895         'browser/policy/cloud_policy_manager_unittest.cc',
896         'browser/policy/cloud_policy_provider_unittest.cc',
897         'browser/policy/cloud_policy_refresh_scheduler_unittest.cc',
898         'browser/policy/cloud_policy_service_unittest.cc',
899         'browser/policy/cloud_policy_subsystem_unittest.cc',
900         'browser/policy/cloud_policy_validator_unittest.cc',
901         'browser/policy/config_dir_policy_loader_unittest.cc',
902         'browser/policy/configuration_policy_handler_chromeos_unittest.cc',
903         'browser/policy/configuration_policy_handler_unittest.cc',
904         'browser/policy/configuration_policy_pref_store_unittest.cc',
905         'browser/policy/configuration_policy_provider_test.cc',
906         'browser/policy/configuration_policy_provider_test.h',
907         'browser/policy/cros_user_policy_cache_unittest.cc',
908         'browser/policy/device_cloud_policy_manager_chromeos_unittest.cc',
909         'browser/policy/device_cloud_policy_store_chromeos_unittest.cc',
910         'browser/policy/device_management_service_unittest.cc',
911         'browser/policy/device_policy_cache_unittest.cc',
912         'browser/policy/device_token_fetcher_unittest.cc',
913         'browser/policy/device_local_account_policy_service_unittest.cc',
914         'browser/policy/enterprise_install_attributes_unittest.cc',
915         'browser/policy/logging_work_scheduler.cc',
916         'browser/policy/logging_work_scheduler.h',
917         'browser/policy/logging_work_scheduler_unittest.cc',
918         'browser/policy/managed_mode_policy_provider_unittest.cc',
919         'browser/policy/mock_cloud_policy_client.cc',
920         'browser/policy/mock_cloud_policy_client.h',
921         'browser/policy/mock_cloud_policy_store.cc',
922         'browser/policy/mock_cloud_policy_store.h',
923         'browser/policy/mock_device_management_service.cc',
924         'browser/policy/mock_device_management_service.h',
925         'browser/policy/mock_policy_service.cc',
926         'browser/policy/mock_policy_service.h',
927         'browser/policy/mock_user_cloud_policy_store.cc',
928         'browser/policy/mock_user_cloud_policy_store.h',
929         'browser/policy/network_configuration_updater_unittest.cc',
930         'browser/policy/policy_bundle_unittest.cc',
931         'browser/policy/policy_loader_mac_unittest.cc',
932         'browser/policy/policy_loader_win_unittest.cc',
933         'browser/policy/policy_map_unittest.cc',
934         'browser/policy/policy_path_parser_unittest.cc',
935         'browser/policy/policy_service_impl_unittest.cc',
936         'browser/policy/policy_statistics_collector_unittest.cc',
937         'browser/policy/proxy_policy_provider_unittest.cc',
938         'browser/policy/test_task_runner.cc',
939         'browser/policy/test_task_runner.h',
940         'browser/policy/testing_cloud_policy_subsystem.cc',
941         'browser/policy/testing_cloud_policy_subsystem.h',
942         'browser/policy/testing_policy_url_fetcher_factory.cc',
943         'browser/policy/testing_policy_url_fetcher_factory.h',
944         'browser/policy/url_blacklist_manager_unittest.cc',
945         'browser/policy/user_cloud_policy_manager_chromeos_unittest.cc',
946         'browser/policy/user_cloud_policy_manager_unittest.cc',
947         'browser/policy/user_cloud_policy_store_chromeos_unittest.cc',
948         'browser/policy/user_cloud_policy_store_unittest.cc',
949         'browser/policy/user_info_fetcher_unittest.cc',
950         'browser/policy/user_policy_cache_unittest.cc',
951         'browser/policy/user_policy_signin_service_unittest.cc',
952         'browser/predictors/autocomplete_action_predictor_table_unittest.cc',
953         'browser/predictors/autocomplete_action_predictor_unittest.cc',
954         'browser/predictors/resource_prefetch_predictor_unittest.cc',
955         'browser/predictors/resource_prefetch_predictor_tables_unittest.cc',
956         'browser/predictors/resource_prefetcher_unittest.cc',
957         'browser/preferences_mock_mac.cc',
958         'browser/preferences_mock_mac.h',
959         'browser/prefs/command_line_pref_store_unittest.cc',
960         'browser/prefs/incognito_mode_prefs_unittest.cc',
961         'browser/prefs/pref_model_associator_unittest.cc',
962         'browser/prefs/pref_notifier_impl_unittest.cc',
963         'browser/prefs/pref_service_unittest.cc',
964         'browser/prefs/pref_value_store_unittest.cc',
965         'browser/prefs/proxy_config_dictionary_unittest.cc',
966         'browser/prefs/proxy_policy_unittest.cc',
967         'browser/prefs/proxy_prefs_unittest.cc',
968         'browser/prefs/scoped_user_pref_update_unittest.cc',
969         'browser/prefs/session_startup_pref_unittest.cc',
970         'browser/prerender/prerender_history_unittest.cc',
971         'browser/prerender/prerender_manager_unittest.cc',
972         'browser/prerender/prerender_tracker_unittest.cc',
973         'browser/prerender/prerender_unittest.cc',
974         'browser/prerender/prerender_util_unittest.cc',
975         'browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc',
976         'browser/printing/cloud_print/cloud_print_setup_source_unittest.cc',
977         'browser/printing/print_dialog_cloud_unittest.cc',
978         'browser/printing/print_job_unittest.cc',
979         'browser/printing/print_preview_tab_controller_unittest.cc',
980         'browser/printing/print_preview_test.cc',
981         'browser/printing/print_preview_test.h',
982         'browser/process_info_snapshot_mac_unittest.cc',
983         'browser/process_singleton_linux_unittest.cc',
984         'browser/process_singleton_mac_unittest.cc',
985         'browser/profiles/avatar_menu_model_unittest.cc',
986         'browser/profiles/gaia_info_update_service_unittest.cc',
987         'browser/profiles/off_the_record_profile_impl_unittest.cc',
988         'browser/profiles/profile_dependency_manager_unittest.cc',
989         'browser/profiles/profile_downloader_unittest.cc',
990         'browser/profiles/profile_info_cache_unittest.cc',
991         'browser/profiles/profile_info_cache_unittest.h',
992         'browser/profiles/profile_info_util_unittest.cc',
993         'browser/profiles/profile_manager_unittest.cc',
994         'browser/profiles/profile_shortcut_manager_unittest_win.cc',
995         'browser/protector/composite_settings_change_unittest.cc',
996         'browser/protector/homepage_change_unittest.cc',
997         'browser/protector/prefs_backup_invalid_change_unittest.cc',
998         'browser/protector/protected_prefs_watcher_unittest.cc',
999         'browser/protector/session_startup_change_unittest.cc',
1000         'browser/renderer_host/plugin_info_message_filter_unittest.cc',
1001         'browser/renderer_host/web_cache_manager_unittest.cc',
1002         'browser/resources/print_preview/data/measurement_system.js',
1003         'browser/resources/print_preview/data/measurement_system_unittest.gtestjs',
1004         'browser/resources/print_preview/print_preview_utils.js',
1005         'browser/resources/print_preview/print_preview_utils_unittest.gtestjs',
1006         'browser/resources/shared/js/cr.js',
1007         'browser/resources_util_unittest.cc',
1008         'browser/rlz/rlz_unittest.cc',
1009         'browser/safe_browsing/browser_feature_extractor_unittest.cc',
1010         'browser/safe_browsing/chunk_range_unittest.cc',
1011         'browser/safe_browsing/client_side_detection_host_unittest.cc',
1012         'browser/safe_browsing/client_side_detection_service_unittest.cc',
1013         'browser/safe_browsing/download_protection_service_unittest.cc',
1014         'browser/safe_browsing/malware_details_unittest.cc',
1015         'browser/safe_browsing/ping_manager_unittest.cc',
1016         'browser/safe_browsing/prefix_set_unittest.cc',
1017         'browser/safe_browsing/protocol_manager_unittest.cc',
1018         'browser/safe_browsing/protocol_parser_unittest.cc',
1019         'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc',
1020         'browser/safe_browsing/safe_browsing_database_unittest.cc',
1021         'browser/safe_browsing/safe_browsing_store_file_unittest.cc',
1022         'browser/safe_browsing/safe_browsing_store_unittest.cc',
1023         'browser/safe_browsing/safe_browsing_store_unittest_helper.cc',
1024         'browser/safe_browsing/safe_browsing_util_unittest.cc',
1025         'browser/safe_browsing/signature_util_win_unittest.cc',
1026         'browser/search_engines/search_host_to_urls_map_unittest.cc',
1027         'browser/search_engines/search_provider_install_data_unittest.cc',
1028         'browser/search_engines/template_url_fetcher_unittest.cc',
1029         'browser/search_engines/template_url_service_util_unittest.cc',
1030         'browser/search_engines/template_url_service_sync_unittest.cc',
1031         'browser/search_engines/template_url_service_unittest.cc',
1032         'browser/search_engines/template_url_parser_unittest.cc',
1033         'browser/search_engines/template_url_prepopulate_data_unittest.cc',
1034         'browser/search_engines/template_url_scraper_unittest.cc',
1035         'browser/search_engines/template_url_unittest.cc',
1036         'browser/sessions/session_backend_unittest.cc',
1037         'browser/sessions/session_service_unittest.cc',
1038         'browser/sessions/session_types_unittest.cc',
1039         'browser/shell_integration_unittest.cc',
1040         'browser/signin/oauth2_token_service_request_unittest.cc',
1041         'browser/signin/oauth2_token_service_unittest.cc',
1042         'browser/signin/signin_manager_fake.cc',
1043         'browser/signin/signin_manager_fake.h',
1044         'browser/signin/signin_manager_unittest.cc',
1045         'browser/signin/signin_names_io_thread_unittest.cc',
1046         'browser/signin/signin_tracker_unittest.cc',
1047         'browser/signin/token_service_unittest.cc',
1048         'browser/signin/token_service_unittest.h',
1049         'browser/signin/ubertoken_fetcher_unittest.cc',
1050         'browser/speech/extension_api/tts_extension_api_controller_unittest.cc',
1051         'browser/speech/speech_recognition_bubble_controller_unittest.cc',
1052         'browser/spellchecker/spellcheck_custom_dictionary_unittest.cc',
1053         'browser/spellchecker/spellcheck_host_metrics_unittest.cc',
1054         'browser/spellchecker/spellcheck_platform_mac_unittest.cc',
1055         'browser/spellchecker/spellcheck_service_unittest.cc',
1056         'browser/spellchecker/spelling_service_client_unittest.cc',
1057         'browser/status_icons/status_icon_unittest.cc',
1058         'browser/status_icons/status_tray_unittest.cc',
1059         'browser/sync/about_sync_util_unittest.cc',
1060         'browser/sync/abstract_profile_sync_service_test.cc',
1061         'browser/sync/abstract_profile_sync_service_test.h',
1062         'browser/sync/backend_migrator_unittest.cc',
1063         'browser/sync/glue/app_notification_data_type_controller_unittest.cc',
1064         'browser/sync/glue/autofill_data_type_controller_unittest.cc',
1065         'browser/sync/glue/bookmark_data_type_controller_unittest.cc',
1066         'browser/sync/glue/bridged_invalidator_unittest.cc',
1067         'browser/sync/glue/browser_thread_model_worker_unittest.cc',
1068         'browser/sync/glue/change_processor_mock.cc',
1069         'browser/sync/glue/change_processor_mock.h',
1070         'browser/sync/glue/chrome_encryptor_unittest.cc',
1071         'browser/sync/glue/chrome_extensions_activity_monitor_unittest.cc',
1072         'browser/sync/glue/chrome_sync_notification_bridge_unittest.cc',
1073         'browser/sync/glue/data_type_controller_mock.cc',
1074         'browser/sync/glue/data_type_controller_mock.h',
1075         'browser/sync/glue/data_type_error_handler_mock.cc',
1076         'browser/sync/glue/data_type_error_handler_mock.h',
1077         'browser/sync/glue/data_type_manager_impl_unittest.cc',
1078         'browser/sync/glue/data_type_manager_mock.cc',
1079         'browser/sync/glue/data_type_manager_mock.h',
1080         'browser/sync/glue/fake_data_type_controller.cc',
1081         'browser/sync/glue/fake_data_type_controller.h',
1082         'browser/sync/glue/fake_generic_change_processor.cc',
1083         'browser/sync/glue/fake_generic_change_processor.h',
1084         'browser/sync/glue/frontend_data_type_controller_mock.cc',
1085         'browser/sync/glue/frontend_data_type_controller_mock.h',
1086         'browser/sync/glue/frontend_data_type_controller_unittest.cc',
1087         'browser/sync/glue/model_association_manager_unittest.cc',
1088         'browser/sync/glue/model_associator_mock.cc',
1089         'browser/sync/glue/model_associator_mock.h',
1090         'browser/sync/glue/non_frontend_data_type_controller_mock.cc',
1091         'browser/sync/glue/non_frontend_data_type_controller_mock.h',
1092         'browser/sync/glue/non_frontend_data_type_controller_unittest.cc',
1093         'browser/sync/glue/non_ui_data_type_controller_mock.cc',
1094         'browser/sync/glue/non_ui_data_type_controller_mock.h',
1095         'browser/sync/glue/non_ui_data_type_controller_unittest.cc',
1096         'browser/sync/glue/search_engine_data_type_controller_unittest.cc',
1097         'browser/sync/glue/session_model_associator_unittest.cc',
1098         'browser/sync/glue/shared_change_processor_mock.cc',
1099         'browser/sync/glue/shared_change_processor_mock.h',
1100         'browser/sync/glue/shared_change_processor_unittest.cc',
1101         'browser/sync/glue/sync_backend_host_unittest.cc',
1102         'browser/sync/glue/sync_backend_registrar_unittest.cc',
1103         'browser/sync/glue/synced_device_tracker_unittest.cc',
1104         'browser/sync/glue/synced_session_tracker_unittest.cc',
1105         'browser/sync/glue/typed_url_model_associator_unittest.cc',
1106         'browser/sync/glue/ui_data_type_controller_unittest.cc',
1107         'browser/sync/glue/ui_model_worker_unittest.cc',
1108         'browser/sync/invalidations/invalidator_storage_unittest.cc',
1109         'browser/sync/profile_sync_components_factory_impl_unittest.cc',
1110         'browser/sync/profile_sync_components_factory_mock.cc',
1111         'browser/sync/profile_sync_components_factory_mock.h',
1112         'browser/sync/profile_sync_service_autofill_unittest.cc',
1113         'browser/sync/profile_sync_service_bookmark_unittest.cc',
1114         'browser/sync/profile_sync_service_password_unittest.cc',
1115         'browser/sync/profile_sync_service_preference_unittest.cc',
1116         'browser/sync/profile_sync_service_session_unittest.cc',
1117         'browser/sync/profile_sync_service_startup_unittest.cc',
1118         'browser/sync/profile_sync_service_typed_url_unittest.cc',
1119         'browser/sync/profile_sync_service_unittest.cc',
1120         'browser/sync/profile_sync_test_util.cc',
1121         'browser/sync/profile_sync_test_util.h',
1122         'browser/sync/sync_global_error_unittest.cc',
1123         'browser/sync/sync_prefs_unittest.cc',
1124         'browser/sync/sync_ui_util_mac_unittest.mm',
1125         'browser/sync/sync_ui_util_unittest.cc',
1126         'browser/sync/test/test_http_bridge_factory.cc',
1127         'browser/sync/test/test_http_bridge_factory.h',
1128         'browser/sync/test_profile_sync_service.cc',
1129         'browser/sync/test_profile_sync_service.h',
1130         'browser/sync_file_system/drive_file_sync_client_unittest.cc',
1131         'browser/sync_file_system/drive_file_sync_service_unittest.cc',
1132         'browser/sync_file_system/drive_metadata_store_unittest.cc',
1133         'browser/sync_file_system/local_file_sync_service_unittest.cc',
1134         'browser/sync_file_system/mock_local_change_processor.cc',
1135         'browser/sync_file_system/mock_local_change_processor.h',
1136         'browser/sync_file_system/mock_remote_change_processor.cc',
1137         'browser/sync_file_system/mock_remote_change_processor.h',
1138         'browser/sync_file_system/mock_remote_file_sync_service.cc',
1139         'browser/sync_file_system/mock_remote_file_sync_service.h',
1140         'browser/sync_file_system/sync_file_system_service_unittest.cc',
1141         'browser/sync_file_system/sync_file_system_test_util.cc',
1142         'browser/sync_file_system/sync_file_system_test_util.h',
1143         'browser/system_monitor/media_device_notifications_utils_unittest.cc',
1144         'browser/system_monitor/media_storage_util_unittest.cc',
1145         'browser/system_monitor/media_transfer_protocol_device_observer_linux_unittest.cc',
1146         'browser/system_monitor/removable_device_notifications_chromeos_unittest.cc',
1147         'browser/system_monitor/removable_device_notifications_linux_unittest.cc',
1148         'browser/system_monitor/removable_device_notifications_mac_unittest.mm',
1149         'browser/system_monitor/removable_device_notifications_window_win_unittest.cc',
1150         'browser/tab_contents/render_view_context_menu_unittest.cc',
1151         'browser/task_manager/task_manager_unittest.cc',
1152         'browser/task_profiler/task_profiler_data_serializer_unittest.cc',
1153         'browser/themes/browser_theme_pack_unittest.cc',
1154         'browser/themes/theme_service_unittest.cc',
1155         'browser/themes/theme_syncable_service_unittest.cc',
1156         'browser/thumbnails/thumbnail_service_unittest.cc',
1157         'browser/thumbnails/thumbnail_tab_helper_unittest.cc',
1158         'browser/ui/android/tab_model/tab_model_unittest.cc',
1159         'browser/ui/ash/event_rewriter_unittest.cc',
1160         'browser/ui/ash/ime_controller_chromeos_unittest.cc',
1161         'browser/ui/ash/launcher/browser_launcher_item_controller_unittest.cc',
1162         'browser/ui/ash/launcher/chrome_launcher_controller_per_app_unittest.cc',
1163         'browser/ui/ash/launcher/chrome_launcher_controller_per_browser_unittest.cc',
1164         'browser/ui/ash/window_positioner_unittest.cc',
1165         'browser/ui/auto_login_prompter_unittest.cc',
1166         'browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc',
1167         'browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc',
1168         'browser/ui/bookmarks/bookmark_ui_utils_unittest.cc',
1169         'browser/ui/browser_command_controller_unittest.cc',
1170         'browser/ui/chrome_select_file_policy_unittest.cc',
1171         # It is safe to list */cocoa/* files in the "common" file list
1172         # without an explicit exclusion since gyp is smart enough to
1173         # exclude them from non-Mac builds.
1174         'browser/ui/cocoa/about_ipc_controller_unittest.mm',
1175         'browser/ui/cocoa/accelerators_cocoa_unittest.mm',
1176         'browser/ui/cocoa/animatable_image_unittest.mm',
1177         'browser/ui/cocoa/animatable_view_unittest.mm',
1178         'browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.h',
1179         'browser/ui/cocoa/applescript/bookmark_applescript_utils_unittest.mm',
1180         'browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm',
1181         'browser/ui/cocoa/applescript/bookmark_item_applescript_unittest.mm',
1182         'browser/ui/cocoa/background_gradient_view_unittest.mm',
1183         'browser/ui/cocoa/background_tile_view_unittest.mm',
1184         'browser/ui/cocoa/base_bubble_controller_unittest.mm',
1185         'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller_unittest.mm',
1186         'browser/ui/cocoa/bookmarks/bookmark_bar_bridge_unittest.mm',
1187         'browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm',
1188         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm',
1189         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm',
1190         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state_unittest.mm',
1191         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm',
1192         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window_unittest.mm',
1193         'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view_unittest.mm',
1194         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h',
1195         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.mm',
1196         'browser/ui/cocoa/bookmarks/bookmark_bar_view_unittest.mm',
1197         'browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm',
1198         'browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm',
1199         'browser/ui/cocoa/bookmarks/bookmark_button_unittest.mm',
1200         'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller_unittest.mm',
1201         'browser/ui/cocoa/bookmarks/bookmark_editor_controller_unittest.mm',
1202         'browser/ui/cocoa/bookmarks/bookmark_folder_target_unittest.mm',
1203         'browser/ui/cocoa/bookmarks/bookmark_menu_bridge_unittest.mm',
1204         'browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller_unittest.mm',
1205         'browser/ui/cocoa/bookmarks/bookmark_menu_unittest.mm',
1206         'browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa_unittest.mm',
1207         'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller_unittest.mm',
1208         'browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell_unittest.mm',
1209         'browser/ui/cocoa/browser/avatar_button_controller_unittest.mm',
1210         'browser/ui/cocoa/browser/avatar_menu_bubble_controller_unittest.mm',
1211         'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller_unittest.mm',
1212         'browser/ui/cocoa/browser/password_generation_bubble_controller_unittest.mm',
1213         'browser/ui/cocoa/browser_window_cocoa_unittest.mm',
1214         'browser/ui/cocoa/browser_window_controller_unittest.mm',
1215         'browser/ui/cocoa/bubble_view_unittest.mm',
1216         'browser/ui/cocoa/chrome_browser_window_unittest.mm',
1217         'browser/ui/cocoa/chrome_event_processing_window_unittest.mm',
1218         'browser/ui/cocoa/chrome_to_mobile_bubble_controller_unittest.mm',
1219         'browser/ui/cocoa/clickhold_button_cell_unittest.mm',
1220         'browser/ui/cocoa/cocoa_profile_test.h',
1221         'browser/ui/cocoa/cocoa_profile_test.mm',
1222         'browser/ui/cocoa/cocoa_test_helper.h',
1223         'browser/ui/cocoa/cocoa_test_helper.mm',
1224         'browser/ui/cocoa/command_observer_bridge_unittest.mm',
1225         'browser/ui/cocoa/confirm_bubble_controller_unittest.mm',
1226         'browser/ui/cocoa/confirm_quit_panel_controller_unittest.mm',
1227         'browser/ui/cocoa/constrained_window/constrained_window_alert_unittest.mm',
1228         'browser/ui/cocoa/constrained_window/constrained_window_animation_unittest.mm',
1229         'browser/ui/cocoa/constrained_window/constrained_window_button_unittest.mm',
1230         'browser/ui/cocoa/constrained_window/constrained_window_custom_window_unittest.mm',
1231         'browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm',
1232         'browser/ui/cocoa/content_settings/cookie_details_unittest.mm',
1233         'browser/ui/cocoa/content_settings/cookie_details_view_controller_unittest.mm',
1234         'browser/ui/cocoa/custom_frame_view_unittest.mm',
1235         'browser/ui/cocoa/download/download_item_button_unittest.mm',
1236         'browser/ui/cocoa/download/download_shelf_mac_unittest.mm',
1237         'browser/ui/cocoa/download/download_shelf_view_unittest.mm',
1238         'browser/ui/cocoa/download/download_util_mac_unittest.mm',
1239         'browser/ui/cocoa/draggable_button_unittest.mm',
1240         'browser/ui/cocoa/event_utils_unittest.mm',
1241         'browser/ui/cocoa/extensions/browser_actions_container_view_unittest.mm',
1242         'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h',
1243         'browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm',
1244         'browser/ui/cocoa/extensions/extension_install_view_controller_unittest.mm',
1245         'browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm',
1246         'browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_unittest.mm',
1247         'browser/ui/cocoa/fast_resize_view_unittest.mm',
1248         'browser/ui/cocoa/find_bar/find_bar_bridge_unittest.mm',
1249         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller_unittest.mm',
1250         'browser/ui/cocoa/find_bar/find_bar_text_field_cell_unittest.mm',
1251         'browser/ui/cocoa/find_bar/find_bar_text_field_unittest.mm',
1252         'browser/ui/cocoa/find_bar/find_bar_view_unittest.mm',
1253         'browser/ui/cocoa/find_pasteboard_unittest.mm',
1254         'browser/ui/cocoa/first_run_bubble_controller_unittest.mm',
1255         'browser/ui/cocoa/floating_bar_backing_view_unittest.mm',
1256         'browser/ui/cocoa/framed_browser_window_unittest.mm',
1257         'browser/ui/cocoa/fullscreen_window_unittest.mm',
1258         'browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm',
1259         'browser/ui/cocoa/gradient_button_cell_unittest.mm',
1260         'browser/ui/cocoa/history_menu_bridge_unittest.mm',
1261         'browser/ui/cocoa/history_menu_cocoa_controller_unittest.mm',
1262         'browser/ui/cocoa/history_overlay_controller_unittest.mm',
1263         'browser/ui/cocoa/hover_close_button_unittest.mm',
1264         'browser/ui/cocoa/hover_image_button_unittest.mm',
1265         'browser/ui/cocoa/hung_renderer_controller_unittest.mm',
1266         'browser/ui/cocoa/hyperlink_button_cell_unittest.mm',
1267         'browser/ui/cocoa/hyperlink_text_view_unittest.mm',
1268         'browser/ui/cocoa/image_button_cell_unittest.mm',
1269         'browser/ui/cocoa/info_bubble_view_unittest.mm',
1270         'browser/ui/cocoa/info_bubble_window_unittest.mm',
1271         'browser/ui/cocoa/infobars/infobar_container_controller_unittest.mm',
1272         'browser/ui/cocoa/infobars/infobar_controller_unittest.mm',
1273         'browser/ui/cocoa/infobars/infobar_gradient_view_unittest.mm',
1274         'browser/ui/cocoa/infobars/translate_infobar_unittest.mm',
1275         'browser/ui/cocoa/intents/web_intent_choose_service_view_controller_unittest.mm',
1276         'browser/ui/cocoa/intents/web_intent_extension_prompt_view_controller_unittest.mm',
1277         'browser/ui/cocoa/intents/web_intent_message_view_controller_unittest.mm',
1278         'browser/ui/cocoa/intents/web_intent_progress_view_controller_unittest.mm',
1279         'browser/ui/cocoa/intents/web_intent_service_row_view_controller_unittest.mm',
1280         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm',
1281         'browser/ui/cocoa/location_bar/autocomplete_text_field_editor_unittest.mm',
1282         'browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm',
1283         'browser/ui/cocoa/location_bar/autocomplete_text_field_unittest_helper.mm',
1284         'browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm',
1285         'browser/ui/cocoa/location_bar/image_decoration_unittest.mm',
1286         'browser/ui/cocoa/location_bar/keyword_hint_decoration_unittest.mm',
1287         'browser/ui/cocoa/location_bar/selected_keyword_decoration_unittest.mm',
1288         'browser/ui/cocoa/location_bar/web_intents_button_decoration_unittest.mm',
1289         'browser/ui/cocoa/menu_button_unittest.mm',
1290         'browser/ui/cocoa/menu_controller_unittest.mm',
1291         'browser/ui/cocoa/notifications/balloon_controller_unittest.mm',
1292         'browser/ui/cocoa/nsimage_cache_unittest.mm',
1293         'browser/ui/cocoa/nsmenuitem_additions_unittest.mm',
1294         'browser/ui/cocoa/omnibox/omnibox_popup_view_mac_unittest.mm',
1295         'browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm',
1296         'browser/ui/cocoa/one_click_signin_bubble_controller_unittest.mm',
1297         'browser/ui/cocoa/page_info_bubble_controller_unittest.mm',
1298         'browser/ui/cocoa/panels/panel_cocoa_unittest.mm',
1299         'browser/ui/cocoa/profile_menu_controller_unittest.mm',
1300         'browser/ui/cocoa/ratings_view_unittest.mm',
1301         'browser/ui/cocoa/run_loop_testing_unittest.mm',
1302         'browser/ui/cocoa/spinner_progress_indicator_unittest.mm',
1303         'browser/ui/cocoa/status_bubble_mac_unittest.mm',
1304         'browser/ui/cocoa/status_icons/status_icon_mac_unittest.mm',
1305         'browser/ui/cocoa/styled_text_field_cell_unittest.mm',
1306         'browser/ui/cocoa/styled_text_field_test_helper.h',
1307         'browser/ui/cocoa/styled_text_field_test_helper.mm',
1308         'browser/ui/cocoa/styled_text_field_unittest.mm',
1309         'browser/ui/cocoa/tab_contents/sad_tab_controller_unittest.mm',
1310         'browser/ui/cocoa/tab_contents/sad_tab_view_unittest.mm',
1311         'browser/ui/cocoa/tab_view_picker_table_unittest.mm',
1312         'browser/ui/cocoa/table_row_nsimage_cache_unittest.mm',
1313         'browser/ui/cocoa/tabpose_window_unittest.mm',
1314         'browser/ui/cocoa/tabs/tab_controller_unittest.mm',
1315         'browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm',
1316         'browser/ui/cocoa/tabs/tab_strip_view_unittest.mm',
1317         'browser/ui/cocoa/tabs/tab_view_unittest.mm',
1318         'browser/ui/cocoa/tabs/throbber_view_unittest.mm',
1319         'browser/ui/cocoa/tabs/throbbing_image_view_unittest.mm',
1320         'browser/ui/cocoa/task_manager_mac_unittest.mm',
1321         'browser/ui/cocoa/toolbar/reload_button_unittest.mm',
1322         'browser/ui/cocoa/toolbar/toolbar_button_unittest.mm',
1323         'browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm',
1324         'browser/ui/cocoa/toolbar/toolbar_view_unittest.mm',
1325         'browser/ui/cocoa/tracking_area_unittest.mm',
1326         'browser/ui/cocoa/vertical_gradient_view_unittest.mm',
1327         'browser/ui/cocoa/view_resizer_pong.h',
1328         'browser/ui/cocoa/view_resizer_pong.mm',
1329         'browser/ui/cocoa/website_settings_bubble_controller_unittest.mm',
1330         'browser/ui/cocoa/web_dialog_window_controller_unittest.mm',
1331         'browser/ui/cocoa/window_size_autosaver_unittest.mm',
1332         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view_unittest.mm',
1333         'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell_unittest.mm',
1334         'browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm',
1335         'browser/ui/constrained_window_tab_helper_unittest.cc',
1336         'browser/ui/content_settings/content_setting_bubble_model_unittest.cc',
1337         'browser/ui/content_settings/content_setting_image_model_unittest.cc',
1338         'browser/ui/find_bar/find_backend_unittest.cc',
1339         'browser/ui/fullscreen/fullscreen_controller_state_unittest.cc',
1340         'browser/ui/global_error/global_error_service_unittest.cc',
1341         'browser/ui/gtk/accelerators_gtk_unittest.cc',
1342         'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc',
1343         'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc',
1344         'browser/ui/gtk/bookmarks/bookmark_utils_gtk_unittest.cc',
1345         'browser/ui/gtk/event_utils_unittest.cc',
1346         'browser/ui/gtk/extensions/media_galleries_dialog_gtk_unittest.cc',
1347         'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc',
1348         'browser/ui/gtk/gtk_theme_service_unittest.cc',
1349         'browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc',
1350         'browser/ui/gtk/reload_button_gtk_unittest.cc',
1351         'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc',
1352         'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
1353         'browser/ui/intents/web_intent_inline_disposition_delegate_unittest.cc',
1354         'browser/ui/intents/web_intent_picker_model_unittest.cc',
1355         'browser/ui/intents/web_intent_picker_unittest.cc',
1356         'browser/ui/login/login_prompt_unittest.cc',
1357         'browser/ui/omnibox/omnibox_edit_unittest.cc',
1358         'browser/ui/omnibox/omnibox_view_unittest.cc',
1359         'browser/ui/panels/display_settings_provider_win_unittest.cc',
1360         'browser/ui/panels/panel_mouse_watcher_unittest.cc',
1361         'browser/ui/search_engines/keyword_editor_controller_unittest.cc',
1362         'browser/ui/search/search_delegate_unittest.cc',
1363         'browser/ui/sync/one_click_signin_helper_unittest.cc',
1364         'browser/ui/tab_contents/tab_contents_iterator_unittest.cc',
1365         'browser/ui/tabs/dock_info_unittest.cc',
1366         'browser/ui/tabs/pinned_tab_codec_unittest.cc',
1367         'browser/ui/tabs/pinned_tab_service_unittest.cc',
1368         'browser/ui/tabs/pinned_tab_test_utils.cc',
1369         'browser/ui/tabs/tab_menu_model_unittest.cc',
1370         'browser/ui/tabs/tab_strip_model_unittest.cc',
1371         'browser/ui/tabs/tab_strip_selection_model_unittest.cc',
1372         'browser/ui/tabs/test_tab_strip_model_delegate.cc',
1373         'browser/ui/tabs/test_tab_strip_model_delegate.h',
1374         'browser/ui/tests/ui_gfx_image_unittest.cc',
1375         'browser/ui/tests/ui_gfx_image_unittest.mm',
1376         'browser/ui/toolbar/action_box_menu_model_unittest.cc',
1377         'browser/ui/toolbar/back_forward_menu_model_unittest.cc',
1378         'browser/ui/toolbar/encoding_menu_controller_unittest.cc',
1379         'browser/ui/toolbar/recent_tabs_builder_test_helper.cc',
1380         'browser/ui/toolbar/recent_tabs_builder_test_helper.h',
1381         'browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc',
1382         'browser/ui/toolbar/toolbar_model_unittest.cc',
1383         'browser/ui/toolbar/test_toolbar_model.cc',
1384         'browser/ui/toolbar/test_toolbar_model.h',
1385         'browser/ui/toolbar/wrench_menu_model_unittest.cc',
1386         'browser/ui/views/accelerator_table_unittest.cc',
1387         'browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc',
1388         'browser/ui/views/bookmarks/bookmark_context_menu_test.cc',
1389         'browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc',
1390         'browser/ui/views/crypto_module_password_dialog_view_unittest.cc',
1391         'browser/ui/views/extensions/browser_action_drag_data_unittest.cc',
1392         'browser/ui/views/first_run_bubble_unittest.cc',
1393         'browser/ui/views/reload_button_unittest.cc',
1394         'browser/ui/views/select_file_dialog_extension_unittest.cc',
1395         'browser/ui/views/status_icons/status_tray_win_unittest.cc',
1396         'browser/ui/views/tabs/fake_base_tab_strip_controller.cc',
1397         'browser/ui/views/tabs/fake_base_tab_strip_controller.h',
1398         'browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc',
1399         'browser/ui/views/tabs/tab_unittest.cc',
1400         'browser/ui/views/tabs/tab_strip_unittest.cc',
1401         'browser/ui/website_settings/website_settings_unittest.cc',
1402         'browser/ui/webui/chrome_web_ui_data_source_unittest.cc',
1403         'browser/ui/webui/fileicon_source_unittest.cc',
1404         'browser/ui/webui/ntp/android/partner_bookmarks_shim_unittest.cc',
1405         'browser/ui/webui/ntp/suggestions_combiner_unittest.cc',
1406         'browser/ui/webui/options/language_options_handler_unittest.cc',
1407         'browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc',
1408         'browser/ui/webui/policy_ui_unittest.cc',
1409         'browser/ui/webui/print_preview/print_preview_handler_unittest.cc',
1410         'browser/ui/webui/print_preview/print_preview_ui_unittest.cc',
1411         'browser/ui/webui/signin/login_ui_service_unittest.cc',
1412         'browser/ui/webui/sync_internals_ui_unittest.cc',
1413         'browser/ui/webui/sync_setup_handler_unittest.cc',
1414         'browser/ui/webui/theme_source_unittest.cc',
1415         'browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc',
1416         'browser/ui/webui/web_ui_unittest.cc',
1417         'browser/ui/webui/web_ui_util_unittest.cc',
1418         'browser/ui/window_sizer/window_sizer_ash_unittest.cc',
1419         'browser/ui/window_sizer/window_sizer_common_unittest.cc',
1420         'browser/ui/window_sizer/window_sizer_unittest.cc',
1421         'browser/ui/window_snapshot/window_snapshot_mac_unittest.mm',
1422         'browser/ui/zoom/zoom_controller_unittest.cc',
1423         'browser/chrome_to_mobile_service_unittest.cc',
1424         'browser/user_style_sheet_watcher_unittest.cc',
1425         'browser/value_store/leveldb_value_store_unittest.cc',
1426         'browser/value_store/policy_value_store_unittest.cc',
1427         'browser/value_store/testing_value_store_unittest.cc',
1428         'browser/value_store/value_store_change_unittest.cc',
1429         'browser/value_store/value_store_frontend_unittest.cc',
1430         'browser/value_store/value_store_unittest.cc',
1431         'browser/value_store/value_store_unittest.h',
1432         'browser/visitedlink/visitedlink_unittest.cc',
1433         'browser/web_applications/web_app_mac_unittest.mm',
1434         'browser/web_applications/web_app_unittest.cc',
1435         'browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc',
1436         'browser/web_resource/promo_resource_service_unittest.cc',
1437         'browser/webdata/autofill_entry_unittest.cc',
1438         'browser/webdata/autofill_profile_syncable_service_unittest.cc',
1439         'browser/webdata/autofill_table_unittest.cc',
1440         'browser/webdata/keyword_table_unittest.cc',
1441         'browser/webdata/token_service_table_unittest.cc',
1442         'browser/webdata/web_apps_table_unittest.cc',
1443         'browser/webdata/web_data_service_test_util.h',
1444         'browser/webdata/web_data_service_unittest.cc',
1445         'browser/webdata/web_database_migration_unittest.cc',
1446         'browser/webdata/web_intents_table_unittest.cc',
1447         'common/bzip2_unittest.cc',
1448         'common/cancelable_task_tracker_unittest.cc',
1449         'common/child_process_logging_mac_unittest.mm',
1450         'common/chrome_paths_unittest.cc',
1451         'common/cloud_print/cloud_print_helpers_unittest.cc',
1452         'common/common_param_traits_unittest.cc',
1453         'common/chrome_content_client_unittest.cc',
1454         'common/content_settings_helper_unittest.cc',
1455         'common/content_settings_pattern_parser_unittest.cc',
1456         'common/content_settings_pattern_unittest.cc',
1457         'common/extensions/command_unittest.cc',
1458         'common/extensions/csp_validator_unittest.cc',
1459         'common/extensions/event_filter_unittest.cc',
1460         'common/extensions/extension_constants_unittest.cc',
1461         'common/extensions/extension_file_util_unittest.cc',
1462         'common/extensions/extension_icon_set_unittest.cc',
1463         'common/extensions/extension_l10n_util_unittest.cc',
1464         'common/extensions/extension_localization_peer_unittest.cc',
1465         'common/extensions/extension_resource_unittest.cc',
1466         'common/extensions/extension_set_unittest.cc',
1467         'common/extensions/extension_unittest.cc',
1468         'common/extensions/feature_switch_unittest.cc',
1469         'common/extensions/features/feature_unittest.cc',
1470         'common/extensions/features/simple_feature_provider_unittest.cc',
1471         'common/extensions/manifest_tests/extension_manifest_test.cc',
1472         'common/extensions/manifest_tests/extension_manifests_auth_unittest.cc',
1473         'common/extensions/manifest_tests/extension_manifests_background_unittest.cc',
1474         'common/extensions/manifest_tests/extension_manifests_browseraction_unittest.cc',
1475         'common/extensions/manifest_tests/extension_manifests_chromepermission_unittest.cc',
1476         'common/extensions/manifest_tests/extension_manifests_command_unittest.cc',
1477         'common/extensions/manifest_tests/extension_manifests_contentscript_unittest.cc',
1478         'common/extensions/manifest_tests/extension_manifests_contentsecuritypolicy_unittest.cc',
1479         'common/extensions/manifest_tests/extension_manifests_default_unittest.cc',
1480         'common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc',
1481         'common/extensions/manifest_tests/extension_manifests_excludematches_unittest.cc',
1482         'common/extensions/manifest_tests/extension_manifests_experimental_unittest.cc',
1483         'common/extensions/manifest_tests/extension_manifests_filebrowser_unittest.cc',
1484         'common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc',
1485         'common/extensions/manifest_tests/extension_manifests_icon_unittest.cc',
1486         'common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc',
1487         'common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc',
1488         'common/extensions/manifest_tests/extension_manifests_launch_unittest.cc',
1489         'common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc',
1490         'common/extensions/manifest_tests/extension_manifests_offline_unittest.cc',
1491         'common/extensions/manifest_tests/extension_manifests_old_unittest.cc',
1492         'common/extensions/manifest_tests/extension_manifests_options_unittest.cc',
1493         'common/extensions/manifest_tests/extension_manifests_override_unittest.cc',
1494         'common/extensions/manifest_tests/extension_manifests_pageaction_unittest.cc',
1495         'common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc',
1496         'common/extensions/manifest_tests/extension_manifests_portsinpermissions_unittest.cc',
1497         'common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc',
1498         'common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc',
1499         'common/extensions/manifest_tests/extension_manifests_scriptbadge_unittest.cc',
1500         'common/extensions/manifest_tests/extension_manifests_storage_unittest.cc',
1501         'common/extensions/manifest_tests/extension_manifests_tts_unittest.cc',
1502         'common/extensions/manifest_tests/extension_manifests_ui_unittest.cc',
1503         'common/extensions/manifest_tests/extension_manifests_update_unittest.cc',
1504         'common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc',
1505         'common/extensions/manifest_tests/extension_manifests_web_unittest.cc',
1506         'common/extensions/matcher/regex_set_matcher_unittest.cc',
1507         'common/extensions/matcher/string_pattern_unittest.cc',
1508         'common/extensions/matcher/substring_set_matcher_unittest.cc',
1509         'common/extensions/matcher/url_matcher_unittest.cc',
1510         'common/extensions/matcher/url_matcher_factory_unittest.cc',
1511         'common/extensions/manifest_unittest.cc',
1512         'common/extensions/message_bundle_unittest.cc',
1513         'common/extensions/permissions/api_permission_set_unittest.cc',
1514         'common/extensions/permissions/permission_set_unittest.cc',
1515         'common/extensions/permissions/socket_permission_unittest.cc',
1516         'common/extensions/unpacker_unittest.cc',
1517         'common/extensions/update_manifest_unittest.cc',
1518         'common/extensions/user_script_unittest.cc',
1519         'common/extensions/value_counter_unittest.cc',
1520         'common/extensions/api/extension_api_unittest.cc',
1521         'common/json_schema_validator_unittest.cc',
1522         'common/json_schema_validator_unittest_base.cc',
1523         'common/json_schema_validator_unittest_base.h',
1524         'common/json_value_serializer_unittest.cc',
1525         'common/mac/cfbundle_blocker_unittest.mm',
1526         'common/mac/mock_launchd.cc',
1527         'common/mac/mock_launchd.h',
1528         'common/mac/nscoder_util_unittest.mm',
1529         'common/mac/objc_method_swizzle_unittest.mm',
1530         'common/mac/objc_zombie_unittest.mm',
1531         'common/metrics/entropy_provider_unittest.cc',
1532         'common/metrics/metrics_log_base_unittest.cc',
1533         'common/metrics/metrics_log_manager_unittest.cc',
1534         'common/metrics/metrics_util_unittest.cc',
1535         'common/metrics/variations/variations_util_unittest.cc',
1536         'common/multi_process_lock_unittest.cc',
1537         'common/net/url_util_unittest.cc',
1538         'common/net/x509_certificate_model_unittest.cc',
1539         'common/pref_names_util_unittest.cc',
1540         'common/service_process_util_unittest.cc',
1541         'common/switch_utils_unittest.cc',
1542         'common/thumbnail_score_unittest.cc',
1543         'common/time_format_unittest.cc',
1544         'common/web_apps_unittest.cc',
1545         'common/worker_thread_ticker_unittest.cc',
1546         'common/zip_reader_unittest.cc',
1547         'common/zip_unittest.cc',
1548         'nacl/nacl_ipc_adapter_unittest.cc',
1549         'nacl/nacl_validation_query_unittest.cc',
1550         'renderer/chrome_content_renderer_client_unittest.cc',
1551         'renderer/content_settings_observer_unittest.cc',
1552         'renderer/extensions/chrome_v8_context_set_unittest.cc',
1553         'renderer/extensions/event_unittest.cc',
1554         'renderer/extensions/json_schema_unittest.cc',
1555         'renderer/extensions/module_system_unittest.cc',
1556         'renderer/net/predictor_queue_unittest.cc',
1557         'renderer/net/renderer_predictor_unittest.cc',
1558         'renderer/plugins/plugin_uma_unittest.cc',
1559         'renderer/prerender/prerender_dispatcher_unittest.cc',
1560         'renderer/safe_browsing/features_unittest.cc',
1561         'renderer/safe_browsing/murmurhash3_util_unittest.cc',
1562         'renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc',
1563         'renderer/safe_browsing/phishing_url_feature_extractor_unittest.cc',
1564         'renderer/safe_browsing/scorer_unittest.cc',
1565         'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc',
1566         'renderer/spellchecker/spellcheck_provider_mac_unittest.cc',
1567         'renderer/spellchecker/spellcheck_provider_test.cc',
1568         'renderer/spellchecker/spellcheck_provider_test.h',
1569         'renderer/spellchecker/spellcheck_unittest.cc',
1570         'renderer/spellchecker/spellcheck_worditerator_unittest.cc',
1571         'service/cloud_print/cloud_print_helpers_unittest.cc',
1572         'service/cloud_print/cloud_print_token_store_unittest.cc',
1573         'service/cloud_print/cloud_print_url_fetcher_unittest.cc',
1574         'service/cloud_print/connector_settings_unittest.cc',
1575         'service/service_process_prefs_unittest.cc',
1576         'service/service_process_unittest.cc',
1577         'test/base/browser_with_test_window_test.cc',
1578         'test/base/browser_with_test_window_test.h',
1579         'test/base/chrome_render_view_test.cc',
1580         'test/base/chrome_render_view_test.h',
1581         'test/base/menu_model_test.cc',
1582         'test/base/menu_model_test.h',
1583         'test/base/v8_unit_test.cc',
1584         'test/base/v8_unit_test.h',
1585         'test/data/resource.rc',
1586         'test/data/unit/framework_unittest.gtestjs',
1587         'test/logging/win/mof_data_parser_unittest.cc',
1588         'tools/convert_dict/convert_dict_unittest.cc',
1590         # TODO(joi): Move to 'base_prefs' target in base/base.gyp once
1591         # Prefs move is complete and dependencies have been broken.
1592         '../base/prefs/public/pref_change_registrar_unittest.cc',
1593         '../base/prefs/public/pref_member_unittest.cc',
1594         '../base/prefs/overlay_user_pref_store_unittest.cc',
1595         '../base/prefs/pref_value_map_unittest.cc',
1596         '../base/prefs/json_pref_store_unittest.cc',
1598         # TODO(joi): Move the google_apis tests to a separate
1599         # google_apis_unittests executable.
1600         '../google_apis/google_api_keys_unittest.cc',
1601         '../google_apis/gaia/mock_url_fetcher_factory.h',
1602         '../google_apis/gaia/gaia_auth_fetcher_unittest.cc',
1603         '../google_apis/gaia/gaia_auth_util_unittest.cc',
1604         '../google_apis/gaia/gaia_authenticator_unittest.cc',
1605         '../google_apis/gaia/gaia_oauth_client_unittest.cc',
1606         '../google_apis/gaia/google_service_auth_error_unittest.cc',
1607         '../google_apis/gaia/oauth_request_signer_unittest.cc',
1608         '../google_apis/gaia/oauth2_access_token_fetcher_unittest.cc',
1609         '../google_apis/gaia/oauth2_api_call_flow_unittest.cc',
1610         '../google_apis/gaia/oauth2_mint_token_fetcher_unittest.cc',
1611         '../google_apis/gaia/oauth2_mint_token_flow_unittest.cc',
1612         '../google_apis/gaia/oauth2_revocation_fetcher_unittest.cc',
1613         '../skia/ext/bitmap_platform_device_mac_unittest.cc',
1614         '../skia/ext/convolver_unittest.cc',
1615         '../skia/ext/image_operations_unittest.cc',
1616         '../skia/ext/platform_canvas_unittest.cc',
1617         '../skia/ext/refptr_unittest.cc',
1618         '../skia/ext/skia_utils_ios_unittest.mm',
1619         '../skia/ext/skia_utils_mac_unittest.mm',
1620         '../skia/ext/vector_canvas_unittest.cc',
1621         '../testing/gtest_mac_unittest.mm',
1622         '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest_small.cc',
1623         '../tools/json_schema_compiler/test/additional_properties_unittest.cc',
1624         '../tools/json_schema_compiler/test/any_unittest.cc',
1625         '../tools/json_schema_compiler/test/arrays_unittest.cc',
1626         '../tools/json_schema_compiler/test/callbacks_unittest.cc',
1627         '../tools/json_schema_compiler/test/choices_unittest.cc',
1628         '../tools/json_schema_compiler/test/crossref_unittest.cc',
1629         '../tools/json_schema_compiler/test/enums_unittest.cc',
1630         '../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc',
1631         '../tools/json_schema_compiler/test/functions_on_types_unittest.cc',
1632         '../tools/json_schema_compiler/test/idl_schemas_unittest.cc',
1633         '../tools/json_schema_compiler/test/objects_unittest.cc',
1634         '../tools/json_schema_compiler/test/simple_api_unittest.cc',
1635         '../ui/views/test/desktop_test_views_delegate.cc',
1636         '../ui/views/test/desktop_test_views_delegate.h',
1637         '../ui/views/test/test_views_delegate.cc',
1638         '../ui/views/test/test_views_delegate.h',
1639         '../ui/views/test/views_test_base.cc',
1640         '../ui/views/test/views_test_base.h',
1641         '../webkit/blob/mock_blob_url_request_context.cc',
1642         '../webkit/blob/mock_blob_url_request_context.h',
1643         '../webkit/fileapi/syncable/canned_syncable_file_system.cc',
1644         '../webkit/fileapi/syncable/canned_syncable_file_system.cc',
1645         '../webkit/fileapi/syncable/mock_sync_status_observer.cc',
1646         '../webkit/fileapi/syncable/mock_sync_status_observer.h',
1647         '../webkit/glue/web_intent_reply_data_unittest.cc',
1648         '../webkit/glue/web_intent_service_data_unittest.cc',
1649         '../webkit/quota/mock_storage_client.cc',
1650         '../webkit/quota/mock_storage_client.h',
1651       ],
1652       'conditions': [
1653         ['OS!="ios"', {
1654           'dependencies': [
1655             'common/extensions/api/api.gyp:api',
1656             '../device/device.gyp:device_bluetooth_mocks',
1657             '../gpu/gpu.gyp:gpu_unittest_utils',
1658             '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
1659             '../third_party/cld/cld.gyp:cld',
1660             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1661             '../third_party/libjingle/libjingle.gyp:libjingle',
1662             '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:json_schema_compiler_tests',
1663             '../ui/gl/gl.gyp:gl',
1664             '../v8/tools/gyp/v8.gyp:v8',
1665             '../webkit/webkit.gyp:test_shell_test_support',
1666           ],
1667           # TODO(scr): Use this in browser_tests too.
1668           'includes': [
1669             'js_unittest_rules.gypi',
1670           ],
1671         }, {  # OS=="ios"
1672           'dependencies': [
1673             '../third_party/ocmock/ocmock.gyp:ocmock',
1674           ],
1675           'sources/': [
1676             # Exclude everything but iOS-specific files.
1677             ['exclude', '\\.(cc|mm)$'],
1678             ['include', '_ios\\.(cc|mm)$'],
1679             ['include', '(^|/)ios/'],
1680             # TODO(ios): Add files here as they are updated to compile on iOS.
1681             ['include', '^common/bzip2_unittest\\.cc$'],
1682             ['include', '^common/zip_'],
1683           ],
1684           'conditions': [
1685             ['coverage != 0', {
1686               'sources/': [
1687                 # These tests crash when run with coverage turned on due to an
1688                 # issue with llvm_gcda_increment_indirect_counter:
1689                 # http://crbug.com/156058
1690                 ['exclude', '^browser/autocomplete/builtin_provider_unittest\\.cc$'],
1691                 ['exclude', '^browser/autocomplete/shortcuts_provider_unittest\\.cc$'],
1692               ],
1693             }],
1694           ],
1695           # Bundle all the necessary resources into the test bundle.
1696           'includes': ['chrome_ios_bundle_resources.gypi'],
1697           'actions': [
1698             {
1699               'action_name': 'copy_test_data',
1700               'variables': {
1701                 'test_data_files': [
1702                   'test/data/zip',
1703                 ],
1704                 'test_data_prefix': 'chrome',
1705               },
1706               'includes': [ '../build/copy_test_data_ios.gypi' ],
1707             },
1708           ],
1709           'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']},
1710         }],
1711         ['enable_background==0', {
1712           'sources/': [
1713             ['exclude', '^browser/background/'],
1714           ],
1715         }],
1716         ['enable_one_click_signin==0', {
1717           'sources!': [
1718             'browser/ui/cocoa/one_click_signin_bubble_controller_unittest.mm',
1719             'browser/ui/sync/one_click_signin_helper_unittest.cc',
1720           ]
1721         }],
1722         ['disable_nacl==1', {
1723           'sources!':[
1724             'browser/nacl_host/nacl_validation_cache_unittest.cc',
1725             'browser/nacl_host/pnacl_file_host_unittest.cc',
1726             'nacl/nacl_ipc_adapter_unittest.cc',
1727             'nacl/nacl_validation_query_unittest.cc',
1728           ],
1729         }],
1730         ['target_arch!="arm" and OS!="ios"', {
1731           'dependencies': [
1732             # build time dependency.
1733             '../v8/tools/gyp/v8.gyp:v8_shell#host',
1734           ],
1735         }],
1736         ['enable_extensions==0', {
1737           'sources/': [
1738             ['exclude', '^browser/extensions/api/'],
1739             ['exclude', '^browser/sync/glue/chrome_extensions_activity_monitor_unittest.cc'],
1740             ['exclude', '^common/extensions/api/'],
1741           ],
1742           'sources!':[
1743             'browser/extensions/extension_context_menu_model_unittest.cc',
1744             'browser/extensions/extension_ui_unittest.cc',
1745             'browser/extensions/permissions_updater_unittest.cc',
1746           ],
1747         }],
1748         ['use_ash==1', {
1749           'sources': [
1750             'browser/ui/app_list/apps_model_builder_unittest.cc',
1751           ],
1752           'dependencies': [
1753             '../ash/ash.gyp:ash_resources',
1754             '../ash/ash.gyp:ash_test_support',
1755           ],
1756           # We eventually want to compile both in Win Aura builds, see
1757           # http://crbug.com/155545.
1758           'conditions': [
1759             ['OS=="win"', {
1760               'sources!': [
1761                 'browser/ui/window_sizer/window_sizer_ash_unittest.cc',
1762               ],
1763             }, { # else: OS!=win
1764               'sources!': [
1765                 'browser/ui/window_sizer/window_sizer_unittest.cc',
1766               ],
1767             }],
1768           ],
1769         }],
1770         ['use_aura==1', {
1771           'dependencies': [
1772             '../ui/aura/aura.gyp:aura_test_support',
1773           ],
1774           'sources/': [
1775             ['exclude', '^browser/automation/automation_provider_unittest.cc'],
1776             ['exclude', '^browser/ui/views/extensions/browser_action_drag_data_unittest.cc'],
1777             ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc'],
1778             ['exclude', '^browser/ui/panels/display_settings_provider_win_unittest.cc'],
1779             ['exclude', '^browser/bookmarks/bookmark_node_data_unittest.cc'],
1780           ],
1781         }],
1782         ['enable_task_manager==0', {
1783           'sources/': [
1784             ['exclude', '^browser/task_manager/'],
1785             ['exclude', '^browser/ui/webui/task_manager/'],
1786           ],
1787         }],
1788         ['file_manager_extension==0', {
1789           'sources!': [
1790             'browser/ui/views/select_file_dialog_extension_unittest.cc',
1791           ],
1792         }],
1793         ['configuration_policy==0', {
1794           'sources!': [
1795             'browser/managed_mode/managed_mode_url_filter_unittest.cc',
1796             'browser/prefs/proxy_policy_unittest.cc',
1797             'browser/ui/webui/policy_ui_unittest.cc',
1798             'browser/value_store/policy_value_store_unittest.cc',
1799           ],
1800           'sources/': [
1801             ['exclude', '^browser/policy/'],
1802           ],
1803         }],
1804         ['input_speech==0', {
1805           'sources/': [
1806             ['exclude', '^browser/speech/'],
1807           ],
1808         }],
1809         ['notifications==0', {
1810           'sources/': [
1811             ['exclude', '^browser/notifications/'],
1812           ],
1813         }],
1814         ['safe_browsing==1', {
1815           'defines': [
1816             'FULL_SAFE_BROWSING',
1817           ],
1818         }],
1819         # TODO(sgurun): enable tests.
1820         ['safe_browsing==2', {
1821           'sources/': [
1822             ['exclude', '^browser/safe_browsing/'],
1823             ['exclude', '^renderer/safe_browsing/'],
1824           ],
1825         }],
1826         ['safe_browsing==0', {
1827           'sources/': [
1828             ['exclude', '^browser/safe_browsing/'],
1829             ['exclude', '^renderer/safe_browsing/'],
1830           ],
1831         }],
1832         ['enable_automation!=1', {
1833           'sources/': [
1834             ['exclude', '^browser/automation/'],
1835           ],
1836         }],
1837         ['enable_printing!=1', {
1838           'sources/': [
1839             ['exclude', '^browser/printing/'],
1840             ['exclude', '^browser/ui/webui/print_preview/'],
1841           ],
1842         }],
1843         ['enable_captive_portal_detection!=1', {
1844           'sources/': [
1845             ['exclude', '^browser/captive_portal/'],
1846           ],
1847         }],
1848         ['enable_session_service!=1', {
1849           'sources!': [
1850             'browser/sessions/session_service_unittest.cc',
1851           ],
1852         }],
1853         ['chromeos==1', {
1854           'sources/': [
1855             ['exclude', '^browser/password_manager/native_backend_gnome_x_unittest.cc'],
1856             ['exclude', '^browser/password_manager/native_backend_kwallet_x_unittest.cc'],
1857             ['exclude', '^browser/policy/mock_user_cloud_policy_store.cc' ],
1858             ['exclude', '^browser/policy/mock_user_cloud_policy_store.h' ],
1859             ['exclude', '^browser/policy/user_cloud_policy_manager_unittest.cc'],
1860             ['exclude', '^browser/policy/user_cloud_policy_store_unittest.cc'],
1861             ['exclude', '^browser/policy/user_policy_signin_service_unittest.cc'],
1862             ['exclude', '^browser/safe_browsing/download_protection_service_unittest.cc' ],
1863             ['exclude', '^browser/system_monitor/removable_device_notifications_linux_unittest.cc'],
1864           ],
1865           'sources': [
1866             'browser/ui/webui/feedback_ui_unittest.cc',
1867           ],
1868         }, { # else: chromeos == 0
1869           'sources/': [
1870             ['exclude', '^browser/chromeos/'],
1871             ['exclude', '^browser/ui/webui/chromeos/imageburner/'],
1872             ['exclude', '^browser/ui/webui/chromeos/login'],
1873             ['exclude', '^browser/ui/webui/options/chromeos/'],
1874             ['exclude', '^browser/ui/webui/options/chromeos/'],
1875           ],
1876           'sources!': [
1877             'browser/net/gaia/gaia_oauth_fetcher_unittest.cc',
1878             'browser/policy/auto_enrollment_client_unittest.cc' ,
1879             'browser/policy/cros_user_policy_cache_unittest.cc',
1880             'browser/policy/device_policy_cache_unittest.cc',
1881             'browser/policy/device_local_account_policy_service_unittest.cc',
1882             'browser/policy/device_status_collector_unittest.cc',
1883             'browser/policy/enterprise_install_attributes_unittest.cc',
1884             'browser/policy/network_configuration_updater_unittest.cc',
1885             'browser/policy/proxy_policy_provider_unittest.cc',
1886           ],
1887         }],
1888         ['toolkit_uses_gtk == 1', {
1889           'conditions': [
1890             ['selinux==0', {
1891               'dependencies': [
1892                 '../sandbox/sandbox.gyp:*',
1893               ],
1894             }],
1895             ['toolkit_views==1', {
1896               'sources!': [
1897                 'browser/ui/gtk/accelerators_gtk_unittest.cc',
1898                 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc',
1899                 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc',
1900                 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc',
1901                 'browser/ui/gtk/gtk_theme_service_unittest.cc',
1902                 'browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc',
1903                 'browser/ui/gtk/reload_button_gtk_unittest.cc',
1904                 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc',
1905               ],
1906             }],
1907             ['chromeos==0', {
1908               'conditions': [
1909                 ['use_gnome_keyring==1', {
1910                   # We use a few library functions directly, so link directly.
1911                   'dependencies': [
1912                     '../build/linux/system.gyp:gnome_keyring_direct',
1913                   ],
1914                 }],
1915               ],
1916             }],
1917           ],
1918           'dependencies': [
1919             '../build/linux/system.gyp:dbus',
1920             '../build/linux/system.gyp:gtk',
1921             '../dbus/dbus.gyp:dbus_test_support',
1922             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1923           ],
1924           'sources!': [
1925             'browser/printing/print_job_unittest.cc',
1926           ],
1927         }, { # else: toolkit_uses_gtk != 1
1928           'sources!': [
1929             'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
1930             '../ui/views/focus/accelerator_handler_gtk_unittest.cc',
1931           ],
1932         }],
1933         ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)', {
1934           'dependencies': [
1935             '../build/linux/system.gyp:ssl',
1936           ],
1937         }],
1938         ['use_gnome_keyring == 0', {
1939           # Disable the GNOME Keyring tests if we are not using it.
1940           'sources!': [
1941             'browser/password_manager/native_backend_gnome_x_unittest.cc',
1942           ],
1943         }],
1944         ['OS=="linux" and use_aura==1', {
1945           'dependencies': [
1946             '../build/linux/system.gyp:dbus',
1947             '../dbus/dbus.gyp:dbus_test_support',
1948             '../ui/aura/aura.gyp:aura_test_support',
1949           ],
1950         }],
1951         ['OS=="linux" and branding=="Chrome" and target_arch=="ia32"', {
1952           'configurations': {
1953             'Release': {
1954               'ldflags': [
1955                 '-Wl,--strip-debug',
1956               ],
1957             },
1958           },
1959         }],
1960         ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1961           'conditions': [
1962             ['linux_use_tcmalloc==1', {
1963               'dependencies': [
1964                 '../base/allocator/allocator.gyp:allocator',
1965               ],
1966             }],
1967           ],
1968         }],
1969         ['OS=="mac"', {
1970            # The test fetches resources which means Mac need the app bundle to
1971            # exist on disk so it can pull from it.
1972           'dependencies': [
1973             'chrome',
1974             '../third_party/ocmock/ocmock.gyp:ocmock',
1975           ],
1976           'include_dirs': [
1977             '../third_party/GTM',
1978             '../third_party/GTM/AppKit',
1979           ],
1980           'sources!': [
1981             'browser/ui/tabs/dock_info_unittest.cc',
1982             'browser/ui/tests/ui_gfx_image_unittest.cc',
1983             'browser/ui/gtk/reload_button_gtk_unittest.cc',
1984             'browser/password_manager/password_store_default_unittest.cc',
1985             'tools/convert_dict/convert_dict_unittest.cc',
1986             'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc',
1987           ],
1988           # TODO(mark): We really want this for all non-static library targets,
1989           # but when we tried to pull it up to the common.gypi level, it broke
1990           # other things like the ui, startup, and page_cycler tests. *shrug*
1991           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
1992         }],
1993         ['OS!="mac" and OS!="ios"', {
1994           'dependencies': [
1995             'chrome_resources.gyp:packed_extra_resources',
1996             'chrome_resources.gyp:packed_resources',
1997             'convert_dict_lib',
1998             '../third_party/hunspell/hunspell.gyp:hunspell',
1999           ],
2000         }],
2001         ['OS!="win" and OS!="mac"', {
2002           'sources!': [
2003             '../skia/ext/platform_canvas_unittest.cc',
2004           ],
2005         }],
2006         ['enable_rlz==0', {
2007           'sources!': [
2008             'browser/rlz/rlz_unittest.cc',
2009           ],
2010         }],
2011         ['OS=="win" and component!="shared_library"', {
2012           # Unit_tests pdb files can get too big when incremental linking is
2013           # on, disabling for this target.
2014           'configurations': {
2015             'Debug': {
2016               'msvs_settings': {
2017                 'VCLinkerTool': {
2018                   'LinkIncremental': '<(msvs_debug_link_nonincremental)',
2019                 },
2020               },
2021             },
2022           },
2023         }],
2024         ['OS=="win"', {
2025           'dependencies': [
2026             'chrome_version_resources',
2027             'installer_util_strings',
2028             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
2029             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
2030           ],
2031           'conditions': [
2032             ['win_use_allocator_shim==1', {
2033               'dependencies': [
2034                 '<(allocator_target)',
2035               ],
2036             }],
2037           ],
2038           'include_dirs': [
2039             '<(DEPTH)/third_party/wtl/include',
2040           ],
2041           'sources': [
2042             # TODO:  It would be nice to have these pulled in
2043             # automatically from direct_dependent_settings in
2044             # their various targets (net.gyp:net_resources, etc.),
2045             # but that causes errors in other targets when
2046             # resulting .res files get referenced multiple times.
2047             '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
2048             '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
2049             '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.rc',
2050             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2051             '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.rc',
2052             '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings/installer_util_strings.rc',
2053             '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
2054             '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc',
2055             '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_unscaled_resources.rc',
2056           ],
2057           'link_settings': {
2058             'libraries': [
2059               '-lcomsupp.lib',
2060               '-loleacc.lib',
2061               '-lrpcrt4.lib',
2062               '-lurlmon.lib',
2063               '-lwinmm.lib',
2064             ],
2065           },
2066         }, { # else: OS != "win"
2067           'sources!': [
2068             'app/chrome_dll.rc',
2069             'browser/bookmarks/bookmark_node_data_unittest.cc',
2070             'browser/search_engines/template_url_scraper_unittest.cc',
2071             'browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc',
2072             'browser/ui/views/extensions/browser_action_drag_data_unittest.cc',
2073             'test/data/resource.rc',
2074             '../skia/ext/vector_canvas_unittest.cc',
2075           ],
2076         }],
2077         ['OS!="android" and OS!="ios"', {
2078           'sources!': [
2079             'browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc',
2080           ],
2081         }],
2082         ['OS=="android"', {
2083           'sources!': [
2084             # Bookmark export/import are handled via the BookmarkColumns
2085             # ContentProvider.
2086             'browser/bookmarks/bookmark_html_writer_unittest.cc',
2088             'browser/shell_integration_unittest.cc',
2090             # No service process (which also requires multiprocess lock).
2091             'common/multi_process_lock_unittest.cc',
2093             # Sync setup uses native ui.
2094             'browser/ui/webui/sync_setup_handler_unittest.cc',
2096             # about:flags is unsupported.
2097             'browser/about_flags_unittest.cc',
2099             # There's no Browser/BrowserList on Android.
2100             'browser/browser_commands_unittest.cc',
2101             'browser/managed_mode/managed_mode_unittest.cc',
2102             'browser/managed_mode/managed_mode_url_filter_unittest.cc',
2103             'browser/net/gaia/gaia_oauth_fetcher_unittest.cc',
2104             'browser/page_cycler/page_cycler_unittest.cc',
2105             'browser/profiles/off_the_record_profile_impl_unittest.cc',
2106             'browser/sync/profile_sync_service_session_unittest.cc',
2107             'browser/sync/sync_global_error_unittest.cc',
2108             'browser/tab_contents/render_view_context_menu_unittest.cc',
2109             'browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc',
2110             'browser/ui/bookmarks/bookmark_prompt_controller_unittest.cc',
2111             'browser/ui/browser_command_controller_unittest.cc',
2112             'browser/ui/fullscreen/fullscreen_controller_state_unittest.cc',
2113             'browser/ui/fullscreen/fullscreen_controller_unittest.cc',
2114             'browser/ui/search/search_delegate_unittest.cc',
2115             'browser/ui/tab_contents/tab_contents_iterator_unittest.cc',
2116             'browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc',
2117             'browser/ui/toolbar/toolbar_model_unittest.cc',
2118             'browser/ui/toolbar/wrench_menu_model_unittest.cc',
2119             'browser/ui/webui/ntp/suggestions_combiner_unittest.cc',
2120             'browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc',
2121             'browser/ui/window_sizer/window_sizer_common_unittest.cc',
2122             'browser/ui/window_sizer/window_sizer_unittest.cc',
2123             'test/base/browser_with_test_window_test.cc',
2124             'test/base/browser_with_test_window_test.h',
2125             'test/base/test_browser_window.h',
2127             'browser/sessions/persistent_tab_restore_service_browsertest.cc',
2128             'browser/sessions/session_backend_unittest.cc',
2130             # Test files cannot be opened on Android.
2131             'browser/google_apis/gdata_wapi_operations_unittest.cc',
2132             'browser/google_apis/gdata_wapi_parser_unittest.cc',
2133           ],
2134           'sources/': [
2135             ['exclude', '^browser/captive_portal/'],
2136             ['exclude', '^browser/chrome_to_mobile'],
2137             ['exclude', '^browser/first_run/'],
2138             ['exclude', '^browser/importer/'],
2139             ['exclude', '^browser/lifetime/'],
2140             ['exclude', '^browser/speech/'],
2141             ['exclude', '^browser/sync/glue/app_'],
2142             ['exclude', '^browser/sync/glue/extension_'],
2143             ['exclude', '^browser/themes/'],
2144             ['exclude', '^browser/ui/omnibox/'],
2145             ['exclude', '^browser/ui/panels'],
2146             ['exclude', '^browser/ui/tabs/'],
2147             ['exclude', '^browser/ui/toolbar/'],
2148             ['exclude', '^browser/ui/webui/downloads_'],
2149             ['exclude', '^browser/ui/webui/feedback_'],
2150             ['exclude', '^browser/ui/webui/flags_'],
2151             ['exclude', '^browser/ui/webui/help/'],
2152             ['exclude', '^browser/ui/webui/options/'],
2153             ['exclude', '^browser/ui/webui/options/'],
2154             ['exclude', '^browser/ui/webui/signin/'],
2155             ['exclude', '^browser/ui/webui/suggestions_internals'],
2156             ['exclude', '^browser/ui/webui/sync_promo'],
2157             # No service process on Android.
2158             ['exclude', '^browser/service/'],
2159             ['exclude', '^common/service_'],
2160             ['exclude', '^service/'],
2161           ],
2162           'conditions': [
2163             ['gtest_target_type == "shared_library"', {
2164               'dependencies': [
2165                 '../testing/android/native_test.gyp:native_test_native_code',
2166               ],
2167             }],
2168           ],
2169         }],  # OS == android
2170         ['enable_web_intents==0', {
2171           'sources/': [
2172             ['exclude', '^browser/intents/'],
2173             ['exclude', '^browser/ui/intents/'],
2174           ],
2175           'sources!': [
2176             'browser/webdata/web_data_service_unittest.cc',
2177             'browser/webdata/web_intents_table_unittest.cc',
2178           ],
2179         }],
2180         ['enable_themes==0', {
2181           'sources!': [
2182             'browser/ui/webui/theme_source_unittest.cc',
2183           ],
2184           'sources/': [
2185             ['exclude', '^browser/themes/'],
2186           ],
2187         }],
2188         ['enable_language_detection==0', {
2189           'sources!': [
2190             'browser/language_usage_metrics_unittest.cc',
2191           ],
2192         }],
2193         ['enable_protector_service==0', {
2194           'sources/': [
2195             ['exclude', '^browser/protector/'],
2196           ],
2197         }],
2198         ['toolkit_views==1', {
2199           'dependencies': [
2200             '../ui/views/views.gyp:views',
2201           ],
2202           'sources!': [
2203             'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
2204           ],
2205         }, { # else: toolkit_views == 0
2206           'sources/': [
2207             ['exclude', '^browser/ui/views/'],
2208             ['exclude', '^../ui/views/'],
2209             ['exclude', '^browser/extensions/key_identifier_conversion_views_unittest.cc'],
2210           ],
2211         }],
2212         ['use_nss==0 and use_openssl==0', {
2213           'sources!': [
2214             'common/net/x509_certificate_model_unittest.cc',
2215           ],
2216         }],
2217         ['use_openssl==1', {
2218           'sources/': [
2219             # OpenSSL build does not support firefox importer. See
2220             # http://crbug.com/64926
2221             ['exclude', '^browser/importer/'],
2222           ],
2223         }],
2224         # TODO(joi): Remove from this file once separate
2225         # google_apis_unittests target is established.
2226         ['use_official_google_api_keys==1', {
2227           'defines': ['USE_OFFICIAL_GOOGLE_API_KEYS=1'],
2228         }],
2229       ],
2230       'target_conditions': [
2231         ['OS == "ios"', {
2232           'sources/': [
2233             ['include', '^common/mac/nscoder_util_unittest\\.mm$'],
2234           ],
2235         }],
2236       ],
2237     },
2238     {
2239       'target_name': 'chrome_app_unittests',
2240       'type': 'executable',
2241       'dependencies': [
2242         # unit tests should only depend on
2243         # 1) everything that the chrome binaries depend on:
2244         '<@(chromium_dependencies)',
2245         # 2) test-specific support libraries:
2246         '../testing/gmock.gyp:gmock',
2247         '../testing/gtest.gyp:gtest',
2248         'test_support_common',
2249       ],
2250       'include_dirs': [
2251         '..',
2252       ],
2253       'sources': [
2254         'app/breakpad_field_trial_win.cc',
2255         'app/breakpad_win.cc',
2256         'app/breakpad_unittest_win.cc',
2257         'app/crash_analysis_win.cc',
2258         'app/hard_error_handler_win.cc',
2259         'app/run_all_unittests.cc'
2260       ],
2261       'conditions': [
2262         ['OS=="mac"', {
2263           # TODO(mark): We really want this for all non-static library targets,
2264           # but when we tried to pull it up to the common.gypi level, it broke
2265           # other things like the ui, startup, and page_cycler tests. *shrug*
2266           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2267         }],
2268         ['OS=="win"', {
2269           'dependencies': [
2270             # breakpad is currently only tested on Windows.
2271             '../breakpad/breakpad.gyp:*',
2272           ],
2273           'conditions': [
2274             ['win_use_allocator_shim==1', {
2275               'dependencies': [
2276                 '<(allocator_target)',
2277               ],
2278             }],
2279           ],
2280         }],
2281       ],
2282     },
2283   ],
2284   'conditions': [
2285     # Special target to wrap a gtest_target_type==shared_library
2286     # unit_tests into an android apk for execution.
2287     ['OS == "android" and gtest_target_type == "shared_library"', {
2288       'targets': [
2289         {
2290           'target_name': 'unit_tests_apk',
2291           'type': 'none',
2292           'dependencies': [
2293             'chrome_java',
2294             'unit_tests',
2295           ],
2296           'variables': {
2297             'test_suite_name': 'unit_tests',
2298             'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)unit_tests<(SHARED_LIB_SUFFIX)',
2299           },
2300           'includes': [ '../build/apk_test.gypi' ],
2301         },
2302       ],
2303     }],
2304     ['test_isolation_mode != "noop"', {
2305       'targets': [
2306         {
2307           'target_name': 'unit_tests_run',
2308           'type': 'none',
2309           'dependencies': [
2310             'unit_tests',
2311           ],
2312           'includes': [
2313             '../build/isolate.gypi',
2314             'unit_tests.isolate',
2315           ],
2316           'sources': [
2317             'unit_tests.isolate',
2318           ],
2319         },
2320       ],
2321     }],
2322   ],  # 'conditions'