From acb795dbcabdf3d26fb9f8255c6aff527bb59aaf Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Wed, 24 Mar 2021 20:52:00 +0100 Subject: [PATCH 1/6] WIP: Upgrade to v89.0.4389.90 - debug build works --- www/chromium/Makefile | 37 ++- www/chromium/distinfo | 10 +- www/chromium/files/audio_manager_openbsd.cc | 8 +- ...ra-patch-build_config_compiler_pgo_pgo.gni | 14 +- ...ocator_page__allocator__internals__posix.h | 2 +- www/chromium/files/patch-BUILD.gn | 22 +- ...apps_app__restore__service__browsertest.cc | 2 +- ...-apps_ui_views_app__window__frame__view.cc | 4 +- ...-ash_display_mirror__window__controller.cc | 2 +- www/chromium/files/patch-base_BUILD.gn | 44 +-- .../files/patch-base_allocator_allocator.gni | 11 + ...tor__shim__default__dispatch__to__glibc.cc | 2 +- ...allocator__shim__override__libc__symbols.h | 2 +- ...ase_allocator_allocator__shim__unittest.cc | 12 +- ...ition__allocator_address__pool__manager.cc | 31 ++ ...ocator_page__allocator__internals__posix.h | 51 +++- ...r_partition__allocator_partition__alloc.cc | 17 +- ...n__allocator_partition__alloc__unittest.cc | 38 ++- ..._partition__allocator_partition__bucket.cc | 36 +++ ...or_partition__allocator_spinning__mutex.cc | 49 ++++ ...tor_partition__allocator_spinning__mutex.h | 33 +++ .../files/patch-base_base__switches.cc | 16 +- .../files/patch-base_base__switches.h | 16 +- www/chromium/files/patch-base_cpu.cc | 20 +- www/chromium/files/patch-base_cpu.h | 6 +- .../files/patch-base_debug_debugger__posix.cc | 2 +- .../files/patch-base_debug_elf__reader.cc | 2 +- .../patch-base_debug_proc__maps__linux.cc | 26 +- .../files/patch-base_debug_stack__trace.cc | 2 +- .../files/patch-base_debug_stack__trace.h | 2 +- .../patch-base_debug_stack__trace__posix.cc | 26 +- ...patch-base_debug_stack__trace__unittest.cc | 11 +- .../patch-base_files_file__path__unittest.cc | 2 +- ...base_files_file__path__watcher__freebsd.cc | 64 +++++ ...h-base_files_file__path__watcher__kqueue.h | 2 +- ...ch-base_files_file__path__watcher__stub.cc | 53 ---- ...ase_files_file__path__watcher__unittest.cc | 21 +- .../files/patch-base_files_file__util.h | 6 +- .../patch-base_files_file__util__posix.cc | 32 ++- .../patch-base_files_file__util__unittest.cc | 2 +- .../files/patch-base_files_scoped__file.cc | 2 +- .../files/patch-base_i18n_icu__util.cc | 2 +- www/chromium/files/patch-base_linux__util.cc | 8 +- .../files/patch-base_location__unittest.cc | 2 +- .../files/patch-base_logging__unittest.cc | 6 +- .../patch-base_memory_discardable__memory.cc | 2 +- ...ase_memory_discardable__memory__internal.h | 2 +- ..._madv__free__discardable__memory__posix.cc | 2 +- ..._memory_platform__shared__memory__region.h | 2 +- ...platform__shared__memory__region__posix.cc | 88 +++++- ...memory_shared__memory__region__unittest.cc | 2 +- ...-base_message__loop_message__pump__glib.cc | 2 +- .../patch-base_native__library__posix.cc | 2 +- .../patch-base_native__library__unittest.cc | 2 +- ...h-base_numerics_safe__math__shared__impl.h | 2 +- .../patch-base_path__service__unittest.cc | 2 +- .../patch-base_posix_can__lower__nice__to.cc | 2 +- .../patch-base_posix_unix__domain__socket.cc | 2 +- ...se_posix_unix__domain__socket__unittest.cc | 2 +- .../patch-base_process_internal__linux.cc | 2 +- .../patch-base_process_internal__linux.h | 2 +- www/chromium/files/patch-base_process_kill.h | 2 +- .../files/patch-base_process_kill__posix.cc | 2 +- .../files/patch-base_process_launch.cc | 2 +- .../files/patch-base_process_launch.h | 8 +- .../files/patch-base_process_launch__posix.cc | 47 +++- .../files/patch-base_process_memory.cc | 2 +- .../files/patch-base_process_memory.h | 2 +- .../patch-base_process_memory__unittest.cc | 2 +- .../patch-base_process_process__handle.cc | 2 +- .../patch-base_process_process__handle.h | 2 +- ...h-base_process_process__handle__freebsd.cc | 2 +- ...base_process_process__iterator__freebsd.cc | 2 +- .../patch-base_process_process__linux.cc | 10 +- .../patch-base_process_process__metrics.cc | 10 +- .../patch-base_process_process__metrics.h | 6 +- ...-base_process_process__metrics__freebsd.cc | 2 +- ...ch-base_process_process__metrics__posix.cc | 2 +- .../patch-base_process_process__unittest.cc | 4 +- ...ch-base_process_process__util__unittest.cc | 2 +- .../patch-base_profiler_register__context.h | 2 +- ...filer_sampling__profiler__thread__token.cc | 2 +- ...ofiler_sampling__profiler__thread__token.h | 2 +- ...tch-base_profiler_stack__copier__signal.cc | 8 +- ...r_stack__sampling__profiler__test__util.cc | 2 +- ...ler_stack__sampling__profiler__unittest.cc | 2 +- ...h-base_profiler_thread__delegate__posix.cc | 2 +- ...heap__profiler_sampling__heap__profiler.cc | 2 +- .../files/patch-base_security__unittest.cc | 2 +- ...ings_sys__string__conversions__unittest.cc | 2 +- .../patch-base_synchronization_lock__impl.h | 2 +- .../files/patch-base_syslog__logging.cc | 2 +- .../files/patch-base_system_sys__info.cc | 6 +- .../files/patch-base_system_sys__info.h | 6 +- .../patch-base_system_sys__info__freebsd.cc | 2 +- .../patch-base_system_sys__info__posix.cc | 16 +- .../patch-base_system_sys__info__unittest.cc | 12 +- ...ead__pool_environment__config__unittest.cc | 2 +- www/chromium/files/patch-base_test_BUILD.gn | 4 +- ...patch-base_test_launcher_test__launcher.cc | 8 +- ...patch-base_test_test__file__util__posix.cc | 2 +- .../files/patch-base_test_test__suite.cc | 2 +- .../patch-base_third__party_libevent_BUILD.gn | 2 +- .../patch-base_threading_platform__thread.h | 4 +- ...eading_platform__thread__internal__posix.h | 2 +- ...-base_threading_platform__thread__linux.cc | 8 +- ...-base_threading_platform__thread__posix.cc | 6 +- ...se_threading_platform__thread__unittest.cc | 2 +- ...eading_scoped__blocking__call__unittest.cc | 2 +- ..._threading_thread__task__runner__handle.cc | 20 +- .../files/patch-base_time_time__unittest.cc | 2 +- ..._profiler__allocation__context__tracker.cc | 38 +++ ...ase_trace__event_malloc__dump__provider.cc | 4 +- ...base_trace__event_process__memory__dump.cc | 4 +- ...-base_trace__event_process__memory__dump.h | 11 - ...ure_system__memory__pressure__evaluator.cc | 22 +- .../files/patch-build_config_BUILD.gn | 4 +- .../files/patch-build_config_BUILDCONFIG.gn | 8 +- .../patch-build_config_compiler_BUILD.gn | 53 ++-- .../patch-build_config_compiler_compiler.gni | 16 +- .../files/patch-build_config_features.gni | 2 +- .../patch-build_config_freetype_freetype.gni | 2 +- .../files/patch-build_config_linux_BUILD.gn | 6 +- .../patch-build_config_linux_pkg-config.py | 2 +- .../files/patch-build_config_ozone.gni | 6 +- .../files/patch-build_config_sysroot.gni | 2 +- .../files/patch-build_detect__host__arch.py | 2 +- .../files/patch-build_gn__run__binary.py | 2 +- .../files/patch-build_linux_chrome.map | 8 +- .../files/patch-build_linux_libpci_BUILD.gn | 2 +- .../patch-build_linux_unbundle_libusb.gn | 2 +- ...build_linux_unbundle_replace__gn__files.py | 2 +- .../patch-build_toolchain_gcc__toolchain.gni | 6 +- ...-build_toolchain_get__concurrent__links.py | 2 +- .../patch-build_toolchain_linux_BUILD.gn | 2 +- www/chromium/files/patch-cc_BUILD.gn | 6 +- ...-cc_layers_scrollbar__layer__impl__base.cc | 2 +- .../files/patch-cc_test_layer__tree__test.cc | 4 +- .../files/patch-cc_test_pixel__test.cc | 2 +- .../patch-cc_trees_frame__rate__estimator.cc | 2 +- .../files/patch-cc_trees_property__tree.cc | 4 +- www/chromium/files/patch-chrome_BUILD.gn | 6 +- www/chromium/files/patch-chrome_app_BUILD.gn | 2 +- .../patch-chrome_app_chrome__command__ids.h | 10 +- .../files/patch-chrome_app_chrome__main.cc | 4 +- ...patch-chrome_app_chrome__main__delegate.cc | 75 +++-- .../patch-chrome_app_chromium__strings.grd | 8 +- .../patch-chrome_app_generated__resources.grd | 16 +- ...tch-chrome_app_google__chrome__strings.grd | 8 +- .../patch-chrome_app_profiles__strings.grdp | 2 +- .../patch-chrome_app_settings__strings.grdp | 14 +- ...e_app_shutdown__signal__handlers__posix.cc | 2 +- ..._app_theme_chrome__unscaled__resources.grd | 2 +- ...atch-chrome_app_theme_theme__resources.grd | 2 +- .../files/patch-chrome_browser_BUILD.gn | 4 +- .../patch-chrome_browser_about__flags.cc | 84 +++--- ...ome_browser_after__startup__task__utils.cc | 26 +- ...ia__galleries_media__galleries__apitest.cc | 20 ++ ...leries_media__galleries__watch__apitest.cc | 11 + ...sic__manager__private_device__id__linux.cc | 2 +- ...hrome__autocomplete__scheme__classifier.cc | 2 +- ...er_background_background__mode__manager.cc | 4 +- ..._background_background__mode__optimizer.cc | 2 +- ...atch-chrome_browser_browser__resources.grd | 4 +- ...ser_chrome__browser__interface__binders.cc | 10 +- ...ch-chrome_browser_chrome__browser__main.cc | 32 +-- ...me_browser_chrome__browser__main__linux.cc | 16 +- ...me_browser_chrome__browser__main__posix.cc | 12 +- ...rowser_chrome__content__browser__client.cc | 86 +++--- ...browser_chrome__content__browser__client.h | 4 +- ...crash__upload__list_crash__upload__list.cc | 8 +- ...oad__list_crash__upload__list__crashpad.cc | 2 +- ...m__handlers_protocol__handler__registry.cc | 4 +- .../files/patch-chrome_browser_defaults.cc | 12 +- ...me_browser_dev__ui__browser__resources.grd | 8 +- ...device__oauth2__token__service__factory.cc | 10 +- ...browser_devtools_devtools__eye__dropper.cc | 2 +- ..._browser_diagnostics_diagnostics__writer.h | 2 +- ...oad_chrome__download__manager__delegate.cc | 8 +- ...ome_browser_download_download__commands.cc | 2 +- ...rome_browser_download_download__commands.h | 2 +- ..._browser_download_download__item__model.cc | 2 +- ...chrome_browser_download_download__prefs.cc | 18 +- ...-chrome_browser_download_download__prefs.h | 2 +- ...chrome_browser_download_download__query.cc | 2 +- ...download_download__shelf__context__menu.cc | 2 +- ...h-chrome_browser_error__reporting_BUILD.gn | 10 +- .../patch-chrome_browser_extensions_BUILD.gn | 6 +- ..._extensions_activity__log_activity__log.cc | 2 +- ...eporting__private_device__info__fetcher.cc | 2 +- ...g__private_device__info__fetcher__linux.cc | 2 +- ...rp_chrome_desktop_report_request_helper.cc | 2 +- ...tion_browser__action__interactive__test.cc | 4 +- ...r__private_removable__storage__provider.cc | 2 +- ..._runtime_chrome__runtime__api__delegate.cc | 4 +- ...sions_api_settings__private_prefs__util.cc | 22 +- ...__private_webrtc__logging__private__api.cc | 2 +- ...ser__context__keyed__service__factories.cc | 4 +- ...ser_extensions_external__provider__impl.cc | 14 +- ...e__system__access__permission__context.cc} | 6 +- ...me_browser_first__run_first__run__dialog.h | 12 +- ..._browser_first__run_first__run__internal.h | 17 +- ..._first__run_first__run__internal__posix.cc | 14 +- ...patch-chrome_browser_flag__descriptions.cc | 38 +-- .../patch-chrome_browser_flag__descriptions.h | 40 +-- ...ome_browser_intranet__redirect__detector.h | 2 +- ...eries_fileapi_mtp__device__map__service.cc | 6 +- ...galleries_media__file__system__registry.cc | 4 +- ...rome_browser_media_audio__service__util.cc | 11 + ...scovery_discovery__network__list__posix.cc | 2 +- ...y_discovery__network__list__wifi__linux.cc | 2 +- ..._wired__display__media__route__provider.cc | 6 +- ...dia_webrtc_webrtc__event__log__uploader.cc | 6 +- ...wser_media_webrtc_webrtc__log__uploader.cc | 6 +- ...edia_webrtc_webrtc__logging__controller.cc | 2 +- ...media_webrtc_webrtc__logging__controller.h | 2 +- .../patch-chrome_browser_memory__details.cc | 2 +- ...h-chrome_browser_memory__details__linux.cc | 4 +- ...e__browser__main__extra__parts__metrics.cc | 14 +- ...etrics_chrome__metrics__service__client.cc | 29 +- ...trics_process__memory__metrics__emitter.cc | 6 +- ...r_net_system__network__context__manager.cc | 32 +-- ...ns_notification__display__service__impl.cc | 16 +- ...tification__platform__bridge__delegator.cc | 8 +- ...nager_chrome__password__manager__client.cc | 26 +- ...sword__manager_password__store__factory.cc | 12 +- ...chrome_browser_pdf_pdf__extension__test.cc | 21 +- ...ance__manager_policies_policy__features.cc | 2 +- ...ance__monitor_process__metrics__history.cc | 2 +- ...mance__monitor_process__metrics__history.h | 2 +- ...rowser_plugins_plugin__info__host__impl.cc | 4 +- ...wser_plugins_plugins__resource__service.cc | 8 +- ...policy_browser__signin__policy__handler.cc | 2 +- ..._cloud__management__controller__desktop.cc | 2 +- ...uration__policy__handler__list__factory.cc | 22 +- ...ice__management__service__configuration.cc | 18 +- ...tch-chrome_browser_prefs_browser__prefs.cc | 22 +- ...efs_pref__service__incognito__allowlist.cc | 10 +- ...ome_browser_printing_print__job__worker.cc | 16 +- ...hrome_browser_process__singleton__posix.cc | 19 +- ...__browser__main__extra__parts__profiles.cc | 12 +- .../patch-chrome_browser_profiles_profile.cc | 12 +- ...ser_profiles_profile__attributes__entry.cc | 4 +- ...chrome_browser_profiles_profiles__state.cc | 4 +- ...ntext__menu_render__view__context__menu.cc | 4 +- ...ome_browser_renderer__preferences__util.cc | 16 +- ...arance__page_appearance__browser__proxy.js | 2 +- ...ngs_appearance__page_appearance__page.html | 16 +- ...tings_appearance__page_appearance__page.js | 10 +- ...dent__reporting_incident__handler__util.cc | 2 +- ..._reporting_incident__reporting__service.cc | 2 +- ...earch__suggest_search__suggest__service.cc | 2 +- ...__self_receiving__ui__handler__registry.cc | 2 +- ...lf_send__tab__to__self__client__service.cc | 2 +- ...haring_shared__clipboard_feature__flags.cc | 2 +- ...sharing_shared__clipboard_feature__flags.h | 2 +- ...r_sharing_sharing__device__registration.cc | 4 +- ...haring_sharing__handler__registry__impl.cc | 12 +- ...atch-chrome_browser_signin_signin__util.cc | 4 +- ...hrome_browser_sync_chrome__sync__client.cc | 8 +- ...nc_device__info__sync__service__factory.cc | 20 +- ...er_sync_profile__sync__service__factory.cc | 22 +- ...wser_task__manager_sampling_task__group.cc | 10 +- ...owser_task__manager_sampling_task__group.h | 10 +- ...__manager_sampling_task__group__sampler.cc | 14 +- ...k__manager_sampling_task__group__sampler.h | 2 +- ...k__manager_sampling_task__manager__impl.cc | 4 +- ...er_task__manager_task__manager__observer.h | 2 +- ..._browser_themes_theme__service__factory.cc | 32 +-- ...rowser_tracing_crash__service__uploader.cc | 4 +- .../files/patch-chrome_browser_ui_BUILD.gn | 4 +- ...browser_ui_browser__command__controller.cc | 42 +-- ...-chrome_browser_ui_browser__view__prefs.cc | 28 +- ...usive__access_exclusive__access__bubble.cc | 2 +- .../files/patch-chrome_browser_ui_sad__tab.cc | 2 +- ...e_browser_ui_startup_bad__flags__prompt.cc | 12 +- .../patch-chrome_browser_ui_tab__helpers.cc | 14 +- ...ui_task__manager_task__manager__columns.cc | 4 +- ...sk__manager_task__manager__table__model.cc | 2 +- ...e_browser_ui_test_test__browser__dialog.cc | 12 +- ...hrome_browser_ui_test_test__browser__ui.cc | 32 +-- ...ome_browser_ui_views_accelerator__table.cc | 30 +- ...hrome__native__app__window__views__aura.cc | 28 +- ...ews_bookmarks_bookmark__bar__view__test.cc | 4 +- ...ome__browser__main__extra__parts__views.cc | 34 +-- ...browser_ui_views_chrome__views__delegate.h | 12 +- ..._ui_views_download_download__item__view.cc | 13 +- ...ome_browser_ui_views_first__run__dialog.cc | 14 - ...e_browser_ui_views_frame_browser__frame.cc | 33 +-- ...on__client__frame__view__factory__views.cc | 22 +- ...me_browser_ui_views_frame_browser__view.cc | 22 +- ...iews_frame_opaque__browser__frame__view.cc | 16 +- ...rowser__frame__view__platform__specific.cc | 2 +- ...iews_frame_system__menu__model__builder.cc | 32 +-- ...ews_frame_system__menu__model__delegate.cc | 32 +-- ...e_browser_ui_views_hung__renderer__view.cc | 4 +- ...iews_profiles_profile__menu__view__base.cc | 11 + ..._browser_ui_views_tabs_new__tab__button.cc | 12 +- .../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +- ...ser_ui_views_tabs_tab__drag__controller.cc | 24 +- ...b__apps_pwa__confirmation__bubble__view.cc | 11 - ...patch-chrome_browser_ui_webui_about__ui.cc | 6 +- ...ui_chrome__web__ui__controller__factory.cc | 32 ++- ...r_ui_webui_settings_appearance__handler.cc | 22 +- ...er_ui_webui_settings_appearance__handler.h | 12 +- ..._settings__localized__strings__provider.cc | 21 +- ...i_webui__js__error_webui__js__error__ui.cc | 11 + ...ts_web__app__file__handler__registration.h | 2 +- ...components_web__app__run__on__os__login.cc | 11 + ...lications_components_web__app__shortcut.cc | 2 +- ...ensions_bookmark__app__finalizer__utils.cc | 12 +- .../files/patch-chrome_common_BUILD.gn | 6 +- .../files/patch-chrome_common_channel__info.h | 12 +- ...atch-chrome_common_channel__info__posix.cc | 18 +- .../patch-chrome_common_chrome__features.cc | 22 +- .../patch-chrome_common_chrome__features.h | 22 +- .../patch-chrome_common_chrome__paths.cc | 32 ++- .../files/patch-chrome_common_chrome__paths.h | 28 +- ...ch-chrome_common_chrome__paths__internal.h | 2 +- .../patch-chrome_common_chrome__switches.cc | 4 +- .../patch-chrome_common_chrome__switches.h | 4 +- .../patch-chrome_common_extensions_command.cc | 10 +- .../files/patch-chrome_common_features.gni | 6 +- .../files/patch-chrome_common_pref__names.cc | 36 +-- .../files/patch-chrome_common_pref__names.h | 36 +-- ...tch-chrome_common_webui__url__constants.cc | 28 +- ...atch-chrome_common_webui__url__constants.h | 22 +- ...derer_chrome__content__renderer__client.cc | 4 +- ..._pepper_pepper__flash__font__file__host.cc | 2 +- ...r_pepper_pepper__flash__font__file__host.h | 2 +- ...rome_service_cloud__print_print__system.cc | 2 +- www/chromium/files/patch-chrome_test_BUILD.gn | 4 +- ...chrome_test_base_chrome__test__launcher.cc | 38 --- ...me_test_base_in__process__browser__test.cc | 8 +- ..._test_base_interactive__ui__tests__main.cc | 14 +- ...h-chrome_test_base_test__browser__window.h | 2 +- ...rome_test_base_testing__browser__process.h | 13 - ...rome_test_chromedriver_chrome__launcher.cc | 2 +- ...test_chromedriver_chrome_chrome__finder.cc | 2 +- ...t_chromedriver_key__converter__unittest.cc | 2 +- ...hromedriver_server_chromedriver__server.cc | 4 +- .../files/patch-chrome_utility_services.cc | 29 ++ ...tch-chromecast_app_cast__main__delegate.cc | 11 + ...cast_browser_cast__browser__main__parts.cc | 20 +- ...ecast_browser_cast__browser__main__parts.h | 11 + ..._browser_cast__content__browser__client.cc | 6 +- ...nt__browser__client__receiver__bindings.cc | 20 ++ ..._browser_metrics_cast__browser__metrics.cc | 87 ++++++ ...t_browser_metrics_cast__browser__metrics.h | 15 + ..._mojo_public_cpp_external__mojo__broker.cc | 8 +- ...st_media_base_default__monotonic__clock.cc | 2 +- ...enderer_cast__content__renderer__client.cc | 2 +- www/chromium/files/patch-components_BUILD.gn | 4 +- ...derer_password__form__conversion__utils.cc | 2 +- ...re_browser_autofill__external__delegate.cc | 4 +- ...ll_core_browser_personal__data__manager.cc | 20 +- ...ore_common_autofill__payments__features.cc | 12 +- ...nts_autofill_core_common_autofill__util.cc | 2 +- ...ore_browser_website__settings__registry.cc | 12 +- ...ents_cookie__config_cookie__store__util.cc | 2 +- ...-components_crash_content_browser_BUILD.gn | 6 +- ..._content_browser_error__reporting_BUILD.gn | 2 +- .../patch-components_crash_core_app_BUILD.gn | 2 +- ...atch-components_crash_core_common_BUILD.gn | 2 +- ...ce_discardable__shared__memory__manager.cc | 11 +- ...nts_download_internal_common_base__file.cc | 2 +- ...ure__engagement_public_event__constants.cc | 8 +- ...ture__engagement_public_event__constants.h | 8 +- ...gagement_public_feature__configurations.cc | 2 +- ...e__engagement_public_feature__constants.cc | 2 +- ...re__engagement_public_feature__constants.h | 2 +- ...eature__engagement_public_feature__list.cc | 6 +- ...feature__engagement_public_feature__list.h | 10 +- ...ents_feed_core_proto_v2_wire_version.proto | 2 +- ...ponents_feed_core_proto_wire_version.proto | 2 +- ...tch-components_feed_core_v2_proto__util.cc | 2 +- ...patch-components_flags__ui_flags__state.cc | 12 +- ...patch-components_gcm__driver_gcm__client.h | 2 +- ...omponents_gcm__driver_gcm__client__impl.cc | 2 +- .../files/patch-components_gwp__asan_BUILD.gn | 2 +- ...nvalidation_impl_invalidation__switches.cc | 2 +- ...ervice_core_dependency__graph__unittest.cc | 2 +- .../files/patch-components_metrics_BUILD.gn | 4 +- ...metrics_drive__metrics__provider__linux.cc | 2 +- .../patch-components_metrics_metrics__log.cc | 8 +- ...-components_neterror_resources_neterror.js | 2 +- ..._browser_network__session__configurator.cc | 2 +- ...components_new__or__sad__tab__strings.grdp | 2 +- .../patch-components_os__crypt_os__crypt.h | 53 ++-- ...omponents_os__crypt_os__crypt__unittest.cc | 12 +- ...on__service_prediction__service__common.cc | 8 +- ...ts_plugins_renderer_plugin__placeholder.cc | 2 +- ...ore_browser_policy__pref__mapping__test.cc | 6 +- ...y_core_common_cloud_cloud__policy__util.cc | 57 ++-- ...ch-components_policy_core_common_schema.cc | 2 +- ...ts_policy_resources_policy__templates.json | 20 +- ...s_policy_tools_generate__policy__source.py | 2 +- ...onents_previews_core_previews__features.cc | 4 +- ...ore_realtime_url__lookup__service__base.cc | 8 +- ...g_core_resources_gen__file__type__proto.py | 2 +- ...content_captive__portal__blocking__page.cc | 2 +- ...s_security__interstitials_content_utils.cc | 4 +- ...__preview__compositor__collection__impl.cc | 2 +- ...t__preview__compositor__collection__impl.h | 2 +- ...patch-components_storage__monitor_BUILD.gn | 4 +- ...e__monitor_removable__device__constants.cc | 2 +- ...ge__monitor_removable__device__constants.h | 2 +- ...rage__monitor_storage__monitor__freebsd.cc | 2 +- ...orage__monitor_storage__monitor__freebsd.h | 2 +- ..._device__info_local__device__info__util.cc | 10 +- ...__info_local__device__info__util__linux.cc | 6 +- ...ts_update__client_update__query__params.cc | 4 +- ...atter_spoof__checks_idn__spoof__checker.cc | 4 +- ...onents_url__matcher_regex__set__matcher.cc | 2 +- ...ents_url__matcher_url__matcher__factory.cc | 2 +- .../patch-components_viz_common_features.cc | 12 +- ..._viz_common_gpu_dawn__context__provider.cc | 2 +- ...mponents_viz_host_host__display__client.cc | 12 +- ...omponents_viz_host_host__display__client.h | 12 +- ...lay__embedder_software__output__surface.cc | 22 +- ...play__embedder_software__output__surface.h | 22 +- ...nks_root__compositor__frame__sink__impl.cc | 22 +- ...inks_root__compositor__frame__sink__impl.h | 12 +- ...mponents_viz_test_fake__output__surface.cc | 12 +- ...omponents_viz_test_fake__output__surface.h | 12 +- ...omponents_viz_test_mock__display__client.h | 12 +- ...ents_webcrypto_algorithms_test__helpers.cc | 2 +- .../files/patch-content_app_content__main.cc | 2 +- ...content_app_content__main__runner__impl.cc | 16 +- .../files/patch-content_browser_BUILD.gn | 6 +- ...tch-content_browser_browser__main__loop.cc | 16 +- ...child__process__launcher__helper__linux.cc | 2 +- ...ositor_viz__process__transport__factory.cc | 12 +- ...devtools_protocol_system__info__handler.cc | 14 +- ...rowser_download_download__manager__impl.cc | 8 +- ...er_font__access_font__enumeration__cache.h | 2 +- ...ch-content_browser_gpu_compositor__util.cc | 16 +- ...-content_browser_gpu_gpu__process__host.cc | 16 +- ...mory_swap__metrics__driver__impl__linux.cc | 2 +- ...nt_browser_ppapi__plugin__process__host.cc | 4 +- ...ugin__process__host__receiver__bindings.cc | 2 +- ...r_renderer__host_delegated__frame__host.cc | 4 +- ...t_input_input__device__change__observer.cc | 2 +- ...rer__host_pepper_pepper__file__io__host.cc | 2 +- ..._renderer__host_render__message__filter.cc | 2 +- ...r_renderer__host_render__message__filter.h | 2 +- ...derer__host_render__process__host__impl.cc | 18 +- ...renderer__host_render__view__host__impl.cc | 4 +- ...__host_render__widget__host__view__aura.cc | 8 +- ...der__widget__host__view__event__handler.cc | 4 +- ...uler_responsiveness_jank__monitor__impl.cc | 8 +- ..._responsiveness_native__event__observer.cc | 2 +- ...r_responsiveness_native__event__observer.h | 2 +- ...-content_browser_utility__process__host.cc | 13 +- ...lity__process__host__receiver__bindings.cc | 2 +- ...tch-content_browser_v8__snapshot__files.cc | 2 +- ...web__contents_web__contents__view__aura.cc | 22 +- ...er_webui_web__ui__main__frame__observer.cc | 28 -- ...ser_webui_web__ui__main__frame__observer.h | 20 -- ..._zygote__host_zygote__host__impl__linux.cc | 2 +- ...r_zygote__host_zygote__host__impl__linux.h | 2 +- .../patch-content_child_child__process.cc | 2 +- .../files/patch-content_common_BUILD.gn | 8 +- ..._common_common__sandbox__support__linux.cc | 2 +- ...ent_common_mojo__core__library__support.cc | 2 +- .../files/patch-content_common_user__agent.cc | 2 +- www/chromium/files/patch-content_gpu_BUILD.gn | 8 +- .../files/patch-content_gpu_gpu__main.cc | 6 +- ...h-content_gpu_gpu__sandbox__hook__linux.cc | 6 +- ...pi__plugin_ppapi__blink__platform__impl.cc | 2 +- ...api__plugin_ppapi__blink__platform__impl.h | 2 +- ...tent_public_app_content__main__delegate.cc | 2 +- ...ntent_public_app_content__main__delegate.h | 2 +- ...ent_public_browser_font__access__context.h | 11 + ...browser_zygote__host_zygote__host__linux.h | 2 +- ...ntent_public_common_child__process__host.h | 2 +- ...lic_common_common__param__traits__macros.h | 6 +- ...ontent_public_common_content__constants.cc | 2 +- ...content_public_common_content__constants.h | 2 +- ...content_public_common_content__features.cc | 24 +- ...content_public_common_content__switches.cc | 21 +- ...-content_public_common_content__switches.h | 16 +- ...blic_common_use__zoom__for__dsf__policy.cc | 2 +- ...-content_public_common_zygote_features.gni | 2 +- ...content_public_test_browser__test__base.cc | 4 +- ...tent_public_test_content__browser__test.cc | 32 +-- ...ontent_public_test_mock__render__thread.cc | 2 +- ...-content_renderer_render__process__impl.cc | 4 +- ...h-content_renderer_render__thread__impl.cc | 26 +- ...enderer_renderer__blink__platform__impl.cc | 12 +- ...renderer_renderer__blink__platform__impl.h | 15 +- ...nderer__main__platform__delegate__linux.cc | 2 +- .../files/patch-content_shell_BUILD.gn | 12 +- ...content_shell_app_shell__main__delegate.cc | 2 +- ...t_shell_browser_shell__browser__context.cc | 2 +- ...ell_browser_shell__browser__main__parts.cc | 16 +- .../files/patch-content_test_BUILD.gn | 8 +- ...patch-content_test_content__test__suite.cc | 2 +- .../files/patch-content_utility_BUILD.gn | 4 +- ..._platform__with__sandbox__support__impl.cc | 2 +- ...__platform__with__sandbox__support__impl.h | 2 +- .../patch-content_zygote_zygote__linux.cc | 4 +- ...atch-content_zygote_zygote__main__linux.cc | 2 +- .../files/patch-device_bluetooth_BUILD.gn | 6 +- .../patch-device_gamepad_gamepad__provider.cc | 2 +- ...patch-device_gamepad_hid__writer__linux.cc | 2 +- ...larative__webrequest_webrequest__action.cc | 2 +- ..._browser_api_messaging_message__service.cc | 2 +- ..._networking__private__delegate__factory.cc | 2 +- ...ser_api_web__request_form__data__parser.cc | 2 +- ...ser__context__keyed__service__factories.cc | 4 +- ...ons_common_api___permission__features.json | 2 +- .../patch-extensions_common_api_runtime.json | 2 +- ...patch-extensions_common_feature__switch.cc | 2 +- ...atch-extensions_common_features_feature.cc | 2 +- .../patch-extensions_common_image__util.cc | 2 +- .../patch-extensions_common_stack__frame.cc | 2 +- ...ns_renderer_bindings_api__binding__util.cc | 2 +- .../files/patch-extensions_shell_BUILD.gn | 4 +- ...ensions_shell_app_shell__main__delegate.cc | 6 +- ...i_runtime_shell__runtime__api__delegate.cc | 4 +- ..._browser_shell__extensions__api__client.cc | 2 +- ...l_browser_shell__extensions__api__client.h | 2 +- ...gle__apis_gcm_engine_heartbeat__manager.cc | 26 +- ...fer_common_gpu__memory__buffer__support.cc | 2 +- ...and__buffer_service_external__semaphore.cc | 2 +- ...er_service_external__vk__image__backing.cc | 8 +- ...ommand__buffer_service_program__manager.cc | 2 +- ...d__buffer_service_webgpu__decoder__impl.cc | 4 +- ...s_gl__copy__texture__CHROMIUM__unittest.cc | 2 +- ...u_command__buffer_tests_gl__test__utils.cc | 2 +- ...pu_command__buffer_tests_gl__test__utils.h | 2 +- ...-gpu_command__buffer_tests_webgpu__test.cc | 2 +- .../patch-gpu_config_gpu__control__list.cc | 4 +- .../patch-gpu_config_gpu__test__config.cc | 4 +- ...ipc_common_gpu__memory__buffer__support.cc | 2 +- ..._ipc_common_gpu__memory__buffer__support.h | 2 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 50 ++-- ...pc_service_gpu__memory__buffer__factory.cc | 2 +- ...h-gpu_ipc_service_gpu__watchdog__thread.cc | 12 +- ...ch-gpu_ipc_service_gpu__watchdog__thread.h | 6 +- ...h-gpu_vulkan_vulkan__function__pointers.cc | 28 +- ...ch-gpu_vulkan_vulkan__function__pointers.h | 41 ++- .../files/patch-gpu_vulkan_vulkan__image.cc | 11 + .../files/patch-gpu_vulkan_vulkan__image.h | 20 ++ www/chromium/files/patch-headless_BUILD.gn | 8 +- ...b_browser_headless__browser__main__parts.h | 4 +- ...r_headless__browser__main__parts__linux.cc | 8 +- ...wser_headless__content__browser__client.cc | 4 +- ...ser_headless__request__context__manager.cc | 37 +-- ...s_lib_headless__content__main__delegate.cc | 2 +- .../patch-headless_lib_headless__macros.h | 2 +- www/chromium/files/patch-ipc_ipc__channel.h | 2 +- .../files/patch-ipc_ipc__channel__common.cc | 2 +- .../files/patch-ipc_ipc__channel__mojo.cc | 2 +- .../files/patch-ipc_ipc__message__utils.cc | 2 +- .../files/patch-ipc_ipc__message__utils.h | 2 +- www/chromium/files/patch-media_BUILD.gn | 2 +- www/chromium/files/patch-media_audio_BUILD.gn | 2 +- ...h-media_audio_alsa_audio__manager__alsa.cc | 2 +- .../patch-media_audio_audio__features.cc | 2 +- .../patch-media_audio_audio__input__device.cc | 2 +- .../files/patch-media_audio_audio__manager.cc | 2 +- .../files/patch-media_audio_audio__manager.h | 2 +- ...ia_audio_audio__output__proxy__unittest.cc | 2 +- .../files/patch-media_base_audio__latency.cc | 2 +- .../files/patch-media_base_media__switches.cc | 10 +- .../files/patch-media_base_scopedfd__helper.h | 2 +- www/chromium/files/patch-media_base_status.cc | 12 - .../files/patch-media_base_vector__math.cc | 11 + .../files/patch-media_base_video__frame.cc | 16 +- .../files/patch-media_base_video__frame.h | 4 +- ...create__video__capture__device__factory.cc | 14 +- ...o_fake__video__capture__device__factory.cc | 2 +- ...o_file__video__capture__device__factory.cc | 2 +- ...ure_video_linux_v4l2__capture__delegate.cc | 2 +- ...ideo_video__capture__buffer__pool__impl.cc | 2 +- ...re_video_video__capture__device__client.cc | 2 +- .../files/patch-media_filters_vp9__parser.h | 2 +- ...edia_formats_common_offset__byte__queue.cc | 2 +- ...media_formats_common_offset__byte__queue.h | 2 +- ...tch-media_formats_mp2t_es__parser__adts.cc | 2 +- ...dia_formats_mp2t_es__parser__mpeg1audio.cc | 2 +- .../patch-media_gpu_buffer__validation.cc | 2 +- .../files/patch-media_media__options.gni | 2 +- ...lients_mojo__video__encode__accelerator.cc | 2 +- ..._mojo_mojom_video__frame__mojom__traits.cc | 2 +- ..._mojo_services_gpu__mojo__media__client.cc | 6 +- ...h-media_video_fake__gpu__memory__buffer.cc | 2 +- ...gpu__memory__buffer__video__frame__pool.cc | 4 +- ...deo_video__encode__accelerator__adapter.cc | 20 +- ...deo__encode__accelerator__adapter__test.cc | 11 + .../patch-mojo_public_c_system_thunks.cc | 2 +- ...jo_public_js_mojo__bindings__resources.grd | 6 +- www/chromium/files/patch-net_BUILD.gn | 16 +- .../patch-net_base_address__tracker__linux.cc | 20 +- .../patch-net_base_address__tracker__linux.h | 2 +- ..._base_address__tracker__linux__unittest.cc | 2 +- ...atch-net_base_network__change__notifier.cc | 30 +- ...t_base_network__change__notifier__posix.cc | 11 + ...tch-net_base_network__interfaces__posix.cc | 17 ++ ...atch-net_base_network__interfaces__posix.h | 11 - .../files/patch-net_cert_cert__verifier.cc | 2 +- .../patch-net_cert_cert__verify__proc.cc | 2 +- .../files/patch-net_cert_cert__verify__proc.h | 2 +- .../files/patch-net_cert_test__root__certs.h | 2 +- ...h-net_disk__cache_blockfile_disk__format.h | 2 +- .../patch-net_dns_address__sorter__posix.cc | 2 +- ...s_dns__config__service__posix__unittest.cc | 2 +- .../files/patch-net_dns_dns__reloader.cc | 2 +- www/chromium/files/patch-net_dns_dns__util.cc | 2 +- .../patch-net_dns_host__resolver__proc.cc | 2 +- ...atch-net_http_http__auth__gssapi__posix.cc | 2 +- ...patch-net_http_http__auth__gssapi__posix.h | 2 +- ...tch-net_nqe_network__quality__estimator.cc | 4 +- ...e_network__quality__estimator__unittest.cc | 16 +- ..._configured__proxy__resolution__service.cc | 28 +- ...esolution_proxy__config__service__linux.cc | 2 +- .../files/patch-net_socket_socket__posix.cc | 2 +- ...patch-net_socket_socks5__client__socket.cc | 2 +- .../patch-net_socket_tcp__socket__posix.cc | 2 +- .../patch-net_socket_udp__socket__posix.cc | 10 +- .../patch-net_socket_udp__socket__posix.h | 2 +- ...ket_unix__domain__client__socket__posix.cc | 2 +- ...s_cert__verify__tool_cert__verify__tool.cc | 2 +- ...t_tools_quic_quic__http__proxy__backend.cc | 2 +- ..._annotation_network__traffic__annotation.h | 16 +- .../patch-net_url__request_url__fetcher.cc | 12 +- .../patch-net_url__request_url__fetcher.h | 16 +- ...-net_url__request_url__request__context.cc | 12 +- ...h-net_url__request_url__request__context.h | 12 +- ..._request_url__request__context__builder.cc | 6 +- .../files/patch-pdf_pdfium_pdfium__engine.cc | 14 +- .../patch-ppapi_proxy_file__io__resource.cc | 2 +- .../patch-printing_cups__config__helper.py | 2 +- .../files/patch-printing_print__settings.cc | 4 +- .../files/patch-printing_print__settings.h | 6 +- ...ch-printing_print__settings__conversion.cc | 25 +- .../patch-printing_printing__features.cc | 2 +- .../files/patch-printing_printing__features.h | 2 +- .../patch-remoting_base_chromoting__event.cc | 6 +- ...atch-remoting_client_display_sys__opengl.h | 2 +- ...oting_codec_webrtc__video__encoder__vpx.cc | 16 ++ ...h-remoting_host_desktop__resizer__ozone.cc | 2 +- ...atch-remoting_host_evaluate__capability.cc | 4 +- .../patch-remoting_host_heartbeat__sender.cc | 12 +- .../patch-remoting_host_host__attributes.cc | 2 +- .../patch-remoting_host_host__details.cc | 12 +- .../files/patch-remoting_host_host__main.cc | 21 +- ...me_it2me__native__messaging__host__main.cc | 8 +- ...moting_host_me2me__desktop__environment.cc | 2 +- ...tch-remoting_host_remoting__me2me__host.cc | 22 +- .../files/patch-remoting_host_switches.cc | 2 +- .../files/patch-remoting_host_switches.h | 2 +- ...h-remoting_resources_remoting__strings.grd | 6 +- ...h-remoting_test_it2me__standalone__host.cc | 2 +- ...ting_test_it2me__standalone__host__main.cc | 2 +- www/chromium/files/patch-sandbox_BUILD.gn | 2 +- www/chromium/files/patch-sandbox_features.gni | 2 +- .../files/patch-sandbox_linux_BUILD.gn | 2 +- ...ox_linux_services_init__process__reaper.cc | 2 +- ...andbox_linux_services_libc__interceptor.cc | 2 +- .../files/patch-sandbox_policy_BUILD.gn | 2 +- .../files/patch-sandbox_policy_switches.cc | 2 +- .../files/patch-sandbox_policy_switches.h | 2 +- .../files/patch-services_audio_BUILD.gn | 2 +- ...device_geolocation_location__arbitrator.cc | 2 +- .../files/patch-services_device_hid_BUILD.gn | 4 +- ...ces_device_hid_hid__connection__freebsd.cc | 9 +- ...ices_device_hid_hid__connection__freebsd.h | 7 +- .../patch-services_device_hid_hid__service.cc | 6 +- ...rvices_device_hid_hid__service__freebsd.cc | 17 +- ...ervices_device_hid_hid__service__freebsd.h | 5 +- .../patch-services_device_serial_BUILD.gn | 2 +- ...evice_serial_serial__device__enumerator.cc | 2 +- ...evice_serial_serial__io__handler__posix.cc | 2 +- ...one__monitor_time__zone__monitor__linux.cc | 2 +- .../files/patch-services_device_usb_BUILD.gn | 2 +- .../files/patch-services_network_BUILD.gn | 6 +- ...patch-services_network_network__context.cc | 11 - ...s_network_network__sandbox__hook__linux.cc | 2 +- ...patch-services_network_network__service.cc | 14 +- .../patch-services_network_network__service.h | 6 +- ...cert__verifier_cert__verifier__creation.cc | 2 +- ...rumentation_queued__request__dispatcher.cc | 2 +- ..._cpp_memory__instrumentation_os__metrics.h | 2 +- ...ory__instrumentation_os__metrics__linux.cc | 2 +- .../patch-services_service__manager_BUILD.gn | 2 +- ...er_public_cpp_service__executable_BUILD.gn | 2 +- ...tracing_public_cpp_perfetto_trace__time.cc | 2 +- ...ck__sampling_tracing__sampler__profiler.cc | 2 +- ...s_video__capture_broadcasting__receiver.cc | 2 +- .../patch-skia_ext_SkMemory__new__handler.cpp | 2 +- .../files/patch-third__party_angle_BUILD.gn | 39 +-- ...atch-third__party_angle_src_common_debug.h | 11 + ...src_gpu__info__util_SystemInfo__internal.h | 2 +- ...src_gpu__info__util_SystemInfo__libpci.cpp | 2 +- ..._src_gpu__info__util_SystemInfo__linux.cpp | 2 +- ...le_src_gpu__info__util_SystemInfo__x11.cpp | 2 +- ...hird__party_angle_src_libANGLE_Display.cpp | 4 +- ...le_src_libANGLE_renderer_driver__utils.cpp | 2 +- ...ngle_src_libANGLE_renderer_driver__utils.h | 2 +- ..._libANGLE_renderer_vulkan_DisplayVk__api.h | 10 +- ...n-loader_src_loader_vk__loader__platform.h | 11 - ...es_renderer__preferences__mojom__traits.cc | 2 +- ...derer__preferences_renderer__preferences.h | 2 +- ...ces_renderer__preferences__mojom__traits.h | 2 +- ...rd__party_blink_public_platform_platform.h | 11 + ...patch-third__party_blink_renderer_BUILD.gn | 18 +- ...indings_scripts_bind__gen_style__format.py | 2 +- ..._renderer_controller_blink__initializer.cc | 8 +- ...ontroller_memory__usage__monitor__posix.cc | 2 +- ...controller_memory__usage__monitor__posix.h | 2 +- ...nderer_core_clipboard_system__clipboard.cc | 12 +- ...renderer_core_editing_editing__behavior.cc | 2 +- ..._renderer_core_exported_web__view__impl.cc | 4 +- ...tml_canvas_canvas__async__blob__creator.cc | 2 +- ...r_core_html_forms_internal__popup__menu.cc | 2 +- ...core_inspector_inspector__memory__agent.cc | 2 +- ...blink_renderer_core_layout_layout__view.cc | 2 +- ..._blink_renderer_core_paint_paint__layer.cc | 2 +- ...erer_core_scroll_scrollbar__theme__aura.cc | 2 +- ...media_audio_web__audio__device__factory.cc | 4 +- ...astream_processed__local__audio__source.cc | 6 +- ...onnection_webrtc__audio__renderer__test.cc | 6 +- ...s_webaudio_audio__worklet__thread__test.cc | 4 +- ...es_webgl_webgl__webcodecs__video__frame.cc | 11 + ...rd__party_blink_renderer_platform_BUILD.gn | 4 +- ...ink_renderer_platform_fonts_font__cache.cc | 2 +- ...link_renderer_platform_fonts_font__cache.h | 2 +- ...nderer_platform_fonts_font__description.cc | 2 +- ...k_renderer_platform_fonts_font__metrics.cc | 2 +- ...atform_fonts_font__unique__name__lookup.cc | 2 +- ...rm_fonts_shaping_harfbuzz__shaper__test.cc | 2 +- ...r_platform_fonts_skia_font__cache__skia.cc | 2 +- ..._graphics_image__frame__generator__test.cc | 2 +- ...atform_graphics_video__frame__submitter.cc | 2 +- ...nderer_platform_scheduler_common_thread.cc | 11 + ...erer_platform_wtf_container__annotations.h | 2 +- ...blink_renderer_platform_wtf_stack__util.cc | 2 +- ...nderer_platform_wtf_threading__pthreads.cc | 2 +- ...y_boringssl_src_crypto_cpu-aarch64-linux.c | 2 +- ...ird__party_boringssl_src_crypto_ex__data.c | 2 +- ...ad_src_common_simple__string__dictionary.h | 2 +- ...d__party_crashpad_crashpad_client_BUILD.gn | 2 +- ...crashpad_client_crashpad__client__posix.cc | 2 +- ...pad_crashpad_util_posix_close__multiple.cc | 2 +- ...ty_crashpad_crashpad_util_posix_signals.cc | 2 +- ...c32c_src_src_crc32c__arm64__linux__check.h | 2 +- .../patch-third__party_ffmpeg_libavutil_mem.c | 2 +- ...letest_include_gtest_internal_gtest-port.h | 2 +- ...oogletest_src_googletest_src_gtest-port.cc | 2 +- ...rty_googletest_src_googletest_src_gtest.cc | 2 +- ...atch-third__party_harfbuzz-ng_harfbuzz.gni | 2 +- ...hird__party_leveldatabase_env__chromium.cc | 4 +- .../patch-third__party_libXNVCtrl_NVCtrl.c | 2 +- ...p_src_phonenumbers_base_memory_singleton.h | 2 +- ...c_phonenumbers_base_synchronization_lock.h | 2 +- ...pp_src_phonenumbers_base_thread__checker.h | 2 +- .../patch-third__party_libpng_pnglibconf.h | 2 +- ...h-third__party_libyuv_include_libyuv_row.h | 2 +- ...ch-third__party_nasm_config_config-linux.h | 2 +- .../files/patch-third__party_node_node.py | 2 +- ...en_src_platform_impl_udp__socket__posix.cc | 2 +- ..._party_pdfium_core_fxcrt_cfx__datetime.cpp | 2 +- ...party_pdfium_core_fxge_cfx__fontmapper.cpp | 2 +- ...__party_pdfium_core_fxge_fx__ge__linux.cpp | 2 +- ...__party_pdfium_fxjs_cjs__publicmethods.cpp | 2 +- ...d__party_pdfium_fxjs_fx__date__helpers.cpp | 2 +- .../patch-third__party_perfetto_gn_BUILD.gn | 19 ++ ...etto_include_perfetto_base_build__config.h | 4 +- ...etto_include_perfetto_base_thread__utils.h | 2 +- ...arty_perfetto_include_perfetto_base_time.h | 6 +- ...etto_include_perfetto_ext_base_event__fd.h | 13 - ..._include_perfetto_ext_base_thread__utils.h | 24 +- ...arty_perfetto_src_base_ctrl__c__handler.cc | 12 + ...rd__party_perfetto_src_base_file__utils.cc | 14 + ...ird__party_perfetto_src_base_subprocess.cc | 24 -- ...rty_perfetto_src_base_subprocess__posix.cc | 37 +++ ..._perfetto_src_base_thread__task__runner.cc | 11 - ...d__party_perfetto_src_base_unix__socket.cc | 25 +- ...ch-third__party_perfetto_src_base_utils.cc | 34 +++ ...party_perfetto_src_base_watchdog__posix.cc | 14 + ...rfetto_src_trace__processor_read__trace.cc | 12 + ...race__processor_trace__processor__shell.cc | 22 ++ ...rty_perfetto_src_traced_service_service.cc | 12 + ...src_tracing_core_tracing__service__impl.cc | 14 +- ...erfetto_src_tracing_ipc_default__socket.cc | 12 + ...d__party_perfetto_src_tracing_ipc_memfd.cc | 16 ++ ...o_src_tracing_ipc_posix__shared__memory.cc | 18 ++ ...to_src_tracing_ipc_posix__shared__memory.h | 19 ++ ...ty_perfetto_src_tracing_platform__posix.cc | 28 ++ ...fetto_tools_busy__threads_busy__threads.cc | 12 + ...c_google_protobuf_stubs_platform__macros.h | 2 +- ...patch-third__party_skia_src_core_SkCpu.cpp | 4 +- ...d__party_skia_src_gpu_GrAutoLocaleSetter.h | 2 +- ...d__party_skia_src_images_SkJpegEncoder.cpp | 2 +- ...__party_skia_src_ports_SkOSFile__stdio.cpp | 2 +- ...ch-third__party_skia_src_sksl_SkSLString.h | 2 +- .../files/patch-third__party_sqlite_BUILD.gn | 2 +- .../patch-third__party_swiftshader_BUILD.gn | 6 +- ...arty_swiftshader_include_vulkan_vulkan.hpp | 2 +- ...ty_swiftshader_src_Common_Configurator.cpp | 2 +- ...party_swiftshader_src_Common_MutexLock.hpp | 2 +- ...y_swiftshader_src_Common_SharedLibrary.hpp | 2 +- ...party_swiftshader_src_Main_SwiftConfig.cpp | 2 +- ..._swiftshader_src_OpenGL_libEGL_Display.cpp | 2 +- ..._swiftshader_src_OpenGL_libEGL_Surface.cpp | 2 +- ...y_swiftshader_src_OpenGL_libEGL_libEGL.cpp | 2 +- ...y_swiftshader_src_OpenGL_libEGL_libEGL.hpp | 2 +- ...der_src_OpenGL_libGLES__CM_libGLES__CM.hpp | 2 +- ...tshader_src_OpenGL_libGLESv2_libGLESv2.hpp | 2 +- ...d__party_swiftshader_src_Reactor_Debug.cpp | 2 +- ...rd__party_swiftshader_src_System_Debug.cpp | 2 +- ...configs_linux_include_llvm_Config_config.h | 2 +- ...o_build_Linux_include_llvm_Config_config.h | 2 +- ..._llvm-subzero_lib_Support_Unix_Process.inc | 2 +- ...rd__party_vulkan-deps_glslang_src_BUILD.gn | 15 + ...an-deps_vulkan-loader_src_loader_loader.c} | 4 +- ...n-loader_src_loader_vk__loader__platform.h | 42 +++ ...-layers_src_layers_vk__loader__platform.h} | 4 +- .../files/patch-third__party_webrtc_BUILD.gn | 4 +- ...arty_webrtc_modules_audio__device_BUILD.gn | 2 +- ..._rtcp_source_forward__error__correction.cc | 2 +- ...hird__party_webrtc_rtc__base_byte__order.h | 2 +- ...arty_webrtc_rtc__base_ifaddrs__converter.h | 2 +- ...ird__party_webrtc_rtc__base_ip__address.cc | 2 +- ...hird__party_webrtc_rtc__base_ip__address.h | 2 +- ...h-third__party_webrtc_rtc__base_network.cc | 2 +- ...ch-third__party_webrtc_rtc__base_network.h | 2 +- ...brtc_rtc__base_physical__socket__server.cc | 4 +- ...ebrtc_rtc__base_physical__socket__server.h | 2 +- ...ebrtc_rtc__base_platform__thread__types.cc | 2 +- ...c_rtc__base_third__party_sigslot_sigslot.h | 2 +- ...rd__party_webrtc_system__wrappers_BUILD.gn | 2 +- .../files/patch-third__party_zlib_BUILD.gn | 11 - .../patch-third__party_zlib_cpu__features.c | 3 +- .../files/patch-tools_gn_build_gen.py | 2 +- ...tch-tools_gn_src_base_files_file__posix.cc | 2 +- ...ch-tools_gn_src_base_files_scoped__file.cc | 11 + .../patch-tools_gn_src_gn_exec__process.cc | 2 +- ..._src_gn_function__write__file__unittest.cc | 2 +- .../files/patch-tools_gn_src_gn_version.h | 2 +- .../patch-tools_gn_src_util_sys__info.cc | 6 +- ...son__schema__compiler_feature__compiler.py | 4 +- ...atch-tools_json__schema__compiler_model.py | 4 +- ...ols_perf_chrome__telemetry__build_BUILD.gn | 4 +- ...tools_variations_fieldtrial__to__struct.py | 6 +- .../patch-ui_aura_test_aura__test__helper.cc | 6 +- .../patch-ui_aura_test_ui__controls__ozone.cc | 4 +- ...-ui_base_clipboard_clipboard__constants.cc | 2 +- ...h-ui_base_clipboard_clipboard__constants.h | 2 +- ...atch-ui_base_clipboard_clipboard__ozone.cc | 14 +- ...ransfer__policy_data__transfer__endpoint.h | 14 - ...se_dragdrop_os__exchange__data__provider.h | 2 +- ...p_os__exchange__data__provider__factory.cc | 2 +- ...__exchange__data__provider__non__backed.cc | 6 +- ...s__exchange__data__provider__non__backed.h | 4 +- ...ase_ime_init_input__method__initializer.cc | 32 +-- ...patch-ui_base_resource_resource__bundle.cc | 6 +- ...base_resource_resource__bundle__freebsd.cc | 2 +- ...ch-ui_base_test_skia__gold__pixel__diff.cc | 12 +- .../files/patch-ui_base_ui__base__features.cc | 29 +- .../files/patch-ui_base_ui__base__features.h | 4 +- .../patch-ui_base_webui_web__ui__util.cc | 12 +- .../patch-ui_base_x_x11__shm__image__pool.cc | 6 +- .../files/patch-ui_compositor_compositor.cc | 12 +- .../files/patch-ui_compositor_compositor.h | 12 +- ...patch-ui_compositor_compositor__observer.h | 12 +- ..._devices_x11_device__data__manager__x11.cc | 6 +- www/chromium/files/patch-ui_events_event.cc | 4 +- .../files/patch-ui_events_event__switches.cc | 2 +- .../files/patch-ui_events_event__switches.h | 2 +- ..._events_keycodes_dom_keycode__converter.cc | 2 +- ...h-ui_events_ozone_keyboard__hook__ozone.cc | 2 +- www/chromium/files/patch-ui_gfx_BUILD.gn | 4 +- .../files/patch-ui_gfx_canvas__skia.cc | 4 +- .../files/patch-ui_gfx_codec_jpeg__codec.cc | 2 +- .../patch-ui_gfx_font__fallback__linux.cc | 2 +- www/chromium/files/patch-ui_gfx_font__list.cc | 2 +- .../patch-ui_gfx_font__names__testing.cc | 2 +- .../files/patch-ui_gfx_font__render__params.h | 2 +- www/chromium/files/patch-ui_gfx_font__util.cc | 2 +- .../files/patch-ui_gfx_gpu__memory__buffer.cc | 2 +- .../files/patch-ui_gfx_gpu__memory__buffer.h | 10 +- ...ch-ui_gfx_ipc_gfx__param__traits__macros.h | 2 +- ...fx_linux_client__native__pixmap__dmabuf.cc | 4 +- ..._gfx_mojom_buffer__types__mojom__traits.cc | 2 +- ...om_native__handle__types__mojom__traits.cc | 2 +- ...jom_native__handle__types__mojom__traits.h | 2 +- .../patch-ui_gfx_native__pixmap__handle.cc | 2 +- .../patch-ui_gfx_native__pixmap__handle.h | 2 +- .../patch-ui_gfx_native__widget__types.h | 22 +- .../files/patch-ui_gfx_render__text.cc | 4 +- www/chromium/files/patch-ui_gl_BUILD.gn | 4 +- .../files/patch-ui_gl_generate__bindings.py | 2 +- ...ch-ui_gl_gl__bindings__api__autogen__glx.h | 2 +- .../patch-ui_gl_gl__bindings__autogen__glx.cc | 2 +- .../patch-ui_gl_gl__bindings__autogen__glx.h | 2 +- .../files/patch-ui_gl_gl__features.cc | 14 +- www/chromium/files/patch-ui_gl_gl__fence.cc | 2 +- ...ch-ui_gl_sync__control__vsync__provider.cc | 2 +- ...tch-ui_gl_sync__control__vsync__provider.h | 2 +- ...atch-ui_gtk_printing_print__dialog__gtk.cc | 2 +- ...sage__center_views_message__popup__view.cc | 12 +- .../patch-ui_native__theme_native__theme.h | 12 +- ...ch-ui_native__theme_native__theme__base.cc | 12 +- ...indow_platform__window__init__properties.h | 2 +- ...patch-ui_strings_app__locale__settings.grd | 6 +- .../files/patch-ui_views_controls_label.cc | 22 +- ...h-ui_views_controls_textfield_textfield.cc | 56 ++-- .../patch-ui_views_corewm_tooltip__aura.cc | 12 +- ...patch-ui_views_examples_widget__example.cc | 2 +- .../patch-ui_views_focus_focus__manager.cc | 22 +- .../patch-ui_views_selection__controller.cc | 12 +- .../patch-ui_views_style_platform__style.cc | 14 +- .../files/patch-ui_views_views__delegate.cc | 8 +- .../files/patch-ui_views_views__delegate.h | 8 +- ...et_desktop__aura_desktop__screen__ozone.cc | 2 +- ...a_desktop__window__tree__host__platform.cc | 4 +- ...ch-ui_views_widget_native__widget__aura.cc | 8 +- ...tch-ui_views_window_custom__frame__view.cc | 12 +- .../patch-ui_views_window_dialog__delegate.cc | 4 +- ...patch-ui_views_window_frame__background.cc | 2 +- .../files/patch-ui_webui_resources_js_cr.js | 2 +- www/chromium/files/patch-v8_BUILD.gn | 6 +- .../files/patch-v8_include_v8config.h | 8 +- www/chromium/files/patch-v8_src_api_api.cc | 4 +- www/chromium/files/patch-v8_src_base_cpu.cc | 6 +- ...h-v8_src_base_platform_platform-freebsd.cc | 2 +- ...tch-v8_src_base_platform_platform-posix.cc | 2 +- www/chromium/files/patch-v8_src_d8_d8.cc | 12 +- www/chromium/files/patch-weblayer_BUILD.gn | 4 +- ...layer_app_content__main__delegate__impl.cc | 10 +- ...ayer_browser_browser__main__parts__impl.cc | 14 +- ..._browser_content__browser__client__impl.cc | 12 +- ...r_browser_content__browser__client__impl.h | 17 -- ...owser_system__network__context__manager.cc | 10 +- .../patch-weblayer_common_weblayer__paths.cc | 10 +- www/chromium/files/sndio_input.cc | 2 +- www/chromium/files/sndio_output.cc | 2 +- www/chromium/pkg-plist | 264 ++++++++++++------ 942 files changed, 4616 insertions(+), 3407 deletions(-) create mode 100644 www/chromium/files/patch-base_allocator_allocator.gni create mode 100644 www/chromium/files/patch-base_allocator_partition__allocator_address__pool__manager.cc create mode 100644 www/chromium/files/patch-base_allocator_partition__allocator_partition__bucket.cc create mode 100644 www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc create mode 100644 www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h create mode 100644 www/chromium/files/patch-base_files_file__path__watcher__freebsd.cc delete mode 100644 www/chromium/files/patch-base_files_file__path__watcher__stub.cc create mode 100644 www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc delete mode 100644 www/chromium/files/patch-base_trace__event_process__memory__dump.h create mode 100644 www/chromium/files/patch-chrome_browser_apps_platform__apps_api_media__galleries_media__galleries__apitest.cc create mode 100644 www/chromium/files/patch-chrome_browser_apps_platform__apps_api_media__galleries_media__galleries__watch__apitest.cc rename www/chromium/files/{patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc => patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc} (68%) create mode 100644 www/chromium/files/patch-chrome_browser_media_audio__service__util.cc delete mode 100644 www/chromium/files/patch-chrome_browser_ui_views_first__run__dialog.cc create mode 100644 www/chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc delete mode 100644 www/chromium/files/patch-chrome_browser_ui_views_web__apps_pwa__confirmation__bubble__view.cc create mode 100644 www/chromium/files/patch-chrome_browser_ui_webui_webui__js__error_webui__js__error__ui.cc create mode 100644 www/chromium/files/patch-chrome_browser_web__applications_components_web__app__run__on__os__login.cc delete mode 100644 www/chromium/files/patch-chrome_test_base_chrome__test__launcher.cc delete mode 100644 www/chromium/files/patch-chrome_test_base_testing__browser__process.h create mode 100644 www/chromium/files/patch-chrome_utility_services.cc create mode 100644 www/chromium/files/patch-chromecast_app_cast__main__delegate.cc create mode 100644 www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.h create mode 100644 www/chromium/files/patch-chromecast_browser_cast__content__browser__client__receiver__bindings.cc create mode 100644 www/chromium/files/patch-chromecast_browser_metrics_cast__browser__metrics.cc create mode 100644 www/chromium/files/patch-chromecast_browser_metrics_cast__browser__metrics.h delete mode 100644 www/chromium/files/patch-content_browser_webui_web__ui__main__frame__observer.cc delete mode 100644 www/chromium/files/patch-content_browser_webui_web__ui__main__frame__observer.h create mode 100644 www/chromium/files/patch-content_public_browser_font__access__context.h create mode 100644 www/chromium/files/patch-gpu_vulkan_vulkan__image.cc create mode 100644 www/chromium/files/patch-gpu_vulkan_vulkan__image.h delete mode 100644 www/chromium/files/patch-media_base_status.cc create mode 100644 www/chromium/files/patch-media_base_vector__math.cc create mode 100644 www/chromium/files/patch-media_video_video__encode__accelerator__adapter__test.cc create mode 100644 www/chromium/files/patch-net_base_network__change__notifier__posix.cc create mode 100644 www/chromium/files/patch-net_base_network__interfaces__posix.cc delete mode 100644 www/chromium/files/patch-net_base_network__interfaces__posix.h create mode 100644 www/chromium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc delete mode 100644 www/chromium/files/patch-services_network_network__context.cc create mode 100644 www/chromium/files/patch-third__party_angle_src_common_debug.h delete mode 100644 www/chromium/files/patch-third__party_angle_third__party_vulkan-loader_src_loader_vk__loader__platform.h create mode 100644 www/chromium/files/patch-third__party_blink_public_platform_platform.h create mode 100644 www/chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__webcodecs__video__frame.cc create mode 100644 www/chromium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_gn_BUILD.gn delete mode 100644 www/chromium/files/patch-third__party_perfetto_include_perfetto_ext_base_event__fd.h create mode 100644 www/chromium/files/patch-third__party_perfetto_src_base_ctrl__c__handler.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_base_file__utils.cc delete mode 100644 www/chromium/files/patch-third__party_perfetto_src_base_subprocess.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_base_subprocess__posix.cc delete mode 100644 www/chromium/files/patch-third__party_perfetto_src_base_thread__task__runner.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_base_utils.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_base_watchdog__posix.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_trace__processor_read__trace.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_trace__processor_trace__processor__shell.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_traced_service_service.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_tracing_ipc_default__socket.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_tracing_ipc_memfd.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_tracing_ipc_posix__shared__memory.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_src_tracing_ipc_posix__shared__memory.h create mode 100644 www/chromium/files/patch-third__party_perfetto_src_tracing_platform__posix.cc create mode 100644 www/chromium/files/patch-third__party_perfetto_tools_busy__threads_busy__threads.cc create mode 100644 www/chromium/files/patch-third__party_vulkan-deps_glslang_src_BUILD.gn rename www/chromium/files/{patch-third__party_angle_third__party_vulkan-loader_src_loader_loader.c => patch-third__party_vulkan-deps_vulkan-loader_src_loader_loader.c} (69%) create mode 100644 www/chromium/files/patch-third__party_vulkan-deps_vulkan-loader_src_loader_vk__loader__platform.h rename www/chromium/files/{patch-third__party_angle_third__party_vulkan-validation-layers_src_layers_vk__loader__platform.h => patch-third__party_vulkan-deps_vulkan-validation-layers_src_layers_vk__loader__platform.h} (53%) delete mode 100644 www/chromium/files/patch-third__party_zlib_BUILD.gn create mode 100644 www/chromium/files/patch-tools_gn_src_base_files_scoped__file.cc delete mode 100644 www/chromium/files/patch-ui_base_data__transfer__policy_data__transfer__endpoint.h delete mode 100644 www/chromium/files/patch-weblayer_browser_content__browser__client__impl.h diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 88c67d2f..8e63c5db 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -2,7 +2,7 @@ # $FreeBSD: head/www/chromium/Makefile 563913 2021-02-03 19:46:35Z sunpoet $ PORTNAME= chromium -PORTVERSION= 88.0.4324.150 +PORTVERSION= 89.0.4389.90 CATEGORIES= www java MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ LOCAL/rene/chromium/:fonts @@ -121,18 +121,25 @@ GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for FreeBSD use ONLY. For your own distribution, # please get your own set of keys. -GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" \ - google_default_client_id="996322985003.apps.googleusercontent.com" \ - google_default_client_secret="IR1za9-1VK0zZ0f_O8MVFicn" +GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" + SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" -OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS TEST +OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO TEST CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO +OPTIONS_RADIO= KERBEROS +OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT +HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) +HEIMDAL_BASE_DESC= Heimdal Kerberos (base) +MIT_DESC= MIT Kerberos (security/krb5) +HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal +MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 + OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS SNDIO OPTIONS_SUB= yes @@ -156,19 +163,23 @@ DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ - WANTSPACE="lots of free disk space (~ 13GB)" + WANTSPACE="13 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ - WANTSPACE="a fair amount of free disk space (~ 6.5GB)" + WANTSPACE="6.5 GB" DRIVER_MAKE_ARGS= chromedriver KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false +LTO_VARS= GN_ARGS+=use_thin_lto=true \ + GN_ARGS+=thin_lto_enable_optimizations=true \ + WANTSPACE="14 GB" + PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false @@ -188,8 +199,16 @@ TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} \ .include +.if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) +IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base +.endif + .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-build_config_compiler_pgo_pgo.gni + +.if ${PORT_OPTIONS:MLTO} +BROKEN+= does not build with LTO on FreeBSD < 13, needs LLVM 11+ +.endif .endif # swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only @@ -215,7 +234,7 @@ MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Chromium, you should have around 2GB of memory" - @${ECHO_MSG} "and ${WANTSPACE}." + @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} post-extract-TEST-on: @@ -324,6 +343,8 @@ do-install: post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} + ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ + ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 6acd3f5b..853ae86b 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1612555606 -SHA256 (chromium-88.0.4324.150.tar.xz) = ae12e94392986c6b8ea4413356a49bae0a19356ffe2ea95495303cf2decb38c3 -SIZE (chromium-88.0.4324.150.tar.xz) = 857377456 -SHA256 (chromium-88.0.4324.150-testdata.tar.xz) = 9b9be53ed5259f32e38ae5e03e960b96fa6933de8094213bfff632b5635ce7e7 -SIZE (chromium-88.0.4324.150-testdata.tar.xz) = 257453172 +TIMESTAMP = 1615805841 +SHA256 (chromium-89.0.4389.90.tar.xz) = 11c6089c5fdd921216aa4eb34b52818a9b091cad655a24aed0982d29e65b279a +SIZE (chromium-89.0.4389.90.tar.xz) = 890844888 +SHA256 (chromium-89.0.4389.90-testdata.tar.xz) = d5c2ac5a11f23ae8d28925dce5875baf370feed30319fab0875f65c80be10d2d +SIZE (chromium-89.0.4389.90-testdata.tar.xz) = 257730924 SHA256 (test_fonts-85.tar.xz) = f22b61b3639acb147c98ec2e2305d8b96f0b55c8c74c40e2ea696402fae8cef9 SIZE (test_fonts-85.tar.xz) = 9511984 diff --git a/www/chromium/files/audio_manager_openbsd.cc b/www/chromium/files/audio_manager_openbsd.cc index ee293b9d..05219308 100644 --- a/www/chromium/files/audio_manager_openbsd.cc +++ b/www/chromium/files/audio_manager_openbsd.cc @@ -80,7 +80,7 @@ AudioManagerOpenBSD::AudioManagerOpenBSD(std::unique_ptr audio_thre AudioLogFactory* audio_log_factory) : AudioManagerBase(std::move(audio_thread), audio_log_factory) { - DLOG(WARNING) << "AudioManagerOpenBSD"; + DLOG(INFO) << "AudioManagerOpenBSD"; SetMaxOutputStreamsAllowed(kMaxOutputStreams); } @@ -147,14 +147,14 @@ AudioParameters AudioManagerOpenBSD::GetPreferredOutputStreamParameters( AudioInputStream* AudioManagerOpenBSD::MakeInputStream( const AudioParameters& params) { - DLOG(WARNING) << "MakeInputStream"; + DLOG(INFO) << "MakeInputStream"; return new SndioAudioInputStream(this, AudioDeviceDescription::kDefaultDeviceId, params); } AudioOutputStream* AudioManagerOpenBSD::MakeOutputStream( const AudioParameters& params) { - DLOG(WARNING) << "MakeOutputStream"; + DLOG(INFO) << "MakeOutputStream"; return new SndioAudioOutputStream(params, this); } #endif @@ -162,7 +162,7 @@ AudioOutputStream* AudioManagerOpenBSD::MakeOutputStream( std::unique_ptr CreateAudioManager( std::unique_ptr audio_thread, AudioLogFactory* audio_log_factory) { - DLOG(WARNING) << "CreateAudioManager"; + DLOG(INFO) << "CreateAudioManager"; #if defined(USE_SNDIO) UMA_HISTOGRAM_ENUMERATION("Media.OpenBSDAudioIO", kSndio, kAudioIOMax + 1); return std::make_unique(std::move(audio_thread), diff --git a/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni b/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni index 1d59abc7..4c4f7d14 100644 --- a/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni +++ b/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni @@ -1,11 +1,11 @@ ---- build/config/compiler/pgo/pgo.gni.orig 2021-01-18 21:28:45 UTC +--- build/config/compiler/pgo/pgo.gni.orig 2021-03-12 23:57:15 UTC +++ build/config/compiler/pgo/pgo.gni -@@ -13,7 +13,7 @@ declare_args() { - # 2 : Used during the PGO (optimization) phase. - chrome_pgo_phase = 0 - if (is_official_build && -- (is_win || is_mac || (is_linux && !chromeos_is_browser_only && !is_chromecast))) { -+ (is_win || is_mac || (is_linux && !chromeos_is_browser_only && !is_chromecast && !is_bsd))) { +@@ -16,7 +16,7 @@ declare_args() { + # TODO(crbug.com/1052397): Remove chromeos_is_browser_only once + # target_os switch for lacros-chrome is completed. + (is_win || is_mac || +- (is_linux && !chromeos_is_browser_only && !is_chromecast))) { ++ (is_linux && !chromeos_is_browser_only && !is_chromecast && !is_bsd))) { chrome_pgo_phase = 2 } diff --git a/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h index fa954c72..500335ed 100644 --- a/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h +++ b/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h @@ -1,4 +1,4 @@ ---- third_party/pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2021-01-18 21:31:51 UTC +--- third_party/pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2021-03-13 00:03:39 UTC +++ third_party/pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h @@ -16,7 +16,7 @@ #if defined(OS_ANDROID) diff --git a/www/chromium/files/patch-BUILD.gn b/www/chromium/files/patch-BUILD.gn index 65c3f3f3..7c65f041 100644 --- a/www/chromium/files/patch-BUILD.gn +++ b/www/chromium/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2021-01-18 21:28:44 UTC +--- BUILD.gn.orig 2021-03-12 23:57:14 UTC +++ BUILD.gn -@@ -424,7 +424,7 @@ group("gn_all") { +@@ -421,7 +421,7 @@ group("gn_all") { ] } @@ -9,7 +9,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -467,8 +467,6 @@ group("gn_all") { +@@ -464,8 +464,6 @@ group("gn_all") { "//net:disk_cache_memory_test", "//net:quic_client", "//net:quic_server", @@ -18,7 +18,7 @@ "//testing:empty_main", ] -@@ -523,10 +521,6 @@ group("gn_all") { +@@ -520,10 +518,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", -@@ -586,10 +580,6 @@ group("gn_all") { +@@ -582,10 +576,6 @@ group("gn_all") { "//mojo:mojo_perftests", "//services/service_manager/public/cpp", "//testing/gmock:gmock_main", @@ -40,7 +40,7 @@ ] if (!is_android) { -@@ -667,7 +657,7 @@ group("gn_all") { +@@ -663,7 +653,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)" ] } -@@ -682,7 +672,7 @@ group("gn_all") { +@@ -678,7 +668,7 @@ group("gn_all") { } } @@ -58,7 +58,7 @@ deps += [ "//third_party/crashpad/crashpad:crashpad_tests", "//third_party/crashpad/crashpad/handler:crashpad_handler", -@@ -802,7 +792,6 @@ group("gn_all") { +@@ -790,7 +780,6 @@ group("gn_all") { "//chrome/browser/vr:vr_common_perftests", "//chrome/browser/vr:vr_common_unittests", "//chrome/browser/vr:vr_pixeltests", @@ -66,7 +66,7 @@ ] if (is_android) { deps += [ "//chrome/browser/android/vr:vr_android_unittests" ] -@@ -1090,7 +1079,7 @@ if (!is_ios) { +@@ -1081,7 +1070,7 @@ if (!is_ios) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -75,7 +75,7 @@ data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } -@@ -1099,7 +1088,7 @@ if (!is_ios) { +@@ -1090,7 +1079,7 @@ if (!is_ios) { data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } @@ -84,7 +84,7 @@ data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -1320,9 +1309,6 @@ group("chromium_builder_perf") { +@@ -1315,9 +1304,6 @@ group("chromium_builder_perf") { if (is_win) { data_deps += [ "//chrome/installer/mini_installer:mini_installer" ] diff --git a/www/chromium/files/patch-apps_app__restore__service__browsertest.cc b/www/chromium/files/patch-apps_app__restore__service__browsertest.cc index 7ae62153..6ce01dd4 100644 --- a/www/chromium/files/patch-apps_app__restore__service__browsertest.cc +++ b/www/chromium/files/patch-apps_app__restore__service__browsertest.cc @@ -1,4 +1,4 @@ ---- apps/app_restore_service_browsertest.cc.orig 2020-11-13 06:36:34 UTC +--- apps/app_restore_service_browsertest.cc.orig 2021-03-12 23:57:14 UTC +++ apps/app_restore_service_browsertest.cc @@ -148,7 +148,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, FileAcc } diff --git a/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc b/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc index 3d880b5a..62d53b5a 100644 --- a/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc +++ b/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc @@ -1,6 +1,6 @@ ---- apps/ui/views/app_window_frame_view.cc.orig 2021-01-18 21:28:44 UTC +--- apps/ui/views/app_window_frame_view.cc.orig 2021-03-12 23:57:14 UTC +++ apps/ui/views/app_window_frame_view.cc -@@ -139,7 +139,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient +@@ -137,7 +137,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient gfx::Rect window_bounds = client_bounds; // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is // complete. diff --git a/www/chromium/files/patch-ash_display_mirror__window__controller.cc b/www/chromium/files/patch-ash_display_mirror__window__controller.cc index 181a4bb2..ec171e5a 100644 --- a/www/chromium/files/patch-ash_display_mirror__window__controller.cc +++ b/www/chromium/files/patch-ash_display_mirror__window__controller.cc @@ -1,4 +1,4 @@ ---- ash/display/mirror_window_controller.cc.orig 2021-01-18 21:28:44 UTC +--- ash/display/mirror_window_controller.cc.orig 2021-03-12 23:57:14 UTC +++ ash/display/mirror_window_controller.cc @@ -286,7 +286,11 @@ void MirrorWindowController::UpdateWindow( return info.id() == iter->first; diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn index c5c95ee5..9f17ec07 100644 --- a/www/chromium/files/patch-base_BUILD.gn +++ b/www/chromium/files/patch-base_BUILD.gn @@ -1,6 +1,6 @@ ---- base/BUILD.gn.orig 2021-01-18 21:28:44 UTC +--- base/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ base/BUILD.gn -@@ -873,7 +873,7 @@ component("base") { +@@ -885,7 +885,7 @@ component("base") { "timer/hi_res_timer_manager_posix.cc", ] @@ -9,7 +9,7 @@ sources += [ "cpu_affinity_posix.cc", "cpu_affinity_posix.h", -@@ -884,6 +884,11 @@ component("base") { +@@ -896,6 +896,11 @@ component("base") { "profiler/thread_delegate_posix.h", ] } @@ -21,7 +21,7 @@ } if (is_win) { -@@ -1293,7 +1298,7 @@ component("base") { +@@ -1301,7 +1306,7 @@ component("base") { # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. if (!use_sysroot && @@ -30,7 +30,7 @@ host_toolchain != "//build/toolchain/cros:host") { libs += [ "atomic" ] } -@@ -1343,7 +1348,7 @@ component("base") { +@@ -1351,7 +1356,7 @@ component("base") { "allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.cc", ] } @@ -39,7 +39,7 @@ sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ] } if (is_win) { -@@ -1969,6 +1974,34 @@ component("base") { +@@ -1978,6 +1983,34 @@ component("base") { } } @@ -54,9 +54,9 @@ + "system/sys_info_linux.cc" + ] + sources += [ ++ "files/file_path_watcher_freebsd.cc", + "files/file_path_watcher_kqueue.cc", + "files/file_path_watcher_kqueue.h", -+ "files/file_path_watcher_stub.cc", + "process/memory_stubs.cc", + "process/process_handle_freebsd.cc", + "process/process_iterator_freebsd.cc", @@ -74,21 +74,21 @@ # iOS if (is_ios) { sources -= [ -@@ -3111,7 +3144,7 @@ test("base_unittests") { +@@ -3130,7 +3163,7 @@ if (build_base_unittests) { + } } - } -- if (is_linux || is_chromeos) { -+ if ((is_linux || is_chromeos) && !is_bsd) { - sources += [ "debug/proc_maps_linux_unittest.cc" ] - } +- if (is_linux || is_chromeos) { ++ if ((is_linux || is_chromeos) && !is_bsd) { + sources += [ "debug/proc_maps_linux_unittest.cc" ] + } -@@ -3152,7 +3185,7 @@ test("base_unittests") { - "posix/unix_domain_socket_unittest.cc", - "task/thread_pool/task_tracker_posix_unittest.cc", - ] -- if (!is_nacl && !is_apple) { -+ if (!is_nacl && !is_apple && !is_bsd) { - sources += [ - "cpu_affinity_posix_unittest.cc", - "profiler/stack_copier_signal_unittest.cc", +@@ -3171,7 +3204,7 @@ if (build_base_unittests) { + "posix/unix_domain_socket_unittest.cc", + "task/thread_pool/task_tracker_posix_unittest.cc", + ] +- if (!is_nacl && !is_apple) { ++ if (!is_nacl && !is_apple && !is_bsd) { + sources += [ + "cpu_affinity_posix_unittest.cc", + "profiler/stack_copier_signal_unittest.cc", diff --git a/www/chromium/files/patch-base_allocator_allocator.gni b/www/chromium/files/patch-base_allocator_allocator.gni new file mode 100644 index 00000000..7db05a57 --- /dev/null +++ b/www/chromium/files/patch-base_allocator_allocator.gni @@ -0,0 +1,11 @@ +--- base/allocator/allocator.gni.orig 2021-03-12 23:57:15 UTC ++++ base/allocator/allocator.gni +@@ -58,7 +58,7 @@ declare_args() { + # not, and redesign or remove the flag accordingly. We may want to assert a + # possible conflict between |use_allocator = "partition"| and + # |use_partition_alloc = true| rather than prioritizing use_partition_alloc. +- use_partition_alloc = !is_ios # Never use PartitionAlloc on iOS. ++ use_partition_alloc = !is_ios # Never use PartitionAlloc on iOS. + } + + if (!use_partition_alloc && use_allocator == "partition") { diff --git a/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc b/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc index d8774004..be08a20e 100644 --- a/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc +++ b/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc @@ -1,4 +1,4 @@ ---- base/allocator/allocator_shim_default_dispatch_to_glibc.cc.orig 2020-11-13 06:36:34 UTC +--- base/allocator/allocator_shim_default_dispatch_to_glibc.cc.orig 2021-03-12 23:57:15 UTC +++ base/allocator/allocator_shim_default_dispatch_to_glibc.cc @@ -6,18 +6,28 @@ #include "base/compiler_specific.h" diff --git a/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h b/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h index b5135ca5..8a09d964 100644 --- a/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h +++ b/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h @@ -1,4 +1,4 @@ ---- base/allocator/allocator_shim_override_libc_symbols.h.orig 2021-01-18 21:28:44 UTC +--- base/allocator/allocator_shim_override_libc_symbols.h.orig 2021-03-12 23:57:15 UTC +++ base/allocator/allocator_shim_override_libc_symbols.h @@ -16,6 +16,10 @@ #include diff --git a/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc b/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc index 9a0e6af6..2c53c240 100644 --- a/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc +++ b/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc @@ -1,6 +1,6 @@ ---- base/allocator/allocator_shim_unittest.cc.orig 2021-01-18 21:28:44 UTC +--- base/allocator/allocator_shim_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/allocator/allocator_shim_unittest.cc -@@ -367,7 +367,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { +@@ -369,7 +369,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { #endif // !OS_WIN @@ -9,7 +9,7 @@ void* memalign_ptr = memalign(128, 53); ASSERT_NE(nullptr, memalign_ptr); ASSERT_EQ(0u, reinterpret_cast(memalign_ptr) % 128); -@@ -383,7 +383,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { +@@ -385,7 +385,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { ASSERT_GE(aligned_allocs_intercepted_by_size[kPageSize], 1u); #endif // !defined(OS_ANDROID) @@ -18,7 +18,7 @@ // See allocator_shim_override_glibc_weak_symbols.h for why we intercept // internal libc symbols. -@@ -410,7 +410,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { +@@ -412,7 +412,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { free(zero_alloc_ptr); ASSERT_GE(frees_intercepted_by_addr[Hash(zero_alloc_ptr)], 1u); @@ -27,7 +27,7 @@ free(memalign_ptr); ASSERT_GE(frees_intercepted_by_addr[Hash(memalign_ptr)], 1u); -@@ -419,7 +419,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { +@@ -421,7 +421,7 @@ TEST_F(AllocatorShimTest, InterceptLibcSymbols) { ASSERT_GE(frees_intercepted_by_addr[Hash(pvalloc_ptr)], 1u); #endif // !defined(OS_ANDROID) @@ -36,7 +36,7 @@ #if !defined(OS_WIN) free(posix_memalign_ptr); -@@ -595,7 +595,7 @@ static size_t GetUsableSize(void* ptr) { +@@ -614,7 +614,7 @@ static size_t GetUsableSize(void* ptr) { static size_t GetUsableSize(void* ptr) { return malloc_size(ptr); } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_address__pool__manager.cc b/www/chromium/files/patch-base_allocator_partition__allocator_address__pool__manager.cc new file mode 100644 index 00000000..bbee8be9 --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_address__pool__manager.cc @@ -0,0 +1,31 @@ +--- base/allocator/partition_allocator/address_pool_manager.cc.orig 2021-03-12 23:57:15 UTC ++++ base/allocator/partition_allocator/address_pool_manager.cc +@@ -8,6 +8,13 @@ + #include + #endif + ++#if defined(OS_FREEBSD) ++#include ++#include ++ ++#include "base/posix/eintr_wrapper.h" ++#endif ++ + #include + #include + +@@ -50,6 +57,14 @@ void DecommitPages(void* address, size_t size) { + void* ptr = mmap(address, size, PROT_NONE, + MAP_FIXED | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); + PA_CHECK(ptr == address); ++#elif defined(OS_FREEBSD) ++ int fd = HANDLE_EINTR(open("/dev/zero", O_RDONLY)); ++ PA_CHECK(fd != -1); ++ ++ void *ptr = mmap(address, size, PROT_NONE, ++ MAP_FIXED | MAP_PRIVATE, fd, 0); ++ PA_PCHECK(ptr == address); ++ HANDLE_EINTR(close(fd)); + #else + DecommitSystemPages(address, size, PageUpdatePermissions); + #endif diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h index e4554498..07f3a708 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2021-01-18 21:28:44 UTC +--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2021-03-12 23:57:15 UTC +++ base/allocator/partition_allocator/page_allocator_internals_posix.h -@@ -26,7 +26,7 @@ +@@ -27,12 +27,16 @@ #if defined(OS_ANDROID) #include #endif @@ -9,3 +9,50 @@ #include #include + #endif + ++#if defined(OS_FREEBSD) ++#include ++#endif ++ + #include "base/allocator/partition_allocator/page_allocator.h" + + #ifndef MAP_ANONYMOUS +@@ -168,12 +172,19 @@ void* SystemAllocPagesInternal(void* hint, + PA_DCHECK(PageTag::kFirst <= page_tag); + PA_DCHECK(PageTag::kLast >= page_tag); + int fd = VM_MAKE_TAG(static_cast(page_tag)); ++#elif defined(OS_FREEBSD) ++ int fd = HANDLE_EINTR(open("/dev/zero", O_RDWR | O_CLOEXEC)); ++ PA_PCHECK(fd != -1); + #else + int fd = -1; + #endif + + int access_flag = GetAccessFlags(accessibility); ++#if defined(OS_FREEBSD) ++ int map_flags = MAP_PRIVATE; ++#else + int map_flags = MAP_ANONYMOUS | MAP_PRIVATE; ++#endif + + #if defined(OS_APPLE) + // On macOS 10.14 and higher, executables that are code signed with the +@@ -200,6 +211,8 @@ void* SystemAllocPagesInternal(void* hint, + prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ret, length, + PageTagToName(page_tag)); + } ++#elif defined(OS_FREEBSD) ++ HANDLE_EINTR(close(fd)); + #endif + + return ret; +@@ -294,6 +307,8 @@ void DiscardSystemPagesInternal(void* address, size_t + ret = madvise(address, length, MADV_DONTNEED); + } + PA_PCHECK(ret == 0); ++#elif defined(OS_FREEBSD) ++ PA_PCHECK(0 == madvise(address, length, MADV_FREE)); + #else + // We have experimented with other flags, but with suboptimal results. + // diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.cc index 06b2673b..22f583a2 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.cc @@ -1,12 +1,15 @@ ---- base/allocator/partition_allocator/partition_alloc.cc.orig 2021-01-18 21:28:44 UTC +--- base/allocator/partition_allocator/partition_alloc.cc.orig 2021-03-12 23:57:15 UTC +++ base/allocator/partition_allocator/partition_alloc.cc -@@ -65,6 +65,9 @@ void PartitionAllocGlobalInit(OomFunction on_out_of_me +@@ -56,7 +56,12 @@ void PartitionAllocGlobalInit(OomFunction on_out_of_me + "maximum direct mapped allocation"); + // Check that some of our zanier calculations worked out as expected. - #if ENABLE_TAG_FOR_MTE_CHECKED_PTR - static_assert(kSmallestBucket >= kAlignment, "generic smallest bucket"); -+#elif defined(__i386__) && defined(OS_FREEBSD) ++#if defined(__i386__) && defined(OS_FREEBSD) + // alignof(std::max_align_t) is only 4 on FreeBSD/i386 + static_assert(kSmallestBucket >= kAlignment, "generic smallest bucket"); - #else ++#else static_assert(kSmallestBucket == kAlignment, "generic smallest bucket"); - #endif ++#endif + static_assert(kMaxBucketed == 983040, "generic max bucketed"); + STATIC_ASSERT_OR_PA_CHECK( + MaxSystemPagesPerSlotSpan() < (1 << 8), diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc index 4b234571..56007319 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc @@ -1,26 +1,20 @@ ---- base/allocator/partition_allocator/partition_alloc_unittest.cc.orig 2021-01-18 21:28:44 UTC +--- base/allocator/partition_allocator/partition_alloc_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/allocator/partition_allocator/partition_alloc_unittest.cc -@@ -366,9 +366,13 @@ void FreeFullSlotSpan(PartitionRoot* root, i + metadata->extent.root = root; + // The new structures are all located inside a fresh system page so they + // will all be zeroed out. These DCHECKs are for documentation. ++#if !defined(OS_FREEBSD) + PA_DCHECK(!metadata->extent.super_page_base); + PA_DCHECK(!metadata->extent.super_pages_end); + PA_DCHECK(!metadata->extent.next); ++#endif + PA_DCHECK(PartitionPage::FromPointerNoAlignmentCheck(slot) == + &metadata->page); + + auto* page = &metadata->page; ++#if !defined(OS_FREEBSD) + PA_DCHECK(!page->slot_span_metadata_offset); + PA_DCHECK(!page->slot_span_metadata.next_slot_span); + PA_DCHECK(!page->slot_span_metadata.num_allocated_slots); + PA_DCHECK(!page->slot_span_metadata.num_unprovisioned_slots); + PA_DCHECK(!page->slot_span_metadata.empty_cache_index); ++#endif + page->slot_span_metadata.bucket = &metadata->bucket; + auto* next_entry = new (slot) PartitionFreelistEntry(); + page->slot_span_metadata.SetFreelistHead(next_entry); + ++#if !defined(OS_FREEBSD) + PA_DCHECK(!metadata->bucket.active_slot_spans_head); + PA_DCHECK(!metadata->bucket.empty_slot_spans_head); + PA_DCHECK(!metadata->bucket.decommitted_slot_spans_head); + PA_DCHECK(!metadata->bucket.num_system_pages_per_slot_span); + PA_DCHECK(!metadata->bucket.num_full_slot_spans); ++#endif + metadata->bucket.slot_size = slot_size; + + auto* map_extent = &metadata->direct_map_extent; diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc new file mode 100644 index 00000000..2f293398 --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc @@ -0,0 +1,49 @@ +--- base/allocator/partition_allocator/spinning_mutex.cc.orig 2021-03-12 23:57:15 UTC ++++ base/allocator/partition_allocator/spinning_mutex.cc +@@ -16,9 +16,16 @@ + #include + #endif // defined(PA_HAS_LINUX_KERNEL) + ++#if defined(PA_HAS_FREEBSD_KERNEL) ++#include ++#include ++#include ++#include ++#endif // defined(PA_HAS_FREEBSD_KERNEL) ++ + namespace base { + namespace internal { +-#if defined(PA_HAS_LINUX_KERNEL) ++#if defined(PA_HAS_LINUX_KERNEL) || defined(PA_HAS_FREEBSD_KERNEL) + + void SpinningMutex::FutexWait() { + // Save and restore errno. +@@ -42,8 +49,13 @@ void SpinningMutex::FutexWait() { + // |kLockedContended| anymore. Note that even without spurious wakeups, the + // value of |state_| is not guaranteed when this returns, as another thread + // may get the lock before we get to run. ++#if defined(PA_HAS_LINUX_KERNEL) + int err = syscall(SYS_futex, &state_, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, + kLockedContended, nullptr, nullptr, 0); ++#elif defined(PA_HAS_FREEBSD_KERNEL) ++ int err = _umtx_op(&state_, UMTX_OP_WAIT_UINT_PRIVATE, ++ kLockedContended, nullptr, nullptr); ++#endif + + if (err) { + // These are programming error, check them. +@@ -55,8 +67,14 @@ void SpinningMutex::FutexWait() { + + void SpinningMutex::FutexWake() { + int saved_errno = errno; ++#if defined(PA_HAS_LINUX_KERNEL) + long retval = syscall(SYS_futex, &state_, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, + 1 /* wake up a single waiter */, nullptr, nullptr, 0); ++#elif defined(PA_HAS_FREEBSD_KERNEL) ++ long retval = _umtx_op(&state_, UMTX_OP_WAKE_PRIVATE, ++ 1 /* wake up a single waiter */, nullptr, nullptr); ++#endif ++ + PA_CHECK(retval != -1); + errno = saved_errno; + } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h new file mode 100644 index 00000000..344913dd --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h @@ -0,0 +1,33 @@ +--- base/allocator/partition_allocator/spinning_mutex.h.orig 2021-03-12 23:57:15 UTC ++++ base/allocator/partition_allocator/spinning_mutex.h +@@ -22,7 +22,11 @@ + #define PA_HAS_LINUX_KERNEL + #endif + +-#if defined(PA_HAS_LINUX_KERNEL) || defined(OS_WIN) ++#if defined(OS_FREEBSD) ++#define PA_HAS_FREEBSD_KERNEL ++#endif ++ ++#if defined(PA_HAS_LINUX_KERNEL) || defined(PA_HAS_FREEBSD_KERNEL) || defined(OS_WIN) + #define PA_HAS_SPINNING_MUTEX + #endif + +@@ -66,7 +70,7 @@ class LOCKABLE BASE_EXPORT SpinningMutex { + // as the slow path has better characteristics than SpinLocks's. + static constexpr int kSpinCount = 1000; + +-#if defined(PA_HAS_LINUX_KERNEL) ++#if defined(PA_HAS_LINUX_KERNEL) || defined(PA_HAS_FREEBSD_KERNEL) + void FutexWait(); + void FutexWake(); + +@@ -111,7 +115,7 @@ ALWAYS_INLINE void SpinningMutex::Acquire() { + + inline constexpr SpinningMutex::SpinningMutex() = default; + +-#if defined(PA_HAS_LINUX_KERNEL) ++#if defined(PA_HAS_LINUX_KERNEL) || defined(PA_HAS_FREEBSD_KERNEL) + + ALWAYS_INLINE bool SpinningMutex::Try() { + int expected = kUnlocked; diff --git a/www/chromium/files/patch-base_base__switches.cc b/www/chromium/files/patch-base_base__switches.cc index 629e1c6e..7f700892 100644 --- a/www/chromium/files/patch-base_base__switches.cc +++ b/www/chromium/files/patch-base_base__switches.cc @@ -1,15 +1,17 @@ ---- base/base_switches.cc.orig 2020-11-13 06:36:34 UTC +--- base/base_switches.cc.orig 2021-03-12 23:57:15 UTC +++ base/base_switches.cc -@@ -117,7 +117,7 @@ const char kDisableHighResTimer[] = "disable-highres-t - const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect"; - #endif +@@ -120,8 +120,8 @@ const char kDisableUsbKeyboardDetect[] = "disable --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ +- !BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_BSD) || (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ ++ !BUILDFLAG(IS_CHROMEOS_LACROS)) // 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 -@@ -152,7 +152,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria +@@ -156,7 +156,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria #endif diff --git a/www/chromium/files/patch-base_base__switches.h b/www/chromium/files/patch-base_base__switches.h index e251bbeb..c3627665 100644 --- a/www/chromium/files/patch-base_base__switches.h +++ b/www/chromium/files/patch-base_base__switches.h @@ -1,15 +1,17 @@ ---- base/base_switches.h.orig 2020-11-13 06:36:34 UTC +--- base/base_switches.h.orig 2021-03-12 23:57:15 UTC +++ base/base_switches.h -@@ -39,7 +39,7 @@ extern const char kDisableHighResTimer[]; - extern const char kDisableUsbKeyboardDetect[]; - #endif +@@ -41,8 +41,8 @@ extern const char kDisableUsbKeyboardDetect[]; --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS) && !BUILDFLAG(IS_LACROS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ +- !BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_BSD) || (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ ++ !BUILDFLAG(IS_CHROMEOS_LACROS)) extern const char kDisableDevShmUsage[]; #endif -@@ -55,7 +55,7 @@ extern const char kEnableIdleTracing[]; +@@ -58,7 +58,7 @@ extern const char kEnableIdleTracing[]; extern const char kForceFieldTrialParams[]; #endif diff --git a/www/chromium/files/patch-base_cpu.cc b/www/chromium/files/patch-base_cpu.cc index 747ffeee..c1e85a57 100644 --- a/www/chromium/files/patch-base_cpu.cc +++ b/www/chromium/files/patch-base_cpu.cc @@ -1,4 +1,4 @@ ---- base/cpu.cc.orig 2021-01-18 21:28:44 UTC +--- base/cpu.cc.orig 2021-03-12 23:57:15 UTC +++ base/cpu.cc @@ -16,7 +16,7 @@ @@ -9,9 +9,9 @@ defined(OS_AIX) #include "base/containers/flat_set.h" #include "base/files/file_util.h" -@@ -182,6 +182,14 @@ std::string* CpuInfoBrand() { +@@ -212,6 +212,14 @@ const ProcCpuInfo& ParseProcCpu() { - return brand; + return *info; } +#elif defined(OS_BSD) +std::string* CpuInfoBrand() { @@ -24,12 +24,12 @@ #endif // defined(ARCH_CPU_ARM_FAMILY) && (defined(OS_ANDROID) || // defined(OS_LINUX) || defined(OS_CHROMEOS)) -@@ -305,7 +313,7 @@ void CPU::Initialize() { - } - } - #elif defined(ARCH_CPU_ARM_FAMILY) --#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - cpu_brand_ = *CpuInfoBrand(); +@@ -348,6 +356,8 @@ void CPU::Initialize() { + has_bti_ = hwcap2 & HWCAP2_BTI; + #endif + ++#elif defined(OS_BSD) ++ cpu_brand_ = *CpuInfoBrand(); #elif defined(OS_WIN) // Windows makes high-resolution thread timing information available in + // user-space. diff --git a/www/chromium/files/patch-base_cpu.h b/www/chromium/files/patch-base_cpu.h index 76db98bf..3a2ac0b7 100644 --- a/www/chromium/files/patch-base_cpu.h +++ b/www/chromium/files/patch-base_cpu.h @@ -1,6 +1,6 @@ ---- base/cpu.h.orig 2020-11-16 17:24:49 UTC +--- base/cpu.h.orig 2021-03-12 23:57:15 UTC +++ base/cpu.h -@@ -73,7 +73,7 @@ class BASE_EXPORT CPU final { +@@ -84,7 +84,7 @@ class BASE_EXPORT CPU final { IntelMicroArchitecture GetIntelMicroArchitecture() const; const std::string& cpu_brand() const { return cpu_brand_; } @@ -9,7 +9,7 @@ defined(OS_AIX) enum class CoreType { kUnknown = 0, -@@ -124,7 +124,7 @@ class BASE_EXPORT CPU final { +@@ -135,7 +135,7 @@ class BASE_EXPORT CPU final { // cpuidle driver. using CoreIdleTimes = std::vector; static bool GetCumulativeCoreIdleTimes(CoreIdleTimes&); diff --git a/www/chromium/files/patch-base_debug_debugger__posix.cc b/www/chromium/files/patch-base_debug_debugger__posix.cc index 56b47676..e2dd3991 100644 --- a/www/chromium/files/patch-base_debug_debugger__posix.cc +++ b/www/chromium/files/patch-base_debug_debugger__posix.cc @@ -1,4 +1,4 @@ ---- base/debug/debugger_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/debug/debugger_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/debug/debugger_posix.cc @@ -98,7 +98,7 @@ bool BeingDebugged() { KERN_PROC, diff --git a/www/chromium/files/patch-base_debug_elf__reader.cc b/www/chromium/files/patch-base_debug_elf__reader.cc index b89af4f1..aa96ca6b 100644 --- a/www/chromium/files/patch-base_debug_elf__reader.cc +++ b/www/chromium/files/patch-base_debug_elf__reader.cc @@ -1,4 +1,4 @@ ---- base/debug/elf_reader.cc.orig 2020-11-13 06:36:34 UTC +--- base/debug/elf_reader.cc.orig 2021-03-12 23:57:15 UTC +++ base/debug/elf_reader.cc @@ -38,7 +38,9 @@ using Nhdr = Elf64_Nhdr; using Word = Elf64_Word; diff --git a/www/chromium/files/patch-base_debug_proc__maps__linux.cc b/www/chromium/files/patch-base_debug_proc__maps__linux.cc index 71602a3c..5f4e50d8 100644 --- a/www/chromium/files/patch-base_debug_proc__maps__linux.cc +++ b/www/chromium/files/patch-base_debug_proc__maps__linux.cc @@ -1,6 +1,6 @@ ---- base/debug/proc_maps_linux.cc.orig 2020-11-13 06:36:34 UTC +--- base/debug/proc_maps_linux.cc.orig 2021-03-12 23:57:15 UTC +++ base/debug/proc_maps_linux.cc -@@ -13,7 +13,7 @@ +@@ -13,13 +13,18 @@ #include "base/strings/string_split.h" #include "build/build_config.h" @@ -9,7 +9,6 @@ #include #endif -@@ -29,6 +29,11 @@ namespace base { namespace debug { @@ -21,7 +20,7 @@ // Scans |proc_maps| starting from |pos| returning true if the gate VMA was // found, otherwise returns false. static bool ContainsGateVMA(std::string* proc_maps, size_t pos) { -@@ -44,15 +49,16 @@ static bool ContainsGateVMA(std::string* proc_maps, si +@@ -35,15 +40,16 @@ static bool ContainsGateVMA(std::string* proc_maps, si return false; #endif } @@ -40,7 +39,7 @@ return false; } proc_maps->clear(); -@@ -66,7 +72,7 @@ bool ReadProcMaps(std::string* proc_maps) { +@@ -57,7 +63,7 @@ bool ReadProcMaps(std::string* proc_maps) { ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize)); if (bytes_read < 0) { @@ -49,7 +48,7 @@ proc_maps->clear(); return false; } -@@ -77,6 +83,7 @@ bool ReadProcMaps(std::string* proc_maps) { +@@ -68,6 +74,7 @@ bool ReadProcMaps(std::string* proc_maps) { if (bytes_read == 0) break; @@ -57,7 +56,7 @@ // The gate VMA is handled as a special case after seq_file has finished // iterating through all entries in the virtual memory table. // -@@ -87,6 +94,7 @@ bool ReadProcMaps(std::string* proc_maps) { +@@ -78,6 +85,7 @@ bool ReadProcMaps(std::string* proc_maps) { // Avoid this by searching for the gate VMA and breaking early. if (ContainsGateVMA(proc_maps, pos)) break; @@ -65,17 +64,18 @@ } return true; -@@ -115,10 +123,32 @@ bool ParseProcMaps(const std::string& input, +@@ -105,11 +113,32 @@ bool ParseProcMaps(const std::string& input, + MappedMemoryRegion region; const char* line = lines[i].c_str(); - char permissions[5] = {'\0'}; // Ensure NUL-terminated string. +- char permissions[5] = {'\0'}; // Ensure NUL-terminated string. ++ char permissions[6] = {'\0'}; // Ensure NUL-terminated string. + int path_index = 0; + +#if defined(OS_BSD) + if (lines[i].empty()) + continue; + -+ + char cow; + + // Format: @@ -83,7 +83,7 @@ + // start end resident private_resident obj perms ref_count shadow_count flags cow needs_copy type fullpath cred ruid + // 0x200000 0x202000 2 6 0xfffff80005be9000 r-- 3 1 0x1000 COW NC vnode /bin/cat NCH -1 + // -+ if (sscanf(line, "%" SCNxPTR " %" SCNxPTR " %*ld %*ld %*llx %3c %*d %*d %*x %c%*s %*s %*s %n", ++ if (sscanf(line, "%" SCNxPTR " %" SCNxPTR " %*ld %*ld %*[^ ] %5[^ ] %*d %*d %*x %c%*s %*s %*s %n", + ®ion.start, ®ion.end, permissions, &cow, &path_index) < 4) { + DPLOG(WARNING) << "sscanf failed for line: " << line; + return false; @@ -99,7 +99,7 @@ // Sample format from man 5 proc: // -@@ -134,6 +164,7 @@ bool ParseProcMaps(const std::string& input, +@@ -125,6 +154,7 @@ bool ParseProcMaps(const std::string& input, DPLOG(WARNING) << "sscanf failed for line: " << line; return false; } @@ -107,7 +107,7 @@ region.permissions = 0; -@@ -152,14 +183,31 @@ bool ParseProcMaps(const std::string& input, +@@ -143,14 +173,31 @@ bool ParseProcMaps(const std::string& input, else if (permissions[2] != '-') return false; diff --git a/www/chromium/files/patch-base_debug_stack__trace.cc b/www/chromium/files/patch-base_debug_stack__trace.cc index 39376795..f1f952c8 100644 --- a/www/chromium/files/patch-base_debug_stack__trace.cc +++ b/www/chromium/files/patch-base_debug_stack__trace.cc @@ -1,4 +1,4 @@ ---- base/debug/stack_trace.cc.orig 2020-11-13 06:36:34 UTC +--- base/debug/stack_trace.cc.orig 2021-03-12 23:57:15 UTC +++ base/debug/stack_trace.cc @@ -15,7 +15,7 @@ diff --git a/www/chromium/files/patch-base_debug_stack__trace.h b/www/chromium/files/patch-base_debug_stack__trace.h index 49002414..00dd078e 100644 --- a/www/chromium/files/patch-base_debug_stack__trace.h +++ b/www/chromium/files/patch-base_debug_stack__trace.h @@ -1,4 +1,4 @@ ---- base/debug/stack_trace.h.orig 2020-11-13 06:36:34 UTC +--- base/debug/stack_trace.h.orig 2021-03-12 23:57:15 UTC +++ base/debug/stack_trace.h @@ -19,6 +19,7 @@ #if !defined(OS_NACL) diff --git a/www/chromium/files/patch-base_debug_stack__trace__posix.cc b/www/chromium/files/patch-base_debug_stack__trace__posix.cc index 962c7386..3522bc09 100644 --- a/www/chromium/files/patch-base_debug_stack__trace__posix.cc +++ b/www/chromium/files/patch-base_debug_stack__trace__posix.cc @@ -1,4 +1,4 @@ ---- base/debug/stack_trace_posix.cc.orig 2021-01-18 21:28:44 UTC +--- base/debug/stack_trace_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/debug/stack_trace_posix.cc @@ -35,7 +35,7 @@ #include @@ -9,7 +9,29 @@ #include "base/debug/proc_maps_linux.h" #endif -@@ -696,7 +696,11 @@ class SandboxSymbolizeHelper { +@@ -659,13 +659,21 @@ class SandboxSymbolizeHelper { + // Reads /proc/self/maps. + std::string contents; + if (!ReadProcMaps(&contents)) { ++#if defined(OS_BSD) ++ LOG(ERROR) << "Failed to read /proc/curproc/map"; ++#else + LOG(ERROR) << "Failed to read /proc/self/maps"; ++#endif + return false; + } + + // Parses /proc/self/maps. + if (!ParseProcMaps(contents, ®ions_)) { ++#if defined(OS_BSD) ++ LOG(ERROR) << "Failed to parse the contents of /proc/curproc/map"; ++#else + LOG(ERROR) << "Failed to parse the contents of /proc/self/maps"; ++#endif + return false; + } + +@@ -696,7 +704,11 @@ class SandboxSymbolizeHelper { // Skip regions with empty file names. continue; } diff --git a/www/chromium/files/patch-base_debug_stack__trace__unittest.cc b/www/chromium/files/patch-base_debug_stack__trace__unittest.cc index bdbdb57f..908692ed 100644 --- a/www/chromium/files/patch-base_debug_stack__trace__unittest.cc +++ b/www/chromium/files/patch-base_debug_stack__trace__unittest.cc @@ -1,4 +1,4 @@ ---- base/debug/stack_trace_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/debug/stack_trace_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/debug/stack_trace_unittest.cc @@ -88,6 +88,7 @@ TEST_F(StackTraceTest, OutputToStream) { std::string::npos) @@ -29,3 +29,12 @@ // The test is used for manual testing, e.g., to see the raw output. TEST_F(StackTraceTest, DebugOutputToStream) { +@@ -361,7 +363,7 @@ TEST_F(StackTraceTest, MAYBE_TraceStackFramePointers) + // sometimes we read fp / pc from the place that previously held + // uninitialized value. + // TODO(crbug.com/1132511): Enable this test on Fuchsia. +-#if defined(MEMORY_SANITIZER) || defined(OS_FUCHSIA) ++#if defined(MEMORY_SANITIZER) || defined(OS_FUCHSIA) || defined(OS_BSD) + #define MAYBE_TraceStackFramePointersFromBuffer \ + DISABLED_TraceStackFramePointersFromBuffer + #else diff --git a/www/chromium/files/patch-base_files_file__path__unittest.cc b/www/chromium/files/patch-base_files_file__path__unittest.cc index ca4d131d..ff04f093 100644 --- a/www/chromium/files/patch-base_files_file__path__unittest.cc +++ b/www/chromium/files/patch-base_files_file__path__unittest.cc @@ -1,4 +1,4 @@ ---- base/files/file_path_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/files/file_path_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/files/file_path_unittest.cc @@ -1149,7 +1149,7 @@ TEST_F(FilePathTest, FromUTF8Unsafe_And_AsUTF8Unsafe) "\xEF\xBC\xA1\xEF\xBC\xA2\xEF\xBC\xA3.txt" }, diff --git a/www/chromium/files/patch-base_files_file__path__watcher__freebsd.cc b/www/chromium/files/patch-base_files_file__path__watcher__freebsd.cc new file mode 100644 index 00000000..238272c3 --- /dev/null +++ b/www/chromium/files/patch-base_files_file__path__watcher__freebsd.cc @@ -0,0 +1,64 @@ +--- base/files/file_path_watcher_freebsd.cc.orig 2021-03-15 11:01:22 UTC ++++ base/files/file_path_watcher_freebsd.cc +@@ -0,0 +1,61 @@ ++// Copyright (c) 2012 The Chromium Authors. All rights reserved. ++// Use of this source code is governed by a BSD-style license that can be ++// found in the LICENSE file. ++ ++// This file exists for Unix systems which don't have the inotify headers, and ++// thus cannot build file_watcher_inotify.cc ++ ++#include ++ ++#include "base/files/file_path_watcher.h" ++#include "base/files/file_path_watcher_kqueue.h" ++ ++#include "base/memory/ptr_util.h" ++#include "build/build_config.h" ++ ++namespace base { ++ ++namespace { ++ ++class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate { ++ public: ++ FilePathWatcherImpl() = default; ++ FilePathWatcherImpl(const FilePathWatcherImpl&) = delete; ++ FilePathWatcherImpl& operator=(const FilePathWatcherImpl&) = delete; ++ ~FilePathWatcherImpl() override = default; ++ ++ bool Watch(const FilePath& path, ++ Type type, ++ const FilePathWatcher::Callback& callback) override { ++ DCHECK(!impl_.get()); ++ ++ if (type == Type::kRecursive) { ++ return false; ++ } else { ++ impl_ = std::make_unique(); ++ } ++ ++ DCHECK(impl_.get()); ++ ++ return impl_->Watch(path, type, callback); ++ } ++ ++ void Cancel() override { ++ if (impl_.get()) ++ impl_->Cancel(); ++ ++ set_cancelled(); ++ } ++ ++ private: ++ std::unique_ptr impl_; ++}; ++ ++} // namespace ++ ++FilePathWatcher::FilePathWatcher() { ++ sequence_checker_.DetachFromSequence(); ++ impl_ = std::make_unique(); ++} ++ ++} // namespace base diff --git a/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h b/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h index 94973536..61baa1ec 100644 --- a/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h +++ b/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h @@ -1,4 +1,4 @@ ---- base/files/file_path_watcher_kqueue.h.orig 2020-11-13 06:36:34 UTC +--- base/files/file_path_watcher_kqueue.h.orig 2021-03-12 23:57:15 UTC +++ base/files/file_path_watcher_kqueue.h @@ -5,6 +5,10 @@ #ifndef BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_ diff --git a/www/chromium/files/patch-base_files_file__path__watcher__stub.cc b/www/chromium/files/patch-base_files_file__path__watcher__stub.cc deleted file mode 100644 index c8a9a0b4..00000000 --- a/www/chromium/files/patch-base_files_file__path__watcher__stub.cc +++ /dev/null @@ -1,53 +0,0 @@ ---- base/files/file_path_watcher_stub.cc.orig 2021-01-18 21:28:44 UTC -+++ base/files/file_path_watcher_stub.cc -@@ -1,14 +1,15 @@ --// Copyright (c) 2012 The Chromium Authors. All rights reserved. -+// Copyright 2014 The Chromium Authors. All rights reserved. - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. - --// This file exists for Unix systems which don't have the inotify headers, and --// thus cannot build file_watcher_inotify.cc - --#include "base/files/file_path_watcher.h" -+#include - -+#include "base/files/file_path_watcher.h" -+#include "base/files/file_path_watcher_kqueue.h" - #include "base/macros.h" - #include "base/memory/ptr_util.h" -+#include "build/build_config.h" - - namespace base { - -@@ -22,12 +23,29 @@ class FilePathWatcherImpl : public FilePathWatcher::Pl - bool Watch(const FilePath& path, - Type type, - const FilePathWatcher::Callback& callback) override { -+#if defined(OS_BSD) -+ DCHECK(!impl_.get()); -+ if (type == Type::kRecursive) { -+ return false; -+ } else { -+ impl_ = std::make_unique(); -+ } -+ DCHECK(impl_.get()); -+ return impl_->Watch(path, type, callback); -+#else - return false; -+#endif - } - -- void Cancel() override {} -+ void Cancel() override { -+ if (impl_.get()) -+ impl_->Cancel(); -+ set_cancelled(); -+ } - - private: -+ std::unique_ptr impl_; -+ - DISALLOW_COPY_AND_ASSIGN(FilePathWatcherImpl); - }; - diff --git a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc index 0bf19b3d..0de14fe2 100644 --- a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc +++ b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc @@ -1,6 +1,6 @@ ---- base/files/file_path_watcher_unittest.cc.orig 2021-01-18 21:28:44 UTC +--- base/files/file_path_watcher_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/files/file_path_watcher_unittest.cc -@@ -438,12 +438,12 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { +@@ -444,12 +444,12 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { VLOG(1) << "Waiting for file1 creation"; ASSERT_TRUE(WaitForEvents()); @@ -15,16 +15,7 @@ ASSERT_TRUE(base::DeleteFile(file1)); VLOG(1) << "Waiting for file1 deletion"; -@@ -650,7 +650,7 @@ TEST_F(FilePathWatcherTest, FileAttributesChanged) { - ASSERT_TRUE(WaitForEvents()); - } - --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - - // Verify that creating a symlink is caught. - TEST_F(FilePathWatcherTest, CreateLink) { -@@ -816,7 +816,7 @@ TEST_F(FilePathWatcherTest, LinkedDirectoryPart3) { +@@ -822,7 +822,7 @@ TEST_F(FilePathWatcherTest, LinkedDirectoryPart3) { ASSERT_TRUE(WaitForEvents()); } @@ -33,7 +24,7 @@ enum Permission { Read, -@@ -824,7 +824,7 @@ enum Permission { +@@ -830,7 +830,7 @@ enum Permission { Execute }; @@ -42,7 +33,7 @@ bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) { struct stat stat_buf; -@@ -853,9 +853,9 @@ bool ChangeFilePermissions(const FilePath& path, Permi +@@ -859,9 +859,9 @@ bool ChangeFilePermissions(const FilePath& path, Permi } return chmod(path.value().c_str(), stat_buf.st_mode) == 0; } @@ -54,7 +45,7 @@ // Linux implementation of FilePathWatcher doesn't catch attribute changes. // http://crbug.com/78043 // Windows implementation of FilePathWatcher catches attribute changes that -@@ -891,7 +891,7 @@ TEST_F(FilePathWatcherTest, DirAttributesChanged) { +@@ -897,7 +897,7 @@ TEST_F(FilePathWatcherTest, DirAttributesChanged) { ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true)); } diff --git a/www/chromium/files/patch-base_files_file__util.h b/www/chromium/files/patch-base_files_file__util.h index 9d65358e..ff39cb30 100644 --- a/www/chromium/files/patch-base_files_file__util.h +++ b/www/chromium/files/patch-base_files_file__util.h @@ -1,6 +1,6 @@ ---- base/files/file_util.h.orig 2021-01-18 21:28:44 UTC +--- base/files/file_util.h.orig 2021-03-12 23:57:15 UTC +++ base/files/file_util.h -@@ -278,14 +278,14 @@ BASE_EXPORT bool SetPosixFilePermissions(const FilePat +@@ -284,14 +284,14 @@ BASE_EXPORT bool SetPosixFilePermissions(const FilePat BASE_EXPORT bool ExecutableExistsInPath(Environment* env, const FilePath::StringType& executable); @@ -17,7 +17,7 @@ #endif // OS_POSIX -@@ -597,7 +597,7 @@ BASE_EXPORT bool VerifyPathControlledByAdmin(const bas +@@ -603,7 +603,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); diff --git a/www/chromium/files/patch-base_files_file__util__posix.cc b/www/chromium/files/patch-base_files_file__util__posix.cc index 53e25ed5..d906280b 100644 --- a/www/chromium/files/patch-base_files_file__util__posix.cc +++ b/www/chromium/files/patch-base_files_file__util__posix.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_posix.cc.orig 2021-01-18 21:28:44 UTC +--- base/files/file_util_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/files/file_util_posix.cc -@@ -406,7 +406,7 @@ bool CreatePipe(ScopedFD* read_fd, ScopedFD* write_fd, +@@ -380,7 +380,7 @@ bool CreatePipe(ScopedFD* read_fd, ScopedFD* write_fd, } bool CreateLocalNonBlockingPipe(int fds[2]) { @@ -9,7 +9,7 @@ return pipe2(fds, O_CLOEXEC | O_NONBLOCK) == 0; #else int raw_fds[2]; -@@ -953,8 +953,12 @@ bool AllocateFileRegion(File* file, int64_t offset, si +@@ -927,8 +927,12 @@ bool AllocateFileRegion(File* file, int64_t offset, si // space. It can fail because the filesystem doesn't support it. In that case, // use the manual method below. @@ -23,7 +23,25 @@ return true; DPLOG(ERROR) << "fallocate"; #elif defined(OS_APPLE) -@@ -1178,7 +1182,7 @@ PrefetchResult PreReadFile(const FilePath& file_path, +@@ -1098,7 +1102,7 @@ int GetMaximumPathComponentLength(const FilePath& path + #if !defined(OS_ANDROID) + // This is implemented in file_util_android.cc for that platform. + bool GetShmemTempDir(bool executable, FilePath* path) { +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) || defined(OS_BSD) + bool disable_dev_shm = false; + #if !BUILDFLAG(IS_CHROMEOS_ASH) && !BUILDFLAG(IS_CHROMEOS_LACROS) + disable_dev_shm = CommandLine::ForCurrentProcess()->HasSwitch( +@@ -1114,7 +1118,7 @@ bool GetShmemTempDir(bool executable, FilePath* path) + *path = FilePath("/dev/shm"); + return true; + } +-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) ++#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) || defined(OS_BSD) + return GetTempDir(path); + } + #endif // !defined(OS_ANDROID) +@@ -1152,7 +1156,7 @@ PrefetchResult PreReadFile(const FilePath& file_path, // posix_fadvise() is only available in the Android NDK in API 21+. Older // versions may have the required kernel support, but don't have enough usage // to justify backporting. @@ -32,7 +50,7 @@ (defined(OS_ANDROID) && __ANDROID_API__ >= 21) File file(file_path, File::FLAG_OPEN | File::FLAG_READ); if (!file.IsValid()) -@@ -1214,7 +1218,7 @@ PrefetchResult PreReadFile(const FilePath& file_path, +@@ -1188,7 +1192,7 @@ PrefetchResult PreReadFile(const FilePath& file_path, return internal::PreReadFileSlow(file_path, max_bytes) ? PrefetchResult{PrefetchResultCode::kSlowSuccess} : PrefetchResult{PrefetchResultCode::kSlowFailed}; @@ -41,7 +59,7 @@ // __ANDROID_API__ >= 21) } -@@ -1249,7 +1253,7 @@ bool MoveUnsafe(const FilePath& from_path, const FileP +@@ -1223,7 +1227,7 @@ bool MoveUnsafe(const FilePath& from_path, const FileP #endif // !defined(OS_NACL_NONSFI) @@ -50,7 +68,7 @@ BASE_EXPORT bool IsPathExecutable(const FilePath& path) { bool result = false; FilePath tmp_file_path; -@@ -1270,6 +1274,6 @@ BASE_EXPORT bool IsPathExecutable(const FilePath& path +@@ -1244,6 +1248,6 @@ BASE_EXPORT bool IsPathExecutable(const FilePath& path } return result; } diff --git a/www/chromium/files/patch-base_files_file__util__unittest.cc b/www/chromium/files/patch-base_files_file__util__unittest.cc index 5c955c9a..b9f00381 100644 --- a/www/chromium/files/patch-base_files_file__util__unittest.cc +++ b/www/chromium/files/patch-base_files_file__util__unittest.cc @@ -1,4 +1,4 @@ ---- base/files/file_util_unittest.cc.orig 2021-01-18 21:28:44 UTC +--- base/files/file_util_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/files/file_util_unittest.cc @@ -1638,7 +1638,7 @@ TEST_F(FileUtilTest, DeleteDirRecursiveWithOpenFile) { #endif diff --git a/www/chromium/files/patch-base_files_scoped__file.cc b/www/chromium/files/patch-base_files_scoped__file.cc index 16f73156..b6c65b08 100644 --- a/www/chromium/files/patch-base_files_scoped__file.cc +++ b/www/chromium/files/patch-base_files_scoped__file.cc @@ -1,4 +1,4 @@ ---- base/files/scoped_file.cc.orig 2020-11-13 06:36:34 UTC +--- base/files/scoped_file.cc.orig 2021-03-12 23:57:15 UTC +++ base/files/scoped_file.cc @@ -30,7 +30,7 @@ void ScopedFDCloseTraits::Free(int fd) { // a single open directory would bypass the entire security model. diff --git a/www/chromium/files/patch-base_i18n_icu__util.cc b/www/chromium/files/patch-base_i18n_icu__util.cc index 1503462f..42e2785b 100644 --- a/www/chromium/files/patch-base_i18n_icu__util.cc +++ b/www/chromium/files/patch-base_i18n_icu__util.cc @@ -1,4 +1,4 @@ ---- base/i18n/icu_util.cc.orig 2021-01-18 21:28:44 UTC +--- base/i18n/icu_util.cc.orig 2021-03-12 23:57:15 UTC +++ base/i18n/icu_util.cc @@ -48,7 +48,7 @@ #include "third_party/icu/source/common/unicode/unistr.h" diff --git a/www/chromium/files/patch-base_linux__util.cc b/www/chromium/files/patch-base_linux__util.cc index 4bbbf448..8be465fb 100644 --- a/www/chromium/files/patch-base_linux__util.cc +++ b/www/chromium/files/patch-base_linux__util.cc @@ -1,4 +1,4 @@ ---- base/linux_util.cc.orig 2020-11-13 06:36:34 UTC +--- base/linux_util.cc.orig 2021-03-12 23:57:15 UTC +++ base/linux_util.cc @@ -15,6 +15,7 @@ @@ -8,7 +8,7 @@ #include "base/files/dir_reader_posix.h" #include "base/files/file_util.h" -@@ -78,6 +79,9 @@ class DistroNameGetter { +@@ -79,6 +80,9 @@ class DistroNameGetter { public: DistroNameGetter() { static const char* const kFilesToCheck[] = {"/etc/os-release", @@ -18,7 +18,7 @@ "/usr/lib/os-release"}; for (const char* file : kFilesToCheck) { if (ReadDistroFromOSReleaseFile(file)) -@@ -134,6 +138,9 @@ void SetLinuxDistro(const std::string& distro) { +@@ -135,6 +139,9 @@ void SetLinuxDistro(const std::string& distro) { } bool GetThreadsForProcess(pid_t pid, std::vector* tids) { @@ -28,7 +28,7 @@ // 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 #endif -@@ -559,7 +559,7 @@ void CheckCrashTestSighandler(int, siginfo_t* info, vo +@@ -560,7 +560,7 @@ void CheckCrashTestSighandler(int, siginfo_t* info, vo // need the arch-specific boilerplate below, which is inspired by breakpad. // At the same time, on OSX, ucontext.h is deprecated but si_addr works fine. uintptr_t crash_addr = 0; diff --git a/www/chromium/files/patch-base_memory_discardable__memory.cc b/www/chromium/files/patch-base_memory_discardable__memory.cc index 77084937..b656c7de 100644 --- a/www/chromium/files/patch-base_memory_discardable__memory.cc +++ b/www/chromium/files/patch-base_memory_discardable__memory.cc @@ -1,4 +1,4 @@ ---- base/memory/discardable_memory.cc.orig 2020-11-13 06:36:34 UTC +--- base/memory/discardable_memory.cc.orig 2021-03-12 23:57:15 UTC +++ base/memory/discardable_memory.cc @@ -23,7 +23,7 @@ const base::Feature kMadvFreeDiscardableMemory{ "MadvFreeDiscardableMemory", base::FEATURE_DISABLED_BY_DEFAULT}; diff --git a/www/chromium/files/patch-base_memory_discardable__memory__internal.h b/www/chromium/files/patch-base_memory_discardable__memory__internal.h index bf535550..34969800 100644 --- a/www/chromium/files/patch-base_memory_discardable__memory__internal.h +++ b/www/chromium/files/patch-base_memory_discardable__memory__internal.h @@ -1,4 +1,4 @@ ---- base/memory/discardable_memory_internal.h.orig 2020-11-13 06:36:34 UTC +--- base/memory/discardable_memory_internal.h.orig 2021-03-12 23:57:15 UTC +++ base/memory/discardable_memory_internal.h @@ -10,7 +10,7 @@ #include "base/metrics/field_trial_params.h" diff --git a/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc b/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc index 82feab1e..a8fad1c5 100644 --- a/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc +++ b/www/chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc @@ -1,4 +1,4 @@ ---- base/memory/madv_free_discardable_memory_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/memory/madv_free_discardable_memory_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/memory/madv_free_discardable_memory_posix.cc @@ -292,7 +292,7 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT diff --git a/www/chromium/files/patch-base_memory_platform__shared__memory__region.h b/www/chromium/files/patch-base_memory_platform__shared__memory__region.h index abcb85a3..20585a18 100644 --- a/www/chromium/files/patch-base_memory_platform__shared__memory__region.h +++ b/www/chromium/files/patch-base_memory_platform__shared__memory__region.h @@ -1,4 +1,4 @@ ---- base/memory/platform_shared_memory_region.h.orig 2020-11-13 06:36:34 UTC +--- base/memory/platform_shared_memory_region.h.orig 2021-03-12 23:57:15 UTC +++ base/memory/platform_shared_memory_region.h @@ -27,7 +27,7 @@ #include "base/files/scoped_file.h" diff --git a/www/chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc b/www/chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc index 0ad1585f..1348b041 100644 --- a/www/chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc +++ b/www/chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc @@ -1,6 +1,18 @@ ---- base/memory/platform_shared_memory_region_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/memory/platform_shared_memory_region_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/memory/platform_shared_memory_region_posix.cc -@@ -70,7 +70,7 @@ FDPair ScopedFDPair::get() const { +@@ -23,7 +23,11 @@ struct ScopedPathUnlinkerTraits { + static const FilePath* InvalidValue() { return nullptr; } + + static void Free(const FilePath* path) { ++#if defined(OS_BSD) ++ if (shm_unlink(path->value().c_str())) ++#else + if (unlink(path->value().c_str())) ++#endif + PLOG(WARNING) << "unlink"; + } + }; +@@ -70,7 +74,7 @@ FDPair ScopedFDPair::get() const { return {fd.get(), readonly_fd.get()}; } @@ -9,7 +21,7 @@ // static ScopedFD PlatformSharedMemoryRegion::ExecutableRegion::CreateFD(size_t size) { PlatformSharedMemoryRegion region = -@@ -79,7 +79,7 @@ ScopedFD PlatformSharedMemoryRegion::ExecutableRegion: +@@ -79,7 +83,7 @@ ScopedFD PlatformSharedMemoryRegion::ExecutableRegion: return region.PassPlatformHandle().fd; return ScopedFD(); } @@ -18,7 +30,7 @@ // static PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Take( -@@ -204,7 +204,7 @@ bool PlatformSharedMemoryRegion::MapAtInternal(off_t o +@@ -204,7 +208,7 @@ bool PlatformSharedMemoryRegion::MapAtInternal(off_t o // static PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Create(Mode mode, size_t size @@ -27,12 +39,62 @@ , bool executable #endif -@@ -233,7 +233,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: - // flag. - FilePath directory; - if (!GetShmemTempDir( --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - executable, - #else - false /* executable */, +@@ -242,6 +246,22 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: + return {}; + } + ++#if defined(OS_BSD) ++ UnguessableToken token = UnguessableToken::Create(); ++ FilePath path = directory.Append(token.ToString()); ++ ScopedFD fd{HANDLE_EINTR(shm_open(path.value().c_str(), O_CREAT | O_RDWR, 0700))}; ++ File shm_file(fd.release()); ++ ++ if (!shm_file.IsValid()) { ++ PLOG(ERROR) << "Creating shared memory failed"; ++ return {}; ++ } ++ ++ if (HANDLE_EINTR(ftruncate(shm_file.GetPlatformFile(), size)) == -1) { ++ PLOG(ERROR) << "Failed to extend shared memory object to size " << size; ++ return {}; ++ } ++#else + FilePath path; + ScopedFD fd = CreateAndOpenFdForTemporaryFileInDir(directory, &path); + File shm_file(fd.release()); +@@ -258,6 +278,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: + } + return {}; + } ++#endif // OS_BSD + + // Deleting the file prevents anyone else from mapping it in (making it + // private), and prevents the need for cleanup (once the last fd is +@@ -267,7 +288,11 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: + ScopedFD readonly_fd; + if (mode == Mode::kWritable) { + // Also open as readonly so that we can ConvertToReadOnly(). ++#if defined(OS_BSD) ++ readonly_fd.reset(HANDLE_EINTR(shm_open(path.value().c_str(), O_RDONLY, 0400))); ++#else + readonly_fd.reset(HANDLE_EINTR(open(path.value().c_str(), O_RDONLY))); ++#endif + if (!readonly_fd.is_valid()) { + DPLOG(ERROR) << "open(\"" << path.value() << "\", O_RDONLY) failed"; + return {}; +@@ -298,9 +323,15 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: + } + } + ++#if defined(OS_BSD) + return PlatformSharedMemoryRegion( + {ScopedFD(shm_file.TakePlatformFile()), std::move(readonly_fd)}, mode, ++ size, token); ++#else ++ return PlatformSharedMemoryRegion( ++ {ScopedFD(shm_file.TakePlatformFile()), std::move(readonly_fd)}, mode, + size, UnguessableToken::Create()); ++#endif // OS_BSD + #endif // !defined(OS_NACL) + } + diff --git a/www/chromium/files/patch-base_memory_shared__memory__region__unittest.cc b/www/chromium/files/patch-base_memory_shared__memory__region__unittest.cc index 1a73cb13..e7b126ff 100644 --- a/www/chromium/files/patch-base_memory_shared__memory__region__unittest.cc +++ b/www/chromium/files/patch-base_memory_shared__memory__region__unittest.cc @@ -1,4 +1,4 @@ ---- base/memory/shared_memory_region_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/memory/shared_memory_region_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/memory/shared_memory_region_unittest.cc @@ -188,10 +188,13 @@ TYPED_TEST(SharedMemoryRegionTest, MapAtNotAlignedOffs std::tie(region, rw_mapping) = CreateMappedRegion(kDataSize); diff --git a/www/chromium/files/patch-base_message__loop_message__pump__glib.cc b/www/chromium/files/patch-base_message__loop_message__pump__glib.cc index a52248fa..6e3de9a1 100644 --- a/www/chromium/files/patch-base_message__loop_message__pump__glib.cc +++ b/www/chromium/files/patch-base_message__loop_message__pump__glib.cc @@ -1,4 +1,4 @@ ---- base/message_loop/message_pump_glib.cc.orig 2020-11-20 15:15:51 UTC +--- base/message_loop/message_pump_glib.cc.orig 2021-03-12 23:57:15 UTC +++ base/message_loop/message_pump_glib.cc @@ -8,6 +8,11 @@ #include diff --git a/www/chromium/files/patch-base_native__library__posix.cc b/www/chromium/files/patch-base_native__library__posix.cc index a01e7422..d414a8d5 100644 --- a/www/chromium/files/patch-base_native__library__posix.cc +++ b/www/chromium/files/patch-base_native__library__posix.cc @@ -1,4 +1,4 @@ ---- base/native_library_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/native_library_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/native_library_posix.cc @@ -29,7 +29,7 @@ NativeLibrary LoadNativeLibraryWithOptions(const FileP // http://crbug.com/17943, http://crbug.com/17557, http://crbug.com/36892, diff --git a/www/chromium/files/patch-base_native__library__unittest.cc b/www/chromium/files/patch-base_native__library__unittest.cc index 51a1badf..a0e42603 100644 --- a/www/chromium/files/patch-base_native__library__unittest.cc +++ b/www/chromium/files/patch-base_native__library__unittest.cc @@ -1,4 +1,4 @@ ---- base/native_library_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/native_library_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/native_library_unittest.cc @@ -118,7 +118,7 @@ TEST(NativeLibraryTest, LoadLibrary) { // Android dlopen() requires further investigation, as it might vary across diff --git a/www/chromium/files/patch-base_numerics_safe__math__shared__impl.h b/www/chromium/files/patch-base_numerics_safe__math__shared__impl.h index c6b968c4..7776c0cc 100644 --- a/www/chromium/files/patch-base_numerics_safe__math__shared__impl.h +++ b/www/chromium/files/patch-base_numerics_safe__math__shared__impl.h @@ -1,4 +1,4 @@ ---- base/numerics/safe_math_shared_impl.h.orig 2020-11-13 06:36:34 UTC +--- base/numerics/safe_math_shared_impl.h.orig 2021-03-12 23:57:15 UTC +++ base/numerics/safe_math_shared_impl.h @@ -24,8 +24,7 @@ // Where available use builtin math overflow support on Clang and GCC. diff --git a/www/chromium/files/patch-base_path__service__unittest.cc b/www/chromium/files/patch-base_path__service__unittest.cc index de693d8b..236be017 100644 --- a/www/chromium/files/patch-base_path__service__unittest.cc +++ b/www/chromium/files/patch-base_path__service__unittest.cc @@ -1,4 +1,4 @@ ---- base/path_service_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/path_service_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/path_service_unittest.cc @@ -38,7 +38,7 @@ bool ReturnsValidPath(int dir_type) { if (dir_type == DIR_CACHE) diff --git a/www/chromium/files/patch-base_posix_can__lower__nice__to.cc b/www/chromium/files/patch-base_posix_can__lower__nice__to.cc index c18e8b24..64e3f216 100644 --- a/www/chromium/files/patch-base_posix_can__lower__nice__to.cc +++ b/www/chromium/files/patch-base_posix_can__lower__nice__to.cc @@ -1,4 +1,4 @@ ---- base/posix/can_lower_nice_to.cc.orig 2020-11-13 06:36:34 UTC +--- base/posix/can_lower_nice_to.cc.orig 2021-03-12 23:57:15 UTC +++ base/posix/can_lower_nice_to.cc @@ -31,6 +31,9 @@ bool CanLowerNiceTo(int nice_value) { if (geteuid() == 0) diff --git a/www/chromium/files/patch-base_posix_unix__domain__socket.cc b/www/chromium/files/patch-base_posix_unix__domain__socket.cc index ab63f30e..7d944182 100644 --- a/www/chromium/files/patch-base_posix_unix__domain__socket.cc +++ b/www/chromium/files/patch-base_posix_unix__domain__socket.cc @@ -1,4 +1,4 @@ ---- base/posix/unix_domain_socket.cc.orig 2020-11-13 06:36:34 UTC +--- base/posix/unix_domain_socket.cc.orig 2021-03-12 23:57:15 UTC +++ base/posix/unix_domain_socket.cc @@ -5,7 +5,10 @@ #include "base/posix/unix_domain_socket.h" diff --git a/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc b/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc index 31ec32eb..b3944551 100644 --- a/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc +++ b/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc @@ -1,4 +1,4 @@ ---- base/posix/unix_domain_socket_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/posix/unix_domain_socket_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/posix/unix_domain_socket_unittest.cc @@ -8,6 +8,9 @@ #include diff --git a/www/chromium/files/patch-base_process_internal__linux.cc b/www/chromium/files/patch-base_process_internal__linux.cc index 78ad2a75..f8e0799d 100644 --- a/www/chromium/files/patch-base_process_internal__linux.cc +++ b/www/chromium/files/patch-base_process_internal__linux.cc @@ -1,4 +1,4 @@ ---- base/process/internal_linux.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/internal_linux.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/internal_linux.cc @@ -30,7 +30,11 @@ namespace internal { diff --git a/www/chromium/files/patch-base_process_internal__linux.h b/www/chromium/files/patch-base_process_internal__linux.h index 94e172d3..b8a5fa68 100644 --- a/www/chromium/files/patch-base_process_internal__linux.h +++ b/www/chromium/files/patch-base_process_internal__linux.h @@ -1,4 +1,4 @@ ---- base/process/internal_linux.h.orig 2020-11-13 06:36:34 UTC +--- base/process/internal_linux.h.orig 2021-03-12 23:57:15 UTC +++ base/process/internal_linux.h @@ -18,6 +18,8 @@ #include "base/strings/string_number_conversions.h" diff --git a/www/chromium/files/patch-base_process_kill.h b/www/chromium/files/patch-base_process_kill.h index 81a2d289..19725868 100644 --- a/www/chromium/files/patch-base_process_kill.h +++ b/www/chromium/files/patch-base_process_kill.h @@ -1,4 +1,4 @@ ---- base/process/kill.h.orig 2020-11-13 06:36:34 UTC +--- base/process/kill.h.orig 2021-03-12 23:57:15 UTC +++ base/process/kill.h @@ -113,11 +113,11 @@ BASE_EXPORT TerminationStatus GetTerminationStatus(Pro BASE_EXPORT TerminationStatus GetKnownDeadTerminationStatus( diff --git a/www/chromium/files/patch-base_process_kill__posix.cc b/www/chromium/files/patch-base_process_kill__posix.cc index 975a055c..71f59db8 100644 --- a/www/chromium/files/patch-base_process_kill__posix.cc +++ b/www/chromium/files/patch-base_process_kill__posix.cc @@ -1,4 +1,4 @@ ---- base/process/kill_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/kill_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/kill_posix.cc @@ -160,7 +160,7 @@ void EnsureProcessTerminated(Process process) { 0, new BackgroundReaper(std::move(process), TimeDelta::FromSeconds(2))); diff --git a/www/chromium/files/patch-base_process_launch.cc b/www/chromium/files/patch-base_process_launch.cc index 02727cef..3abc9079 100644 --- a/www/chromium/files/patch-base_process_launch.cc +++ b/www/chromium/files/patch-base_process_launch.cc @@ -1,4 +1,4 @@ ---- base/process/launch.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/launch.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/launch.cc @@ -15,7 +15,7 @@ LaunchOptions::~LaunchOptions() = default; diff --git a/www/chromium/files/patch-base_process_launch.h b/www/chromium/files/patch-base_process_launch.h index 67808bf9..84f42875 100644 --- a/www/chromium/files/patch-base_process_launch.h +++ b/www/chromium/files/patch-base_process_launch.h @@ -1,6 +1,6 @@ ---- base/process/launch.h.orig 2020-11-13 06:36:34 UTC +--- base/process/launch.h.orig 2021-03-12 23:57:15 UTC +++ base/process/launch.h -@@ -180,7 +180,7 @@ struct BASE_EXPORT LaunchOptions { +@@ -182,7 +182,7 @@ struct BASE_EXPORT LaunchOptions { bool clear_environment = false; #endif // OS_WIN || OS_POSIX || OS_FUCHSIA @@ -9,7 +9,7 @@ // If non-zero, start the process using clone(), using flags as provided. // Unlike in clone, clone_flags may not contain a custom termination signal // that is sent to the parent when the child dies. The termination signal will -@@ -193,7 +193,7 @@ struct BASE_EXPORT LaunchOptions { +@@ -195,7 +195,7 @@ struct BASE_EXPORT LaunchOptions { // Sets parent process death signal to SIGKILL. bool kill_on_parent_death = false; @@ -18,7 +18,7 @@ #if defined(OS_MAC) // Mach ports that will be accessible to the child process. These are not -@@ -408,7 +408,7 @@ BASE_EXPORT void RaiseProcessToHighPriority(); +@@ -410,7 +410,7 @@ BASE_EXPORT void RaiseProcessToHighPriority(); // binary. This should not be called in production/released code. BASE_EXPORT LaunchOptions LaunchOptionsForTest(); diff --git a/www/chromium/files/patch-base_process_launch__posix.cc b/www/chromium/files/patch-base_process_launch__posix.cc index 3fea66d7..b55eb2dd 100644 --- a/www/chromium/files/patch-base_process_launch__posix.cc +++ b/www/chromium/files/patch-base_process_launch__posix.cc @@ -1,6 +1,13 @@ ---- base/process/launch_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/launch_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/launch_posix.cc -@@ -65,6 +65,7 @@ +@@ -59,12 +59,14 @@ + #if defined(OS_FREEBSD) + #include + #include ++#include + #endif + + #if defined(OS_APPLE) #error "macOS should use launch_mac.cc" #endif @@ -8,7 +15,7 @@ extern char** environ; namespace base { -@@ -228,6 +229,28 @@ void CloseSuperfluousFds(const base::InjectiveMultimap +@@ -221,6 +223,28 @@ void CloseSuperfluousFds(const base::InjectiveMultimap DirReaderPosix fd_dir(kFDDir); if (!fd_dir.IsValid()) { // Fallback case: Try every possible fd. @@ -37,3 +44,37 @@ for (size_t i = 0; i < max_fds; ++i) { const int fd = static_cast(i); if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) +@@ -444,22 +468,32 @@ Process LaunchProcess(const std::vector& + + // Set NO_NEW_PRIVS by default. Since NO_NEW_PRIVS only exists in kernel + // 3.5+, do not check the return value of prctl here. +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) || defined(OS_FREEBSD) + #ifndef PR_SET_NO_NEW_PRIVS + #define PR_SET_NO_NEW_PRIVS 38 + #endif ++#if !defined(OS_FREEBSD) + if (!options.allow_new_privs) { + if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) && errno != EINVAL) { + // Only log if the error is not EINVAL (i.e. not supported). + RAW_LOG(FATAL, "prctl(PR_SET_NO_NEW_PRIVS) failed"); + } + } ++#endif + + if (options.kill_on_parent_death) { ++#if defined(OS_FREEBSD) ++ int procctl_value = SIGKILL; ++ if (procctl(P_PID, 0, PROC_PDEATHSIG_CTL, &procctl_value)) { ++ RAW_LOG(ERROR, "procctl(PROC_PDEATHSIG_CTL) failed"); ++ _exit(127); ++ } ++#else + if (prctl(PR_SET_PDEATHSIG, SIGKILL) != 0) { + RAW_LOG(ERROR, "prctl(PR_SET_PDEATHSIG) failed"); + _exit(127); + } ++#endif + } + #endif + diff --git a/www/chromium/files/patch-base_process_memory.cc b/www/chromium/files/patch-base_process_memory.cc index 5b624342..9427d265 100644 --- a/www/chromium/files/patch-base_process_memory.cc +++ b/www/chromium/files/patch-base_process_memory.cc @@ -1,4 +1,4 @@ ---- base/process/memory.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/memory.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/memory.cc @@ -55,7 +55,7 @@ NOINLINE void OnNoMemoryInternal(size_t size) { } // namespace internal diff --git a/www/chromium/files/patch-base_process_memory.h b/www/chromium/files/patch-base_process_memory.h index 203ced37..ce431bee 100644 --- a/www/chromium/files/patch-base_process_memory.h +++ b/www/chromium/files/patch-base_process_memory.h @@ -1,4 +1,4 @@ ---- base/process/memory.h.orig 2020-11-13 06:36:34 UTC +--- base/process/memory.h.orig 2021-03-12 23:57:15 UTC +++ base/process/memory.h @@ -24,7 +24,7 @@ BASE_EXPORT void EnableTerminationOnOutOfMemory(); // Crash reporting classifies such crashes as OOM. diff --git a/www/chromium/files/patch-base_process_memory__unittest.cc b/www/chromium/files/patch-base_process_memory__unittest.cc index f219ce17..ebd8ce1d 100644 --- a/www/chromium/files/patch-base_process_memory__unittest.cc +++ b/www/chromium/files/patch-base_process_memory__unittest.cc @@ -1,4 +1,4 @@ ---- base/process/memory_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/memory_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/memory_unittest.cc @@ -38,6 +38,8 @@ #if defined(OS_LINUX) || defined(OS_CHROMEOS) diff --git a/www/chromium/files/patch-base_process_process__handle.cc b/www/chromium/files/patch-base_process_process__handle.cc index 6b50c9ec..28e99ae6 100644 --- a/www/chromium/files/patch-base_process_process__handle.cc +++ b/www/chromium/files/patch-base_process_process__handle.cc @@ -1,4 +1,4 @@ ---- base/process/process_handle.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/process_handle.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_handle.cc @@ -30,7 +30,7 @@ UniqueProcId GetUniqueIdForProcess() { : UniqueProcId(GetCurrentProcId()); diff --git a/www/chromium/files/patch-base_process_process__handle.h b/www/chromium/files/patch-base_process_process__handle.h index e323278c..18238683 100644 --- a/www/chromium/files/patch-base_process_process__handle.h +++ b/www/chromium/files/patch-base_process_process__handle.h @@ -1,4 +1,4 @@ ---- base/process/process_handle.h.orig 2020-11-13 06:36:34 UTC +--- base/process/process_handle.h.orig 2021-03-12 23:57:15 UTC +++ base/process/process_handle.h @@ -103,7 +103,7 @@ BASE_EXPORT ProcessId GetCurrentProcId(); // processes may be reused. diff --git a/www/chromium/files/patch-base_process_process__handle__freebsd.cc b/www/chromium/files/patch-base_process_process__handle__freebsd.cc index 911926ae..76936bbf 100644 --- a/www/chromium/files/patch-base_process_process__handle__freebsd.cc +++ b/www/chromium/files/patch-base_process_process__handle__freebsd.cc @@ -1,4 +1,4 @@ ---- base/process/process_handle_freebsd.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/process_handle_freebsd.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_handle_freebsd.cc @@ -16,10 +16,13 @@ namespace base { diff --git a/www/chromium/files/patch-base_process_process__iterator__freebsd.cc b/www/chromium/files/patch-base_process_process__iterator__freebsd.cc index 3e6bae04..a85419c8 100644 --- a/www/chromium/files/patch-base_process_process__iterator__freebsd.cc +++ b/www/chromium/files/patch-base_process_process__iterator__freebsd.cc @@ -1,4 +1,4 @@ ---- base/process/process_iterator_freebsd.cc.orig 2021-01-18 21:28:45 UTC +--- base/process/process_iterator_freebsd.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_iterator_freebsd.cc @@ -10,6 +10,10 @@ #include diff --git a/www/chromium/files/patch-base_process_process__linux.cc b/www/chromium/files/patch-base_process_process__linux.cc index 1d8cfc75..a0a20c0f 100644 --- a/www/chromium/files/patch-base_process_process__linux.cc +++ b/www/chromium/files/patch-base_process_process__linux.cc @@ -1,4 +1,4 @@ ---- base/process/process_linux.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/process_linux.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_linux.cc @@ -24,7 +24,9 @@ namespace base { @@ -8,7 +8,7 @@ const int kForegroundPriority = 0; +#endif - #if defined(OS_CHROMEOS) || BUILDFLAG(IS_LACROS) + #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS) // We are more aggressive in our lowering of background process priority @@ -69,7 +71,7 @@ struct CGroups { return groups; @@ -17,7 +17,7 @@ -#else +#elif !defined(OS_BSD) const int kBackgroundPriority = 5; - #endif // defined(OS_CHROMEOS) || BUILDFLAG(IS_LACROS) + #endif // BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS) @@ -96,13 +98,18 @@ Time Process::CreationTime() const { if (!start_ticks) @@ -37,12 +37,12 @@ +#if !defined(OS_BSD) // static bool Process::CanBackgroundProcesses() { - #if defined(OS_CHROMEOS) || BUILDFLAG(IS_LACROS) + #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS) @@ -154,6 +161,7 @@ bool Process::SetProcessBackgrounded(bool background) DPCHECK(result == 0); return result == 0; } +#endif // !defined(OS_BSD) - #if defined(OS_CHROMEOS) || BUILDFLAG(IS_LACROS) + #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS) bool IsProcessBackgroundedCGroup(const StringPiece& cgroup_contents) { diff --git a/www/chromium/files/patch-base_process_process__metrics.cc b/www/chromium/files/patch-base_process_process__metrics.cc index 7712b3ca..b1789fe4 100644 --- a/www/chromium/files/patch-base_process_process__metrics.cc +++ b/www/chromium/files/patch-base_process_process__metrics.cc @@ -1,6 +1,6 @@ ---- base/process/process_metrics.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/process_metrics.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_metrics.cc -@@ -49,7 +49,7 @@ SystemMetrics SystemMetrics::Sample() { +@@ -50,7 +50,7 @@ SystemMetrics SystemMetrics::Sample() { SystemMetrics system_metrics; system_metrics.committed_memory_ = GetSystemCommitCharge(); @@ -9,7 +9,7 @@ GetSystemMemoryInfo(&system_metrics.memory_info_); GetVmStatInfo(&system_metrics.vmstat_info_); GetSystemDiskInfo(&system_metrics.disk_info_); -@@ -68,7 +68,7 @@ std::unique_ptr SystemMetrics::ToValue() const +@@ -69,7 +69,7 @@ std::unique_ptr SystemMetrics::ToValue() const std::unique_ptr res(new DictionaryValue()); res->SetIntKey("committed_memory", static_cast(committed_memory_)); @@ -18,7 +18,7 @@ std::unique_ptr meminfo = memory_info_.ToValue(); std::unique_ptr vmstat = vmstat_info_.ToValue(); meminfo->MergeDictionary(vmstat.get()); -@@ -119,7 +119,7 @@ double ProcessMetrics::GetPlatformIndependentCPUUsage( +@@ -120,7 +120,7 @@ double ProcessMetrics::GetPlatformIndependentCPUUsage( } #endif @@ -27,7 +27,7 @@ defined(OS_AIX) int ProcessMetrics::CalculateIdleWakeupsPerSecond( uint64_t absolute_idle_wakeups) { -@@ -132,7 +132,7 @@ int ProcessMetrics::GetIdleWakeupsPerSecond() { +@@ -133,7 +133,7 @@ int ProcessMetrics::GetIdleWakeupsPerSecond() { NOTIMPLEMENTED(); // http://crbug.com/120488 return 0; } diff --git a/www/chromium/files/patch-base_process_process__metrics.h b/www/chromium/files/patch-base_process_process__metrics.h index bfd237e3..cfbd2005 100644 --- a/www/chromium/files/patch-base_process_process__metrics.h +++ b/www/chromium/files/patch-base_process_process__metrics.h @@ -1,4 +1,4 @@ ---- base/process/process_metrics.h.orig 2020-11-13 06:36:34 UTC +--- base/process/process_metrics.h.orig 2021-03-12 23:57:15 UTC +++ base/process/process_metrics.h @@ -47,7 +47,7 @@ namespace base { // Full declaration is in process_metrics_iocounters.h. @@ -128,7 +128,7 @@ +#endif // defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) || // defined(OS_AIX) defined(OS_FUCHSIA) - #if defined(OS_CHROMEOS) || BUILDFLAG(IS_LACROS) + #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS) @@ -406,11 +406,11 @@ struct BASE_EXPORT SystemMemoryInfoKB { // Exposed for memory debugging widget. BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo); @@ -151,7 +151,7 @@ +#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSD) || // defined(OS_AIX) - #if defined(OS_CHROMEOS) || BUILDFLAG(IS_LACROS) + #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS) @@ -597,7 +597,7 @@ class BASE_EXPORT SystemMetrics { FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics); diff --git a/www/chromium/files/patch-base_process_process__metrics__freebsd.cc b/www/chromium/files/patch-base_process_process__metrics__freebsd.cc index 524b56b1..f6df9a5b 100644 --- a/www/chromium/files/patch-base_process_process__metrics__freebsd.cc +++ b/www/chromium/files/patch-base_process_process__metrics__freebsd.cc @@ -1,4 +1,4 @@ ---- base/process/process_metrics_freebsd.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/process_metrics_freebsd.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_metrics_freebsd.cc @@ -3,8 +3,10 @@ // found in the LICENSE file. diff --git a/www/chromium/files/patch-base_process_process__metrics__posix.cc b/www/chromium/files/patch-base_process_process__metrics__posix.cc index 46408ab6..69540cbc 100644 --- a/www/chromium/files/patch-base_process_process__metrics__posix.cc +++ b/www/chromium/files/patch-base_process_process__metrics__posix.cc @@ -1,4 +1,4 @@ ---- base/process/process_metrics_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/process_metrics_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_metrics_posix.cc @@ -20,6 +20,8 @@ diff --git a/www/chromium/files/patch-base_process_process__unittest.cc b/www/chromium/files/patch-base_process_process__unittest.cc index 4054f858..e2c0cca7 100644 --- a/www/chromium/files/patch-base_process_process__unittest.cc +++ b/www/chromium/files/patch-base_process_process__unittest.cc @@ -1,6 +1,6 @@ ---- base/process/process_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/process/process_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_unittest.cc -@@ -153,7 +153,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { +@@ -138,7 +138,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { // was spawned and a time recorded after it was spawned. However, since the // base::Time and process creation clocks don't match, tolerate some error. constexpr base::TimeDelta kTolerance = diff --git a/www/chromium/files/patch-base_process_process__util__unittest.cc b/www/chromium/files/patch-base_process_process__util__unittest.cc index 6fba5022..0b9f07e4 100644 --- a/www/chromium/files/patch-base_process_process__util__unittest.cc +++ b/www/chromium/files/patch-base_process_process__util__unittest.cc @@ -1,4 +1,4 @@ ---- base/process/process_util_unittest.cc.orig 2021-01-18 21:28:45 UTC +--- base/process/process_util_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/process/process_util_unittest.cc @@ -1308,11 +1308,11 @@ std::string TestLaunchProcess(const CommandLine& cmdli options.fds_to_remap.emplace_back(fds[1], STDOUT_FILENO); diff --git a/www/chromium/files/patch-base_profiler_register__context.h b/www/chromium/files/patch-base_profiler_register__context.h index 79ee85b0..20c522c3 100644 --- a/www/chromium/files/patch-base_profiler_register__context.h +++ b/www/chromium/files/patch-base_profiler_register__context.h @@ -1,4 +1,4 @@ ---- base/profiler/register_context.h.orig 2020-11-13 06:36:34 UTC +--- base/profiler/register_context.h.orig 2021-03-12 23:57:15 UTC +++ base/profiler/register_context.h @@ -17,7 +17,7 @@ #include diff --git a/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.cc b/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.cc index ec7f92d5..cb734b35 100644 --- a/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.cc +++ b/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.cc @@ -1,4 +1,4 @@ ---- base/profiler/sampling_profiler_thread_token.cc.orig 2020-11-13 06:36:34 UTC +--- base/profiler/sampling_profiler_thread_token.cc.orig 2021-03-12 23:57:15 UTC +++ base/profiler/sampling_profiler_thread_token.cc @@ -7,7 +7,7 @@ namespace base { diff --git a/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.h b/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.h index c36c1078..6a8db9bd 100644 --- a/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.h +++ b/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.h @@ -1,4 +1,4 @@ ---- base/profiler/sampling_profiler_thread_token.h.orig 2020-11-13 06:36:34 UTC +--- base/profiler/sampling_profiler_thread_token.h.orig 2021-03-12 23:57:15 UTC +++ base/profiler/sampling_profiler_thread_token.h @@ -9,7 +9,7 @@ #include "base/threading/platform_thread.h" diff --git a/www/chromium/files/patch-base_profiler_stack__copier__signal.cc b/www/chromium/files/patch-base_profiler_stack__copier__signal.cc index 47eefaa1..0e9a2eb0 100644 --- a/www/chromium/files/patch-base_profiler_stack__copier__signal.cc +++ b/www/chromium/files/patch-base_profiler_stack__copier__signal.cc @@ -1,4 +1,4 @@ ---- base/profiler/stack_copier_signal.cc.orig 2020-11-13 06:36:34 UTC +--- base/profiler/stack_copier_signal.cc.orig 2021-03-12 23:57:15 UTC +++ base/profiler/stack_copier_signal.cc @@ -4,7 +4,14 @@ @@ -15,7 +15,7 @@ #include #include #include -@@ -34,8 +41,13 @@ class AsyncSafeWaitableEvent { +@@ -35,8 +42,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) -@@ -45,8 +57,12 @@ class AsyncSafeWaitableEvent { +@@ -46,8 +58,12 @@ class AsyncSafeWaitableEvent { void Signal() { futex_.store(1, std::memory_order_release); @@ -42,7 +42,7 @@ } private: -@@ -216,11 +232,18 @@ bool StackCopierSignal::CopyStack(StackBuffer* stack_b +@@ -221,11 +237,18 @@ bool StackCopierSignal::CopyStack(StackBuffer* stack_b if (!scoped_sigaction.succeeded()) return false; diff --git a/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc b/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc index 29ebf0d0..3f2832f8 100644 --- a/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc +++ b/www/chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc @@ -1,4 +1,4 @@ ---- base/profiler/stack_sampling_profiler_test_util.cc.orig 2020-11-13 06:36:34 UTC +--- base/profiler/stack_sampling_profiler_test_util.cc.orig 2021-03-12 23:57:15 UTC +++ base/profiler/stack_sampling_profiler_test_util.cc @@ -32,7 +32,7 @@ // Fortunately, it provides _alloca, which functions identically. diff --git a/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc b/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc index 5f14491a..643ce437 100644 --- a/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc +++ b/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc @@ -1,4 +1,4 @@ ---- base/profiler/stack_sampling_profiler_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/profiler/stack_sampling_profiler_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/profiler/stack_sampling_profiler_unittest.cc @@ -42,7 +42,7 @@ #include diff --git a/www/chromium/files/patch-base_profiler_thread__delegate__posix.cc b/www/chromium/files/patch-base_profiler_thread__delegate__posix.cc index 849d4018..e98382c1 100644 --- a/www/chromium/files/patch-base_profiler_thread__delegate__posix.cc +++ b/www/chromium/files/patch-base_profiler_thread__delegate__posix.cc @@ -1,4 +1,4 @@ ---- base/profiler/thread_delegate_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/profiler/thread_delegate_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/profiler/thread_delegate_posix.cc @@ -12,6 +12,9 @@ #include "base/profiler/thread_delegate_posix.h" diff --git a/www/chromium/files/patch-base_sampling__heap__profiler_sampling__heap__profiler.cc b/www/chromium/files/patch-base_sampling__heap__profiler_sampling__heap__profiler.cc index 63a4e3b6..c194af3d 100644 --- a/www/chromium/files/patch-base_sampling__heap__profiler_sampling__heap__profiler.cc +++ b/www/chromium/files/patch-base_sampling__heap__profiler_sampling__heap__profiler.cc @@ -1,4 +1,4 @@ ---- base/sampling_heap_profiler/sampling_heap_profiler.cc.orig 2020-11-13 06:36:34 UTC +--- base/sampling_heap_profiler/sampling_heap_profiler.cc.orig 2021-03-12 23:57:15 UTC +++ base/sampling_heap_profiler/sampling_heap_profiler.cc @@ -30,6 +30,10 @@ #include diff --git a/www/chromium/files/patch-base_security__unittest.cc b/www/chromium/files/patch-base_security__unittest.cc index 132ea807..91d05f55 100644 --- a/www/chromium/files/patch-base_security__unittest.cc +++ b/www/chromium/files/patch-base_security__unittest.cc @@ -1,4 +1,4 @@ ---- base/security_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/security_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/security_unittest.cc @@ -61,7 +61,7 @@ NOINLINE Type HideValueFromCompiler(volatile Type valu void OverflowTestsSoftExpectTrue(bool overflow_detected) { diff --git a/www/chromium/files/patch-base_strings_sys__string__conversions__unittest.cc b/www/chromium/files/patch-base_strings_sys__string__conversions__unittest.cc index c05afd11..f1d7377c 100644 --- a/www/chromium/files/patch-base_strings_sys__string__conversions__unittest.cc +++ b/www/chromium/files/patch-base_strings_sys__string__conversions__unittest.cc @@ -1,4 +1,4 @@ ---- base/strings/sys_string_conversions_unittest.cc.orig 2020-11-16 14:00:26 UTC +--- base/strings/sys_string_conversions_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/strings/sys_string_conversions_unittest.cc @@ -76,7 +76,7 @@ TEST(SysStrings, SysUTF8ToWide) { } diff --git a/www/chromium/files/patch-base_synchronization_lock__impl.h b/www/chromium/files/patch-base_synchronization_lock__impl.h index ba9ba2a6..08323a1e 100644 --- a/www/chromium/files/patch-base_synchronization_lock__impl.h +++ b/www/chromium/files/patch-base_synchronization_lock__impl.h @@ -1,4 +1,4 @@ ---- base/synchronization/lock_impl.h.orig 2020-11-13 06:36:34 UTC +--- base/synchronization/lock_impl.h.orig 2021-03-12 23:57:15 UTC +++ base/synchronization/lock_impl.h @@ -105,6 +105,8 @@ void LockImpl::Unlock() { } diff --git a/www/chromium/files/patch-base_syslog__logging.cc b/www/chromium/files/patch-base_syslog__logging.cc index 6df3281f..3c3a7a71 100644 --- a/www/chromium/files/patch-base_syslog__logging.cc +++ b/www/chromium/files/patch-base_syslog__logging.cc @@ -1,4 +1,4 @@ ---- base/syslog_logging.cc.orig 2020-11-13 06:36:34 UTC +--- base/syslog_logging.cc.orig 2021-03-12 23:57:15 UTC +++ base/syslog_logging.cc @@ -13,7 +13,7 @@ #include "base/strings/string_util.h" diff --git a/www/chromium/files/patch-base_system_sys__info.cc b/www/chromium/files/patch-base_system_sys__info.cc index f5ba828f..6567dc43 100644 --- a/www/chromium/files/patch-base_system_sys__info.cc +++ b/www/chromium/files/patch-base_system_sys__info.cc @@ -1,7 +1,7 @@ ---- base/system/sys_info.cc.orig 2020-11-13 06:36:34 UTC +--- base/system/sys_info.cc.orig 2021-03-12 23:57:15 UTC +++ base/system/sys_info.cc -@@ -104,7 +104,7 @@ void SysInfo::GetHardwareInfo(base::OnceCallback diff --git a/www/chromium/files/patch-base_system_sys__info__posix.cc b/www/chromium/files/patch-base_system_sys__info__posix.cc index 87f69159..4f5d2539 100644 --- a/www/chromium/files/patch-base_system_sys__info__posix.cc +++ b/www/chromium/files/patch-base_system_sys__info__posix.cc @@ -1,6 +1,18 @@ ---- base/system/sys_info_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/system/sys_info_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/system/sys_info_posix.cc -@@ -223,6 +223,8 @@ std::string SysInfo::OperatingSystemArchitecture() { +@@ -25,6 +25,11 @@ + #if defined(OS_ANDROID) + #include + #define statvfs statfs // Android uses a statvfs-like statfs struct and call. ++#elif defined(OS_BSD) ++#include ++#include ++#define statvfs statfs ++#define f_frsize f_bsize + #else + #include + #endif +@@ -224,6 +229,8 @@ std::string SysInfo::OperatingSystemArchitecture() { arch = "x86"; } else if (arch == "amd64") { arch = "x86_64"; diff --git a/www/chromium/files/patch-base_system_sys__info__unittest.cc b/www/chromium/files/patch-base_system_sys__info__unittest.cc index 02bec6b9..75ea1a02 100644 --- a/www/chromium/files/patch-base_system_sys__info__unittest.cc +++ b/www/chromium/files/patch-base_system_sys__info__unittest.cc @@ -1,6 +1,6 @@ ---- base/system/sys_info_unittest.cc.orig 2021-01-18 21:28:45 UTC +--- base/system/sys_info_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/system/sys_info_unittest.cc -@@ -50,13 +50,13 @@ TEST_F(SysInfoTest, AmountOfMem) { +@@ -62,13 +62,13 @@ TEST_F(SysInfoTest, AmountOfMem) { EXPECT_GE(SysInfo::AmountOfVirtualMemory(), 0); } @@ -17,16 +17,16 @@ TEST_F(SysInfoTest, MAYBE_AmountOfAvailablePhysicalMemory) { // Note: info is in _K_bytes. SystemMemoryInfoKB info; -@@ -87,7 +87,7 @@ TEST_F(SysInfoTest, MAYBE_AmountOfAvailablePhysicalMem +@@ -99,7 +99,7 @@ TEST_F(SysInfoTest, MAYBE_AmountOfAvailablePhysicalMem EXPECT_GT(amount, static_cast(info.free) * 1024); EXPECT_LT(amount / 1024, info.total); } -#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) -+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSDD) ++#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSD) TEST_F(SysInfoTest, AmountOfFreeDiskSpace) { // We aren't actually testing that it's correct, just that it's sane. -@@ -137,7 +137,7 @@ TEST_F(SysInfoTest, NestedVolumesAmountOfTotalDiskSpac +@@ -149,7 +149,7 @@ TEST_F(SysInfoTest, NestedVolumesAmountOfTotalDiskSpac } #endif // defined(OS_FUCHSIA) @@ -35,7 +35,7 @@ defined(OS_CHROMEOS) || defined(OS_FUCHSIA) TEST_F(SysInfoTest, OperatingSystemVersionNumbers) { int32_t os_major_version = -1; -@@ -198,7 +198,7 @@ TEST_F(SysInfoTest, GetHardwareInfo) { +@@ -210,7 +210,7 @@ TEST_F(SysInfoTest, GetHardwareInfo) { EXPECT_TRUE(IsStringUTF8(hardware_info->model)); bool empty_result_expected = #if defined(OS_ANDROID) || defined(OS_APPLE) || defined(OS_WIN) || \ diff --git a/www/chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc b/www/chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc index 2b31585f..32c3cb7f 100644 --- a/www/chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc +++ b/www/chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc @@ -1,4 +1,4 @@ ---- base/task/thread_pool/environment_config_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/task/thread_pool/environment_config_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/task/thread_pool/environment_config_unittest.cc @@ -14,7 +14,7 @@ namespace internal { TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPriorityForWorker) { diff --git a/www/chromium/files/patch-base_test_BUILD.gn b/www/chromium/files/patch-base_test_BUILD.gn index 84cc7d20..77c53a07 100644 --- a/www/chromium/files/patch-base_test_BUILD.gn +++ b/www/chromium/files/patch-base_test_BUILD.gn @@ -1,6 +1,6 @@ ---- base/test/BUILD.gn.orig 2021-01-18 21:28:45 UTC +--- base/test/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ base/test/BUILD.gn -@@ -416,7 +416,11 @@ if (is_linux || is_chromeos) { +@@ -428,7 +428,11 @@ if (is_linux || is_chromeos) { copy("fonts_conf") { sources = [ "fonts.conf" ] diff --git a/www/chromium/files/patch-base_test_launcher_test__launcher.cc b/www/chromium/files/patch-base_test_launcher_test__launcher.cc index 356c0291..a383ea3c 100644 --- a/www/chromium/files/patch-base_test_launcher_test__launcher.cc +++ b/www/chromium/files/patch-base_test_launcher_test__launcher.cc @@ -1,6 +1,6 @@ ---- base/test/launcher/test_launcher.cc.orig 2021-01-18 21:28:45 UTC +--- base/test/launcher/test_launcher.cc.orig 2021-03-12 23:57:15 UTC +++ base/test/launcher/test_launcher.cc -@@ -57,6 +57,7 @@ +@@ -58,6 +58,7 @@ #include "testing/gtest/include/gtest/gtest.h" #if defined(OS_POSIX) @@ -8,7 +8,7 @@ #include #include "base/files/file_descriptor_watcher_posix.h" -@@ -598,7 +599,7 @@ ChildProcessResults DoLaunchChildTestProcess( +@@ -599,7 +600,7 @@ ChildProcessResults DoLaunchChildTestProcess( #if !defined(OS_FUCHSIA) options.new_process_group = true; #endif @@ -17,7 +17,7 @@ options.kill_on_parent_death = true; #endif -@@ -1515,7 +1516,7 @@ bool TestLauncher::Init(CommandLine* command_line) { +@@ -1516,7 +1517,7 @@ bool TestLauncher::Init(CommandLine* command_line) { results_tracker_.AddGlobalTag("OS_IOS"); #endif diff --git a/www/chromium/files/patch-base_test_test__file__util__posix.cc b/www/chromium/files/patch-base_test_test__file__util__posix.cc index 07fa4b15..137f48db 100644 --- a/www/chromium/files/patch-base_test_test__file__util__posix.cc +++ b/www/chromium/files/patch-base_test_test__file__util__posix.cc @@ -1,4 +1,4 @@ ---- base/test/test_file_util_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/test/test_file_util_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/test/test_file_util_posix.cc @@ -87,7 +87,7 @@ void SyncPageCacheToDisk() { sync(); diff --git a/www/chromium/files/patch-base_test_test__suite.cc b/www/chromium/files/patch-base_test_test__suite.cc index b9f1034a..c4d11460 100644 --- a/www/chromium/files/patch-base_test_test__suite.cc +++ b/www/chromium/files/patch-base_test_test__suite.cc @@ -1,4 +1,4 @@ ---- base/test/test_suite.cc.orig 2020-11-13 06:36:34 UTC +--- base/test/test_suite.cc.orig 2021-03-12 23:57:15 UTC +++ base/test/test_suite.cc @@ -66,7 +66,7 @@ #include "base/test/test_support_android.h" diff --git a/www/chromium/files/patch-base_third__party_libevent_BUILD.gn b/www/chromium/files/patch-base_third__party_libevent_BUILD.gn index b7bd8c4f..5ef582ab 100644 --- a/www/chromium/files/patch-base_third__party_libevent_BUILD.gn +++ b/www/chromium/files/patch-base_third__party_libevent_BUILD.gn @@ -1,4 +1,4 @@ ---- base/third_party/libevent/BUILD.gn.orig 2020-11-13 06:36:34 UTC +--- base/third_party/libevent/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ base/third_party/libevent/BUILD.gn @@ -43,13 +43,20 @@ static_library("libevent") { "mac/event-config.h", diff --git a/www/chromium/files/patch-base_threading_platform__thread.h b/www/chromium/files/patch-base_threading_platform__thread.h index a75b6132..ec417fb7 100644 --- a/www/chromium/files/patch-base_threading_platform__thread.h +++ b/www/chromium/files/patch-base_threading_platform__thread.h @@ -1,6 +1,6 @@ ---- base/threading/platform_thread.h.orig 2020-11-13 06:36:34 UTC +--- base/threading/platform_thread.h.orig 2021-03-12 23:57:15 UTC +++ base/threading/platform_thread.h -@@ -230,7 +230,7 @@ class BASE_EXPORT PlatformThread { +@@ -231,7 +231,7 @@ class BASE_EXPORT PlatformThread { // Returns a realtime period provided by |delegate|. static TimeDelta GetRealtimePeriod(Delegate* delegate); diff --git a/www/chromium/files/patch-base_threading_platform__thread__internal__posix.h b/www/chromium/files/patch-base_threading_platform__thread__internal__posix.h index 5bcd7133..1d75cd4c 100644 --- a/www/chromium/files/patch-base_threading_platform__thread__internal__posix.h +++ b/www/chromium/files/patch-base_threading_platform__thread__internal__posix.h @@ -1,4 +1,4 @@ ---- base/threading/platform_thread_internal_posix.h.orig 2020-11-16 17:28:09 UTC +--- base/threading/platform_thread_internal_posix.h.orig 2021-03-12 23:57:15 UTC +++ base/threading/platform_thread_internal_posix.h @@ -47,13 +47,13 @@ bool SetCurrentThreadPriorityForPlatform(ThreadPriorit // of CanIncreaseThreadPriority(). diff --git a/www/chromium/files/patch-base_threading_platform__thread__linux.cc b/www/chromium/files/patch-base_threading_platform__thread__linux.cc index ffb57676..354fb7c8 100644 --- a/www/chromium/files/patch-base_threading_platform__thread__linux.cc +++ b/www/chromium/files/patch-base_threading_platform__thread__linux.cc @@ -1,6 +1,6 @@ ---- base/threading/platform_thread_linux.cc.orig 2020-11-13 06:36:34 UTC +--- base/threading/platform_thread_linux.cc.orig 2021-03-12 23:57:15 UTC +++ base/threading/platform_thread_linux.cc -@@ -24,7 +24,9 @@ +@@ -27,7 +27,9 @@ #if !defined(OS_NACL) && !defined(OS_AIX) #include @@ -10,7 +10,7 @@ #include #include #include -@@ -264,7 +266,7 @@ const ThreadPriorityToNiceValuePair kThreadPriorityToN +@@ -298,7 +300,7 @@ const ThreadPriorityToNiceValuePair kThreadPriorityToN Optional CanIncreaseCurrentThreadPriorityForPlatform( ThreadPriority priority) { @@ -19,7 +19,7 @@ // A non-zero soft-limit on RLIMIT_RTPRIO is required to be allowed to invoke // pthread_setschedparam in SetCurrentThreadPriorityForPlatform(). struct rlimit rlim; -@@ -314,7 +316,7 @@ Optional GetCurrentThreadPriorityForPl +@@ -348,7 +350,7 @@ Optional GetCurrentThreadPriorityForPl void PlatformThread::SetName(const std::string& name) { ThreadIdNameManager::GetInstance()->SetName(name); diff --git a/www/chromium/files/patch-base_threading_platform__thread__posix.cc b/www/chromium/files/patch-base_threading_platform__thread__posix.cc index 459b2c3b..6df05331 100644 --- a/www/chromium/files/patch-base_threading_platform__thread__posix.cc +++ b/www/chromium/files/patch-base_threading_platform__thread__posix.cc @@ -1,4 +1,4 @@ ---- base/threading/platform_thread_posix.cc.orig 2020-11-13 06:36:34 UTC +--- base/threading/platform_thread_posix.cc.orig 2021-03-12 23:57:15 UTC +++ base/threading/platform_thread_posix.cc @@ -32,6 +32,10 @@ #include @@ -18,14 +18,14 @@ -#if defined(OS_LINUX) || defined(OS_CHROMEOS) +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - // Store the thread ids in local storage since calling the SWI can + // Store the thread ids in local storage since calling the SWI can be // expensive and PlatformThread::CurrentId is used liberally. Clear @@ -159,11 +163,11 @@ class InitAtFork { InitAtFork() { pthread_atfork(nullptr, nullptr, internal::ClearTidCache); } }; -#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) -+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSSD) ++#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) } // namespace diff --git a/www/chromium/files/patch-base_threading_platform__thread__unittest.cc b/www/chromium/files/patch-base_threading_platform__thread__unittest.cc index 975180f9..8f58f524 100644 --- a/www/chromium/files/patch-base_threading_platform__thread__unittest.cc +++ b/www/chromium/files/patch-base_threading_platform__thread__unittest.cc @@ -1,4 +1,4 @@ ---- base/threading/platform_thread_unittest.cc.orig 2021-01-18 21:28:45 UTC +--- base/threading/platform_thread_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/threading/platform_thread_unittest.cc @@ -312,7 +312,7 @@ TEST(PlatformThreadTest, // and hardcodes what we know. Please inform scheduler-dev@chromium.org if this diff --git a/www/chromium/files/patch-base_threading_scoped__blocking__call__unittest.cc b/www/chromium/files/patch-base_threading_scoped__blocking__call__unittest.cc index 755f30ed..7a59470f 100644 --- a/www/chromium/files/patch-base_threading_scoped__blocking__call__unittest.cc +++ b/www/chromium/files/patch-base_threading_scoped__blocking__call__unittest.cc @@ -1,4 +1,4 @@ ---- base/threading/scoped_blocking_call_unittest.cc.orig 2020-11-13 06:36:34 UTC +--- base/threading/scoped_blocking_call_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/threading/scoped_blocking_call_unittest.cc @@ -273,7 +273,7 @@ TEST_F(ScopedBlockingCallIOJankMonitoringTest, ManyInA } diff --git a/www/chromium/files/patch-base_threading_thread__task__runner__handle.cc b/www/chromium/files/patch-base_threading_thread__task__runner__handle.cc index de0f0145..00985979 100644 --- a/www/chromium/files/patch-base_threading_thread__task__runner__handle.cc +++ b/www/chromium/files/patch-base_threading_thread__task__runner__handle.cc @@ -1,4 +1,4 @@ ---- base/threading/thread_task_runner_handle.cc.orig 2020-11-13 06:36:34 UTC +--- base/threading/thread_task_runner_handle.cc.orig 2021-03-12 23:57:15 UTC +++ base/threading/thread_task_runner_handle.cc @@ -8,6 +8,7 @@ #include @@ -8,19 +8,19 @@ #include "base/check_op.h" #include "base/lazy_instance.h" #include "base/run_loop.h" -@@ -38,6 +39,7 @@ bool ThreadTaskRunnerHandle::IsSet() { - return !!thread_task_runner_tls.Pointer()->Get(); +@@ -33,6 +34,7 @@ const scoped_refptr& ThreadTas + return current->task_runner_; } +#if defined(OS_BSD) // static - ScopedClosureRunner ThreadTaskRunnerHandle::OverrideForTesting( - scoped_refptr overriding_task_runner) { -@@ -82,6 +84,7 @@ ScopedClosureRunner ThreadTaskRunnerHandle::OverrideFo - base::Unretained(ttrh->task_runner_.get()), - std::move(no_running_during_override))); + bool ThreadTaskRunnerHandle::IsSet() { + return !!thread_task_runner_tls.Pointer()->Get(); +@@ -80,6 +82,7 @@ ThreadTaskRunnerHandleOverride::ThreadTaskRunnerHandle + if (!allow_nested_runloop) + no_running_during_override_.emplace(); } +#endif - ThreadTaskRunnerHandle::ThreadTaskRunnerHandle( - scoped_refptr task_runner) + ThreadTaskRunnerHandleOverride::~ThreadTaskRunnerHandleOverride() { + if (task_runner_to_restore_) { diff --git a/www/chromium/files/patch-base_time_time__unittest.cc b/www/chromium/files/patch-base_time_time__unittest.cc index 7aa69a9a..c0cabcc1 100644 --- a/www/chromium/files/patch-base_time_time__unittest.cc +++ b/www/chromium/files/patch-base_time_time__unittest.cc @@ -1,4 +1,4 @@ ---- base/time/time_unittest.cc.orig 2020-11-16 17:58:27 UTC +--- base/time/time_unittest.cc.orig 2021-03-12 23:57:15 UTC +++ base/time/time_unittest.cc @@ -1969,6 +1969,7 @@ TEST(TimeDelta, Overflows) { EXPECT_TRUE((kLargeDelta / 0.5).is_max()); diff --git a/www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc b/www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc new file mode 100644 index 00000000..08477d7b --- /dev/null +++ b/www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc @@ -0,0 +1,38 @@ +--- base/trace_event/heap_profiler_allocation_context_tracker.cc.orig 2021-03-12 23:57:15 UTC ++++ base/trace_event/heap_profiler_allocation_context_tracker.cc +@@ -30,6 +30,10 @@ + #include + #endif + ++#if defined(OS_BSD) ++#include ++#endif ++ + namespace base { + namespace trace_event { + +@@ -61,13 +65,23 @@ ThreadLocalStorage::Slot& AllocationContextTrackerTLS( + // with id. This function intentionally leaks the allocated strings since they + // are used to tag allocations even after the thread dies. + const char* GetAndLeakThreadName() { +- char name[16]; ++#if defined(OS_BSD) ++ constexpr size_t kBufferLen = 64; ++#else ++ constexpr size_t kBufferLen = 16; ++#endif ++ char name[kBufferLen]; + #if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) + // If the thread name is not set, try to get it from prctl. Thread name might + // not be set in cases where the thread started before heap profiling was + // enabled. + int err = prctl(PR_GET_NAME, name); + if (!err) { ++ return strdup(name); ++ } ++#elif defined(OS_BSD) && __FreeBSD__ >= 12 ++ pthread_get_name_np(pthread_self(), name, kBufferLen); ++ if (*name != '\0') { + return strdup(name); + } + #endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) diff --git a/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc b/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc index c38c4a9a..afbf97a6 100644 --- a/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc +++ b/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc @@ -1,4 +1,4 @@ ---- base/trace_event/malloc_dump_provider.cc.orig 2021-01-18 21:28:45 UTC +--- base/trace_event/malloc_dump_provider.cc.orig 2021-03-12 23:57:15 UTC +++ base/trace_event/malloc_dump_provider.cc @@ -17,6 +17,8 @@ @@ -9,7 +9,7 @@ #else #include #endif -@@ -163,6 +165,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump +@@ -184,6 +186,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump } #elif defined(OS_FUCHSIA) // TODO(fuchsia): Port, see https://crbug.com/706592. diff --git a/www/chromium/files/patch-base_trace__event_process__memory__dump.cc b/www/chromium/files/patch-base_trace__event_process__memory__dump.cc index 39523ac9..a6931d12 100644 --- a/www/chromium/files/patch-base_trace__event_process__memory__dump.cc +++ b/www/chromium/files/patch-base_trace__event_process__memory__dump.cc @@ -1,6 +1,6 @@ ---- base/trace_event/process_memory_dump.cc.orig 2021-01-18 21:28:45 UTC +--- base/trace_event/process_memory_dump.cc.orig 2021-03-12 23:57:15 UTC +++ base/trace_event/process_memory_dump.cc -@@ -100,7 +100,7 @@ size_t ProcessMemoryDump::CountResidentBytes(void* sta +@@ -101,7 +101,7 @@ base::Optional ProcessMemoryDump::CountResiden #if defined(OS_WIN) std::unique_ptr vec( new PSAPI_WORKING_SET_EX_INFORMATION[max_vec_size]); diff --git a/www/chromium/files/patch-base_trace__event_process__memory__dump.h b/www/chromium/files/patch-base_trace__event_process__memory__dump.h deleted file mode 100644 index dea3b589..00000000 --- a/www/chromium/files/patch-base_trace__event_process__memory__dump.h +++ /dev/null @@ -1,11 +0,0 @@ ---- base/trace_event/process_memory_dump.h.orig 2020-11-13 06:36:34 UTC -+++ base/trace_event/process_memory_dump.h -@@ -22,7 +22,7 @@ - - // Define COUNT_RESIDENT_BYTES_SUPPORTED if platform supports counting of the - // resident memory. --#if !defined(OS_NACL) -+#if !defined(OS_NACL) && !defined(OS_BSD) - #define COUNT_RESIDENT_BYTES_SUPPORTED - #endif - diff --git a/www/chromium/files/patch-base_util_memory__pressure_system__memory__pressure__evaluator.cc b/www/chromium/files/patch-base_util_memory__pressure_system__memory__pressure__evaluator.cc index 6f4603a0..a7a50b33 100644 --- a/www/chromium/files/patch-base_util_memory__pressure_system__memory__pressure__evaluator.cc +++ b/www/chromium/files/patch-base_util_memory__pressure_system__memory__pressure__evaluator.cc @@ -1,20 +1,20 @@ ---- base/util/memory_pressure/system_memory_pressure_evaluator.cc.orig 2020-11-16 14:03:42 UTC +--- base/util/memory_pressure/system_memory_pressure_evaluator.cc.orig 2021-03-12 23:57:15 UTC +++ base/util/memory_pressure/system_memory_pressure_evaluator.cc -@@ -14,7 +14,7 @@ - #elif defined(OS_WIN) - #include "base/util/memory_pressure/system_memory_pressure_evaluator_win.h" +@@ -17,7 +17,7 @@ #include "base/win/windows_version.h" --#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) #include "base/util/memory_pressure/system_memory_pressure_evaluator_linux.h" #endif -@@ -45,7 +45,7 @@ SystemMemoryPressureEvaluator::CreateDefaultSystemEval - evaluator->CreateOSSignalPressureEvaluator(monitor->CreateVoter()); - } +@@ -50,7 +50,7 @@ SystemMemoryPressureEvaluator::CreateDefaultSystemEval return evaluator; --#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) return std::make_unique( monitor->CreateVoter()); #endif diff --git a/www/chromium/files/patch-build_config_BUILD.gn b/www/chromium/files/patch-build_config_BUILD.gn index 7ea45f21..516a836e 100644 --- a/www/chromium/files/patch-build_config_BUILD.gn +++ b/www/chromium/files/patch-build_config_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/BUILD.gn.orig 2021-01-18 21:28:45 UTC +--- build/config/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ build/config/BUILD.gn @@ -232,9 +232,7 @@ config("default_libs") { ] @@ -10,7 +10,7 @@ ] } } -@@ -317,7 +315,7 @@ config("executable_config") { +@@ -313,7 +311,7 @@ config("executable_config") { "//build/config/ios:ios_dynamic_flags", "//build/config/ios:ios_executable_flags", ] diff --git a/www/chromium/files/patch-build_config_BUILDCONFIG.gn b/www/chromium/files/patch-build_config_BUILDCONFIG.gn index e013fead..e434d1df 100644 --- a/www/chromium/files/patch-build_config_BUILDCONFIG.gn +++ b/www/chromium/files/patch-build_config_BUILDCONFIG.gn @@ -1,6 +1,6 @@ ---- build/config/BUILDCONFIG.gn.orig 2021-01-18 21:28:45 UTC +--- build/config/BUILDCONFIG.gn.orig 2021-03-12 23:57:15 UTC +++ build/config/BUILDCONFIG.gn -@@ -183,8 +183,8 @@ if (host_toolchain == "") { +@@ -194,8 +194,8 @@ if (host_toolchain == "") { # TODO(dpranke): Add some sort of assert here that verifies that # no toolchain omitted host_toolchain from its toolchain_args(). @@ -11,7 +11,7 @@ host_toolchain = "//build/toolchain/linux:clang_$host_cpu" } else if (is_clang) { host_toolchain = "//build/toolchain/linux:clang_$host_cpu" -@@ -221,7 +221,7 @@ if (target_os == "android") { +@@ -232,7 +232,7 @@ if (target_os == "android") { assert(host_os == "linux" || host_os == "mac", "Android builds are only supported on Linux and Mac hosts.") _default_toolchain = "//build/toolchain/android:android_clang_$target_cpu" @@ -20,7 +20,7 @@ # See comments in build/toolchain/cros/BUILD.gn about board compiles. if (is_clang) { _default_toolchain = "//build/toolchain/linux:clang_$target_cpu" -@@ -282,10 +282,11 @@ if (custom_toolchain != "") { +@@ -293,10 +293,11 @@ if (custom_toolchain != "") { # current_os value directly. is_android = current_os == "android" diff --git a/www/chromium/files/patch-build_config_compiler_BUILD.gn b/www/chromium/files/patch-build_config_compiler_BUILD.gn index 28544113..2a92a506 100644 --- a/www/chromium/files/patch-build_config_compiler_BUILD.gn +++ b/www/chromium/files/patch-build_config_compiler_BUILD.gn @@ -1,6 +1,6 @@ ---- build/config/compiler/BUILD.gn.orig 2021-01-18 21:28:45 UTC +--- build/config/compiler/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ build/config/compiler/BUILD.gn -@@ -129,7 +129,7 @@ declare_args() { +@@ -132,7 +132,7 @@ declare_args() { # # TODO(crbug.com/977230): Enabling this when 'use_xcode_clang' is true may # call an old clang that doesn't support auto-init. @@ -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 -@@ -291,7 +291,7 @@ config("compiler") { +@@ -316,7 +316,7 @@ config("compiler") { } # Linker warnings. @@ -18,7 +18,7 @@ ldflags += [ "-Wl,--fatal-warnings" ] } if (fatal_linker_warnings && is_apple) { -@@ -387,7 +387,7 @@ config("compiler") { +@@ -411,7 +411,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", -@@ -478,7 +478,7 @@ config("compiler") { +@@ -501,7 +501,7 @@ config("compiler") { ldflags += [ "-Wl,-z,keep-text-section-prefix" ] } @@ -36,7 +36,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] cflags += [ -@@ -777,7 +777,7 @@ config("compiler_cpu_abi") { +@@ -796,7 +796,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" ] } -@@ -1127,7 +1127,7 @@ config("compiler_deterministic") { +@@ -1146,7 +1146,7 @@ config("compiler_deterministic") { "-Xclang", ".", ] @@ -54,7 +54,7 @@ # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167) asmflags = [ "-Wa,-fdebug-compilation-dir,." ] } -@@ -1510,7 +1510,7 @@ config("default_warnings") { +@@ -1529,7 +1529,7 @@ config("default_warnings") { cflags += [ "-Wno-nonportable-include-path" ] } @@ -63,7 +63,26 @@ # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not # recognize. cflags += [ -@@ -1685,7 +1685,7 @@ config("no_chromium_code") { +@@ -1570,6 +1570,18 @@ config("default_warnings") { + cflags += [ "-Wno-max-tokens" ] + } + } ++ ++ if (is_clang && is_bsd) { ++ cflags += [ ++ "-Wno-ignored-pragma-optimize", ++ "-Wno-implicit-int-float-conversion", ++ "-Wno-final-dtor-non-final-class", ++ "-Wno-builtin-assume-aligned-alignment", ++ "-Wno-deprecated-copy", ++ "-Wno-thread-safety-analysis", ++ "-Wno-thread-safety-attributes", ++ ] ++ } + } + } + } +@@ -1699,7 +1711,7 @@ config("no_chromium_code") { # suppressing them individually, we just blanket suppress them here. "-Wno-unused-variable", ] @@ -72,16 +91,16 @@ cflags += [ # TODO(https://crbug.com/1031169): Clean up and enable. "-Wno-misleading-indentation", -@@ -1763,7 +1763,7 @@ config("thin_archive") { - # Mac and iOS use the mac-specific "libtool" command, not ar, which doesn't - # have a "thin archive" mode (it does accept -T, but it means truncating - # archive names to 16 characters, which is not what we want). -- if ((is_posix && !is_nacl && !is_apple) || is_fuchsia) { -+ if ((is_posix && !is_nacl && !is_apple && !is_bsd) || is_fuchsia) { +@@ -1777,7 +1789,7 @@ config("export_dynamic") { + config("thin_archive") { + # The macOS and iOS default linker ld64 does not support reading thin + # archives. +- if ((is_posix && !is_nacl && (!is_apple || use_lld)) || is_fuchsia) { ++ if ((is_posix && !is_nacl && (!is_apple || use_lld) && !is_bsd) || is_fuchsia) { arflags = [ "-T" ] } else if (is_win && use_lld) { arflags = [ "/llvmlibthin" ] -@@ -2317,7 +2317,7 @@ config("symbols") { +@@ -2318,7 +2330,7 @@ config("symbols") { # flag, so we can use use -g1 for pnacl and nacl-clang compiles. # gcc nacl is is_nacl && !is_clang, pnacl and nacl-clang are && is_clang. if (!is_nacl || is_clang) { @@ -90,7 +109,7 @@ } # TODO(https://crbug.com/1050118): Investigate missing debug info on mac. -@@ -2349,7 +2349,7 @@ config("symbols") { +@@ -2350,7 +2362,7 @@ config("symbols") { # DWARF info may be corrupt; offsets in a range list entry are in different # sections" there. Maybe just a bug in nacl_switch_32.S. if (!is_apple && !is_nacl && current_cpu != "x86" && diff --git a/www/chromium/files/patch-build_config_compiler_compiler.gni b/www/chromium/files/patch-build_config_compiler_compiler.gni index 01a14560..712d36e5 100644 --- a/www/chromium/files/patch-build_config_compiler_compiler.gni +++ b/www/chromium/files/patch-build_config_compiler_compiler.gni @@ -1,11 +1,11 @@ ---- build/config/compiler/compiler.gni.orig 2021-01-18 21:28:45 UTC +--- build/config/compiler/compiler.gni.orig 2021-03-12 23:57:15 UTC +++ build/config/compiler/compiler.gni -@@ -196,7 +196,7 @@ declare_args() { +@@ -201,7 +201,7 @@ declare_args() { + declare_args() { # Whether to use the gold linker from binutils instead of lld or bfd. - use_gold = -- !use_lld && !(is_chromecast && is_linux && -+ !is_bsd && !use_lld && !(is_chromecast && is_linux && - (current_cpu == "arm" || current_cpu == "mipsel")) && - ((is_linux && (current_cpu == "x64" || current_cpu == "x86" || - current_cpu == "arm" || current_cpu == "arm64" || +- use_gold = !use_lld && !(is_chromecast && is_linux && ++ use_gold = !is_bsd && !use_lld && !(is_chromecast && is_linux && + (current_cpu == "arm" || current_cpu == "mipsel")) && + (((is_linux || is_chromeos_lacros) && + (current_cpu == "x64" || current_cpu == "x86" || diff --git a/www/chromium/files/patch-build_config_features.gni b/www/chromium/files/patch-build_config_features.gni index 247dd9c8..a40d39ee 100644 --- a/www/chromium/files/patch-build_config_features.gni +++ b/www/chromium/files/patch-build_config_features.gni @@ -1,4 +1,4 @@ ---- build/config/features.gni.orig 2020-11-13 06:36:34 UTC +--- build/config/features.gni.orig 2021-03-12 23:57:15 UTC +++ build/config/features.gni @@ -26,7 +26,7 @@ declare_args() { proprietary_codecs = is_chrome_branded || is_chromecast diff --git a/www/chromium/files/patch-build_config_freetype_freetype.gni b/www/chromium/files/patch-build_config_freetype_freetype.gni index 6431f976..b0cafcef 100644 --- a/www/chromium/files/patch-build_config_freetype_freetype.gni +++ b/www/chromium/files/patch-build_config_freetype_freetype.gni @@ -1,4 +1,4 @@ ---- build/config/freetype/freetype.gni.orig 2020-11-13 06:36:34 UTC +--- build/config/freetype/freetype.gni.orig 2021-03-19 11:22:27 UTC +++ build/config/freetype/freetype.gni @@ -10,5 +10,5 @@ declare_args() { # than version 2.7.1 and have color bitmap support compiled in. WARNING: diff --git a/www/chromium/files/patch-build_config_linux_BUILD.gn b/www/chromium/files/patch-build_config_linux_BUILD.gn index bc9748b2..3b27fbfe 100644 --- a/www/chromium/files/patch-build_config_linux_BUILD.gn +++ b/www/chromium/files/patch-build_config_linux_BUILD.gn @@ -1,8 +1,8 @@ ---- build/config/linux/BUILD.gn.orig 2020-11-13 06:36:34 UTC +--- build/config/linux/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ build/config/linux/BUILD.gn -@@ -30,7 +30,7 @@ config("runtime_library") { +@@ -32,7 +32,7 @@ config("runtime_library") { - if ((!(is_chromeos || chromeos_is_browser_only) || + if ((!(is_chromeos_ash || is_chromeos_lacros) || default_toolchain != "//build/toolchain/cros:target") && - (!use_custom_libcxx || current_cpu == "mipsel")) { + (!use_custom_libcxx || current_cpu == "mipsel") && !is_bsd) { diff --git a/www/chromium/files/patch-build_config_linux_pkg-config.py b/www/chromium/files/patch-build_config_linux_pkg-config.py index 3ac95532..aa7ca0f7 100644 --- a/www/chromium/files/patch-build_config_linux_pkg-config.py +++ b/www/chromium/files/patch-build_config_linux_pkg-config.py @@ -1,4 +1,4 @@ ---- build/config/linux/pkg-config.py.orig 2020-11-13 06:36:34 UTC +--- build/config/linux/pkg-config.py.orig 2021-03-12 23:57:15 UTC +++ build/config/linux/pkg-config.py @@ -59,8 +59,12 @@ def SetConfigPath(options): print("You must specify an architecture via -a if using a sysroot.") diff --git a/www/chromium/files/patch-build_config_ozone.gni b/www/chromium/files/patch-build_config_ozone.gni index d49986fd..add2a94c 100644 --- a/www/chromium/files/patch-build_config_ozone.gni +++ b/www/chromium/files/patch-build_config_ozone.gni @@ -1,12 +1,12 @@ ---- build/config/ozone.gni.orig 2021-01-18 21:28:45 UTC +--- build/config/ozone.gni.orig 2021-03-12 23:57:15 UTC +++ build/config/ozone.gni -@@ -69,6 +69,9 @@ declare_args() { +@@ -70,6 +70,9 @@ declare_args() { ozone_platform = "x11" ozone_platform_drm = true ozone_platform_x11 = true + } else if (is_bsd) { + ozone_platform = "x11" + ozone_platform_x11 = true - } else if (is_linux) { + } else if (is_linux || is_chromeos_lacros) { ozone_platform = "x11" ozone_platform_wayland = true diff --git a/www/chromium/files/patch-build_config_sysroot.gni b/www/chromium/files/patch-build_config_sysroot.gni index 9e340d8b..65b672a9 100644 --- a/www/chromium/files/patch-build_config_sysroot.gni +++ b/www/chromium/files/patch-build_config_sysroot.gni @@ -1,4 +1,4 @@ ---- build/config/sysroot.gni.orig 2020-11-13 06:36:34 UTC +--- build/config/sysroot.gni.orig 2021-03-12 23:57:15 UTC +++ build/config/sysroot.gni @@ -21,9 +21,9 @@ declare_args() { diff --git a/www/chromium/files/patch-build_detect__host__arch.py b/www/chromium/files/patch-build_detect__host__arch.py index 9d0ebae9..84b6ece3 100644 --- a/www/chromium/files/patch-build_detect__host__arch.py +++ b/www/chromium/files/patch-build_detect__host__arch.py @@ -1,4 +1,4 @@ ---- build/detect_host_arch.py.orig 2020-11-13 06:36:34 UTC +--- build/detect_host_arch.py.orig 2021-03-12 23:57:15 UTC +++ build/detect_host_arch.py @@ -21,6 +21,8 @@ def HostArch(): host_arch = 'ia32' diff --git a/www/chromium/files/patch-build_gn__run__binary.py b/www/chromium/files/patch-build_gn__run__binary.py index bf433af3..c56ad6ea 100644 --- a/www/chromium/files/patch-build_gn__run__binary.py +++ b/www/chromium/files/patch-build_gn__run__binary.py @@ -1,4 +1,4 @@ ---- build/gn_run_binary.py.orig 2020-11-13 06:36:34 UTC +--- build/gn_run_binary.py.orig 2021-03-12 23:57:15 UTC +++ build/gn_run_binary.py @@ -24,7 +24,7 @@ if not os.path.isabs(path): # The rest of the arguments are passed directly to the executable. diff --git a/www/chromium/files/patch-build_linux_chrome.map b/www/chromium/files/patch-build_linux_chrome.map index d4b55689..8e4f0f67 100644 --- a/www/chromium/files/patch-build_linux_chrome.map +++ b/www/chromium/files/patch-build_linux_chrome.map @@ -1,4 +1,4 @@ ---- build/linux/chrome.map.orig 2020-11-13 06:36:34 UTC +--- build/linux/chrome.map.orig 2021-03-12 23:57:15 UTC +++ build/linux/chrome.map @@ -1,4 +1,7 @@ { @@ -19,10 +19,10 @@ # Memory allocation symbols. We want chrome and any libraries to # share the same heap, so it is correct to export these symbols. calloc; -@@ -81,7 +88,4 @@ global: - localtime64; - localtime64_r; +@@ -83,7 +90,4 @@ global: localtime_r; + + v8dbg_*; - -local: - *; diff --git a/www/chromium/files/patch-build_linux_libpci_BUILD.gn b/www/chromium/files/patch-build_linux_libpci_BUILD.gn index aae9271a..e0f1b0b5 100644 --- a/www/chromium/files/patch-build_linux_libpci_BUILD.gn +++ b/www/chromium/files/patch-build_linux_libpci_BUILD.gn @@ -1,4 +1,4 @@ ---- build/linux/libpci/BUILD.gn.orig 2020-11-13 06:36:34 UTC +--- build/linux/libpci/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ build/linux/libpci/BUILD.gn @@ -3,20 +3,36 @@ # found in the LICENSE file. diff --git a/www/chromium/files/patch-build_linux_unbundle_libusb.gn b/www/chromium/files/patch-build_linux_unbundle_libusb.gn index cc33eba5..e164aa29 100644 --- a/www/chromium/files/patch-build_linux_unbundle_libusb.gn +++ b/www/chromium/files/patch-build_linux_unbundle_libusb.gn @@ -1,4 +1,4 @@ ---- build/linux/unbundle/libusb.gn.orig 2020-11-16 10:04:40 UTC +--- build/linux/unbundle/libusb.gn.orig 2021-03-15 11:01:22 UTC +++ build/linux/unbundle/libusb.gn @@ -0,0 +1,24 @@ +# Copyright 2016 The Chromium Authors. All rights reserved. diff --git a/www/chromium/files/patch-build_linux_unbundle_replace__gn__files.py b/www/chromium/files/patch-build_linux_unbundle_replace__gn__files.py index ba668940..e49e1e7e 100644 --- a/www/chromium/files/patch-build_linux_unbundle_replace__gn__files.py +++ b/www/chromium/files/patch-build_linux_unbundle_replace__gn__files.py @@ -1,4 +1,4 @@ ---- build/linux/unbundle/replace_gn_files.py.orig 2020-11-13 06:36:34 UTC +--- build/linux/unbundle/replace_gn_files.py.orig 2021-03-12 23:57:15 UTC +++ build/linux/unbundle/replace_gn_files.py @@ -27,6 +27,7 @@ REPLACEMENTS = { 'libevent': 'base/third_party/libevent/BUILD.gn', diff --git a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni index 5ee773af..e4843269 100644 --- a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni +++ b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni @@ -1,6 +1,6 @@ ---- build/toolchain/gcc_toolchain.gni.orig 2021-01-18 21:28:45 UTC +--- build/toolchain/gcc_toolchain.gni.orig 2021-03-12 23:57:15 UTC +++ build/toolchain/gcc_toolchain.gni -@@ -50,6 +50,11 @@ if (enable_resource_allowlist_generation) { +@@ -51,6 +51,11 @@ if (enable_resource_allowlist_generation) { "enable_resource_allowlist_generation=true does not work for target_os=$target_os") } @@ -12,7 +12,7 @@ # This template defines a toolchain for something that works like gcc # (including clang). # -@@ -626,13 +631,23 @@ template("clang_toolchain") { +@@ -639,13 +644,23 @@ template("clang_toolchain") { } gcc_toolchain(target_name) { diff --git a/www/chromium/files/patch-build_toolchain_get__concurrent__links.py b/www/chromium/files/patch-build_toolchain_get__concurrent__links.py index fe86ac61..c886e27c 100644 --- a/www/chromium/files/patch-build_toolchain_get__concurrent__links.py +++ b/www/chromium/files/patch-build_toolchain_get__concurrent__links.py @@ -1,4 +1,4 @@ ---- build/toolchain/get_concurrent_links.py.orig 2020-11-13 06:36:34 UTC +--- build/toolchain/get_concurrent_links.py.orig 2021-03-12 23:57:15 UTC +++ build/toolchain/get_concurrent_links.py @@ -53,6 +53,14 @@ def _GetTotalMemoryInBytes(): return int(subprocess.check_output(['sysctl', '-n', 'hw.memsize'])) diff --git a/www/chromium/files/patch-build_toolchain_linux_BUILD.gn b/www/chromium/files/patch-build_toolchain_linux_BUILD.gn index d979167d..cf2cfe07 100644 --- a/www/chromium/files/patch-build_toolchain_linux_BUILD.gn +++ b/www/chromium/files/patch-build_toolchain_linux_BUILD.gn @@ -1,4 +1,4 @@ ---- build/toolchain/linux/BUILD.gn.orig 2021-01-18 21:28:45 UTC +--- build/toolchain/linux/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ build/toolchain/linux/BUILD.gn @@ -23,7 +23,6 @@ clang_toolchain("clang_arm") { } diff --git a/www/chromium/files/patch-cc_BUILD.gn b/www/chromium/files/patch-cc_BUILD.gn index f2fa2bb7..fa5dd4be 100644 --- a/www/chromium/files/patch-cc_BUILD.gn +++ b/www/chromium/files/patch-cc_BUILD.gn @@ -1,6 +1,6 @@ ---- cc/BUILD.gn.orig 2021-01-18 21:28:45 UTC +--- cc/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ cc/BUILD.gn -@@ -620,7 +620,7 @@ cc_test_static_library("test_support") { +@@ -633,7 +633,7 @@ cc_test_static_library("test_support") { if (enable_vulkan) { deps += [ "//gpu/vulkan/init" ] } @@ -9,7 +9,7 @@ data_deps = [ "//third_party/mesa_headers" ] } } -@@ -832,7 +832,6 @@ cc_test("cc_unittests") { +@@ -848,7 +848,6 @@ cc_test("cc_unittests") { ] data_deps = [ "//testing/buildbot/filters:cc_unittests_filters", diff --git a/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc b/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc index 9ecfbba6..95fb4533 100644 --- a/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc +++ b/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc @@ -1,4 +1,4 @@ ---- cc/layers/scrollbar_layer_impl_base.cc.orig 2020-11-13 06:36:34 UTC +--- cc/layers/scrollbar_layer_impl_base.cc.orig 2021-03-12 23:57:15 UTC +++ cc/layers/scrollbar_layer_impl_base.cc @@ -219,8 +219,8 @@ gfx::Rect ScrollbarLayerImplBase::ComputeThumbQuadRect int thumb_offset = TrackStart(); diff --git a/www/chromium/files/patch-cc_test_layer__tree__test.cc b/www/chromium/files/patch-cc_test_layer__tree__test.cc index fa16b79f..8f25479f 100644 --- a/www/chromium/files/patch-cc_test_layer__tree__test.cc +++ b/www/chromium/files/patch-cc_test_layer__tree__test.cc @@ -1,6 +1,6 @@ ---- cc/test/layer_tree_test.cc.orig 2021-01-18 21:28:45 UTC +--- cc/test/layer_tree_test.cc.orig 2021-03-12 23:57:15 UTC +++ cc/test/layer_tree_test.cc -@@ -676,7 +676,7 @@ LayerTreeTest::LayerTreeTest(viz::RendererType rendere +@@ -673,7 +673,7 @@ LayerTreeTest::LayerTreeTest(viz::RendererType rendere init_vulkan = true; } else if (renderer_type_ == viz::RendererType::kSkiaDawn) { scoped_feature_list_.InitAndEnableFeature(features::kSkiaDawn); diff --git a/www/chromium/files/patch-cc_test_pixel__test.cc b/www/chromium/files/patch-cc_test_pixel__test.cc index 432cdf45..279686d8 100644 --- a/www/chromium/files/patch-cc_test_pixel__test.cc +++ b/www/chromium/files/patch-cc_test_pixel__test.cc @@ -1,4 +1,4 @@ ---- cc/test/pixel_test.cc.orig 2020-11-13 06:36:34 UTC +--- cc/test/pixel_test.cc.orig 2021-03-12 23:57:15 UTC +++ cc/test/pixel_test.cc @@ -69,7 +69,7 @@ PixelTest::PixelTest(GraphicsBackend backend) init_vulkan = true; diff --git a/www/chromium/files/patch-cc_trees_frame__rate__estimator.cc b/www/chromium/files/patch-cc_trees_frame__rate__estimator.cc index ac015f4e..9665897d 100644 --- a/www/chromium/files/patch-cc_trees_frame__rate__estimator.cc +++ b/www/chromium/files/patch-cc_trees_frame__rate__estimator.cc @@ -1,4 +1,4 @@ ---- cc/trees/frame_rate_estimator.cc.orig 2020-11-13 06:36:34 UTC +--- cc/trees/frame_rate_estimator.cc.orig 2021-03-12 23:57:15 UTC +++ cc/trees/frame_rate_estimator.cc @@ -48,7 +48,7 @@ void FrameRateEstimator::WillDraw(base::TimeTicks now) // frequency is lower than that, then using a lower frame rate is permitted. diff --git a/www/chromium/files/patch-cc_trees_property__tree.cc b/www/chromium/files/patch-cc_trees_property__tree.cc index 59dd0746..c3572792 100644 --- a/www/chromium/files/patch-cc_trees_property__tree.cc +++ b/www/chromium/files/patch-cc_trees_property__tree.cc @@ -1,6 +1,6 @@ ---- cc/trees/property_tree.cc.orig 2021-01-18 21:28:45 UTC +--- cc/trees/property_tree.cc.orig 2021-03-12 23:57:15 UTC +++ cc/trees/property_tree.cc -@@ -1295,13 +1295,13 @@ gfx::ScrollOffset ScrollTree::MaxScrollOffset(int scro +@@ -1300,13 +1300,13 @@ gfx::ScrollOffset ScrollTree::MaxScrollOffset(int scro gfx::Size clip_layer_bounds = container_bounds(scroll_node->id); diff --git a/www/chromium/files/patch-chrome_BUILD.gn b/www/chromium/files/patch-chrome_BUILD.gn index 58f9f142..a3a298b8 100644 --- a/www/chromium/files/patch-chrome_BUILD.gn +++ b/www/chromium/files/patch-chrome_BUILD.gn @@ -1,6 +1,6 @@ ---- chrome/BUILD.gn.orig 2021-01-18 21:28:45 UTC +--- chrome/BUILD.gn.orig 2021-03-12 23:57:15 UTC +++ chrome/BUILD.gn -@@ -1227,6 +1227,10 @@ group("browser_dependencies") { +@@ -1243,6 +1243,10 @@ group("browser_dependencies") { public_deps += [ "//chromeos/lacros" ] } @@ -8,6 +8,6 @@ + public_deps -= [ "//components/crash/core/app" ] + } + - if (is_chromeos) { + if (is_chromeos_ash) { public_deps += [ "//chrome/browser/chromeos", diff --git a/www/chromium/files/patch-chrome_app_BUILD.gn b/www/chromium/files/patch-chrome_app_BUILD.gn index 7fb979ce..84e99450 100644 --- a/www/chromium/files/patch-chrome_app_BUILD.gn +++ b/www/chromium/files/patch-chrome_app_BUILD.gn @@ -1,4 +1,4 @@ ---- chrome/app/BUILD.gn.orig 2021-01-18 21:28:46 UTC +--- chrome/app/BUILD.gn.orig 2021-03-12 23:57:16 UTC +++ chrome/app/BUILD.gn @@ -143,7 +143,7 @@ static_library("test_support") { "//v8:v8_headers", diff --git a/www/chromium/files/patch-chrome_app_chrome__command__ids.h b/www/chromium/files/patch-chrome_app_chrome__command__ids.h index f7cf60b9..8e1c8d63 100644 --- a/www/chromium/files/patch-chrome_app_chrome__command__ids.h +++ b/www/chromium/files/patch-chrome_app_chrome__command__ids.h @@ -1,11 +1,11 @@ ---- chrome/app/chrome_command_ids.h.orig 2020-11-13 06:36:35 UTC +--- chrome/app/chrome_command_ids.h.orig 2021-03-12 23:57:16 UTC +++ chrome/app/chrome_command_ids.h -@@ -61,7 +61,7 @@ - #define IDC_ALL_WINDOWS_FRONT 34048 +@@ -64,7 +64,7 @@ #define IDC_NAME_WINDOW 34049 --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) #define IDC_USE_SYSTEM_TITLE_BAR 34051 #define IDC_RESTORE_WINDOW 34052 #endif diff --git a/www/chromium/files/patch-chrome_app_chrome__main.cc b/www/chromium/files/patch-chrome_app_chrome__main.cc index a5a64acd..0bf1ec54 100644 --- a/www/chromium/files/patch-chrome_app_chrome__main.cc +++ b/www/chromium/files/patch-chrome_app_chrome__main.cc @@ -1,6 +1,6 @@ ---- chrome/app/chrome_main.cc.orig 2021-01-18 21:28:46 UTC +--- chrome/app/chrome_main.cc.orig 2021-03-12 23:57:16 UTC +++ chrome/app/chrome_main.cc -@@ -119,12 +119,12 @@ int ChromeMain(int argc, const char** argv) { +@@ -130,12 +130,12 @@ int ChromeMain(int argc, const char** argv) { MainThreadStackSamplingProfiler scoped_sampling_profiler; // Chrome-specific process modes. diff --git a/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc b/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc index 0fafceb8..faa92dea 100644 --- a/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc +++ b/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc @@ -1,6 +1,6 @@ ---- chrome/app/chrome_main_delegate.cc.orig 2021-01-18 21:28:46 UTC +--- chrome/app/chrome_main_delegate.cc.orig 2021-03-12 23:57:16 UTC +++ chrome/app/chrome_main_delegate.cc -@@ -148,12 +148,12 @@ +@@ -149,12 +149,12 @@ #include "v8/include/v8.h" #endif @@ -15,7 +15,7 @@ #include "chrome/browser/policy/policy_path_parser.h" #include "components/crash/core/app/crashpad.h" #endif -@@ -259,7 +259,7 @@ void SetUpExtendedCrashReporting(bool is_browser_proce +@@ -260,7 +260,7 @@ void SetUpExtendedCrashReporting(bool is_browser_proce #endif // defined(OS_WIN) @@ -24,7 +24,7 @@ void AdjustLinuxOOMScore(const std::string& process_type) { int score = -1; -@@ -294,13 +294,13 @@ void AdjustLinuxOOMScore(const std::string& process_ty +@@ -295,7 +295,7 @@ void AdjustLinuxOOMScore(const std::string& process_ty if (score > -1) base::AdjustOOMScore(base::GetCurrentProcId(), score); } @@ -33,32 +33,25 @@ // Returns true if this subprocess type needs the ResourceBundle initialized // and resources loaded. - bool SubprocessNeedsResourceBundle(const std::string& process_type) { - return --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - // The zygote process opens the resources for the renderers. - process_type == switches::kZygoteProcess || - #endif -@@ -338,7 +338,7 @@ bool HandleVersionSwitches(const base::CommandLine& co - return false; - } +@@ -341,7 +341,7 @@ bool HandleVersionSwitches(const base::CommandLine& co --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) // Show the man page if --help or -h is on the command line. void HandleHelpSwitches(const base::CommandLine& command_line) { if (command_line.HasSwitch(switches::kHelp) || -@@ -348,7 +348,7 @@ void HandleHelpSwitches(const base::CommandLine& comma +@@ -351,7 +351,7 @@ void HandleHelpSwitches(const base::CommandLine& comma PLOG(FATAL) << "execlp failed"; } } --#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#endif // (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) +-#endif // defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#endif // defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) #if !defined(OS_MAC) && !defined(OS_ANDROID) void SIGTERMProfilingShutdown(int signal) { -@@ -402,7 +402,7 @@ void InitializeUserDataDir(base::CommandLine* command_ +@@ -405,7 +405,7 @@ void InitializeUserDataDir(base::CommandLine* command_ std::string process_type = command_line->GetSwitchValueASCII(switches::kProcessType); @@ -67,7 +60,7 @@ // On Linux, Chrome does not support running multiple copies under different // DISPLAYs, so the profile directory can be specified in the environment to // support the virtual desktop use-case. -@@ -414,7 +414,7 @@ void InitializeUserDataDir(base::CommandLine* command_ +@@ -417,7 +417,7 @@ void InitializeUserDataDir(base::CommandLine* command_ user_data_dir = base::FilePath::FromUTF8Unsafe(user_data_dir_string); } } @@ -76,16 +69,16 @@ #if defined(OS_MAC) policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); #endif // OS_MAC -@@ -486,7 +486,7 @@ void RecordMainStartupMetrics(base::TimeTicks applicat +@@ -488,7 +488,7 @@ void RecordMainStartupMetrics(base::TimeTicks applicat + startup_metric_utils::RecordApplicationStartTime(now); #endif - #if defined(OS_MAC) || defined(OS_WIN) || defined(OS_LINUX) || \ -- defined(OS_CHROMEOS) -+ defined(OS_CHROMEOS) || defined(OS_BSD) +-#if defined(OS_MAC) || defined(OS_WIN) || defined(OS_LINUX) || \ ++#if defined(OS_MAC) || defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \ + defined(OS_CHROMEOS) // Record the startup process creation time on supported platforms. On Android // this is recorded in ChromeMainDelegateAndroid. - startup_metric_utils::RecordStartupProcessCreationTime( -@@ -709,7 +709,7 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exi +@@ -723,7 +723,7 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exi v8_crashpad_support::SetUp(); #endif @@ -94,16 +87,16 @@ if (!crash_reporter::IsCrashpadEnabled()) { breakpad::SetFirstChanceExceptionHandler(v8::TryHandleWebAssemblyTrapPosix); } -@@ -720,7 +720,7 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exi - *exit_code = 0; - return true; // Got a --version switch; exit with a success error code. +@@ -736,7 +736,7 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exi } --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) // This will directly exit if the user asked for help. HandleHelpSwitches(command_line); #endif -@@ -928,7 +928,7 @@ void ChromeMainDelegate::PreSandboxStartup() { +@@ -945,7 +945,7 @@ void ChromeMainDelegate::PreSandboxStartup() { crash_reporter::InitializeCrashKeys(); @@ -112,7 +105,7 @@ ChromeCrashReporterClient::Create(); #endif -@@ -941,7 +941,7 @@ void ChromeMainDelegate::PreSandboxStartup() { +@@ -958,7 +958,7 @@ void ChromeMainDelegate::PreSandboxStartup() { child_process_logging::Init(); #endif #if defined(ARCH_CPU_ARM_FAMILY) && \ @@ -121,7 +114,7 @@ // Create an instance of the CPU class to parse /proc/cpuinfo and cache // cpu_brand info. base::CPU cpu_info; -@@ -1058,7 +1058,7 @@ void ChromeMainDelegate::PreSandboxStartup() { +@@ -1075,7 +1075,7 @@ void ChromeMainDelegate::PreSandboxStartup() { locale; } @@ -130,7 +123,7 @@ // Zygote needs to call InitCrashReporter() in RunZygote(). if (process_type != switches::kZygoteProcess) { #if defined(OS_ANDROID) -@@ -1079,7 +1079,7 @@ void ChromeMainDelegate::PreSandboxStartup() { +@@ -1096,7 +1096,7 @@ void ChromeMainDelegate::PreSandboxStartup() { } #endif // defined(OS_ANDROID) } @@ -139,7 +132,7 @@ #if defined(OS_ANDROID) CHECK_EQ(base::android::GetLibraryProcessType(), -@@ -1099,7 +1099,7 @@ void ChromeMainDelegate::PreSandboxStartup() { +@@ -1116,7 +1116,7 @@ void ChromeMainDelegate::PreSandboxStartup() { void ChromeMainDelegate::SandboxInitialized(const std::string& process_type) { // Note: If you are adding a new process type below, be sure to adjust the // AdjustLinuxOOMScore function too. @@ -148,7 +141,7 @@ AdjustLinuxOOMScore(process_type); #endif #if defined(OS_WIN) -@@ -1141,7 +1141,7 @@ int ChromeMainDelegate::RunProcess( +@@ -1158,7 +1158,7 @@ int ChromeMainDelegate::RunProcess( // This entry is not needed on Linux, where the NaCl loader // process is launched via nacl_helper instead. @@ -157,7 +150,7 @@ {switches::kNaClLoaderProcess, NaClMain}, #else {"", nullptr}, // To avoid constant array of size 0 -@@ -1169,7 +1169,7 @@ void ChromeMainDelegate::ProcessExiting(const std::str +@@ -1186,7 +1186,7 @@ void ChromeMainDelegate::ProcessExiting(const std::str #endif // !defined(OS_ANDROID) } @@ -165,8 +158,8 @@ +#if (defined(OS_LINUX) || defined(OS_CHROMEOS)) void ChromeMainDelegate::ZygoteStarting( std::vector>* delegates) { - #if defined(OS_CHROMEOS) -@@ -1206,7 +1206,7 @@ void ChromeMainDelegate::ZygoteForked() { + #if BUILDFLAG(IS_CHROMEOS_ASH) +@@ -1223,7 +1223,7 @@ void ChromeMainDelegate::ZygoteForked() { crash_keys::SetCrashKeysFromCommandLine(*command_line); } diff --git a/www/chromium/files/patch-chrome_app_chromium__strings.grd b/www/chromium/files/patch-chrome_app_chromium__strings.grd index bdca535d..79ef7856 100644 --- a/www/chromium/files/patch-chrome_app_chromium__strings.grd +++ b/www/chromium/files/patch-chrome_app_chromium__strings.grd @@ -1,6 +1,6 @@ ---- chrome/app/chromium_strings.grd.orig 2020-11-13 06:36:35 UTC +--- chrome/app/chromium_strings.grd.orig 2021-03-12 23:57:16 UTC +++ chrome/app/chromium_strings.grd -@@ -698,7 +698,7 @@ Chromium is unable to recover your settings. +@@ -716,7 +716,7 @@ Chromium is unable to recover your settings. @@ -9,7 +9,7 @@ Your system administrator has configured Chromium to open an alternative browser to access $1example.com. -@@ -809,7 +809,7 @@ Chromium is unable to recover your settings. +@@ -839,7 +839,7 @@ Chromium is unable to recover your settings. @@ -18,7 +18,7 @@ The profile appears to be in use by another Chromium process ($112345) on another computer ($2example.com). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium. -@@ -1028,7 +1028,7 @@ Chromium is unable to recover your settings. +@@ -1058,7 +1058,7 @@ Chromium is unable to recover your settings. diff --git a/www/chromium/files/patch-chrome_app_generated__resources.grd b/www/chromium/files/patch-chrome_app_generated__resources.grd index e5745e50..44276de0 100644 --- a/www/chromium/files/patch-chrome_app_generated__resources.grd +++ b/www/chromium/files/patch-chrome_app_generated__resources.grd @@ -1,6 +1,6 @@ ---- chrome/app/generated_resources.grd.orig 2021-01-18 21:28:46 UTC +--- chrome/app/generated_resources.grd.orig 2021-03-12 23:57:16 UTC +++ chrome/app/generated_resources.grd -@@ -5263,7 +5263,7 @@ Keep your key file in a safe place. You will need it t +@@ -5255,7 +5255,7 @@ Keep your key file in a safe place. You will need it t @@ -9,21 +9,21 @@ Legacy Browser Support -@@ -7269,7 +7269,7 @@ the Bookmarks menu."> +@@ -7305,7 +7305,7 @@ Keep your key file in a safe place. You will need it t Google Pay -- -+ +- ++ Use system title bar and borders -@@ -8257,7 +8257,7 @@ Please help our engineers fix this problem. Tell us wh +@@ -8296,7 +8296,7 @@ Please help our engineers fix this problem. Tell us wh Set as default -- -+ +- ++ Minimize diff --git a/www/chromium/files/patch-chrome_app_google__chrome__strings.grd b/www/chromium/files/patch-chrome_app_google__chrome__strings.grd index 28217b08..64089b9c 100644 --- a/www/chromium/files/patch-chrome_app_google__chrome__strings.grd +++ b/www/chromium/files/patch-chrome_app_google__chrome__strings.grd @@ -1,6 +1,6 @@ ---- chrome/app/google_chrome_strings.grd.orig 2020-11-13 06:36:35 UTC +--- chrome/app/google_chrome_strings.grd.orig 2021-03-12 23:57:16 UTC +++ chrome/app/google_chrome_strings.grd -@@ -705,7 +705,7 @@ Google Chrome is unable to recover your settings. +@@ -723,7 +723,7 @@ Google Chrome is unable to recover your settings. @@ -9,7 +9,7 @@ Your system administrator has configured Google Chrome to open an alternative browser to access $1example.com. -@@ -816,7 +816,7 @@ Google Chrome is unable to recover your settings. +@@ -846,7 +846,7 @@ Google Chrome is unable to recover your settings. @@ -18,7 +18,7 @@ The profile appears to be in use by another Google Chrome process ($112345) on another computer ($2example.com). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome. -@@ -1042,7 +1042,7 @@ Google Chrome is unable to recover your settings. +@@ -1072,7 +1072,7 @@ Google Chrome is unable to recover your settings. diff --git a/www/chromium/files/patch-chrome_app_profiles__strings.grdp b/www/chromium/files/patch-chrome_app_profiles__strings.grdp index a4943a16..99d7594a 100644 --- a/www/chromium/files/patch-chrome_app_profiles__strings.grdp +++ b/www/chromium/files/patch-chrome_app_profiles__strings.grdp @@ -1,4 +1,4 @@ ---- chrome/app/profiles_strings.grdp.orig 2021-01-20 14:08:57 UTC +--- chrome/app/profiles_strings.grdp.orig 2021-03-12 23:57:16 UTC +++ chrome/app/profiles_strings.grdp @@ -87,7 +87,7 @@ Add Profile... diff --git a/www/chromium/files/patch-chrome_app_settings__strings.grdp b/www/chromium/files/patch-chrome_app_settings__strings.grdp index 0df7e092..323a398d 100644 --- a/www/chromium/files/patch-chrome_app_settings__strings.grdp +++ b/www/chromium/files/patch-chrome_app_settings__strings.grdp @@ -1,20 +1,20 @@ ---- chrome/app/settings_strings.grdp.orig 2020-11-13 06:36:36 UTC +--- chrome/app/settings_strings.grdp.orig 2021-03-12 23:57:17 UTC +++ chrome/app/settings_strings.grdp -@@ -110,7 +110,7 @@ +@@ -117,7 +117,7 @@ Theme -- -+ +- ++ GTK+ -@@ -124,7 +124,7 @@ +@@ -131,7 +131,7 @@ Use Classic -- -+ +- ++ Reset to default diff --git a/www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc b/www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc index be7ad224..669e2bac 100644 --- a/www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc +++ b/www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc @@ -1,4 +1,4 @@ ---- chrome/app/shutdown_signal_handlers_posix.cc.orig 2020-11-13 06:36:36 UTC +--- chrome/app/shutdown_signal_handlers_posix.cc.orig 2021-03-12 23:57:17 UTC +++ chrome/app/shutdown_signal_handlers_posix.cc @@ -186,12 +186,18 @@ void InstallShutdownSignalHandlers( g_pipe_pid = getpid(); diff --git a/www/chromium/files/patch-chrome_app_theme_chrome__unscaled__resources.grd b/www/chromium/files/patch-chrome_app_theme_chrome__unscaled__resources.grd index 875a420e..04cf7d9e 100644 --- a/www/chromium/files/patch-chrome_app_theme_chrome__unscaled__resources.grd +++ b/www/chromium/files/patch-chrome_app_theme_chrome__unscaled__resources.grd @@ -1,4 +1,4 @@ ---- chrome/app/theme/chrome_unscaled_resources.grd.orig 2020-11-13 06:36:36 UTC +--- chrome/app/theme/chrome_unscaled_resources.grd.orig 2021-03-12 23:57:17 UTC +++ chrome/app/theme/chrome_unscaled_resources.grd @@ -18,7 +18,7 @@ diff --git a/www/chromium/files/patch-chrome_app_theme_theme__resources.grd b/www/chromium/files/patch-chrome_app_theme_theme__resources.grd index cf59148f..a5f75e71 100644 --- a/www/chromium/files/patch-chrome_app_theme_theme__resources.grd +++ b/www/chromium/files/patch-chrome_app_theme_theme__resources.grd @@ -1,4 +1,4 @@ ---- chrome/app/theme/theme_resources.grd.orig 2020-11-13 06:36:36 UTC +--- chrome/app/theme/theme_resources.grd.orig 2021-03-12 23:57:17 UTC +++ chrome/app/theme/theme_resources.grd @@ -25,7 +25,7 @@ diff --git a/www/chromium/files/patch-ui_views_controls_label.cc b/www/chromium/files/patch-ui_views_controls_label.cc index 4089af1b..d16e6594 100644 --- a/www/chromium/files/patch-ui_views_controls_label.cc +++ b/www/chromium/files/patch-ui_views_controls_label.cc @@ -1,20 +1,20 @@ ---- ui/views/controls/label.cc.orig 2021-01-18 21:29:49 UTC +--- ui/views/controls/label.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/controls/label.cc -@@ -773,7 +773,7 @@ bool Label::OnMousePressed(const ui::MouseEvent& event - GetFocusManager()->SetFocusedView(this); - } +@@ -806,7 +806,7 @@ bool Label::OnMousePressed(const ui::MouseEvent& event --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) if (event.IsOnlyMiddleMouseButton() && GetFocusManager() && !had_focus) GetFocusManager()->SetFocusedView(this); #endif -@@ -960,7 +960,7 @@ bool Label::PasteSelectionClipboard() { - } - +@@ -995,7 +995,7 @@ bool Label::PasteSelectionClipboard() { void Label::UpdateSelectionClipboard() { --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) if (!GetObscured()) { ui::ScopedClipboardWriter(ui::ClipboardBuffer::kSelection) .WriteText(GetSelectedText()); diff --git a/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc b/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc index aad44bd5..e21a6d47 100644 --- a/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc +++ b/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc @@ -1,15 +1,15 @@ ---- ui/views/controls/textfield/textfield.cc.orig 2021-01-18 21:29:49 UTC +--- ui/views/controls/textfield/textfield.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/controls/textfield/textfield.cc -@@ -68,7 +68,7 @@ - #include "base/win/win_util.h" - #endif +@@ -71,7 +71,7 @@ --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) #include "ui/base/ime/linux/text_edit_command_auralinux.h" #include "ui/base/ime/linux/text_edit_key_bindings_delegate_auralinux.h" #endif -@@ -195,14 +195,14 @@ ui::TextEditCommand GetCommandForKeyEvent(const ui::Ke +@@ -239,14 +239,14 @@ ui::TextEditCommand GetCommandForKeyEvent(const ui::Ke #endif return ui::TextEditCommand::DELETE_BACKWARD; } @@ -26,7 +26,7 @@ // Only erase by line break on Linux and ChromeOS. if (shift && control) return ui::TextEditCommand::DELETE_TO_END_OF_LINE; -@@ -270,7 +270,7 @@ bool IsControlKeyModifier(int flags) { +@@ -320,7 +320,7 @@ bool IsControlKeyModifier(int flags) { // Control-modified key combination, but we cannot extend it to other platforms // as Control has different meanings and behaviors. // https://crrev.com/2580483002/#msg46 @@ -35,39 +35,39 @@ return flags & ui::EF_CONTROL_DOWN; #else return false; -@@ -765,7 +765,7 @@ bool Textfield::OnMousePressed(const ui::MouseEvent& e - #endif - } +@@ -818,7 +818,7 @@ bool Textfield::OnMousePressed(const ui::MouseEvent& e --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) if (!handled && !had_focus && event.IsOnlyMiddleMouseButton()) RequestFocusWithPointer(ui::EventPointerType::kMouse); #endif -@@ -812,7 +812,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event - if (!textfield) - return handled; +@@ -867,7 +867,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) ui::TextEditKeyBindingsDelegateAuraLinux* delegate = ui::GetTextEditKeyBindingsDelegate(); std::vector commands; -@@ -966,7 +966,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo - } - +@@ -1023,7 +1023,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) // Skip any accelerator handling that conflicts with custom keybindings. ui::TextEditKeyBindingsDelegateAuraLinux* delegate = ui::GetTextEditKeyBindingsDelegate(); -@@ -2256,7 +2256,7 @@ bool Textfield::PasteSelectionClipboard() { - } - +@@ -2343,7 +2343,7 @@ bool Textfield::PasteSelectionClipboard() { void Textfield::UpdateSelectionClipboard() { --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) if (text_input_type_ != ui::TEXT_INPUT_TYPE_PASSWORD) { ui::ScopedClipboardWriter(ui::ClipboardBuffer::kSelection) .WriteText(GetSelectedText()); diff --git a/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc b/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc index 4eae8ee7..73b891c5 100644 --- a/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc +++ b/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc @@ -1,11 +1,11 @@ ---- ui/views/corewm/tooltip_aura.cc.orig 2020-11-13 06:37:06 UTC +--- ui/views/corewm/tooltip_aura.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/corewm/tooltip_aura.cc -@@ -46,7 +46,7 @@ constexpr int kVerticalPaddingBottom = 5; - - // TODO(varkha): Update if native widget can be transparent on Linux. +@@ -49,7 +49,7 @@ constexpr int kVerticalPaddingBottom = 5; bool CanUseTranslucentTooltipWidget() { --#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_WIN) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_WIN) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || defined(OS_WIN) ++#if (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || defined(OS_WIN) || defined(OS_BSD) return false; #else return true; diff --git a/www/chromium/files/patch-ui_views_examples_widget__example.cc b/www/chromium/files/patch-ui_views_examples_widget__example.cc index 32badab3..952c5d1e 100644 --- a/www/chromium/files/patch-ui_views_examples_widget__example.cc +++ b/www/chromium/files/patch-ui_views_examples_widget__example.cc @@ -1,4 +1,4 @@ ---- ui/views/examples/widget_example.cc.orig 2021-01-18 21:29:49 UTC +--- ui/views/examples/widget_example.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/examples/widget_example.cc @@ -50,7 +50,7 @@ void WidgetExample::CreateExampleView(View* container) modal_button->SetCallback( diff --git a/www/chromium/files/patch-ui_views_focus_focus__manager.cc b/www/chromium/files/patch-ui_views_focus_focus__manager.cc index 38b7984f..9792a1dd 100644 --- a/www/chromium/files/patch-ui_views_focus_focus__manager.cc +++ b/www/chromium/files/patch-ui_views_focus_focus__manager.cc @@ -1,20 +1,20 @@ ---- ui/views/focus/focus_manager.cc.orig 2021-01-18 21:29:49 UTC +--- ui/views/focus/focus_manager.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/focus/focus_manager.cc -@@ -621,7 +621,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi - if (!focus_manager->IsAcceleratorRegistered(accelerator)) - return false; +@@ -624,7 +624,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) // Processing an accelerator can delete things. Because we // need these objects afterwards on Linux, save widget_ as weak pointer and // save the close_on_deactivate property value of widget_delegate in a -@@ -636,7 +636,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi - const bool accelerator_processed = - focus_manager->ProcessAccelerator(accelerator); +@@ -641,7 +641,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) // Need to manually close the bubble widget on Linux. On Linux when the // bubble is shown, the main widget remains active. Because of that when // focus is set to the main widget to process accelerator, the main widget diff --git a/www/chromium/files/patch-ui_views_selection__controller.cc b/www/chromium/files/patch-ui_views_selection__controller.cc index 091a9cd6..cdd50f32 100644 --- a/www/chromium/files/patch-ui_views_selection__controller.cc +++ b/www/chromium/files/patch-ui_views_selection__controller.cc @@ -1,11 +1,11 @@ ---- ui/views/selection_controller.cc.orig 2020-11-13 06:37:06 UTC +--- ui/views/selection_controller.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/selection_controller.cc -@@ -23,7 +23,7 @@ SelectionController::SelectionController(SelectionCont - delegate_(delegate), - handles_selection_clipboard_(false) { +@@ -26,7 +26,7 @@ SelectionController::SelectionController(SelectionCont // On Linux, update the selection clipboard on a text selection. --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) set_handles_selection_clipboard(true); #endif diff --git a/www/chromium/files/patch-ui_views_style_platform__style.cc b/www/chromium/files/patch-ui_views_style_platform__style.cc index fd8e9911..0bab5cb2 100644 --- a/www/chromium/files/patch-ui_views_style_platform__style.cc +++ b/www/chromium/files/patch-ui_views_style_platform__style.cc @@ -1,15 +1,15 @@ ---- ui/views/style/platform_style.cc.orig 2021-01-18 21:29:49 UTC +--- ui/views/style/platform_style.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/style/platform_style.cc -@@ -54,7 +54,7 @@ const bool PlatformStyle::kInactiveWidgetControlsAppea - // Linux clips bubble windows that extend outside their parent window - // bounds. +@@ -58,7 +58,7 @@ const View::FocusBehavior PlatformStyle::kDefaultFocus const bool PlatformStyle::kAdjustBubbleIfOffscreen = --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) false; #else true; -@@ -89,7 +89,7 @@ View::FocusBehavior PlatformStyle::DefaultFocusBehavio +@@ -88,7 +88,7 @@ gfx::Range PlatformStyle::RangeToDeleteBackwards(const #endif // OS_APPLE #if !BUILDFLAG(ENABLE_DESKTOP_AURA) || \ diff --git a/www/chromium/files/patch-ui_views_views__delegate.cc b/www/chromium/files/patch-ui_views_views__delegate.cc index 7ea678b0..6b944281 100644 --- a/www/chromium/files/patch-ui_views_views__delegate.cc +++ b/www/chromium/files/patch-ui_views_views__delegate.cc @@ -1,11 +1,11 @@ ---- ui/views/views_delegate.cc.orig 2020-11-13 06:37:06 UTC +--- ui/views/views_delegate.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/views_delegate.cc -@@ -86,7 +86,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow +@@ -90,7 +90,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow return false; } #elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \ -- (defined(OS_LINUX) || defined(OS_CHROMEOS)) -+ (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) +- (defined(OS_LINUX) || defined(OS_CHROMEOS)) ++ (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const { return nullptr; } diff --git a/www/chromium/files/patch-ui_views_views__delegate.h b/www/chromium/files/patch-ui_views_views__delegate.h index 9a1aebe4..da8e763e 100644 --- a/www/chromium/files/patch-ui_views_views__delegate.h +++ b/www/chromium/files/patch-ui_views_views__delegate.h @@ -1,11 +1,11 @@ ---- ui/views/views_delegate.h.orig 2020-11-13 06:37:06 UTC +--- ui/views/views_delegate.h.orig 2021-03-12 23:57:48 UTC +++ ui/views/views_delegate.h -@@ -134,7 +134,7 @@ class VIEWS_EXPORT ViewsDelegate { +@@ -138,7 +138,7 @@ class VIEWS_EXPORT ViewsDelegate { // environment. virtual bool IsWindowInMetro(gfx::NativeWindow window) const; #elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \ -- (defined(OS_LINUX) || defined(OS_CHROMEOS)) -+ (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) +- (defined(OS_LINUX) || defined(OS_CHROMEOS)) ++ (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) virtual gfx::ImageSkia* GetDefaultWindowIcon() const; #endif diff --git a/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__screen__ozone.cc b/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__screen__ozone.cc index e01c9e73..f9835852 100644 --- a/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__screen__ozone.cc +++ b/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__screen__ozone.cc @@ -1,4 +1,4 @@ ---- ui/views/widget/desktop_aura/desktop_screen_ozone.cc.orig 2020-11-16 15:06:43 UTC +--- ui/views/widget/desktop_aura/desktop_screen_ozone.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/widget/desktop_aura/desktop_screen_ozone.cc @@ -26,7 +26,7 @@ gfx::NativeWindow DesktopScreenOzone::GetNativeWindowF // To avoid multiple definitions when use_x11 && use_ozone is true, disable this diff --git a/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc index d42787a5..9471972d 100644 --- a/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc +++ b/www/chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc @@ -1,6 +1,6 @@ ---- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2020-11-13 06:37:06 UTC +--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc -@@ -791,7 +791,7 @@ void DesktopWindowTreeHostPlatform::AddAdditionalInitP +@@ -818,7 +818,7 @@ void DesktopWindowTreeHostPlatform::AddAdditionalInitP // DesktopWindowTreeHost: // Linux subclasses this host and adds some Linux specific bits. diff --git a/www/chromium/files/patch-ui_views_widget_native__widget__aura.cc b/www/chromium/files/patch-ui_views_widget_native__widget__aura.cc index 3b5da6f0..e5805929 100644 --- a/www/chromium/files/patch-ui_views_widget_native__widget__aura.cc +++ b/www/chromium/files/patch-ui_views_widget_native__widget__aura.cc @@ -1,6 +1,6 @@ ---- ui/views/widget/native_widget_aura.cc.orig 2021-01-18 21:29:49 UTC +--- ui/views/widget/native_widget_aura.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/widget/native_widget_aura.cc -@@ -65,7 +65,7 @@ +@@ -68,7 +68,7 @@ #endif #if BUILDFLAG(ENABLE_DESKTOP_AURA) && \ @@ -9,7 +9,7 @@ #include "ui/views/linux_ui/linux_ui.h" #include "ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h" #endif -@@ -1090,7 +1090,7 @@ void NativeWidgetAura::SetInitialFocus(ui::WindowShowS +@@ -1121,7 +1121,7 @@ void NativeWidgetAura::SetInitialFocus(ui::WindowShowS namespace { #if BUILDFLAG(ENABLE_DESKTOP_AURA) && \ @@ -18,7 +18,7 @@ void CloseWindow(aura::Window* window) { if (window) { Widget* widget = Widget::GetWidgetForNativeView(window); -@@ -1121,14 +1121,14 @@ void Widget::CloseAllSecondaryWidgets() { +@@ -1152,14 +1152,14 @@ void Widget::CloseAllSecondaryWidgets() { #endif #if BUILDFLAG(ENABLE_DESKTOP_AURA) && \ diff --git a/www/chromium/files/patch-ui_views_window_custom__frame__view.cc b/www/chromium/files/patch-ui_views_window_custom__frame__view.cc index 1ca243e8..904b36b5 100644 --- a/www/chromium/files/patch-ui_views_window_custom__frame__view.cc +++ b/www/chromium/files/patch-ui_views_window_custom__frame__view.cc @@ -1,11 +1,11 @@ ---- ui/views/window/custom_frame_view.cc.orig 2021-01-18 21:29:49 UTC +--- ui/views/window/custom_frame_view.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/window/custom_frame_view.cc -@@ -257,7 +257,7 @@ int CustomFrameView::NonClientTopBorderHeight() const - int CustomFrameView::CaptionButtonY() const { - // Maximized buttons start at window top so that even if their images aren't +@@ -259,7 +259,7 @@ int CustomFrameView::CaptionButtonY() const { // drawn flush with the screen edge, they still obey Fitts' Law. --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD) + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) return FrameBorderThickness(); #else return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness; diff --git a/www/chromium/files/patch-ui_views_window_dialog__delegate.cc b/www/chromium/files/patch-ui_views_window_dialog__delegate.cc index ef6a81e8..4b69d60e 100644 --- a/www/chromium/files/patch-ui_views_window_dialog__delegate.cc +++ b/www/chromium/files/patch-ui_views_window_dialog__delegate.cc @@ -1,6 +1,6 @@ ---- ui/views/window/dialog_delegate.cc.orig 2020-11-13 06:37:06 UTC +--- ui/views/window/dialog_delegate.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/window/dialog_delegate.cc -@@ -71,7 +71,7 @@ Widget* DialogDelegate::CreateDialogWidget( +@@ -72,7 +72,7 @@ Widget* DialogDelegate::CreateDialogWidget( // static bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) { diff --git a/www/chromium/files/patch-ui_views_window_frame__background.cc b/www/chromium/files/patch-ui_views_window_frame__background.cc index 8818c97c..d2a13b85 100644 --- a/www/chromium/files/patch-ui_views_window_frame__background.cc +++ b/www/chromium/files/patch-ui_views_window_frame__background.cc @@ -1,4 +1,4 @@ ---- ui/views/window/frame_background.cc.orig 2020-11-13 06:37:06 UTC +--- ui/views/window/frame_background.cc.orig 2021-03-12 23:57:48 UTC +++ ui/views/window/frame_background.cc @@ -99,7 +99,7 @@ void FrameBackground::PaintMaximized(gfx::Canvas* canv const View* view) const { diff --git a/www/chromium/files/patch-ui_webui_resources_js_cr.js b/www/chromium/files/patch-ui_webui_resources_js_cr.js index 319111e9..db06cd9a 100644 --- a/www/chromium/files/patch-ui_webui_resources_js_cr.js +++ b/www/chromium/files/patch-ui_webui_resources_js_cr.js @@ -1,4 +1,4 @@ ---- ui/webui/resources/js/cr.js.orig 2021-01-18 21:29:49 UTC +--- ui/webui/resources/js/cr.js.orig 2021-03-12 23:57:48 UTC +++ ui/webui/resources/js/cr.js @@ -450,6 +450,11 @@ var cr = cr || function(global) { get isMac() { diff --git a/www/chromium/files/patch-v8_BUILD.gn b/www/chromium/files/patch-v8_BUILD.gn index 91e9002d..602c8b86 100644 --- a/www/chromium/files/patch-v8_BUILD.gn +++ b/www/chromium/files/patch-v8_BUILD.gn @@ -1,6 +1,6 @@ ---- v8/BUILD.gn.orig 2021-01-18 21:31:57 UTC +--- v8/BUILD.gn.orig 2021-03-13 00:03:47 UTC +++ v8/BUILD.gn -@@ -4157,9 +4157,15 @@ v8_component("v8_libbase") { +@@ -4209,9 +4209,15 @@ v8_component("v8_libbase") { } } @@ -17,7 +17,7 @@ "src/base/platform/platform-linux.cc", ] -@@ -4575,6 +4581,7 @@ if (current_toolchain == v8_generator_toolchain) { +@@ -4667,6 +4673,7 @@ if (current_toolchain == v8_generator_toolchain) { "src/interpreter/bytecodes.cc", "src/interpreter/bytecodes.h", ] diff --git a/www/chromium/files/patch-v8_include_v8config.h b/www/chromium/files/patch-v8_include_v8config.h index 0364af55..8b14c056 100644 --- a/www/chromium/files/patch-v8_include_v8config.h +++ b/www/chromium/files/patch-v8_include_v8config.h @@ -1,8 +1,8 @@ ---- v8/include/v8config.h.orig 2020-11-13 06:42:28 UTC +--- v8/include/v8config.h.orig 2021-03-13 00:03:47 UTC +++ v8/include/v8config.h -@@ -276,7 +276,18 @@ - # define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT \ - (__has_attribute(warn_unused_result)) +@@ -285,7 +285,18 @@ + + # define V8_HAS_CPP_ATTRIBUTE_NODISCARD (V8_HAS_CPP_ATTRIBUTE(nodiscard)) +// Work around Clang bug present in 9.0.1, at least. +// diff --git a/www/chromium/files/patch-v8_src_api_api.cc b/www/chromium/files/patch-v8_src_api_api.cc index a7fa74ed..5e495633 100644 --- a/www/chromium/files/patch-v8_src_api_api.cc +++ b/www/chromium/files/patch-v8_src_api_api.cc @@ -1,6 +1,6 @@ ---- v8/src/api/api.cc.orig 2021-01-18 21:31:57 UTC +--- v8/src/api/api.cc.orig 2021-03-13 00:03:47 UTC +++ v8/src/api/api.cc -@@ -5775,7 +5775,7 @@ bool v8::V8::Initialize(const int build_config) { +@@ -5894,7 +5894,7 @@ bool v8::V8::Initialize(const int build_config) { return true; } diff --git a/www/chromium/files/patch-v8_src_base_cpu.cc b/www/chromium/files/patch-v8_src_base_cpu.cc index c78e6e53..2939b9e7 100644 --- a/www/chromium/files/patch-v8_src_base_cpu.cc +++ b/www/chromium/files/patch-v8_src_base_cpu.cc @@ -1,6 +1,6 @@ ---- v8/src/base/cpu.cc.orig 2020-11-13 06:42:28 UTC +--- v8/src/base/cpu.cc.orig 2021-03-13 00:03:47 UTC +++ v8/src/base/cpu.cc -@@ -534,6 +534,7 @@ CPU::CPU() +@@ -545,6 +545,7 @@ CPU::CPU() #if V8_OS_LINUX @@ -8,7 +8,7 @@ CPUInfo cpu_info; // Extract implementor from the "CPU implementer" field. -@@ -567,6 +568,7 @@ CPU::CPU() +@@ -578,6 +579,7 @@ CPU::CPU() } delete[] part; } diff --git a/www/chromium/files/patch-v8_src_base_platform_platform-freebsd.cc b/www/chromium/files/patch-v8_src_base_platform_platform-freebsd.cc index 55430651..228b3be9 100644 --- a/www/chromium/files/patch-v8_src_base_platform_platform-freebsd.cc +++ b/www/chromium/files/patch-v8_src_base_platform_platform-freebsd.cc @@ -1,4 +1,4 @@ ---- v8/src/base/platform/platform-freebsd.cc.orig 2020-11-13 06:42:28 UTC +--- v8/src/base/platform/platform-freebsd.cc.orig 2021-03-13 00:03:47 UTC +++ v8/src/base/platform/platform-freebsd.cc @@ -82,8 +82,8 @@ std::vector OS::GetSharedLib lib_name = std::string(path); diff --git a/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc b/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc index 76c63894..b977573e 100644 --- a/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc +++ b/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc @@ -1,4 +1,4 @@ ---- v8/src/base/platform/platform-posix.cc.orig 2021-01-18 21:31:57 UTC +--- v8/src/base/platform/platform-posix.cc.orig 2021-03-13 00:03:47 UTC +++ v8/src/base/platform/platform-posix.cc @@ -464,7 +464,7 @@ bool OS::DiscardSystemPages(void* address, size_t size diff --git a/www/chromium/files/patch-v8_src_d8_d8.cc b/www/chromium/files/patch-v8_src_d8_d8.cc index 161e17c7..a10c6ff1 100644 --- a/www/chromium/files/patch-v8_src_d8_d8.cc +++ b/www/chromium/files/patch-v8_src_d8_d8.cc @@ -1,6 +1,6 @@ ---- v8/src/d8/d8.cc.orig 2021-01-19 11:56:19 UTC +--- v8/src/d8/d8.cc.orig 2021-03-13 00:03:47 UTC +++ v8/src/d8/d8.cc -@@ -71,7 +71,7 @@ +@@ -73,7 +73,7 @@ #include "unicode/locid.h" #endif // V8_INTL_SUPPORT @@ -9,7 +9,7 @@ #include // For MultiMappedAllocator. #endif -@@ -233,7 +233,7 @@ class MockArrayBufferAllocatiorWithLimit : public Mock +@@ -235,7 +235,7 @@ class MockArrayBufferAllocatiorWithLimit : public Mock std::atomic space_left_; }; @@ -18,7 +18,7 @@ // This is a mock allocator variant that provides a huge virtual allocation // backed by a small real allocation that is repeatedly mapped. If you create an -@@ -326,7 +326,7 @@ class MultiMappedAllocator : public ArrayBufferAllocat +@@ -328,7 +328,7 @@ class MultiMappedAllocator : public ArrayBufferAllocat base::Mutex regions_mutex_; }; @@ -27,7 +27,7 @@ v8::Platform* g_default_platform; std::unique_ptr g_platform; -@@ -3532,7 +3532,7 @@ bool Shell::SetOptions(int argc, char* argv[]) { +@@ -3689,7 +3689,7 @@ bool Shell::SetOptions(int argc, char* argv[]) { options.mock_arraybuffer_allocator = i::FLAG_mock_arraybuffer_allocator; options.mock_arraybuffer_allocator_limit = i::FLAG_mock_arraybuffer_allocator_limit; @@ -36,7 +36,7 @@ options.multi_mapped_mock_allocator = i::FLAG_multi_mapped_mock_allocator; #endif -@@ -4147,19 +4147,19 @@ int Shell::Main(int argc, char* argv[]) { +@@ -4321,19 +4321,19 @@ int Shell::Main(int argc, char* argv[]) { memory_limit >= options.mock_arraybuffer_allocator_limit ? memory_limit : std::numeric_limits::max()); diff --git a/www/chromium/files/patch-weblayer_BUILD.gn b/www/chromium/files/patch-weblayer_BUILD.gn index 628cbe0a..0cc17331 100644 --- a/www/chromium/files/patch-weblayer_BUILD.gn +++ b/www/chromium/files/patch-weblayer_BUILD.gn @@ -1,6 +1,6 @@ ---- weblayer/BUILD.gn.orig 2021-01-18 21:29:49 UTC +--- weblayer/BUILD.gn.orig 2021-03-12 23:57:49 UTC +++ weblayer/BUILD.gn -@@ -677,6 +677,14 @@ source_set("weblayer_lib_base") { +@@ -706,6 +706,14 @@ source_set("weblayer_lib_base") { ] } diff --git a/www/chromium/files/patch-weblayer_app_content__main__delegate__impl.cc b/www/chromium/files/patch-weblayer_app_content__main__delegate__impl.cc index a686f93d..9f5518b6 100644 --- a/www/chromium/files/patch-weblayer_app_content__main__delegate__impl.cc +++ b/www/chromium/files/patch-weblayer_app_content__main__delegate__impl.cc @@ -1,11 +1,11 @@ ---- weblayer/app/content_main_delegate_impl.cc.orig 2021-01-18 21:29:49 UTC +--- weblayer/app/content_main_delegate_impl.cc.orig 2021-03-12 23:57:49 UTC +++ weblayer/app/content_main_delegate_impl.cc -@@ -221,7 +221,7 @@ bool ContentMainDelegateImpl::ShouldCreateFeatureList( +@@ -218,7 +218,7 @@ bool ContentMainDelegateImpl::ShouldCreateFeatureList( + } void ContentMainDelegateImpl::PreSandboxStartup() { - #if defined(ARCH_CPU_ARM_FAMILY) && \ -- (defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS)) -+ (defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) +-#if defined(ARCH_CPU_ARM_FAMILY) && (defined(OS_ANDROID) || defined(OS_LINUX)) ++#if defined(ARCH_CPU_ARM_FAMILY) && (defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD)) // Create an instance of the CPU class to parse /proc/cpuinfo and cache // cpu_brand info. base::CPU cpu_info; diff --git a/www/chromium/files/patch-weblayer_browser_browser__main__parts__impl.cc b/www/chromium/files/patch-weblayer_browser_browser__main__parts__impl.cc index 5851976f..9d1db677 100644 --- a/www/chromium/files/patch-weblayer_browser_browser__main__parts__impl.cc +++ b/www/chromium/files/patch-weblayer_browser_browser__main__parts__impl.cc @@ -1,20 +1,20 @@ ---- weblayer/browser/browser_main_parts_impl.cc.orig 2021-01-18 21:29:49 UTC +--- weblayer/browser/browser_main_parts_impl.cc.orig 2021-03-12 23:57:49 UTC +++ weblayer/browser/browser_main_parts_impl.cc -@@ -68,7 +68,7 @@ +@@ -69,7 +69,7 @@ #include "ui/base/ui_base_features.h" #include "ui/events/devices/x11/touch_factory_x11.h" // nogncheck #endif --#if !defined(OS_CHROMEOS) && defined(USE_AURA) && defined(OS_LINUX) -+#if !defined(OS_CHROMEOS) && defined(USE_AURA) && (defined(OS_LINUX) || defined(OS_BSD)) +-#if defined(USE_AURA) && defined(OS_LINUX) ++#if defined(USE_AURA) && (defined(OS_LINUX) || defined(OS_BSD)) #include "ui/base/ime/init/input_method_initializer.h" #endif -@@ -191,7 +191,7 @@ void BrowserMainPartsImpl::PreMainMessageLoopStart() { +@@ -184,7 +184,7 @@ void BrowserMainPartsImpl::PreMainMessageLoopStart() { int BrowserMainPartsImpl::PreEarlyInitialization() { browser_process_ = std::make_unique(std::move(local_state_)); --#if defined(USE_AURA) && (defined(OS_LINUX) || defined(OS_CHROMEOS)) -+#if defined(USE_AURA) && (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) +-#if defined(USE_AURA) && defined(OS_LINUX) ++#if defined(USE_AURA) && (defined(OS_LINUX) || defined(OS_BSD)) ui::InitializeInputMethodForTesting(); #endif #if defined(OS_ANDROID) diff --git a/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.cc b/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.cc index ec15b39b..e26f3744 100644 --- a/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.cc +++ b/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.cc @@ -1,20 +1,20 @@ ---- weblayer/browser/content_browser_client_impl.cc.orig 2020-11-13 06:37:06 UTC +--- weblayer/browser/content_browser_client_impl.cc.orig 2021-03-12 23:57:49 UTC +++ weblayer/browser/content_browser_client_impl.cc @@ -135,7 +135,7 @@ #include "weblayer/browser/weblayer_factory_impl_android.h" #endif --#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSD) +-#if defined(OS_LINUX) || defined(OS_ANDROID) ++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD) #include "content/public/common/content_descriptors.h" #endif -@@ -382,7 +382,7 @@ void ContentBrowserClientImpl::ConfigureNetworkContext +@@ -387,7 +387,7 @@ void ContentBrowserClientImpl::ConfigureNetworkContext void ContentBrowserClientImpl::OnNetworkServiceCreated( network::mojom::NetworkService* network_service) { --#if defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) network::mojom::CryptConfigPtr config = network::mojom::CryptConfig::New(); content::GetNetworkService()->SetCryptConfig(std::move(config)); #endif diff --git a/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.h b/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.h deleted file mode 100644 index 93c03f42..00000000 --- a/www/chromium/files/patch-weblayer_browser_content__browser__client__impl.h +++ /dev/null @@ -1,17 +0,0 @@ ---- weblayer/browser/content_browser_client_impl.h.orig 2020-11-13 06:37:06 UTC -+++ weblayer/browser/content_browser_client_impl.h -@@ -116,12 +116,12 @@ class ContentBrowserClientImpl : public content::Conte - void RenderProcessWillLaunch(content::RenderProcessHost* host) override; - scoped_refptr CreateQuotaPermissionContext() - override; --#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSD) - void GetAdditionalMappedFilesForChildProcess( - const base::CommandLine& command_line, - int child_process_id, - content::PosixFileDescriptorInfo* mappings) override; --#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) -+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSD) - void AppendExtraCommandLineSwitches(base::CommandLine* command_line, - int child_process_id) override; - #if defined(OS_ANDROID) diff --git a/www/chromium/files/patch-weblayer_browser_system__network__context__manager.cc b/www/chromium/files/patch-weblayer_browser_system__network__context__manager.cc index 1c120aa2..7f4c1366 100644 --- a/www/chromium/files/patch-weblayer_browser_system__network__context__manager.cc +++ b/www/chromium/files/patch-weblayer_browser_system__network__context__manager.cc @@ -1,15 +1,15 @@ ---- weblayer/browser/system_network_context_manager.cc.orig 2020-11-13 06:37:06 UTC +--- weblayer/browser/system_network_context_manager.cc.orig 2021-03-12 23:57:49 UTC +++ weblayer/browser/system_network_context_manager.cc @@ -64,10 +64,10 @@ void SystemNetworkContextManager::ConfigureDefaultNetw network::mojom::NetworkContextParams* network_context_params, const std::string& user_agent) { network_context_params->user_agent = user_agent; --#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_BSD) +-#if defined(OS_LINUX) || defined(OS_WIN) ++#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_BSD) // We're not configuring the cookie encryption on these platforms yet. network_context_params->enable_encrypted_cookies = false; --#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) -+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_BSD) +-#endif // defined(OS_LINUX) || defined(OS_WIN) ++#endif // defined(OS_LINUX) || defined(OS_WIN) || defined(OS_BSD) } SystemNetworkContextManager::SystemNetworkContextManager( diff --git a/www/chromium/files/patch-weblayer_common_weblayer__paths.cc b/www/chromium/files/patch-weblayer_common_weblayer__paths.cc index e8a034b8..3771b1ee 100644 --- a/www/chromium/files/patch-weblayer_common_weblayer__paths.cc +++ b/www/chromium/files/patch-weblayer_common_weblayer__paths.cc @@ -1,11 +1,11 @@ ---- weblayer/common/weblayer_paths.cc.orig 2020-11-13 06:37:06 UTC +--- weblayer/common/weblayer_paths.cc.orig 2021-03-12 23:57:49 UTC +++ weblayer/common/weblayer_paths.cc @@ -17,7 +17,7 @@ #if defined(OS_WIN) #include "base/base_paths_win.h" --#elif defined(OS_LINUX) || defined(OS_CHROMEOS) -+#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) +-#elif defined(OS_LINUX) ++#elif defined(OS_LINUX) || defined(OS_BSD) #include "base/nix/xdg_util.h" #endif @@ -13,8 +13,8 @@ return false; *result = result->AppendASCII("weblayer"); return true; --#elif defined(OS_LINUX) || defined(OS_CHROMEOS) -+#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) +-#elif defined(OS_LINUX) ++#elif defined(OS_LINUX) || defined(OS_BSD) std::unique_ptr env(base::Environment::Create()); base::FilePath config_dir(base::nix::GetXDGDirectory( env.get(), base::nix::kXdgConfigHomeEnvVar, base::nix::kDotConfigDir)); diff --git a/www/chromium/files/sndio_input.cc b/www/chromium/files/sndio_input.cc index 5aed9a03..e607418d 100644 --- a/www/chromium/files/sndio_input.cc +++ b/www/chromium/files/sndio_input.cc @@ -191,7 +191,7 @@ void SndioAudioInputStream::ThreadLoop(void) { params.sample_rate()); // push into bus - audio_bus->FromInterleaved(buffer, nframes, SampleFormatToBytesPerChannel(kSampleFormat)); + audio_bus->FromInterleaved(reinterpret_cast(buffer), nframes); // invoke callback callback->OnData(audio_bus.get(), base::TimeTicks::Now() - delay, 1.); diff --git a/www/chromium/files/sndio_output.cc b/www/chromium/files/sndio_output.cc index a6719f9a..c42d6bdc 100644 --- a/www/chromium/files/sndio_output.cc +++ b/www/chromium/files/sndio_output.cc @@ -159,7 +159,7 @@ void SndioAudioOutputStream::ThreadLoop(void) { const base::TimeDelta delay = AudioTimestampHelper::FramesToTime(hw_delay, params.sample_rate()); count = source->OnMoreData(delay, base::TimeTicks::Now(), 0, audio_bus.get()); - audio_bus->ToInterleaved(count, SampleFormatToBytesPerChannel(kSampleFormat), buffer); + audio_bus->ToInterleaved(count, reinterpret_cast(buffer)); if (count == 0) { // We have to submit something to the device count = audio_bus->frames(); diff --git a/www/chromium/pkg-plist b/www/chromium/pkg-plist index 86019960..9c92cd75 100644 --- a/www/chromium/pkg-plist +++ b/www/chromium/pkg-plist @@ -129,16 +129,17 @@ bin/chrome %%DATADIR%%/resources/inspector/Images/chevrons.svg %%DATADIR%%/resources/inspector/Images/chromeDisabledSelect.png %%DATADIR%%/resources/inspector/Images/chromeDisabledSelect_2x.png -%%DATADIR%%/resources/inspector/Images/chromeLeft.png -%%DATADIR%%/resources/inspector/Images/chromeMiddle.png -%%DATADIR%%/resources/inspector/Images/chromeRight.png -%%DATADIR%%/resources/inspector/Images/chromeSelect.png -%%DATADIR%%/resources/inspector/Images/chromeSelect_2x.png -%%DATADIR%%/resources/inspector/Images/cssoverview_icons_2x.png +%%DATADIR%%/resources/inspector/Images/chromeLeft.avif +%%DATADIR%%/resources/inspector/Images/chromeMiddle.avif +%%DATADIR%%/resources/inspector/Images/chromeRight.avif +%%DATADIR%%/resources/inspector/Images/chromeSelect.svg +%%DATADIR%%/resources/inspector/Images/chromeSelectDark.svg +%%DATADIR%%/resources/inspector/Images/cssoverview_icons_2x.avif %%DATADIR%%/resources/inspector/Images/dropdown_7x6_icon.svg %%DATADIR%%/resources/inspector/Images/elements_panel_icon.svg %%DATADIR%%/resources/inspector/Images/baseline-icon.svg %%DATADIR%%/resources/inspector/Images/breaking_change_icon.svg +%%DATADIR%%/resources/inspector/Images/error_icon.svg %%DATADIR%%/resources/inspector/Images/errorWave.svg %%DATADIR%%/resources/inspector/Images/feedback_thin_16x16_icon.svg %%DATADIR%%/resources/inspector/Images/flex-align-content-center-icon.svg @@ -163,6 +164,9 @@ bin/chrome %%DATADIR%%/resources/inspector/Images/flex-justify-content-space-around-icon.svg %%DATADIR%%/resources/inspector/Images/flex-justify-content-space-between-icon.svg %%DATADIR%%/resources/inspector/Images/flex-justify-content-space-evenly-icon.svg +%%DATADIR%%/resources/inspector/Images/ic_checkmark_16x16.svg +%%DATADIR%%/resources/inspector/Images/ic_delete_filter.svg +%%DATADIR%%/resources/inspector/Images/ic_delete_list.svg %%DATADIR%%/resources/inspector/Images/ic_info_black_18dp.svg %%DATADIR%%/resources/inspector/Images/ic_page_next_16x16_icon.svg %%DATADIR%%/resources/inspector/Images/ic_page_prev_16x16_icon.svg @@ -179,7 +183,7 @@ bin/chrome %%DATADIR%%/resources/inspector/Images/navigationControls_2x.png %%DATADIR%%/resources/inspector/Images/network_panel_icon.svg %%DATADIR%%/resources/inspector/Images/node_search_icon.svg -%%DATADIR%%/resources/inspector/Images/nodeIcon.png +%%DATADIR%%/resources/inspector/Images/nodeIcon.avif %%DATADIR%%/resources/inspector/Images/popoverArrows.png %%DATADIR%%/resources/inspector/Images/profileGroupIcon.png %%DATADIR%%/resources/inspector/Images/profileIcon.png @@ -196,7 +200,7 @@ bin/chrome %%DATADIR%%/resources/inspector/Images/resourceJSIcon.png %%DATADIR%%/resources/inspector/Images/resourcePlainIcon.png %%DATADIR%%/resources/inspector/Images/resourcePlainIconSmall.png -%%DATADIR%%/resources/inspector/Images/resourcesTimeGraphIcon.png +%%DATADIR%%/resources/inspector/Images/resourcesTimeGraphIcon.avif %%DATADIR%%/resources/inspector/Images/searchNext.png %%DATADIR%%/resources/inspector/Images/searchPrev.png %%DATADIR%%/resources/inspector/Images/securityIcons.svg @@ -207,13 +211,13 @@ bin/chrome %%DATADIR%%/resources/inspector/Images/touchCursor.png %%DATADIR%%/resources/inspector/Images/touchCursor_2x.png %%DATADIR%%/resources/inspector/Images/treeoutlineTriangles.svg -%%DATADIR%%/resources/inspector/Images/whatsnew.png +%%DATADIR%%/resources/inspector/Images/warning_icon.svg +%%DATADIR%%/resources/inspector/Images/whatsnew.avif %%DATADIR%%/resources/inspector/Tests.js %%DATADIR%%/resources/inspector/accessibility/accessibility_module.js %%DATADIR%%/resources/inspector/accessibility/accessibility-legacy.js +%%DATADIR%%/resources/inspector/accessibility/accessibility-meta.js %%DATADIR%%/resources/inspector/accessibility/accessibility.js -%%DEBUG%%%%DATADIR%%/resources/inspector/accessibility/AccessibilityModel.js -%%DEBUG%%%%DATADIR%%/resources/inspector/accessibility/AccessibilityModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/accessibility/AccessibilityNodeView.js %%DEBUG%%%%DATADIR%%/resources/inspector/accessibility/AccessibilityNodeView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/accessibility/AccessibilitySidebarView.js @@ -234,6 +238,7 @@ bin/chrome %%DATADIR%%/resources/inspector/accessibility_test_runner/accessibility_test_runner.js %%DATADIR%%/resources/inspector/animation/animation_module.js %%DATADIR%%/resources/inspector/animation/animation-legacy.js +%%DATADIR%%/resources/inspector/animation/animation-meta.js %%DATADIR%%/resources/inspector/animation/animation.js %%DEBUG%%%%DATADIR%%/resources/inspector/animation/AnimationGroupPreviewUI.js %%DEBUG%%%%DATADIR%%/resources/inspector/animation/AnimationGroupPreviewUI.js.map @@ -245,6 +250,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/animation/AnimationTimeline.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/animation/AnimationUI.js %%DEBUG%%%%DATADIR%%/resources/inspector/animation/AnimationUI.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/animation/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/animation/ModuleUIStrings.js.map %%DATADIR%%/resources/inspector/application_test_runner/application_test_runner_module.js %%DATADIR%%/resources/inspector/application_test_runner/application_test_runner.js %%DEBUG%%%%DATADIR%%/resources/inspector/application_test_runner/AppcacheTestRunner.js @@ -264,8 +271,6 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/bindings_test_runner/PersistenceTestRunner.js %%DATADIR%%/resources/inspector/bindings/bindings.js %%DATADIR%%/resources/inspector/bindings/bindings-legacy.js -%%DEBUG%%%%DATADIR%%/resources/inspector/bindings/BlackboxManager.js -%%DEBUG%%%%DATADIR%%/resources/inspector/bindings/BlackboxManager.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/BreakpointManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/BreakpointManager.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/CompilerScriptMapping.js @@ -282,6 +287,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/DefaultScriptMapping.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/FileUtils.js %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/FileUtils.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/bindings/IgnoreListManager.js +%%DEBUG%%%%DATADIR%%/resources/inspector/bindings/IgnoreListManager.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/LiveLocation.js %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/LiveLocation.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/NetworkProject.js @@ -302,7 +309,12 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/bindings/TempFile.js.map %%DATADIR%%/resources/inspector/browser_debugger/browser_debugger_module.js %%DATADIR%%/resources/inspector/browser_debugger/browser_debugger-legacy.js +%%DATADIR%%/resources/inspector/browser_debugger/browser_debugger-meta.js %%DATADIR%%/resources/inspector/browser_debugger/browser_debugger.js +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_debugger/CategorizedBreakpointsSidebarPane.js +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_debugger/CategorizedBreakpointsSidebarPane.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_debugger/CSPViolationBreakpointsSidebarPane.js +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_debugger/CSPViolationBreakpointsSidebarPane.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/browser_debugger/DOMBreakpointsSidebarPane.js %%DEBUG%%%%DATADIR%%/resources/inspector/browser_debugger/DOMBreakpointsSidebarPane.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/browser_debugger/EventListenerBreakpointsSidebarPane.js @@ -316,10 +328,15 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/IssuesManager.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/LogManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/LogManager.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/MarkdownHelpers.js +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/MarkdownHelpers.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/RelatedIssue.js %%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/RelatedIssue.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/SourceFrameIssuesManager.js +%%DEBUG%%%%DATADIR%%/resources/inspector/browser_sdk/SourceFrameIssuesManager.js.map %%DATADIR%%/resources/inspector/changes/changes_module.js %%DATADIR%%/resources/inspector/changes/changes-legacy.js +%%DATADIR%%/resources/inspector/changes/changes-meta.js %%DATADIR%%/resources/inspector/changes/changes.js %%DEBUG%%%%DATADIR%%/resources/inspector/changes/ChangesHighlighter.js %%DEBUG%%%%DATADIR%%/resources/inspector/changes/ChangesHighlighter.js.map @@ -329,15 +346,13 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/changes/ChangesTextEditor.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/changes/ChangesView.js %%DEBUG%%%%DATADIR%%/resources/inspector/changes/ChangesView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/changes/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/changes/ModuleUIStrings.js.map %%DATADIR%%/resources/inspector/client_variations/client_variations_module.js %%DATADIR%%/resources/inspector/client_variations/client_variations.js %%DATADIR%%/resources/inspector/cm_headless/cm_headless.js %%DATADIR%%/resources/inspector/cm/cm_module.js %%DATADIR%%/resources/inspector/cm/cm.js -%%DATADIR%%/resources/inspector/cm_modes/cm_modes_module.js -%%DATADIR%%/resources/inspector/cm_modes/cm_modes.js -%%DEBUG%%%%DATADIR%%/resources/inspector/cm_modes/DefaultCodeMirrorMimeMode.js -%%DEBUG%%%%DATADIR%%/resources/inspector/cm_modes/DefaultCodeMirrorMimeMode.js.map %%DATADIR%%/resources/inspector/color_picker/color_picker_module.js %%DATADIR%%/resources/inspector/color_picker/color_picker-legacy.js %%DATADIR%%/resources/inspector/color_picker/color_picker.js @@ -391,6 +406,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/common/Runnable.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/common/SegmentedRange.js %%DEBUG%%%%DATADIR%%/resources/inspector/common/SegmentedRange.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/common/SettingRegistration.js +%%DEBUG%%%%DATADIR%%/resources/inspector/common/SettingRegistration.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/common/Settings.js %%DEBUG%%%%DATADIR%%/resources/inspector/common/Settings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/common/SimpleHistoryManager.js @@ -412,6 +429,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/component_helpers/component-server-setup.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/component_helpers/get-stylesheet.js %%DEBUG%%%%DATADIR%%/resources/inspector/component_helpers/get-stylesheet.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/component_helpers/set-css-property.js +%%DEBUG%%%%DATADIR%%/resources/inspector/component_helpers/set-css-property.js.map %%DATADIR%%/resources/inspector/components/components.js %%DATADIR%%/resources/inspector/components/components-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/components/ImagePreview.js @@ -430,6 +449,7 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/console_counters/WarningErrorCounter.js.map %%DATADIR%%/resources/inspector/console/console_module.js %%DATADIR%%/resources/inspector/console/console-legacy.js +%%DATADIR%%/resources/inspector/console/console-meta.js %%DATADIR%%/resources/inspector/console/console.js %%DEBUG%%%%DATADIR%%/resources/inspector/console/ConsoleContextSelector.js %%DEBUG%%%%DATADIR%%/resources/inspector/console/ConsoleContextSelector.js.map @@ -458,6 +478,7 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/cookie_table/CookiesTable.js.map %%DATADIR%%/resources/inspector/coverage/coverage_module.js %%DATADIR%%/resources/inspector/coverage/coverage-legacy.js +%%DATADIR%%/resources/inspector/coverage/coverage-meta.js %%DATADIR%%/resources/inspector/coverage/coverage.js %%DEBUG%%%%DATADIR%%/resources/inspector/coverage/CoverageDecorationManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/coverage/CoverageDecorationManager.js.map @@ -474,7 +495,7 @@ bin/chrome %%DATADIR%%/resources/inspector/cpu_profiler_test_runner/cpu_profiler_test_runner_module.js %%DATADIR%%/resources/inspector/cpu_profiler_test_runner/cpu_profiler_test_runner.js %%DATADIR%%/resources/inspector/css_overview/css_overview_module.js -%%DATADIR%%/resources/inspector/css_overview/css_overview-legacy.js +%%DATADIR%%/resources/inspector/css_overview/css_overview-meta.js %%DATADIR%%/resources/inspector/css_overview/css_overview.js %%DEBUG%%%%DATADIR%%/resources/inspector/css_overview/CSSOverviewCompletedView.js %%DEBUG%%%%DATADIR%%/resources/inspector/css_overview/CSSOverviewCompletedView.js.map @@ -507,11 +528,14 @@ bin/chrome %%DATADIR%%/resources/inspector/data_grid_test_runner/data_grid_test_runner.js %%DATADIR%%/resources/inspector/developer_resources/developer_resources_module.js %%DATADIR%%/resources/inspector/developer_resources/developer_resources-legacy.js +%%DATADIR%%/resources/inspector/developer_resources/developer_resources-meta.js %%DATADIR%%/resources/inspector/developer_resources/developer_resources.js %%DEBUG%%%%DATADIR%%/resources/inspector/developer_resources/DeveloperResourcesListView.js %%DEBUG%%%%DATADIR%%/resources/inspector/developer_resources/DeveloperResourcesListView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/developer_resources/DeveloperResourcesView.js %%DEBUG%%%%DATADIR%%/resources/inspector/developer_resources/DeveloperResourcesView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/developer_resources/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/developer_resources/ModuleUIStrings.js.map %%DATADIR%%/resources/inspector/device_mode_test_runner/device_mode_test_runner_module.js %%DATADIR%%/resources/inspector/device_mode_test_runner/device_mode_test_runner.js %%DATADIR%%/resources/inspector/devices/devices_module.js @@ -523,7 +547,6 @@ bin/chrome %%DATADIR%%/resources/inspector/devtools_app.html %%DATADIR%%/resources/inspector/devtools_app.js %%DATADIR%%/resources/inspector/devtools_compatibility.js -%%DATADIR%%/resources/inspector/devtools_extension_api.js %%DEBUG%%%%DATADIR%%/resources/inspector/diff/diff_match_patch.js %%DEBUG%%%%DATADIR%%/resources/inspector/diff/diff_match_patch.js.map %%DATADIR%%/resources/inspector/diff/diff_module.js @@ -536,7 +559,14 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/dom_extension/DOMExtension.js.map %%DATADIR%%/resources/inspector/elements/elements_module.js %%DATADIR%%/resources/inspector/elements/elements-legacy.js +%%DATADIR%%/resources/inspector/elements/elements-meta.js %%DATADIR%%/resources/inspector/elements/elements.js +%%DEBUG%%%%DATADIR%%/resources/inspector/elements/AccessibilityNode.js +%%DEBUG%%%%DATADIR%%/resources/inspector/elements/AccessibilityNode.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/elements/AccessibilityTree.js +%%DEBUG%%%%DATADIR%%/resources/inspector/elements/AccessibilityTree.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/elements/AccessibilityTreeView.js +%%DEBUG%%%%DATADIR%%/resources/inspector/elements/AccessibilityTreeView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/Adorner.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/Adorner.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ClassesPaneWidget.js @@ -545,12 +575,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ColorSwatchPopoverIcon.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleModel.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleProperty_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleProperty_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleProperty.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleProperty.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleTrace_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleTrace_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleTrace.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleTrace.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ComputedStyleWidget.js @@ -561,16 +587,12 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/elements/DOMLinkifier.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/DOMPath.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/DOMPath.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsBreadcrumbs_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsBreadcrumbs_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsBreadcrumbs.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsBreadcrumbs.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsBreadcrumbsUtils.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsBreadcrumbsUtils.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsPanel.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsPanel.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsPanelLink_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsPanelLink_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsPanelLink.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsPanelLink.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsSidebarPane.js @@ -585,16 +607,10 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ElementsTreeOutline.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/EventListenersWidget.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/EventListenersWidget.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/Icon_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/Icon_bridge.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/Icon.js -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/Icon.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ImagePreviewPopover.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/ImagePreviewPopover.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/InspectElementModeController.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/InspectElementModeController.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/LayoutPane_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/elements/LayoutPane_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/LayoutPane.js %%DEBUG%%%%DATADIR%%/resources/inspector/elements/LayoutPane.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/elements/LayoutPaneUtils.js @@ -682,6 +698,7 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/emulation/EmulatedDevices.js %%DEBUG%%%%DATADIR%%/resources/inspector/emulation/EmulatedDevices.js.map %%DATADIR%%/resources/inspector/emulation/emulation-legacy.js +%%DATADIR%%/resources/inspector/emulation/emulation-meta.js %%DATADIR%%/resources/inspector/emulation/emulation.js %%DEBUG%%%%DATADIR%%/resources/inspector/emulation/InspectedPagePlaceholder.js %%DEBUG%%%%DATADIR%%/resources/inspector/emulation/InspectedPagePlaceholder.js.map @@ -691,6 +708,10 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/emulation/MediaQueryInspector.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/emulation/SensorsView.js %%DEBUG%%%%DATADIR%%/resources/inspector/emulation/SensorsView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/emulation/StructuredHeaders.js +%%DEBUG%%%%DATADIR%%/resources/inspector/emulation/StructuredHeaders.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/emulation/UserAgentMetadata.js +%%DEBUG%%%%DATADIR%%/resources/inspector/emulation/UserAgentMetadata.js.map %%DATADIR%%/resources/inspector/event_listeners/event_listeners_module.js %%DATADIR%%/resources/inspector/event_listeners/event_listeners-legacy.js %%DATADIR%%/resources/inspector/event_listeners/event_listeners.js @@ -716,7 +737,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/extensions/ExtensionView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/extensions/LanguageExtensionEndpoint.js %%DEBUG%%%%DATADIR%%/resources/inspector/extensions/LanguageExtensionEndpoint.js.map -%%DATADIR%%/resources/inspector/formatter_worker_entrypoint.js +%%DATADIR%%/resources/inspector/formatter_worker/formatter_worker.js +%%DATADIR%%/resources/inspector/formatter_worker/formatter_worker-entrypoint.js %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/AcornTokenizer.js %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/AcornTokenizer.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/CSSFormatter.js @@ -727,7 +749,7 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/ESTreeWalker.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/FormattedContentBuilder.js %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/FormattedContentBuilder.js.map -%%DATADIR%%/resources/inspector/formatter_worker/formatter_worker.js +%%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/FormatterActions.js %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/FormatterWorker.js %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/FormatterWorker.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/formatter_worker/HTMLFormatter.js @@ -767,18 +789,16 @@ bin/chrome %%DATADIR%%/resources/inspector/heap_snapshot_model/heap_snapshot_model.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_model/HeapSnapshotModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_model/HeapSnapshotModel.js.map -%%DATADIR%%/resources/inspector/heap_snapshot_worker_entrypoint.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/AllocationProfile.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/AllocationProfile.js.map %%DATADIR%%/resources/inspector/heap_snapshot_worker/heap_snapshot_worker_module.js +%%DATADIR%%/resources/inspector/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js %%DATADIR%%/resources/inspector/heap_snapshot_worker/heap_snapshot_worker-legacy.js %%DATADIR%%/resources/inspector/heap_snapshot_worker/heap_snapshot_worker.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshot.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshot.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshotLoader.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshotLoader.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshotWorker.js -%%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshotWorker.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshotWorkerDispatcher.js %%DEBUG%%%%DATADIR%%/resources/inspector/heap_snapshot_worker/HeapSnapshotWorkerDispatcher.js.map %%DATADIR%%/resources/inspector/help/help_module.js @@ -786,6 +806,8 @@ bin/chrome %%DATADIR%%/resources/inspector/help/help.js %%DEBUG%%%%DATADIR%%/resources/inspector/help/HelpImpl.js %%DEBUG%%%%DATADIR%%/resources/inspector/help/HelpImpl.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/help/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/help/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/help/ReleaseNoteText.js %%DEBUG%%%%DATADIR%%/resources/inspector/help/ReleaseNoteText.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/help/ReleaseNoteView.js @@ -813,16 +835,10 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/BezierUI.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/ColorSwatch.js %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/ColorSwatch.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/ColorSwatch_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/ColorSwatch_bridge.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngle_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngle_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngle.js %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngle.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngleEditor.js %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngleEditor.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngleRegex.js -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngleRegex.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngleSwatch.js %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngleSwatch.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSAngleUtils.js @@ -831,10 +847,14 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSShadowEditor.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSShadowModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSShadowModel.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSVarSwatch_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSVarSwatch_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSVarSwatch.js %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/CSSVarSwatch.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/FontEditor.js +%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/FontEditor.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/FontEditorUnitConverter.js +%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/FontEditorUnitConverter.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/FontEditorUtils.js +%%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/FontEditorUtils.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/Swatches.js %%DEBUG%%%%DATADIR%%/resources/inspector/inline_editor/Swatches.js.map %%DATADIR%%/resources/inspector/inline_editor/inline_editor_module.js @@ -849,6 +869,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/input/InputModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/input/InputTimeline.js %%DEBUG%%%%DATADIR%%/resources/inspector/input/InputTimeline.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/input/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/input/ModuleUIStrings.js.map %%DATADIR%%/resources/inspector/inspector_main/inspector_main.js %%DATADIR%%/resources/inspector/inspector_main/inspector_main-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/inspector_main/InspectorMain.js @@ -862,6 +884,16 @@ bin/chrome %%DATADIR%%/resources/inspector/issues/issues_module.js %%DATADIR%%/resources/inspector/issues/issues-legacy.js %%DATADIR%%/resources/inspector/issues/issues.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/AffectedResourcesView.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/AffectedResourcesView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/AffectedSharedArrayBufferTransferDetailsView.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/AffectedSharedArrayBufferTransferDetailsView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/ComboBoxOfCheckBoxes.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/ComboBoxOfCheckBoxes.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/CSPViolationsListView.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/CSPViolationsListView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/CSPViolationsView.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/CSPViolationsView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/issues/IssueAggregator.js %%DEBUG%%%%DATADIR%%/resources/inspector/issues/IssueAggregator.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/issues/IssueRevealer.js @@ -870,8 +902,16 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/issues/IssuesPane.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/issues/IssueSurveyLink.js %%DEBUG%%%%DATADIR%%/resources/inspector/issues/IssueSurveyLink.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownImage.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownImage.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownImagesMap.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownImagesMap.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownIssueDescription.js %%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownIssueDescription.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownLink.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownLink.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownLinksMap.js +%%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownLinksMap.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownView.js %%DEBUG%%%%DATADIR%%/resources/inspector/issues/MarkdownView.js.map %%DATADIR%%/resources/inspector/javascript_metadata/javascript_metadata_module.js @@ -889,6 +929,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/js_main/JsMain.js.map %%DATADIR%%/resources/inspector/js_profiler/js_profiler_module.js %%DATADIR%%/resources/inspector/js_profiler/js_profiler.js +%%DEBUG%%%%DATADIR%%/resources/inspector/js_profiler/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/js_profiler/ModuleUIStrings.js.map %%DATADIR%%/resources/inspector/layer_viewer/layer_viewer_module.js %%DATADIR%%/resources/inspector/layer_viewer/layer_viewer-legacy.js %%DATADIR%%/resources/inspector/layer_viewer/layer_viewer.js @@ -900,6 +942,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/LayerTreeOutline.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/LayerViewHost.js %%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/LayerViewHost.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/PaintProfilerView.js %%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/PaintProfilerView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/layer_viewer/TransformController.js @@ -913,6 +957,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/layers/LayersPanel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/layers/LayerTreeModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/layers/LayerTreeModel.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/layers/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/layers/ModuleUIStrings.js.map %%DATADIR%%/resources/inspector/layers_test_runner/layers_test_runner_module.js %%DATADIR%%/resources/inspector/layers_test_runner/layers_test_runner.js %%DATADIR%%/resources/inspector/lighthouse_test_runner/lighthouse_test_runner_module.js @@ -939,14 +985,19 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/lighthouse/LighthouseStartView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/lighthouse/LighthouseStatusView.js %%DEBUG%%%%DATADIR%%/resources/inspector/lighthouse/LighthouseStatusView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/lighthouse/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/lighthouse/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/lighthouse/RadioSetting.js %%DEBUG%%%%DATADIR%%/resources/inspector/lighthouse/RadioSetting.js.map %%DATADIR%%/resources/inspector/linear_memory_inspector/linear_memory_inspector_module.js +%%DATADIR%%/resources/inspector/linear_memory_inspector/linear_memory_inspector-legacy.js %%DATADIR%%/resources/inspector/linear_memory_inspector/linear_memory_inspector.js -%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspector_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspector_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspector.js %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspector.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspectorController.js +%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspectorController.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspectorPane.js +%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspectorPane.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspectorUtils.js %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryInspectorUtils.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/LinearMemoryNavigator.js @@ -959,6 +1010,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/ValueInterpreterDisplay.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/ValueInterpreterDisplayUtils.js %%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/ValueInterpreterDisplayUtils.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/ValueInterpreterSettings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/linear_memory_inspector/ValueInterpreterSettings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/main/ExecutionContextSelector.js %%DEBUG%%%%DATADIR%%/resources/inspector/main/ExecutionContextSelector.js.map %%DATADIR%%/resources/inspector/main/main-legacy.js @@ -978,6 +1031,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/media/MainView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/media/MediaModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/media/MediaModel.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/media/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/media/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/media/PlayerDetailView.js %%DEBUG%%%%DATADIR%%/resources/inspector/media/PlayerDetailView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/media/PlayerListView.js @@ -994,6 +1049,8 @@ bin/chrome %%DATADIR%%/resources/inspector/mobile_throttling/mobile_throttling-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/mobile_throttling/MobileThrottlingSelector.js %%DEBUG%%%%DATADIR%%/resources/inspector/mobile_throttling/MobileThrottlingSelector.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/mobile_throttling/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/mobile_throttling/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/mobile_throttling/NetworkPanelIndicator.js %%DEBUG%%%%DATADIR%%/resources/inspector/mobile_throttling/NetworkPanelIndicator.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/mobile_throttling/NetworkThrottlingSelector.js @@ -1008,6 +1065,7 @@ bin/chrome %%DATADIR%%/resources/inspector/ndb_app.js %%DATADIR%%/resources/inspector/network/network_module.js %%DATADIR%%/resources/inspector/network/network-legacy.js +%%DATADIR%%/resources/inspector/network/network-meta.js %%DATADIR%%/resources/inspector/network/network.js %%DEBUG%%%%DATADIR%%/resources/inspector/network/BinaryResourceView.js %%DEBUG%%%%DATADIR%%/resources/inspector/network/BinaryResourceView.js.map @@ -1055,6 +1113,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/network/RequestResponseView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/network/RequestTimingView.js %%DEBUG%%%%DATADIR%%/resources/inspector/network/RequestTimingView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/network/RequestTrustTokensView.js +%%DEBUG%%%%DATADIR%%/resources/inspector/network/RequestTrustTokensView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/network/ResourceWebSocketFrameView.js %%DEBUG%%%%DATADIR%%/resources/inspector/network/ResourceWebSocketFrameView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/network/SignedExchangeInfoView.js @@ -1065,8 +1125,12 @@ bin/chrome %%DATADIR%%/resources/inspector/node_app.js %%DATADIR%%/resources/inspector/node_debugger/node_debugger_module.js %%DATADIR%%/resources/inspector/node_debugger/node_debugger.js +%%DEBUG%%%%DATADIR%%/resources/inspector/node_debugger/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/node_debugger/ModuleUIStrings.js.map %%DATADIR%%/resources/inspector/node_main/node_main-legacy.js %%DATADIR%%/resources/inspector/node_main/node_main.js +%%DEBUG%%%%DATADIR%%/resources/inspector/node_main/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/node_main/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/node_main/NodeConnectionsPanel.js %%DEBUG%%%%DATADIR%%/resources/inspector/node_main/NodeConnectionsPanel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/node_main/NodeMain.js @@ -1105,8 +1169,6 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/NetworkPriorities.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/OverviewGrid.js %%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/OverviewGrid.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/PieChart_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/PieChart_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/PieChart.js %%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/PieChart.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/perf_ui/TimelineGrid.js @@ -1116,12 +1178,16 @@ bin/chrome %%DATADIR%%/resources/inspector/performance_monitor/performance_monitor_module.js %%DATADIR%%/resources/inspector/performance_monitor/performance_monitor-legacy.js %%DATADIR%%/resources/inspector/performance_monitor/performance_monitor.js +%%DEBUG%%%%DATADIR%%/resources/inspector/performance_monitor/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/performance_monitor/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/performance_monitor/PerformanceMonitor.js %%DEBUG%%%%DATADIR%%/resources/inspector/performance_monitor/PerformanceMonitor.js.map %%DATADIR%%/resources/inspector/performance_test_runner/performance_test_runner_module.js %%DATADIR%%/resources/inspector/performance_test_runner/performance_test_runner.js %%DEBUG%%%%DATADIR%%/resources/inspector/performance_test_runner/TimelineDataTestRunner.js %%DEBUG%%%%DATADIR%%/resources/inspector/performance_test_runner/TimelineTestRunner.js +%%DATADIR%%/resources/inspector/persistence/persistence.js +%%DATADIR%%/resources/inspector/persistence/persistence-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/Automapping.js %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/Automapping.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/EditFileSystemView.js @@ -1132,10 +1198,10 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/IsolatedFileSystem.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/IsolatedFileSystemManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/IsolatedFileSystemManager.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/persistence/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/persistence/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/NetworkPersistenceManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/NetworkPersistenceManager.js.map -%%DATADIR%%/resources/inspector/persistence/persistence.js -%%DATADIR%%/resources/inspector/persistence/persistence-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/PersistenceActions.js %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/PersistenceActions.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/persistence/PersistenceImpl.js @@ -1161,10 +1227,13 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/platform/set-utilities.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/platform/string-utilities.js %%DEBUG%%%%DATADIR%%/resources/inspector/platform/string-utilities.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/platform/typescript-utilities.js +%%DEBUG%%%%DATADIR%%/resources/inspector/platform/typescript-utilities.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/platform/UIString.js %%DEBUG%%%%DATADIR%%/resources/inspector/platform/UIString.js.map %%DATADIR%%/resources/inspector/profiler/profiler_module.js %%DATADIR%%/resources/inspector/profiler/profiler-legacy.js +%%DATADIR%%/resources/inspector/profiler/profiler-meta.js %%DATADIR%%/resources/inspector/profiler/profiler.js %%DEBUG%%%%DATADIR%%/resources/inspector/profiler/BottomUpProfileDataGrid.js %%DEBUG%%%%DATADIR%%/resources/inspector/profiler/BottomUpProfileDataGrid.js.map @@ -1211,6 +1280,8 @@ bin/chrome %%DATADIR%%/resources/inspector/protocol_monitor/protocol_monitor_module.js %%DATADIR%%/resources/inspector/protocol_monitor/protocol_monitor-legacy.js %%DATADIR%%/resources/inspector/protocol_monitor/protocol_monitor.js +%%DEBUG%%%%DATADIR%%/resources/inspector/protocol_monitor/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/protocol_monitor/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/protocol_monitor/ProtocolMonitor.js %%DEBUG%%%%DATADIR%%/resources/inspector/protocol_monitor/ProtocolMonitor.js.map %%DATADIR%%/resources/inspector/protocol_client/protocol_client-legacy.js @@ -1234,6 +1305,15 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/quick_open/QuickOpen.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/quick_open/QuickPick.js %%DEBUG%%%%DATADIR%%/resources/inspector/quick_open/QuickPick.js.map +%%DATADIR%%/resources/inspector/recorder/recorder.js +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecorderModel.js +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecorderModel.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecordingEventHandler.js +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecordingEventHandler.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecordingFileSystem.js +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecordingFileSystem.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecordingSession.js +%%DEBUG%%%%DATADIR%%/resources/inspector/recorder/RecordingSession.js.map %%DATADIR%%/resources/inspector/resources/resources_module.js %%DATADIR%%/resources/inspector/resources/resources-legacy.js %%DATADIR%%/resources/inspector/resources/resources.js @@ -1241,8 +1321,12 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationCacheItemsView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationCacheModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationCacheModel.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationPanelCacheSection.js +%%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationPanelCacheSection.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationPanelSidebar.js %%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationPanelSidebar.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationPanelTreeElement.js +%%DEBUG%%%%DATADIR%%/resources/inspector/resources/ApplicationPanelTreeElement.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/resources/AppManifestView.js %%DEBUG%%%%DATADIR%%/resources/inspector/resources/AppManifestView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/resources/BackgroundServiceModel.js @@ -1291,6 +1375,10 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/screencast/ScreencastView.js.map %%DATADIR%%/resources/inspector/sdk_test_runner/sdk_test_runner_module.js %%DATADIR%%/resources/inspector/sdk_test_runner/sdk_test_runner.js +%%DATADIR%%/resources/inspector/sdk/sdk.js +%%DATADIR%%/resources/inspector/sdk/sdk-legacy.js +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/AccessibilityModel.js +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/AccessibilityModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ChildTargetManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ChildTargetManager.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/CompilerSourceMappingContentProvider.js @@ -1299,6 +1387,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/Connections.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ConsoleModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ConsoleModel.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ConsoleModelTypes.js +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ConsoleModelTypes.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ContentSecurityPolicyIssue.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ContentSecurityPolicyIssue.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/Cookie.js @@ -1373,8 +1463,12 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/NetworkManager.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/NetworkRequest.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/NetworkRequest.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/OverlayColorGenerator.js +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/OverlayColorGenerator.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/OverlayModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/OverlayModel.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/OverlayPersistentHighlighter.js +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/OverlayPersistentHighlighter.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/PageResourceLoader.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/PageResourceLoader.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/PaintProfiler.js @@ -1397,8 +1491,6 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ScreenCaptureModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/Script.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/Script.js.map -%%DATADIR%%/resources/inspector/sdk/sdk.js -%%DATADIR%%/resources/inspector/sdk/sdk-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SDKModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SDKModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SecurityOriginManager.js @@ -1409,6 +1501,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ServiceWorkerCacheModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ServiceWorkerManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/ServiceWorkerManager.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SharedArrayBufferTransferIssue.js +%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SharedArrayBufferTransferIssue.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SourceMap.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SourceMap.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/SourceMapManager.js @@ -1419,10 +1513,6 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/TracingModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/WebAuthnModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/sdk/WebAuthnModel.js.map -%%DATADIR%%/resources/inspector/sdk/wasm_source_map/pkg/wasm_source_map_bg.wasm -%%DATADIR%%/resources/inspector/sdk/wasm_source_map/pkg/wasm_source_map.d.ts -%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/wasm_source_map/pkg/wasm_source_map.js -%%DEBUG%%%%DATADIR%%/resources/inspector/sdk/wasm_source_map/wasm_source_map-tsconfig.json %%DATADIR%%/resources/inspector/search/search_module.js %%DATADIR%%/resources/inspector/search/search-legacy.js %%DATADIR%%/resources/inspector/search/search.js @@ -1434,7 +1524,10 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/search/SearchView.js.map %%DATADIR%%/resources/inspector/security/security_module.js %%DATADIR%%/resources/inspector/security/security-legacy.js +%%DATADIR%%/resources/inspector/security/security-meta.js %%DATADIR%%/resources/inspector/security/security.js +%%DEBUG%%%%DATADIR%%/resources/inspector/security/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/security/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/security/SecurityModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/security/SecurityModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/security/SecurityPanel.js @@ -1448,8 +1541,8 @@ bin/chrome %%DATADIR%%/resources/inspector/settings/settings_module.js %%DATADIR%%/resources/inspector/settings/settings-legacy.js %%DATADIR%%/resources/inspector/settings/settings.js -%%DEBUG%%%%DATADIR%%/resources/inspector/settings/FrameworkBlackboxSettingsTab.js -%%DEBUG%%%%DATADIR%%/resources/inspector/settings/FrameworkBlackboxSettingsTab.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/settings/FrameworkIgnoreListSettingsTab.js +%%DEBUG%%%%DATADIR%%/resources/inspector/settings/FrameworkIgnoreListSettingsTab.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/settings/KeybindsSettingsTab.js %%DEBUG%%%%DATADIR%%/resources/inspector/settings/KeybindsSettingsTab.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/settings/ModuleUIStrings.js @@ -1460,6 +1553,8 @@ bin/chrome %%DATADIR%%/resources/inspector/snippets/snippets_module.js %%DATADIR%%/resources/inspector/snippets/snippets-legacy.js %%DATADIR%%/resources/inspector/snippets/snippets.js +%%DEBUG%%%%DATADIR%%/resources/inspector/snippets/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/snippets/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/snippets/ScriptSnippetFileSystem.js %%DEBUG%%%%DATADIR%%/resources/inspector/snippets/ScriptSnippetFileSystem.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/snippets/SnippetsQuickOpen.js @@ -1489,6 +1584,7 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/source_frame/XMLView.js.map %%DATADIR%%/resources/inspector/sources/sources_module.js %%DATADIR%%/resources/inspector/sources/sources-legacy.js +%%DATADIR%%/resources/inspector/sources/sources-meta.js %%DATADIR%%/resources/inspector/sources/sources.js %%DEBUG%%%%DATADIR%%/resources/inspector/sources/AddSourceMapURLDialog.js %%DEBUG%%%%DATADIR%%/resources/inspector/sources/AddSourceMapURLDialog.js.map @@ -1528,6 +1624,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/sources/OutlineQuickOpen.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sources/Plugin.js %%DEBUG%%%%DATADIR%%/resources/inspector/sources/Plugin.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/sources/RecorderPlugin.js +%%DEBUG%%%%DATADIR%%/resources/inspector/sources/RecorderPlugin.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sources/ScopeChainSidebarPane.js %%DEBUG%%%%DATADIR%%/resources/inspector/sources/ScopeChainSidebarPane.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/sources/ScriptFormatterEditorAction.js @@ -1571,12 +1669,14 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/test_runner/TestRunner.js %%DEBUG%%%%DATADIR%%/resources/inspector/test_runner/TestRunner.js.map %%DATADIR%%/resources/inspector/text_editor/text_editor_module.js +%%DATADIR%%/resources/inspector/text_editor/text_editor.js +%%DATADIR%%/resources/inspector/text_editor/text_editor-legacy.js +%%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/cm_modes.js +%%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/cm_modes.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/CodeMirrorTextEditor.js %%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/CodeMirrorTextEditor.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/CodeMirrorUtils.js %%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/CodeMirrorUtils.js.map -%%DATADIR%%/resources/inspector/text_editor/text_editor.js -%%DATADIR%%/resources/inspector/text_editor/text_editor-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/TextEditorAutocompleteController.js %%DEBUG%%%%DATADIR%%/resources/inspector/text_editor/TextEditorAutocompleteController.js.map %%DATADIR%%/resources/inspector/text_utils/text_utils.js @@ -1596,17 +1696,9 @@ bin/chrome %%DATADIR%%/resources/inspector/theme_support/theme_support.js %%DEBUG%%%%DATADIR%%/resources/inspector/theme_support/theme_support_impl.js %%DEBUG%%%%DATADIR%%/resources/inspector/theme_support/theme_support_impl.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-logical-assignment/acorn-logical-assignment-tsconfig.json -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-logical-assignment/package/dist/acorn-logical-assignment.mjs -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-logical-assignment/package/dist/acorn-logical-assignment.mjs.d.ts -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-logical-assignment/package/dist/acorn-logical-assignment.mjs.map %%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-loose/acorn-loose-tsconfig.json %%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-loose/package/dist/acorn-loose.d.ts %%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-loose/package/dist/acorn-loose.mjs -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-numeric-separator/acorn-numeric-separator-tsconfig.json -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-numeric-separator/package/dist/acorn-numeric-separator.mjs -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-numeric-separator/package/dist/acorn-numeric-separator.mjs.d.ts -%%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn-numeric-separator/package/dist/acorn-numeric-separator.mjs.map %%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn/acorn-tsconfig.json %%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn/acorn.js %%DEBUG%%%%DATADIR%%/resources/inspector/third_party/acorn/package/dist/acorn.d.ts @@ -2031,8 +2123,6 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/timeline/UIDevtoolsUtils.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/timeline/WebVitalsLane.js %%DEBUG%%%%DATADIR%%/resources/inspector/timeline/WebVitalsLane.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/timeline/WebVitalsTimeline_bridge.js -%%DEBUG%%%%DATADIR%%/resources/inspector/timeline/WebVitalsTimeline_bridge.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/timeline/WebVitalsTimeline.js %%DEBUG%%%%DATADIR%%/resources/inspector/timeline/WebVitalsTimeline.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/timeline/WebVitalsTimelineUtils.js @@ -2040,10 +2130,10 @@ bin/chrome %%DATADIR%%/resources/inspector/toolbox_bootstrap/toolbox_bootstrap.js %%DATADIR%%/resources/inspector/toolbox.html %%DATADIR%%/resources/inspector/toolbox.js -%%DEBUG%%%%DATADIR%%/resources/inspector/ui/Action.js -%%DEBUG%%%%DATADIR%%/resources/inspector/ui/Action.js.map -%%DEBUG%%%%DATADIR%%/resources/inspector/ui/ActionDelegate.js -%%DEBUG%%%%DATADIR%%/resources/inspector/ui/ActionDelegate.js.map +%%DATADIR%%/resources/inspector/ui/ui.js +%%DATADIR%%/resources/inspector/ui/ui-legacy.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/ActionRegistration.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/ActionRegistration.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/ActionRegistry.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/ActionRegistry.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/ARIAUtils.js @@ -2051,12 +2141,22 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/components.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGrid.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGrid.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridContextMenuUtils.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridContextMenuUtils.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridController.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridController.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridRenderers.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridRenderers.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridUtils.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/DataGridUtils.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/Icon.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/Icon.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/Linkifier.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/Linkifier.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/LinkifierUtils.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/LinkifierUtils.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/ReportView.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/components/ReportView.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/Context.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/Context.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/ContextFlavorListener.js @@ -2149,14 +2249,14 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/ui/Tooltip.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/Treeoutline.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/Treeoutline.js.map -%%DATADIR%%/resources/inspector/ui/ui.js -%%DATADIR%%/resources/inspector/ui/ui-legacy.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/UIUtils.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/UIUtils.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/View.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/View.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/ViewManager.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/ViewManager.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/ViewRegistration.js +%%DEBUG%%%%DATADIR%%/resources/inspector/ui/ViewRegistration.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/Widget.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/Widget.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/XElement.js @@ -2180,8 +2280,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/ui/utils/register-custom-element.js %%DEBUG%%%%DATADIR%%/resources/inspector/ui/utils/register-custom-element.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/ui/utils/utils.js -%%DATADIR%%/resources/inspector/wasmparser_worker_entrypoint.js %%DATADIR%%/resources/inspector/wasmparser_worker/wasmparser_worker.js +%%DATADIR%%/resources/inspector/wasmparser_worker/wasmparser_worker-entrypoint.js %%DEBUG%%%%DATADIR%%/resources/inspector/wasmparser_worker/WasmParserWorker.js %%DEBUG%%%%DATADIR%%/resources/inspector/wasmparser_worker/WasmParserWorker.js.map %%DATADIR%%/resources/inspector/web_audio/web_audio_module.js @@ -2190,6 +2290,8 @@ bin/chrome %%DATADIR%%/resources/inspector/webauthn/webauthn-legacy.js %%DATADIR%%/resources/inspector/webauthn/webauthn.js %%DATADIR%%/resources/inspector/webauthn/webauthn_module.js +%%DEBUG%%%%DATADIR%%/resources/inspector/webauthn/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/webauthn/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/webauthn/WebauthnPane.js %%DEBUG%%%%DATADIR%%/resources/inspector/webauthn/WebauthnPane.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/AudioContextContentBuilder.js @@ -2209,6 +2311,8 @@ bin/chrome %%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/graph_visualizer/NodeRendererUtility.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/graph_visualizer/NodeView.js %%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/graph_visualizer/NodeView.js.map +%%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/ModuleUIStrings.js +%%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/ModuleUIStrings.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/WebAudioModel.js %%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/WebAudioModel.js.map %%DEBUG%%%%DATADIR%%/resources/inspector/web_audio/WebAudioView.js @@ -2247,7 +2351,7 @@ bin/chrome %%DEBUG%%%%DATADIR%%/libimmediate_crash_test_helper.so %%DEBUG%%%%DATADIR%%/libmalloc_wrapper.so %%DEBUG%%%%DATADIR%%/libtest_shared_library.so -%%DEBUG%%%%DATADIR%%/libvulkan.so +%%DEBUG%%%%DATADIR%%/libvulkan.so.1 %%DRIVER%%bin/chromedriver man/man1/chrome.1.gz share/applications/chromium-browser.desktop From 6f952f03b0b2eb2e685f72232ba7bab62673119f Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Wed, 31 Mar 2021 17:22:01 +0200 Subject: [PATCH 2/6] Upgrade to v89.0.4389.114, based the check for LTO on COMPILER_VERSION instead of OSVERSION --- www/chromium/Makefile | 11 ++++++----- www/chromium/distinfo | 10 +++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 8e63c5db..2dd36519 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -2,7 +2,7 @@ # $FreeBSD: head/www/chromium/Makefile 563913 2021-02-03 19:46:35Z sunpoet $ PORTNAME= chromium -PORTVERSION= 89.0.4389.90 +PORTVERSION= 89.0.4389.114 CATEGORIES= www java MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ LOCAL/rene/chromium/:fonts @@ -65,7 +65,7 @@ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic -USES= bison cpe desktop-file-utils dos2unix gl gnome jpeg localbase:ldflags \ +USES= bison compiler:c++17-lang cpe desktop-file-utils dos2unix gl gnome jpeg localbase:ldflags \ ninja perl5 pkgconfig python:2.7,build shebangfix tar:xz xorg MAKE_ARGS= -C out/${BUILDTYPE} @@ -198,16 +198,17 @@ TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} \ test_fonts-85${EXTRACT_SUFX}:fonts .include +.include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 +.if ${COMPILER_VERSION} < 120 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-build_config_compiler_pgo_pgo.gni .if ${PORT_OPTIONS:MLTO} -BROKEN+= does not build with LTO on FreeBSD < 13, needs LLVM 11+ +BROKEN+= does not build with LTO needs LLVM 12+ .endif .endif @@ -352,4 +353,4 @@ post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \ ${STAGEDIR}${PREFIX}/bin -.include +.include diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 853ae86b..8323d953 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1615805841 -SHA256 (chromium-89.0.4389.90.tar.xz) = 11c6089c5fdd921216aa4eb34b52818a9b091cad655a24aed0982d29e65b279a -SIZE (chromium-89.0.4389.90.tar.xz) = 890844888 -SHA256 (chromium-89.0.4389.90-testdata.tar.xz) = d5c2ac5a11f23ae8d28925dce5875baf370feed30319fab0875f65c80be10d2d -SIZE (chromium-89.0.4389.90-testdata.tar.xz) = 257730924 +TIMESTAMP = 1617179966 +SHA256 (chromium-89.0.4389.114.tar.xz) = f2f0abe9697a220a8545df74d832c6c8d85a4fb11845e7e398752d746e72ed00 +SIZE (chromium-89.0.4389.114.tar.xz) = 890898912 +SHA256 (chromium-89.0.4389.114-testdata.tar.xz) = 42d108ab42c81ce42973ec9ccac951237d29089c850738eeeea770ced3293bc6 +SIZE (chromium-89.0.4389.114-testdata.tar.xz) = 257717396 SHA256 (test_fonts-85.tar.xz) = f22b61b3639acb147c98ec2e2305d8b96f0b55c8c74c40e2ea696402fae8cef9 SIZE (test_fonts-85.tar.xz) = 9511984 From b2de306cefa02ddff4e0f2addb98ee6261c09232 Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Thu, 1 Apr 2021 17:52:59 +0200 Subject: [PATCH 3/6] Hopefully fixed issue w/ libva-2.11 --- ...rotected__content_va__protected__content.h | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 www/chromium/files/patch-third__party_libva__protected__content_va__protected__content.h diff --git a/www/chromium/files/patch-third__party_libva__protected__content_va__protected__content.h b/www/chromium/files/patch-third__party_libva__protected__content_va__protected__content.h new file mode 100644 index 00000000..f3299359 --- /dev/null +++ b/www/chromium/files/patch-third__party_libva__protected__content_va__protected__content.h @@ -0,0 +1,34 @@ +--- third_party/libva_protected_content/va_protected_content.h.orig 2021-04-01 15:39:21 UTC ++++ third_party/libva_protected_content/va_protected_content.h +@@ -133,6 +133,7 @@ extern "C" { + #define VA_PC_SAMPLE_TYPE_SUBSAMPLE 0x00000002 + + /** \brief TeeExec Function Codes. */ ++#if 0 + typedef enum _VA_TEE_EXEC_FUNCTION_ID { + VA_TEE_EXEC_TEE_FUNCID_PASS_THROUGH_NONE = 0x0, + +@@ -144,6 +145,7 @@ typedef enum _VA_TEE_EXEC_FUNCTION_ID { + VA_TEE_EXEC_TEE_FUNCID_PASS_THROUGH = 0x40001000, + + } VA_TEE_EXEC_FUNCTION_ID; ++#endif + + /** \brief values for the encryption return status. */ + typedef enum { +@@ -160,6 +162,7 @@ typedef enum { + } VAEncryptionStatus; + + /** \brief structure for encrypted segment info. */ ++#if 0 + typedef struct _VAEncryptionSegmentInfo { + /** \brief The offset relative to the start of the bitstream input in + * bytes of the start of the segment*/ +@@ -215,6 +218,7 @@ typedef struct _VAEncryptionParameters { + /** \brief Reserved bytes for future use, must be zero */ + uint32_t va_reserved[VA_PADDING_MEDIUM]; + } VAEncryptionParameters; ++#endif + + /** \brief structure for VA_TEE_EXEC_GPU_FUNCID_ENCRYPTION_BLT */ + typedef struct _VA_PROTECTED_BLT_PARAMS { From 1abe2862e708a3cf37831f2f3fbfa50c2490a692 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Sat, 3 Apr 2021 11:30:55 +0200 Subject: [PATCH 4/6] Fix a stage-qa warning. --- www/chromium/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 2dd36519..9f713534 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -60,7 +60,8 @@ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ - libxkbcommon.so:x11/libxkbcommon + libxkbcommon.so:x11/libxkbcommon \ + libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic From 190f5409257486fdd64d2f7936e3e194bc815665 Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Wed, 14 Apr 2021 10:29:09 +0200 Subject: [PATCH 5/6] Update to 89.0.4389.128 --- www/chromium/Makefile | 3 +-- www/chromium/distinfo | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 9f713534..253955fd 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,8 +1,7 @@ # Created by: Florent Thoumie -# $FreeBSD: head/www/chromium/Makefile 563913 2021-02-03 19:46:35Z sunpoet $ PORTNAME= chromium -PORTVERSION= 89.0.4389.114 +PORTVERSION= 89.0.4389.128 CATEGORIES= www java MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ LOCAL/rene/chromium/:fonts diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 8323d953..7ff96a7b 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1617179966 -SHA256 (chromium-89.0.4389.114.tar.xz) = f2f0abe9697a220a8545df74d832c6c8d85a4fb11845e7e398752d746e72ed00 -SIZE (chromium-89.0.4389.114.tar.xz) = 890898912 -SHA256 (chromium-89.0.4389.114-testdata.tar.xz) = 42d108ab42c81ce42973ec9ccac951237d29089c850738eeeea770ced3293bc6 -SIZE (chromium-89.0.4389.114-testdata.tar.xz) = 257717396 +TIMESTAMP = 1618388739 +SHA256 (chromium-89.0.4389.128.tar.xz) = 1a75ea6aeb98f2d3b6feae1fbf5692679e93d5b7631bc7c762dd873499deda5b +SIZE (chromium-89.0.4389.128.tar.xz) = 890850492 +SHA256 (chromium-89.0.4389.128-testdata.tar.xz) = 03f16939f3fc8182a0f306abf1e6c801e2e6fd11533d18787c05c852cbec46bd +SIZE (chromium-89.0.4389.128-testdata.tar.xz) = 257707276 SHA256 (test_fonts-85.tar.xz) = f22b61b3639acb147c98ec2e2305d8b96f0b55c8c74c40e2ea696402fae8cef9 SIZE (test_fonts-85.tar.xz) = 9511984 From 9055e96714b91f08fdf6cb68b0fc6741ee92f3ee Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Wed, 14 Apr 2021 19:53:38 +0200 Subject: [PATCH 6/6] Sync with ports. --- www/chromium/Makefile | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 253955fd..ab5a34ab 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -68,22 +68,22 @@ RUN_DEPENDS= xdg-open:devel/xdg-utils \ USES= bison compiler:c++17-lang cpe desktop-file-utils dos2unix gl gnome jpeg localbase:ldflags \ ninja perl5 pkgconfig python:2.7,build shebangfix tar:xz xorg -MAKE_ARGS= -C out/${BUILDTYPE} -BINARY_ALIAS= python=${PYTHON_CMD} -DOS2UNIX_FILES= third_party/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h - CPE_VENDOR= google CPE_PRODUCT= chrome +DOS2UNIX_FILES= third_party/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h USE_GL= gbm gl +USE_GNOME= atk dconf glib20 gtk30 libxml2 libxslt +INSTALLS_ICONS= yes USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst -USE_GNOME= atk dconf glib20 gtk30 libxml2 libxslt SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format + +MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome -INSTALLS_ICONS= yes +BINARY_ALIAS= python=${PYTHON_CMD} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) @@ -127,21 +127,17 @@ SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO TEST -CODECS_DESC= Compile and enable patented codecs like H.264 -DRIVER_DESC= Install chromedriver +OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS SNDIO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO - OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT -HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) +OPTIONS_SUB= yes +CODECS_DESC= Compile and enable patented codecs like H.264 +DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) +HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) -HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal -MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 - -OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS SNDIO -OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ @@ -173,6 +169,7 @@ DEBUG_VARS_OFF= BUILDTYPE=Release \ DRIVER_MAKE_ARGS= chromedriver +HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false @@ -180,6 +177,7 @@ LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" +MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false @@ -193,9 +191,9 @@ SNDIO_VARS= GN_ARGS+=use_sndio=true 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-85${EXTRACT_SUFX}:fonts +TEST_ALL_TARGET= ${TEST_TARGETS} .include .include @@ -288,12 +286,6 @@ do-configure: ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd -do-test-TEST-on: -.for t in ${TEST_TARGETS} - cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ - ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} -.endfor - do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ @@ -353,4 +345,10 @@ post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \ ${STAGEDIR}${PREFIX}/bin +do-test-TEST-on: +.for t in ${TEST_TARGETS} + cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ + ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} +.endfor + .include