summaryrefslogtreecommitdiff
path: root/chromium/content/browser/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/BUILD.gn')
-rw-r--r--chromium/content/browser/BUILD.gn136
1 files changed, 101 insertions, 35 deletions
diff --git a/chromium/content/browser/BUILD.gn b/chromium/content/browser/BUILD.gn
index 41318159a2a..d9c97df39c0 100644
--- a/chromium/content/browser/BUILD.gn
+++ b/chromium/content/browser/BUILD.gn
@@ -37,7 +37,6 @@ source_set("browser") {
"//cc",
"//cc/animation",
"//cc/paint",
- "//cc/surfaces",
"//components/discardable_memory/common",
"//components/discardable_memory/service",
"//components/filesystem:lib",
@@ -45,7 +44,6 @@ source_set("browser") {
"//components/link_header_util",
"//components/metrics",
"//components/metrics:single_sample_metrics",
- "//components/mime_util",
"//components/network_session_configurator/browser",
"//components/offline_pages/core/request_header",
"//components/offline_pages/features:features",
@@ -72,6 +70,7 @@ source_set("browser") {
"//content/common",
"//content/common:features",
"//content/common:mojo_bindings",
+ "//content/network:network_sources",
"//content/public/common:common_sources",
"//crypto",
"//device/bluetooth",
@@ -89,6 +88,7 @@ source_set("browser") {
"//gpu/ipc/host",
"//gpu/vulkan:features",
"//media",
+ "//media:media_features",
"//media/capture",
"//media/capture/mojo:image_capture",
"//media/gpu/ipc/client",
@@ -119,6 +119,8 @@ source_set("browser") {
"//services/file:lib",
"//services/file/public/interfaces",
"//services/metrics/public/cpp:metrics_cpp",
+ "//services/network/public/cpp",
+ "//services/network/public/interfaces",
"//services/resource_coordinator:lib",
"//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
"//services/service_manager",
@@ -138,11 +140,12 @@ source_set("browser") {
"//sql",
"//storage/browser",
"//storage/common",
+ "//third_party/WebKit/common:blink_common",
"//third_party/WebKit/public:blink_headers",
"//third_party/WebKit/public:features",
- "//third_party/WebKit/public:image_resources",
"//third_party/WebKit/public:mojo_bindings",
"//third_party/WebKit/public:resources",
+ "//third_party/WebKit/public:scaled_resources",
"//third_party/angle:angle_common",
"//third_party/brotli:dec",
"//third_party/icu",
@@ -185,6 +188,8 @@ source_set("browser") {
]
sources = [
+ "$target_gen_dir/devtools/protocol/browser.cc",
+ "$target_gen_dir/devtools/protocol/browser.h",
"$target_gen_dir/devtools/protocol/dom.cc",
"$target_gen_dir/devtools/protocol/dom.h",
"$target_gen_dir/devtools/protocol/emulation.cc",
@@ -268,14 +273,14 @@ source_set("browser") {
"accessibility/one_shot_accessibility_tree_search.cc",
"accessibility/one_shot_accessibility_tree_search.h",
"accessibility/web_contents_accessibility.h",
+ "after_startup_task_utils.cc",
+ "after_startup_task_utils.h",
"android/android_overlay_provider_impl.cc",
"android/android_overlay_provider_impl.h",
"android/app_web_message_port.cc",
"android/app_web_message_port.h",
"android/background_sync_network_observer_android.cc",
"android/background_sync_network_observer_android.h",
- "android/browser_jni_registrar.cc",
- "android/browser_jni_registrar.h",
"android/browser_startup_controller.cc",
"android/browser_startup_controller.h",
"android/content_feature_list.cc",
@@ -290,7 +295,6 @@ source_set("browser") {
"android/dialog_overlay_impl.cc",
"android/dialog_overlay_impl.h",
"android/gpu_process_callback.cc",
- "android/gpu_process_callback.h",
"android/java_interfaces_impl.cc",
"android/java_interfaces_impl.h",
"android/launcher_thread.cc",
@@ -299,6 +303,10 @@ source_set("browser") {
"android/scoped_surface_request_manager.h",
"android/string_message_codec.cc",
"android/string_message_codec.h",
+ "android/text_suggestion_host_android.cc",
+ "android/text_suggestion_host_android.h",
+ "android/text_suggestion_host_mojo_impl_android.cc",
+ "android/text_suggestion_host_mojo_impl_android.h",
"android/url_request_content_job.cc",
"android/url_request_content_job.h",
"appcache/appcache.cc",
@@ -352,6 +360,14 @@ source_set("browser") {
"appcache/appcache_subresource_url_factory.h",
"appcache/appcache_update_job.cc",
"appcache/appcache_update_job.h",
+ "appcache/appcache_update_request_base.cc",
+ "appcache/appcache_update_request_base.h",
+ "appcache/appcache_update_url_fetcher.cc",
+ "appcache/appcache_update_url_fetcher.h",
+ "appcache/appcache_update_url_loader_request.cc",
+ "appcache/appcache_update_url_loader_request.h",
+ "appcache/appcache_update_url_request.cc",
+ "appcache/appcache_update_url_request.h",
"appcache/appcache_url_loader_job.cc",
"appcache/appcache_url_loader_job.h",
"appcache/appcache_url_loader_request.cc",
@@ -380,6 +396,8 @@ source_set("browser") {
"background_fetch/background_fetch_registration_id.h",
"background_fetch/background_fetch_request_info.cc",
"background_fetch/background_fetch_request_info.h",
+ "background_fetch/background_fetch_response.cc",
+ "background_fetch/background_fetch_response.h",
"background_fetch/background_fetch_service_impl.cc",
"background_fetch/background_fetch_service_impl.h",
"background_sync/background_sync_context.cc",
@@ -496,11 +514,8 @@ source_set("browser") {
"child_process_launcher_helper.cc",
"child_process_launcher_helper.h",
"child_process_launcher_helper_android.cc",
- "child_process_launcher_helper_android.h",
"child_process_launcher_helper_linux.cc",
"child_process_launcher_helper_mac.cc",
- "child_process_launcher_helper_posix.cc",
- "child_process_launcher_helper_posix.h",
"child_process_launcher_helper_win.cc",
"child_process_security_policy_impl.cc",
"child_process_security_policy_impl.h",
@@ -534,10 +549,14 @@ source_set("browser") {
"devtools/devtools_url_request_interceptor.h",
"devtools/forwarding_agent_host.cc",
"devtools/forwarding_agent_host.h",
- "devtools/page_navigation_throttle.cc",
- "devtools/page_navigation_throttle.h",
+ "devtools/protocol/browser_handler.cc",
+ "devtools/protocol/browser_handler.h",
"devtools/protocol/devtools_domain_handler.cc",
"devtools/protocol/devtools_domain_handler.h",
+ "devtools/protocol/devtools_download_manager_delegate.cc",
+ "devtools/protocol/devtools_download_manager_delegate.h",
+ "devtools/protocol/devtools_download_manager_helper.cc",
+ "devtools/protocol/devtools_download_manager_helper.h",
"devtools/protocol/dom_handler.cc",
"devtools/protocol/dom_handler.h",
"devtools/protocol/emulation_handler.cc",
@@ -550,6 +569,8 @@ source_set("browser") {
"devtools/protocol/io_handler.h",
"devtools/protocol/memory_handler.cc",
"devtools/protocol/memory_handler.h",
+ "devtools/protocol/native_input_event_builder.h",
+ "devtools/protocol/native_input_event_builder_mac.mm",
"devtools/protocol/network_handler.cc",
"devtools/protocol/network_handler.h",
"devtools/protocol/page_handler.cc",
@@ -586,6 +607,7 @@ source_set("browser") {
"devtools/shared_worker_devtools_manager.h",
"devtools/worker_devtools_agent_host.cc",
"devtools/worker_devtools_agent_host.h",
+ "discardable_shared_memory_manager.cc",
"dom_storage/dom_storage_area.cc",
"dom_storage/dom_storage_area.h",
"dom_storage/dom_storage_context_impl.cc",
@@ -650,8 +672,14 @@ source_set("browser") {
"download/download_request_handle.h",
"download/download_resource_handler.cc",
"download/download_resource_handler.h",
+ "download/download_response_handler.cc",
+ "download/download_response_handler.h",
"download/download_stats.cc",
"download/download_stats.h",
+ "download/download_task_runner.cc",
+ "download/download_task_runner.h",
+ "download/download_utils.cc",
+ "download/download_utils.h",
"download/download_worker.cc",
"download/download_worker.h",
"download/drag_download_file.cc",
@@ -668,6 +696,8 @@ source_set("browser") {
"download/parallel_download_utils.h",
"download/rate_estimator.cc",
"download/rate_estimator.h",
+ "download/resource_downloader.cc",
+ "download/resource_downloader.h",
"download/save_file.cc",
"download/save_file.h",
"download/save_file_manager.cc",
@@ -682,6 +712,8 @@ source_set("browser") {
"download/save_package_download_job.h",
"download/save_types.cc",
"download/save_types.h",
+ "download/url_download_handler.cc",
+ "download/url_download_handler.h",
"download/url_downloader.cc",
"download/url_downloader.h",
"field_trial_recorder.cc",
@@ -713,6 +745,8 @@ source_set("browser") {
"frame_host/frame_tree_node.h",
"frame_host/frame_tree_node_blame_context.cc",
"frame_host/frame_tree_node_blame_context.h",
+ "frame_host/input/input_injector_impl.cc",
+ "frame_host/input/input_injector_impl.h",
"frame_host/input/legacy_ipc_frame_input_handler.cc",
"frame_host/input/legacy_ipc_frame_input_handler.h",
"frame_host/interstitial_page_impl.cc",
@@ -756,10 +790,12 @@ source_set("browser") {
"frame_host/render_frame_message_filter.h",
"frame_host/render_frame_proxy_host.cc",
"frame_host/render_frame_proxy_host.h",
- "frame_host/render_widget_host_view_child_frame.cc",
- "frame_host/render_widget_host_view_child_frame.h",
"frame_host/render_widget_host_view_guest.cc",
"frame_host/render_widget_host_view_guest.h",
+ "generic_sensor/sensor_provider_proxy_impl.cc",
+ "generic_sensor/sensor_provider_proxy_impl.h",
+ "geolocation/geolocation_service_impl.cc",
+ "geolocation/geolocation_service_impl.h",
"gpu/browser_gpu_channel_host_factory.cc",
"gpu/browser_gpu_channel_host_factory.h",
"gpu/browser_gpu_memory_buffer_manager.cc",
@@ -840,9 +876,13 @@ source_set("browser") {
"indexed_db/indexed_db_observer.h",
"indexed_db/indexed_db_pending_connection.cc",
"indexed_db/indexed_db_pending_connection.h",
+ "indexed_db/indexed_db_pre_close_task_queue.cc",
+ "indexed_db/indexed_db_pre_close_task_queue.h",
"indexed_db/indexed_db_quota_client.cc",
"indexed_db/indexed_db_quota_client.h",
"indexed_db/indexed_db_return_value.h",
+ "indexed_db/indexed_db_tombstone_sweeper.cc",
+ "indexed_db/indexed_db_tombstone_sweeper.h",
"indexed_db/indexed_db_tracing.h",
"indexed_db/indexed_db_transaction.cc",
"indexed_db/indexed_db_transaction.h",
@@ -905,8 +945,6 @@ source_set("browser") {
"loader/navigation_url_loader_impl_core.h",
"loader/navigation_url_loader_network_service.cc",
"loader/navigation_url_loader_network_service.h",
- "loader/netlog_observer.cc",
- "loader/netlog_observer.h",
"loader/null_resource_controller.cc",
"loader/null_resource_controller.h",
"loader/redirect_to_file_resource_handler.cc",
@@ -1041,13 +1079,15 @@ source_set("browser") {
"memory/memory_monitor_android.h",
"memory/memory_monitor_win.cc",
"memory/memory_monitor_win.h",
- "memory/swap_metrics_observer.cc",
- "memory/swap_metrics_observer.h",
- "memory/swap_metrics_observer_linux.cc",
- "memory/swap_metrics_observer_linux.h",
- "memory/swap_metrics_observer_mac.cc",
- "memory/swap_metrics_observer_mac.h",
- "memory/swap_metrics_observer_win.cc",
+ "memory/swap_metrics_delegate_uma.cc",
+ "memory/swap_metrics_delegate_uma.h",
+ "memory/swap_metrics_driver_impl.cc",
+ "memory/swap_metrics_driver_impl.h",
+ "memory/swap_metrics_driver_impl_linux.cc",
+ "memory/swap_metrics_driver_impl_linux.h",
+ "memory/swap_metrics_driver_impl_mac.cc",
+ "memory/swap_metrics_driver_impl_mac.h",
+ "memory/swap_metrics_driver_impl_win.cc",
"message_port_provider.cc",
"mime_registry_impl.cc",
"mime_registry_impl.h",
@@ -1129,19 +1169,25 @@ source_set("browser") {
"renderer_host/file_utilities_message_filter.h",
"renderer_host/font_utils_linux.cc",
"renderer_host/font_utils_linux.h",
+ "renderer_host/frame_connector_delegate.cc",
+ "renderer_host/frame_connector_delegate.h",
"renderer_host/frame_metadata_util.cc",
"renderer_host/frame_metadata_util.h",
"renderer_host/frame_sink_provider_impl.cc",
"renderer_host/frame_sink_provider_impl.h",
+ "renderer_host/input/fling_controller.cc",
+ "renderer_host/input/fling_controller.h",
"renderer_host/input/gesture_event_queue.cc",
"renderer_host/input/gesture_event_queue.h",
- "renderer_host/input/input_ack_handler.h",
"renderer_host/input/input_device_change_observer.cc",
"renderer_host/input/input_device_change_observer.h",
+ "renderer_host/input/input_disposition_handler.h",
"renderer_host/input/input_router.h",
"renderer_host/input/input_router_client.h",
"renderer_host/input/input_router_config_helper.cc",
"renderer_host/input/input_router_config_helper.h",
+ "renderer_host/input/input_router_impl.cc",
+ "renderer_host/input/input_router_impl.h",
"renderer_host/input/legacy_input_router_impl.cc",
"renderer_host/input/legacy_input_router_impl.h",
"renderer_host/input/legacy_ipc_widget_input_handler.cc",
@@ -1275,6 +1321,8 @@ source_set("browser") {
"renderer_host/media/video_capture_controller.h",
"renderer_host/media/video_capture_controller_event_handler.h",
"renderer_host/media/video_capture_device_launch_observer.h",
+ "renderer_host/media/video_capture_factory_delegate.cc",
+ "renderer_host/media/video_capture_factory_delegate.h",
"renderer_host/media/video_capture_gpu_jpeg_decoder.cc",
"renderer_host/media/video_capture_gpu_jpeg_decoder.h",
"renderer_host/media/video_capture_host.cc",
@@ -1323,6 +1371,8 @@ source_set("browser") {
"renderer_host/render_widget_host_view_base.h",
"renderer_host/render_widget_host_view_base_observer.cc",
"renderer_host/render_widget_host_view_base_observer.h",
+ "renderer_host/render_widget_host_view_child_frame.cc",
+ "renderer_host/render_widget_host_view_child_frame.h",
"renderer_host/render_widget_host_view_frame_subscriber.h",
"renderer_host/render_widget_host_view_mac.h",
"renderer_host/render_widget_host_view_mac.mm",
@@ -1354,6 +1404,8 @@ source_set("browser") {
"service_manager/common_browser_interfaces.h",
"service_manager/service_manager_context.cc",
"service_manager/service_manager_context.h",
+ "service_worker/browser_side_service_worker_event_dispatcher.cc",
+ "service_worker/browser_side_service_worker_event_dispatcher.h",
"service_worker/embedded_worker_instance.cc",
"service_worker/embedded_worker_instance.h",
"service_worker/embedded_worker_registry.cc",
@@ -1369,6 +1421,8 @@ source_set("browser") {
"service_worker/service_worker_cache_writer.h",
"service_worker/service_worker_client_utils.cc",
"service_worker/service_worker_client_utils.h",
+ "service_worker/service_worker_content_settings_proxy_impl.cc",
+ "service_worker/service_worker_content_settings_proxy_impl.h",
"service_worker/service_worker_context_core.cc",
"service_worker/service_worker_context_core.h",
"service_worker/service_worker_context_core_observer.h",
@@ -1384,8 +1438,6 @@ source_set("browser") {
"service_worker/service_worker_data_pipe_reader.h",
"service_worker/service_worker_database.cc",
"service_worker/service_worker_database.h",
- "service_worker/service_worker_database_task_manager.cc",
- "service_worker/service_worker_database_task_manager.h",
"service_worker/service_worker_disk_cache.cc",
"service_worker/service_worker_disk_cache.h",
"service_worker/service_worker_dispatcher_host.cc",
@@ -1433,6 +1485,10 @@ source_set("browser") {
"service_worker/service_worker_response_info.h",
"service_worker/service_worker_script_cache_map.cc",
"service_worker/service_worker_script_cache_map.h",
+ "service_worker/service_worker_script_url_loader.cc",
+ "service_worker/service_worker_script_url_loader.h",
+ "service_worker/service_worker_script_url_loader_factory.cc",
+ "service_worker/service_worker_script_url_loader_factory.h",
"service_worker/service_worker_storage.cc",
"service_worker/service_worker_storage.h",
"service_worker/service_worker_unregister_job.cc",
@@ -1447,6 +1503,8 @@ source_set("browser") {
"service_worker/service_worker_version.h",
"service_worker/service_worker_write_to_cache_job.cc",
"service_worker/service_worker_write_to_cache_job.h",
+ "shared_worker/shared_worker_content_settings_proxy_impl.cc",
+ "shared_worker/shared_worker_content_settings_proxy_impl.h",
"shared_worker/shared_worker_host.cc",
"shared_worker/shared_worker_host.h",
"shared_worker/shared_worker_instance.cc",
@@ -1531,7 +1589,8 @@ source_set("browser") {
"web_contents/aura/overscroll_window_delegate.h",
"web_contents/aura/shadow_layer_delegate.cc",
"web_contents/aura/shadow_layer_delegate.h",
- "web_contents/aura/uma_navigation_type.h",
+ "web_contents/aura/types.cc",
+ "web_contents/aura/types.h",
"web_contents/web_contents_impl.cc",
"web_contents/web_contents_impl.h",
"web_contents/web_contents_view.h",
@@ -1606,10 +1665,17 @@ source_set("browser") {
]
}
- if (!is_win) {
+ if (is_fuchsia) {
sources += [
- "file_descriptor_info_impl.cc",
- "file_descriptor_info_impl.h",
+ "child_process_launcher_helper_fuchsia.cc",
+ "memory/memory_monitor_fuchsia.cc",
+ ]
+ } else if (is_posix) {
+ sources += [
+ "child_process_launcher_helper_posix.cc",
+ "child_process_launcher_helper_posix.h",
+ "posix_file_descriptor_info_impl.cc",
+ "posix_file_descriptor_info_impl.h",
]
}
@@ -1666,7 +1732,6 @@ source_set("browser") {
"//third_party/webrtc/media:rtc_media_base",
"//third_party/webrtc/modules/desktop_capture:primitives",
"//third_party/webrtc/rtc_base:rtc_base",
- "//third_party/webrtc_overrides:init_webrtc",
]
}
@@ -1709,6 +1774,7 @@ source_set("browser") {
"media/capture/desktop_capture_device.h",
]
deps += [ "//third_party/webrtc/modules/desktop_capture" ]
+ public_deps += [ "//third_party/webrtc_overrides:init_webrtc" ]
}
}
@@ -1890,7 +1956,6 @@ source_set("browser") {
"android/content_view_render_view.cc",
"android/content_view_render_view.h",
"android/content_view_statics.cc",
- "android/content_view_statics.h",
"android/date_time_chooser_android.cc",
"android/date_time_chooser_android.h",
"android/gesture_event_type.h",
@@ -1919,11 +1984,12 @@ source_set("browser") {
"android/java/jni_helper.cc",
"android/java/jni_helper.h",
"android/load_url_params.cc",
- "android/load_url_params.h",
"android/nfc_host.cc",
"android/nfc_host.h",
"android/overscroll_controller_android.cc",
"android/overscroll_controller_android.h",
+ "android/popup_zoomer.cc",
+ "android/popup_zoomer.h",
"android/render_widget_host_connector.cc",
"android/render_widget_host_connector.h",
"android/selection_popup_controller.cc",
@@ -1961,8 +2027,8 @@ source_set("browser") {
set_sources_assignment_filter([])
sources += [
- "memory/swap_metrics_observer_linux.cc",
- "memory/swap_metrics_observer_linux.h",
+ "memory/swap_metrics_driver_impl_linux.cc",
+ "memory/swap_metrics_driver_impl_linux.h",
]
set_sources_assignment_filter(sources_assignment_filter)
@@ -2143,7 +2209,7 @@ source_set("browser") {
]
}
deps += [
- "//cc/surfaces:surfaces",
+ "//components/viz/service",
"//ui/compositor",
]
}