svn commit: r553068 - in head/www/chromium: . files
Joseph Mingrone
jrm at FreeBSD.org
Fri Oct 23 04:29:39 UTC 2020
Author: jrm
Date: Fri Oct 23 04:29:32 2020
New Revision: 553068
URL: https://svnweb.freebsd.org/changeset/ports/553068
Log:
www/chromium: Update to version 85.0.4183.121
Submitted by: cem, rene
Obtained from: some patches from OpenBSD port
Added:
head/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h (contents, props changed)
head/www/chromium/files/patch-chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-chrome_browser_extensions_api_erp_chrome_desktop_report_request_helper.cc
head/www/chromium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_prefs_pref__service__incognito__allowlist.cc (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-chrome_browser_prefs_pref__service__incognito__whitelist.cc
head/www/chromium/files/patch-content_browser_zygote__host_zygote__host__impl__linux.cc (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-services_service__manager_zygote_host_zygote__host__impl__linux.cc
head/www/chromium/files/patch-content_browser_zygote__host_zygote__host__impl__linux.h (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-services_service__manager_zygote_host_zygote__host__impl__linux.h
head/www/chromium/files/patch-content_public_browser_zygote__host_zygote__host__linux.h (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-services_service__manager_zygote_zygote__host__linux.h
head/www/chromium/files/patch-content_public_common_zygote_features.gni (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-services_service__manager_zygote_common_zygote__features.gni
head/www/chromium/files/patch-content_zygote_zygote__linux.cc (contents, props changed)
head/www/chromium/files/patch-content_zygote_zygote__main__linux.cc (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-services_service__manager_zygote_zygote__main__linux.cc
head/www/chromium/files/patch-headless_lib_browser_headless__browser__main__parts.h (contents, props changed)
head/www/chromium/files/patch-headless_lib_browser_headless__browser__main__parts__linux.cc (contents, props changed)
head/www/chromium/files/patch-net_cert_test__root__certs.h (contents, props changed)
head/www/chromium/files/patch-printing_print__settings.h (contents, props changed)
head/www/chromium/files/patch-services_service__manager_sandbox_switches.cc (contents, props changed)
head/www/chromium/files/patch-services_service__manager_sandbox_switches.h (contents, props changed)
head/www/chromium/files/patch-third__party_blink_public_common_privacy__budget_identifiable__token.h (contents, props changed)
head/www/chromium/files/patch-tools_gn_src_gn_version.h (contents, props changed)
head/www/chromium/files/patch-ui_gtk_printing_print__dialog__gtk.cc (contents, props changed)
- copied, changed from r552854, head/www/chromium/files/patch-ui_gtk_print__dialog__gtk.cc
Deleted:
head/www/chromium/files/patch-base_allocator_allocator__shim.cc
head/www/chromium/files/patch-base_stl__util.h
head/www/chromium/files/patch-chrome_browser_extensions_api_erp_chrome_desktop_report_request_helper.cc
head/www/chromium/files/patch-chrome_browser_extensions_api_input__ime_input__ime__api.h
head/www/chromium/files/patch-chrome_browser_prefs_pref__service__incognito__whitelist.cc
head/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine__base.cc
head/www/chromium/files/patch-components_autofill_core_browser_autofill__experiments.cc
head/www/chromium/files/patch-components_viz_service_display__embedder_skia__output__device__dawn.cc
head/www/chromium/files/patch-content_browser_BUILD.gn
head/www/chromium/files/patch-content_browser_scheduler_responsiveness_watcher.cc
head/www/chromium/files/patch-content_child_BUILD.gn
head/www/chromium/files/patch-content_public_common_BUILD.gn
head/www/chromium/files/patch-content_renderer_BUILD.gn
head/www/chromium/files/patch-services_service__manager_zygote_common_zygote__features.gni
head/www/chromium/files/patch-services_service__manager_zygote_host_zygote__host__impl__linux.cc
head/www/chromium/files/patch-services_service__manager_zygote_host_zygote__host__impl__linux.h
head/www/chromium/files/patch-services_service__manager_zygote_zygote__host__linux.h
head/www/chromium/files/patch-services_service__manager_zygote_zygote__linux.cc
head/www/chromium/files/patch-services_service__manager_zygote_zygote__main__linux.cc
head/www/chromium/files/patch-services_tracing_public_cpp_BUILD.gn
head/www/chromium/files/patch-third__party_swiftshader_third__party_llvm-10.0_configs_linux_include_llvm_Config_llvm-config.h
head/www/chromium/files/patch-ui_gfx_x_BUILD.gn
head/www/chromium/files/patch-ui_gfx_x_gen__xproto.py
head/www/chromium/files/patch-ui_gtk_print__dialog__gtk.cc
Modified:
head/www/chromium/Makefile (contents, props changed)
head/www/chromium/distinfo (contents, props changed)
head/www/chromium/files/patch-BUILD.gn (contents, props changed)
head/www/chromium/files/patch-base_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h (contents, props changed)
head/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc (contents, props changed)
head/www/chromium/files/patch-base_base__switches.cc (contents, props changed)
head/www/chromium/files/patch-base_base__switches.h (contents, props changed)
head/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc (contents, props changed)
head/www/chromium/files/patch-base_files_file__util.h (contents, props changed)
head/www/chromium/files/patch-base_files_file__util__posix.cc (contents, props changed)
head/www/chromium/files/patch-base_files_file__util__unittest.cc (contents, props changed)
head/www/chromium/files/patch-base_linux__util.cc (contents, props changed)
head/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc (contents, props changed)
head/www/chromium/files/patch-base_posix_unix__domain__socket.cc (contents, props changed)
head/www/chromium/files/patch-base_process_internal__linux.cc (contents, props changed)
head/www/chromium/files/patch-base_process_internal__linux.h (contents, props changed)
head/www/chromium/files/patch-base_process_launch__posix.cc (contents, props changed)
head/www/chromium/files/patch-base_process_process__handle.cc (contents, props changed)
head/www/chromium/files/patch-base_process_process__metrics.h (contents, props changed)
head/www/chromium/files/patch-base_process_process__metrics__freebsd.cc (contents, props changed)
head/www/chromium/files/patch-base_profiler_stack__copier__signal.cc (contents, props changed)
head/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc (contents, props changed)
head/www/chromium/files/patch-base_system_sys__info.h (contents, props changed)
head/www/chromium/files/patch-base_test_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-base_test_launcher_test__launcher.cc (contents, props changed)
head/www/chromium/files/patch-base_test_test__suite.cc (contents, props changed)
head/www/chromium/files/patch-base_trace__event_process__memory__dump.cc (contents, props changed)
head/www/chromium/files/patch-build_config_BUILDCONFIG.gn (contents, props changed)
head/www/chromium/files/patch-build_config_compiler_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-cc_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-cc_test_layer__tree__test.cc (contents, props changed)
head/www/chromium/files/patch-cc_trees_property__tree.cc (contents, props changed)
head/www/chromium/files/patch-chrome_app_chrome__main.cc (contents, props changed)
head/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc (contents, props changed)
head/www/chromium/files/patch-chrome_app_generated__resources.grd (contents, props changed)
head/www/chromium/files/patch-chrome_app_settings__strings.grdp (contents, props changed)
head/www/chromium/files/patch-chrome_browser_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-chrome_browser_about__flags.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_after__startup__task__utils.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_browser__resources.grd (contents, props changed)
head/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_chrome__browser__main__linux.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_chrome__browser__main__posix.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h (contents, props changed)
head/www/chromium/files/patch-chrome_browser_dev__ui__browser__resources.grd (contents, props changed)
head/www/chromium/files/patch-chrome_browser_device__identity_device__oauth2__token__service__factory.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_download_download__item__model.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_download_download__prefs.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_download_download__prefs.h (contents, props changed)
head/www/chromium/files/patch-chrome_browser_download_download__shelf__context__menu.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_extensions_browser__context__keyed__service__factories.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_flag__descriptions.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_flag__descriptions.h (contents, props changed)
head/www/chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__posix.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_media_router_providers_wired__display_wired__display__media__route__provider.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__event__log__uploader.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_memory__details.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_memory__details__linux.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_metrics_process__memory__metrics__emitter.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_net_system__network__context__manager.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_password__manager_password__store__factory.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_pdf_pdf__extension__test.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_prefs_browser__prefs.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_process__singleton__posix.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_profiles_profile__attributes__entry.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_sync_chrome__sync__client.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_sync_test_integration_single__client__wallet__sync__test.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_tracing_crash__service__uploader.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_browser__view__prefs.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_tab__helpers.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_test_test__browser__ui.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_views_bookmarks_bookmark__bar__view__test.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_views_download_download__item__view.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_webui_about__ui.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc (contents, props changed)
head/www/chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc (contents, props changed)
head/www/chromium/files/patch-chrome_common_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-chrome_common_chrome__features.cc (contents, props changed)
head/www/chromium/files/patch-chrome_common_chrome__features.h (contents, props changed)
head/www/chromium/files/patch-chrome_common_chrome__paths.cc (contents, props changed)
head/www/chromium/files/patch-chrome_common_chrome__paths.h (contents, props changed)
head/www/chromium/files/patch-chrome_common_chrome__switches.cc (contents, props changed)
head/www/chromium/files/patch-chrome_common_extensions_api_api__sources.gni (contents, props changed)
head/www/chromium/files/patch-chrome_common_features.gni (contents, props changed)
head/www/chromium/files/patch-chrome_common_media_cdm__host__file__path.cc (contents, props changed)
head/www/chromium/files/patch-chrome_common_pref__names.cc (contents, props changed)
head/www/chromium/files/patch-chrome_common_pref__names.h (contents, props changed)
head/www/chromium/files/patch-chrome_common_webui__url__constants.cc (contents, props changed)
head/www/chromium/files/patch-chrome_common_webui__url__constants.h (contents, props changed)
head/www/chromium/files/patch-chrome_renderer_chrome__content__renderer__client.cc (contents, props changed)
head/www/chromium/files/patch-chrome_test_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-chrome_test_base_chrome__test__launcher.cc (contents, props changed)
head/www/chromium/files/patch-chrome_test_base_interactive__ui__tests__main.cc (contents, props changed)
head/www/chromium/files/patch-chrome_test_base_testing__browser__process.h (contents, props changed)
head/www/chromium/files/patch-chrome_test_chromedriver_chrome__launcher.cc (contents, props changed)
head/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc (contents, props changed)
head/www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc (contents, props changed)
head/www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc (contents, props changed)
head/www/chromium/files/patch-chromecast_external__mojo_public_cpp_external__mojo__broker.cc (contents, props changed)
head/www/chromium/files/patch-chromecast_renderer_cast__content__renderer__client.cc (contents, props changed)
head/www/chromium/files/patch-components_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-components_autofill_content_renderer_password__form__conversion__utils.cc (contents, props changed)
head/www/chromium/files/patch-components_autofill_core_browser_autofill__external__delegate.cc (contents, props changed)
head/www/chromium/files/patch-components_autofill_core_browser_personal__data__manager.cc (contents, props changed)
head/www/chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc (contents, props changed)
head/www/chromium/files/patch-components_feature__engagement_public_event__constants.cc (contents, props changed)
head/www/chromium/files/patch-components_feature__engagement_public_event__constants.h (contents, props changed)
head/www/chromium/files/patch-components_feature__engagement_public_feature__constants.cc (contents, props changed)
head/www/chromium/files/patch-components_feature__engagement_public_feature__constants.h (contents, props changed)
head/www/chromium/files/patch-components_feature__engagement_public_feature__list.cc (contents, props changed)
head/www/chromium/files/patch-components_feature__engagement_public_feature__list.h (contents, props changed)
head/www/chromium/files/patch-components_flags__ui_flags__state.cc (contents, props changed)
head/www/chromium/files/patch-components_metrics_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-components_metrics_metrics__log.cc (contents, props changed)
head/www/chromium/files/patch-components_neterror_resources_neterror.js (contents, props changed)
head/www/chromium/files/patch-components_network__session__configurator_browser_network__session__configurator.cc (contents, props changed)
head/www/chromium/files/patch-components_policy_core_common_cloud_cloud__policy__util.cc (contents, props changed)
head/www/chromium/files/patch-components_policy_resources_policy__templates.json (contents, props changed)
head/www/chromium/files/patch-components_url__formatter_spoof__checks_idn__spoof__checker.cc (contents, props changed)
head/www/chromium/files/patch-components_viz_test_fake__output__surface.h (contents, props changed)
head/www/chromium/files/patch-content_app_content__main__runner__impl.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_browser__main__loop.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_compositor_viz__process__transport__factory.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_devtools_protocol_system__info__handler.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_utility__process__host.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_utility__process__host__receiver__bindings.cc (contents, props changed)
head/www/chromium/files/patch-content_browser_webui_shared__resources__data__source.cc (contents, props changed)
head/www/chromium/files/patch-content_common_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-content_gpu_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-content_gpu_gpu__main.cc (contents, props changed)
head/www/chromium/files/patch-content_gpu_gpu__sandbox__hook__linux.cc (contents, props changed)
head/www/chromium/files/patch-content_public_app_content__main__delegate.cc (contents, props changed)
head/www/chromium/files/patch-content_public_app_content__main__delegate.h (contents, props changed)
head/www/chromium/files/patch-content_public_common_common__param__traits__macros.h (contents, props changed)
head/www/chromium/files/patch-content_public_common_content__features.cc (contents, props changed)
head/www/chromium/files/patch-content_public_common_content__switches.cc (contents, props changed)
head/www/chromium/files/patch-content_public_common_content__switches.h (contents, props changed)
head/www/chromium/files/patch-content_public_test_browser__test__base.cc (contents, props changed)
head/www/chromium/files/patch-content_renderer_render__thread__impl.cc (contents, props changed)
head/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc (contents, props changed)
head/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.h (contents, props changed)
head/www/chromium/files/patch-content_shell_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-content_shell_browser_shell__browser__context.cc (contents, props changed)
head/www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc (contents, props changed)
head/www/chromium/files/patch-content_shell_browser_web__test_web__test__browser__main__runner.cc (contents, props changed)
head/www/chromium/files/patch-content_shell_renderer_web__test_test__runner.cc (contents, props changed)
head/www/chromium/files/patch-content_test_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-content_utility_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-extensions_common_api___permission__features.json (contents, props changed)
head/www/chromium/files/patch-extensions_shell_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-gpu_command__buffer_service_external__vk__image__backing.cc (contents, props changed)
head/www/chromium/files/patch-gpu_command__buffer_service_external__vk__image__backing.h (contents, props changed)
head/www/chromium/files/patch-gpu_command__buffer_service_external__vk__image__gl__representation.cc (contents, props changed)
head/www/chromium/files/patch-gpu_command__buffer_tests_gl__copy__texture__CHROMIUM__unittest.cc (contents, props changed)
head/www/chromium/files/patch-gpu_command__buffer_tests_gl__test__utils.cc (contents, props changed)
head/www/chromium/files/patch-gpu_config_gpu__control__list.cc (contents, props changed)
head/www/chromium/files/patch-gpu_ipc_service_gpu__init.cc (contents, props changed)
head/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc (contents, props changed)
head/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.h (contents, props changed)
head/www/chromium/files/patch-gpu_vulkan_vulkan__function__pointers.cc (contents, props changed)
head/www/chromium/files/patch-gpu_vulkan_vulkan__function__pointers.h (contents, props changed)
head/www/chromium/files/patch-headless_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-headless_lib_browser_headless__request__context__manager.cc (contents, props changed)
head/www/chromium/files/patch-headless_lib_headless__content__main__delegate.cc (contents, props changed)
head/www/chromium/files/patch-ipc_ipc__channel.h (contents, props changed)
head/www/chromium/files/patch-ipc_ipc__message__utils.cc (contents, props changed)
head/www/chromium/files/patch-media_audio_audio__input__device.cc (contents, props changed)
head/www/chromium/files/patch-media_base_media__switches.cc (contents, props changed)
head/www/chromium/files/patch-media_base_video__frame.cc (contents, props changed)
head/www/chromium/files/patch-media_base_video__frame.h (contents, props changed)
head/www/chromium/files/patch-media_capture_video_fake__video__capture__device__factory.cc (contents, props changed)
head/www/chromium/files/patch-media_formats_common_offset__byte__queue.cc (contents, props changed)
head/www/chromium/files/patch-media_media__options.gni (contents, props changed)
head/www/chromium/files/patch-media_video_fake__gpu__memory__buffer.cc (contents, props changed)
head/www/chromium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc (contents, props changed)
head/www/chromium/files/patch-mojo_public_c_system_thunks.cc (contents, props changed)
head/www/chromium/files/patch-net_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-net_base_address__tracker__linux.cc (contents, props changed)
head/www/chromium/files/patch-net_proxy__resolution_configured__proxy__resolution__service.cc (contents, props changed)
head/www/chromium/files/patch-net_socket_udp__socket__posix.h (contents, props changed)
head/www/chromium/files/patch-net_traffic__annotation_network__traffic__annotation.h (contents, props changed)
head/www/chromium/files/patch-net_url__request_url__request__context__builder.cc (contents, props changed)
head/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc (contents, props changed)
head/www/chromium/files/patch-remoting_host_evaluate__capability.cc (contents, props changed)
head/www/chromium/files/patch-sandbox_linux_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-services_network_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-services_network_network__context.cc (contents, props changed)
head/www/chromium/files/patch-services_network_network__service.cc (contents, props changed)
head/www/chromium/files/patch-services_network_network__service.h (contents, props changed)
head/www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h (contents, props changed)
head/www/chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__linux.cc (contents, props changed)
head/www/chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp (contents, props changed)
head/www/chromium/files/patch-third__party_angle_src_libANGLE_renderer_driver__utils.h (contents, props changed)
head/www/chromium/files/patch-third__party_angle_third__party_vulkan-loader_src_loader_loader.c (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_controller_blink__initializer.cc (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_core_exported_web__frame__test.cc (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_modules_mediastream_processed__local__audio__source.cc (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc (contents, props changed)
head/www/chromium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc (contents, props changed)
head/www/chromium/files/patch-third__party_crashpad_crashpad_client_crashpad__client__posix.cc (contents, props changed)
head/www/chromium/files/patch-third__party_crashpad_crashpad_util_misc_uuid.cc (contents, props changed)
head/www/chromium/files/patch-third__party_crashpad_crashpad_util_posix_close__multiple.cc (contents, props changed)
head/www/chromium/files/patch-third__party_crashpad_crashpad_util_posix_drop__privileges.cc (contents, props changed)
head/www/chromium/files/patch-third__party_crashpad_crashpad_util_posix_signals.cc (contents, props changed)
head/www/chromium/files/patch-third__party_googletest_src_googletest_include_gtest_internal_gtest-port.h (contents, props changed)
head/www/chromium/files/patch-third__party_googletest_src_googletest_src_gtest.cc (contents, props changed)
head/www/chromium/files/patch-third__party_leveldatabase_env__chromium.cc (contents, props changed)
head/www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp (contents, props changed)
head/www/chromium/files/patch-third__party_pdfium_fxjs_cjs__publicmethods.cpp (contents, props changed)
head/www/chromium/files/patch-third__party_pdfium_fxjs_fx__date__helpers.cpp (contents, props changed)
head/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_build__config.h (contents, props changed)
head/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_thread__utils.h (contents, props changed)
head/www/chromium/files/patch-third__party_perfetto_src_base_unix__socket.cc (contents, props changed)
head/www/chromium/files/patch-third__party_perfetto_src_tracing_core_tracing__service__impl.cc (contents, props changed)
head/www/chromium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc (contents, props changed)
head/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-ui_base_ime_init_input__method__initializer.cc (contents, props changed)
head/www/chromium/files/patch-ui_base_resource_resource__bundle.cc (contents, props changed)
head/www/chromium/files/patch-ui_base_ui__base__features.cc (contents, props changed)
head/www/chromium/files/patch-ui_base_webui_web__ui__util.cc (contents, props changed)
head/www/chromium/files/patch-ui_compositor_compositor.cc (contents, props changed)
head/www/chromium/files/patch-ui_compositor_compositor.h (contents, props changed)
head/www/chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc (contents, props changed)
head/www/chromium/files/patch-ui_gfx_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-ui_gfx_codec_jpeg__codec.cc (contents, props changed)
head/www/chromium/files/patch-ui_gfx_linux_client__native__pixmap__dmabuf.cc (contents, props changed)
head/www/chromium/files/patch-ui_gfx_native__widget__types.h (contents, props changed)
head/www/chromium/files/patch-ui_gfx_render__text.cc (contents, props changed)
head/www/chromium/files/patch-ui_gl_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-ui_gl_generate__bindings.py (contents, props changed)
head/www/chromium/files/patch-ui_views_bubble_bubble__dialog__delegate__view.cc (contents, props changed)
head/www/chromium/files/patch-ui_views_controls_label.cc (contents, props changed)
head/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc (contents, props changed)
head/www/chromium/files/patch-v8_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-v8_src_api_api.cc (contents, props changed)
head/www/chromium/files/patch-v8_src_base_cpu.cc (contents, props changed)
head/www/chromium/files/patch-weblayer_BUILD.gn (contents, props changed)
head/www/chromium/files/patch-weblayer_app_content__main__delegate__impl.cc (contents, props changed)
head/www/chromium/files/patch-weblayer_browser_browser__main__parts__impl.cc (contents, props changed)
head/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.cc (contents, props changed)
head/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.h (contents, props changed)
head/www/chromium/files/sndio_input.cc
head/www/chromium/pkg-plist (contents, props changed)
Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/Makefile Fri Oct 23 04:29:32 2020 (r553068)
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= chromium
-PORTVERSION= 84.0.4147.135
+PORTVERSION= 85.0.4183.121
CATEGORIES?= www java
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
- LOCAL/cpm/chromium/:fonts
+ LOCAL/rene/chromium/:fonts
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER?= chromium at FreeBSD.org
@@ -199,7 +199,7 @@ SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false
.include "Makefile.tests"
TEST_ALL_TARGET= ${TEST_TARGETS}
TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} \
- test_fonts${EXTRACT_SUFX}:fonts
+ test_fonts-85${EXTRACT_SUFX}:fonts
.include <bsd.port.options.mk>
@@ -237,6 +237,7 @@ post-extract-TEST-on:
@${MV} ${WRKDIR}/test_fonts ${WRKSRC}/third_party/test_fonts/
post-patch:
+ # XXX nop for www/chromium itself
@${REINPLACE_CMD} -e 's|@@PACKAGE@@|chromium|' \
-e 's|@@MENUNAME@@|Chromium Web Browser|' \
${WRKSRC}/chrome/app/resources/manpage.1.in
Modified: head/www/chromium/distinfo
==============================================================================
--- head/www/chromium/distinfo Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/distinfo Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,7 +1,7 @@
-TIMESTAMP = 1597780235
-SHA256 (chromium-84.0.4147.135.tar.xz) = dd41001596d0e17051ddcece3db6c0cdbe92fe23375d56fbcfba624a5f4996d8
-SIZE (chromium-84.0.4147.135.tar.xz) = 815136236
-SHA256 (chromium-84.0.4147.135-testdata.tar.xz) = cef39a11f7df8ff9655b9e70b9d774dc65cf6a15a726c048389eb87613d80ef2
-SIZE (chromium-84.0.4147.135-testdata.tar.xz) = 257190224
-SHA256 (test_fonts.tar.xz) = cf9cbe3b7f1c4c42d426bddc65ec178d333ad7e205a36fe0a606a3c0c545ece1
-SIZE (test_fonts.tar.xz) = 200040
+TIMESTAMP = 1603266707
+SHA256 (chromium-85.0.4183.121.tar.xz) = e018547e54566410fb365d9f3dae10037c30fca5debe6ba8baceef3ad3b03d28
+SIZE (chromium-85.0.4183.121.tar.xz) = 833194480
+SHA256 (chromium-85.0.4183.121-testdata.tar.xz) = 46735defc73e4f4836d9a36944cc18d258d826e57ac2d663d0fcb7281c17fea4
+SIZE (chromium-85.0.4183.121-testdata.tar.xz) = 256914468
+SHA256 (test_fonts-85.tar.xz) = f22b61b3639acb147c98ec2e2305d8b96f0b55c8c74c40e2ea696402fae8cef9
+SIZE (test_fonts-85.tar.xz) = 9511984
Modified: head/www/chromium/files/patch-BUILD.gn
==============================================================================
--- head/www/chromium/files/patch-BUILD.gn Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-BUILD.gn Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- BUILD.gn.orig 2020-07-07 21:58:11 UTC
+--- BUILD.gn.orig 2020-09-21 18:38:58 UTC
+++ BUILD.gn
-@@ -417,7 +417,7 @@ group("gn_all") {
+@@ -427,7 +427,7 @@ group("gn_all") {
]
}
@@ -9,7 +9,7 @@
deps += [
"//third_party/breakpad:breakpad_unittests",
"//third_party/breakpad:core-2-minidump",
-@@ -459,8 +459,6 @@ group("gn_all") {
+@@ -469,8 +469,6 @@ group("gn_all") {
"//net:disk_cache_memory_test",
"//net:quic_client",
"//net:quic_server",
@@ -18,7 +18,7 @@
"//testing:empty_main",
]
-@@ -515,10 +513,6 @@ group("gn_all") {
+@@ -525,10 +523,6 @@ group("gn_all") {
"//chrome/test:load_library_perf_tests",
"//chrome/test:sync_performance_tests",
"//chrome/test/chromedriver:chromedriver",
@@ -29,7 +29,7 @@
"//media/cast:generate_barcode_video",
"//media/cast:generate_timecode_audio",
"//net:crash_cache",
-@@ -578,10 +572,6 @@ group("gn_all") {
+@@ -588,10 +582,6 @@ group("gn_all") {
"//mojo:mojo_perftests",
"//services/service_manager/public/cpp",
"//testing/gmock:gmock_main",
@@ -40,7 +40,7 @@
]
if (!is_android) {
-@@ -655,7 +645,7 @@ group("gn_all") {
+@@ -665,7 +655,7 @@ group("gn_all") {
host_os == "win") {
deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
}
@@ -49,7 +49,7 @@
deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
}
-@@ -788,7 +778,6 @@ group("gn_all") {
+@@ -798,7 +788,6 @@ group("gn_all") {
"//chrome/browser/vr:vr_common_perftests",
"//chrome/browser/vr:vr_common_unittests",
"//chrome/browser/vr:vr_pixeltests",
@@ -57,7 +57,7 @@
]
if (is_desktop_linux && use_ozone) {
deps += [ "//chrome/browser/vr/testapp:vr_testapp" ]
-@@ -1074,7 +1063,7 @@ if (!is_ios) {
+@@ -1085,7 +1074,7 @@ if (!is_ios) {
]
}
@@ -66,7 +66,7 @@
data_deps +=
[ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
}
-@@ -1083,7 +1072,7 @@ if (!is_ios) {
+@@ -1094,7 +1083,7 @@ if (!is_ios) {
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
@@ -75,7 +75,7 @@
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
-@@ -1276,9 +1265,6 @@ group("chromium_builder_perf") {
+@@ -1292,9 +1281,6 @@ group("chromium_builder_perf") {
if (is_win) {
data_deps += [ "//chrome/installer/mini_installer:mini_installer" ]
Modified: head/www/chromium/files/patch-base_BUILD.gn
==============================================================================
--- head/www/chromium/files/patch-base_BUILD.gn Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_BUILD.gn Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- base/BUILD.gn.orig 2020-07-07 21:58:11 UTC
+--- base/BUILD.gn.orig 2020-09-08 19:13:57 UTC
+++ base/BUILD.gn
@@ -60,7 +60,7 @@ declare_args() {
# replacement base::Location::Current(). On by default in non-official builds
@@ -9,7 +9,7 @@
# Unsafe developer build. Has developer-friendly features that may weaken or
# disable security measures like sandboxing or ASLR.
-@@ -936,7 +936,7 @@ jumbo_component("base") {
+@@ -887,7 +887,7 @@ jumbo_component("base") {
"timer/hi_res_timer_manager_posix.cc",
]
@@ -18,12 +18,12 @@
sources += [
"profiler/stack_copier_signal.cc",
"profiler/stack_copier_signal.h",
-@@ -945,6 +945,12 @@ jumbo_component("base") {
+@@ -896,6 +896,12 @@ jumbo_component("base") {
"profiler/thread_delegate_posix.h",
]
}
+
-+ if (is_bsd) {
++ if (is_freebsd) {
+ sources += [
+ "profiler/stack_sampler_posix.cc",
+ ]
@@ -31,7 +31,7 @@
}
if (is_win) {
-@@ -1329,7 +1335,7 @@ jumbo_component("base") {
+@@ -1287,7 +1293,7 @@ jumbo_component("base") {
# Needed for <atomic> if using newer C++ library than sysroot, except if
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
@@ -40,20 +40,20 @@
host_toolchain != "//build/toolchain/cros:host") {
libs += [ "atomic" ]
}
-@@ -1355,7 +1361,7 @@ jumbo_component("base") {
+@@ -1313,7 +1319,7 @@ jumbo_component("base") {
"allocator/allocator_shim_override_glibc_weak_symbols.h",
]
deps += [ "//base/allocator:tcmalloc" ]
- } else if (is_linux && use_allocator == "none") {
+ } else if ((is_linux && !is_bsd) && use_allocator == "none") {
sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ]
- } else if (is_android && use_allocator == "none") {
- sources += [
-@@ -1952,6 +1958,33 @@ jumbo_component("base") {
+ } else if ((is_linux || is_android) && use_allocator == "partition") {
+ # Cannot use the same dispatching for host-side binaries.
+@@ -1925,6 +1931,33 @@ jumbo_component("base") {
}
}
-+ if (is_bsd) {
++ if (is_freebsd) {
+ sources -= [
+ "files/file_path_watcher_linux.cc",
+ "files/file_util_linux.cc",
@@ -83,7 +83,7 @@
# iOS
if (is_ios) {
sources -= [
-@@ -2946,7 +2979,7 @@ test("base_unittests") {
+@@ -3026,7 +3059,7 @@ test("base_unittests") {
"posix/unix_domain_socket_unittest.cc",
"task/thread_pool/task_tracker_posix_unittest.cc",
]
@@ -92,7 +92,7 @@
sources += [ "profiler/stack_copier_signal_unittest.cc" ]
}
}
-@@ -3154,6 +3187,12 @@ test("base_unittests") {
+@@ -3240,6 +3273,12 @@ test("base_unittests") {
manifest = "//build/config/fuchsia/tests.cmx"
}
Modified: head/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
==============================================================================
--- head/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2020-05-13 18:39:35 UTC
+--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2020-09-08 19:13:57 UTC
+++ base/allocator/partition_allocator/page_allocator_internals_posix.h
-@@ -22,7 +22,7 @@
+@@ -24,7 +24,7 @@
#if defined(OS_ANDROID)
#include <sys/prctl.h>
#endif
Added: head/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h Fri Oct 23 04:29:32 2020 (r553068)
@@ -0,0 +1,16 @@
+--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2020-10-22 20:49:28 UTC
++++ base/allocator/partition_allocator/partition_alloc_constants.h
+@@ -150,8 +150,13 @@ static_assert(alignof(std::max_align_t) <= 16,
+ //
+ // In practice, this means 8 bytes alignment on 32 bit architectures, and 16
+ // bytes on 64 bit ones.
++// On FreeBSD i386 alignof(std::max_align_t) is only 4.
++#if defined(__i386__) && defined(OS_FREEBSD)
++static const size_t kGenericMinBucketedOrder = 3;
++#else
+ static const size_t kGenericMinBucketedOrder =
+ alignof(std::max_align_t) == 16 ? 5 : 4; // 2^(order - 1), that is 16 or 8.
++#endif
+ // The largest bucketed order is 1 << (20 - 1), storing [512 KiB, 1 MiB):
+ static const size_t kGenericMaxBucketedOrder = 20;
+ static const size_t kGenericNumBucketedOrders =
Modified: head/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc
==============================================================================
--- head/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc_unittest.cc.orig 2020-07-07 21:58:11 UTC
+--- base/allocator/partition_allocator/partition_alloc_unittest.cc.orig 2020-09-08 19:13:57 UTC
+++ base/allocator/partition_allocator/partition_alloc_unittest.cc
-@@ -307,9 +307,13 @@ void FreeFullPage(PartitionRoot* root, PartitionRoot::
+@@ -313,9 +313,13 @@ void FreeFullPage(PartitionRoot<base::internal::Thread
}
}
Modified: head/www/chromium/files/patch-base_base__switches.cc
==============================================================================
--- head/www/chromium/files/patch-base_base__switches.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_base__switches.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- base/base_switches.cc.orig 2019-10-21 19:06:18 UTC
+--- base/base_switches.cc.orig 2020-09-08 19:13:57 UTC
+++ base/base_switches.cc
@@ -117,7 +117,7 @@ const char kDisableHighResTimer[] = "disable-highres-t
const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect";
@@ -9,8 +9,8 @@
// The /dev/shm partition is too small in certain VM environments, causing
// Chrome to fail or crash (see http://crbug.com/715363). Use this flag to
// work-around this issue (a temporary directory will always be used to create
-@@ -138,7 +138,7 @@ const char kEnableCrashReporterForTesting[] =
- const char kEnableReachedCodeProfiler[] = "enable-reached-code-profiler";
+@@ -142,7 +142,7 @@ const char kReachedCodeSamplingIntervalUs[] =
+ "reached-code-sampling-interval-us";
#endif
-#if defined(OS_LINUX)
Modified: head/www/chromium/files/patch-base_base__switches.h
==============================================================================
--- head/www/chromium/files/patch-base_base__switches.h Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_base__switches.h Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- base/base_switches.h.orig 2019-10-21 19:06:18 UTC
+--- base/base_switches.h.orig 2020-09-08 19:13:57 UTC
+++ base/base_switches.h
@@ -38,7 +38,7 @@ extern const char kDisableHighResTimer[];
extern const char kDisableUsbKeyboardDetect[];
@@ -9,7 +9,7 @@
extern const char kDisableDevShmUsage[];
#endif
-@@ -51,7 +51,7 @@ extern const char kEnableReachedCodeProfiler[];
+@@ -52,7 +52,7 @@ extern const char kReachedCodeSamplingIntervalUs[];
extern const char kOrderfileMemoryOptimization[];
#endif
Modified: head/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc
==============================================================================
--- head/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/files/file_path_watcher_unittest.cc.orig 2020-07-07 21:58:11 UTC
+--- base/files/file_path_watcher_unittest.cc.orig 2020-09-08 19:13:57 UTC
+++ base/files/file_path_watcher_unittest.cc
-@@ -424,7 +424,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) {
+@@ -425,7 +425,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) {
VLOG(1) << "Waiting for file1 creation";
ASSERT_TRUE(WaitForEvents());
@@ -9,7 +9,7 @@
// Mac implementation does not detect files modified in a directory.
ASSERT_TRUE(WriteFile(file1, "content v2"));
VLOG(1) << "Waiting for file1 modification";
-@@ -797,7 +797,7 @@ enum Permission {
+@@ -798,7 +798,7 @@ enum Permission {
Execute
};
@@ -18,7 +18,7 @@
bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) {
struct stat stat_buf;
-@@ -826,9 +826,9 @@ bool ChangeFilePermissions(const FilePath& path, Permi
+@@ -827,9 +827,9 @@ bool ChangeFilePermissions(const FilePath& path, Permi
}
return chmod(path.value().c_str(), stat_buf.st_mode) == 0;
}
@@ -30,7 +30,7 @@
// Linux implementation of FilePathWatcher doesn't catch attribute changes.
// http://crbug.com/78043
// Windows implementation of FilePathWatcher catches attribute changes that
-@@ -863,7 +863,7 @@ TEST_F(FilePathWatcherTest, DirAttributesChanged) {
+@@ -864,7 +864,7 @@ TEST_F(FilePathWatcherTest, DirAttributesChanged) {
ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true));
}
Modified: head/www/chromium/files/patch-base_files_file__util.h
==============================================================================
--- head/www/chromium/files/patch-base_files_file__util.h Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_files_file__util.h Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/files/file_util.h.orig 2020-07-07 21:58:11 UTC
+--- base/files/file_util.h.orig 2020-09-08 19:13:57 UTC
+++ base/files/file_util.h
-@@ -552,7 +552,7 @@ BASE_EXPORT bool VerifyPathControlledByAdmin(const bas
+@@ -582,7 +582,7 @@ BASE_EXPORT bool VerifyPathControlledByAdmin(const bas
// the directory |path|, in the number of FilePath::CharType, or -1 on failure.
BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path);
Modified: head/www/chromium/files/patch-base_files_file__util__posix.cc
==============================================================================
--- head/www/chromium/files/patch-base_files_file__util__posix.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_files_file__util__posix.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/files/file_util_posix.cc.orig 2020-02-03 21:52:37 UTC
+--- base/files/file_util_posix.cc.orig 2020-09-08 19:13:57 UTC
+++ base/files/file_util_posix.cc
-@@ -411,7 +411,7 @@ bool CreatePipe(ScopedFD* read_fd, ScopedFD* write_fd,
+@@ -415,7 +415,7 @@ bool CreatePipe(ScopedFD* read_fd, ScopedFD* write_fd,
}
bool CreateLocalNonBlockingPipe(int fds[2]) {
Modified: head/www/chromium/files/patch-base_files_file__util__unittest.cc
==============================================================================
--- head/www/chromium/files/patch-base_files_file__util__unittest.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_files_file__util__unittest.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/files/file_util_unittest.cc.orig 2020-07-07 21:58:11 UTC
+--- base/files/file_util_unittest.cc.orig 2020-09-08 19:13:57 UTC
+++ base/files/file_util_unittest.cc
-@@ -3465,7 +3465,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
+@@ -3501,7 +3501,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
}
#endif // defined(OS_WIN)
@@ -9,7 +9,7 @@
TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) {
FilePath file_path("/proc/cpuinfo");
std::string data = "temp";
-@@ -3483,7 +3483,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithProcFileSyste
+@@ -3519,7 +3519,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithProcFileSyste
EXPECT_FALSE(ReadFileToStringWithMaxSize(file_path, nullptr, 4));
}
Modified: head/www/chromium/files/patch-base_linux__util.cc
==============================================================================
--- head/www/chromium/files/patch-base_linux__util.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_linux__util.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,14 @@
---- base/linux_util.cc.orig 2020-05-13 18:39:35 UTC
+--- base/linux_util.cc.orig 2020-09-08 19:13:57 UTC
+++ base/linux_util.cc
-@@ -78,6 +78,9 @@ class DistroNameGetter {
+@@ -15,6 +15,7 @@
+
+ #include <iomanip>
+ #include <memory>
++#include <sstream>
+
+ #include "base/files/dir_reader_posix.h"
+ #include "base/files/file_util.h"
+@@ -78,6 +79,9 @@ class DistroNameGetter {
public:
DistroNameGetter() {
static const char* const kFilesToCheck[] = {"/etc/os-release",
@@ -10,3 +18,21 @@
"/usr/lib/os-release"};
for (const char* file : kFilesToCheck) {
if (ReadDistroFromOSReleaseFile(file))
+@@ -134,6 +138,9 @@ void SetLinuxDistro(const std::string& distro) {
+ }
+
+ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t>* tids) {
++#if defined(OS_BSD)
++ return false;
++#else
+ // 25 > strlen("/proc//task") + strlen(std::to_string(INT_MAX)) + 1 = 22
+ char buf[25];
+ strings::SafeSPrintf(buf, "/proc/%d/task", pid);
+@@ -153,6 +160,7 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t
+ }
+
+ return true;
++#endif
+ }
+
+ pid_t FindThreadIDWithSyscall(pid_t pid, const std::string& expected_data,
Modified: head/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
==============================================================================
--- head/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/memory/madv_free_discardable_memory_posix.cc.orig 2020-03-16 18:39:41 UTC
+--- base/memory/madv_free_discardable_memory_posix.cc.orig 2020-09-08 19:13:57 UTC
+++ base/memory/madv_free_discardable_memory_posix.cc
-@@ -282,7 +282,7 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
+@@ -292,7 +292,7 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
bool MadvFreeDiscardableMemoryPosix::IsResident() const {
DFAKE_SCOPED_RECURSIVE_LOCK(thread_collision_warner_);
Modified: head/www/chromium/files/patch-base_posix_unix__domain__socket.cc
==============================================================================
--- head/www/chromium/files/patch-base_posix_unix__domain__socket.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_posix_unix__domain__socket.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- base/posix/unix_domain_socket.cc.orig 2019-03-11 22:00:51 UTC
+--- base/posix/unix_domain_socket.cc.orig 2020-09-08 19:13:57 UTC
+++ base/posix/unix_domain_socket.cc
@@ -5,7 +5,10 @@
#include "base/posix/unix_domain_socket.h"
@@ -11,7 +11,7 @@
#if !defined(OS_NACL_NONSFI)
#include <sys/un.h>
#endif
-@@ -28,6 +31,14 @@ namespace base {
+@@ -29,6 +32,14 @@ namespace base {
const size_t UnixDomainSocket::kMaxFileDescriptors = 16;
@@ -26,7 +26,7 @@
#if !defined(OS_NACL_NONSFI)
bool CreateSocketPair(ScopedFD* one, ScopedFD* two) {
int raw_socks[2];
-@@ -150,7 +161,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -151,7 +162,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
#if !defined(OS_NACL_NONSFI) && !defined(OS_MACOSX)
// The PNaCl toolchain for Non-SFI binary build and macOS do not support
// ucred. macOS supports xucred, but this structure is insufficient.
@@ -35,7 +35,7 @@
#endif // OS_NACL_NONSFI or OS_MACOSX
;
char control_buffer[kControlBufferSize];
-@@ -180,9 +191,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -181,9 +192,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
// SCM_CREDENTIALS.
if (cmsg->cmsg_level == SOL_SOCKET &&
cmsg->cmsg_type == SCM_CREDENTIALS) {
Modified: head/www/chromium/files/patch-base_process_internal__linux.cc
==============================================================================
--- head/www/chromium/files/patch-base_process_internal__linux.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_process_internal__linux.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/process/internal_linux.cc.orig 2020-03-16 18:39:41 UTC
+--- base/process/internal_linux.cc.orig 2020-09-08 19:13:57 UTC
+++ base/process/internal_linux.cc
-@@ -29,7 +29,11 @@ namespace internal {
+@@ -30,7 +30,11 @@ namespace internal {
const char kProcDir[] = "/proc";
@@ -12,7 +12,7 @@
FilePath GetProcPidDir(pid_t pid) {
return FilePath(kProcDir).Append(NumberToString(pid));
-@@ -64,6 +68,7 @@ bool ReadProcFile(const FilePath& file, std::string* b
+@@ -66,6 +70,7 @@ bool ReadProcFile(const FilePath& file, std::string* b
DLOG(WARNING) << "Failed to read " << file.MaybeAsASCII();
return false;
}
@@ -20,7 +20,7 @@
return !buffer->empty();
}
-@@ -79,6 +84,22 @@ bool ParseProcStats(const std::string& stats_data,
+@@ -81,6 +86,22 @@ bool ParseProcStats(const std::string& stats_data,
if (stats_data.empty())
return false;
@@ -43,7 +43,7 @@
// The stat file is formatted as:
// pid (process name) data1 data2 .... dataN
// Look for the closing paren by scanning backwards, to avoid being fooled by
-@@ -108,6 +129,7 @@ bool ParseProcStats(const std::string& stats_data,
+@@ -110,6 +131,7 @@ bool ParseProcStats(const std::string& stats_data,
base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
for (const auto& i : other_stats)
proc_stats->push_back(i);
@@ -51,7 +51,7 @@
return true;
}
-@@ -155,7 +177,11 @@ int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, Pro
+@@ -157,7 +179,11 @@ int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, Pro
}
int64_t ReadProcSelfStatsAndGetFieldAsInt64(ProcStatsFields field_num) {
@@ -63,7 +63,7 @@
return ReadStatFileAndGetFieldAsInt64(stat_file, field_num);
}
-@@ -171,6 +197,9 @@ size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid,
+@@ -173,6 +199,9 @@ size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid,
}
Time GetBootTime() {
@@ -73,7 +73,7 @@
FilePath path("/proc/stat");
std::string contents;
if (!ReadProcFile(path, &contents))
-@@ -184,9 +213,13 @@ Time GetBootTime() {
+@@ -186,9 +215,13 @@ Time GetBootTime() {
if (!StringToInt(btime_it->second, &btime))
return Time();
return Time::FromTimeT(btime);
@@ -87,7 +87,7 @@
FilePath path("/proc/stat");
std::string contents;
if (!ReadProcFile(path, &contents))
-@@ -210,6 +243,7 @@ TimeDelta GetUserCpuTimeSinceBoot() {
+@@ -212,6 +245,7 @@ TimeDelta GetUserCpuTimeSinceBoot() {
return TimeDelta();
return ClockTicksToTimeDelta(user + nice);
Modified: head/www/chromium/files/patch-base_process_internal__linux.h
==============================================================================
--- head/www/chromium/files/patch-base_process_internal__linux.h Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_process_internal__linux.h Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- base/process/internal_linux.h.orig 2020-03-16 18:39:41 UTC
+--- base/process/internal_linux.h.orig 2020-09-08 19:13:57 UTC
+++ base/process/internal_linux.h
@@ -14,6 +14,8 @@
@@ -9,7 +9,7 @@
namespace base {
class Time;
-@@ -50,6 +52,14 @@ bool ParseProcStats(const std::string& stats_data,
+@@ -55,6 +57,14 @@ bool ParseProcStats(const std::string& stats_data,
// If the ordering ever changes, carefully review functions that use these
// values.
enum ProcStatsFields {
@@ -24,7 +24,7 @@
VM_COMM = 1, // Filename of executable, without parentheses.
VM_STATE = 2, // Letter indicating the state of the process.
VM_PPID = 3, // PID of the parent.
-@@ -62,6 +72,7 @@ enum ProcStatsFields {
+@@ -67,6 +77,7 @@ enum ProcStatsFields {
VM_STARTTIME = 21, // The time the process started in clock ticks.
VM_VSIZE = 22, // Virtual memory size in bytes.
VM_RSS = 23, // Resident Set Size in pages.
Modified: head/www/chromium/files/patch-base_process_launch__posix.cc
==============================================================================
--- head/www/chromium/files/patch-base_process_launch__posix.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_process_launch__posix.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- base/process/launch_posix.cc.orig 2019-06-04 18:55:15 UTC
+--- base/process/launch_posix.cc.orig 2020-09-08 19:13:57 UTC
+++ base/process/launch_posix.cc
@@ -65,6 +65,7 @@
#error "macOS should use launch_mac.cc"
@@ -8,3 +8,32 @@
extern char** environ;
namespace base {
+@@ -228,6 +229,28 @@
+ DirReaderPosix fd_dir(kFDDir);
+ if (!fd_dir.IsValid()) {
+ // Fallback case: Try every possible fd.
++
++#if defined(OS_FREEBSD)
++ // CEM: blast away most of the range with closefrom(). A common use case
++ // of this function only maps STDIN/STDOUT/STDERR and closefrom(3) is much
++ // cheaper than x00,000 close(2) invocations with a high RLIMIT_NOFILE.
++ //
++ // In the other caller, it is still very likely that the fds we care about
++ // are in relatively low number space and we can save hundreds of thousands
++ // of syscalls.
++ int max_valid_fd = -1;
++ for (size_t j = 0; j < saved_mapping.size(); j++) {
++ int fd = saved_mapping[j].dest;
++ if (fd > max_valid_fd)
++ max_valid_fd = fd;
++ }
++ if (max_valid_fd < STDERR_FILENO)
++ max_valid_fd = STDERR_FILENO;
++
++ closefrom(max_valid_fd + 1);
++ max_fds = static_cast<size_t>(max_valid_fd) + 1;
++#endif
++
+ for (size_t i = 0; i < max_fds; ++i) {
+ const int fd = static_cast<int>(i);
+ if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO)
Modified: head/www/chromium/files/patch-base_process_process__handle.cc
==============================================================================
--- head/www/chromium/files/patch-base_process_process__handle.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_process_process__handle.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/process/process_handle.cc.orig 2019-10-21 19:06:18 UTC
+--- base/process/process_handle.cc.orig 2020-09-08 19:13:57 UTC
+++ base/process/process_handle.cc
-@@ -28,7 +28,7 @@ UniqueProcId GetUniqueIdForProcess() {
+@@ -30,7 +30,7 @@ UniqueProcId GetUniqueIdForProcess() {
: UniqueProcId(GetCurrentProcId());
}
Modified: head/www/chromium/files/patch-base_process_process__metrics.h
==============================================================================
--- head/www/chromium/files/patch-base_process_process__metrics.h Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_process_process__metrics.h Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/process/process_metrics.h.orig 2019-10-21 19:06:18 UTC
+--- base/process/process_metrics.h.orig 2020-09-08 19:13:57 UTC
+++ base/process/process_metrics.h
-@@ -41,7 +41,7 @@ namespace base {
+@@ -44,7 +44,7 @@ namespace base {
// Full declaration is in process_metrics_iocounters.h.
struct IoCounters;
@@ -9,7 +9,7 @@
// Minor and major page fault counts since the process creation.
// Both counts are process-wide, and exclude child processes.
//
-@@ -51,7 +51,7 @@ struct PageFaultCounts {
+@@ -54,7 +54,7 @@ struct PageFaultCounts {
int64_t minor;
int64_t major;
};
@@ -18,7 +18,7 @@
// Convert a POSIX timeval to microseconds.
BASE_EXPORT int64_t TimeValToMicroseconds(const struct timeval& tv);
-@@ -92,7 +92,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -95,7 +95,7 @@ class BASE_EXPORT ProcessMetrics {
// convenience wrapper for CreateProcessMetrics().
static std::unique_ptr<ProcessMetrics> CreateCurrentProcessMetrics();
@@ -27,7 +27,7 @@
// Resident Set Size is a Linux/Android specific memory concept. Do not
// attempt to extend this to other platforms.
BASE_EXPORT size_t GetResidentSetSize() const;
-@@ -172,14 +172,14 @@ class BASE_EXPORT ProcessMetrics {
+@@ -186,14 +186,14 @@ class BASE_EXPORT ProcessMetrics {
int GetOpenFdSoftLimit() const;
#endif // defined(OS_POSIX)
@@ -44,7 +44,7 @@
// Returns total memory usage of malloc.
size_t GetMallocUsage();
-@@ -191,7 +191,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -205,7 +205,7 @@ class BASE_EXPORT ProcessMetrics {
ProcessMetrics(ProcessHandle process, PortProvider* port_provider);
#endif // !defined(OS_MACOSX) || defined(OS_IOS)
@@ -53,7 +53,7 @@
int CalculateIdleWakeupsPerSecond(uint64_t absolute_idle_wakeups);
#endif
#if defined(OS_MACOSX)
-@@ -220,7 +220,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -234,7 +234,7 @@ class BASE_EXPORT ProcessMetrics {
// Number of bytes transferred to/from disk in bytes.
uint64_t last_cumulative_disk_usage_ = 0;
@@ -62,7 +62,7 @@
// Same thing for idle wakeups.
TimeTicks last_idle_wakeups_time_;
uint64_t last_absolute_idle_wakeups_;
-@@ -271,7 +271,7 @@ BASE_EXPORT size_t GetHandleLimit();
+@@ -285,7 +285,7 @@ BASE_EXPORT size_t GetHandleLimit();
BASE_EXPORT void IncreaseFdLimitTo(unsigned int max_descriptors);
#endif // defined(OS_POSIX)
@@ -71,7 +71,7 @@
defined(OS_ANDROID) || defined(OS_AIX) || defined(OS_FUCHSIA)
// Data about system-wide memory consumption. Values are in KB. Available on
// Windows, Mac, Linux, Android and Chrome OS.
-@@ -305,7 +305,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -319,7 +319,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
int avail_phys = 0;
#endif
@@ -80,7 +80,7 @@
// This provides an estimate of available memory as described here:
// https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
// NOTE: this is ONLY valid in kernels 3.14 and up. Its value will always
-@@ -319,7 +319,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -333,7 +333,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
int swap_free = 0;
#endif
@@ -89,7 +89,7 @@
defined(OS_FUCHSIA)
int buffers = 0;
int cached = 0;
-@@ -329,7 +329,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -343,7 +343,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
int inactive_file = 0;
int dirty = 0;
int reclaimable = 0;
@@ -98,7 +98,7 @@
// defined(OS_FUCHSIA)
#if defined(OS_CHROMEOS)
-@@ -355,10 +355,10 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -369,10 +369,10 @@ struct BASE_EXPORT SystemMemoryInfoKB {
// Exposed for memory debugging widget.
BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo);
@@ -111,7 +111,7 @@
// Parse the data found in /proc/<pid>/stat and return the sum of the
// CPU-related ticks. Returns -1 on parse error.
// Exposed for testing.
-@@ -431,7 +431,7 @@ BASE_EXPORT bool GetSystemDiskInfo(SystemDiskInfo* dis
+@@ -445,7 +445,7 @@ BASE_EXPORT bool GetSystemDiskInfo(SystemDiskInfo* dis
// Returns the amount of time spent in user space since boot across all CPUs.
BASE_EXPORT TimeDelta GetUserCpuTimeSinceBoot();
@@ -120,7 +120,7 @@
#if defined(OS_CHROMEOS)
// Data from files in directory /sys/block/zram0 about ZRAM usage.
-@@ -526,7 +526,7 @@ class BASE_EXPORT SystemMetrics {
+@@ -540,7 +540,7 @@ class BASE_EXPORT SystemMetrics {
FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics);
size_t committed_memory_;
Modified: head/www/chromium/files/patch-base_process_process__metrics__freebsd.cc
==============================================================================
--- head/www/chromium/files/patch-base_process_process__metrics__freebsd.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_process_process__metrics__freebsd.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,14 +1,17 @@
---- base/process/process_metrics_freebsd.cc.orig 2019-07-24 18:58:02 UTC
+--- base/process/process_metrics_freebsd.cc.orig 2020-09-08 19:13:57 UTC
+++ base/process/process_metrics_freebsd.cc
-@@ -5,6 +5,7 @@
+@@ -3,8 +3,10 @@
+ // found in the LICENSE file.
+
#include "base/process/process_metrics.h"
++#include "base/notreached.h"
#include <stddef.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/user.h>
#include <unistd.h>
-@@ -14,11 +15,29 @@
+@@ -14,11 +16,29 @@
#include "base/process/process_metrics_iocounters.h"
#include "base/stl_util.h"
@@ -40,7 +43,7 @@
// static
std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics(
-@@ -69,4 +88,216 @@ size_t GetSystemCommitCharge() {
+@@ -74,4 +94,216 @@ size_t GetSystemCommitCharge() {
return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize);
}
Modified: head/www/chromium/files/patch-base_profiler_stack__copier__signal.cc
==============================================================================
--- head/www/chromium/files/patch-base_profiler_stack__copier__signal.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_profiler_stack__copier__signal.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- base/profiler/stack_copier_signal.cc.orig 2020-05-13 18:40:16 UTC
+--- base/profiler/stack_copier_signal.cc.orig 2020-09-08 19:13:57 UTC
+++ base/profiler/stack_copier_signal.cc
@@ -4,7 +4,14 @@
@@ -15,7 +15,7 @@
#include <signal.h>
#include <sys/ucontext.h>
#include <syscall.h>
-@@ -33,8 +40,13 @@ class AsyncSafeWaitableEvent {
+@@ -34,8 +41,13 @@ class AsyncSafeWaitableEvent {
// for a pthread mutex. So, also check the condition.
while (true) {
int res =
@@ -29,7 +29,7 @@
if (futex_.load(std::memory_order_acquire) != 0)
return true;
if (res != 0)
-@@ -44,8 +56,12 @@ class AsyncSafeWaitableEvent {
+@@ -45,8 +57,12 @@ class AsyncSafeWaitableEvent {
void Signal() {
futex_.store(1, std::memory_order_release);
@@ -42,7 +42,7 @@
}
private:
-@@ -215,11 +231,18 @@ bool StackCopierSignal::CopyStack(StackBuffer* stack_b
+@@ -216,11 +232,18 @@ bool StackCopierSignal::CopyStack(StackBuffer* stack_b
if (!scoped_sigaction.succeeded())
return false;
Modified: head/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc
==============================================================================
--- head/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/profiler/stack_sampling_profiler_test_util.cc.orig 2020-07-13 13:09:53 UTC
+--- base/profiler/stack_sampling_profiler_test_util.cc.orig 2020-09-08 19:13:57 UTC
+++ base/profiler/stack_sampling_profiler_test_util.cc
-@@ -23,7 +23,7 @@
+@@ -30,7 +30,7 @@
// Fortunately, it provides _alloca, which functions identically.
#include <malloc.h>
#define alloca _alloca
Modified: head/www/chromium/files/patch-base_system_sys__info.h
==============================================================================
--- head/www/chromium/files/patch-base_system_sys__info.h Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_system_sys__info.h Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/system/sys_info.h.orig 2020-05-13 18:39:35 UTC
+--- base/system/sys_info.h.orig 2020-09-08 19:13:57 UTC
+++ base/system/sys_info.h
-@@ -197,6 +197,8 @@ class BASE_EXPORT SysInfo {
+@@ -201,6 +201,8 @@ class BASE_EXPORT SysInfo {
// On Desktop this returns true when memory <= 512MB.
static bool IsLowEndDevice();
@@ -9,7 +9,7 @@
private:
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
FRIEND_TEST_ALL_PREFIXES(debug::SystemMetricsTest, ParseMeminfo);
-@@ -206,7 +208,7 @@ class BASE_EXPORT SysInfo {
+@@ -210,7 +212,7 @@ class BASE_EXPORT SysInfo {
static bool IsLowEndDeviceImpl();
static HardwareInfo GetHardwareInfoSync();
Modified: head/www/chromium/files/patch-base_test_BUILD.gn
==============================================================================
--- head/www/chromium/files/patch-base_test_BUILD.gn Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_test_BUILD.gn Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/test/BUILD.gn.orig 2020-07-13 15:42:25 UTC
+--- base/test/BUILD.gn.orig 2020-09-08 19:13:57 UTC
+++ base/test/BUILD.gn
-@@ -408,7 +408,11 @@ if (is_linux) {
+@@ -418,7 +418,11 @@ if (is_linux) {
copy("fonts_conf") {
sources = [ "fonts.conf" ]
Modified: head/www/chromium/files/patch-base_test_launcher_test__launcher.cc
==============================================================================
--- head/www/chromium/files/patch-base_test_launcher_test__launcher.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_test_launcher_test__launcher.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/test/launcher/test_launcher.cc.orig 2020-07-07 21:58:11 UTC
+--- base/test/launcher/test_launcher.cc.orig 2020-09-08 19:13:57 UTC
+++ base/test/launcher/test_launcher.cc
-@@ -55,6 +55,7 @@
+@@ -56,6 +56,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#if defined(OS_POSIX)
@@ -8,7 +8,7 @@
#include <fcntl.h>
#include "base/files/file_descriptor_watcher_posix.h"
-@@ -557,7 +558,7 @@ ChildProcessResults DoLaunchChildTestProcess(
+@@ -582,7 +583,7 @@ ChildProcessResults DoLaunchChildTestProcess(
#if !defined(OS_FUCHSIA)
options.new_process_group = true;
#endif
Modified: head/www/chromium/files/patch-base_test_test__suite.cc
==============================================================================
--- head/www/chromium/files/patch-base_test_test__suite.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_test_test__suite.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/test/test_suite.cc.orig 2020-05-13 18:39:35 UTC
+--- base/test/test_suite.cc.orig 2020-09-08 19:13:57 UTC
+++ base/test/test_suite.cc
-@@ -69,7 +69,7 @@
+@@ -70,7 +70,7 @@
#include "base/test/test_support_ios.h"
#endif
@@ -9,7 +9,7 @@
#include "base/test/fontconfig_util_linux.h"
#endif
-@@ -385,14 +385,14 @@ void TestSuite::PreInitialize() {
+@@ -386,14 +386,14 @@ void TestSuite::PreInitialize() {
testing::GTEST_FLAG(catch_exceptions) = false;
#endif
EnableTerminationOnHeapCorruption();
@@ -26,7 +26,7 @@
// On Android, AtExitManager is created in
// testing/android/native_test_wrapper.cc before main() is called.
-@@ -623,7 +623,7 @@ void TestSuite::Initialize() {
+@@ -634,7 +634,7 @@ void TestSuite::Initialize() {
// TODO(jshin): Should we set the locale via an OS X locale API here?
i18n::SetICUDefaultLocale("en_US");
Modified: head/www/chromium/files/patch-base_trace__event_process__memory__dump.cc
==============================================================================
--- head/www/chromium/files/patch-base_trace__event_process__memory__dump.cc Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-base_trace__event_process__memory__dump.cc Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- base/trace_event/process_memory_dump.cc.orig 2019-03-11 22:00:51 UTC
+--- base/trace_event/process_memory_dump.cc.orig 2020-09-08 19:13:57 UTC
+++ base/trace_event/process_memory_dump.cc
-@@ -94,7 +94,7 @@ size_t ProcessMemoryDump::CountResidentBytes(void* sta
+@@ -95,7 +95,7 @@ size_t ProcessMemoryDump::CountResidentBytes(void* sta
#if defined(OS_WIN)
std::unique_ptr<PSAPI_WORKING_SET_EX_INFORMATION[]> vec(
new PSAPI_WORKING_SET_EX_INFORMATION[max_vec_size]);
Modified: head/www/chromium/files/patch-build_config_BUILDCONFIG.gn
==============================================================================
--- head/www/chromium/files/patch-build_config_BUILDCONFIG.gn Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-build_config_BUILDCONFIG.gn Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,4 +1,4 @@
---- build/config/BUILDCONFIG.gn.orig 2019-06-04 18:55:15 UTC
+--- build/config/BUILDCONFIG.gn.orig 2020-09-21 18:39:01 UTC
+++ build/config/BUILDCONFIG.gn
@@ -131,10 +131,10 @@ declare_args() {
is_official_build = false
@@ -33,8 +33,13 @@
# See comments in build/toolchain/cros/BUILD.gn about board compiles.
if (is_clang) {
_default_toolchain = "//build/toolchain/linux:clang_$target_cpu"
-@@ -288,10 +288,11 @@ is_android = current_os == "android"
+@@ -285,10 +285,12 @@ if (custom_toolchain != "") {
+ # current_os value directly.
+
+ is_android = current_os == "android"
++is_bsd = current_os == "freebsd" || current_os == "netbsd" || current_os == "openbsd"
is_chromeos = current_os == "chromeos"
++is_freebsd = current_os == "freebsd"
is_fuchsia = current_os == "fuchsia"
is_ios = current_os == "ios"
-is_linux = current_os == "chromeos" || current_os == "linux"
@@ -42,7 +47,3 @@
is_mac = current_os == "mac"
is_nacl = current_os == "nacl"
is_win = current_os == "win" || current_os == "winuwp"
-+is_bsd = current_os == "freebsd"
-
- is_posix = !is_win && !is_fuchsia
-
Modified: head/www/chromium/files/patch-build_config_compiler_BUILD.gn
==============================================================================
--- head/www/chromium/files/patch-build_config_compiler_BUILD.gn Fri Oct 23 04:07:34 2020 (r553067)
+++ head/www/chromium/files/patch-build_config_compiler_BUILD.gn Fri Oct 23 04:29:32 2020 (r553068)
@@ -1,6 +1,6 @@
---- build/config/compiler/BUILD.gn.orig 2020-07-07 21:58:11 UTC
+--- build/config/compiler/BUILD.gn.orig 2020-09-08 19:13:57 UTC
+++ build/config/compiler/BUILD.gn
-@@ -133,7 +133,7 @@ declare_args() {
+@@ -130,7 +130,7 @@ declare_args() {
# 'is_android' breaks content_shell_test_apk on android-kitkat-arm-rel.
# 'use_xcode_clang' may call old clang.
init_stack_vars =
@@ -9,7 +9,7 @@
# This argument is to control whether enabling text section splitting in the
# final binary. When enabled, the separated text sections with prefix
-@@ -287,7 +287,7 @@ config("compiler") {
+@@ -293,7 +293,7 @@ config("compiler") {
}
# Linker warnings.
@@ -18,7 +18,7 @@
ldflags += [ "-Wl,--fatal-warnings" ]
}
if (fatal_linker_warnings && (is_mac || is_ios)) {
-@@ -381,7 +381,7 @@ config("compiler") {
+@@ -389,7 +389,7 @@ config("compiler") {
# Compiler instrumentation can introduce dependencies in DSOs to symbols in
# the executable they are loaded into, so they are unresolved at link-time.
@@ -27,7 +27,7 @@
ldflags += [
"-Wl,-z,defs",
"-Wl,--as-needed",
-@@ -472,7 +472,7 @@ config("compiler") {
+@@ -480,7 +480,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
@@ -36,7 +36,7 @@
cflags += [ "-fcrash-diagnostics-dir=" +
rebase_path("//tools/clang/crashreports", root_build_dir) ]
-@@ -735,7 +735,7 @@ config("compiler_cpu_abi") {
+@@ -760,7 +760,7 @@ config("compiler_cpu_abi") {
cflags += [ "-mtune=$arm_tune" ]
}
} else if (current_cpu == "arm64") {
@@ -45,7 +45,7 @@
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
}
-@@ -1085,7 +1085,7 @@ config("compiler_deterministic") {
+@@ -1110,7 +1110,7 @@ config("compiler_deterministic") {
"-Xclang",
".",
]
@@ -54,8 +54,8 @@
# We don't use clang -cc1as on Windows (yet? https://crbug.com/762167)
asmflags = [ "-Wa,-fdebug-compilation-dir,." ]
}
-@@ -1476,7 +1476,7 @@ config("default_warnings") {
- cflags += [ "-Wno-max-tokens" ]
+@@ -1493,7 +1493,7 @@ config("default_warnings") {
+ cflags += [ "-Wno-nonportable-include-path" ]
}
- if (current_toolchain == host_toolchain || !use_xcode_clang) {
@@ -63,7 +63,7 @@
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-ports-all
mailing list