naiveproxy/chrome/browser/BUILD.gn

4829 lines
218 KiB
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chrome_build.gni")
import("//build/config/crypto.gni")
import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//build/split_static_library.gni")
import("//chrome/common/features.gni")
import("//components/feature_engagement/features.gni")
import("//components/nacl/features.gni")
import("//components/offline_pages/features/features.gni")
import("//components/os_crypt/features.gni")
import("//components/signin/features.gni")
import("//components/spellcheck/spellcheck_build_features.gni")
import("//device/vr/features/features.gni")
import("//extensions/features/features.gni")
import("//media/media_options.gni")
import("//net/features.gni")
import("//ppapi/features/features.gni")
import("//printing/features/features.gni")
import("//rlz/features/features.gni")
import("//sandbox/features.gni")
import("//third_party/protobuf/proto_library.gni")
import("//ui/base/ui_features.gni")
# //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which
# produces a conflict for the "grit" template so we have to only include one.
if (is_android) {
import("//build/config/android/rules.gni")
} else {
import("//tools/grit/grit_rule.gni")
}
additional_modules_list_file =
"$root_gen_dir/chrome/browser/internal/additional_modules_list.txt"
if (is_win) {
# This is in a separate config so the flags can be applied to dependents.
# ldflags in GN aren't automatically inherited.
config("browser_win_linker_flags") {
libs = [
"credui.lib",
"cryptui.lib",
"dwmapi.lib",
"netapi32.lib",
"ndfapi.lib", # Used by browser/net/net_error_diagnostics_dialog_win.h
"pdh.lib", # Used by browser/private_working_set_snapshot.h
"msi.lib", # Used by browser/conflicts/msi_util_win.h
]
ldflags = [
"/DELAYLOAD:ndfapi.dll",
"/DELAYLOAD:pdh.dll", # The task manager is rarely used.
]
}
}
# Use a static library here because many test binaries depend on this but don't
# require many files from it. This makes linking more efficient.
split_static_library("browser") {
# Split into multiple static libraries on Windows builds. We have hit size
# limits on Windows official builds and on goma builds when symbol_level = 2
# is selected. Always splitting on Windows builds is simpler than trying to
# perfectly calculate the scenarios where it is required.
if (is_win) {
split_count = 5
} else {
split_count = 1
}
sources = [
"about_flags.cc",
"about_flags.h",
"accessibility/accessibility_permission_context.cc",
"accessibility/accessibility_permission_context.h",
"after_startup_task_utils.cc",
"after_startup_task_utils.h",
"app_controller_mac.h",
"app_controller_mac.mm",
"app_mode/app_mode_utils.cc",
"app_mode/app_mode_utils.h",
"autocomplete/autocomplete_classifier_factory.cc",
"autocomplete/autocomplete_classifier_factory.h",
"autocomplete/chrome_autocomplete_provider_client.cc",
"autocomplete/chrome_autocomplete_provider_client.h",
"autocomplete/chrome_autocomplete_scheme_classifier.cc",
"autocomplete/chrome_autocomplete_scheme_classifier.h",
"autocomplete/contextual_suggestions_service_factory.cc",
"autocomplete/contextual_suggestions_service_factory.h",
"autocomplete/in_memory_url_index_factory.cc",
"autocomplete/in_memory_url_index_factory.h",
"autocomplete/shortcuts_backend_factory.cc",
"autocomplete/shortcuts_backend_factory.h",
"autofill/address_normalizer_factory.cc",
"autofill/address_normalizer_factory.h",
"autofill/personal_data_manager_factory.cc",
"autofill/personal_data_manager_factory.h",
"autofill/risk_util.cc",
"autofill/risk_util.h",
"autofill/validation_rules_storage_factory.cc",
"autofill/validation_rules_storage_factory.h",
"background_fetch/background_fetch_delegate_factory.cc",
"background_fetch/background_fetch_delegate_factory.h",
"background_fetch/background_fetch_delegate_impl.cc",
"background_fetch/background_fetch_delegate_impl.h",
"background_fetch/background_fetch_download_client.cc",
"background_fetch/background_fetch_download_client.h",
"background_sync/background_sync_controller_factory.cc",
"background_sync/background_sync_controller_factory.h",
"background_sync/background_sync_controller_impl.cc",
"background_sync/background_sync_controller_impl.h",
"background_sync/background_sync_permission_context.cc",
"background_sync/background_sync_permission_context.h",
"bad_message.cc",
"bad_message.h",
"banners/app_banner_manager.cc",
"banners/app_banner_manager.h",
"banners/app_banner_metrics.cc",
"banners/app_banner_metrics.h",
"banners/app_banner_settings_helper.cc",
"banners/app_banner_settings_helper.h",
"bitmap_fetcher/bitmap_fetcher.cc",
"bitmap_fetcher/bitmap_fetcher.h",
"bitmap_fetcher/bitmap_fetcher_delegate.h",
"bitmap_fetcher/bitmap_fetcher_service.cc",
"bitmap_fetcher/bitmap_fetcher_service.h",
"bitmap_fetcher/bitmap_fetcher_service_factory.cc",
"bitmap_fetcher/bitmap_fetcher_service_factory.h",
"bookmarks/bookmark_model_factory.cc",
"bookmarks/bookmark_model_factory.h",
"bookmarks/bookmark_stats.cc",
"bookmarks/bookmark_stats.h",
"bookmarks/chrome_bookmark_client.cc",
"bookmarks/chrome_bookmark_client.h",
"bookmarks/managed_bookmark_service_factory.cc",
"bookmarks/managed_bookmark_service_factory.h",
"bookmarks/startup_task_runner_service_factory.cc",
"bookmarks/startup_task_runner_service_factory.h",
"browser_about_handler.cc",
"browser_about_handler.h",
"browser_process.cc",
"browser_process.h",
"browser_process_impl.cc",
"browser_process_impl.h",
"browser_process_platform_part.h",
"browser_process_platform_part_android.cc",
"browser_process_platform_part_android.h",
"browser_process_platform_part_base.cc",
"browser_process_platform_part_base.h",
"browser_process_platform_part_chromeos.cc",
"browser_process_platform_part_chromeos.h",
"browser_process_platform_part_mac.h",
"browser_process_platform_part_mac.mm",
"browser_process_platform_part_win.cc",
"browser_process_platform_part_win.h",
"browser_shutdown.cc",
"browser_shutdown.h",
"browsing_data/browsing_data_appcache_helper.cc",
"browsing_data/browsing_data_appcache_helper.h",
"browsing_data/browsing_data_cache_storage_helper.cc",
"browsing_data/browsing_data_cache_storage_helper.h",
"browsing_data/browsing_data_channel_id_helper.cc",
"browsing_data/browsing_data_channel_id_helper.h",
"browsing_data/browsing_data_cookie_helper.cc",
"browsing_data/browsing_data_cookie_helper.h",
"browsing_data/browsing_data_counter_factory.cc",
"browsing_data/browsing_data_counter_factory.h",
"browsing_data/browsing_data_counter_utils.cc",
"browsing_data/browsing_data_counter_utils.h",
"browsing_data/browsing_data_database_helper.cc",
"browsing_data/browsing_data_database_helper.h",
"browsing_data/browsing_data_file_system_helper.cc",
"browsing_data/browsing_data_file_system_helper.h",
"browsing_data/browsing_data_helper.cc",
"browsing_data/browsing_data_helper.h",
"browsing_data/browsing_data_important_sites_util.cc",
"browsing_data/browsing_data_important_sites_util.h",
"browsing_data/browsing_data_indexed_db_helper.cc",
"browsing_data/browsing_data_indexed_db_helper.h",
"browsing_data/browsing_data_local_storage_helper.cc",
"browsing_data/browsing_data_local_storage_helper.h",
"browsing_data/browsing_data_media_license_helper.cc",
"browsing_data/browsing_data_media_license_helper.h",
"browsing_data/browsing_data_quota_helper.cc",
"browsing_data/browsing_data_quota_helper.h",
"browsing_data/browsing_data_quota_helper_impl.cc",
"browsing_data/browsing_data_quota_helper_impl.h",
"browsing_data/browsing_data_service_worker_helper.cc",
"browsing_data/browsing_data_service_worker_helper.h",
"browsing_data/browsing_data_shared_worker_helper.cc",
"browsing_data/browsing_data_shared_worker_helper.h",
"browsing_data/cache_counter.cc",
"browsing_data/cache_counter.h",
"browsing_data/canonical_cookie_hash.cc",
"browsing_data/canonical_cookie_hash.h",
"browsing_data/chrome_browsing_data_remover_delegate.cc",
"browsing_data/chrome_browsing_data_remover_delegate.h",
"browsing_data/chrome_browsing_data_remover_delegate_factory.cc",
"browsing_data/chrome_browsing_data_remover_delegate_factory.h",
"browsing_data/cookies_tree_model.cc",
"browsing_data/cookies_tree_model.h",
"browsing_data/downloads_counter.cc",
"browsing_data/downloads_counter.h",
"browsing_data/local_data_container.cc",
"browsing_data/local_data_container.h",
"browsing_data/media_licenses_counter.cc",
"browsing_data/media_licenses_counter.h",
"browsing_data/site_data_counter.cc",
"browsing_data/site_data_counter.h",
"browsing_data/site_data_counting_helper.cc",
"browsing_data/site_data_counting_helper.h",
"browsing_data/site_data_size_collector.cc",
"browsing_data/site_data_size_collector.h",
"budget_service/budget_database.cc",
"budget_service/budget_database.h",
"budget_service/budget_manager.cc",
"budget_service/budget_manager.h",
"budget_service/budget_manager_factory.cc",
"budget_service/budget_manager_factory.h",
"budget_service/budget_service_impl.cc",
"budget_service/budget_service_impl.h",
"cache_stats_recorder.cc",
"cache_stats_recorder.h",
"chrome_browser_application_mac.h",
"chrome_browser_application_mac.mm",
"chrome_browser_field_trials.cc",
"chrome_browser_field_trials.h",
"chrome_browser_main.cc",
"chrome_browser_main.h",
"chrome_browser_main_android.cc",
"chrome_browser_main_android.h",
"chrome_browser_main_extra_parts.h",
"chrome_browser_main_linux.cc",
"chrome_browser_main_linux.h",
"chrome_browser_main_mac.h",
"chrome_browser_main_mac.mm",
"chrome_browser_main_win.cc",
"chrome_browser_main_win.h",
"chrome_child_process_watcher.cc",
"chrome_child_process_watcher.h",
"chrome_content_browser_client.cc",
"chrome_content_browser_client.h",
"chrome_content_browser_client_parts.h",
"chrome_device_client.cc",
"chrome_device_client.h",
"chrome_notification_types.h",
"chrome_quota_permission_context.cc",
"chrome_quota_permission_context.h",
"chrome_service.cc",
"chrome_service.h",
"client_hints/client_hints.cc",
"client_hints/client_hints.h",
"client_hints/client_hints_observer.cc",
"client_hints/client_hints_observer.h",
"clipboard/clipboard_read_permission_context.cc",
"clipboard/clipboard_read_permission_context.h",
"clipboard/clipboard_write_permission_context.cc",
"clipboard/clipboard_write_permission_context.h",
"command_observer.h",
"command_updater.h",
"command_updater_delegate.h",
"command_updater_impl.cc",
"command_updater_impl.h",
"component_updater/chrome_component_updater_configurator.cc",
"component_updater/chrome_component_updater_configurator.h",
"component_updater/component_updater_prefs.cc",
"component_updater/component_updater_prefs.h",
"component_updater/component_updater_resource_throttle.cc",
"component_updater/component_updater_resource_throttle.h",
"component_updater/component_updater_utils.cc",
"component_updater/component_updater_utils.h",
"component_updater/crl_set_component_installer.cc",
"component_updater/crl_set_component_installer.h",
"component_updater/file_type_policies_component_installer.cc",
"component_updater/file_type_policies_component_installer.h",
"component_updater/optimization_hints_component_installer.cc",
"component_updater/optimization_hints_component_installer.h",
"component_updater/origin_trials_component_installer.cc",
"component_updater/origin_trials_component_installer.h",
"component_updater/pnacl_component_installer.cc",
"component_updater/pnacl_component_installer.h",
"component_updater/recovery_component_installer.cc",
"component_updater/recovery_component_installer.h",
"component_updater/recovery_improved_component_installer.cc",
"component_updater/recovery_improved_component_installer.h",
"component_updater/sth_set_component_installer.cc",
"component_updater/sth_set_component_installer.h",
"component_updater/subresource_filter_component_installer.cc",
"component_updater/subresource_filter_component_installer.h",
"component_updater/supervised_user_whitelist_installer.cc",
"component_updater/supervised_user_whitelist_installer.h",
"component_updater/sw_reporter_installer_win.cc",
"component_updater/sw_reporter_installer_win.h",
"component_updater/third_party_module_list_component_installer_win.cc",
"component_updater/third_party_module_list_component_installer_win.h",
"conflicts/enumerate_input_method_editors_win.cc",
"conflicts/enumerate_input_method_editors_win.h",
"conflicts/enumerate_shell_extensions_win.cc",
"conflicts/enumerate_shell_extensions_win.h",
"conflicts/installed_programs_win.cc",
"conflicts/installed_programs_win.h",
"conflicts/module_database_observer_win.h",
"conflicts/module_database_win.cc",
"conflicts/module_database_win.h",
"conflicts/module_event_sink_impl_win.cc",
"conflicts/module_event_sink_impl_win.h",
"conflicts/module_info_util_win.cc",
"conflicts/module_info_util_win.h",
"conflicts/module_info_win.cc",
"conflicts/module_info_win.h",
"conflicts/module_inspector_win.cc",
"conflicts/module_inspector_win.h",
"conflicts/module_list_manager_win.cc",
"conflicts/module_list_manager_win.h",
"conflicts/msi_util_win.cc",
"conflicts/msi_util_win.h",
"conflicts/third_party_metrics_recorder_win.cc",
"conflicts/third_party_metrics_recorder_win.h",
"consent_auditor/consent_auditor_factory.cc",
"consent_auditor/consent_auditor_factory.h",
"content_settings/chrome_content_settings_utils.cc",
"content_settings/chrome_content_settings_utils.h",
"content_settings/cookie_settings_factory.cc",
"content_settings/cookie_settings_factory.h",
"content_settings/host_content_settings_map_factory.cc",
"content_settings/host_content_settings_map_factory.h",
"content_settings/local_shared_objects_container.cc",
"content_settings/local_shared_objects_container.h",
"content_settings/mixed_content_settings_tab_helper.cc",
"content_settings/mixed_content_settings_tab_helper.h",
"content_settings/sound_content_setting_observer.cc",
"content_settings/sound_content_setting_observer.h",
"content_settings/tab_specific_content_settings.cc",
"content_settings/tab_specific_content_settings.h",
"content_settings/web_site_settings_uma_util.cc",
"content_settings/web_site_settings_uma_util.h",
"crash_upload_list/crash_upload_list.cc",
"crash_upload_list/crash_upload_list.h",
"crash_upload_list/crash_upload_list_android.cc",
"crash_upload_list/crash_upload_list_android.h",
"custom_handlers/protocol_handler_registry.cc",
"custom_handlers/protocol_handler_registry.h",
"custom_handlers/protocol_handler_registry_factory.cc",
"custom_handlers/protocol_handler_registry_factory.h",
"data_usage/tab_id_annotator.cc",
"data_usage/tab_id_annotator.h",
"data_usage/tab_id_provider.cc",
"data_usage/tab_id_provider.h",
"data_use_measurement/chrome_data_use_ascriber.cc",
"data_use_measurement/chrome_data_use_ascriber.h",
"data_use_measurement/chrome_data_use_ascriber_service.cc",
"data_use_measurement/chrome_data_use_ascriber_service.h",
"data_use_measurement/chrome_data_use_ascriber_service_factory.cc",
"data_use_measurement/chrome_data_use_ascriber_service_factory.h",
"data_use_measurement/chrome_data_use_recorder.cc",
"data_use_measurement/chrome_data_use_recorder.h",
"data_use_measurement/data_use_web_contents_observer.cc",
"data_use_measurement/data_use_web_contents_observer.h",
"defaults.cc",
"defaults.h",
"dom_distiller/dom_distiller_service_factory.cc",
"dom_distiller/dom_distiller_service_factory.h",
"dom_distiller/lazy_dom_distiller_service.cc",
"dom_distiller/lazy_dom_distiller_service.h",
"dom_distiller/profile_utils.cc",
"dom_distiller/profile_utils.h",
"dom_distiller/tab_utils.cc",
"dom_distiller/tab_utils.h",
"domain_reliability/service_factory.cc",
"domain_reliability/service_factory.h",
"download/chrome_download_manager_delegate.cc",
"download/chrome_download_manager_delegate.h",
"download/download_confirmation_reason.h",
"download/download_confirmation_result.h",
"download/download_core_service.cc",
"download/download_core_service.h",
"download/download_core_service_factory.cc",
"download/download_core_service_factory.h",
"download/download_core_service_impl.cc",
"download/download_core_service_impl.h",
"download/download_crx_util_android.cc",
"download/download_file_picker.cc",
"download/download_file_picker.h",
"download/download_history.cc",
"download/download_history.h",
"download/download_item_model.cc",
"download/download_item_model.h",
"download/download_path_reservation_tracker.cc",
"download/download_path_reservation_tracker.h",
"download/download_permission_request.cc",
"download/download_permission_request.h",
"download/download_prefs.cc",
"download/download_prefs.h",
"download/download_query.cc",
"download/download_query.h",
"download/download_request_limiter.cc",
"download/download_request_limiter.h",
"download/download_resource_throttle.cc",
"download/download_resource_throttle.h",
"download/download_service_factory.cc",
"download/download_service_factory.h",
"download/download_started_animation.h",
"download/download_stats.cc",
"download/download_stats.h",
"download/download_status_updater.cc",
"download/download_status_updater.h",
"download/download_status_updater_mac.mm",
"download/download_status_updater_win.cc",
"download/download_target_determiner.cc",
"download/download_target_determiner.h",
"download/download_target_determiner_delegate.h",
"download/download_target_info.cc",
"download/download_target_info.h",
"download/download_task_scheduler_impl.cc",
"download/download_task_scheduler_impl.h",
"download/download_ui_controller.cc",
"download/download_ui_controller.h",
"download/drag_download_item.h",
"download/save_package_file_picker.cc",
"download/save_package_file_picker.h",
"download/trusted_sources_manager.cc",
"download/trusted_sources_manager.h",
"download/trusted_sources_manager_posix.cc",
"download/trusted_sources_manager_win.cc",
"engagement/important_sites_usage_counter.cc",
"engagement/important_sites_usage_counter.h",
"engagement/important_sites_util.cc",
"engagement/important_sites_util.h",
"engagement/site_engagement_helper.cc",
"engagement/site_engagement_helper.h",
"engagement/site_engagement_metrics.cc",
"engagement/site_engagement_metrics.h",
"engagement/site_engagement_observer.cc",
"engagement/site_engagement_observer.h",
"engagement/site_engagement_score.cc",
"engagement/site_engagement_score.h",
"engagement/site_engagement_service.cc",
"engagement/site_engagement_service.h",
"engagement/site_engagement_service_factory.cc",
"engagement/site_engagement_service_factory.h",
"engagement/top_sites/site_engagement_top_sites_provider.cc",
"engagement/top_sites/site_engagement_top_sites_provider.h",
"experiments/memory_ablation_experiment.cc",
"experiments/memory_ablation_experiment.h",
# Oh hey, all the cool browser/extensions files are hanging out in
# //chrome/browser/extensions/BUILD.gn
"assist_ranker/assist_ranker_service_factory.cc",
"assist_ranker/assist_ranker_service_factory.h",
"external_protocol/external_protocol_handler.cc",
"external_protocol/external_protocol_handler.h",
"external_protocol/external_protocol_observer.cc",
"external_protocol/external_protocol_observer.h",
"favicon/chrome_favicon_client.cc",
"favicon/chrome_favicon_client.h",
"favicon/favicon_service_factory.cc",
"favicon/favicon_service_factory.h",
"favicon/favicon_utils.cc",
"favicon/favicon_utils.h",
"favicon/large_icon_service_factory.cc",
"favicon/large_icon_service_factory.h",
"feature_engagement/tracker_factory.cc",
"feature_engagement/tracker_factory.h",
"file_select_helper.cc",
"file_select_helper.h",
"file_select_helper_mac.mm",
"flag_descriptions.cc",
"flag_descriptions.h",
"font_pref_change_notifier.cc",
"font_pref_change_notifier.h",
"font_pref_change_notifier_factory.cc",
"font_pref_change_notifier_factory.h",
"fullscreen_mac.mm",
"fullscreen_win.cc",
"gcm/gcm_product_util.cc",
"gcm/gcm_product_util.h",
"gcm/gcm_profile_service_factory.cc",
"gcm/gcm_profile_service_factory.h",
"gcm/instance_id/instance_id_profile_service.cc",
"gcm/instance_id/instance_id_profile_service.h",
"gcm/instance_id/instance_id_profile_service_factory.cc",
"gcm/instance_id/instance_id_profile_service_factory.h",
"generic_sensor/sensor_permission_context.cc",
"generic_sensor/sensor_permission_context.h",
"geolocation/geolocation_permission_context.cc",
"geolocation/geolocation_permission_context.h",
"geolocation/geolocation_permission_context_android.cc",
"geolocation/geolocation_permission_context_android.h",
"geolocation/geolocation_permission_context_extensions.cc",
"geolocation/geolocation_permission_context_extensions.h",
"global_keyboard_shortcuts_mac.h",
"global_keyboard_shortcuts_mac.mm",
"google/chrome_google_url_tracker_client.cc",
"google/chrome_google_url_tracker_client.h",
"google/did_run_updater_win.cc",
"google/did_run_updater_win.h",
"google/google_brand.cc",
"google/google_brand.h",
"google/google_brand_chromeos.cc",
"google/google_brand_chromeos.h",
"google/google_update_settings_posix.cc",
"google/google_update_win.cc",
"google/google_update_win.h",
"google/google_url_tracker_factory.cc",
"google/google_url_tracker_factory.h",
"gpu/gpu_driver_info_manager_android.cc",
"gpu/gpu_driver_info_manager_android.h",
"gpu/gpu_mode_manager.cc",
"gpu/gpu_mode_manager.h",
"gpu/gpu_profile_cache.h",
"gpu/three_d_api_observer.cc",
"gpu/three_d_api_observer.h",
"hang_monitor/hang_crash_dump_win.cc",
"hang_monitor/hang_crash_dump_win.h",
"history/chrome_history_backend_client.cc",
"history/chrome_history_backend_client.h",
"history/chrome_history_client.cc",
"history/chrome_history_client.h",
"history/history_service_factory.cc",
"history/history_service_factory.h",
"history/history_tab_helper.cc",
"history/history_tab_helper.h",
"history/history_utils.cc",
"history/history_utils.h",
"history/profile_based_browsing_history_driver.cc",
"history/profile_based_browsing_history_driver.h",
"history/top_sites_factory.cc",
"history/top_sites_factory.h",
"history/web_history_service_factory.cc",
"history/web_history_service_factory.h",
"icon_loader.cc",
"icon_loader.h",
"icon_loader_android.cc",
"icon_loader_chromeos.cc",
"icon_loader_mac.mm",
"icon_loader_win.cc",
"icon_manager.cc",
"icon_manager.h",
"image_decoder.cc",
"image_decoder.h",
"infobars/infobar_responder.cc",
"infobars/infobar_responder.h",
"infobars/infobar_service.cc",
"infobars/infobar_service.h",
"install_verification/win/install_verification.cc",
"install_verification/win/install_verification.h",
"install_verification/win/loaded_module_verification.cc",
"install_verification/win/loaded_module_verification.h",
"install_verification/win/module_ids.cc",
"install_verification/win/module_ids.h",
"install_verification/win/module_info.h",
"install_verification/win/module_list.cc",
"install_verification/win/module_list.h",
"install_verification/win/module_verification_common.cc",
"install_verification/win/module_verification_common.h",
"installable/installable_data.cc",
"installable/installable_data.h",
"installable/installable_logging.cc",
"installable/installable_logging.h",
"installable/installable_manager.cc",
"installable/installable_manager.h",
"installable/installable_metrics.cc",
"installable/installable_metrics.h",
"installable/installable_params.h",
"installable/installable_task_queue.cc",
"installable/installable_task_queue.h",
"internal_auth.cc",
"internal_auth.h",
"interstitials/chrome_metrics_helper.cc",
"interstitials/chrome_metrics_helper.h",
"intranet_redirect_detector.cc",
"intranet_redirect_detector.h",
"invalidation/profile_invalidation_provider_factory.cc",
"invalidation/profile_invalidation_provider_factory.h",
"io_thread.cc",
"io_thread.h",
"language/chrome_language_detection_tab_helper.cc",
"language/chrome_language_detection_tab_helper.h",
"language/language_model_factory.cc",
"language/language_model_factory.h",
"language/url_language_histogram_factory.cc",
"language/url_language_histogram_factory.h",
"lifetime/application_lifetime.cc",
"lifetime/application_lifetime.h",
"lifetime/application_lifetime_mac.mm",
"loader/chrome_navigation_data.cc",
"loader/chrome_navigation_data.h",
"loader/chrome_resource_dispatcher_host_delegate.cc",
"loader/chrome_resource_dispatcher_host_delegate.h",
"loader/predictor_resource_throttle.cc",
"loader/predictor_resource_throttle.h",
"mac/bluetooth_utility.h",
"mac/bluetooth_utility.mm",
"mac/dock.h",
"mac/dock.mm",
"mac/exception_processor.h",
"mac/exception_processor.mm",
"mac/install_from_dmg.h",
"mac/install_from_dmg.mm",
"mac/keychain_reauthorize.h",
"mac/keychain_reauthorize.mm",
"mac/keystone_glue.h",
"mac/keystone_glue.mm",
"mac/keystone_registration.h",
"mac/keystone_registration.mm",
"mac/mac_startup_profiler.cc",
"mac/mac_startup_profiler.h",
"mac/master_prefs.h",
"mac/master_prefs.mm",
"mac/nsprocessinfo_additions.h",
"mac/nsprocessinfo_additions.mm",
"mac/relauncher.h",
"mac/relauncher.mm",
"media/cast_remoting_connector.cc",
"media/cast_remoting_connector.h",
"media/cast_remoting_sender.cc",
"media/cast_remoting_sender.h",
"media/media_access_handler.cc",
"media/media_access_handler.h",
"media/media_device_id_salt.cc",
"media/media_device_id_salt.h",
"media/media_engagement_contents_observer.cc",
"media/media_engagement_contents_observer.h",
"media/media_engagement_score.cc",
"media/media_engagement_score.h",
"media/media_engagement_service.cc",
"media/media_engagement_service.h",
"media/media_engagement_service_factory.cc",
"media/media_engagement_service_factory.h",
"media/media_engagement_session.cc",
"media/media_engagement_session.h",
"media/media_storage_id_salt.cc",
"media/media_storage_id_salt.h",
"media/media_url_constants.cc",
"media/media_url_constants.h",
"media/midi_permission_context.cc",
"media/midi_permission_context.h",
"media/midi_sysex_permission_context.cc",
"media/midi_sysex_permission_context.h",
"media/output_protection_proxy.cc",
"media/output_protection_proxy.h",
"media/platform_verification_impl.cc",
"media/platform_verification_impl.h",
"media/router/media_router_feature.cc",
"media/router/media_router_feature.h",
"media/webrtc/desktop_media_list.h",
"media/webrtc/desktop_media_list_base.cc",
"media/webrtc/desktop_media_list_base.h",
"media/webrtc/desktop_media_picker.h",
"media/webrtc/desktop_streams_registry.cc",
"media/webrtc/desktop_streams_registry.h",
"media/webrtc/media_capture_devices_dispatcher.cc",
"media/webrtc/media_capture_devices_dispatcher.h",
"media/webrtc/media_stream_capture_indicator.cc",
"media/webrtc/media_stream_capture_indicator.h",
"media/webrtc/media_stream_device_permission_context.cc",
"media/webrtc/media_stream_device_permission_context.h",
"media/webrtc/media_stream_device_permissions.cc",
"media/webrtc/media_stream_device_permissions.h",
"media/webrtc/media_stream_devices_controller.cc",
"media/webrtc/media_stream_devices_controller.h",
"media/webrtc/native_desktop_media_list.cc",
"media/webrtc/native_desktop_media_list.h",
"media/webrtc/permission_bubble_media_access_handler.cc",
"media/webrtc/permission_bubble_media_access_handler.h",
# TODO(brettw) should this go with the webrtc sources?
"media/webrtc/webrtc_log_list.cc",
"media/webrtc/webrtc_log_list.h",
"media/webrtc/window_icon_util.h",
"media/webrtc/window_icon_util_chromeos.cc",
"media/webrtc/window_icon_util_mac.mm",
"media/webrtc/window_icon_util_win.cc",
"memory/chrome_memory_coordinator_delegate.cc",
"memory/chrome_memory_coordinator_delegate.h",
"memory_details.cc",
"memory_details.h",
"memory_details_android.cc",
"memory_details_linux.cc",
"memory_details_mac.cc",
"memory_details_win.cc",
"metrics/antivirus_metrics_provider_win.cc",
"metrics/antivirus_metrics_provider_win.h",
"metrics/browser_window_histogram_helper.cc",
"metrics/browser_window_histogram_helper.h",
"metrics/chrome_browser_main_extra_parts_metrics.cc",
"metrics/chrome_browser_main_extra_parts_metrics.h",
"metrics/chrome_browser_main_extra_parts_metrics_mac.mm",
"metrics/chrome_metrics_service_accessor.cc",
"metrics/chrome_metrics_service_accessor.h",
"metrics/chrome_metrics_service_client.cc",
"metrics/chrome_metrics_service_client.h",
"metrics/chrome_metrics_services_manager_client.cc",
"metrics/chrome_metrics_services_manager_client.h",
"metrics/chrome_stability_metrics_provider.cc",
"metrics/chrome_stability_metrics_provider.h",
"metrics/field_trial_synchronizer.cc",
"metrics/field_trial_synchronizer.h",
"metrics/google_update_metrics_provider_win.cc",
"metrics/google_update_metrics_provider_win.h",
"metrics/https_engagement_metrics_provider.cc",
"metrics/https_engagement_metrics_provider.h",
"metrics/jumplist_metrics_win.cc",
"metrics/jumplist_metrics_win.h",
"metrics/metrics_memory_details.cc",
"metrics/metrics_memory_details.h",
"metrics/metrics_reporting_state.cc",
"metrics/metrics_reporting_state.h",
"metrics/network_quality_estimator_provider_impl.cc",
"metrics/network_quality_estimator_provider_impl.h",
"metrics/oom/out_of_memory_reporter.cc",
"metrics/oom/out_of_memory_reporter.h",
"metrics/perf/perf_provider_chromeos.cc",
"metrics/perf/perf_provider_chromeos.h",
"metrics/process_memory_metrics_emitter.cc",
"metrics/process_memory_metrics_emitter.h",
"metrics/renderer_uptime_tracker.cc",
"metrics/renderer_uptime_tracker.h",
"metrics/renderer_uptime_web_contents_observer.cc",
"metrics/renderer_uptime_web_contents_observer.h",
"metrics/sampling_metrics_provider.cc",
"metrics/sampling_metrics_provider.h",
"metrics/subprocess_metrics_provider.cc",
"metrics/subprocess_metrics_provider.h",
"metrics/thread_watcher.cc",
"metrics/thread_watcher.h",
"metrics/thread_watcher_android.cc",
"metrics/thread_watcher_android.h",
"metrics/thread_watcher_report_hang.cc",
"metrics/thread_watcher_report_hang.h",
"metrics/variations/chrome_variations_service_client.cc",
"metrics/variations/chrome_variations_service_client.h",
"mod_pagespeed/mod_pagespeed_metrics.cc",
"mod_pagespeed/mod_pagespeed_metrics.h",
"native_window_notification_source.h",
"net/chrome_cookie_notification_details.h",
"net/chrome_extensions_network_delegate.cc",
"net/chrome_extensions_network_delegate.h",
"net/chrome_http_user_agent_settings.cc",
"net/chrome_http_user_agent_settings.h",
"net/chrome_mojo_proxy_resolver_factory.cc",
"net/chrome_mojo_proxy_resolver_factory.h",
"net/chrome_net_log_helper.cc",
"net/chrome_net_log_helper.h",
"net/chrome_network_delegate.cc",
"net/chrome_network_delegate.h",
"net/chrome_url_request_context_getter.cc",
"net/chrome_url_request_context_getter.h",
"net/default_network_context_params.cc",
"net/default_network_context_params.h",
"net/dns_probe_runner.cc",
"net/dns_probe_runner.h",
"net/dns_probe_service.cc",
"net/dns_probe_service.h",
"net/file_downloader.cc",
"net/file_downloader.h",
"net/loading_predictor_observer.cc",
"net/loading_predictor_observer.h",
"net/net_error_diagnostics_dialog.h",
"net/net_error_diagnostics_dialog_mac.cc",
"net/net_error_diagnostics_dialog_win.cc",
"net/net_error_tab_helper.cc",
"net/net_error_tab_helper.h",
"net/net_export_helper.cc",
"net/net_export_helper.h",
"net/nqe/ui_network_quality_estimator_service.cc",
"net/nqe/ui_network_quality_estimator_service.h",
"net/nqe/ui_network_quality_estimator_service_factory.cc",
"net/nqe/ui_network_quality_estimator_service_factory.h",
"net/prediction_options.cc",
"net/prediction_options.h",
"net/predictor.cc",
"net/predictor.h",
"net/predictor_tab_helper.cc",
"net/predictor_tab_helper.h",
"net/probe_message.cc",
"net/probe_message.h",
"net/profile_network_context_service.cc",
"net/profile_network_context_service.h",
"net/profile_network_context_service_factory.cc",
"net/profile_network_context_service_factory.h",
"net/proxy_service_factory.cc",
"net/proxy_service_factory.h",
"net/quota_policy_channel_id_store.cc",
"net/quota_policy_channel_id_store.h",
"net/referrer.cc",
"net/referrer.h",
"net/safe_search_util.cc",
"net/safe_search_util.h",
"net/service_providers_win.cc",
"net/service_providers_win.h",
"net/spdyproxy/data_reduction_proxy_chrome_io_data.cc",
"net/spdyproxy/data_reduction_proxy_chrome_io_data.h",
"net/spdyproxy/data_reduction_proxy_chrome_settings.cc",
"net/spdyproxy/data_reduction_proxy_chrome_settings.h",
"net/spdyproxy/data_reduction_proxy_chrome_settings_factory.cc",
"net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h",
"net/sth_distributor_provider.cc",
"net/sth_distributor_provider.h",
"net/system_network_context_manager.cc",
"net/system_network_context_manager.h",
"net/timed_cache.cc",
"net/timed_cache.h",
"net/url_info.cc",
"net/url_info.h",
"net_benchmarking.cc",
"net_benchmarking.h",
"notifications/alert_dispatcher_mac.h",
"notifications/desktop_notification_profile_util.cc",
"notifications/desktop_notification_profile_util.h",
"notifications/message_center_display_service.cc",
"notifications/message_center_display_service.h",
"notifications/metrics/notification_metrics_logger.cc",
"notifications/metrics/notification_metrics_logger.h",
"notifications/metrics/notification_metrics_logger_factory.cc",
"notifications/metrics/notification_metrics_logger_factory.h",
"notifications/native_notification_display_service.cc",
"notifications/native_notification_display_service.h",
"notifications/non_persistent_notification_handler.cc",
"notifications/non_persistent_notification_handler.h",
"notifications/notification_channels_provider_android.cc",
"notifications/notification_channels_provider_android.h",
"notifications/notification_common.cc",
"notifications/notification_common.h",
"notifications/notification_display_service.cc",
"notifications/notification_display_service.h",
"notifications/notification_display_service_factory.cc",
"notifications/notification_display_service_factory.h",
"notifications/notification_handler.cc",
"notifications/notification_handler.h",
"notifications/notification_permission_context.cc",
"notifications/notification_permission_context.h",
"notifications/notification_platform_bridge.h",
"notifications/notification_platform_bridge_mac.h",
"notifications/notification_platform_bridge_mac.mm",
"notifications/notification_ui_manager.h",
"notifications/notifier_state_tracker.cc",
"notifications/notifier_state_tracker.h",
"notifications/notifier_state_tracker_factory.cc",
"notifications/notifier_state_tracker_factory.h",
"notifications/persistent_notification_handler.cc",
"notifications/persistent_notification_handler.h",
"notifications/platform_notification_service_impl.cc",
"notifications/platform_notification_service_impl.h",
"notifications/web_notification_delegate.cc",
"notifications/web_notification_delegate.h",
"ntp_snippets/bookmark_last_visit_updater.cc",
"ntp_snippets/bookmark_last_visit_updater.h",
"ntp_snippets/content_suggestions_notifier_service_factory.cc",
"ntp_snippets/content_suggestions_notifier_service_factory.h",
"ntp_snippets/content_suggestions_service_factory.cc",
"ntp_snippets/content_suggestions_service_factory.h",
"ntp_snippets/contextual_content_suggestions_service_factory.cc",
"ntp_snippets/contextual_content_suggestions_service_factory.h",
"ntp_snippets/dependent_features.cc",
"ntp_snippets/dependent_features.h",
"ntp_snippets/download_suggestions_provider.cc",
"ntp_snippets/download_suggestions_provider.h",
"ntp_snippets/ntp_snippets_metrics.cc",
"ntp_snippets/ntp_snippets_metrics.h",
"ntp_tiles/chrome_most_visited_sites_factory.cc",
"ntp_tiles/chrome_most_visited_sites_factory.h",
"ntp_tiles/chrome_popular_sites_factory.cc",
"ntp_tiles/chrome_popular_sites_factory.h",
"offline_items_collection/offline_content_aggregator_factory.cc",
"offline_items_collection/offline_content_aggregator_factory.h",
"page_load_metrics/browser_page_track_decider.cc",
"page_load_metrics/browser_page_track_decider.h",
"page_load_metrics/experiments/delay_navigation_throttle.cc",
"page_load_metrics/experiments/delay_navigation_throttle.h",
"page_load_metrics/metrics_navigation_throttle.cc",
"page_load_metrics/metrics_navigation_throttle.h",
"page_load_metrics/metrics_web_contents_observer.cc",
"page_load_metrics/metrics_web_contents_observer.h",
"page_load_metrics/observers/aborts_page_load_metrics_observer.cc",
"page_load_metrics/observers/aborts_page_load_metrics_observer.h",
"page_load_metrics/observers/ads_page_load_metrics_observer.cc",
"page_load_metrics/observers/ads_page_load_metrics_observer.h",
"page_load_metrics/observers/amp_page_load_metrics_observer.cc",
"page_load_metrics/observers/amp_page_load_metrics_observer.h",
"page_load_metrics/observers/core_page_load_metrics_observer.cc",
"page_load_metrics/observers/core_page_load_metrics_observer.h",
"page_load_metrics/observers/css_scanning_page_load_metrics_observer.cc",
"page_load_metrics/observers/css_scanning_page_load_metrics_observer.h",
"page_load_metrics/observers/data_reduction_proxy_metrics_observer.cc",
"page_load_metrics/observers/data_reduction_proxy_metrics_observer.h",
"page_load_metrics/observers/delay_navigation_page_load_metrics_observer.cc",
"page_load_metrics/observers/delay_navigation_page_load_metrics_observer.h",
"page_load_metrics/observers/document_write_page_load_metrics_observer.cc",
"page_load_metrics/observers/document_write_page_load_metrics_observer.h",
"page_load_metrics/observers/from_gws_page_load_metrics_observer.cc",
"page_load_metrics/observers/from_gws_page_load_metrics_observer.h",
"page_load_metrics/observers/google_captcha_observer.cc",
"page_load_metrics/observers/google_captcha_observer.h",
"page_load_metrics/observers/https_engagement_metrics/https_engagement_page_load_metrics_observer.cc",
"page_load_metrics/observers/https_engagement_metrics/https_engagement_page_load_metrics_observer.h",
"page_load_metrics/observers/https_engagement_metrics/https_engagement_service.cc",
"page_load_metrics/observers/https_engagement_metrics/https_engagement_service.h",
"page_load_metrics/observers/https_engagement_metrics/https_engagement_service_factory.cc",
"page_load_metrics/observers/https_engagement_metrics/https_engagement_service_factory.h",
"page_load_metrics/observers/loading_predictor_page_load_metrics_observer.cc",
"page_load_metrics/observers/loading_predictor_page_load_metrics_observer.h",
"page_load_metrics/observers/local_network_requests_page_load_metrics_observer.cc",
"page_load_metrics/observers/local_network_requests_page_load_metrics_observer.h",
"page_load_metrics/observers/lofi_page_load_metrics_observer.cc",
"page_load_metrics/observers/lofi_page_load_metrics_observer.h",
"page_load_metrics/observers/media_page_load_metrics_observer.cc",
"page_load_metrics/observers/media_page_load_metrics_observer.h",
"page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer.cc",
"page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer.h",
"page_load_metrics/observers/no_state_prefetch_page_load_metrics_observer.cc",
"page_load_metrics/observers/no_state_prefetch_page_load_metrics_observer.h",
"page_load_metrics/observers/noscript_preview_page_load_metrics_observer.cc",
"page_load_metrics/observers/noscript_preview_page_load_metrics_observer.h",
"page_load_metrics/observers/offline_page_previews_page_load_metrics_observer.cc",
"page_load_metrics/observers/offline_page_previews_page_load_metrics_observer.h",
"page_load_metrics/observers/omnibox_suggestion_used_page_load_metrics_observer.cc",
"page_load_metrics/observers/omnibox_suggestion_used_page_load_metrics_observer.h",
"page_load_metrics/observers/prerender_page_load_metrics_observer.cc",
"page_load_metrics/observers/prerender_page_load_metrics_observer.h",
"page_load_metrics/observers/previews_ukm_observer.cc",
"page_load_metrics/observers/previews_ukm_observer.h",
"page_load_metrics/observers/protocol_page_load_metrics_observer.cc",
"page_load_metrics/observers/protocol_page_load_metrics_observer.h",
"page_load_metrics/observers/service_worker_page_load_metrics_observer.cc",
"page_load_metrics/observers/service_worker_page_load_metrics_observer.h",
"page_load_metrics/observers/subresource_filter_metrics_observer.cc",
"page_load_metrics/observers/subresource_filter_metrics_observer.h",
"page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc",
"page_load_metrics/observers/tab_restore_page_load_metrics_observer.h",
"page_load_metrics/observers/ukm_page_load_metrics_observer.cc",
"page_load_metrics/observers/ukm_page_load_metrics_observer.h",
"page_load_metrics/observers/use_counter/ukm_features.cc",
"page_load_metrics/observers/use_counter/ukm_features.h",
"page_load_metrics/observers/use_counter_page_load_metrics_observer.cc",
"page_load_metrics/observers/use_counter_page_load_metrics_observer.h",
"page_load_metrics/page_load_metrics_embedder_interface.h",
"page_load_metrics/page_load_metrics_initialize.cc",
"page_load_metrics/page_load_metrics_initialize.h",
"page_load_metrics/page_load_metrics_observer.cc",
"page_load_metrics/page_load_metrics_observer.h",
"page_load_metrics/page_load_metrics_update_dispatcher.cc",
"page_load_metrics/page_load_metrics_update_dispatcher.h",
"page_load_metrics/page_load_metrics_util.cc",
"page_load_metrics/page_load_metrics_util.h",
"page_load_metrics/page_load_tracker.cc",
"page_load_metrics/page_load_tracker.h",
"page_load_metrics/user_input_tracker.cc",
"page_load_metrics/user_input_tracker.h",
"password_manager/chrome_password_manager_client.cc",
"password_manager/chrome_password_manager_client.h",
"password_manager/password_manager_util_mac.h",
"password_manager/password_manager_util_mac.mm",
"password_manager/password_manager_util_win.cc",
"password_manager/password_manager_util_win.h",
"password_manager/password_store_factory.cc",
"password_manager/password_store_factory.h",
"password_manager/password_store_mac.cc",
"password_manager/password_store_mac.h",
"password_manager/password_store_win.cc",
"password_manager/password_store_win.h",
"payments/ssl_validity_checker.cc",
"performance_monitor/performance_monitor.cc",
"performance_monitor/performance_monitor.h",
"performance_monitor/process_metrics_history.cc",
"performance_monitor/process_metrics_history.h",
"permissions/chooser_context_base.cc",
"permissions/chooser_context_base.h",
"permissions/permission_blacklist_client.cc",
"permissions/permission_blacklist_client.h",
"permissions/permission_context_base.cc",
"permissions/permission_context_base.h",
"permissions/permission_decision_auto_blocker.cc",
"permissions/permission_decision_auto_blocker.h",
"permissions/permission_manager.cc",
"permissions/permission_manager.h",
"permissions/permission_manager_factory.cc",
"permissions/permission_manager_factory.h",
"permissions/permission_request.cc",
"permissions/permission_request.h",
"permissions/permission_request_id.cc",
"permissions/permission_request_id.h",
"permissions/permission_request_impl.cc",
"permissions/permission_request_impl.h",
"permissions/permission_request_manager.cc",
"permissions/permission_request_manager.h",
"permissions/permission_result.cc",
"permissions/permission_result.h",
"permissions/permission_uma_util.cc",
"permissions/permission_uma_util.h",
"permissions/permission_util.cc",
"permissions/permission_util.h",
"platform_util.h",
"platform_util_chromeos.cc",
"platform_util_internal.h",
"platform_util_mac.mm",
"platform_util_win.cc",
"plugins/pdf_iframe_navigation_throttle.cc",
"plugins/pdf_iframe_navigation_throttle.h",
"plugins/pdf_plugin_placeholder_observer.cc",
"plugins/pdf_plugin_placeholder_observer.h",
"policy/chrome_browser_policy_connector.cc",
"policy/chrome_browser_policy_connector.h",
"policy/cloud/cloud_policy_invalidator.cc",
"policy/cloud/cloud_policy_invalidator.h",
"policy/cloud/policy_header_service_factory.cc",
"policy/cloud/policy_header_service_factory.h",
"policy/cloud/remote_commands_invalidator.cc",
"policy/cloud/remote_commands_invalidator.h",
"policy/cloud/remote_commands_invalidator_impl.cc",
"policy/cloud/remote_commands_invalidator_impl.h",
"policy/cloud/user_cloud_policy_invalidator.cc",
"policy/cloud/user_cloud_policy_invalidator.h",
"policy/cloud/user_cloud_policy_invalidator_factory.cc",
"policy/cloud/user_cloud_policy_invalidator_factory.h",
"policy/configuration_policy_handler_list_factory.cc",
"policy/configuration_policy_handler_list_factory.h",
"policy/device_management_service_configuration.cc",
"policy/device_management_service_configuration.h",
"policy/file_selection_dialogs_policy_handler.cc",
"policy/file_selection_dialogs_policy_handler.h",
"policy/javascript_policy_handler.cc",
"policy/javascript_policy_handler.h",
"policy/managed_bookmarks_policy_handler.cc",
"policy/managed_bookmarks_policy_handler.h",
"policy/network_prediction_policy_handler.cc",
"policy/network_prediction_policy_handler.h",
"policy/policy_helpers.cc",
"policy/policy_helpers.h",
"policy/profile_policy_connector.cc",
"policy/profile_policy_connector.h",
"policy/profile_policy_connector_factory.cc",
"policy/profile_policy_connector_factory.h",
"policy/schema_registry_service.cc",
"policy/schema_registry_service.h",
"policy/schema_registry_service_factory.cc",
"policy/schema_registry_service_factory.h",
"predictors/autocomplete_action_predictor.cc",
"predictors/autocomplete_action_predictor.h",
"predictors/autocomplete_action_predictor_factory.cc",
"predictors/autocomplete_action_predictor_factory.h",
"predictors/autocomplete_action_predictor_table.cc",
"predictors/autocomplete_action_predictor_table.h",
"predictors/glowplug_key_value_data.h",
"predictors/glowplug_key_value_table.cc",
"predictors/glowplug_key_value_table.h",
"predictors/loading_data_collector.cc",
"predictors/loading_data_collector.h",
"predictors/loading_predictor.cc",
"predictors/loading_predictor.h",
"predictors/loading_predictor_android.cc",
"predictors/loading_predictor_config.cc",
"predictors/loading_predictor_config.h",
"predictors/loading_predictor_factory.cc",
"predictors/loading_predictor_factory.h",
"predictors/loading_stats_collector.cc",
"predictors/loading_stats_collector.h",
"predictors/preconnect_manager.cc",
"predictors/preconnect_manager.h",
"predictors/predictor_database.cc",
"predictors/predictor_database.h",
"predictors/predictor_database_factory.cc",
"predictors/predictor_database_factory.h",
"predictors/predictor_table_base.cc",
"predictors/predictor_table_base.h",
"predictors/resource_prefetch_common.cc",
"predictors/resource_prefetch_common.h",
"predictors/resource_prefetch_predictor.cc",
"predictors/resource_prefetch_predictor.h",
"predictors/resource_prefetch_predictor_tab_helper.cc",
"predictors/resource_prefetch_predictor_tab_helper.h",
"predictors/resource_prefetch_predictor_tables.cc",
"predictors/resource_prefetch_predictor_tables.h",
"predictors/resource_prefetcher.cc",
"predictors/resource_prefetcher.h",
"prefs/browser_prefs.cc",
"prefs/browser_prefs.h",
"prefs/chrome_command_line_pref_store.cc",
"prefs/chrome_command_line_pref_store.h",
"prefs/chrome_pref_model_associator_client.cc",
"prefs/chrome_pref_model_associator_client.h",
"prefs/chrome_pref_service_factory.cc",
"prefs/chrome_pref_service_factory.h",
"prefs/in_process_service_factory_factory.cc",
"prefs/in_process_service_factory_factory.h",
"prefs/incognito_mode_prefs.cc",
"prefs/incognito_mode_prefs.h",
"prefs/origin_trial_prefs.cc",
"prefs/origin_trial_prefs.h",
"prefs/pref_metrics_service.cc",
"prefs/pref_metrics_service.h",
"prefs/pref_service_syncable_util.cc",
"prefs/pref_service_syncable_util.h",
"prefs/profile_pref_store_manager.cc",
"prefs/profile_pref_store_manager.h",
"prefs/session_startup_pref.cc",
"prefs/session_startup_pref.h",
"prerender/prerender_config.cc",
"prerender/prerender_config.h",
"prerender/prerender_contents.cc",
"prerender/prerender_contents.h",
"prerender/prerender_field_trial.cc",
"prerender/prerender_field_trial.h",
"prerender/prerender_final_status.cc",
"prerender/prerender_final_status.h",
"prerender/prerender_handle.cc",
"prerender/prerender_handle.h",
"prerender/prerender_histograms.cc",
"prerender/prerender_histograms.h",
"prerender/prerender_history.cc",
"prerender/prerender_history.h",
"prerender/prerender_link_manager.cc",
"prerender/prerender_link_manager.h",
"prerender/prerender_link_manager_factory.cc",
"prerender/prerender_link_manager_factory.h",
"prerender/prerender_manager.cc",
"prerender/prerender_manager.h",
"prerender/prerender_manager_factory.cc",
"prerender/prerender_manager_factory.h",
"prerender/prerender_message_filter.cc",
"prerender/prerender_message_filter.h",
"prerender/prerender_origin.cc",
"prerender/prerender_origin.h",
"prerender/prerender_resource_throttle.cc",
"prerender/prerender_resource_throttle.h",
"prerender/prerender_tab_helper.cc",
"prerender/prerender_tab_helper.h",
"prerender/prerender_util.cc",
"prerender/prerender_util.h",
"previews/previews_infobar_delegate.cc",
"previews/previews_infobar_delegate.h",
"previews/previews_infobar_tab_helper.cc",
"previews/previews_infobar_tab_helper.h",
"previews/previews_service.cc",
"previews/previews_service.h",
"previews/previews_service_factory.cc",
"previews/previews_service_factory.h",
"process_resource_usage.cc",
"process_resource_usage.h",
"process_singleton.h",
"process_singleton_win.cc",
"profiles/avatar_menu_actions.h",
"profiles/bookmark_model_loaded_observer.cc",
"profiles/bookmark_model_loaded_observer.h",
"profiles/chrome_browser_main_extra_parts_profiles.cc",
"profiles/chrome_browser_main_extra_parts_profiles.h",
"profiles/chrome_version_service.cc",
"profiles/chrome_version_service.h",
"profiles/gaia_info_update_service.cc",
"profiles/gaia_info_update_service.h",
"profiles/gaia_info_update_service_factory.cc",
"profiles/gaia_info_update_service_factory.h",
"profiles/guest_mode_policy_handler.cc",
"profiles/guest_mode_policy_handler.h",
"profiles/incognito_helpers.cc",
"profiles/incognito_helpers.h",
"profiles/incognito_mode_policy_handler.cc",
"profiles/incognito_mode_policy_handler.h",
"profiles/off_the_record_profile_impl.cc",
"profiles/off_the_record_profile_impl.h",
"profiles/off_the_record_profile_io_data.cc",
"profiles/off_the_record_profile_io_data.h",
"profiles/profile.cc",
"profiles/profile.h",
"profiles/profile_attributes_entry.cc",
"profiles/profile_attributes_entry.h",
"profiles/profile_attributes_storage.cc",
"profiles/profile_attributes_storage.h",
"profiles/profile_avatar_downloader.cc",
"profiles/profile_avatar_downloader.h",
"profiles/profile_avatar_icon_util.cc",
"profiles/profile_avatar_icon_util.h",
"profiles/profile_destroyer.cc",
"profiles/profile_destroyer.h",
"profiles/profile_downloader.cc",
"profiles/profile_downloader.h",
"profiles/profile_downloader_delegate.h",
"profiles/profile_impl.cc",
"profiles/profile_impl.h",
"profiles/profile_impl_io_data.cc",
"profiles/profile_impl_io_data.h",
"profiles/profile_info_cache.cc",
"profiles/profile_info_cache.h",
"profiles/profile_info_cache_observer.h",
"profiles/profile_info_interface.h",
"profiles/profile_io_data.cc",
"profiles/profile_io_data.h",
"profiles/profile_list.h",
"profiles/profile_manager.cc",
"profiles/profile_manager.h",
"profiles/profile_metrics.cc",
"profiles/profile_metrics.h",
"profiles/profile_metrics_mac.mm",
"profiles/profile_shortcut_manager_win.cc",
"profiles/profile_shortcut_manager_win.h",
"profiles/profiles_state.cc",
"profiles/profiles_state.h",
"profiles/sql_init_error_message_ids.cc",
"profiles/sql_init_error_message_ids.h",
"profiles/storage_partition_descriptor.h",
"profiling_host/background_profiling_triggers.cc",
"profiling_host/background_profiling_triggers.h",
"profiling_host/chrome_browser_main_extra_parts_profiling.cc",
"profiling_host/chrome_browser_main_extra_parts_profiling.h",
"profiling_host/profiling_process_host.cc",
"profiling_host/profiling_process_host.h",
"push_messaging/push_messaging_app_identifier.cc",
"push_messaging/push_messaging_app_identifier.h",
"push_messaging/push_messaging_constants.cc",
"push_messaging/push_messaging_constants.h",
"push_messaging/push_messaging_notification_manager.cc",
"push_messaging/push_messaging_notification_manager.h",
"push_messaging/push_messaging_service_factory.cc",
"push_messaging/push_messaging_service_factory.h",
"push_messaging/push_messaging_service_impl.cc",
"push_messaging/push_messaging_service_impl.h",
"renderer_context_menu/context_menu_content_type_factory.cc",
"renderer_context_menu/context_menu_content_type_factory.h",
"renderer_context_menu/context_menu_content_type_panel.cc",
"renderer_context_menu/context_menu_content_type_panel.h",
"renderer_host/chrome_navigation_ui_data.cc",
"renderer_host/chrome_navigation_ui_data.h",
"renderer_host/chrome_render_message_filter.cc",
"renderer_host/chrome_render_message_filter.h",
"renderer_host/chrome_render_widget_host_view_mac_delegate.h",
"renderer_host/chrome_render_widget_host_view_mac_delegate.mm",
"renderer_host/chrome_render_widget_host_view_mac_history_swiper.h",
"renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm",
"renderer_preferences_util.cc",
"renderer_preferences_util.h",
"resource_coordinator/browser_child_process_watcher.cc",
"resource_coordinator/browser_child_process_watcher.h",
"resource_coordinator/chrome_browser_main_extra_parts_resource_coordinator.cc",
"resource_coordinator/chrome_browser_main_extra_parts_resource_coordinator.h",
"resource_coordinator/page_signal_receiver.cc",
"resource_coordinator/page_signal_receiver.h",
"resource_coordinator/resource_coordinator_render_process_probe.cc",
"resource_coordinator/resource_coordinator_render_process_probe.h",
"resource_coordinator/resource_coordinator_web_contents_observer.cc",
"resource_coordinator/resource_coordinator_web_contents_observer.h",
"resources_util.cc",
"resources_util.h",
"safe_search_api/safe_search_url_checker.cc",
"safe_search_api/safe_search_url_checker.h",
"search/instant_io_context.cc",
"search/instant_io_context.h",
"search/search.cc",
"search/search.h",
"search/suggestions/image_decoder_impl.cc",
"search/suggestions/image_decoder_impl.h",
"search/suggestions/suggestions_service_factory.cc",
"search/suggestions/suggestions_service_factory.h",
"search/suggestions/suggestions_ui.cc",
"search/suggestions/suggestions_ui.h",
"search/thumbnail_source.cc",
"search/thumbnail_source.h",
"search_engines/chrome_template_url_service_client.cc",
"search_engines/chrome_template_url_service_client.h",
"search_engines/template_url_fetcher_factory.cc",
"search_engines/template_url_fetcher_factory.h",
"search_engines/template_url_service_factory.cc",
"search_engines/template_url_service_factory.h",
"search_engines/ui_thread_search_terms_data.cc",
"search_engines/ui_thread_search_terms_data.h",
"search_engines/ui_thread_search_terms_data_android.cc",
"search_engines/ui_thread_search_terms_data_android.h",
"search_provider_logos/logo_service_factory.cc",
"search_provider_logos/logo_service_factory.h",
"sessions/chrome_serialized_navigation_driver.cc",
"sessions/chrome_serialized_navigation_driver.h",
"sessions/chrome_tab_restore_service_client.cc",
"sessions/chrome_tab_restore_service_client.h",
"sessions/restore_on_startup_policy_handler.cc",
"sessions/restore_on_startup_policy_handler.h",
"sessions/session_common_utils.cc",
"sessions/session_common_utils.h",
"sessions/session_data_deleter.cc",
"sessions/session_data_deleter.h",
"sessions/session_restore_android.cc",
"sessions/session_tab_helper.cc",
"sessions/session_tab_helper.h",
"sessions/tab_restore_service_factory.cc",
"sessions/tab_restore_service_factory.h",
"shell_integration.cc",
"shell_integration.h",
"shell_integration_android.cc",
"shell_integration_chromeos.cc",
"shell_integration_mac.mm",
"shell_integration_win.cc",
"shell_integration_win.h",
"signin/about_signin_internals_factory.cc",
"signin/about_signin_internals_factory.h",
"signin/account_consistency_mode_manager.cc",
"signin/account_consistency_mode_manager.h",
"signin/account_fetcher_service_factory.cc",
"signin/account_fetcher_service_factory.h",
"signin/account_investigator_factory.cc",
"signin/account_investigator_factory.h",
"signin/account_reconcilor_factory.cc",
"signin/account_reconcilor_factory.h",
"signin/account_tracker_service_factory.cc",
"signin/account_tracker_service_factory.h",
"signin/chrome_signin_client.cc",
"signin/chrome_signin_client.h",
"signin/chrome_signin_client_factory.cc",
"signin/chrome_signin_client_factory.h",
"signin/chrome_signin_helper.cc",
"signin/chrome_signin_helper.h",
"signin/gaia_cookie_manager_service_factory.cc",
"signin/gaia_cookie_manager_service_factory.h",
"signin/investigator_dependency_provider.cc",
"signin/investigator_dependency_provider.h",
"signin/local_auth.cc",
"signin/local_auth.h",
"signin/mutable_profile_oauth2_token_service_delegate.cc",
"signin/mutable_profile_oauth2_token_service_delegate.h",
"signin/profile_oauth2_token_service_factory.cc",
"signin/profile_oauth2_token_service_factory.h",
"signin/signin_error_controller_factory.cc",
"signin/signin_error_controller_factory.h",
"signin/signin_manager_factory.cc",
"signin/signin_manager_factory.h",
"signin/signin_promo_util.cc",
"signin/signin_promo_util.h",
"signin/signin_status_metrics_provider_chromeos.cc",
"signin/signin_status_metrics_provider_chromeos.h",
"signin/signin_tracker_factory.cc",
"signin/signin_tracker_factory.h",
"signin/signin_util.cc",
"signin/signin_util.h",
"site_details.cc",
"site_details.h",
"speech/chrome_speech_recognition_manager_delegate.cc",
"speech/chrome_speech_recognition_manager_delegate.h",
"speech/tts_android.cc",
"speech/tts_android.h",
"speech/tts_chromeos.cc",
"speech/tts_controller.h",
"speech/tts_controller_impl.cc",
"speech/tts_controller_impl.h",
"speech/tts_mac.mm",
"speech/tts_message_filter.cc",
"speech/tts_message_filter.h",
"speech/tts_platform.cc",
"speech/tts_platform.h",
"speech/tts_win.cc",
"ssl/bad_clock_blocking_page.cc",
"ssl/bad_clock_blocking_page.h",
"ssl/captive_portal_blocking_page.cc",
"ssl/captive_portal_blocking_page.h",
"ssl/captive_portal_helper.h",
"ssl/captive_portal_helper_android.cc",
"ssl/captive_portal_helper_android.h",
"ssl/captive_portal_helper_win.cc",
"ssl/cert_report_helper.cc",
"ssl/cert_report_helper.h",
"ssl/chrome_expect_ct_reporter.cc",
"ssl/chrome_expect_ct_reporter.h",
"ssl/chrome_ssl_host_state_delegate.cc",
"ssl/chrome_ssl_host_state_delegate.h",
"ssl/chrome_ssl_host_state_delegate_factory.cc",
"ssl/chrome_ssl_host_state_delegate_factory.h",
"ssl/common_name_mismatch_handler.cc",
"ssl/common_name_mismatch_handler.h",
"ssl/insecure_sensitive_input_driver.cc",
"ssl/insecure_sensitive_input_driver.h",
"ssl/insecure_sensitive_input_driver_factory.cc",
"ssl/insecure_sensitive_input_driver_factory.h",
"ssl/mitm_software_blocking_page.cc",
"ssl/mitm_software_blocking_page.h",
"ssl/security_state_tab_helper.cc",
"ssl/security_state_tab_helper.h",
"ssl/ssl_blocking_page.cc",
"ssl/ssl_blocking_page.h",
"ssl/ssl_cert_reporter.h",
"ssl/ssl_client_certificate_selector.h",
"ssl/ssl_error_assistant.cc",
"ssl/ssl_error_assistant.h",
"ssl/ssl_error_controller_client.cc",
"ssl/ssl_error_controller_client.h",
"ssl/ssl_error_handler.cc",
"ssl/ssl_error_handler.h",
"ssl/ssl_error_navigation_throttle.cc",
"ssl/ssl_error_navigation_throttle.h",
"ssl/ssl_error_tab_helper.cc",
"ssl/ssl_error_tab_helper.h",
"status_icons/status_icon.cc",
"status_icons/status_icon.h",
"status_icons/status_icon_menu_model.cc",
"status_icons/status_icon_menu_model.h",
"status_icons/status_icon_observer.h",
"status_icons/status_tray.cc",
"status_icons/status_tray.h",
"storage/durable_storage_permission_context.cc",
"storage/durable_storage_permission_context.h",
"storage/storage_info_fetcher.cc",
"storage/storage_info_fetcher.h",
"subresource_filter/chrome_subresource_filter_client.cc",
"subresource_filter/chrome_subresource_filter_client.h",
"subresource_filter/subresource_filter_content_settings_manager.cc",
"subresource_filter/subresource_filter_content_settings_manager.h",
"subresource_filter/subresource_filter_profile_context.cc",
"subresource_filter/subresource_filter_profile_context.h",
"subresource_filter/subresource_filter_profile_context_factory.cc",
"subresource_filter/subresource_filter_profile_context_factory.h",
"sync/chrome_sync_client.cc",
"sync/chrome_sync_client.h",
"sync/glue/extensions_activity_monitor.cc",
"sync/glue/extensions_activity_monitor.h",
"sync/glue/sync_start_util.cc",
"sync/glue/sync_start_util.h",
"sync/profile_sync_service_factory.cc",
"sync/profile_sync_service_factory.h",
"sync/sessions/sync_sessions_router_tab_helper.cc",
"sync/sessions/sync_sessions_router_tab_helper.h",
"sync/sessions/sync_sessions_web_contents_router.cc",
"sync/sessions/sync_sessions_web_contents_router.h",
"sync/sessions/sync_sessions_web_contents_router_factory.cc",
"sync/sessions/sync_sessions_web_contents_router_factory.h",
"sync/supervised_user_signin_manager_wrapper.cc",
"sync/supervised_user_signin_manager_wrapper.h",
"sync/sync_startup_tracker.cc",
"sync/sync_startup_tracker.h",
"sync/user_event_service_factory.cc",
"sync/user_event_service_factory.h",
"tab_contents/navigation_metrics_recorder.cc",
"tab_contents/navigation_metrics_recorder.h",
"tab_contents/tab_util.cc",
"tab_contents/tab_util.h",
"task_manager/web_contents_tags.cc",
"task_manager/web_contents_tags.h",
"themes/theme_service_win.cc",
"themes/theme_service_win.h",
"thumbnails/thumbnail_list_source.cc",
"thumbnails/thumbnail_list_source.h",
"thumbnails/thumbnail_service.h",
"thumbnails/thumbnail_service_factory.cc",
"thumbnails/thumbnail_service_factory.h",
"thumbnails/thumbnail_service_impl.cc",
"thumbnails/thumbnail_service_impl.h",
"thumbnails/thumbnail_tab_helper.cc",
"thumbnails/thumbnail_tab_helper.h",
"thumbnails/thumbnail_utils.cc",
"thumbnails/thumbnail_utils.h",
"thumbnails/thumbnailing_context.cc",
"thumbnails/thumbnailing_context.h",
"tracing/background_tracing_field_trial.cc",
"tracing/background_tracing_field_trial.h",
"tracing/chrome_tracing_delegate.cc",
"tracing/chrome_tracing_delegate.h",
"tracing/crash_service_uploader.cc",
"tracing/crash_service_uploader.h",
"tracing/navigation_tracing.cc",
"tracing/navigation_tracing.h",
"translate/android/translate_utils.cc",
"translate/android/translate_utils.h",
"translate/chrome_translate_client.cc",
"translate/chrome_translate_client.h",
"translate/translate_accept_languages_factory.cc",
"translate/translate_accept_languages_factory.h",
"translate/translate_ranker_factory.cc",
"translate/translate_ranker_factory.h",
"translate/translate_ranker_metrics_provider.cc",
"translate/translate_ranker_metrics_provider.h",
"translate/translate_service.cc",
"translate/translate_service.h",
"undo/bookmark_undo_service_factory.cc",
"undo/bookmark_undo_service_factory.h",
"update_client/chrome_update_query_params_delegate.cc",
"update_client/chrome_update_query_params_delegate.h",
"usb/usb_blocklist.cc",
"usb/usb_blocklist.h",
"usb/usb_chooser_context.cc",
"usb/usb_chooser_context.h",
"usb/usb_chooser_context_factory.cc",
"usb/usb_chooser_context_factory.h",
"usb/usb_tab_helper.cc",
"usb/usb_tab_helper.h",
"usb/usb_util.cc",
"usb/usb_util.h",
"usb/web_usb_histograms.cc",
"usb/web_usb_histograms.h",
"usb/web_usb_permission_provider.cc",
"usb/web_usb_permission_provider.h",
"vr/ui_suppressed_element.h",
"vr/vr_tab_helper.cc",
"vr/vr_tab_helper.h",
"web_data_service_factory.cc",
"web_data_service_factory.h",
"webshare/share_target_pref_helper.cc",
"webshare/share_target_pref_helper.h",
"webshare/webshare_target.cc",
"webshare/webshare_target.h",
"win/app_icon.cc",
"win/app_icon.h",
"win/browser_util.cc",
"win/browser_util.h",
"win/chrome_elf_init.cc",
"win/chrome_elf_init.h",
"win/chrome_select_file_dialog_factory.cc",
"win/chrome_select_file_dialog_factory.h",
"win/enumerate_modules_model.cc",
"win/enumerate_modules_model.h",
"win/jumplist.cc",
"win/jumplist.h",
"win/jumplist_factory.cc",
"win/jumplist_factory.h",
"win/jumplist_file_util.cc",
"win/jumplist_file_util.h",
"win/jumplist_update_util.cc",
"win/jumplist_update_util.h",
"win/jumplist_updater.cc",
"win/jumplist_updater.h",
"win/settings_app_monitor.cc",
"win/settings_app_monitor.h",
"win/taskbar_icon_finder.cc",
"win/taskbar_icon_finder.h",
"win/titlebar_config.cc",
"win/titlebar_config.h",
]
if (enable_downloadable_strings) {
sources += [
"component_updater/downloadable_strings_component_installer.cc",
"component_updater/downloadable_strings_component_installer.h",
]
}
configs += [
"//build/config/compiler:wexit_time_destructors",
"//build/config:precompiled_headers",
]
defines = []
libs = []
ldflags = []
allow_circular_includes_from = [ "//chrome/browser/ui" ]
public_deps = [
"//base",
"//chrome/common",
"//components/autofill/core/browser",
"//components/nacl/common:features",
"//components/payments/core",
"//components/sync",
"//content/public/browser",
"//ipc",
"//sql",
]
deps = [
":active_use_util",
":resource_prefetch_predictor_proto",
"//base:i18n",
"//base/allocator:features",
"//cc",
"//chrome:extra_resources",
"//chrome:resources",
"//chrome:strings",
"//chrome/app/resources:platform_locale_settings",
"//chrome/app/theme:theme_resources",
"//chrome/browser/budget_service:budget_proto",
"//chrome/browser/devtools",
"//chrome/browser/media:mojo_bindings",
"//chrome/browser/media/router",
"//chrome/browser/metrics:expired_histograms_array",
"//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory",
"//chrome/browser/net:probe_message_proto",
"//chrome/browser/safe_browsing",
"//chrome/browser/ssl:proto",
"//chrome/browser/ui",
"//chrome/common/net",
"//chrome/installer/util:with_no_strings",
"//components/about_handler",
"//components/app_modal",
"//components/assist_ranker",
"//components/autofill/content/browser",
"//components/autofill/core/browser",
"//components/bookmarks/browser",
"//components/bookmarks/managed",
"//components/browser_sync",
"//components/browsing_data/content",
"//components/browsing_data/core",
"//components/captive_portal",
"//components/certificate_reporting",
"//components/certificate_transparency",
"//components/chrome_cleaner/public/constants",
"//components/chrome_cleaner/public/interfaces",
"//components/cloud_devices/common",
"//components/component_updater",
"//components/component_updater:crl_set_remover",
"//components/consent_auditor",
"//components/content_settings/core/browser",
"//components/content_settings/core/common",
"//components/contextual_search:browser",
"//components/cookie_config",
"//components/crx_file",
"//components/data_reduction_proxy/content/browser",
"//components/data_reduction_proxy/core/browser",
"//components/data_usage/core",
"//components/data_use_measurement/content",
"//components/data_use_measurement/core:ascriber",
"//components/device_event_log",
"//components/dom_distiller/content/browser",
"//components/domain_reliability",
"//components/download/content/factory",
"//components/download/downloader/in_progress",
"//components/download/public",
"//components/error_page/common",
"//components/favicon/content",
"//components/favicon/core",
"//components/favicon_base",
"//components/feature_engagement",
"//components/flags_ui",
"//components/gcm_driver",
"//components/google/core/browser",
"//components/handoff",
"//components/history/content/browser",
"//components/history/core/browser",
"//components/history/core/common",
"//components/infobars/core",
"//components/invalidation/impl",
"//components/keyed_service/content",
"//components/language/core/browser",
"//components/metrics:call_stacks",
"//components/metrics:component_metrics",
"//components/metrics:gpu",
"//components/metrics:net",
"//components/metrics:ui",
"//components/metrics_services_manager",
"//components/navigation_interception",
"//components/navigation_metrics",
"//components/net_log",
"//components/network_hints/common",
"//components/network_session_configurator/browser",
"//components/network_time",
"//components/ntp_snippets",
"//components/ntp_tiles",
"//components/offline_items_collection/core",
"//components/offline_pages/features:features",
"//components/omnibox/browser",
"//components/optimization_guide",
"//components/os_crypt",
"//components/password_manager/content/browser",
"//components/password_manager/core/browser",
"//components/password_manager/core/common",
"//components/password_manager/sync/browser",
"//components/patch_service/public/interfaces",
"//components/payments/core",
"//components/physical_web/eddystone",
"//components/policy:generated",
"//components/policy/core/browser",
"//components/policy/proto",
"//components/prefs:prefs",
"//components/previews/content",
"//components/previews/core",
"//components/profile_metrics",
"//components/proxy_config",
"//components/query_parser",
"//components/rappor",
"//components/rappor:rappor_recorder",
"//components/renderer_context_menu",
"//components/resources",
"//components/search",
"//components/search_engines",
"//components/search_provider_logos",
"//components/security_interstitials/content:security_interstitial_page",
"//components/security_interstitials/core",
"//components/security_state/content",
"//components/security_state/core",
"//components/sessions",
"//components/signin/core/browser",
"//components/signin/core/browser:signin_features",
"//components/spellcheck:build_features",
"//components/ssl_config",
"//components/ssl_errors",
"//components/startup_metric_utils/browser:host",
"//components/startup_metric_utils/browser:lib",
"//components/storage_monitor",
"//components/strings",
"//components/subresource_filter/content/browser",
"//components/subresource_filter/core/browser",
"//components/suggestions",
"//components/supervised_user_error_page",
"//components/sync",
"//components/sync_bookmarks",
"//components/sync_preferences",
"//components/sync_sessions",
"//components/task_scheduler_util/browser",
"//components/task_scheduler_util/common",
"//components/tracing:startup_tracing",
"//components/translate/content/browser",
"//components/translate/core/browser",
"//components/translate/core/common",
"//components/ukm:observers",
"//components/ukm/debug_page",
"//components/undo",
"//components/update_client",
"//components/upload_list",
"//components/url_formatter",
"//components/url_matcher",
"//components/user_prefs",
"//components/variations",
"//components/variations/field_trial_config",
"//components/variations/net",
"//components/variations/service",
"//components/visitedlink/browser",
"//components/visitedlink/common",
"//components/web_cache/browser",
"//components/web_resource",
"//components/webdata/common",
"//components/webdata_services",
"//content/app/resources",
"//content/public/browser",
"//content/public/common",
"//content/public/common:feature_h264_with_openh264_ffmpeg",
"//content/public/common:features",
"//content/public/common:service_names",
"//content/public/network",
"//courgette:courgette_lib",
"//crypto",
"//crypto:platform",
"//device/base",
"//device/bluetooth:mojo",
"//device/usb/mojo",
"//device/usb/public/interfaces",
"//device/vr/features",
"//extensions/features",
"//google_apis",
"//gpu/config",
"//media",
"//media:media_features",
"//media/cast:net",
"//media/midi",
"//media/mojo:features",
"//media/mojo/interfaces:mirror_service_remoting",
"//media/mojo/interfaces:remoting",
"//media/mojo/services",
"//mojo/common",
"//mojo/edk/system",
"//mojo/public/cpp/bindings",
"//mojo/public/js",
"//net:extras",
"//net:net_browser_services",
"//ppapi/features",
"//printing/features",
"//rlz/features",
"//services/data_decoder/public/cpp",
"//services/device/public/cpp:device_features",
"//services/identity:lib",
"//services/metrics",
"//services/metrics/public/cpp:ukm_builders",
"//services/network/public/interfaces",
"//services/preferences/public/cpp",
"//services/preferences/public/cpp:service_main",
"//services/preferences/public/cpp/tracked",
"//services/preferences/public/interfaces",
"//services/preferences/tracked",
"//services/proxy_resolver/public/interfaces",
"//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
"//services/service_manager/public/cpp",
"//services/shape_detection/public/interfaces",
"//skia",
"//sql",
"//storage/browser",
"//storage/common",
"//third_party/WebKit/common:blink_common",
"//third_party/WebKit/public:features",
"//third_party/WebKit/public:resources",
"//third_party/WebKit/public:scaled_resources",
"//third_party/cacheinvalidation",
"//third_party/icu",
"//third_party/leveldatabase",
"//third_party/libaddressinput",
"//third_party/libaom:av1_features",
"//third_party/libxml",
"//third_party/libyuv",
"//third_party/metrics_proto",
"//third_party/re2",
"//third_party/smhasher:cityhash",
"//third_party/widevine/cdm:headers",
"//third_party/zlib",
"//third_party/zlib:minizip",
"//third_party/zlib/google:compression_utils",
"//third_party/zlib/google:zip",
"//ui/base",
"//ui/base:ui_data_pack",
"//ui/base/ime",
"//ui/events:events_base",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/gl",
"//ui/gl:gl_features",
"//ui/message_center",
"//ui/message_center/public/cpp",
"//ui/resources",
"//ui/shell_dialogs",
"//ui/strings",
"//ui/surface",
"//ui/web_dialogs",
]
if (is_android) {
sources += [
"after_startup_task_utils_android.cc",
"android/accessibility/font_size_prefs_android.cc",
"android/accessibility/font_size_prefs_android.h",
"android/android_theme_resources.h",
"android/app_hooks.cc",
"android/app_hooks.h",
"android/appmenu/app_menu_drag_helper.cc",
"android/appmenu/app_menu_drag_helper.h",
"android/background_sync_launcher_android.cc",
"android/background_sync_launcher_android.h",
"android/background_tab_manager.cc",
"android/background_tab_manager.h",
"android/bookmarks/bookmark_bridge.cc",
"android/bookmarks/bookmark_bridge.h",
"android/bookmarks/partner_bookmarks_reader.cc",
"android/bookmarks/partner_bookmarks_reader.h",
"android/bookmarks/partner_bookmarks_shim.cc",
"android/bookmarks/partner_bookmarks_shim.h",
"android/bottombar/overlay_panel_content.cc",
"android/bottombar/overlay_panel_content.h",
"android/browsing_data/browsing_data_bridge.cc",
"android/browsing_data/browsing_data_counter_bridge.cc",
"android/browsing_data/browsing_data_counter_bridge.h",
"android/browsing_data/url_filter_bridge.cc",
"android/browsing_data/url_filter_bridge.h",
"android/chrome_backup_agent.cc",
"android/chrome_backup_agent.h",
"android/chrome_backup_watcher.cc",
"android/chrome_backup_watcher.h",
"android/chrome_context_util.cc",
"android/chrome_context_util.h",
"android/chrome_feature_list.cc",
"android/chrome_feature_list.h",
"android/chrome_startup_flags.cc",
"android/chrome_startup_flags.h",
"android/compositor/compositor_view.cc",
"android/compositor/compositor_view.h",
"android/compositor/decoration_title.cc",
"android/compositor/decoration_title.h",
"android/compositor/layer/content_layer.cc",
"android/compositor/layer/content_layer.h",
"android/compositor/layer/contextual_search_layer.cc",
"android/compositor/layer/contextual_search_layer.h",
"android/compositor/layer/layer.h",
"android/compositor/layer/overlay_panel_layer.cc",
"android/compositor/layer/overlay_panel_layer.h",
"android/compositor/layer/tab_handle_layer.cc",
"android/compositor/layer/tab_handle_layer.h",
"android/compositor/layer/tab_layer.cc",
"android/compositor/layer/tab_layer.h",
"android/compositor/layer/thumbnail_layer.cc",
"android/compositor/layer/thumbnail_layer.h",
"android/compositor/layer/toolbar_layer.cc",
"android/compositor/layer/toolbar_layer.h",
"android/compositor/layer_title_cache.cc",
"android/compositor/layer_title_cache.h",
"android/compositor/resources/resource_factory.cc",
"android/compositor/resources/resource_factory.h",
"android/compositor/resources/toolbar_resource.cc",
"android/compositor/resources/toolbar_resource.h",
"android/compositor/scene_layer/contextual_search_scene_layer.cc",
"android/compositor/scene_layer/contextual_search_scene_layer.h",
"android/compositor/scene_layer/scene_layer.cc",
"android/compositor/scene_layer/scene_layer.h",
"android/compositor/scene_layer/static_tab_scene_layer.cc",
"android/compositor/scene_layer/static_tab_scene_layer.h",
"android/compositor/scene_layer/tab_list_scene_layer.cc",
"android/compositor/scene_layer/tab_list_scene_layer.h",
"android/compositor/scene_layer/tab_strip_scene_layer.cc",
"android/compositor/scene_layer/tab_strip_scene_layer.h",
"android/compositor/scene_layer/toolbar_scene_layer.cc",
"android/compositor/scene_layer/toolbar_scene_layer.h",
"android/compositor/tab_content_manager.cc",
"android/compositor/tab_content_manager.h",
"android/content/content_utils.cc",
"android/contextualsearch/contextual_search_context.cc",
"android/contextualsearch/contextual_search_context.h",
"android/contextualsearch/contextual_search_delegate.cc",
"android/contextualsearch/contextual_search_delegate.h",
"android/contextualsearch/contextual_search_field_trial.cc",
"android/contextualsearch/contextual_search_field_trial.h",
"android/contextualsearch/contextual_search_manager.cc",
"android/contextualsearch/contextual_search_manager.h",
"android/contextualsearch/contextual_search_ranker_logger_impl.cc",
"android/contextualsearch/contextual_search_ranker_logger_impl.h",
"android/contextualsearch/contextual_search_tab_helper.cc",
"android/contextualsearch/contextual_search_tab_helper.h",
"android/contextualsearch/ctr_suppression.cc",
"android/contextualsearch/ctr_suppression.h",
"android/contextualsearch/resolved_search_term.cc",
"android/contextualsearch/resolved_search_term.h",
"android/cookies/cookies_fetcher.cc",
"android/cookies/cookies_fetcher.h",
"android/crash/pure_java_exception_handler.cc",
"android/crash/pure_java_exception_handler.h",
"android/customtabs/origin_verifier.cc",
"android/customtabs/origin_verifier.h",
"android/data_usage/data_use_matcher.cc",
"android/data_usage/data_use_matcher.h",
"android/data_usage/data_use_tab_helper.cc",
"android/data_usage/data_use_tab_helper.h",
"android/data_usage/data_use_tab_model.cc",
"android/data_usage/data_use_tab_model.h",
"android/data_usage/data_use_tab_ui_manager_android.cc",
"android/data_usage/data_use_ui_tab_model.cc",
"android/data_usage/data_use_ui_tab_model.h",
"android/data_usage/data_use_ui_tab_model_factory.cc",
"android/data_usage/data_use_ui_tab_model_factory.h",
"android/data_usage/external_data_use_observer.cc",
"android/data_usage/external_data_use_observer.h",
"android/data_usage/external_data_use_observer_bridge.cc",
"android/data_usage/external_data_use_observer_bridge.h",
"android/data_usage/external_data_use_reporter.cc",
"android/data_usage/external_data_use_reporter.h",
"android/data_usage/tab_data_use_entry.cc",
"android/data_usage/tab_data_use_entry.h",
"android/devtools_manager_delegate_android.cc",
"android/devtools_manager_delegate_android.h",
"android/devtools_server.cc",
"android/devtools_server.h",
"android/digital_asset_links/digital_asset_links_handler.cc",
"android/digital_asset_links/digital_asset_links_handler.h",
"android/document/document_web_contents_delegate.cc",
"android/document/document_web_contents_delegate.h",
"android/dom_distiller/distiller_ui_handle_android.cc",
"android/dom_distiller/distiller_ui_handle_android.h",
"android/download/chrome_duplicate_download_infobar_delegate.cc",
"android/download/chrome_duplicate_download_infobar_delegate.h",
"android/download/dangerous_download_infobar_delegate.cc",
"android/download/dangerous_download_infobar_delegate.h",
"android/download/download_controller.cc",
"android/download/download_controller.h",
"android/download/download_controller_base.cc",
"android/download/download_controller_base.h",
"android/download/download_manager_service.cc",
"android/download/download_manager_service.h",
"android/download/duplicate_download_infobar_delegate.cc",
"android/download/duplicate_download_infobar_delegate.h",
"android/download/intercept_download_resource_throttle.cc",
"android/download/intercept_download_resource_throttle.h",
"android/download/intercept_oma_download_navigation_throttle.cc",
"android/download/intercept_oma_download_navigation_throttle.h",
"android/download/items/offline_content_aggregator_factory_android.cc",
"android/download/service/download_background_task.cc",
"android/download/service/download_task_scheduler.cc",
"android/download/service/download_task_scheduler.h",
"android/favicon_helper.cc",
"android/favicon_helper.h",
"android/feature_engagement/tracker_factory_android.cc",
"android/feature_utilities.cc",
"android/feature_utilities.h",
"android/feedback/connectivity_checker.cc",
"android/feedback/screenshot_task.cc",
"android/feedback/system_info_feedback_source.cc",
"android/find_in_page/find_in_page_bridge.cc",
"android/find_in_page/find_in_page_bridge.h",
"android/foreign_session_helper.cc",
"android/foreign_session_helper.h",
"android/history/browsing_history_bridge.cc",
"android/history/browsing_history_bridge.h",
"android/history_report/data_observer.cc",
"android/history_report/data_observer.h",
"android/history_report/data_provider.cc",
"android/history_report/data_provider.h",
"android/history_report/delta_file_backend_leveldb.cc",
"android/history_report/delta_file_backend_leveldb.h",
"android/history_report/delta_file_commons.cc",
"android/history_report/delta_file_commons.h",
"android/history_report/delta_file_service.cc",
"android/history_report/delta_file_service.h",
"android/history_report/get_all_urls_from_history_task.cc",
"android/history_report/get_all_urls_from_history_task.h",
"android/history_report/historic_visits_migration_task.cc",
"android/history_report/historic_visits_migration_task.h",
"android/history_report/history_report_jni_bridge.cc",
"android/history_report/history_report_jni_bridge.h",
"android/history_report/usage_report_util.cc",
"android/history_report/usage_report_util.h",
"android/history_report/usage_reports_buffer_backend.cc",
"android/history_report/usage_reports_buffer_backend.h",
"android/history_report/usage_reports_buffer_service.cc",
"android/history_report/usage_reports_buffer_service.h",
"android/hung_renderer_infobar_delegate.cc",
"android/hung_renderer_infobar_delegate.h",
"android/instantapps/instant_apps_infobar_delegate.cc",
"android/instantapps/instant_apps_infobar_delegate.h",
"android/instantapps/instant_apps_settings.cc",
"android/instantapps/instant_apps_settings.h",
"android/intent_helper.cc",
"android/intent_helper.h",
"android/large_icon_bridge.cc",
"android/large_icon_bridge.h",
"android/locale/locale_manager.cc",
"android/locale/locale_manager.h",
"android/locale/special_locale_handler.cc",
"android/locale/special_locale_handler.h",
"android/location_settings.h",
"android/location_settings_impl.cc",
"android/location_settings_impl.h",
"android/logo_bridge.cc",
"android/logo_bridge.h",
"android/metrics/launch_metrics.cc",
"android/metrics/uma_session_stats.cc",
"android/metrics/uma_session_stats.h",
"android/metrics/uma_utils.cc",
"android/metrics/uma_utils.h",
"android/metrics/variations_session.cc",
"android/mojo/chrome_interface_registrar_android.cc",
"android/mojo/chrome_interface_registrar_android.h",
"android/net/external_estimate_provider_android.cc",
"android/net/external_estimate_provider_android.h",
"android/ntp/android_content_suggestions_notifier.cc",
"android/ntp/android_content_suggestions_notifier.h",
"android/ntp/content_suggestions_notifier.cc",
"android/ntp/content_suggestions_notifier.h",
"android/ntp/content_suggestions_notifier_service.cc",
"android/ntp/content_suggestions_notifier_service.h",
"android/ntp/most_visited_sites_bridge.cc",
"android/ntp/most_visited_sites_bridge.h",
"android/ntp/new_tab_page_url_handler.cc",
"android/ntp/new_tab_page_url_handler.h",
"android/ntp/ntp_snippets_bridge.cc",
"android/ntp/ntp_snippets_bridge.h",
"android/ntp/ntp_snippets_launcher.cc",
"android/ntp/ntp_snippets_launcher.h",
"android/ntp/recent_tabs_page_prefs.cc",
"android/ntp/recent_tabs_page_prefs.h",
"android/ntp/suggestions_event_reporter_bridge.cc",
"android/omnibox/answers_image_bridge.cc",
"android/omnibox/autocomplete_controller_android.cc",
"android/omnibox/autocomplete_controller_android.h",
"android/omnibox/omnibox_prerender.cc",
"android/omnibox/omnibox_prerender.h",
"android/oom_intervention/near_oom_monitor.cc",
"android/oom_intervention/near_oom_monitor.h",
"android/oom_intervention/oom_intervention_tab_helper.cc",
"android/oom_intervention/oom_intervention_tab_helper.h",
"android/partner_browser_customizations.cc",
"android/partner_browser_customizations.h",
"android/password_ui_view_android.cc",
"android/password_ui_view_android.h",
"android/payments/service_worker_payment_app_bridge.cc",
"android/photo_picker_sandbox_bridge.cc",
"android/physical_web/eddystone_encoder_bridge.cc",
"android/physical_web/eddystone_encoder_bridge.h",
"android/physical_web/physical_web_data_source_android.cc",
"android/physical_web/physical_web_data_source_android.h",
"android/policy/policy_auditor.cc",
"android/preferences/autofill/autofill_profile_bridge.cc",
"android/preferences/browser_prefs_android.cc",
"android/preferences/browser_prefs_android.h",
"android/preferences/clipboard_android.cc",
"android/preferences/clipboard_android.h",
"android/preferences/pref_change_registrar_android.cc",
"android/preferences/pref_change_registrar_android.h",
"android/preferences/pref_service_bridge.cc",
"android/preferences/pref_service_bridge.h",
"android/preferences/preferences_launcher.cc",
"android/preferences/preferences_launcher.h",
"android/preferences/prefs.h",
"android/preferences/website_preference_bridge.cc",
"android/profiles/profile_downloader_android.cc",
"android/profiles/profile_manager_utils.cc",
"android/provider/blocking_ui_thread_async_request.cc",
"android/provider/blocking_ui_thread_async_request.h",
"android/provider/bookmark_model_observer_task.cc",
"android/provider/bookmark_model_observer_task.h",
"android/provider/chrome_browser_provider.cc",
"android/provider/chrome_browser_provider.h",
"android/provider/run_on_ui_thread_blocking.h",
"android/rappor/rappor_service_bridge.cc",
"android/recently_closed_tabs_bridge.cc",
"android/recently_closed_tabs_bridge.h",
"android/resource_id.h",
"android/resource_mapper.cc",
"android/resource_mapper.h",
"android/rlz/revenue_stats.cc",
"android/rlz/rlz_ping_handler.cc",
"android/rlz/rlz_ping_handler.h",
"android/search_permissions/search_geolocation_disclosure_infobar_delegate.cc",
"android/search_permissions/search_geolocation_disclosure_infobar_delegate.h",
"android/search_permissions/search_geolocation_disclosure_tab_helper.cc",
"android/search_permissions/search_geolocation_disclosure_tab_helper.h",
"android/search_permissions/search_permissions_service.cc",
"android/search_permissions/search_permissions_service.h",
"android/seccomp_support_detector.cc",
"android/seccomp_support_detector.h",
"android/service_tab_launcher.cc",
"android/service_tab_launcher.h",
"android/sessions/session_tab_helper_android.cc",
"android/shortcut_helper.cc",
"android/shortcut_helper.h",
"android/shortcut_info.cc",
"android/shortcut_info.h",
"android/signin/account_management_screen_helper.cc",
"android/signin/account_management_screen_helper.h",
"android/signin/account_tracker_service_android.cc",
"android/signin/signin_investigator_android.cc",
"android/signin/signin_investigator_android.h",
"android/signin/signin_manager_android.cc",
"android/signin/signin_manager_android.h",
"android/signin/signin_promo_util_android.cc",
"android/signin/signin_promo_util_android.h",
"android/tab_android.cc",
"android/tab_android.h",
"android/tab_state.cc",
"android/tab_state.h",
"android/tab_web_contents_delegate_android.cc",
"android/tab_web_contents_delegate_android.h",
"android/thumbnail/scoped_ptr_expiring_cache.h",
"android/thumbnail/thumbnail.cc",
"android/thumbnail/thumbnail.h",
"android/thumbnail/thumbnail_cache.cc",
"android/thumbnail/thumbnail_cache.h",
"android/url_utilities.cc",
"android/usb/web_usb_chooser_service_android.cc",
"android/usb/web_usb_chooser_service_android.h",
"android/voice_search_tab_helper.cc",
"android/voice_search_tab_helper.h",
"android/warmup_manager.cc",
"android/web_contents_factory.cc",
"android/webapk/chrome_webapk_host.cc",
"android/webapk/chrome_webapk_host.h",
"android/webapk/webapk_icon_hasher.cc",
"android/webapk/webapk_icon_hasher.h",
"android/webapk/webapk_info.cc",
"android/webapk/webapk_info.h",
"android/webapk/webapk_install_service.cc",
"android/webapk/webapk_install_service.h",
"android/webapk/webapk_install_service_factory.cc",
"android/webapk/webapk_install_service_factory.h",
"android/webapk/webapk_installer.cc",
"android/webapk/webapk_installer.h",
"android/webapk/webapk_metrics.cc",
"android/webapk/webapk_metrics.h",
"android/webapk/webapk_types.h",
"android/webapk/webapk_update_data_fetcher.cc",
"android/webapk/webapk_update_data_fetcher.h",
"android/webapk/webapk_update_manager.cc",
"android/webapk/webapk_web_manifest_checker.cc",
"android/webapk/webapk_web_manifest_checker.h",
"android/webapps/add_to_homescreen_data_fetcher.cc",
"android/webapps/add_to_homescreen_data_fetcher.h",
"android/webapps/add_to_homescreen_manager.cc",
"android/webapps/add_to_homescreen_manager.h",
"android/webapps/single_tab_mode_tab_helper.cc",
"android/webapps/single_tab_mode_tab_helper.h",
"android/webapps/webapp_registry.cc",
"android/webapps/webapp_registry.h",
"android/widget/thumbnail_generator.cc",
"android/widget/thumbnail_generator.h",
"autofill/android/personal_data_manager_android.cc",
"autofill/android/personal_data_manager_android.h",
"autofill/android/phone_number_util_android.cc",
"banners/app_banner_infobar_delegate_android.cc",
"banners/app_banner_infobar_delegate_android.h",
"banners/app_banner_manager_android.cc",
"banners/app_banner_manager_android.h",
"chrome_browser_field_trials_mobile.cc",
"chrome_browser_field_trials_mobile.h",
"dom_distiller/dom_distiller_service_factory_android.cc",
"dom_distiller/dom_distiller_service_factory_android.h",
"dom_distiller/tab_utils_android.cc",
"engagement/site_engagement_service_android.cc",
"engagement/site_engagement_service_android.h",
"history/android/android_history_provider_service.cc",
"history/android/android_history_provider_service.h",
"history/android/android_provider_backend.cc",
"history/android/android_provider_backend.h",
"history/android/bookmark_model_sql_handler.cc",
"history/android/bookmark_model_sql_handler.h",
"history/android/sqlite_cursor.cc",
"history/android/sqlite_cursor.h",
"invalidation/invalidation_service_factory_android.cc",
"invalidation/invalidation_service_factory_android.h",
"lifetime/application_lifetime_android.cc",
"lifetime/application_lifetime_android.h",
"media/android/cdm/media_drm_credential_manager.cc",
"media/android/cdm/media_drm_credential_manager.h",
"media/android/cdm/media_drm_license_manager.cc",
"media/android/cdm/media_drm_license_manager.h",
"media/android/cdm/media_drm_storage_factory.cc",
"media/android/cdm/media_drm_storage_factory.h",
"media/android/remote/record_cast_action.cc",
"media/android/remote/remote_media_player_bridge.cc",
"media/android/remote/remote_media_player_bridge.h",
"media/android/remote/remote_media_player_manager.cc",
"media/android/remote/remote_media_player_manager.h",
"media/android/router/media_router_android.cc",
"media/android/router/media_router_android.h",
"media/android/router/media_router_android_bridge.cc",
"media/android/router/media_router_android_bridge.h",
"media/android/router/media_router_dialog_controller_android.cc",
"media/android/router/media_router_dialog_controller_android.h",
"media/webrtc/screen_capture_infobar_delegate_android.cc",
"media/webrtc/screen_capture_infobar_delegate_android.h",
"metrics/android_metrics_provider.cc",
"metrics/android_metrics_provider.h",
"metrics/page_load_metrics_provider.cc",
"metrics/page_load_metrics_provider.h",
"net/spdyproxy/data_reduction_promo_infobar_delegate_android.cc",
"net/spdyproxy/data_reduction_promo_infobar_delegate_android.h",
"net/spdyproxy/data_reduction_proxy_settings_android.cc",
"net/spdyproxy/data_reduction_proxy_settings_android.h",
"notifications/notification_platform_bridge_android.cc",
"notifications/notification_platform_bridge_android.h",
"page_load_metrics/observers/android_page_load_metrics_observer.cc",
"page_load_metrics/observers/android_page_load_metrics_observer.h",
"password_manager/account_chooser_dialog_android.cc",
"password_manager/account_chooser_dialog_android.h",
"password_manager/auto_signin_first_run_dialog_android.cc",
"password_manager/auto_signin_first_run_dialog_android.h",
"password_manager/credential_android.cc",
"password_manager/credential_android.h",
"password_manager/generated_password_saved_infobar_delegate_android.cc",
"password_manager/generated_password_saved_infobar_delegate_android.h",
"password_manager/password_manager_infobar_delegate_android.cc",
"password_manager/password_manager_infobar_delegate_android.h",
"password_manager/save_password_infobar_delegate_android.cc",
"password_manager/save_password_infobar_delegate_android.h",
"password_manager/update_password_infobar_delegate_android.cc",
"password_manager/update_password_infobar_delegate_android.h",
"payments/android/journey_logger_android.cc",
"payments/android/journey_logger_android.h",
"payments/android/payment_manifest_web_data_service_android.cc",
"payments/android/payment_manifest_web_data_service_android.h",
"payments/android/ssl_validity_checker_android.cc",
"payments/android/ssl_validity_checker_android.h",
"permissions/grouped_permission_infobar_delegate_android.cc",
"permissions/grouped_permission_infobar_delegate_android.h",
"permissions/permission_dialog_delegate.cc",
"permissions/permission_dialog_delegate.h",
"permissions/permission_prompt_android.cc",
"permissions/permission_prompt_android.h",
"permissions/permission_update_infobar_delegate_android.cc",
"permissions/permission_update_infobar_delegate_android.h",
"platform_util_android.cc",
"policy/cloud/user_policy_signin_service_mobile.cc",
"policy/cloud/user_policy_signin_service_mobile.h",
"prerender/external_prerender_handler_android.cc",
"prerender/external_prerender_handler_android.h",
"profiles/profile_android.cc",
"profiles/profile_android.h",
"search/contextual_search_policy_handler_android.cc",
"search/contextual_search_policy_handler_android.h",
"search_engines/template_url_service_android.cc",
"search_engines/template_url_service_android.h",
"signin/oauth2_token_service_delegate_android.cc",
"signin/oauth2_token_service_delegate_android.h",
"ssl/security_state_model_android.cc",
"sync/glue/synced_tab_delegate_android.cc",
"sync/glue/synced_tab_delegate_android.h",
"sync/glue/synced_window_delegate_android.cc",
"sync/glue/synced_window_delegate_android.h",
"sync/glue/synced_window_delegates_getter_android.cc",
"sync/glue/synced_window_delegates_getter_android.h",
"sync/profile_sync_service_android.cc",
"sync/profile_sync_service_android.h",
"sync/sessions/sync_sessions_metrics_android.cc",
]
deps += [
":client_discourse_context_proto",
":delta_file_proto",
":jni_headers",
"//chrome/browser/android/webapk:proto",
"//components/cdm/browser",
"//components/data_usage/android",
"//components/payments/content/android",
"//components/resources:components_resources",
"//components/toolbar",
"//components/web_contents_delegate_android",
"//rlz:rlz_utils",
"//sandbox",
"//sandbox:sandbox_features",
"//services/proxy_resolver:lib",
"//third_party/android_opengl/etc1",
"//third_party/android_tools:cpu_features",
"//third_party/libaddressinput:util",
"//third_party/libphonenumber",
"//third_party/smhasher:murmurhash2",
]
deps -= [ "//components/storage_monitor" ]
# Android does in-process PAC, so must link against V8 directly. Other
# platforms use OOP Mojo resolution.
deps += [
"//net:net_utility_services",
"//net:net_with_v8",
"//v8",
]
if (enable_supervised_users) {
sources += [
"supervised_user/child_accounts/child_account_feedback_reporter_android.cc",
"supervised_user/child_accounts/child_account_feedback_reporter_android.h",
"supervised_user/child_accounts/child_account_service_android.cc",
"supervised_user/child_accounts/child_account_service_android.h",
]
}
} else {
sources += [
"accessibility/invert_bubble_prefs.cc",
"accessibility/invert_bubble_prefs.h",
"background/background_contents.cc",
"background/background_contents.h",
"banners/app_banner_infobar_delegate_desktop.cc",
"banners/app_banner_infobar_delegate_desktop.h",
"banners/app_banner_manager_desktop.cc",
"banners/app_banner_manager_desktop.h",
"bookmarks/bookmark_html_writer.cc",
"bookmarks/bookmark_html_writer.h",
"certificate_viewer.h",
"chooser_controller/chooser_controller.cc",
"chooser_controller/chooser_controller.h",
"chrome_browser_field_trials_desktop.cc",
"chrome_browser_field_trials_desktop.h",
"chrome_browser_main_posix.cc",
"chrome_browser_main_posix.h",
"chrome_process_singleton.cc",
"chrome_process_singleton.h",
"cryptauth/chrome_cryptauth_service.cc",
"cryptauth/chrome_cryptauth_service.h",
"cryptauth/chrome_cryptauth_service_factory.cc",
"cryptauth/chrome_cryptauth_service_factory.h",
"custom_handlers/register_protocol_handler_permission_request.cc",
"custom_handlers/register_protocol_handler_permission_request.h",
"diagnostics/diagnostics_controller.cc",
"diagnostics/diagnostics_controller.h",
"diagnostics/diagnostics_metrics.cc",
"diagnostics/diagnostics_metrics.h",
"diagnostics/diagnostics_model.cc",
"diagnostics/diagnostics_model.h",
"diagnostics/diagnostics_test.cc",
"diagnostics/diagnostics_test.h",
"diagnostics/diagnostics_writer.cc",
"diagnostics/diagnostics_writer.h",
"diagnostics/recon_diagnostics.cc",
"diagnostics/recon_diagnostics.h",
"diagnostics/sqlite_diagnostics.cc",
"diagnostics/sqlite_diagnostics.h",
"download/default_download_dir_policy_handler.cc",
"download/default_download_dir_policy_handler.h",
"download/download_commands.cc",
"download/download_commands.h",
"download/download_crx_util.cc",
"download/download_crx_util.h",
"download/download_danger_prompt.cc",
"download/download_danger_prompt.h",
"download/download_dir_policy_handler.cc",
"download/download_dir_policy_handler.h",
"download/download_dir_util.cc",
"download/download_dir_util.h",
"download/download_shelf.cc",
"download/download_shelf.h",
"download/download_shelf_context_menu.cc",
"download/download_shelf_context_menu.h",
"feedback/feedback_dialog_utils.cc",
"feedback/feedback_dialog_utils.h",
"feedback/feedback_profile_observer.cc",
"feedback/feedback_profile_observer.h",
"feedback/feedback_uploader_chrome.cc",
"feedback/feedback_uploader_chrome.h",
"feedback/feedback_uploader_factory_chrome.cc",
"feedback/feedback_uploader_factory_chrome.h",
"feedback/show_feedback_page.cc",
"feedback/system_logs/about_system_logs_fetcher.cc",
"feedback/system_logs/about_system_logs_fetcher.h",
"feedback/system_logs/chrome_system_logs_fetcher.cc",
"feedback/system_logs/chrome_system_logs_fetcher.h",
"feedback/system_logs/log_sources/chrome_internal_log_source.cc",
"feedback/system_logs/log_sources/chrome_internal_log_source.h",
"feedback/system_logs/log_sources/crash_ids_source.cc",
"feedback/system_logs/log_sources/crash_ids_source.h",
"feedback/system_logs/log_sources/memory_details_log_source.cc",
"feedback/system_logs/log_sources/memory_details_log_source.h",
"first_run/first_run.cc",
"first_run/first_run.h",
"first_run/first_run_dialog.h",
"first_run/first_run_internal.h",
"first_run/first_run_internal_linux.cc",
"first_run/first_run_internal_mac.mm",
"first_run/first_run_internal_posix.cc",
"first_run/first_run_internal_win.cc",
"first_run/upgrade_util.h",
"first_run/upgrade_util_mac.cc",
"first_run/upgrade_util_win.cc",
"first_run/upgrade_util_win.h",
"font_family_cache.cc",
"font_family_cache.h",
"gpu/gl_string_manager.cc",
"gpu/gl_string_manager.h",
"importer/external_process_importer_client.cc",
"importer/external_process_importer_client.h",
"importer/external_process_importer_host.cc",
"importer/external_process_importer_host.h",
"importer/firefox_profile_lock.cc",
"importer/firefox_profile_lock.h",
"importer/firefox_profile_lock_posix.cc",
"importer/firefox_profile_lock_win.cc",
"importer/importer_list.cc",
"importer/importer_list.h",
"importer/importer_lock_dialog.h",
"importer/importer_progress_observer.h",
"importer/importer_uma.cc",
"importer/importer_uma.h",
"importer/in_process_importer_bridge.cc",
"importer/in_process_importer_bridge.h",
"importer/profile_writer.cc",
"importer/profile_writer.h",
"lifetime/browser_close_manager.cc",
"lifetime/browser_close_manager.h",
"lifetime/termination_notification.cc",
"lifetime/termination_notification.h",
"media/webrtc/tab_desktop_media_list.cc",
"media/webrtc/tab_desktop_media_list.h",
"media_galleries/chromeos/mtp_device_delegate_impl_chromeos.cc",
"media_galleries/chromeos/mtp_device_delegate_impl_chromeos.h",
"media_galleries/chromeos/mtp_device_object_enumerator.cc",
"media_galleries/chromeos/mtp_device_object_enumerator.h",
"media_galleries/chromeos/mtp_device_task_helper.cc",
"media_galleries/chromeos/mtp_device_task_helper.h",
"media_galleries/chromeos/mtp_device_task_helper_map_service.cc",
"media_galleries/chromeos/mtp_device_task_helper_map_service.h",
"media_galleries/chromeos/mtp_read_file_worker.cc",
"media_galleries/chromeos/mtp_read_file_worker.h",
"media_galleries/chromeos/snapshot_file_details.cc",
"media_galleries/chromeos/snapshot_file_details.h",
"media_galleries/fileapi/av_scanning_file_validator.cc",
"media_galleries/fileapi/av_scanning_file_validator.h",
"media_galleries/fileapi/media_file_system_backend.cc",
"media_galleries/fileapi/media_file_system_backend.h",
"media_galleries/fileapi/media_file_validator_factory.cc",
"media_galleries/fileapi/media_file_validator_factory.h",
"media_galleries/fileapi/media_path_filter.cc",
"media_galleries/fileapi/media_path_filter.h",
"media_galleries/fileapi/native_media_file_util.cc",
"media_galleries/fileapi/native_media_file_util.h",
"media_galleries/fileapi/readahead_file_stream_reader.cc",
"media_galleries/fileapi/readahead_file_stream_reader.h",
"media_galleries/fileapi/supported_audio_video_checker.cc",
"media_galleries/fileapi/supported_audio_video_checker.h",
"media_galleries/fileapi/supported_image_type_validator.cc",
"media_galleries/fileapi/supported_image_type_validator.h",
"media_galleries/gallery_watch_manager.cc",
"media_galleries/gallery_watch_manager.h",
"media_galleries/gallery_watch_manager_observer.h",
"media_galleries/mac/mtp_device_delegate_impl_mac.h",
"media_galleries/mac/mtp_device_delegate_impl_mac.mm",
"media_galleries/media_file_system_registry.cc",
"media_galleries/media_file_system_registry.h",
"media_galleries/media_galleries_dialog_controller.cc",
"media_galleries/media_galleries_dialog_controller.h",
"media_galleries/media_galleries_histograms.cc",
"media_galleries/media_galleries_histograms.h",
"media_galleries/media_galleries_permission_controller.cc",
"media_galleries/media_galleries_permission_controller.h",
"media_galleries/media_galleries_preferences.cc",
"media_galleries/media_galleries_preferences.h",
"media_galleries/media_galleries_preferences_factory.cc",
"media_galleries/media_galleries_preferences_factory.h",
"media_galleries/media_gallery_context_menu.cc",
"media_galleries/media_gallery_context_menu.h",
"media_galleries/win/mtp_device_delegate_impl_win.cc",
"media_galleries/win/mtp_device_delegate_impl_win.h",
"media_galleries/win/mtp_device_object_entry.cc",
"media_galleries/win/mtp_device_object_entry.h",
"media_galleries/win/mtp_device_object_enumerator.cc",
"media_galleries/win/mtp_device_object_enumerator.h",
"media_galleries/win/mtp_device_operations_util.cc",
"media_galleries/win/mtp_device_operations_util.h",
"media_galleries/win/portable_device_map_service.cc",
"media_galleries/win/portable_device_map_service.h",
"media_galleries/win/snapshot_file_details.cc",
"media_galleries/win/snapshot_file_details.h",
"memory/oom_memory_details.cc",
"memory/oom_memory_details.h",
"memory/swap_thrashing_monitor.cc",
"memory/swap_thrashing_monitor.h",
"memory/swap_thrashing_monitor_delegate.cc",
"memory/swap_thrashing_monitor_delegate.h",
"memory/swap_thrashing_monitor_delegate_win.cc",
"memory/swap_thrashing_monitor_delegate_win.h",
"metrics/first_web_contents_profiler.cc",
"metrics/first_web_contents_profiler.h",
"metrics/tab_reactivation_tracker.cc",
"metrics/tab_reactivation_tracker.h",
"metrics/tab_stats_data_store.cc",
"metrics/tab_stats_data_store.h",
"metrics/tab_stats_tracker.cc",
"metrics/tab_stats_tracker.h",
"metrics/tab_usage_recorder.cc",
"metrics/tab_usage_recorder.h",
"net/firefox_proxy_settings.cc",
"net/firefox_proxy_settings.h",
"notifications/message_center_notification_manager.cc",
"notifications/message_center_notification_manager.h",
"notifications/message_center_stats_collector.cc",
"notifications/message_center_stats_collector.h",
"notifications/notification_system_observer.cc",
"notifications/notification_system_observer.h",
"notifications/notification_ui_manager_desktop.cc",
"notifications/profile_notification.cc",
"notifications/profile_notification.h",
"obsolete_system/obsolete_system.h",
"obsolete_system/obsolete_system_linux.cc",
"obsolete_system/obsolete_system_mac.cc",
"obsolete_system/obsolete_system_win.cc",
"page_load_metrics/observers/session_restore_page_load_metrics_observer.cc",
"page_load_metrics/observers/session_restore_page_load_metrics_observer.h",
"pdf/pdf_extension_util.cc",
"pdf/pdf_extension_util.h",
"picture_in_picture/picture_in_picture_window_controller.cc",
"picture_in_picture/picture_in_picture_window_controller.h",
"policy/local_sync_policy_handler.cc",
"policy/local_sync_policy_handler.h",
"process_singleton_modal_dialog_lock.cc",
"process_singleton_modal_dialog_lock.h",
"process_singleton_posix.cc",
"process_singleton_startup_lock.cc",
"process_singleton_startup_lock.h",
"profile_resetter/brandcode_config_fetcher.cc",
"profile_resetter/brandcode_config_fetcher.h",
"profile_resetter/brandcoded_default_settings.cc",
"profile_resetter/brandcoded_default_settings.h",
"profile_resetter/profile_resetter.cc",
"profile_resetter/profile_resetter.h",
"profile_resetter/reset_report_uploader.cc",
"profile_resetter/reset_report_uploader.h",
"profile_resetter/reset_report_uploader_factory.cc",
"profile_resetter/reset_report_uploader_factory.h",
"profile_resetter/resettable_settings_snapshot.cc",
"profile_resetter/resettable_settings_snapshot.h",
"profile_resetter/triggered_profile_resetter.cc",
"profile_resetter/triggered_profile_resetter.h",
"profile_resetter/triggered_profile_resetter_factory.cc",
"profile_resetter/triggered_profile_resetter_factory.h",
"profile_resetter/triggered_profile_resetter_win.cc",
"profiles/avatar_menu.cc",
"profiles/avatar_menu.h",
"profiles/profile_shortcut_manager.cc",
"profiles/profile_shortcut_manager.h",
"profiles/profile_window.cc",
"profiles/profile_window.h",
"renderer_context_menu/render_view_context_menu.cc",
"renderer_context_menu/render_view_context_menu.h",
"renderer_context_menu/spelling_bubble_model.cc",
"renderer_context_menu/spelling_bubble_model.h",
"renderer_context_menu/spelling_menu_observer.cc",
"renderer_context_menu/spelling_menu_observer.h",
"repost_form_warning_controller.cc",
"repost_form_warning_controller.h",
"resource_coordinator/background_tab_navigation_throttle.cc",
"resource_coordinator/background_tab_navigation_throttle.h",
"resource_coordinator/discard_metrics_util.cc",
"resource_coordinator/discard_metrics_util.h",
"resource_coordinator/discard_reason.h",
"resource_coordinator/lifecycle_unit.cc",
"resource_coordinator/lifecycle_unit.h",
"resource_coordinator/lifecycle_unit_source_observer.h",
"resource_coordinator/tab_lifecycle_observer.h",
"resource_coordinator/tab_lifecycle_unit.cc",
"resource_coordinator/tab_lifecycle_unit.h",
"resource_coordinator/tab_manager.cc",
"resource_coordinator/tab_manager.h",
"resource_coordinator/tab_manager_delegate_chromeos.cc",
"resource_coordinator/tab_manager_delegate_chromeos.h",
"resource_coordinator/tab_manager_features.cc",
"resource_coordinator/tab_manager_features.h",
"resource_coordinator/tab_manager_resource_coordinator_signal_observer.cc",
"resource_coordinator/tab_manager_resource_coordinator_signal_observer.h",
"resource_coordinator/tab_manager_stats_collector.cc",
"resource_coordinator/tab_manager_stats_collector.h",
"resource_coordinator/tab_manager_web_contents_data.cc",
"resource_coordinator/tab_manager_web_contents_data.h",
"resource_coordinator/tab_stats.cc",
"resource_coordinator/tab_stats.h",
"resource_coordinator/time.cc",
"resource_coordinator/time.h",
"search/iframe_source.cc",
"search/iframe_source.h",
"search/instant_service.cc",
"search/instant_service.h",
"search/instant_service_factory.cc",
"search/instant_service_factory.h",
"search/instant_service_observer.cc",
"search/instant_service_observer.h",
"search/local_ntp_source.cc",
"search/local_ntp_source.h",
"search/most_visited_iframe_source.cc",
"search/most_visited_iframe_source.h",
"search/one_google_bar/one_google_bar_data.cc",
"search/one_google_bar/one_google_bar_data.h",
"search/one_google_bar/one_google_bar_fetcher.h",
"search/one_google_bar/one_google_bar_fetcher_impl.cc",
"search/one_google_bar/one_google_bar_fetcher_impl.h",
"search/one_google_bar/one_google_bar_service.cc",
"search/one_google_bar/one_google_bar_service.h",
"search/one_google_bar/one_google_bar_service_factory.cc",
"search/one_google_bar/one_google_bar_service_factory.h",
"search/one_google_bar/one_google_bar_service_observer.h",
"search/search_engine_base_url_tracker.cc",
"search/search_engine_base_url_tracker.h",
"signin/signin_promo.cc",
"signin/signin_promo.h",
"signin/signin_ui_util.cc",
"signin/signin_ui_util.h",
"speech/extension_api/tts_extension_api_constants.cc", # Should be moved to extensions section?
"speech/extension_api/tts_extension_api_constants.h",
"ssl/ssl_client_auth_observer.cc",
"ssl/ssl_client_auth_observer.h",
"status_icons/desktop_notification_balloon.cc",
"status_icons/desktop_notification_balloon.h",
"sync/glue/extension_data_type_controller.cc",
"sync/glue/extension_data_type_controller.h",
"sync/glue/extension_setting_data_type_controller.cc",
"sync/glue/extension_setting_data_type_controller.h",
"sync/glue/theme_data_type_controller.cc",
"sync/glue/theme_data_type_controller.h",
"sync/sessions/browser_list_router_helper.cc",
"sync/sessions/browser_list_router_helper.h",
"sync/sync_ui_util.cc",
"sync/sync_ui_util.h",
"task_manager/providers/browser_process_task.cc",
"task_manager/providers/browser_process_task.h",
"task_manager/providers/browser_process_task_provider.cc",
"task_manager/providers/browser_process_task_provider.h",
"task_manager/providers/child_process_task.cc",
"task_manager/providers/child_process_task.h",
"task_manager/providers/child_process_task_provider.cc",
"task_manager/providers/child_process_task_provider.h",
"task_manager/providers/fallback_task_provider.cc",
"task_manager/providers/fallback_task_provider.h",
"task_manager/providers/render_process_host_task_provider.cc",
"task_manager/providers/render_process_host_task_provider.h",
"task_manager/providers/task.cc",
"task_manager/providers/task.h",
"task_manager/providers/task_provider.cc",
"task_manager/providers/task_provider.h",
"task_manager/providers/task_provider_observer.h",
"task_manager/providers/web_contents/background_contents_tag.cc",
"task_manager/providers/web_contents/background_contents_tag.h",
"task_manager/providers/web_contents/background_contents_task.cc",
"task_manager/providers/web_contents/background_contents_task.h",
"task_manager/providers/web_contents/devtools_tag.cc",
"task_manager/providers/web_contents/devtools_tag.h",
"task_manager/providers/web_contents/devtools_task.cc",
"task_manager/providers/web_contents/devtools_task.h",
"task_manager/providers/web_contents/extension_tag.cc",
"task_manager/providers/web_contents/extension_tag.h",
"task_manager/providers/web_contents/extension_task.cc",
"task_manager/providers/web_contents/extension_task.h",
"task_manager/providers/web_contents/guest_tag.cc",
"task_manager/providers/web_contents/guest_tag.h",
"task_manager/providers/web_contents/guest_task.cc",
"task_manager/providers/web_contents/guest_task.h",
"task_manager/providers/web_contents/prerender_tag.cc",
"task_manager/providers/web_contents/prerender_tag.h",
"task_manager/providers/web_contents/prerender_task.cc",
"task_manager/providers/web_contents/prerender_task.h",
"task_manager/providers/web_contents/printing_tag.cc",
"task_manager/providers/web_contents/printing_tag.h",
"task_manager/providers/web_contents/printing_task.cc",
"task_manager/providers/web_contents/printing_task.h",
"task_manager/providers/web_contents/renderer_task.cc",
"task_manager/providers/web_contents/renderer_task.h",
"task_manager/providers/web_contents/subframe_task.cc",
"task_manager/providers/web_contents/subframe_task.h",
"task_manager/providers/web_contents/tab_contents_tag.cc",
"task_manager/providers/web_contents/tab_contents_tag.h",
"task_manager/providers/web_contents/tab_contents_task.cc",
"task_manager/providers/web_contents/tab_contents_task.h",
"task_manager/providers/web_contents/web_contents_tag.cc",
"task_manager/providers/web_contents/web_contents_tag.h",
"task_manager/providers/web_contents/web_contents_tags_manager.cc",
"task_manager/providers/web_contents/web_contents_tags_manager.h",
"task_manager/providers/web_contents/web_contents_task_provider.cc",
"task_manager/providers/web_contents/web_contents_task_provider.h",
"task_manager/sampling/shared_sampler.h",
"task_manager/sampling/shared_sampler_posix.cc",
"task_manager/sampling/shared_sampler_win.cc",
"task_manager/sampling/shared_sampler_win_defines.h",
"task_manager/sampling/task_group.cc",
"task_manager/sampling/task_group.h",
"task_manager/sampling/task_group_sampler.cc",
"task_manager/sampling/task_group_sampler.h",
"task_manager/sampling/task_manager_impl.cc",
"task_manager/sampling/task_manager_impl.h",
"task_manager/sampling/task_manager_io_thread_helper.cc",
"task_manager/sampling/task_manager_io_thread_helper.h",
"task_manager/task_manager_interface.cc",
"task_manager/task_manager_interface.h",
"task_manager/task_manager_observer.cc",
"task_manager/task_manager_observer.h",
"themes/browser_theme_pack.cc",
"themes/browser_theme_pack.h",
"themes/custom_theme_supplier.cc",
"themes/custom_theme_supplier.h",
"themes/theme_properties.cc",
"themes/theme_service.cc",
"themes/theme_service.h",
"themes/theme_service_factory.cc",
"themes/theme_service_factory.h",
"themes/theme_service_mac.mm",
"themes/theme_syncable_service.cc",
"themes/theme_syncable_service.h",
"upgrade_detector.cc",
"upgrade_detector.h",
"upgrade_observer.h",
"usb/usb_chooser_controller.cc",
"usb/usb_chooser_controller.h",
"usb/web_usb_chooser_service.cc",
"usb/web_usb_chooser_service.h",
"usb/web_usb_detector.cc",
"usb/web_usb_detector.h",
]
deps += [
":theme_properties",
"//chrome/app/vector_icons",
"//chrome/browser/policy:path_parser",
"//chrome/browser/profile_resetter:profile_reset_report_proto",
"//chrome/browser/resources:component_extension_resources",
"//chrome/browser/search:generated",
"//chrome/common/importer:interfaces",
"//components/cryptauth",
"//components/cryptauth/proto",
"//components/feedback",
"//components/keep_alive_registry",
"//components/vector_icons",
"//components/web_modal",
"//components/zoom",
"//net:net",
]
}
if (is_chromeos) {
sources += [
"component_updater/cros_component_installer.cc",
"component_updater/cros_component_installer.h",
"download/notification/download_item_notification.cc",
"download/notification/download_item_notification.h",
"download/notification/download_notification_manager.cc",
"download/notification/download_notification_manager.h",
"feedback/feedback_util_chromeos.cc",
"feedback/feedback_util_chromeos.h",
"media/chromeos_login_media_access_handler.cc",
"media/chromeos_login_media_access_handler.h",
"media/public_session_media_access_handler.cc",
"media/public_session_media_access_handler.h",
"media/public_session_tab_capture_access_handler.cc",
"media/public_session_tab_capture_access_handler.h",
"media/webrtc/desktop_media_list_ash.cc",
"media/webrtc/desktop_media_list_ash.h",
"memory/memory_kills_histogram.h",
"memory/memory_kills_monitor.cc",
"memory/memory_kills_monitor.h",
"metrics/chromeos_metrics_provider.cc",
"metrics/chromeos_metrics_provider.h",
"metrics/leak_detector/leak_detector_controller.cc",
"metrics/leak_detector/leak_detector_controller.h",
"metrics/leak_detector/leak_detector_remote_controller.cc",
"metrics/leak_detector/leak_detector_remote_controller.h",
"metrics/perf/cpu_identity.cc",
"metrics/perf/cpu_identity.h",
"metrics/perf/perf_output.cc",
"metrics/perf/perf_output.h",
"metrics/perf/random_selector.cc",
"metrics/perf/random_selector.h",
"metrics/perf/windowed_incognito_observer.cc",
"metrics/perf/windowed_incognito_observer.h",
"notifications/arc_application_notifier_controller_chromeos.cc",
"notifications/arc_application_notifier_controller_chromeos.h",
"notifications/chrome_ash_message_center_client.cc",
"notifications/chrome_ash_message_center_client.h",
"notifications/extension_notifier_controller.cc",
"notifications/extension_notifier_controller.h",
"notifications/notifier_controller.h",
"notifications/web_page_notifier_controller.cc",
"notifications/web_page_notifier_controller.h",
"policy/default_geolocation_policy_handler.cc",
"policy/default_geolocation_policy_handler.h",
"signin/signin_error_notifier_ash.cc",
"signin/signin_error_notifier_ash.h",
"signin/signin_error_notifier_factory_ash.cc",
"signin/signin_error_notifier_factory_ash.h",
"sync/sync_error_notifier_ash.cc",
"sync/sync_error_notifier_ash.h",
"sync/sync_error_notifier_factory_ash.cc",
"sync/sync_error_notifier_factory_ash.h",
"task_manager/providers/arc/arc_process_task.cc",
"task_manager/providers/arc/arc_process_task.h",
"task_manager/providers/arc/arc_process_task_provider.cc",
"task_manager/providers/arc/arc_process_task_provider.h",
]
deps += [
"//ash",
"//chrome/browser/chromeos",
"//services/ui/public/cpp/input_devices",
"//services/ui/public/cpp/input_devices:input_device_controller",
"//ui/ozone",
]
public_deps += [
"//components/metrics/leak_detector:interfaces",
"//components/metrics/leak_detector:leak_detector",
]
allow_circular_includes_from += [ "//chrome/browser/chromeos" ]
if (enable_native_notifications) {
sources += [
"notifications/notification_platform_bridge_chromeos.cc",
"notifications/notification_platform_bridge_chromeos.h",
]
}
} else { # Non-ChromeOS.
sources += [
"fullscreen.h",
"policy/cloud/user_cloud_policy_manager_factory.cc",
"policy/cloud/user_cloud_policy_manager_factory.h",
"policy/cloud/user_policy_signin_service_base.cc",
"policy/cloud/user_policy_signin_service_base.h",
"policy/cloud/user_policy_signin_service_factory.cc",
"policy/cloud/user_policy_signin_service_factory.h",
"signin/chrome_signin_status_metrics_provider_delegate.cc",
"signin/chrome_signin_status_metrics_provider_delegate.h",
]
}
if (is_win) {
sources += [
"downgrade/user_data_downgrade.cc",
"downgrade/user_data_downgrade.h",
"first_run/upgrade_util.cc",
"notifications/notification_image_retainer.cc",
"notifications/notification_image_retainer.h",
"notifications/notification_template_builder.cc",
"notifications/notification_template_builder.h",
]
public_deps += [
"//ui/views",
"//ui/views/controls/webview",
]
deps += [
":chrome_process_finder",
"//chrome:file_pre_reader",
"//chrome/chrome_watcher:client",
"//chrome/common:metrics_constants_util_win",
"//chrome/common:version_header",
"//chrome/install_static:install_static_util",
"//chrome/services/util_win/public/interfaces",
"//chrome_elf:blacklist",
"//chrome_elf:constants",
"//chrome_elf:dll_hash",
"//components/browser_watcher",
"//components/browser_watcher:browser_watcher_client",
"//components/browser_watcher:stability_client",
"//google_update",
"//third_party/crashpad/crashpad/client:client",
"//third_party/iaccessible2",
"//third_party/isimpledom",
"//third_party/wtl",
"//ui/base:fullscreen_win",
]
all_dependent_configs = [ ":browser_win_linker_flags" ]
if (enable_native_notifications) {
sources += [
"notifications/notification_platform_bridge_win.cc",
"notifications/notification_platform_bridge_win.h",
]
}
if (!is_chrome_branded) {
deps -= [ "//google_update" ]
sources -= [
"google/google_update_win.cc",
"google/google_update_win.h",
]
}
} else {
# Non-Windows.
sources += [
"profile_resetter/triggered_profile_resetter_stub.cc",
"profiles/profile_shortcut_manager_stub.cc",
]
if (toolkit_views) {
deps += [
"//ui/views",
"//ui/views/controls/webview",
]
}
}
if (is_mac) {
deps += [
"//chrome/app_shim",
"//chrome/browser/apps/app_shim",
"//chrome/browser/ui/cocoa/notifications:common",
"//third_party/crashpad/crashpad/client:client",
"//third_party/google_toolbox_for_mac",
"//third_party/mozilla",
]
libs += [
"Accelerate.framework",
"AddressBook.framework",
"AudioUnit.framework",
"DiskArbitration.framework",
"IOKit.framework",
"ImageCaptureCore.framework",
"OpenGL.framework",
"QuartzCore.framework",
"SecurityInterface.framework",
]
if (mac_views_browser) {
sources += [ "global_keyboard_shortcuts_views_mac.mm" ]
} else {
sources += [ "global_keyboard_shortcuts_cocoa_mac.mm" ]
}
}
if (is_linux) {
if (use_aura) {
deps += [ "//third_party/fontconfig" ]
if (use_dbus) {
deps += [ "//dbus" ]
}
}
if (use_x11) {
configs += [ "//build/config/linux:x11" ]
deps += [ "//ui/gfx/x" ]
}
}
if (is_desktop_linux) {
# Desktop linux, doesn't count ChromeOS.
sources += [
"dbus/dbus_thread_linux.cc",
"dbus/dbus_thread_linux.h",
"first_run/upgrade_util.cc",
"first_run/upgrade_util_linux.cc",
"first_run/upgrade_util_linux.h",
"icon_loader_auralinux.cc",
"password_manager/native_backend_kwallet_x.cc",
"password_manager/native_backend_kwallet_x.h",
"platform_util_linux.cc",
"shell_integration_linux.cc",
"shell_integration_linux.h",
"speech/tts_linux.cc",
"web_applications/web_app_linux.cc",
]
deps += [ "//third_party/speech-dispatcher" ]
if (enable_native_notifications) {
sources += [
"notifications/notification_platform_bridge_linux.cc",
"notifications/notification_platform_bridge_linux.h",
]
}
if (use_x11) {
sources += [
"fullscreen_aurax11.cc",
"media/webrtc/window_icon_util_x11.cc",
# ThemeServiceAuraX11 does not depend on X11, although its
# instantiation/inclusion in theme_service_factory.cc is conditioned
# by USE_X11.
# TODO(tonikitoo): Check if non-x11 could benefit from it. If so,
# rename and use it.
"themes/theme_service_aurax11.cc",
"themes/theme_service_aurax11.h",
]
}
# libsecret hard depends on GLib.
if (use_glib) {
sources += [
"password_manager/native_backend_libsecret.cc",
"password_manager/native_backend_libsecret.h",
]
defines += [ "USE_LIBSECRET" ]
deps += [ "//third_party/libsecret" ]
}
if (use_ozone) {
sources += [
"fullscreen_ozone.cc",
"media/webrtc/window_icon_util_ozone.cc",
]
}
}
if (is_posix) {
deps += [ "//chrome/app:shutdown_signal_handlers" ]
}
if (is_win || is_mac) {
# Sources (generally "desktop OS importers") used only on Mac & Windows.
sources += [
"crash_upload_list/crash_upload_list_crashpad.cc",
"crash_upload_list/crash_upload_list_crashpad.h",
"recovery/recovery_install_global_error.cc",
"recovery/recovery_install_global_error.h",
"recovery/recovery_install_global_error_factory.cc",
"recovery/recovery_install_global_error_factory.h",
]
} else {
sources += [ "net/net_error_diagnostics_dialog_generic.cc" ]
}
if (is_win || is_linux) {
sources += [
"renderer_context_menu/spelling_options_submenu_observer.cc",
"renderer_context_menu/spelling_options_submenu_observer.h",
"webshare/share_service_impl.cc",
"webshare/share_service_impl.h",
]
}
if (is_chromeos && use_cras) {
defines += [ "USE_CRAS" ]
}
if (!is_android && !is_chromeos) {
sources += [
"lifetime/switch_utils.cc",
"lifetime/switch_utils.h",
"metrics/desktop_session_duration/audible_contents_tracker.cc",
"metrics/desktop_session_duration/audible_contents_tracker.h",
"metrics/desktop_session_duration/chrome_visibility_observer.cc",
"metrics/desktop_session_duration/chrome_visibility_observer.h",
"metrics/desktop_session_duration/desktop_session_duration_observer.cc",
"metrics/desktop_session_duration/desktop_session_duration_observer.h",
"metrics/desktop_session_duration/desktop_session_duration_tracker.cc",
"metrics/desktop_session_duration/desktop_session_duration_tracker.h",
"metrics/upgrade_metrics_provider.cc",
"metrics/upgrade_metrics_provider.h",
"net/disk_cache_dir_policy_handler.cc",
"net/disk_cache_dir_policy_handler.h",
"notifications/fullscreen_notification_blocker.cc",
"notifications/fullscreen_notification_blocker.h",
"notifications/screen_lock_notification_blocker.cc",
"notifications/screen_lock_notification_blocker.h",
"platform_util.cc",
"policy/cloud/user_policy_signin_service.cc",
"policy/cloud/user_policy_signin_service.h",
"profiles/avatar_menu_actions_desktop.cc",
"profiles/avatar_menu_actions_desktop.h",
"profiles/avatar_menu_desktop.cc",
"profiles/avatar_menu_observer.h",
"profiles/profile_list_desktop.cc",
"profiles/profile_list_desktop.h",
"profiles/profile_statistics.cc",
"profiles/profile_statistics.h",
"profiles/profile_statistics_aggregator.cc",
"profiles/profile_statistics_aggregator.h",
"profiles/profile_statistics_common.cc",
"profiles/profile_statistics_common.h",
"profiles/profile_statistics_factory.cc",
"profiles/profile_statistics_factory.h",
"signin/force_signin_verifier.cc",
"signin/force_signin_verifier.h",
"signin/signin_global_error.cc",
"signin/signin_global_error.h",
"signin/signin_global_error_factory.cc",
"signin/signin_global_error_factory.h",
"upgrade_detector_impl.cc",
"upgrade_detector_impl.h",
]
} else {
sources += [
"media/protected_media_identifier_permission_context.cc",
"media/protected_media_identifier_permission_context.h",
]
}
if (is_posix && !is_mac && !is_fuchsia) {
# TODO(crbug.com/753619): Enable crash reporting on Fuchsia.
sources += [
"//chrome/app/chrome_crash_reporter_client.cc",
"//chrome/app/chrome_crash_reporter_client.h",
]
deps += [
"//components/crash/content/app",
"//components/crash/content/browser",
"//components/version_info:generate_version_info",
]
}
if (is_win || is_mac || (is_linux && !is_chromeos)) {
sources += [
"password_manager/password_store_signin_notifier_impl.cc",
"password_manager/password_store_signin_notifier_impl.h",
]
}
if (is_win || is_mac || is_linux) {
sources += [
"payments/chrome_payment_request_delegate.cc",
"payments/chrome_payment_request_delegate.h",
"payments/payment_request_factory.cc",
"payments/payment_request_factory.h",
]
deps += [ "//components/payments/content" ]
}
if (is_win || is_mac || (is_chromeos && use_dbus)) {
sources += [
"media_galleries/fileapi/device_media_async_file_util.cc",
"media_galleries/fileapi/device_media_async_file_util.h",
"media_galleries/fileapi/mtp_device_async_delegate.cc",
"media_galleries/fileapi/mtp_device_async_delegate.h",
"media_galleries/fileapi/mtp_device_map_service.cc",
"media_galleries/fileapi/mtp_device_map_service.h",
"media_galleries/fileapi/mtp_file_stream_reader.cc",
"media_galleries/fileapi/mtp_file_stream_reader.h",
]
if (is_chromeos && use_dbus) {
deps += [ "//device/media_transfer_protocol" ]
}
}
if (toolkit_views) {
deps += [ "//ui/views" ]
}
if (use_aura) {
# Cross-platform Aura files.
sources += [
# This file is called _views but has Aura calls in it.
"download/drag_download_item_views.cc",
"lifetime/application_lifetime_aura.cc",
"platform_util_aura.cc",
"ui/views/frame/browser_frame_mus.cc",
"ui/views/frame/browser_frame_mus.h",
"ui/views/frame/browser_non_client_frame_view_mus.cc",
"ui/views/frame/browser_non_client_frame_view_mus.h",
]
deps += [
"//content/public/common",
"//services/ui/public/cpp",
"//services/ui/public/cpp/input_devices",
"//ui/aura",
"//ui/compositor",
"//ui/snapshot",
"//ui/views/mus",
]
}
if (use_aura && !use_ozone && is_desktop_linux) {
deps += [ "//chrome/browser/ui/libgtkui" ]
}
if (use_x11) {
sources += [
"chrome_browser_main_extra_parts_x11.cc",
"chrome_browser_main_extra_parts_x11.h",
"password_manager/password_store_x.cc",
"password_manager/password_store_x.h",
]
}
if (enable_app_list) {
deps += [ "//ui/app_list" ]
}
if (enable_background) {
sources += [
"background/background_application_list_model.cc",
"background/background_application_list_model.h",
"background/background_contents_service.cc",
"background/background_contents_service.h",
"background/background_contents_service_factory.cc",
"background/background_contents_service_factory.h",
"background/background_mode_manager.cc",
"background/background_mode_manager.h",
"background/background_mode_manager_aura.cc",
"background/background_mode_manager_chromeos.cc",
"background/background_mode_manager_mac.mm",
"background/background_mode_manager_win.cc",
"background/background_mode_optimizer.cc",
"background/background_mode_optimizer.h",
"background/background_trigger.h",
]
if (!use_aura || is_win || is_chromeos) {
sources -= [ "background/background_mode_manager_aura.cc" ]
}
}
if (enable_basic_printing || enable_print_preview) {
# Some form of printing support.
sources += [
"printing/print_job.cc",
"printing/print_job.h",
"printing/print_job_manager.cc",
"printing/print_job_manager.h",
"printing/print_job_worker.cc",
"printing/print_job_worker.h",
"printing/print_job_worker_owner.cc",
"printing/print_job_worker_owner.h",
"printing/print_view_manager_base.cc",
"printing/print_view_manager_base.h",
"printing/print_view_manager_common.cc",
"printing/print_view_manager_common.h",
"printing/printer_query.cc",
"printing/printer_query.h",
"printing/printing_init.cc",
"printing/printing_init.h",
"printing/printing_message_filter.cc",
"printing/printing_message_filter.h",
]
deps += [
"//components/printing/browser",
"//components/printing/service/public/cpp:utils",
"//components/printing/service/public/interfaces",
"//printing",
]
if (is_win) {
sources += [
"printing/pdf_to_emf_converter.cc",
"printing/pdf_to_emf_converter.h",
]
}
if (enable_print_preview) {
# Full printing on top of the above.
sources += [
"printing/background_printing_manager.cc",
"printing/background_printing_manager.h",
"printing/print_dialog_cloud.cc",
"printing/print_dialog_cloud.h",
"printing/print_dialog_cloud_posix.cc",
"printing/print_dialog_cloud_win.cc",
"printing/print_error_dialog.cc",
"printing/print_error_dialog.h",
"printing/print_preview_context_menu_observer.cc",
"printing/print_preview_context_menu_observer.h",
"printing/print_preview_data_service.cc",
"printing/print_preview_data_service.h",
"printing/print_preview_dialog_controller.cc",
"printing/print_preview_dialog_controller.h",
"printing/print_preview_message_handler.cc",
"printing/print_preview_message_handler.h",
"printing/print_view_manager.cc",
"printing/print_view_manager.h",
"printing/printer_manager_dialog.h",
"printing/printer_manager_dialog_linux.cc",
"printing/printer_manager_dialog_mac.mm",
"printing/printer_manager_dialog_win.cc",
"printing/pwg_raster_converter.cc",
"printing/pwg_raster_converter.h",
]
if (!is_chromeos) {
sources += [
"printing/cloud_print/cloud_print_proxy_service.cc",
"printing/cloud_print/cloud_print_proxy_service.h",
"printing/cloud_print/cloud_print_proxy_service_factory.cc",
"printing/cloud_print/cloud_print_proxy_service_factory.h",
"service_process/service_process_control.cc",
"service_process/service_process_control.h",
"service_process/service_process_control_mac.mm",
]
public_deps += [ "//chrome/common:service_process_mojom" ]
}
} else {
# Partial-only printing support.
sources += [
"printing/print_view_manager_basic.cc",
"printing/print_view_manager_basic.h",
]
}
}
if (enable_captive_portal_detection) {
sources += [
"captive_portal/captive_portal_login_detector.cc",
"captive_portal/captive_portal_login_detector.h",
"captive_portal/captive_portal_service.cc",
"captive_portal/captive_portal_service.h",
"captive_portal/captive_portal_service_factory.cc",
"captive_portal/captive_portal_service_factory.h",
"captive_portal/captive_portal_tab_helper.cc",
"captive_portal/captive_portal_tab_helper.h",
"captive_portal/captive_portal_tab_reloader.cc",
"captive_portal/captive_portal_tab_reloader.h",
"component_updater/ssl_error_assistant_component_installer.cc",
"component_updater/ssl_error_assistant_component_installer.h",
"ssl/captive_portal_metrics_recorder.cc",
"ssl/captive_portal_metrics_recorder.h",
]
}
if (enable_desktop_in_product_help) {
sources += [
"feature_engagement/bookmark/bookmark_tracker.cc",
"feature_engagement/bookmark/bookmark_tracker.h",
"feature_engagement/bookmark/bookmark_tracker_factory.cc",
"feature_engagement/bookmark/bookmark_tracker_factory.h",
"feature_engagement/feature_tracker.cc",
"feature_engagement/feature_tracker.h",
"feature_engagement/incognito_window/incognito_window_tracker.cc",
"feature_engagement/incognito_window/incognito_window_tracker.h",
"feature_engagement/incognito_window/incognito_window_tracker_factory.cc",
"feature_engagement/incognito_window/incognito_window_tracker_factory.h",
"feature_engagement/new_tab/new_tab_tracker.cc",
"feature_engagement/new_tab/new_tab_tracker.h",
"feature_engagement/new_tab/new_tab_tracker_factory.cc",
"feature_engagement/new_tab/new_tab_tracker_factory.h",
"feature_engagement/session_duration_updater.cc",
"feature_engagement/session_duration_updater.h",
]
}
if (enable_dice_support) {
sources += [
"signin/dice_response_handler.cc",
"signin/dice_response_handler.h",
"signin/dice_tab_helper.cc",
"signin/dice_tab_helper.h",
"signin/process_dice_header_delegate_impl.cc",
"signin/process_dice_header_delegate_impl.h",
]
}
if (enable_extensions) {
sources += [
"accessibility/accessibility_extension_api.cc",
"accessibility/accessibility_extension_api.h",
"accessibility/animation_policy_prefs.cc",
"accessibility/animation_policy_prefs.h",
"autocomplete/keyword_extensions_delegate_impl.cc",
"autocomplete/keyword_extensions_delegate_impl.h",
"autocomplete/shortcuts_extensions_manager.cc",
"autocomplete/shortcuts_extensions_manager.h",
"browsing_data/hosted_apps_counter.cc",
"browsing_data/hosted_apps_counter.h",
"drive/drive_notification_manager_factory.cc",
"drive/drive_notification_manager_factory.h",
"guest_view/app_view/chrome_app_view_guest_delegate.cc",
"guest_view/app_view/chrome_app_view_guest_delegate.h",
"guest_view/chrome_guest_view_manager_delegate.cc",
"guest_view/chrome_guest_view_manager_delegate.h",
"guest_view/extension_options/chrome_extension_options_guest_delegate.cc",
"guest_view/extension_options/chrome_extension_options_guest_delegate.h",
"guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.cc",
"guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h",
"guest_view/web_view/chrome_web_view_guest_delegate.cc",
"guest_view/web_view/chrome_web_view_guest_delegate.h",
"guest_view/web_view/chrome_web_view_permission_helper_delegate.cc",
"guest_view/web_view/chrome_web_view_permission_helper_delegate.h",
"guest_view/web_view/context_menu_content_type_web_view.cc",
"guest_view/web_view/context_menu_content_type_web_view.h",
"media/capture_access_handler_base.cc",
"media/capture_access_handler_base.h",
"media/cast_transport_host_filter.cc",
"media/cast_transport_host_filter.h",
"media/extension_media_access_handler.cc",
"media/extension_media_access_handler.h",
"media/webrtc/desktop_capture_access_handler.cc",
"media/webrtc/desktop_capture_access_handler.h",
"media/webrtc/tab_capture_access_handler.cc",
"media/webrtc/tab_capture_access_handler.h",
"metrics/extensions_metrics_provider.cc",
"metrics/extensions_metrics_provider.h",
"renderer_context_menu/context_menu_content_type_app_mode.cc",
"renderer_context_menu/context_menu_content_type_app_mode.h",
"renderer_context_menu/context_menu_content_type_extension_popup.cc",
"renderer_context_menu/context_menu_content_type_extension_popup.h",
"renderer_context_menu/context_menu_content_type_platform_app.cc",
"renderer_context_menu/context_menu_content_type_platform_app.h",
"renderer_host/chrome_extension_message_filter.cc",
"renderer_host/chrome_extension_message_filter.h",
"signin/chrome_proximity_auth_client.cc",
"signin/chrome_proximity_auth_client.h",
"signin/easy_unlock_app_manager.cc",
"signin/easy_unlock_app_manager.h",
"signin/easy_unlock_auth_attempt.cc",
"signin/easy_unlock_auth_attempt.h",
"signin/easy_unlock_metrics.cc",
"signin/easy_unlock_metrics.h",
"signin/easy_unlock_notification_controller.cc",
"signin/easy_unlock_notification_controller.h",
"signin/easy_unlock_notification_controller_chromeos.cc",
"signin/easy_unlock_notification_controller_chromeos.h",
"signin/easy_unlock_screenlock_state_handler.cc",
"signin/easy_unlock_screenlock_state_handler.h",
"signin/easy_unlock_service.cc",
"signin/easy_unlock_service.h",
"signin/easy_unlock_service_factory.cc",
"signin/easy_unlock_service_factory.h",
"signin/easy_unlock_service_regular.cc",
"signin/easy_unlock_service_regular.h",
"signin/easy_unlock_service_signin_chromeos.cc",
"signin/easy_unlock_service_signin_chromeos.h",
"speech/extension_api/tts_engine_extension_api.cc",
"speech/extension_api/tts_engine_extension_api.h",
"speech/extension_api/tts_engine_extension_observer.cc",
"speech/extension_api/tts_engine_extension_observer.h",
"speech/extension_api/tts_extension_api.cc",
"speech/extension_api/tts_extension_api.h",
"sync_file_system/conflict_resolution_policy.h",
"sync_file_system/drive_backend/callback_helper.h",
"sync_file_system/drive_backend/callback_tracker.cc",
"sync_file_system/drive_backend/callback_tracker.h",
"sync_file_system/drive_backend/callback_tracker_internal.cc",
"sync_file_system/drive_backend/callback_tracker_internal.h",
"sync_file_system/drive_backend/conflict_resolver.cc",
"sync_file_system/drive_backend/conflict_resolver.h",
"sync_file_system/drive_backend/drive_backend_constants.cc",
"sync_file_system/drive_backend/drive_backend_constants.h",
"sync_file_system/drive_backend/drive_backend_util.cc",
"sync_file_system/drive_backend/drive_backend_util.h",
"sync_file_system/drive_backend/drive_service_on_worker.cc",
"sync_file_system/drive_backend/drive_service_on_worker.h",
"sync_file_system/drive_backend/drive_service_wrapper.cc",
"sync_file_system/drive_backend/drive_service_wrapper.h",
"sync_file_system/drive_backend/drive_uploader_on_worker.cc",
"sync_file_system/drive_backend/drive_uploader_on_worker.h",
"sync_file_system/drive_backend/drive_uploader_wrapper.cc",
"sync_file_system/drive_backend/drive_uploader_wrapper.h",
"sync_file_system/drive_backend/folder_creator.cc",
"sync_file_system/drive_backend/folder_creator.h",
"sync_file_system/drive_backend/leveldb_wrapper.cc",
"sync_file_system/drive_backend/leveldb_wrapper.h",
"sync_file_system/drive_backend/list_changes_task.cc",
"sync_file_system/drive_backend/list_changes_task.h",
"sync_file_system/drive_backend/local_to_remote_syncer.cc",
"sync_file_system/drive_backend/local_to_remote_syncer.h",
"sync_file_system/drive_backend/metadata_database.cc",
"sync_file_system/drive_backend/metadata_database.h",
"sync_file_system/drive_backend/metadata_database_index.cc",
"sync_file_system/drive_backend/metadata_database_index.h",
"sync_file_system/drive_backend/metadata_database_index_interface.h",
"sync_file_system/drive_backend/metadata_database_index_on_disk.cc",
"sync_file_system/drive_backend/metadata_database_index_on_disk.h",
"sync_file_system/drive_backend/metadata_db_migration_util.cc",
"sync_file_system/drive_backend/metadata_db_migration_util.h",
"sync_file_system/drive_backend/register_app_task.cc",
"sync_file_system/drive_backend/register_app_task.h",
"sync_file_system/drive_backend/remote_change_processor_on_worker.cc",
"sync_file_system/drive_backend/remote_change_processor_on_worker.h",
"sync_file_system/drive_backend/remote_change_processor_wrapper.cc",
"sync_file_system/drive_backend/remote_change_processor_wrapper.h",
"sync_file_system/drive_backend/remote_to_local_syncer.cc",
"sync_file_system/drive_backend/remote_to_local_syncer.h",
"sync_file_system/drive_backend/sync_engine.cc",
"sync_file_system/drive_backend/sync_engine.h",
"sync_file_system/drive_backend/sync_engine_context.cc",
"sync_file_system/drive_backend/sync_engine_context.h",
"sync_file_system/drive_backend/sync_engine_initializer.cc",
"sync_file_system/drive_backend/sync_engine_initializer.h",
"sync_file_system/drive_backend/sync_task.cc",
"sync_file_system/drive_backend/sync_task.h",
"sync_file_system/drive_backend/sync_task_manager.cc",
"sync_file_system/drive_backend/sync_task_manager.h",
"sync_file_system/drive_backend/sync_task_token.cc",
"sync_file_system/drive_backend/sync_task_token.h",
"sync_file_system/drive_backend/sync_worker.cc",
"sync_file_system/drive_backend/sync_worker.h",
"sync_file_system/drive_backend/sync_worker_interface.h",
"sync_file_system/drive_backend/task_dependency_manager.cc",
"sync_file_system/drive_backend/task_dependency_manager.h",
"sync_file_system/drive_backend/tracker_id_set.cc",
"sync_file_system/drive_backend/tracker_id_set.h",
"sync_file_system/drive_backend/uninstall_app_task.cc",
"sync_file_system/drive_backend/uninstall_app_task.h",
"sync_file_system/file_change.cc",
"sync_file_system/file_change.h",
"sync_file_system/file_status_observer.h",
"sync_file_system/local/local_file_change_tracker.cc",
"sync_file_system/local/local_file_change_tracker.h",
"sync_file_system/local/local_file_sync_context.cc",
"sync_file_system/local/local_file_sync_context.h",
"sync_file_system/local/local_file_sync_service.cc",
"sync_file_system/local/local_file_sync_service.h",
"sync_file_system/local/local_file_sync_status.cc",
"sync_file_system/local/local_file_sync_status.h",
"sync_file_system/local/local_origin_change_observer.h",
"sync_file_system/local/root_delete_helper.cc",
"sync_file_system/local/root_delete_helper.h",
"sync_file_system/local/sync_file_system_backend.cc",
"sync_file_system/local/sync_file_system_backend.h",
"sync_file_system/local/syncable_file_operation_runner.cc",
"sync_file_system/local/syncable_file_operation_runner.h",
"sync_file_system/local/syncable_file_system_operation.cc",
"sync_file_system/local/syncable_file_system_operation.h",
"sync_file_system/local_change_processor.h",
"sync_file_system/logger.cc",
"sync_file_system/logger.h",
"sync_file_system/remote_change_processor.h",
"sync_file_system/remote_file_sync_service.cc",
"sync_file_system/remote_file_sync_service.h",
"sync_file_system/subtree_set.cc",
"sync_file_system/subtree_set.h",
"sync_file_system/sync_action.cc",
"sync_file_system/sync_action.h",
"sync_file_system/sync_callbacks.h",
"sync_file_system/sync_direction.h",
"sync_file_system/sync_event_observer.h",
"sync_file_system/sync_file_metadata.cc",
"sync_file_system/sync_file_metadata.h",
"sync_file_system/sync_file_status.h",
"sync_file_system/sync_file_system_service.cc",
"sync_file_system/sync_file_system_service.h",
"sync_file_system/sync_file_system_service_factory.cc",
"sync_file_system/sync_file_system_service_factory.h",
"sync_file_system/sync_file_type.h",
"sync_file_system/sync_operation_type.cc",
"sync_file_system/sync_operation_type.h",
"sync_file_system/sync_process_runner.cc",
"sync_file_system/sync_process_runner.h",
"sync_file_system/sync_service_state.h",
"sync_file_system/sync_status_code.cc",
"sync_file_system/sync_status_code.h",
"sync_file_system/syncable_file_system_util.cc",
"sync_file_system/syncable_file_system_util.h",
"sync_file_system/task_logger.cc",
"sync_file_system/task_logger.h",
]
public_deps += [
"//chrome/browser/apps",
"//chrome/browser/extensions",
]
allow_circular_includes_from += [
"//chrome/browser/apps",
"//chrome/browser/extensions",
]
deps += [
"//apps",
"//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_proto",
"//chrome/common/extensions/api",
"//chrome/common/extensions/api:api_registration",
"//chrome/common/extensions/api:extensions_features",
"//components/drive",
"//components/guest_view/browser",
"//extensions/components/javascript_dialog_extensions_client",
"//media/cast:net",
"//services/device/public/interfaces",
]
}
if (enable_mdns) {
sources += [
"local_discovery/service_discovery_client_impl.cc",
"local_discovery/service_discovery_client_impl.h",
"local_discovery/service_discovery_client_mdns.cc",
"local_discovery/service_discovery_client_mdns.h",
"printing/cloud_print/privet_traffic_detector.cc",
"printing/cloud_print/privet_traffic_detector.h",
]
}
if (enable_library_cdms) {
sources += [
"component_updater/widevine_cdm_component_installer.cc",
"component_updater/widevine_cdm_component_installer.h",
"media/output_protection_impl.cc",
"media/output_protection_impl.h",
]
if (enable_cdm_storage_id) {
sources += [
"media/cdm_storage_id.cc",
"media/cdm_storage_id.h",
"media/cdm_storage_id_key.cc",
"media/cdm_storage_id_key.h",
]
}
deps += [ "//media/mojo/interfaces" ]
if (mojo_media_host == "browser") {
deps += [
"//media/mojo/interfaces:constants",
"//media/mojo/services",
]
}
}
if (enable_nacl) {
sources += [
"nacl_host/nacl_browser_delegate_impl.cc",
"nacl_host/nacl_browser_delegate_impl.h",
"nacl_host/nacl_infobar_delegate.cc",
"nacl_host/nacl_infobar_delegate.h",
]
deps += [ "//components/nacl/browser" ]
}
if (enable_offline_pages) {
sources += [
"offline_pages/background_loader_offliner.cc",
"offline_pages/background_loader_offliner.h",
"offline_pages/downloads/resource_throttle.cc",
"offline_pages/downloads/resource_throttle.h",
"offline_pages/fresh_offline_content_observer.cc",
"offline_pages/fresh_offline_content_observer.h",
"offline_pages/offline_page_bookmark_observer.cc",
"offline_pages/offline_page_bookmark_observer.h",
"offline_pages/offline_page_info_handler.cc",
"offline_pages/offline_page_info_handler.h",
"offline_pages/offline_page_mhtml_archiver.cc",
"offline_pages/offline_page_mhtml_archiver.h",
"offline_pages/offline_page_model_factory.h",
"offline_pages/offline_page_origin_utils.h",
"offline_pages/offline_page_request_interceptor.cc",
"offline_pages/offline_page_request_interceptor.h",
"offline_pages/offline_page_request_job.cc",
"offline_pages/offline_page_request_job.h",
"offline_pages/offline_page_tab_helper.cc",
"offline_pages/offline_page_tab_helper.h",
"offline_pages/offline_page_utils.cc",
"offline_pages/offline_page_utils.h",
"offline_pages/offliner_helper.cc",
"offline_pages/offliner_helper.h",
"offline_pages/offliner_user_data.cc",
"offline_pages/offliner_user_data.h",
"offline_pages/prefetch/offline_metrics_collector_impl.cc",
"offline_pages/prefetch/offline_metrics_collector_impl.h",
"offline_pages/prefetch/offline_prefetch_download_client.cc",
"offline_pages/prefetch/offline_prefetch_download_client.h",
"offline_pages/prefetch/prefetch_background_task_handler_impl.cc",
"offline_pages/prefetch/prefetch_background_task_handler_impl.h",
"offline_pages/prefetch/prefetch_background_task_scheduler.h",
"offline_pages/prefetch/prefetch_configuration_impl.cc",
"offline_pages/prefetch/prefetch_configuration_impl.h",
"offline_pages/prefetch/prefetch_importer_impl.cc",
"offline_pages/prefetch/prefetch_importer_impl.h",
"offline_pages/prefetch/prefetch_instance_id_proxy.cc",
"offline_pages/prefetch/prefetch_instance_id_proxy.h",
"offline_pages/prefetch/prefetch_service_factory.cc",
"offline_pages/prefetch/prefetch_service_factory.h",
"offline_pages/prefetch/prefetched_pages_notifier.cc",
"offline_pages/prefetch/prefetched_pages_notifier.h",
"offline_pages/recent_tab_helper.cc",
"offline_pages/recent_tab_helper.h",
"offline_pages/request_coordinator_factory.h",
"offline_pages/resource_loading_observer.h",
]
if (is_android) {
sources += [
"offline_pages/android/background_scheduler_bridge.cc",
"offline_pages/android/background_scheduler_bridge.h",
"offline_pages/android/cct_origin_observer.cc",
"offline_pages/android/cct_origin_observer.h",
"offline_pages/android/cct_request_observer.cc",
"offline_pages/android/cct_request_observer.h",
"offline_pages/android/downloads/offline_page_download_bridge.cc",
"offline_pages/android/downloads/offline_page_download_bridge.h",
"offline_pages/android/downloads/offline_page_infobar_delegate.cc",
"offline_pages/android/downloads/offline_page_infobar_delegate.h",
"offline_pages/android/downloads/offline_page_notification_bridge.cc",
"offline_pages/android/downloads/offline_page_notification_bridge.h",
"offline_pages/android/load_termination_listener_impl.cc",
"offline_pages/android/load_termination_listener_impl.h",
"offline_pages/android/offline_page_bridge.cc",
"offline_pages/android/offline_page_bridge.h",
"offline_pages/android/offline_page_model_factory.cc",
"offline_pages/android/offline_page_origin_utils_android.cc",
"offline_pages/android/offline_page_utils_android.cc",
"offline_pages/android/prefetch_background_task_android.cc",
"offline_pages/android/prefetch_background_task_android.h",
"offline_pages/android/prefetch_background_task_scheduler_android.cc",
"offline_pages/android/prefetched_pages_notifier_android.cc",
"offline_pages/android/request_coordinator_factory.cc",
]
}
deps += [
"//components/offline_pages/content/background_loader",
"//components/offline_pages/content/renovations",
"//components/offline_pages/core",
"//components/offline_pages/core/background:background_offliner",
"//components/offline_pages/core/downloads:offline_pages_ui_adapter",
"//components/offline_pages/core/prefetch",
"//components/offline_pages/core/recent_tabs",
"//components/offline_pages/core/renovations",
"//components/offline_pages/core/request_header:request_header",
]
# Used to build test harness locally. The harness is used manually to
# produce multiple offline pages to evaluate quality of the snapshots.
# This will only be built iff. |enable_offline_pages_harness| is set while
# |enable_offline_pages| and |is_android| are both true.
if (enable_offline_pages_harness && is_android) {
sources += [
"offline_pages/android/evaluation/evaluation_test_scheduler.cc",
"offline_pages/android/evaluation/evaluation_test_scheduler.h",
"offline_pages/android/evaluation/offline_page_evaluation_bridge.cc",
"offline_pages/android/evaluation/offline_page_evaluation_bridge.h",
]
}
}
if (enable_plugins) {
sources += [
"browsing_data/browsing_data_flash_lso_helper.cc",
"browsing_data/browsing_data_flash_lso_helper.h",
"component_updater/pepper_flash_component_installer.cc",
"component_updater/pepper_flash_component_installer.h",
"metrics/plugin_metrics_provider.cc",
"metrics/plugin_metrics_provider.h",
"pepper_broker_infobar_delegate.cc",
"pepper_broker_infobar_delegate.h",
"pepper_flash_settings_manager.cc",
"pepper_flash_settings_manager.h",
"plugins/chrome_content_browser_client_plugins_part.cc",
"plugins/chrome_content_browser_client_plugins_part.h",
"plugins/chrome_plugin_service_filter.cc",
"plugins/chrome_plugin_service_filter.h",
"plugins/flash_download_interception.cc",
"plugins/flash_download_interception.h",
"plugins/flash_permission_context.cc",
"plugins/flash_permission_context.h",
"plugins/flash_temporary_permission_tracker.cc",
"plugins/flash_temporary_permission_tracker.h",
"plugins/flash_temporary_permission_tracker_factory.cc",
"plugins/flash_temporary_permission_tracker_factory.h",
"plugins/plugin_data_remover_helper.cc",
"plugins/plugin_data_remover_helper.h",
"plugins/plugin_finder.cc",
"plugins/plugin_finder.h",
"plugins/plugin_info_host_impl.cc",
"plugins/plugin_info_host_impl.h",
"plugins/plugin_infobar_delegates.cc",
"plugins/plugin_infobar_delegates.h",
"plugins/plugin_installer.cc",
"plugins/plugin_installer.h",
"plugins/plugin_installer_observer.cc",
"plugins/plugin_installer_observer.h",
"plugins/plugin_metadata.cc",
"plugins/plugin_metadata.h",
"plugins/plugin_observer.cc",
"plugins/plugin_observer.h",
"plugins/plugin_policy_handler.cc",
"plugins/plugin_policy_handler.h",
"plugins/plugin_prefs.cc",
"plugins/plugin_prefs.h",
"plugins/plugin_prefs_factory.cc",
"plugins/plugin_prefs_factory.h",
"plugins/plugin_status_pref_setter.cc",
"plugins/plugin_status_pref_setter.h",
"plugins/plugin_utils.cc",
"plugins/plugin_utils.h",
"plugins/plugins_field_trial.cc",
"plugins/plugins_field_trial.h",
"plugins/plugins_resource_service.cc",
"plugins/plugins_resource_service.h",
"renderer_host/pepper/chrome_browser_pepper_host_factory.cc",
"renderer_host/pepper/chrome_browser_pepper_host_factory.h",
"renderer_host/pepper/device_id_fetcher.cc",
"renderer_host/pepper/device_id_fetcher.h",
"renderer_host/pepper/monitor_finder_mac.h",
"renderer_host/pepper/monitor_finder_mac.mm",
"renderer_host/pepper/pepper_broker_message_filter.cc",
"renderer_host/pepper/pepper_broker_message_filter.h",
"renderer_host/pepper/pepper_flash_browser_host.cc",
"renderer_host/pepper/pepper_flash_browser_host.h",
"renderer_host/pepper/pepper_flash_clipboard_message_filter.cc",
"renderer_host/pepper/pepper_flash_clipboard_message_filter.h",
"renderer_host/pepper/pepper_flash_drm_host.cc",
"renderer_host/pepper/pepper_flash_drm_host.h",
"renderer_host/pepper/pepper_isolated_file_system_message_filter.cc",
"renderer_host/pepper/pepper_isolated_file_system_message_filter.h",
"renderer_host/pepper/pepper_output_protection_message_filter.cc",
"renderer_host/pepper/pepper_output_protection_message_filter.h",
"renderer_host/pepper/pepper_platform_verification_message_filter.cc",
"renderer_host/pepper/pepper_platform_verification_message_filter.h",
]
deps += [
"//components/pdf/browser",
"//media:media_features",
"//ppapi/features",
"//ppapi/proxy:ipc",
"//services/device/public/interfaces",
"//third_party/adobe/flash:flapper_version_h",
]
}
if (enable_rlz) {
deps += [ ":rlz" ]
}
if (enable_service_discovery) {
sources += [
"local_discovery/endpoint_resolver.cc",
"local_discovery/endpoint_resolver.h",
"local_discovery/service_discovery_client.cc",
"local_discovery/service_discovery_client.h",
"local_discovery/service_discovery_client_mac.h",
"local_discovery/service_discovery_client_mac.mm",
"local_discovery/service_discovery_client_mac_factory.h",
"local_discovery/service_discovery_client_mac_factory.mm",
"local_discovery/service_discovery_device_lister.cc",
"local_discovery/service_discovery_device_lister.h",
"local_discovery/service_discovery_shared_client.cc",
"local_discovery/service_discovery_shared_client.h",
"printing/cloud_print/cloud_print_printer_list.cc",
"printing/cloud_print/cloud_print_printer_list.h",
"printing/cloud_print/device_description.cc",
"printing/cloud_print/device_description.h",
"printing/cloud_print/gcd_api_flow.cc",
"printing/cloud_print/gcd_api_flow.h",
"printing/cloud_print/gcd_api_flow_impl.cc",
"printing/cloud_print/gcd_api_flow_impl.h",
"printing/cloud_print/gcd_constants.cc",
"printing/cloud_print/gcd_constants.h",
"printing/cloud_print/privet_confirm_api_flow.cc",
"printing/cloud_print/privet_confirm_api_flow.h",
"printing/cloud_print/privet_constants.cc",
"printing/cloud_print/privet_constants.h",
"printing/cloud_print/privet_device_lister.cc",
"printing/cloud_print/privet_device_lister.h",
"printing/cloud_print/privet_device_lister_impl.cc",
"printing/cloud_print/privet_device_lister_impl.h",
"printing/cloud_print/privet_http.cc",
"printing/cloud_print/privet_http.h",
"printing/cloud_print/privet_http_asynchronous_factory.cc",
"printing/cloud_print/privet_http_asynchronous_factory.h",
"printing/cloud_print/privet_http_asynchronous_factory_impl.cc",
"printing/cloud_print/privet_http_asynchronous_factory_impl.h",
"printing/cloud_print/privet_http_impl.cc",
"printing/cloud_print/privet_http_impl.h",
"printing/cloud_print/privet_local_printer_lister.cc",
"printing/cloud_print/privet_local_printer_lister.h",
"printing/cloud_print/privet_notifications.cc",
"printing/cloud_print/privet_notifications.h",
"printing/cloud_print/privet_notifications_factory.cc",
"printing/cloud_print/privet_notifications_factory.h",
"printing/cloud_print/privet_url_fetcher.cc",
"printing/cloud_print/privet_url_fetcher.h",
]
}
if (enable_session_service) {
sources += [
"sessions/session_restore.cc",
"sessions/session_restore.h",
"sessions/session_restore_delegate.cc",
"sessions/session_restore_delegate.h",
"sessions/session_restore_observer.h",
"sessions/session_restore_stats_collector.cc",
"sessions/session_restore_stats_collector.h",
"sessions/session_service.cc",
"sessions/session_service.h",
"sessions/session_service_factory.cc",
"sessions/session_service_factory.h",
"sessions/session_service_utils.cc",
"sessions/session_service_utils.h",
"sessions/tab_loader.cc",
"sessions/tab_loader.h",
"sessions/tab_loader_delegate.cc",
"sessions/tab_loader_delegate.h",
]
}
if (enable_spellcheck) {
sources += [
"spellchecker/spell_check_host_impl.cc",
"spellchecker/spell_check_host_impl.h",
"spellchecker/spellcheck_custom_dictionary.cc",
"spellchecker/spellcheck_custom_dictionary.h",
"spellchecker/spellcheck_factory.cc",
"spellchecker/spellcheck_factory.h",
"spellchecker/spellcheck_hunspell_dictionary.cc",
"spellchecker/spellcheck_hunspell_dictionary.h",
"spellchecker/spellcheck_message_filter_platform_mac.cc",
"spellchecker/spellcheck_service.cc",
"spellchecker/spellcheck_service.h",
]
if (has_spellcheck_panel) {
sources += [
"spellchecker/spell_check_panel_host_impl.cc",
"spellchecker/spell_check_panel_host_impl.h",
]
}
deps += [
"//components/spellcheck/browser",
"//components/spellcheck/common:common",
]
if (!is_android) {
deps += [ "//third_party/hunspell" ]
}
}
if (enable_supervised_users) {
sources += [
"content_settings/content_settings_supervised_provider.cc",
"content_settings/content_settings_supervised_provider.h",
"supervised_user/child_accounts/child_account_service.cc",
"supervised_user/child_accounts/child_account_service.h",
"supervised_user/child_accounts/child_account_service_factory.cc",
"supervised_user/child_accounts/child_account_service_factory.h",
"supervised_user/child_accounts/family_info_fetcher.cc",
"supervised_user/child_accounts/family_info_fetcher.h",
"supervised_user/child_accounts/kids_management_api.cc",
"supervised_user/child_accounts/kids_management_api.h",
"supervised_user/child_accounts/permission_request_creator_apiary.cc",
"supervised_user/child_accounts/permission_request_creator_apiary.h",
"supervised_user/experimental/safe_search_url_reporter.cc",
"supervised_user/experimental/safe_search_url_reporter.h",
"supervised_user/experimental/supervised_user_blacklist.cc",
"supervised_user/experimental/supervised_user_blacklist.h",
"supervised_user/experimental/supervised_user_filtering_switches.cc",
"supervised_user/experimental/supervised_user_filtering_switches.h",
"supervised_user/permission_request_creator.h",
"supervised_user/supervised_user_constants.cc",
"supervised_user/supervised_user_constants.h",
"supervised_user/supervised_user_content_provider_android.cc",
"supervised_user/supervised_user_content_provider_android.h",
"supervised_user/supervised_user_features.cc",
"supervised_user/supervised_user_features.h",
"supervised_user/supervised_user_google_auth_navigation_throttle.cc",
"supervised_user/supervised_user_google_auth_navigation_throttle.h",
"supervised_user/supervised_user_interstitial.cc",
"supervised_user/supervised_user_interstitial.h",
"supervised_user/supervised_user_navigation_observer.cc",
"supervised_user/supervised_user_navigation_observer.h",
"supervised_user/supervised_user_navigation_throttle.cc",
"supervised_user/supervised_user_navigation_throttle.h",
"supervised_user/supervised_user_pref_store.cc",
"supervised_user/supervised_user_pref_store.h",
"supervised_user/supervised_user_service.cc",
"supervised_user/supervised_user_service.h",
"supervised_user/supervised_user_service_factory.cc",
"supervised_user/supervised_user_service_factory.h",
"supervised_user/supervised_user_service_observer.h",
"supervised_user/supervised_user_settings_service.cc",
"supervised_user/supervised_user_settings_service.h",
"supervised_user/supervised_user_settings_service_factory.cc",
"supervised_user/supervised_user_settings_service_factory.h",
"supervised_user/supervised_user_site_list.cc",
"supervised_user/supervised_user_site_list.h",
"supervised_user/supervised_user_sync_data_type_controller.cc",
"supervised_user/supervised_user_sync_data_type_controller.h",
"supervised_user/supervised_user_url_filter.cc",
"supervised_user/supervised_user_url_filter.h",
"supervised_user/supervised_user_whitelist_service.cc",
"supervised_user/supervised_user_whitelist_service.h",
"supervised_user/supervised_users.h",
]
}
if (enable_supervised_users && !is_android) {
sources += [
# TODO(bauerb): The legacy code should be removed (on desktop) once child
# account support has launched (https://crbug.com/505443).
"supervised_user/legacy/custodian_profile_downloader_service.cc",
"supervised_user/legacy/custodian_profile_downloader_service.h",
"supervised_user/legacy/custodian_profile_downloader_service_factory.cc",
"supervised_user/legacy/custodian_profile_downloader_service_factory.h",
"supervised_user/legacy/permission_request_creator_sync.cc",
"supervised_user/legacy/permission_request_creator_sync.h",
"supervised_user/legacy/supervised_user_pref_mapping_service.cc",
"supervised_user/legacy/supervised_user_pref_mapping_service.h",
"supervised_user/legacy/supervised_user_pref_mapping_service_factory.cc",
"supervised_user/legacy/supervised_user_pref_mapping_service_factory.h",
"supervised_user/legacy/supervised_user_refresh_token_fetcher.cc",
"supervised_user/legacy/supervised_user_refresh_token_fetcher.h",
"supervised_user/legacy/supervised_user_registration_utility.cc",
"supervised_user/legacy/supervised_user_registration_utility.h",
"supervised_user/legacy/supervised_user_registration_utility_stub.cc",
"supervised_user/legacy/supervised_user_registration_utility_stub.h",
"supervised_user/legacy/supervised_user_shared_settings_service.cc",
"supervised_user/legacy/supervised_user_shared_settings_service.h",
"supervised_user/legacy/supervised_user_shared_settings_service_factory.cc",
"supervised_user/legacy/supervised_user_shared_settings_service_factory.h",
"supervised_user/legacy/supervised_user_shared_settings_update.cc",
"supervised_user/legacy/supervised_user_shared_settings_update.h",
"supervised_user/legacy/supervised_user_sync_service.cc",
"supervised_user/legacy/supervised_user_sync_service.h",
"supervised_user/legacy/supervised_user_sync_service_factory.cc",
"supervised_user/legacy/supervised_user_sync_service_factory.h",
"supervised_user/legacy/supervised_user_sync_service_observer.h",
"supervised_user/supervised_user_theme.cc",
"supervised_user/supervised_user_theme.h",
]
}
if (enable_supervised_users && !is_android && !is_chromeos) {
sources += [
"supervised_user/supervised_user_creation_policy_handler.cc",
"supervised_user/supervised_user_creation_policy_handler.h",
]
}
if (enable_vr) {
if (enable_gvr_services) {
deps += [ "android/vr_shell:vr_android" ]
configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
allow_circular_includes_from += [ "android/vr_shell:vr_android" ]
}
sources += [
"component_updater/vr_assets_component_installer.cc",
"component_updater/vr_assets_component_installer.h",
]
deps += [ "//chrome/browser/vr:vr_common" ]
}
if (enable_wayland_server) {
deps += [
"//components/exo",
"//components/exo/wayland",
]
sources += [
"exo_parts.cc",
"exo_parts.h",
]
}
if (enable_webrtc) {
sources += [
"media/audio_debug_recordings_handler.h",
# TODO(brettw) should webrtc_log_list.cc go here?
"media/webrtc/audio_debug_recordings_handler.cc",
"media/webrtc/webrtc_event_log_handler.cc",
"media/webrtc/webrtc_event_log_handler.h",
"media/webrtc/webrtc_log_uploader.cc",
"media/webrtc/webrtc_log_uploader.h",
"media/webrtc/webrtc_log_util.cc",
"media/webrtc/webrtc_log_util.h",
"media/webrtc/webrtc_logging_handler_host.cc",
"media/webrtc/webrtc_logging_handler_host.h",
"media/webrtc/webrtc_rtp_dump_handler.cc",
"media/webrtc/webrtc_rtp_dump_handler.h",
"media/webrtc/webrtc_rtp_dump_writer.cc",
"media/webrtc/webrtc_rtp_dump_writer.h",
"media/webrtc/webrtc_text_log_handler.cc",
"media/webrtc/webrtc_text_log_handler.h",
]
deps += [
"//third_party/webrtc/modules/desktop_capture",
"//third_party/webrtc_overrides",
"//third_party/webrtc_overrides:init_webrtc",
]
}
if (!is_chrome_branded) {
sources += [
"search/local_files_ntp_source.cc",
"search/local_files_ntp_source.h",
]
}
if (use_cups) {
configs += [ "//printing:cups" ]
}
if (use_gnome_keyring) {
sources += [
"password_manager/native_backend_gnome_x.cc",
"password_manager/native_backend_gnome_x.h",
]
configs += [ "//components/os_crypt:gnome_keyring" ]
}
if (use_nss_certs) {
sources += [
"certificate_manager_model.cc",
"certificate_manager_model.h",
"net/nss_context.cc",
"net/nss_context.h",
]
if (is_chromeos) {
sources += [ "net/nss_context_chromeos.cc" ]
}
if (is_desktop_linux) {
sources += [ "net/nss_context_linux.cc" ]
}
}
if (use_udev) {
deps += [ "//device/udev_linux" ]
}
if (enable_mus) {
sources += [
"mash_service_registry.cc",
"mash_service_registry.h",
]
deps += [
"//mash/quick_launch/public/interfaces:constants",
"//services/ui/public/interfaces",
]
if (is_linux && !is_android) {
deps += [
"//components/font_service:lib",
"//components/font_service/public/interfaces",
]
}
if (is_chromeos) {
deps += [ "//ash/public/cpp" ]
}
}
}
if (is_android) {
generate_jni("jni_headers") {
sources = [
"../android/java/src/org/chromium/chrome/browser/AfterStartupTaskUtils.java",
"../android/java/src/org/chromium/chrome/browser/AppHooks.java",
"../android/java/src/org/chromium/chrome/browser/ApplicationLifetime.java",
"../android/java/src/org/chromium/chrome/browser/BackgroundSyncLauncher.java",
"../android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java",
"../android/java/src/org/chromium/chrome/browser/ChromeBackupAgent.java",
"../android/java/src/org/chromium/chrome/browser/ChromeBackupWatcher.java",
"../android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java",
"../android/java/src/org/chromium/chrome/browser/ChromeHttpAuthHandler.java",
"../android/java/src/org/chromium/chrome/browser/ChromeVersionInfo.java",
"../android/java/src/org/chromium/chrome/browser/DevToolsServer.java",
"../android/java/src/org/chromium/chrome/browser/IntentHelper.java",
"../android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java",
"../android/java/src/org/chromium/chrome/browser/JavascriptTabModalDialog.java",
"../android/java/src/org/chromium/chrome/browser/NearOomMonitor.java",
"../android/java/src/org/chromium/chrome/browser/PasswordUIView.java",
"../android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java",
"../android/java/src/org/chromium/chrome/browser/SearchGeolocationDisclosureTabHelper.java",
"../android/java/src/org/chromium/chrome/browser/ServiceTabLauncher.java",
"../android/java/src/org/chromium/chrome/browser/ShortcutHelper.java",
"../android/java/src/org/chromium/chrome/browser/TabState.java",
"../android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java",
"../android/java/src/org/chromium/chrome/browser/UsbChooserDialog.java",
"../android/java/src/org/chromium/chrome/browser/WarmupManager.java",
"../android/java/src/org/chromium/chrome/browser/WebContentsFactory.java",
"../android/java/src/org/chromium/chrome/browser/accessibility/FontSizePrefs.java",
"../android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java",
"../android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java",
"../android/java/src/org/chromium/chrome/browser/autofill/AutofillLogger.java",
"../android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java",
"../android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java",
"../android/java/src/org/chromium/chrome/browser/autofill/CreditCardScannerBridge.java",
"../android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationPopupBridge.java",
"../android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java",
"../android/java/src/org/chromium/chrome/browser/autofill/PhoneNumberUtil.java",
"../android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java",
"../android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkBridge.java",
"../android/java/src/org/chromium/chrome/browser/browserservices/OriginVerifier.java",
"../android/java/src/org/chromium/chrome/browser/browsing_data/UrlFilterBridge.java",
"../android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountFeedbackReporter.java",
"../android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java",
"../android/java/src/org/chromium/chrome/browser/compositor/CompositorView.java",
"../android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java",
"../android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java",
"../android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java",
"../android/java/src/org/chromium/chrome/browser/compositor/resources/ResourceFactory.java",
"../android/java/src/org/chromium/chrome/browser/compositor/scene_layer/ContextualSearchSceneLayer.java",
"../android/java/src/org/chromium/chrome/browser/compositor/scene_layer/SceneLayer.java",
"../android/java/src/org/chromium/chrome/browser/compositor/scene_layer/StaticTabSceneLayer.java",
"../android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java",
"../android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabStripSceneLayer.java",
"../android/java/src/org/chromium/chrome/browser/compositor/scene_layer/ToolbarSceneLayer.java",
"../android/java/src/org/chromium/chrome/browser/content/ContentUtils.java",
"../android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java",
"../android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java",
"../android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchContext.java",
"../android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManager.java",
"../android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchRankerLoggerImpl.java",
"../android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java",
"../android/java/src/org/chromium/chrome/browser/contextualsearch/CtrSuppression.java",
"../android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java",
"../android/java/src/org/chromium/chrome/browser/crash/MinidumpUploadService.java",
"../android/java/src/org/chromium/chrome/browser/crash/PureJavaExceptionHandler.java",
"../android/java/src/org/chromium/chrome/browser/customtabs/LoadingPredictor.java",
"../android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java",
"../android/java/src/org/chromium/chrome/browser/datausage/DataUseTabUIManager.java",
"../android/java/src/org/chromium/chrome/browser/datausage/ExternalDataUseObserver.java",
"../android/java/src/org/chromium/chrome/browser/document/DocumentWebContentsDelegate.java",
"../android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerServiceFactory.java",
"../android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java",
"../android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerUIUtils.java",
"../android/java/src/org/chromium/chrome/browser/download/ChromeDownloadDelegate.java",
"../android/java/src/org/chromium/chrome/browser/download/DownloadController.java",
"../android/java/src/org/chromium/chrome/browser/download/DownloadInfo.java",
"../android/java/src/org/chromium/chrome/browser/download/DownloadItem.java",
"../android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java",
"../android/java/src/org/chromium/chrome/browser/download/items/OfflineContentAggregatorFactory.java",
"../android/java/src/org/chromium/chrome/browser/download/service/DownloadBackgroundTask.java",
"../android/java/src/org/chromium/chrome/browser/download/service/DownloadTaskScheduler.java",
"../android/java/src/org/chromium/chrome/browser/engagement/SiteEngagementService.java",
"../android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java",
"../android/java/src/org/chromium/chrome/browser/favicon/LargeIconBridge.java",
"../android/java/src/org/chromium/chrome/browser/feature_engagement/TrackerFactory.java",
"../android/java/src/org/chromium/chrome/browser/feedback/ConnectivityChecker.java",
"../android/java/src/org/chromium/chrome/browser/feedback/ScreenshotTask.java",
"../android/java/src/org/chromium/chrome/browser/feedback/SystemInfoFeedbackSource.java",
"../android/java/src/org/chromium/chrome/browser/findinpage/FindInPageBridge.java",
"../android/java/src/org/chromium/chrome/browser/history/BrowsingHistoryBridge.java",
"../android/java/src/org/chromium/chrome/browser/historyreport/HistoryReportJniBridge.java",
"../android/java/src/org/chromium/chrome/browser/infobar/AdsBlockedInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarAndroid.java",
"../android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java",
"../android/java/src/org/chromium/chrome/browser/infobar/AutofillCreditCardFillingInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/AutofillSaveCardInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBarDelegate.java",
"../android/java/src/org/chromium/chrome/browser/infobar/DuplicateDownloadInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/FramebustBlockInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/GeneratedPasswordSavedInfoBarDelegate.java",
"../android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java",
"../android/java/src/org/chromium/chrome/browser/infobar/InstantAppsInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/InstantAppsInfoBarDelegate.java",
"../android/java/src/org/chromium/chrome/browser/infobar/NearOomInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/PermissionInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/PermissionUpdateInfoBarDelegate.java",
"../android/java/src/org/chromium/chrome/browser/infobar/PreviewsInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/ReaderModeInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/SearchGeolocationDisclosureInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/SimpleConfirmInfoBarBuilder.java",
"../android/java/src/org/chromium/chrome/browser/infobar/SurveyInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/TranslateCompactInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java",
"../android/java/src/org/chromium/chrome/browser/instantapps/InstantAppsSettings.java",
"../android/java/src/org/chromium/chrome/browser/invalidation/InvalidationServiceFactory.java",
"../android/java/src/org/chromium/chrome/browser/locale/LocaleManager.java",
"../android/java/src/org/chromium/chrome/browser/locale/SpecialLocaleHandler.java",
"../android/java/src/org/chromium/chrome/browser/media/cdm/MediaDrmCredentialManager.java",
"../android/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.java",
"../android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java",
"../android/java/src/org/chromium/chrome/browser/media/router/ChromeMediaRouter.java",
"../android/java/src/org/chromium/chrome/browser/media/router/ChromeMediaRouterDialogController.java",
"../android/java/src/org/chromium/chrome/browser/metrics/LaunchMetrics.java",
"../android/java/src/org/chromium/chrome/browser/metrics/PageLoadMetrics.java",
"../android/java/src/org/chromium/chrome/browser/metrics/UmaSessionStats.java",
"../android/java/src/org/chromium/chrome/browser/metrics/UmaUtils.java",
"../android/java/src/org/chromium/chrome/browser/metrics/VariationsSession.java",
"../android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java",
"../android/java/src/org/chromium/chrome/browser/net/qualityprovider/ExternalEstimateProviderAndroid.java",
"../android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java",
"../android/java/src/org/chromium/chrome/browser/notifications/ActionInfo.java",
"../android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java",
"../android/java/src/org/chromium/chrome/browser/notifications/NotificationSettingsBridge.java",
"../android/java/src/org/chromium/chrome/browser/ntp/ContentSuggestionsNotifier.java",
"../android/java/src/org/chromium/chrome/browser/ntp/ForeignSessionHelper.java",
"../android/java/src/org/chromium/chrome/browser/ntp/LogoBridge.java",
"../android/java/src/org/chromium/chrome/browser/ntp/RecentTabsPagePrefs.java",
"../android/java/src/org/chromium/chrome/browser/ntp/RecentlyClosedBridge.java",
"../android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java",
"../android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsLauncher.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/CCTRequestStatus.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/CctOfflinePageModelObserver.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/SavePageRequest.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/downloads/OfflinePageDownloadBridge.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/downloads/OfflinePageNotificationBridge.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/prefetch/OfflineNotificationBackgroundTask.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/prefetch/PrefetchBackgroundTask.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/prefetch/PrefetchBackgroundTaskScheduler.java",
"../android/java/src/org/chromium/chrome/browser/offlinepages/prefetch/PrefetchedPagesNotifier.java",
"../android/java/src/org/chromium/chrome/browser/omnibox/AnswersImage.java",
"../android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java",
"../android/java/src/org/chromium/chrome/browser/omnibox/OmniboxPrerender.java",
"../android/java/src/org/chromium/chrome/browser/omnibox/OmniboxUrlEmphasizer.java",
"../android/java/src/org/chromium/chrome/browser/omnibox/OmniboxViewUtil.java",
"../android/java/src/org/chromium/chrome/browser/omnibox/geo/GeolocationHeader.java",
"../android/java/src/org/chromium/chrome/browser/page_info/CertificateChainHelper.java",
"../android/java/src/org/chromium/chrome/browser/page_info/CertificateViewer.java",
"../android/java/src/org/chromium/chrome/browser/page_info/ConnectionInfoPopup.java",
"../android/java/src/org/chromium/chrome/browser/page_info/PageInfoPopup.java",
"../android/java/src/org/chromium/chrome/browser/partnerbookmarks/PartnerBookmarksReader.java",
"../android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java",
"../android/java/src/org/chromium/chrome/browser/password_manager/AccountChooserDialog.java",
"../android/java/src/org/chromium/chrome/browser/password_manager/AutoSigninFirstRunDialog.java",
"../android/java/src/org/chromium/chrome/browser/password_manager/Credential.java",
"../android/java/src/org/chromium/chrome/browser/payments/JourneyLogger.java",
"../android/java/src/org/chromium/chrome/browser/payments/PaymentManifestWebDataService.java",
"../android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java",
"../android/java/src/org/chromium/chrome/browser/payments/SslValidityChecker.java",
"../android/java/src/org/chromium/chrome/browser/permissions/PermissionDialogController.java",
"../android/java/src/org/chromium/chrome/browser/permissions/PermissionDialogDelegate.java",
"../android/java/src/org/chromium/chrome/browser/permissions/PermissionUmaUtil.java",
"../android/java/src/org/chromium/chrome/browser/photo_picker/DecoderService.java",
"../android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBroadcastService.java",
"../android/java/src/org/chromium/chrome/browser/physicalweb/UrlManager.java",
"../android/java/src/org/chromium/chrome/browser/policy/PolicyAuditor.java",
"../android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java",
"../android/java/src/org/chromium/chrome/browser/preferences/PrefChangeRegistrar.java",
"../android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java",
"../android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java",
"../android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileBridge.java",
"../android/java/src/org/chromium/chrome/browser/preferences/privacy/BrowsingDataBridge.java",
"../android/java/src/org/chromium/chrome/browser/preferences/privacy/BrowsingDataCounterBridge.java",
"../android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java",
"../android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java",
"../android/java/src/org/chromium/chrome/browser/profiles/Profile.java",
"../android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java",
"../android/java/src/org/chromium/chrome/browser/profiles/ProfileManagerUtils.java",
"../android/java/src/org/chromium/chrome/browser/provider/ChromeBrowserProvider.java",
"../android/java/src/org/chromium/chrome/browser/push_messaging/PushMessagingServiceObserver.java",
"../android/java/src/org/chromium/chrome/browser/rappor/RapporServiceBridge.java",
"../android/java/src/org/chromium/chrome/browser/rlz/RevenueStats.java",
"../android/java/src/org/chromium/chrome/browser/rlz/RlzPingHandler.java",
"../android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java",
"../android/java/src/org/chromium/chrome/browser/sessions/SessionTabHelper.java",
"../android/java/src/org/chromium/chrome/browser/signin/AccountManagementScreenHelper.java",
"../android/java/src/org/chromium/chrome/browser/signin/AccountTrackerService.java",
"../android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java",
"../android/java/src/org/chromium/chrome/browser/signin/SigninInvestigator.java",
"../android/java/src/org/chromium/chrome/browser/signin/SigninManager.java",
"../android/java/src/org/chromium/chrome/browser/signin/SigninPromoUtil.java",
"../android/java/src/org/chromium/chrome/browser/snackbar/smartlockautosignin/AutoSigninSnackbarController.java",
"../android/java/src/org/chromium/chrome/browser/ssl/CaptivePortalHelper.java",
"../android/java/src/org/chromium/chrome/browser/ssl/SecurityStateModel.java",
"../android/java/src/org/chromium/chrome/browser/suggestions/MostVisitedSites.java",
"../android/java/src/org/chromium/chrome/browser/suggestions/MostVisitedSitesBridge.java",
"../android/java/src/org/chromium/chrome/browser/suggestions/SuggestionsEventReporterBridge.java",
"../android/java/src/org/chromium/chrome/browser/superviseduser/SupervisedUserContentProvider.java",
"../android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java",
"../android/java/src/org/chromium/chrome/browser/sync/SyncSessionsMetrics.java",
"../android/java/src/org/chromium/chrome/browser/tab/Tab.java",
"../android/java/src/org/chromium/chrome/browser/tab/TabWebContentsDelegateAndroid.java",
"../android/java/src/org/chromium/chrome/browser/tabmodel/SingleTabModel.java",
"../android/java/src/org/chromium/chrome/browser/tabmodel/TabModelJniBridge.java",
"../android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java",
"../android/java/src/org/chromium/chrome/browser/util/ChromeContextUtil.java",
"../android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java",
"../android/java/src/org/chromium/chrome/browser/util/PlatformUtil.java",
"../android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java",
"../android/java/src/org/chromium/chrome/browser/webapps/AddToHomescreenManager.java",
"../android/java/src/org/chromium/chrome/browser/webapps/ChromeWebApkHost.java",
"../android/java/src/org/chromium/chrome/browser/webapps/WebApkInstallService.java",
"../android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java",
"../android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateDataFetcher.java",
"../android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.java",
"../android/java/src/org/chromium/chrome/browser/webapps/WebappRegistry.java",
"../android/java/src/org/chromium/chrome/browser/widget/ThumbnailGenerator.java",
]
# Used for testing only, should not be shipped to end users.
if (enable_offline_pages_harness) {
sources += [ "../android/java/src/org/chromium/chrome/browser/offlinepages/evaluation/OfflinePageEvaluationBridge.java" ]
}
jni_package = "chrome"
}
proto_library("client_discourse_context_proto") {
sources = [
"android/proto/client_discourse_context.proto",
]
}
proto_library("delta_file_proto") {
sources = [
"android/proto/delta_file.proto",
]
}
}
if (is_win) {
static_library("chrome_process_finder") {
sources = [
"win/chrome_process_finder.cc",
"win/chrome_process_finder.h",
]
deps = [
"//base",
"//chrome/browser/policy:path_parser",
"//chrome/common:constants",
]
}
proto_library("conflicts_module_list_proto") {
sources = [
"conflicts/proto/module_list.proto",
]
}
}
# This source set is built into both //chrome:chrome_initial (chrome.exe) and
# //chrome:main_dll (chrome.dll). It must not pull in additional dependencies
# over what those targets already require.
source_set("active_use_util") {
sources = [
"active_use_util.cc",
"active_use_util.h",
]
deps = [
"//base",
"//chrome/common:constants",
]
if (is_win) {
deps += [ "//chrome/install_static:install_static_util" ]
}
}
source_set("theme_properties") {
sources = [
"themes/theme_properties.h",
]
}
proto_library("resource_prefetch_predictor_proto") {
sources = [
"predictors/resource_prefetch_predictor.proto",
]
}
grit("resources") {
source = "browser_resources.grd"
# The .grd contains references to generated files.
source_is_generated = true
defines = chrome_grit_defines
if (enable_hangout_services_extension) {
defines += [ "enable_hangout_services_extension" ]
}
output_dir = "$root_gen_dir/chrome"
outputs = [
"grit/browser_resources.h",
"browser_resources.pak",
]
grit_flags = [
"-E",
"additional_modules_list_file=" +
rebase_path(additional_modules_list_file, root_build_dir),
"-E",
"root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
]
deps = [
":chrome_internal_resources_gen",
"//chrome/app:chrome_content_manifest_overlays",
"//chrome/browser/engagement:mojo_bindings_js",
"//chrome/browser/media:mojo_bindings_js",
"//chrome/browser/resources/ssl/ssl_error_assistant:make_ssl_error_assistant_protobuf",
"//chrome/browser/ui/webui/interventions_internals:mojo_bindings_js",
"//chrome/browser/ui/webui/omnibox:mojo_bindings_js",
"//chrome/browser/ui/webui/usb_internals:mojo_bindings_js",
"//device/bluetooth/public/interfaces:experimental_interfaces_js",
"//device/bluetooth/public/interfaces:interfaces_js",
"//url/mojo:url_mojom_gurl_js",
"//url/mojo:url_mojom_origin_js",
]
if (is_win || is_mac || is_desktop_linux || is_chromeos) {
deps += [ "//chrome/browser/ui/webui/discards:mojo_bindings_js" ]
}
if (optimize_webui) {
deps += [
"//chrome/browser/resources/md_bookmarks:build",
"//chrome/browser/resources/md_downloads:build",
"//chrome/browser/resources/md_history:build",
]
}
if (safe_browsing_mode > 0) {
deps +=
[ "//chrome/browser/resources/safe_browsing:make_file_types_protobuf" ]
}
}
if (is_chrome_branded) {
action("chrome_internal_resources_gen") {
script = "internal/transform_additional_modules_list.py"
sources = [
"internal/resources/additional_modules_list.input",
]
outputs = [
additional_modules_list_file,
]
args = rebase_path(sources, root_build_dir) +
rebase_path(outputs, root_build_dir)
}
} else {
group("chrome_internal_resources_gen") {
# Empty placeholder.
}
}
# Use a static library here because many test binaries depend on this but don't
# require many files from it. This makes linking more efficient.
static_library("test_support") {
testonly = true
# Always include this via the main test support target.
visibility = [ "//chrome/test:test_support" ]
sources = [
"browsing_data/mock_browsing_data_appcache_helper.cc",
"browsing_data/mock_browsing_data_appcache_helper.h",
"browsing_data/mock_browsing_data_cache_storage_helper.cc",
"browsing_data/mock_browsing_data_cache_storage_helper.h",
"browsing_data/mock_browsing_data_channel_id_helper.cc",
"browsing_data/mock_browsing_data_channel_id_helper.h",
"browsing_data/mock_browsing_data_cookie_helper.cc",
"browsing_data/mock_browsing_data_cookie_helper.h",
"browsing_data/mock_browsing_data_database_helper.cc",
"browsing_data/mock_browsing_data_database_helper.h",
"browsing_data/mock_browsing_data_file_system_helper.cc",
"browsing_data/mock_browsing_data_file_system_helper.h",
"browsing_data/mock_browsing_data_flash_lso_helper.cc",
"browsing_data/mock_browsing_data_flash_lso_helper.h",
"browsing_data/mock_browsing_data_indexed_db_helper.cc",
"browsing_data/mock_browsing_data_indexed_db_helper.h",
"browsing_data/mock_browsing_data_local_storage_helper.cc",
"browsing_data/mock_browsing_data_local_storage_helper.h",
"browsing_data/mock_browsing_data_media_license_helper.cc",
"browsing_data/mock_browsing_data_media_license_helper.h",
"browsing_data/mock_browsing_data_quota_helper.cc",
"browsing_data/mock_browsing_data_quota_helper.h",
"browsing_data/mock_browsing_data_service_worker_helper.cc",
"browsing_data/mock_browsing_data_service_worker_helper.h",
"browsing_data/mock_browsing_data_shared_worker_helper.cc",
"browsing_data/mock_browsing_data_shared_worker_helper.h",
"download/download_test_file_activity_observer.cc",
"download/download_test_file_activity_observer.h",
"gcm/fake_gcm_profile_service.cc",
"gcm/fake_gcm_profile_service.h",
"history/history_test_utils.cc",
"history/history_test_utils.h",
"media/webrtc/fake_desktop_media_list.cc",
"media/webrtc/fake_desktop_media_list.h",
"net/dns_probe_test_util.cc",
"net/dns_probe_test_util.h",
"net/url_request_mock_util.cc",
"net/url_request_mock_util.h",
"notifications/metrics/mock_notification_metrics_logger.cc",
"notifications/metrics/mock_notification_metrics_logger.h",
"notifications/notification_display_service_tester.cc",
"notifications/notification_display_service_tester.h",
"notifications/notification_test_util.cc",
"notifications/notification_test_util.h",
"notifications/stub_notification_display_service.cc",
"notifications/stub_notification_display_service.h",
"permissions/mock_permission_request.cc",
"permissions/mock_permission_request.h",
"predictors/loading_test_util.cc",
"predictors/loading_test_util.h",
"search_engines/template_url_service_factory_test_util.cc",
"search_engines/template_url_service_factory_test_util.h",
"search_engines/template_url_service_test_util.cc",
"search_engines/template_url_service_test_util.h",
"signin/fake_account_fetcher_service_builder.cc",
"signin/fake_account_fetcher_service_builder.h",
"signin/fake_gaia_cookie_manager_service_builder.cc",
"signin/fake_gaia_cookie_manager_service_builder.h",
"signin/fake_profile_oauth2_token_service_builder.cc",
"signin/fake_profile_oauth2_token_service_builder.h",
"signin/fake_signin_manager_builder.cc",
"signin/fake_signin_manager_builder.h",
"ssl/ssl_client_auth_requestor_mock.cc",
"ssl/ssl_client_auth_requestor_mock.h",
"subresource_filter/test_ruleset_publisher.cc",
"subresource_filter/test_ruleset_publisher.h",
"sync/profile_sync_test_util.cc",
"sync/profile_sync_test_util.h",
]
configs += [ "//build/config:precompiled_headers" ]
public_deps = [
":browser",
"//chrome/browser/ui:test_support",
]
deps = [
"//chrome/app/theme:theme_resources",
"//chrome/browser",
"//chrome/common",
"//chrome/common/safe_browsing:proto",
"//components/browser_sync:test_support",
"//components/invalidation/impl",
"//components/invalidation/impl:test_support",
"//components/password_manager/core/browser:test_support",
"//components/policy/core/browser:test_support",
"//components/prefs:test_support",
"//components/safe_browsing:csd_proto",
"//components/search_engines:test_support",
"//components/sessions:test_support",
"//components/subresource_filter/core/browser:test_support",
"//components/subresource_filter/core/common:test_support",
"//components/sync_preferences:test_support",
"//components/ukm:test_support",
"//content/test:test_support",
"//google_apis:test_support",
"//net:test_support",
"//services/preferences/public/cpp/tracked:test_support",
"//skia",
"//testing/gmock",
"//testing/gtest",
"//ui/gfx",
]
if (!is_android && !is_fuchsia) {
sources += [
"policy/test/local_policy_test_server.cc",
"policy/test/local_policy_test_server.h",
]
}
if (is_android) {
sources += [
"android/download/mock_download_controller.cc",
"android/download/mock_download_controller.h",
]
} else {
sources += [
"chooser_controller/fake_bluetooth_chooser_controller.cc",
"chooser_controller/fake_bluetooth_chooser_controller.h",
"chooser_controller/fake_usb_chooser_controller.cc",
"chooser_controller/fake_usb_chooser_controller.h",
"download/test_download_shelf.cc",
"download/test_download_shelf.h",
"profile_resetter/profile_resetter_test_base.cc",
"profile_resetter/profile_resetter_test_base.h",
"sessions/session_restore_test_helper.cc",
"sessions/session_restore_test_helper.h",
"sessions/session_service_test_helper.cc",
"sessions/session_service_test_helper.h",
]
}
if (is_chromeos) {
sources += [
"chromeos/app_mode/fake_cws.cc",
"chromeos/app_mode/fake_cws.h",
"chromeos/arc/extensions/fake_arc_support.cc",
"chromeos/arc/extensions/fake_arc_support.h",
"chromeos/file_manager/fake_disk_mount_manager.cc",
"chromeos/file_manager/fake_disk_mount_manager.h",
"chromeos/input_method/mock_candidate_window_controller.cc",
"chromeos/input_method/mock_candidate_window_controller.h",
"chromeos/input_method/mock_input_method_engine.cc",
"chromeos/input_method/mock_input_method_engine.h",
"chromeos/input_method/mock_input_method_manager_impl.cc",
"chromeos/input_method/mock_input_method_manager_impl.h",
"chromeos/login/screens/mock_device_disabled_screen_view.cc",
"chromeos/login/screens/mock_device_disabled_screen_view.h",
"chromeos/login/session/user_session_manager_test_api.cc",
"chromeos/login/session/user_session_manager_test_api.h",
"chromeos/login/test/js_checker.cc",
"chromeos/login/test/js_checker.h",
"chromeos/login/test/oobe_screen_waiter.cc",
"chromeos/login/test/oobe_screen_waiter.h",
"chromeos/login/ui/mock_login_display.cc",
"chromeos/login/ui/mock_login_display.h",
"chromeos/login/ui/mock_login_display_host.cc",
"chromeos/login/ui/mock_login_display_host.h",
"chromeos/login/users/avatar/mock_user_image_manager.cc",
"chromeos/login/users/avatar/mock_user_image_manager.h",
"chromeos/login/users/fake_chrome_user_manager.cc",
"chromeos/login/users/fake_chrome_user_manager.h",
"chromeos/login/users/fake_supervised_user_manager.cc",
"chromeos/login/users/fake_supervised_user_manager.h",
"chromeos/login/users/mock_user_manager.cc",
"chromeos/login/users/mock_user_manager.h",
"chromeos/net/network_portal_detector_test_utils.cc",
"chromeos/net/network_portal_detector_test_utils.h",
"chromeos/policy/cloud_external_data_manager_base_test_util.cc",
"chromeos/policy/cloud_external_data_manager_base_test_util.h",
"chromeos/policy/device_policy_builder.cc",
"chromeos/policy/device_policy_builder.h",
"chromeos/policy/fake_device_cloud_policy_initializer.cc",
"chromeos/policy/fake_device_cloud_policy_initializer.h",
"chromeos/policy/fake_device_cloud_policy_manager.cc",
"chromeos/policy/fake_device_cloud_policy_manager.h",
"chromeos/settings/device_settings_test_helper.cc",
"chromeos/settings/device_settings_test_helper.h",
"chromeos/settings/stub_install_attributes.cc",
"chromeos/settings/stub_install_attributes.h",
]
configs += [ "//build/config/linux/dbus" ]
deps += [ "//chromeos:test_support" ]
}
if (is_mac && !mac_views_browser) {
sources += [
"chooser_controller/mock_chooser_controller.cc",
"chooser_controller/mock_chooser_controller.h",
]
}
if (enable_app_list) {
sources += [
"ui/app_list/test/chrome_app_list_test_support.cc",
"ui/app_list/test/chrome_app_list_test_support.h",
"ui/app_list/test/test_app_list_controller_delegate.cc",
"ui/app_list/test/test_app_list_controller_delegate.h",
]
}
if (enable_extensions) {
sources += [
"extensions/api/messaging/native_messaging_test_util.cc",
"extensions/api/messaging/native_messaging_test_util.h",
"extensions/chrome_extension_test_notification_observer.cc",
"extensions/chrome_extension_test_notification_observer.h",
"extensions/chrome_test_extension_loader.cc",
"extensions/chrome_test_extension_loader.h",
"extensions/extension_action_test_util.cc",
"extensions/extension_action_test_util.h",
"extensions/mock_extension_special_storage_policy.cc",
"extensions/mock_extension_special_storage_policy.h",
"extensions/test_blacklist.cc",
"extensions/test_blacklist.h",
"extensions/test_blacklist_state_fetcher.cc",
"extensions/test_blacklist_state_fetcher.h",
"extensions/test_extension_dir.cc",
"extensions/test_extension_dir.h",
"extensions/test_extension_environment.cc",
"extensions/test_extension_environment.h",
"extensions/test_extension_prefs.cc",
"extensions/test_extension_prefs.h",
"extensions/test_extension_service.cc",
"extensions/test_extension_service.h",
"extensions/test_extension_system.cc",
"extensions/test_extension_system.h",
"media_galleries/media_galleries_test_util.cc",
"media_galleries/media_galleries_test_util.h",
]
deps += [
"//components/drive:test_support",
"//components/storage_monitor:test_support",
"//extensions:test_support",
]
}
if (enable_library_cdms) {
sources += [
"media/library_cdm_test_helper.cc",
"media/library_cdm_test_helper.h",
]
deps += [ "//media/cdm:cdm_paths" ]
}
if (enable_mdns) {
sources += [
"local_discovery/test_service_discovery_client.cc",
"local_discovery/test_service_discovery_client.h",
]
}
if (safe_browsing_mode != 0) {
# "Safe Browsing Basic" files used for safe browsing in full mode
# (safe_browsing=1) and mobile (=2)
sources += [
"safe_browsing/certificate_reporting_service_test_utils.cc",
"safe_browsing/certificate_reporting_service_test_utils.h",
"safe_browsing/mock_permission_report_sender.cc",
"safe_browsing/mock_permission_report_sender.h",
]
}
if (safe_browsing_mode == 1) {
sources += [
"extensions/fake_safe_browsing_database_manager.cc",
"extensions/fake_safe_browsing_database_manager.h",
]
}
if (has_spellcheck_panel) {
sources += [
"spellchecker/test/spellcheck_content_browser_client.cc",
"spellchecker/test/spellcheck_content_browser_client.h",
"spellchecker/test/spellcheck_mock_panel_host.cc",
"spellchecker/test/spellcheck_mock_panel_host.h",
]
}
}
static_library("test_support_ui") {
testonly = true
# Always include this via the main test support UI target.
visibility = [ "//chrome/test:test_support_ui" ]
sources = [
"signin/token_revoker_test_utils.cc",
"signin/token_revoker_test_utils.h",
"ui/webui/signin/login_ui_test_utils.cc",
"ui/webui/signin/login_ui_test_utils.h",
]
deps = [
"//components/metrics:test_support",
"//components/password_manager/core/browser:test_support",
"//components/translate/content/common",
"//skia",
"//testing/gtest",
"//third_party/WebKit/public:blink_headers",
]
public_deps = [
"//net:test_support",
]
configs += [ "//build/config:precompiled_headers" ]
if (!is_android) {
sources += [
"password_manager/password_manager_test_base.cc",
"password_manager/password_manager_test_base.h",
"ui/webui/web_ui_test_handler.cc",
"ui/webui/web_ui_test_handler.h",
]
deps += [ "//chrome/common:mojo_bindings" ]
}
}
if (enable_rlz_support) {
static_library("rlz") {
sources = [
"rlz/chrome_rlz_tracker_delegate.cc",
"rlz/chrome_rlz_tracker_delegate.h",
]
public_deps = [
"//components/google/core/browser",
"//components/omnibox/browser",
"//components/rlz",
"//components/search_engines",
"//rlz:rlz_lib",
]
}
}