build: On Android, disable LTO for specific targets only when targeting GCC.
[chromium-blink-merge.git] / chrome / chrome_browser.gypi
blob76582fada8a768a3d0564add705e8ae6c2f425de
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.
6   'variables': {
7     # All .cc, .h, .m, and .mm files under browser except for:
8     # * tests and mocks.
9     # * code below browser/chromeos
10     # * code below browser/extensions
11     # These variables are so the file lists can be shared with the GN build.
12     # There are two sections of sources:
13     # * "Platform"-based sources (OS, toolkit, etc.)
14     # * Feature/directory-based sources (e.g., history, printing)
16     ### Platform-based sources ###
18     # The set of sources used on all platforms but iOS that aren't listed in
19     # more specific variables below.
20     'chrome_browser_non_ios_sources': [
21       'browser/about_flags.cc',
22       'browser/about_flags.h',
23       'browser/after_startup_task_utils.cc',
24       'browser/after_startup_task_utils.h',
25       'browser/after_startup_task_utils_android.cc',
26       'browser/after_startup_task_utils_android.h',
27       'browser/android/accessibility/font_size_prefs_android.cc',
28       'browser/android/accessibility/font_size_prefs_android.h',
29       'browser/android/accessibility_util.cc',
30       'browser/android/accessibility_util.h',
31       'browser/android/activity_type_ids.cc',
32       'browser/android/activity_type_ids.h',
33       'browser/android/appmenu/app_menu_drag_helper.cc',
34       'browser/android/appmenu/app_menu_drag_helper.h',
35       'browser/android/banners/app_banner_data_fetcher_android.cc',
36       'browser/android/banners/app_banner_data_fetcher_android.h',
37       'browser/android/banners/app_banner_infobar_delegate_android.cc',
38       'browser/android/banners/app_banner_infobar_delegate_android.h',
39       'browser/android/banners/app_banner_manager_android.cc',
40       'browser/android/banners/app_banner_manager_android.h',
41       'browser/android/bookmarks/bookmarks_bridge.cc',
42       'browser/android/bookmarks/bookmarks_bridge.h',
43       'browser/android/bookmarks/edit_bookmark_helper.cc',
44       'browser/android/bookmarks/edit_bookmark_helper.h',
45       'browser/android/bookmarks/partner_bookmarks_reader.cc',
46       'browser/android/bookmarks/partner_bookmarks_reader.h',
47       'browser/android/bookmarks/partner_bookmarks_shim.cc',
48       'browser/android/bookmarks/partner_bookmarks_shim.h',
49       'browser/android/bottombar/contextualsearch/contextual_search_panel.cc',
50       'browser/android/bottombar/contextualsearch/contextual_search_panel.h',
51       'browser/android/chrome_application.cc',
52       'browser/android/chrome_application.h',
53       'browser/android/chrome_jni_registrar.cc',
54       'browser/android/chrome_jni_registrar.h',
55       'browser/android/chrome_main_delegate_staging_android.cc',
56       'browser/android/chrome_main_delegate_staging_android.h',
57       'browser/android/chrome_media_client_android.cc',
58       'browser/android/chrome_media_client_android.h',
59       'browser/android/chrome_startup_flags.cc',
60       'browser/android/chrome_startup_flags.h',
61       'browser/android/chrome_web_contents_delegate_android.cc',
62       'browser/android/chrome_web_contents_delegate_android.h',
63       'browser/android/compositor/compositor_view.cc',
64       'browser/android/compositor/compositor_view.h',
65       'browser/android/compositor/decoration_title.cc',
66       'browser/android/compositor/decoration_title.h',
67       'browser/android/compositor/layer/content_layer.cc',
68       'browser/android/compositor/layer/content_layer.h',
69       'browser/android/compositor/layer/contextual_search_layer.cc',
70       'browser/android/compositor/layer/contextual_search_layer.h',
71       'browser/android/compositor/layer/layer.h',
72       'browser/android/compositor/layer/reader_mode_layer.cc',
73       'browser/android/compositor/layer/reader_mode_layer.h',
74       'browser/android/compositor/layer/tab_handle_layer.cc',
75       'browser/android/compositor/layer/tab_handle_layer.h',
76       'browser/android/compositor/layer/tab_layer.cc',
77       'browser/android/compositor/layer/tab_layer.h',
78       'browser/android/compositor/layer/thumbnail_layer.cc',
79       'browser/android/compositor/layer/thumbnail_layer.h',
80       'browser/android/compositor/layer/toolbar_layer.cc',
81       'browser/android/compositor/layer/toolbar_layer.h',
82       'browser/android/compositor/layer_title_cache.cc',
83       'browser/android/compositor/layer_title_cache.h',
84       'browser/android/compositor/scene_layer/contextual_search_scene_layer.cc',
85       'browser/android/compositor/scene_layer/contextual_search_scene_layer.h',
86       'browser/android/compositor/scene_layer/reader_mode_scene_layer.cc',
87       'browser/android/compositor/scene_layer/reader_mode_scene_layer.h',
88       'browser/android/compositor/scene_layer/scene_layer.cc',
89       'browser/android/compositor/scene_layer/scene_layer.h',
90       'browser/android/compositor/scene_layer/static_tab_scene_layer.cc',
91       'browser/android/compositor/scene_layer/static_tab_scene_layer.h',
92       'browser/android/compositor/scene_layer/tab_list_scene_layer.cc',
93       'browser/android/compositor/scene_layer/tab_list_scene_layer.h',
94       'browser/android/compositor/scene_layer/tab_strip_scene_layer.cc',
95       'browser/android/compositor/scene_layer/tab_strip_scene_layer.h',
96       'browser/android/compositor/tab_content_manager.cc',
97       'browser/android/compositor/tab_content_manager.h',
98       'browser/android/contextualsearch/contextual_search_context.cc',
99       'browser/android/contextualsearch/contextual_search_context.h',
100       'browser/android/contextualsearch/contextual_search_delegate.cc',
101       'browser/android/contextualsearch/contextual_search_delegate.h',
102       'browser/android/contextualsearch/contextual_search_manager.cc',
103       'browser/android/contextualsearch/contextual_search_manager.h',
104       'browser/android/contextualsearch/contextual_search_tab_helper.cc',
105       'browser/android/contextualsearch/contextual_search_tab_helper.h',
106       'browser/android/cookies/cookies_fetcher.cc',
107       'browser/android/cookies/cookies_fetcher.h',
108       'browser/android/dev_tools_discovery_provider_android.cc',
109       'browser/android/dev_tools_discovery_provider_android.h',
110       'browser/android/dev_tools_server.cc',
111       'browser/android/dev_tools_server.h',
112       'browser/android/document/document_web_contents_delegate.cc',
113       'browser/android/dom_distiller/external_feedback_reporter_android.cc',
114       'browser/android/dom_distiller/external_feedback_reporter_android.h',
115       'browser/android/download/android_download_manager_overwrite_infobar_delegate.cc',
116       'browser/android/download/android_download_manager_overwrite_infobar_delegate.h',
117       'browser/android/download/chrome_download_delegate.cc',
118       'browser/android/download/chrome_download_delegate.h',
119       'browser/android/download/chrome_download_manager_overwrite_infobar_delegate.cc',
120       'browser/android/download/chrome_download_manager_overwrite_infobar_delegate.h',
121       'browser/android/download/download_overwrite_infobar_delegate.cc',
122       'browser/android/download/download_overwrite_infobar_delegate.h',
123       'browser/android/download/mock_download_controller_android.cc',
124       'browser/android/download/mock_download_controller_android.h',
125       'browser/android/favicon_helper.cc',
126       'browser/android/favicon_helper.h',
127       'browser/android/feature_utilities.cc',
128       'browser/android/feature_utilities.h',
129       'browser/android/feedback/connectivity_checker.cc',
130       'browser/android/feedback/connectivity_checker.h',
131       'browser/android/find_in_page/find_in_page_bridge.cc',
132       'browser/android/find_in_page/find_in_page_bridge.h',
133       'browser/android/foreign_session_helper.cc',
134       'browser/android/foreign_session_helper.h',
135       'browser/android/fullscreen/fullscreen_infobar_delegate.cc',
136       'browser/android/fullscreen/fullscreen_infobar_delegate.h',
137       'browser/android/history_report/data_observer.cc',
138       'browser/android/history_report/data_observer.h',
139       'browser/android/history_report/data_provider.cc',
140       'browser/android/history_report/data_provider.h',
141       'browser/android/history_report/delta_file_backend_leveldb.cc',
142       'browser/android/history_report/delta_file_backend_leveldb.h',
143       'browser/android/history_report/delta_file_commons.cc',
144       'browser/android/history_report/delta_file_commons.h',
145       'browser/android/history_report/delta_file_service.cc',
146       'browser/android/history_report/delta_file_service.h',
147       'browser/android/history_report/get_all_urls_from_history_task.cc',
148       'browser/android/history_report/get_all_urls_from_history_task.h',
149       'browser/android/history_report/historic_visits_migration_task.cc',
150       'browser/android/history_report/historic_visits_migration_task.h',
151       'browser/android/history_report/history_report_jni_bridge.cc',
152       'browser/android/history_report/history_report_jni_bridge.h',
153       'browser/android/history_report/usage_report_util.cc',
154       'browser/android/history_report/usage_report_util.h',
155       'browser/android/history_report/usage_reports_buffer_backend.cc',
156       'browser/android/history_report/usage_reports_buffer_backend.h',
157       'browser/android/history_report/usage_reports_buffer_service.cc',
158       'browser/android/history_report/usage_reports_buffer_service.h',
159       'browser/android/intent_helper.cc',
160       'browser/android/intent_helper.h',
161       'browser/android/intercept_download_resource_throttle.cc',
162       'browser/android/intercept_download_resource_throttle.h',
163       'browser/android/java_exception_reporter.cc',
164       'browser/android/java_exception_reporter.h',
165       'browser/android/large_icon_bridge.cc',
166       'browser/android/large_icon_bridge.h',
167       'browser/android/location_settings.h',
168       'browser/android/location_settings_impl.cc',
169       'browser/android/location_settings_impl.h',
170       'browser/android/logo_bridge.cc',
171       'browser/android/logo_bridge.h',
172       'browser/android/logo_service.cc',
173       'browser/android/logo_service.h',
174       'browser/android/metrics/launch_metrics.cc',
175       'browser/android/metrics/launch_metrics.h',
176       'browser/android/metrics/uma_session_stats.cc',
177       'browser/android/metrics/uma_session_stats.h',
178       'browser/android/metrics/uma_utils.cc',
179       'browser/android/metrics/uma_utils.h',
180       'browser/android/metrics/variations_session.cc',
181       'browser/android/metrics/variations_session.h',
182       'browser/android/most_visited_sites.cc',
183       'browser/android/most_visited_sites.h',
184       'browser/android/net/external_estimate_provider_android.cc',
185       'browser/android/net/external_estimate_provider_android.h',
186       'browser/android/new_tab_page_prefs.cc',
187       'browser/android/new_tab_page_prefs.h',
188       'browser/android/new_tab_page_url_handler.cc',
189       'browser/android/new_tab_page_url_handler.h',
190       'browser/android/omnibox/answers_image_bridge.cc',
191       'browser/android/omnibox/answers_image_bridge.h',
192       'browser/android/omnibox/autocomplete_controller_android.cc',
193       'browser/android/omnibox/autocomplete_controller_android.h',
194       'browser/android/omnibox/omnibox_prerender.cc',
195       'browser/android/omnibox/omnibox_prerender.h',
196       'browser/android/password_ui_view_android.cc',
197       'browser/android/password_ui_view_android.h',
198       'browser/android/popular_sites.cc',
199       'browser/android/popular_sites.h',
200       'browser/android/precache/precache_launcher.cc',
201       'browser/android/precache/precache_launcher.h',
202       'browser/android/preferences/autofill/autofill_profile_bridge.cc',
203       'browser/android/preferences/autofill/autofill_profile_bridge.h',
204       'browser/android/preferences/pref_service_bridge.cc',
205       'browser/android/preferences/pref_service_bridge.h',
206       'browser/android/preferences/website_preference_bridge.cc',
207       'browser/android/preferences/website_preference_bridge.h',
208       'browser/android/profiles/profile_downloader_android.cc',
209       'browser/android/profiles/profile_downloader_android.h',
210       'browser/android/provider/blocking_ui_thread_async_request.cc',
211       'browser/android/provider/blocking_ui_thread_async_request.h',
212       'browser/android/provider/bookmark_model_observer_task.cc',
213       'browser/android/provider/bookmark_model_observer_task.h',
214       'browser/android/provider/chrome_browser_provider.cc',
215       'browser/android/provider/chrome_browser_provider.h',
216       'browser/android/provider/run_on_ui_thread_blocking.h',
217       'browser/android/rappor/rappor_service_bridge.cc',
218       'browser/android/rappor/rappor_service_bridge.h',
219       'browser/android/recently_closed_tabs_bridge.cc',
220       'browser/android/recently_closed_tabs_bridge.h',
221       'browser/android/resource_id.h',
222       'browser/android/resource_mapper.cc',
223       'browser/android/resource_mapper.h',
224       'browser/android/rlz/revenue_stats.cc',
225       'browser/android/rlz/revenue_stats.h',
226       'browser/android/seccomp_support_detector.cc',
227       'browser/android/seccomp_support_detector.h',
228       'browser/android/shortcut_helper.cc',
229       'browser/android/shortcut_helper.h',
230       'browser/android/shortcut_info.cc',
231       'browser/android/shortcut_info.h',
232       'browser/android/signin/account_management_screen_helper.cc',
233       'browser/android/signin/account_management_screen_helper.h',
234       'browser/android/signin/signin_manager_android.cc',
235       'browser/android/signin/signin_manager_android.h',
236       'browser/android/tab/thumbnail_tab_helper_android.cc',
237       'browser/android/tab/thumbnail_tab_helper_android.h',
238       'browser/android/tab_android.cc',
239       'browser/android/tab_android.h',
240       'browser/android/tab_state.cc',
241       'browser/android/tab_state.h',
242       'browser/android/thumbnail/thumbnail.cc',
243       'browser/android/thumbnail/thumbnail.h',
244       'browser/android/thumbnail/thumbnail_cache.cc',
245       'browser/android/thumbnail/thumbnail_cache.h',
246       'browser/android/url_utilities.cc',
247       'browser/android/url_utilities.h',
248       'browser/android/voice_search_tab_helper.cc',
249       'browser/android/voice_search_tab_helper.h',
250       'browser/android/warmup_manager.cc',
251       'browser/android/warmup_manager.h',
252       'browser/android/web_contents_factory.cc',
253       'browser/android/web_contents_factory.h',
254       'browser/android/webapps/add_to_homescreen_data_fetcher.cc',
255       'browser/android/webapps/add_to_homescreen_data_fetcher.h',
256       'browser/android/webapps/add_to_homescreen_dialog_helper.cc',
257       'browser/android/webapps/add_to_homescreen_dialog_helper.h',
258       'browser/android/webapps/single_tab_mode_tab_helper.cc',
259       'browser/android/webapps/single_tab_mode_tab_helper.h',
260       'browser/app_controller_mac.h',
261       'browser/app_controller_mac.mm',
262       'browser/app_icon_win.cc',
263       'browser/app_icon_win.h',
264       'browser/app_mode/app_mode_utils.cc',
265       'browser/app_mode/app_mode_utils.h',
266       'browser/autofill/android/personal_data_manager_android.cc',
267       'browser/autofill/android/personal_data_manager_android.h',
268       'browser/autofill/options_util.cc',
269       'browser/autofill/options_util.h',
270       'browser/autofill/personal_data_manager_factory.cc',
271       'browser/autofill/personal_data_manager_factory.h',
272       'browser/autofill/risk_util.cc',
273       'browser/autofill/risk_util.h',
274       'browser/autofill/validation_rules_storage_factory.cc',
275       'browser/autofill/validation_rules_storage_factory.h',
276       'browser/bad_message.cc',
277       'browser/bad_message.h',
278       'browser/banners/app_banner_data_fetcher.cc',
279       'browser/banners/app_banner_data_fetcher.h',
280       'browser/banners/app_banner_debug_log.cc',
281       'browser/banners/app_banner_debug_log.h',
282       'browser/banners/app_banner_manager.cc',
283       'browser/banners/app_banner_manager.h',
284       'browser/banners/app_banner_metrics.cc',
285       'browser/banners/app_banner_metrics.h',
286       'browser/banners/app_banner_settings_helper.cc',
287       'browser/banners/app_banner_settings_helper.h',
288       'browser/bitmap_fetcher/bitmap_fetcher.cc',
289       'browser/bitmap_fetcher/bitmap_fetcher.h',
290       'browser/bitmap_fetcher/bitmap_fetcher_delegate.h',
291       'browser/bitmap_fetcher/bitmap_fetcher_service.cc',
292       'browser/bitmap_fetcher/bitmap_fetcher_service.h',
293       'browser/bitmap_fetcher/bitmap_fetcher_service_factory.cc',
294       'browser/bitmap_fetcher/bitmap_fetcher_service_factory.h',
295       'browser/browser_about_handler.cc',
296       'browser/browser_about_handler.h',
297       'browser/browser_shutdown.cc',
298       'browser/browser_shutdown.h',
299       'browser/browser_util_win.cc',
300       'browser/browser_util_win.h',
301       'browser/browsing_data/browsing_data_appcache_helper.cc',
302       'browser/browsing_data/browsing_data_appcache_helper.h',
303       'browser/browsing_data/browsing_data_cache_storage_helper.cc',
304       'browser/browsing_data/browsing_data_cache_storage_helper.h',
305       'browser/browsing_data/browsing_data_channel_id_helper.cc',
306       'browser/browsing_data/browsing_data_channel_id_helper.h',
307       'browser/browsing_data/browsing_data_cookie_helper.cc',
308       'browser/browsing_data/browsing_data_cookie_helper.h',
309       'browser/browsing_data/browsing_data_counter.cc',
310       'browser/browsing_data/browsing_data_counter.h',
311       'browser/browsing_data/browsing_data_database_helper.cc',
312       'browser/browsing_data/browsing_data_database_helper.h',
313       'browser/browsing_data/browsing_data_file_system_helper.cc',
314       'browser/browsing_data/browsing_data_file_system_helper.h',
315       'browser/browsing_data/browsing_data_helper.cc',
316       'browser/browsing_data/browsing_data_helper.h',
317       'browser/browsing_data/browsing_data_indexed_db_helper.cc',
318       'browser/browsing_data/browsing_data_indexed_db_helper.h',
319       'browser/browsing_data/browsing_data_local_storage_helper.cc',
320       'browser/browsing_data/browsing_data_local_storage_helper.h',
321       'browser/browsing_data/browsing_data_quota_helper.cc',
322       'browser/browsing_data/browsing_data_quota_helper.h',
323       'browser/browsing_data/browsing_data_quota_helper_impl.cc',
324       'browser/browsing_data/browsing_data_quota_helper_impl.h',
325       'browser/browsing_data/browsing_data_remover.cc',
326       'browser/browsing_data/browsing_data_remover.h',
327       'browser/browsing_data/browsing_data_service_worker_helper.cc',
328       'browser/browsing_data/browsing_data_service_worker_helper.h',
329       'browser/browsing_data/canonical_cookie_hash.cc',
330       'browser/browsing_data/canonical_cookie_hash.h',
331       'browser/browsing_data/cookies_tree_model.cc',
332       'browser/browsing_data/cookies_tree_model.h',
333       'browser/browsing_data/local_data_container.cc',
334       'browser/browsing_data/local_data_container.h',
335       'browser/browsing_data/passwords_counter.cc',
336       'browser/browsing_data/passwords_counter.h',
337       'browser/character_encoding.cc',
338       'browser/character_encoding.h',
339       'browser/chrome_browser_application_mac.h',
340       'browser/chrome_browser_application_mac.mm',
341       'browser/chrome_browser_field_trials.cc',
342       'browser/chrome_browser_field_trials.h',
343       'browser/chrome_browser_main.cc',
344       'browser/chrome_browser_main.h',
345       'browser/chrome_browser_main_android.cc',
346       'browser/chrome_browser_main_android.h',
347       'browser/chrome_browser_main_extra_parts.h',
348       'browser/chrome_browser_main_linux.cc',
349       'browser/chrome_browser_main_linux.h',
350       'browser/chrome_browser_main_mac.h',
351       'browser/chrome_browser_main_mac.mm',
352       'browser/chrome_browser_main_win.cc',
353       'browser/chrome_browser_main_win.h',
354       'browser/chrome_child_process_watcher.cc',
355       'browser/chrome_child_process_watcher.h',
356       'browser/chrome_content_browser_client.cc',
357       'browser/chrome_content_browser_client.h',
358       'browser/chrome_content_browser_client_parts.h',
359       'browser/chrome_elf_init_win.cc',
360       'browser/chrome_elf_init_win.h',
361       'browser/chrome_net_benchmarking_message_filter.cc',
362       'browser/chrome_net_benchmarking_message_filter.h',
363       'browser/chrome_notification_types.h',
364       'browser/chrome_quota_permission_context.cc',
365       'browser/chrome_quota_permission_context.h',
366       'browser/chrome_select_file_dialog_factory_win.cc',
367       'browser/chrome_select_file_dialog_factory_win.h',
368       'browser/command_observer.h',
369       'browser/command_updater.cc',
370       'browser/command_updater.h',
371       'browser/command_updater_delegate.h',
372       'browser/component_updater/caps_installer_win.cc',
373       'browser/component_updater/caps_installer_win.h',
374       'browser/component_updater/chrome_component_updater_configurator.cc',
375       'browser/component_updater/chrome_component_updater_configurator.h',
376       'browser/component_updater/cld_component_installer.cc',
377       'browser/component_updater/cld_component_installer.h',
378       'browser/component_updater/component_patcher_operation_out_of_process.cc',
379       'browser/component_updater/component_patcher_operation_out_of_process.h',
380       'browser/component_updater/component_updater_resource_throttle.cc',
381       'browser/component_updater/component_updater_resource_throttle.h',
382       'browser/component_updater/ev_whitelist_component_installer.cc',
383       'browser/component_updater/ev_whitelist_component_installer.h',
384       'browser/component_updater/pnacl_component_installer.cc',
385       'browser/component_updater/pnacl_component_installer.h',
386       'browser/component_updater/recovery_component_installer.cc',
387       'browser/component_updater/recovery_component_installer.h',
388       'browser/component_updater/supervised_user_whitelist_installer.cc',
389       'browser/component_updater/supervised_user_whitelist_installer.h',
390       'browser/component_updater/sw_reporter_installer_win.cc',
391       'browser/component_updater/sw_reporter_installer_win.h',
392       'browser/component_updater/swiftshader_component_installer.cc',
393       'browser/component_updater/swiftshader_component_installer.h',
394       'browser/crash_upload_list.cc',
395       'browser/crash_upload_list.h',
396       'browser/crash_upload_list_mac.cc',
397       'browser/crash_upload_list_mac.h',
398       'browser/crash_upload_list_win.cc',
399       'browser/crash_upload_list_win.h',
400       'browser/custom_handlers/protocol_handler_registry.cc',
401       'browser/custom_handlers/protocol_handler_registry.h',
402       'browser/custom_handlers/protocol_handler_registry_factory.cc',
403       'browser/custom_handlers/protocol_handler_registry_factory.h',
404       'browser/custom_handlers/register_protocol_handler_infobar_delegate.cc',
405       'browser/custom_handlers/register_protocol_handler_infobar_delegate.h',
406       'browser/custom_handlers/register_protocol_handler_permission_request.cc',
407       'browser/custom_handlers/register_protocol_handler_permission_request.h',
408       'browser/defaults.cc',
409       'browser/defaults.h',
410       'browser/dom_distiller/dom_distiller_service_factory.cc',
411       'browser/dom_distiller/dom_distiller_service_factory.h',
412       'browser/dom_distiller/dom_distiller_service_factory_android.cc',
413       'browser/dom_distiller/dom_distiller_service_factory_android.h',
414       'browser/dom_distiller/lazy_dom_distiller_service.cc',
415       'browser/dom_distiller/lazy_dom_distiller_service.h',
416       'browser/dom_distiller/profile_utils.cc',
417       'browser/dom_distiller/profile_utils.h',
418       'browser/dom_distiller/tab_utils.cc',
419       'browser/dom_distiller/tab_utils.h',
420       'browser/dom_distiller/tab_utils_android.cc',
421       'browser/dom_distiller/tab_utils_android.h',
422       'browser/domain_reliability/service_factory.cc',
423       'browser/domain_reliability/service_factory.h',
424       'browser/download/all_download_item_notifier.cc',
425       'browser/download/all_download_item_notifier.h',
426       'browser/download/chrome_download_manager_delegate.cc',
427       'browser/download/chrome_download_manager_delegate.h',
428       'browser/download/download_crx_util_android.cc',
429       'browser/download/download_extensions.cc',
430       'browser/download/download_extensions.h',
431       'browser/download/download_file_picker.cc',
432       'browser/download/download_file_picker.h',
433       'browser/download/download_history.cc',
434       'browser/download/download_history.h',
435       'browser/download/download_item_model.cc',
436       'browser/download/download_item_model.h',
437       'browser/download/download_path_reservation_tracker.cc',
438       'browser/download/download_path_reservation_tracker.h',
439       'browser/download/download_permission_request.cc',
440       'browser/download/download_permission_request.h',
441       'browser/download/download_prefs.cc',
442       'browser/download/download_prefs.h',
443       'browser/download/download_query.cc',
444       'browser/download/download_query.h',
445       'browser/download/download_request_infobar_delegate.cc',
446       'browser/download/download_request_infobar_delegate.h',
447       'browser/download/download_request_limiter.cc',
448       'browser/download/download_request_limiter.h',
449       'browser/download/download_resource_throttle.cc',
450       'browser/download/download_resource_throttle.h',
451       'browser/download/download_service.cc',
452       'browser/download/download_service.h',
453       'browser/download/download_service_factory.cc',
454       'browser/download/download_service_factory.h',
455       'browser/download/download_service_impl.cc',
456       'browser/download/download_service_impl.h',
457       'browser/download/download_started_animation.h',
458       'browser/download/download_stats.cc',
459       'browser/download/download_stats.h',
460       'browser/download/download_status_updater.cc',
461       'browser/download/download_status_updater.h',
462       'browser/download/download_status_updater_mac.mm',
463       'browser/download/download_status_updater_win.cc',
464       'browser/download/download_target_determiner.cc',
465       'browser/download/download_target_determiner.h',
466       'browser/download/download_target_determiner_delegate.h',
467       'browser/download/download_target_info.h',
468       'browser/download/download_ui_controller.cc',
469       'browser/download/download_ui_controller.h',
470       'browser/download/drag_download_item.h',
471       'browser/download/save_package_file_picker.cc',
472       'browser/download/save_package_file_picker.h',
473       'browser/enumerate_modules_model_win.cc',
474       'browser/enumerate_modules_model_win.h',
475       # Oh hey, all the cool browser/extensions files are hanging out in
476       # chrome/chrome_browser_extensions.gypi.
477       'browser/external_protocol/external_protocol_handler.cc',
478       'browser/external_protocol/external_protocol_handler.h',
479       'browser/external_protocol/external_protocol_observer.cc',
480       'browser/external_protocol/external_protocol_observer.h',
481       'browser/file_select_helper.cc',
482       'browser/file_select_helper.h',
483       'browser/file_select_helper_mac.mm',
484       'browser/flags_storage.h',
485       'browser/fullscreen.h',
486       'browser/fullscreen_chromeos.cc',
487       'browser/fullscreen_mac.mm',
488       'browser/fullscreen_win.cc',
489       'browser/geolocation/chrome_access_token_store.cc',
490       'browser/geolocation/chrome_access_token_store.h',
491       'browser/geolocation/geolocation_infobar_delegate.cc',
492       'browser/geolocation/geolocation_infobar_delegate.h',
493       'browser/geolocation/geolocation_permission_context.cc',
494       'browser/geolocation/geolocation_permission_context.h',
495       'browser/geolocation/geolocation_permission_context_android.cc',
496       'browser/geolocation/geolocation_permission_context_android.h',
497       'browser/geolocation/geolocation_permission_context_extensions.cc',
498       'browser/geolocation/geolocation_permission_context_extensions.h',
499       'browser/geolocation/geolocation_permission_context_factory.cc',
500       'browser/geolocation/geolocation_permission_context_factory.h',
501       'browser/geolocation/geolocation_prefs.cc',
502       'browser/geolocation/geolocation_prefs.h',
503       'browser/global_keyboard_shortcuts_mac.h',
504       'browser/global_keyboard_shortcuts_mac.mm',
505       'browser/gpu/gl_string_manager.cc',
506       'browser/gpu/gl_string_manager.h',
507       'browser/gpu/gpu_feature_checker.cc',
508       'browser/gpu/gpu_feature_checker.h',
509       'browser/gpu/gpu_mode_manager.cc',
510       'browser/gpu/gpu_mode_manager.h',
511       'browser/gpu/three_d_api_observer.cc',
512       'browser/gpu/three_d_api_observer.h',
513       'browser/icon_loader.cc',
514       'browser/icon_loader.h',
515       'browser/icon_loader_android.cc',
516       'browser/icon_loader_chromeos.cc',
517       'browser/icon_loader_mac.mm',
518       'browser/icon_loader_win.cc',
519       'browser/icon_manager.cc',
520       'browser/icon_manager.h',
521       'browser/image_decoder.cc',
522       'browser/image_decoder.h',
523       'browser/image_holder.cc',
524       'browser/image_holder.h',
525       'browser/infobars/infobar_responder.cc',
526       'browser/infobars/infobar_responder.h',
527       'browser/infobars/infobar_service.cc',
528       'browser/infobars/infobar_service.h',
529       'browser/infobars/insecure_content_infobar_delegate.cc',
530       'browser/infobars/insecure_content_infobar_delegate.h',
531       'browser/install_verification/win/imported_module_verification.cc',
532       'browser/install_verification/win/imported_module_verification.h',
533       'browser/install_verification/win/install_verification.cc',
534       'browser/install_verification/win/install_verification.h',
535       'browser/install_verification/win/loaded_module_verification.cc',
536       'browser/install_verification/win/loaded_module_verification.h',
537       'browser/install_verification/win/loaded_modules_snapshot.cc',
538       'browser/install_verification/win/loaded_modules_snapshot.h',
539       'browser/install_verification/win/module_ids.cc',
540       'browser/install_verification/win/module_ids.h',
541       'browser/install_verification/win/module_info.h',
542       'browser/install_verification/win/module_list.cc',
543       'browser/install_verification/win/module_list.h',
544       'browser/install_verification/win/module_verification_common.cc',
545       'browser/install_verification/win/module_verification_common.h',
546       'browser/internal_auth.cc',
547       'browser/internal_auth.h',
548       'browser/interstitials/chrome_metrics_helper.cc',
549       'browser/interstitials/chrome_metrics_helper.h',
550       'browser/interstitials/security_interstitial_page.cc',
551       'browser/interstitials/security_interstitial_page.h',
552       'browser/intranet_redirect_detector.cc',
553       'browser/intranet_redirect_detector.h',
554       'browser/invalidation/invalidation_service_factory_android.cc',
555       'browser/invalidation/invalidation_service_factory_android.h',
556       'browser/invalidation/profile_invalidation_provider_factory.cc',
557       'browser/invalidation/profile_invalidation_provider_factory.h',
558       'browser/io_thread.cc',
559       'browser/io_thread.h',
560       'browser/jumplist_updater_win.cc',
561       'browser/jumplist_updater_win.h',
562       'browser/jumplist_win.cc',
563       'browser/jumplist_win.h',
564       'browser/lifetime/application_lifetime.cc',
565       'browser/lifetime/application_lifetime.h',
566       'browser/lifetime/application_lifetime_android.cc',
567       'browser/lifetime/application_lifetime_android.h',
568       'browser/lifetime/application_lifetime_mac.mm',
569       'browser/lifetime/application_lifetime_win.cc',
570       'browser/mac/bluetooth_utility.h',
571       'browser/mac/bluetooth_utility.mm',
572       'browser/mac/dock.h',
573       'browser/mac/dock.mm',
574       'browser/mac/install_from_dmg.h',
575       'browser/mac/install_from_dmg.mm',
576       'browser/mac/keystone_glue.h',
577       'browser/mac/keystone_glue.mm',
578       'browser/mac/keystone_registration.h',
579       'browser/mac/keystone_registration.mm',
580       'browser/mac/mac_startup_profiler.cc',
581       'browser/mac/mac_startup_profiler.h',
582       'browser/mac/master_prefs.h',
583       'browser/mac/master_prefs.mm',
584       'browser/mac/obsolete_system.cc',
585       'browser/mac/obsolete_system.h',
586       'browser/mac/relauncher.cc',
587       'browser/mac/relauncher.h',
588       'browser/mac/security_wrappers.cc',
589       'browser/mac/security_wrappers.h',
590       'browser/manifest/manifest_icon_downloader.cc',
591       'browser/manifest/manifest_icon_downloader.h',
592       'browser/manifest/manifest_icon_selector.cc',
593       'browser/manifest/manifest_icon_selector.h',
594       'browser/media/android/remote/record_cast_action.cc',
595       'browser/media/android/remote/record_cast_action.h',
596       'browser/media/android/remote/remote_media_player_bridge.cc',
597       'browser/media/android/remote/remote_media_player_bridge.h',
598       'browser/media/android/remote/remote_media_player_manager.cc',
599       'browser/media/android/remote/remote_media_player_manager.h',
600       'browser/media/android/router/media_router_android.cc',
601       'browser/media/android/router/media_router_android.h',
602       'browser/media/android/router/media_router_dialog_controller_android.cc',
603       'browser/media/android/router/media_router_dialog_controller_android.h',
604       'browser/media/desktop_media_list.h',
605       'browser/media/desktop_media_picker.h',
606       'browser/media/desktop_streams_registry.cc',
607       'browser/media/desktop_streams_registry.h',
608       'browser/media/media_access_handler.h',
609       'browser/media/media_capture_devices_dispatcher.cc',
610       'browser/media/media_capture_devices_dispatcher.h',
611       'browser/media/media_device_id_salt.cc',
612       'browser/media/media_device_id_salt.h',
613       'browser/media/media_permission.cc',
614       'browser/media/media_permission.h',
615       'browser/media/media_stream_capture_indicator.cc',
616       'browser/media/media_stream_capture_indicator.h',
617       'browser/media/media_stream_device_permissions.cc',
618       'browser/media/media_stream_device_permissions.h',
619       'browser/media/media_stream_devices_controller.cc',
620       'browser/media/media_stream_devices_controller.h',
621       'browser/media/media_stream_infobar_delegate.cc',
622       'browser/media/media_stream_infobar_delegate.h',
623       'browser/media/media_url_constants.cc',
624       'browser/media/media_url_constants.h',
625       'browser/media/midi_permission_context.cc',
626       'browser/media/midi_permission_context.h',
627       'browser/media/midi_permission_context_factory.cc',
628       'browser/media/midi_permission_context_factory.h',
629       'browser/media/midi_permission_infobar_delegate.cc',
630       'browser/media/midi_permission_infobar_delegate.h',
631       'browser/media/native_desktop_media_list.cc',
632       'browser/media/native_desktop_media_list.h',
633       'browser/media/permission_bubble_media_access_handler.cc',
634       'browser/media/permission_bubble_media_access_handler.h',
635       # TODO(brettw) should this go with the webrtc sources?
636       'browser/media/webrtc_log_list.cc',
637       'browser/media/webrtc_log_list.h',
638       'browser/memory/oom_memory_details.cc',
639       'browser/memory/oom_memory_details.h',
640       'browser/memory/oom_priority_manager.cc',
641       'browser/memory/oom_priority_manager.h',
642       'browser/memory/oom_priority_manager_delegate_chromeos.cc',
643       'browser/memory/oom_priority_manager_delegate_chromeos.h',
644       'browser/memory/system_memory_stats_recorder.h',
645       'browser/memory/system_memory_stats_recorder_linux.cc',
646       'browser/memory/system_memory_stats_recorder_win.cc',
647       'browser/memory/tab_stats.cc',
648       'browser/memory/tab_stats.h',
649       'browser/memory_details.cc',
650       'browser/memory_details.h',
651       'browser/memory_details_android.cc',
652       'browser/memory_details_linux.cc',
653       'browser/memory_details_mac.cc',
654       'browser/memory_details_win.cc',
655       'browser/mod_pagespeed/mod_pagespeed_metrics.cc',
656       'browser/mod_pagespeed/mod_pagespeed_metrics.h',
657       'browser/native_window_notification_source.h',
658       'browser/net/predictor_tab_helper.cc',
659       'browser/net/predictor_tab_helper.h',
660       'browser/performance_monitor/performance_monitor.cc',
661       'browser/performance_monitor/performance_monitor.h',
662       'browser/performance_monitor/process_metrics_history.cc',
663       'browser/performance_monitor/process_metrics_history.h',
664       'browser/platform_util.h',
665       'browser/platform_util_android.cc',
666       'browser/platform_util_chromeos.cc',
667       'browser/platform_util_internal.h',
668       'browser/platform_util_mac.mm',
669       'browser/platform_util_win.cc',
670       'browser/pref_service_flags_storage.cc',
671       'browser/pref_service_flags_storage.h',
672       'browser/prefetch/prefetch.cc',
673       'browser/prefetch/prefetch.h',
674       'browser/prefetch/prefetch_field_trial.cc',
675       'browser/prefetch/prefetch_field_trial.h',
676       'browser/prerender/external_prerender_handler_android.cc',
677       'browser/prerender/external_prerender_handler_android.h',
678       'browser/prerender/prerender_config.cc',
679       'browser/prerender/prerender_config.h',
680       'browser/prerender/prerender_contents.cc',
681       'browser/prerender/prerender_contents.h',
682       'browser/prerender/prerender_field_trial.cc',
683       'browser/prerender/prerender_field_trial.h',
684       'browser/prerender/prerender_final_status.cc',
685       'browser/prerender/prerender_final_status.h',
686       'browser/prerender/prerender_handle.cc',
687       'browser/prerender/prerender_handle.h',
688       'browser/prerender/prerender_histograms.cc',
689       'browser/prerender/prerender_histograms.h',
690       'browser/prerender/prerender_history.cc',
691       'browser/prerender/prerender_history.h',
692       'browser/prerender/prerender_link_manager.cc',
693       'browser/prerender/prerender_link_manager.h',
694       'browser/prerender/prerender_link_manager_factory.cc',
695       'browser/prerender/prerender_link_manager_factory.h',
696       'browser/prerender/prerender_manager.cc',
697       'browser/prerender/prerender_manager.h',
698       'browser/prerender/prerender_manager_factory.cc',
699       'browser/prerender/prerender_manager_factory.h',
700       'browser/prerender/prerender_message_filter.cc',
701       'browser/prerender/prerender_message_filter.h',
702       'browser/prerender/prerender_origin.cc',
703       'browser/prerender/prerender_origin.h',
704       'browser/prerender/prerender_resource_throttle.cc',
705       'browser/prerender/prerender_resource_throttle.h',
706       'browser/prerender/prerender_tab_helper.cc',
707       'browser/prerender/prerender_tab_helper.h',
708       'browser/prerender/prerender_util.cc',
709       'browser/prerender/prerender_util.h',
710       'browser/private_working_set_snapshot.h',
711       'browser/private_working_set_snapshot_win.cc',
712       'browser/process_info_snapshot.h',
713       'browser/process_info_snapshot_mac.cc',
714       'browser/process_resource_usage.cc',
715       'browser/process_resource_usage.h',
716       'browser/process_singleton.h',
717       'browser/process_singleton_win.cc',
718       'browser/push_messaging/push_messaging_app_identifier.cc',
719       'browser/push_messaging/push_messaging_app_identifier.h',
720       'browser/push_messaging/push_messaging_constants.cc',
721       'browser/push_messaging/push_messaging_constants.h',
722       'browser/push_messaging/push_messaging_permission_context.cc',
723       'browser/push_messaging/push_messaging_permission_context.h',
724       'browser/push_messaging/push_messaging_permission_context_factory.cc',
725       'browser/push_messaging/push_messaging_permission_context_factory.h',
726       'browser/push_messaging/push_messaging_service_factory.cc',
727       'browser/push_messaging/push_messaging_service_factory.h',
728       'browser/push_messaging/push_messaging_service_impl.cc',
729       'browser/push_messaging/push_messaging_service_impl.h',
730       'browser/renderer_context_menu/context_menu_content_type_factory.cc',
731       'browser/renderer_context_menu/context_menu_content_type_factory.h',
732       'browser/renderer_context_menu/context_menu_content_type_panel.cc',
733       'browser/renderer_context_menu/context_menu_content_type_panel.h',
734       'browser/renderer_context_menu/spellchecker_submenu_observer.h',
735       'browser/renderer_context_menu/spellchecker_submenu_observer_mac.cc',
736       'browser/renderer_host/chrome_render_message_filter.cc',
737       'browser/renderer_host/chrome_render_message_filter.h',
738       'browser/renderer_host/chrome_render_widget_host_view_mac_delegate.h',
739       'browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm',
740       'browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h',
741       'browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm',
742       'browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc',
743       'browser/renderer_host/chrome_resource_dispatcher_host_delegate.h',
744       'browser/renderer_preferences_util.cc',
745       'browser/renderer_preferences_util.h',
746       'browser/resources_util.cc',
747       'browser/resources_util.h',
748       'browser/safe_browsing/safe_browsing_tab_observer.cc',
749       'browser/safe_browsing/safe_browsing_tab_observer.h',
750       'browser/safe_browsing/srt_fetcher_win.cc',
751       'browser/safe_browsing/srt_fetcher_win.h',
752       'browser/safe_browsing/srt_field_trial_win.cc',
753       'browser/safe_browsing/srt_field_trial_win.h',
754       'browser/safe_browsing/srt_global_error_win.cc',
755       'browser/safe_browsing/srt_global_error_win.h',
756       'browser/search/contextual_search_policy_handler_android.cc',
757       'browser/search/contextual_search_policy_handler_android.h',
758       'browser/search/iframe_source.cc',
759       'browser/search/iframe_source.h',
760       'browser/search/instant_io_context.cc',
761       'browser/search/instant_io_context.h',
762       'browser/search/instant_service.cc',
763       'browser/search/instant_service.h',
764       'browser/search/instant_service_factory.cc',
765       'browser/search/instant_service_factory.h',
766       'browser/search/instant_service_observer.cc',
767       'browser/search/instant_service_observer.h',
768       'browser/search/most_visited_iframe_source.cc',
769       'browser/search/most_visited_iframe_source.h',
770       'browser/search/search.cc',
771       'browser/search/search.h',
772       'browser/search/suggestions/image_fetcher_impl.cc',
773       'browser/search/suggestions/image_fetcher_impl.h',
774       'browser/search/suggestions/suggestions_service_factory.cc',
775       'browser/search/suggestions/suggestions_service_factory.h',
776       'browser/search/suggestions/suggestions_source.cc',
777       'browser/search/suggestions/suggestions_source.h',
778       'browser/search/thumbnail_source.cc',
779       'browser/search/thumbnail_source.h',
780       'browser/shell_integration.cc',
781       'browser/shell_integration.h',
782       'browser/shell_integration_android.cc',
783       'browser/shell_integration_chromeos.cc',
784       'browser/shell_integration_mac.mm',
785       'browser/shell_integration_win.cc',
786       'browser/site_details.cc',
787       'browser/site_details.h',
788       'browser/speech/chrome_speech_recognition_manager_delegate.cc',
789       'browser/speech/chrome_speech_recognition_manager_delegate.h',
790       'browser/speech/tts_android.cc',
791       'browser/speech/tts_android.h',
792       'browser/speech/tts_chromeos.cc',
793       'browser/speech/tts_controller.h',
794       'browser/speech/tts_controller_impl.cc',
795       'browser/speech/tts_controller_impl.h',
796       'browser/speech/tts_mac.mm',
797       'browser/speech/tts_message_filter.cc',
798       'browser/speech/tts_message_filter.h',
799       'browser/speech/tts_platform.cc',
800       'browser/speech/tts_platform.h',
801       'browser/speech/tts_win.cc',
802       'browser/status_icons/status_icon.cc',
803       'browser/status_icons/status_icon.h',
804       'browser/status_icons/status_icon_menu_model.cc',
805       'browser/status_icons/status_icon_menu_model.h',
806       'browser/status_icons/status_icon_observer.h',
807       'browser/status_icons/status_tray.cc',
808       'browser/status_icons/status_tray.h',
809       'browser/storage/durable_storage_permission_context.cc',
810       'browser/storage/durable_storage_permission_context.h',
811       'browser/storage/durable_storage_permission_context_factory.cc',
812       'browser/storage/durable_storage_permission_context_factory.h',
813       'browser/storage/durable_storage_permission_infobar_delegate.cc',
814       'browser/storage/durable_storage_permission_infobar_delegate.h',
815       'browser/tab_contents/navigation_metrics_recorder.cc',
816       'browser/tab_contents/navigation_metrics_recorder.h',
817       'browser/tab_contents/retargeting_details.h',
818       'browser/tab_contents/tab_util.cc',
819       'browser/tab_contents/tab_util.h',
820       'browser/task_management/web_contents_tags.cc',
821       'browser/task_management/web_contents_tags.h',
822       'browser/task_profiler/task_profiler_data_serializer.cc',
823       'browser/task_profiler/task_profiler_data_serializer.h',
824       'browser/thumbnails/content_analysis.cc',
825       'browser/thumbnails/content_analysis.h',
826       'browser/thumbnails/content_based_thumbnailing_algorithm.cc',
827       'browser/thumbnails/content_based_thumbnailing_algorithm.h',
828       'browser/thumbnails/simple_thumbnail_crop.cc',
829       'browser/thumbnails/simple_thumbnail_crop.h',
830       'browser/thumbnails/thumbnail_list_source.cc',
831       'browser/thumbnails/thumbnail_list_source.h',
832       'browser/thumbnails/thumbnail_service.h',
833       'browser/thumbnails/thumbnail_service_factory.cc',
834       'browser/thumbnails/thumbnail_service_factory.h',
835       'browser/thumbnails/thumbnail_service_impl.cc',
836       'browser/thumbnails/thumbnail_service_impl.h',
837       'browser/thumbnails/thumbnail_tab_helper.cc',
838       'browser/thumbnails/thumbnail_tab_helper.h',
839       'browser/thumbnails/thumbnailing_algorithm.h',
840       'browser/thumbnails/thumbnailing_context.cc',
841       'browser/thumbnails/thumbnailing_context.h',
842       'browser/tracing/background_tracing_field_trial.cc',
843       'browser/tracing/background_tracing_field_trial.h',
844       'browser/tracing/chrome_tracing_delegate.cc',
845       'browser/tracing/chrome_tracing_delegate.h',
846       'browser/tracing/crash_service_uploader.cc',
847       'browser/tracing/crash_service_uploader.h',
848       'browser/tracing/navigation_tracing.cc',
849       'browser/tracing/navigation_tracing.h',
850       'browser/translate/chrome_translate_client.cc',
851       'browser/translate/chrome_translate_client.h',
852       'browser/translate/translate_accept_languages_factory.cc',
853       'browser/translate/translate_accept_languages_factory.h',
854       'browser/translate/translate_service.cc',
855       'browser/translate/translate_service.h',
856       'browser/update_client/chrome_update_query_params_delegate.cc',
857       'browser/update_client/chrome_update_query_params_delegate.h',
858       'browser/upgrade_detector.cc',
859       'browser/upgrade_detector.h',
860       'browser/web_data_service_factory.cc',
861       'browser/web_data_service_factory.h',
862     ],
863     'chrome_browser_android_sources': [
864       'browser/media/protected_media_identifier_infobar_delegate.cc',
865       'browser/media/protected_media_identifier_infobar_delegate.h',
866       'browser/media/protected_media_identifier_permission_context.cc',
867       'browser/media/protected_media_identifier_permission_context.h',
868       'browser/media/protected_media_identifier_permission_context_factory.cc',
869       'browser/media/protected_media_identifier_permission_context_factory.h',
870       'browser/metrics/android_metrics_provider.cc',
871       'browser/metrics/android_metrics_provider.h',
872       'browser/password_manager/account_chooser_infobar_delegate_android.cc',
873       'browser/password_manager/account_chooser_infobar_delegate_android.h',
874       'browser/password_manager/credential_android.cc',
875       'browser/password_manager/credential_android.h',
876       'browser/password_manager/generated_password_saved_infobar_delegate_android.cc',
877       'browser/password_manager/generated_password_saved_infobar_delegate_android.h',
878       'browser/precache/precache_manager_factory.cc',
879       'browser/precache/precache_manager_factory.h',
880       'browser/sessions/in_memory_tab_restore_service.cc',
881       'browser/sessions/in_memory_tab_restore_service.h',
882       'browser/signin/oauth2_token_service_delegate_android.cc',
883       'browser/signin/oauth2_token_service_delegate_android.h',
884       'browser/ssl/ssl_add_certificate_android.cc',
885       'browser/web_resource/notification_promo_mobile_ntp.cc',
886       'browser/web_resource/notification_promo_mobile_ntp.h',
887     ],
888     # Cross-platform Ash sources.
889     'chrome_browser_ash_sources': [
890       'browser/media/desktop_media_list_ash.cc',
891       'browser/media/desktop_media_list_ash.h',
892       'browser/signin/signin_error_notifier_ash.cc',
893       'browser/signin/signin_error_notifier_ash.h',
894       'browser/signin/signin_error_notifier_factory_ash.cc',
895       'browser/signin/signin_error_notifier_factory_ash.h',
896       'browser/sync/sync_error_notifier_ash.cc',
897       'browser/sync/sync_error_notifier_ash.h',
898       'browser/sync/sync_error_notifier_factory_ash.cc',
899       'browser/sync/sync_error_notifier_factory_ash.h',
900     ],
901     # Cross-platform Aura files.
902     'chrome_browser_aura_sources': [
903       # This file is called _views but has aura calls in it.
904       'browser/download/drag_download_item_views.cc',
905       'browser/lifetime/application_lifetime_aura.cc',
906       'browser/platform_util_aura.cc',
907     ],
908     # ChromeOS-sources not ending in _chromeos (which would be included in
909     # other sections and filtered out for non-ChromeOS platforms.
910     'chrome_browser_chromeos_sources': [
911       'browser/media/protected_media_identifier_infobar_delegate.cc',
912       'browser/media/protected_media_identifier_infobar_delegate.h',
913       'browser/media/protected_media_identifier_permission_context.cc',
914       'browser/media/protected_media_identifier_permission_context.h',
915       'browser/media/protected_media_identifier_permission_context_factory.cc',
916       'browser/media/protected_media_identifier_permission_context_factory.h',
917       'browser/metrics/chromeos_metrics_provider.cc',
918       'browser/metrics/chromeos_metrics_provider.h',
919       'browser/metrics/windowed_incognito_observer.cc',
920       'browser/metrics/windowed_incognito_observer.h',
921       # This is technically also dependent on enable_plugins but we don't
922       # support ChromeOS with enable_plugins==0.
923       'browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc',
924       'browser/renderer_host/pepper/pepper_platform_verification_message_filter.h',
925     ],
926     # Used everywhere but ChromeOS.
927     'chrome_browser_non_chromeos_sources': [
928       'browser/signin/signin_global_error.cc',
929       'browser/signin/signin_global_error.h',
930       'browser/signin/signin_global_error_factory.cc',
931       'browser/signin/signin_global_error_factory.h',
932     ],
933     # Everything but Android, iOS, and CrOS.
934     'chrome_browser_desktop_sources': [
935       'browser/platform_util.cc',
936       'browser/profiles/avatar_menu_actions_desktop.cc',
937       'browser/profiles/avatar_menu_actions_desktop.h',
938       'browser/profiles/avatar_menu_desktop.cc',
939       'browser/profiles/avatar_menu_observer.h',
940       'browser/profiles/profile_list_desktop.cc',
941       'browser/profiles/profile_list_desktop.h',
942       'browser/signin/cross_device_promo.cc',
943       'browser/signin/cross_device_promo.h',
944       'browser/signin/cross_device_promo_factory.cc',
945       'browser/signin/cross_device_promo_factory.h',
946     ],
947     # Miscellaneous files that were brought up on iOS before the decision not
948     # to use chrome/ for iOS. These, plus a few of the directory-specific
949     # source lists below, are all that are built on iOS. These are built
950     # despite the change in direction in order to prevent iOS regressions while
951     # componentization is in progress.
952     # TODO(stuartmorgan): Remove this once enough has been componentized that
953     # there's no value in building any of chrome/ for iOS.
954     'chrome_browser_ios_sources': [
955       'browser/browser_process.cc',
956       'browser/browser_process.h',
957       'browser/browser_process_platform_part_base.cc',
958       'browser/browser_process_platform_part_base.h',
959       'browser/password_manager/password_manager_util_ios.mm',
960     ],
961     # Desktop Linux and ChromeOS.
962     'chrome_browser_linux_sources': [
963       'browser/renderer_context_menu/spellchecker_submenu_observer_hunspell.cc',
964     ],
965     # Desktop linux, doesn't count ChromeOS.
966     'chrome_browser_linux_desktop_sources': [
967       'browser/first_run/upgrade_util.cc',
968       'browser/first_run/upgrade_util_linux.cc',
969       'browser/first_run/upgrade_util_linux.h',
970       'browser/fullscreen_aurax11.cc',
971       'browser/icon_loader_auralinux.cc',
972       'browser/password_manager/native_backend_kwallet_x.cc',
973       'browser/password_manager/native_backend_kwallet_x.h',
974       'browser/platform_util_linux.cc',
975       'browser/shell_integration_linux.cc',
976       'browser/shell_integration_linux.h',
977       'browser/speech/tts_linux.cc',
978       'browser/sxs_linux.cc',
979       'browser/sxs_linux.h',
980       'browser/themes/theme_service_aurax11.cc',
981       'browser/themes/theme_service_aurax11.h',
982       'browser/web_applications/web_app_linux.cc',
983     ],
984     'chrome_browser_mac_sources': [
985       'browser/media_galleries/fileapi/iphoto_data_provider.cc',
986       'browser/media_galleries/fileapi/iphoto_data_provider.h',
987       'browser/media_galleries/fileapi/iphoto_file_util.cc',
988       'browser/media_galleries/fileapi/iphoto_file_util.h',
989     ],
990     # Android and iOS, not CrOS.
991     'chrome_browser_mobile_sources': [
992       'browser/chrome_browser_field_trials_mobile.cc',
993       'browser/chrome_browser_field_trials_mobile.h',
994     ],
995     # Everything but Android and iOS.
996     'chrome_browser_non_mobile_sources': [
997       'browser/accessibility/invert_bubble_prefs.cc',
998       'browser/accessibility/invert_bubble_prefs.h',
999       'browser/auto_launch_trial.cc',
1000       'browser/auto_launch_trial.h',
1001       'browser/background/background_contents.cc',
1002       'browser/background/background_contents.h',
1003       'browser/banners/app_banner_data_fetcher_desktop.cc',
1004       'browser/banners/app_banner_data_fetcher_desktop.h',
1005       'browser/banners/app_banner_infobar_delegate_desktop.cc',
1006       'browser/banners/app_banner_infobar_delegate_desktop.h',
1007       'browser/banners/app_banner_manager_desktop.cc',
1008       'browser/banners/app_banner_manager_desktop.h',
1009       'browser/bookmarks/bookmark_html_writer.cc',
1010       'browser/bookmarks/bookmark_html_writer.h',
1011       'browser/certificate_viewer.cc',
1012       'browser/certificate_viewer.h',
1013       'browser/chrome_browser_field_trials_desktop.cc',
1014       'browser/chrome_browser_field_trials_desktop.h',
1015       'browser/chrome_browser_main_posix.cc',
1016       'browser/chrome_browser_main_posix.h',
1017       'browser/chrome_device_client.cc',
1018       'browser/chrome_device_client.h',
1019       'browser/chrome_process_singleton.cc',
1020       'browser/chrome_process_singleton.h',
1021       'browser/component_updater/widevine_cdm_component_installer.cc',
1022       'browser/component_updater/widevine_cdm_component_installer.h',
1023       'browser/custom_home_pages_table_model.cc',
1024       'browser/custom_home_pages_table_model.h',
1025       'browser/diagnostics/diagnostics_controller.cc',
1026       'browser/diagnostics/diagnostics_controller.h',
1027       'browser/diagnostics/diagnostics_metrics.cc',
1028       'browser/diagnostics/diagnostics_metrics.h',
1029       'browser/diagnostics/diagnostics_model.cc',
1030       'browser/diagnostics/diagnostics_model.h',
1031       'browser/diagnostics/diagnostics_test.cc',
1032       'browser/diagnostics/diagnostics_test.h',
1033       'browser/diagnostics/diagnostics_writer.cc',
1034       'browser/diagnostics/diagnostics_writer.h',
1035       'browser/diagnostics/recon_diagnostics.cc',
1036       'browser/diagnostics/recon_diagnostics.h',
1037       'browser/diagnostics/sqlite_diagnostics.cc',
1038       'browser/diagnostics/sqlite_diagnostics.h',
1039       'browser/download/download_commands.cc',
1040       'browser/download/download_commands.h',
1041       'browser/download/download_crx_util.cc',
1042       'browser/download/download_crx_util.h',
1043       'browser/download/download_danger_prompt.cc',
1044       'browser/download/download_danger_prompt.h',
1045       'browser/download/download_shelf.cc',
1046       'browser/download/download_shelf.h',
1047       'browser/download/download_shelf_context_menu.cc',
1048       'browser/download/download_shelf_context_menu.h',
1049       'browser/download/notification/download_group_notification.cc',
1050       'browser/download/notification/download_group_notification.h',
1051       'browser/download/notification/download_item_notification.cc',
1052       'browser/download/notification/download_item_notification.h',
1053       'browser/download/notification/download_notification.cc',
1054       'browser/download/notification/download_notification.h',
1055       'browser/download/notification/download_notification_manager.cc',
1056       'browser/download/notification/download_notification_manager.h',
1057       'browser/feedback/feedback_profile_observer.cc',
1058       'browser/feedback/feedback_profile_observer.h',
1059       'browser/feedback/show_feedback_page.cc',
1060       'browser/feedback/system_logs/about_system_logs_fetcher.cc',
1061       'browser/feedback/system_logs/about_system_logs_fetcher.h',
1062       'browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc',
1063       'browser/feedback/system_logs/log_sources/chrome_internal_log_source.h',
1064       'browser/feedback/system_logs/log_sources/memory_details_log_source.cc',
1065       'browser/feedback/system_logs/log_sources/memory_details_log_source.h',
1066       'browser/feedback/system_logs/scrubbed_system_logs_fetcher.cc',
1067       'browser/feedback/system_logs/scrubbed_system_logs_fetcher.h',
1068       'browser/feedback/system_logs/system_logs_fetcher_base.cc',
1069       'browser/feedback/system_logs/system_logs_fetcher_base.h',
1070       'browser/first_run/first_run.cc',
1071       'browser/first_run/first_run.h',
1072       'browser/first_run/first_run_dialog.h',
1073       'browser/first_run/first_run_internal.h',
1074       'browser/first_run/first_run_internal_linux.cc',
1075       'browser/first_run/first_run_internal_mac.mm',
1076       'browser/first_run/first_run_internal_posix.cc',
1077       'browser/first_run/first_run_internal_win.cc',
1078       'browser/first_run/upgrade_util.h',
1079       'browser/first_run/upgrade_util_mac.cc',
1080       'browser/first_run/upgrade_util_win.cc',
1081       'browser/first_run/upgrade_util_win.h',
1082       'browser/font_family_cache.cc',
1083       'browser/font_family_cache.h',
1084       'browser/importer/external_process_importer_client.cc',
1085       'browser/importer/external_process_importer_client.h',
1086       'browser/importer/external_process_importer_host.cc',
1087       'browser/importer/external_process_importer_host.h',
1088       'browser/importer/firefox_profile_lock.cc',
1089       'browser/importer/firefox_profile_lock.h',
1090       'browser/importer/firefox_profile_lock_posix.cc',
1091       'browser/importer/firefox_profile_lock_win.cc',
1092       'browser/importer/importer_list.cc',
1093       'browser/importer/importer_list.h',
1094       'browser/importer/importer_lock_dialog.h',
1095       'browser/importer/importer_progress_observer.h',
1096       'browser/importer/importer_uma.cc',
1097       'browser/importer/importer_uma.h',
1098       'browser/importer/in_process_importer_bridge.cc',
1099       'browser/importer/in_process_importer_bridge.h',
1100       'browser/importer/profile_writer.cc',
1101       'browser/importer/profile_writer.h',
1102       'browser/invalidation/ticl_profile_settings_provider.cc',
1103       'browser/invalidation/ticl_profile_settings_provider.h',
1104       'browser/lifetime/browser_close_manager.cc',
1105       'browser/lifetime/browser_close_manager.h',
1106       'browser/media_galleries/fileapi/av_scanning_file_validator.cc',
1107       'browser/media_galleries/fileapi/av_scanning_file_validator.h',
1108       'browser/media_galleries/fileapi/device_media_async_file_util.cc',
1109       'browser/media_galleries/fileapi/device_media_async_file_util.h',
1110       'browser/media_galleries/fileapi/iapps_finder.h',
1111       'browser/media_galleries/fileapi/iapps_finder_impl.cc',
1112       'browser/media_galleries/fileapi/iapps_finder_impl.h',
1113       'browser/media_galleries/fileapi/iapps_finder_impl_mac.mm',
1114       'browser/media_galleries/fileapi/iapps_finder_impl_win.cc',
1115       'browser/media_galleries/fileapi/media_file_system_backend.cc',
1116       'browser/media_galleries/fileapi/media_file_system_backend.h',
1117       'browser/media_galleries/fileapi/media_file_validator_factory.cc',
1118       'browser/media_galleries/fileapi/media_file_validator_factory.h',
1119       'browser/media_galleries/fileapi/media_path_filter.cc',
1120       'browser/media_galleries/fileapi/media_path_filter.h',
1121       'browser/media_galleries/fileapi/mtp_device_async_delegate.cc',
1122       'browser/media_galleries/fileapi/mtp_device_async_delegate.h',
1123       'browser/media_galleries/fileapi/mtp_device_map_service.cc',
1124       'browser/media_galleries/fileapi/mtp_device_map_service.h',
1125       'browser/media_galleries/fileapi/mtp_file_stream_reader.cc',
1126       'browser/media_galleries/fileapi/mtp_file_stream_reader.h',
1127       'browser/media_galleries/fileapi/native_media_file_util.cc',
1128       'browser/media_galleries/fileapi/native_media_file_util.h',
1129       'browser/media_galleries/fileapi/picasa_finder.cc',
1130       'browser/media_galleries/fileapi/picasa_finder.h',
1131       'browser/media_galleries/fileapi/picasa_finder_mac.mm',
1132       'browser/media_galleries/fileapi/readahead_file_stream_reader.cc',
1133       'browser/media_galleries/fileapi/readahead_file_stream_reader.h',
1134       'browser/media_galleries/fileapi/safe_audio_video_checker.cc',
1135       'browser/media_galleries/fileapi/safe_audio_video_checker.h',
1136       'browser/media_galleries/fileapi/safe_media_metadata_parser.cc',
1137       'browser/media_galleries/fileapi/safe_media_metadata_parser.h',
1138       'browser/media_galleries/fileapi/supported_audio_video_checker.cc',
1139       'browser/media_galleries/fileapi/supported_audio_video_checker.h',
1140       'browser/media_galleries/fileapi/supported_image_type_validator.cc',
1141       'browser/media_galleries/fileapi/supported_image_type_validator.h',
1142       'browser/media_galleries/gallery_watch_manager.cc',
1143       'browser/media_galleries/gallery_watch_manager.h',
1144       'browser/media_galleries/gallery_watch_manager_observer.h',
1145       'browser/media_galleries/imported_media_gallery_registry.cc',
1146       'browser/media_galleries/imported_media_gallery_registry.h',
1147       'browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc',
1148       'browser/media_galleries/linux/mtp_device_delegate_impl_linux.h',
1149       'browser/media_galleries/linux/mtp_device_object_enumerator.cc',
1150       'browser/media_galleries/linux/mtp_device_object_enumerator.h',
1151       'browser/media_galleries/linux/mtp_device_task_helper.cc',
1152       'browser/media_galleries/linux/mtp_device_task_helper.h',
1153       'browser/media_galleries/linux/mtp_device_task_helper_map_service.cc',
1154       'browser/media_galleries/linux/mtp_device_task_helper_map_service.h',
1155       'browser/media_galleries/linux/mtp_read_file_worker.cc',
1156       'browser/media_galleries/linux/mtp_read_file_worker.h',
1157       'browser/media_galleries/linux/snapshot_file_details.cc',
1158       'browser/media_galleries/linux/snapshot_file_details.h',
1159       'browser/media_galleries/mac/mtp_device_delegate_impl_mac.h',
1160       'browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm',
1161       'browser/media_galleries/media_file_system_registry.cc',
1162       'browser/media_galleries/media_file_system_registry.h',
1163       'browser/media_galleries/media_folder_finder.cc',
1164       'browser/media_galleries/media_folder_finder.h',
1165       'browser/media_galleries/media_galleries_dialog_controller.cc',
1166       'browser/media_galleries/media_galleries_dialog_controller.h',
1167       'browser/media_galleries/media_galleries_histograms.cc',
1168       'browser/media_galleries/media_galleries_histograms.h',
1169       'browser/media_galleries/media_galleries_permission_controller.cc',
1170       'browser/media_galleries/media_galleries_permission_controller.h',
1171       'browser/media_galleries/media_galleries_preferences.cc',
1172       'browser/media_galleries/media_galleries_preferences.h',
1173       'browser/media_galleries/media_galleries_preferences_factory.cc',
1174       'browser/media_galleries/media_galleries_preferences_factory.h',
1175       'browser/media_galleries/media_galleries_scan_result_controller.cc',
1176       'browser/media_galleries/media_galleries_scan_result_controller.h',
1177       'browser/media_galleries/media_gallery_context_menu.cc',
1178       'browser/media_galleries/media_gallery_context_menu.h',
1179       'browser/media_galleries/media_scan_manager.cc',
1180       'browser/media_galleries/media_scan_manager.h',
1181       'browser/media_galleries/media_scan_manager_observer.h',
1182       'browser/media_galleries/media_scan_types.cc',
1183       'browser/media_galleries/media_scan_types.h',
1184       'browser/media_galleries/win/mtp_device_delegate_impl_win.cc',
1185       'browser/media_galleries/win/mtp_device_delegate_impl_win.h',
1186       'browser/media_galleries/win/mtp_device_object_entry.cc',
1187       'browser/media_galleries/win/mtp_device_object_entry.h',
1188       'browser/media_galleries/win/mtp_device_object_enumerator.cc',
1189       'browser/media_galleries/win/mtp_device_object_enumerator.h',
1190       'browser/media_galleries/win/mtp_device_operations_util.cc',
1191       'browser/media_galleries/win/mtp_device_operations_util.h',
1192       'browser/media_galleries/win/portable_device_map_service.cc',
1193       'browser/media_galleries/win/portable_device_map_service.h',
1194       'browser/media_galleries/win/snapshot_file_details.cc',
1195       'browser/media_galleries/win/snapshot_file_details.h',
1196       'browser/net/firefox_proxy_settings.cc',
1197       'browser/net/firefox_proxy_settings.h',
1198       'browser/net/utility_process_mojo_proxy_resolver_factory.cc',
1199       'browser/net/utility_process_mojo_proxy_resolver_factory.h',
1200       'browser/pdf/pdf_extension_util.cc',
1201       'browser/pdf/pdf_extension_util.h',
1202       'browser/power/process_power_collector.cc',
1203       'browser/power/process_power_collector.h',
1204       'browser/process_singleton_modal_dialog_lock.cc',
1205       'browser/process_singleton_modal_dialog_lock.h',
1206       'browser/process_singleton_posix.cc',
1207       'browser/process_singleton_startup_lock.cc',
1208       'browser/process_singleton_startup_lock.h',
1209       'browser/profile_resetter/automatic_profile_resetter.cc',
1210       'browser/profile_resetter/automatic_profile_resetter.h',
1211       'browser/profile_resetter/automatic_profile_resetter_delegate.cc',
1212       'browser/profile_resetter/automatic_profile_resetter_delegate.h',
1213       'browser/profile_resetter/automatic_profile_resetter_factory.cc',
1214       'browser/profile_resetter/automatic_profile_resetter_factory.h',
1215       'browser/profile_resetter/automatic_profile_resetter_mementos.cc',
1216       'browser/profile_resetter/automatic_profile_resetter_mementos.h',
1217       'browser/profile_resetter/brandcode_config_fetcher.cc',
1218       'browser/profile_resetter/brandcode_config_fetcher.h',
1219       'browser/profile_resetter/brandcoded_default_settings.cc',
1220       'browser/profile_resetter/brandcoded_default_settings.h',
1221       'browser/profile_resetter/jtl_foundation.cc',
1222       'browser/profile_resetter/jtl_foundation.h',
1223       'browser/profile_resetter/jtl_instructions.h',
1224       'browser/profile_resetter/jtl_interpreter.cc',
1225       'browser/profile_resetter/jtl_interpreter.h',
1226       'browser/profile_resetter/profile_reset_global_error.cc',
1227       'browser/profile_resetter/profile_reset_global_error.h',
1228       'browser/profile_resetter/profile_resetter.cc',
1229       'browser/profile_resetter/profile_resetter.h',
1230       'browser/profile_resetter/resettable_settings_snapshot.cc',
1231       'browser/profile_resetter/resettable_settings_snapshot.h',
1232       'browser/profiles/avatar_menu.cc',
1233       'browser/profiles/avatar_menu.h',
1234       'browser/profiles/profile_shortcut_manager.cc',
1235       'browser/profiles/profile_shortcut_manager.h',
1236       'browser/profiles/profile_window.cc',
1237       'browser/profiles/profile_window.h',
1238       'browser/renderer_context_menu/render_view_context_menu.cc',
1239       'browser/renderer_context_menu/render_view_context_menu.h',
1240       'browser/renderer_context_menu/spelling_bubble_model.cc',
1241       'browser/renderer_context_menu/spelling_bubble_model.h',
1242       'browser/renderer_context_menu/spelling_menu_observer.cc',
1243       'browser/renderer_context_menu/spelling_menu_observer.h',
1244       'browser/repost_form_warning_controller.cc',
1245       'browser/repost_form_warning_controller.h',
1246       'browser/search/local_ntp_source.cc',
1247       'browser/search/local_ntp_source.h',
1248       'browser/search/search_terms_tracker.cc',
1249       'browser/search/search_terms_tracker.h',
1250       'browser/services/gcm/gcm_desktop_utils.cc',
1251       'browser/services/gcm/gcm_desktop_utils.h',
1252       'browser/signin/signin_promo.cc',
1253       'browser/signin/signin_promo.h',
1254       'browser/signin/signin_ui_util.cc',
1255       'browser/signin/signin_ui_util.h',
1256       'browser/speech/extension_api/tts_extension_api_constants.cc',  # Should be moved to extensions section?
1257       'browser/speech/extension_api/tts_extension_api_constants.h',
1258       'browser/ssl/ssl_add_certificate.cc',
1259       'browser/ssl/ssl_add_certificate.h',
1260       'browser/ssl/ssl_client_auth_observer.cc',
1261       'browser/ssl/ssl_client_auth_observer.h',
1262       'browser/status_icons/desktop_notification_balloon.cc',
1263       'browser/status_icons/desktop_notification_balloon.h',
1264       'browser/sync/glue/extension_data_type_controller.cc',
1265       'browser/sync/glue/extension_data_type_controller.h',
1266       'browser/sync/glue/extension_setting_data_type_controller.cc',
1267       'browser/sync/glue/extension_setting_data_type_controller.h',
1268       'browser/sync/glue/synced_tab_delegate_desktop.cc',
1269       'browser/sync/sync_ui_util.cc',
1270       'browser/sync/sync_ui_util.h',
1271     ],
1272     'chrome_browser_win_sources': [
1273       'browser/browser_process_platform_part_aurawin.cc',
1274       'browser/browser_process_platform_part_aurawin.h',
1275       'browser/first_run/try_chrome_dialog_view.cc',
1276       'browser/first_run/try_chrome_dialog_view.h',
1277       'browser/first_run/upgrade_util.cc',
1278       'browser/google/did_run_updater_win.cc',
1279       'browser/google/did_run_updater_win.h',
1280       'browser/hang_monitor/hang_crash_dump_win.cc',
1281       'browser/hang_monitor/hang_crash_dump_win.h',
1282       'browser/hang_monitor/hung_plugin_action.cc',
1283       'browser/hang_monitor/hung_plugin_action.h',
1284       'browser/hang_monitor/hung_window_detector.cc',
1285       'browser/hang_monitor/hung_window_detector.h',
1286       'browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc',
1287       'browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h',
1288       'browser/renderer_context_menu/spellchecker_submenu_observer_hunspell.cc',
1289     ],
1290     'chrome_browser_non_win_sources': [
1291       'browser/profiles/profile_shortcut_manager_stub.cc',
1292     ],
1293     # Sources (generally "desktop OS importers") used only on Mac & Windows.
1294     'chrome_browser_win_mac_sources': [
1295       'browser/media_galleries/fileapi/file_path_watcher_util.cc',
1296       'browser/media_galleries/fileapi/file_path_watcher_util.h',
1297       'browser/media_galleries/fileapi/iapps_data_provider.cc',
1298       'browser/media_galleries/fileapi/iapps_data_provider.h',
1299       'browser/media_galleries/fileapi/itunes_data_provider.cc',
1300       'browser/media_galleries/fileapi/itunes_data_provider.h',
1301       'browser/media_galleries/fileapi/itunes_file_util.cc',
1302       'browser/media_galleries/fileapi/itunes_file_util.h',
1303       'browser/media_galleries/fileapi/picasa_data_provider.cc',
1304       'browser/media_galleries/fileapi/picasa_data_provider.h',
1305       'browser/media_galleries/fileapi/picasa_file_util.cc',
1306       'browser/media_galleries/fileapi/picasa_file_util.h',
1307       'browser/media_galleries/fileapi/safe_iapps_library_parser.cc',
1308       'browser/media_galleries/fileapi/safe_iapps_library_parser.h',
1309       'browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc',
1310       'browser/media_galleries/fileapi/safe_itunes_pref_parser_win.h',
1311       'browser/media_galleries/fileapi/safe_picasa_album_table_reader.cc',
1312       'browser/media_galleries/fileapi/safe_picasa_album_table_reader.h',
1313       'browser/media_galleries/fileapi/safe_picasa_albums_indexer.cc',
1314       'browser/media_galleries/fileapi/safe_picasa_albums_indexer.h',
1315       'browser/recovery/recovery_install_global_error.cc',
1316       'browser/recovery/recovery_install_global_error.h',
1317       'browser/recovery/recovery_install_global_error_factory.cc',
1318       'browser/recovery/recovery_install_global_error_factory.h',
1319     ],
1320     # X11 sources, coveres desktop Linux and ChromeOS.
1321     'chrome_browser_x11_sources': [
1322       'browser/chrome_browser_main_extra_parts_x11.cc',
1323       'browser/chrome_browser_main_extra_parts_x11.h',
1324     ],
1326     ### Feature-based sources ###
1327     # Variables should generally be alphabetical within this section.
1329     'chrome_browser_autocomplete_sources': [
1330       'browser/autocomplete/autocomplete_classifier_factory.cc',
1331       'browser/autocomplete/autocomplete_classifier_factory.h',
1332       'browser/autocomplete/chrome_autocomplete_provider_client.cc',
1333       'browser/autocomplete/chrome_autocomplete_provider_client.h',
1334       'browser/autocomplete/chrome_autocomplete_scheme_classifier.cc',
1335       'browser/autocomplete/chrome_autocomplete_scheme_classifier.h',
1336       'browser/autocomplete/in_memory_url_index_factory.cc',
1337       'browser/autocomplete/in_memory_url_index_factory.h',
1338       'browser/autocomplete/shortcuts_backend_factory.cc',
1339       'browser/autocomplete/shortcuts_backend_factory.h',
1340       'browser/autocomplete/shortcuts_extensions_manager.cc',
1341       'browser/autocomplete/shortcuts_extensions_manager.h',
1342     ],
1343     'chrome_browser_background_sources': [
1344       'browser/background/background_application_list_model.cc',
1345       'browser/background/background_application_list_model.h',
1346       'browser/background/background_contents_service.cc',
1347       'browser/background/background_contents_service.h',
1348       'browser/background/background_contents_service_factory.cc',
1349       'browser/background/background_contents_service_factory.h',
1350       'browser/background/background_mode_manager.cc',
1351       'browser/background/background_mode_manager.h',
1352       'browser/background/background_mode_manager_aura.cc',
1353       'browser/background/background_mode_manager_chromeos.cc',
1354       'browser/background/background_mode_manager_mac.mm',
1355       'browser/background/background_mode_manager_win.cc',
1356     ],
1357     'chrome_browser_bookmark_sources': [
1358       'browser/bookmarks/bookmark_model_factory.cc',
1359       'browser/bookmarks/bookmark_model_factory.h',
1360       'browser/bookmarks/bookmark_stats.cc',
1361       'browser/bookmarks/bookmark_stats.h',
1362       'browser/bookmarks/chrome_bookmark_client.cc',
1363       'browser/bookmarks/chrome_bookmark_client.h',
1364       'browser/bookmarks/chrome_bookmark_client_factory.cc',
1365       'browser/bookmarks/chrome_bookmark_client_factory.h',
1366       'browser/bookmarks/managed_bookmark_service_factory.cc',
1367       'browser/bookmarks/managed_bookmark_service_factory.h',
1368       'browser/bookmarks/startup_task_runner_service_factory.cc',
1369       'browser/bookmarks/startup_task_runner_service_factory.h',
1370       'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.cc',
1371       'browser/enhanced_bookmarks/bookmark_server_cluster_service_factory.h',
1372       'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc',
1373       'browser/enhanced_bookmarks/enhanced_bookmark_model_factory.h',
1374     ],
1375     'chrome_browser_bookmark_android_sources': [
1376       'browser/android/offline_pages/offline_page_bridge.cc',
1377       'browser/android/offline_pages/offline_page_bridge.h',
1378       'browser/android/offline_pages/offline_page_mhtml_archiver.cc',
1379       'browser/android/offline_pages/offline_page_mhtml_archiver.h',
1380       'browser/android/offline_pages/offline_page_model_factory.cc',
1381       'browser/android/offline_pages/offline_page_model_factory.h',
1382       'browser/android/offline_pages/offline_page_web_contents_observer.cc',
1383       'browser/android/offline_pages/offline_page_web_contents_observer.h',
1384     ],
1385     'chrome_browser_browser_process_sources': [
1386       'browser/browser_process.cc',
1387       'browser/browser_process.h',
1388       'browser/browser_process_impl.cc',
1389       'browser/browser_process_impl.h',
1390       'browser/browser_process_platform_part.h',
1391       'browser/browser_process_platform_part_android.cc',
1392       'browser/browser_process_platform_part_android.h',
1393       'browser/browser_process_platform_part_base.cc',
1394       'browser/browser_process_platform_part_base.h',
1395       'browser/browser_process_platform_part_chromeos.cc',
1396       'browser/browser_process_platform_part_chromeos.h',
1397       'browser/browser_process_platform_part_mac.h',
1398       'browser/browser_process_platform_part_mac.mm',
1399     ],
1400     'chrome_browser_captive_portal_sources': [
1401       'browser/captive_portal/captive_portal_login_detector.cc',
1402       'browser/captive_portal/captive_portal_login_detector.h',
1403       'browser/captive_portal/captive_portal_service.cc',
1404       'browser/captive_portal/captive_portal_service.h',
1405       'browser/captive_portal/captive_portal_service_factory.cc',
1406       'browser/captive_portal/captive_portal_service_factory.h',
1407       'browser/captive_portal/captive_portal_tab_helper.cc',
1408       'browser/captive_portal/captive_portal_tab_helper.h',
1409       'browser/captive_portal/captive_portal_tab_reloader.cc',
1410       'browser/captive_portal/captive_portal_tab_reloader.h',
1411       'browser/ssl/captive_portal_blocking_page.cc',
1412       'browser/ssl/captive_portal_blocking_page.h',
1413     ],
1414     'chrome_browser_content_settings_sources': [
1415       'browser/content_settings/chrome_content_settings_client.cc',
1416       'browser/content_settings/chrome_content_settings_client.h',
1417       'browser/content_settings/chrome_content_settings_utils.cc',
1418       'browser/content_settings/chrome_content_settings_utils.h',
1419       'browser/content_settings/cookie_settings_factory.cc',
1420       'browser/content_settings/cookie_settings_factory.h',
1421       'browser/content_settings/local_shared_objects_container.cc',
1422       'browser/content_settings/local_shared_objects_container.h',
1423       'browser/content_settings/tab_specific_content_settings.cc',
1424       'browser/content_settings/tab_specific_content_settings.h',
1425       'browser/content_settings/web_site_settings_uma_util.cc',
1426       'browser/content_settings/web_site_settings_uma_util.h',
1427     ],
1428     'chrome_browser_engagement_sources': [
1429       'browser/engagement/site_engagement_helper.cc',
1430       'browser/engagement/site_engagement_helper.h',
1431       'browser/engagement/site_engagement_service.cc',
1432       'browser/engagement/site_engagement_service.h',
1433       'browser/engagement/site_engagement_service_factory.cc',
1434       'browser/engagement/site_engagement_service_factory.h',
1435     ],
1436     'chrome_browser_extensions_sources': [
1437       'browser/accessibility/accessibility_extension_api.cc',
1438       'browser/accessibility/accessibility_extension_api.h',
1439       'browser/accessibility/animation_policy_prefs.cc',
1440       'browser/accessibility/animation_policy_prefs.h',
1441       'browser/autocomplete/keyword_extensions_delegate_impl.cc',
1442       'browser/autocomplete/keyword_extensions_delegate_impl.h',
1443       'browser/content_settings/content_settings_internal_extension_provider.cc',
1444       'browser/content_settings/content_settings_internal_extension_provider.h',
1445       'browser/drive/drive_notification_manager_factory.cc',
1446       'browser/drive/drive_notification_manager_factory.h',
1447       'browser/guest_view/app_view/chrome_app_view_guest_delegate.cc',
1448       'browser/guest_view/app_view/chrome_app_view_guest_delegate.h',
1449       'browser/guest_view/chrome_guest_view_manager_delegate.cc',
1450       'browser/guest_view/chrome_guest_view_manager_delegate.h',
1451       'browser/guest_view/extension_options/chrome_extension_options_guest_delegate.cc',
1452       'browser/guest_view/extension_options/chrome_extension_options_guest_delegate.h',
1453       'browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.cc',
1454       'browser/guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h',
1455       'browser/guest_view/web_view/chrome_web_view_guest_delegate.cc',
1456       'browser/guest_view/web_view/chrome_web_view_guest_delegate.h',
1457       'browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc',
1458       'browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.h',
1459       'browser/guest_view/web_view/context_menu_content_type_web_view.cc',
1460       'browser/guest_view/web_view/context_menu_content_type_web_view.h',
1461       'browser/media/cast_transport_host_filter.cc',
1462       'browser/media/cast_transport_host_filter.h',
1463       'browser/media/desktop_capture_access_handler.cc',
1464       'browser/media/desktop_capture_access_handler.h',
1465       'browser/media/extension_media_access_handler.cc',
1466       'browser/media/extension_media_access_handler.h',
1467       'browser/media/tab_capture_access_handler.cc',
1468       'browser/media/tab_capture_access_handler.h',
1469       'browser/metrics/extensions_metrics_provider.cc',
1470       'browser/metrics/extensions_metrics_provider.h',
1471       'browser/renderer_context_menu/context_menu_content_type_app_mode.cc',
1472       'browser/renderer_context_menu/context_menu_content_type_app_mode.h',
1473       'browser/renderer_context_menu/context_menu_content_type_extension_popup.cc',
1474       'browser/renderer_context_menu/context_menu_content_type_extension_popup.h',
1475       'browser/renderer_context_menu/context_menu_content_type_platform_app.cc',
1476       'browser/renderer_context_menu/context_menu_content_type_platform_app.h',
1477       'browser/renderer_host/chrome_extension_message_filter.cc',
1478       'browser/renderer_host/chrome_extension_message_filter.h',
1479       'browser/search/hotword_audio_history_handler.cc',
1480       'browser/search/hotword_audio_history_handler.h',
1481       'browser/search/hotword_client.h',
1482       'browser/search/hotword_service.cc',
1483       'browser/search/hotword_service.h',
1484       'browser/search/hotword_service_factory.cc',
1485       'browser/search/hotword_service_factory.h',
1486       'browser/signin/chrome_proximity_auth_client.cc',
1487       'browser/signin/chrome_proximity_auth_client.h',
1488       'browser/signin/easy_unlock_app_manager.cc',
1489       'browser/signin/easy_unlock_app_manager.h',
1490       'browser/signin/easy_unlock_auth_attempt.cc',
1491       'browser/signin/easy_unlock_auth_attempt.h',
1492       'browser/signin/easy_unlock_metrics.cc',
1493       'browser/signin/easy_unlock_metrics.h',
1494       'browser/signin/easy_unlock_screenlock_state_handler.cc',
1495       'browser/signin/easy_unlock_screenlock_state_handler.h',
1496       'browser/signin/easy_unlock_service.cc',
1497       'browser/signin/easy_unlock_service.h',
1498       'browser/signin/easy_unlock_service_factory.cc',
1499       'browser/signin/easy_unlock_service_factory.h',
1500       'browser/signin/easy_unlock_service_regular.cc',
1501       'browser/signin/easy_unlock_service_regular.h',
1502       'browser/signin/easy_unlock_service_signin_chromeos.cc',
1503       'browser/signin/easy_unlock_service_signin_chromeos.h',
1504       'browser/speech/extension_api/tts_engine_extension_api.cc',
1505       'browser/speech/extension_api/tts_engine_extension_api.h',
1506       'browser/speech/extension_api/tts_engine_extension_observer.cc',
1507       'browser/speech/extension_api/tts_engine_extension_observer.h',
1508       'browser/speech/extension_api/tts_extension_api.cc',
1509       'browser/speech/extension_api/tts_extension_api.h',
1510       'browser/sync_file_system/conflict_resolution_policy.h',
1511       'browser/sync_file_system/drive_backend/callback_helper.h',
1512       'browser/sync_file_system/drive_backend/callback_tracker.cc',
1513       'browser/sync_file_system/drive_backend/callback_tracker.h',
1514       'browser/sync_file_system/drive_backend/callback_tracker_internal.cc',
1515       'browser/sync_file_system/drive_backend/callback_tracker_internal.h',
1516       'browser/sync_file_system/drive_backend/conflict_resolver.cc',
1517       'browser/sync_file_system/drive_backend/conflict_resolver.h',
1518       'browser/sync_file_system/drive_backend/drive_backend_constants.cc',
1519       'browser/sync_file_system/drive_backend/drive_backend_constants.h',
1520       'browser/sync_file_system/drive_backend/drive_backend_util.cc',
1521       'browser/sync_file_system/drive_backend/drive_backend_util.h',
1522       'browser/sync_file_system/drive_backend/drive_service_on_worker.cc',
1523       'browser/sync_file_system/drive_backend/drive_service_on_worker.h',
1524       'browser/sync_file_system/drive_backend/drive_service_wrapper.cc',
1525       'browser/sync_file_system/drive_backend/drive_service_wrapper.h',
1526       'browser/sync_file_system/drive_backend/drive_uploader_on_worker.cc',
1527       'browser/sync_file_system/drive_backend/drive_uploader_on_worker.h',
1528       'browser/sync_file_system/drive_backend/drive_uploader_wrapper.cc',
1529       'browser/sync_file_system/drive_backend/drive_uploader_wrapper.h',
1530       'browser/sync_file_system/drive_backend/folder_creator.cc',
1531       'browser/sync_file_system/drive_backend/folder_creator.h',
1532       'browser/sync_file_system/drive_backend/leveldb_wrapper.cc',
1533       'browser/sync_file_system/drive_backend/leveldb_wrapper.h',
1534       'browser/sync_file_system/drive_backend/list_changes_task.cc',
1535       'browser/sync_file_system/drive_backend/list_changes_task.h',
1536       'browser/sync_file_system/drive_backend/local_to_remote_syncer.cc',
1537       'browser/sync_file_system/drive_backend/local_to_remote_syncer.h',
1538       'browser/sync_file_system/drive_backend/metadata_database.cc',
1539       'browser/sync_file_system/drive_backend/metadata_database.h',
1540       'browser/sync_file_system/drive_backend/metadata_database_index.cc',
1541       'browser/sync_file_system/drive_backend/metadata_database_index.h',
1542       'browser/sync_file_system/drive_backend/metadata_database_index_interface.h',
1543       'browser/sync_file_system/drive_backend/metadata_database_index_on_disk.cc',
1544       'browser/sync_file_system/drive_backend/metadata_database_index_on_disk.h',
1545       'browser/sync_file_system/drive_backend/metadata_db_migration_util.cc',
1546       'browser/sync_file_system/drive_backend/metadata_db_migration_util.h',
1547       'browser/sync_file_system/drive_backend/register_app_task.cc',
1548       'browser/sync_file_system/drive_backend/register_app_task.h',
1549       'browser/sync_file_system/drive_backend/remote_change_processor_on_worker.cc',
1550       'browser/sync_file_system/drive_backend/remote_change_processor_on_worker.h',
1551       'browser/sync_file_system/drive_backend/remote_change_processor_wrapper.cc',
1552       'browser/sync_file_system/drive_backend/remote_change_processor_wrapper.h',
1553       'browser/sync_file_system/drive_backend/remote_to_local_syncer.cc',
1554       'browser/sync_file_system/drive_backend/remote_to_local_syncer.h',
1555       'browser/sync_file_system/drive_backend/sync_engine.cc',
1556       'browser/sync_file_system/drive_backend/sync_engine.h',
1557       'browser/sync_file_system/drive_backend/sync_engine_context.cc',
1558       'browser/sync_file_system/drive_backend/sync_engine_context.h',
1559       'browser/sync_file_system/drive_backend/sync_engine_initializer.cc',
1560       'browser/sync_file_system/drive_backend/sync_engine_initializer.h',
1561       'browser/sync_file_system/drive_backend/sync_task.cc',
1562       'browser/sync_file_system/drive_backend/sync_task.h',
1563       'browser/sync_file_system/drive_backend/sync_task_manager.cc',
1564       'browser/sync_file_system/drive_backend/sync_task_manager.h',
1565       'browser/sync_file_system/drive_backend/sync_task_token.cc',
1566       'browser/sync_file_system/drive_backend/sync_task_token.h',
1567       'browser/sync_file_system/drive_backend/sync_worker.cc',
1568       'browser/sync_file_system/drive_backend/sync_worker.h',
1569       'browser/sync_file_system/drive_backend/sync_worker_interface.h',
1570       'browser/sync_file_system/drive_backend/task_dependency_manager.cc',
1571       'browser/sync_file_system/drive_backend/task_dependency_manager.h',
1572       'browser/sync_file_system/drive_backend/tracker_id_set.cc',
1573       'browser/sync_file_system/drive_backend/tracker_id_set.h',
1574       'browser/sync_file_system/drive_backend/uninstall_app_task.cc',
1575       'browser/sync_file_system/drive_backend/uninstall_app_task.h',
1576       'browser/sync_file_system/file_change.cc',
1577       'browser/sync_file_system/file_change.h',
1578       'browser/sync_file_system/file_status_observer.h',
1579       'browser/sync_file_system/local/local_file_change_tracker.cc',
1580       'browser/sync_file_system/local/local_file_change_tracker.h',
1581       'browser/sync_file_system/local/local_file_sync_context.cc',
1582       'browser/sync_file_system/local/local_file_sync_context.h',
1583       'browser/sync_file_system/local/local_file_sync_service.cc',
1584       'browser/sync_file_system/local/local_file_sync_service.h',
1585       'browser/sync_file_system/local/local_file_sync_status.cc',
1586       'browser/sync_file_system/local/local_file_sync_status.h',
1587       'browser/sync_file_system/local/local_origin_change_observer.h',
1588       'browser/sync_file_system/local/root_delete_helper.cc',
1589       'browser/sync_file_system/local/root_delete_helper.h',
1590       'browser/sync_file_system/local/sync_file_system_backend.cc',
1591       'browser/sync_file_system/local/sync_file_system_backend.h',
1592       'browser/sync_file_system/local/syncable_file_operation_runner.cc',
1593       'browser/sync_file_system/local/syncable_file_operation_runner.h',
1594       'browser/sync_file_system/local/syncable_file_system_operation.cc',
1595       'browser/sync_file_system/local/syncable_file_system_operation.h',
1596       'browser/sync_file_system/local_change_processor.h',
1597       'browser/sync_file_system/logger.cc',
1598       'browser/sync_file_system/logger.h',
1599       'browser/sync_file_system/remote_change_processor.h',
1600       'browser/sync_file_system/remote_file_sync_service.cc',
1601       'browser/sync_file_system/remote_file_sync_service.h',
1602       'browser/sync_file_system/subtree_set.cc',
1603       'browser/sync_file_system/subtree_set.h',
1604       'browser/sync_file_system/sync_action.cc',
1605       'browser/sync_file_system/sync_action.h',
1606       'browser/sync_file_system/sync_callbacks.h',
1607       'browser/sync_file_system/sync_direction.h',
1608       'browser/sync_file_system/sync_event_observer.h',
1609       'browser/sync_file_system/sync_file_metadata.cc',
1610       'browser/sync_file_system/sync_file_metadata.h',
1611       'browser/sync_file_system/sync_file_status.h',
1612       'browser/sync_file_system/sync_file_system_service.cc',
1613       'browser/sync_file_system/sync_file_system_service.h',
1614       'browser/sync_file_system/sync_file_system_service_factory.cc',
1615       'browser/sync_file_system/sync_file_system_service_factory.h',
1616       'browser/sync_file_system/sync_file_type.h',
1617       'browser/sync_file_system/sync_operation_type.cc',
1618       'browser/sync_file_system/sync_operation_type.h',
1619       'browser/sync_file_system/sync_process_runner.cc',
1620       'browser/sync_file_system/sync_process_runner.h',
1621       'browser/sync_file_system/sync_service_state.h',
1622       'browser/sync_file_system/sync_status_code.cc',
1623       'browser/sync_file_system/sync_status_code.h',
1624       'browser/sync_file_system/syncable_file_system_util.cc',
1625       'browser/sync_file_system/syncable_file_system_util.h',
1626       'browser/sync_file_system/task_logger.cc',
1627       'browser/sync_file_system/task_logger.h',
1628     ],
1629     'chrome_browser_favicon_sources': [
1630       'browser/favicon/chrome_fallback_icon_client.cc',
1631       'browser/favicon/chrome_fallback_icon_client.h',
1632       'browser/favicon/chrome_fallback_icon_client_factory.cc',
1633       'browser/favicon/chrome_fallback_icon_client_factory.h',
1634       'browser/favicon/chrome_favicon_client.cc',
1635       'browser/favicon/chrome_favicon_client.h',
1636       'browser/favicon/fallback_icon_service_factory.cc',
1637       'browser/favicon/fallback_icon_service_factory.h',
1638       'browser/favicon/favicon_service_factory.cc',
1639       'browser/favicon/favicon_service_factory.h',
1640       'browser/favicon/favicon_utils.cc',
1641       'browser/favicon/favicon_utils.h',
1642       'browser/favicon/large_icon_service_factory.cc',
1643       'browser/favicon/large_icon_service_factory.h',
1644     ],
1645     'chrome_browser_gnome_keyring_sources': [
1646       'browser/password_manager/native_backend_gnome_x.cc',
1647       'browser/password_manager/native_backend_gnome_x.h',
1648     ],
1649     'chrome_browser_libsecret_sources': [
1650        'browser/password_manager/native_backend_libsecret.cc',
1651        'browser/password_manager/native_backend_libsecret.h',
1652     ],
1653     'chrome_browser_google_sources': [
1654       'browser/google/chrome_google_url_tracker_client.cc',
1655       'browser/google/chrome_google_url_tracker_client.h',
1656       'browser/google/google_brand.cc',
1657       'browser/google/google_brand.h',
1658       'browser/google/google_brand_chromeos.cc',
1659       'browser/google/google_brand_chromeos.h',
1660       'browser/google/google_search_counter.cc',
1661       'browser/google/google_search_counter.h',
1662       'browser/google/google_search_counter_android.cc',
1663       'browser/google/google_search_counter_android.h',
1664       'browser/google/google_update_settings_posix.cc',
1665       'browser/google/google_update_win.cc',
1666       'browser/google/google_update_win.h',
1667       'browser/google/google_url_tracker_factory.cc',
1668       'browser/google/google_url_tracker_factory.h',
1669     ],
1670     'chrome_browser_history_sources': [
1671       'browser/history/android/android_history_provider_service.cc',
1672       'browser/history/android/android_history_provider_service.h',
1673       'browser/history/android/android_provider_backend.cc',
1674       'browser/history/android/android_provider_backend.h',
1675       'browser/history/android/bookmark_model_sql_handler.cc',
1676       'browser/history/android/bookmark_model_sql_handler.h',
1677       'browser/history/android/sqlite_cursor.cc',
1678       'browser/history/android/sqlite_cursor.h',
1679       'browser/history/chrome_history_backend_client.cc',
1680       'browser/history/chrome_history_backend_client.h',
1681       'browser/history/chrome_history_client.cc',
1682       'browser/history/chrome_history_client.h',
1683       'browser/history/history_service_factory.cc',
1684       'browser/history/history_service_factory.h',
1685       'browser/history/history_tab_helper.cc',
1686       'browser/history/history_tab_helper.h',
1687       'browser/history/history_utils.cc',
1688       'browser/history/history_utils.h',
1689       'browser/history/top_sites_factory.cc',
1690       'browser/history/top_sites_factory.h',
1691       'browser/history/web_history_service_factory.cc',
1692       'browser/history/web_history_service_factory.h',
1693     ],
1694     'chrome_browser_jni_sources': [
1695       'android/java/src/org/chromium/chrome/browser/AccessibilityUtil.java',
1696       'android/java/src/org/chromium/chrome/browser/AfterStartupTaskUtils.java',
1697       'android/java/src/org/chromium/chrome/browser/ApplicationLifetime.java',
1698       'android/java/src/org/chromium/chrome/browser/accessibility/FontSizePrefs.java',
1699       'android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java',
1700       'android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerAndroid.java',
1701       'android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogResult.java',
1702       'android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java',
1703       'android/java/src/org/chromium/chrome/browser/autofill/AutofillLogger.java',
1704       'android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java',
1705       'android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java',
1706       'android/java/src/org/chromium/chrome/browser/autofill/CreditCardScanner.java',
1707       'android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationPopupBridge.java',
1708       'android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java',
1709       'android/java/src/org/chromium/chrome/browser/BookmarksBridge.java',
1710       'android/java/src/org/chromium/chrome/browser/bookmark/EditBookmarkHelper.java',
1711       'android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java',
1712       'android/java/src/org/chromium/chrome/browser/CertificateViewer.java',
1713       'android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java',
1714       'android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountFeedbackReporter.java',
1715       'android/java/src/org/chromium/chrome/browser/ChromeApplication.java',
1716       'android/java/src/org/chromium/chrome/browser/ChromeBrowserProvider.java',
1717       'android/java/src/org/chromium/chrome/browser/ChromeHttpAuthHandler.java',
1718       'android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java',
1719       'android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java',
1720       'android/java/src/org/chromium/chrome/browser/compositor/CompositorView.java',
1721       'android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java',
1722       'android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java',
1723       'android/java/src/org/chromium/chrome/browser/compositor/scene_layer/ContextualSearchSceneLayer.java',
1724       'android/java/src/org/chromium/chrome/browser/compositor/scene_layer/ReaderModeSceneLayer.java',
1725       'android/java/src/org/chromium/chrome/browser/compositor/scene_layer/SceneLayer.java',
1726       'android/java/src/org/chromium/chrome/browser/compositor/scene_layer/StaticTabSceneLayer.java',
1727       'android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java',
1728       'android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabStripSceneLayer.java',
1729       'android/java/src/org/chromium/chrome/browser/ConnectionInfoPopup.java',
1730       'android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java',
1731       'android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java',
1732       'android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java',
1733       'android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java',
1734       'android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java',
1735       'android/java/src/org/chromium/chrome/browser/DevToolsServer.java',
1736       'android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java',
1737       'android/java/src/org/chromium/chrome/browser/document/DocumentWebContentsDelegate.java',
1738       'android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReporter.java',
1739       'android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerServiceFactory.java',
1740       'android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java',
1741       'android/java/src/org/chromium/chrome/browser/download/ChromeDownloadDelegate.java',
1742       'android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java',
1743       'android/java/src/org/chromium/chrome/browser/favicon/LargeIconBridge.java',
1744       'android/java/src/org/chromium/chrome/browser/feedback/ConnectivityChecker.java',
1745       'android/java/src/org/chromium/chrome/browser/findinpage/FindInPageBridge.java',
1746       'android/java/src/org/chromium/chrome/browser/fullscreen/FullscreenInfoBarDelegate.java',
1747       'android/java/src/org/chromium/chrome/browser/historyreport/HistoryReportJniBridge.java',
1748       'android/java/src/org/chromium/chrome/browser/JavaExceptionReporter.java',
1749       'android/java/src/org/chromium/chrome/browser/IntentHelper.java',
1750       'android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java',
1751       'android/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.java',
1752       'android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java',
1753       'android/java/src/org/chromium/chrome/browser/media/router/ChromeMediaRouter.java',
1754       'android/java/src/org/chromium/chrome/browser/media/router/ChromeMediaRouterDialogController.java',
1755       'android/java/src/org/chromium/chrome/browser/metrics/UmaSessionStats.java',
1756       'android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java',
1757       'android/java/src/org/chromium/chrome/browser/metrics/VariationsSession.java',
1758       'android/java/src/org/chromium/chrome/browser/NavigationPopup.java',
1759       'android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java',
1760       'android/java/src/org/chromium/chrome/browser/ntp/ForeignSessionHelper.java',
1761       'android/java/src/org/chromium/chrome/browser/ntp/LogoBridge.java',
1762       'android/java/src/org/chromium/chrome/browser/ntp/NewTabPagePrefs.java',
1763       'android/java/src/org/chromium/chrome/browser/ntp/RecentlyClosedBridge.java',
1764       'android/java/src/org/chromium/chrome/browser/infobar/DownloadOverwriteInfoBar.java',
1765       'android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java',
1766       'android/java/src/org/chromium/chrome/browser/net/qualityprovider/ExternalEstimateProviderAndroid.java',
1767       'android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java',
1768       'android/java/src/org/chromium/chrome/browser/offline_pages/OfflinePageBridge.java',
1769       'android/java/src/org/chromium/chrome/browser/omnibox/AnswersImage.java',
1770       'android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java',
1771       'android/java/src/org/chromium/chrome/browser/omnibox/OmniboxPrerender.java',
1772       'android/java/src/org/chromium/chrome/browser/omnibox/OmniboxUrlEmphasizer.java',
1773       'android/java/src/org/chromium/chrome/browser/omnibox/OmniboxViewUtil.java',
1774       'android/java/src/org/chromium/chrome/browser/partnerbookmarks/PartnerBookmarksReader.java',
1775       'android/java/src/org/chromium/chrome/browser/password_manager/Credential.java',
1776       'android/java/src/org/chromium/chrome/browser/PasswordUIView.java',
1777       'android/java/src/org/chromium/chrome/browser/precache/PrecacheLauncher.java',
1778       'android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileBridge.java',
1779       'android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java',
1780       'android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java',
1781       'android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java',
1782       'android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java',
1783       'android/java/src/org/chromium/chrome/browser/profiles/Profile.java',
1784       'android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java',
1785       'android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java',
1786       'android/java/src/org/chromium/chrome/browser/rappor/RapporServiceBridge.java',
1787       'android/java/src/org/chromium/chrome/browser/rlz/RevenueStats.java',
1788       'android/java/src/org/chromium/chrome/browser/ShortcutHelper.java',
1789       'android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java',
1790       'android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java',
1791       'android/java/src/org/chromium/chrome/browser/signin/AccountManagementScreenHelper.java',
1792       'android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java',
1793       'android/java/src/org/chromium/chrome/browser/signin/SigninManager.java',
1794       'android/java/src/org/chromium/chrome/browser/snackbar/smartlockautosignin/AutoSigninSnackbarController.java',
1795       'android/java/src/org/chromium/chrome/browser/spellchecker/SpellCheckerSessionBridge.java',
1796       'android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java',
1797       'android/java/src/org/chromium/chrome/browser/tab/Tab.java',
1798       'android/java/src/org/chromium/chrome/browser/tab/ThumbnailTabHelper.java',
1799       'android/java/src/org/chromium/chrome/browser/tabmodel/SingleTabModel.java',
1800       'android/java/src/org/chromium/chrome/browser/tabmodel/TabModelJniBridge.java',
1801       'android/java/src/org/chromium/chrome/browser/TabState.java',
1802       'android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java',
1803       'android/java/src/org/chromium/chrome/browser/UrlUtilities.java',
1804       'android/java/src/org/chromium/chrome/browser/WarmupManager.java',
1805       'android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java',
1806       'android/java/src/org/chromium/chrome/browser/WebContentsFactory.java',
1807       'android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java',
1808       'android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarAndroid.java',
1809       'android/java/src/org/chromium/chrome/browser/infobar/AccountChooserInfoBar.java',
1810       'android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java',
1811       'android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBarDelegate.java',
1812       'android/java/src/org/chromium/chrome/browser/infobar/DataReductionProxyInfoBarDelegate.java',
1813       'android/java/src/org/chromium/chrome/browser/infobar/GeneratedPasswordSavedInfoBarDelegate.java',
1814       'android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java',
1815       'android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java',
1816       'android/java/src/org/chromium/chrome/browser/infobar/PermissionUpdateInfoBarDelegate.java',
1817       'android/java/src/org/chromium/chrome/browser/infobar/SavePasswordInfoBar.java',
1818       'android/java/src/org/chromium/chrome/browser/invalidation/InvalidationServiceFactory.java',
1819       'android/java/src/org/chromium/chrome/browser/metrics/LaunchMetrics.java',
1820       'android/java/src/org/chromium/chrome/browser/ssl/ConnectionSecurity.java',
1821       'android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java',
1822       'android/java/src/org/chromium/chrome/browser/webapps/AddToHomescreenDialogHelper.java',
1823     ],
1824     'chrome_browser_mdns_sources': [
1825       'browser/local_discovery/privet_traffic_detector.cc',
1826       'browser/local_discovery/privet_traffic_detector.h',
1827       'browser/local_discovery/service_discovery_client_mdns.cc',
1828       'browser/local_discovery/service_discovery_client_mdns.h',
1829       'browser/local_discovery/service_discovery_client_utility.cc',
1830       'browser/local_discovery/service_discovery_client_utility.h',
1831       'browser/local_discovery/service_discovery_host_client.cc',
1832       'browser/local_discovery/service_discovery_host_client.h',
1833     ],
1834     'chrome_browser_metrics_sources': [
1835       'browser/metrics/chrome_browser_main_extra_parts_metrics.cc',
1836       'browser/metrics/chrome_browser_main_extra_parts_metrics.h',
1837       'browser/metrics/chrome_browser_main_extra_parts_metrics_mac.mm',
1838       'browser/metrics/chrome_metrics_service_accessor.cc',
1839       'browser/metrics/chrome_metrics_service_accessor.h',
1840       'browser/metrics/chrome_metrics_service_client.cc',
1841       'browser/metrics/chrome_metrics_service_client.h',
1842       'browser/metrics/chrome_stability_metrics_provider.cc',
1843       'browser/metrics/chrome_stability_metrics_provider.h',
1844       'browser/metrics/field_trial_synchronizer.cc',
1845       'browser/metrics/field_trial_synchronizer.h',
1846       'browser/metrics/first_web_contents_profiler.cc',
1847       'browser/metrics/first_web_contents_profiler.h',
1848       'browser/metrics/google_update_metrics_provider_win.cc',
1849       'browser/metrics/google_update_metrics_provider_win.h',
1850       'browser/metrics/jumplist_metrics_win.cc',
1851       'browser/metrics/jumplist_metrics_win.h',
1852       'browser/metrics/metrics_memory_details.cc',
1853       'browser/metrics/metrics_memory_details.h',
1854       'browser/metrics/metrics_reporting_state.cc',
1855       'browser/metrics/metrics_reporting_state.h',
1856       'browser/metrics/metrics_services_manager.cc',
1857       'browser/metrics/metrics_services_manager.h',
1858       'browser/metrics/perf_provider_chromeos.cc',
1859       'browser/metrics/perf_provider_chromeos.h',
1860       'browser/metrics/signin_status_metrics_provider.cc',
1861       'browser/metrics/signin_status_metrics_provider.h',
1862       'browser/metrics/signin_status_metrics_provider_base.cc',
1863       'browser/metrics/signin_status_metrics_provider_base.h',
1864       'browser/metrics/signin_status_metrics_provider_chromeos.cc',
1865       'browser/metrics/signin_status_metrics_provider_chromeos.h',
1866       'browser/metrics/thread_watcher.cc',
1867       'browser/metrics/thread_watcher.h',
1868       'browser/metrics/thread_watcher_android.cc',
1869       'browser/metrics/thread_watcher_android.h',
1870       'browser/metrics/thread_watcher_report_hang.cc',
1871       'browser/metrics/thread_watcher_report_hang.h',
1872       'browser/metrics/time_ticks_experiment_win.cc',
1873       'browser/metrics/time_ticks_experiment_win.h',
1874       'browser/metrics/variations/chrome_variations_service_client.cc',
1875       'browser/metrics/variations/chrome_variations_service_client.h',
1876       'browser/metrics/variations/generated_resources_map.h',
1877       'browser/metrics/variations/generated_resources_map_lookup.cc',
1878       'browser/metrics/variations/variations_registry_syncer_win.cc',
1879       'browser/metrics/variations/variations_registry_syncer_win.h',
1880       'browser/metrics/variations/variations_service.cc',
1881       'browser/metrics/variations/variations_service.h',
1882     ],
1883     'chrome_browser_nacl_sources': [
1884       'browser/nacl_host/nacl_browser_delegate_impl.cc',
1885       'browser/nacl_host/nacl_browser_delegate_impl.h',
1886       'browser/nacl_host/nacl_infobar_delegate.cc',
1887       'browser/nacl_host/nacl_infobar_delegate.h',
1888     ],
1889     'chrome_browser_net_sources': [
1890       'browser/net/async_dns_field_trial.cc',
1891       'browser/net/async_dns_field_trial.h',
1892       'browser/net/certificate_error_reporter.cc',
1893       'browser/net/certificate_error_reporter.h',
1894       'browser/net/chrome_cookie_notification_details.h',
1895       'browser/net/chrome_extensions_network_delegate.cc',
1896       'browser/net/chrome_extensions_network_delegate.h',
1897       'browser/net/chrome_http_user_agent_settings.cc',
1898       'browser/net/chrome_http_user_agent_settings.h',
1899       'browser/net/chrome_net_log.cc',
1900       'browser/net/chrome_net_log.h',
1901       'browser/net/chrome_network_delegate.cc',
1902       'browser/net/chrome_network_delegate.h',
1903       'browser/net/chrome_url_request_context_getter.cc',
1904       'browser/net/chrome_url_request_context_getter.h',
1905       'browser/net/connect_interceptor.cc',
1906       'browser/net/connect_interceptor.h',
1907       'browser/net/cookie_store_util.cc',
1908       'browser/net/cookie_store_util.h',
1909       'browser/net/crl_set_fetcher.cc',
1910       'browser/net/crl_set_fetcher.h',
1911       'browser/net/dns_probe_runner.cc',
1912       'browser/net/dns_probe_runner.h',
1913       'browser/net/dns_probe_service.cc',
1914       'browser/net/dns_probe_service.h',
1915       'browser/net/file_downloader.cc',
1916       'browser/net/file_downloader.h',
1917       'browser/net/http_server_properties_manager_factory.cc',
1918       'browser/net/http_server_properties_manager_factory.h',
1919       'browser/net/net_error_diagnostics_dialog.h',
1920       'browser/net/net_error_diagnostics_dialog_mac.cc',
1921       'browser/net/net_error_diagnostics_dialog_win.cc',
1922       'browser/net/net_error_tab_helper.cc',
1923       'browser/net/net_error_tab_helper.h',
1924       'browser/net/net_log_temp_file.cc',
1925       'browser/net/net_log_temp_file.h',
1926       'browser/net/net_pref_observer.cc',
1927       'browser/net/net_pref_observer.h',
1928       'browser/net/preconnect.cc',
1929       'browser/net/preconnect.h',
1930       'browser/net/prediction_options.cc',
1931       'browser/net/prediction_options.h',
1932       'browser/net/predictor.cc',
1933       'browser/net/predictor.h',
1934       'browser/net/pref_proxy_config_tracker.cc',
1935       'browser/net/pref_proxy_config_tracker.h',
1936       'browser/net/pref_proxy_config_tracker_impl.cc',
1937       'browser/net/pref_proxy_config_tracker_impl.h',
1938       'browser/net/probe_message.cc',
1939       'browser/net/probe_message.h',
1940       'browser/net/proxy_service_factory.cc',
1941       'browser/net/proxy_service_factory.h',
1942       'browser/net/quota_policy_channel_id_store.cc',
1943       'browser/net/quota_policy_channel_id_store.h',
1944       'browser/net/referrer.cc',
1945       'browser/net/referrer.h',
1946       'browser/net/request_source_bandwidth_histograms.cc',
1947       'browser/net/request_source_bandwidth_histograms.h',
1948       'browser/net/resource_prefetch_predictor_observer.cc',
1949       'browser/net/resource_prefetch_predictor_observer.h',
1950       'browser/net/safe_search_util.cc',
1951       'browser/net/safe_search_util.h',
1952       'browser/net/service_providers_win.cc',
1953       'browser/net/service_providers_win.h',
1954       'browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc',
1955       'browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h',
1956       'browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc',
1957       'browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h',
1958       'browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.cc',
1959       'browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h',
1960       'browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.cc',
1961       'browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.h',
1962       'browser/net/spdyproxy/data_reduction_proxy_settings_android.cc',
1963       'browser/net/spdyproxy/data_reduction_proxy_settings_android.h',
1964       'browser/net/ssl_config_service_manager.h',
1965       'browser/net/ssl_config_service_manager_pref.cc',
1966       'browser/net/timed_cache.cc',
1967       'browser/net/timed_cache.h',
1968       'browser/net/url_info.cc',
1969       'browser/net/url_info.h',
1970     ],
1971     # Used on all platforms when notifications are enabled.
1972     'chrome_browser_notifications_sources': [
1973       'browser/notifications/desktop_notification_profile_util.cc',
1974       'browser/notifications/desktop_notification_profile_util.h',
1975       'browser/notifications/login_state_notification_blocker_chromeos.cc',
1976       'browser/notifications/login_state_notification_blocker_chromeos.h',
1977       'browser/notifications/message_center_notification_manager_win.cc',
1978       'browser/notifications/notification.cc',
1979       'browser/notifications/notification.h',
1980       'browser/notifications/notification_delegate.h',
1981       'browser/notifications/notification_object_proxy.cc',
1982       'browser/notifications/notification_object_proxy.h',
1983       'browser/notifications/notification_permission_context.cc',
1984       'browser/notifications/notification_permission_context.h',
1985       'browser/notifications/notification_permission_context_factory.cc',
1986       'browser/notifications/notification_permission_context_factory.h',
1987       'browser/notifications/notification_permission_infobar_delegate.cc',
1988       'browser/notifications/notification_permission_infobar_delegate.h',
1989       'browser/notifications/notification_ui_manager.h',
1990       'browser/notifications/notification_ui_manager_android.cc',
1991       'browser/notifications/notification_ui_manager_android.h',
1992       'browser/notifications/notifier_state_tracker.cc',
1993       'browser/notifications/notifier_state_tracker.h',
1994       'browser/notifications/notifier_state_tracker_factory.cc',
1995       'browser/notifications/notifier_state_tracker_factory.h',
1996       'browser/notifications/persistent_notification_delegate.cc',
1997       'browser/notifications/persistent_notification_delegate.h',
1998       'browser/notifications/platform_notification_service_impl.cc',
1999       'browser/notifications/platform_notification_service_impl.h',
2000       'browser/notifications/profile_notification.cc',
2001       'browser/notifications/profile_notification.h',
2002       'browser/push_messaging/push_messaging_notification_manager.cc',
2003       'browser/push_messaging/push_messaging_notification_manager.h',
2004     ],
2005     # Used on non-Android platforms when notifications are enabled.
2006     'chrome_browser_notifications_non_android_sources': [
2007       'browser/notifications/extension_welcome_notification.cc',
2008       'browser/notifications/extension_welcome_notification.h',
2009       'browser/notifications/extension_welcome_notification_factory.cc',
2010       'browser/notifications/extension_welcome_notification_factory.h',
2011       'browser/notifications/fullscreen_notification_blocker.cc',
2012       'browser/notifications/fullscreen_notification_blocker.h',
2013       'browser/notifications/google_now_notification_stats_collector.cc',
2014       'browser/notifications/google_now_notification_stats_collector.h',
2015       'browser/notifications/message_center_notification_manager.cc',
2016       'browser/notifications/message_center_notification_manager.h',
2017       'browser/notifications/message_center_settings_controller.cc',
2018       'browser/notifications/message_center_settings_controller.h',
2019       'browser/notifications/message_center_stats_collector.cc',
2020       'browser/notifications/message_center_stats_collector.h',
2021       'browser/notifications/notification_conversion_helper.cc',
2022       'browser/notifications/notification_conversion_helper.h',
2023       'browser/notifications/notification_system_observer.cc',
2024       'browser/notifications/notification_system_observer.h',
2025       'browser/notifications/notification_ui_manager_desktop.cc',
2026       'browser/notifications/screen_lock_notification_blocker.cc',
2027       'browser/notifications/screen_lock_notification_blocker.h',
2028     ],
2029     'chrome_browser_nss_sources': [
2030       'browser/certificate_manager_model.cc',
2031       'browser/certificate_manager_model.h',
2032       'browser/net/nss_context.cc',
2033       'browser/net/nss_context.h',
2034       'browser/net/nss_context_chromeos.cc',
2035       'browser/net/nss_context_linux.cc',
2036       'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
2037       'third_party/mozilla_security_manager/nsNSSCertHelper.h',
2038       'third_party/mozilla_security_manager/nsNSSCertificate.cpp',
2039       'third_party/mozilla_security_manager/nsNSSCertificate.h',
2040       'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp',
2041       'third_party/mozilla_security_manager/nsUsageArrayHelper.h',
2042     ],
2043     'chrome_browser_password_manager_sources': [
2044       'browser/password_manager/chrome_password_manager_client.cc',
2045       'browser/password_manager/chrome_password_manager_client.h',
2046       'browser/password_manager/password_manager_util_android.cc',
2047       'browser/password_manager/password_manager_util_linux.cc',
2048       'browser/password_manager/password_manager_util_mac.mm',
2049       'browser/password_manager/password_manager_util_win.cc',
2050       'browser/password_manager/password_store_factory.cc',
2051       'browser/password_manager/password_store_factory.h',
2052       'browser/password_manager/password_store_mac.cc',
2053       'browser/password_manager/password_store_mac.h',
2054       'browser/password_manager/password_store_mac_internal.h',
2055       'browser/password_manager/password_store_proxy_mac.cc',
2056       'browser/password_manager/password_store_proxy_mac.h',
2057       'browser/password_manager/password_store_win.cc',
2058       'browser/password_manager/password_store_win.h',
2059       'browser/password_manager/password_store_x.cc',
2060       'browser/password_manager/password_store_x.h',
2061       'browser/password_manager/save_password_infobar_delegate.cc',
2062       'browser/password_manager/save_password_infobar_delegate.h',
2063       'browser/password_manager/simple_password_store_mac.cc',
2064       'browser/password_manager/simple_password_store_mac.h',
2065       'browser/password_manager/sync_metrics.cc',
2066       'browser/password_manager/sync_metrics.h',
2067     ],
2068     'chrome_browser_permissions_sources': [
2069       'browser/permissions/permission_bubble_request_impl.cc',
2070       'browser/permissions/permission_bubble_request_impl.h',
2071       'browser/permissions/permission_context.cc',
2072       'browser/permissions/permission_context.h',
2073       'browser/permissions/permission_context_base.cc',
2074       'browser/permissions/permission_context_base.h',
2075       'browser/permissions/permission_context_uma_util.cc',
2076       'browser/permissions/permission_context_uma_util.h',
2077       'browser/permissions/permission_infobar_delegate.cc',
2078       'browser/permissions/permission_infobar_delegate.h',
2079       'browser/permissions/permission_manager.cc',
2080       'browser/permissions/permission_manager.h',
2081       'browser/permissions/permission_manager_factory.cc',
2082       'browser/permissions/permission_manager_factory.h',
2083       'browser/permissions/permission_queue_controller.cc',
2084       'browser/permissions/permission_queue_controller.h',
2085       'browser/permissions/permission_request_id.cc',
2086       'browser/permissions/permission_request_id.h',
2087       'browser/permissions/permission_update_infobar_delegate_android.cc',
2088       'browser/permissions/permission_update_infobar_delegate_android.h',
2089     ],
2090     # See also the plugin_installation_sources list below.
2091     'chrome_browser_plugins_sources': [
2092       'browser/browsing_data/browsing_data_flash_lso_helper.cc',
2093       'browser/browsing_data/browsing_data_flash_lso_helper.h',
2094       'browser/component_updater/flash_component_installer.h',
2095       'browser/component_updater/pepper_flash_component_installer.cc',
2096       'browser/metrics/plugin_metrics_provider.cc',
2097       'browser/metrics/plugin_metrics_provider.h',
2098       'browser/pepper_broker_infobar_delegate.cc',
2099       'browser/pepper_broker_infobar_delegate.h',
2100       'browser/pepper_flash_settings_manager.cc',
2101       'browser/pepper_flash_settings_manager.h',
2102       'browser/plugins/chrome_content_browser_client_plugins_part.cc',
2103       'browser/plugins/chrome_content_browser_client_plugins_part.h',
2104       'browser/plugins/chrome_plugin_service_filter.cc',
2105       'browser/plugins/chrome_plugin_service_filter.h',
2106       'browser/plugins/plugin_data_remover_helper.cc',
2107       'browser/plugins/plugin_data_remover_helper.h',
2108       'browser/plugins/plugin_finder.cc',
2109       'browser/plugins/plugin_finder.h',
2110       'browser/plugins/plugin_info_message_filter.cc',
2111       'browser/plugins/plugin_info_message_filter.h',
2112       'browser/plugins/plugin_infobar_delegates.cc',
2113       'browser/plugins/plugin_infobar_delegates.h',
2114       'browser/plugins/plugin_metadata.cc',
2115       'browser/plugins/plugin_metadata.h',
2116       'browser/plugins/plugin_observer.cc',
2117       'browser/plugins/plugin_observer.h',
2118       'browser/plugins/plugin_prefs.cc',
2119       'browser/plugins/plugin_prefs.h',
2120       'browser/plugins/plugin_prefs_factory.cc',
2121       'browser/plugins/plugin_prefs_factory.h',
2122       'browser/plugins/plugin_status_pref_setter.cc',
2123       'browser/plugins/plugin_status_pref_setter.h',
2124       'browser/renderer_host/pepper/chrome_browser_pepper_host_factory.cc',
2125       'browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h',
2126       'browser/renderer_host/pepper/device_id_fetcher.cc',
2127       'browser/renderer_host/pepper/device_id_fetcher.h',
2128       'browser/renderer_host/pepper/monitor_finder_mac.h',
2129       'browser/renderer_host/pepper/monitor_finder_mac.mm',
2130       'browser/renderer_host/pepper/pepper_broker_message_filter.cc',
2131       'browser/renderer_host/pepper/pepper_broker_message_filter.h',
2132       'browser/renderer_host/pepper/pepper_flash_browser_host.cc',
2133       'browser/renderer_host/pepper/pepper_flash_browser_host.h',
2134       'browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc',
2135       'browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.h',
2136       'browser/renderer_host/pepper/pepper_flash_drm_host.cc',
2137       'browser/renderer_host/pepper/pepper_flash_drm_host.h',
2138       'browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc',
2139       'browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h',
2140       'browser/renderer_host/pepper/pepper_output_protection_message_filter.cc',
2141       'browser/renderer_host/pepper/pepper_output_protection_message_filter.h',
2142     ],
2143     'chrome_browser_plugin_installation_sources': [
2144       'browser/plugins/plugin_installer.cc',
2145       'browser/plugins/plugin_installer.h',
2146       'browser/plugins/plugin_installer_observer.cc',
2147       'browser/plugins/plugin_installer_observer.h',
2148       'browser/plugins/plugins_resource_service.cc',
2149       'browser/plugins/plugins_resource_service.h',
2150     ],
2151     # Files to compile when configuration policy is disabled. Note that the
2152     # connector factory is also used when policy is enabled.
2153     'chrome_browser_policy_disabled_sources': [
2154       'browser/policy/profile_policy_connector.h',
2155       'browser/policy/profile_policy_connector_factory.cc',
2156       'browser/policy/profile_policy_connector_factory.h',
2157       'browser/policy/profile_policy_connector_stub.cc',
2158     ],
2159     # Files to use when configuration policy is enabled that are also shared
2160     # with iOS. Non-iOS policy files are below.
2161     'chrome_browser_policy_shared_with_ios_sources': [
2162       'browser/net/proxy_policy_handler.cc',
2163       'browser/net/proxy_policy_handler.h',
2164       'browser/policy/cloud/cloud_policy_invalidator.cc',
2165       'browser/policy/cloud/cloud_policy_invalidator.h',
2166       'browser/policy/cloud/policy_header_service_factory.cc',
2167       'browser/policy/cloud/policy_header_service_factory.h',
2168       'browser/policy/cloud/user_cloud_policy_invalidator.cc',
2169       'browser/policy/cloud/user_cloud_policy_invalidator.h',
2170       'browser/policy/cloud/user_cloud_policy_invalidator_factory.cc',
2171       'browser/policy/cloud/user_cloud_policy_invalidator_factory.h',
2172       'browser/policy/configuration_policy_handler_list_factory.cc',
2173       'browser/policy/configuration_policy_handler_list_factory.h',
2174       'browser/policy/managed_bookmarks_policy_handler.cc',
2175       'browser/policy/managed_bookmarks_policy_handler.h',
2176       'browser/policy/policy_helpers.cc',
2177       'browser/policy/policy_helpers.h',
2178       'browser/policy/profile_policy_connector.cc',
2179       'browser/policy/profile_policy_connector.h',
2180       'browser/policy/profile_policy_connector_factory.cc',
2181       'browser/policy/profile_policy_connector_factory.h',
2182       'browser/policy/schema_registry_service.cc',
2183       'browser/policy/schema_registry_service.h',
2184       'browser/policy/schema_registry_service_factory.cc',
2185       'browser/policy/schema_registry_service_factory.h',
2186       'browser/profiles/incognito_mode_policy_handler.cc',
2187       'browser/profiles/incognito_mode_policy_handler.h',
2188     ],
2189     # Same as the "policy shared with ios" section above, but these files are
2190     # not used on ChromeOS.
2191     'chrome_browser_policy_shared_with_ios_not_chromeos_sources': [
2192       'browser/policy/cloud/user_cloud_policy_manager_factory.cc',
2193       'browser/policy/cloud/user_cloud_policy_manager_factory.h',
2194       'browser/policy/cloud/user_policy_signin_service_base.cc',
2195       'browser/policy/cloud/user_policy_signin_service_base.h',
2196       'browser/policy/cloud/user_policy_signin_service_factory.cc',
2197       'browser/policy/cloud/user_policy_signin_service_factory.h',
2198     ],
2199     # Files to use when configuration policy is enabled that are not shared
2200     # with iOS.
2201     'chrome_browser_policy_non_ios_sources': [
2202       'browser/policy/chrome_browser_policy_connector.cc',
2203       'browser/policy/chrome_browser_policy_connector.h',
2204       'browser/policy/cloud/remote_commands_invalidator.cc',
2205       'browser/policy/cloud/remote_commands_invalidator.h',
2206       'browser/policy/cloud/remote_commands_invalidator_impl.cc',
2207       'browser/policy/cloud/remote_commands_invalidator_impl.h',
2208       'browser/policy/device_management_service_configuration.cc',
2209       'browser/policy/device_management_service_configuration.h',
2210       'browser/policy/file_selection_dialogs_policy_handler.cc',
2211       'browser/policy/file_selection_dialogs_policy_handler.h',
2212       'browser/policy/javascript_policy_handler.cc',
2213       'browser/policy/javascript_policy_handler.h',
2214       'browser/policy/network_prediction_policy_handler.cc',
2215       'browser/policy/network_prediction_policy_handler.h',
2216       'browser/sessions/restore_on_startup_policy_handler.cc',
2217       'browser/sessions/restore_on_startup_policy_handler.h',
2218     ],
2219     # Policy sources used only on Android and iOS (CrOS not counted).
2220     'chrome_browser_policy_mobile_sources': [
2221       'browser/policy/cloud/user_policy_signin_service_mobile.cc',
2222       'browser/policy/cloud/user_policy_signin_service_mobile.h',
2223     ],
2224     # Policy sources used only on desktop OS's (CrOS not counted).
2225     'chrome_browser_policy_desktop_sources': [
2226       'browser/policy/cloud/user_policy_signin_service.cc',
2227       'browser/policy/cloud/user_policy_signin_service.h',
2228       'browser/sync/sync_global_error.cc',
2229       'browser/sync/sync_global_error.h',
2230       'browser/sync/sync_global_error_factory.cc',
2231       'browser/sync/sync_global_error_factory.h',
2232       'browser/upgrade_detector_impl.cc',
2233       'browser/upgrade_detector_impl.h',
2234     ],
2235     'chrome_browser_predictor_sources': [
2236       'browser/predictors/autocomplete_action_predictor.cc',
2237       'browser/predictors/autocomplete_action_predictor.h',
2238       'browser/predictors/autocomplete_action_predictor_factory.cc',
2239       'browser/predictors/autocomplete_action_predictor_factory.h',
2240       'browser/predictors/autocomplete_action_predictor_table.cc',
2241       'browser/predictors/autocomplete_action_predictor_table.h',
2242       'browser/predictors/predictor_database.cc',
2243       'browser/predictors/predictor_database.h',
2244       'browser/predictors/predictor_database_factory.cc',
2245       'browser/predictors/predictor_database_factory.h',
2246       'browser/predictors/predictor_table_base.cc',
2247       'browser/predictors/predictor_table_base.h',
2248       'browser/predictors/resource_prefetch_common.cc',
2249       'browser/predictors/resource_prefetch_common.h',
2250       'browser/predictors/resource_prefetch_predictor.cc',
2251       'browser/predictors/resource_prefetch_predictor.h',
2252       'browser/predictors/resource_prefetch_predictor_factory.cc',
2253       'browser/predictors/resource_prefetch_predictor_factory.h',
2254       'browser/predictors/resource_prefetch_predictor_tab_helper.cc',
2255       'browser/predictors/resource_prefetch_predictor_tab_helper.h',
2256       'browser/predictors/resource_prefetch_predictor_tables.cc',
2257       'browser/predictors/resource_prefetch_predictor_tables.h',
2258       'browser/predictors/resource_prefetcher.cc',
2259       'browser/predictors/resource_prefetcher.h',
2260       'browser/predictors/resource_prefetcher_manager.cc',
2261       'browser/predictors/resource_prefetcher_manager.h',
2262     ],
2263     'chrome_browser_pref_sources': [
2264       'browser/prefs/browser_prefs.cc',
2265       'browser/prefs/browser_prefs.h',
2266       'browser/prefs/chrome_pref_service_factory.cc',
2267       'browser/prefs/chrome_pref_service_factory.h',
2268       'browser/prefs/command_line_pref_store.cc',
2269       'browser/prefs/command_line_pref_store.h',
2270       'browser/prefs/incognito_mode_prefs.cc',
2271       'browser/prefs/incognito_mode_prefs.h',
2272       'browser/prefs/pref_metrics_service.cc',
2273       'browser/prefs/pref_metrics_service.h',
2274       'browser/prefs/pref_model_associator.cc',
2275       'browser/prefs/pref_model_associator.h',
2276       'browser/prefs/pref_service_syncable.cc',
2277       'browser/prefs/pref_service_syncable.h',
2278       'browser/prefs/pref_service_syncable_factory.cc',
2279       'browser/prefs/pref_service_syncable_factory.h',
2280       'browser/prefs/pref_service_syncable_observer.h',
2281       'browser/prefs/profile_pref_store_manager.cc',
2282       'browser/prefs/profile_pref_store_manager.h',
2283       'browser/prefs/session_startup_pref.cc',
2284       'browser/prefs/session_startup_pref.h',
2285       'browser/prefs/synced_pref_change_registrar.cc',
2286       'browser/prefs/synced_pref_change_registrar.h',
2287       'browser/prefs/synced_pref_observer.h',
2288     ],
2289     # Used both when (enable_basic_printing==1 or enable_print_preview==1).
2290     'chrome_browser_printing_basic_sources': [
2291       'browser/printing/print_job.cc',
2292       'browser/printing/print_job.h',
2293       'browser/printing/print_job_manager.cc',
2294       'browser/printing/print_job_manager.h',
2295       'browser/printing/print_job_worker.cc',
2296       'browser/printing/print_job_worker.h',
2297       'browser/printing/print_job_worker_owner.cc',
2298       'browser/printing/print_job_worker_owner.h',
2299       'browser/printing/print_view_manager_base.cc',
2300       'browser/printing/print_view_manager_base.h',
2301       'browser/printing/print_view_manager_common.cc',
2302       'browser/printing/print_view_manager_common.h',
2303       'browser/printing/printer_query.cc',
2304       'browser/printing/printer_query.h',
2305       'browser/printing/printing_message_filter.cc',
2306       'browser/printing/printing_message_filter.h',
2307     ],
2308     # Used only in (enable_basic_printing==1 and enable_print_preview==0) mode.
2309     'chrome_browser_printing_basic_only_sources': [
2310       'browser/printing/print_view_manager_basic.cc',
2311       'browser/printing/print_view_manager_basic.h',
2312     ],
2313     'chrome_browser_printing_emf_sources': [
2314       'browser/printing/pdf_to_emf_converter.cc',
2315       'browser/printing/pdf_to_emf_converter.h',
2316     ],
2317     # Used on top of the "basic" sources when enable_print_preview==1.
2318     'chrome_browser_printing_full_sources': [
2319       'browser/local_discovery/pwg_raster_converter.cc',
2320       'browser/local_discovery/pwg_raster_converter.h',
2321       'browser/printing/background_printing_manager.cc',
2322       'browser/printing/background_printing_manager.h',
2323       'browser/printing/cloud_print/cloud_print_proxy_service.cc',
2324       'browser/printing/cloud_print/cloud_print_proxy_service.h',
2325       'browser/printing/cloud_print/cloud_print_proxy_service_factory.cc',
2326       'browser/printing/cloud_print/cloud_print_proxy_service_factory.h',
2327       'browser/printing/print_dialog_cloud.cc',
2328       'browser/printing/print_dialog_cloud.h',
2329       'browser/printing/print_dialog_cloud_posix.cc',
2330       'browser/printing/print_dialog_cloud_win.cc',
2331       'browser/printing/print_error_dialog.cc',
2332       'browser/printing/print_error_dialog.h',
2333       'browser/printing/print_preview_context_menu_observer.cc',
2334       'browser/printing/print_preview_context_menu_observer.h',
2335       'browser/printing/print_preview_data_service.cc',
2336       'browser/printing/print_preview_data_service.h',
2337       'browser/printing/print_preview_dialog_controller.cc',
2338       'browser/printing/print_preview_dialog_controller.h',
2339       'browser/printing/print_preview_message_handler.cc',
2340       'browser/printing/print_preview_message_handler.h',
2341       'browser/printing/print_view_manager.cc',
2342       'browser/printing/print_view_manager.h',
2343       'browser/printing/print_view_manager_observer.h',
2344       'browser/printing/printer_manager_dialog.h',
2345       'browser/printing/printer_manager_dialog_linux.cc',
2346       'browser/printing/printer_manager_dialog_mac.mm',
2347       'browser/printing/printer_manager_dialog_win.cc',
2348       'browser/service_process/service_process_control.cc',
2349       'browser/service_process/service_process_control.h',
2350       'browser/service_process/service_process_control_mac.mm',
2351       'browser/task_manager/printing_information.cc',
2352       'browser/task_manager/printing_information.h',
2353     ],
2354     'chrome_browser_profiles_sources': [
2355       'browser/profiles/avatar_menu_actions.h',
2356       'browser/profiles/bookmark_model_loaded_observer.cc',
2357       'browser/profiles/bookmark_model_loaded_observer.h',
2358       'browser/profiles/chrome_browser_main_extra_parts_profiles.cc',
2359       'browser/profiles/chrome_browser_main_extra_parts_profiles.h',
2360       'browser/profiles/chrome_version_service.cc',
2361       'browser/profiles/chrome_version_service.h',
2362       'browser/profiles/file_path_verifier_win.cc',
2363       'browser/profiles/file_path_verifier_win.h',
2364       'browser/profiles/gaia_info_update_service.cc',
2365       'browser/profiles/gaia_info_update_service.h',
2366       'browser/profiles/gaia_info_update_service_factory.cc',
2367       'browser/profiles/gaia_info_update_service_factory.h',
2368       'browser/profiles/incognito_helpers.cc',
2369       'browser/profiles/incognito_helpers.h',
2370       'browser/profiles/off_the_record_profile_impl.cc',
2371       'browser/profiles/off_the_record_profile_impl.h',
2372       'browser/profiles/off_the_record_profile_io_data.cc',
2373       'browser/profiles/off_the_record_profile_io_data.h',
2374       'browser/profiles/profile.cc',
2375       'browser/profiles/profile.h',
2376       'browser/profiles/profile_android.cc',
2377       'browser/profiles/profile_android.h',
2378       'browser/profiles/profile_attributes_entry.cc',
2379       'browser/profiles/profile_attributes_entry.h',
2380       'browser/profiles/profile_attributes_storage.h',
2381       'browser/profiles/profile_avatar_downloader.cc',
2382       'browser/profiles/profile_avatar_downloader.h',
2383       'browser/profiles/profile_avatar_icon_util.cc',
2384       'browser/profiles/profile_avatar_icon_util.h',
2385       'browser/profiles/profile_destroyer.cc',
2386       'browser/profiles/profile_destroyer.h',
2387       'browser/profiles/profile_downloader.cc',
2388       'browser/profiles/profile_downloader.h',
2389       'browser/profiles/profile_downloader_delegate.h',
2390       'browser/profiles/profile_impl.cc',
2391       'browser/profiles/profile_impl.h',
2392       'browser/profiles/profile_impl_io_data.cc',
2393       'browser/profiles/profile_impl_io_data.h',
2394       'browser/profiles/profile_info_cache.cc',
2395       'browser/profiles/profile_info_cache.h',
2396       'browser/profiles/profile_info_cache_observer.h',
2397       'browser/profiles/profile_info_interface.h',
2398       'browser/profiles/profile_io_data.cc',
2399       'browser/profiles/profile_io_data.h',
2400       'browser/profiles/profile_list.h',
2401       'browser/profiles/profile_manager.cc',
2402       'browser/profiles/profile_manager.h',
2403       'browser/profiles/profile_metrics.cc',
2404       'browser/profiles/profile_metrics.h',
2405       'browser/profiles/profile_metrics_mac.mm',
2406       'browser/profiles/profile_shortcut_manager_win.cc',
2407       'browser/profiles/profile_shortcut_manager_win.h',
2408       'browser/profiles/profiles_state.cc',
2409       'browser/profiles/profiles_state.h',
2410       'browser/profiles/storage_partition_descriptor.h',
2411     ],
2412     'chrome_browser_rlz_sources': [
2413       'browser/rlz/chrome_rlz_tracker_delegate.cc',
2414       'browser/rlz/chrome_rlz_tracker_delegate.h',
2415     ],
2416     # "Safe Browsing Basic" files used for safe browsing in full mode
2417     # (safe_browsing=1), mobile (=2), and mobile-extended (=3).
2418     'chrome_browser_safe_browsing_basic_sources': [
2419       'browser/renderer_host/data_reduction_proxy_resource_throttle_android.cc',
2420       'browser/renderer_host/data_reduction_proxy_resource_throttle_android.h',
2421       'browser/safe_browsing/malware_details.cc',
2422       'browser/safe_browsing/malware_details.h',
2423       'browser/safe_browsing/malware_details_cache.cc',
2424       'browser/safe_browsing/malware_details_cache.h',
2425       'browser/safe_browsing/malware_details_history.cc',
2426       'browser/safe_browsing/malware_details_history.h',
2427       'browser/safe_browsing/ping_manager.cc',
2428       'browser/safe_browsing/ping_manager.h',
2429       'browser/safe_browsing/protocol_manager_helper.cc',
2430       'browser/safe_browsing/protocol_manager_helper.h',
2431       'browser/safe_browsing/safe_browsing_blocking_page.cc',
2432       'browser/safe_browsing/safe_browsing_blocking_page.h',
2433       'browser/safe_browsing/safe_browsing_service.cc',
2434       'browser/safe_browsing/safe_browsing_service.h',
2435       'browser/safe_browsing/safe_browsing_util.cc',
2436       'browser/safe_browsing/safe_browsing_util.h',
2437       'browser/safe_browsing/ui_manager.cc',
2438       'browser/safe_browsing/ui_manager.h',
2439     ],
2440     # "Safe Browsing Extended Mobile" files in addition to the "basic" ones
2441     # to use for mobile_extended mode. This has some in common with "full."
2442     'chrome_browser_safe_browsing_mobile_extended_sources': [
2443       'browser/renderer_host/safe_browsing_resource_throttle.cc',
2444       'browser/renderer_host/safe_browsing_resource_throttle.h',
2445       'browser/safe_browsing/database_manager.h',
2446       'browser/safe_browsing/remote_database_manager.cc',
2447       'browser/safe_browsing/remote_database_manager.h',
2448       'browser/safe_browsing/safe_browsing_api_handler.cc',
2449       'browser/safe_browsing/safe_browsing_api_handler.h',
2450     ],
2451     # "Safe Browsing Full" files in addition to the "basic" ones to use for
2452     # full safe browsing. This has some in common with "mobile_extended."
2453     'chrome_browser_safe_browsing_full_sources': [
2454       'browser/download/download_completion_blocker.cc',
2455       'browser/download/download_completion_blocker.h',
2456       'browser/renderer_host/safe_browsing_resource_throttle.cc',
2457       'browser/renderer_host/safe_browsing_resource_throttle.h',
2458       'browser/safe_browsing/browser_feature_extractor.cc',
2459       'browser/safe_browsing/browser_feature_extractor.h',
2460       'browser/safe_browsing/browser_features.cc',
2461       'browser/safe_browsing/browser_features.h',
2462       'browser/safe_browsing/chunk_range.cc',
2463       'browser/safe_browsing/chunk_range.h',
2464       'browser/safe_browsing/client_side_detection_host.cc',
2465       'browser/safe_browsing/client_side_detection_host.h',
2466       'browser/safe_browsing/client_side_detection_service.cc',
2467       'browser/safe_browsing/client_side_detection_service.h',
2468       'browser/safe_browsing/client_side_model_loader.cc',
2469       'browser/safe_browsing/client_side_model_loader.h',
2470       'browser/safe_browsing/database_manager.h',
2471       'browser/safe_browsing/download_feedback.cc',
2472       'browser/safe_browsing/download_feedback.h',
2473       'browser/safe_browsing/download_feedback_service.cc',
2474       'browser/safe_browsing/download_feedback_service.h',
2475       'browser/safe_browsing/download_protection_service.cc',
2476       'browser/safe_browsing/download_protection_service.h',
2477       'browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc',
2478       'browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h',
2479       'browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.cc',
2480       'browser/safe_browsing/incident_reporting/binary_integrity_incident.cc',
2481       'browser/safe_browsing/incident_reporting/binary_integrity_incident.h',
2482       'browser/safe_browsing/incident_reporting/blacklist_load_analyzer.cc',
2483       'browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h',
2484       'browser/safe_browsing/incident_reporting/blacklist_load_analyzer_win.cc',
2485       'browser/safe_browsing/incident_reporting/blacklist_load_incident.cc',
2486       'browser/safe_browsing/incident_reporting/blacklist_load_incident.h',
2487       'browser/safe_browsing/incident_reporting/delayed_analysis_callback.h',
2488       'browser/safe_browsing/incident_reporting/delayed_callback_runner.cc',
2489       'browser/safe_browsing/incident_reporting/delayed_callback_runner.h',
2490       'browser/safe_browsing/incident_reporting/download_metadata_manager.cc',
2491       'browser/safe_browsing/incident_reporting/download_metadata_manager.h',
2492       'browser/safe_browsing/incident_reporting/environment_data_collection.cc',
2493       'browser/safe_browsing/incident_reporting/environment_data_collection.h',
2494       'browser/safe_browsing/incident_reporting/environment_data_collection_win.cc',
2495       'browser/safe_browsing/incident_reporting/environment_data_collection_win.h',
2496       'browser/safe_browsing/incident_reporting/incident.cc',
2497       'browser/safe_browsing/incident_reporting/incident.h',
2498       'browser/safe_browsing/incident_reporting/incident_handler_util.cc',
2499       'browser/safe_browsing/incident_reporting/incident_handler_util.h',
2500       'browser/safe_browsing/incident_reporting/incident_receiver.h',
2501       'browser/safe_browsing/incident_reporting/incident_report_uploader.cc',
2502       'browser/safe_browsing/incident_reporting/incident_report_uploader.h',
2503       'browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc',
2504       'browser/safe_browsing/incident_reporting/incident_report_uploader_impl.h',
2505       'browser/safe_browsing/incident_reporting/incident_reporting_service.cc',
2506       'browser/safe_browsing/incident_reporting/incident_reporting_service.h',
2507       'browser/safe_browsing/incident_reporting/last_download_finder.cc',
2508       'browser/safe_browsing/incident_reporting/last_download_finder.h',
2509       'browser/safe_browsing/incident_reporting/module_integrity_verifier_win.cc',
2510       'browser/safe_browsing/incident_reporting/module_integrity_verifier_win.h',
2511       'browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.cc',
2512       'browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.h',
2513       'browser/safe_browsing/incident_reporting/preference_validation_delegate.cc',
2514       'browser/safe_browsing/incident_reporting/preference_validation_delegate.h',
2515       'browser/safe_browsing/incident_reporting/resource_request_detector.cc',
2516       'browser/safe_browsing/incident_reporting/resource_request_detector.h',
2517       'browser/safe_browsing/incident_reporting/resource_request_incident.cc',
2518       'browser/safe_browsing/incident_reporting/resource_request_incident.h',
2519       'browser/safe_browsing/incident_reporting/state_store.cc',
2520       'browser/safe_browsing/incident_reporting/state_store.h',
2521       'browser/safe_browsing/incident_reporting/tracked_preference_incident.cc',
2522       'browser/safe_browsing/incident_reporting/tracked_preference_incident.h',
2523       'browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.cc',
2524       'browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h',
2525       'browser/safe_browsing/incident_reporting/variations_seed_signature_incident.cc',
2526       'browser/safe_browsing/incident_reporting/variations_seed_signature_incident.h',
2527       'browser/safe_browsing/local_database_manager.cc',
2528       'browser/safe_browsing/local_database_manager.h',
2529       'browser/safe_browsing/path_sanitizer.cc',
2530       'browser/safe_browsing/path_sanitizer.h',
2531       'browser/safe_browsing/prefix_set.cc',
2532       'browser/safe_browsing/prefix_set.h',
2533       'browser/safe_browsing/protocol_manager.cc',
2534       'browser/safe_browsing/protocol_manager.h',
2535       'browser/safe_browsing/protocol_parser.cc',
2536       'browser/safe_browsing/protocol_parser.h',
2537       'browser/safe_browsing/safe_browsing_database.cc',
2538       'browser/safe_browsing/safe_browsing_database.h',
2539       'browser/safe_browsing/safe_browsing_store.cc',
2540       'browser/safe_browsing/safe_browsing_store.h',
2541       'browser/safe_browsing/safe_browsing_store_file.cc',
2542       'browser/safe_browsing/safe_browsing_store_file.h',
2543       'browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc',
2544       'browser/safe_browsing/sandboxed_dmg_analyzer_mac.h',
2545       'browser/safe_browsing/sandboxed_zip_analyzer.cc',
2546       'browser/safe_browsing/sandboxed_zip_analyzer.h',
2547       'browser/safe_browsing/two_phase_uploader.cc',
2548       'browser/safe_browsing/two_phase_uploader.h',
2549     ],
2550     'chrome_browser_search_engines_sources': [
2551       'browser/search_engines/chrome_template_url_service_client.cc',
2552       'browser/search_engines/chrome_template_url_service_client.h',
2553       'browser/search_engines/search_provider_install_data.cc',
2554       'browser/search_engines/search_provider_install_data.h',
2555       'browser/search_engines/search_provider_install_state_message_filter.cc',
2556       'browser/search_engines/search_provider_install_state_message_filter.h',
2557       'browser/search_engines/template_url_fetcher_factory.cc',
2558       'browser/search_engines/template_url_fetcher_factory.h',
2559       'browser/search_engines/template_url_service_android.cc',
2560       'browser/search_engines/template_url_service_android.h',
2561       'browser/search_engines/template_url_service_factory.cc',
2562       'browser/search_engines/template_url_service_factory.h',
2563       'browser/search_engines/ui_thread_search_terms_data.cc',
2564       'browser/search_engines/ui_thread_search_terms_data.h',
2565       'browser/search_engines/ui_thread_search_terms_data_android.cc',
2566       'browser/search_engines/ui_thread_search_terms_data_android.h',
2567     ],
2568     'chrome_browser_service_discovery_sources': [
2569       'browser/local_discovery/cloud_device_list.cc',
2570       'browser/local_discovery/cloud_device_list.h',
2571       'browser/local_discovery/cloud_device_list_delegate.cc',
2572       'browser/local_discovery/cloud_device_list_delegate.h',
2573       'browser/local_discovery/cloud_print_printer_list.cc',
2574       'browser/local_discovery/cloud_print_printer_list.h',
2575       'browser/local_discovery/device_description.cc',
2576       'browser/local_discovery/device_description.h',
2577       'browser/local_discovery/gcd_api_flow.cc',
2578       'browser/local_discovery/gcd_api_flow.h',
2579       'browser/local_discovery/gcd_api_flow_impl.cc',
2580       'browser/local_discovery/gcd_api_flow_impl.h',
2581       'browser/local_discovery/gcd_constants.cc',
2582       'browser/local_discovery/gcd_constants.h',
2583       'browser/local_discovery/gcd_registration_ticket_request.cc',
2584       'browser/local_discovery/gcd_registration_ticket_request.h',
2585       'browser/local_discovery/privet_confirm_api_flow.cc',
2586       'browser/local_discovery/privet_confirm_api_flow.h',
2587       'browser/local_discovery/privet_constants.cc',
2588       'browser/local_discovery/privet_constants.h',
2589       'browser/local_discovery/privet_device_lister.cc',
2590       'browser/local_discovery/privet_device_lister.h',
2591       'browser/local_discovery/privet_device_lister_impl.cc',
2592       'browser/local_discovery/privet_device_lister_impl.h',
2593       'browser/local_discovery/privet_device_resolver.cc',
2594       'browser/local_discovery/privet_device_resolver.h',
2595       'browser/local_discovery/privet_http.cc',
2596       'browser/local_discovery/privet_http.h',
2597       'browser/local_discovery/privet_http_asynchronous_factory.cc',
2598       'browser/local_discovery/privet_http_asynchronous_factory.h',
2599       'browser/local_discovery/privet_http_asynchronous_factory_impl.cc',
2600       'browser/local_discovery/privet_http_asynchronous_factory_impl.h',
2601       'browser/local_discovery/privet_http_impl.cc',
2602       'browser/local_discovery/privet_http_impl.h',
2603       'browser/local_discovery/privet_local_printer_lister.cc',
2604       'browser/local_discovery/privet_local_printer_lister.h',
2605       'browser/local_discovery/privet_notifications.cc',
2606       'browser/local_discovery/privet_notifications.h',
2607       'browser/local_discovery/privet_notifications_factory.cc',
2608       'browser/local_discovery/privet_notifications_factory.h',
2609       'browser/local_discovery/privet_url_fetcher.cc',
2610       'browser/local_discovery/privet_url_fetcher.h',
2611       'browser/local_discovery/privetv3_session.cc',
2612       'browser/local_discovery/privetv3_session.h',
2613       'browser/local_discovery/service_discovery_client_mac.h',
2614       'browser/local_discovery/service_discovery_client_mac.mm',
2615       'browser/local_discovery/service_discovery_client_mac_factory.h',
2616       'browser/local_discovery/service_discovery_client_mac_factory.mm',
2617       'browser/local_discovery/service_discovery_device_lister.cc',
2618       'browser/local_discovery/service_discovery_device_lister.h',
2619       'browser/local_discovery/service_discovery_shared_client.cc',
2620       'browser/local_discovery/service_discovery_shared_client.h',
2621     ],
2622     'chrome_browser_services_sources': [
2623       'browser/services/gcm/gcm_profile_service.cc',
2624       'browser/services/gcm/gcm_profile_service.h',
2625       'browser/services/gcm/gcm_profile_service_factory.cc',
2626       'browser/services/gcm/gcm_profile_service_factory.h',
2627       'browser/services/gcm/instance_id/instance_id_profile_service.cc',
2628       'browser/services/gcm/instance_id/instance_id_profile_service.h',
2629       'browser/services/gcm/instance_id/instance_id_profile_service_factory.cc',
2630       'browser/services/gcm/instance_id/instance_id_profile_service_factory.h',
2631     ],
2632     'chrome_browser_session_sources': [
2633       'browser/sessions/base_session_service_delegate_impl.cc',
2634       'browser/sessions/base_session_service_delegate_impl.h',
2635       'browser/sessions/session_data_deleter.cc',
2636       'browser/sessions/session_data_deleter.h',
2637       'browser/sessions/session_restore_android.cc',
2638       'browser/sessions/session_tab_helper.cc',
2639       'browser/sessions/session_tab_helper.h',
2640       'browser/sessions/tab_restore_service.cc',
2641       'browser/sessions/tab_restore_service.h',
2642       'browser/sessions/tab_restore_service_factory.cc',
2643       'browser/sessions/tab_restore_service_factory.h',
2644       'browser/sessions/tab_restore_service_helper.cc',
2645       'browser/sessions/tab_restore_service_helper.h',
2646     ],
2647     'chrome_browser_session_service_sources': [
2648       'browser/sessions/persistent_tab_restore_service.cc',
2649       'browser/sessions/persistent_tab_restore_service.h',
2650       'browser/sessions/session_restore.cc',
2651       'browser/sessions/session_restore.h',
2652       'browser/sessions/session_restore_delegate.cc',
2653       'browser/sessions/session_restore_delegate.h',
2654       'browser/sessions/session_restore_stats_collector.cc',
2655       'browser/sessions/session_restore_stats_collector.h',
2656       'browser/sessions/session_service.cc',
2657       'browser/sessions/session_service.h',
2658       'browser/sessions/session_service_factory.cc',
2659       'browser/sessions/session_service_factory.h',
2660       'browser/sessions/session_service_utils.cc',
2661       'browser/sessions/session_service_utils.h',
2662       'browser/sessions/tab_loader.cc',
2663       'browser/sessions/tab_loader.h',
2664       'browser/sessions/tab_loader_delegate.cc',
2665       'browser/sessions/tab_loader_delegate.h',
2666     ],
2667     'chrome_browser_signin_sources': [
2668       'browser/signin/about_signin_internals_factory.cc',
2669       'browser/signin/about_signin_internals_factory.h',
2670       'browser/signin/account_fetcher_service_factory.cc',
2671       'browser/signin/account_fetcher_service_factory.h',
2672       'browser/signin/account_reconcilor_factory.cc',
2673       'browser/signin/account_reconcilor_factory.h',
2674       'browser/signin/account_tracker_service_factory.cc',
2675       'browser/signin/account_tracker_service_factory.h',
2676       'browser/signin/chrome_signin_client.cc',
2677       'browser/signin/chrome_signin_client.h',
2678       'browser/signin/chrome_signin_client_factory.cc',
2679       'browser/signin/chrome_signin_client_factory.h',
2680       'browser/signin/chrome_signin_helper.cc',
2681       'browser/signin/chrome_signin_helper.h',
2682       'browser/signin/gaia_cookie_manager_service_factory.cc',
2683       'browser/signin/gaia_cookie_manager_service_factory.h',
2684       'browser/signin/local_auth.cc',
2685       'browser/signin/local_auth.h',
2686       'browser/signin/mutable_profile_oauth2_token_service_delegate.cc',
2687       'browser/signin/mutable_profile_oauth2_token_service_delegate.h',
2688       'browser/signin/profile_oauth2_token_service_factory.cc',
2689       'browser/signin/profile_oauth2_token_service_factory.h',
2690       'browser/signin/signin_error_controller_factory.cc',
2691       'browser/signin/signin_error_controller_factory.h',
2692       'browser/signin/signin_manager_factory.cc',
2693       'browser/signin/signin_manager_factory.h',
2694       'browser/signin/signin_tracker_factory.cc',
2695       'browser/signin/signin_tracker_factory.h',
2696     ],
2697     'chrome_browser_spellchecker_sources': [
2698       'browser/spellchecker/feedback.cc',
2699       'browser/spellchecker/feedback.h',
2700       'browser/spellchecker/feedback_sender.cc',
2701       'browser/spellchecker/feedback_sender.h',
2702       'browser/spellchecker/misspelling.cc',
2703       'browser/spellchecker/misspelling.h',
2704       'browser/spellchecker/spellcheck_action.cc',
2705       'browser/spellchecker/spellcheck_action.h',
2706       'browser/spellchecker/spellcheck_custom_dictionary.cc',
2707       'browser/spellchecker/spellcheck_custom_dictionary.h',
2708       'browser/spellchecker/spellcheck_dictionary.h',
2709       'browser/spellchecker/spellcheck_factory.cc',
2710       'browser/spellchecker/spellcheck_factory.h',
2711       'browser/spellchecker/spellcheck_host_metrics.cc',
2712       'browser/spellchecker/spellcheck_host_metrics.h',
2713       'browser/spellchecker/spellcheck_hunspell_dictionary.cc',
2714       'browser/spellchecker/spellcheck_hunspell_dictionary.h',
2715       'browser/spellchecker/spellcheck_message_filter.cc',
2716       'browser/spellchecker/spellcheck_message_filter.h',
2717       'browser/spellchecker/spellcheck_message_filter_platform.h',
2718       'browser/spellchecker/spellcheck_message_filter_platform_android.cc',
2719       'browser/spellchecker/spellcheck_message_filter_platform_mac.cc',
2720       'browser/spellchecker/spellcheck_platform.h',
2721       'browser/spellchecker/spellcheck_platform_android.cc',
2722       'browser/spellchecker/spellcheck_platform_mac.mm',
2723       'browser/spellchecker/spellcheck_service.cc',
2724       'browser/spellchecker/spellcheck_service.h',
2725       'browser/spellchecker/spellchecker_session_bridge_android.cc',
2726       'browser/spellchecker/spellchecker_session_bridge_android.h',
2727       'browser/spellchecker/spelling_service_client.cc',
2728       'browser/spellchecker/spelling_service_client.h',
2729       'browser/spellchecker/word_trimmer.cc',
2730       'browser/spellchecker/word_trimmer.h',
2731     ],
2732     'chrome_browser_ssl_sources': [
2733       'browser/ssl/bad_clock_blocking_page.cc',
2734       'browser/ssl/bad_clock_blocking_page.h',
2735       'browser/ssl/cert_report_helper.cc',
2736       'browser/ssl/cert_report_helper.h',
2737       'browser/ssl/certificate_error_report.cc',
2738       'browser/ssl/certificate_error_report.h',
2739       'browser/ssl/chrome_ssl_host_state_delegate.cc',
2740       'browser/ssl/chrome_ssl_host_state_delegate.h',
2741       'browser/ssl/chrome_ssl_host_state_delegate_factory.cc',
2742       'browser/ssl/chrome_ssl_host_state_delegate_factory.h',
2743       'browser/ssl/common_name_mismatch_handler.cc',
2744       'browser/ssl/common_name_mismatch_handler.h',
2745       'browser/ssl/connection_security.cc',
2746       'browser/ssl/connection_security.h',
2747       'browser/ssl/connection_security_android.cc',
2748       'browser/ssl/connection_security_android.h',
2749       'browser/ssl/ssl_blocking_page.cc',
2750       'browser/ssl/ssl_blocking_page.h',
2751       'browser/ssl/ssl_cert_reporter.h',
2752       'browser/ssl/ssl_client_certificate_selector.h',
2753       'browser/ssl/ssl_error_classification.cc',
2754       'browser/ssl/ssl_error_classification.h',
2755       'browser/ssl/ssl_error_handler.cc',
2756       'browser/ssl/ssl_error_handler.h',
2757       'browser/ssl/ssl_error_info.cc',
2758       'browser/ssl/ssl_error_info.h',
2759     ],
2760     'chrome_browser_supervised_user_sources': [
2761       'browser/content_settings/content_settings_supervised_provider.cc',
2762       'browser/content_settings/content_settings_supervised_provider.h',
2763       'browser/supervised_user/child_accounts/child_account_feedback_reporter_android.cc',
2764       'browser/supervised_user/child_accounts/child_account_feedback_reporter_android.h',
2765       'browser/supervised_user/child_accounts/child_account_service.cc',
2766       'browser/supervised_user/child_accounts/child_account_service.h',
2767       'browser/supervised_user/child_accounts/child_account_service_android.cc',
2768       'browser/supervised_user/child_accounts/child_account_service_android.h',
2769       'browser/supervised_user/child_accounts/child_account_service_factory.cc',
2770       'browser/supervised_user/child_accounts/child_account_service_factory.h',
2771       'browser/supervised_user/child_accounts/family_info_fetcher.cc',
2772       'browser/supervised_user/child_accounts/family_info_fetcher.h',
2773       'browser/supervised_user/child_accounts/permission_request_creator_apiary.cc',
2774       'browser/supervised_user/child_accounts/permission_request_creator_apiary.h',
2775       'browser/supervised_user/experimental/supervised_user_async_url_checker.cc',
2776       'browser/supervised_user/experimental/supervised_user_async_url_checker.h',
2777       'browser/supervised_user/experimental/supervised_user_blacklist.cc',
2778       'browser/supervised_user/experimental/supervised_user_blacklist.h',
2779       'browser/supervised_user/experimental/supervised_user_filtering_switches.cc',
2780       'browser/supervised_user/experimental/supervised_user_filtering_switches.h',
2781       'browser/supervised_user/permission_request_creator.h',
2782       'browser/supervised_user/supervised_user_bookmarks_handler.cc',
2783       'browser/supervised_user/supervised_user_bookmarks_handler.h',
2784       'browser/supervised_user/supervised_user_constants.cc',
2785       'browser/supervised_user/supervised_user_constants.h',
2786       'browser/supervised_user/supervised_user_interstitial.cc',
2787       'browser/supervised_user/supervised_user_interstitial.h',
2788       'browser/supervised_user/supervised_user_navigation_observer.cc',
2789       'browser/supervised_user/supervised_user_navigation_observer.h',
2790       'browser/supervised_user/supervised_user_pref_store.cc',
2791       'browser/supervised_user/supervised_user_pref_store.h',
2792       'browser/supervised_user/supervised_user_resource_throttle.cc',
2793       'browser/supervised_user/supervised_user_resource_throttle.h',
2794       'browser/supervised_user/supervised_user_service.cc',
2795       'browser/supervised_user/supervised_user_service.h',
2796       'browser/supervised_user/supervised_user_service_factory.cc',
2797       'browser/supervised_user/supervised_user_service_factory.h',
2798       'browser/supervised_user/supervised_user_service_observer.h',
2799       'browser/supervised_user/supervised_user_settings_service.cc',
2800       'browser/supervised_user/supervised_user_settings_service.h',
2801       'browser/supervised_user/supervised_user_settings_service_factory.cc',
2802       'browser/supervised_user/supervised_user_settings_service_factory.h',
2803       'browser/supervised_user/supervised_user_site_list.cc',
2804       'browser/supervised_user/supervised_user_site_list.h',
2805       'browser/supervised_user/supervised_user_sync_data_type_controller.cc',
2806       'browser/supervised_user/supervised_user_sync_data_type_controller.h',
2807       'browser/supervised_user/supervised_user_url_filter.cc',
2808       'browser/supervised_user/supervised_user_url_filter.h',
2809       'browser/supervised_user/supervised_user_whitelist_service.cc',
2810       'browser/supervised_user/supervised_user_whitelist_service.h',
2811       'browser/supervised_user/supervised_users.h',
2812     ],
2813     # TODO(bauerb): This code should be removed (on desktop) once child account
2814     # support has launched (https://crbug.com/505443).
2815     'chrome_browser_supervised_user_legacy_sources': [
2816       'browser/supervised_user/legacy/custodian_profile_downloader_service.cc',
2817       'browser/supervised_user/legacy/custodian_profile_downloader_service.h',
2818       'browser/supervised_user/legacy/custodian_profile_downloader_service_factory.cc',
2819       'browser/supervised_user/legacy/custodian_profile_downloader_service_factory.h',
2820       'browser/supervised_user/legacy/permission_request_creator_sync.cc',
2821       'browser/supervised_user/legacy/permission_request_creator_sync.h',
2822       'browser/supervised_user/legacy/supervised_user_pref_mapping_service.cc',
2823       'browser/supervised_user/legacy/supervised_user_pref_mapping_service.h',
2824       'browser/supervised_user/legacy/supervised_user_pref_mapping_service_factory.cc',
2825       'browser/supervised_user/legacy/supervised_user_pref_mapping_service_factory.h',
2826       'browser/supervised_user/legacy/supervised_user_refresh_token_fetcher.cc',
2827       'browser/supervised_user/legacy/supervised_user_refresh_token_fetcher.h',
2828       'browser/supervised_user/legacy/supervised_user_registration_utility.cc',
2829       'browser/supervised_user/legacy/supervised_user_registration_utility.h',
2830       'browser/supervised_user/legacy/supervised_user_registration_utility_stub.cc',
2831       'browser/supervised_user/legacy/supervised_user_registration_utility_stub.h',
2832       'browser/supervised_user/legacy/supervised_user_shared_settings_service.cc',
2833       'browser/supervised_user/legacy/supervised_user_shared_settings_service.h',
2834       'browser/supervised_user/legacy/supervised_user_shared_settings_service_factory.cc',
2835       'browser/supervised_user/legacy/supervised_user_shared_settings_service_factory.h',
2836       'browser/supervised_user/legacy/supervised_user_shared_settings_update.cc',
2837       'browser/supervised_user/legacy/supervised_user_shared_settings_update.h',
2838       'browser/supervised_user/legacy/supervised_user_sync_service.cc',
2839       'browser/supervised_user/legacy/supervised_user_sync_service.h',
2840       'browser/supervised_user/legacy/supervised_user_sync_service_factory.cc',
2841       'browser/supervised_user/legacy/supervised_user_sync_service_factory.h',
2842       'browser/supervised_user/legacy/supervised_user_sync_service_observer.h',
2843     ],
2844     'chrome_browser_supervised_user_and_themes_sources': [
2845       'browser/supervised_user/supervised_user_theme.cc',
2846       'browser/supervised_user/supervised_user_theme.h',
2847     ],
2848     'chrome_browser_sync_sources': [
2849       'browser/sync/about_sync_util.cc',
2850       'browser/sync/about_sync_util.h',
2851       'browser/sync/backup_rollback_controller.cc',
2852       'browser/sync/backup_rollback_controller.h',
2853       'browser/sync/chrome_sync_client.cc',
2854       'browser/sync/chrome_sync_client.h',
2855       'browser/sync/glue/autofill_data_type_controller.cc',
2856       'browser/sync/glue/autofill_data_type_controller.h',
2857       'browser/sync/glue/autofill_profile_data_type_controller.cc',
2858       'browser/sync/glue/autofill_profile_data_type_controller.h',
2859       'browser/sync/glue/autofill_wallet_data_type_controller.cc',
2860       'browser/sync/glue/autofill_wallet_data_type_controller.h',
2861       'browser/sync/glue/bookmark_change_processor.cc',
2862       'browser/sync/glue/bookmark_change_processor.h',
2863       'browser/sync/glue/bookmark_data_type_controller.cc',
2864       'browser/sync/glue/bookmark_data_type_controller.h',
2865       'browser/sync/glue/bookmark_model_associator.cc',
2866       'browser/sync/glue/bookmark_model_associator.h',
2867       'browser/sync/glue/browser_thread_model_worker.cc',
2868       'browser/sync/glue/browser_thread_model_worker.h',
2869       'browser/sync/glue/chrome_report_unrecoverable_error.cc',
2870       'browser/sync/glue/chrome_report_unrecoverable_error.h',
2871       'browser/sync/glue/extensions_activity_monitor.cc',
2872       'browser/sync/glue/extensions_activity_monitor.h',
2873       'browser/sync/glue/frontend_data_type_controller.cc',
2874       'browser/sync/glue/frontend_data_type_controller.h',
2875       'browser/sync/glue/history_delete_directives_data_type_controller.cc',
2876       'browser/sync/glue/history_delete_directives_data_type_controller.h',
2877       'browser/sync/glue/history_model_worker.cc',
2878       'browser/sync/glue/history_model_worker.h',
2879       'browser/sync/glue/local_device_info_provider_impl.cc',
2880       'browser/sync/glue/local_device_info_provider_impl.h',
2881       'browser/sync/glue/non_frontend_data_type_controller.cc',
2882       'browser/sync/glue/non_frontend_data_type_controller.h',
2883       'browser/sync/glue/password_data_type_controller.cc',
2884       'browser/sync/glue/password_data_type_controller.h',
2885       'browser/sync/glue/search_engine_data_type_controller.cc',
2886       'browser/sync/glue/search_engine_data_type_controller.h',
2887       'browser/sync/glue/sync_backend_host.cc',
2888       'browser/sync/glue/sync_backend_host.h',
2889       'browser/sync/glue/sync_backend_host_core.cc',
2890       'browser/sync/glue/sync_backend_host_core.h',
2891       'browser/sync/glue/sync_backend_host_impl.cc',
2892       'browser/sync/glue/sync_backend_host_impl.h',
2893       'browser/sync/glue/sync_backend_registrar.cc',
2894       'browser/sync/glue/sync_backend_registrar.h',
2895       'browser/sync/glue/sync_start_util.cc',
2896       'browser/sync/glue/sync_start_util.h',
2897       'browser/sync/glue/synced_session_tracker.cc',
2898       'browser/sync/glue/synced_session_tracker.h',
2899       'browser/sync/glue/synced_session_util.cc',
2900       'browser/sync/glue/synced_session_util.h',
2901       'browser/sync/glue/synced_tab_delegate.cc',
2902       'browser/sync/glue/synced_tab_delegate_android.cc',
2903       'browser/sync/glue/synced_tab_delegate_android.h',
2904       'browser/sync/glue/synced_window_delegate.h',
2905       'browser/sync/glue/synced_window_delegate_android.cc',
2906       'browser/sync/glue/synced_window_delegate_android.h',
2907       'browser/sync/glue/typed_url_change_processor.cc',
2908       'browser/sync/glue/typed_url_change_processor.h',
2909       'browser/sync/glue/typed_url_data_type_controller.cc',
2910       'browser/sync/glue/typed_url_data_type_controller.h',
2911       'browser/sync/glue/ui_model_worker.cc',
2912       'browser/sync/glue/ui_model_worker.h',
2913       'browser/sync/profile_sync_components_factory_impl.cc',
2914       'browser/sync/profile_sync_components_factory_impl.h',
2915       'browser/sync/profile_sync_service.cc',
2916       'browser/sync/profile_sync_service.h',
2917       'browser/sync/profile_sync_service_android.cc',
2918       'browser/sync/profile_sync_service_android.h',
2919       'browser/sync/profile_sync_service_factory.cc',
2920       'browser/sync/profile_sync_service_factory.h',
2921       'browser/sync/sessions/notification_service_sessions_router.cc',
2922       'browser/sync/sessions/notification_service_sessions_router.h',
2923       'browser/sync/sessions/session_data_type_controller.cc',
2924       'browser/sync/sessions/session_data_type_controller.h',
2925       'browser/sync/sessions/sessions_sync_manager.cc',
2926       'browser/sync/sessions/sessions_sync_manager.h',
2927       'browser/sync/sessions/synced_window_delegates_getter.cc',
2928       'browser/sync/sessions/synced_window_delegates_getter.h',
2929       'browser/sync/startup_controller.cc',
2930       'browser/sync/startup_controller.h',
2931       'browser/sync/supervised_user_signin_manager_wrapper.cc',
2932       'browser/sync/supervised_user_signin_manager_wrapper.h',
2933       'browser/sync/sync_startup_tracker.cc',
2934       'browser/sync/sync_startup_tracker.h',
2935       'browser/sync/sync_type_preference_provider.h',
2936     ],
2937     'chrome_browser_task_manager_sources': [
2938       # Stats collection for CAPS (uses old task manager):
2939       'browser/caps/generate_state_json.cc',
2940       'browser/caps/generate_state_json.h',
2942       # New Task Manager Sources:
2943       'browser/task_management/providers/browser_process_task.cc',
2944       'browser/task_management/providers/browser_process_task.h',
2945       'browser/task_management/providers/browser_process_task_provider.cc',
2946       'browser/task_management/providers/browser_process_task_provider.h',
2947       'browser/task_management/providers/child_process_task.cc',
2948       'browser/task_management/providers/child_process_task.h',
2949       'browser/task_management/providers/child_process_task_provider.cc',
2950       'browser/task_management/providers/child_process_task_provider.h',
2951       'browser/task_management/providers/task.cc',
2952       'browser/task_management/providers/task.h',
2953       'browser/task_management/providers/task_provider.cc',
2954       'browser/task_management/providers/task_provider.h',
2955       'browser/task_management/providers/task_provider_observer.h',
2956       'browser/task_management/providers/web_contents/background_contents_tag.cc',
2957       'browser/task_management/providers/web_contents/background_contents_tag.h',
2958       'browser/task_management/providers/web_contents/background_contents_task.cc',
2959       'browser/task_management/providers/web_contents/background_contents_task.h',
2960       'browser/task_management/providers/web_contents/devtools_tag.cc',
2961       'browser/task_management/providers/web_contents/devtools_tag.h',
2962       'browser/task_management/providers/web_contents/devtools_task.cc',
2963       'browser/task_management/providers/web_contents/devtools_task.h',
2964       'browser/task_management/providers/web_contents/extension_tag.cc',
2965       'browser/task_management/providers/web_contents/extension_tag.h',
2966       'browser/task_management/providers/web_contents/extension_task.cc',
2967       'browser/task_management/providers/web_contents/extension_task.h',
2968       'browser/task_management/providers/web_contents/guest_tag.cc',
2969       'browser/task_management/providers/web_contents/guest_tag.h',
2970       'browser/task_management/providers/web_contents/guest_task.cc',
2971       'browser/task_management/providers/web_contents/guest_task.h',
2972       'browser/task_management/providers/web_contents/panel_tag.cc',
2973       'browser/task_management/providers/web_contents/panel_tag.h',
2974       'browser/task_management/providers/web_contents/panel_task.cc',
2975       'browser/task_management/providers/web_contents/panel_task.h',
2976       'browser/task_management/providers/web_contents/prerender_tag.cc',
2977       'browser/task_management/providers/web_contents/prerender_tag.h',
2978       'browser/task_management/providers/web_contents/prerender_task.cc',
2979       'browser/task_management/providers/web_contents/prerender_task.h',
2980       'browser/task_management/providers/web_contents/printing_tag.cc',
2981       'browser/task_management/providers/web_contents/printing_tag.h',
2982       'browser/task_management/providers/web_contents/printing_task.cc',
2983       'browser/task_management/providers/web_contents/printing_task.h',
2984       'browser/task_management/providers/web_contents/renderer_task.cc',
2985       'browser/task_management/providers/web_contents/renderer_task.h',
2986       'browser/task_management/providers/web_contents/subframe_task.cc',
2987       'browser/task_management/providers/web_contents/subframe_task.h',
2988       'browser/task_management/providers/web_contents/tab_contents_tag.cc',
2989       'browser/task_management/providers/web_contents/tab_contents_tag.h',
2990       'browser/task_management/providers/web_contents/tab_contents_task.cc',
2991       'browser/task_management/providers/web_contents/tab_contents_task.h',
2992       'browser/task_management/providers/web_contents/web_contents_tag.cc',
2993       'browser/task_management/providers/web_contents/web_contents_tag.h',
2994       'browser/task_management/providers/web_contents/web_contents_tags_manager.cc',
2995       'browser/task_management/providers/web_contents/web_contents_tags_manager.h',
2996       'browser/task_management/providers/web_contents/web_contents_task_provider.cc',
2997       'browser/task_management/providers/web_contents/web_contents_task_provider.h',
2998       'browser/task_management/sampling/task_group.cc',
2999       'browser/task_management/sampling/task_group.h',
3000       'browser/task_management/sampling/task_group_sampler.cc',
3001       'browser/task_management/sampling/task_group_sampler.h',
3002       'browser/task_management/sampling/task_manager_impl.cc',
3003       'browser/task_management/sampling/task_manager_impl.h',
3004       'browser/task_management/sampling/task_manager_io_thread_helper.cc',
3005       'browser/task_management/sampling/task_manager_io_thread_helper.h',
3006       'browser/task_management/task_management_browsertest_util.cc',
3007       'browser/task_management/task_management_browsertest_util.h',
3008       'browser/task_management/task_manager_interface.cc',
3009       'browser/task_management/task_manager_interface.h',
3010       'browser/task_management/task_manager_observer.cc',
3011       'browser/task_management/task_manager_observer.h',
3013       # Old Task Manager Sources:
3014       'browser/task_manager/background_information.cc',
3015       'browser/task_manager/background_information.h',
3016       'browser/task_manager/browser_process_resource_provider.cc',
3017       'browser/task_manager/browser_process_resource_provider.h',
3018       'browser/task_manager/child_process_resource_provider.cc',
3019       'browser/task_manager/child_process_resource_provider.h',
3020       'browser/task_manager/extension_information.cc',
3021       'browser/task_manager/extension_information.h',
3022       'browser/task_manager/guest_information.cc',
3023       'browser/task_manager/guest_information.h',
3024       'browser/task_manager/panel_information.cc',
3025       'browser/task_manager/panel_information.h',
3026       'browser/task_manager/renderer_resource.cc',
3027       'browser/task_manager/renderer_resource.h',
3028       'browser/task_manager/resource_provider.cc',
3029       'browser/task_manager/resource_provider.h',
3030       'browser/task_manager/tab_contents_information.cc',
3031       'browser/task_manager/tab_contents_information.h',
3032       'browser/task_manager/task_manager.cc',
3033       'browser/task_manager/task_manager.h',
3034       'browser/task_manager/task_manager_util.cc',
3035       'browser/task_manager/task_manager_util.h',
3036       'browser/task_manager/web_contents_information.cc',
3037       'browser/task_manager/web_contents_information.h',
3038       'browser/task_manager/web_contents_resource_provider.cc',
3039       'browser/task_manager/web_contents_resource_provider.h',
3040     ],
3041     'chrome_browser_themes_sources': [
3042       'browser/sync/glue/theme_data_type_controller.cc',
3043       'browser/sync/glue/theme_data_type_controller.h',
3044       'browser/themes/browser_theme_pack.cc',
3045       'browser/themes/browser_theme_pack.h',
3046       'browser/themes/custom_theme_supplier.cc',
3047       'browser/themes/custom_theme_supplier.h',
3048       'browser/themes/theme_properties.cc',
3049       'browser/themes/theme_properties.h',
3050       'browser/themes/theme_service.cc',
3051       'browser/themes/theme_service.h',
3052       'browser/themes/theme_service_factory.cc',
3053       'browser/themes/theme_service_factory.h',
3054       'browser/themes/theme_service_mac.mm',
3055       'browser/themes/theme_syncable_service.cc',
3056       'browser/themes/theme_syncable_service.h',
3057     ],
3058     'chrome_browser_undo_sources': [
3059       'browser/undo/bookmark_undo_service_factory.cc',
3060       'browser/undo/bookmark_undo_service_factory.h',
3061     ],
3062     'chrome_browser_web_resource_sources': [
3063       'browser/web_resource/notification_promo.cc',
3064       'browser/web_resource/notification_promo.h',
3065       'browser/web_resource/notification_promo_helper.cc',
3066       'browser/web_resource/notification_promo_helper.h',
3067       'browser/web_resource/promo_resource_service.cc',
3068       'browser/web_resource/promo_resource_service.h',
3069     ],
3070     'chrome_browser_webrtc_sources': [
3071       # TODO(brettw) should webrtc_log_list.cc go here?
3072       'browser/media/webrtc_log_uploader.cc',
3073       'browser/media/webrtc_log_uploader.h',
3074       'browser/media/webrtc_log_util.cc',
3075       'browser/media/webrtc_log_util.h',
3076       'browser/media/webrtc_logging_handler_host.cc',
3077       'browser/media/webrtc_logging_handler_host.h',
3078       'browser/media/webrtc_rtp_dump_handler.cc',
3079       'browser/media/webrtc_rtp_dump_handler.h',
3080       'browser/media/webrtc_rtp_dump_writer.cc',
3081       'browser/media/webrtc_rtp_dump_writer.h',
3082     ],
3083     'chrome_browser_wifi_bootstrapping_sources': [
3084        'browser/local_discovery/wifi/credential_getter_win.cc',
3085        'browser/local_discovery/wifi/credential_getter_win.h',
3086        'browser/local_discovery/wifi/wifi_manager.cc',
3087        'browser/local_discovery/wifi/wifi_manager.h',
3088     ],
3089     # Parts of wifi bootstrapping (above) used everywhere except chromeos.
3090     'chrome_browser_wifi_bootstrapping_win_mac_sources': [
3091        'browser/local_discovery/wifi/wifi_manager_nonchromeos.cc',
3092        'browser/local_discovery/wifi/wifi_manager_nonchromeos.h',
3093     ],
3094   },
3095   'targets': [
3096     {
3097       'target_name': 'browser',
3098       'type': 'static_library',
3099       'variables': { 'enable_wexit_time_destructors': 1, },
3100       'dependencies': [
3101         # NOTE: New dependencies should generally be added in the OS!="ios"
3102         # dependencies block below, rather than here.
3103         'browser_ui',
3104         'cert_logger_proto',
3105         'chrome_resources.gyp:chrome_extra_resources',
3106         'chrome_resources.gyp:chrome_resources',
3107         'chrome_resources.gyp:chrome_strings',
3108         'chrome_resources.gyp:chrome_strings_map',
3109         'chrome_resources.gyp:platform_locale_settings',
3110         'chrome_resources.gyp:theme_resources',
3111         'common',
3112         'encrypted_cert_logger_proto',
3113         'probe_message_proto',
3114         '../components/components.gyp:autofill_core_browser',
3115         '../components/components.gyp:bookmarks_browser',
3116         '../components/components.gyp:bookmarks_managed',
3117         '../components/components.gyp:captive_portal',
3118         '../components/components.gyp:cloud_devices_common',
3119         '../components/components.gyp:component_metrics_proto',
3120         '../components/components.gyp:component_updater',
3121         '../components/components.gyp:compression',
3122         '../components/components.gyp:content_settings_content_common',
3123         '../components/components.gyp:content_settings_core_browser',
3124         '../components/components.gyp:content_settings_core_common',
3125         '../components/components.gyp:crx_file',
3126         '../components/components.gyp:data_reduction_proxy_core_browser',
3127         '../components/components.gyp:domain_reliability',
3128         '../components/components.gyp:enhanced_bookmarks',
3129         '../components/components.gyp:favicon_base',
3130         '../components/components.gyp:favicon_core',
3131         '../components/components.gyp:gcm_driver',
3132         '../components/components.gyp:google_core_browser',
3133         '../components/components.gyp:handoff',
3134         '../components/components.gyp:history_core_browser',
3135         '../components/components.gyp:history_core_common',
3136         '../components/components.gyp:infobars_core',
3137         '../components/components.gyp:instance_id',
3138         '../components/components.gyp:invalidation_impl',
3139         '../components/components.gyp:metrics',
3140         '../components/components.gyp:metrics_gpu',
3141         '../components/components.gyp:metrics_net',
3142         '../components/components.gyp:metrics_profiler',
3143         '../components/components.gyp:navigation_metrics',
3144         '../components/components.gyp:network_time',
3145         '../components/components.gyp:offline_pages',
3146         '../components/components.gyp:omnibox_browser',
3147         '../components/components.gyp:os_crypt',
3148         '../components/components.gyp:password_manager_core_browser',
3149         '../components/components.gyp:password_manager_core_common',
3150         '../components/components.gyp:policy_component',
3151         '../components/components.gyp:proxy_config',
3152         '../components/components.gyp:query_parser',
3153         '../components/components.gyp:rappor',
3154         '../components/components.gyp:renderer_context_menu',
3155         '../components/components.gyp:search',
3156         '../components/components.gyp:search_engines',
3157         '../components/components.gyp:search_provider_logos',
3158         '../components/components.gyp:security_interstitials_core',
3159         '../components/components.gyp:suggestions',
3160         '../components/components.gyp:signin_core_browser',
3161         '../components/components.gyp:startup_metric_utils',
3162         '../components/components.gyp:sync_driver',
3163         '../components/components.gyp:translate_core_browser',
3164         '../components/components.gyp:translate_core_common',
3165         '../components/components.gyp:update_client',
3166         '../components/components.gyp:undo_component',
3167         '../components/components.gyp:user_prefs',
3168         '../components/components.gyp:wallpaper',
3169         '../components/components_strings.gyp:components_strings',
3170         # This depends directly on the variations target, rather than just
3171         # transitively via the common target because the proto sources need to
3172         # be generated before code in this target can start building.
3173         '../components/components.gyp:variations',
3174         '../components/components.gyp:variations_http_provider',
3175         '../components/components.gyp:webdata_common',
3176         '../components/components.gyp:webdata_services',
3177         '../components/mime_util/mime_util.gyp:mime_util',
3178         '../components/tracing.gyp:tracing',
3179         '../components/url_formatter/url_formatter.gyp:url_formatter',
3180         '../content/content.gyp:content_browser',
3181         '../content/content.gyp:content_common',
3182         '../courgette/courgette.gyp:courgette_lib',
3183         '../crypto/crypto.gyp:crypto',
3184         '../google_apis/google_apis.gyp:google_apis',
3185         '../skia/skia.gyp:skia',
3186         '../sql/sql.gyp:sql',
3187         '../sync/sync.gyp:sync',
3188         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
3189         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
3190         '../third_party/icu/icu.gyp:icui18n',
3191         '../third_party/icu/icu.gyp:icuuc',
3192         '../third_party/libxml/libxml.gyp:libxml',
3193         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
3194         '../third_party/zlib/google/zip.gyp:zip',
3195         '../third_party/zlib/zlib.gyp:minizip',
3196         '../third_party/zlib/zlib.gyp:zlib',
3197         '../ui/base/ui_base.gyp:ui_base',
3198         '../ui/events/events.gyp:events_base',
3199         '../ui/gfx/gfx.gyp:gfx',
3200         '../ui/gfx/gfx.gyp:gfx_geometry',
3201         '../ui/message_center/message_center.gyp:message_center',
3202         '../ui/resources/ui_resources.gyp:ui_resources',
3203         '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
3204         '../ui/strings/ui_strings.gyp:ui_strings',
3205       ],
3206       'include_dirs': [
3207         '..',
3208         '<(INTERMEDIATE_DIR)',
3209         # Needed by chrome_content_renderer_client.cc. &
3210         # plugin_info_message_filter.cc.
3211         '<(SHARED_INTERMEDIATE_DIR)',
3212       ],
3213       'export_dependent_settings': [
3214         '../components/components.gyp:autofill_core_browser',
3215         '../content/content.gyp:content_browser',
3216         '../sql/sql.gyp:sql',
3217         '../sync/sync.gyp:sync',
3218       ],
3219       # sources applied to all configurations
3220       'sources': [
3221         '<@(chrome_browser_undo_sources)',
3222       ],
3223       'includes': [
3224         # Disable LTO due to ELF section name out of range
3225         # crbug.com/422251
3226         '../build/android/disable_gcc_lto.gypi',
3227       ],
3228       'conditions': [
3229         ['OS != "ios"', {
3230           'dependencies': [
3231             'apps',
3232             'common_mojo_bindings',
3233             'common_net',
3234             'debugger',
3235             'installer_util',
3236             '../third_party/re2/re2.gyp:re2',
3237             '../cc/cc.gyp:cc',
3238             '../components/components.gyp:about_handler',
3239             '../components/components.gyp:autofill_content_browser',
3240             '../components/components.gyp:browsing_data',
3241             '../components/components.gyp:data_reduction_proxy_content_browser',
3242             '../components/components.gyp:devtools_discovery',
3243             '../components/components.gyp:devtools_http_handler',
3244             '../components/components.gyp:dom_distiller_content_browser',
3245             '../components/components.gyp:favicon_content',
3246             '../components/components.gyp:guest_view_browser',
3247             '../components/components.gyp:history_content_browser',
3248             '../components/components.gyp:keyed_service_content',
3249             '../components/components.gyp:navigation_interception',
3250             '../components/components.gyp:packed_ct_ev_whitelist',
3251             '../components/components.gyp:password_manager_content_browser',
3252             '../components/components.gyp:password_manager_sync_browser',
3253             '../components/components.gyp:plugins_common',
3254             '../components/components.gyp:power',
3255             '../components/components.gyp:safe_json',
3256             '../components/components.gyp:sessions_content',
3257             '../components/components.gyp:storage_monitor',
3258             '../components/components.gyp:translate_content_browser',
3259             '../components/components.gyp:upload_list',
3260             '../components/components.gyp:url_matcher',
3261             '../components/components.gyp:user_prefs_tracked',
3262             '../components/components.gyp:visitedlink_browser',
3263             '../components/components.gyp:visitedlink_common',
3264             '../components/components.gyp:web_cache_browser',
3265             '../components/components.gyp:web_modal',
3266             '../components/components.gyp:web_resource',
3267             '../content/app/resources/content_resources.gyp:content_resources',
3268             '../media/media.gyp:media',
3269             '../media/mojo/interfaces/mojo_bindings.gyp:platform_verification_api',
3270             '../mojo/mojo_base.gyp:mojo_application_base',
3271             '../mojo/mojo_base.gyp:mojo_common_lib',
3272             '../mojo/mojo_base.gyp:mojo_environment_chromium',
3273             '../mojo/mojo_base.gyp:mojo_message_pump_lib',
3274             '../net/net.gyp:net_extras',
3275             '../net/net.gyp:net_with_v8',
3276             '../storage/storage_browser.gyp:storage',
3277             '../storage/storage_common.gyp:storage_common',
3278             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
3279             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
3280             '../third_party/libyuv/libyuv.gyp:libyuv',
3281             '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
3282             '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
3283             '../third_party/mojo/mojo_public.gyp:mojo_js_bindings',
3284             '../third_party/smhasher/smhasher.gyp:cityhash',
3285             '../third_party/webrtc/modules/modules.gyp:desktop_capture',
3286             '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
3287             '../ui/gl/gl.gyp:gl',
3288             '../ui/surface/surface.gyp:surface',
3289             '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
3290             '../v8/tools/gyp/v8.gyp:v8',
3291           ],
3292           'sources': [
3293             '<@(chrome_browser_non_ios_sources)',
3294             '<@(chrome_browser_autocomplete_sources)',
3295             '<@(chrome_browser_bookmark_sources)',
3296             '<@(chrome_browser_browser_process_sources)',
3297             '<@(chrome_browser_content_settings_sources)',
3298             '<@(chrome_browser_engagement_sources)',
3299             '<@(chrome_browser_favicon_sources)',
3300             '<@(chrome_browser_google_sources)',
3301             '<@(chrome_browser_history_sources)',
3302             '<@(chrome_browser_metrics_sources)',
3303             '<@(chrome_browser_net_sources)',
3304             '<@(chrome_browser_password_manager_sources)',
3305             '<@(chrome_browser_permissions_sources)',
3306             '<@(chrome_browser_predictor_sources)',
3307             '<@(chrome_browser_pref_sources)',
3308             '<@(chrome_browser_profiles_sources)',
3309             '<@(chrome_browser_search_engines_sources)',
3310             '<@(chrome_browser_services_sources)',
3311             '<@(chrome_browser_session_sources)',
3312             '<@(chrome_browser_signin_sources)',
3313             '<@(chrome_browser_ssl_sources)',
3314             '<@(chrome_browser_sync_sources)',
3315             '<@(chrome_browser_web_resource_sources)',
3317             # These files are generated by GRIT.
3318             '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources_map.cc',
3319             '<(grit_out_dir)/grit/component_extension_resources_map.cc',
3320             '<(grit_out_dir)/grit/settings_resources_map.cc',
3321             '<(grit_out_dir)/grit/theme_resources_map.cc',
3323             # This file is generated by
3324             # chrome/browser/metrics/variations/generate_resources_map.py
3325             '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/generated_resources_map.cc',
3326           ],
3327           'conditions': [
3328             ['toolkit_views==1', {
3329               'dependencies': [
3330                 '../ui/gfx/gfx.gyp:gfx_vector_icons',
3331                 '../ui/views/views.gyp:views'
3332               ],
3333             }],
3334           ],
3335         }, {  # OS == "ios"
3336           'dependencies': [
3337             '../net/net.gyp:net',
3338           ],
3339           # A few sources had been brought up for iOS before the decision not to
3340           # use chrome/ for iOS long-term. Keep building them to prevent iOS
3341           # regressions until they have been componentized.
3342           'sources': [
3343             '<@(chrome_browser_ios_sources)',
3344             '<@(chrome_browser_google_sources)',
3345           ],
3346           'link_settings': {
3347             'libraries': [
3348               '$(SDKROOT)/System/Library/Frameworks/CoreTelephony.framework',
3349               '$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
3350               '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
3351               '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
3352             ],
3353             # CoreImage is iOS 5+, but iOS 4.3 is still supported.
3354             'xcode_settings': {'OTHER_LDFLAGS': ['-weak_framework CoreImage']},
3355           },
3356         }],
3357         ['OS=="win" or OS=="mac"', {
3358           'sources': [
3359             '<@(chrome_browser_win_mac_sources)',
3360           ],
3361         }],
3362         ['OS!="win" and OS!="mac" and OS!="ios"', {
3363           'sources': [
3364             'browser/net/net_error_diagnostics_dialog_generic.cc',
3365           ],
3366         }],
3367         ['OS!="android" and OS!="ios" and chromeos==0 and configuration_policy==1', {
3368           'sources': [
3369             'browser/net/disk_cache_dir_policy_handler.cc',
3370             'browser/net/disk_cache_dir_policy_handler.h',
3371           ],
3372         }],
3373         ['OS!="android" and OS!="ios" and configuration_policy==1', {
3374           'sources': [
3375             'browser/download/download_dir_policy_handler.cc',
3376             'browser/download/download_dir_policy_handler.h',
3377           ],
3378         }],
3379         ['OS=="mac"', {
3380           'dependencies': [
3381             'app_shim',
3382             'browser_app_shim',
3383           ],
3384           'sources': [ '<@(chrome_browser_mac_sources)' ]
3385         }],
3386         ['chromeos==1', {
3387           'sources!': [
3388             'browser/metrics/signin_status_metrics_provider.cc',
3389             'browser/metrics/signin_status_metrics_provider.h',
3390           ],
3391         }],
3392         ['enable_extensions==1', {
3393           'dependencies': [
3394             'browser_extensions',
3395             'browser/extensions/api/api_registration.gyp:chrome_api_registration',
3396             'common/extensions/api/api.gyp:chrome_api',
3397             'sync_file_system_drive_proto',
3398             '../components/components.gyp:cryptauth',
3399             '../components/components.gyp:drive',
3400             '../media/cast/cast.gyp:cast_net',
3401           ],
3402           'sources': [ '<@(chrome_browser_extensions_sources)' ],
3403         }],
3404         ['enable_background==1', {
3405           'sources': [ '<@(chrome_browser_background_sources)' ],
3406           'conditions': [
3407             ['use_aura==0 or OS=="win"', {
3408               'sources!': [
3409                 'browser/background/background_mode_manager_aura.cc',
3410               ],
3411             }],
3412           ],
3413         }],
3414         ['enable_task_manager==1', {
3415           'sources': [ '<@(chrome_browser_task_manager_sources)' ],
3416         }],
3417         ['enable_media_router==1', {
3418           'dependencies': [
3419             'browser/media/router/media_router.gyp:media_router',
3420           ],
3421         }],
3422         ['buildtype!="Official"', {
3423           'sources': [
3424             'browser/search/local_files_ntp_source.cc',
3425             'browser/search/local_files_ntp_source.h',
3426           ],
3427         }],
3428         ['enable_spellcheck==1', {
3429           'sources': [ '<@(chrome_browser_spellchecker_sources)' ],
3430           'conditions': [
3431             ['OS!="android"', {
3432               'dependencies': [
3433                 '../third_party/hunspell/hunspell.gyp:hunspell',
3434               ],
3435             }],
3436           ],
3437         }],
3438         ['disable_nacl==0', {
3439           'sources': [ '<@(chrome_browser_nacl_sources)' ],
3440           'dependencies': [
3441             '../components/nacl.gyp:nacl_browser',
3442           ],
3443         }],
3444         ['debug_devtools==1', {
3445           'defines': [
3446             'DEBUG_DEVTOOLS=1',
3447           ],
3448         }],
3449         ['configuration_policy==1', {
3450           'sources': [ '<@(chrome_browser_policy_shared_with_ios_sources)' ],
3451           'dependencies': [
3452             '../components/components.gyp:cloud_policy_proto',
3453             '../components/components.gyp:policy',
3454           ],
3455           'conditions': [
3456             ['OS!="ios"', {
3457               'sources': [ '<@(chrome_browser_policy_non_ios_sources)' ],
3458             }],
3459             ['chromeos==0', {
3460               'sources': [
3461                 '<@(chrome_browser_policy_shared_with_ios_not_chromeos_sources)',
3462               ],
3463             }],
3464             ['OS=="win" or OS=="mac" or desktop_linux==1', {
3465               'sources': [ '<@(chrome_browser_policy_desktop_sources)' ],
3466             }],
3467             ['OS=="android" or OS=="ios"', {  # Mobile.
3468               'sources': [ '<@(chrome_browser_policy_mobile_sources)' ],
3469             }, {  # Non-mobile.
3470               'dependencies': [
3471                 'policy_path_parser',
3472               ],
3473             }],
3474           ],
3475         }, {  # configuration_policy==0
3476           'sources': [ '<@(chrome_browser_policy_disabled_sources)' ],
3477         }],
3478         ['enable_plugins==1', {
3479           'dependencies': [
3480             '../components/components.gyp:pdf_browser',
3481             '../ppapi/ppapi_internal.gyp:ppapi_ipc',
3482             '../third_party/adobe/flash/flash_player.gyp:flapper_version_h',
3483           ],
3484           'sources': [ '<@(chrome_browser_plugins_sources)' ],
3485         }],
3486         ['safe_browsing != 0', {
3487           'sources': [ '<@(chrome_browser_safe_browsing_basic_sources)' ],
3488           'dependencies': [
3489             'safe_browsing_chunk_proto',
3490             'safe_browsing_metadata_proto',
3491             'safe_browsing_report_proto',
3492           ],
3493           'conditions': [
3494             ['safe_browsing == 1', {
3495               'sources': [ '<@(chrome_browser_safe_browsing_full_sources)' ],
3496               'dependencies': [
3497                 'safe_browsing_proto',
3498               ],
3499             }],
3500             ['safe_browsing == 3', {
3501               'sources': [ '<@(chrome_browser_safe_browsing_mobile_extended_sources)' ],
3502               'dependencies': [
3503                 'safe_browsing_proto',
3504               ],
3505             }],
3506           ],
3507         }],
3508         ['use_udev == 1', {
3509           'dependencies': [
3510             '../device/udev_linux/udev.gyp:udev_linux',
3511           ],
3512         }],
3513         ['OS=="linux"', {
3514           'dependencies': [
3515             '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_file_entry_proto',
3516             '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_storage_info_proto',
3517             '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
3518           ],
3519         }],
3520         ['OS=="linux" and chromeos==0', {
3521           'dependencies': [
3522             '../build/linux/system.gyp:libspeechd',
3523           ],
3524         }],
3525         ['chromeos==1', {
3526           'sources': [
3527             '<@(chrome_browser_chromeos_sources)',
3529             # This file is generated by GRIT.
3530             '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/resources/grit/ui_chromeos_resources_map.cc',
3531           ],
3532           'dependencies': [
3533             'browser_chromeos',
3534             '../components/components.gyp:user_manager',
3535             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
3536           ],
3537         }, {  # Non-ChromeOS.
3538           'sources': [ '<@(chrome_browser_non_chromeos_sources)' ],
3539         }],
3540         ['use_cups==1', {
3541           'dependencies': [
3542             '../printing/printing.gyp:cups',
3543           ],
3544         }],
3545         ['use_gnome_keyring==1', {
3546           'sources': [ '<@(chrome_browser_gnome_keyring_sources)' ],
3547           'dependencies': [
3548             '../build/linux/system.gyp:gnome_keyring',
3549           ],
3550         }],
3551         ['OS=="linux" and chromeos!=1', {
3552           'sources': [ '<@(chrome_browser_libsecret_sources)' ],
3553           'defines': [
3554             'USE_LIBSECRET',
3555           ],
3556         }],
3557         ['use_aura==1', {
3558           'sources': [ '<@(chrome_browser_aura_sources)' ],
3559           'dependencies': [
3560             '../ui/aura/aura.gyp:aura',
3561             '../ui/compositor/compositor.gyp:compositor',
3562             '../ui/keyboard/keyboard.gyp:keyboard',
3563           ],
3564         }],
3565         ['ui_compositor_image_transport==1', {
3566           'dependencies': [
3567             '../ui/gl/gl.gyp:gl',
3568           ],
3569         }],
3570         ['use_ash==1', {
3571           'sources': [ '<@(chrome_browser_ash_sources)' ],
3572         }],
3573         ['use_x11==1', {
3574           'sources': [ '<@(chrome_browser_x11_sources)' ],
3575         }],
3576         ['os_posix == 1 and OS != "mac" and OS != "ios"', {
3577           'sources': [
3578             'app/chrome_crash_reporter_client.cc',
3579             'app/chrome_crash_reporter_client.h',
3580           ],
3581           'dependencies': [
3582             '../components/components.gyp:breakpad_host',
3583             '../components/components.gyp:crash_component',
3584           ],
3585         }],
3586         ['use_nss_certs==1', {
3587           'sources': [ '<@(chrome_browser_nss_sources)' ],
3588           'conditions': [
3589             ['chromeos==1', {
3590                'sources!': [ 'browser/net/nss_context_linux.cc' ],
3591               }, { # chromeos==0
3592                'sources!': [ 'browser/net/nss_context_chromeos.cc' ],
3593               }],
3594           ],
3595         }],
3596         ['notifications==1', {
3597           'sources': [ '<@(chrome_browser_notifications_sources)' ],
3598           'conditions': [
3599             ['OS!="android"', {
3600               'sources': [
3601                 '<@(chrome_browser_notifications_non_android_sources)',
3602               ],
3603             }],
3604           ],
3605         }],
3606         ['enable_themes==1', {
3607           'sources': [ '<@(chrome_browser_themes_sources)' ],
3608         }],
3609         # Some form of printing support.
3610         ['enable_basic_printing==1 or enable_print_preview==1', {
3611           'dependencies': [
3612             '../printing/printing.gyp:printing',
3613           ],
3614           'sources': [ '<@(chrome_browser_printing_basic_sources)' ],
3615           'conditions': [
3616             ['OS=="win"', {
3617               'sources': [ '<@(chrome_browser_printing_emf_sources)' ],
3618             }],
3619           ],
3620         }],
3621         # Full printing on top of the above.
3622         ['enable_print_preview==1', {
3623           'sources': [ '<@(chrome_browser_printing_full_sources)' ],
3624         }],
3625         # Partial-only printing support.
3626         ['enable_basic_printing==1 and enable_print_preview==0', {
3627           'sources': [ '<@(chrome_browser_printing_basic_only_sources)' ],
3628         }],
3629         ['enable_captive_portal_detection==1', {
3630           'sources': [ '<@(chrome_browser_captive_portal_sources)' ]
3631         }],
3632         ['enable_session_service==1', {
3633           'sources': [ '<@(chrome_browser_session_service_sources)' ],
3634         }],
3635         ['enable_hotwording==1', {
3636           'defines': [ 'ENABLE_HOTWORDING' ],
3637         }],
3638         ['OS!="android" and OS!="ios" and chromeos==0', {
3639           'sources': [ '<@(chrome_browser_desktop_sources)' ],
3640         }],
3641         ['OS=="android" or OS=="ios"', {
3642           'sources': [ '<@(chrome_browser_mobile_sources)' ],
3643         }, {  # OS!="android" and OS!="ios"
3644           'sources': [ '<@(chrome_browser_non_mobile_sources)' ],
3645           'dependencies': [
3646             '../components/components.gyp:feedback_component',
3647             '../device/core/core.gyp:device_core',
3648             '../device/devices_app/devices_app.gyp:devices_app_public_cpp',
3649             '../device/devices_app/devices_app.gyp:devices_app_public_cpp_factory',
3650             '../device/usb/usb.gyp:device_usb',
3651             '../net/net.gyp:net_browser_services',
3652           ]
3653         }],
3654         ['OS=="android"', {
3655           'dependencies': [
3656             '../build/android/ndk.gyp:cpu_features',
3657             '../components/components.gyp:cdm_browser',
3658             '../components/components.gyp:data_reduction_proxy_content',
3659             '../components/components.gyp:enhanced_bookmarks',
3660             '../components/components.gyp:offline_pages',
3661             '../components/components.gyp:precache_content',
3662             '../components/components.gyp:precache_core',
3663             '../components/components.gyp:service_tab_launcher',
3664             '../components/components.gyp:toolbar',
3665             '../components/components.gyp:web_contents_delegate_android',
3666             '../components/components_resources.gyp:components_resources',
3667             '../third_party/android_opengl/etc1/etc1.gyp:etc1',
3668             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util',
3669             'chrome_browser_jni_headers',
3670             'client_discourse_context_proto',
3671             'delta_file_proto',
3672           ],
3673           'dependencies!': [
3674             '../components/components.gyp:storage_monitor',
3675             '../components/components.gyp:web_modal',
3676             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput',
3677           ],
3678           'sources': [
3679             '<@(chrome_browser_android_sources)',
3680             '<@(chrome_browser_bookmark_android_sources)',
3681            ],
3682           'defines': [ 'ENABLE_DATA_REDUCTION_PROXY_DEBUGGING' ],
3683           'conditions': [
3684             ['use_seccomp_bpf==1', {
3685               'defines': ['USE_SECCOMP_BPF'],
3686               'dependencies': [
3687                 '../sandbox/sandbox.gyp:seccomp_bpf',
3688               ],
3689             }],
3690           ],
3691         }],
3692         ['OS=="mac"', {
3693           'dependencies': [
3694             '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
3695             '../third_party/mozilla/mozilla.gyp:mozilla',
3696           ],
3697           'link_settings': {
3698             'libraries': [
3699               '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
3700               '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework',
3701               '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
3702               '$(SDKROOT)/System/Library/Frameworks/DiskArbitration.framework',
3703               '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
3704               '$(SDKROOT)/System/Library/Frameworks/ImageCaptureCore.framework',
3705               '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
3706               '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
3707               '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework',
3708             ],
3709           },
3710         }],
3711         ['enable_rlz==1', {
3712           'dependencies': [
3713             'browser_rlz',
3714           ],
3715         }],
3716         # Temporary fix to break the browser target into smaller chunks so it
3717         # will link with goma builds.
3718         ['OS=="win" and chromium_win_pch==0', {
3719           'msvs_shard': 4,
3720         }],
3721         ['OS=="win"', {
3722           'sources': [ '<@(chrome_browser_win_sources)' ],
3723           'include_dirs': [
3724             '<(DEPTH)/third_party/wtl/include',
3725           ],
3726           'dependencies': [
3727             'chrome_process_finder',
3728             'chrome_watcher_client',
3729             'installer_util_strings',
3730             '../chrome/chrome.gyp:chrome_version_header',
3731             '../chrome_elf/chrome_elf.gyp:chrome_elf',
3732             '../chrome_elf/chrome_elf.gyp:chrome_elf_constants',
3733             '../chrome_elf/chrome_elf.gyp:dll_hash',
3734             '../components/components.gyp:browser_watcher',
3735             '../components/components.gyp:browser_watcher_client',
3736             '../google_update/google_update.gyp:google_update',
3737             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
3738             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
3739             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
3740             '../ui/views/controls/webview/webview.gyp:webview',
3741             '../ui/views/views.gyp:views',
3742             '../win8/win8.gyp:metro_viewer',
3743           ],
3744           'export_dependent_settings': [
3745             '../ui/views/controls/webview/webview.gyp:webview',
3746             '../ui/views/views.gyp:views',
3747           ],
3748           'conditions': [
3749             ['kasko==1', {
3750               'dependencies': [
3751                 'kasko_dll',
3752               ],
3753               'export_dependent_settings': [
3754                 'kasko_dll',
3755               ],
3756             }],
3757             ['win_use_allocator_shim==1', {
3758               'dependencies': [
3759                 '<(allocator_target)',
3760               ],
3761             }],
3762             ['branding!="Chrome"', {
3763               'dependencies!': [
3764                 '../google_update/google_update.gyp:google_update',
3765               ],
3766               'sources!': [
3767                 'browser/google/did_run_updater_win.cc',
3768                 'browser/google/did_run_updater_win.h',
3769                 'browser/google/google_update_win.cc',
3770                 'browser/google/google_update_win.h',
3771               ],
3772             }],
3773           ],
3774           'msvs_settings': {
3775             'VCLinkerTool': {
3776               'DelayLoadDLLs': [
3777                 # Used by browser/net/net_error_diagnostics_dialog_win.h
3778                 'ndfapi.dll',
3779               ],
3780               'AdditionalDependencies': [
3781                 'ndfapi.lib',
3782               ],
3783             },
3784           },
3785           'all_dependent_settings': {
3786             'msvs_settings': {
3787               'VCLinkerTool': {
3788                 'DelayLoadDLLs': [
3789                   'ndfapi.dll',
3790                 ],
3791                 'AdditionalDependencies': [
3792                   'ndfapi.lib',
3793                 ],
3794               },
3795             },
3796           },
3797         }, {  # 'OS!="win"
3798           'sources': [ '<@(chrome_browser_non_win_sources)' ],
3799           'conditions': [
3800             ['use_aura==1', {
3801               'dependencies': [
3802                 '../ui/views/controls/webview/webview.gyp:webview',
3803                 '../ui/views/views.gyp:views',
3804               ],
3805               'include_dirs': [
3806                 '<(INTERMEDIATE_DIR)',
3807                 '<(INTERMEDIATE_DIR)/chrome',
3808               ],
3809             }],
3810           ],
3811         }],
3812         ['OS=="linux"', {
3813           'sources': [ '<@(chrome_browser_linux_sources)' ],
3814           'conditions': [
3815             ['use_aura==1', {
3816               'dependencies': [
3817                 '../build/linux/system.gyp:dbus',
3818                 '../build/linux/system.gyp:fontconfig',
3819                 '../dbus/dbus.gyp:dbus',
3820               ],
3821             }],
3822             # x11 build
3823             ['use_x11==1', {
3824               'dependencies': [
3825                 '../build/linux/system.gyp:x11',
3826                 '../ui/events/devices/events_devices.gyp:events_devices',
3827                 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
3828               ],
3829             }],
3830           ],
3831         }],
3832         ['desktop_linux==1', {
3833           'sources': [ '<@(chrome_browser_linux_desktop_sources)' ],
3834         }],
3835         ['enable_plugin_installation==1', {
3836           'sources': [ '<@(chrome_browser_plugin_installation_sources)' ],
3837         }],
3838         ['enable_app_list==1', {
3839           'dependencies': [
3840             '../ui/app_list/app_list.gyp:app_list',
3841           ]
3842         }],
3843         ['enable_supervised_users==1', {
3844           'sources': [ '<@(chrome_browser_supervised_user_sources)' ],
3845         }],
3846         ['enable_supervised_users==1 and OS!="android" and OS!="ios"', {
3847           'sources': [ '<@(chrome_browser_supervised_user_legacy_sources)' ],
3848         }],
3849         ['enable_supervised_users==1 and enable_themes==1', {
3850           'sources': [ '<@(chrome_browser_supervised_user_and_themes_sources)' ],
3851         }],
3852         ['enable_webrtc==1', {
3853           'sources': [ '<@(chrome_browser_webrtc_sources)' ]
3854         }],
3855         ['enable_service_discovery==1', {
3856           'sources': [ '<@(chrome_browser_service_discovery_sources)' ]
3857         }],
3858         ['enable_mdns==1', {
3859           'sources' : [ '<@(chrome_browser_mdns_sources)' ]
3860         }],
3861         ['enable_autofill_dialog!=1 or OS=="android" or OS=="ios"', {
3862           'sources!': [
3863             'browser/autofill/validation_rules_storage_factory.cc',
3864             'browser/autofill/validation_rules_storage_factory.h',
3865           ],
3866         }],
3867         [ 'enable_wifi_bootstrapping==1', {
3868           'sources': [ '<@(chrome_browser_wifi_bootstrapping_sources)' ],
3869           'conditions' : [
3870             [ 'OS=="win" or OS=="mac"', {
3871               'sources': [
3872                 '<@(chrome_browser_wifi_bootstrapping_win_mac_sources)',
3873               ]
3874             }]
3875           ]
3876         }],
3877         [ 'enable_basic_printing==1 or enable_print_preview==1', {
3878           'dependencies': [
3879             '../components/components.gyp:printing_browser',
3880           ]
3881         }],
3882       ],
3883     },
3884     {
3885       # Protobuf compiler / generator for the certificate error reporting
3886       # protocol buffer.
3887       # GN version: //chrome/browser/ssl:cert_logger_proto
3888       'target_name': 'cert_logger_proto',
3889       'type': 'static_library',
3890       'sources': [ 'browser/ssl/cert_logger.proto', ],
3891       'variables': {
3892         'proto_in_dir': 'browser/ssl',
3893         'proto_out_dir': 'chrome/browser/ssl',
3894       },
3895       'includes': [ '../build/protoc.gypi', ],
3896     },
3897     {
3898       # Protobuf compiler / generator for the encrypted certificate
3899       #  reports protocol buffer.
3900       # GN version: //chrome/browser/net:encrypted_cert_logger_proto
3901       'target_name': 'encrypted_cert_logger_proto',
3902       'type': 'static_library',
3903       'sources': [ 'browser/net/encrypted_cert_logger.proto', ],
3904       'variables': {
3905         'proto_in_dir': 'browser/net',
3906         'proto_out_dir': 'chrome/browser/net',
3907       },
3908       'includes': [ '../build/protoc.gypi', ],
3909     },
3910     {
3911       # Protobuf compiler / generator for Probe Message.
3912       # GN version: //chrome/browser/net:probe_message_proto
3913       'target_name': 'probe_message_proto',
3914       'type': 'static_library',
3915       'sources': [ 'browser/net/probe_message.proto' ],
3916       'variables': {
3917         'proto_in_dir': 'browser/net',
3918         'proto_out_dir': 'chrome/browser/net',
3919       },
3920       'includes': [ '../build/protoc.gypi' ]
3921     },
3922     {
3923       # Protobuf compiler / generator for the safebrowsing chunk
3924       # protocol buffer.
3925       # GN version: //chrome/browser/safe_browsing:chunk_proto
3926       'target_name': 'safe_browsing_chunk_proto',
3927       'type': 'static_library',
3928       'sources': [ 'browser/safe_browsing/chunk.proto' ],
3929       'variables': {
3930         'proto_in_dir': 'browser/safe_browsing',
3931         'proto_out_dir': 'chrome/browser/safe_browsing',
3932       },
3933       'includes': [ '../build/protoc.gypi' ]
3934     },
3935     {
3936       # Protobuf compiler / generator for the safebrowsing full hash metadata
3937       # protocol buffer.
3938       # GN version: //chrome/browser/safe_browsing:metadata_proto
3939       'target_name': 'safe_browsing_metadata_proto',
3940       'type': 'static_library',
3941       'sources': [ 'browser/safe_browsing/metadata.proto' ],
3942       'variables': {
3943         'proto_in_dir': 'browser/safe_browsing',
3944         'proto_out_dir': 'chrome/browser/safe_browsing',
3945       },
3946       'includes': [ '../build/protoc.gypi' ]
3947     },
3948     {
3949       # Protobuf compiler / generator for the safebrowsing reporting
3950       # protocol buffer.
3951       # GN version: //chrome/browser/safe_browsing:report_proto
3952       'target_name': 'safe_browsing_report_proto',
3953       'type': 'static_library',
3954       'sources': [ 'browser/safe_browsing/report.proto' ],
3955       'variables': {
3956         'proto_in_dir': 'browser/safe_browsing',
3957         'proto_out_dir': 'chrome/browser/safe_browsing',
3958       },
3959       'includes': [ '../build/protoc.gypi' ]
3960     },
3961   ],
3962   'conditions': [
3963     ['OS=="android"', {
3964       'targets': [
3965         {
3966           # GN: //chrome/browser:jni_headers
3967           'target_name': 'chrome_browser_jni_headers',
3968           'type': 'none',
3969           'sources': [ '<@(chrome_browser_jni_sources)' ],
3970           'variables': {
3971             'jni_gen_package': 'chrome',
3972           },
3973           'includes': [ '../build/jni_generator.gypi' ],
3974         },
3975         {
3976           # GN: //chrome/android:chrome_android_java_enums_srcjar
3977           'target_name': 'activity_type_ids_java',
3978           'type': 'none',
3979           'variables': {
3980             'source_file': 'browser/android/activity_type_ids.h',
3981           },
3982           'includes': [ '../build/android/java_cpp_enum.gypi' ],
3983         },
3984         {
3985           # GN: //chrome/android:chrome_android_java_enums_srcjar
3986           'target_name': 'connectivity_check_result_java',
3987           'type': 'none',
3988           'variables': {
3989             'source_file': 'browser/android/feedback/connectivity_checker.cc',
3990           },
3991           'includes': [ '../build/android/java_cpp_enum.gypi' ],
3992         },
3993         {
3994           # GN: //chrome/android:resource_id_javagen
3995           'target_name': 'resource_id_java',
3996           'type': 'none',
3997           'sources': [
3998             'android/java/ResourceId.template',
3999           ],
4000           'variables': {
4001             'package_name': 'org/chromium/chrome/browser',
4002             'template_deps': ['browser/android/resource_id.h'],
4003           },
4004           'includes': [ '../build/android/java_cpp_template.gypi' ],
4005         },
4006         {
4007           # GN: //chrome/android:chrome_android_java_enums_srcjar
4008           'target_name': 'profile_account_management_metrics_java',
4009           'type': 'none',
4010           'variables': {
4011             'source_file': 'browser/profiles/profile_metrics.h',
4012           },
4013           'includes': [ '../build/android/java_cpp_enum.gypi' ],
4014         },
4015         {
4016           # GN: //chrome/android:chrome_android_java_enums_srcjar
4017           'target_name': 'connection_security_security_levels_java',
4018           'type': 'none',
4019           'variables': {
4020             'source_file': 'browser/ssl/connection_security.h',
4021           },
4022           'includes': [ '../build/android/java_cpp_enum.gypi' ],
4023         },
4024         {
4025           # GN: //chrome/android:chrome_android_java_enums_srcjar
4026           'target_name': 'tab_load_status_java',
4027           'type': 'none',
4028           'variables': {
4029             'source_file': 'browser/android/tab_android.h',
4030           },
4031           'includes': [ '../build/android/java_cpp_enum.gypi' ],
4032         },
4033         {
4034           # GN: //chrome/android:chrome_android_java_enums_srcjar
4035           'target_name': 'infobar_action_type_java',
4036           'type': 'none',
4037           'variables': {
4038             'source_file': 'browser/ui/android/infobars/infobar_android.h',
4039           },
4040           'includes': [ '../build/android/java_cpp_enum.gypi' ],
4041         },
4042         {
4043           # GN: //chrome/android:chrome_android_java_enums_srcjar
4044           'target_name': 'shortcut_source_java',
4045           'type': 'none',
4046           'variables': {
4047             'source_file': 'browser/android/shortcut_info.h',
4048           },
4049           'includes': [ '../build/android/java_cpp_enum.gypi' ],
4050         },
4051         {
4052           #GN: //chrome/browser:client_discourse_context_proto
4053           'target_name': 'client_discourse_context_proto',
4054           'type': 'static_library',
4055           'sources': ['browser/android/proto/client_discourse_context.proto' ],
4056           'variables': {
4057             'proto_in_dir': 'browser/android/proto',
4058             'proto_out_dir': 'chrome/browser/android/proto',
4059           },
4060           'includes': [ '../build/protoc.gypi', ],
4061         },
4062         {
4063           #GN: //chrome/browser:delta_file_proto
4064           'target_name': 'delta_file_proto',
4065           'type': 'static_library',
4066           'sources': [ 'browser/android/proto/delta_file.proto' ],
4067           'variables': {
4068             'proto_in_dir': 'browser/android/proto',
4069             'proto_out_dir': 'chrome/browser/android/proto',
4070           },
4071           'includes': [ '../build/protoc.gypi', ],
4072         },
4073         {
4074           # Protobuf compiler / generator for Android's DocumentTabModel
4075           # protocol buffer.
4076           # GN: //chrome/android: document_tab_model_info_proto_java
4077           'target_name': 'document_tab_model_info_proto_java',
4078           'type': 'none',
4079           'variables': {
4080             'proto_in_dir': 'android/java/src/org/chromium/chrome/browser/tabmodel/document',
4081           },
4082           'sources': [
4083             '<(proto_in_dir)/document_tab_model_info.proto',
4084           ],
4085           'includes': ['../build/protoc_java.gypi'],
4086         },
4087       ],
4088     },],
4089     ['enable_extensions==1', {
4090       'targets': [
4091         {
4092           # Protobuf compiler / generator for Sync FileSystem protocol buffer.
4093           # GN version: //chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_proto
4094           'target_name': 'sync_file_system_drive_proto',
4095           'type': 'static_library',
4096           'sources': [
4097             'browser/sync_file_system/drive_backend/metadata_database.proto',
4098           ],
4099           'variables': {
4100             'proto_in_dir': 'browser/sync_file_system/drive_backend',
4101             'proto_out_dir': 'chrome/browser/sync_file_system/drive_backend',
4102           },
4103           'includes': [ '../build/protoc.gypi' ]
4104         },
4105       ],
4106     },],
4107     ['enable_rlz_support==1', {
4108       'targets': [
4109         {
4110           # GN version: // chrome/browser:rlz
4111           'target_name': 'browser_rlz',
4112           'type': 'static_library',
4113           'sources': [
4114             '<@(chrome_browser_rlz_sources)',
4115           ],
4116           'dependencies': [
4117             '../components/components.gyp:google_core_browser',
4118             '../components/components.gyp:omnibox_browser',
4119             '../components/components.gyp:rlz',
4120             '../components/components.gyp:search_engines',
4121             '../rlz/rlz.gyp:rlz_lib',
4122           ],
4123         },
4124       ],
4125     }],
4126   ],