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