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