summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/Makefile12
-rw-r--r--www/agate/Makefile3
-rw-r--r--www/agate/Makefile.crates57
-rw-r--r--www/agate/distinfo120
-rw-r--r--www/angelfish/distinfo6
-rw-r--r--www/angie-console-light/Makefile2
-rw-r--r--www/angie-console-light/distinfo6
-rw-r--r--www/angie-module-auth-totp/Makefile22
-rw-r--r--www/angie-module-auth-totp/files/pkg-message.in15
-rw-r--r--www/angie-module-auth-totp/pkg-descr10
-rw-r--r--www/angie-module-auth-totp/pkg-plist3
-rw-r--r--www/angie/distinfo4
-rw-r--r--www/awstats/Makefile50
-rw-r--r--www/awstats/distinfo6
-rw-r--r--www/chromium/Makefile2
-rw-r--r--www/chromium/distinfo10
-rw-r--r--www/chromium/files/patch-build_rust_allocator_lib.rs15
-rw-r--r--www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc4
-rw-r--r--www/chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn4
-rw-r--r--www/chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc6
-rw-r--r--www/chromium/files/patch-ui_accessibility_accessibility__features.cc6
-rw-r--r--www/chromium/files/patch-ui_accessibility_accessibility__features.h6
-rw-r--r--www/dokuwiki/Makefile2
-rw-r--r--www/dokuwiki/distinfo6
-rw-r--r--www/element-web/Makefile4
-rw-r--r--www/element-web/distinfo6
-rw-r--r--www/element-web/pkg-plist28
-rw-r--r--www/elgg/Makefile2
-rw-r--r--www/elgg/distinfo6
-rw-r--r--www/elgg/pkg-plist88
-rw-r--r--www/falkon/distinfo6
-rw-r--r--www/filebrowser-quantum/Makefile2
-rw-r--r--www/filebrowser-quantum/distinfo14
-rw-r--r--www/filebrowser/Makefile3
-rw-r--r--www/filebrowser/distinfo14
-rw-r--r--www/firefox-esr/Makefile3
-rw-r--r--www/firefox-esr/distinfo6
-rw-r--r--www/firefox-esr/files/patch-bug187405925
-rw-r--r--www/firefox-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp17
-rw-r--r--www/firefox/Makefile5
-rw-r--r--www/firefox/distinfo6
-rw-r--r--www/firefox/files/patch-bug187405925
-rw-r--r--www/firefox/files/patch-bug187663235
-rw-r--r--www/firefox/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build18
-rw-r--r--www/firefox/files/patch-libwebrtc-generated8694
-rw-r--r--www/gallery-dl/Makefile2
-rw-r--r--www/gallery-dl/distinfo6
-rw-r--r--www/gatus/Makefile36
-rw-r--r--www/gatus/distinfo5
-rw-r--r--www/gatus/files/gatus.in37
-rw-r--r--www/gatus/pkg-descr7
-rw-r--r--www/github-release-monitor/Makefile2
-rw-r--r--www/github-release-monitor/distinfo6
-rw-r--r--www/github-release-monitor/pkg-plist362
-rw-r--r--www/gitlab-pages/distinfo10
-rw-r--r--www/gitlab-workhorse/distinfo10
-rw-r--r--www/gitlab/Makefile4
-rw-r--r--www/gitlab/Makefile.common2
-rw-r--r--www/gitlab/distinfo12
-rw-r--r--www/go-anubis/Makefile5
-rw-r--r--www/go-anubis/distinfo6
-rw-r--r--www/go-anubis/pkg-plist4
-rw-r--r--www/homer-web/Makefile2
-rw-r--r--www/homer-web/distinfo6
-rw-r--r--www/homer-web/pkg-plist108
-rw-r--r--www/hs-postgrest/Makefile2
-rw-r--r--www/hs-postgrest/Makefile.modules2
-rw-r--r--www/hs-postgrest/distinfo10
-rw-r--r--www/iridium/Makefile4
-rw-r--r--www/iridium/distinfo6
-rw-r--r--www/iridium/files/patch-BUILD.gn22
-rw-r--r--www/iridium/files/patch-ash_display_mirror__window__controller.cc4
-rw-r--r--www/iridium/files/patch-base_BUILD.gn30
-rw-r--r--www/iridium/files/patch-base_allocator_dispatcher_tls.h4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__alloc__features.cc4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni17
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h6
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc8
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc4
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h10
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h6
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h10
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc12
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h11
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc6
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc6
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc4
-rw-r--r--www/iridium/files/patch-base_atomicops.h4
-rw-r--r--www/iridium/files/patch-base_compiler__specific.h4
-rw-r--r--www/iridium/files/patch-base_debug_debugger__posix.cc6
-rw-r--r--www/iridium/files/patch-base_debug_stack__trace__posix.cc18
-rw-r--r--www/iridium/files/patch-base_files_file__util__posix.cc10
-rw-r--r--www/iridium/files/patch-base_files_file__util__unittest.cc8
-rw-r--r--www/iridium/files/patch-base_i18n_icu__util.cc12
-rw-r--r--www/iridium/files/patch-base_memory_madv__free__discardable__memory__posix.cc6
-rw-r--r--www/iridium/files/patch-base_memory_platform__shared__memory__region.h26
-rw-r--r--www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc8
-rw-r--r--www/iridium/files/patch-base_message__loop_message__pump__epoll.cc4
-rw-r--r--www/iridium/files/patch-base_posix_unix__domain__socket.cc22
-rw-r--r--www/iridium/files/patch-base_process_internal__linux.h6
-rw-r--r--www/iridium/files/patch-base_process_launch.h4
-rw-r--r--www/iridium/files/patch-base_process_launch__posix.cc12
-rw-r--r--www/iridium/files/patch-base_process_process__metrics.cc21
-rw-r--r--www/iridium/files/patch-base_process_process__metrics.h10
-rw-r--r--www/iridium/files/patch-base_process_process__metrics__freebsd.cc66
-rw-r--r--www/iridium/files/patch-base_process_process__metrics__openbsd.cc65
-rw-r--r--www/iridium/files/patch-base_process_process__posix.cc12
-rw-r--r--www/iridium/files/patch-base_rand__util__posix.cc28
-rw-r--r--www/iridium/files/patch-base_system_sys__info.h6
-rw-r--r--www/iridium/files/patch-base_system_sys__info__posix.cc8
-rw-r--r--www/iridium/files/patch-base_task_thread__pool_environment__config__unittest.cc22
-rw-r--r--www/iridium/files/patch-base_test_test__file__util__linux.cc4
-rw-r--r--www/iridium/files/patch-base_threading_platform__thread__internal__posix.cc24
-rw-r--r--www/iridium/files/patch-base_threading_platform__thread__metrics.cc11
-rw-r--r--www/iridium/files/patch-base_threading_platform__thread__metrics.h20
-rw-r--r--www/iridium/files/patch-base_threading_platform__thread__posix.cc87
-rw-r--r--www/iridium/files/patch-base_threading_platform__thread__unittest.cc13
-rw-r--r--www/iridium/files/patch-base_time_time__now__posix.cc21
-rw-r--r--www/iridium/files/patch-base_trace__event_malloc__dump__provider.cc4
-rw-r--r--www/iridium/files/patch-base_trace__event_process__memory__dump.cc15
-rw-r--r--www/iridium/files/patch-build_config_BUILD.gn4
-rw-r--r--www/iridium/files/patch-build_config_BUILDCONFIG.gn18
-rw-r--r--www/iridium/files/patch-build_config_clang_BUILD.gn4
-rw-r--r--www/iridium/files/patch-build_config_compiler_BUILD.gn112
-rw-r--r--www/iridium/files/patch-build_config_rust.gni10
-rw-r--r--www/iridium/files/patch-build_linux_strip__binary.py10
-rw-r--r--www/iridium/files/patch-build_nocompile.gni11
-rw-r--r--www/iridium/files/patch-build_rust_allocator_lib.rs27
-rw-r--r--www/iridium/files/patch-build_toolchain_gcc__toolchain.gni6
-rw-r--r--www/iridium/files/patch-build_toolchain_toolchain.gni4
-rw-r--r--www/iridium/files/patch-cc_base_features.cc4
-rw-r--r--www/iridium/files/patch-chrome_app_chrome__main__delegate.cc58
-rw-r--r--www/iridium/files/patch-chrome_app_settings__strings.grdp16
-rw-r--r--www/iridium/files/patch-chrome_browser_BUILD.gn4
-rw-r--r--www/iridium/files/patch-chrome_browser_about__flags.cc238
-rw-r--r--www/iridium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_browser__features.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_browser__features.h6
-rw-r--r--www/iridium/files/patch-chrome_browser_browser__process__impl.cc12
-rw-r--r--www/iridium/files/patch-chrome_browser_browser__process__impl.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc16
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.h11
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc23
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__browser__main.cc42
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc105
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h10
-rw-r--r--www/iridium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc38
-rw-r--r--www/iridium/files/patch-chrome_browser_component__updater_registration.cc23
-rw-r--r--www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc52
-rw-r--r--www/iridium/files/patch-chrome_browser_devtools_features.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_devtools_features.h11
-rw-r--r--www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.cc28
-rw-r--r--www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.h11
-rw-r--r--www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_download_download__item__model.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_download_download__prefs.cc18
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc25
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h13
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_connectors_common.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h6
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc20
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc20
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc28
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_BUILD.gn4
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc15
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc18
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc14
-rw-r--r--www/iridium/files/patch-chrome_browser_flag__descriptions.cc112
-rw-r--r--www/iridium/files/patch-chrome_browser_flag__descriptions.h110
-rw-r--r--www/iridium/files/patch-chrome_browser_glic_widget_glic__widget.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_global__features.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_global__features.h10
-rw-r--r--www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_media_router_discovery_BUILD.gn4
-rw-r--r--www/iridium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc29
-rw-r--r--www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h10
-rw-r--r--www/iridium/files/patch-chrome_browser_memory__details.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc46
-rw-r--r--www/iridium/files/patch-chrome_browser_metrics_power_process__monitor.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc38
-rw-r--r--www/iridium/files/patch-chrome_browser_net_system__network__context__manager.h6
-rw-r--r--www/iridium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc24
-rw-r--r--www/iridium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc12
-rw-r--r--www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc123
-rw-r--r--www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc14
-rw-r--r--www/iridium/files/patch-chrome_browser_printing_print__backend__service__manager.cc18
-rw-r--r--www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc41
-rw-r--r--www/iridium/files/patch-chrome_browser_profiles_profile__impl.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_profiles_profiles__state.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc20
-rw-r--r--www/iridium/files/patch-chrome_browser_renderer__preferences__util.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc20
-rw-r--r--www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc20
-rw-r--r--www/iridium/files/patch-chrome_browser_sessions_session__restore.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_signin_chrome__signin__client.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_signin_signin__hats__util.cc29
-rw-r--r--www/iridium/files/patch-chrome_browser_signin_signin__util.cc13
-rw-r--r--www/iridium/files/patch-chrome_browser_signin_signin__util.h11
-rw-r--r--www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.cc20
-rw-r--r--www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.h30
-rw-r--r--www/iridium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_task__manager_task__manager__observer.h8
-rw-r--r--www/iridium/files/patch-chrome_browser_themes_theme__service.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_themes_theme__service__factory.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_browser.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc22
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_browser__commands.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_chrome__pages.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_chrome__pages.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_hats_survey__config.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc13
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.h11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h13
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_tabs_features.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_test_popup__browsertest.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_ui__features.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_ui__features.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc23
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc23
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc12
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_frame_tab__strip__region__view.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc16
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc12
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc44
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h15
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc12
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc20
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.cc12
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.h4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc27
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc29
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc18
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc10
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h10
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc25
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h11
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc12
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc8
-rw-r--r--www/iridium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc13
-rw-r--r--www/iridium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc4
-rw-r--r--www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc6
-rw-r--r--www/iridium/files/patch-chrome_browser_webauthn_password__credential__controller.cc4
-rw-r--r--www/iridium/files/patch-chrome_common_chrome__features.cc14
-rw-r--r--www/iridium/files/patch-chrome_common_chrome__features.h10
-rw-r--r--www/iridium/files/patch-chrome_common_chrome__paths.cc24
-rw-r--r--www/iridium/files/patch-chrome_common_chrome__paths.h14
-rw-r--r--www/iridium/files/patch-chrome_common_chrome__switches.cc6
-rw-r--r--www/iridium/files/patch-chrome_common_chrome__switches.h6
-rw-r--r--www/iridium/files/patch-chrome_common_crash__keys.cc6
-rw-r--r--www/iridium/files/patch-chrome_common_extensions_extension__constants.h4
-rw-r--r--www/iridium/files/patch-chrome_common_media_cdm__host__file__path.cc4
-rw-r--r--www/iridium/files/patch-chrome_common_media_cdm__registration.cc14
-rw-r--r--www/iridium/files/patch-chrome_common_pref__names.h32
-rw-r--r--www/iridium/files/patch-chrome_common_url__constants.h4
-rw-r--r--www/iridium/files/patch-chrome_common_webui__url__constants.cc9
-rw-r--r--www/iridium/files/patch-chrome_common_webui__url__constants.h17
-rw-r--r--www/iridium/files/patch-chrome_services_printing_print__backend__service__impl.cc12
-rw-r--r--www/iridium/files/patch-chrome_test_chromedriver_chrome__launcher.cc4
-rw-r--r--www/iridium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc6
-rw-r--r--www/iridium/files/patch-chrome_updater_app_app__uninstall.cc4
-rw-r--r--www/iridium/files/patch-chrome_updater_configurator.cc4
-rw-r--r--www/iridium/files/patch-chrome_utility_services.cc8
-rw-r--r--www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc10
-rw-r--r--www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc4
-rw-r--r--www/iridium/files/patch-components_BUILD.gn36
-rw-r--r--www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc18
-rw-r--r--www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h6
-rw-r--r--www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc4
-rw-r--r--www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc4
-rw-r--r--www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc47
-rw-r--r--www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc4
-rw-r--r--www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc4
-rw-r--r--www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc6
-rw-r--r--www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc10
-rw-r--r--www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h8
-rw-r--r--www/iridium/files/patch-components_commerce_core_commerce__feature__list.cc29
-rw-r--r--www/iridium/files/patch-components_constrained__window_constrained__window__views.cc4
-rw-r--r--www/iridium/files/patch-components_crash_core_app_BUILD.gn4
-rw-r--r--www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h8
-rw-r--r--www/iridium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc11
-rw-r--r--www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc10
-rw-r--r--www/iridium/files/patch-components_device__signals_core_common_platform__utils.h11
-rw-r--r--www/iridium/files/patch-components_device__signals_core_common_signals__features.cc4
-rw-r--r--www/iridium/files/patch-components_device__signals_core_common_signals__features.h6
-rw-r--r--www/iridium/files/patch-components_embedder__support_user__agent__utils.cc41
-rw-r--r--www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc8
-rw-r--r--www/iridium/files/patch-components_enterprise_browser_reporting_report__util.cc11
-rw-r--r--www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc4
-rw-r--r--www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.cc11
-rw-r--r--www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.h11
-rw-r--r--www/iridium/files/patch-components_enterprise_data__controls_core_browser_rule.cc29
-rw-r--r--www/iridium/files/patch-components_enterprise_watermarking_watermark.cc6
-rw-r--r--www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc4
-rw-r--r--www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc4
-rw-r--r--www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc10
-rw-r--r--www/iridium/files/patch-components_feature__engagement_public_feature__constants.h8
-rw-r--r--www/iridium/files/patch-components_feature__engagement_public_feature__list.cc10
-rw-r--r--www/iridium/files/patch-components_feature__engagement_public_feature__list.h20
-rw-r--r--www/iridium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc4
-rw-r--r--www/iridium/files/patch-components_feed_core_v2_proto__util.cc6
-rw-r--r--www/iridium/files/patch-components_feed_core_v2_proto__util__unittest.cc4
-rw-r--r--www/iridium/files/patch-components_gwp__asan_client_gwp__asan.cc4
-rw-r--r--www/iridium/files/patch-components_gwp__asan_client_gwp__asan__features.cc11
-rw-r--r--www/iridium/files/patch-components_media__router_common_media__source.cc14
-rw-r--r--www/iridium/files/patch-components_metrics_dwa_dwa__service.cc4
-rw-r--r--www/iridium/files/patch-components_metrics_metrics__log.cc10
-rw-r--r--www/iridium/files/patch-components_optimization__guide_core_optimization__guide__features.cc10
-rw-r--r--www/iridium/files/patch-components_os__crypt_sync_os__crypt.h18
-rw-r--r--www/iridium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc4
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc6
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h4
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc20
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.h11
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc4
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__form__manager.cc8
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc6
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__manager__client.h4
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc8
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h4
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc4
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database.cc6
-rw-r--r--www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc4
-rw-r--r--www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h4
-rw-r--r--www/iridium/files/patch-components_permissions_prediction__service_prediction__common.cc6
-rw-r--r--www/iridium/files/patch-components_policy_core_browser_url__blocklist__manager.cc11
-rw-r--r--www/iridium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc4
-rw-r--r--www/iridium/files/patch-components_policy_core_common_policy__loader__common.cc6
-rw-r--r--www/iridium/files/patch-components_policy_core_common_policy__pref__names.cc11
-rw-r--r--www/iridium/files/patch-components_policy_core_common_policy__pref__names.h11
-rw-r--r--www/iridium/files/patch-components_power__metrics_energy__metrics__provider.cc4
-rw-r--r--www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc11
-rw-r--r--www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc18
-rw-r--r--www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.h18
-rw-r--r--www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc4
-rw-r--r--www/iridium/files/patch-components_search__engines_template__url__service.cc4
-rw-r--r--www/iridium/files/patch-components_signin_public_base_signin__switches.cc15
-rw-r--r--www/iridium/files/patch-components_signin_public_base_signin__switches.h17
-rw-r--r--www/iridium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc4
-rw-r--r--www/iridium/files/patch-components_supervised__user_core_browser_child__account__service.cc11
-rw-r--r--www/iridium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc11
-rw-r--r--www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc8
-rw-r--r--www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc4
-rw-r--r--www/iridium/files/patch-components_supervised__user_core_common_features.cc46
-rw-r--r--www/iridium/files/patch-components_supervised__user_core_common_features.h17
-rw-r--r--www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc6
-rw-r--r--www/iridium/files/patch-components_system__cpu_cpu__probe.cc15
-rw-r--r--www/iridium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc4
-rw-r--r--www/iridium/files/patch-components_user__education_views_help__bubble__view.cc8
-rw-r--r--www/iridium/files/patch-components_variations_net_variations__command__line.cc11
-rw-r--r--www/iridium/files/patch-components_variations_service_variations__service.cc4
-rw-r--r--www/iridium/files/patch-components_viz_host_host__display__client.cc9
-rw-r--r--www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc4
-rw-r--r--www/iridium/files/patch-components_viz_service_display__embedder_software__output__surface.h6
-rw-r--r--www/iridium/files/patch-components_viz_service_display_skia__renderer.cc4
-rw-r--r--www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc6
-rw-r--r--www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h8
-rw-r--r--www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.cc20
-rw-r--r--www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.h11
-rw-r--r--www/iridium/files/patch-content_app_BUILD.gn6
-rw-r--r--www/iridium/files/patch-content_app_content__main.cc6
-rw-r--r--www/iridium/files/patch-content_app_content__main__runner__impl.cc48
-rw-r--r--www/iridium/files/patch-content_browser_BUILD.gn24
-rw-r--r--www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc4
-rw-r--r--www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc26
-rw-r--r--www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc6
-rw-r--r--www/iridium/files/patch-content_browser_browser__child__process__host__impl.h4
-rw-r--r--www/iridium/files/patch-content_browser_browser__interface__binders.cc20
-rw-r--r--www/iridium/files/patch-content_browser_browser__main__loop.cc8
-rw-r--r--www/iridium/files/patch-content_browser_browser__url__handler__impl.cc6
-rw-r--r--www/iridium/files/patch-content_browser_child__process__launcher__helper.h11
-rw-r--r--www/iridium/files/patch-content_browser_child__process__launcher__helper__linux.cc4
-rw-r--r--www/iridium/files/patch-content_browser_child__thread__type__switcher__linux.cc16
-rw-r--r--www/iridium/files/patch-content_browser_compositor_viz__process__transport__factory.cc4
-rw-r--r--www/iridium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc10
-rw-r--r--www/iridium/files/patch-content_browser_gpu_compositor__util.cc6
-rw-r--r--www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl.h6
-rw-r--r--www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc6
-rw-r--r--www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h6
-rw-r--r--www/iridium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc20
-rw-r--r--www/iridium/files/patch-content_browser_network__service__instance__impl.cc8
-rw-r--r--www/iridium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc20
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_delegated__frame__host.cc4
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc6
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_pepper_pepper__file__io__host.cc20
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc16
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h16
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc17
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc4
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc12
-rw-r--r--www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc4
-rw-r--r--www/iridium/files/patch-content_browser_service__host_utility__process__host.cc28
-rw-r--r--www/iridium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc35
-rw-r--r--www/iridium/files/patch-content_browser_v8__snapshot__files.cc4
-rw-r--r--www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura.cc8
-rw-r--r--www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc18
-rw-r--r--www/iridium/files/patch-content_child_child__process.cc6
-rw-r--r--www/iridium/files/patch-content_common_BUILD.gn4
-rw-r--r--www/iridium/files/patch-content_common_features.cc4
-rw-r--r--www/iridium/files/patch-content_common_features.h6
-rw-r--r--www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc6
-rw-r--r--www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h16
-rw-r--r--www/iridium/files/patch-content_gpu_gpu__child__thread.cc6
-rw-r--r--www/iridium/files/patch-content_gpu_gpu__main.cc18
-rw-r--r--www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc29
-rw-r--r--www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h11
-rw-r--r--www/iridium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc23
-rw-r--r--www/iridium/files/patch-content_public_common_content__features.cc12
-rw-r--r--www/iridium/files/patch-content_public_common_content__switches.cc6
-rw-r--r--www/iridium/files/patch-content_public_common_content__switches.h4
-rw-r--r--www/iridium/files/patch-content_renderer_render__thread__impl.cc10
-rw-r--r--www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.cc8
-rw-r--r--www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h4
-rw-r--r--www/iridium/files/patch-content_shell_BUILD.gn4
-rw-r--r--www/iridium/files/patch-content_shell_app_shell__main__delegate.cc4
-rw-r--r--www/iridium/files/patch-content_shell_browser_shell__paths.cc20
-rw-r--r--www/iridium/files/patch-content_shell_renderer_shell__content__renderer__client.cc4
-rw-r--r--www/iridium/files/patch-content_shell_utility_shell__content__utility__client.cc4
-rw-r--r--www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc84
-rw-r--r--www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h22
-rw-r--r--www/iridium/files/patch-content_utility_services.cc70
-rw-r--r--www/iridium/files/patch-content_utility_utility__main.cc62
-rw-r--r--www/iridium/files/patch-content_zygote_BUILD.gn6
-rw-r--r--www/iridium/files/patch-device_bluetooth_bluetooth__adapter.cc4
-rw-r--r--www/iridium/files/patch-device_bluetooth_cast__bluetooth.gni4
-rw-r--r--www/iridium/files/patch-device_gamepad_gamepad__provider.cc4
-rw-r--r--www/iridium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc4
-rw-r--r--www/iridium/files/patch-extensions_browser_api_messaging_message__service.cc14
-rw-r--r--www/iridium/files/patch-extensions_common_api___permission__features.json178
-rw-r--r--www/iridium/files/patch-extensions_common_command.cc8
-rw-r--r--www/iridium/files/patch-extensions_common_features_feature.cc8
-rw-r--r--www/iridium/files/patch-extensions_shell_app_shell__main__delegate.cc6
-rw-r--r--www/iridium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc4
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc20
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h11
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc4
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc4
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc8
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h6
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc6
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc4
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc10
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc4
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc8
-rw-r--r--www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc20
-rw-r--r--www/iridium/files/patch-gpu_config_gpu__control__list.cc4
-rw-r--r--www/iridium/files/patch-gpu_config_gpu__finch__features.cc4
-rw-r--r--www/iridium/files/patch-gpu_config_gpu__info__collector.cc4
-rw-r--r--www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc20
-rw-r--r--www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h11
-rw-r--r--www/iridium/files/patch-gpu_ipc_service_gpu__init.cc20
-rw-r--r--www/iridium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc4
-rw-r--r--www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.h4
-rw-r--r--www/iridium/files/patch-gpu_vulkan_vulkan__image.h6
-rw-r--r--www/iridium/files/patch-gpu_vulkan_vulkan__util.cc4
-rw-r--r--www/iridium/files/patch-headless_BUILD.gn4
-rw-r--r--www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.cc6
-rw-r--r--www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.h4
-rw-r--r--www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc4
-rw-r--r--www/iridium/files/patch-ipc_ipc__channel.h6
-rw-r--r--www/iridium/files/patch-ipc_ipc__channel__mojo.cc4
-rw-r--r--www/iridium/files/patch-ipc_ipc__message__utils.h4
-rw-r--r--www/iridium/files/patch-media_BUILD.gn4
-rw-r--r--www/iridium/files/patch-media_audio_BUILD.gn4
-rw-r--r--www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc20
-rw-r--r--www/iridium/files/patch-media_audio_audio__input__device.cc4
-rw-r--r--www/iridium/files/patch-media_audio_pulse_pulse__util.cc4
-rw-r--r--www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.cc8
-rw-r--r--www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.h4
-rw-r--r--www/iridium/files/patch-media_audio_sndio_sndio__input.cc5
-rw-r--r--www/iridium/files/patch-media_audio_sndio_sndio__output.cc5
-rw-r--r--www/iridium/files/patch-media_base_audio__latency.cc4
-rw-r--r--www/iridium/files/patch-media_base_media__switches.cc29
-rw-r--r--www/iridium/files/patch-media_base_media__switches.h12
-rw-r--r--www/iridium/files/patch-media_base_video__frame.cc20
-rw-r--r--www/iridium/files/patch-media_base_video__frame.h14
-rw-r--r--www/iridium/files/patch-media_capture_video_create__video__capture__device__factory.cc6
-rw-r--r--www/iridium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc4
-rw-r--r--www/iridium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc30
-rw-r--r--www/iridium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc14
-rw-r--r--www/iridium/files/patch-media_capture_video_video__capture__device__client.cc4
-rw-r--r--www/iridium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py6
-rw-r--r--www/iridium/files/patch-media_ffmpeg_scripts_robo__lib_config.py6
-rw-r--r--www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc10
-rw-r--r--www/iridium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc6
-rw-r--r--www/iridium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc6
-rw-r--r--www/iridium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc8
-rw-r--r--www/iridium/files/patch-media_gpu_test_video__frame__helpers.cc4
-rw-r--r--www/iridium/files/patch-media_gpu_test_video__frame__validator.cc6
-rw-r--r--www/iridium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc4
-rw-r--r--www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc4
-rw-r--r--www/iridium/files/patch-media_media__options.gni4
-rw-r--r--www/iridium/files/patch-media_mojo_mojom_BUILD.gn4
-rw-r--r--www/iridium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc10
-rw-r--r--www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc29
-rw-r--r--www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h11
-rw-r--r--www/iridium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc14
-rw-r--r--www/iridium/files/patch-media_video_video__encode__accelerator__adapter.cc4
-rw-r--r--www/iridium/files/patch-media_webrtc_audio__processor.cc4
-rw-r--r--www/iridium/files/patch-media_webrtc_helpers__unittests.cc10
-rw-r--r--www/iridium/files/patch-mojo_core_BUILD.gn12
-rw-r--r--www/iridium/files/patch-mojo_core_channel.cc13
-rw-r--r--www/iridium/files/patch-mojo_core_embedder_features.h8
-rw-r--r--www/iridium/files/patch-mojo_public_tools_bindings_mojom.gni4
-rw-r--r--www/iridium/files/patch-net_BUILD.gn24
-rw-r--r--www/iridium/files/patch-net_base_features.cc13
-rw-r--r--www/iridium/files/patch-net_base_sockaddr__util__posix.cc4
-rw-r--r--www/iridium/files/patch-net_disk__cache_backend__experiment.h4
-rw-r--r--www/iridium/files/patch-net_disk__cache_simple_simple__file__tracker.cc4
-rw-r--r--www/iridium/files/patch-net_dns_BUILD.gn16
-rw-r--r--www/iridium/files/patch-net_dns_address__info.cc4
-rw-r--r--www/iridium/files/patch-net_dns_address__sorter__posix.cc4
-rw-r--r--www/iridium/files/patch-net_dns_public_resolv__reader.cc11
-rw-r--r--www/iridium/files/patch-net_http_http__network__session.cc4
-rw-r--r--www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc4
-rw-r--r--www/iridium/files/patch-net_quic_quic__network__transaction__unittest.cc28
-rw-r--r--www/iridium/files/patch-net_socket_udp__socket__posix.cc6
-rw-r--r--www/iridium/files/patch-net_socket_udp__socket__unittest.cc12
-rw-r--r--www/iridium/files/patch-net_url__request_url__request__context.cc4
-rw-r--r--www/iridium/files/patch-net_url__request_url__request__context__builder.cc4
-rw-r--r--www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc6
-rw-r--r--www/iridium/files/patch-printing_backend_cups__helper.cc52
-rw-r--r--www/iridium/files/patch-printing_backend_cups__helper.h11
-rw-r--r--www/iridium/files/patch-printing_backend_cups__ipp__helper.cc4
-rw-r--r--www/iridium/files/patch-printing_backend_cups__jobs.cc11
-rw-r--r--www/iridium/files/patch-printing_backend_cups__printer.cc11
-rw-r--r--www/iridium/files/patch-printing_backend_cups__weak__functions.h11
-rw-r--r--www/iridium/files/patch-printing_backend_print__backend__cups.cc29
-rw-r--r--www/iridium/files/patch-printing_backend_print__backend__cups.h11
-rw-r--r--www/iridium/files/patch-printing_backend_print__backend__cups__ipp.cc11
-rw-r--r--www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc6
-rw-r--r--www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc16
-rw-r--r--www/iridium/files/patch-printing_print__settings.h10
-rw-r--r--www/iridium/files/patch-printing_printing__features.cc16
-rw-r--r--www/iridium/files/patch-printing_printing__features.h8
-rw-r--r--www/iridium/files/patch-remoting_base_chromoting__event.cc11
-rw-r--r--www/iridium/files/patch-remoting_host_chromoting__host.cc4
-rw-r--r--www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc4
-rw-r--r--www/iridium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc20
-rw-r--r--www/iridium/files/patch-remoting_host_host__main.cc12
-rw-r--r--www/iridium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc30
-rw-r--r--www/iridium/files/patch-remoting_host_me2me__desktop__environment.cc10
-rw-r--r--www/iridium/files/patch-remoting_host_policy__watcher.cc4
-rw-r--r--www/iridium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc20
-rw-r--r--www/iridium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc4
-rw-r--r--www/iridium/files/patch-remoting_host_remoting__me2me__host.cc41
-rw-r--r--www/iridium/files/patch-remoting_host_security__key_remote__security__key__main.cc20
-rw-r--r--www/iridium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc20
-rw-r--r--www/iridium/files/patch-remoting_host_setup_start__host__main.cc19
-rw-r--r--www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc6
-rw-r--r--www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc20
-rw-r--r--www/iridium/files/patch-remoting_protocol_webrtc__video__stream.cc4
-rw-r--r--www/iridium/files/patch-sandbox_linux_BUILD.gn6
-rw-r--r--www/iridium/files/patch-sandbox_linux_services_init__process__reaper.cc10
-rw-r--r--www/iridium/files/patch-sandbox_policy_BUILD.gn6
-rw-r--r--www/iridium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc5
-rw-r--r--www/iridium/files/patch-sandbox_policy_mojom_sandbox.mojom4
-rw-r--r--www/iridium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc21
-rw-r--r--www/iridium/files/patch-sandbox_policy_sandbox.cc4
-rw-r--r--www/iridium/files/patch-sandbox_policy_sandbox__type.cc75
-rw-r--r--www/iridium/files/patch-sandbox_policy_switches.cc4
-rw-r--r--www/iridium/files/patch-sandbox_policy_switches.h4
-rw-r--r--www/iridium/files/patch-services_device_public_cpp_device__features.cc14
-rw-r--r--www/iridium/files/patch-services_device_public_mojom_BUILD.gn4
-rw-r--r--www/iridium/files/patch-services_device_serial_serial__device__enumerator.cc6
-rw-r--r--www/iridium/files/patch-services_device_serial_serial__io__handler__posix.cc4
-rw-r--r--www/iridium/files/patch-services_device_usb_usb__device__handle__usbfs.cc21
-rw-r--r--www/iridium/files/patch-services_device_usb_usb__service.cc6
-rw-r--r--www/iridium/files/patch-services_device_usb_usb__service__fake.cc5
-rw-r--r--www/iridium/files/patch-services_network_BUILD.gn8
-rw-r--r--www/iridium/files/patch-services_network_network__context.cc6
-rw-r--r--www/iridium/files/patch-services_network_network__context.h4
-rw-r--r--www/iridium/files/patch-services_network_network__service.cc8
-rw-r--r--www/iridium/files/patch-services_network_network__service.h4
-rw-r--r--www/iridium/files/patch-services_network_public_cpp_BUILD.gn4
-rw-r--r--www/iridium/files/patch-services_network_public_cpp_features.cc6
-rw-r--r--www/iridium/files/patch-services_network_public_mojom_BUILD.gn15
-rw-r--r--www/iridium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h4
-rw-r--r--www/iridium/files/patch-services_on__device__model_on__device__model__service.h22
-rw-r--r--www/iridium/files/patch-services_on__device__model_pre__sandbox__init.cc38
-rw-r--r--www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc16
-rw-r--r--www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc6
-rw-r--r--www/iridium/files/patch-services_screen__ai_public_cpp_utilities.cc12
-rw-r--r--www/iridium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc6
-rw-r--r--www/iridium/files/patch-services_screen__ai_screen__ai__service__impl.cc20
-rw-r--r--www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc13
-rw-r--r--www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h16
-rw-r--r--www/iridium/files/patch-services_shape__detection_shape__detection__service.cc20
-rw-r--r--www/iridium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc11
-rw-r--r--www/iridium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc37
-rw-r--r--www/iridium/files/patch-services_viz_public_mojom_BUILD.gn4
-rw-r--r--www/iridium/files/patch-skia_ext_font__utils.cc10
-rw-r--r--www/iridium/files/patch-third__party_angle_BUILD.gn8
-rw-r--r--www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp14
-rw-r--r--www/iridium/files/patch-third__party_angle_util_BUILD.gn4
-rw-r--r--www/iridium/files/patch-third__party_blink_common_features.cc11
-rw-r--r--www/iridium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h4
-rw-r--r--www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h4
-rw-r--r--www/iridium/files/patch-third__party_blink_public_platform_platform.h4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc6
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc6
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc6
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h16
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc6
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc4
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json579
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc8
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h6
-rw-r--r--www/iridium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc12
-rw-r--r--www/iridium/files/patch-third__party_cpuinfo_cpuinfo.gni6
-rw-r--r--www/iridium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn4
-rw-r--r--www/iridium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h9
-rw-r--r--www/iridium/files/patch-third__party_ffmpeg_configure4
-rw-r--r--www/iridium/files/patch-third__party_fontconfig_include_config.h49
-rw-r--r--www/iridium/files/patch-third__party_fontconfig_include_meson-config.h44
-rw-r--r--www/iridium/files/patch-third__party_fontconfig_src_src_fccompat.c8
-rw-r--r--www/iridium/files/patch-third__party_ipcz_src_reference__drivers_random.cc6
-rw-r--r--www/iridium/files/patch-third__party_leveldatabase_env__chromium.cc4
-rw-r--r--www/iridium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp4
-rw-r--r--www/iridium/files/patch-third__party_node_check__version.py14
-rw-r--r--www/iridium/files/patch-third__party_node_node.gni20
-rw-r--r--www/iridium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp13
-rw-r--r--www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp6
-rw-r--r--www/iridium/files/patch-third__party_perfetto_src_base_event__fd.cc6
-rw-r--r--www/iridium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc26
-rw-r--r--www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc4
-rw-r--r--www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc4
-rw-r--r--www/iridium/files/patch-third__party_perfetto_src_base_utils.cc6
-rw-r--r--www/iridium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc14
-rw-r--r--www/iridium/files/patch-third__party_protobuf_proto__library.gni19
-rw-r--r--www/iridium/files/patch-third__party_rust_qr__code_v2_BUILD.gn13
-rw-r--r--www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h4
-rw-r--r--www/iridium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c4
-rw-r--r--www/iridium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c8
-rw-r--r--www/iridium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn4
-rw-r--r--www/iridium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc6
-rw-r--r--www/iridium/files/patch-third__party_webrtc_BUILD.gn4
-rw-r--r--www/iridium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn4
-rw-r--r--www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc12
-rw-r--r--www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc4
-rw-r--r--www/iridium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h12
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_byte__order.h4
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc24
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_ip__address.cc10
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc8
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc6
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc42
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h4
-rw-r--r--www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc17
-rw-r--r--www/iridium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn11
-rw-r--r--www/iridium/files/patch-third__party_zlib_BUILD.gn8
-rw-r--r--www/iridium/files/patch-tools_gn_build_gen.py4
-rw-r--r--www/iridium/files/patch-tools_grit_grit_node_base.py4
-rw-r--r--www/iridium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py6
-rw-r--r--www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py4
-rw-r--r--www/iridium/files/patch-ui_accessibility_accessibility__features.cc19
-rw-r--r--www/iridium/files/patch-ui_accessibility_accessibility__features.h19
-rw-r--r--www/iridium/files/patch-ui_accessibility_ax__node.cc18
-rw-r--r--www/iridium/files/patch-ui_accessibility_ax__node.h10
-rw-r--r--www/iridium/files/patch-ui_accessibility_ax__tree.cc46
-rw-r--r--www/iridium/files/patch-ui_accessibility_ax__tree.h22
-rw-r--r--www/iridium/files/patch-ui_base_accelerators_accelerator.cc4
-rw-r--r--www/iridium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc12
-rw-r--r--www/iridium/files/patch-ui_base_cursor_cursor__factory.cc4
-rw-r--r--www/iridium/files/patch-ui_base_resource_resource__bundle.cc4
-rw-r--r--www/iridium/files/patch-ui_base_test_skia__gold__pixel__diff.cc4
-rw-r--r--www/iridium/files/patch-ui_base_ui__base__features.cc17
-rw-r--r--www/iridium/files/patch-ui_base_ui__base__features.h11
-rw-r--r--www/iridium/files/patch-ui_base_ui__base__switches.cc4
-rw-r--r--www/iridium/files/patch-ui_base_ui__base__switches.h6
-rw-r--r--www/iridium/files/patch-ui_base_webui_web__ui__util.cc6
-rw-r--r--www/iridium/files/patch-ui_color_color__id.h4
-rw-r--r--www/iridium/files/patch-ui_compositor_compositor.cc4
-rw-r--r--www/iridium/files/patch-ui_compositor_compositor.h4
-rw-r--r--www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc10
-rw-r--r--www/iridium/files/patch-ui_events_event.cc10
-rw-r--r--www/iridium/files/patch-ui_gfx_BUILD.gn4
-rw-r--r--www/iridium/files/patch-ui_gfx_font__fallback__linux.cc4
-rw-r--r--www/iridium/files/patch-ui_gfx_font__render__params__linux.cc4
-rw-r--r--www/iridium/files/patch-ui_gfx_gpu__extra__info.h11
-rw-r--r--www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc11
-rw-r--r--www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h29
-rw-r--r--www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc14
-rw-r--r--www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h14
-rw-r--r--www/iridium/files/patch-ui_gfx_platform__font__skia.cc4
-rw-r--r--www/iridium/files/patch-ui_gfx_switches.cc8
-rw-r--r--www/iridium/files/patch-ui_gfx_switches.h6
-rw-r--r--www/iridium/files/patch-ui_gl_BUILD.gn26
-rw-r--r--www/iridium/files/patch-ui_gl_gl__context.cc13
-rw-r--r--www/iridium/files/patch-ui_gl_gl__fence.cc4
-rw-r--r--www/iridium/files/patch-ui_gl_gl__implementation.cc4
-rw-r--r--www/iridium/files/patch-ui_gl_gl__switches.cc24
-rw-r--r--www/iridium/files/patch-ui_gtk_gtk__compat.cc4
-rw-r--r--www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc4
-rw-r--r--www/iridium/files/patch-ui_message__center_views_message__popup__view.cc4
-rw-r--r--www/iridium/files/patch-ui_native__theme_features_native__theme__features.cc6
-rw-r--r--www/iridium/files/patch-ui_native__theme_native__theme__base.cc4
-rw-r--r--www/iridium/files/patch-ui_ozone_common_egl__util.cc6
-rw-r--r--www/iridium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc10
-rw-r--r--www/iridium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc6
-rw-r--r--www/iridium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc4
-rw-r--r--www/iridium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc4
-rw-r--r--www/iridium/files/patch-ui_ozone_platform_x11_x11__window.cc4
-rw-r--r--www/iridium/files/patch-ui_views_BUILD.gn8
-rw-r--r--www/iridium/files/patch-ui_views_controls_prefix__selector.cc4
-rw-r--r--www/iridium/files/patch-ui_views_controls_textfield_textfield.cc12
-rw-r--r--www/iridium/files/patch-ui_views_controls_textfield_textfield.h4
-rw-r--r--www/iridium/files/patch-ui_views_corewm_tooltip__aura.cc11
-rw-r--r--www/iridium/files/patch-ui_views_views__delegate.cc4
-rw-r--r--www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc8
-rw-r--r--www/iridium/files/patch-ui_views_widget_widget.cc6
-rw-r--r--www/iridium/files/patch-ui_views_widget_widget.h4
-rw-r--r--www/iridium/files/patch-ui_views_window_custom__frame__view.cc11
-rw-r--r--www/iridium/files/patch-ui_views_window_default__frame__view.cc11
-rw-r--r--www/iridium/files/patch-ui_views_window_dialog__delegate.cc4
-rw-r--r--www/iridium/files/patch-v8_BUILD.gn14
-rw-r--r--www/iridium/files/patch-v8_include_v8config.h14
-rw-r--r--www/iridium/files/patch-v8_src_api_api.cc6
-rw-r--r--www/iridium/files/patch-v8_src_base_platform_platform-posix.cc12
-rw-r--r--www/iridium/files/patch-v8_src_execution_isolate.cc6
-rw-r--r--www/iridium/files/patch-v8_src_flags_flags.cc6
-rw-r--r--www/iridium/files/patch-v8_src_libsampler_sampler.cc4
-rw-r--r--www/iridium/files/patch-v8_src_trap-handler_handler-inside-posix.cc6
-rw-r--r--www/iridium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h128
-rw-r--r--www/iridium/pkg-plist338
-rw-r--r--www/katana/Makefile3
-rw-r--r--www/katana/distinfo10
-rw-r--r--www/libnghttp2/Makefile2
-rw-r--r--www/libnghttp2/distinfo6
-rw-r--r--www/libnghttp2/files/patch-Makefile.in6
-rw-r--r--www/libnghttp2/pkg-plist2
-rw-r--r--www/librewolf/Makefile5
-rw-r--r--www/librewolf/distinfo6
-rw-r--r--www/librewolf/files/patch-bug187405925
-rw-r--r--www/librewolf/files/patch-bug187663235
-rw-r--r--www/librewolf/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build18
-rw-r--r--www/librewolf/files/patch-libwebrtc-generated8694
-rw-r--r--www/lighttpd/Makefile2
-rw-r--r--www/lighttpd/distinfo6
-rw-r--r--www/linux-freetube/Makefile2
-rw-r--r--www/linux-freetube/distinfo6
-rw-r--r--www/minio/Makefile5
-rw-r--r--www/minio/distinfo10
-rw-r--r--www/miniserve/Makefile8
-rw-r--r--www/miniserve/Makefile.crates269
-rw-r--r--www/miniserve/distinfo544
-rw-r--r--www/mod_wsgi/Makefile30
-rw-r--r--www/mod_wsgi/distinfo3
-rw-r--r--www/mod_wsgi/files/270_mod_wsgi.conf.sample.in (renamed from www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in)0
-rw-r--r--www/mod_wsgi/pkg-descr2
-rw-r--r--www/mod_wsgi/pkg-plist (renamed from www/mod_wsgi4/pkg-plist)0
-rw-r--r--www/mod_wsgi4/Makefile38
-rw-r--r--www/mod_wsgi4/distinfo3
-rw-r--r--www/mod_wsgi4/files/pkg-message.in11
-rw-r--r--www/mod_wsgi4/pkg-descr5
-rw-r--r--www/nextcloud-calendar/Makefile2
-rw-r--r--www/nextcloud-calendar/distinfo6
-rw-r--r--www/nextcloud-contacts/Makefile2
-rw-r--r--www/nextcloud-contacts/distinfo6
-rw-r--r--www/nextcloud/Makefile2
-rw-r--r--www/nextcloud/distinfo6
-rw-r--r--www/nghttp2/Makefile3
-rw-r--r--www/nghttp2/distinfo6
-rw-r--r--www/node20/Makefile1
-rw-r--r--www/node22/Makefile1
-rw-r--r--www/node22/Makefile.version2
-rw-r--r--www/node22/distinfo6
-rw-r--r--www/node24/Makefile1
-rw-r--r--www/node24/Makefile.version2
-rw-r--r--www/node24/distinfo6
-rw-r--r--www/node24/files/patch-common.gypi20
-rw-r--r--www/onlyoffice-documentserver/Makefile9
-rw-r--r--www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri4
-rw-r--r--www/otter-browser/Makefile18
-rw-r--r--www/p5-CGI-Simple/Makefile2
-rw-r--r--www/p5-CGI-Simple/distinfo6
-rw-r--r--www/p5-Dancer2/Makefile5
-rw-r--r--www/p5-Dancer2/distinfo6
-rw-r--r--www/p5-Dancer2/pkg-plist110
-rw-r--r--www/phpmyfaq/Makefile2
-rw-r--r--www/phpmyfaq/distinfo6
-rw-r--r--www/phpmyfaq/pkg-plist4
-rw-r--r--www/plasma6-plasma-browser-integration/distinfo6
-rw-r--r--www/py-adblock/Makefile2
-rw-r--r--www/py-beautifulsoup/Makefile4
-rw-r--r--www/py-boto3/Makefile4
-rw-r--r--www/py-boto3/distinfo6
-rw-r--r--www/py-caldav/Makefile4
-rw-r--r--www/py-calibreweb/Makefile3
-rw-r--r--www/py-channels/Makefile2
-rw-r--r--www/py-channels/distinfo6
-rw-r--r--www/py-cinemagoer/Makefile4
-rw-r--r--www/py-dash/Makefile2
-rw-r--r--www/py-dash/distinfo6
-rw-r--r--www/py-dj51-channels/Makefile2
-rw-r--r--www/py-dj51-channels/distinfo6
-rw-r--r--www/py-dj52-channels/Makefile2
-rw-r--r--www/py-dj52-channels/distinfo6
-rw-r--r--www/py-dj52-django-stubs-ext/Makefile2
-rw-r--r--www/py-dj52-django-stubs-ext/distinfo6
-rw-r--r--www/py-django-q2/Makefile21
-rw-r--r--www/py-django-q2/distinfo3
-rw-r--r--www/py-django-q2/pkg-descr6
-rw-r--r--www/py-django-unfold/Makefile2
-rw-r--r--www/py-django-unfold/distinfo6
-rw-r--r--www/py-django_compressor/Makefile4
-rw-r--r--www/py-fastapi-sso/Makefile41
-rw-r--r--www/py-fastapi-sso/distinfo3
-rw-r--r--www/py-fastapi-sso/pkg-descr7
-rw-r--r--www/py-feedgen/Makefile4
-rw-r--r--www/py-feedgenerator/Makefile5
-rw-r--r--www/py-feedgenerator/distinfo6
-rw-r--r--www/py-flask-limiter/Makefile2
-rw-r--r--www/py-flask-limiter/distinfo6
-rw-r--r--www/py-free-proxy/Makefile4
-rw-r--r--www/py-google-api-python-client/Makefile2
-rw-r--r--www/py-google-api-python-client/distinfo6
-rw-r--r--www/py-google-cloud-compute/Makefile2
-rw-r--r--www/py-google-cloud-compute/distinfo6
-rw-r--r--www/py-google-cloud-storage/Makefile2
-rw-r--r--www/py-google-cloud-storage/distinfo6
-rw-r--r--www/py-html5-parser/Makefile4
-rw-r--r--www/py-html5lib-modern/Makefile4
-rw-r--r--www/py-htmldate/Makefile4
-rw-r--r--www/py-httpx_gssapi/Makefile3
-rw-r--r--www/py-httpx_gssapi/Makefile.new21
-rw-r--r--www/py-httpx_gssapi/distinfo6
-rw-r--r--www/py-hyperkitty/Makefile40
-rw-r--r--www/py-hyperkitty/distinfo3
-rw-r--r--www/py-hyperkitty/pkg-descr2
-rw-r--r--www/py-inlinestyler/Makefile4
-rw-r--r--www/py-mailman-hyperkitty/Makefile20
-rw-r--r--www/py-mailman-hyperkitty/distinfo3
-rw-r--r--www/py-mailman-hyperkitty/pkg-descr4
-rw-r--r--www/py-mechanicalsoup/Makefile4
-rw-r--r--www/py-nikola/Makefile72
-rw-r--r--www/py-nikola/distinfo3
-rw-r--r--www/py-nikola/files/patch-pyproject.toml20
-rw-r--r--www/py-nikola/pkg-descr2
-rw-r--r--www/py-niquests/Makefile2
-rw-r--r--www/py-niquests/distinfo6
-rw-r--r--www/py-notebook/Makefile7
-rw-r--r--www/py-notebook/distinfo6
-rw-r--r--www/py-pelican/Makefile4
-rw-r--r--www/py-planet-auth/Makefile31
-rw-r--r--www/py-planet-auth/distinfo3
-rw-r--r--www/py-planet-auth/files/patch-pyproject.toml23
-rw-r--r--www/py-planet-auth/pkg-descr7
-rw-r--r--www/py-planet/Makefile3
-rw-r--r--www/py-planet/distinfo6
-rw-r--r--www/py-quilt3/Makefile2
-rw-r--r--www/py-quilt3/distinfo6
-rw-r--r--www/py-readability-lxml/Makefile3
-rw-r--r--www/py-requests/Makefile2
-rw-r--r--www/py-requests/distinfo6
-rw-r--r--www/py-robot-detection/Makefile18
-rw-r--r--www/py-robot-detection/distinfo3
-rw-r--r--www/py-robot-detection/pkg-descr2
-rw-r--r--www/py-robot-detection/pkg-message14
-rw-r--r--www/py-scrapy/Makefile3
-rw-r--r--www/py-seafdav/Makefile4
-rw-r--r--www/py-searxng-devel/Makefile5
-rw-r--r--www/py-soupsieve/Makefile3
-rw-r--r--www/py-splinter/Makefile4
-rw-r--r--www/py-spyne/Makefile4
-rw-r--r--www/py-starlette/Makefile4
-rw-r--r--www/py-starlette/distinfo6
-rw-r--r--www/py-ticketutil/Makefile2
-rw-r--r--www/py-ticketutil/distinfo6
-rw-r--r--www/py-urlwatch/Makefile4
-rw-r--r--www/py-user_agent/Makefile8
-rw-r--r--www/py-user_agent/distinfo6
-rw-r--r--www/py-user_agent/pkg-descr6
-rw-r--r--www/py-wagtail-transfer/Makefile3
-rw-r--r--www/py-wagtail-transfer/distinfo6
-rw-r--r--www/py-wagtail/Makefile5
-rw-r--r--www/py-wagtail/distinfo6
-rw-r--r--www/py-woob/Makefile6
-rw-r--r--www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc18
-rw-r--r--www/redmine60/Makefile2
-rw-r--r--www/redmine60/files/patch-Gemfile9
-rw-r--r--www/rt60/Makefile1
-rw-r--r--www/rt60/Makefile.cpan8
-rw-r--r--www/rubygem-actioncable71/Makefile2
-rw-r--r--www/rubygem-actioncable71/distinfo6
-rw-r--r--www/rubygem-actioncable72/Makefile2
-rw-r--r--www/rubygem-actioncable72/distinfo6
-rw-r--r--www/rubygem-actioncable80/Makefile2
-rw-r--r--www/rubygem-actioncable80/distinfo6
-rw-r--r--www/rubygem-actionpack71/Makefile2
-rw-r--r--www/rubygem-actionpack71/distinfo6
-rw-r--r--www/rubygem-actionpack72/Makefile2
-rw-r--r--www/rubygem-actionpack72/distinfo6
-rw-r--r--www/rubygem-actionpack80/Makefile2
-rw-r--r--www/rubygem-actionpack80/distinfo6
-rw-r--r--www/rubygem-async-http/Makefile4
-rw-r--r--www/rubygem-async-http/distinfo6
-rw-r--r--www/rubygem-ethon/Makefile2
-rw-r--r--www/rubygem-ethon/distinfo6
-rw-r--r--www/rubygem-feedjira/Makefile5
-rw-r--r--www/rubygem-feedjira/distinfo6
-rw-r--r--www/rubygem-importmap-rails-rails70/Makefile2
-rw-r--r--www/rubygem-importmap-rails-rails70/distinfo6
-rw-r--r--www/rubygem-importmap-rails-rails71/Makefile2
-rw-r--r--www/rubygem-importmap-rails-rails71/distinfo6
-rw-r--r--www/rubygem-importmap-rails-rails72/Makefile2
-rw-r--r--www/rubygem-importmap-rails-rails72/distinfo6
-rw-r--r--www/rubygem-importmap-rails/Makefile2
-rw-r--r--www/rubygem-importmap-rails/distinfo6
-rw-r--r--www/rubygem-json-jwt/Makefile2
-rw-r--r--www/rubygem-json-jwt/distinfo6
-rw-r--r--www/rubygem-jwt29/Makefile22
-rw-r--r--www/rubygem-jwt29/distinfo3
-rw-r--r--www/rubygem-jwt29/pkg-descr3
-rw-r--r--www/rubygem-protocol-http/Makefile2
-rw-r--r--www/rubygem-protocol-http/distinfo6
-rw-r--r--www/rubygem-protocol-http1/Makefile2
-rw-r--r--www/rubygem-protocol-http1/distinfo6
-rw-r--r--www/rubygem-protocol-rack/Makefile2
-rw-r--r--www/rubygem-protocol-rack/distinfo6
-rw-r--r--www/rubygem-rackup21/Makefile3
-rw-r--r--www/rubygem-rails71/Makefile2
-rw-r--r--www/rubygem-rails71/distinfo6
-rw-r--r--www/rubygem-rails72/Makefile3
-rw-r--r--www/rubygem-rails72/distinfo6
-rw-r--r--www/rubygem-rails80/Makefile2
-rw-r--r--www/rubygem-rails80/distinfo6
-rw-r--r--www/rubygem-railties71/Makefile2
-rw-r--r--www/rubygem-railties71/distinfo6
-rw-r--r--www/rubygem-railties72/Makefile2
-rw-r--r--www/rubygem-railties72/distinfo6
-rw-r--r--www/rubygem-railties80/Makefile2
-rw-r--r--www/rubygem-railties80/distinfo6
-rw-r--r--www/rubygem-roda/Makefile2
-rw-r--r--www/rubygem-roda/distinfo6
-rw-r--r--www/rubygem-ruby-openai/Makefile2
-rw-r--r--www/rubygem-ruby-openai/distinfo6
-rw-r--r--www/rubygem-selenium-webdriver/Makefile4
-rw-r--r--www/rubygem-selenium-webdriver/distinfo6
-rw-r--r--www/rubygem-thruster/Makefile2
-rw-r--r--www/rubygem-thruster/distinfo6
-rw-r--r--www/smarty/Makefile2
-rw-r--r--www/smarty/distinfo6
-rw-r--r--www/smarty4/Makefile2
-rw-r--r--www/smarty4/distinfo6
-rw-r--r--www/tdiary/Makefile18
-rw-r--r--www/tdiary/distinfo6
-rw-r--r--www/tdiary/files/patch-Gemfile19
-rw-r--r--www/tdiary/pkg-plist3
-rw-r--r--www/threejs/Makefile2
-rw-r--r--www/threejs/distinfo6
-rw-r--r--www/threejs/pkg-plist5
-rw-r--r--www/tinymce/Makefile2
-rw-r--r--www/tinymce/distinfo6
-rw-r--r--www/tomcat101/Makefile2
-rw-r--r--www/tomcat101/distinfo6
-rw-r--r--www/ungoogled-chromium/Makefile4
-rw-r--r--www/ungoogled-chromium/distinfo14
-rw-r--r--www/ungoogled-chromium/files/patch-BUILD.gn22
-rw-r--r--www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_BUILD.gn30
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni17
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h6
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h10
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h6
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h10
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h11
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_atomicops.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_compiler__specific.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_debug_debugger__posix.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h26
-rw-r--r--www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_posix_unix__domain__socket.cc22
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_internal__linux.h6
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_launch.h4
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_launch__posix.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_process__metrics.cc21
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_process__metrics.h10
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_process__metrics__freebsd.cc66
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_process__metrics__openbsd.cc65
-rw-r--r--www/ungoogled-chromium/files/patch-base_process_process__posix.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-base_rand__util__posix.cc28
-rw-r--r--www/ungoogled-chromium/files/patch-base_system_sys__info.h6
-rw-r--r--www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc22
-rw-r--r--www/ungoogled-chromium/files/patch-base_test_test__file__util__linux.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_threading_platform__thread__internal__posix.cc24
-rw-r--r--www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.h20
-rw-r--r--www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc87
-rw-r--r--www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc13
-rw-r--r--www/ungoogled-chromium/files/patch-base_time_time__now__posix.cc21
-rw-r--r--www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-base_trace__event_process__memory__dump.cc15
-rw-r--r--www/ungoogled-chromium/files/patch-build_config_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-build_config_BUILDCONFIG.gn18
-rw-r--r--www/ungoogled-chromium/files/patch-build_config_clang_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn112
-rw-r--r--www/ungoogled-chromium/files/patch-build_config_rust.gni10
-rw-r--r--www/ungoogled-chromium/files/patch-build_linux_strip__binary.py10
-rw-r--r--www/ungoogled-chromium/files/patch-build_nocompile.gni11
-rw-r--r--www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs26
-rw-r--r--www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni6
-rw-r--r--www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni4
-rw-r--r--www/ungoogled-chromium/files/patch-cc_base_features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_app_chrome__main__delegate.cc58
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_app_settings__strings.grdp16
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc238
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_browser__features.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_browser__features.h6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.cc16
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.h11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc23
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main.cc42
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.cc103
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.h10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc38
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_component__updater_registration.cc23
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc52
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.h11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.cc28
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.h11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_download_download__item__model.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_download_download__prefs.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc25
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h13
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_common.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc28
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc15
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.cc112
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.h110
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_glic_widget_glic__widget.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_global__features.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_global__features.h10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_memory__details.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc46
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.cc38
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.h6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc24
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc127
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_prefs_browser__prefs.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc41
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_profiles_profile__impl.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_profiles_profiles__state.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_renderer__preferences__util.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_sessions_session__restore.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__hats__util.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.h11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_sync_sync__service__factory.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h30
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service__factory.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_browser.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__command__controller.cc22
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__commands.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_survey__config.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc13
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.h11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h13
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_tab__helpers.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_test_popup__browsertest.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc23
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc23
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc16
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc44
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h15
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc27
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc25
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h11
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc13
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_webauthn_password__credential__controller.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h10
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.cc24
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.h14
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.h6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_crash__keys.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_extensions_extension__constants.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_media_cdm__host__file__path.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_media_cdm__registration.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_pref__names.h32
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_url__constants.h4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.cc9
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.h17
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_test_chromedriver_chrome__launcher.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_updater_app_app__uninstall.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_updater_configurator.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_utility_services.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-components_BUILD.gn18
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h6
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc47
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.h8
-rw-r--r--www/ungoogled-chromium/files/patch-components_commerce_core_commerce__feature__list.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-components_constrained__window_constrained__window__views.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_crash_core_app_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-components_device__signals_core_browser_browser__utils.h8
-rw-r--r--www/ungoogled-chromium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-components_device__signals_core_common_platform__utils.h11
-rw-r--r--www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.h6
-rw-r--r--www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils.cc41
-rw-r--r--www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-components_enterprise_browser_reporting_report__util.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.h11
-rw-r--r--www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-components_enterprise_watermarking_watermark.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__configurations.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.h8
-rw-r--r--www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.h20
-rw-r--r--www/ungoogled-chromium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util__unittest.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan__features.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_media__router_common_media__source.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-components_metrics_dwa_dwa__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_metrics_metrics__log.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-components_optimization__guide_core_optimization__guide__features.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-components_os__crypt_sync_os__crypt.h18
-rw-r--r--www/ungoogled-chromium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.h4
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.h11
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager__client.h4
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h4
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_password__manager_core_common_password__manager__pref__names.h4
-rw-r--r--www/ungoogled-chromium/files/patch-components_permissions_prediction__service_prediction__common.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_policy_core_browser_url__blocklist__manager.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_policy_core_common_policy__loader__common.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.h11
-rw-r--r--www/ungoogled-chromium/files/patch-components_power__metrics_energy__metrics__provider.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.h18
-rw-r--r--www/ungoogled-chromium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_search__engines_template__url__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.cc15
-rw-r--r--www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.h17
-rw-r--r--www/ungoogled-chromium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_child__account__service.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.cc46
-rw-r--r--www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.h17
-rw-r--r--www/ungoogled-chromium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_system__cpu_cpu__probe.cc15
-rw-r--r--www/ungoogled-chromium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_user__education_views_help__bubble__view.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-components_variations_net_variations__command__line.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-components_variations_service_variations__service.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_host_host__display__client.cc9
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_software__output__surface.h6
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_service_display_skia__renderer.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h8
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.h11
-rw-r--r--www/ungoogled-chromium/files/patch-content_app_BUILD.gn6
-rw-r--r--www/ungoogled-chromium/files/patch-content_app_content__main.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_app_content__main__runner__impl.cc48
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_BUILD.gn6
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc26
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.h4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_browser__interface__binders.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_browser__main__loop.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper.h11
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_child__thread__type__switcher__linux.cc16
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_compositor_viz__process__transport__factory.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_gpu_compositor__util.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl.h6
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h6
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_network__service__instance__impl.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_delegated__frame__host.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc16
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.h16
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc17
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_service__host_utility__process__host.cc28
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc35
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_v8__snapshot__files.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-content_child_child__process.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_common_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-content_common_features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_common_features.h6
-rw-r--r--www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h16
-rw-r--r--www/ungoogled-chromium/files/patch-content_gpu_gpu__child__thread.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_gpu_gpu__main.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h11
-rw-r--r--www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc23
-rw-r--r--www/ungoogled-chromium/files/patch-content_public_common_content__features.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-content_public_common_content__switches.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-content_public_common_content__switches.h4
-rw-r--r--www/ungoogled-chromium/files/patch-content_renderer_render__thread__impl.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.h4
-rw-r--r--www/ungoogled-chromium/files/patch-content_shell_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-content_shell_app_shell__main__delegate.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_shell_browser_shell__paths.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-content_shell_renderer_shell__content__renderer__client.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_shell_utility_shell__content__utility__client.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc84
-rw-r--r--www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h22
-rw-r--r--www/ungoogled-chromium/files/patch-content_utility_services.cc70
-rw-r--r--www/ungoogled-chromium/files/patch-content_utility_utility__main.cc62
-rw-r--r--www/ungoogled-chromium/files/patch-content_zygote_BUILD.gn6
-rw-r--r--www/ungoogled-chromium/files/patch-device_bluetooth_bluetooth__adapter.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-device_bluetooth_cast__bluetooth.gni4
-rw-r--r--www/ungoogled-chromium/files/patch-device_gamepad_gamepad__provider.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-extensions_browser_api_messaging_message__service.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-extensions_common_api___permission__features.json178
-rw-r--r--www/ungoogled-chromium/files/patch-extensions_common_command.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-extensions_common_features_feature.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-extensions_shell_app_shell__main__delegate.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h11
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.h6
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_config_gpu__control__list.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_config_gpu__info__collector.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h11
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__init.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__device__queue.h4
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__image.h6
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__util.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-headless_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.h4
-rw-r--r--www/ungoogled-chromium/files/patch-headless_lib_headless__content__main__delegate.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ipc_ipc__channel.h6
-rw-r--r--www/ungoogled-chromium/files/patch-ipc_ipc__channel__mojo.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ipc_ipc__message__utils.h4
-rw-r--r--www/ungoogled-chromium/files/patch-media_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_audio__input__device.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_pulse_pulse__util.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.h4
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__input.cc5
-rw-r--r--www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__output.cc5
-rw-r--r--www/ungoogled-chromium/files/patch-media_base_audio__latency.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_base_media__switches.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-media_base_media__switches.h12
-rw-r--r--www/ungoogled-chromium/files/patch-media_base_video__frame.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-media_base_video__frame.h14
-rw-r--r--www/ungoogled-chromium/files/patch-media_capture_video_create__video__capture__device__factory.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc30
-rw-r--r--www/ungoogled-chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-media_capture_video_video__capture__device__client.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py6
-rw-r--r--www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_robo__lib_config.py6
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__helpers.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__validator.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_media__options.gni4
-rw-r--r--www/ungoogled-chromium/files/patch-media_mojo_mojom_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.h11
-rw-r--r--www/ungoogled-chromium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-media_video_video__encode__accelerator__adapter.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_webrtc_audio__processor.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-media_webrtc_helpers__unittests.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-mojo_core_BUILD.gn12
-rw-r--r--www/ungoogled-chromium/files/patch-mojo_core_channel.cc13
-rw-r--r--www/ungoogled-chromium/files/patch-mojo_core_embedder_features.h8
-rw-r--r--www/ungoogled-chromium/files/patch-mojo_public_tools_bindings_mojom.gni4
-rw-r--r--www/ungoogled-chromium/files/patch-net_BUILD.gn20
-rw-r--r--www/ungoogled-chromium/files/patch-net_base_features.cc13
-rw-r--r--www/ungoogled-chromium/files/patch-net_base_sockaddr__util__posix.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-net_disk__cache_backend__experiment.h4
-rw-r--r--www/ungoogled-chromium/files/patch-net_disk__cache_simple_simple__file__tracker.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-net_dns_BUILD.gn16
-rw-r--r--www/ungoogled-chromium/files/patch-net_dns_address__info.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-net_dns_address__sorter__posix.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-net_dns_public_resolv__reader.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-net_http_http__network__session.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-net_quic_quic__network__transaction__unittest.cc28
-rw-r--r--www/ungoogled-chromium/files/patch-net_socket_udp__socket__posix.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-net_socket_udp__socket__unittest.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-net_url__request_url__request__context.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-net_url__request_url__request__context__builder.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-pdf_pdfium_pdfium__engine.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_cups__helper.cc52
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_cups__helper.h11
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_cups__jobs.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_cups__printer.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_cups__weak__functions.h11
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.cc29
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.h11
-rw-r--r--www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups__ipp.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc16
-rw-r--r--www/ungoogled-chromium/files/patch-printing_print__settings.h10
-rw-r--r--www/ungoogled-chromium/files/patch-printing_printing__features.cc16
-rw-r--r--www/ungoogled-chromium/files/patch-printing_printing__features.h8
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_base_chromoting__event.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_chromoting__host.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_chromoting__host__services__client.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_host__main.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc30
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_me2me__desktop__environment.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_policy__watcher.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_remoting__me2me__host.cc41
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_setup_start__host__main.cc19
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-remoting_protocol_webrtc__video__stream.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_linux_BUILD.gn6
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_linux_services_init__process__reaper.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_BUILD.gn6
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc5
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_mojom_sandbox.mojom4
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc21
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_sandbox.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_sandbox__type.cc75
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_switches.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-sandbox_policy_switches.h4
-rw-r--r--www/ungoogled-chromium/files/patch-services_device_public_cpp_device__features.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-services_device_public_mojom_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-services_device_serial_serial__device__enumerator.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-services_device_serial_serial__io__handler__posix.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc21
-rw-r--r--www/ungoogled-chromium/files/patch-services_device_usb_usb__service.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-services_device_usb_usb__service__fake.cc5
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_BUILD.gn8
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_network__context.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_network__context.h4
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_network__service.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_network__service.h4
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_public_cpp_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_public_cpp_features.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn15
-rw-r--r--www/ungoogled-chromium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h4
-rw-r--r--www/ungoogled-chromium/files/patch-services_on__device__model_on__device__model__service.h22
-rw-r--r--www/ungoogled-chromium/files/patch-services_on__device__model_pre__sandbox__init.cc38
-rw-r--r--www/ungoogled-chromium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc16
-rw-r--r--www/ungoogled-chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc13
-rw-r--r--www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h16
-rw-r--r--www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__service.cc20
-rw-r--r--www/ungoogled-chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc37
-rw-r--r--www/ungoogled-chromium/files/patch-services_viz_public_mojom_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-skia_ext_font__utils.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_angle_BUILD.gn8
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp14
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_angle_util_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_common_features.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_public_platform_platform.h4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h16
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json579
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_cpuinfo_cpuinfo.gni6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h9
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_fontconfig_include_config.h49
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_fontconfig_include_meson-config.h44
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_fontconfig_src_src_fccompat.c8
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_leveldatabase_env__chromium.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_node_check__version.py14
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_node_node.gni20
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp13
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_event__fd.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc26
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_string__utils.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_utils.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_protobuf_proto__library.gni19
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_rust_qr__code_v2_BUILD.gn13
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_speech-dispatcher_libspeechd__version.h4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c8
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h12
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_byte__order.h4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc24
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_ip__address.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_network.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc42
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h4
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc17
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn11
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_zlib_BUILD.gn8
-rw-r--r--www/ungoogled-chromium/files/patch-tools_gn_build_gen.py4
-rw-r--r--www/ungoogled-chromium/files/patch-tools_grit_grit_node_base.py4
-rw-r--r--www/ungoogled-chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py6
-rw-r--r--www/ungoogled-chromium/files/patch-tools_protoc__wrapper_protoc__wrapper.py4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.cc19
-rw-r--r--www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.h19
-rw-r--r--www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.cc18
-rw-r--r--www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.h10
-rw-r--r--www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.cc46
-rw-r--r--www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.h22
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_accelerators_accelerator.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_cursor_cursor__factory.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_resource_resource__bundle.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_test_skia__gold__pixel__diff.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_ui__base__features.cc17
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_ui__base__features.h11
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h6
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_webui_web__ui__util.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-ui_color_color__id.h4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_compositor_compositor.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_compositor_compositor.h4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-ui_events_event.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_font__fallback__linux.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_font__render__params__linux.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_gpu__extra__info.h11
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.h29
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc14
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h14
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_platform__font__skia.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_switches.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gfx_switches.h6
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn26
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gl_gl__context.cc13
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gl_gl__fence.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gl_gl__implementation.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gl_gl__switches.cc24
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gtk_gtk__compat.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_gtk_printing_print__dialog__gtk.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_message__center_views_message__popup__view.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_native__theme_features_native__theme__features.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-ui_native__theme_native__theme__base.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_ozone_common_egl__util.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc10
-rw-r--r--www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_ozone_platform_x11_x11__window.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_BUILD.gn8
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_controls_prefix__selector.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.h4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_corewm_tooltip__aura.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_views__delegate.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_widget_widget.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_widget_widget.h4
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_window_custom__frame__view.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_window_default__frame__view.cc11
-rw-r--r--www/ungoogled-chromium/files/patch-ui_views_window_dialog__delegate.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-v8_BUILD.gn14
-rw-r--r--www/ungoogled-chromium/files/patch-v8_include_v8config.h14
-rw-r--r--www/ungoogled-chromium/files/patch-v8_src_api_api.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-v8_src_base_platform_platform-posix.cc12
-rw-r--r--www/ungoogled-chromium/files/patch-v8_src_execution_isolate.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-v8_src_flags_flags.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-v8_src_libsampler_sampler.cc4
-rw-r--r--www/ungoogled-chromium/files/patch-v8_src_trap-handler_handler-inside-posix.cc6
-rw-r--r--www/ungoogled-chromium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h128
-rw-r--r--www/ungoogled-chromium/pkg-plist496
-rw-r--r--www/unit-java/Makefile6
-rw-r--r--www/unit-java/distinfo60
-rw-r--r--www/unit/Makefile4
-rw-r--r--www/unit/distinfo8
-rw-r--r--www/unit/files/patch-auto_njs22
-rw-r--r--www/unit/files/patch-src_nxt__http__js.c139
-rw-r--r--www/unit/version.mk2
-rw-r--r--www/waterfox/Makefile3
-rw-r--r--www/waterfox/distinfo6
-rw-r--r--www/waterfox/files/patch-bug187405925
-rw-r--r--www/websocketd/Makefile4
-rw-r--r--www/websocketd/distinfo6
-rw-r--r--www/xist/Makefile4
-rw-r--r--www/yourls/Makefile2
-rw-r--r--www/yourls/distinfo6
1859 files changed, 18552 insertions, 22483 deletions
diff --git a/www/Makefile b/www/Makefile
index 5d9ca2a97e52..2c1dc21e6cdb 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -36,6 +36,7 @@
SUBDIR += angie-console-light
SUBDIR += angie-module-auth-jwt
SUBDIR += angie-module-auth-spnego
+ SUBDIR += angie-module-auth-totp
SUBDIR += angie-module-brotli
SUBDIR += angie-module-cache-purge
SUBDIR += angie-module-dav-ext
@@ -216,6 +217,7 @@
SUBDIR += gallery2
SUBDIR += garage
SUBDIR += gatling
+ SUBDIR += gatus
SUBDIR += gauche-makiki
SUBDIR += geckodriver
SUBDIR += geneweb
@@ -450,7 +452,7 @@
SUBDIR += mod_umask
SUBDIR += mod_webauth
SUBDIR += mod_webkit
- SUBDIR += mod_wsgi4
+ SUBDIR += mod_wsgi
SUBDIR += mod_xsendfile
SUBDIR += mohawk
SUBDIR += moin2
@@ -1655,6 +1657,7 @@
SUBDIR += py-django-post_office
SUBDIR += py-django-prometheus
SUBDIR += py-django-pyscss
+ SUBDIR += py-django-q2
SUBDIR += py-django-radius
SUBDIR += py-django-ranged-response
SUBDIR += py-django-recaptcha
@@ -1714,6 +1717,7 @@
SUBDIR += py-fake-useragent
SUBDIR += py-falcon
SUBDIR += py-fastapi
+ SUBDIR += py-fastapi-sso
SUBDIR += py-feedgen
SUBDIR += py-feedgenerator
SUBDIR += py-flasgger
@@ -1825,6 +1829,7 @@
SUBDIR += py-httpx_gssapi
SUBDIR += py-hypercorn
SUBDIR += py-hyperframe
+ SUBDIR += py-hyperkitty
SUBDIR += py-hyperlink
SUBDIR += py-inlinestyler
SUBDIR += py-internetarchive
@@ -1840,6 +1845,7 @@
SUBDIR += py-libsass
SUBDIR += py-limits
SUBDIR += py-livereload
+ SUBDIR += py-mailman-hyperkitty
SUBDIR += py-mechanicalsoup
SUBDIR += py-mechanize
SUBDIR += py-multidict
@@ -1849,6 +1855,7 @@
SUBDIR += py-nicegui
SUBDIR += py-nicegui-highcharts
SUBDIR += py-nicegui-nogui
+ SUBDIR += py-nikola
SUBDIR += py-niquests
SUBDIR += py-notebook
SUBDIR += py-onetimepass
@@ -1860,6 +1867,7 @@
SUBDIR += py-pecan
SUBDIR += py-pelican
SUBDIR += py-planet
+ SUBDIR += py-planet-auth
SUBDIR += py-playwright
SUBDIR += py-postorius
SUBDIR += py-praw
@@ -1912,6 +1920,7 @@
SUBDIR += py-rfc3986
SUBDIR += py-rfc3987
SUBDIR += py-rfc3987-syntax
+ SUBDIR += py-robot-detection
SUBDIR += py-rollbar
SUBDIR += py-routes
SUBDIR += py-rules
@@ -2222,7 +2231,6 @@
SUBDIR += rubygem-json-jwt-gitlab
SUBDIR += rubygem-jsonb_accessor
SUBDIR += rubygem-jwt
- SUBDIR += rubygem-jwt29
SUBDIR += rubygem-kamal
SUBDIR += rubygem-kaminari
SUBDIR += rubygem-kaminari-actionview
diff --git a/www/agate/Makefile b/www/agate/Makefile
index 4c4c4be76964..91bbd84558cd 100644
--- a/www/agate/Makefile
+++ b/www/agate/Makefile
@@ -1,7 +1,6 @@
PORTNAME= agate
DISTVERSIONPREFIX= v
-DISTVERSION= 3.3.18
-PORTREVISION= 1
+DISTVERSION= 3.3.19
CATEGORIES= www
MAINTAINER= alven@FreeBSD.org
diff --git a/www/agate/Makefile.crates b/www/agate/Makefile.crates
index a0f16c25d1e7..e539a9eb3ef3 100644
--- a/www/agate/Makefile.crates
+++ b/www/agate/Makefile.crates
@@ -6,27 +6,28 @@ CARGO_CRATES= addr2line-0.24.2 \
anstyle-query-1.1.3 \
anstyle-wincon-3.0.9 \
backtrace-0.3.75 \
- bitflags-2.9.1 \
+ bitflags-2.9.4 \
bytes-1.10.1 \
- cc-1.2.31 \
- cfg-if-1.0.1 \
+ cc-1.2.37 \
+ cfg-if-1.0.3 \
colorchoice-1.0.4 \
configparser-3.1.0 \
- deranged-0.4.0 \
+ deranged-0.5.3 \
displaydoc-0.2.5 \
env_filter-0.1.3 \
env_logger-0.11.8 \
+ find-msvc-tools-0.1.1 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
- form_urlencoded-1.2.1 \
+ form_urlencoded-1.2.2 \
futures-core-0.3.31 \
futures-macro-0.3.31 \
futures-task-0.3.31 \
futures-util-0.3.31 \
- getopts-0.2.23 \
+ getopts-0.2.24 \
getrandom-0.2.16 \
gimli-0.31.1 \
- glob-0.3.2 \
+ glob-0.3.3 \
icu_collections-2.0.0 \
icu_locale_core-2.0.0 \
icu_normalizer-2.0.0 \
@@ -34,15 +35,15 @@ CARGO_CRATES= addr2line-0.24.2 \
icu_properties-2.0.1 \
icu_properties_data-2.0.1 \
icu_provider-2.0.0 \
- idna-1.0.3 \
+ idna-1.1.0 \
idna_adapter-1.2.1 \
- io-uring-0.7.9 \
+ io-uring-0.7.10 \
is_terminal_polyfill-1.70.1 \
jiff-0.2.15 \
jiff-static-0.2.15 \
- libc-0.2.174 \
+ libc-0.2.175 \
litemap-0.8.0 \
- log-0.4.27 \
+ log-0.4.28 \
memchr-2.7.5 \
mime-0.3.17 \
mime_guess-2.0.5 \
@@ -55,53 +56,53 @@ CARGO_CRATES= addr2line-0.24.2 \
openssl-0.10.73 \
openssl-macros-0.1.1 \
openssl-sys-0.9.109 \
- percent-encoding-2.3.1 \
+ percent-encoding-2.3.2 \
pin-project-lite-0.2.16 \
pin-utils-0.1.0 \
pkg-config-0.3.32 \
portable-atomic-1.11.1 \
portable-atomic-util-0.2.4 \
- potential_utf-0.1.2 \
+ potential_utf-0.1.3 \
powerfmt-0.2.0 \
- proc-macro2-1.0.95 \
+ proc-macro2-1.0.101 \
quote-1.0.40 \
- rcgen-0.14.3 \
+ rcgen-0.14.4 \
ring-0.17.14 \
rustc-demangle-0.1.26 \
rustls-0.23.31 \
rustls-pki-types-1.12.0 \
- rustls-webpki-0.103.4 \
- serde-1.0.219 \
- serde_derive-1.0.219 \
+ rustls-webpki-0.103.6 \
+ serde-1.0.225 \
+ serde_core-1.0.225 \
+ serde_derive-1.0.225 \
shlex-1.3.0 \
- slab-0.4.10 \
+ slab-0.4.11 \
smallvec-1.15.1 \
socket2-0.6.0 \
stable_deref_trait-1.2.0 \
subtle-2.6.1 \
- syn-2.0.104 \
+ syn-2.0.106 \
synstructure-0.13.2 \
thiserror-1.0.69 \
thiserror-impl-1.0.69 \
- time-0.3.41 \
- time-core-0.1.4 \
+ time-0.3.43 \
+ time-core-0.1.6 \
tinystr-0.8.1 \
tokio-1.47.1 \
tokio-macros-2.5.0 \
tokio-openssl-0.6.5 \
- tokio-rustls-0.26.2 \
+ tokio-rustls-0.26.3 \
trotter-1.0.2 \
unicase-2.8.1 \
- unicode-ident-1.0.18 \
- unicode-width-0.2.1 \
+ unicode-ident-1.0.19 \
untrusted-0.9.0 \
- url-2.5.4 \
+ url-2.5.7 \
urlencoding-2.1.3 \
utf8_iter-1.0.4 \
utf8parse-0.2.2 \
vcpkg-0.2.15 \
wasi-0.11.1+wasi-snapshot-preview1 \
- wildmatch-2.4.0 \
+ wildmatch-2.5.0 \
windows-sys-0.52.0 \
windows-sys-0.59.0 \
windows-targets-0.52.6 \
@@ -121,5 +122,5 @@ CARGO_CRATES= addr2line-0.24.2 \
zerofrom-derive-0.1.6 \
zeroize-1.8.1 \
zerotrie-0.2.2 \
- zerovec-0.11.3 \
+ zerovec-0.11.4 \
zerovec-derive-0.11.1
diff --git a/www/agate/distinfo b/www/agate/distinfo
index 100e79e407cf..032cc9861207 100644
--- a/www/agate/distinfo
+++ b/www/agate/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1754474724
+TIMESTAMP = 1758277207
SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1
SIZE (rust/crates/addr2line-0.24.2.crate) = 39015
SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
@@ -15,32 +15,34 @@ SHA256 (rust/crates/anstyle-wincon-3.0.9.crate) = 403f75924867bb1033c59fbf079748
SIZE (rust/crates/anstyle-wincon-3.0.9.crate) = 12561
SHA256 (rust/crates/backtrace-0.3.75.crate) = 6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002
SIZE (rust/crates/backtrace-0.3.75.crate) = 92665
-SHA256 (rust/crates/bitflags-2.9.1.crate) = 1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967
-SIZE (rust/crates/bitflags-2.9.1.crate) = 47913
+SHA256 (rust/crates/bitflags-2.9.4.crate) = 2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394
+SIZE (rust/crates/bitflags-2.9.4.crate) = 47950
SHA256 (rust/crates/bytes-1.10.1.crate) = d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a
SIZE (rust/crates/bytes-1.10.1.crate) = 76779
-SHA256 (rust/crates/cc-1.2.31.crate) = c3a42d84bb6b69d3a8b3eaacf0d88f179e1929695e1ad012b6cf64d9caaa5fd2
-SIZE (rust/crates/cc-1.2.31.crate) = 109427
-SHA256 (rust/crates/cfg-if-1.0.1.crate) = 9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268
-SIZE (rust/crates/cfg-if-1.0.1.crate) = 8683
+SHA256 (rust/crates/cc-1.2.37.crate) = 65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44
+SIZE (rust/crates/cc-1.2.37.crate) = 90111
+SHA256 (rust/crates/cfg-if-1.0.3.crate) = 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9
+SIZE (rust/crates/cfg-if-1.0.3.crate) = 8719
SHA256 (rust/crates/colorchoice-1.0.4.crate) = b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75
SIZE (rust/crates/colorchoice-1.0.4.crate) = 8196
SHA256 (rust/crates/configparser-3.1.0.crate) = e57e3272f0190c3f1584272d613719ba5fc7df7f4942fe542e63d949cf3a649b
SIZE (rust/crates/configparser-3.1.0.crate) = 25473
-SHA256 (rust/crates/deranged-0.4.0.crate) = 9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e
-SIZE (rust/crates/deranged-0.4.0.crate) = 23235
+SHA256 (rust/crates/deranged-0.5.3.crate) = d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc
+SIZE (rust/crates/deranged-0.5.3.crate) = 24353
SHA256 (rust/crates/displaydoc-0.2.5.crate) = 97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0
SIZE (rust/crates/displaydoc-0.2.5.crate) = 24219
SHA256 (rust/crates/env_filter-0.1.3.crate) = 186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0
SIZE (rust/crates/env_filter-0.1.3.crate) = 15191
SHA256 (rust/crates/env_logger-0.11.8.crate) = 13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f
SIZE (rust/crates/env_logger-0.11.8.crate) = 32538
+SHA256 (rust/crates/find-msvc-tools-0.1.1.crate) = 7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d
+SIZE (rust/crates/find-msvc-tools-0.1.1.crate) = 30228
SHA256 (rust/crates/foreign-types-0.3.2.crate) = f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1
SIZE (rust/crates/foreign-types-0.3.2.crate) = 7504
SHA256 (rust/crates/foreign-types-shared-0.1.1.crate) = 00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b
SIZE (rust/crates/foreign-types-shared-0.1.1.crate) = 5672
-SHA256 (rust/crates/form_urlencoded-1.2.1.crate) = e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456
-SIZE (rust/crates/form_urlencoded-1.2.1.crate) = 8969
+SHA256 (rust/crates/form_urlencoded-1.2.2.crate) = cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf
+SIZE (rust/crates/form_urlencoded-1.2.2.crate) = 9347
SHA256 (rust/crates/futures-core-0.3.31.crate) = 05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e
SIZE (rust/crates/futures-core-0.3.31.crate) = 14318
SHA256 (rust/crates/futures-macro-0.3.31.crate) = 162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650
@@ -49,14 +51,14 @@ SHA256 (rust/crates/futures-task-0.3.31.crate) = f90f7dce0722e95104fcb095585910c
SIZE (rust/crates/futures-task-0.3.31.crate) = 11217
SHA256 (rust/crates/futures-util-0.3.31.crate) = 9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81
SIZE (rust/crates/futures-util-0.3.31.crate) = 162124
-SHA256 (rust/crates/getopts-0.2.23.crate) = cba6ae63eb948698e300f645f87c70f76630d505f23b8907cf1e193ee85048c1
-SIZE (rust/crates/getopts-0.2.23.crate) = 21409
+SHA256 (rust/crates/getopts-0.2.24.crate) = cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df
+SIZE (rust/crates/getopts-0.2.24.crate) = 21467
SHA256 (rust/crates/getrandom-0.2.16.crate) = 335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592
SIZE (rust/crates/getrandom-0.2.16.crate) = 40163
SHA256 (rust/crates/gimli-0.31.1.crate) = 07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f
SIZE (rust/crates/gimli-0.31.1.crate) = 279515
-SHA256 (rust/crates/glob-0.3.2.crate) = a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2
-SIZE (rust/crates/glob-0.3.2.crate) = 22359
+SHA256 (rust/crates/glob-0.3.3.crate) = 0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280
+SIZE (rust/crates/glob-0.3.3.crate) = 22861
SHA256 (rust/crates/icu_collections-2.0.0.crate) = 200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47
SIZE (rust/crates/icu_collections-2.0.0.crate) = 83033
SHA256 (rust/crates/icu_locale_core-2.0.0.crate) = 0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a
@@ -71,24 +73,24 @@ SHA256 (rust/crates/icu_properties_data-2.0.1.crate) = 298459143998310acd25ffe68
SIZE (rust/crates/icu_properties_data-2.0.1.crate) = 159735
SHA256 (rust/crates/icu_provider-2.0.0.crate) = 03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af
SIZE (rust/crates/icu_provider-2.0.0.crate) = 50966
-SHA256 (rust/crates/idna-1.0.3.crate) = 686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e
-SIZE (rust/crates/idna-1.0.3.crate) = 142515
+SHA256 (rust/crates/idna-1.1.0.crate) = 3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de
+SIZE (rust/crates/idna-1.1.0.crate) = 148747
SHA256 (rust/crates/idna_adapter-1.2.1.crate) = 3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344
SIZE (rust/crates/idna_adapter-1.2.1.crate) = 10389
-SHA256 (rust/crates/io-uring-0.7.9.crate) = d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4
-SIZE (rust/crates/io-uring-0.7.9.crate) = 99792
+SHA256 (rust/crates/io-uring-0.7.10.crate) = 046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b
+SIZE (rust/crates/io-uring-0.7.10.crate) = 103070
SHA256 (rust/crates/is_terminal_polyfill-1.70.1.crate) = 7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf
SIZE (rust/crates/is_terminal_polyfill-1.70.1.crate) = 7492
SHA256 (rust/crates/jiff-0.2.15.crate) = be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49
SIZE (rust/crates/jiff-0.2.15.crate) = 712996
SHA256 (rust/crates/jiff-static-0.2.15.crate) = 03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4
SIZE (rust/crates/jiff-static-0.2.15.crate) = 76146
-SHA256 (rust/crates/libc-0.2.174.crate) = 1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776
-SIZE (rust/crates/libc-0.2.174.crate) = 779933
+SHA256 (rust/crates/libc-0.2.175.crate) = 6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543
+SIZE (rust/crates/libc-0.2.175.crate) = 788728
SHA256 (rust/crates/litemap-0.8.0.crate) = 241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956
SIZE (rust/crates/litemap-0.8.0.crate) = 34344
-SHA256 (rust/crates/log-0.4.27.crate) = 13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94
-SIZE (rust/crates/log-0.4.27.crate) = 48120
+SHA256 (rust/crates/log-0.4.28.crate) = 34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432
+SIZE (rust/crates/log-0.4.28.crate) = 51131
SHA256 (rust/crates/memchr-2.7.5.crate) = 32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0
SIZE (rust/crates/memchr-2.7.5.crate) = 97603
SHA256 (rust/crates/mime-0.3.17.crate) = 6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a
@@ -113,8 +115,8 @@ SHA256 (rust/crates/openssl-macros-0.1.1.crate) = a948666b637a0f465e8564c73e89d4
SIZE (rust/crates/openssl-macros-0.1.1.crate) = 5601
SHA256 (rust/crates/openssl-sys-0.9.109.crate) = 90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571
SIZE (rust/crates/openssl-sys-0.9.109.crate) = 78247
-SHA256 (rust/crates/percent-encoding-2.3.1.crate) = e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e
-SIZE (rust/crates/percent-encoding-2.3.1.crate) = 10235
+SHA256 (rust/crates/percent-encoding-2.3.2.crate) = 9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220
+SIZE (rust/crates/percent-encoding-2.3.2.crate) = 11583
SHA256 (rust/crates/pin-project-lite-0.2.16.crate) = 3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b
SIZE (rust/crates/pin-project-lite-0.2.16.crate) = 30504
SHA256 (rust/crates/pin-utils-0.1.0.crate) = 8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184
@@ -125,16 +127,16 @@ SHA256 (rust/crates/portable-atomic-1.11.1.crate) = f84267b20a16ea918e43c6a88433
SIZE (rust/crates/portable-atomic-1.11.1.crate) = 185506
SHA256 (rust/crates/portable-atomic-util-0.2.4.crate) = d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507
SIZE (rust/crates/portable-atomic-util-0.2.4.crate) = 47043
-SHA256 (rust/crates/potential_utf-0.1.2.crate) = e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585
-SIZE (rust/crates/potential_utf-0.1.2.crate) = 9613
+SHA256 (rust/crates/potential_utf-0.1.3.crate) = 84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a
+SIZE (rust/crates/potential_utf-0.1.3.crate) = 9698
SHA256 (rust/crates/powerfmt-0.2.0.crate) = 439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391
SIZE (rust/crates/powerfmt-0.2.0.crate) = 15165
-SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778
-SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820
+SHA256 (rust/crates/proc-macro2-1.0.101.crate) = 89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de
+SIZE (rust/crates/proc-macro2-1.0.101.crate) = 53886
SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d
SIZE (rust/crates/quote-1.0.40.crate) = 31063
-SHA256 (rust/crates/rcgen-0.14.3.crate) = 0068c5b3cab1d4e271e0bb6539c87563c43411cad90b057b15c79958fbeb41f7
-SIZE (rust/crates/rcgen-0.14.3.crate) = 78302
+SHA256 (rust/crates/rcgen-0.14.4.crate) = 4c83367ba62b3f1dbd0f086ede4e5ebfb4713fb234dbbc5807772a31245ff46d
+SIZE (rust/crates/rcgen-0.14.4.crate) = 63856
SHA256 (rust/crates/ring-0.17.14.crate) = a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7
SIZE (rust/crates/ring-0.17.14.crate) = 1502610
SHA256 (rust/crates/rustc-demangle-0.1.26.crate) = 56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace
@@ -143,16 +145,18 @@ SHA256 (rust/crates/rustls-0.23.31.crate) = c0ebcbd2f03de0fc1122ad9bb24b127a5a6c
SIZE (rust/crates/rustls-0.23.31.crate) = 371259
SHA256 (rust/crates/rustls-pki-types-1.12.0.crate) = 229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79
SIZE (rust/crates/rustls-pki-types-1.12.0.crate) = 64740
-SHA256 (rust/crates/rustls-webpki-0.103.4.crate) = 0a17884ae0c1b773f1ccd2bd4a8c72f16da897310a98b0e84bf349ad5ead92fc
-SIZE (rust/crates/rustls-webpki-0.103.4.crate) = 84241
-SHA256 (rust/crates/serde-1.0.219.crate) = 5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6
-SIZE (rust/crates/serde-1.0.219.crate) = 78983
-SHA256 (rust/crates/serde_derive-1.0.219.crate) = 5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00
-SIZE (rust/crates/serde_derive-1.0.219.crate) = 57798
+SHA256 (rust/crates/rustls-webpki-0.103.6.crate) = 8572f3c2cb9934231157b45499fc41e1f58c589fdfb81a844ba873265e80f8eb
+SIZE (rust/crates/rustls-webpki-0.103.6.crate) = 85224
+SHA256 (rust/crates/serde-1.0.225.crate) = fd6c24dee235d0da097043389623fb913daddf92c76e9f5a1db88607a0bcbd1d
+SIZE (rust/crates/serde-1.0.225.crate) = 28467
+SHA256 (rust/crates/serde_core-1.0.225.crate) = 659356f9a0cb1e529b24c01e43ad2bdf520ec4ceaf83047b83ddcc2251f96383
+SIZE (rust/crates/serde_core-1.0.225.crate) = 63004
+SHA256 (rust/crates/serde_derive-1.0.225.crate) = 0ea936adf78b1f766949a4977b91d2f5595825bd6ec079aa9543ad2685fc4516
+SIZE (rust/crates/serde_derive-1.0.225.crate) = 58560
SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64
SIZE (rust/crates/shlex-1.3.0.crate) = 18713
-SHA256 (rust/crates/slab-0.4.10.crate) = 04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d
-SIZE (rust/crates/slab-0.4.10.crate) = 17810
+SHA256 (rust/crates/slab-0.4.11.crate) = 7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589
+SIZE (rust/crates/slab-0.4.11.crate) = 18549
SHA256 (rust/crates/smallvec-1.15.1.crate) = 67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03
SIZE (rust/crates/smallvec-1.15.1.crate) = 38116
SHA256 (rust/crates/socket2-0.6.0.crate) = 233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807
@@ -161,18 +165,18 @@ SHA256 (rust/crates/stable_deref_trait-1.2.0.crate) = a8f112729512f8e442d81f95a8
SIZE (rust/crates/stable_deref_trait-1.2.0.crate) = 8054
SHA256 (rust/crates/subtle-2.6.1.crate) = 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292
SIZE (rust/crates/subtle-2.6.1.crate) = 14562
-SHA256 (rust/crates/syn-2.0.104.crate) = 17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40
-SIZE (rust/crates/syn-2.0.104.crate) = 299699
+SHA256 (rust/crates/syn-2.0.106.crate) = ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6
+SIZE (rust/crates/syn-2.0.106.crate) = 301514
SHA256 (rust/crates/synstructure-0.13.2.crate) = 728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2
SIZE (rust/crates/synstructure-0.13.2.crate) = 18950
SHA256 (rust/crates/thiserror-1.0.69.crate) = b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52
SIZE (rust/crates/thiserror-1.0.69.crate) = 22198
SHA256 (rust/crates/thiserror-impl-1.0.69.crate) = 4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1
SIZE (rust/crates/thiserror-impl-1.0.69.crate) = 18365
-SHA256 (rust/crates/time-0.3.41.crate) = 8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40
-SIZE (rust/crates/time-0.3.41.crate) = 138369
-SHA256 (rust/crates/time-core-0.1.4.crate) = c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c
-SIZE (rust/crates/time-core-0.1.4.crate) = 8422
+SHA256 (rust/crates/time-0.3.43.crate) = 83bde6f1ec10e72d583d91623c939f623002284ef622b87de38cfd546cbf2031
+SIZE (rust/crates/time-0.3.43.crate) = 142912
+SHA256 (rust/crates/time-core-0.1.6.crate) = 40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b
+SIZE (rust/crates/time-core-0.1.6.crate) = 9105
SHA256 (rust/crates/tinystr-0.8.1.crate) = 5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b
SIZE (rust/crates/tinystr-0.8.1.crate) = 23333
SHA256 (rust/crates/tokio-1.47.1.crate) = 89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038
@@ -181,20 +185,18 @@ SHA256 (rust/crates/tokio-macros-2.5.0.crate) = 6e06d43f1345a3bcd39f6a56dbb7dcab
SIZE (rust/crates/tokio-macros-2.5.0.crate) = 12617
SHA256 (rust/crates/tokio-openssl-0.6.5.crate) = 59df6849caa43bb7567f9a36f863c447d95a11d5903c9cc334ba32576a27eadd
SIZE (rust/crates/tokio-openssl-0.6.5.crate) = 11977
-SHA256 (rust/crates/tokio-rustls-0.26.2.crate) = 8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b
-SIZE (rust/crates/tokio-rustls-0.26.2.crate) = 31655
+SHA256 (rust/crates/tokio-rustls-0.26.3.crate) = 05f63835928ca123f1bef57abbcd23bb2ba0ac9ae1235f1e65bda0d06e7786bd
+SIZE (rust/crates/tokio-rustls-0.26.3.crate) = 35073
SHA256 (rust/crates/trotter-1.0.2.crate) = 7c56b8c42904fdee43b91307a67e32aba961eca95e8887d5157b912a61d4f391
SIZE (rust/crates/trotter-1.0.2.crate) = 32314
SHA256 (rust/crates/unicase-2.8.1.crate) = 75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539
SIZE (rust/crates/unicase-2.8.1.crate) = 24088
-SHA256 (rust/crates/unicode-ident-1.0.18.crate) = 5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512
-SIZE (rust/crates/unicode-ident-1.0.18.crate) = 47743
-SHA256 (rust/crates/unicode-width-0.2.1.crate) = 4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c
-SIZE (rust/crates/unicode-width-0.2.1.crate) = 279344
+SHA256 (rust/crates/unicode-ident-1.0.19.crate) = f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d
+SIZE (rust/crates/unicode-ident-1.0.19.crate) = 47480
SHA256 (rust/crates/untrusted-0.9.0.crate) = 8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1
SIZE (rust/crates/untrusted-0.9.0.crate) = 14447
-SHA256 (rust/crates/url-2.5.4.crate) = 32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60
-SIZE (rust/crates/url-2.5.4.crate) = 81097
+SHA256 (rust/crates/url-2.5.7.crate) = 08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b
+SIZE (rust/crates/url-2.5.7.crate) = 87907
SHA256 (rust/crates/urlencoding-2.1.3.crate) = daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da
SIZE (rust/crates/urlencoding-2.1.3.crate) = 6538
SHA256 (rust/crates/utf8_iter-1.0.4.crate) = b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be
@@ -205,8 +207,8 @@ SHA256 (rust/crates/vcpkg-0.2.15.crate) = accd4ea62f7bb7a82fe23066fb0957d48ef677
SIZE (rust/crates/vcpkg-0.2.15.crate) = 228735
SHA256 (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b
SIZE (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = 28477
-SHA256 (rust/crates/wildmatch-2.4.0.crate) = 68ce1ab1f8c62655ebe1350f589c61e505cf94d385bc6a12899442d9081e71fd
-SIZE (rust/crates/wildmatch-2.4.0.crate) = 7517
+SHA256 (rust/crates/wildmatch-2.5.0.crate) = 39b7d07a236abaef6607536ccfaf19b396dbe3f5110ddb73d39f4562902ed382
+SIZE (rust/crates/wildmatch-2.5.0.crate) = 12562
SHA256 (rust/crates/windows-sys-0.52.0.crate) = 282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d
SIZE (rust/crates/windows-sys-0.52.0.crate) = 2576877
SHA256 (rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b
@@ -245,9 +247,9 @@ SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464
SIZE (rust/crates/zeroize-1.8.1.crate) = 20029
SHA256 (rust/crates/zerotrie-0.2.2.crate) = 36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595
SIZE (rust/crates/zerotrie-0.2.2.crate) = 74423
-SHA256 (rust/crates/zerovec-0.11.3.crate) = bdbb9122ea75b11bf96e7492afb723e8a7fbe12c67417aa95e7e3d18144d37cd
-SIZE (rust/crates/zerovec-0.11.3.crate) = 125082
+SHA256 (rust/crates/zerovec-0.11.4.crate) = e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b
+SIZE (rust/crates/zerovec-0.11.4.crate) = 125080
SHA256 (rust/crates/zerovec-derive-0.11.1.crate) = 5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f
SIZE (rust/crates/zerovec-derive-0.11.1.crate) = 21294
-SHA256 (mbrubeck-agate-v3.3.18_GH0.tar.gz) = bfeda7e8bd8bcbbf3e84ac8bb36204841c9d79984767c4930b8c46c60c9d9b5b
-SIZE (mbrubeck-agate-v3.3.18_GH0.tar.gz) = 84765
+SHA256 (mbrubeck-agate-v3.3.19_GH0.tar.gz) = b820b56463bcc335e57c565c23db3aa4f8dc06f3131a5d7ce77407fe783fd3be
+SIZE (mbrubeck-agate-v3.3.19_GH0.tar.gz) = 85476
diff --git a/www/angelfish/distinfo b/www/angelfish/distinfo
index b07162657b34..75abc51d0bd0 100644
--- a/www/angelfish/distinfo
+++ b/www/angelfish/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755377837
-SHA256 (KDE/release-service/25.08.0/angelfish-25.08.0.tar.xz) = 0926325a19f2cc72e4a54fdacec5eb7cb15044e6129d28d1a959a706ad1c2d7c
-SIZE (KDE/release-service/25.08.0/angelfish-25.08.0.tar.xz) = 299200
+TIMESTAMP = 1757410890
+SHA256 (KDE/release-service/25.08.1/angelfish-25.08.1.tar.xz) = bc919430d96e042f1a7181e074c13576d04065e5c00a0b38888124491c9d1774
+SIZE (KDE/release-service/25.08.1/angelfish-25.08.1.tar.xz) = 299136
diff --git a/www/angie-console-light/Makefile b/www/angie-console-light/Makefile
index 40250951b817..9b8246cc61bf 100644
--- a/www/angie-console-light/Makefile
+++ b/www/angie-console-light/Makefile
@@ -1,5 +1,5 @@
PORTNAME= angie-console-light
-DISTVERSION= 1.8.0
+DISTVERSION= 1.8.1
CATEGORIES= www
MASTER_SITES= https://download.angie.software/files/angie-console-light/
diff --git a/www/angie-console-light/distinfo b/www/angie-console-light/distinfo
index 56eeb2a91f0d..e7ddf2029228 100644
--- a/www/angie-console-light/distinfo
+++ b/www/angie-console-light/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751971747
-SHA256 (angie-console-light-1.8.0.tar.gz) = f1bb4d12c87c31efcc4322d8d222096a5dd49d91f3a07aba429ab255826f3bce
-SIZE (angie-console-light-1.8.0.tar.gz) = 1074980
+TIMESTAMP = 1757343557
+SHA256 (angie-console-light-1.8.1.tar.gz) = c8a2b092f2ec04554d73452ff620cc8618a7b9702e90923d93d646e409a181fb
+SIZE (angie-console-light-1.8.1.tar.gz) = 1074997
diff --git a/www/angie-module-auth-totp/Makefile b/www/angie-module-auth-totp/Makefile
new file mode 100644
index 000000000000..702a9ba40684
--- /dev/null
+++ b/www/angie-module-auth-totp/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= angie-module-auth-totp
+GH_TUPLE= 61131:nginx-http-auth-totp:1.1.0:module
+
+COMMENT= Angie auth-totp dynamic module
+
+MASTERDIR= ${.CURDIR}/../../www/angie
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${MODDIR}
+
+ ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_auth_totp_module.so \
+ ${STAGEDIR}${MODDIR}
+
+ ${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR}
+
+do-install-DEBUG-on:
+ ${INSTALL} ${COPY} -m ${_SHAREMODE} \
+ ${WRKSRC_DEBUG}/objs/ngx_http_auth_totp_module.so \
+ ${STAGEDIR}${MODDIR}/ngx_http_auth_totp_module-debug.so
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/angie-module-auth-totp/files/pkg-message.in b/www/angie-module-auth-totp/files/pkg-message.in
new file mode 100644
index 000000000000..d27210fefe57
--- /dev/null
+++ b/www/angie-module-auth-totp/files/pkg-message.in
@@ -0,0 +1,15 @@
+[
+{ type: install
+ message: <<EOM
+
+The auth-TOTP dynamic module for Angie has been installed.
+To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf
+and reload angie:
+
+ load_module modules/ngx_http_auth_totp_module.so;
+
+Please refer to the module documentation for further details:
+https://github.com/61131/nginx-http-auth-totp
+EOM
+}
+]
diff --git a/www/angie-module-auth-totp/pkg-descr b/www/angie-module-auth-totp/pkg-descr
new file mode 100644
index 000000000000..085449b89d4b
--- /dev/null
+++ b/www/angie-module-auth-totp/pkg-descr
@@ -0,0 +1,10 @@
+Time-based one-time password (TOTP) authentication for Angie.
+
+The Time-based One-Time Password (TOTP) algorithm, provides a secure mechanism
+for short-lived one-time password values, which are desirable for enhanced
+security. This algorithm can be used across a wide range of network applications
+ranging from remote Virtual Private Network (VPN) access, Wi-Fi network logon to
+transaction-orientated Web applications.
+
+The nginx-http-auth-totp module provides TOTP authentication for an Angie
+server.
diff --git a/www/angie-module-auth-totp/pkg-plist b/www/angie-module-auth-totp/pkg-plist
new file mode 100644
index 000000000000..4dbb43b2a133
--- /dev/null
+++ b/www/angie-module-auth-totp/pkg-plist
@@ -0,0 +1,3 @@
+%%DOCSDIR%%/README.md
+%%MODDIR%%/ngx_http_auth_totp_module.so
+%%DEBUG%%%%MODDIR%%/ngx_http_auth_totp_module-debug.so
diff --git a/www/angie/distinfo b/www/angie/distinfo
index 133f991fb6ff..294edb6fa170 100644
--- a/www/angie/distinfo
+++ b/www/angie/distinfo
@@ -1,6 +1,8 @@
-TIMESTAMP = 1755846998
+TIMESTAMP = 1757353535
SHA256 (angie-1.10.2.tar.gz) = a5c2ab937df24a80e786af5638922f46ea8a73d1614183c8c90298ae873094b8
SIZE (angie-1.10.2.tar.gz) = 1757721
+SHA256 (61131-nginx-http-auth-totp-1.1.0_GH0.tar.gz) = d36d2b75a3b239e63ec060ef9ccfa6b89acbceb74b7c93e47550c1f75ac4857e
+SIZE (61131-nginx-http-auth-totp-1.1.0_GH0.tar.gz) = 9813
SHA256 (kjdev-nginx-auth-jwt-0.9.0_GH0.tar.gz) = d7c72634261a053afaacc2cb762eccf9ce4c462ca738ad0c4809eb964ddf3c0c
SIZE (kjdev-nginx-auth-jwt-0.9.0_GH0.tar.gz) = 75474
SHA256 (stnoonan-spnego-http-auth-nginx-module-v1.1.3_GH0.tar.gz) = 0e1e54f8ab7d76f922881f13d870edf8b820ef645b19013774c825110d011640
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
index 46eb5118e8d4..e3d7f81a0ef4 100644
--- a/www/awstats/Makefile
+++ b/www/awstats/Makefile
@@ -1,8 +1,8 @@
PORTNAME= awstats
-PORTVERSION= 7.9
+DISTVERSION= 8.0
PORTEPOCH= 1
CATEGORIES= www
-MASTER_SITES= SF/${PORTNAME}/AWStats/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/AWStats/${DISTVERSION}
MAINTAINER= vidar@karlsen.tech
COMMENT= Free real-time logfile analyzer to get advanced web statistics
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/docs/LICENSE.TXT
USES= cpe dos2unix perl5 shebangfix
CPE_VENDOR= laurent_destailleur
-DOS2UNIX_GLOB= *.xml *.pm
+DOS2UNIX_GLOB= *.pm *.xml
USE_PERL5= run
SHEBANG_GLOB= *.pl *.pm
@@ -27,16 +27,27 @@ OPTIONS_DEFINE= DOCS GEOIPFREE IPV6
OPTIONS_DEFAULT= HOSTINFO
OPTIONS_GROUP= MODULES
-OPTIONS_GROUP_MODULES= DECODEUTFKEYS HOSTINFO
+OPTIONS_GROUP_MODULES= DECODEUTFKEYS HOSTINFO JSON
DECODEUTFKEYS_DESC= DecodeUTFKeys (requires p5-URI)
GEOIPFREE_DESC= Country lookups via Geo::IPfree
HOSTINFO_DESC= HostInfo (requires p5-Net-XWhois)
+JSON_DESC= JSON (requires p5-JSON-XS, p5-Try-Tiny)
MODULES_DESC= Plugin support not present in Perl CORE
DECODEUTFKEYS_RUN_DEPENDS= p5-URI>0:net/p5-URI
GEOIPFREE_RUN_DEPENDS= p5-Geo-IPfree>=0:net/p5-Geo-IPfree
HOSTINFO_RUN_DEPENDS= p5-Net-XWhois>=0:net/p5-Net-XWhois
IPV6_RUN_DEPENDS= p5-Net-IP>=0:net-mgmt/p5-Net-IP \
p5-Net-DNS>=0:dns/p5-Net-DNS
+JSON_RUN_DEPENDS= p5-JSON-XS>=0:converters/p5-JSON-XS \
+ p5-Try-Tiny>=0:lang/p5-Try-Tiny
+
+_DOCS= dolibarr httpd_conf nginx webmin
+_TOOLS= awstats_buildstaticpages.pl awstats_configure.pl \
+ awstats_exportlib.pl awstats_updateall.pl geoip_generator.pl \
+ logresolvemerge.pl maillogconvert.pl urlaliasbuilder.pl
+_CGI_BIN= awdownloadcsv.pl awredir.pl awstats.model.conf awstats.pl
+_SHARE_DIRS= lang lib plugins
+_WWW_DIRS= css icon js
pre-patch:
# This file is so messed up, not even dos2unix can fix it
@@ -60,28 +71,23 @@ post-patch:
-e 's|AWSTATS_PATH/wwwroot|AWSTATS_PATH|' \
${WRKSRC}/tools/awstats_configure.pl
-pre-install:
-.for f in dolibarr httpd_conf nginx webmin
- ${MV} ${WRKSRC}/tools/$f ${WRKSRC}/docs
-.endfor
+post-patch-JSON-off:
+ ${REINPLACE_CMD} -e '/^use JSON::XS;$$/d' -e '/^use Try::Tiny;$$/d' \
+ ${WRKSRC}/wwwroot/cgi-bin/awstats.pl
+
+pre-install-DOCS-on:
+ ${MV} ${_DOCS:C|^|${WRKSRC}/tools/|} ${WRKSRC}/docs
${RM} ${WRKSRC}/docs/*.bak
do-install:
- ${MKDIR} ${STAGEDIR}${WWWDIR}
- ${MKDIR} ${STAGEDIR}${WWWDIR}/tools
- ${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin
-.for f in awstats_buildstaticpages.pl awstats_configure.pl \
- awstats_exportlib.pl awstats_updateall.pl geoip_generator.pl \
- logresolvemerge.pl maillogconvert.pl urlaliasbuilder.pl
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/$f ${STAGEDIR}${WWWDIR}/tools
-.endfor
-.for f in awdownloadcsv.pl awredir.pl awstats.model.conf awstats.pl
- ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/$f ${STAGEDIR}${WWWDIR}/cgi-bin
-.endfor
- (cd ${WRKSRC}/wwwroot/cgi-bin && ${COPYTREE_SHARE} "lang lib plugins" ${STAGEDIR}${WWWDIR}/cgi-bin)
- (cd ${WRKSRC}/wwwroot && ${COPYTREE_SHARE} "css icon js" ${STAGEDIR}${WWWDIR})
+ ${MKDIR} ${STAGEDIR}${WWWDIR}/tools \
+ ${STAGEDIR}${WWWDIR}/cgi-bin \
+ ${STAGEDIR}${WWWDIR}/classes
+ ${INSTALL_SCRIPT} ${_TOOLS:C|^|${WRKSRC}/tools/|} ${STAGEDIR}${WWWDIR}/tools
+ ${INSTALL_SCRIPT} ${_CGI_BIN:C|^|${WRKSRC}/wwwroot/cgi-bin/|} ${STAGEDIR}${WWWDIR}/cgi-bin
+ (cd ${WRKSRC}/wwwroot/cgi-bin && ${COPYTREE_SHARE} "${_SHARE_DIRS}" ${STAGEDIR}${WWWDIR}/cgi-bin)
+ (cd ${WRKSRC}/wwwroot && ${COPYTREE_SHARE} "${_WWW_DIRS}" ${STAGEDIR}${WWWDIR})
(cd ${WRKSRC}/tools && ${COPYTREE_SHARE} xslt ${STAGEDIR}${WWWDIR}/tools)
- ${MKDIR} ${STAGEDIR}${WWWDIR}/classes
${INSTALL_DATA} ${WRKSRC}/wwwroot/classes/awgraphapplet.jar ${STAGEDIR}${WWWDIR}/classes
do-install-DOCS-on:
diff --git a/www/awstats/distinfo b/www/awstats/distinfo
index cb1cb43fdeea..1d839fa32010 100644
--- a/www/awstats/distinfo
+++ b/www/awstats/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674072959
-SHA256 (awstats-7.9.tar.gz) = 615178ed313d34315f15a522db1a5d12ca9c395e3785bb06280abff95d9a0546
-SIZE (awstats-7.9.tar.gz) = 2948602
+TIMESTAMP = 1757486846
+SHA256 (awstats-8.0.tar.gz) = 3ef76ff96c5398477dd8a11134e266e538a487067f6906a3ac8a38bfd11c11e0
+SIZE (awstats-8.0.tar.gz) = 2946665
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 8e5e9b009395..abf4a3b44f01 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,5 +1,5 @@
PORTNAME= chromium
-PORTVERSION= 140.0.7339.80
+PORTVERSION= 140.0.7339.127
PULSEMV= 16
PULSEV= ${PULSEMV}.1
CATEGORIES= www wayland
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index 7c6c9190d758..319144d4fc3d 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1756995431
-SHA256 (chromium-140.0.7339.80.tar.xz) = 2a58c3d8b46bb9bbce5cf47d6582545b5116bc0746979d526ad4cd0b924b98c0
-SIZE (chromium-140.0.7339.80.tar.xz) = 7411053124
+TIMESTAMP = 1757578935
+SHA256 (chromium-140.0.7339.127.tar.xz) = c65c8236c1f439a1f483c4bac20e4197ba8d8ac79f6bbcd9304842c98da8a1bc
+SIZE (chromium-140.0.7339.127.tar.xz) = 7422938488
SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
SIZE (pulseaudio-16.1.tar.gz) = 2763111
-SHA256 (chromium-140.0.7339.80-testdata.tar.xz) = 7380f82bff4590e89f921ed0c98adee7c84df0dbce2ee9820d42a8407881b338
-SIZE (chromium-140.0.7339.80-testdata.tar.xz) = 925095940
+SHA256 (chromium-140.0.7339.127-testdata.tar.xz) = d0a14d77bc15fd2cc4b063a4ff3c410e8486d5259e25b2cc927c5d5a80c6704f
+SIZE (chromium-140.0.7339.127-testdata.tar.xz) = 925215916
diff --git a/www/chromium/files/patch-build_rust_allocator_lib.rs b/www/chromium/files/patch-build_rust_allocator_lib.rs
new file mode 100644
index 000000000000..9f0e0b27b8f8
--- /dev/null
+++ b/www/chromium/files/patch-build_rust_allocator_lib.rs
@@ -0,0 +1,15 @@
+--- build/rust/allocator/lib.rs.orig 2025-09-08 09:17:21 UTC
++++ build/rust/allocator/lib.rs
+@@ -90,6 +90,12 @@ mod both_allocators {
+ #[linkage = "weak"]
+ fn __rust_no_alloc_shim_is_unstable_v2() {}
+
++ // TODO(crbug.com/422538133) Remove after rolling past
++ // https://github.com/rust-lang/rust/pull/141061
++ #[no_mangle]
++ #[linkage = "weak"]
++ static __rust_no_alloc_shim_is_unstable: u8 = 0;
++
+ // Mangle the symbol name as rustc expects.
+ #[rustc_std_internal_symbol]
+ #[allow(non_upper_case_globals)]
diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
index 2e7e1faddee9..067d45b16983 100644
--- a/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
+++ b/www/chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
@@ -1,4 +1,4 @@
---- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-09-06 10:01:20 UTC
+--- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-09-11 08:17:09 UTC
+++ chrome/browser/chrome_browser_interface_binders_webui.cc
@@ -51,18 +51,18 @@
#include "mojo/public/cpp/bindings/binder_map.h"
@@ -48,7 +48,7 @@
WhatsNewUI,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
NewTabPageUI>(map);
-@@ -1192,7 +1192,7 @@ void PopulateChromeWebUIFrameBinders(
+@@ -1193,7 +1193,7 @@ void PopulateChromeWebUIFrameBinders(
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn b/www/chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
index ee79a62cfa3d..d0062a20eb10 100644
--- a/www/chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
+++ b/www/chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/test_fonts/fontconfig/BUILD.gn.orig 2025-09-06 10:01:20 UTC
+--- third_party/test_fonts/fontconfig/BUILD.gn.orig 2025-09-11 08:17:09 UTC
+++ third_party/test_fonts/fontconfig/BUILD.gn
@@ -26,7 +26,11 @@ if (is_linux || is_chromeos) {
@@ -24,5 +24,5 @@
+ inputs = [ "$root_out_dir/etc/fonts/fonts.conf" ]
+ }
outputs = [
- "$root_out_dir/fontconfig_caches/fb5c91b2895aa445d23aebf7f9e2189c-le64.cache-10",
+ "$root_out_dir/fontconfig_caches/fb5c91b2895aa445d23aebf7f9e2189c-le64.cache-reindex1-10",
"$root_out_dir/fontconfig_caches/CACHEDIR.TAG",
diff --git a/www/chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc b/www/chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
index e35b4f53dc24..cd2fe3ae1b82 100644
--- a/www/chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
+++ b/www/chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
@@ -1,11 +1,11 @@
---- third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2025-09-06 10:01:20 UTC
+--- third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2025-09-11 08:17:09 UTC
+++ third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc
@@ -56,7 +56,7 @@ int main() {
FcFini();
// Check existence of intended fontconfig cache file.
-- auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-10";
-+ auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-" + FC_CACHE_VERSION;
+- auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-reindex1-10";
++ auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-reindex1-" + FC_CACHE_VERSION;
bool cache_exists = access(cache.c_str(), F_OK) == 0;
return !cache_exists;
}
diff --git a/www/chromium/files/patch-ui_accessibility_accessibility__features.cc b/www/chromium/files/patch-ui_accessibility_accessibility__features.cc
index a577c673c6b5..4a8e4c8d43f5 100644
--- a/www/chromium/files/patch-ui_accessibility_accessibility__features.cc
+++ b/www/chromium/files/patch-ui_accessibility_accessibility__features.cc
@@ -1,6 +1,6 @@
---- ui/accessibility/accessibility_features.cc.orig 2025-09-06 10:01:20 UTC
+--- ui/accessibility/accessibility_features.cc.orig 2025-09-11 08:17:09 UTC
+++ ui/accessibility/accessibility_features.cc
-@@ -507,7 +507,7 @@ bool IsScreenAITestModeEnabled() {
+@@ -516,7 +516,7 @@ bool IsScreenAITestModeEnabled() {
return base::FeatureList::IsEnabled(::features::kScreenAITestMode);
}
@@ -9,7 +9,7 @@
BASE_FEATURE(kScreenAIPartitionAllocAdvancedChecksEnabled,
"ScreenAIPartitionAllocAdvancedChecksEnabled",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -549,7 +549,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled
+@@ -558,7 +558,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled
}
#endif // BUILDFLAG(IS_MAC)
diff --git a/www/chromium/files/patch-ui_accessibility_accessibility__features.h b/www/chromium/files/patch-ui_accessibility_accessibility__features.h
index 5e23fc8d6aee..d2509082d384 100644
--- a/www/chromium/files/patch-ui_accessibility_accessibility__features.h
+++ b/www/chromium/files/patch-ui_accessibility_accessibility__features.h
@@ -1,6 +1,6 @@
---- ui/accessibility/accessibility_features.h.orig 2025-09-06 10:01:20 UTC
+--- ui/accessibility/accessibility_features.h.orig 2025-09-11 08:17:09 UTC
+++ ui/accessibility/accessibility_features.h
-@@ -339,7 +339,7 @@ AX_BASE_EXPORT bool IsScreenAIOCREnabled();
+@@ -345,7 +345,7 @@ AX_BASE_EXPORT bool IsScreenAIOCREnabled();
AX_BASE_EXPORT BASE_DECLARE_FEATURE(kScreenAITestMode);
AX_BASE_EXPORT bool IsScreenAITestModeEnabled();
@@ -9,7 +9,7 @@
// Enables advanced partition allocation checks in ScreenAI service.
// TODO(crbug.com/418199684): Remove when the bug is fixed.
AX_BASE_EXPORT BASE_DECLARE_FEATURE(
-@@ -366,7 +366,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc
+@@ -372,7 +372,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc
AX_BASE_EXPORT bool IsBlockRootWindowAccessibleNameChangeEventEnabled();
#endif // BUILDFLAG(IS_MAC)
diff --git a/www/dokuwiki/Makefile b/www/dokuwiki/Makefile
index 19c1e6d46160..adcded87a0cb 100644
--- a/www/dokuwiki/Makefile
+++ b/www/dokuwiki/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv2+ = ${WRKSRC}/vendor/geshi/geshi/LICENSE
LICENSE_FILE_MIT= ${WRKSRC}/vendor/composer/LICENSE
-DIST_VER= ${PORTNAME}-2025-05-14a
+DIST_VER= ${PORTNAME}-2025-05-14b
USES= cpe php:web,flavors shebangfix tar:tgz
USE_PHP= ctype filter gd iconv mbstring ldap pdo_mysql session simplexml xml zlib
NO_ARCH= YES
diff --git a/www/dokuwiki/distinfo b/www/dokuwiki/distinfo
index c4845e7667b5..ea6009d1fbdb 100644
--- a/www/dokuwiki/distinfo
+++ b/www/dokuwiki/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749796926
-SHA256 (dokuwiki-2025-05-14a.tgz) = 91e508832febe10c7317e484e946576692bf9181397f8dace1df006f8161176d
-SIZE (dokuwiki-2025-05-14a.tgz) = 4255545
+TIMESTAMP = 1757475414
+SHA256 (dokuwiki-2025-05-14b.tgz) = 1d10e8dc8ad769b1c56a53a8703db9345070663e8386ee6bded77d4881d090f3
+SIZE (dokuwiki-2025-05-14b.tgz) = 4243705
diff --git a/www/element-web/Makefile b/www/element-web/Makefile
index ac02825dd523..312f977adabe 100644
--- a/www/element-web/Makefile
+++ b/www/element-web/Makefile
@@ -1,6 +1,6 @@
PORTNAME= element
DISTVERSIONPREFIX= v
-DISTVERSION= 1.11.110
+DISTVERSION= 1.11.112
CATEGORIES= www
MASTER_SITES= https://github.com/element-hq/element-web/releases/download/${DISTVERSIONFULL}/
PKGNAMESUFFIX= -web
@@ -18,7 +18,7 @@ CPE_VENDOR= matrix
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
-PLIST_SUB= COMMITID=4cb917bfa6c2afdfec1e
+PLIST_SUB= COMMITID=b3c3c8d2f00311fdaff2
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
diff --git a/www/element-web/distinfo b/www/element-web/distinfo
index 55b2d2f9785f..9758fc76dca6 100644
--- a/www/element-web/distinfo
+++ b/www/element-web/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756754107
-SHA256 (element-v1.11.110.tar.gz) = d7cb1d0eacf1f1f2ff0d89308933db626aff4874aea22b3e17e6f9486c4f2e5b
-SIZE (element-v1.11.110.tar.gz) = 38145772
+TIMESTAMP = 1758044537
+SHA256 (element-v1.11.112.tar.gz) = 0231387379f6e81d41718dd87d866d2e4168de0f4b1c9dbe0791e388e8e1dd2a
+SIZE (element-v1.11.112.tar.gz) = 38012904
diff --git a/www/element-web/pkg-plist b/www/element-web/pkg-plist
index 4a926abc765b..b12f0dba1cdd 100644
--- a/www/element-web/pkg-plist
+++ b/www/element-web/pkg-plist
@@ -6,9 +6,6 @@
%%WWWDIR%%/bundles/%%COMMITID%%/1127.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/1188.js
%%WWWDIR%%/bundles/%%COMMITID%%/1188.js.map
-%%WWWDIR%%/bundles/%%COMMITID%%/1402.js
-%%WWWDIR%%/bundles/%%COMMITID%%/1402.js.LICENSE.txt
-%%WWWDIR%%/bundles/%%COMMITID%%/1402.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/1526.js
%%WWWDIR%%/bundles/%%COMMITID%%/1526.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/1787.js
@@ -28,9 +25,6 @@
%%WWWDIR%%/bundles/%%COMMITID%%/3260.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/3380.js
%%WWWDIR%%/bundles/%%COMMITID%%/3380.js.map
-%%WWWDIR%%/bundles/%%COMMITID%%/3486.js
-%%WWWDIR%%/bundles/%%COMMITID%%/3486.js.LICENSE.txt
-%%WWWDIR%%/bundles/%%COMMITID%%/3486.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/3508.js
%%WWWDIR%%/bundles/%%COMMITID%%/3636.js
%%WWWDIR%%/bundles/%%COMMITID%%/3636.js.map
@@ -51,8 +45,14 @@
%%WWWDIR%%/bundles/%%COMMITID%%/5914.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/6063.js
%%WWWDIR%%/bundles/%%COMMITID%%/6063.js.map
+%%WWWDIR%%/bundles/%%COMMITID%%/6295.js
+%%WWWDIR%%/bundles/%%COMMITID%%/6295.js.LICENSE.txt
+%%WWWDIR%%/bundles/%%COMMITID%%/6295.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/6311.js
%%WWWDIR%%/bundles/%%COMMITID%%/6311.js.map
+%%WWWDIR%%/bundles/%%COMMITID%%/6406.js
+%%WWWDIR%%/bundles/%%COMMITID%%/6406.js.LICENSE.txt
+%%WWWDIR%%/bundles/%%COMMITID%%/6406.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/6501.js
%%WWWDIR%%/bundles/%%COMMITID%%/6501.js.map
%%WWWDIR%%/bundles/%%COMMITID%%/6717.js
@@ -343,17 +343,17 @@
%%WWWDIR%%/fonts/inter-vietnamese-700-italic.feddee8.woff2
%%WWWDIR%%/fonts/inter-vietnamese-700-normal.5d9bfca.woff2
%%WWWDIR%%/fonts/inter-vietnamese-700-normal.cceb6e3.woff
-%%WWWDIR%%/i18n/cs.46fdf9f.json
+%%WWWDIR%%/i18n/cs.95b61d4.json
%%WWWDIR%%/i18n/cy.6299f43.json
%%WWWDIR%%/i18n/de_DE.ecfbe41.json
%%WWWDIR%%/i18n/el.d9243f0.json
-%%WWWDIR%%/i18n/en_EN.02e2a9d.json
+%%WWWDIR%%/i18n/en_EN.9773122.json
%%WWWDIR%%/i18n/eo.38fe19a.json
%%WWWDIR%%/i18n/es.cf16fec.json
-%%WWWDIR%%/i18n/et.e0dac39.json
+%%WWWDIR%%/i18n/et.c1c8f3f.json
%%WWWDIR%%/i18n/fa.d3082cf.json
%%WWWDIR%%/i18n/fi.5d8be7e.json
-%%WWWDIR%%/i18n/fr.3d5fd39.json
+%%WWWDIR%%/i18n/fr.e653e01.json
%%WWWDIR%%/i18n/gl.537c630.json
%%WWWDIR%%/i18n/he.83b6e90.json
%%WWWDIR%%/i18n/hu.81faab0.json
@@ -362,21 +362,21 @@
%%WWWDIR%%/i18n/it.43bfddf.json
%%WWWDIR%%/i18n/ja.cc1906f.json
%%WWWDIR%%/i18n/ka.047bb51.json
-%%WWWDIR%%/i18n/languages.489b066.json
+%%WWWDIR%%/i18n/languages.637d06d.json
%%WWWDIR%%/i18n/languages.json
%%WWWDIR%%/i18n/lo.1a01478.json
%%WWWDIR%%/i18n/lt.758c193.json
%%WWWDIR%%/i18n/lv.4878bf2.json
%%WWWDIR%%/i18n/mg_MG.b1e631d.json
-%%WWWDIR%%/i18n/nb_NO.a65731e.json
+%%WWWDIR%%/i18n/nb_NO.c8ec558.json
%%WWWDIR%%/i18n/nl.0fe0ef7.json
%%WWWDIR%%/i18n/pl.5349fe2.json
%%WWWDIR%%/i18n/pt.4f6bc7e.json
%%WWWDIR%%/i18n/pt_BR.a9c5a04.json
%%WWWDIR%%/i18n/ru.52cf8d5.json
-%%WWWDIR%%/i18n/sk.8d19a36.json
+%%WWWDIR%%/i18n/sk.c149ed3.json
%%WWWDIR%%/i18n/sq.a4814b4.json
-%%WWWDIR%%/i18n/sv.69ad838.json
+%%WWWDIR%%/i18n/sv.b14d2ff.json
%%WWWDIR%%/i18n/tr.5ec7421.json
%%WWWDIR%%/i18n/uk.47ad151.json
%%WWWDIR%%/i18n/vi.537aa28.json
diff --git a/www/elgg/Makefile b/www/elgg/Makefile
index ba5d2d338ca9..49a5858aafc2 100644
--- a/www/elgg/Makefile
+++ b/www/elgg/Makefile
@@ -1,5 +1,5 @@
PORTNAME= elgg
-PORTVERSION= 6.2.3
+PORTVERSION= 6.3.0
CATEGORIES= www
MASTER_SITES= http://elgg.org/download/
diff --git a/www/elgg/distinfo b/www/elgg/distinfo
index cd2fa3650326..37c414072e38 100644
--- a/www/elgg/distinfo
+++ b/www/elgg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753359904
-SHA256 (elgg-6.2.3.zip) = fb44422760333aba401a01d4b6cbcc0378b444da96d4b8a43d1cf17b6d3ecce8
-SIZE (elgg-6.2.3.zip) = 47985039
+TIMESTAMP = 1758164372
+SHA256 (elgg-6.3.0.zip) = a041bdbf8c638d9560913ffdac01b11159d6ad558e33e24c4ea15227ad062f0b
+SIZE (elgg-6.3.0.zip) = 49150607
diff --git a/www/elgg/pkg-plist b/www/elgg/pkg-plist
index f569b1173c99..d0e23cfbb917 100644
--- a/www/elgg/pkg-plist
+++ b/www/elgg/pkg-plist
@@ -159,6 +159,8 @@
%%WWWDIR%%/mod/bookmarks/views/default/forms/bookmarks/save.php
%%WWWDIR%%/mod/bookmarks/views/default/groups/profile/module/bookmarks.php
%%WWWDIR%%/mod/bookmarks/views/default/object/bookmarks.php
+%%WWWDIR%%/mod/bookmarks/views/default/object/bookmarks/full.php
+%%WWWDIR%%/mod/bookmarks/views/default/object/bookmarks/summary.php
%%WWWDIR%%/mod/bookmarks/views/default/resources/bookmarks/add.php
%%WWWDIR%%/mod/bookmarks/views/default/resources/bookmarks/all.php
%%WWWDIR%%/mod/bookmarks/views/default/resources/bookmarks/bookmarklet.php
@@ -337,6 +339,7 @@
%%WWWDIR%%/mod/developers/views/default/admin/develop_tools/inspect/actions.php
%%WWWDIR%%/mod/developers/views/default/admin/develop_tools/inspect/events.php
%%WWWDIR%%/mod/developers/views/default/admin/develop_tools/inspect/menus.php
+%%WWWDIR%%/mod/developers/views/default/admin/develop_tools/inspect/notifications.php
%%WWWDIR%%/mod/developers/views/default/admin/develop_tools/inspect/routes.php
%%WWWDIR%%/mod/developers/views/default/admin/develop_tools/inspect/seeders.php
%%WWWDIR%%/mod/developers/views/default/admin/develop_tools/inspect/services.php
@@ -408,6 +411,7 @@
%%WWWDIR%%/mod/externalpages/classes/Elgg/ExternalPages/Menus/ExPages.php
%%WWWDIR%%/mod/externalpages/classes/Elgg/ExternalPages/Menus/Footer.php
%%WWWDIR%%/mod/externalpages/classes/Elgg/ExternalPages/Menus/WalledGarden.php
+%%WWWDIR%%/mod/externalpages/classes/ElggExternalPage.php
%%WWWDIR%%/mod/externalpages/composer.json
%%WWWDIR%%/mod/externalpages/elgg-plugin.php
%%WWWDIR%%/mod/externalpages/languages/ca.php
@@ -514,6 +518,10 @@
%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Menus/Topbar.php
%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Menus/UserHover.php
%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Notifications.php
+%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Notifications/AcceptFriendRequestHandler.php
+%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Notifications/AddFriendHandler.php
+%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Notifications/DeclineFriendRequestHandler.php
+%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Notifications/FriendRequestHandler.php
%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Relationships.php
%%WWWDIR%%/mod/friends/classes/Elgg/Friends/Widgets.php
%%WWWDIR%%/mod/friends/composer.json
@@ -612,6 +620,9 @@
%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Menus/Title.php
%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Menus/Topbar.php
%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Middleware/LimitedGroupCreation.php
+%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Notifications/AddMembershipEventHandler.php
+%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Notifications/InviteMembershipEventHandler.php
+%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Notifications/RequestMembershipEventHandler.php
%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Relationships.php
%%WWWDIR%%/mod/groups/classes/Elgg/Groups/Widgets.php
%%WWWDIR%%/mod/groups/composer.json
@@ -808,6 +819,7 @@
%%WWWDIR%%/mod/members/views/default/resources/members/popular.php
%%WWWDIR%%/mod/members/views/default/resources/members/search.php
%%WWWDIR%%/mod/messageboard/actions/messageboard/add.php
+%%WWWDIR%%/mod/messageboard/classes/Elgg/MessageBoard/Notifications/CreateMessageboardNotificationHandler.php
%%WWWDIR%%/mod/messageboard/classes/Elgg/MessageBoard/Widgets.php
%%WWWDIR%%/mod/messageboard/composer.json
%%WWWDIR%%/mod/messageboard/elgg-plugin.php
@@ -846,6 +858,7 @@
%%WWWDIR%%/mod/messages/classes/Elgg/Messages/Menus/Title.php
%%WWWDIR%%/mod/messages/classes/Elgg/Messages/Menus/Topbar.php
%%WWWDIR%%/mod/messages/classes/Elgg/Messages/Menus/UserHover.php
+%%WWWDIR%%/mod/messages/classes/Elgg/Messages/Notifications/SendMessageHandler.php
%%WWWDIR%%/mod/messages/classes/Elgg/Messages/User.php
%%WWWDIR%%/mod/messages/classes/ElggMessage.php
%%WWWDIR%%/mod/messages/composer.json
@@ -1292,6 +1305,8 @@
%%WWWDIR%%/mod/thewire/views/default/forms/thewire/add.mjs
%%WWWDIR%%/mod/thewire/views/default/forms/thewire/add.php
%%WWWDIR%%/mod/thewire/views/default/object/thewire.php
+%%WWWDIR%%/mod/thewire/views/default/object/thewire/full.php
+%%WWWDIR%%/mod/thewire/views/default/object/thewire/summary.php
%%WWWDIR%%/mod/thewire/views/default/plugins/thewire/settings.php
%%WWWDIR%%/mod/thewire/views/default/resources/thewire/all.php
%%WWWDIR%%/mod/thewire/views/default/resources/thewire/friends.php
@@ -1320,6 +1335,7 @@
%%WWWDIR%%/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/ConfirmController.php
%%WWWDIR%%/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Menus/AdminUsersBulk.php
%%WWWDIR%%/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Menus/UserUnvalidated.php
+%%WWWDIR%%/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Notifications/ValidateEmailHandler.php
%%WWWDIR%%/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Response.php
%%WWWDIR%%/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/User.php
%%WWWDIR%%/mod/uservalidationbyemail/composer.json
@@ -1807,7 +1823,9 @@
%%WWWDIR%%/vendor/css-crush/css-crush/docs/plugins/property-sorter.md
%%WWWDIR%%/vendor/css-crush/css-crush/docs/plugins/svg-gradients.md
%%WWWDIR%%/vendor/css-crush/css-crush/docs/plugins/svg.md
-%%WWWDIR%%/vendor/css-crush/css-crush/index.js
+%%WWWDIR%%/vendor/css-crush/css-crush/js/index.d.ts
+%%WWWDIR%%/vendor/css-crush/css-crush/js/index.js
+%%WWWDIR%%/vendor/css-crush/css-crush/jsconfig.json
%%WWWDIR%%/vendor/css-crush/css-crush/lib/CssCrush/BalancedMatch.php
%%WWWDIR%%/vendor/css-crush/css-crush/lib/CssCrush/Collection.php
%%WWWDIR%%/vendor/css-crush/css-crush/lib/CssCrush/Color.php
@@ -1845,6 +1863,7 @@
%%WWWDIR%%/vendor/css-crush/css-crush/misc/property-sorting.ini
%%WWWDIR%%/vendor/css-crush/css-crush/package-lock.json
%%WWWDIR%%/vendor/css-crush/css-crush/package.json
+%%WWWDIR%%/vendor/css-crush/css-crush/phpstan.neon
%%WWWDIR%%/vendor/css-crush/css-crush/plugins/aria.php
%%WWWDIR%%/vendor/css-crush/css-crush/plugins/canvas.php
%%WWWDIR%%/vendor/css-crush/css-crush/plugins/ease.php
@@ -2210,6 +2229,7 @@
%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/HoursField.php
%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/MinutesField.php
%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/MonthField.php
+%%WWWDIR%%/vendor/elgg/elgg/.editorconfig
%%WWWDIR%%/vendor/elgg/elgg/.github/ISSUE_TEMPLATE/bug_report.yml
%%WWWDIR%%/vendor/elgg/elgg/.github/ISSUE_TEMPLATE/config.yml
%%WWWDIR%%/vendor/elgg/elgg/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -2380,6 +2400,7 @@
%%WWWDIR%%/vendor/elgg/elgg/docs/appendix/upgrade-notes/5.x-to-6.0.rst
%%WWWDIR%%/vendor/elgg/elgg/docs/appendix/upgrade-notes/6.0-to-6.1.rst
%%WWWDIR%%/vendor/elgg/elgg/docs/appendix/upgrade-notes/6.1-to-6.2.rst
+%%WWWDIR%%/vendor/elgg/elgg/docs/appendix/upgrade-notes/6.2-to-6.3.rst
%%WWWDIR%%/vendor/elgg/elgg/docs/conf.py
%%WWWDIR%%/vendor/elgg/elgg/docs/contribute/code.rst
%%WWWDIR%%/vendor/elgg/elgg/docs/contribute/core/index.rst
@@ -2575,6 +2596,7 @@
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Cli/CachePurgeCommand.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Cli/Command.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Cli/CronCommand.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Cli/CronLogHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Cli/DatabaseSeedCommand.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Cli/DatabaseSeedersCommand.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Cli/DatabaseUnseedCommand.php
@@ -2859,11 +2881,21 @@
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/CreateCommentEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/CreateContentEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/EnqueueEventHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/AddUser.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/AdminValidation.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/BanUser.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/ChangeUserPassword.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/ConfirmEmailChange.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/ConfirmPasswordChange.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/RequestUserPassword.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/ResetUserPassword.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Handlers/ValidateUser.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/InstantNotificationEvent.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/InstantNotificationEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/MakeAdminUserEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/MentionsEnqueueEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/MentionsEventHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/NonConfigurableNotificationEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/Notification.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/NotificationEvent.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Notifications/NotificationEventHandler.php
@@ -2991,7 +3023,6 @@
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/UploadService.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/UserCapabilities.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Users/Accounts.php
-%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Users/BanUserNotificationHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Users/CleanupPersistentLoginHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Users/EmailChangeController.php
%%WWWDIR%%/vendor/elgg/elgg/engine/classes/Elgg/Users/Settings.php
@@ -3057,6 +3088,7 @@
%%WWWDIR%%/vendor/elgg/elgg/engine/lib/constants.php
%%WWWDIR%%/vendor/elgg/elgg/engine/lib/context.php
%%WWWDIR%%/vendor/elgg/elgg/engine/lib/deprecated-6.1.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/lib/deprecated-6.3.php
%%WWWDIR%%/vendor/elgg/elgg/engine/lib/elgglib.php
%%WWWDIR%%/vendor/elgg/elgg/engine/lib/entities.php
%%WWWDIR%%/vendor/elgg/elgg/engine/lib/events.php
@@ -3145,6 +3177,8 @@
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/BaseIntegrationTestCase.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/BaseTestCase.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Cache/BaseCacheUnitTestCase.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Cli/ExecuteCommandIntegrationTestCase.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Cli/ExecuteCommandUnitTestCase.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/EventTesting.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/Actions/Admin/UpgradeTestBatch.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/Application/FooController.php
@@ -3171,6 +3205,8 @@
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/ElggObjectWithExposableAttributes.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/EventsServiceTestInvokable.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/MethodMatcherTestObject.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/Notifications/TestNotificationHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/SeededElggObject.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/TestEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/TestEventResultsHandler.php
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/classes/Elgg/Helpers/Upgrade/InvalidBatch.php
@@ -3647,9 +3683,7 @@
%%WWWDIR%%/vendor/elgg/elgg/engine/tests/test_files/xxe/request.xml
%%WWWDIR%%/vendor/elgg/elgg/engine/theme.php
%%WWWDIR%%/vendor/elgg/elgg/engine/upgrades.php
-%%WWWDIR%%/vendor/elgg/elgg/engine/vendor_classes/CssCrush/BalancedMatch.php
%%WWWDIR%%/vendor/elgg/elgg/engine/vendor_classes/CssCrush/Process.php
-%%WWWDIR%%/vendor/elgg/elgg/engine/vendor_classes/CssCrush/StringObject.php
%%WWWDIR%%/vendor/elgg/elgg/engine/vendor_classes/Laminas/Mime/Mime.php
%%WWWDIR%%/vendor/elgg/elgg/engine/views.php
%%WWWDIR%%/vendor/elgg/elgg/index.php
@@ -3843,6 +3877,8 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/forms/bookmarks/save.php
%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/groups/profile/module/bookmarks.php
%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/object/bookmarks.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/object/bookmarks/full.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/object/bookmarks/summary.php
%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/resources/bookmarks/add.php
%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/resources/bookmarks/all.php
%%WWWDIR%%/vendor/elgg/elgg/mod/bookmarks/views/default/resources/bookmarks/bookmarklet.php
@@ -4021,6 +4057,7 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/developers/views/default/admin/develop_tools/inspect/actions.php
%%WWWDIR%%/vendor/elgg/elgg/mod/developers/views/default/admin/develop_tools/inspect/events.php
%%WWWDIR%%/vendor/elgg/elgg/mod/developers/views/default/admin/develop_tools/inspect/menus.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/developers/views/default/admin/develop_tools/inspect/notifications.php
%%WWWDIR%%/vendor/elgg/elgg/mod/developers/views/default/admin/develop_tools/inspect/routes.php
%%WWWDIR%%/vendor/elgg/elgg/mod/developers/views/default/admin/develop_tools/inspect/seeders.php
%%WWWDIR%%/vendor/elgg/elgg/mod/developers/views/default/admin/develop_tools/inspect/services.php
@@ -4092,6 +4129,7 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/externalpages/classes/Elgg/ExternalPages/Menus/ExPages.php
%%WWWDIR%%/vendor/elgg/elgg/mod/externalpages/classes/Elgg/ExternalPages/Menus/Footer.php
%%WWWDIR%%/vendor/elgg/elgg/mod/externalpages/classes/Elgg/ExternalPages/Menus/WalledGarden.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/externalpages/classes/ElggExternalPage.php
%%WWWDIR%%/vendor/elgg/elgg/mod/externalpages/composer.json
%%WWWDIR%%/vendor/elgg/elgg/mod/externalpages/elgg-plugin.php
%%WWWDIR%%/vendor/elgg/elgg/mod/externalpages/languages/ca.php
@@ -4198,6 +4236,10 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Menus/Topbar.php
%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Menus/UserHover.php
%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Notifications.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Notifications/AcceptFriendRequestHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Notifications/AddFriendHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Notifications/DeclineFriendRequestHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Notifications/FriendRequestHandler.php
%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Relationships.php
%%WWWDIR%%/vendor/elgg/elgg/mod/friends/classes/Elgg/Friends/Widgets.php
%%WWWDIR%%/vendor/elgg/elgg/mod/friends/composer.json
@@ -4296,6 +4338,9 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Menus/Title.php
%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Menus/Topbar.php
%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Middleware/LimitedGroupCreation.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Notifications/AddMembershipEventHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Notifications/InviteMembershipEventHandler.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Notifications/RequestMembershipEventHandler.php
%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Relationships.php
%%WWWDIR%%/vendor/elgg/elgg/mod/groups/classes/Elgg/Groups/Widgets.php
%%WWWDIR%%/vendor/elgg/elgg/mod/groups/composer.json
@@ -4492,6 +4537,7 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/members/views/default/resources/members/popular.php
%%WWWDIR%%/vendor/elgg/elgg/mod/members/views/default/resources/members/search.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messageboard/actions/messageboard/add.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/messageboard/classes/Elgg/MessageBoard/Notifications/CreateMessageboardNotificationHandler.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messageboard/classes/Elgg/MessageBoard/Widgets.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messageboard/composer.json
%%WWWDIR%%/vendor/elgg/elgg/mod/messageboard/elgg-plugin.php
@@ -4530,6 +4576,7 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/messages/classes/Elgg/Messages/Menus/Title.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messages/classes/Elgg/Messages/Menus/Topbar.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messages/classes/Elgg/Messages/Menus/UserHover.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/messages/classes/Elgg/Messages/Notifications/SendMessageHandler.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messages/classes/Elgg/Messages/User.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messages/classes/ElggMessage.php
%%WWWDIR%%/vendor/elgg/elgg/mod/messages/composer.json
@@ -4976,6 +5023,8 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/forms/thewire/add.mjs
%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/forms/thewire/add.php
%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/object/thewire.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/object/thewire/full.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/object/thewire/summary.php
%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/plugins/thewire/settings.php
%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/resources/thewire/all.php
%%WWWDIR%%/vendor/elgg/elgg/mod/thewire/views/default/resources/thewire/friends.php
@@ -5004,6 +5053,7 @@
%%WWWDIR%%/vendor/elgg/elgg/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/ConfirmController.php
%%WWWDIR%%/vendor/elgg/elgg/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Menus/AdminUsersBulk.php
%%WWWDIR%%/vendor/elgg/elgg/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Menus/UserUnvalidated.php
+%%WWWDIR%%/vendor/elgg/elgg/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Notifications/ValidateEmailHandler.php
%%WWWDIR%%/vendor/elgg/elgg/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/Response.php
%%WWWDIR%%/vendor/elgg/elgg/mod/uservalidationbyemail/classes/Elgg/UserValidationByEmail/User.php
%%WWWDIR%%/vendor/elgg/elgg/mod/uservalidationbyemail/composer.json
@@ -5313,6 +5363,7 @@
%%WWWDIR%%/vendor/elgg/elgg/views/default/graphics/favicon-64.png
%%WWWDIR%%/vendor/elgg/elgg/views/default/graphics/favicon.ico
%%WWWDIR%%/vendor/elgg/elgg/views/default/graphics/favicon.svg
+%%WWWDIR%%/vendor/elgg/elgg/views/default/graphics/maintenance.jpg
%%WWWDIR%%/vendor/elgg/elgg/views/default/graphics/walled_garden.jpg
%%WWWDIR%%/vendor/elgg/elgg/views/default/group/default.php
%%WWWDIR%%/vendor/elgg/elgg/views/default/group/elements/summary.php
@@ -5525,6 +5576,8 @@
%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/header_logo.php
%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/html.php
%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/importmap.json.php
+%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/maintenance/body.php
+%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/maintenance/header.php
%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/messages.php
%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/owner_block.php
%%WWWDIR%%/vendor/elgg/elgg/views/default/page/elements/page_menu.php
@@ -12952,6 +13005,7 @@
%%WWWDIR%%/vendor/guzzlehttp/guzzle/README.md
%%WWWDIR%%/vendor/guzzlehttp/guzzle/UPGRADING.md
%%WWWDIR%%/vendor/guzzlehttp/guzzle/composer.json
+%%WWWDIR%%/vendor/guzzlehttp/guzzle/package-lock.json
%%WWWDIR%%/vendor/guzzlehttp/guzzle/src/BodySummarizer.php
%%WWWDIR%%/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php
%%WWWDIR%%/vendor/guzzlehttp/guzzle/src/Client.php
@@ -13065,6 +13119,7 @@
%%WWWDIR%%/vendor/hackzilla/password-generator/Generator/PasswordGeneratorInterface.php
%%WWWDIR%%/vendor/hackzilla/password-generator/Generator/PronounceablePasswordGenerator.php
%%WWWDIR%%/vendor/hackzilla/password-generator/Generator/RequirementPasswordGenerator.php
+%%WWWDIR%%/vendor/hackzilla/password-generator/LICENSE
%%WWWDIR%%/vendor/hackzilla/password-generator/Makefile
%%WWWDIR%%/vendor/hackzilla/password-generator/Model/CharacterSet.php
%%WWWDIR%%/vendor/hackzilla/password-generator/Model/Option/BooleanOption.php
@@ -13102,6 +13157,14 @@
%%WWWDIR%%/vendor/hackzilla/password-generator/composer.json
%%WWWDIR%%/vendor/hackzilla/password-generator/phpunit.xml.dist
%%WWWDIR%%/vendor/hackzilla/password-generator/travis.phpunit.xml
+%%WWWDIR%%/vendor/htmlawed/htmlawed/LICENSE-GPL2
+%%WWWDIR%%/vendor/htmlawed/htmlawed/LICENSE-LGPL3
+%%WWWDIR%%/vendor/htmlawed/htmlawed/README.md
+%%WWWDIR%%/vendor/htmlawed/htmlawed/composer.json
+%%WWWDIR%%/vendor/htmlawed/htmlawed/htmLawed.php
+%%WWWDIR%%/vendor/htmlawed/htmlawed/htmLawed_README.htm
+%%WWWDIR%%/vendor/htmlawed/htmlawed/htmLawed_README.txt
+%%WWWDIR%%/vendor/htmlawed/htmlawed/htmLawed_TESTCASE.txt
%%WWWDIR%%/vendor/imagine/imagine/CHANGELOG.md
%%WWWDIR%%/vendor/imagine/imagine/LICENSE
%%WWWDIR%%/vendor/imagine/imagine/README.md
@@ -14017,6 +14080,7 @@
%%WWWDIR%%/vendor/monolog/monolog/src/Monolog/Registry.php
%%WWWDIR%%/vendor/monolog/monolog/src/Monolog/ResettableInterface.php
%%WWWDIR%%/vendor/monolog/monolog/src/Monolog/SignalHandler.php
+%%WWWDIR%%/vendor/monolog/monolog/src/Monolog/Test/MonologTestCase.php
%%WWWDIR%%/vendor/monolog/monolog/src/Monolog/Test/TestCase.php
%%WWWDIR%%/vendor/monolog/monolog/src/Monolog/Utils.php
%%WWWDIR%%/vendor/npm-asset/cropperjs/LICENSE
@@ -15018,7 +15082,9 @@
%%WWWDIR%%/vendor/php-di/php-di/src/Invoker/DefinitionParameterResolver.php
%%WWWDIR%%/vendor/php-di/php-di/src/Invoker/FactoryParameterResolver.php
%%WWWDIR%%/vendor/php-di/php-di/src/NotFoundException.php
+%%WWWDIR%%/vendor/php-di/php-di/src/Proxy/NativeProxyFactory.php
%%WWWDIR%%/vendor/php-di/php-di/src/Proxy/ProxyFactory.php
+%%WWWDIR%%/vendor/php-di/php-di/src/Proxy/ProxyFactoryInterface.php
%%WWWDIR%%/vendor/php-di/php-di/src/functions.php
%%WWWDIR%%/vendor/php-di/php-di/support.md
%%WWWDIR%%/vendor/phpfastcache/phpfastcache/CHANGELOG.md
@@ -15368,12 +15434,15 @@
%%WWWDIR%%/vendor/sabberworm/php-css-parser/LICENSE
%%WWWDIR%%/vendor/sabberworm/php-css-parser/README.md
%%WWWDIR%%/vendor/sabberworm/php-css-parser/composer.json
+%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/CSSElement.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/CSSList/AtRuleBlockList.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/CSSList/CSSBlockList.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/CSSList/CSSList.php
+%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/CSSList/CSSListItem.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/CSSList/Document.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/CSSList/KeyFrame.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Comment/Comment.php
+%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Comment/CommentContainer.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Comment/Commentable.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/OutputFormat.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/OutputFormatter.php
@@ -15384,16 +15453,20 @@
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Parsing/SourceException.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Parsing/UnexpectedEOFException.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Parsing/UnexpectedTokenException.php
+%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Position/Position.php
+%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Position/Positionable.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Property/AtRule.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Property/CSSNamespace.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Property/Charset.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Property/Import.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Property/KeyframeSelector.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Property/Selector.php
+%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Property/Selector/SpecificityCalculator.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Renderable.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Rule/Rule.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/RuleSet/AtRuleSet.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/RuleSet/DeclarationBlock.php
+%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/RuleSet/RuleContainer.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/RuleSet/RuleSet.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Settings.php
%%WWWDIR%%/vendor/sabberworm/php-css-parser/src/Value/CSSFunction.php
@@ -16131,13 +16204,6 @@
%%WWWDIR%%/vendor/symfony/var-dumper/Test/VarDumperTestTrait.php
%%WWWDIR%%/vendor/symfony/var-dumper/VarDumper.php
%%WWWDIR%%/vendor/symfony/var-dumper/composer.json
-%%WWWDIR%%/vendor/vanilla/htmlawed/.github/workflows/ci.yml
-%%WWWDIR%%/vendor/vanilla/htmlawed/CHANGELOG.md
-%%WWWDIR%%/vendor/vanilla/htmlawed/LICENSE.md
-%%WWWDIR%%/vendor/vanilla/htmlawed/README.md
-%%WWWDIR%%/vendor/vanilla/htmlawed/composer.json
-%%WWWDIR%%/vendor/vanilla/htmlawed/src/Htmlawed.php
-%%WWWDIR%%/vendor/vanilla/htmlawed/src/htmLawed/htmLawed.php
%%WWWDIR%%/vendor/webmozart/assert/CHANGELOG.md
%%WWWDIR%%/vendor/webmozart/assert/LICENSE
%%WWWDIR%%/vendor/webmozart/assert/README.md
diff --git a/www/falkon/distinfo b/www/falkon/distinfo
index a2461b6f0d55..aeb32108836d 100644
--- a/www/falkon/distinfo
+++ b/www/falkon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754646602
-SHA256 (KDE/release-service/25.08.0/falkon-25.08.0.tar.xz) = 5cd8023ae4b667fa775b109a94c4e2ceaa9f5bf531ad9656673088d1c69a8667
-SIZE (KDE/release-service/25.08.0/falkon-25.08.0.tar.xz) = 2698532
+TIMESTAMP = 1757410989
+SHA256 (KDE/release-service/25.08.1/falkon-25.08.1.tar.xz) = fd383af07ff52a30b1b9da89a01d9ab9e9f1afa5fc2567526ba231432ae78980
+SIZE (KDE/release-service/25.08.1/falkon-25.08.1.tar.xz) = 2698488
diff --git a/www/filebrowser-quantum/Makefile b/www/filebrowser-quantum/Makefile
index fed39f7a842d..8fce1d4b1734 100644
--- a/www/filebrowser-quantum/Makefile
+++ b/www/filebrowser-quantum/Makefile
@@ -1,6 +1,6 @@
PORTNAME= filebrowser-quantum
DISTVERSIONPREFIX= v
-DISTVERSION= 0.8.4-beta
+DISTVERSION= 0.8.6-beta
CATEGORIES= www
MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/
DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} \
diff --git a/www/filebrowser-quantum/distinfo b/www/filebrowser-quantum/distinfo
index 3b70a9054236..5be1f0e2f503 100644
--- a/www/filebrowser-quantum/distinfo
+++ b/www/filebrowser-quantum/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1757114189
-SHA256 (filebrowser-quantum-v0.8.4-beta.frontend.tar.gz) = 1235e419db970ed91db2d1747b75cfe059bd23b0424ec385bdd8d3747f8ca1c2
-SIZE (filebrowser-quantum-v0.8.4-beta.frontend.tar.gz) = 1896838
-SHA256 (filebrowser-quantum-v0.8.4-beta.vendor.tar.gz) = b3e4254a34f2d066015a759680b302847d3e38c4b287dee1bc3d42c15eaea5f4
-SIZE (filebrowser-quantum-v0.8.4-beta.vendor.tar.gz) = 67716596
-SHA256 (gtsteffaniak-filebrowser-v0.8.4-beta_GH0.tar.gz) = 54d508cf7656c0c9eac75a3cd86511432f4b95da88928b02a92bc8dd428872d3
-SIZE (gtsteffaniak-filebrowser-v0.8.4-beta_GH0.tar.gz) = 4491385
+TIMESTAMP = 1758087144
+SHA256 (filebrowser-quantum-v0.8.6-beta.frontend.tar.gz) = 6e4b0ef4a783668af4fa9ac7a67061c3edb110d8a1887f7e3359adddb19ac3be
+SIZE (filebrowser-quantum-v0.8.6-beta.frontend.tar.gz) = 1886866
+SHA256 (filebrowser-quantum-v0.8.6-beta.vendor.tar.gz) = 58f48e23d46e954fe48424185d02da7750062194e42b0a945545487e6f5f664a
+SIZE (filebrowser-quantum-v0.8.6-beta.vendor.tar.gz) = 67778215
+SHA256 (gtsteffaniak-filebrowser-v0.8.6-beta_GH0.tar.gz) = a021d2e874c856789fe3f629a6ce31b9db1e823d3511bd144a6a8923af14ac4f
+SIZE (gtsteffaniak-filebrowser-v0.8.6-beta_GH0.tar.gz) = 4538017
diff --git a/www/filebrowser/Makefile b/www/filebrowser/Makefile
index 147e96ad92f3..6cc85796d3fd 100644
--- a/www/filebrowser/Makefile
+++ b/www/filebrowser/Makefile
@@ -1,7 +1,6 @@
PORTNAME= filebrowser
DISTVERSIONPREFIX= v
-DISTVERSION= 2.42.5
-PORTREVISION= 1
+DISTVERSION= 2.43.0
CATEGORIES= www
MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/
DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX}
diff --git a/www/filebrowser/distinfo b/www/filebrowser/distinfo
index bc22431ffe56..0cb692c55041 100644
--- a/www/filebrowser/distinfo
+++ b/www/filebrowser/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1755620460
-SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-v2.42.5.frontend.tar.gz) = e23f00d779f63acf5503f22ea9fb618f3bee47dfca126a0baaca2b78d74ca521
-SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-v2.42.5.frontend.tar.gz) = 2329400
-SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/go.mod) = 2d9ea37e7c9c4de9f21ebc040de03ea38bb5fd35c89a770d2535240a54c6df19
-SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/go.mod) = 3248
-SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-filebrowser-v2.42.5_GH0.tar.gz) = 2311adc3106fbc3d1f1b95c941c62c51e08eac8cda5da8a980634839d68b30cd
-SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-filebrowser-v2.42.5_GH0.tar.gz) = 5290730
+TIMESTAMP = 1757871114
+SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.43.0_GH0/filebrowser-v2.43.0.frontend.tar.gz) = 7ee1459bbc7ba0f1d77e800d56b922679975b33d046d7642a8fbd6c842812c8f
+SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.43.0_GH0/filebrowser-v2.43.0.frontend.tar.gz) = 2330932
+SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.43.0_GH0/go.mod) = 2d9ea37e7c9c4de9f21ebc040de03ea38bb5fd35c89a770d2535240a54c6df19
+SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.43.0_GH0/go.mod) = 3248
+SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.43.0_GH0/filebrowser-filebrowser-v2.43.0_GH0.tar.gz) = 9c3acee7567986ceef331e3eea0236b4dd9a41bf3874449fbb9bdc22c00a0aab
+SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.43.0_GH0/filebrowser-filebrowser-v2.43.0_GH0.tar.gz) = 5292870
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 9e4b5561fd17..3ad59771cd66 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -1,6 +1,5 @@
PORTNAME= firefox
-DISTVERSION= 140.2.0
-PORTREVISION= 2
+DISTVERSION= 140.3.0
PORTEPOCH= 1
CATEGORIES= www wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
diff --git a/www/firefox-esr/distinfo b/www/firefox-esr/distinfo
index 9b2d3f0fc244..6574baceeb1a 100644
--- a/www/firefox-esr/distinfo
+++ b/www/firefox-esr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754937436
-SHA256 (firefox-140.2.0esr.source.tar.xz) = 956dce675c3b706d563caf07ed3ca9af632ab830be710dfd4351da78a0a2ef55
-SIZE (firefox-140.2.0esr.source.tar.xz) = 631022940
+TIMESTAMP = 1757438037
+SHA256 (firefox-140.3.0esr.source.tar.xz) = efc6eb3c93756311bd2f9db3796c0bbee6e3f182975d857284168b3dec672316
+SIZE (firefox-140.3.0esr.source.tar.xz) = 645261332
diff --git a/www/firefox-esr/files/patch-bug1874059 b/www/firefox-esr/files/patch-bug1874059
deleted file mode 100644
index 3fa954ef9def..000000000000
--- a/www/firefox-esr/files/patch-bug1874059
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 56c888446600991803fd92d668349101ad4bf160
-Author: Christoph Moench-Tegeder <cmt@burggraben.net>
-Date: Tue Feb 6 22:51:27 2024 +0100
-
- switch to -fvisibility flags
-
- this fixes linkage with llvm18 (which does not like the former
- approach via the #pragma in gcc_hidden.h
-
- PR: 276746
- Submitted by: dim@
-
-diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure
-index d08b748db250..4696f69153f6 100644
---- build/moz.configure/toolchain.configure
-+++ build/moz.configure/toolchain.configure
-@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
- @depends(target, build_environment)
- def visibility_flags(target, env):
- if target.os != "WINNT":
-- if target.kernel == "Darwin":
-+ if target.kernel == "Darwin" or target.kernel == "FreeBSD":
- return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
- return (
- "-I%s/system_wrappers" % os.path.join(env.dist),
diff --git a/www/firefox-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp b/www/firefox-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp
deleted file mode 100644
index caac874012c9..000000000000
--- a/www/firefox-esr/files/patch-toolkit_xre_nsEmbedFunctions.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp
-index 9ce6af94637c..44165558f7ec 100644
---- toolkit/xre/nsEmbedFunctions.cpp
-+++ toolkit/xre/nsEmbedFunctions.cpp
-@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
- static_cast<CrashReporter::ProcessId>(*crashHelperPidArg);
- #endif // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)
-
-+#if !defined(XP_FREEBSD)
- exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler(
- std::move(*crashReporterArg), crashHelperPid);
- MOZ_ASSERT(exceptionHandlerIsSet,
- "Should have been able to set remote exception handler");
-+#endif
-
- if (!exceptionHandlerIsSet) {
- // Bug 684322 will add better visibility into this condition
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 1c93c21464ba..9f6279479d69 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,6 +1,5 @@
PORTNAME= firefox
-DISTVERSION= 142.0.1
-PORTREVISION= 2
+DISTVERSION= 143.0.1
PORTEPOCH= 2
CATEGORIES= www wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
@@ -12,7 +11,7 @@ COMMENT= Web browser based on the browser portion of Mozilla
WWW= https://www.firefox.com/
BUILD_DEPENDS= nspr>=4.32:devel/nspr \
- nss>=3.114:security/nss \
+ nss>=3.115.1:security/nss \
icu>=76.1:devel/icu \
libevent>=2.1.8:devel/libevent \
harfbuzz>=10.1.0:print/harfbuzz \
diff --git a/www/firefox/distinfo b/www/firefox/distinfo
index f98f10067093..562da802cff3 100644
--- a/www/firefox/distinfo
+++ b/www/firefox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756381378
-SHA256 (firefox-142.0.1.source.tar.xz) = b0adb44ed4c3383e752a5947adbfb0d03f24172cb468831bd49978de25e810c0
-SIZE (firefox-142.0.1.source.tar.xz) = 634262768
+TIMESTAMP = 1758300181
+SHA256 (firefox-143.0.1.source.tar.xz) = 17f1dc1ece789ee81f1a3e9ee9bc7619de3a5481e802d83f2a3160f2f60c3957
+SIZE (firefox-143.0.1.source.tar.xz) = 645101268
diff --git a/www/firefox/files/patch-bug1874059 b/www/firefox/files/patch-bug1874059
deleted file mode 100644
index 3fa954ef9def..000000000000
--- a/www/firefox/files/patch-bug1874059
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 56c888446600991803fd92d668349101ad4bf160
-Author: Christoph Moench-Tegeder <cmt@burggraben.net>
-Date: Tue Feb 6 22:51:27 2024 +0100
-
- switch to -fvisibility flags
-
- this fixes linkage with llvm18 (which does not like the former
- approach via the #pragma in gcc_hidden.h
-
- PR: 276746
- Submitted by: dim@
-
-diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure
-index d08b748db250..4696f69153f6 100644
---- build/moz.configure/toolchain.configure
-+++ build/moz.configure/toolchain.configure
-@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
- @depends(target, build_environment)
- def visibility_flags(target, env):
- if target.os != "WINNT":
-- if target.kernel == "Darwin":
-+ if target.kernel == "Darwin" or target.kernel == "FreeBSD":
- return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
- return (
- "-I%s/system_wrappers" % os.path.join(env.dist),
diff --git a/www/firefox/files/patch-bug1876632 b/www/firefox/files/patch-bug1876632
deleted file mode 100644
index 3932b1deccc9..000000000000
--- a/www/firefox/files/patch-bug1876632
+++ /dev/null
@@ -1,35 +0,0 @@
-commit 4f531ca86d24be5d4de673f6e652ed899151d20c
-Author: Jesper Schmitz Mouridsen <jesper@schmitz.computer>
-Date: Wed Jul 23 22:01:31 2025 +0000
-
- Bug 1876632 Fix aslr allocations on FreeBSD r=spidermonkey-reviewers,sfink
-
- Without the alignment flag the desired address
- gets randomized by aslr in a way which causes it to not
- be aligned. Furthermore the TryToAlignChunk almost always
- fails. With this fix it never gets to TryToAlignChunk
- because the flag guarantees upfront alignment.
-
- Differential Revision: https://phabricator.services.mozilla.com/D257824
-
-diff --git js/src/gc/Memory.cpp js/src/gc/Memory.cpp
-index e790f1784ede..13639c9a6eb4 100644
---- js/src/gc/Memory.cpp
-+++ js/src/gc/Memory.cpp
-@@ -608,7 +608,16 @@ static void* MapAlignedPagesRandom(size_t length, size_t alignment) {
- for (size_t i = 1; i <= 1024; ++i) {
- if (i & 0xf) {
- uint64_t desired = alignment * GetNumberInRange(minNum, maxNum);
-+# if defined(__FreeBSD__) && defined(__aarch64__)
-+ int flags = MAP_PRIVATE | MAP_ANON |
-+ MAP_ALIGNED(mozilla::CeilingLog2Size(alignment));
-+ region = MozTaggedAnonymousMmap((void*)(uintptr_t)desired, length,
-+ int(PageAccess::ReadWrite), flags, -1, 0,
-+ "js-gc-heap");
-+# else
- region = MapMemoryAtFuzzy(reinterpret_cast<void*>(desired), length);
-+
-+# endif
- if (!region) {
- continue;
- }
diff --git a/www/firefox/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build b/www/firefox/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build
new file mode 100644
index 000000000000..d9dde78484f2
--- /dev/null
+++ b/www/firefox/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build
@@ -0,0 +1,18 @@
+commit 18ea032974539d7f4db64d21a87fd174333b9e2c
+Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
+
+ build XErrorTrap for FreeBSD, too
+
+diff --git dom/media/webrtc/libwebrtc_overrides/moz.build dom/media/webrtc/libwebrtc_overrides/moz.build
+index ed9c450e5649..1ac213e48b28 100644
+--- dom/media/webrtc/libwebrtc_overrides/moz.build
++++ dom/media/webrtc/libwebrtc_overrides/moz.build
+@@ -34,7 +34,7 @@ UNIFIED_SOURCES += [
+ "call/call_basic_stats.cc",
+ ]
+
+-if CONFIG["OS_TARGET"] == "OpenBSD":
++if CONFIG["OS_TARGET"] in ("FreeBSD", "OpenBSD"):
+ CXXFLAGS += CONFIG["MOZ_X11_CFLAGS"]
+ UNIFIED_SOURCES += [
+ "modules/desktop_capture/linux/x11/x_error_trap.cc",
diff --git a/www/firefox/files/patch-libwebrtc-generated b/www/firefox/files/patch-libwebrtc-generated
index e8c87e3227b3..5621fe23cf21 100644
--- a/www/firefox/files/patch-libwebrtc-generated
+++ b/www/firefox/files/patch-libwebrtc-generated
@@ -1,18 +1,19 @@
-commit e5b021e52acc5acc4c5c629bd51d9d23f76a6fa3
+commit b9b52a94471b7d6930b5c295c16ccf1512e6c86b
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
- regenerate FreeBSD libwebrtc patch for gecko 142
+ regenerate FreeBSD libwebrtc patch for gecko 143
diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-index 8311adfac314..8f928780f912 100644
+index 536af3b634ce..8dd2dcdb638b 100644
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -29,7 +30,7 @@ index 8311adfac314..8f928780f912 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -118,7 +119,7 @@ index 8311adfac314..8f928780f912 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -138,14 +139,12 @@ index 8311adfac314..8f928780f912 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -184,12 +183,10 @@ index 8311adfac314..8f928780f912 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -198,28 +195,27 @@ index 8311adfac314..8f928780f912 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("resource_adaptation_api_gn")
diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build
-index 135d99581ad8..9d2850332b47 100644
+index aba4df15e70d..940c0813b07b 100644
--- third_party/libwebrtc/api/array_view_gn/moz.build
+++ third_party/libwebrtc/api/array_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -236,7 +232,7 @@ index 135d99581ad8..9d2850332b47 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -325,7 +321,7 @@ index 135d99581ad8..9d2850332b47 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -341,19 +337,17 @@ index 135d99581ad8..9d2850332b47 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -379,35 +373,32 @@ index 135d99581ad8..9d2850332b47 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("array_view_gn")
diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
-index ef6f064da624..1e2e771f29ca 100644
+index 7071eaa2c55c..d06057bdb4c7 100644
--- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
+++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -424,7 +415,7 @@ index ef6f064da624..1e2e771f29ca 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -521,7 +512,7 @@ index ef6f064da624..1e2e771f29ca 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -537,19 +528,17 @@ index ef6f064da624..1e2e771f29ca 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -575,35 +564,32 @@ index ef6f064da624..1e2e771f29ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("async_dns_resolver_gn")
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-index 2b26428acdeb..0e19e0930385 100644
+index f45b24581d13..8d009c9065e7 100644
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -620,7 +606,7 @@ index 2b26428acdeb..0e19e0930385 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -709,7 +695,7 @@ index 2b26428acdeb..0e19e0930385 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -729,14 +715,12 @@ index 2b26428acdeb..0e19e0930385 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -775,12 +759,10 @@ index 2b26428acdeb..0e19e0930385 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -789,28 +771,27 @@ index 2b26428acdeb..0e19e0930385 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec3_config_gn")
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-index b23d7d9d9c17..e43e72bb81ed 100644
+index 876aa9af22a9..af845805eb4a 100644
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -828,7 +809,7 @@ index b23d7d9d9c17..e43e72bb81ed 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -928,7 +909,7 @@ index b23d7d9d9c17..e43e72bb81ed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -948,14 +929,12 @@ index b23d7d9d9c17..e43e72bb81ed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -994,12 +973,10 @@ index b23d7d9d9c17..e43e72bb81ed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -1008,28 +985,27 @@ index b23d7d9d9c17..e43e72bb81ed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec3_factory_gn")
diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build
-index 98aeebf3a0ff..4b9c82612b4f 100644
+index 4adeb31f19ea..dcaf6e34ca7f 100644
--- third_party/libwebrtc/api/audio/audio_device_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1046,7 +1022,7 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1135,7 +1111,7 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1151,19 +1127,17 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1189,35 +1163,32 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_device_gn")
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-index 4afb8112be80..ff3fe8f8a5ba 100644
+index b48e1554ff0c..4a0992b45863 100644
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1234,7 +1205,7 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1330,7 +1301,7 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1350,14 +1321,12 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -1396,12 +1365,10 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -1410,28 +1377,27 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_api_gn")
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
-index da677c9e1b98..107a73150225 100644
+index 4ade24b607cf..a862046a5e03 100644
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1448,7 +1414,7 @@ index da677c9e1b98..107a73150225 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1533,7 +1499,7 @@ index da677c9e1b98..107a73150225 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1549,19 +1515,17 @@ index da677c9e1b98..107a73150225 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1587,35 +1551,32 @@ index da677c9e1b98..107a73150225 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_frame_processor_gn")
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
-index 6b76e07f5f25..652ded4059f8 100644
+index e09b103e5937..e4f8ac284c15 100644
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1632,7 +1593,7 @@ index 6b76e07f5f25..652ded4059f8 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1728,7 +1689,7 @@ index 6b76e07f5f25..652ded4059f8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1744,19 +1705,17 @@ index 6b76e07f5f25..652ded4059f8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1782,35 +1741,32 @@ index 6b76e07f5f25..652ded4059f8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_mixer_api_gn")
diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
-index 0ec4e1d61792..ef24358b9306 100644
+index f4aae5e715d8..d7a94ce58f8f 100644
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1827,7 +1783,7 @@ index 0ec4e1d61792..ef24358b9306 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1927,7 +1883,7 @@ index 0ec4e1d61792..ef24358b9306 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1947,14 +1903,12 @@ index 0ec4e1d61792..ef24358b9306 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -1993,12 +1947,10 @@ index 0ec4e1d61792..ef24358b9306 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2007,28 +1959,27 @@ index 0ec4e1d61792..ef24358b9306 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_processing_gn")
diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
-index de14dfdb12f8..292973c3234d 100644
+index 7e5b71d14cb2..28ea7419731a 100644
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2045,7 +1996,7 @@ index de14dfdb12f8..292973c3234d 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2130,7 +2081,7 @@ index de14dfdb12f8..292973c3234d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2150,14 +2101,12 @@ index de14dfdb12f8..292973c3234d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -2196,12 +2145,10 @@ index de14dfdb12f8..292973c3234d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2210,28 +2157,27 @@ index de14dfdb12f8..292973c3234d 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_processing_statistics_gn")
diff --git third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
-index 06268621031d..6bf49766d39a 100644
+index dd674794a7ea..5cc994ae13d3 100644
--- third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
+++ third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -2249,7 +2195,7 @@ index 06268621031d..6bf49766d39a 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2349,7 +2295,7 @@ index 06268621031d..6bf49766d39a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2369,14 +2315,12 @@ index 06268621031d..6bf49766d39a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -2415,12 +2359,10 @@ index 06268621031d..6bf49766d39a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2429,28 +2371,27 @@ index 06268621031d..6bf49766d39a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_audio_processing_builder_gn")
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
-index 7b24226673ad..d08252809411 100644
+index 106400ba7d20..d6be6247afbe 100644
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2467,7 +2408,7 @@ index 7b24226673ad..d08252809411 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2567,7 +2508,7 @@ index 7b24226673ad..d08252809411 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2583,19 +2524,17 @@ index 7b24226673ad..d08252809411 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -2621,35 +2560,32 @@ index 7b24226673ad..d08252809411 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("echo_control_gn")
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-index 77267ad65ee1..18a66e081a52 100644
+index 3b39cbbb06a1..56d960820e9a 100644
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2666,7 +2602,7 @@ index 77267ad65ee1..18a66e081a52 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2766,7 +2702,7 @@ index 77267ad65ee1..18a66e081a52 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2786,14 +2722,12 @@ index 77267ad65ee1..18a66e081a52 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -2832,12 +2766,10 @@ index 77267ad65ee1..18a66e081a52 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2846,28 +2778,27 @@ index 77267ad65ee1..18a66e081a52 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_L16_gn")
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
-index 47397f996c19..c27e3a06ad98 100644
+index 7617d7f5292b..16437f45293b 100644
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2884,7 +2815,7 @@ index 47397f996c19..c27e3a06ad98 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2984,7 +2915,7 @@ index 47397f996c19..c27e3a06ad98 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3004,14 +2935,12 @@ index 47397f996c19..c27e3a06ad98 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3050,12 +2979,10 @@ index 47397f996c19..c27e3a06ad98 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3064,28 +2991,27 @@ index 47397f996c19..c27e3a06ad98 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_L16_gn")
diff --git third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
-index 9e12e483278f..ddc99b55b57f 100644
+index 33ba61c29758..5d8a792fe980 100644
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3102,7 +3028,7 @@ index 9e12e483278f..ddc99b55b57f 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3202,7 +3128,7 @@ index 9e12e483278f..ddc99b55b57f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3222,14 +3148,12 @@ index 9e12e483278f..ddc99b55b57f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3268,12 +3192,10 @@ index 9e12e483278f..ddc99b55b57f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3282,28 +3204,27 @@ index 9e12e483278f..ddc99b55b57f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_codecs_api_gn")
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
-index d0b1ca5e47e9..1fe538a5ce3e 100644
+index 2b6ee1be7a06..ba988ddb42a8 100644
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3321,7 +3242,7 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3421,7 +3342,7 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3441,14 +3362,12 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3487,12 +3406,10 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3501,28 +3418,27 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_audio_decoder_factory_gn")
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
-index d00504ccaf03..10f9061ad382 100644
+index 628c8fa7fdf8..5ca23f309ccd 100644
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3540,7 +3456,7 @@ index d00504ccaf03..10f9061ad382 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3640,7 +3556,7 @@ index d00504ccaf03..10f9061ad382 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3660,14 +3576,12 @@ index d00504ccaf03..10f9061ad382 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3706,12 +3620,10 @@ index d00504ccaf03..10f9061ad382 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3720,28 +3632,27 @@ index d00504ccaf03..10f9061ad382 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_audio_encoder_factory_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
-index c29e3e9ee9b3..20716cb88679 100644
+index d043d987206f..a444480062b2 100644
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3758,7 +3669,7 @@ index c29e3e9ee9b3..20716cb88679 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3858,7 +3769,7 @@ index c29e3e9ee9b3..20716cb88679 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3878,14 +3789,12 @@ index c29e3e9ee9b3..20716cb88679 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3924,12 +3833,10 @@ index c29e3e9ee9b3..20716cb88679 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3938,28 +3845,27 @@ index c29e3e9ee9b3..20716cb88679 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_g711_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
-index 3b77bbd2a7b0..29f2bdb535a7 100644
+index 7f2378a655e9..d566e9583f66 100644
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3976,7 +3882,7 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4076,7 +3982,7 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4096,14 +4002,12 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4142,12 +4046,10 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -4156,28 +4058,27 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_g711_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
-index 6c034ef0cdf8..97e2dda4027e 100644
+index 5896f29065e1..76234946c946 100644
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4194,7 +4095,7 @@ index 6c034ef0cdf8..97e2dda4027e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4294,7 +4195,7 @@ index 6c034ef0cdf8..97e2dda4027e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4314,14 +4215,12 @@ index 6c034ef0cdf8..97e2dda4027e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4360,12 +4259,10 @@ index 6c034ef0cdf8..97e2dda4027e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -4374,28 +4271,27 @@ index 6c034ef0cdf8..97e2dda4027e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_g722_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
-index ece2267c9f31..643b470e2913 100644
+index a1c6b85d2319..d6c5f698a095 100644
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4412,7 +4308,7 @@ index ece2267c9f31..643b470e2913 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4512,7 +4408,7 @@ index ece2267c9f31..643b470e2913 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4528,19 +4424,17 @@ index ece2267c9f31..643b470e2913 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -4566,35 +4460,32 @@ index ece2267c9f31..643b470e2913 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_encoder_g722_config_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
-index a9f2cfb7ee3c..8dd52b52fb37 100644
+index 462adb64213a..d0e14032612c 100644
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4611,7 +4502,7 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4711,7 +4602,7 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4731,14 +4622,12 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4777,12 +4666,10 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -4791,28 +4678,27 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_g722_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
-index 7c2e033644c6..c347323ec814 100644
+index 4e00beaa4415..f2d3cd506e8f 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4829,7 +4715,7 @@ index 7c2e033644c6..c347323ec814 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4929,7 +4815,7 @@ index 7c2e033644c6..c347323ec814 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4949,14 +4835,12 @@ index 7c2e033644c6..c347323ec814 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4995,12 +4879,10 @@ index 7c2e033644c6..c347323ec814 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5009,28 +4891,27 @@ index 7c2e033644c6..c347323ec814 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_multiopus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
-index 4dc0d9442721..09de16583d61 100644
+index 27ee924f238e..8d6c5a275846 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5047,7 +4928,7 @@ index 4dc0d9442721..09de16583d61 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5147,7 +5028,7 @@ index 4dc0d9442721..09de16583d61 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5163,19 +5044,17 @@ index 4dc0d9442721..09de16583d61 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -5201,35 +5080,32 @@ index 4dc0d9442721..09de16583d61 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_decoder_opus_config_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
-index d8a4a97cd5c2..bac30391a53f 100644
+index 53bc3478a40b..308709799635 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5246,7 +5122,7 @@ index d8a4a97cd5c2..bac30391a53f 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5346,7 +5222,7 @@ index d8a4a97cd5c2..bac30391a53f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5366,14 +5242,12 @@ index d8a4a97cd5c2..bac30391a53f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -5412,12 +5286,10 @@ index d8a4a97cd5c2..bac30391a53f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5426,28 +5298,27 @@ index d8a4a97cd5c2..bac30391a53f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_opus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
-index 5ff636039dce..f1b9d0da6b50 100644
+index 2925c9a25583..0dc3b552177f 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5464,7 +5335,7 @@ index 5ff636039dce..f1b9d0da6b50 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5564,7 +5435,7 @@ index 5ff636039dce..f1b9d0da6b50 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5584,14 +5455,12 @@ index 5ff636039dce..f1b9d0da6b50 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -5630,12 +5499,10 @@ index 5ff636039dce..f1b9d0da6b50 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5644,28 +5511,27 @@ index 5ff636039dce..f1b9d0da6b50 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_multiopus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
-index 02d6ec69a180..ece67051b65f 100644
+index e7cd0bcd8f5d..ccf44f091517 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5683,7 +5549,7 @@ index 02d6ec69a180..ece67051b65f 100644
FINAL_LIBRARY = "xul"
-@@ -50,83 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,83 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5768,7 +5634,7 @@ index 02d6ec69a180..ece67051b65f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -134,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -136,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5788,14 +5654,12 @@ index 02d6ec69a180..ece67051b65f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -5834,12 +5698,10 @@ index 02d6ec69a180..ece67051b65f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5848,28 +5710,27 @@ index 02d6ec69a180..ece67051b65f 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_opus_config_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
-index ac2a09ff5952..9c5ef8fd737e 100644
+index 05030b6b5a9d..bbe9861edb7b 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5886,7 +5747,7 @@ index ac2a09ff5952..9c5ef8fd737e 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5986,7 +5847,7 @@ index ac2a09ff5952..9c5ef8fd737e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6006,14 +5867,12 @@ index ac2a09ff5952..9c5ef8fd737e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -6052,12 +5911,10 @@ index ac2a09ff5952..9c5ef8fd737e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -6066,28 +5923,27 @@ index ac2a09ff5952..9c5ef8fd737e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_opus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
-index 81327dddadcd..2e745fe9e41f 100644
+index 1f23f978e95d..b1540a52dfae 100644
--- third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6104,7 +5960,7 @@ index 81327dddadcd..2e745fe9e41f 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6204,7 +6060,7 @@ index 81327dddadcd..2e745fe9e41f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6224,14 +6080,12 @@ index 81327dddadcd..2e745fe9e41f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -6270,12 +6124,10 @@ index 81327dddadcd..2e745fe9e41f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -6284,28 +6136,27 @@ index 81327dddadcd..2e745fe9e41f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("opus_audio_decoder_factory_gn")
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
-index 0eecd975c914..f7125f47283d 100644
+index d5f2fbaa23c2..576652c339f6 100644
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6322,7 +6173,7 @@ index 0eecd975c914..f7125f47283d 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6411,7 +6262,7 @@ index 0eecd975c914..f7125f47283d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6431,14 +6282,12 @@ index 0eecd975c914..f7125f47283d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -6477,12 +6326,10 @@ index 0eecd975c914..f7125f47283d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -6491,28 +6338,27 @@ index 0eecd975c914..f7125f47283d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_options_api_gn")
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
-index 492af1f6b87d..9c55ead6c9fa 100644
+index d77ac1a3c024..067cf0a3566b 100644
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6529,7 +6375,7 @@ index 492af1f6b87d..9c55ead6c9fa 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6618,7 +6464,7 @@ index 492af1f6b87d..9c55ead6c9fa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6634,19 +6480,17 @@ index 492af1f6b87d..9c55ead6c9fa 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -6672,35 +6516,32 @@ index 492af1f6b87d..9c55ead6c9fa 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bitrate_allocation_gn")
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
-index 19d4d72cb0f6..e1369568f801 100644
+index e3860a2d5cb0..01913d2a42d6 100644
--- third_party/libwebrtc/api/call_api_gn/moz.build
+++ third_party/libwebrtc/api/call_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6717,7 +6558,7 @@ index 19d4d72cb0f6..e1369568f801 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6802,7 +6643,7 @@ index 19d4d72cb0f6..e1369568f801 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6818,19 +6659,17 @@ index 19d4d72cb0f6..e1369568f801 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -6856,35 +6695,32 @@ index 19d4d72cb0f6..e1369568f801 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("call_api_gn")
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
-index c81122c0e3bb..f8bdd48ff4c8 100644
+index 03536897a3e5..7d4e36cffba6 100644
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6901,7 +6737,7 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6990,7 +6826,7 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7006,19 +6842,17 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7044,35 +6878,32 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_decryptor_interface_gn")
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
-index 7d72f6a41ac8..c396e2b059f3 100644
+index ce2ccba3ddd9..3424ea2600f3 100644
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7089,7 +6920,7 @@ index 7d72f6a41ac8..c396e2b059f3 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7178,7 +7009,7 @@ index 7d72f6a41ac8..c396e2b059f3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7194,19 +7025,17 @@ index 7d72f6a41ac8..c396e2b059f3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7232,35 +7061,32 @@ index 7d72f6a41ac8..c396e2b059f3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_encryptor_interface_gn")
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
-index f7ee9516fd4d..12951ae20d89 100644
+index f4884cef3781..087517688a6e 100644
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7277,7 +7103,7 @@ index f7ee9516fd4d..12951ae20d89 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7366,7 +7192,7 @@ index f7ee9516fd4d..12951ae20d89 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7386,14 +7212,12 @@ index f7ee9516fd4d..12951ae20d89 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -7432,12 +7256,10 @@ index f7ee9516fd4d..12951ae20d89 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -7446,28 +7268,27 @@ index f7ee9516fd4d..12951ae20d89 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("options_gn")
diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
-index 199c4ba42013..90f223c3364a 100644
+index 7e6c65433342..84ed2cb20f4b 100644
--- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
+++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7484,7 +7305,7 @@ index 199c4ba42013..90f223c3364a 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7584,7 +7405,7 @@ index 199c4ba42013..90f223c3364a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7604,14 +7425,12 @@ index 199c4ba42013..90f223c3364a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -7650,12 +7469,10 @@ index 199c4ba42013..90f223c3364a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -7664,28 +7481,27 @@ index 199c4ba42013..90f223c3364a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("environment_factory_gn")
diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build
-index 6ffbbc713819..0017a6e38de6 100644
+index 218ae3ae9afa..8476399ec931 100644
--- third_party/libwebrtc/api/environment/environment_gn/moz.build
+++ third_party/libwebrtc/api/environment/environment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7702,7 +7518,7 @@ index 6ffbbc713819..0017a6e38de6 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7802,7 +7618,7 @@ index 6ffbbc713819..0017a6e38de6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7818,19 +7634,17 @@ index 6ffbbc713819..0017a6e38de6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7856,35 +7670,32 @@ index 6ffbbc713819..0017a6e38de6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("environment_gn")
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
-index 6e9a6e09e8eb..4b29d5ad30b1 100644
+index d5887f3d6587..4c1fa1a08737 100644
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7901,7 +7712,7 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8001,7 +7812,7 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8017,19 +7828,17 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -8055,35 +7864,32 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("fec_controller_api_gn")
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
-index 23a7adec4c94..be6713313eb6 100644
+index ad9c82b1bb7b..9fe42408ce7d 100644
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8100,7 +7906,7 @@ index 23a7adec4c94..be6713313eb6 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8196,7 +8002,7 @@ index 23a7adec4c94..be6713313eb6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8216,14 +8022,12 @@ index 23a7adec4c94..be6713313eb6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -8262,12 +8066,10 @@ index 23a7adec4c94..be6713313eb6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -8276,28 +8078,27 @@ index 23a7adec4c94..be6713313eb6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trials_registry_gn")
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
-index 736a968aae74..e72e934f1b1d 100644
+index 1e9a1e7a666a..3fa9f12b8585 100644
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8314,7 +8115,7 @@ index 736a968aae74..e72e934f1b1d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8399,7 +8200,7 @@ index 736a968aae74..e72e934f1b1d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8415,19 +8216,17 @@ index 736a968aae74..e72e934f1b1d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -8453,35 +8252,32 @@ index 736a968aae74..e72e934f1b1d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("field_trials_view_gn")
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-index bf8dc0629f1b..9f0b57171621 100644
+index d472124f0a40..ac2df5b26adf 100644
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8498,7 +8294,7 @@ index bf8dc0629f1b..9f0b57171621 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8598,7 +8394,7 @@ index bf8dc0629f1b..9f0b57171621 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8618,14 +8414,12 @@ index bf8dc0629f1b..9f0b57171621 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -8664,12 +8458,10 @@ index bf8dc0629f1b..9f0b57171621 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -8678,28 +8470,27 @@ index bf8dc0629f1b..9f0b57171621 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_transformer_interface_gn")
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
-index bbe3a1fd5c7c..0b40bef503a7 100644
+index dc26789ded68..de73bc9c5c6a 100644
--- third_party/libwebrtc/api/function_view_gn/moz.build
+++ third_party/libwebrtc/api/function_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8716,7 +8507,7 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8805,7 +8596,7 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8821,19 +8612,17 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -8859,35 +8648,32 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("function_view_gn")
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
-index 3843f5846d4f..1c13a94a1634 100644
+index 379cf8c822da..44b19737a655 100644
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8904,7 +8690,7 @@ index 3843f5846d4f..1c13a94a1634 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8989,7 +8775,7 @@ index 3843f5846d4f..1c13a94a1634 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9005,19 +8791,17 @@ index 3843f5846d4f..1c13a94a1634 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9043,35 +8827,32 @@ index 3843f5846d4f..1c13a94a1634 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("jingle_logging_api_gn")
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
-index 6c718ac926a3..589c17cda91f 100644
+index bafbd895ae23..85d46ef795ba 100644
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9088,7 +8869,7 @@ index 6c718ac926a3..589c17cda91f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9173,7 +8954,7 @@ index 6c718ac926a3..589c17cda91f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9189,19 +8970,17 @@ index 6c718ac926a3..589c17cda91f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9227,35 +9006,32 @@ index 6c718ac926a3..589c17cda91f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("jingle_peerconnection_api_gn")
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
-index 6303607ebdc9..16aacea7ca3e 100644
+index 1384cb4c2c9a..27432b87cd60 100644
--- third_party/libwebrtc/api/location_gn/moz.build
+++ third_party/libwebrtc/api/location_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9272,7 +9048,7 @@ index 6303607ebdc9..16aacea7ca3e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9357,7 +9133,7 @@ index 6303607ebdc9..16aacea7ca3e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9373,19 +9149,17 @@ index 6303607ebdc9..16aacea7ca3e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9411,35 +9185,32 @@ index 6303607ebdc9..16aacea7ca3e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("location_gn")
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
-index 537369d878f3..5e048733bbd3 100644
+index 5260714563c4..88e1ecb122bb 100644
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9456,7 +9227,7 @@ index 537369d878f3..5e048733bbd3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9541,7 +9312,7 @@ index 537369d878f3..5e048733bbd3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9557,19 +9328,17 @@ index 537369d878f3..5e048733bbd3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9595,35 +9364,32 @@ index 537369d878f3..5e048733bbd3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("make_ref_counted_gn")
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
-index e6b2c4ab15f6..5b5807ef8bab 100644
+index 8b22cc529d93..d4c009dfb08b 100644
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9640,7 +9406,7 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9736,7 +9502,7 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9756,14 +9522,12 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -9802,12 +9566,10 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -9816,28 +9578,27 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("media_stream_interface_gn")
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
-index 24c32ac9aa91..be111b3f1f2b 100644
+index ac0f4065814a..975fd554189e 100644
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9854,7 +9615,7 @@ index 24c32ac9aa91..be111b3f1f2b 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9943,7 +9704,7 @@ index 24c32ac9aa91..be111b3f1f2b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9959,19 +9720,17 @@ index 24c32ac9aa91..be111b3f1f2b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9997,35 +9756,32 @@ index 24c32ac9aa91..be111b3f1f2b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("metronome_gn")
diff --git third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
-index 9cc852ea4e6c..563ddad2a07a 100644
+index 0b8670a958f1..e6e6261c6f1d 100644
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10042,7 +9798,7 @@ index 9cc852ea4e6c..563ddad2a07a 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10142,7 +9898,7 @@ index 9cc852ea4e6c..563ddad2a07a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10162,14 +9918,12 @@ index 9cc852ea4e6c..563ddad2a07a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -10208,12 +9962,10 @@ index 9cc852ea4e6c..563ddad2a07a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -10222,28 +9974,27 @@ index 9cc852ea4e6c..563ddad2a07a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("default_neteq_controller_factory_gn")
diff --git third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
-index 81290d80864c..c3c7920f98fb 100644
+index 402f2a044163..bfeadc19c1f4 100644
--- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
+++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10260,7 +10011,7 @@ index 81290d80864c..c3c7920f98fb 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10360,7 +10111,7 @@ index 81290d80864c..c3c7920f98fb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10380,14 +10131,12 @@ index 81290d80864c..c3c7920f98fb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -10426,12 +10175,10 @@ index 81290d80864c..c3c7920f98fb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -10440,28 +10187,27 @@ index 81290d80864c..c3c7920f98fb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("default_neteq_factory_gn")
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
-index 7e04b468e8c3..cc9f96610179 100644
+index 3cffcf1fee68..634fe34c356b 100644
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10478,7 +10224,7 @@ index 7e04b468e8c3..cc9f96610179 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10578,7 +10324,7 @@ index 7e04b468e8c3..cc9f96610179 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10598,14 +10344,12 @@ index 7e04b468e8c3..cc9f96610179 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -10644,12 +10388,10 @@ index 7e04b468e8c3..cc9f96610179 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -10658,28 +10400,27 @@ index 7e04b468e8c3..cc9f96610179 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("neteq_api_gn")
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
-index 10f23f8b9e73..33604c4d0bd5 100644
+index 0c8c73eaf64e..0d9110cf2533 100644
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10696,7 +10437,7 @@ index 10f23f8b9e73..33604c4d0bd5 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10796,7 +10537,7 @@ index 10f23f8b9e73..33604c4d0bd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10812,19 +10553,17 @@ index 10f23f8b9e73..33604c4d0bd5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -10850,35 +10589,32 @@ index 10f23f8b9e73..33604c4d0bd5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("neteq_controller_api_gn")
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
-index 22a5fd8b39ae..13e1e4c6428e 100644
+index 6e62d4704907..5af2b7269dfa 100644
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10895,7 +10631,7 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10984,7 +10720,7 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11004,14 +10740,12 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -11050,12 +10784,10 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -11064,28 +10796,27 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("tick_timer_gn")
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
-index 2c3ff3588f46..0d71b6835f66 100644
+index 6d6d33ace75b..01573acc86d3 100644
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11102,7 +10833,7 @@ index 2c3ff3588f46..0d71b6835f66 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11187,7 +10918,7 @@ index 2c3ff3588f46..0d71b6835f66 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11203,19 +10934,17 @@ index 2c3ff3588f46..0d71b6835f66 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11241,35 +10970,32 @@ index 2c3ff3588f46..0d71b6835f66 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("network_state_predictor_api_gn")
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
-index ae409fd2a8dc..8b2973c33499 100644
+index 76aeb17bde7f..5e74263cf88f 100644
--- third_party/libwebrtc/api/priority_gn/moz.build
+++ third_party/libwebrtc/api/priority_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11286,7 +11012,7 @@ index ae409fd2a8dc..8b2973c33499 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11375,7 +11101,7 @@ index ae409fd2a8dc..8b2973c33499 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11391,19 +11117,17 @@ index ae409fd2a8dc..8b2973c33499 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11429,35 +11153,32 @@ index ae409fd2a8dc..8b2973c33499 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("priority_gn")
diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build
-index 29eae9d26685..5f9a02823846 100644
+index 4d11702ac95b..098a60790f04 100644
--- third_party/libwebrtc/api/ref_count_gn/moz.build
+++ third_party/libwebrtc/api/ref_count_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11474,7 +11195,7 @@ index 29eae9d26685..5f9a02823846 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11559,7 +11280,7 @@ index 29eae9d26685..5f9a02823846 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11575,19 +11296,17 @@ index 29eae9d26685..5f9a02823846 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11613,35 +11332,32 @@ index 29eae9d26685..5f9a02823846 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ref_count_gn")
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
-index 15fcfbcab216..383dec1b2bf8 100644
+index c2d93fe7f690..4cd1a1af8562 100644
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11658,7 +11374,7 @@ index 15fcfbcab216..383dec1b2bf8 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11743,7 +11459,7 @@ index 15fcfbcab216..383dec1b2bf8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11759,19 +11475,17 @@ index 15fcfbcab216..383dec1b2bf8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11797,35 +11511,32 @@ index 15fcfbcab216..383dec1b2bf8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("refcountedbase_gn")
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
-index 3ccf2200f06f..cb39ec5b95c8 100644
+index 931ad8f10770..c86ad5eeb18f 100644
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11842,7 +11553,7 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11938,7 +11649,7 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11958,14 +11669,12 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12004,12 +11713,10 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12018,28 +11725,27 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_error_gn")
diff --git third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
-index 6889927e409b..48e899d51c59 100644
+index 062fcf1c7e98..56ca85ac637d 100644
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12056,7 +11762,7 @@ index 6889927e409b..48e899d51c59 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12152,7 +11858,7 @@ index 6889927e409b..48e899d51c59 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12172,14 +11878,12 @@ index 6889927e409b..48e899d51c59 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12218,12 +11922,10 @@ index 6889927e409b..48e899d51c59 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12232,28 +11934,27 @@ index 6889927e409b..48e899d51c59 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_log_gn")
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
-index 4624ee5f34fc..594ac4704478 100644
+index a3962549d71a..f3230db2f74c 100644
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12270,7 +11971,7 @@ index 4624ee5f34fc..594ac4704478 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12366,7 +12067,7 @@ index 4624ee5f34fc..594ac4704478 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12386,14 +12087,12 @@ index 4624ee5f34fc..594ac4704478 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12432,12 +12131,10 @@ index 4624ee5f34fc..594ac4704478 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12446,28 +12143,27 @@ index 4624ee5f34fc..594ac4704478 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_headers_gn")
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
-index 426fd02dc047..9d75add45806 100644
+index 52124e93c6e0..cf27ecf0ff64 100644
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12484,7 +12180,7 @@ index 426fd02dc047..9d75add45806 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12580,7 +12276,7 @@ index 426fd02dc047..9d75add45806 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12600,14 +12296,12 @@ index 426fd02dc047..9d75add45806 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12646,12 +12340,10 @@ index 426fd02dc047..9d75add45806 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12660,28 +12352,27 @@ index 426fd02dc047..9d75add45806 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_packet_info_gn")
diff --git third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
-index 237ff1576a05..c83102a4f914 100644
+index 4e690f286985..48513d98fdc2 100644
--- third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
+++ third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12698,7 +12389,7 @@ index 237ff1576a05..c83102a4f914 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12783,7 +12474,7 @@ index 237ff1576a05..c83102a4f914 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12799,19 +12490,17 @@ index 237ff1576a05..c83102a4f914 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -12837,35 +12526,32 @@ index 237ff1576a05..c83102a4f914 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_packet_sender_gn")
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
-index f3b003458d9c..dd1c69095d01 100644
+index 48d4257f8009..57f881d7cba9 100644
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12882,7 +12568,7 @@ index f3b003458d9c..dd1c69095d01 100644
FINAL_LIBRARY = "xul"
-@@ -46,87 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12971,7 +12657,7 @@ index f3b003458d9c..dd1c69095d01 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -134,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -136,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12991,14 +12677,12 @@ index f3b003458d9c..dd1c69095d01 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -13037,12 +12721,10 @@ index f3b003458d9c..dd1c69095d01 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -13051,28 +12733,27 @@ index f3b003458d9c..dd1c69095d01 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_parameters_gn")
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
-index adeeb2d582b5..0f70df38f99a 100644
+index 58b6b9d4eced..b946ded20f7c 100644
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13089,7 +12770,7 @@ index adeeb2d582b5..0f70df38f99a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13174,7 +12855,7 @@ index adeeb2d582b5..0f70df38f99a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13190,19 +12871,17 @@ index adeeb2d582b5..0f70df38f99a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13228,35 +12907,32 @@ index adeeb2d582b5..0f70df38f99a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_sender_interface_gn")
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
-index 4880eb91bdad..c57b2ad9341b 100644
+index 19bd810c46cf..99ae632b35f5 100644
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13273,7 +12949,7 @@ index 4880eb91bdad..c57b2ad9341b 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13369,7 +13045,7 @@ index 4880eb91bdad..c57b2ad9341b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13389,14 +13065,12 @@ index 4880eb91bdad..c57b2ad9341b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -13435,12 +13109,10 @@ index 4880eb91bdad..c57b2ad9341b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -13449,28 +13121,27 @@ index 4880eb91bdad..c57b2ad9341b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_sender_setparameters_callback_gn")
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
-index 7cd95c265458..807fef6d2b72 100644
+index 0898e296f690..50e8741a1e5c 100644
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13487,7 +13158,7 @@ index 7cd95c265458..807fef6d2b72 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13572,7 +13243,7 @@ index 7cd95c265458..807fef6d2b72 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13588,19 +13259,17 @@ index 7cd95c265458..807fef6d2b72 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13626,35 +13295,32 @@ index 7cd95c265458..807fef6d2b72 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_transceiver_direction_gn")
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
-index 978c11352837..e66d3f050f9d 100644
+index 91059bcfdf24..95c749ab05f5 100644
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13671,7 +13337,7 @@ index 978c11352837..e66d3f050f9d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13756,7 +13422,7 @@ index 978c11352837..e66d3f050f9d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13772,19 +13438,17 @@ index 978c11352837..e66d3f050f9d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13810,35 +13474,32 @@ index 978c11352837..e66d3f050f9d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("scoped_refptr_gn")
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
-index f1e011d8c84c..688821e634e8 100644
+index 2e05c3b8bd13..1536e71c6bad 100644
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13855,7 +13516,7 @@ index f1e011d8c84c..688821e634e8 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13944,7 +13605,7 @@ index f1e011d8c84c..688821e634e8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13960,19 +13621,17 @@ index f1e011d8c84c..688821e634e8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13998,35 +13657,32 @@ index f1e011d8c84c..688821e634e8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sequence_checker_gn")
diff --git third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
-index 79e200469f70..ea11f3c1b3a1 100644
+index caccfa576579..12b3b4429d9b 100644
--- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
+++ third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14043,7 +13699,7 @@ index 79e200469f70..ea11f3c1b3a1 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14128,7 +13784,7 @@ index 79e200469f70..ea11f3c1b3a1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14144,19 +13800,17 @@ index 79e200469f70..ea11f3c1b3a1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -14182,35 +13836,32 @@ index 79e200469f70..ea11f3c1b3a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("default_task_queue_factory_gn")
diff --git third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
-index 901b6d920251..b72308ca0896 100644
+index f5bd2abd8edd..588ab9d37637 100644
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14227,7 +13878,7 @@ index 901b6d920251..b72308ca0896 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14316,7 +13967,7 @@ index 901b6d920251..b72308ca0896 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14336,14 +13987,12 @@ index 901b6d920251..b72308ca0896 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -14382,12 +14031,10 @@ index 901b6d920251..b72308ca0896 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -14396,28 +14043,27 @@ index 901b6d920251..b72308ca0896 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pending_task_safety_flag_gn")
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
-index 24fa3d2c74d4..157d7f5d9682 100644
+index 7802d514733e..b5069b664e65 100644
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14434,7 +14080,7 @@ index 24fa3d2c74d4..157d7f5d9682 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14523,7 +14169,7 @@ index 24fa3d2c74d4..157d7f5d9682 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14543,14 +14189,12 @@ index 24fa3d2c74d4..157d7f5d9682 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -14589,12 +14233,10 @@ index 24fa3d2c74d4..157d7f5d9682 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -14603,28 +14245,27 @@ index 24fa3d2c74d4..157d7f5d9682 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("task_queue_gn")
diff --git third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
-index 5c6002f71559..21629d52ba78 100644
+index 37fa27def74f..b4ad056226a0 100644
--- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
+++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14641,7 +14282,7 @@ index 5c6002f71559..21629d52ba78 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14726,7 +14367,7 @@ index 5c6002f71559..21629d52ba78 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14742,19 +14383,17 @@ index 5c6002f71559..21629d52ba78 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -14780,35 +14419,32 @@ index 5c6002f71559..21629d52ba78 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bandwidth_estimation_settings_gn")
diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
-index 182cbc5da37f..ed6b6725902a 100644
+index b4ffa83b92cd..26f1bb8546e7 100644
--- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
+++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14825,7 +14461,7 @@ index 182cbc5da37f..ed6b6725902a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14910,7 +14546,7 @@ index 182cbc5da37f..ed6b6725902a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14926,19 +14562,17 @@ index 182cbc5da37f..ed6b6725902a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -14964,35 +14598,32 @@ index 182cbc5da37f..ed6b6725902a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bandwidth_usage_gn")
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
-index a420e52b3fbb..c3dd4ec105b8 100644
+index 16a388656353..1149e653efad 100644
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15009,7 +14640,7 @@ index a420e52b3fbb..c3dd4ec105b8 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15094,7 +14725,7 @@ index a420e52b3fbb..c3dd4ec105b8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15114,14 +14745,12 @@ index a420e52b3fbb..c3dd4ec105b8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -15160,12 +14789,10 @@ index a420e52b3fbb..c3dd4ec105b8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -15174,28 +14801,27 @@ index a420e52b3fbb..c3dd4ec105b8 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_settings_gn")
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
-index dccd42a629d8..cbea1c90d191 100644
+index 0868af0077a4..d1a4f7b5dd54 100644
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15212,7 +14838,7 @@ index dccd42a629d8..cbea1c90d191 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15308,7 +14934,7 @@ index dccd42a629d8..cbea1c90d191 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15324,19 +14950,17 @@ index dccd42a629d8..cbea1c90d191 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -15362,35 +14986,32 @@ index dccd42a629d8..cbea1c90d191 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("datagram_transport_interface_gn")
diff --git third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
-index 906e6d8d17f1..18ee5d1fdabc 100644
+index 8ab0d1a1c443..00fbb2407fdc 100644
--- third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
+++ third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15407,7 +15028,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15492,7 +15113,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15508,19 +15129,17 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -15546,35 +15165,32 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ecn_marking_gn")
diff --git third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
-index 3a1f004f3983..0961c22c71cb 100644
+index 7cf2e942a98f..09723da7e690 100644
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15591,7 +15207,7 @@ index 3a1f004f3983..0961c22c71cb 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15687,7 +15303,7 @@ index 3a1f004f3983..0961c22c71cb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15707,14 +15323,12 @@ index 3a1f004f3983..0961c22c71cb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -15753,12 +15367,10 @@ index 3a1f004f3983..0961c22c71cb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -15767,28 +15379,27 @@ index 3a1f004f3983..0961c22c71cb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trial_based_config_gn")
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
-index 6643db6e5ded..acf87fb7090b 100644
+index c30034a66355..c1e9773750c3 100644
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15805,7 +15416,7 @@ index 6643db6e5ded..acf87fb7090b 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15906,7 +15517,7 @@ index 6643db6e5ded..acf87fb7090b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15926,14 +15537,12 @@ index 6643db6e5ded..acf87fb7090b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -15972,12 +15581,10 @@ index 6643db6e5ded..acf87fb7090b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -15986,28 +15593,27 @@ index 6643db6e5ded..acf87fb7090b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("goog_cc_gn")
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
-index 9f1d81a5385a..df4430a10cda 100644
+index 1058102cc4a6..488cceb3baa9 100644
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16024,7 +15630,7 @@ index 9f1d81a5385a..df4430a10cda 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16124,7 +15730,7 @@ index 9f1d81a5385a..df4430a10cda 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16144,14 +15750,12 @@ index 9f1d81a5385a..df4430a10cda 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -16190,12 +15794,10 @@ index 9f1d81a5385a..df4430a10cda 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -16204,28 +15806,27 @@ index 9f1d81a5385a..df4430a10cda 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("network_control_gn")
diff --git third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
-index 68af5c4b0896..2cdd5c5fdbc2 100644
+index 9b403b9d6955..376f7571e166 100644
--- third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
+++ third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16242,7 +15843,7 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16331,7 +15932,7 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16347,19 +15948,17 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -16385,35 +15984,32 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("corruption_detection_message_gn")
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
-index e39fc6c6faa6..d838b987add6 100644
+index 8da7a80d3f94..319bffba5cd4 100644
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16430,7 +16026,7 @@ index e39fc6c6faa6..d838b987add6 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16519,7 +16115,7 @@ index e39fc6c6faa6..d838b987add6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16539,14 +16135,12 @@ index e39fc6c6faa6..d838b987add6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -16585,12 +16179,10 @@ index e39fc6c6faa6..d838b987add6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -16599,28 +16191,27 @@ index e39fc6c6faa6..d838b987add6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("dependency_descriptor_gn")
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
-index a4519718a30b..3a3a21cf0c4c 100644
+index f2651257f028..5bf21623b84a 100644
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16637,7 +16228,7 @@ index a4519718a30b..3a3a21cf0c4c 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16733,7 +16324,7 @@ index a4519718a30b..3a3a21cf0c4c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16749,19 +16340,17 @@ index a4519718a30b..3a3a21cf0c4c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -16787,35 +16376,32 @@ index a4519718a30b..3a3a21cf0c4c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_source_gn")
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
-index 4c18f995b3d9..5970a6078b50 100644
+index eccfcb9643bc..9cfc97dac8c0 100644
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16832,7 +16418,7 @@ index 4c18f995b3d9..5970a6078b50 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16917,7 +16503,7 @@ index 4c18f995b3d9..5970a6078b50 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16933,19 +16519,17 @@ index 4c18f995b3d9..5970a6078b50 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -16971,35 +16555,32 @@ index 4c18f995b3d9..5970a6078b50 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("stun_types_gn")
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
-index 386c5d86ae5c..7835289591c4 100644
+index 04d169646b6f..52abb46c3100 100644
--- third_party/libwebrtc/api/transport_api_gn/moz.build
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17016,7 +16597,7 @@ index 386c5d86ae5c..7835289591c4 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17105,7 +16686,7 @@ index 386c5d86ae5c..7835289591c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17125,14 +16706,12 @@ index 386c5d86ae5c..7835289591c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17171,12 +16750,10 @@ index 386c5d86ae5c..7835289591c4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17185,28 +16762,27 @@ index 386c5d86ae5c..7835289591c4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transport_api_gn")
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
-index a24ae78d4c9f..b97815d92c09 100644
+index 29d3499e786d..eba0514e966b 100644
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17223,7 +16799,7 @@ index a24ae78d4c9f..b97815d92c09 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17312,7 +16888,7 @@ index a24ae78d4c9f..b97815d92c09 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17332,14 +16908,12 @@ index a24ae78d4c9f..b97815d92c09 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17378,12 +16952,10 @@ index a24ae78d4c9f..b97815d92c09 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17392,28 +16964,27 @@ index a24ae78d4c9f..b97815d92c09 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("data_rate_gn")
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
-index cdfe31ebb845..30e91e2fa7a2 100644
+index 5c81ffd37b01..5fe81a997719 100644
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17430,7 +17001,7 @@ index cdfe31ebb845..30e91e2fa7a2 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17519,7 +17090,7 @@ index cdfe31ebb845..30e91e2fa7a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17539,14 +17110,12 @@ index cdfe31ebb845..30e91e2fa7a2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17585,12 +17154,10 @@ index cdfe31ebb845..30e91e2fa7a2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17599,28 +17166,27 @@ index cdfe31ebb845..30e91e2fa7a2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("data_size_gn")
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
-index 82ba792a86a0..5c068b7e233c 100644
+index 23861ba5e0b4..36b556f5aa98 100644
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17637,7 +17203,7 @@ index 82ba792a86a0..5c068b7e233c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17726,7 +17292,7 @@ index 82ba792a86a0..5c068b7e233c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17746,14 +17312,12 @@ index 82ba792a86a0..5c068b7e233c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17792,12 +17356,10 @@ index 82ba792a86a0..5c068b7e233c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17806,28 +17368,27 @@ index 82ba792a86a0..5c068b7e233c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frequency_gn")
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
-index 4d0860fef399..be767d71a397 100644
+index c142c31f0050..108a8825095e 100644
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17844,7 +17405,7 @@ index 4d0860fef399..be767d71a397 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17933,7 +17494,7 @@ index 4d0860fef399..be767d71a397 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17953,14 +17514,12 @@ index 4d0860fef399..be767d71a397 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17999,12 +17558,10 @@ index 4d0860fef399..be767d71a397 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18013,28 +17570,27 @@ index 4d0860fef399..be767d71a397 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("time_delta_gn")
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
-index f51733fd8a12..5e0489f0ce58 100644
+index ec37917c0abf..bff6fda3a995 100644
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18051,7 +17607,7 @@ index f51733fd8a12..5e0489f0ce58 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18140,7 +17696,7 @@ index f51733fd8a12..5e0489f0ce58 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18160,14 +17716,12 @@ index f51733fd8a12..5e0489f0ce58 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -18206,12 +17760,10 @@ index f51733fd8a12..5e0489f0ce58 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18220,28 +17772,27 @@ index f51733fd8a12..5e0489f0ce58 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timestamp_gn")
diff --git third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
-index 8c0ac8a1fce2..8d6cda6f4bd9 100644
+index 042c4cb0322f..6cac447b0305 100644
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18258,7 +17809,7 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18359,7 +17910,7 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18379,14 +17930,12 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -18425,12 +17974,10 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18439,28 +17986,27 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_video_bitrate_allocator_factory_gn")
diff --git third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
-index fdfec36f901f..fd4cdd50921a 100644
+index 3fea2f9197be..843f8dafb50c 100644
--- third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
+++ third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18477,7 +18023,7 @@ index fdfec36f901f..fd4cdd50921a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18562,7 +18108,7 @@ index fdfec36f901f..fd4cdd50921a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18578,19 +18124,17 @@ index fdfec36f901f..fd4cdd50921a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -18616,35 +18160,32 @@ index fdfec36f901f..fd4cdd50921a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("corruption_detection_filter_settings_gn")
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
-index 1a7f99c95cb0..bd9e4c42247a 100644
+index a47a175fd8f6..f3464dc03728 100644
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18661,7 +18202,7 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18761,7 +18302,7 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18781,14 +18322,12 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -18827,12 +18366,10 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18841,28 +18378,27 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoded_frame_gn")
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
-index b8cb9d7f1d2c..dd403bd402b8 100644
+index 884b76c4471c..436455709c49 100644
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18879,7 +18415,7 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18975,7 +18511,7 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18995,14 +18531,12 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -19041,12 +18575,10 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -19055,28 +18587,27 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoded_image_gn")
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
-index 62069abb52d3..2a33a1c263fd 100644
+index c5f5d34a4e61..4af72222343b 100644
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19093,7 +18624,7 @@ index 62069abb52d3..2a33a1c263fd 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19194,7 +18725,7 @@ index 62069abb52d3..2a33a1c263fd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19214,14 +18745,12 @@ index 62069abb52d3..2a33a1c263fd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -19260,12 +18789,10 @@ index 62069abb52d3..2a33a1c263fd 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -19274,28 +18801,27 @@ index 62069abb52d3..2a33a1c263fd 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_buffer_gn")
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
-index 9ea836d67874..acac99ec2efc 100644
+index 955432300e05..0d61ca33884f 100644
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19312,7 +18838,7 @@ index 9ea836d67874..acac99ec2efc 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19408,7 +18934,7 @@ index 9ea836d67874..acac99ec2efc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19424,19 +18950,17 @@ index 9ea836d67874..acac99ec2efc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19462,35 +18986,32 @@ index 9ea836d67874..acac99ec2efc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("recordable_encoded_frame_gn")
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
-index d53344a9f3d9..4d4a725570d9 100644
+index 6b8d5d0ce97f..c1248e15a3c5 100644
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19507,7 +19028,7 @@ index d53344a9f3d9..4d4a725570d9 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19592,7 +19113,7 @@ index d53344a9f3d9..4d4a725570d9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19608,19 +19129,17 @@ index d53344a9f3d9..4d4a725570d9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19646,35 +19165,32 @@ index d53344a9f3d9..4d4a725570d9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("render_resolution_gn")
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
-index 2d091f0e8df2..eb720446212d 100644
+index 2bdc20cfef27..bab75c04d836 100644
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19691,7 +19207,7 @@ index 2d091f0e8df2..eb720446212d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19776,7 +19292,7 @@ index 2d091f0e8df2..eb720446212d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19792,19 +19308,17 @@ index 2d091f0e8df2..eb720446212d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19830,35 +19344,32 @@ index 2d091f0e8df2..eb720446212d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("resolution_gn")
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
-index 1e622ec490ae..39619b9c29ce 100644
+index 67f8e53f06df..56d3d234e6e3 100644
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19875,7 +19386,7 @@ index 1e622ec490ae..39619b9c29ce 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19964,7 +19475,7 @@ index 1e622ec490ae..39619b9c29ce 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19984,14 +19495,12 @@ index 1e622ec490ae..39619b9c29ce 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -20030,12 +19539,10 @@ index 1e622ec490ae..39619b9c29ce 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -20044,28 +19551,27 @@ index 1e622ec490ae..39619b9c29ce 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_adaptation_gn")
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
-index 3d69e67814d6..00adcafb1333 100644
+index ed2d2852f7c8..d695a8170d44 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20082,7 +19588,7 @@ index 3d69e67814d6..00adcafb1333 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20171,7 +19677,7 @@ index 3d69e67814d6..00adcafb1333 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20191,14 +19697,12 @@ index 3d69e67814d6..00adcafb1333 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -20237,12 +19741,10 @@ index 3d69e67814d6..00adcafb1333 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -20251,28 +19753,27 @@ index 3d69e67814d6..00adcafb1333 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_bitrate_allocation_gn")
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
-index 5538286ffa2b..f8888ae4133e 100644
+index d89179c9d034..94bff6a3ed16 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20289,7 +19790,7 @@ index 5538286ffa2b..f8888ae4133e 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20389,7 +19890,7 @@ index 5538286ffa2b..f8888ae4133e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20405,19 +19906,17 @@ index 5538286ffa2b..f8888ae4133e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -20443,35 +19942,32 @@ index 5538286ffa2b..f8888ae4133e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_bitrate_allocator_factory_gn")
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
-index 0e572c285ab4..9e04e80c4497 100644
+index f647df98e87a..5fee26a31e98 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20488,7 +19984,7 @@ index 0e572c285ab4..9e04e80c4497 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20577,7 +20073,7 @@ index 0e572c285ab4..9e04e80c4497 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20597,14 +20093,12 @@ index 0e572c285ab4..9e04e80c4497 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -20643,12 +20137,10 @@ index 0e572c285ab4..9e04e80c4497 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -20657,28 +20149,27 @@ index 0e572c285ab4..9e04e80c4497 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_bitrate_allocator_gn")
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
-index a0feb6ba98d5..20d5b8b9cc3b 100644
+index 2c7b69b25447..d9d3757994c1 100644
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20695,7 +20186,7 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20780,7 +20271,7 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20796,19 +20287,17 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -20834,35 +20323,32 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_codec_constants_gn")
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
-index f001ad0cc6b5..e9f3bed3f830 100644
+index 696ff9193103..add3d8c1eae9 100644
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20879,7 +20365,7 @@ index f001ad0cc6b5..e9f3bed3f830 100644
FINAL_LIBRARY = "xul"
-@@ -56,94 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20975,7 +20461,7 @@ index f001ad0cc6b5..e9f3bed3f830 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20995,14 +20481,12 @@ index f001ad0cc6b5..e9f3bed3f830 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -21041,12 +20525,10 @@ index f001ad0cc6b5..e9f3bed3f830 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -21055,28 +20537,27 @@ index f001ad0cc6b5..e9f3bed3f830 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_frame_gn")
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
-index 4fe9e147edec..16fbbf602911 100644
+index 701f704041d9..170207de4607 100644
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21093,7 +20574,7 @@ index 4fe9e147edec..16fbbf602911 100644
FINAL_LIBRARY = "xul"
-@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,94 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21189,7 +20670,7 @@ index 4fe9e147edec..16fbbf602911 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21209,14 +20690,12 @@ index 4fe9e147edec..16fbbf602911 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -21255,12 +20734,10 @@ index 4fe9e147edec..16fbbf602911 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -21269,28 +20746,27 @@ index 4fe9e147edec..16fbbf602911 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_frame_i010_gn")
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
-index 59921d43beaf..262398fbfcdf 100644
+index 1385708188f8..e6d75386164a 100644
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21307,7 +20783,7 @@ index 59921d43beaf..262398fbfcdf 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21403,7 +20879,7 @@ index 59921d43beaf..262398fbfcdf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21423,14 +20899,12 @@ index 59921d43beaf..262398fbfcdf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -21469,12 +20943,10 @@ index 59921d43beaf..262398fbfcdf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -21483,28 +20955,27 @@ index 59921d43beaf..262398fbfcdf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_frame_metadata_gn")
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
-index 27939f8b3d3c..7187d74b0019 100644
+index 41926d168f2e..c45d7d819761 100644
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21521,7 +20992,7 @@ index 27939f8b3d3c..7187d74b0019 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21610,7 +21081,7 @@ index 27939f8b3d3c..7187d74b0019 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21626,19 +21097,17 @@ index 27939f8b3d3c..7187d74b0019 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -21664,35 +21133,32 @@ index 27939f8b3d3c..7187d74b0019 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_frame_type_gn")
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
-index f6a9ac51b381..0c77077f546f 100644
+index 453b22c40132..75d7ee7ebad3 100644
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21709,7 +21175,7 @@ index f6a9ac51b381..0c77077f546f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21798,7 +21264,7 @@ index f6a9ac51b381..0c77077f546f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21814,19 +21280,17 @@ index f6a9ac51b381..0c77077f546f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -21852,35 +21316,32 @@ index f6a9ac51b381..0c77077f546f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_layers_allocation_gn")
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
-index c3377a9f7cdc..bd6e908f861f 100644
+index 79a3143de82e..9985be046df8 100644
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21897,7 +21358,7 @@ index c3377a9f7cdc..bd6e908f861f 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21993,7 +21454,7 @@ index c3377a9f7cdc..bd6e908f861f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22013,14 +21474,12 @@ index c3377a9f7cdc..bd6e908f861f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -22059,12 +21518,10 @@ index c3377a9f7cdc..bd6e908f861f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -22073,28 +21530,27 @@ index c3377a9f7cdc..bd6e908f861f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_rtp_headers_gn")
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
-index c7feee8d37e3..54aa30838e3a 100644
+index d12a2d2af66c..c64b22b66cd4 100644
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22111,7 +21567,7 @@ index c7feee8d37e3..54aa30838e3a 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22211,7 +21667,7 @@ index c7feee8d37e3..54aa30838e3a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22227,19 +21683,17 @@ index c7feee8d37e3..54aa30838e3a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22265,35 +21719,32 @@ index c7feee8d37e3..54aa30838e3a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_stream_encoder_gn")
diff --git third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
-index f1d2331057d4..16df4edfc348 100644
+index fffc859f7e91..85c4a75b1d5e 100644
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22310,7 +21761,7 @@ index f1d2331057d4..16df4edfc348 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22399,7 +21850,7 @@ index f1d2331057d4..16df4edfc348 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22415,19 +21866,17 @@ index f1d2331057d4..16df4edfc348 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22453,35 +21902,32 @@ index f1d2331057d4..16df4edfc348 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bitstream_parser_api_gn")
diff --git third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
-index a7017e0429f0..c92e774efdfa 100644
+index 093dee7324ce..f6ebd363cae6 100644
--- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22498,7 +21944,7 @@ index a7017e0429f0..c92e774efdfa 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22599,7 +22045,7 @@ index a7017e0429f0..c92e774efdfa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22619,14 +22065,12 @@ index a7017e0429f0..c92e774efdfa 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -22665,12 +22109,10 @@ index a7017e0429f0..c92e774efdfa 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -22679,28 +22121,27 @@ index a7017e0429f0..c92e774efdfa 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_video_decoder_factory_gn")
diff --git third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
-index b94ff4af7eb0..ddd7c64613a2 100644
+index 010aa6536cc7..f006fa8fd340 100644
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22717,7 +22158,7 @@ index b94ff4af7eb0..ddd7c64613a2 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22818,7 +22259,7 @@ index b94ff4af7eb0..ddd7c64613a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22838,14 +22279,12 @@ index b94ff4af7eb0..ddd7c64613a2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -22884,12 +22323,10 @@ index b94ff4af7eb0..ddd7c64613a2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -22898,28 +22335,27 @@ index b94ff4af7eb0..ddd7c64613a2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_software_fallback_wrappers_gn")
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
-index 7127dd7cec88..4f2440c02327 100644
+index a4109078ad18..7d91ac4ebccb 100644
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22936,7 +22372,7 @@ index 7127dd7cec88..4f2440c02327 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23025,7 +22461,7 @@ index 7127dd7cec88..4f2440c02327 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23045,14 +22481,12 @@ index 7127dd7cec88..4f2440c02327 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -23091,12 +22525,10 @@ index 7127dd7cec88..4f2440c02327 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -23105,28 +22537,27 @@ index 7127dd7cec88..4f2440c02327 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalability_mode_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
-index b117e5452806..046a5c61548d 100644
+index 413d7c625981..ec54403372c6 100644
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23143,7 +22574,7 @@ index b117e5452806..046a5c61548d 100644
FINAL_LIBRARY = "xul"
-@@ -55,98 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23243,7 +22674,7 @@ index b117e5452806..046a5c61548d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -154,88 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -156,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23263,14 +22694,12 @@ index b117e5452806..046a5c61548d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -23309,12 +22738,10 @@ index b117e5452806..046a5c61548d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -23323,28 +22750,27 @@ index b117e5452806..046a5c61548d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_codecs_api_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
-index 7551768459b2..9e82018a7b86 100644
+index 4afbd15a2ede..4b1b30a2d0f6 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23361,7 +22787,7 @@ index 7551768459b2..9e82018a7b86 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23461,7 +22887,7 @@ index 7551768459b2..9e82018a7b86 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23477,19 +22903,17 @@ index 7551768459b2..9e82018a7b86 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23515,35 +22939,32 @@ index 7551768459b2..9e82018a7b86 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
-index f8bebec560ae..1e40c0b2b679 100644
+index 8c0ce390c137..78cced434a30 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23560,7 +22981,7 @@ index f8bebec560ae..1e40c0b2b679 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23660,7 +23081,7 @@ index f8bebec560ae..1e40c0b2b679 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23676,19 +23097,17 @@ index f8bebec560ae..1e40c0b2b679 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23714,35 +23133,32 @@ index f8bebec560ae..1e40c0b2b679 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_libaom_av1_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
-index 99636079a13f..56e32034fa02 100644
+index ce8123fb6451..a664d72af4fd 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23759,7 +23175,7 @@ index 99636079a13f..56e32034fa02 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23860,7 +23276,7 @@ index 99636079a13f..56e32034fa02 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23876,19 +23292,17 @@ index 99636079a13f..56e32034fa02 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23914,35 +23328,32 @@ index 99636079a13f..56e32034fa02 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_libvpx_vp8_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
-index 1044053ab046..69eaf139e6b1 100644
+index 49a98cd715ca..e25c605b56cf 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23959,7 +23370,7 @@ index 1044053ab046..69eaf139e6b1 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24060,7 +23471,7 @@ index 1044053ab046..69eaf139e6b1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24076,19 +23487,17 @@ index 1044053ab046..69eaf139e6b1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24114,35 +23523,32 @@ index 1044053ab046..69eaf139e6b1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_libvpx_vp9_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
-index 95d4c676f58d..129a648b2795 100644
+index eae3f9817f18..f079fa84bb50 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24159,7 +23565,7 @@ index 95d4c676f58d..129a648b2795 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24260,7 +23666,7 @@ index 95d4c676f58d..129a648b2795 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24276,19 +23682,17 @@ index 95d4c676f58d..129a648b2795 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24314,35 +23718,32 @@ index 95d4c676f58d..129a648b2795 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_open_h264_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
-index f446420b4b84..430545baba76 100644
+index bb5a5b56e8fd..907dd961dc79 100644
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24359,7 +23760,7 @@ index f446420b4b84..430545baba76 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24460,7 +23861,7 @@ index f446420b4b84..430545baba76 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24480,14 +23881,12 @@ index f446420b4b84..430545baba76 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -24526,12 +23925,10 @@ index f446420b4b84..430545baba76 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -24540,28 +23937,27 @@ index f446420b4b84..430545baba76 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("vp8_temporal_layers_factory_gn")
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
-index fc87471b55d7..2f0d55a14afe 100644
+index e09e7bbfe6a7..04e07ea7827b 100644
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24578,7 +23974,7 @@ index fc87471b55d7..2f0d55a14afe 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24663,7 +24059,7 @@ index fc87471b55d7..2f0d55a14afe 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24679,19 +24075,17 @@ index fc87471b55d7..2f0d55a14afe 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24717,35 +24111,32 @@ index fc87471b55d7..2f0d55a14afe 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_track_source_constraints_gn")
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
-index ae1d392ebd8e..012221581940 100644
+index 1cbb2c1a06d7..739344689e8f 100644
--- third_party/libwebrtc/audio/audio_gn/moz.build
+++ third_party/libwebrtc/audio/audio_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24762,7 +24153,7 @@ index ae1d392ebd8e..012221581940 100644
FINAL_LIBRARY = "xul"
-@@ -57,99 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,99 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24863,7 +24254,7 @@ index ae1d392ebd8e..012221581940 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24883,14 +24274,12 @@ index ae1d392ebd8e..012221581940 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -24929,12 +24318,10 @@ index ae1d392ebd8e..012221581940 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -24943,28 +24330,27 @@ index ae1d392ebd8e..012221581940 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_gn")
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
-index d4f76e9d017f..ddc4751e02fc 100644
+index 92fbf1e0dede..74cd0b3926b2 100644
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24981,7 +24367,7 @@ index d4f76e9d017f..ddc4751e02fc 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25081,7 +24467,7 @@ index d4f76e9d017f..ddc4751e02fc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25101,14 +24487,12 @@ index d4f76e9d017f..ddc4751e02fc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25147,12 +24531,10 @@ index d4f76e9d017f..ddc4751e02fc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25161,28 +24543,27 @@ index d4f76e9d017f..ddc4751e02fc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_operations_gn")
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
-index cc46f5717667..3f3febb67c9d 100644
+index c7a0b64d117e..d73d7f34b9c0 100644
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25199,7 +24580,7 @@ index cc46f5717667..3f3febb67c9d 100644
FINAL_LIBRARY = "xul"
-@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -56,98 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25299,7 +24680,7 @@ index cc46f5717667..3f3febb67c9d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25319,14 +24700,12 @@ index cc46f5717667..3f3febb67c9d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25365,12 +24744,10 @@ index cc46f5717667..3f3febb67c9d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25379,28 +24756,27 @@ index cc46f5717667..3f3febb67c9d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("resource_adaptation_gn")
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
-index 9f8d7378218d..1abee39696dd 100644
+index 996e17f52c62..cb998aabc5b0 100644
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25417,7 +24793,7 @@ index 9f8d7378218d..1abee39696dd 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25513,7 +24889,7 @@ index 9f8d7378218d..1abee39696dd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25529,19 +24905,17 @@ index 9f8d7378218d..1abee39696dd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -25567,35 +24941,32 @@ index 9f8d7378218d..1abee39696dd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_sender_interface_gn")
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
-index a9733fff9e74..2323bba17a99 100644
+index 94a7d297858f..e6aa6ea71441 100644
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25612,7 +24983,7 @@ index a9733fff9e74..2323bba17a99 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25712,7 +25083,7 @@ index a9733fff9e74..2323bba17a99 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25732,14 +25103,12 @@ index a9733fff9e74..2323bba17a99 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25778,12 +25147,10 @@ index a9733fff9e74..2323bba17a99 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25792,28 +25159,27 @@ index a9733fff9e74..2323bba17a99 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_allocator_gn")
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
-index 850bd1207495..351672f63e86 100644
+index 698c10c5dfca..ee2b3f2991b7 100644
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25830,7 +25196,7 @@ index 850bd1207495..351672f63e86 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25919,7 +25285,7 @@ index 850bd1207495..351672f63e86 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25939,14 +25305,12 @@ index 850bd1207495..351672f63e86 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25985,12 +25349,10 @@ index 850bd1207495..351672f63e86 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25999,28 +25361,27 @@ index 850bd1207495..351672f63e86 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_configurator_gn")
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
-index 01d05dc953cb..d66394d2e96b 100644
+index e9153eb454ce..d9f72a02b60c 100644
--- third_party/libwebrtc/call/call_gn/moz.build
+++ third_party/libwebrtc/call/call_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26037,7 +25398,7 @@ index 01d05dc953cb..d66394d2e96b 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26138,7 +25499,7 @@ index 01d05dc953cb..d66394d2e96b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26158,14 +25519,12 @@ index 01d05dc953cb..d66394d2e96b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -26204,12 +25563,10 @@ index 01d05dc953cb..d66394d2e96b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -26218,28 +25575,27 @@ index 01d05dc953cb..d66394d2e96b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("call_gn")
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
-index 2085a0e8cff6..9d202f1d07ac 100644
+index f1f1bb303843..d0ef9d525d5a 100644
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26256,7 +25612,7 @@ index 2085a0e8cff6..9d202f1d07ac 100644
FINAL_LIBRARY = "xul"
-@@ -51,99 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26357,7 +25713,7 @@ index 2085a0e8cff6..9d202f1d07ac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26377,14 +25733,12 @@ index 2085a0e8cff6..9d202f1d07ac 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -26423,12 +25777,10 @@ index 2085a0e8cff6..9d202f1d07ac 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -26437,28 +25789,27 @@ index 2085a0e8cff6..9d202f1d07ac 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("call_interfaces_gn")
diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build
-index 29191448d094..cfc3baa09e32 100644
+index 85e28f429c7c..ca28e79f0b66 100644
--- third_party/libwebrtc/call/payload_type_gn/moz.build
+++ third_party/libwebrtc/call/payload_type_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26475,7 +25826,7 @@ index 29191448d094..cfc3baa09e32 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26575,7 +25926,7 @@ index 29191448d094..cfc3baa09e32 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26591,19 +25942,17 @@ index 29191448d094..cfc3baa09e32 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -26629,35 +25978,32 @@ index 29191448d094..cfc3baa09e32 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("payload_type_gn")
diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build
-index 8748c0cbb4ca..78024420815c 100644
+index 650d536de7d3..020555402df4 100644
--- third_party/libwebrtc/call/payload_type_picker_gn/moz.build
+++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26674,7 +26020,7 @@ index 8748c0cbb4ca..78024420815c 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26774,7 +26120,7 @@ index 8748c0cbb4ca..78024420815c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26794,14 +26140,12 @@ index 8748c0cbb4ca..78024420815c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -26840,12 +26184,10 @@ index 8748c0cbb4ca..78024420815c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -26854,28 +26196,27 @@ index 8748c0cbb4ca..78024420815c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("payload_type_picker_gn")
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
-index 7490a7abd497..59ea1b2b5448 100644
+index a6c6001f74e2..8d549a7ab50f 100644
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26892,7 +26233,7 @@ index 7490a7abd497..59ea1b2b5448 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26992,7 +26333,7 @@ index 7490a7abd497..59ea1b2b5448 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27008,19 +26349,17 @@ index 7490a7abd497..59ea1b2b5448 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -27046,35 +26385,32 @@ index 7490a7abd497..59ea1b2b5448 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("receive_stream_interface_gn")
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
-index e70c9541d6ec..b5cad7c8f322 100644
+index 85873e674c14..24f88b79244a 100644
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27091,7 +26427,7 @@ index e70c9541d6ec..b5cad7c8f322 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27191,7 +26527,7 @@ index e70c9541d6ec..b5cad7c8f322 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27211,14 +26547,12 @@ index e70c9541d6ec..b5cad7c8f322 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27257,12 +26591,10 @@ index e70c9541d6ec..b5cad7c8f322 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27271,28 +26603,27 @@ index e70c9541d6ec..b5cad7c8f322 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_interfaces_gn")
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
-index 5e2c06b6a0a3..562f9ce1e68c 100644
+index 680b4c6faf4b..52c74494d5fe 100644
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27309,7 +26640,7 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27410,7 +26741,7 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27430,14 +26761,12 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27476,12 +26805,10 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27490,28 +26817,27 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_receiver_gn")
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
-index a8ff134e981f..212bd6345f6f 100644
+index c54282e5cead..483a0d764e21 100644
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27528,7 +26854,7 @@ index a8ff134e981f..212bd6345f6f 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27629,7 +26955,7 @@ index a8ff134e981f..212bd6345f6f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27649,14 +26975,12 @@ index a8ff134e981f..212bd6345f6f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27695,12 +27019,10 @@ index a8ff134e981f..212bd6345f6f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27709,28 +27031,27 @@ index a8ff134e981f..212bd6345f6f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_sender_gn")
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
-index 828f94f4cbdd..68a780748b3d 100644
+index 68e67fa3d88a..a2f2266e7dda 100644
--- third_party/libwebrtc/call/version_gn/moz.build
+++ third_party/libwebrtc/call/version_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27747,7 +27068,7 @@ index 828f94f4cbdd..68a780748b3d 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27832,7 +27153,7 @@ index 828f94f4cbdd..68a780748b3d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27852,14 +27173,12 @@ index 828f94f4cbdd..68a780748b3d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27898,12 +27217,10 @@ index 828f94f4cbdd..68a780748b3d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27912,28 +27229,27 @@ index 828f94f4cbdd..68a780748b3d 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("version_gn")
diff --git third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
-index 7fa1a7744a16..d484b531245e 100644
+index 42919d9750d6..5c78f2ae7501 100644
--- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
+++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27950,7 +27266,7 @@ index 7fa1a7744a16..d484b531245e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28050,7 +27366,7 @@ index 7fa1a7744a16..d484b531245e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28070,14 +27386,12 @@ index 7fa1a7744a16..d484b531245e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -28116,12 +27430,10 @@ index 7fa1a7744a16..d484b531245e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -28130,28 +27442,27 @@ index 7fa1a7744a16..d484b531245e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_receive_stream_api_gn")
diff --git third_party/libwebrtc/call/video_send_stream_api_gn/moz.build third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
-index 2b5383c055d0..2be81a195947 100644
+index 313ac5a18542..9c2133892487 100644
--- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
+++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -28168,7 +27479,7 @@ index 2b5383c055d0..2be81a195947 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28268,7 +27579,7 @@ index 2b5383c055d0..2be81a195947 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28288,14 +27599,12 @@ index 2b5383c055d0..2be81a195947 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -28334,12 +27643,10 @@ index 2b5383c055d0..2be81a195947 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -28348,28 +27655,27 @@ index 2b5383c055d0..2be81a195947 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_send_stream_api_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
-index fe1b026fc033..3bc0d69ffe9f 100644
+index 9dc7f0d05cd6..f4c90763c1cf 100644
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
-@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -28387,7 +27693,7 @@ index fe1b026fc033..3bc0d69ffe9f 100644
FINAL_LIBRARY = "xul"
-@@ -52,128 +61,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,127 +63,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28419,7 +27725,6 @@ index fe1b026fc033..3bc0d69ffe9f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -28518,15 +27823,16 @@ index fe1b026fc033..3bc0d69ffe9f 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
-index bbe581ba7140..05b3437fc803 100644
+index 2adc30b60cc3..7ffb62cc89f2 100644
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -28543,7 +27849,7 @@ index bbe581ba7140..05b3437fc803 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28628,7 +27934,7 @@ index bbe581ba7140..05b3437fc803 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,32 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,30 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28649,19 +27955,17 @@ index bbe581ba7140..05b3437fc803 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -160,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -160,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -28687,35 +27991,32 @@ index bbe581ba7140..05b3437fc803 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("common_audio_c_arm_asm_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
-index 2ec7bdf69533..7486ca545e4c 100644
+index 92ead1350503..499e855a6429 100644
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -28732,7 +28033,7 @@ index 2ec7bdf69533..7486ca545e4c 100644
FINAL_LIBRARY = "xul"
-@@ -82,120 +91,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -84,120 +93,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28854,7 +28155,7 @@ index 2ec7bdf69533..7486ca545e4c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -203,20 +99,14 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -205,20 +101,14 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28879,28 +28180,24 @@ index 2ec7bdf69533..7486ca545e4c 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
-@@ -225,10 +115,8 @@ if CONFIG["TARGET_CPU"] == "loongarch64":
-
- if CONFIG["TARGET_CPU"] == "mips32":
+@@ -229,7 +119,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c"
-@@ -245,9 +133,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -246,8 +135,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
-@@ -262,63 +147,7 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -262,62 +149,7 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
@@ -28959,19 +28256,17 @@ index 2ec7bdf69533..7486ca545e4c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+if CONFIG["TARGET_CPU"] == "riscv64":
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-@@ -326,31 +155,13 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+@@ -325,29 +157,13 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- UNIFIED_SOURCES += [
@@ -28993,35 +28288,34 @@ index 2ec7bdf69533..7486ca545e4c 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-@@ -358,10 +169,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -355,9 +171,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
-index 4f177e28c07d..581e60d176df 100644
+index 1560a14f085d..6e45b9b381b6 100644
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -29038,7 +28332,7 @@ index 4f177e28c07d..581e60d176df 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29138,7 +28432,7 @@ index 4f177e28c07d..581e60d176df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -29158,14 +28452,12 @@ index 4f177e28c07d..581e60d176df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -29204,12 +28496,10 @@ index 4f177e28c07d..581e60d176df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -29218,28 +28508,27 @@ index 4f177e28c07d..581e60d176df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("common_audio_cc_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
-index c58955b10ea6..ee6a43e9fefc 100644
+index 7ae87f142c97..898caf8d8737 100644
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -29256,7 +28545,7 @@ index c58955b10ea6..ee6a43e9fefc 100644
FINAL_LIBRARY = "xul"
-@@ -58,98 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,98 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29356,7 +28645,7 @@ index c58955b10ea6..ee6a43e9fefc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -29376,14 +28665,12 @@ index c58955b10ea6..ee6a43e9fefc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -29422,12 +28709,10 @@ index c58955b10ea6..ee6a43e9fefc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -29436,28 +28721,27 @@ index c58955b10ea6..ee6a43e9fefc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("common_audio_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
-index dff5e9a9e48a..f71793d2412b 100644
+index b25cc26758a9..aa3c85edd842 100644
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
-@@ -13,13 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,25 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_ARCH_ARM64"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -29477,7 +28761,7 @@ index dff5e9a9e48a..f71793d2412b 100644
FINAL_LIBRARY = "xul"
-@@ -48,144 +59,6 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,143 +61,6 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29511,7 +28795,6 @@ index dff5e9a9e48a..f71793d2412b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29623,15 +28906,16 @@ index dff5e9a9e48a..f71793d2412b 100644
-
Library("common_audio_neon_c_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
-index bcb0eea056b8..68f568a4609e 100644
+index 68c741dd1e4e..82e3c5baa6fa 100644
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
-@@ -13,13 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,25 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_ARCH_ARM64"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -29651,7 +28935,7 @@ index bcb0eea056b8..68f568a4609e 100644
FINAL_LIBRARY = "xul"
-@@ -47,144 +58,6 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,143 +60,6 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29685,7 +28969,6 @@ index bcb0eea056b8..68f568a4609e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29797,15 +29080,16 @@ index bcb0eea056b8..68f568a4609e 100644
-
Library("common_audio_neon_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
-index 4a6fdb306aa6..dbecce80ab45 100644
+index 5b461feec23b..29c9377cb4f9 100644
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -29823,7 +29107,7 @@ index 4a6fdb306aa6..dbecce80ab45 100644
FINAL_LIBRARY = "xul"
-@@ -47,150 +56,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,149 +58,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29859,7 +29143,6 @@ index 4a6fdb306aa6..dbecce80ab45 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29977,15 +29260,16 @@ index 4a6fdb306aa6..dbecce80ab45 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
-index ce9072a0fe55..6ebbd2bc8f48 100644
+index 7f03b4b2e53f..bc11ece1d4d7 100644
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30002,7 +29286,7 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30102,7 +29386,7 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30122,14 +29406,12 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -30168,12 +29450,10 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -30182,28 +29462,27 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fir_filter_factory_gn")
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
-index 06ea301b21f9..81322b8eb2ec 100644
+index eb3c6df45839..0fcc226c6d9a 100644
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30220,7 +29499,7 @@ index 06ea301b21f9..81322b8eb2ec 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30305,7 +29584,7 @@ index 06ea301b21f9..81322b8eb2ec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30321,19 +29600,17 @@ index 06ea301b21f9..81322b8eb2ec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -30359,35 +29636,32 @@ index 06ea301b21f9..81322b8eb2ec 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("fir_filter_gn")
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
-index 5290e066bab5..24a8a439063c 100644
+index 22da9aa64e1f..8a65508b1542 100644
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30404,7 +29678,7 @@ index 5290e066bab5..24a8a439063c 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30504,7 +29778,7 @@ index 5290e066bab5..24a8a439063c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30520,19 +29794,17 @@ index 5290e066bab5..24a8a439063c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -30558,35 +29830,32 @@ index 5290e066bab5..24a8a439063c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sinc_resampler_gn")
diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
-index 4292372dbac9..1d7ed49fde1e 100644
+index 8b9bb4c81cad..3440d15b9e1c 100644
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30603,7 +29872,7 @@ index 4292372dbac9..1d7ed49fde1e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30703,7 +29972,7 @@ index 4292372dbac9..1d7ed49fde1e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,128 +66,38 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,122 +68,38 @@ if CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
]
@@ -30727,7 +29996,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
@@ -30738,7 +30006,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
if CONFIG["TARGET_CPU"] == "x86":
@@ -30798,12 +30065,10 @@ index 4292372dbac9..1d7ed49fde1e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -30816,7 +30081,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
+ "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
@@ -30826,7 +30090,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "x86_64":
@@ -30840,15 +30103,16 @@ index 4292372dbac9..1d7ed49fde1e 100644
Library("fft_size_128_gn")
diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
-index 083f0cacddb9..870f24ccad4f 100644
+index 3e62c5c7f5d2..7541b01f163e 100644
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30865,7 +30129,7 @@ index 083f0cacddb9..870f24ccad4f 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30950,7 +30214,7 @@ index 083f0cacddb9..870f24ccad4f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30970,14 +30234,12 @@ index 083f0cacddb9..870f24ccad4f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -31016,12 +30278,10 @@ index 083f0cacddb9..870f24ccad4f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -31030,28 +30290,27 @@ index 083f0cacddb9..870f24ccad4f 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fft_size_256_gn")
diff --git third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
-index 8fba4c436475..7be006d15bc0 100644
+index 3fbf9e4e2fee..d14b47d5e338 100644
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31068,7 +30327,7 @@ index 8fba4c436475..7be006d15bc0 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31165,7 +30424,7 @@ index 8fba4c436475..7be006d15bc0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,30 +58,20 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,20 +60,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31188,27 +30447,24 @@ index 8fba4c436475..7be006d15bc0 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
]
+@@ -161,7 +74,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c"
-@@ -168,9 +79,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -169,8 +81,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
]
-@@ -181,93 +89,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -181,89 +91,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
]
@@ -31265,7 +30521,6 @@ index 8fba4c436475..7be006d15bc0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- UNIFIED_SOURCES += [
@@ -31274,7 +30529,6 @@ index 8fba4c436475..7be006d15bc0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
@@ -31290,7 +30544,6 @@ index 8fba4c436475..7be006d15bc0 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -31301,22 +30554,22 @@ index 8fba4c436475..7be006d15bc0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
-index 53e079b36c1e..216161d185b7 100644
+index 4594217ae7ea..ecade4065db8 100644
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31333,7 +30586,7 @@ index 53e079b36c1e..216161d185b7 100644
FINAL_LIBRARY = "xul"
-@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,98 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31433,7 +30686,7 @@ index 53e079b36c1e..216161d185b7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -156,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -158,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31453,14 +30706,12 @@ index 53e079b36c1e..216161d185b7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -31499,12 +30750,10 @@ index 53e079b36c1e..216161d185b7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -31513,28 +30762,27 @@ index 53e079b36c1e..216161d185b7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("common_video_gn")
diff --git third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
-index a39b53c0b225..46901ebfa87d 100644
+index 7a12e1f80532..67975fb257fe 100644
--- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
+++ third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31551,7 +30799,7 @@ index a39b53c0b225..46901ebfa87d 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31640,7 +30888,7 @@ index a39b53c0b225..46901ebfa87d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31660,14 +30908,12 @@ index a39b53c0b225..46901ebfa87d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -31706,12 +30952,10 @@ index a39b53c0b225..46901ebfa87d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -31720,28 +30964,27 @@ index a39b53c0b225..46901ebfa87d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("corruption_detection_converters_gn")
diff --git third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
-index b6aee1c8bbbe..dfb538922b84 100644
+index 8923f3ddf002..937a7c082f7c 100644
--- third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
+++ third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31758,7 +31001,7 @@ index b6aee1c8bbbe..dfb538922b84 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31854,7 +31097,7 @@ index b6aee1c8bbbe..dfb538922b84 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31870,19 +31113,17 @@ index b6aee1c8bbbe..dfb538922b84 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -31908,35 +31149,32 @@ index b6aee1c8bbbe..dfb538922b84 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("corruption_score_calculator_gn")
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
-index 4c0a4630b610..5d45fb7c23c4 100644
+index 8a2276e31b03..17eb2a61992d 100644
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31953,7 +31191,7 @@ index 4c0a4630b610..5d45fb7c23c4 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32038,7 +31276,7 @@ index 4c0a4630b610..5d45fb7c23c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32054,19 +31292,17 @@ index 4c0a4630b610..5d45fb7c23c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32092,35 +31328,32 @@ index 4c0a4630b610..5d45fb7c23c4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_counts_gn")
diff --git third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
-index 9f1fe24b6f43..b4200efd2d0f 100644
+index 704b8b08b41c..6a39ea1a1db6 100644
--- third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
+++ third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32137,7 +31370,7 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32222,7 +31455,7 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32238,19 +31471,17 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32276,35 +31507,32 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_instrumentation_data_gn")
diff --git third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
-index 5ad5eb8a6c24..f3ff9dad7e78 100644
+index f6be73a2ee74..c2e2eb3a24e4 100644
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32321,7 +31549,7 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32410,7 +31638,7 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32430,14 +31658,12 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -32476,12 +31702,10 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -32490,28 +31714,27 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("generic_frame_descriptor_gn")
diff --git third_party/libwebrtc/dcsctp_gn/moz.build third_party/libwebrtc/dcsctp_gn/moz.build
-index a361aa0738ba..9c86ad151947 100644
+index 9dce2c0157e9..f452910e84ab 100644
--- third_party/libwebrtc/dcsctp_gn/moz.build
+++ third_party/libwebrtc/dcsctp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32528,7 +31751,7 @@ index a361aa0738ba..9c86ad151947 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32624,7 +31847,7 @@ index a361aa0738ba..9c86ad151947 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32640,19 +31863,17 @@ index a361aa0738ba..9c86ad151947 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32678,35 +31899,32 @@ index a361aa0738ba..9c86ad151947 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("dcsctp_gn")
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
-index 415d4f6b6bad..a38a5238b43b 100644
+index 70925379fe41..9ae47f123445 100644
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32723,7 +31941,7 @@ index 415d4f6b6bad..a38a5238b43b 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32808,7 +32026,7 @@ index 415d4f6b6bad..a38a5238b43b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32824,19 +32042,17 @@ index 415d4f6b6bad..a38a5238b43b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32862,30 +32078,26 @@ index 415d4f6b6bad..a38a5238b43b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("registered_field_trials_gn")
diff --git third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build
-index 6c29dea76a50..3ae54a950c46 100644
+index edb8e084a33a..e2236e78c4a0 100644
--- third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build
+++ third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build
-@@ -31,9 +31,4 @@ LOCAL_INCLUDES += [
+@@ -32,9 +32,4 @@ LOCAL_INCLUDES += [
"/tools/profiler/public"
]
@@ -32896,15 +32108,16 @@ index 6c29dea76a50..3ae54a950c46 100644
-
Library("registered_field_trials_header_gn")
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
-index 19d2011f0711..fd3195859252 100644
+index b1b3582e1608..7eb186a72b60 100644
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32921,7 +32134,7 @@ index 19d2011f0711..fd3195859252 100644
FINAL_LIBRARY = "xul"
-@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,94 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33017,7 +32230,7 @@ index 19d2011f0711..fd3195859252 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33037,14 +32250,12 @@ index 19d2011f0711..fd3195859252 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33083,12 +32294,10 @@ index 19d2011f0711..fd3195859252 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33097,28 +32306,27 @@ index 19d2011f0711..fd3195859252 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_audio_gn")
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
-index af48c04f59de..a7254b198d49 100644
+index cf4cfcc07e11..423e1504c239 100644
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33135,7 +32343,7 @@ index af48c04f59de..a7254b198d49 100644
FINAL_LIBRARY = "xul"
-@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33231,7 +32439,7 @@ index af48c04f59de..a7254b198d49 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33251,14 +32459,12 @@ index af48c04f59de..a7254b198d49 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33297,12 +32503,10 @@ index af48c04f59de..a7254b198d49 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33311,28 +32515,27 @@ index af48c04f59de..a7254b198d49 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_bwe_gn")
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
-index 68ca708760ea..670306ad1fab 100644
+index 1237d6915038..a1db7c7cf147 100644
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33349,7 +32552,7 @@ index 68ca708760ea..670306ad1fab 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33445,7 +32648,7 @@ index 68ca708760ea..670306ad1fab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33465,14 +32668,12 @@ index 68ca708760ea..670306ad1fab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33511,12 +32712,10 @@ index 68ca708760ea..670306ad1fab 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33525,28 +32724,27 @@ index 68ca708760ea..670306ad1fab 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_field_gn")
diff --git third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
-index ba98f2fad30c..0521908d9419 100644
+index a0b53a3dcf6b..23328c26c561 100644
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33563,7 +32761,7 @@ index ba98f2fad30c..0521908d9419 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33652,7 +32850,7 @@ index ba98f2fad30c..0521908d9419 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33668,19 +32866,17 @@ index ba98f2fad30c..0521908d9419 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -33706,35 +32902,32 @@ index ba98f2fad30c..0521908d9419 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_event_log_parse_status_gn")
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
-index 01705c04b230..8e87aff3722e 100644
+index b81ffc31f513..51d2fcb05f21 100644
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33751,7 +32944,7 @@ index 01705c04b230..8e87aff3722e 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33840,7 +33033,7 @@ index 01705c04b230..8e87aff3722e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -137,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33860,14 +33053,12 @@ index 01705c04b230..8e87aff3722e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33906,12 +33097,10 @@ index 01705c04b230..8e87aff3722e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33920,28 +33109,27 @@ index 01705c04b230..8e87aff3722e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_number_encodings_gn")
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
-index b5e49419d3ef..c6f0009da400 100644
+index 2d80e868d5e2..d80df18762aa 100644
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33958,7 +33146,7 @@ index b5e49419d3ef..c6f0009da400 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34054,7 +33242,7 @@ index b5e49419d3ef..c6f0009da400 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34074,14 +33262,12 @@ index b5e49419d3ef..c6f0009da400 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34120,12 +33306,10 @@ index b5e49419d3ef..c6f0009da400 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34134,28 +33318,27 @@ index b5e49419d3ef..c6f0009da400 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_pacing_gn")
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
-index 669a835db754..68eacaa9575b 100644
+index 2673075055fb..3a5ac9ee85d6 100644
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34172,7 +33355,7 @@ index 669a835db754..68eacaa9575b 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34272,7 +33455,7 @@ index 669a835db754..68eacaa9575b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34292,14 +33475,12 @@ index 669a835db754..68eacaa9575b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34338,12 +33519,10 @@ index 669a835db754..68eacaa9575b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34352,28 +33531,27 @@ index 669a835db754..68eacaa9575b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_rtp_rtcp_gn")
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
-index e3933c0aa96e..563a8c4cd9fb 100644
+index 4eba826cac76..a2af28545932 100644
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34390,7 +33568,7 @@ index e3933c0aa96e..563a8c4cd9fb 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34486,7 +33664,7 @@ index e3933c0aa96e..563a8c4cd9fb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34506,14 +33684,12 @@ index e3933c0aa96e..563a8c4cd9fb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34552,12 +33728,10 @@ index e3933c0aa96e..563a8c4cd9fb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34566,28 +33740,27 @@ index e3933c0aa96e..563a8c4cd9fb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_video_gn")
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
-index 60a829841624..6a35e9816c35 100644
+index 84cfad03cbad..c15c6b76c6ad 100644
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34604,7 +33777,7 @@ index 60a829841624..6a35e9816c35 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34700,7 +33873,7 @@ index 60a829841624..6a35e9816c35 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34720,14 +33893,12 @@ index 60a829841624..6a35e9816c35 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34766,12 +33937,10 @@ index 60a829841624..6a35e9816c35 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34780,28 +33949,27 @@ index 60a829841624..6a35e9816c35 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_stream_config_gn")
diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
-index 95e5b56fcaf2..6ebaffa17bf0 100644
+index c50a3f48e50c..8f304e5179b0 100644
--- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
+++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34818,7 +33986,7 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34918,7 +34086,7 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34938,14 +34106,12 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34984,12 +34150,10 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34998,28 +34162,27 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("adapted_video_track_source_gn")
diff --git third_party/libwebrtc/media/audio_source_gn/moz.build third_party/libwebrtc/media/audio_source_gn/moz.build
-index 79c6905d50d0..a651f17c72f3 100644
+index a4593705f4d4..cf45ed1996b4 100644
--- third_party/libwebrtc/media/audio_source_gn/moz.build
+++ third_party/libwebrtc/media/audio_source_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35036,7 +34199,7 @@ index 79c6905d50d0..a651f17c72f3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35121,7 +34284,7 @@ index 79c6905d50d0..a651f17c72f3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35137,19 +34300,17 @@ index 79c6905d50d0..a651f17c72f3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35175,35 +34336,32 @@ index 79c6905d50d0..a651f17c72f3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_source_gn")
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
-index 11fbb4c53ece..2fa1b126e636 100644
+index 4ad0c6b4d4f1..a2e84b26f4b5 100644
--- third_party/libwebrtc/media/codec_gn/moz.build
+++ third_party/libwebrtc/media/codec_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35220,7 +34378,7 @@ index 11fbb4c53ece..2fa1b126e636 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35320,7 +34478,7 @@ index 11fbb4c53ece..2fa1b126e636 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35340,14 +34498,12 @@ index 11fbb4c53ece..2fa1b126e636 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -35386,12 +34542,10 @@ index 11fbb4c53ece..2fa1b126e636 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -35400,28 +34554,27 @@ index 11fbb4c53ece..2fa1b126e636 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("codec_gn")
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
-index ffb4236c2b4a..9d1b62e2b4ce 100644
+index 0123be9df1ba..9ba5846e1cce 100644
--- third_party/libwebrtc/media/media_channel_gn/moz.build
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35438,7 +34591,7 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35539,7 +34692,7 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35555,19 +34708,17 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35593,35 +34744,32 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("media_channel_gn")
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
-index cca0752fc101..d98b839a2d92 100644
+index 314151b757d8..146ff9def9fe 100644
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35638,7 +34786,7 @@ index cca0752fc101..d98b839a2d92 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35723,7 +34871,7 @@ index cca0752fc101..d98b839a2d92 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35739,19 +34887,17 @@ index cca0752fc101..d98b839a2d92 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35777,35 +34923,32 @@ index cca0752fc101..d98b839a2d92 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("media_channel_impl_gn")
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
-index 0de5e3362a74..5adbec9d0fdb 100644
+index 9ca79aabe233..56b3ea5ed006 100644
--- third_party/libwebrtc/media/media_constants_gn/moz.build
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35822,7 +34965,7 @@ index 0de5e3362a74..5adbec9d0fdb 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35907,7 +35050,7 @@ index 0de5e3362a74..5adbec9d0fdb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35927,14 +35070,12 @@ index 0de5e3362a74..5adbec9d0fdb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -35973,12 +35114,10 @@ index 0de5e3362a74..5adbec9d0fdb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -35987,28 +35126,27 @@ index 0de5e3362a74..5adbec9d0fdb 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("media_constants_gn")
diff --git third_party/libwebrtc/media/media_engine_gn/moz.build third_party/libwebrtc/media/media_engine_gn/moz.build
-index f7a6f8714d3e..d086491ddaa2 100644
+index 511ed8d0de3d..310b21190384 100644
--- third_party/libwebrtc/media/media_engine_gn/moz.build
+++ third_party/libwebrtc/media/media_engine_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36025,7 +35163,7 @@ index f7a6f8714d3e..d086491ddaa2 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36126,7 +35264,7 @@ index f7a6f8714d3e..d086491ddaa2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36142,19 +35280,17 @@ index f7a6f8714d3e..d086491ddaa2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -36180,35 +35316,32 @@ index f7a6f8714d3e..d086491ddaa2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("media_engine_gn")
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
-index 350d2d42a27a..bd2d2d1a3c1d 100644
+index f90d99ec11d7..1e68c6ca8bd9 100644
--- third_party/libwebrtc/media/rid_description_gn/moz.build
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36225,7 +35358,7 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36325,7 +35458,7 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36345,14 +35478,12 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -36391,12 +35522,10 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -36405,28 +35534,27 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rid_description_gn")
diff --git third_party/libwebrtc/media/rtc_audio_video_gn/moz.build third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
-index 8b2173e83a8d..53bcc77e6c67 100644
+index 7074c8187174..fb37030f65f5 100644
--- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
+++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
-@@ -14,12 +14,21 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
+@@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36443,7 +35571,7 @@ index 8b2173e83a8d..53bcc77e6c67 100644
FINAL_LIBRARY = "xul"
-@@ -47,103 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,103 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36548,7 +35676,7 @@ index 8b2173e83a8d..53bcc77e6c67 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36568,14 +35696,12 @@ index 8b2173e83a8d..53bcc77e6c67 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -36614,12 +35740,10 @@ index 8b2173e83a8d..53bcc77e6c67 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -36628,28 +35752,27 @@ index 8b2173e83a8d..53bcc77e6c67 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_audio_video_gn")
diff --git third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
-index 3683d691b678..1f529f42bdc0 100644
+index 57889f565303..bd831fddb2dc 100644
--- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
+++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
-@@ -14,12 +14,21 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
+@@ -14,13 +14,22 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
DEFINES["RTC_USE_LIBAOM_AV1_ENCODER"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36666,7 +35789,7 @@ index 3683d691b678..1f529f42bdc0 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36767,7 +35890,7 @@ index 3683d691b678..1f529f42bdc0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36787,14 +35910,12 @@ index 3683d691b678..1f529f42bdc0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -36833,12 +35954,10 @@ index 3683d691b678..1f529f42bdc0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -36847,28 +35966,27 @@ index 3683d691b678..1f529f42bdc0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_internal_video_codecs_gn")
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
-index b27437382904..578bc0b80472 100644
+index c18e870acb9a..fedda41e6ae3 100644
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36885,7 +36003,7 @@ index b27437382904..578bc0b80472 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36986,7 +36104,7 @@ index b27437382904..578bc0b80472 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37002,19 +36120,17 @@ index b27437382904..578bc0b80472 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37040,35 +36156,32 @@ index b27437382904..578bc0b80472 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_media_base_gn")
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
-index faf48db2d276..5fc7599bde08 100644
+index 37cd82e2a682..972d06306f41 100644
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37085,7 +36198,7 @@ index faf48db2d276..5fc7599bde08 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37170,7 +36283,7 @@ index faf48db2d276..5fc7599bde08 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37186,19 +36299,17 @@ index faf48db2d276..5fc7599bde08 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37224,35 +36335,32 @@ index faf48db2d276..5fc7599bde08 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_media_config_gn")
diff --git third_party/libwebrtc/media/rtc_media_gn/moz.build third_party/libwebrtc/media/rtc_media_gn/moz.build
-index 1b7b6de7915a..1aff1b07aa5f 100644
+index 95aff4fcc141..f1496c154221 100644
--- third_party/libwebrtc/media/rtc_media_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_gn/moz.build
-@@ -14,12 +14,21 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
+@@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37269,7 +36377,7 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
FINAL_LIBRARY = "xul"
-@@ -42,103 +51,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -44,103 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37374,7 +36482,7 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,27 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37390,19 +36498,17 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -176,44 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -176,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37428,35 +36534,32 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_media_gn")
diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
-index 057c31cdd32d..855d7dba3fed 100644
+index 3903b5043c9c..f04602321b4b 100644
--- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
+++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37473,7 +36576,7 @@ index 057c31cdd32d..855d7dba3fed 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37573,7 +36676,7 @@ index 057c31cdd32d..855d7dba3fed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37593,14 +36696,12 @@ index 057c31cdd32d..855d7dba3fed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -37639,12 +36740,10 @@ index 057c31cdd32d..855d7dba3fed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -37653,28 +36752,27 @@ index 057c31cdd32d..855d7dba3fed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_sdp_video_format_utils_gn")
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
-index eda06ab0f069..e216a7d8756f 100644
+index a8632f24d148..12faca2c60ec 100644
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37691,7 +36789,7 @@ index eda06ab0f069..e216a7d8756f 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37792,7 +36890,7 @@ index eda06ab0f069..e216a7d8756f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37812,14 +36910,12 @@ index eda06ab0f069..e216a7d8756f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -37858,12 +36954,10 @@ index eda06ab0f069..e216a7d8756f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -37872,28 +36966,27 @@ index eda06ab0f069..e216a7d8756f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_simulcast_encoder_adapter_gn")
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
-index c4bc1c695159..93aef89a254f 100644
+index 6d41faceb2a1..b3ce0c3dac99 100644
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37910,7 +37003,7 @@ index c4bc1c695159..93aef89a254f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37995,7 +37088,7 @@ index c4bc1c695159..93aef89a254f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38011,19 +37104,17 @@ index c4bc1c695159..93aef89a254f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38049,35 +37140,32 @@ index c4bc1c695159..93aef89a254f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_utils_gn")
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
-index aab98c22b490..793b552f52c4 100644
+index 22c82b496a59..78fd4155d38b 100644
--- third_party/libwebrtc/media/stream_params_gn/moz.build
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38094,7 +37182,7 @@ index aab98c22b490..793b552f52c4 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38179,7 +37267,7 @@ index aab98c22b490..793b552f52c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38195,19 +37283,17 @@ index aab98c22b490..793b552f52c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38233,35 +37319,32 @@ index aab98c22b490..793b552f52c4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("stream_params_gn")
diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build
-index 51b78b36338c..05509afcdd12 100644
+index ce7a74872715..80d67950990d 100644
--- third_party/libwebrtc/media/video_adapter_gn/moz.build
+++ third_party/libwebrtc/media/video_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38278,7 +37361,7 @@ index 51b78b36338c..05509afcdd12 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38378,7 +37461,7 @@ index 51b78b36338c..05509afcdd12 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38398,14 +37481,12 @@ index 51b78b36338c..05509afcdd12 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -38444,12 +37525,10 @@ index 51b78b36338c..05509afcdd12 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -38458,28 +37537,27 @@ index 51b78b36338c..05509afcdd12 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_adapter_gn")
diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build
-index 0e00a392b816..eeba7ecec130 100644
+index 0bba5248d917..c85e8c95f8f6 100644
--- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
+++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38496,7 +37574,7 @@ index 0e00a392b816..eeba7ecec130 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38592,7 +37670,7 @@ index 0e00a392b816..eeba7ecec130 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38612,14 +37690,12 @@ index 0e00a392b816..eeba7ecec130 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -38658,12 +37734,10 @@ index 0e00a392b816..eeba7ecec130 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -38672,28 +37746,27 @@ index 0e00a392b816..eeba7ecec130 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_broadcaster_gn")
diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build
-index ceaf76133561..7a08c0558dee 100644
+index fe09ce34a933..a764d15f802e 100644
--- third_party/libwebrtc/media/video_common_gn/moz.build
+++ third_party/libwebrtc/media/video_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38710,7 +37783,7 @@ index ceaf76133561..7a08c0558dee 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38806,7 +37879,7 @@ index ceaf76133561..7a08c0558dee 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38826,14 +37899,12 @@ index ceaf76133561..7a08c0558dee 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -38872,12 +37943,10 @@ index ceaf76133561..7a08c0558dee 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -38886,28 +37955,27 @@ index ceaf76133561..7a08c0558dee 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_common_gn")
diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build
-index f2ffa47c5bb7..57344305c0c1 100644
+index f8053045dc9f..a32461b2c660 100644
--- third_party/libwebrtc/media/video_source_base_gn/moz.build
+++ third_party/libwebrtc/media/video_source_base_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38924,7 +37992,7 @@ index f2ffa47c5bb7..57344305c0c1 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39020,7 +38088,7 @@ index f2ffa47c5bb7..57344305c0c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39040,14 +38108,12 @@ index f2ffa47c5bb7..57344305c0c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39086,12 +38152,10 @@ index f2ffa47c5bb7..57344305c0c1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39100,28 +38164,27 @@ index f2ffa47c5bb7..57344305c0c1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_source_base_gn")
diff --git third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
-index 3536fc5173ad..b9b14d294f9a 100644
+index 91f2dac44ee2..71ed37ed1668 100644
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39138,7 +38201,7 @@ index 3536fc5173ad..b9b14d294f9a 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39234,7 +38297,7 @@ index 3536fc5173ad..b9b14d294f9a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39254,14 +38317,12 @@ index 3536fc5173ad..b9b14d294f9a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39300,12 +38361,10 @@ index 3536fc5173ad..b9b14d294f9a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39314,28 +38373,27 @@ index 3536fc5173ad..b9b14d294f9a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("async_audio_processing_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
-index 9d1463f15180..2f4b795ddfdb 100644
+index f78bef6c5863..4db9966a8cb1 100644
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39352,7 +38410,7 @@ index 9d1463f15180..2f4b795ddfdb 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39452,7 +38510,7 @@ index 9d1463f15180..2f4b795ddfdb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39472,14 +38530,12 @@ index 9d1463f15180..2f4b795ddfdb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39518,12 +38574,10 @@ index 9d1463f15180..2f4b795ddfdb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39532,28 +38586,27 @@ index 9d1463f15180..2f4b795ddfdb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_coding_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
-index 816a96a40d65..54e2c008eae3 100644
+index 2c7ca80ec0ec..ebb25ef7e20d 100644
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39570,7 +38623,7 @@ index 816a96a40d65..54e2c008eae3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39655,7 +38708,7 @@ index 816a96a40d65..54e2c008eae3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39671,19 +38724,17 @@ index 816a96a40d65..54e2c008eae3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -39709,35 +38760,32 @@ index 816a96a40d65..54e2c008eae3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_coding_module_typedefs_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
-index 593b744a33d6..33fd22c702f9 100644
+index 7bc2549166df..c14d768af4f1 100644
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39754,7 +38802,7 @@ index 593b744a33d6..33fd22c702f9 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39854,7 +38902,7 @@ index 593b744a33d6..33fd22c702f9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39874,14 +38922,12 @@ index 593b744a33d6..33fd22c702f9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39920,12 +38966,10 @@ index 593b744a33d6..33fd22c702f9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39934,28 +38978,27 @@ index 593b744a33d6..33fd22c702f9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_coding_opus_common_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
-index 4261145d7564..4b6330407030 100644
+index 0524d70044a1..2be902ad493c 100644
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39972,7 +39015,7 @@ index 4261145d7564..4b6330407030 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40072,7 +39115,7 @@ index 4261145d7564..4b6330407030 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40092,14 +39135,12 @@ index 4261145d7564..4b6330407030 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40138,12 +39179,10 @@ index 4261145d7564..4b6330407030 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40152,28 +39191,27 @@ index 4261145d7564..4b6330407030 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_cng_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
-index 878cbd08fcc4..55fbc250e1bb 100644
+index 0da571dfa094..4b99b74b454b 100644
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40190,7 +39228,7 @@ index 878cbd08fcc4..55fbc250e1bb 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40275,7 +39313,7 @@ index 878cbd08fcc4..55fbc250e1bb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40295,14 +39333,12 @@ index 878cbd08fcc4..55fbc250e1bb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40341,12 +39377,10 @@ index 878cbd08fcc4..55fbc250e1bb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40355,28 +39389,27 @@ index 878cbd08fcc4..55fbc250e1bb 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_network_adaptor_config_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
-index 0ec1c64427d5..0fdce86ea688 100644
+index ca6f82e73acc..7201f9631eba 100644
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40393,7 +39426,7 @@ index 0ec1c64427d5..0fdce86ea688 100644
FINAL_LIBRARY = "xul"
-@@ -55,98 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40493,7 +39526,7 @@ index 0ec1c64427d5..0fdce86ea688 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -154,88 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -156,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40513,14 +39546,12 @@ index 0ec1c64427d5..0fdce86ea688 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40559,12 +39590,10 @@ index 0ec1c64427d5..0fdce86ea688 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40573,28 +39602,27 @@ index 0ec1c64427d5..0fdce86ea688 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_network_adaptor_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
-index d2eac9dd7330..44fc7a13aa41 100644
+index 485b23578569..0296469454c8 100644
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40611,7 +39639,7 @@ index d2eac9dd7330..44fc7a13aa41 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40696,7 +39724,7 @@ index d2eac9dd7330..44fc7a13aa41 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40716,14 +39744,12 @@ index d2eac9dd7330..44fc7a13aa41 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40762,12 +39788,10 @@ index d2eac9dd7330..44fc7a13aa41 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40776,28 +39800,27 @@ index d2eac9dd7330..44fc7a13aa41 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g711_c_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
-index 2c887ccaead1..d75c60517c87 100644
+index fd2075f729a4..10971d355fa4 100644
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40814,7 +39837,7 @@ index 2c887ccaead1..d75c60517c87 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40914,7 +39937,7 @@ index 2c887ccaead1..d75c60517c87 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40934,14 +39957,12 @@ index 2c887ccaead1..d75c60517c87 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40980,12 +40001,10 @@ index 2c887ccaead1..d75c60517c87 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40994,28 +40013,27 @@ index 2c887ccaead1..d75c60517c87 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g711_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
-index ab61ec987bf3..142691eb22ac 100644
+index f093a25e873e..8398cd7096a5 100644
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41032,7 +40050,7 @@ index ab61ec987bf3..142691eb22ac 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41117,7 +40135,7 @@ index ab61ec987bf3..142691eb22ac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41137,14 +40155,12 @@ index ab61ec987bf3..142691eb22ac 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -41183,12 +40199,10 @@ index ab61ec987bf3..142691eb22ac 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -41197,28 +40211,27 @@ index ab61ec987bf3..142691eb22ac 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g722_c_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
-index 75d59a02d75a..1748ca8600f9 100644
+index 870a0d2d6b0a..8b2bcf13466a 100644
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41235,7 +40248,7 @@ index 75d59a02d75a..1748ca8600f9 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41335,7 +40348,7 @@ index 75d59a02d75a..1748ca8600f9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41355,14 +40368,12 @@ index 75d59a02d75a..1748ca8600f9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -41401,12 +40412,10 @@ index 75d59a02d75a..1748ca8600f9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -41415,28 +40424,27 @@ index 75d59a02d75a..1748ca8600f9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g722_gn")
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
-index 78ef11bfbe8e..8fdf79a4d56e 100644
+index 5ede837b17fd..6d8fdbebabc4 100644
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41453,7 +40461,7 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41538,7 +40546,7 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41554,19 +40562,17 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -41592,35 +40598,32 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("isac_bwinfo_gn")
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
-index 6b32d8117274..55965a014dd1 100644
+index ca79e83e76a6..f2006f3a9c2c 100644
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41637,7 +40640,7 @@ index 6b32d8117274..55965a014dd1 100644
FINAL_LIBRARY = "xul"
-@@ -48,83 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,83 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41722,7 +40725,7 @@ index 6b32d8117274..55965a014dd1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -132,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -134,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41742,14 +40745,12 @@ index 6b32d8117274..55965a014dd1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -41788,12 +40789,10 @@ index 6b32d8117274..55965a014dd1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -41802,28 +40801,27 @@ index 6b32d8117274..55965a014dd1 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("isac_vad_gn")
diff --git third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
-index af7909757b22..d9f39d9a45ed 100644
+index d9d629e63cb0..132b26983618 100644
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41840,7 +40838,7 @@ index af7909757b22..d9f39d9a45ed 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41940,7 +40938,7 @@ index af7909757b22..d9f39d9a45ed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41960,14 +40958,12 @@ index af7909757b22..d9f39d9a45ed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42006,12 +41002,10 @@ index af7909757b22..d9f39d9a45ed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42020,28 +41014,27 @@ index af7909757b22..d9f39d9a45ed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("legacy_encoded_audio_frame_gn")
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
-index 56fec5759795..3d61bb5537ae 100644
+index 915658ecd560..0d8192df783a 100644
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42058,7 +41051,7 @@ index 56fec5759795..3d61bb5537ae 100644
FINAL_LIBRARY = "xul"
-@@ -80,98 +89,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -82,98 +91,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42158,7 +41151,7 @@ index 56fec5759795..3d61bb5537ae 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -179,88 +97,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -181,82 +99,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42178,14 +41171,12 @@ index 56fec5759795..3d61bb5537ae 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42224,12 +41215,10 @@ index 56fec5759795..3d61bb5537ae 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42238,28 +41227,27 @@ index 56fec5759795..3d61bb5537ae 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("neteq_gn")
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
-index d922de5d5785..281897e1fe56 100644
+index 29b49af13c96..6a89c3181c8a 100644
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42276,7 +41264,7 @@ index d922de5d5785..281897e1fe56 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42361,7 +41349,7 @@ index d922de5d5785..281897e1fe56 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42381,14 +41369,12 @@ index d922de5d5785..281897e1fe56 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42427,12 +41413,10 @@ index d922de5d5785..281897e1fe56 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42441,28 +41425,27 @@ index d922de5d5785..281897e1fe56 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pcm16b_c_gn")
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
-index bea755eb5ac1..b191330ced98 100644
+index 2524b005d0a5..00abfed23ff5 100644
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42479,7 +41462,7 @@ index bea755eb5ac1..b191330ced98 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42579,7 +41562,7 @@ index bea755eb5ac1..b191330ced98 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42599,14 +41582,12 @@ index bea755eb5ac1..b191330ced98 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42645,12 +41626,10 @@ index bea755eb5ac1..b191330ced98 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42659,28 +41638,27 @@ index bea755eb5ac1..b191330ced98 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pcm16b_gn")
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
-index d55df936567a..f108d9db5ff1 100644
+index d3f279577fa5..66b0c64c35b7 100644
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42697,7 +41675,7 @@ index d55df936567a..f108d9db5ff1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42797,7 +41775,7 @@ index d55df936567a..f108d9db5ff1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42817,14 +41795,12 @@ index d55df936567a..f108d9db5ff1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42863,12 +41839,10 @@ index d55df936567a..f108d9db5ff1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42877,28 +41851,27 @@ index d55df936567a..f108d9db5ff1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("red_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
-index b2cc167179d0..b40963119ad1 100644
+index 649fef5f47be..c8dfb2ef5dc3 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42915,7 +41888,7 @@ index b2cc167179d0..b40963119ad1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43015,7 +41988,7 @@ index b2cc167179d0..b40963119ad1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43035,14 +42008,12 @@ index b2cc167179d0..b40963119ad1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43081,12 +42052,10 @@ index b2cc167179d0..b40963119ad1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43095,28 +42064,27 @@ index b2cc167179d0..b40963119ad1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_cng_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
-index 8a1f97d3e36f..cef5d9b3dd8e 100644
+index 60686e723e86..ca83edda0e81 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -43135,7 +42103,7 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43235,7 +42203,7 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43255,14 +42223,12 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43301,12 +42267,10 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43315,28 +42279,27 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_multiopus_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
-index fb93eda27311..57ff1d71b55b 100644
+index 5c070db0b5cf..34a92e7abde0 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -43355,7 +42318,7 @@ index fb93eda27311..57ff1d71b55b 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43455,7 +42418,7 @@ index fb93eda27311..57ff1d71b55b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43475,14 +42438,12 @@ index fb93eda27311..57ff1d71b55b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43521,12 +42482,10 @@ index fb93eda27311..57ff1d71b55b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43535,28 +42494,27 @@ index fb93eda27311..57ff1d71b55b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_opus_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
-index 284d12f5f0d6..5067bcb8e9d5 100644
+index a52ae8687347..c9277731583e 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -43575,7 +42533,7 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
FINAL_LIBRARY = "xul"
-@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,87 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43664,7 +42622,7 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43684,14 +42642,12 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43730,12 +42686,10 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43744,28 +42698,27 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_opus_wrapper_gn")
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
-index ae018a0411e0..4b9c82612b4f 100644
+index 4bce6bb07fdd..dcaf6e34ca7f 100644
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -43782,7 +42735,7 @@ index ae018a0411e0..4b9c82612b4f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43867,7 +42820,7 @@ index ae018a0411e0..4b9c82612b4f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43883,19 +42836,17 @@ index ae018a0411e0..4b9c82612b4f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -43921,219 +42872,32 @@ index ae018a0411e0..4b9c82612b4f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_device_gn")
-diff --git third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-index 389d8bde3070..da7122a9fa44 100644
---- third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-+++ third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
- DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
- DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
- DEFINES["RTC_ENABLE_VP9"] = True
-+DEFINES["USE_GLIB"] = "1"
-+DEFINES["USE_OZONE"] = "1"
-+DEFINES["WEBRTC_BSD"] = True
- DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
- DEFINES["WEBRTC_LIBRARY_IMPL"] = True
- DEFINES["WEBRTC_MOZILLA_BUILD"] = True
- DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
-+DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-+DEFINES["_FILE_OFFSET_BITS"] = "64"
-+DEFINES["_LARGEFILE64_SOURCE"] = True
-+DEFINES["_LARGEFILE_SOURCE"] = True
- DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-+DEFINES["__STDC_CONSTANT_MACROS"] = True
-+DEFINES["__STDC_FORMAT_MACROS"] = True
-
- FINAL_LIBRARY = "xul"
-
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
- if CONFIG["MOZ_DEBUG"] == "1":
-
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
--
--if CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["ANDROID"] = True
-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
-- DEFINES["HAVE_SYS_UIO_H"] = True
-- DEFINES["WEBRTC_ANDROID"] = True
-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_GNU_SOURCE"] = True
-- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["WEBRTC_MAC"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["USE_UDEV"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_GLIBCXX_ASSERTIONS"] = "1"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["WEBRTC_BSD"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-- DEFINES["NOMINMAX"] = True
-- DEFINES["NTDDI_VERSION"] = "0x0A000000"
-- DEFINES["PSAPI_VERSION"] = "2"
-- DEFINES["RTC_ENABLE_WIN_WGC"] = True
-- DEFINES["UNICODE"] = True
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["WEBRTC_WIN"] = True
-- DEFINES["WIN32"] = True
-- DEFINES["WIN32_LEAN_AND_MEAN"] = True
-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
-- DEFINES["WINVER"] = "0x0A00"
-- DEFINES["_ATL_NO_OPENGL"] = True
-- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
-- DEFINES["_CRT_RAND_S"] = True
-- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
-- DEFINES["_HAS_EXCEPTIONS"] = "0"
-- DEFINES["_HAS_NODISCARD"] = True
-- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_SECURE_ATL"] = True
-- DEFINES["_UNICODE"] = True
-- DEFINES["_WIN32_WINNT"] = "0x0A00"
-- DEFINES["_WINDOWS"] = True
-- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
-- DEFINES["__STD_C"] = True
-+ DEFINES["_DEBUG"] = True
-
- if CONFIG["TARGET_CPU"] == "aarch64":
-
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
- DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["__ARM_NEON__"] = "1"
-
--if CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["WEBRTC_ARCH_ARM"] = True
-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-- DEFINES["WEBRTC_HAS_NEON"] = True
--
--if CONFIG["TARGET_CPU"] == "loongarch64":
--
-- DEFINES["_GNU_SOURCE"] = True
--
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["TARGET_CPU"] == "mips64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["TARGET_CPU"] == "x86":
-
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
-
- DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
- Library("audio_device_impl_gn")
diff --git third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
-index 3cd787013ac9..797cc7fdf979 100644
+index 9785374c7a77..862e284821d5 100644
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -44150,7 +42914,7 @@ index 3cd787013ac9..797cc7fdf979 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44250,7 +43014,7 @@ index 3cd787013ac9..797cc7fdf979 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44270,14 +43034,12 @@ index 3cd787013ac9..797cc7fdf979 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -44316,12 +43078,10 @@ index 3cd787013ac9..797cc7fdf979 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -44330,28 +43090,27 @@ index 3cd787013ac9..797cc7fdf979 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_manipulator_gn")
diff --git third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
-index d319d586e4f2..0b3debdb4549 100644
+index 5e7263604f3f..472c0a3369e9 100644
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -44369,7 +43128,7 @@ index d319d586e4f2..0b3debdb4549 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44469,7 +43228,7 @@ index d319d586e4f2..0b3debdb4549 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44489,14 +43248,12 @@ index d319d586e4f2..0b3debdb4549 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -44535,12 +43292,10 @@ index d319d586e4f2..0b3debdb4549 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -44549,28 +43304,27 @@ index d319d586e4f2..0b3debdb4549 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_mixer_impl_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
-index b742d0d2693e..2e0982fe44c1 100644
+index bc8d58361929..1d50bf8de634 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -44587,7 +43341,7 @@ index b742d0d2693e..2e0982fe44c1 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44676,7 +43430,7 @@ index b742d0d2693e..2e0982fe44c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44692,19 +43446,17 @@ index b742d0d2693e..2e0982fe44c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -44730,35 +43482,32 @@ index b742d0d2693e..2e0982fe44c1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("adaptive_fir_filter_erl_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
-index 7cfd9898e674..3855e72da5c4 100644
+index 870c269ee999..afb546c9665f 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -44775,7 +43524,7 @@ index 7cfd9898e674..3855e72da5c4 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44875,7 +43624,7 @@ index 7cfd9898e674..3855e72da5c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44891,19 +43640,17 @@ index 7cfd9898e674..3855e72da5c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -44929,35 +43676,32 @@ index 7cfd9898e674..3855e72da5c4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("adaptive_fir_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
-index 25fc5591ea09..61d14c766742 100644
+index 1060413c2fde..f2f6cc941cfc 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
-@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,15 +18,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -44976,7 +43720,7 @@ index 25fc5591ea09..61d14c766742 100644
FINAL_LIBRARY = "xul"
-@@ -56,128 +65,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,127 +67,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45008,7 +43752,6 @@ index 25fc5591ea09..61d14c766742 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -45107,15 +43850,16 @@ index 25fc5591ea09..61d14c766742 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
-index a1c4ec99275c..a5c4a447496c 100644
+index 653ec38ff0f8..dc18db0b8de9 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45132,7 +43876,7 @@ index a1c4ec99275c..a5c4a447496c 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45217,7 +43961,7 @@ index a1c4ec99275c..a5c4a447496c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45233,19 +43977,17 @@ index a1c4ec99275c..a5c4a447496c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45271,35 +44013,32 @@ index a1c4ec99275c..a5c4a447496c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aec3_common_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
-index ed9f693dfead..e435d998a690 100644
+index 4967c45123d2..5a75b52ec1ea 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45316,7 +44055,7 @@ index ed9f693dfead..e435d998a690 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45416,7 +44155,7 @@ index ed9f693dfead..e435d998a690 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45432,19 +44171,17 @@ index ed9f693dfead..e435d998a690 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45470,35 +44207,32 @@ index ed9f693dfead..e435d998a690 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aec3_fft_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
-index 8eb283fec225..346457ac2f59 100644
+index d867766ad198..1c4951576a77 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -45516,7 +44250,7 @@ index 8eb283fec225..346457ac2f59 100644
FINAL_LIBRARY = "xul"
-@@ -102,98 +111,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -104,98 +113,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45616,7 +44350,7 @@ index 8eb283fec225..346457ac2f59 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -201,88 +119,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -203,82 +121,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45636,14 +44370,12 @@ index 8eb283fec225..346457ac2f59 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -45682,12 +44414,10 @@ index 8eb283fec225..346457ac2f59 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -45696,28 +44426,27 @@ index 8eb283fec225..346457ac2f59 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec3_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
-index 2579384807b1..286940e1741a 100644
+index 47e42cb6ec67..9bdfe19920cc 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45734,7 +44463,7 @@ index 2579384807b1..286940e1741a 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45823,7 +44552,7 @@ index 2579384807b1..286940e1741a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45839,19 +44568,17 @@ index 2579384807b1..286940e1741a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45877,35 +44604,32 @@ index 2579384807b1..286940e1741a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("fft_data_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
-index fb1960b0379c..29e6e7a74861 100644
+index 90676a23e629..5c9ba0af45ef 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45922,7 +44646,7 @@ index fb1960b0379c..29e6e7a74861 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46011,7 +44735,7 @@ index fb1960b0379c..29e6e7a74861 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46027,19 +44751,17 @@ index fb1960b0379c..29e6e7a74861 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46065,35 +44787,32 @@ index fb1960b0379c..29e6e7a74861 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("matched_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
-index 75011ee6d2e8..66e43c587d1e 100644
+index f7206d6f33ef..9f8bf192d7a8 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46110,7 +44829,7 @@ index 75011ee6d2e8..66e43c587d1e 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46199,7 +44918,7 @@ index 75011ee6d2e8..66e43c587d1e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46215,19 +44934,17 @@ index 75011ee6d2e8..66e43c587d1e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46253,35 +44970,32 @@ index 75011ee6d2e8..66e43c587d1e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("render_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
-index 11d60d85b21a..8bc82463e36f 100644
+index d5e8985552cf..d34e64f796ef 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46298,7 +45012,7 @@ index 11d60d85b21a..8bc82463e36f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46387,7 +45101,7 @@ index 11d60d85b21a..8bc82463e36f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46403,19 +45117,17 @@ index 11d60d85b21a..8bc82463e36f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46441,35 +45153,32 @@ index 11d60d85b21a..8bc82463e36f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("vector_math_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
-index 4717f44c7228..30b9ebf91f2c 100644
+index e39f71fddecb..d727e8503f24 100644
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46486,7 +45195,7 @@ index 4717f44c7228..30b9ebf91f2c 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46586,7 +45295,7 @@ index 4717f44c7228..30b9ebf91f2c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46602,19 +45311,17 @@ index 4717f44c7228..30b9ebf91f2c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46640,35 +45347,32 @@ index 4717f44c7228..30b9ebf91f2c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aec_dump_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
-index 343efea34b51..194798641bc6 100644
+index 6e4384af4248..0124e796e10d 100644
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46685,7 +45389,7 @@ index 343efea34b51..194798641bc6 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46785,7 +45489,7 @@ index 343efea34b51..194798641bc6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46805,14 +45509,12 @@ index 343efea34b51..194798641bc6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -46851,12 +45553,10 @@ index 343efea34b51..194798641bc6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -46865,28 +45565,27 @@ index 343efea34b51..194798641bc6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("null_aec_dump_factory_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
-index 4fb4ebdb0f09..c1a85b70f3df 100644
+index ba9dc491198c..0d430b570eb5 100644
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46903,7 +45602,7 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47003,7 +45702,7 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47023,14 +45722,12 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -47069,12 +45766,10 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -47083,28 +45778,27 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec_dump_interface_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
-index e4ca4f2ec51e..c702789e0525 100644
+index f2cf5c859485..f49648e3086e 100644
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -47121,7 +45815,7 @@ index e4ca4f2ec51e..c702789e0525 100644
FINAL_LIBRARY = "xul"
-@@ -46,114 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47237,7 +45931,7 @@ index e4ca4f2ec51e..c702789e0525 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -162,37 +64,20 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,27 +66,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["__ARM_NEON__"] = "1"
SOURCES += [
@@ -47266,27 +45960,24 @@ index e4ca4f2ec51e..c702789e0525 100644
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
+@@ -193,7 +80,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc"
-@@ -200,9 +85,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -201,8 +87,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
-@@ -213,81 +95,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -213,77 +97,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
@@ -47326,7 +46017,6 @@ index e4ca4f2ec51e..c702789e0525 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- SOURCES += [
@@ -47335,7 +46025,6 @@ index e4ca4f2ec51e..c702789e0525 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- SOURCES += [
@@ -47356,7 +46045,6 @@ index e4ca4f2ec51e..c702789e0525 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -47367,22 +46055,22 @@ index e4ca4f2ec51e..c702789e0525 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
-index a57205d4a5b2..7ff717315571 100644
+index 4ae42eab2074..12e716eac789 100644
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -47400,7 +46088,7 @@ index a57205d4a5b2..7ff717315571 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47500,7 +46188,7 @@ index a57205d4a5b2..7ff717315571 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47520,14 +46208,12 @@ index a57205d4a5b2..7ff717315571 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -47566,12 +46252,10 @@ index a57205d4a5b2..7ff717315571 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -47580,28 +46264,27 @@ index a57205d4a5b2..7ff717315571 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("agc_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
-index 4da6c9687f88..a13f4e010126 100644
+index 43ed251cd060..c2c90bfba826 100644
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -47618,7 +46301,7 @@ index 4da6c9687f88..a13f4e010126 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47703,7 +46386,7 @@ index 4da6c9687f88..a13f4e010126 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47719,19 +46402,17 @@ index 4da6c9687f88..a13f4e010126 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -47757,35 +46438,32 @@ index 4da6c9687f88..a13f4e010126 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("gain_control_interface_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
-index 110759780d97..a2f61bf83008 100644
+index 7528ebeac06c..9b8acfd3f582 100644
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -47802,7 +46480,7 @@ index 110759780d97..a2f61bf83008 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47902,7 +46580,7 @@ index 110759780d97..a2f61bf83008 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47922,14 +46600,12 @@ index 110759780d97..a2f61bf83008 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -47968,12 +46644,10 @@ index 110759780d97..a2f61bf83008 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -47982,28 +46656,27 @@ index 110759780d97..a2f61bf83008 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("legacy_agc_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
-index 90dde9485a1b..754a5b3e277d 100644
+index 1cea105f40ec..6ef3e305946d 100644
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48020,7 +46693,7 @@ index 90dde9485a1b..754a5b3e277d 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48120,7 +46793,7 @@ index 90dde9485a1b..754a5b3e277d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48140,14 +46813,12 @@ index 90dde9485a1b..754a5b3e277d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48186,12 +46857,10 @@ index 90dde9485a1b..754a5b3e277d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48200,28 +46869,27 @@ index 90dde9485a1b..754a5b3e277d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("level_estimation_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
-index f3eec334ca67..325adc413267 100644
+index 9ea8d808a0b2..74ce00318e08 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -48239,7 +46907,7 @@ index f3eec334ca67..325adc413267 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48339,7 +47007,7 @@ index f3eec334ca67..325adc413267 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48359,14 +47027,12 @@ index f3eec334ca67..325adc413267 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48405,12 +47071,10 @@ index f3eec334ca67..325adc413267 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48419,28 +47083,27 @@ index f3eec334ca67..325adc413267 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("adaptive_digital_gain_controller_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
-index ad2fd19d441d..ff442094da12 100644
+index 10c3b1a37504..14bbe9c06848 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48457,7 +47120,7 @@ index ad2fd19d441d..ff442094da12 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48546,7 +47209,7 @@ index ad2fd19d441d..ff442094da12 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48566,14 +47229,12 @@ index ad2fd19d441d..ff442094da12 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48612,12 +47273,10 @@ index ad2fd19d441d..ff442094da12 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48626,28 +47285,27 @@ index ad2fd19d441d..ff442094da12 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("biquad_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
-index 634d1f87a8e5..35e8821dbea6 100644
+index 1853af5676aa..402d6757bd7a 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48664,7 +47322,7 @@ index 634d1f87a8e5..35e8821dbea6 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48764,7 +47422,7 @@ index 634d1f87a8e5..35e8821dbea6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48784,14 +47442,12 @@ index 634d1f87a8e5..35e8821dbea6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48830,12 +47486,10 @@ index 634d1f87a8e5..35e8821dbea6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48844,28 +47498,27 @@ index 634d1f87a8e5..35e8821dbea6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("clipping_predictor_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
-index 82c397f973f5..da3833f8e686 100644
+index 6ef8c096e204..78f2953bbeaf 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48882,7 +47535,7 @@ index 82c397f973f5..da3833f8e686 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48967,7 +47620,7 @@ index 82c397f973f5..da3833f8e686 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48983,19 +47636,17 @@ index 82c397f973f5..da3833f8e686 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49021,35 +47672,32 @@ index 82c397f973f5..da3833f8e686 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("common_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
-index 62c885de2ce7..b47f20b1bbb1 100644
+index accab782c164..48a7cf36bba9 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -49066,7 +47714,7 @@ index 62c885de2ce7..b47f20b1bbb1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49166,7 +47814,7 @@ index 62c885de2ce7..b47f20b1bbb1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49186,14 +47834,12 @@ index 62c885de2ce7..b47f20b1bbb1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -49232,12 +47878,10 @@ index 62c885de2ce7..b47f20b1bbb1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -49246,28 +47890,27 @@ index 62c885de2ce7..b47f20b1bbb1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("cpu_features_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
-index d1c1172bed9f..fa22a785c71d 100644
+index bee6a39d3a73..bfbc8436e67f 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -49285,7 +47928,7 @@ index d1c1172bed9f..fa22a785c71d 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49385,7 +48028,7 @@ index d1c1172bed9f..fa22a785c71d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49405,14 +48048,12 @@ index d1c1172bed9f..fa22a785c71d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -49451,12 +48092,10 @@ index d1c1172bed9f..fa22a785c71d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -49465,28 +48104,27 @@ index d1c1172bed9f..fa22a785c71d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fixed_digital_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
-index 74ec8d655240..cd54718aa163 100644
+index 3688111f0d92..9fe7808cd8b8 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -49503,7 +48141,7 @@ index 74ec8d655240..cd54718aa163 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49599,7 +48237,7 @@ index 74ec8d655240..cd54718aa163 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49619,14 +48257,12 @@ index 74ec8d655240..cd54718aa163 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -49665,12 +48301,10 @@ index 74ec8d655240..cd54718aa163 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -49679,28 +48313,27 @@ index 74ec8d655240..cd54718aa163 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("gain_applier_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
-index 8ca3f4b1eb6c..6e8c8c4456fd 100644
+index cbf2f842b375..3fa9a1cbeea4 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -49717,7 +48350,7 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49802,7 +48435,7 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49818,19 +48451,17 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49856,35 +48487,32 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("gain_map_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
-index 62cf69b2d344..cc32cd07cad4 100644
+index 0f885c0a9a17..b313f1c299a2 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -49902,7 +48530,7 @@ index 62cf69b2d344..cc32cd07cad4 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50002,7 +48630,7 @@ index 62cf69b2d344..cc32cd07cad4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50022,14 +48650,12 @@ index 62cf69b2d344..cc32cd07cad4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50068,12 +48694,10 @@ index 62cf69b2d344..cc32cd07cad4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50082,28 +48706,27 @@ index 62cf69b2d344..cc32cd07cad4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("input_volume_controller_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
-index e629cd8fbf67..94e0531ea105 100644
+index 96dd6d841212..b7344a7bb4e8 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50120,7 +48743,7 @@ index e629cd8fbf67..94e0531ea105 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50216,7 +48839,7 @@ index e629cd8fbf67..94e0531ea105 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50236,14 +48859,12 @@ index e629cd8fbf67..94e0531ea105 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50282,12 +48903,10 @@ index e629cd8fbf67..94e0531ea105 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50296,28 +48915,27 @@ index e629cd8fbf67..94e0531ea105 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("input_volume_stats_reporter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
-index aac5aa39708b..192f66aaa530 100644
+index 5e9b6db9859c..2f22b8d4b286 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -50335,7 +48953,7 @@ index aac5aa39708b..192f66aaa530 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50435,7 +49053,7 @@ index aac5aa39708b..192f66aaa530 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50455,14 +49073,12 @@ index aac5aa39708b..192f66aaa530 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50501,12 +49117,10 @@ index aac5aa39708b..192f66aaa530 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50515,28 +49129,27 @@ index aac5aa39708b..192f66aaa530 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("noise_level_estimator_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
-index e9e60ea5f0c7..3eec1242fcfc 100644
+index b5e02e0356f1..66ec332889f4 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50553,7 +49166,7 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50653,7 +49266,7 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50673,14 +49286,12 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50719,12 +49330,10 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50733,28 +49342,27 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_auto_correlation_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
-index 0d86421c9786..553b5ae51afa 100644
+index 103b43ffafe6..935208f9620d 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50771,7 +49379,7 @@ index 0d86421c9786..553b5ae51afa 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50871,7 +49479,7 @@ index 0d86421c9786..553b5ae51afa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50887,19 +49495,17 @@ index 0d86421c9786..553b5ae51afa 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -50925,35 +49531,32 @@ index 0d86421c9786..553b5ae51afa 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_common_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
-index 1cd3b4b5348b..d4e6b10abd77 100644
+index 4a28dcbf93e6..cee61fd497cb 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50970,7 +49573,7 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51070,7 +49673,7 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51090,14 +49693,12 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51136,12 +49737,10 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51150,28 +49749,27 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
-index 76d4191113e5..df8a72310a82 100644
+index 8d1c079d983a..8e20003f0660 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51188,7 +49786,7 @@ index 76d4191113e5..df8a72310a82 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51288,7 +49886,7 @@ index 76d4191113e5..df8a72310a82 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51308,14 +49906,12 @@ index 76d4191113e5..df8a72310a82 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51354,12 +49950,10 @@ index 76d4191113e5..df8a72310a82 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51368,28 +49962,27 @@ index 76d4191113e5..df8a72310a82 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_layers_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
-index 6d9dc2c69bd9..2904a28efc6c 100644
+index 891d4d6998bf..83d4268ade5f 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51406,7 +49999,7 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51495,7 +50088,7 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51515,14 +50108,12 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51561,12 +50152,10 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51575,28 +50164,27 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_lp_residual_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
-index c5b5e5954aef..a050f520592a 100644
+index 092a0988470b..8e7241ff0398 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51613,7 +50201,7 @@ index c5b5e5954aef..a050f520592a 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51713,7 +50301,7 @@ index c5b5e5954aef..a050f520592a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51733,14 +50321,12 @@ index c5b5e5954aef..a050f520592a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51779,12 +50365,10 @@ index c5b5e5954aef..a050f520592a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51793,28 +50377,27 @@ index c5b5e5954aef..a050f520592a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_pitch_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
-index 68825aa282d1..58500132ec48 100644
+index 1f33b3fe8a24..b20704b70ce4 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51831,7 +50414,7 @@ index 68825aa282d1..58500132ec48 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51920,7 +50503,7 @@ index 68825aa282d1..58500132ec48 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51936,19 +50519,17 @@ index 68825aa282d1..58500132ec48 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -51974,35 +50555,32 @@ index 68825aa282d1..58500132ec48 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_ring_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
-index 277c771e93f3..8390ff6e3a3f 100644
+index 01c4fadbd51d..fbb558e0f089 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52019,7 +50597,7 @@ index 277c771e93f3..8390ff6e3a3f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52108,7 +50686,7 @@ index 277c771e93f3..8390ff6e3a3f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52124,19 +50702,17 @@ index 277c771e93f3..8390ff6e3a3f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52162,35 +50738,32 @@ index 277c771e93f3..8390ff6e3a3f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_sequence_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
-index cfd7d82cda4e..34973737980f 100644
+index aa4a8ba4023f..664715c17bed 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52207,7 +50780,7 @@ index cfd7d82cda4e..34973737980f 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52307,7 +50880,7 @@ index cfd7d82cda4e..34973737980f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52327,14 +50900,12 @@ index cfd7d82cda4e..34973737980f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -52373,12 +50944,10 @@ index cfd7d82cda4e..34973737980f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -52387,28 +50956,27 @@ index cfd7d82cda4e..34973737980f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_spectral_features_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
-index a3a1e21f6699..34e2b09a62d9 100644
+index b15d83f31f52..46f52e81acee 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52425,7 +50993,7 @@ index a3a1e21f6699..34e2b09a62d9 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52514,7 +51082,7 @@ index a3a1e21f6699..34e2b09a62d9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52530,19 +51098,17 @@ index a3a1e21f6699..34e2b09a62d9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52568,35 +51134,32 @@ index a3a1e21f6699..34e2b09a62d9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_symmetric_matrix_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
-index c48737e3197a..8d3ff68ee4a1 100644
+index 7933cd618b19..7f79ede28cb8 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
-@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -52614,7 +51177,7 @@ index c48737e3197a..8d3ff68ee4a1 100644
FINAL_LIBRARY = "xul"
-@@ -51,128 +60,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,127 +62,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52646,7 +51209,6 @@ index c48737e3197a..8d3ff68ee4a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -52745,15 +51307,16 @@ index c48737e3197a..8d3ff68ee4a1 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
-index e8df44a45668..8bc82463e36f 100644
+index 6aa396591931..d34e64f796ef 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52770,7 +51333,7 @@ index e8df44a45668..8bc82463e36f 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52870,7 +51433,7 @@ index e8df44a45668..8bc82463e36f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52886,19 +51449,17 @@ index e8df44a45668..8bc82463e36f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52924,35 +51485,32 @@ index e8df44a45668..8bc82463e36f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("vector_math_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
-index 45efd543646d..fa53a17ec059 100644
+index c23779c5058e..a9284fa8a632 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -52970,7 +51528,7 @@ index 45efd543646d..fa53a17ec059 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53070,7 +51628,7 @@ index 45efd543646d..fa53a17ec059 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53090,14 +51648,12 @@ index 45efd543646d..fa53a17ec059 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53136,12 +51692,10 @@ index 45efd543646d..fa53a17ec059 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53150,28 +51704,27 @@ index 45efd543646d..fa53a17ec059 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("saturation_protector_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
-index 2ef7a8cf3f3c..76c019b528a3 100644
+index 91fd3df4e594..a14b5015f3ab 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -53189,7 +51742,7 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53289,7 +51842,7 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53309,14 +51862,12 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53355,12 +51906,10 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53369,28 +51918,27 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("speech_level_estimator_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
-index fba5354a8503..6d3d6a9f3974 100644
+index 8376409d5f1b..0a093dd57e19 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -53407,7 +51955,7 @@ index fba5354a8503..6d3d6a9f3974 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53507,7 +52055,7 @@ index fba5354a8503..6d3d6a9f3974 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53527,14 +52075,12 @@ index fba5354a8503..6d3d6a9f3974 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53573,12 +52119,10 @@ index fba5354a8503..6d3d6a9f3974 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53587,28 +52131,27 @@ index fba5354a8503..6d3d6a9f3974 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("vad_wrapper_gn")
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
-index 8e093965a1dc..603bd76413f5 100644
+index 987b21db9b23..834169228e70 100644
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -53626,7 +52169,7 @@ index 8e093965a1dc..603bd76413f5 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53726,7 +52269,7 @@ index 8e093965a1dc..603bd76413f5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53746,14 +52289,12 @@ index 8e093965a1dc..603bd76413f5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53792,12 +52333,10 @@ index 8e093965a1dc..603bd76413f5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53806,28 +52345,27 @@ index 8e093965a1dc..603bd76413f5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("apm_logging_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
-index 85bed17e4418..f88ddb0493c0 100644
+index 9c1e95972886..91f9bbd6ceb5 100644
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -53845,7 +52383,7 @@ index 85bed17e4418..f88ddb0493c0 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53945,7 +52483,7 @@ index 85bed17e4418..f88ddb0493c0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53965,14 +52503,12 @@ index 85bed17e4418..f88ddb0493c0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54011,12 +52547,10 @@ index 85bed17e4418..f88ddb0493c0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54025,28 +52559,27 @@ index 85bed17e4418..f88ddb0493c0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
-index f1ab4cefecb0..bed98465288f 100644
+index ded45e12931c..8ce196f4f409 100644
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -54063,7 +52596,7 @@ index f1ab4cefecb0..bed98465288f 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54163,7 +52696,7 @@ index f1ab4cefecb0..bed98465288f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54183,14 +52716,12 @@ index f1ab4cefecb0..bed98465288f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54229,12 +52760,10 @@ index f1ab4cefecb0..bed98465288f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54243,28 +52772,27 @@ index f1ab4cefecb0..bed98465288f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_proxies_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
-index b6ad75a93f95..89d051e017f8 100644
+index 1a02a32479d1..d8be909f90d0 100644
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -54281,7 +52809,7 @@ index b6ad75a93f95..89d051e017f8 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54377,7 +52905,7 @@ index b6ad75a93f95..89d051e017f8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54393,19 +52921,17 @@ index b6ad75a93f95..89d051e017f8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -54431,35 +52957,32 @@ index b6ad75a93f95..89d051e017f8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_frame_view_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
-index 691df8fbd2f5..c327f88e2a41 100644
+index 39ceb97304bf..c0278d97cb97 100644
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -54477,7 +53000,7 @@ index 691df8fbd2f5..c327f88e2a41 100644
FINAL_LIBRARY = "xul"
-@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,98 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54577,7 +53100,7 @@ index 691df8fbd2f5..c327f88e2a41 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54597,14 +53120,12 @@ index 691df8fbd2f5..c327f88e2a41 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54643,12 +53164,10 @@ index 691df8fbd2f5..c327f88e2a41 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54657,28 +53176,27 @@ index 691df8fbd2f5..c327f88e2a41 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_processing_gn")
diff --git third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
-index d81334d02be8..f07498a0a9c3 100644
+index 21bd8f59c874..a3933d901f07 100644
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -54695,7 +53213,7 @@ index d81334d02be8..f07498a0a9c3 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54795,7 +53313,7 @@ index d81334d02be8..f07498a0a9c3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54815,14 +53333,12 @@ index d81334d02be8..f07498a0a9c3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54861,12 +53377,10 @@ index d81334d02be8..f07498a0a9c3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54875,28 +53389,27 @@ index d81334d02be8..f07498a0a9c3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("capture_levels_adjuster_gn")
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
-index 1a62b5db7ace..f150b9e5fba7 100644
+index 42784ec85682..8c878f3a3108 100644
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -54914,7 +53427,7 @@ index 1a62b5db7ace..f150b9e5fba7 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55014,7 +53527,7 @@ index 1a62b5db7ace..f150b9e5fba7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55034,14 +53547,12 @@ index 1a62b5db7ace..f150b9e5fba7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55080,12 +53591,10 @@ index 1a62b5db7ace..f150b9e5fba7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55094,28 +53603,27 @@ index 1a62b5db7ace..f150b9e5fba7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("gain_controller2_gn")
diff --git third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
-index dbd718f53d7f..536849241857 100644
+index fd8ca7c8a141..67452f83cfeb 100644
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55132,7 +53640,7 @@ index dbd718f53d7f..536849241857 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55232,7 +53740,7 @@ index dbd718f53d7f..536849241857 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55252,14 +53760,12 @@ index dbd718f53d7f..536849241857 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55298,12 +53804,10 @@ index dbd718f53d7f..536849241857 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55312,28 +53816,27 @@ index dbd718f53d7f..536849241857 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("high_pass_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
-index 1c2cdc5b6862..4e1cee1c6cfd 100644
+index f01e58d04ef2..7777cb881169 100644
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -55351,7 +53854,7 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
FINAL_LIBRARY = "xul"
-@@ -58,98 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,98 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55451,7 +53954,7 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55471,14 +53974,12 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55517,12 +54018,10 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55531,28 +54030,27 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("ns_gn")
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
-index f1039321111d..170b024c51f3 100644
+index cff5be834af7..21c086b8c9b0 100644
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55569,7 +54067,7 @@ index f1039321111d..170b024c51f3 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55658,7 +54156,7 @@ index f1039321111d..170b024c51f3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55678,14 +54176,12 @@ index f1039321111d..170b024c51f3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55724,12 +54220,10 @@ index f1039321111d..170b024c51f3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55738,28 +54232,27 @@ index f1039321111d..170b024c51f3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rms_level_gn")
diff --git third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
-index e5c2b269dca4..fc2168892e21 100644
+index cf79a4c26df6..dab700567aa5 100644
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55776,7 +54269,7 @@ index e5c2b269dca4..fc2168892e21 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55865,7 +54358,7 @@ index e5c2b269dca4..fc2168892e21 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55885,14 +54378,12 @@ index e5c2b269dca4..fc2168892e21 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55931,12 +54422,10 @@ index e5c2b269dca4..fc2168892e21 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55945,28 +54434,27 @@ index e5c2b269dca4..fc2168892e21 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("cascaded_biquad_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
-index 73496ab178e9..011920c9abc5 100644
+index acaf46bea398..d8c66bd630c6 100644
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55983,7 +54471,7 @@ index 73496ab178e9..011920c9abc5 100644
FINAL_LIBRARY = "xul"
-@@ -46,87 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56072,7 +54560,7 @@ index 73496ab178e9..011920c9abc5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -134,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -136,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56092,14 +54580,12 @@ index 73496ab178e9..011920c9abc5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56138,12 +54624,10 @@ index 73496ab178e9..011920c9abc5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56152,28 +54636,27 @@ index 73496ab178e9..011920c9abc5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("legacy_delay_estimator_gn")
diff --git third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
-index ebceccaa1f34..252eae0060e5 100644
+index 7722cee73233..ef60e63ae63c 100644
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56190,7 +54673,7 @@ index ebceccaa1f34..252eae0060e5 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56279,7 +54762,7 @@ index ebceccaa1f34..252eae0060e5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56299,14 +54782,12 @@ index ebceccaa1f34..252eae0060e5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56345,12 +54826,10 @@ index ebceccaa1f34..252eae0060e5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56359,28 +54838,27 @@ index ebceccaa1f34..252eae0060e5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pffft_wrapper_gn")
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
-index 5f43f10500d0..ed468ac0fad7 100644
+index 31578408d725..9b0863007487 100644
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56397,7 +54875,7 @@ index 5f43f10500d0..ed468ac0fad7 100644
FINAL_LIBRARY = "xul"
-@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56497,7 +54975,7 @@ index 5f43f10500d0..ed468ac0fad7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56517,14 +54995,12 @@ index 5f43f10500d0..ed468ac0fad7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56563,12 +55039,10 @@ index 5f43f10500d0..ed468ac0fad7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56577,28 +55051,27 @@ index 5f43f10500d0..ed468ac0fad7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("vad_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
-index 1afd2e10c4d9..5df4011ef9fe 100644
+index e4fc3f7a57eb..d2c784dde24c 100644
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56615,7 +55088,7 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56716,7 +55189,7 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56736,14 +55209,12 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56782,12 +55253,10 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56796,28 +55265,27 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("congestion_controller_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
-index 4bf13745b896..1d0145e878c0 100644
+index 56f80df06658..8217ef58b331 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56834,7 +55302,7 @@ index 4bf13745b896..1d0145e878c0 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56930,7 +55398,7 @@ index 4bf13745b896..1d0145e878c0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56950,14 +55418,12 @@ index 4bf13745b896..1d0145e878c0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56996,12 +55462,10 @@ index 4bf13745b896..1d0145e878c0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57010,28 +55474,27 @@ index 4bf13745b896..1d0145e878c0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("alr_detector_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
-index e6049e20b422..d74a9b0ea951 100644
+index 753e47da2b61..7ff7a111dc72 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57048,7 +55511,7 @@ index e6049e20b422..d74a9b0ea951 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57149,7 +55612,7 @@ index e6049e20b422..d74a9b0ea951 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57169,14 +55632,12 @@ index e6049e20b422..d74a9b0ea951 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57215,12 +55676,10 @@ index e6049e20b422..d74a9b0ea951 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57229,28 +55688,27 @@ index e6049e20b422..d74a9b0ea951 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("delay_based_bwe_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
-index ec2037635456..f9e2bc4c2389 100644
+index 1a7b79d12ff5..1c023f23de55 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57267,7 +55725,7 @@ index ec2037635456..f9e2bc4c2389 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57367,7 +55825,7 @@ index ec2037635456..f9e2bc4c2389 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57387,14 +55845,12 @@ index ec2037635456..f9e2bc4c2389 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57433,12 +55889,10 @@ index ec2037635456..f9e2bc4c2389 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57447,28 +55901,27 @@ index ec2037635456..f9e2bc4c2389 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("estimators_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
-index f1aab84099c3..f07d7d3d3c56 100644
+index b2e3acfcf5ab..ab0ee1d5f9b3 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57485,7 +55938,7 @@ index f1aab84099c3..f07d7d3d3c56 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57586,7 +56039,7 @@ index f1aab84099c3..f07d7d3d3c56 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57606,14 +56059,12 @@ index f1aab84099c3..f07d7d3d3c56 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57652,12 +56103,10 @@ index f1aab84099c3..f07d7d3d3c56 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57666,28 +56115,27 @@ index f1aab84099c3..f07d7d3d3c56 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("goog_cc_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
-index bd11c5773157..cefeae9d9f7a 100644
+index c4561cb900cd..178ea9973d7e 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57704,7 +56152,7 @@ index bd11c5773157..cefeae9d9f7a 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57793,7 +56241,7 @@ index bd11c5773157..cefeae9d9f7a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57813,14 +56261,12 @@ index bd11c5773157..cefeae9d9f7a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57859,12 +56305,10 @@ index bd11c5773157..cefeae9d9f7a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57873,28 +56317,27 @@ index bd11c5773157..cefeae9d9f7a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("link_capacity_estimator_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
-index e67739995ab9..49cbc2ba009d 100644
+index d231b8ce8d6d..d273a93b674c 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57911,7 +56354,7 @@ index e67739995ab9..49cbc2ba009d 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58011,7 +56454,7 @@ index e67739995ab9..49cbc2ba009d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58031,14 +56474,12 @@ index e67739995ab9..49cbc2ba009d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58077,12 +56518,10 @@ index e67739995ab9..49cbc2ba009d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58091,28 +56530,27 @@ index e67739995ab9..49cbc2ba009d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("loss_based_bwe_v1_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
-index 5ebab75901fb..f9234083d0be 100644
+index aeef260f896b..026d69c6ee2f 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58129,7 +56567,7 @@ index 5ebab75901fb..f9234083d0be 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58229,7 +56667,7 @@ index 5ebab75901fb..f9234083d0be 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58249,14 +56687,12 @@ index 5ebab75901fb..f9234083d0be 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58295,12 +56731,10 @@ index 5ebab75901fb..f9234083d0be 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58309,28 +56743,27 @@ index 5ebab75901fb..f9234083d0be 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("loss_based_bwe_v2_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
-index fe99e62ceed1..75d63e37e0c8 100644
+index bead3df26019..b72b49849875 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58347,7 +56780,7 @@ index fe99e62ceed1..75d63e37e0c8 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58447,7 +56880,7 @@ index fe99e62ceed1..75d63e37e0c8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58467,14 +56900,12 @@ index fe99e62ceed1..75d63e37e0c8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58513,12 +56944,10 @@ index fe99e62ceed1..75d63e37e0c8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58527,28 +56956,27 @@ index fe99e62ceed1..75d63e37e0c8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("probe_controller_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
-index 15a3540c8e57..4e177daa36cf 100644
+index 70f611b3a48e..89c3a99e4ea6 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58565,7 +56993,7 @@ index 15a3540c8e57..4e177daa36cf 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58665,7 +57093,7 @@ index 15a3540c8e57..4e177daa36cf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58685,14 +57113,12 @@ index 15a3540c8e57..4e177daa36cf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58731,12 +57157,10 @@ index 15a3540c8e57..4e177daa36cf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58745,28 +57169,27 @@ index 15a3540c8e57..4e177daa36cf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pushback_controller_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
-index f761728cf286..69f83dfe2601 100644
+index f22524dd354b..6e24db4653a2 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58783,7 +57206,7 @@ index f761728cf286..69f83dfe2601 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58883,7 +57306,7 @@ index f761728cf286..69f83dfe2601 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58903,14 +57326,12 @@ index f761728cf286..69f83dfe2601 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58949,12 +57370,10 @@ index f761728cf286..69f83dfe2601 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58963,28 +57382,27 @@ index f761728cf286..69f83dfe2601 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("send_side_bwe_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
-index de753609f9e3..7fa341f5354c 100644
+index e650ac11466b..ea7669bdf2c9 100644
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -59001,7 +57419,7 @@ index de753609f9e3..7fa341f5354c 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59102,7 +57520,7 @@ index de753609f9e3..7fa341f5354c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59122,14 +57540,12 @@ index de753609f9e3..7fa341f5354c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -59168,12 +57584,10 @@ index de753609f9e3..7fa341f5354c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -59182,28 +57596,27 @@ index de753609f9e3..7fa341f5354c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("control_handler_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
-index a138c2d29534..1baf1c4e4805 100644
+index 64598f28cfca..113ac5fad487 100644
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -59220,7 +57633,7 @@ index a138c2d29534..1baf1c4e4805 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59320,7 +57733,7 @@ index a138c2d29534..1baf1c4e4805 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59340,14 +57753,12 @@ index a138c2d29534..1baf1c4e4805 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -59386,12 +57797,10 @@ index a138c2d29534..1baf1c4e4805 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -59400,28 +57809,27 @@ index a138c2d29534..1baf1c4e4805 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transport_feedback_gn")
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
-index bb74015011bd..ce4e69346676 100644
+index 598b738b3d98..2fcec71e4a8c 100644
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -59439,7 +57847,7 @@ index bb74015011bd..ce4e69346676 100644
FINAL_LIBRARY = "xul"
-@@ -46,104 +55,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,103 +57,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59457,7 +57865,6 @@ index bb74015011bd..ce4e69346676 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -59547,15 +57954,16 @@ index bb74015011bd..ce4e69346676 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-index bb0eccabacb5..910529387a2f 100644
+index b32544897c73..99cd089c6892 100644
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-@@ -26,12 +26,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -26,13 +26,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -59572,7 +57980,7 @@ index bb0eccabacb5..910529387a2f 100644
FINAL_LIBRARY = "xul"
-@@ -83,187 +92,14 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -85,185 +94,14 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59654,7 +58062,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc",
- "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -59752,7 +58159,6 @@ index bb0eccabacb5..910529387a2f 100644
- "-mfpu=neon"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["WEBRTC_ARCH_ARM"] = True
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
- DEFINES["WEBRTC_HAS_NEON"] = True
@@ -59762,7 +58168,7 @@ index bb0eccabacb5..910529387a2f 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -271,7 +107,8 @@ if CONFIG["TARGET_CPU"] == "arm":
+@@ -271,7 +109,8 @@ if CONFIG["TARGET_CPU"] == "arm":
]
SOURCES += [
@@ -59772,7 +58178,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -281,44 +118,16 @@ if CONFIG["TARGET_CPU"] == "arm":
+@@ -281,34 +120,9 @@ if CONFIG["TARGET_CPU"] == "arm":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -59802,7 +58208,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc",
@@ -59811,8 +58216,7 @@ index bb0eccabacb5..910529387a2f 100644
]
if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+@@ -316,7 +130,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
@@ -59820,7 +58224,7 @@ index bb0eccabacb5..910529387a2f 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -326,7 +135,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -324,7 +137,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
]
SOURCES += [
@@ -59830,7 +58234,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -336,14 +146,14 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -334,13 +148,14 @@ if CONFIG["TARGET_CPU"] == "mips32":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -59842,13 +58246,12 @@ index bb0eccabacb5..910529387a2f 100644
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -351,7 +161,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -348,7 +163,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
]
SOURCES += [
@@ -59858,7 +58261,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -361,121 +172,19 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -358,117 +174,19 @@ if CONFIG["TARGET_CPU"] == "mips64":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -59887,7 +58290,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc",
@@ -59921,7 +58323,6 @@ index bb0eccabacb5..910529387a2f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
@@ -59966,7 +58367,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
- ]
@@ -59977,14 +58377,13 @@ index bb0eccabacb5..910529387a2f 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -483,7 +192,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -476,7 +194,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
]
SOURCES += [
@@ -59994,7 +58393,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -493,14 +203,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -486,13 +205,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -60007,14 +58406,13 @@ index bb0eccabacb5..910529387a2f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -508,7 +219,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -500,7 +221,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
]
SOURCES += [
@@ -60024,7 +58422,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -518,10 +230,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -510,10 +232,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -60039,7 +58437,7 @@ index bb0eccabacb5..910529387a2f 100644
DEFINES["WEBRTC_USE_X11"] = True
-@@ -548,139 +262,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE
+@@ -539,134 +263,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE
"/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
]
@@ -60066,7 +58464,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc",
@@ -60099,7 +58496,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -60129,7 +58525,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc",
@@ -60162,7 +58557,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -60201,7 +58595,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -60211,10 +58604,10 @@ index bb0eccabacb5..910529387a2f 100644
Library("desktop_capture_gn")
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
deleted file mode 100644
-index 10689fe10c87..000000000000
+index 1a08376347cd..000000000000
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
+++ /dev/null
-@@ -1,80 +0,0 @@
+@@ -1,82 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -60234,6 +58627,7 @@ index 10689fe10c87..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -60249,6 +58643,7 @@ index 10689fe10c87..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -60296,15 +58691,16 @@ index 10689fe10c87..000000000000
-
-Library("desktop_capture_objc_gn")
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
-index 01014575f586..bdf8133ac2ab 100644
+index e8417c3d85c5..acecefe7be92 100644
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60321,7 +58717,7 @@ index 01014575f586..bdf8133ac2ab 100644
FINAL_LIBRARY = "xul"
-@@ -51,69 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,69 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60392,7 +58788,7 @@ index 01014575f586..bdf8133ac2ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -121,75 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -123,69 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60402,7 +58798,6 @@ index 01014575f586..bdf8133ac2ab 100644
- "-mfpu=neon"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["WEBRTC_ARCH_ARM"] = True
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
- DEFINES["WEBRTC_HAS_NEON"] = True
@@ -60414,14 +58809,12 @@ index 01014575f586..bdf8133ac2ab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -60450,7 +58843,6 @@ index 01014575f586..bdf8133ac2ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -60459,28 +58851,27 @@ index 01014575f586..bdf8133ac2ab 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("primitives_gn")
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
-index dc2973b9cf30..337c9f2ecf73 100644
+index fd9dea10a397..20052b5ad7c2 100644
--- third_party/libwebrtc/modules/module_api_gn/moz.build
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60497,7 +58888,7 @@ index dc2973b9cf30..337c9f2ecf73 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60582,7 +58973,7 @@ index dc2973b9cf30..337c9f2ecf73 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60598,19 +58989,17 @@ index dc2973b9cf30..337c9f2ecf73 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60636,35 +59025,32 @@ index dc2973b9cf30..337c9f2ecf73 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("module_api_gn")
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
-index 6d33e7daab36..839f6c74eae3 100644
+index 231edf631e22..84af1af791b8 100644
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60681,7 +59067,7 @@ index 6d33e7daab36..839f6c74eae3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60766,7 +59152,7 @@ index 6d33e7daab36..839f6c74eae3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60782,19 +59168,17 @@ index 6d33e7daab36..839f6c74eae3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60820,35 +59204,32 @@ index 6d33e7daab36..839f6c74eae3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("module_api_public_gn")
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
-index 475b09f4c734..672cf6f29d67 100644
+index cc6d4595397e..b7fe96ba4609 100644
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60865,7 +59246,7 @@ index 475b09f4c734..672cf6f29d67 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60950,7 +59331,7 @@ index 475b09f4c734..672cf6f29d67 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60966,19 +59347,17 @@ index 475b09f4c734..672cf6f29d67 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -61004,35 +59383,32 @@ index 475b09f4c734..672cf6f29d67 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("module_fec_api_gn")
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
-index 41aa2b86121e..e5fa03b0ee5a 100644
+index cc77d844868d..6b5865551362 100644
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61049,7 +59425,7 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61138,7 +59514,7 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61158,14 +59534,12 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61204,12 +59578,10 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61218,28 +59590,27 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("interval_budget_gn")
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
-index 3a8aadf7520a..b2475e0598ec 100644
+index d038755722bc..310397c3a8d0 100644
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61256,7 +59627,7 @@ index 3a8aadf7520a..b2475e0598ec 100644
FINAL_LIBRARY = "xul"
-@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,99 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61357,7 +59728,7 @@ index 3a8aadf7520a..b2475e0598ec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -152,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -154,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61377,14 +59748,12 @@ index 3a8aadf7520a..b2475e0598ec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61423,12 +59792,10 @@ index 3a8aadf7520a..b2475e0598ec 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61437,27 +59804,21 @@ index 3a8aadf7520a..b2475e0598ec 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pacing_gn")
diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build
-index 7b2dd2e68dab..8ae0b121e5f3 100644
+index 458d6eb3ad9a..e1abb12959d5 100644
--- third_party/libwebrtc/modules/portal/portal_gn/moz.build
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
-@@ -23,25 +23,20 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
- AllowCompilerWarnings()
-
- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
--DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+@@ -26,22 +26,18 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -61465,6 +59826,7 @@ index 7b2dd2e68dab..8ae0b121e5f3 100644
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_OZONE"] = "1"
-DEFINES["USE_UDEV"] = True
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61480,7 +59842,7 @@ index 7b2dd2e68dab..8ae0b121e5f3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-@@ -85,16 +80,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -86,16 +82,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61498,15 +59860,16 @@ index 7b2dd2e68dab..8ae0b121e5f3 100644
DEFINES["MIPS32_LE"] = True
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
-index 8db74436c471..ff74acabfdc7 100644
+index d7f5b2e2ed3c..552d79429483 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61523,7 +59886,7 @@ index 8db74436c471..ff74acabfdc7 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61623,7 +59986,7 @@ index 8db74436c471..ff74acabfdc7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61643,14 +60006,12 @@ index 8db74436c471..ff74acabfdc7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61689,12 +60050,10 @@ index 8db74436c471..ff74acabfdc7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61703,28 +60062,27 @@ index 8db74436c471..ff74acabfdc7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("congestion_control_feedback_generator_gn")
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
-index 3eb4c8ecefbf..2f3e78cae342 100644
+index 634813072a4f..b9e866bb70ab 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61741,7 +60099,7 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
FINAL_LIBRARY = "xul"
-@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -56,98 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61841,7 +60199,7 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61861,14 +60219,12 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61907,12 +60263,10 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61921,28 +60275,27 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("remote_bitrate_estimator_gn")
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
-index 5e8620fba584..a9796d7a88e3 100644
+index 12fb52e764cb..d248f7bccac2 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61959,7 +60312,7 @@ index 5e8620fba584..a9796d7a88e3 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62059,7 +60412,7 @@ index 5e8620fba584..a9796d7a88e3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62075,19 +60428,17 @@ index 5e8620fba584..a9796d7a88e3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -62113,35 +60464,32 @@ index 5e8620fba584..a9796d7a88e3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_transport_feedback_generator_gn")
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
-index 20277b83caca..bf3b9dea49cf 100644
+index 2ae17422afdc..9475b9f04ea6 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62158,7 +60506,7 @@ index 20277b83caca..bf3b9dea49cf 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62258,7 +60606,7 @@ index 20277b83caca..bf3b9dea49cf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62278,14 +60626,12 @@ index 20277b83caca..bf3b9dea49cf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62324,12 +60670,10 @@ index 20277b83caca..bf3b9dea49cf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62338,28 +60682,27 @@ index 20277b83caca..bf3b9dea49cf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transport_sequence_number_feedback_generator_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
-index 3e8b1cf6e300..ef370db38e0a 100644
+index 67e21c08ed59..6637e2d5f701 100644
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62376,7 +60719,7 @@ index 3e8b1cf6e300..ef370db38e0a 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62461,7 +60804,7 @@ index 3e8b1cf6e300..ef370db38e0a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62481,14 +60824,12 @@ index 3e8b1cf6e300..ef370db38e0a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62527,12 +60868,10 @@ index 3e8b1cf6e300..ef370db38e0a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62541,28 +60880,27 @@ index 3e8b1cf6e300..ef370db38e0a 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("leb128_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
-index 22461d2e8ac1..3f4871522269 100644
+index 82c4ee3f447c..999d165efd7b 100644
--- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62579,7 +60917,7 @@ index 22461d2e8ac1..3f4871522269 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62679,7 +61017,7 @@ index 22461d2e8ac1..3f4871522269 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62699,14 +61037,12 @@ index 22461d2e8ac1..3f4871522269 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62745,12 +61081,10 @@ index 22461d2e8ac1..3f4871522269 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62759,28 +61093,27 @@ index 22461d2e8ac1..3f4871522269 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("ntp_time_util_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
-index 4973c6f42fc3..e1036d5d5ed3 100644
+index 7136b4733028..906e13fae23f 100644
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62797,7 +61130,7 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
FINAL_LIBRARY = "xul"
-@@ -89,98 +98,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -91,98 +100,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62897,7 +61230,7 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -188,88 +106,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -190,82 +108,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62917,14 +61250,12 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62963,12 +61294,10 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62977,28 +61306,27 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_rtcp_format_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
-index 8d03d716247e..30fe5eee6b4a 100644
+index 84e6fc103d2f..7dbe759825f9 100644
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63015,7 +61343,7 @@ index 8d03d716247e..30fe5eee6b4a 100644
FINAL_LIBRARY = "xul"
-@@ -99,99 +108,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -101,99 +110,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63116,7 +61444,7 @@ index 8d03d716247e..30fe5eee6b4a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -199,88 +116,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -201,82 +118,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63136,14 +61464,12 @@ index 8d03d716247e..30fe5eee6b4a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63182,12 +61508,10 @@ index 8d03d716247e..30fe5eee6b4a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63196,28 +61520,27 @@ index 8d03d716247e..30fe5eee6b4a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_rtcp_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
-index ac9aa3861dba..4fdbcc2a4cf3 100644
+index ad581840c124..506da77c1fd1 100644
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63234,7 +61557,7 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63330,7 +61653,7 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63350,14 +61673,12 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63396,12 +61717,10 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63410,28 +61729,27 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_video_header_gn")
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
-index 79d42dc8f023..e1008c73ce89 100644
+index ddcad071428c..972cd7f213a7 100644
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63448,7 +61766,7 @@ index 79d42dc8f023..e1008c73ce89 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63533,7 +61851,7 @@ index 79d42dc8f023..e1008c73ce89 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63553,14 +61871,12 @@ index 79d42dc8f023..e1008c73ce89 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63599,12 +61915,10 @@ index 79d42dc8f023..e1008c73ce89 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63613,28 +61927,27 @@ index 79d42dc8f023..e1008c73ce89 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fft_gn")
diff --git third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
-index 33874d3f7d79..4bbe0d22f839 100644
+index 62ce49f3c5cb..f59a3d81e78c 100644
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63651,7 +61964,7 @@ index 33874d3f7d79..4bbe0d22f839 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63736,7 +62049,7 @@ index 33874d3f7d79..4bbe0d22f839 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63756,14 +62069,12 @@ index 33874d3f7d79..4bbe0d22f839 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63802,12 +62113,10 @@ index 33874d3f7d79..4bbe0d22f839 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63816,28 +62125,27 @@ index 33874d3f7d79..4bbe0d22f839 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g711_3p_gn")
diff --git third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
-index 66badf120ce2..84d7154c3894 100644
+index 74257a155693..c8fd6527cf97 100644
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63854,7 +62162,7 @@ index 66badf120ce2..84d7154c3894 100644
FINAL_LIBRARY = "xul"
-@@ -49,83 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,83 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63939,7 +62247,7 @@ index 66badf120ce2..84d7154c3894 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63959,14 +62267,12 @@ index 66badf120ce2..84d7154c3894 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -64005,12 +62311,10 @@ index 66badf120ce2..84d7154c3894 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -64019,28 +62323,27 @@ index 66badf120ce2..84d7154c3894 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g722_3p_gn")
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
-index 75e5385a1fd6..7e1723cc34a1 100644
+index 5ee4917da404..7d106d158a94 100644
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64057,7 +62360,7 @@ index 75e5385a1fd6..7e1723cc34a1 100644
FINAL_LIBRARY = "xul"
-@@ -41,91 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,91 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64150,7 +62453,7 @@ index 75e5385a1fd6..7e1723cc34a1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64166,19 +62469,17 @@ index 75e5385a1fd6..7e1723cc34a1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -163,56 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -163,52 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -64216,35 +62517,32 @@ index 75e5385a1fd6..7e1723cc34a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("utility_gn")
diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
-index 8abb93cac015..8f17ef2445a8 100644
+index 28b6ac5f25c8..6a2450c7dacb 100644
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
-@@ -18,12 +18,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64261,7 +62559,7 @@ index 8abb93cac015..8f17ef2445a8 100644
FINAL_LIBRARY = "xul"
-@@ -38,6 +47,10 @@ LOCAL_INCLUDES += [
+@@ -40,6 +49,10 @@ LOCAL_INCLUDES += [
]
UNIFIED_SOURCES += [
@@ -64272,7 +62570,7 @@ index 8abb93cac015..8f17ef2445a8 100644
"/third_party/libwebrtc/modules/video_capture/video_capture_options.cc"
]
-@@ -50,173 +63,14 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,171 +65,14 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64421,7 +62719,6 @@ index 8abb93cac015..8f17ef2445a8 100644
-
-if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
@@ -64441,14 +62738,13 @@ index 8abb93cac015..8f17ef2445a8 100644
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["__ARM_NEON__"] = "1"
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -230,45 +84,11 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -230,44 +86,11 @@ if CONFIG["TARGET_CPU"] == "mips64":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -64489,7 +62785,6 @@ index 8abb93cac015..8f17ef2445a8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["MIPS32_LE"] = True
+ DEFINES["MIPS_FPU_LE"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
@@ -64497,20 +62792,19 @@ index 8abb93cac015..8f17ef2445a8 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -282,11 +102,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+@@ -281,10 +104,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -300,15 +118,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+@@ -298,14 +120,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -64521,21 +62815,19 @@ index 8abb93cac015..8f17ef2445a8 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -322,11 +139,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -319,10 +141,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
@@ -64543,15 +62835,16 @@ index 8abb93cac015..8f17ef2445a8 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
diff --git third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
-index 08b0c7681680..1de2577347e3 100644
+index de5bb188111b..c4db7dc59ecf 100644
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64568,7 +62861,7 @@ index 08b0c7681680..1de2577347e3 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64668,7 +62961,7 @@ index 08b0c7681680..1de2577347e3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64688,14 +62981,12 @@ index 08b0c7681680..1de2577347e3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -64734,12 +63025,10 @@ index 08b0c7681680..1de2577347e3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -64748,28 +63037,27 @@ index 08b0c7681680..1de2577347e3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_capture_module_gn")
diff --git third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
-index 5a8d69fea389..547ecef4a238 100644
+index e0c966fb45be..23015c7646d6 100644
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64786,7 +63074,7 @@ index 5a8d69fea389..547ecef4a238 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64882,7 +63170,7 @@ index 5a8d69fea389..547ecef4a238 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64902,14 +63190,12 @@ index 5a8d69fea389..547ecef4a238 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -64948,12 +63234,10 @@ index 5a8d69fea389..547ecef4a238 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -64962,28 +63246,27 @@ index 5a8d69fea389..547ecef4a238 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("chain_diff_calculator_gn")
diff --git third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
-index 62f329321798..e8246dd5319b 100644
+index b26732ca8bb2..c6ec6d247c75 100644
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65000,7 +63283,7 @@ index 62f329321798..e8246dd5319b 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65089,7 +63372,7 @@ index 62f329321798..e8246dd5319b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65105,19 +63388,17 @@ index 62f329321798..e8246dd5319b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -65143,35 +63424,32 @@ index 62f329321798..e8246dd5319b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("codec_globals_headers_gn")
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
-index 30a63e90512b..5f375dd1a7ec 100644
+index 2e4abf38bdd6..029587e1db2e 100644
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65188,7 +63466,7 @@ index 30a63e90512b..5f375dd1a7ec 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65288,7 +63566,7 @@ index 30a63e90512b..5f375dd1a7ec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65308,14 +63586,12 @@ index 30a63e90512b..5f375dd1a7ec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -65354,12 +63630,10 @@ index 30a63e90512b..5f375dd1a7ec 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -65368,28 +63642,27 @@ index 30a63e90512b..5f375dd1a7ec 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("av1_svc_config_gn")
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
-index 5173a05890e8..4806285f2ec8 100644
+index 3a1031ba04b6..bdedce7c4efd 100644
--- third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65406,7 +63679,7 @@ index 5173a05890e8..4806285f2ec8 100644
FINAL_LIBRARY = "xul"
-@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65506,7 +63779,7 @@ index 5173a05890e8..4806285f2ec8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65526,14 +63799,12 @@ index 5173a05890e8..4806285f2ec8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -65572,12 +63843,10 @@ index 5173a05890e8..4806285f2ec8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -65586,28 +63855,27 @@ index 5173a05890e8..4806285f2ec8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("dav1d_decoder_gn")
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
-index ef0e22afe400..2ca8f169f6b1 100644
+index d79e8d29a8c5..b432bbb71fec 100644
--- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65624,7 +63892,7 @@ index ef0e22afe400..2ca8f169f6b1 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65724,7 +63992,7 @@ index ef0e22afe400..2ca8f169f6b1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65744,14 +64012,12 @@ index ef0e22afe400..2ca8f169f6b1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -65790,12 +64056,10 @@ index ef0e22afe400..2ca8f169f6b1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -65804,28 +64068,27 @@ index ef0e22afe400..2ca8f169f6b1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aom_av1_encoder_gn")
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
-index a7eb37c41dfc..2ed1c87b2568 100644
+index a60787fc6449..f375bcdc2a8e 100644
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65842,7 +64105,7 @@ index a7eb37c41dfc..2ed1c87b2568 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65942,7 +64205,7 @@ index a7eb37c41dfc..2ed1c87b2568 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65962,14 +64225,12 @@ index a7eb37c41dfc..2ed1c87b2568 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66008,12 +64269,10 @@ index a7eb37c41dfc..2ed1c87b2568 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66022,28 +64281,27 @@ index a7eb37c41dfc..2ed1c87b2568 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoded_frame_gn")
diff --git third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
-index 10ea48d85652..f59463218193 100644
+index 769517d3f365..8cbfbfd52d05 100644
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66060,7 +64318,7 @@ index 10ea48d85652..f59463218193 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66156,7 +64414,7 @@ index 10ea48d85652..f59463218193 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66176,14 +64434,12 @@ index 10ea48d85652..f59463218193 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66222,12 +64478,10 @@ index 10ea48d85652..f59463218193 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66236,28 +64490,27 @@ index 10ea48d85652..f59463218193 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_dependencies_calculator_gn")
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
-index dc35f55e424e..5c915ce306bc 100644
+index 24380868efcb..cfbdceb4d6db 100644
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66274,7 +64527,7 @@ index dc35f55e424e..5c915ce306bc 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66374,7 +64627,7 @@ index dc35f55e424e..5c915ce306bc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66394,14 +64647,12 @@ index dc35f55e424e..5c915ce306bc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66440,12 +64691,10 @@ index dc35f55e424e..5c915ce306bc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66454,28 +64703,27 @@ index dc35f55e424e..5c915ce306bc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_helpers_gn")
diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
-index d2d696317d9c..c5cb23d799c4 100644
+index be74fea63164..53bdc368fe2b 100644
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66492,7 +64740,7 @@ index d2d696317d9c..c5cb23d799c4 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66588,7 +64836,7 @@ index d2d696317d9c..c5cb23d799c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66608,14 +64856,12 @@ index d2d696317d9c..c5cb23d799c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66654,12 +64900,10 @@ index d2d696317d9c..c5cb23d799c4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66668,28 +64912,27 @@ index d2d696317d9c..c5cb23d799c4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("h264_sprop_parameter_sets_gn")
diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
-index 948ea6888149..3b773a7cb0a6 100644
+index 41156a4966db..8cef7a07fa45 100644
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66706,7 +64949,7 @@ index 948ea6888149..3b773a7cb0a6 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66806,7 +65049,7 @@ index 948ea6888149..3b773a7cb0a6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66826,14 +65069,12 @@ index 948ea6888149..3b773a7cb0a6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66872,12 +65113,10 @@ index 948ea6888149..3b773a7cb0a6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66886,28 +65125,27 @@ index 948ea6888149..3b773a7cb0a6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("h26x_packet_buffer_gn")
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
-index 09874b834b65..1e71e3f42d43 100644
+index 74d1824de3fe..9e09c9517c27 100644
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66924,7 +65162,7 @@ index 09874b834b65..1e71e3f42d43 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67024,7 +65262,7 @@ index 09874b834b65..1e71e3f42d43 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67044,14 +65282,12 @@ index 09874b834b65..1e71e3f42d43 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67090,12 +65326,10 @@ index 09874b834b65..1e71e3f42d43 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67104,28 +65338,27 @@ index 09874b834b65..1e71e3f42d43 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("nack_requester_gn")
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
-index c9f726aecc07..6a970b419e10 100644
+index e2f4fe9dfc59..e7ed8d372351 100644
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67142,7 +65375,7 @@ index c9f726aecc07..6a970b419e10 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67242,7 +65475,7 @@ index c9f726aecc07..6a970b419e10 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67262,14 +65495,12 @@ index c9f726aecc07..6a970b419e10 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67308,12 +65539,10 @@ index c9f726aecc07..6a970b419e10 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67322,28 +65551,27 @@ index c9f726aecc07..6a970b419e10 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("packet_buffer_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
-index 618ae6fb64dd..0d4bb5505199 100644
+index 9830c749097d..153b21e66176 100644
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67360,7 +65588,7 @@ index 618ae6fb64dd..0d4bb5505199 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67460,7 +65688,7 @@ index 618ae6fb64dd..0d4bb5505199 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67480,14 +65708,12 @@ index 618ae6fb64dd..0d4bb5505199 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67526,12 +65752,10 @@ index 618ae6fb64dd..0d4bb5505199 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67540,28 +65764,27 @@ index 618ae6fb64dd..0d4bb5505199 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalability_mode_util_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
-index 09afe4363006..4db02f8672a2 100644
+index 9df7c0dd8fba..e240df219e23 100644
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67578,7 +65801,7 @@ index 09afe4363006..4db02f8672a2 100644
FINAL_LIBRARY = "xul"
-@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,94 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67674,7 +65897,7 @@ index 09afe4363006..4db02f8672a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67694,14 +65917,12 @@ index 09afe4363006..4db02f8672a2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67740,12 +65961,10 @@ index 09afe4363006..4db02f8672a2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67754,28 +65973,27 @@ index 09afe4363006..4db02f8672a2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalability_structures_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
-index 30ff3f10a66c..149765eb02f0 100644
+index dd6fa224c4e3..a2bd77e16b44 100644
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67792,7 +66010,7 @@ index 30ff3f10a66c..149765eb02f0 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67881,7 +66099,7 @@ index 30ff3f10a66c..149765eb02f0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67901,14 +66119,12 @@ index 30ff3f10a66c..149765eb02f0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67947,12 +66163,10 @@ index 30ff3f10a66c..149765eb02f0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67961,28 +66175,27 @@ index 30ff3f10a66c..149765eb02f0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalable_video_controller_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
-index 7b20aff1bb23..e0360f071a9f 100644
+index 78d6a20d1c2b..1e572a5e24fb 100644
--- third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67999,7 +66212,7 @@ index 7b20aff1bb23..e0360f071a9f 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68100,7 +66313,7 @@ index 7b20aff1bb23..e0360f071a9f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68120,14 +66333,12 @@ index 7b20aff1bb23..e0360f071a9f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68166,12 +66377,10 @@ index 7b20aff1bb23..e0360f071a9f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68180,28 +66389,27 @@ index 7b20aff1bb23..e0360f071a9f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("simulcast_to_svc_converter_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
-index fc59cab02337..432ad6dc8d81 100644
+index b6fd02d1c670..6d501d35caa6 100644
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68218,7 +66426,7 @@ index fc59cab02337..432ad6dc8d81 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68318,7 +66526,7 @@ index fc59cab02337..432ad6dc8d81 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68338,14 +66546,12 @@ index fc59cab02337..432ad6dc8d81 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68384,12 +66590,10 @@ index fc59cab02337..432ad6dc8d81 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68398,28 +66602,27 @@ index fc59cab02337..432ad6dc8d81 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("svc_rate_allocator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
-index e33a44db589d..75839ef32948 100644
+index 35fa0ebc0367..71d75a0acc73 100644
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68436,7 +66639,7 @@ index e33a44db589d..75839ef32948 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68525,7 +66728,7 @@ index e33a44db589d..75839ef32948 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68545,14 +66748,12 @@ index e33a44db589d..75839ef32948 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68591,12 +66792,10 @@ index e33a44db589d..75839ef32948 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68605,28 +66804,27 @@ index e33a44db589d..75839ef32948 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("decode_time_percentile_filter_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
-index d1182b687873..cc4e442d07dc 100644
+index 72b91ff1d788..406a7566b36a 100644
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68643,7 +66841,7 @@ index d1182b687873..cc4e442d07dc 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68732,7 +66930,7 @@ index d1182b687873..cc4e442d07dc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68752,14 +66950,12 @@ index d1182b687873..cc4e442d07dc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68798,12 +66994,10 @@ index d1182b687873..cc4e442d07dc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68812,28 +67006,27 @@ index d1182b687873..cc4e442d07dc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_delay_variation_kalman_filter_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
-index fe0883a7e530..d8d916988d63 100644
+index 519588e13727..583c005a9f99 100644
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68850,7 +67043,7 @@ index fe0883a7e530..d8d916988d63 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68939,7 +67132,7 @@ index fe0883a7e530..d8d916988d63 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68959,14 +67152,12 @@ index fe0883a7e530..d8d916988d63 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69005,12 +67196,10 @@ index fe0883a7e530..d8d916988d63 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69019,28 +67208,27 @@ index fe0883a7e530..d8d916988d63 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("inter_frame_delay_variation_calculator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
-index be20d56dfe26..b7cf704dc435 100644
+index 0d8cf2901590..016bb4eb8149 100644
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69057,7 +67245,7 @@ index be20d56dfe26..b7cf704dc435 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69157,7 +67345,7 @@ index be20d56dfe26..b7cf704dc435 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69177,14 +67365,12 @@ index be20d56dfe26..b7cf704dc435 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69223,12 +67409,10 @@ index be20d56dfe26..b7cf704dc435 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69237,28 +67421,27 @@ index be20d56dfe26..b7cf704dc435 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("jitter_estimator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
-index 4f7ce9360985..f88efc048771 100644
+index bf0e685451ed..ec18831f7ade 100644
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69275,7 +67458,7 @@ index 4f7ce9360985..f88efc048771 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69364,7 +67547,7 @@ index 4f7ce9360985..f88efc048771 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69384,14 +67567,12 @@ index 4f7ce9360985..f88efc048771 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69430,12 +67611,10 @@ index 4f7ce9360985..f88efc048771 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69444,28 +67623,27 @@ index 4f7ce9360985..f88efc048771 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtt_filter_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
-index da66074a3b32..58b7d3ef1612 100644
+index 5813d216063b..021a276da6ad 100644
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69482,7 +67660,7 @@ index da66074a3b32..58b7d3ef1612 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69571,7 +67749,7 @@ index da66074a3b32..58b7d3ef1612 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69591,14 +67769,12 @@ index da66074a3b32..58b7d3ef1612 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69637,12 +67813,10 @@ index da66074a3b32..58b7d3ef1612 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69651,28 +67825,27 @@ index da66074a3b32..58b7d3ef1612 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timestamp_extrapolator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
-index 2c1ee334dddf..d457b35a059e 100644
+index fcbc9c26ca61..b8e60636098b 100644
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69689,7 +67862,7 @@ index 2c1ee334dddf..d457b35a059e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69789,7 +67962,7 @@ index 2c1ee334dddf..d457b35a059e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69809,14 +67982,12 @@ index 2c1ee334dddf..d457b35a059e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69855,12 +68026,10 @@ index 2c1ee334dddf..d457b35a059e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69869,28 +68038,27 @@ index 2c1ee334dddf..d457b35a059e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timing_module_gn")
diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
-index 60dd4340f3fa..66297293fe87 100644
+index 70ff7f1b9fb9..22dc0829c784 100644
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69907,7 +68075,7 @@ index 60dd4340f3fa..66297293fe87 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70007,7 +68175,7 @@ index 60dd4340f3fa..66297293fe87 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70027,14 +68195,12 @@ index 60dd4340f3fa..66297293fe87 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70073,12 +68239,10 @@ index 60dd4340f3fa..66297293fe87 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70087,28 +68251,27 @@ index 60dd4340f3fa..66297293fe87 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_codec_interface_gn")
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
-index d7d3cd24da0c..8813b7ec8a42 100644
+index 3b9af9e935fa..2c0fb20de5de 100644
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70125,7 +68288,7 @@ index d7d3cd24da0c..8813b7ec8a42 100644
FINAL_LIBRARY = "xul"
-@@ -58,99 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,99 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70226,7 +68389,7 @@ index d7d3cd24da0c..8813b7ec8a42 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -158,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -160,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70246,14 +68409,12 @@ index d7d3cd24da0c..8813b7ec8a42 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70292,12 +68453,10 @@ index d7d3cd24da0c..8813b7ec8a42 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70306,28 +68465,27 @@ index d7d3cd24da0c..8813b7ec8a42 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_coding_gn")
diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
-index ebd9c4fee826..faafbe09003f 100644
+index 372fbcc1fec9..63dc326cb39c 100644
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70344,7 +68502,7 @@ index ebd9c4fee826..faafbe09003f 100644
FINAL_LIBRARY = "xul"
-@@ -57,99 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,99 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70445,7 +68603,7 @@ index ebd9c4fee826..faafbe09003f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70465,14 +68623,12 @@ index ebd9c4fee826..faafbe09003f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70511,12 +68667,10 @@ index ebd9c4fee826..faafbe09003f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70525,28 +68679,27 @@ index ebd9c4fee826..faafbe09003f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_coding_utility_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
-index c5e8f06afeff..4ccce753f1cc 100644
+index 42fc86877d61..8aa23d3e602d 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70563,7 +68716,7 @@ index c5e8f06afeff..4ccce753f1cc 100644
FINAL_LIBRARY = "xul"
-@@ -50,99 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70664,7 +68817,7 @@ index c5e8f06afeff..4ccce753f1cc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70684,14 +68837,12 @@ index c5e8f06afeff..4ccce753f1cc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70730,12 +68881,10 @@ index c5e8f06afeff..4ccce753f1cc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70744,28 +68893,27 @@ index c5e8f06afeff..4ccce753f1cc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_h264_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
-index 5adadf70f422..a55ec3ceb2e5 100644
+index a5be479fb5ef..33bf4869c3e1 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70782,7 +68930,7 @@ index 5adadf70f422..a55ec3ceb2e5 100644
FINAL_LIBRARY = "xul"
-@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,87 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70871,7 +69019,7 @@ index 5adadf70f422..a55ec3ceb2e5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70891,14 +69039,12 @@ index 5adadf70f422..a55ec3ceb2e5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70937,12 +69083,10 @@ index 5adadf70f422..a55ec3ceb2e5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70951,28 +69095,27 @@ index 5adadf70f422..a55ec3ceb2e5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_libvpx_interface_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
-index f402ec01a29e..9cd5350ac31a 100644
+index 83497c58de59..59b9cf953887 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70989,7 +69132,7 @@ index f402ec01a29e..9cd5350ac31a 100644
FINAL_LIBRARY = "xul"
-@@ -51,99 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71090,7 +69233,7 @@ index f402ec01a29e..9cd5350ac31a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71110,14 +69253,12 @@ index f402ec01a29e..9cd5350ac31a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71156,12 +69297,10 @@ index f402ec01a29e..9cd5350ac31a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71170,28 +69309,27 @@ index f402ec01a29e..9cd5350ac31a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp8_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
-index 570c9383d5bb..b7aac07667b6 100644
+index f7123a48ff94..159d0f488cf5 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71208,7 +69346,7 @@ index 570c9383d5bb..b7aac07667b6 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71297,7 +69435,7 @@ index 570c9383d5bb..b7aac07667b6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71317,14 +69455,12 @@ index 570c9383d5bb..b7aac07667b6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71363,12 +69499,10 @@ index 570c9383d5bb..b7aac07667b6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71377,28 +69511,27 @@ index 570c9383d5bb..b7aac07667b6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp8_scalability_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
-index ece868daa962..cb6d66c5dd83 100644
+index 1eef00eaf9b7..38bf89857dd5 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71415,7 +69548,7 @@ index ece868daa962..cb6d66c5dd83 100644
FINAL_LIBRARY = "xul"
-@@ -50,99 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71516,7 +69649,7 @@ index ece868daa962..cb6d66c5dd83 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71536,14 +69669,12 @@ index ece868daa962..cb6d66c5dd83 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71582,12 +69713,10 @@ index ece868daa962..cb6d66c5dd83 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71596,28 +69725,27 @@ index ece868daa962..cb6d66c5dd83 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp8_temporal_layers_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
-index 97907050ab85..27fc31791159 100644
+index bbd8102cbd1a..8cca12c5caf8 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71634,7 +69762,7 @@ index 97907050ab85..27fc31791159 100644
FINAL_LIBRARY = "xul"
-@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71735,7 +69863,7 @@ index 97907050ab85..27fc31791159 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71755,14 +69883,12 @@ index 97907050ab85..27fc31791159 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71801,12 +69927,10 @@ index 97907050ab85..27fc31791159 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71815,28 +69939,27 @@ index 97907050ab85..27fc31791159 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp9_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
-index b5c3fb618866..a18a49feb3ed 100644
+index f57a0a7e568b..9a78b83fbd8c 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71853,7 +69976,7 @@ index b5c3fb618866..a18a49feb3ed 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71953,7 +70076,7 @@ index b5c3fb618866..a18a49feb3ed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71973,14 +70096,12 @@ index b5c3fb618866..a18a49feb3ed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -72019,12 +70140,10 @@ index b5c3fb618866..a18a49feb3ed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -72033,23 +70152,21 @@ index b5c3fb618866..a18a49feb3ed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp9_helpers_gn")
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
-index c6cc8931d764..9bd6a676a25f 100644
+index 84cfd37b7351..a14de2b579ed 100644
--- third_party/libwebrtc/moz.build
+++ third_party/libwebrtc/moz.build
-@@ -290,6 +290,8 @@ DIRS += [
+@@ -289,6 +289,8 @@ DIRS += [
"/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn",
"/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn",
"/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn",
@@ -72058,7 +70175,7 @@ index c6cc8931d764..9bd6a676a25f 100644
"/third_party/libwebrtc/modules/module_api_gn",
"/third_party/libwebrtc/modules/module_api_public_gn",
"/third_party/libwebrtc/modules/module_fec_api_gn",
-@@ -515,137 +517,30 @@ DIRS += [
+@@ -512,137 +514,30 @@ DIRS += [
"/third_party/libwebrtc/webrtc_gn"
]
@@ -72200,7 +70317,7 @@ index c6cc8931d764..9bd6a676a25f 100644
DIRS += [
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
-@@ -653,13 +548,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -650,13 +545,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
@@ -72215,7 +70332,7 @@ index c6cc8931d764..9bd6a676a25f 100644
DIRS += [
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
-@@ -667,73 +560,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -664,73 +557,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
@@ -72290,15 +70407,16 @@ index c6cc8931d764..9bd6a676a25f 100644
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
- ]
diff --git third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
-index 0b2c09fdcff0..092a150a2352 100644
+index 5d989ceee1f6..0190347650e9 100644
--- third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72315,7 +70433,7 @@ index 0b2c09fdcff0..092a150a2352 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72404,7 +70522,7 @@ index 0b2c09fdcff0..092a150a2352 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72420,19 +70538,17 @@ index 0b2c09fdcff0..092a150a2352 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72458,35 +70574,32 @@ index 0b2c09fdcff0..092a150a2352 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("internal_types_gn")
diff --git third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
-index f24dd018c572..bdec311c880e 100644
+index 5e2c9f2def32..7eaf7c5142d8 100644
--- third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72503,7 +70616,7 @@ index f24dd018c572..bdec311c880e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72588,7 +70701,7 @@ index f24dd018c572..bdec311c880e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72604,19 +70717,17 @@ index f24dd018c572..bdec311c880e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72642,35 +70753,32 @@ index f24dd018c572..bdec311c880e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("math_gn")
diff --git third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
-index bdbcc93d83c5..042fc3ef9e00 100644
+index 5c1a80e0070e..5d69af7109d6 100644
--- third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72687,7 +70795,7 @@ index bdbcc93d83c5..042fc3ef9e00 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72776,7 +70884,7 @@ index bdbcc93d83c5..042fc3ef9e00 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72792,19 +70900,17 @@ index bdbcc93d83c5..042fc3ef9e00 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72830,35 +70936,32 @@ index bdbcc93d83c5..042fc3ef9e00 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sequence_numbers_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
-index 140f34e71edc..0674120fb66d 100644
+index 3f2b5a02680f..55149d8fe27a 100644
--- third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72875,7 +70978,7 @@ index 140f34e71edc..0674120fb66d 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72964,7 +71067,7 @@ index 140f34e71edc..0674120fb66d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72980,19 +71083,17 @@ index 140f34e71edc..0674120fb66d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -73018,35 +71119,32 @@ index 140f34e71edc..0674120fb66d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bounded_io_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
-index 233c3fc51a0d..03c2f87070e4 100644
+index 353abfb3fb3d..872482ca3530 100644
--- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73063,7 +71161,7 @@ index 233c3fc51a0d..03c2f87070e4 100644
FINAL_LIBRARY = "xul"
-@@ -62,94 +71,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -64,94 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73159,7 +71257,7 @@ index 233c3fc51a0d..03c2f87070e4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +79,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73179,14 +71277,12 @@ index 233c3fc51a0d..03c2f87070e4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -73225,12 +71321,10 @@ index 233c3fc51a0d..03c2f87070e4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -73239,28 +71333,27 @@ index 233c3fc51a0d..03c2f87070e4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("chunk_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
-index 84e9ee6957e2..6583b0e50f8f 100644
+index 7b67df816ef9..3ffb653184ca 100644
--- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73277,7 +71370,7 @@ index 84e9ee6957e2..6583b0e50f8f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73373,7 +71466,7 @@ index 84e9ee6957e2..6583b0e50f8f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73393,14 +71486,12 @@ index 84e9ee6957e2..6583b0e50f8f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -73439,12 +71530,10 @@ index 84e9ee6957e2..6583b0e50f8f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -73453,28 +71542,27 @@ index 84e9ee6957e2..6583b0e50f8f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("chunk_validators_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
-index 14a85ac16c1e..8e046a16bdb8 100644
+index 7cee175df41c..9b19d2ce9ae1 100644
--- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73491,7 +71579,7 @@ index 14a85ac16c1e..8e046a16bdb8 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73580,7 +71668,7 @@ index 14a85ac16c1e..8e046a16bdb8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73600,14 +71688,12 @@ index 14a85ac16c1e..8e046a16bdb8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -73646,12 +71732,10 @@ index 14a85ac16c1e..8e046a16bdb8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -73660,28 +71744,27 @@ index 14a85ac16c1e..8e046a16bdb8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("crc32c_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
-index 8d820a7d88d4..379a28ef9b5d 100644
+index 42fbfd5dd1f9..14d7570c9647 100644
--- third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73698,7 +71781,7 @@ index 8d820a7d88d4..379a28ef9b5d 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73787,7 +71870,7 @@ index 8d820a7d88d4..379a28ef9b5d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73803,19 +71886,17 @@ index 8d820a7d88d4..379a28ef9b5d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -73841,35 +71922,32 @@ index 8d820a7d88d4..379a28ef9b5d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("data_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
-index 045aa0a8c864..30301114bdd5 100644
+index abbfe919bab4..c4d0d6069fcd 100644
--- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73886,7 +71964,7 @@ index 045aa0a8c864..30301114bdd5 100644
FINAL_LIBRARY = "xul"
-@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,94 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73982,7 +72060,7 @@ index 045aa0a8c864..30301114bdd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74002,14 +72080,12 @@ index 045aa0a8c864..30301114bdd5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74048,12 +72124,10 @@ index 045aa0a8c864..30301114bdd5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74062,28 +72136,27 @@ index 045aa0a8c864..30301114bdd5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("error_cause_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
-index b49605267ba7..58638908ffd5 100644
+index 35547f27626c..ef2aa914823a 100644
--- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74100,7 +72173,7 @@ index b49605267ba7..58638908ffd5 100644
FINAL_LIBRARY = "xul"
-@@ -56,94 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74196,7 +72269,7 @@ index b49605267ba7..58638908ffd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74216,14 +72289,12 @@ index b49605267ba7..58638908ffd5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74262,12 +72333,10 @@ index b49605267ba7..58638908ffd5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74276,28 +72345,27 @@ index b49605267ba7..58638908ffd5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("parameter_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
-index 595e2a4b47fc..1a73e6f7cce3 100644
+index 543236d4b64f..a1bd6d4f00ca 100644
--- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74314,7 +72382,7 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74410,7 +72478,7 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74430,14 +72498,12 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74476,12 +72542,10 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74490,28 +72554,27 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sctp_packet_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
-index 501e087cf4f4..46aca2b63439 100644
+index 4f179f644afd..f3745d68b2a2 100644
--- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74528,7 +72591,7 @@ index 501e087cf4f4..46aca2b63439 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74624,7 +72687,7 @@ index 501e087cf4f4..46aca2b63439 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74644,14 +72707,12 @@ index 501e087cf4f4..46aca2b63439 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74690,12 +72751,10 @@ index 501e087cf4f4..46aca2b63439 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74704,28 +72763,27 @@ index 501e087cf4f4..46aca2b63439 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("tlv_trait_gn")
diff --git third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
-index 8bffc5ccb823..076f5770a5d6 100644
+index 3c15f57a7e7c..b63147ae3a61 100644
--- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74742,7 +72800,7 @@ index 8bffc5ccb823..076f5770a5d6 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74838,7 +72896,7 @@ index 8bffc5ccb823..076f5770a5d6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74858,14 +72916,12 @@ index 8bffc5ccb823..076f5770a5d6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74904,12 +72960,10 @@ index 8bffc5ccb823..076f5770a5d6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74918,28 +72972,27 @@ index 8bffc5ccb823..076f5770a5d6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("factory_gn")
diff --git third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
-index 927b5a428912..a6ed4c24ef15 100644
+index 25e24b187285..ccb418ece198 100644
--- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74956,7 +73009,7 @@ index 927b5a428912..a6ed4c24ef15 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75045,7 +73098,7 @@ index 927b5a428912..a6ed4c24ef15 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75065,14 +73118,12 @@ index 927b5a428912..a6ed4c24ef15 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75111,12 +73162,10 @@ index 927b5a428912..a6ed4c24ef15 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75125,28 +73174,27 @@ index 927b5a428912..a6ed4c24ef15 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("socket_gn")
diff --git third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
-index 653ad6fa967b..7aa084722ff6 100644
+index 0443a29b77d4..4528b2721a7b 100644
--- third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75163,7 +73211,7 @@ index 653ad6fa967b..7aa084722ff6 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75252,7 +73300,7 @@ index 653ad6fa967b..7aa084722ff6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75268,19 +73316,17 @@ index 653ad6fa967b..7aa084722ff6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -75306,35 +73352,32 @@ index 653ad6fa967b..7aa084722ff6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("types_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
-index 3a621be8ee0c..c41e3cea29db 100644
+index 70a0e2b772d1..ee1c7992d039 100644
--- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75351,7 +73394,7 @@ index 3a621be8ee0c..c41e3cea29db 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75447,7 +73490,7 @@ index 3a621be8ee0c..c41e3cea29db 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75467,14 +73510,12 @@ index 3a621be8ee0c..c41e3cea29db 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75513,12 +73554,10 @@ index 3a621be8ee0c..c41e3cea29db 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75527,28 +73566,27 @@ index 3a621be8ee0c..c41e3cea29db 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("data_tracker_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
-index 970d2ca3e440..725acafe32f8 100644
+index f107fbd0ea75..4afed3eeafd1 100644
--- third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75565,7 +73603,7 @@ index 970d2ca3e440..725acafe32f8 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75661,7 +73699,7 @@ index 970d2ca3e440..725acafe32f8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75681,14 +73719,12 @@ index 970d2ca3e440..725acafe32f8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75727,12 +73763,10 @@ index 970d2ca3e440..725acafe32f8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75741,28 +73775,27 @@ index 970d2ca3e440..725acafe32f8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("interleaved_reassembly_streams_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
-index ebc514445924..cdf1107bd75d 100644
+index b5de81a0f0e3..ba62dcc0cc0a 100644
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75779,7 +73812,7 @@ index ebc514445924..cdf1107bd75d 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75875,7 +73908,7 @@ index ebc514445924..cdf1107bd75d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75895,14 +73928,12 @@ index ebc514445924..cdf1107bd75d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75941,12 +73972,10 @@ index ebc514445924..cdf1107bd75d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75955,28 +73984,27 @@ index ebc514445924..cdf1107bd75d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("reassembly_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
-index d2b225cc9eb1..a219368de740 100644
+index 2fd7cf0908d9..b2c7a7b46ae0 100644
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75993,7 +74021,7 @@ index d2b225cc9eb1..a219368de740 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76089,7 +74117,7 @@ index d2b225cc9eb1..a219368de740 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76105,19 +74133,17 @@ index d2b225cc9eb1..a219368de740 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -76143,35 +74169,32 @@ index d2b225cc9eb1..a219368de740 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("reassembly_streams_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
-index ec9eb8c8dca6..e9613ef83f3f 100644
+index bd8e9eb36141..f86e4e49ef1e 100644
--- third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76188,7 +74211,7 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76284,7 +74307,7 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76304,14 +74327,12 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -76350,12 +74371,10 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -76364,28 +74383,27 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("traditional_reassembly_streams_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
-index 5191b1ff25e5..d5553041ffcf 100644
+index c57262d8ef49..ffa8a5cda3c8 100644
--- third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76402,7 +74420,7 @@ index 5191b1ff25e5..d5553041ffcf 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76498,7 +74516,7 @@ index 5191b1ff25e5..d5553041ffcf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76514,19 +74532,17 @@ index 5191b1ff25e5..d5553041ffcf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -76552,35 +74568,32 @@ index 5191b1ff25e5..d5553041ffcf 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("context_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
-index f60268863f14..6a8f037b8820 100644
+index 5120a15a6937..e2c9efaec29d 100644
--- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76597,7 +74610,7 @@ index f60268863f14..6a8f037b8820 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76693,7 +74706,7 @@ index f60268863f14..6a8f037b8820 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76713,14 +74726,12 @@ index f60268863f14..6a8f037b8820 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -76759,12 +74770,10 @@ index f60268863f14..6a8f037b8820 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -76773,28 +74782,27 @@ index f60268863f14..6a8f037b8820 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("dcsctp_socket_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
-index b6673bdcb35d..38c33f31da9f 100644
+index eb861906769d..050ff51340a0 100644
--- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76811,7 +74819,7 @@ index b6673bdcb35d..38c33f31da9f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76907,7 +74915,7 @@ index b6673bdcb35d..38c33f31da9f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76927,14 +74935,12 @@ index b6673bdcb35d..38c33f31da9f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -76973,12 +74979,10 @@ index b6673bdcb35d..38c33f31da9f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -76987,28 +74991,27 @@ index b6673bdcb35d..38c33f31da9f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("heartbeat_handler_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
-index 2a98bd00a625..b510960c9a21 100644
+index 052785897c7c..5c764530cba1 100644
--- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77025,7 +75028,7 @@ index 2a98bd00a625..b510960c9a21 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77121,7 +75124,7 @@ index 2a98bd00a625..b510960c9a21 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77141,14 +75144,12 @@ index 2a98bd00a625..b510960c9a21 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77187,12 +75188,10 @@ index 2a98bd00a625..b510960c9a21 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77201,28 +75200,27 @@ index 2a98bd00a625..b510960c9a21 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("packet_sender_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
-index 8f3480e9ca8d..7a29d5249b18 100644
+index 421593aa97f2..659bf023c4a3 100644
--- third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77239,7 +75237,7 @@ index 8f3480e9ca8d..7a29d5249b18 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77335,7 +75333,7 @@ index 8f3480e9ca8d..7a29d5249b18 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77355,14 +75353,12 @@ index 8f3480e9ca8d..7a29d5249b18 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77401,12 +75397,10 @@ index 8f3480e9ca8d..7a29d5249b18 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77415,28 +75409,27 @@ index 8f3480e9ca8d..7a29d5249b18 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stream_reset_handler_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
-index 1fceb333f990..dbf0adade674 100644
+index 7d29e6f235bc..bbe20788c261 100644
--- third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77453,7 +75446,7 @@ index 1fceb333f990..dbf0adade674 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77549,7 +75542,7 @@ index 1fceb333f990..dbf0adade674 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77569,14 +75562,12 @@ index 1fceb333f990..dbf0adade674 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77615,12 +75606,10 @@ index 1fceb333f990..dbf0adade674 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77629,28 +75618,27 @@ index 1fceb333f990..dbf0adade674 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transmission_control_block_gn")
diff --git third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
-index 55a0b4115a34..d8d1eb6264ab 100644
+index 63c797a30bdd..c75a4734ac3f 100644
--- third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77667,7 +75655,7 @@ index 55a0b4115a34..d8d1eb6264ab 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77763,7 +75751,7 @@ index 55a0b4115a34..d8d1eb6264ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77783,14 +75771,12 @@ index 55a0b4115a34..d8d1eb6264ab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77829,12 +75815,10 @@ index 55a0b4115a34..d8d1eb6264ab 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77843,28 +75827,27 @@ index 55a0b4115a34..d8d1eb6264ab 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("task_queue_timeout_gn")
diff --git third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
-index cd563c4058bc..df65aca6a01c 100644
+index 54e896eb35ab..51253edabb96 100644
--- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77881,7 +75864,7 @@ index cd563c4058bc..df65aca6a01c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77970,7 +75953,7 @@ index cd563c4058bc..df65aca6a01c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77990,14 +75973,12 @@ index cd563c4058bc..df65aca6a01c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78036,12 +76017,10 @@ index cd563c4058bc..df65aca6a01c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78050,28 +76029,27 @@ index cd563c4058bc..df65aca6a01c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timer_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
-index ac4bbdcd2338..326c428a1778 100644
+index 0548bf7afb2f..cdd387364988 100644
--- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78088,7 +76066,7 @@ index ac4bbdcd2338..326c428a1778 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78184,7 +76162,7 @@ index ac4bbdcd2338..326c428a1778 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78204,14 +76182,12 @@ index ac4bbdcd2338..326c428a1778 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78250,12 +76226,10 @@ index ac4bbdcd2338..326c428a1778 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78264,28 +76238,27 @@ index ac4bbdcd2338..326c428a1778 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("outstanding_data_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
-index b0386ae0a511..cbc589514252 100644
+index 95e9bc2679a5..2ebdf85adf8a 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78302,7 +76275,7 @@ index b0386ae0a511..cbc589514252 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78398,7 +76371,7 @@ index b0386ae0a511..cbc589514252 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78418,14 +76391,12 @@ index b0386ae0a511..cbc589514252 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78464,12 +76435,10 @@ index b0386ae0a511..cbc589514252 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78478,28 +76447,27 @@ index b0386ae0a511..cbc589514252 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("retransmission_error_counter_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
-index 58fdf7dd5115..55c75c1fb402 100644
+index aaaf15543dae..db73ce751e20 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78516,7 +76484,7 @@ index 58fdf7dd5115..55c75c1fb402 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78612,7 +76580,7 @@ index 58fdf7dd5115..55c75c1fb402 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78632,14 +76600,12 @@ index 58fdf7dd5115..55c75c1fb402 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78678,12 +76644,10 @@ index 58fdf7dd5115..55c75c1fb402 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78692,28 +76656,27 @@ index 58fdf7dd5115..55c75c1fb402 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("retransmission_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
-index 9a258b6b20eb..0a9dfa499321 100644
+index 5c8b76f3df08..1c6b0b3c59c2 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78730,7 +76693,7 @@ index 9a258b6b20eb..0a9dfa499321 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78819,7 +76782,7 @@ index 9a258b6b20eb..0a9dfa499321 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78839,14 +76802,12 @@ index 9a258b6b20eb..0a9dfa499321 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78885,12 +76846,10 @@ index 9a258b6b20eb..0a9dfa499321 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78899,28 +76858,27 @@ index 9a258b6b20eb..0a9dfa499321 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("retransmission_timeout_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
-index 91c786eed99b..48c5fbaf1ba4 100644
+index 32b453815025..38eff16e76ca 100644
--- third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78937,7 +76895,7 @@ index 91c786eed99b..48c5fbaf1ba4 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79033,7 +76991,7 @@ index 91c786eed99b..48c5fbaf1ba4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79053,14 +77011,12 @@ index 91c786eed99b..48c5fbaf1ba4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -79099,12 +77055,10 @@ index 91c786eed99b..48c5fbaf1ba4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -79113,28 +77067,27 @@ index 91c786eed99b..48c5fbaf1ba4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rr_send_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
-index 59294c3bd400..0926b8455a15 100644
+index ecd82d9dfcc4..de8b818042ce 100644
--- third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79151,7 +77104,7 @@ index 59294c3bd400..0926b8455a15 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79247,7 +77200,7 @@ index 59294c3bd400..0926b8455a15 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79263,19 +77216,17 @@ index 59294c3bd400..0926b8455a15 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -79301,35 +77252,32 @@ index 59294c3bd400..0926b8455a15 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("send_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
-index 055f438670b6..9a873890e77f 100644
+index 083e381121c5..5401aebf1609 100644
--- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79346,7 +77294,7 @@ index 055f438670b6..9a873890e77f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79442,7 +77390,7 @@ index 055f438670b6..9a873890e77f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79462,14 +77410,12 @@ index 055f438670b6..9a873890e77f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -79508,12 +77454,10 @@ index 055f438670b6..9a873890e77f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -79522,28 +77466,27 @@ index 055f438670b6..9a873890e77f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stream_scheduler_gn")
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
-index 7e32eb6e2755..8fdcb6772390 100644
+index 46a480860fe6..fe74f0c08984 100644
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79560,7 +77503,7 @@ index 7e32eb6e2755..8fdcb6772390 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79657,7 +77600,7 @@ index 7e32eb6e2755..8fdcb6772390 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79677,14 +77620,12 @@ index 7e32eb6e2755..8fdcb6772390 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -79723,12 +77664,10 @@ index 7e32eb6e2755..8fdcb6772390 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -79737,28 +77676,27 @@ index 7e32eb6e2755..8fdcb6772390 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("async_dns_resolver_gn")
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
-index 7a146473b341..f51588d4d243 100644
+index 07bb6443d9d6..91b568c42ae2 100644
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79775,7 +77713,7 @@ index 7a146473b341..f51588d4d243 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79860,7 +77798,7 @@ index 7a146473b341..f51588d4d243 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79876,19 +77814,17 @@ index 7a146473b341..f51588d4d243 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -79914,35 +77850,32 @@ index 7a146473b341..f51588d4d243 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("async_packet_socket_gn")
-diff --git third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-index aeda0b1a6b32..03d61f0aaa19 100644
---- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+diff --git third_party/libwebrtc/rtc_base/base64_gn/moz.build third_party/libwebrtc/rtc_base/base64_gn/moz.build
+index 3de0b7560849..50ee6b06bc6a 100644
+--- third_party/libwebrtc/rtc_base/base64_gn/moz.build
++++ third_party/libwebrtc/rtc_base/base64_gn/moz.build
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79959,7 +77892,7 @@ index aeda0b1a6b32..03d61f0aaa19 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80004,10 +77937,6 @@ index aeda0b1a6b32..03d61f0aaa19 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -80048,18 +77977,11 @@ index aeda0b1a6b32..03d61f0aaa19 100644
- DEFINES["_WINDOWS"] = True
- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
- DEFINES["__STD_C"] = True
--
-- OS_LIBS += [
-- "crypt32",
-- "iphlpapi",
-- "secur32",
-- "winmm"
-- ]
+ DEFINES["_DEBUG"] = True
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80079,14 +78001,12 @@ index aeda0b1a6b32..03d61f0aaa19 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80125,12 +78045,10 @@ index aeda0b1a6b32..03d61f0aaa19 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80139,28 +78057,27 @@ index aeda0b1a6b32..03d61f0aaa19 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
- Library("audio_format_to_string_gn")
+ Library("base64_gn")
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
-index 0a6ec847b887..94c68e80890c 100644
+index ffff7692d155..4c211b919333 100644
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80177,7 +78094,7 @@ index 0a6ec847b887..94c68e80890c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80266,7 +78183,7 @@ index 0a6ec847b887..94c68e80890c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80286,14 +78203,12 @@ index 0a6ec847b887..94c68e80890c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80332,12 +78247,10 @@ index 0a6ec847b887..94c68e80890c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80346,28 +78259,27 @@ index 0a6ec847b887..94c68e80890c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bit_buffer_gn")
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
-index 3d7f0613554f..0b19ed3b02dd 100644
+index 5ac7d2799a21..bb005444b014 100644
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80384,7 +78296,7 @@ index 3d7f0613554f..0b19ed3b02dd 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80480,7 +78392,7 @@ index 3d7f0613554f..0b19ed3b02dd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80500,14 +78412,12 @@ index 3d7f0613554f..0b19ed3b02dd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80546,12 +78456,10 @@ index 3d7f0613554f..0b19ed3b02dd 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80560,28 +78468,27 @@ index 3d7f0613554f..0b19ed3b02dd 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_tracker_gn")
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
-index 559f4069b391..72c0bffa6821 100644
+index eee5ccd81304..7d0af1877572 100644
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80598,7 +78505,7 @@ index 559f4069b391..72c0bffa6821 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80687,7 +78594,7 @@ index 559f4069b391..72c0bffa6821 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80707,14 +78614,12 @@ index 559f4069b391..72c0bffa6821 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80753,12 +78658,10 @@ index 559f4069b391..72c0bffa6821 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80767,28 +78670,27 @@ index 559f4069b391..72c0bffa6821 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitstream_reader_gn")
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
-index f21b4b8eab2a..9d63b938f605 100644
+index ef4cb47eab49..a43d4f89c6ba 100644
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80805,7 +78707,7 @@ index f21b4b8eab2a..9d63b938f605 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80894,7 +78796,7 @@ index f21b4b8eab2a..9d63b938f605 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80910,19 +78812,17 @@ index f21b4b8eab2a..9d63b938f605 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -80948,35 +78848,32 @@ index f21b4b8eab2a..9d63b938f605 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("buffer_gn")
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
-index afd619f1dfaa..313d261ab5ef 100644
+index 4d0296e2b9af..c5b976275752 100644
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80993,7 +78890,7 @@ index afd619f1dfaa..313d261ab5ef 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81082,7 +78979,7 @@ index afd619f1dfaa..313d261ab5ef 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81102,14 +78999,12 @@ index afd619f1dfaa..313d261ab5ef 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -81148,12 +79043,10 @@ index afd619f1dfaa..313d261ab5ef 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -81162,28 +79055,27 @@ index afd619f1dfaa..313d261ab5ef 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("byte_buffer_gn")
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
-index 136f9ba39118..26d600457629 100644
+index d357971ac11b..c936f00bf8ee 100644
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81200,7 +79092,7 @@ index 136f9ba39118..26d600457629 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81285,7 +79177,7 @@ index 136f9ba39118..26d600457629 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81301,19 +79193,17 @@ index 136f9ba39118..26d600457629 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -81339,35 +79229,32 @@ index 136f9ba39118..26d600457629 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("byte_order_gn")
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
-index 53b3db3c29a4..0d20c2fc85df 100644
+index dbd6fb44f059..119f166be716 100644
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81384,7 +79271,7 @@ index 53b3db3c29a4..0d20c2fc85df 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81473,7 +79360,7 @@ index 53b3db3c29a4..0d20c2fc85df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81493,14 +79380,12 @@ index 53b3db3c29a4..0d20c2fc85df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -81539,12 +79424,10 @@ index 53b3db3c29a4..0d20c2fc85df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -81553,28 +79436,27 @@ index 53b3db3c29a4..0d20c2fc85df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("checks_gn")
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
-index 4a2733a2545e..d2e7e6527fa8 100644
+index 1b95fbaa6d76..6fcc88e2c397 100644
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81591,7 +79473,7 @@ index 4a2733a2545e..d2e7e6527fa8 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81676,7 +79558,7 @@ index 4a2733a2545e..d2e7e6527fa8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81692,19 +79574,17 @@ index 4a2733a2545e..d2e7e6527fa8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -81730,35 +79610,32 @@ index 4a2733a2545e..d2e7e6527fa8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("compile_assert_c_gn")
diff --git third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
-index c6da64921be3..c5cb7312d73b 100644
+index 45f3542a1cf3..f5aede81a63d 100644
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81775,7 +79652,7 @@ index c6da64921be3..c5cb7312d73b 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81864,7 +79741,7 @@ index c6da64921be3..c5cb7312d73b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81884,14 +79761,12 @@ index c6da64921be3..c5cb7312d73b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -81930,12 +79805,10 @@ index c6da64921be3..c5cb7312d73b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -81944,28 +79817,27 @@ index c6da64921be3..c5cb7312d73b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("flat_containers_internal_gn")
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
-index 3e56e73e5097..7a56affd7e8f 100644
+index 12d9f24a5dea..03965a3dbbbd 100644
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81982,7 +79854,7 @@ index 3e56e73e5097..7a56affd7e8f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82071,7 +79943,7 @@ index 3e56e73e5097..7a56affd7e8f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82087,19 +79959,17 @@ index 3e56e73e5097..7a56affd7e8f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82125,35 +79995,32 @@ index 3e56e73e5097..7a56affd7e8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("flat_map_gn")
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
-index 74e084843128..f2c66f590080 100644
+index 94d72b0be826..9bf7b297f73d 100644
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82170,7 +80037,7 @@ index 74e084843128..f2c66f590080 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82259,7 +80126,7 @@ index 74e084843128..f2c66f590080 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82275,19 +80142,17 @@ index 74e084843128..f2c66f590080 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82313,35 +80178,32 @@ index 74e084843128..f2c66f590080 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("flat_set_gn")
diff --git third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
-index 686d3cca374a..d6da3bf48535 100644
+index 290fa237597c..95fee876429c 100644
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82358,7 +80220,7 @@ index 686d3cca374a..d6da3bf48535 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82447,7 +80309,7 @@ index 686d3cca374a..d6da3bf48535 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82467,14 +80329,12 @@ index 686d3cca374a..d6da3bf48535 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -82513,12 +80373,10 @@ index 686d3cca374a..d6da3bf48535 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -82527,28 +80385,27 @@ index 686d3cca374a..d6da3bf48535 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("copy_on_write_buffer_gn")
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-index 9f7dcaa51748..38276f04ccd4 100644
+index d19a77f5a18b..95b1a36564bc 100644
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82565,7 +80422,7 @@ index 9f7dcaa51748..38276f04ccd4 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82654,7 +80511,7 @@ index 9f7dcaa51748..38276f04ccd4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82674,14 +80531,12 @@ index 9f7dcaa51748..38276f04ccd4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -82720,12 +80575,10 @@ index 9f7dcaa51748..38276f04ccd4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -82734,28 +80587,27 @@ index 9f7dcaa51748..38276f04ccd4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("criticalsection_gn")
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-index 17680417adbf..b0d8788bfab7 100644
+index 6d17c8740b6c..4081536caf3a 100644
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82772,7 +80624,7 @@ index 17680417adbf..b0d8788bfab7 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82861,7 +80713,7 @@ index 17680417adbf..b0d8788bfab7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82877,19 +80729,17 @@ index 17680417adbf..b0d8788bfab7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82915,35 +80765,32 @@ index 17680417adbf..b0d8788bfab7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("divide_round_gn")
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
-index 5dca1908a970..4539c1310eed 100644
+index b11b9ea3a10f..7ff506e6f033 100644
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82960,7 +80807,7 @@ index 5dca1908a970..4539c1310eed 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83045,7 +80892,7 @@ index 5dca1908a970..4539c1310eed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83061,19 +80908,17 @@ index 5dca1908a970..4539c1310eed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -83099,35 +80944,32 @@ index 5dca1908a970..4539c1310eed 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("dscp_gn")
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
-index cb48a7a70349..21989ec09d1b 100644
+index 8e75ad113c46..7d3dce09ccf7 100644
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83144,7 +80986,7 @@ index cb48a7a70349..21989ec09d1b 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83240,7 +81082,7 @@ index cb48a7a70349..21989ec09d1b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83260,14 +81102,12 @@ index cb48a7a70349..21989ec09d1b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83306,12 +81146,10 @@ index cb48a7a70349..21989ec09d1b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83320,28 +81158,27 @@ index cb48a7a70349..21989ec09d1b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("event_tracer_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
-index 8b44e5660921..6863054ca81f 100644
+index 10f82d3ff81e..40fcc18fd804 100644
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83358,7 +81195,7 @@ index 8b44e5660921..6863054ca81f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83454,7 +81291,7 @@ index 8b44e5660921..6863054ca81f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83474,14 +81311,12 @@ index 8b44e5660921..6863054ca81f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83520,12 +81355,10 @@ index 8b44e5660921..6863054ca81f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83534,28 +81367,27 @@ index 8b44e5660921..6863054ca81f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("alr_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
-index 1c59ca708d2f..ee64861ee262 100644
+index 4b8665b1b4d3..3186f94b957f 100644
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83572,7 +81404,7 @@ index 1c59ca708d2f..ee64861ee262 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83672,7 +81504,7 @@ index 1c59ca708d2f..ee64861ee262 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83692,14 +81524,12 @@ index 1c59ca708d2f..ee64861ee262 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83738,12 +81568,10 @@ index 1c59ca708d2f..ee64861ee262 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83752,28 +81580,27 @@ index 1c59ca708d2f..ee64861ee262 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("balanced_degradation_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
-index e5a9ffdfd115..4b00ef90140b 100644
+index c589d3227b8f..ca1de2ba5686 100644
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83790,7 +81617,7 @@ index e5a9ffdfd115..4b00ef90140b 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83890,7 +81717,7 @@ index e5a9ffdfd115..4b00ef90140b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83910,14 +81737,12 @@ index e5a9ffdfd115..4b00ef90140b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83956,12 +81781,10 @@ index e5a9ffdfd115..4b00ef90140b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83970,28 +81793,27 @@ index e5a9ffdfd115..4b00ef90140b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoder_info_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
-index 988cd2e4418b..b55c78991ab4 100644
+index c20b2e2aa6d7..89b499bfa973 100644
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84008,7 +81830,7 @@ index 988cd2e4418b..b55c78991ab4 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84104,7 +81926,7 @@ index 988cd2e4418b..b55c78991ab4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84124,14 +81946,12 @@ index 988cd2e4418b..b55c78991ab4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84170,12 +81990,10 @@ index 988cd2e4418b..b55c78991ab4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84184,28 +82002,27 @@ index 988cd2e4418b..b55c78991ab4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trial_parser_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
-index 872b4c22020d..25331deec501 100644
+index a1cdc70739b0..593522344bb9 100644
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84222,7 +82039,7 @@ index 872b4c22020d..25331deec501 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84318,7 +82135,7 @@ index 872b4c22020d..25331deec501 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84338,14 +82155,12 @@ index 872b4c22020d..25331deec501 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84384,12 +82199,10 @@ index 872b4c22020d..25331deec501 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84398,28 +82211,27 @@ index 872b4c22020d..25331deec501 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("keyframe_interval_settings_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
-index 0ce888f06f9a..24438b7ab997 100644
+index 4b3f27a4b3c3..d6b28a71bc0f 100644
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84436,7 +82248,7 @@ index 0ce888f06f9a..24438b7ab997 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84532,7 +82344,7 @@ index 0ce888f06f9a..24438b7ab997 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84552,14 +82364,12 @@ index 0ce888f06f9a..24438b7ab997 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84598,12 +82408,10 @@ index 0ce888f06f9a..24438b7ab997 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84612,28 +82420,27 @@ index 0ce888f06f9a..24438b7ab997 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("min_video_bitrate_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
-index 888bb6bed449..1dfdf96d71ff 100644
+index a826e388bec4..0db52e8261d9 100644
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84650,7 +82457,7 @@ index 888bb6bed449..1dfdf96d71ff 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84746,7 +82553,7 @@ index 888bb6bed449..1dfdf96d71ff 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84766,14 +82573,12 @@ index 888bb6bed449..1dfdf96d71ff 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84812,12 +82617,10 @@ index 888bb6bed449..1dfdf96d71ff 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84826,28 +82629,27 @@ index 888bb6bed449..1dfdf96d71ff 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("normalize_simulcast_size_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
-index f73e005019fd..ce493015ff83 100644
+index a15b6a0f37fa..f6268077ed0d 100644
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84864,7 +82666,7 @@ index f73e005019fd..ce493015ff83 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84960,7 +82762,7 @@ index f73e005019fd..ce493015ff83 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84980,14 +82782,12 @@ index f73e005019fd..ce493015ff83 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85026,12 +82826,10 @@ index f73e005019fd..ce493015ff83 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85040,28 +82838,27 @@ index f73e005019fd..ce493015ff83 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("quality_scaler_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
-index 5bd7f2933ddf..7f2881ba4ecf 100644
+index 6656011a3f73..9f3c461f759b 100644
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85078,7 +82875,7 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85178,7 +82975,7 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85198,14 +82995,12 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85244,12 +83039,10 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85258,28 +83051,27 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("quality_scaling_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
-index 052cf5f6a689..9bf33452f94d 100644
+index 882e6c023720..af436eb83128 100644
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85296,7 +83088,7 @@ index 052cf5f6a689..9bf33452f94d 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85396,7 +83188,7 @@ index 052cf5f6a689..9bf33452f94d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85416,14 +83208,12 @@ index 052cf5f6a689..9bf33452f94d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85462,12 +83252,10 @@ index 052cf5f6a689..9bf33452f94d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85476,28 +83264,27 @@ index 052cf5f6a689..9bf33452f94d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_control_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
-index f76932f63f73..9879b8168842 100644
+index 3329e9d7773e..b1f7e6b7b42c 100644
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85514,7 +83301,7 @@ index f76932f63f73..9879b8168842 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85610,7 +83397,7 @@ index f76932f63f73..9879b8168842 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85630,14 +83417,12 @@ index f76932f63f73..9879b8168842 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85676,12 +83461,10 @@ index f76932f63f73..9879b8168842 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85690,28 +83473,27 @@ index f76932f63f73..9879b8168842 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stable_target_rate_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
-index 8b101531d822..00a19d71ea3a 100644
+index 2dab806a0600..3811dae58fa1 100644
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85728,7 +83510,7 @@ index 8b101531d822..00a19d71ea3a 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85824,7 +83606,7 @@ index 8b101531d822..00a19d71ea3a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85844,14 +83626,12 @@ index 8b101531d822..00a19d71ea3a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85890,12 +83670,10 @@ index 8b101531d822..00a19d71ea3a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85904,28 +83682,27 @@ index 8b101531d822..00a19d71ea3a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frequency_tracker_gn")
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
-index 82de9b80ab57..d47c31c251d7 100644
+index c551d6f8e7db..6afbfab03fe8 100644
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85942,7 +83719,7 @@ index 82de9b80ab57..d47c31c251d7 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86027,7 +83804,7 @@ index 82de9b80ab57..d47c31c251d7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86043,19 +83820,17 @@ index 82de9b80ab57..d47c31c251d7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -86081,35 +83856,32 @@ index 82de9b80ab57..d47c31c251d7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("gtest_prod_gn")
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
-index f67e021ff723..304c01970849 100644
+index 633a84eb5698..945c0d939375 100644
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -86126,7 +83898,7 @@ index f67e021ff723..304c01970849 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86215,7 +83987,7 @@ index f67e021ff723..304c01970849 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86235,14 +84007,12 @@ index f67e021ff723..304c01970849 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -86281,12 +84051,10 @@ index f67e021ff723..304c01970849 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -86295,24 +84063,22 @@ index f67e021ff723..304c01970849 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("histogram_percentile_counter_gn")
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
deleted file mode 100644
-index 434a9e341736..000000000000
+index b6c099877828..000000000000
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
+++ /dev/null
-@@ -1,94 +0,0 @@
+@@ -1,96 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -86331,6 +84097,7 @@ index 434a9e341736..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ANDROID"] = True
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -86350,6 +84117,7 @@ index 434a9e341736..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -86408,15 +84176,16 @@ index 434a9e341736..000000000000
-
-Library("ifaddrs_android_gn")
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
-index e831c48bf944..8ae6a91bd52a 100644
+index 81956aa523cb..3898fa6a642b 100644
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -86433,7 +84202,7 @@ index e831c48bf944..8ae6a91bd52a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86518,7 +84287,7 @@ index e831c48bf944..8ae6a91bd52a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86534,19 +84303,17 @@ index e831c48bf944..8ae6a91bd52a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -86572,35 +84339,32 @@ index e831c48bf944..8ae6a91bd52a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ignore_wundef_gn")
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
-index 6d3c5967478b..5454e84f852d 100644
+index df4bfbe590f8..2e35650e0118 100644
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -86617,7 +84381,7 @@ index 6d3c5967478b..5454e84f852d 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86713,7 +84477,7 @@ index 6d3c5967478b..5454e84f852d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86733,14 +84497,12 @@ index 6d3c5967478b..5454e84f852d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -86779,12 +84541,10 @@ index 6d3c5967478b..5454e84f852d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -86793,28 +84553,27 @@ index 6d3c5967478b..5454e84f852d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("ip_address_gn")
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
-index 2e3439975796..2b70dba63d75 100644
+index 671657aa368d..25c4dcfeffd4 100644
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -86832,7 +84591,7 @@ index 2e3439975796..2b70dba63d75 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86928,7 +84687,7 @@ index 2e3439975796..2b70dba63d75 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86948,14 +84707,12 @@ index 2e3439975796..2b70dba63d75 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -86994,12 +84751,10 @@ index 2e3439975796..2b70dba63d75 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -87008,28 +84763,27 @@ index 2e3439975796..2b70dba63d75 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("logging_gn")
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
-index a7aa7cf17c05..967ba5155c40 100644
+index ee7bf52578e1..8cf0cbacb8c7 100644
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87046,7 +84800,7 @@ index a7aa7cf17c05..967ba5155c40 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87131,7 +84885,7 @@ index a7aa7cf17c05..967ba5155c40 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87147,19 +84901,17 @@ index a7aa7cf17c05..967ba5155c40 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -87185,35 +84937,32 @@ index a7aa7cf17c05..967ba5155c40 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("macromagic_gn")
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
-index ad879ed8b81b..b3dc806d992a 100644
+index 2dee6afe49e4..0d337d8cb039 100644
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87230,7 +84979,7 @@ index ad879ed8b81b..b3dc806d992a 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87319,7 +85068,7 @@ index ad879ed8b81b..b3dc806d992a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87339,14 +85088,12 @@ index ad879ed8b81b..b3dc806d992a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -87385,12 +85132,10 @@ index ad879ed8b81b..b3dc806d992a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -87399,28 +85144,27 @@ index ad879ed8b81b..b3dc806d992a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aligned_malloc_gn")
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
-index 8cdb73a27fd0..c8bec4191f51 100644
+index 73ea529287cf..293ce4f38dd7 100644
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87437,7 +85181,7 @@ index 8cdb73a27fd0..c8bec4191f51 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87526,7 +85270,7 @@ index 8cdb73a27fd0..c8bec4191f51 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87542,19 +85286,17 @@ index 8cdb73a27fd0..c8bec4191f51 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -87580,35 +85322,32 @@ index 8cdb73a27fd0..c8bec4191f51 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("mod_ops_gn")
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
-index a49d50e25645..dcfe7182feaf 100644
+index 2e59566bed66..0ab732b24e2c 100644
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87625,7 +85364,7 @@ index a49d50e25645..dcfe7182feaf 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87714,7 +85453,7 @@ index a49d50e25645..dcfe7182feaf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87730,19 +85469,17 @@ index a49d50e25645..dcfe7182feaf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -87768,35 +85505,32 @@ index a49d50e25645..dcfe7182feaf 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("moving_max_counter_gn")
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
-index da4038c212c5..63a9046032e6 100644
+index b77950bc7127..fba1ed0c6b80 100644
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87813,7 +85547,7 @@ index da4038c212c5..63a9046032e6 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87909,7 +85643,7 @@ index da4038c212c5..63a9046032e6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87929,14 +85663,12 @@ index da4038c212c5..63a9046032e6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -87975,12 +85707,10 @@ index da4038c212c5..63a9046032e6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -87989,28 +85719,27 @@ index da4038c212c5..63a9046032e6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("net_helpers_gn")
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
-index 906e6d8d17f1..18ee5d1fdabc 100644
+index 8ab0d1a1c443..00fbb2407fdc 100644
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88027,7 +85756,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88112,7 +85841,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88128,19 +85857,17 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -88166,35 +85893,32 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ecn_marking_gn")
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
-index 77fa18cff5a1..d13d002b6880 100644
+index 81feecacf14b..f965c58c8b39 100644
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88211,7 +85935,7 @@ index 77fa18cff5a1..d13d002b6880 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88296,7 +86020,7 @@ index 77fa18cff5a1..d13d002b6880 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88316,14 +86040,12 @@ index 77fa18cff5a1..d13d002b6880 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88362,12 +86084,10 @@ index 77fa18cff5a1..d13d002b6880 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -88376,28 +86096,27 @@ index 77fa18cff5a1..d13d002b6880 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sent_packet_gn")
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
-index d10db84bffe6..545d8dd6e506 100644
+index b70c0869b9f4..cf164b3f193d 100644
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88414,7 +86133,7 @@ index d10db84bffe6..545d8dd6e506 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88503,7 +86222,7 @@ index d10db84bffe6..545d8dd6e506 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88523,14 +86242,12 @@ index d10db84bffe6..545d8dd6e506 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88569,12 +86286,10 @@ index d10db84bffe6..545d8dd6e506 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -88583,28 +86298,27 @@ index d10db84bffe6..545d8dd6e506 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("network_constants_gn")
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
-index d1712347f0ed..5a166bb0166e 100644
+index d796c3624894..a888f2abaa37 100644
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88621,7 +86335,7 @@ index d1712347f0ed..5a166bb0166e 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88710,7 +86424,7 @@ index d1712347f0ed..5a166bb0166e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88730,14 +86444,12 @@ index d1712347f0ed..5a166bb0166e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88776,12 +86488,10 @@ index d1712347f0ed..5a166bb0166e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -88790,28 +86500,27 @@ index d1712347f0ed..5a166bb0166e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("network_route_gn")
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
-index 4892dc8a0d94..42b2b3ff1848 100644
+index 383af03f4b8a..ee0e9f2d522c 100644
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88828,7 +86537,7 @@ index 4892dc8a0d94..42b2b3ff1848 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88925,7 +86634,7 @@ index 4892dc8a0d94..42b2b3ff1848 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88945,14 +86654,12 @@ index 4892dc8a0d94..42b2b3ff1848 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88991,12 +86698,10 @@ index 4892dc8a0d94..42b2b3ff1848 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -89005,28 +86710,27 @@ index 4892dc8a0d94..42b2b3ff1848 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("null_socket_server_gn")
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
-index 8119c221d60a..068f1b3320b6 100644
+index c1906fd2a387..613d27903932 100644
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89043,7 +86747,7 @@ index 8119c221d60a..068f1b3320b6 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89132,7 +86836,7 @@ index 8119c221d60a..068f1b3320b6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89148,19 +86852,17 @@ index 8119c221d60a..068f1b3320b6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -89186,35 +86888,32 @@ index 8119c221d60a..068f1b3320b6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("one_time_event_gn")
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
-index 849279da99ee..aac4b6fd9e71 100644
+index 654b0f0b8824..cfd0a2978cdc 100644
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89231,7 +86930,7 @@ index 849279da99ee..aac4b6fd9e71 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89327,7 +87026,7 @@ index 849279da99ee..aac4b6fd9e71 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89347,14 +87046,12 @@ index 849279da99ee..aac4b6fd9e71 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -89393,12 +87090,10 @@ index 849279da99ee..aac4b6fd9e71 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -89407,28 +87102,27 @@ index 849279da99ee..aac4b6fd9e71 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("platform_thread_gn")
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
-index d1e17013974b..ee88bed9d853 100644
+index 327f3e200bb8..9242464f3a21 100644
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89445,7 +87139,7 @@ index d1e17013974b..ee88bed9d853 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89534,7 +87228,7 @@ index d1e17013974b..ee88bed9d853 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89554,14 +87248,12 @@ index d1e17013974b..ee88bed9d853 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -89600,12 +87292,10 @@ index d1e17013974b..ee88bed9d853 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -89614,28 +87304,27 @@ index d1e17013974b..ee88bed9d853 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("platform_thread_types_gn")
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
-index 1647aaa6b043..4fe577234a1d 100644
+index 0874b5aa6087..61bacf572dab 100644
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89652,7 +87341,7 @@ index 1647aaa6b043..4fe577234a1d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89737,7 +87426,7 @@ index 1647aaa6b043..4fe577234a1d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89753,19 +87442,17 @@ index 1647aaa6b043..4fe577234a1d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -89791,35 +87478,32 @@ index 1647aaa6b043..4fe577234a1d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("protobuf_utils_gn")
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
-index c9fa1320de9d..7f449fc09841 100644
+index 4fa501393c5a..2977e41f6f93 100644
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89836,7 +87520,7 @@ index c9fa1320de9d..7f449fc09841 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89925,7 +87609,7 @@ index c9fa1320de9d..7f449fc09841 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89945,14 +87629,12 @@ index c9fa1320de9d..7f449fc09841 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -89991,12 +87673,10 @@ index c9fa1320de9d..7f449fc09841 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90005,28 +87685,27 @@ index c9fa1320de9d..7f449fc09841 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("race_checker_gn")
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
-index 9ff8f952df81..b059729cb685 100644
+index 42e9f4292969..ef9dd3cd001a 100644
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90043,7 +87722,7 @@ index 9ff8f952df81..b059729cb685 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90132,7 +87811,7 @@ index 9ff8f952df81..b059729cb685 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90152,14 +87831,12 @@ index 9ff8f952df81..b059729cb685 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90198,12 +87875,10 @@ index 9ff8f952df81..b059729cb685 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90212,28 +87887,27 @@ index 9ff8f952df81..b059729cb685 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("random_gn")
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
-index 6458f194937c..4962afa749c1 100644
+index 608a490989a2..5b3d0be997df 100644
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90250,7 +87924,7 @@ index 6458f194937c..4962afa749c1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90350,7 +88024,7 @@ index 6458f194937c..4962afa749c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90370,14 +88044,12 @@ index 6458f194937c..4962afa749c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90416,12 +88088,10 @@ index 6458f194937c..4962afa749c1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90430,28 +88100,27 @@ index 6458f194937c..4962afa749c1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_limiter_gn")
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
-index 26d116b0e48c..8c670a919e35 100644
+index 54839db68ac0..792d09980705 100644
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90468,7 +88137,7 @@ index 26d116b0e48c..8c670a919e35 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90564,7 +88233,7 @@ index 26d116b0e48c..8c670a919e35 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90584,14 +88253,12 @@ index 26d116b0e48c..8c670a919e35 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90630,12 +88297,10 @@ index 26d116b0e48c..8c670a919e35 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90644,28 +88309,27 @@ index 26d116b0e48c..8c670a919e35 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_statistics_gn")
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
-index d146c136ccfc..1e89fe6caec3 100644
+index e10833b0a989..b1a63691df31 100644
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90682,7 +88346,7 @@ index d146c136ccfc..1e89fe6caec3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90778,7 +88442,7 @@ index d146c136ccfc..1e89fe6caec3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90798,14 +88462,12 @@ index d146c136ccfc..1e89fe6caec3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90844,12 +88506,10 @@ index d146c136ccfc..1e89fe6caec3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90858,28 +88518,27 @@ index d146c136ccfc..1e89fe6caec3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_tracker_gn")
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
-index b3a330088e12..ee683704fec2 100644
+index 30cfbb15baee..0df4a80a7319 100644
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90896,7 +88555,7 @@ index b3a330088e12..ee683704fec2 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90981,7 +88640,7 @@ index b3a330088e12..ee683704fec2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90997,19 +88656,17 @@ index b3a330088e12..ee683704fec2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -91035,35 +88692,32 @@ index b3a330088e12..ee683704fec2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("refcount_gn")
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
-index b587c37b604b..c362ce5eaa3b 100644
+index e3c38a7a8821..3602d93b1ca4 100644
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91080,7 +88734,7 @@ index b587c37b604b..c362ce5eaa3b 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91169,7 +88823,7 @@ index b587c37b604b..c362ce5eaa3b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91185,19 +88839,17 @@ index b587c37b604b..c362ce5eaa3b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -91223,35 +88875,32 @@ index b587c37b604b..c362ce5eaa3b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rolling_accumulator_gn")
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
-index c79d22da2bb9..ce078cd78399 100644
+index 77e3de024fa1..cf21e61558bb 100644
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91268,7 +88917,7 @@ index c79d22da2bb9..ce078cd78399 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91364,7 +89013,7 @@ index c79d22da2bb9..ce078cd78399 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91384,14 +89033,12 @@ index c79d22da2bb9..ce078cd78399 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -91430,12 +89077,10 @@ index c79d22da2bb9..ce078cd78399 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -91444,28 +89089,27 @@ index c79d22da2bb9..ce078cd78399 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_gn")
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
-index 8b800dd4f0ac..71e90bea9fe1 100644
+index 0687c3138dae..8d218bfe7cff 100644
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91482,7 +89126,7 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91571,7 +89215,7 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -137,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91591,14 +89235,12 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -91637,12 +89279,10 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -91651,28 +89291,27 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_numerics_gn")
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
-index c71137580318..cd11316dae92 100644
+index c93abdb78469..bf32218de21a 100644
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91689,7 +89328,7 @@ index c71137580318..cd11316dae92 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91774,7 +89413,7 @@ index c71137580318..cd11316dae92 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91790,19 +89429,17 @@ index c71137580318..cd11316dae92 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -91828,35 +89465,32 @@ index c71137580318..cd11316dae92 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("safe_compare_gn")
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
-index d8cc6abaaa62..5803fa4c65a4 100644
+index d7da28fb1f85..22a7237ba07d 100644
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91873,7 +89507,7 @@ index d8cc6abaaa62..5803fa4c65a4 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91962,7 +89596,7 @@ index d8cc6abaaa62..5803fa4c65a4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91978,19 +89612,17 @@ index d8cc6abaaa62..5803fa4c65a4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -92016,35 +89648,32 @@ index d8cc6abaaa62..5803fa4c65a4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("safe_conversions_gn")
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
-index f6763736acda..fddce9408b17 100644
+index 961f0bd72b1e..c576316e0fe9 100644
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92061,7 +89690,7 @@ index f6763736acda..fddce9408b17 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92150,7 +89779,7 @@ index f6763736acda..fddce9408b17 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92166,19 +89795,17 @@ index f6763736acda..fddce9408b17 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -92204,35 +89831,32 @@ index f6763736acda..fddce9408b17 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("safe_minmax_gn")
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
-index ed5f3a9be8a2..6505e7e52bac 100644
+index f6caca40a372..df2f524baf2b 100644
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92249,7 +89873,7 @@ index ed5f3a9be8a2..6505e7e52bac 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92338,7 +89962,7 @@ index ed5f3a9be8a2..6505e7e52bac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92358,14 +89982,12 @@ index ed5f3a9be8a2..6505e7e52bac 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -92404,12 +90026,10 @@ index ed5f3a9be8a2..6505e7e52bac 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -92418,28 +90038,27 @@ index ed5f3a9be8a2..6505e7e52bac 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sample_counter_gn")
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
-index f7903c8db54c..0bebe9378c50 100644
+index cbc6c4ce08a5..8a6f2ff9cdfe 100644
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92456,7 +90075,7 @@ index f7903c8db54c..0bebe9378c50 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92541,7 +90160,7 @@ index f7903c8db54c..0bebe9378c50 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92557,19 +90176,17 @@ index f7903c8db54c..0bebe9378c50 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -92595,35 +90212,32 @@ index f7903c8db54c..0bebe9378c50 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sanitizer_gn")
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
-index cfadf85ec95b..cb58cf9db2f1 100644
+index da0d411790df..3b7abf48ec23 100644
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92640,7 +90254,7 @@ index cfadf85ec95b..cb58cf9db2f1 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92737,7 +90351,7 @@ index cfadf85ec95b..cb58cf9db2f1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92757,14 +90371,12 @@ index cfadf85ec95b..cb58cf9db2f1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -92803,12 +90415,10 @@ index cfadf85ec95b..cb58cf9db2f1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -92817,28 +90427,27 @@ index cfadf85ec95b..cb58cf9db2f1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("socket_address_gn")
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
-index 0161ebe4c277..652747e02185 100644
+index dc7939c48277..b236be3572d2 100644
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92855,7 +90464,7 @@ index 0161ebe4c277..652747e02185 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92952,7 +90561,7 @@ index 0161ebe4c277..652747e02185 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92968,19 +90577,17 @@ index 0161ebe4c277..652747e02185 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -93006,35 +90613,32 @@ index 0161ebe4c277..652747e02185 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("socket_factory_gn")
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
-index d427dcab649e..fee4041d1a3a 100644
+index 06b5a4bcb3ff..fcbb385f314f 100644
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93051,7 +90655,7 @@ index d427dcab649e..fee4041d1a3a 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93148,7 +90752,7 @@ index d427dcab649e..fee4041d1a3a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93168,14 +90772,12 @@ index d427dcab649e..fee4041d1a3a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -93214,12 +90816,10 @@ index d427dcab649e..fee4041d1a3a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -93228,28 +90828,27 @@ index d427dcab649e..fee4041d1a3a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("socket_gn")
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
-index 39b8b6eb86a6..95b310c97892 100644
+index 03f2f995636c..292d7dcb64ff 100644
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93266,7 +90865,7 @@ index 39b8b6eb86a6..95b310c97892 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93363,7 +90962,7 @@ index 39b8b6eb86a6..95b310c97892 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93379,19 +90978,17 @@ index 39b8b6eb86a6..95b310c97892 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -93417,35 +91014,32 @@ index 39b8b6eb86a6..95b310c97892 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("socket_server_gn")
diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
-index 44fd11fdd3bd..2a80ae26ad1a 100644
+index 2b58594242fa..cd78bce2c8a5 100644
--- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93462,7 +91056,7 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93547,7 +91141,7 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93563,19 +91157,17 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -93601,219 +91193,32 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ssl_adapter_gn")
-diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build
-index aad7b048f74e..1d0d9089f7b0 100644
---- third_party/libwebrtc/rtc_base/ssl_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
- DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
- DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
- DEFINES["RTC_ENABLE_VP9"] = True
-+DEFINES["USE_GLIB"] = "1"
-+DEFINES["USE_OZONE"] = "1"
-+DEFINES["WEBRTC_BSD"] = True
- DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
- DEFINES["WEBRTC_LIBRARY_IMPL"] = True
- DEFINES["WEBRTC_MOZILLA_BUILD"] = True
- DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
-+DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-+DEFINES["_FILE_OFFSET_BITS"] = "64"
-+DEFINES["_LARGEFILE64_SOURCE"] = True
-+DEFINES["_LARGEFILE_SOURCE"] = True
- DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-+DEFINES["__STDC_CONSTANT_MACROS"] = True
-+DEFINES["__STDC_FORMAT_MACROS"] = True
-
- FINAL_LIBRARY = "xul"
-
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
- if CONFIG["MOZ_DEBUG"] == "1":
-
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
--
--if CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["ANDROID"] = True
-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
-- DEFINES["HAVE_SYS_UIO_H"] = True
-- DEFINES["WEBRTC_ANDROID"] = True
-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_GNU_SOURCE"] = True
-- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["WEBRTC_MAC"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["USE_UDEV"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_GLIBCXX_ASSERTIONS"] = "1"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["WEBRTC_BSD"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-- DEFINES["NOMINMAX"] = True
-- DEFINES["NTDDI_VERSION"] = "0x0A000000"
-- DEFINES["PSAPI_VERSION"] = "2"
-- DEFINES["RTC_ENABLE_WIN_WGC"] = True
-- DEFINES["UNICODE"] = True
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["WEBRTC_WIN"] = True
-- DEFINES["WIN32"] = True
-- DEFINES["WIN32_LEAN_AND_MEAN"] = True
-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
-- DEFINES["WINVER"] = "0x0A00"
-- DEFINES["_ATL_NO_OPENGL"] = True
-- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
-- DEFINES["_CRT_RAND_S"] = True
-- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
-- DEFINES["_HAS_EXCEPTIONS"] = "0"
-- DEFINES["_HAS_NODISCARD"] = True
-- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_SECURE_ATL"] = True
-- DEFINES["_UNICODE"] = True
-- DEFINES["_WIN32_WINNT"] = "0x0A00"
-- DEFINES["_WINDOWS"] = True
-- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
-- DEFINES["__STD_C"] = True
-+ DEFINES["_DEBUG"] = True
-
- if CONFIG["TARGET_CPU"] == "aarch64":
-
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
- DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["__ARM_NEON__"] = "1"
-
--if CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["WEBRTC_ARCH_ARM"] = True
-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-- DEFINES["WEBRTC_HAS_NEON"] = True
--
--if CONFIG["TARGET_CPU"] == "loongarch64":
--
-- DEFINES["_GNU_SOURCE"] = True
--
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["TARGET_CPU"] == "mips64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["TARGET_CPU"] == "x86":
-
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
-
- DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
- Library("ssl_gn")
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-index c88b2439507f..8d6c9871ff19 100644
+index ae515ab20433..d01938625840 100644
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93830,7 +91235,7 @@ index c88b2439507f..8d6c9871ff19 100644
FINAL_LIBRARY = "xul"
-@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,87 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93919,7 +91324,7 @@ index c88b2439507f..8d6c9871ff19 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93939,14 +91344,12 @@ index c88b2439507f..8d6c9871ff19 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -93985,12 +91388,10 @@ index c88b2439507f..8d6c9871ff19 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -93999,28 +91400,27 @@ index c88b2439507f..8d6c9871ff19 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stringutils_gn")
diff --git third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
-index fbec1dfee3b4..4837fc994626 100644
+index ec3c56c17bfa..f64d83cc69ff 100644
--- third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
+++ third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94037,7 +91437,7 @@ index fbec1dfee3b4..4837fc994626 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94122,7 +91522,7 @@ index fbec1dfee3b4..4837fc994626 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94138,19 +91538,17 @@ index fbec1dfee3b4..4837fc994626 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94176,35 +91574,32 @@ index fbec1dfee3b4..4837fc994626 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("strong_alias_gn")
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
-index a85e8fd3cd0d..54cdd3a87bb6 100644
+index ba1dd17ad663..d4b79355709b 100644
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94221,7 +91616,7 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94310,7 +91705,7 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94326,19 +91721,17 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94364,35 +91757,32 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("swap_queue_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
-index d37689f4f122..7a4403e8a55c 100644
+index a88a968ac205..1fb7f52e323f 100644
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94409,7 +91799,7 @@ index d37689f4f122..7a4403e8a55c 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94498,7 +91888,7 @@ index d37689f4f122..7a4403e8a55c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94514,19 +91904,17 @@ index d37689f4f122..7a4403e8a55c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94552,35 +91940,32 @@ index d37689f4f122..7a4403e8a55c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("mutex_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
-index ff8f90793c1a..6b0a8bd9f8b4 100644
+index 167271deeb95..25fe0919eb51 100644
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94597,7 +91982,7 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94686,7 +92071,7 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94706,14 +92091,12 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -94752,12 +92135,10 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -94766,28 +92147,27 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sequence_checker_internal_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
-index aa38d8281a42..87d2544ad6ab 100644
+index 567da5f0b74b..799b8997d401 100644
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94804,7 +92184,7 @@ index aa38d8281a42..87d2544ad6ab 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94889,7 +92269,7 @@ index aa38d8281a42..87d2544ad6ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94909,14 +92289,12 @@ index aa38d8281a42..87d2544ad6ab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -94955,12 +92333,10 @@ index aa38d8281a42..87d2544ad6ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -94969,28 +92345,27 @@ index aa38d8281a42..87d2544ad6ab 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("yield_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
-index 3e944be847d3..a3f2dcd8cd24 100644
+index acf6a98373b7..04ae98653c29 100644
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95007,7 +92382,7 @@ index 3e944be847d3..a3f2dcd8cd24 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95096,7 +92471,7 @@ index 3e944be847d3..a3f2dcd8cd24 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95116,14 +92491,12 @@ index 3e944be847d3..a3f2dcd8cd24 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -95162,12 +92535,10 @@ index 3e944be847d3..a3f2dcd8cd24 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -95176,28 +92547,27 @@ index 3e944be847d3..a3f2dcd8cd24 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("yield_policy_gn")
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
-index 2561a159f2c1..c09f87b18f1c 100644
+index 1cb62e0945fa..088ea5019886 100644
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95214,7 +92584,7 @@ index 2561a159f2c1..c09f87b18f1c 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95299,7 +92669,7 @@ index 2561a159f2c1..c09f87b18f1c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95315,19 +92685,17 @@ index 2561a159f2c1..c09f87b18f1c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -95353,31 +92721,27 @@ index 2561a159f2c1..c09f87b18f1c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("arch_gn")
diff --git third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
deleted file mode 100644
-index 78132c11deb4..000000000000
+index 126fc5a4138d..000000000000
--- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
+++ /dev/null
-@@ -1,75 +0,0 @@
+@@ -1,76 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -95393,6 +92757,7 @@ index 78132c11deb4..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ARCH_ARM"] = True
-DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -95412,6 +92777,7 @@ index 78132c11deb4..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -95442,7 +92808,6 @@ index 78132c11deb4..000000000000
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -95455,10 +92820,10 @@ index 78132c11deb4..000000000000
-Library("asm_defines_gn")
diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
deleted file mode 100644
-index ba2c50f92c2a..000000000000
+index 6ee1d92a09ab..000000000000
--- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
+++ /dev/null
-@@ -1,68 +0,0 @@
+@@ -1,70 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -95478,6 +92843,7 @@ index ba2c50f92c2a..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -95493,6 +92859,7 @@ index ba2c50f92c2a..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -95528,15 +92895,16 @@ index ba2c50f92c2a..000000000000
-
-Library("cocoa_threading_gn")
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
-index eba81875e62b..78db823c9245 100644
+index 2e3930335f16..e81233b291f3 100644
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95553,7 +92921,7 @@ index eba81875e62b..78db823c9245 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95642,7 +93010,7 @@ index eba81875e62b..78db823c9245 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95662,14 +93030,12 @@ index eba81875e62b..78db823c9245 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -95708,12 +93074,10 @@ index eba81875e62b..78db823c9245 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -95722,24 +93086,22 @@ index eba81875e62b..78db823c9245 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("file_wrapper_gn")
diff --git third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
deleted file mode 100644
-index 90bb733abfca..000000000000
+index 0b5b9cc3e28c..000000000000
--- third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
+++ /dev/null
-@@ -1,68 +0,0 @@
+@@ -1,70 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -95759,6 +93121,7 @@ index 90bb733abfca..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -95774,6 +93137,7 @@ index 90bb733abfca..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -95809,15 +93173,16 @@ index 90bb733abfca..000000000000
-
-Library("gcd_helpers_gn")
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
-index b04ad87eda04..d2d6215c2366 100644
+index cdb4a308314f..d8e5d7bb1406 100644
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95834,7 +93199,7 @@ index b04ad87eda04..d2d6215c2366 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95919,7 +93284,7 @@ index b04ad87eda04..d2d6215c2366 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95935,19 +93300,17 @@ index b04ad87eda04..d2d6215c2366 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -95973,35 +93336,32 @@ index b04ad87eda04..d2d6215c2366 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ignore_warnings_gn")
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
-index 859e531ae239..c5c6f101f8a1 100644
+index fadc0174478c..aff95da60bae 100644
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96018,7 +93378,7 @@ index 859e531ae239..c5c6f101f8a1 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96103,7 +93463,7 @@ index 859e531ae239..c5c6f101f8a1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96119,19 +93479,17 @@ index 859e531ae239..c5c6f101f8a1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96157,35 +93515,32 @@ index 859e531ae239..c5c6f101f8a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("inline_gn")
diff --git third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
-index c293849ca78f..0a7f61413e83 100644
+index 34a3fd2104aa..e4c2efe044e1 100644
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96202,7 +93557,7 @@ index c293849ca78f..0a7f61413e83 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96287,7 +93642,7 @@ index c293849ca78f..0a7f61413e83 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96303,19 +93658,17 @@ index c293849ca78f..0a7f61413e83 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96341,35 +93694,32 @@ index c293849ca78f..0a7f61413e83 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("no_unique_address_gn")
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
-index fa852e738efb..c57bf5f1dba8 100644
+index 52f34ff2cfbf..d7a1041a40b2 100644
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96386,7 +93736,7 @@ index fa852e738efb..c57bf5f1dba8 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96471,7 +93821,7 @@ index fa852e738efb..c57bf5f1dba8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96487,19 +93837,17 @@ index fa852e738efb..c57bf5f1dba8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96525,35 +93873,32 @@ index fa852e738efb..c57bf5f1dba8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_export_gn")
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
-index 0c7379a967ab..968474be87f2 100644
+index 9e46eebe6af2..a889d722dbf6 100644
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96570,7 +93915,7 @@ index 0c7379a967ab..968474be87f2 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96655,7 +94000,7 @@ index 0c7379a967ab..968474be87f2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96671,19 +94016,17 @@ index 0c7379a967ab..968474be87f2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96709,35 +94052,32 @@ index 0c7379a967ab..968474be87f2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("unused_gn")
diff --git third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
-index d1fe3ee32dae..932202f014fc 100644
+index 7fc9b68c3766..114a58d422aa 100644
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96754,7 +94094,7 @@ index d1fe3ee32dae..932202f014fc 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96839,7 +94179,7 @@ index d1fe3ee32dae..932202f014fc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96855,19 +94195,17 @@ index d1fe3ee32dae..932202f014fc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96893,35 +94231,32 @@ index d1fe3ee32dae..932202f014fc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("warn_current_thread_is_deadlocked_gn")
diff --git third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
-index c24a2921fb66..64b71d2e5992 100644
+index 74f32de32c41..c3c83a3b5dac 100644
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96938,7 +94273,7 @@ index c24a2921fb66..64b71d2e5992 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97038,7 +94373,7 @@ index c24a2921fb66..64b71d2e5992 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97058,14 +94393,12 @@ index c24a2921fb66..64b71d2e5992 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97104,12 +94437,10 @@ index c24a2921fb66..64b71d2e5992 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97118,235 +94449,27 @@ index c24a2921fb66..64b71d2e5992 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("repeating_task_gn")
-diff --git third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-index 826243290c5d..1893f0c9c241 100644
---- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
- DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
- DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
- DEFINES["RTC_ENABLE_VP9"] = True
-+DEFINES["USE_GLIB"] = "1"
-+DEFINES["USE_OZONE"] = "1"
-+DEFINES["WEBRTC_BSD"] = True
- DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
- DEFINES["WEBRTC_LIBRARY_IMPL"] = True
- DEFINES["WEBRTC_MOZILLA_BUILD"] = True
- DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
-+DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-+DEFINES["_FILE_OFFSET_BITS"] = "64"
-+DEFINES["_LARGEFILE64_SOURCE"] = True
-+DEFINES["_LARGEFILE_SOURCE"] = True
- DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-+DEFINES["__STDC_CONSTANT_MACROS"] = True
-+DEFINES["__STDC_FORMAT_MACROS"] = True
-
- FINAL_LIBRARY = "xul"
-
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
- if CONFIG["MOZ_DEBUG"] == "1":
-
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
--
--if CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["ANDROID"] = True
-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
-- DEFINES["HAVE_SYS_UIO_H"] = True
-- DEFINES["WEBRTC_ANDROID"] = True
-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_GNU_SOURCE"] = True
-- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
-- OS_LIBS += [
-- "log"
-- ]
--
--if CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["WEBRTC_MAC"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["USE_UDEV"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_GLIBCXX_ASSERTIONS"] = "1"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["WEBRTC_BSD"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-- DEFINES["NOMINMAX"] = True
-- DEFINES["NTDDI_VERSION"] = "0x0A000000"
-- DEFINES["PSAPI_VERSION"] = "2"
-- DEFINES["RTC_ENABLE_WIN_WGC"] = True
-- DEFINES["UNICODE"] = True
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["WEBRTC_WIN"] = True
-- DEFINES["WIN32"] = True
-- DEFINES["WIN32_LEAN_AND_MEAN"] = True
-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
-- DEFINES["WINVER"] = "0x0A00"
-- DEFINES["_ATL_NO_OPENGL"] = True
-- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
-- DEFINES["_CRT_RAND_S"] = True
-- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
-- DEFINES["_HAS_EXCEPTIONS"] = "0"
-- DEFINES["_HAS_NODISCARD"] = True
-- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_SECURE_ATL"] = True
-- DEFINES["_UNICODE"] = True
-- DEFINES["_WIN32_WINNT"] = "0x0A00"
-- DEFINES["_WINDOWS"] = True
-- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
-- DEFINES["__STD_C"] = True
-+ DEFINES["_DEBUG"] = True
-
- if CONFIG["TARGET_CPU"] == "aarch64":
-
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
- DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["__ARM_NEON__"] = "1"
-
--if CONFIG["TARGET_CPU"] == "arm":
--
-- CXXFLAGS += [
-- "-mfpu=neon"
-- ]
--
-- DEFINES["WEBRTC_ARCH_ARM"] = True
-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-- DEFINES["WEBRTC_HAS_NEON"] = True
--
--if CONFIG["TARGET_CPU"] == "loongarch64":
--
-- DEFINES["_GNU_SOURCE"] = True
--
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["TARGET_CPU"] == "mips64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["WEBRTC_ENABLE_AVX2"] = True
--
--if CONFIG["TARGET_CPU"] == "x86_64":
--
-- DEFINES["WEBRTC_ENABLE_AVX2"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
--
--if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
--
- CXXFLAGS += [
- "-msse2"
- ]
-
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
--
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-+if CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
- Library("base64_gn")
diff --git third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
-index 00786f101e1c..e19b93cfb89b 100644
+index 98cc1865d964..9b13ea8cac90 100644
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -97363,7 +94486,7 @@ index 00786f101e1c..e19b93cfb89b 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97448,7 +94571,7 @@ index 00786f101e1c..e19b93cfb89b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97468,14 +94591,12 @@ index 00786f101e1c..e19b93cfb89b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97514,12 +94635,10 @@ index 00786f101e1c..e19b93cfb89b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97528,28 +94647,27 @@ index 00786f101e1c..e19b93cfb89b 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sigslot_gn")
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
-index e0f9f5af07b7..9f36c5a991a5 100644
+index 8ff81d5ef745..95b3fecb47ac 100644
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -97566,7 +94684,7 @@ index e0f9f5af07b7..9f36c5a991a5 100644
FINAL_LIBRARY = "xul"
-@@ -48,111 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,111 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97679,7 +94797,7 @@ index e0f9f5af07b7..9f36c5a991a5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -160,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97699,14 +94817,12 @@ index e0f9f5af07b7..9f36c5a991a5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97745,12 +94861,10 @@ index e0f9f5af07b7..9f36c5a991a5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97759,28 +94873,27 @@ index e0f9f5af07b7..9f36c5a991a5 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("threading_gn")
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-index a784c5d8bdc5..154d2992d97f 100644
+index 3db91db313c7..795267fa1e69 100644
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_EXCLUDE_SYSTEM_TIME"] = True
@@ -97798,7 +94911,7 @@ index a784c5d8bdc5..154d2992d97f 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97894,7 +95007,7 @@ index a784c5d8bdc5..154d2992d97f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97914,14 +95027,12 @@ index a784c5d8bdc5..154d2992d97f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97960,12 +95071,10 @@ index a784c5d8bdc5..154d2992d97f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97974,28 +95083,27 @@ index a784c5d8bdc5..154d2992d97f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timeutils_gn")
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
-index 2ef1df8f7220..44432f6f3cc9 100644
+index eb3c2f943e59..07203a214025 100644
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98012,7 +95120,7 @@ index 2ef1df8f7220..44432f6f3cc9 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98097,7 +95205,7 @@ index 2ef1df8f7220..44432f6f3cc9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98113,19 +95221,17 @@ index 2ef1df8f7220..44432f6f3cc9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -98151,35 +95257,32 @@ index 2ef1df8f7220..44432f6f3cc9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("type_traits_gn")
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
-index 79543bdce841..1cc2ba7d5aaf 100644
+index bb19302007e0..736d9c19b851 100644
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98196,7 +95299,7 @@ index 79543bdce841..1cc2ba7d5aaf 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98281,7 +95384,7 @@ index 79543bdce841..1cc2ba7d5aaf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98297,19 +95400,17 @@ index 79543bdce841..1cc2ba7d5aaf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -98335,35 +95436,32 @@ index 79543bdce841..1cc2ba7d5aaf 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("unique_id_generator_gn")
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
-index 0a4faedb8660..0bd9848f7aae 100644
+index b55576d4555f..20374a951217 100644
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98380,7 +95478,7 @@ index 0a4faedb8660..0bd9848f7aae 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98469,7 +95567,7 @@ index 0a4faedb8660..0bd9848f7aae 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98485,19 +95583,17 @@ index 0a4faedb8660..0bd9848f7aae 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -98523,35 +95619,32 @@ index 0a4faedb8660..0bd9848f7aae 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("unit_base_gn")
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
-index f3605a1e68c3..6e53cafca5ee 100644
+index 2b3c126e49ab..3d606013c213 100644
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98568,7 +95661,7 @@ index f3605a1e68c3..6e53cafca5ee 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98657,7 +95750,7 @@ index f3605a1e68c3..6e53cafca5ee 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98677,14 +95770,12 @@ index f3605a1e68c3..6e53cafca5ee 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -98723,12 +95814,10 @@ index f3605a1e68c3..6e53cafca5ee 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -98737,24 +95826,22 @@ index f3605a1e68c3..6e53cafca5ee 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("weak_ptr_gn")
diff --git third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
deleted file mode 100644
-index 3545b382c70a..000000000000
+index 4c5be7cc813d..000000000000
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -98777,6 +95864,7 @@ index 3545b382c70a..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -98807,6 +95895,7 @@ index 3545b382c70a..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -98847,10 +95936,10 @@ index 3545b382c70a..000000000000
-Library("create_direct3d_device_gn")
diff --git third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
deleted file mode 100644
-index dacdb75fa74c..000000000000
+index 04efd2321e4b..000000000000
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -98873,6 +95962,7 @@ index dacdb75fa74c..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -98903,6 +95993,7 @@ index dacdb75fa74c..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -98943,10 +96034,10 @@ index dacdb75fa74c..000000000000
-Library("get_activation_factory_gn")
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
deleted file mode 100644
-index ef21e7534671..000000000000
+index cf9ee07fb823..000000000000
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -98969,6 +96060,7 @@ index ef21e7534671..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -98999,6 +96091,7 @@ index ef21e7534671..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99039,10 +96132,10 @@ index ef21e7534671..000000000000
-Library("hstring_gn")
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
deleted file mode 100644
-index 25d37b3b427b..000000000000
+index 39d803a2b7c1..000000000000
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99065,6 +96158,7 @@ index 25d37b3b427b..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -99095,6 +96189,7 @@ index 25d37b3b427b..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99135,10 +96230,10 @@ index 25d37b3b427b..000000000000
-Library("windows_version_gn")
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
deleted file mode 100644
-index c05055e62909..000000000000
+index 47af84b5f84f..000000000000
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
+++ /dev/null
-@@ -1,97 +0,0 @@
+@@ -1,99 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99161,6 +96256,7 @@ index c05055e62909..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -99192,6 +96288,7 @@ index c05055e62909..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99237,15 +96334,16 @@ index c05055e62909..000000000000
-
-Library("win32_gn")
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
-index 587a67e5a35b..1b4dbb63092c 100644
+index cfada7305524..14ac7a7ae3f4 100644
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -99262,7 +96360,7 @@ index 587a67e5a35b..1b4dbb63092c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -99351,7 +96449,7 @@ index 587a67e5a35b..1b4dbb63092c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -99371,14 +96469,12 @@ index 587a67e5a35b..1b4dbb63092c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -99417,12 +96513,10 @@ index 587a67e5a35b..1b4dbb63092c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -99431,24 +96525,22 @@ index 587a67e5a35b..1b4dbb63092c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("zero_memory_gn")
diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build
deleted file mode 100644
-index 1cd5885b8d54..000000000000
+index 5ffb44f0d008..000000000000
--- third_party/libwebrtc/sdk/base_objc_gn/moz.build
+++ /dev/null
-@@ -1,81 +0,0 @@
+@@ -1,83 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99472,6 +96564,7 @@ index 1cd5885b8d54..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99487,6 +96580,7 @@ index 1cd5885b8d54..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99532,10 +96626,10 @@ index 1cd5885b8d54..000000000000
-Library("base_objc_gn")
diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
deleted file mode 100644
-index a844f7b82ce7..000000000000
+index 4c92c02984a8..000000000000
--- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
+++ /dev/null
-@@ -1,76 +0,0 @@
+@@ -1,78 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99559,6 +96653,7 @@ index a844f7b82ce7..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99574,6 +96669,7 @@ index a844f7b82ce7..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99614,10 +96710,10 @@ index a844f7b82ce7..000000000000
-Library("helpers_objc_gn")
diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
deleted file mode 100644
-index dd3d878fe24f..000000000000
+index e0438f8f6e19..000000000000
--- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
+++ /dev/null
-@@ -1,71 +0,0 @@
+@@ -1,73 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99637,6 +96733,7 @@ index dd3d878fe24f..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99652,6 +96749,7 @@ index dd3d878fe24f..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99691,10 +96789,10 @@ index dd3d878fe24f..000000000000
-Library("videocapture_objc_gn")
diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
deleted file mode 100644
-index 1ebf3e72b917..000000000000
+index 74abd1c954a5..000000000000
--- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
+++ /dev/null
-@@ -1,74 +0,0 @@
+@@ -1,76 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99714,6 +96812,7 @@ index 1ebf3e72b917..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99729,6 +96828,7 @@ index 1ebf3e72b917..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99770,15 +96870,16 @@ index 1ebf3e72b917..000000000000
-
-Library("videoframebuffer_objc_gn")
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
-index c0b423389d69..cbca359509c1 100644
+index f830168572e6..2f90855b915f 100644
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -99795,7 +96896,7 @@ index c0b423389d69..cbca359509c1 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -99884,7 +96985,7 @@ index c0b423389d69..cbca359509c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -99904,14 +97005,12 @@ index c0b423389d69..cbca359509c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -99950,12 +97049,10 @@ index c0b423389d69..cbca359509c1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -99964,28 +97061,27 @@ index c0b423389d69..cbca359509c1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("denormal_disabler_gn")
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
-index e0f452cafa1e..7b851e0a32a5 100644
+index 42b21364766f..efc6c5ca191e 100644
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100002,7 +97098,7 @@ index e0f452cafa1e..7b851e0a32a5 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100098,7 +97194,7 @@ index e0f452cafa1e..7b851e0a32a5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100118,14 +97214,12 @@ index e0f452cafa1e..7b851e0a32a5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -100164,12 +97258,10 @@ index e0f452cafa1e..7b851e0a32a5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -100178,28 +97270,27 @@ index e0f452cafa1e..7b851e0a32a5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trial_gn")
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
-index 2312db610256..5b93c9b5906c 100644
+index 36c9baa62823..b243d3d58410 100644
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100216,7 +97307,7 @@ index 2312db610256..5b93c9b5906c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100305,7 +97396,7 @@ index 2312db610256..5b93c9b5906c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100325,14 +97416,12 @@ index 2312db610256..5b93c9b5906c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -100371,12 +97460,10 @@ index 2312db610256..5b93c9b5906c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -100385,28 +97472,27 @@ index 2312db610256..5b93c9b5906c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("metrics_gn")
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
-index 9c1d25e913dc..31ae9d0c3730 100644
+index 9587725536ca..538b68bd36cb 100644
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100423,7 +97509,7 @@ index 9c1d25e913dc..31ae9d0c3730 100644
FINAL_LIBRARY = "xul"
-@@ -49,108 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,108 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100533,7 +97619,7 @@ index 9c1d25e913dc..31ae9d0c3730 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -158,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -160,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100553,14 +97639,12 @@ index 9c1d25e913dc..31ae9d0c3730 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -100599,12 +97683,10 @@ index 9c1d25e913dc..31ae9d0c3730 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -100613,28 +97695,27 @@ index 9c1d25e913dc..31ae9d0c3730 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("system_wrappers_gn")
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
-index 61d910096d28..c360ed11a615 100644
+index 8096fc9c96c2..052c0f84c668 100644
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100651,7 +97732,7 @@ index 61d910096d28..c360ed11a615 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100752,7 +97833,7 @@ index 61d910096d28..c360ed11a615 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100768,19 +97849,17 @@ index 61d910096d28..c360ed11a615 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -100806,27 +97885,23 @@ index 61d910096d28..c360ed11a615 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_test_utils_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
-index 6cb6c4e4d738..ffbf2a8c220e 100644
+index 2d36986a05c5..d4f34c6e8a54 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
@@ -100846,7 +97921,7 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
FINAL_LIBRARY = "xul"
-@@ -42,110 +51,24 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,108 +52,24 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100946,19 +98021,17 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -157,60 +80,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -156,56 +81,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
if CONFIG["TARGET_CPU"] == "x86":
@@ -100996,12 +98069,10 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -101010,20 +98081,18 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
Library("crc32c_arm64_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
-index d710498a3b2a..97bef2d090d3 100644
+index a8e6c035310f..ac8e004a6f78 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
@@ -101043,7 +98112,7 @@ index d710498a3b2a..97bef2d090d3 100644
FINAL_LIBRARY = "xul"
-@@ -43,110 +52,24 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -44,108 +53,24 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101143,19 +98212,17 @@ index d710498a3b2a..97bef2d090d3 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -158,60 +81,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -157,56 +82,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
if CONFIG["TARGET_CPU"] == "x86":
@@ -101193,12 +98260,10 @@ index d710498a3b2a..97bef2d090d3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -101207,20 +98272,18 @@ index d710498a3b2a..97bef2d090d3 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
Library("crc32c_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
-index 3392df8376ac..4f3a92770b9f 100644
+index 3ef8dc583670..5420160d3ab5 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
@@ -9,7 +9,14 @@
@@ -101238,7 +98301,7 @@ index 3392df8376ac..4f3a92770b9f 100644
FINAL_LIBRARY = "xul"
-@@ -31,127 +38,10 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -32,121 +39,10 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101318,12 +98381,10 @@ index 3392df8376ac..4f3a92770b9f 100644
-
-if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
@@ -101348,27 +98409,23 @@ index 3392df8376ac..4f3a92770b9f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("crc32c_internal_headers_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
-index 6ac498db8318..bf8169323753 100644
+index 57e79a7f9e44..b855a3042e28 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
@@ -101388,7 +98445,7 @@ index 6ac498db8318..bf8169323753 100644
FINAL_LIBRARY = "xul"
-@@ -42,110 +51,24 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,108 +52,24 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101488,19 +98545,17 @@ index 6ac498db8318..bf8169323753 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -157,60 +80,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -156,56 +81,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
if CONFIG["TARGET_CPU"] == "x86":
@@ -101538,12 +98593,10 @@ index 6ac498db8318..bf8169323753 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -101552,28 +98605,27 @@ index 6ac498db8318..bf8169323753 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
Library("crc32c_sse42_gn")
diff --git third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
-index 2cac64c62eeb..00562bdd7670 100644
+index 290cb7c6b79a..96e9a04853c1 100644
--- third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
+++ third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -101590,7 +98642,7 @@ index 2cac64c62eeb..00562bdd7670 100644
FINAL_LIBRARY = "xul"
-@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101675,7 +98727,7 @@ index 2cac64c62eeb..00562bdd7670 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -127,27 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -129,25 +62,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101691,19 +98743,17 @@ index 2cac64c62eeb..00562bdd7670 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -157,44 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -157,40 +75,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101729,35 +98779,32 @@ index 2cac64c62eeb..00562bdd7670 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("dav1d_gn")
diff --git third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
-index 41198aee8398..13fa2e513f9e 100644
+index 5621fcc8c3a5..43b59d982945 100644
--- third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
+++ third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -101774,7 +98821,7 @@ index 41198aee8398..13fa2e513f9e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101859,7 +98906,7 @@ index 41198aee8398..13fa2e513f9e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101875,19 +98922,17 @@ index 41198aee8398..13fa2e513f9e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101913,34 +98958,26 @@ index 41198aee8398..13fa2e513f9e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aom_gn")
diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
-index b3e66d0ace2d..68d6b58f56c9 100644
+index efacb30c976b..37831e91930e 100644
--- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
+++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
-@@ -10,24 +10,19 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
- AllowCompilerWarnings()
-
- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
--DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+@@ -13,21 +13,17 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -101948,6 +98985,7 @@ index b3e66d0ace2d..68d6b58f56c9 100644
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_OZONE"] = "1"
-DEFINES["USE_UDEV"] = True
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -101962,7 +99000,7 @@ index b3e66d0ace2d..68d6b58f56c9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-@@ -65,12 +60,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -66,12 +62,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101976,15 +99014,16 @@ index b3e66d0ace2d..68d6b58f56c9 100644
DEFINES["MIPS32_LE"] = True
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
-index 536014f61691..45bf8033ce45 100644
+index bed86c31bdb2..776ccac7a804 100644
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102001,7 +99040,7 @@ index 536014f61691..45bf8033ce45 100644
FINAL_LIBRARY = "xul"
-@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102086,7 +99125,7 @@ index 536014f61691..45bf8033ce45 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -127,27 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -129,25 +62,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102102,19 +99141,17 @@ index 536014f61691..45bf8033ce45 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -157,44 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -157,40 +75,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -102140,27 +99177,23 @@ index 536014f61691..45bf8033ce45 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("yuv_gn")
diff --git third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
-index 14fb0ff89ec7..e555f3c40b9a 100644
+index ad14c77a3fe2..fe9a03bdf63c 100644
--- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
+++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
@@ -9,7 +9,14 @@
@@ -102178,7 +99211,7 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
FINAL_LIBRARY = "xul"
-@@ -35,98 +42,23 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -36,96 +43,23 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102266,19 +99299,17 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["PFFFT_SIMD_DISABLE"] = True
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["PFFFT_SIMD_DISABLE"] = True
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -136,54 +68,10 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -135,50 +69,10 @@ if CONFIG["TARGET_CPU"] == "riscv64":
DEFINES["PFFFT_SIMD_DISABLE"] = True
@@ -102310,12 +99341,10 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102325,17 +99354,15 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("pffft_gn")
diff --git third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
-index 6a84a470be08..9e8381b9766a 100644
+index fc239a9d7eae..541de9c16824 100644
--- third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
+++ third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
@@ -9,7 +9,14 @@
@@ -102353,7 +99380,7 @@ index 6a84a470be08..9e8381b9766a 100644
FINAL_LIBRARY = "xul"
-@@ -35,143 +42,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -36,137 +43,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102439,12 +99466,10 @@ index 6a84a470be08..9e8381b9766a 100644
-
-if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
@@ -102476,12 +99501,10 @@ index 6a84a470be08..9e8381b9766a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102490,25 +99513,24 @@ index 6a84a470be08..9e8381b9766a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_gn")
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
-index 2b14ee7b661b..37572aeea1ca 100644
+index 9e0421f6862f..bd7fb2f5ab67 100644
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102525,7 +99547,7 @@ index 2b14ee7b661b..37572aeea1ca 100644
FINAL_LIBRARY = "xul"
-@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102626,7 +99648,7 @@ index 2b14ee7b661b..37572aeea1ca 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102646,14 +99668,12 @@ index 2b14ee7b661b..37572aeea1ca 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -102692,12 +99712,10 @@ index 2b14ee7b661b..37572aeea1ca 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102706,28 +99724,27 @@ index 2b14ee7b661b..37572aeea1ca 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_adaptation_gn")
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
-index 0f17ba88a0f2..a9657598a267 100644
+index 74e2cdbd67e4..0e966d100fe1 100644
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102744,7 +99761,7 @@ index 0f17ba88a0f2..a9657598a267 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102844,7 +99861,7 @@ index 0f17ba88a0f2..a9657598a267 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102864,14 +99881,12 @@ index 0f17ba88a0f2..a9657598a267 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -102910,12 +99925,10 @@ index 0f17ba88a0f2..a9657598a267 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102924,28 +99937,27 @@ index 0f17ba88a0f2..a9657598a267 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoder_config_gn")
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
-index 6fbfd5fa2450..56061f5c1074 100644
+index 5863ad52a6e8..bc2b39685fd5 100644
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102962,7 +99974,7 @@ index 6fbfd5fa2450..56061f5c1074 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103063,7 +100075,7 @@ index 6fbfd5fa2450..56061f5c1074 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103083,14 +100095,12 @@ index 6fbfd5fa2450..56061f5c1074 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103129,12 +100139,10 @@ index 6fbfd5fa2450..56061f5c1074 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103143,28 +100151,27 @@ index 6fbfd5fa2450..56061f5c1074 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("streams_config_gn")
diff --git third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
-index cb71ea3162f3..6041881ae0da 100644
+index 884638b06a1d..762cbea3858f 100644
--- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103181,7 +100188,7 @@ index cb71ea3162f3..6041881ae0da 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103277,7 +100284,7 @@ index cb71ea3162f3..6041881ae0da 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103297,14 +100304,12 @@ index cb71ea3162f3..6041881ae0da 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103343,12 +100348,10 @@ index cb71ea3162f3..6041881ae0da 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103357,28 +100360,27 @@ index cb71ea3162f3..6041881ae0da 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("corruption_classifier_gn")
diff --git third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
-index 4e4b2fb81439..9c8136f6e18e 100644
+index f160515f9c38..4eea6328a5d3 100644
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103395,7 +100397,7 @@ index 4e4b2fb81439..9c8136f6e18e 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103491,7 +100493,7 @@ index 4e4b2fb81439..9c8136f6e18e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103511,14 +100513,12 @@ index 4e4b2fb81439..9c8136f6e18e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103557,12 +100557,10 @@ index 4e4b2fb81439..9c8136f6e18e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103571,28 +100569,27 @@ index 4e4b2fb81439..9c8136f6e18e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_instrumentation_evaluation_gn")
diff --git third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
-index e4e084353f66..093bfee381e0 100644
+index 0c60dc67b601..4865e3e9cdd2 100644
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103609,7 +100606,7 @@ index e4e084353f66..093bfee381e0 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103710,7 +100707,7 @@ index e4e084353f66..093bfee381e0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103730,14 +100727,12 @@ index e4e084353f66..093bfee381e0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103776,12 +100771,10 @@ index e4e084353f66..093bfee381e0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103790,28 +100783,27 @@ index e4e084353f66..093bfee381e0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_instrumentation_generator_gn")
diff --git third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
-index 3166f335baad..99950751b985 100644
+index 7fadc8ba5b07..87f05c46174f 100644
--- third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103828,7 +100820,7 @@ index 3166f335baad..99950751b985 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103928,7 +100920,7 @@ index 3166f335baad..99950751b985 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103948,14 +100940,12 @@ index 3166f335baad..99950751b985 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103994,12 +100984,10 @@ index 3166f335baad..99950751b985 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104008,28 +100996,27 @@ index 3166f335baad..99950751b985 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("generic_mapping_functions_gn")
diff --git third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
-index ce51997c6aef..56a644377fec 100644
+index 8160c5025775..8af9ba8b4f5b 100644
--- third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104046,7 +101033,7 @@ index ce51997c6aef..56a644377fec 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104142,7 +101129,7 @@ index ce51997c6aef..56a644377fec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104162,14 +101149,12 @@ index ce51997c6aef..56a644377fec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104208,12 +101193,10 @@ index ce51997c6aef..56a644377fec 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104222,28 +101205,27 @@ index ce51997c6aef..56a644377fec 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("halton_frame_sampler_gn")
diff --git third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
-index e1cf49d269d1..b6cc380f5be9 100644
+index 12b9872121b0..5e692452aa8b 100644
--- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104260,7 +101242,7 @@ index e1cf49d269d1..b6cc380f5be9 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104349,7 +101331,7 @@ index e1cf49d269d1..b6cc380f5be9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104369,14 +101351,12 @@ index e1cf49d269d1..b6cc380f5be9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104415,12 +101395,10 @@ index e1cf49d269d1..b6cc380f5be9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104429,28 +101407,27 @@ index e1cf49d269d1..b6cc380f5be9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("halton_sequence_gn")
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
-index 8f5351f63b37..98805baaeda5 100644
+index a10ed68bfc77..b9038bcd8af6 100644
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104467,7 +101444,7 @@ index 8f5351f63b37..98805baaeda5 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104567,7 +101544,7 @@ index 8f5351f63b37..98805baaeda5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104587,14 +101564,12 @@ index 8f5351f63b37..98805baaeda5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104633,12 +101608,10 @@ index 8f5351f63b37..98805baaeda5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104647,28 +101620,27 @@ index 8f5351f63b37..98805baaeda5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("decode_synchronizer_gn")
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
-index cf963493df2e..2006f14005f5 100644
+index 9d4e277b38dd..b7be4412c741 100644
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104685,7 +101657,7 @@ index cf963493df2e..2006f14005f5 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104785,7 +101757,7 @@ index cf963493df2e..2006f14005f5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104805,14 +101777,12 @@ index cf963493df2e..2006f14005f5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104851,12 +101821,10 @@ index cf963493df2e..2006f14005f5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104865,28 +101833,27 @@ index cf963493df2e..2006f14005f5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_cadence_adapter_gn")
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
-index b38d246cfe02..c63ff91c8847 100644
+index 24e0f71b39a0..3c4a565ff44a 100644
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104903,7 +101870,7 @@ index b38d246cfe02..c63ff91c8847 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105003,7 +101970,7 @@ index b38d246cfe02..c63ff91c8847 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105019,19 +101986,17 @@ index b38d246cfe02..c63ff91c8847 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -105057,35 +102022,32 @@ index b38d246cfe02..c63ff91c8847 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_decode_scheduler_gn")
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
-index 7443ba5facca..5de44ce10745 100644
+index 79c2df2abd6f..8f48257e34c8 100644
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105102,7 +102064,7 @@ index 7443ba5facca..5de44ce10745 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105202,7 +102164,7 @@ index 7443ba5facca..5de44ce10745 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105222,14 +102184,12 @@ index 7443ba5facca..5de44ce10745 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105268,12 +102228,10 @@ index 7443ba5facca..5de44ce10745 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105282,28 +102240,27 @@ index 7443ba5facca..5de44ce10745 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_decode_timing_gn")
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
-index 793305e6fc32..bfa58b1ab40f 100644
+index 974b59b917c6..d9f2c28b1fc0 100644
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105320,7 +102277,7 @@ index 793305e6fc32..bfa58b1ab40f 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105421,7 +102378,7 @@ index 793305e6fc32..bfa58b1ab40f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105441,14 +102398,12 @@ index 793305e6fc32..bfa58b1ab40f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105487,12 +102442,10 @@ index 793305e6fc32..bfa58b1ab40f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105501,28 +102454,27 @@ index 793305e6fc32..bfa58b1ab40f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_dumping_decoder_gn")
diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
-index 0b3ba7c331a3..dcbbde8cb2df 100644
+index 08669d63243f..2ee61d4c08a9 100644
--- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
+++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105539,7 +102491,7 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105640,7 +102592,7 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105660,14 +102612,12 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105706,12 +102656,10 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105720,28 +102668,27 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_dumping_encoder_gn")
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
-index d92ea8fd2fb0..2d57a5612fc2 100644
+index c5d5c2d71fd5..5f274171a19a 100644
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105758,7 +102705,7 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105854,7 +102801,7 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105874,14 +102821,12 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105920,12 +102865,10 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105934,28 +102877,27 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("incoming_video_stream_gn")
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
-index 4bacccd3cc83..13a253325be3 100644
+index 1d20930416c7..02b24524999c 100644
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105972,7 +102914,7 @@ index 4bacccd3cc83..13a253325be3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106068,7 +103010,7 @@ index 4bacccd3cc83..13a253325be3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106088,14 +103030,12 @@ index 4bacccd3cc83..13a253325be3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106134,12 +103074,10 @@ index 4bacccd3cc83..13a253325be3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106148,28 +103086,27 @@ index 4bacccd3cc83..13a253325be3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_render_frames_gn")
diff --git third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
-index d8824c8a1117..5f59cce84c6b 100644
+index 901da7d1bb97..f7972f671015 100644
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106186,7 +103123,7 @@ index d8824c8a1117..5f59cce84c6b 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106286,7 +103223,7 @@ index d8824c8a1117..5f59cce84c6b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106306,14 +103243,12 @@ index d8824c8a1117..5f59cce84c6b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106352,12 +103287,10 @@ index d8824c8a1117..5f59cce84c6b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106366,28 +103299,27 @@ index d8824c8a1117..5f59cce84c6b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("task_queue_frame_decode_scheduler_gn")
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
-index 24641e05ff5b..d2c9bd811637 100644
+index 30b3de21de19..cf6461e2fb06 100644
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106404,7 +103336,7 @@ index 24641e05ff5b..d2c9bd811637 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106489,7 +103421,7 @@ index 24641e05ff5b..d2c9bd811637 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106509,14 +103441,12 @@ index 24641e05ff5b..d2c9bd811637 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106555,12 +103485,10 @@ index 24641e05ff5b..d2c9bd811637 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106569,28 +103497,27 @@ index 24641e05ff5b..d2c9bd811637 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("unique_timestamp_counter_gn")
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
-index 05caea4c5563..e5dcbb1e5a89 100644
+index ec2bc7bdf704..43312f3e4850 100644
--- third_party/libwebrtc/video/video_gn/moz.build
+++ third_party/libwebrtc/video/video_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106607,7 +103534,7 @@ index 05caea4c5563..e5dcbb1e5a89 100644
FINAL_LIBRARY = "xul"
-@@ -64,99 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -66,99 +75,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106708,7 +103635,7 @@ index 05caea4c5563..e5dcbb1e5a89 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -164,88 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,82 +83,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106728,14 +103655,12 @@ index 05caea4c5563..e5dcbb1e5a89 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106774,12 +103699,10 @@ index 05caea4c5563..e5dcbb1e5a89 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106788,28 +103711,27 @@ index 05caea4c5563..e5dcbb1e5a89 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_gn")
diff --git third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
-index d775b24907c5..3e4e8ecab82f 100644
+index ca7fe91a98bd..3ede4e3c5441 100644
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106826,7 +103748,7 @@ index d775b24907c5..3e4e8ecab82f 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106926,7 +103848,7 @@ index d775b24907c5..3e4e8ecab82f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106946,14 +103868,12 @@ index d775b24907c5..3e4e8ecab82f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106992,12 +103912,10 @@ index d775b24907c5..3e4e8ecab82f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -107006,28 +103924,27 @@ index d775b24907c5..3e4e8ecab82f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_receive_stream_timeout_tracker_gn")
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
-index 22706e0eb25b..60b008ed1819 100644
+index bc36ab524a06..25af38a13548 100644
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107044,7 +103961,7 @@ index 22706e0eb25b..60b008ed1819 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107145,7 +104062,7 @@ index 22706e0eb25b..60b008ed1819 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107165,14 +104082,12 @@ index 22706e0eb25b..60b008ed1819 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -107211,12 +104126,10 @@ index 22706e0eb25b..60b008ed1819 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -107225,28 +104138,27 @@ index 22706e0eb25b..60b008ed1819 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_stream_buffer_controller_gn")
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
-index c2ea5bda317c..cbd96f75f639 100644
+index 7869e76699a7..069bc56cba0f 100644
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107263,7 +104175,7 @@ index c2ea5bda317c..cbd96f75f639 100644
FINAL_LIBRARY = "xul"
-@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107364,7 +104276,7 @@ index c2ea5bda317c..cbd96f75f639 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107384,14 +104296,12 @@ index c2ea5bda317c..cbd96f75f639 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -107430,12 +104340,10 @@ index c2ea5bda317c..cbd96f75f639 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -107444,28 +104352,27 @@ index c2ea5bda317c..cbd96f75f639 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_stream_encoder_impl_gn")
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
-index 97b34b12598b..95176917b6fd 100644
+index 2d846cdb56bf..e9b9e9ac4128 100644
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107482,7 +104389,7 @@ index 97b34b12598b..95176917b6fd 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107582,7 +104489,7 @@ index 97b34b12598b..95176917b6fd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107598,19 +104505,17 @@ index 97b34b12598b..95176917b6fd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -107636,35 +104541,32 @@ index 97b34b12598b..95176917b6fd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_stream_encoder_interface_gn")
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
-index bce5d3837f72..85eb59fb624b 100644
+index 964093865951..85a1b6287692 100644
--- third_party/libwebrtc/webrtc_gn/moz.build
+++ third_party/libwebrtc/webrtc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107681,7 +104583,7 @@ index bce5d3837f72..85eb59fb624b 100644
FINAL_LIBRARY = "xul"
-@@ -41,122 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,122 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107805,7 +104707,7 @@ index bce5d3837f72..85eb59fb624b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -164,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107821,19 +104723,17 @@ index bce5d3837f72..85eb59fb624b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -194,27 +71,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -194,27 +73,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -107862,28 +104762,24 @@ index bce5d3837f72..85eb59fb624b 100644
OS_LIBS += [
"X11",
-@@ -226,24 +83,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+@@ -226,20 +85,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
"Xrender"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("webrtc_gn")
diff --git a/www/gallery-dl/Makefile b/www/gallery-dl/Makefile
index 42bed80c6c3d..4cb4ea7a684f 100644
--- a/www/gallery-dl/Makefile
+++ b/www/gallery-dl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gallery-dl
DISTVERSIONPREFIX= v
-DISTVERSION= 1.30.6
+DISTVERSION= 1.30.7
CATEGORIES= www
# Implicit approval to commit trivial version updates.
diff --git a/www/gallery-dl/distinfo b/www/gallery-dl/distinfo
index 61dd54000875..1cb7e3c93040 100644
--- a/www/gallery-dl/distinfo
+++ b/www/gallery-dl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757172507
-SHA256 (mikf-gallery-dl-v1.30.6_GH0.tar.gz) = 9d7488392472e7a6d497f351d627d0bf3dc0ca4ccb8eab19532ba2ddefdba52e
-SIZE (mikf-gallery-dl-v1.30.6_GH0.tar.gz) = 955999
+TIMESTAMP = 1757835443
+SHA256 (mikf-gallery-dl-v1.30.7_GH0.tar.gz) = e0b8f95bf785326951f60fd01c3536e5a724885a9cc273c8b7ec93c73b093944
+SIZE (mikf-gallery-dl-v1.30.7_GH0.tar.gz) = 966725
diff --git a/www/gatus/Makefile b/www/gatus/Makefile
new file mode 100644
index 000000000000..f74eaf42dc05
--- /dev/null
+++ b/www/gatus/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= gatus
+DISTVERSIONPREFIX= v
+DISTVERSION= 5.24.0
+CATEGORIES= www
+MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/
+DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.vendor${EXTRACT_SUFX}
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Automated developer-oriented status page
+WWW= https://gatus.io
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+USE_GITHUB= yes
+GH_ACCOUNT= TwiN
+
+USE_RC_SUBR= ${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME} \
+ "@sample etc/${PORTNAME}.yaml.sample"
+
+SUB_LIST= USER=${GATUS_USER}
+
+GATUS_USER= www
+
+post-extract:
+ @${MKDIR} ${WRKSRC}/vendor
+ @cd ${WRKDIR}/${PORTNAME}-vendor && ${COPYTREE_SHARE} . ${WRKSRC}/vendor
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/config.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.yaml.sample
+
+.include <bsd.port.mk>
diff --git a/www/gatus/distinfo b/www/gatus/distinfo
new file mode 100644
index 000000000000..2a501149b0f0
--- /dev/null
+++ b/www/gatus/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1758293804
+SHA256 (gatus-v5.24.0.vendor.tar.gz) = 0d4c5b2106323101cc3a3f0e3d7c130b236f88faea832419ddcb0422cbc3561d
+SIZE (gatus-v5.24.0.vendor.tar.gz) = 52326901
+SHA256 (TwiN-gatus-v5.24.0_GH0.tar.gz) = 2e6eebc227137cb9cd623bc5bd546122b4c880df073e71cee9a8d4f1021867b4
+SIZE (TwiN-gatus-v5.24.0_GH0.tar.gz) = 2870023
diff --git a/www/gatus/files/gatus.in b/www/gatus/files/gatus.in
new file mode 100644
index 000000000000..ea9cb6f136e0
--- /dev/null
+++ b/www/gatus/files/gatus.in
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# PROVIDE: gatus
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Configuration settings for Gatus in /etc/rc.conf
+#
+# gatus_enable (bool): Enable Gatus. (default=NO)
+# gatus_log (str): Log output. (default=/var/log/gatus.log)
+# gatus_log_level (str): Log level. (default=INFO)
+# gatus_delay_start_seconds (int): Sleep on startup. (default=0)
+# gatus_runas (str): User to run Gatus as. (default=%%USER%%)
+# gatus_config (str): Configuration file. (default=%%PREFIX%%/etc/gatus.yaml)
+
+. /etc/rc.subr
+
+name="gatus"
+desc="Automated developer-oriented status page"
+rcvar="${name}_enable"
+
+load_rc_config $name
+
+: ${gatus_enable:="NO"}
+: ${gatus_log:="/var/log/${name}.log"}
+: ${gatus_log_level:="INFO"}
+: ${gatus_delay_start_seconds:="0"}
+: ${gatus_runas:="%%USER%%"}
+: ${gatus_config:="%%PREFIX%%/etc/${name}.yaml"}
+
+gatus_env="GATUS_CONFIG_PATH=${gatus_config} GATUS_LOG_LEVEL=${gatus_log_level} GATUS_DELAY_START_SECONDS=${gatus_delay_start_seconds}"
+pidfile="/var/run/${name}.pid"
+procname="%%LOCALBASE%%/bin/${name}"
+command="/usr/sbin/daemon"
+command_args="-c -u ${gatus_runas} -o ${gatus_log} -p ${pidfile} -t \"${desc}\" ${procname}"
+
+run_rc_command "$1"
diff --git a/www/gatus/pkg-descr b/www/gatus/pkg-descr
new file mode 100644
index 000000000000..e38edea7bdd4
--- /dev/null
+++ b/www/gatus/pkg-descr
@@ -0,0 +1,7 @@
+Gatus is a developer-oriented health dashboard that gives you the
+ability to monitor your services using HTTP, ICMP, TCP, and even
+DNS queries as well as evaluate the result of said queries by using
+a list of conditions on values like the status code, the response
+time, the certificate expiration, the body and many others. The
+icing on top is that each of these health checks can be paired with
+alerting via Slack, Teams, PagerDuty, Discord, Twilio and many more.
diff --git a/www/github-release-monitor/Makefile b/www/github-release-monitor/Makefile
index fd0bd3ea6bd6..6a6886bea34f 100644
--- a/www/github-release-monitor/Makefile
+++ b/www/github-release-monitor/Makefile
@@ -1,6 +1,6 @@
PORTNAME= github-release-monitor
DISTVERSIONPREFIX= v
-DISTVERSION= 1.2.2
+DISTVERSION= 1.3.0
CATEGORIES= www
MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/
diff --git a/www/github-release-monitor/distinfo b/www/github-release-monitor/distinfo
index 567f9202192e..86ad34434d77 100644
--- a/www/github-release-monitor/distinfo
+++ b/www/github-release-monitor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754874690
-SHA256 (github-release-monitor-v1.2.2.tar.gz) = 3521aadf4bb9908780a8fe6763a6c717ac7e20835799fbef8e41fa63d9224ad3
-SIZE (github-release-monitor-v1.2.2.tar.gz) = 7257792
+TIMESTAMP = 1757541986
+SHA256 (github-release-monitor-v1.3.0.tar.gz) = fb70028904e481675206cfec75a094ba72c76b10effa892ae08caaf42a893cf6
+SIZE (github-release-monitor-v1.3.0.tar.gz) = 9368214
diff --git a/www/github-release-monitor/pkg-plist b/www/github-release-monitor/pkg-plist
index 3cbab1bb4d1b..379dc1c637b3 100644
--- a/www/github-release-monitor/pkg-plist
+++ b/www/github-release-monitor/pkg-plist
@@ -34,21 +34,19 @@
%%HOMEDIR%%/.next/server/app/icon.svg/route.js
%%HOMEDIR%%/.next/server/app/icon.svg/route.js.nft.json
%%HOMEDIR%%/.next/server/chunks/161.js
+%%HOMEDIR%%/.next/server/chunks/23.js
+%%HOMEDIR%%/.next/server/chunks/247.js
+%%HOMEDIR%%/.next/server/chunks/267.js
%%HOMEDIR%%/.next/server/chunks/294.js
-%%HOMEDIR%%/.next/server/chunks/316.js
-%%HOMEDIR%%/.next/server/chunks/378.js
-%%HOMEDIR%%/.next/server/chunks/436.js
-%%HOMEDIR%%/.next/server/chunks/447.js
-%%HOMEDIR%%/.next/server/chunks/489.js
-%%HOMEDIR%%/.next/server/chunks/548.js
-%%HOMEDIR%%/.next/server/chunks/601.js
-%%HOMEDIR%%/.next/server/chunks/660.js
-%%HOMEDIR%%/.next/server/chunks/757.js
+%%HOMEDIR%%/.next/server/chunks/357.js
+%%HOMEDIR%%/.next/server/chunks/431.js
+%%HOMEDIR%%/.next/server/chunks/586.js
+%%HOMEDIR%%/.next/server/chunks/611.js
+%%HOMEDIR%%/.next/server/chunks/622.js
%%HOMEDIR%%/.next/server/chunks/789.js
-%%HOMEDIR%%/.next/server/chunks/825.js
%%HOMEDIR%%/.next/server/chunks/834.js
-%%HOMEDIR%%/.next/server/chunks/884.js
-%%HOMEDIR%%/.next/server/chunks/890.js
+%%HOMEDIR%%/.next/server/chunks/871.js
+%%HOMEDIR%%/.next/server/chunks/988.js
%%HOMEDIR%%/.next/server/edge-runtime-webpack.js
%%HOMEDIR%%/.next/server/functions-config-manifest.json
%%HOMEDIR%%/.next/server/middleware-build-manifest.js
@@ -69,43 +67,40 @@
%%HOMEDIR%%/.next/server/server-reference-manifest.json
%%HOMEDIR%%/.next/server/src/middleware.js
%%HOMEDIR%%/.next/server/webpack-runtime.js
-%%HOMEDIR%%/.next/static/-V6waRkOCVRmUUt1W7o_G/_buildManifest.js
-%%HOMEDIR%%/.next/static/-V6waRkOCVRmUUt1W7o_G/_ssgManifest.js
-%%HOMEDIR%%/.next/static/chunks/173-c30cab625ac1276f.js
-%%HOMEDIR%%/.next/static/chunks/174e4490-2c0b371c4ef62193.js
-%%HOMEDIR%%/.next/static/chunks/202-822d068dd9bfde4e.js
-%%HOMEDIR%%/.next/static/chunks/218-558a0de0a66f884c.js
-%%HOMEDIR%%/.next/static/chunks/268.e37f11b364458580.js
-%%HOMEDIR%%/.next/static/chunks/299-95c6785710cf741b.js
-%%HOMEDIR%%/.next/static/chunks/43-7d65e0c15818d272.js
-%%HOMEDIR%%/.next/static/chunks/4bd1b696-119f175436853ddc.js
-%%HOMEDIR%%/.next/static/chunks/501-36335ecdaf0e6c37.js
-%%HOMEDIR%%/.next/static/chunks/523-370b4c1d7ca67db9.js
-%%HOMEDIR%%/.next/static/chunks/684-523caa31216159de.js
-%%HOMEDIR%%/.next/static/chunks/708-9541cf5e7c91e470.js
-%%HOMEDIR%%/.next/static/chunks/723-e6806931bb88ed3d.js
-%%HOMEDIR%%/.next/static/chunks/80.840e6f4895ec3413.js
-%%HOMEDIR%%/.next/static/chunks/923-52c3d0545e91741c.js
-%%HOMEDIR%%/.next/static/chunks/app/[locale]/layout-bef8e137389d4d9b.js
-%%HOMEDIR%%/.next/static/chunks/app/[locale]/login/page-ba186fc7855c7bd9.js
-%%HOMEDIR%%/.next/static/chunks/app/[locale]/page-ca33946887ed84db.js
-%%HOMEDIR%%/.next/static/chunks/app/[locale]/settings/page-f0432682f8d79c70.js
-%%HOMEDIR%%/.next/static/chunks/app/[locale]/test/page-382d922512e75bd5.js
-%%HOMEDIR%%/.next/static/chunks/app/_not-found/page-bf9831a455376370.js
-%%HOMEDIR%%/.next/static/chunks/app/layout-8b3794e01b02c7fb.js
-%%HOMEDIR%%/.next/static/chunks/framework-f593a28cde54158e.js
-%%HOMEDIR%%/.next/static/chunks/main-75cc3c1a33e48719.js
-%%HOMEDIR%%/.next/static/chunks/main-app-cb1a327e373b6bfa.js
-%%HOMEDIR%%/.next/static/chunks/pages/_app-da15c11dea942c36.js
-%%HOMEDIR%%/.next/static/chunks/pages/_error-cc3f077a18ea1793.js
+%%HOMEDIR%%/.next/static/chunks/167-bbd42d6b48e2531d.js
+%%HOMEDIR%%/.next/static/chunks/174e4490-679d6f38f377e22d.js
+%%HOMEDIR%%/.next/static/chunks/255-e3bf15caf1f1e0f9.js
+%%HOMEDIR%%/.next/static/chunks/423-6162945636e131d2.js
+%%HOMEDIR%%/.next/static/chunks/4bd1b696-c023c6e3521b1417.js
+%%HOMEDIR%%/.next/static/chunks/556-190541820b5a33c8.js
+%%HOMEDIR%%/.next/static/chunks/648-ab5054b89bf24b87.js
+%%HOMEDIR%%/.next/static/chunks/712-f634adbebe86f0c4.js
+%%HOMEDIR%%/.next/static/chunks/726-eff2a3323abda7c7.js
+%%HOMEDIR%%/.next/static/chunks/834-627940ca20b61445.js
+%%HOMEDIR%%/.next/static/chunks/923-8e62cdd8a9417a51.js
+%%HOMEDIR%%/.next/static/chunks/924-4ce62f532eb4d890.js
+%%HOMEDIR%%/.next/static/chunks/app/[locale]/layout-4beea3df17c30559.js
+%%HOMEDIR%%/.next/static/chunks/app/[locale]/login/page-7c204a8c944ef2ba.js
+%%HOMEDIR%%/.next/static/chunks/app/[locale]/page-bdea9726a8099a21.js
+%%HOMEDIR%%/.next/static/chunks/app/[locale]/settings/page-645c994db428a26c.js
+%%HOMEDIR%%/.next/static/chunks/app/[locale]/test/page-35e9e9c32f17c4ac.js
+%%HOMEDIR%%/.next/static/chunks/app/_not-found/page-e617fbd961f2114e.js
+%%HOMEDIR%%/.next/static/chunks/app/layout-e387bf83a41924f7.js
+%%HOMEDIR%%/.next/static/chunks/framework-b1e5f14688f9ffe6.js
+%%HOMEDIR%%/.next/static/chunks/main-430dd1b33a1e6b2f.js
+%%HOMEDIR%%/.next/static/chunks/main-app-bd229761e99c6ed9.js
+%%HOMEDIR%%/.next/static/chunks/pages/_app-7d307437aca18ad4.js
+%%HOMEDIR%%/.next/static/chunks/pages/_error-cb2a52f75f2162e2.js
%%HOMEDIR%%/.next/static/chunks/polyfills-42372ed130431b0a.js
-%%HOMEDIR%%/.next/static/chunks/webpack-14e235cae17768eb.js
-%%HOMEDIR%%/.next/static/css/c31e9f35b3995c93.css
-%%HOMEDIR%%/.next/static/media/26a46d62cd723877-s.woff2
-%%HOMEDIR%%/.next/static/media/55c55f0601d81cf3-s.woff2
-%%HOMEDIR%%/.next/static/media/581909926a08bbc8-s.woff2
+%%HOMEDIR%%/.next/static/chunks/webpack-19abb8924b548c8b.js
+%%HOMEDIR%%/.next/static/css/143d8f2ed414f873.css
+%%HOMEDIR%%/.next/static/m-ONfqpFkwSqzXoUXFrDy/_buildManifest.js
+%%HOMEDIR%%/.next/static/m-ONfqpFkwSqzXoUXFrDy/_ssgManifest.js
+%%HOMEDIR%%/.next/static/media/19cfc7226ec3afaa-s.woff2
+%%HOMEDIR%%/.next/static/media/21350d82a1f187e9-s.woff2
%%HOMEDIR%%/.next/static/media/8e9860b6e62d6359-s.woff2
-%%HOMEDIR%%/.next/static/media/97e0cb1ae144a2a9-s.woff2
+%%HOMEDIR%%/.next/static/media/ba9851c3c22cd980-s.woff2
+%%HOMEDIR%%/.next/static/media/c5fe6dc8356a8c31-s.woff2
%%HOMEDIR%%/.next/static/media/df0a9ae256c0569c-s.woff2
%%HOMEDIR%%/.next/static/media/e4af272ccee01ff0-s.p.woff2
%%HOMEDIR%%/node_modules/@next/env/dist/index.js
@@ -114,18 +109,11 @@
%%HOMEDIR%%/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json
%%HOMEDIR%%/node_modules/@swc/helpers/_/_interop_require_default/package.json
%%HOMEDIR%%/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json
-%%HOMEDIR%%/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json
%%HOMEDIR%%/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs
%%HOMEDIR%%/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs
%%HOMEDIR%%/node_modules/@swc/helpers/cjs/_interop_require_default.cjs
%%HOMEDIR%%/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs
-%%HOMEDIR%%/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs
%%HOMEDIR%%/node_modules/@swc/helpers/package.json
-%%HOMEDIR%%/node_modules/busboy/lib/index.js
-%%HOMEDIR%%/node_modules/busboy/lib/types/multipart.js
-%%HOMEDIR%%/node_modules/busboy/lib/types/urlencoded.js
-%%HOMEDIR%%/node_modules/busboy/lib/utils.js
-%%HOMEDIR%%/node_modules/busboy/package.json
%%HOMEDIR%%/node_modules/caniuse-lite/data/agents.js
%%HOMEDIR%%/node_modules/caniuse-lite/data/browserVersions.js
%%HOMEDIR%%/node_modules/caniuse-lite/data/browsers.js
@@ -253,6 +241,7 @@
%%HOMEDIR%%/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js
%%HOMEDIR%%/node_modules/caniuse-lite/data/features/css-has.js
%%HOMEDIR%%/node_modules/caniuse-lite/data/features/css-hyphens.js
+%%HOMEDIR%%/node_modules/caniuse-lite/data/features/css-if.js
%%HOMEDIR%%/node_modules/caniuse-lite/data/features/css-image-orientation.js
%%HOMEDIR%%/node_modules/caniuse-lite/data/features/css-image-set.js
%%HOMEDIR%%/node_modules/caniuse-lite/data/features/css-in-out-of-range.js
@@ -755,6 +744,7 @@
%%HOMEDIR%%/node_modules/next/dist/build/babel/plugins/next-ssg-transform.js
%%HOMEDIR%%/node_modules/next/dist/build/build-context.js
%%HOMEDIR%%/node_modules/next/dist/build/create-compiler-aliases.js
+%%HOMEDIR%%/node_modules/next/dist/build/define-env.js
%%HOMEDIR%%/node_modules/next/dist/build/deployment-id.js
%%HOMEDIR%%/node_modules/next/dist/build/entries.js
%%HOMEDIR%%/node_modules/next/dist/build/get-babel-config-file.js
@@ -792,6 +782,7 @@
%%HOMEDIR%%/node_modules/next/dist/build/utils.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack-config-rules/resolve.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack-config.js
+%%HOMEDIR%%/node_modules/next/dist/build/webpack/cache-invalidation.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/config/blocks/base.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/config/blocks/css/index.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/config/blocks/css/loaders/client.js
@@ -844,7 +835,6 @@
%%HOMEDIR%%/node_modules/next/dist/build/webpack/plugins/copy-file-plugin.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/plugins/css-chunking-plugin.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/plugins/css-minimizer-plugin.js
-%%HOMEDIR%%/node_modules/next/dist/build/webpack/plugins/define-env-plugin.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/plugins/devtools-ignore-list-plugin.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/plugins/eval-source-map-dev-tool-plugin.js
%%HOMEDIR%%/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js
@@ -896,21 +886,19 @@
%%HOMEDIR%%/node_modules/next/dist/client/components/app-router-instance.js
%%HOMEDIR%%/node_modules/next/dist/client/components/app-router.js
%%HOMEDIR%%/node_modules/next/dist/client/components/bailout-to-client-rendering.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/builtin/default.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/builtin/global-error.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/builtin/global-not-found.js
%%HOMEDIR%%/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js
%%HOMEDIR%%/node_modules/next/dist/client/components/error-boundary.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/errors/attach-hydration-error-state.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/errors/console-error.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/errors/enqueue-client-error.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/errors/hydration-error-info.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/errors/runtime-error-handler.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/errors/stitched-error.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/errors/use-error-handler.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/errors/root-error-boundary.js
%%HOMEDIR%%/node_modules/next/dist/client/components/forbidden.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/handle-isr-error.js
%%HOMEDIR%%/node_modules/next/dist/client/components/hooks-server-context.js
%%HOMEDIR%%/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js
%%HOMEDIR%%/node_modules/next/dist/client/components/http-access-fallback/error-fallback.js
%%HOMEDIR%%/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/is-hydration-error.js
%%HOMEDIR%%/node_modules/next/dist/client/components/is-next-router-error.js
%%HOMEDIR%%/node_modules/next/dist/client/components/links.js
%%HOMEDIR%%/node_modules/next/dist/client/components/match-segments.js
@@ -919,128 +907,8 @@
%%HOMEDIR%%/node_modules/next/dist/client/components/navigation.js
%%HOMEDIR%%/node_modules/next/dist/client/components/navigation.react-server.js
%%HOMEDIR%%/node_modules/next/dist/client/components/noop-head.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/not-found-error.js
%%HOMEDIR%%/node_modules/next/dist/client/components/not-found.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/parallel-route-default.js
%%HOMEDIR%%/node_modules/next/dist/client/components/promise-queue.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/app/app-dev-overlay-error-boundary.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/app/app-dev-overlay.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/app/hot-reloader-client.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/font/font-styles.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/font/get-dev-overlay-font-middleware.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/pages/bus.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/pages/client.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/pages/hooks.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/pages/hot-reloader-client.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/pages/pages-dev-overlay-error-boundary.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/pages/pages-dev-overlay.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/pages/websocket.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/server/get-next-error-feedback-middleware.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/server/middleware-response.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/server/middleware-turbopack.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/server/middleware-webpack.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/server/shared.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/shared.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/copy-button/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog-body.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog-content.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog-header.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/styles.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/dev-tools-info.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/preferences.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/route-info.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/turbopack-info.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/user-preferences.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/use-minimum-loading-time-multiple.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/utils.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dialog/body.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dialog/dialog.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dialog/header.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-footer/error-feedback/error-feedback.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-footer/error-overlay-footer.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay/error-overlay.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/overlay/overlay.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/fader/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/hot-linked-text/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/hydration-diff/diff-view.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/body-locker.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/overlay.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/styles.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/shadow-portal.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/terminal/editor-link.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/terminal/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/toast/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/toast/styles.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/toast/toast.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/container/build-error.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/container/errors.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/container/runtime-error/index.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/container/runtime-error/render-error.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/dev-overlay.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/hooks/use-delayed-render.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/hooks/use-measure-height.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/hooks/use-on-click-outside.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/collapse-icon.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/dark-icon.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/external.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/eye-icon.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/file.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/gear-icon.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/left-arrow.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/light-icon.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/right-arrow.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/system-icon.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/thumbs/thumbs-down.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/icons/thumbs/thumbs-up.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/styles/base.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/styles/colors.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/styles/component-styles.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/styles/css-reset.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/styles/dark-theme.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/utils/cx.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/utils/merge-refs.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/utils/parse-url-from-text.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/ui/utils/use-open-in-editor.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/css.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/dev-indicator/use-sync-dev-render-indicator.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/format-webpack-messages.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/get-error-by-type.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/get-socket-url.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/get-source-map-from-file.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/get-source-map-url.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/launch-editor.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/node-stack-frames.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/parse-component-stack.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/parse-stack.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/report-hmr-latency.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/stack-frame.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/turbopack-hot-reloader-common.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/use-websocket.js
-%%HOMEDIR%%/node_modules/next/dist/client/components/react-dev-overlay/utils/webpack-module-path.js
%%HOMEDIR%%/node_modules/next/dist/client/components/redirect-boundary.js
%%HOMEDIR%%/node_modules/next/dist/client/components/redirect-error.js
%%HOMEDIR%%/node_modules/next/dist/client/components/redirect-status-code.js
@@ -1087,25 +955,36 @@
%%HOMEDIR%%/node_modules/next/dist/client/components/segment-cache-impl/tuple-map.js
%%HOMEDIR%%/node_modules/next/dist/client/components/segment-cache.js
%%HOMEDIR%%/node_modules/next/dist/client/components/static-generation-bailout.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/styles/access-error-styles.js
%%HOMEDIR%%/node_modules/next/dist/client/components/unauthorized.js
+%%HOMEDIR%%/node_modules/next/dist/client/components/unrecognized-action-error.js
%%HOMEDIR%%/node_modules/next/dist/client/components/unresolved-thenable.js
%%HOMEDIR%%/node_modules/next/dist/client/components/unstable-rethrow.browser.js
%%HOMEDIR%%/node_modules/next/dist/client/components/unstable-rethrow.js
%%HOMEDIR%%/node_modules/next/dist/client/components/unstable-rethrow.server.js
%%HOMEDIR%%/node_modules/next/dist/client/components/use-action-queue.js
%%HOMEDIR%%/node_modules/next/dist/client/detect-domain-locale.js
-%%HOMEDIR%%/node_modules/next/dist/client/dev/dev-build-indicator/internal/dev-build-indicator.js
-%%HOMEDIR%%/node_modules/next/dist/client/dev/dev-build-indicator/internal/handle-dev-build-indicator-hmr-events.js
-%%HOMEDIR%%/node_modules/next/dist/client/dev/dev-build-indicator/internal/initialize.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/hot-reloader/app/use-websocket.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/hot-reloader/get-socket-url.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/hot-reloader/pages/hot-reloader-pages.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/hot-reloader/pages/websocket.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/hot-reloader/shared.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/hot-reloader/turbopack-hot-reloader-common.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/report-hmr-latency.js
+%%HOMEDIR%%/node_modules/next/dist/client/dev/runtime-error-handler.js
%%HOMEDIR%%/node_modules/next/dist/client/flight-data-helpers.js
%%HOMEDIR%%/node_modules/next/dist/client/has-base-path.js
%%HOMEDIR%%/node_modules/next/dist/client/lib/console.js
%%HOMEDIR%%/node_modules/next/dist/client/normalize-trailing-slash.js
+%%HOMEDIR%%/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js
+%%HOMEDIR%%/node_modules/next/dist/client/react-client-callbacks/report-global-error.js
%%HOMEDIR%%/node_modules/next/dist/client/remove-base-path.js
%%HOMEDIR%%/node_modules/next/dist/client/remove-locale.js
%%HOMEDIR%%/node_modules/next/dist/client/request-idle-callback.js
%%HOMEDIR%%/node_modules/next/dist/client/resolve-href.js
%%HOMEDIR%%/node_modules/next/dist/client/route-loader.js
+%%HOMEDIR%%/node_modules/next/dist/client/route-params.js
%%HOMEDIR%%/node_modules/next/dist/client/router.js
%%HOMEDIR%%/node_modules/next/dist/client/script.js
%%HOMEDIR%%/node_modules/next/dist/client/set-attributes-from-props.js
@@ -1162,8 +1041,6 @@
%%HOMEDIR%%/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js
%%HOMEDIR%%/node_modules/next/dist/compiled/@opentelemetry/api/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/@opentelemetry/api/package.json
-%%HOMEDIR%%/node_modules/next/dist/compiled/@typescript/vfs/index.js
-%%HOMEDIR%%/node_modules/next/dist/compiled/@typescript/vfs/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/@vercel/nft/LICENSE
%%HOMEDIR%%/node_modules/next/dist/compiled/@vercel/nft/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/@vercel/nft/package.json
@@ -1172,8 +1049,6 @@
%%HOMEDIR%%/node_modules/next/dist/compiled/amphtml-validator/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/amphtml-validator/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/amphtml-validator/validator_wasm.js
-%%HOMEDIR%%/node_modules/next/dist/compiled/anser/index.js
-%%HOMEDIR%%/node_modules/next/dist/compiled/anser/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/assert/assert.js
%%HOMEDIR%%/node_modules/next/dist/compiled/assert/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/async-retry/index.js
@@ -1205,6 +1080,8 @@
%%HOMEDIR%%/node_modules/next/dist/compiled/browserslist/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/buffer/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/buffer/package.json
+%%HOMEDIR%%/node_modules/next/dist/compiled/busboy/index.js
+%%HOMEDIR%%/node_modules/next/dist/compiled/busboy/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/bytes/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/bytes/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/ci-info/index.js
@@ -1260,6 +1137,7 @@
%%HOMEDIR%%/node_modules/next/dist/compiled/icss-utils/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/ignore-loader/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/ignore-loader/package.json
+%%HOMEDIR%%/node_modules/next/dist/compiled/image-detector/detector.js
%%HOMEDIR%%/node_modules/next/dist/compiled/image-size/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/image-size/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/is-animated/index.js
@@ -1293,6 +1171,7 @@
%%HOMEDIR%%/node_modules/next/dist/compiled/native-url/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/neo-async/async.js
%%HOMEDIR%%/node_modules/next/dist/compiled/neo-async/package.json
+%%HOMEDIR%%/node_modules/next/dist/compiled/next-devtools/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js
%%HOMEDIR%%/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js
%%HOMEDIR%%/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js
@@ -1348,6 +1227,8 @@
%%HOMEDIR%%/node_modules/next/dist/compiled/react-refresh/runtime.js
%%HOMEDIR%%/node_modules/next/dist/compiled/regenerator-runtime/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/regenerator-runtime/runtime.js
+%%HOMEDIR%%/node_modules/next/dist/compiled/safe-stable-stringify/index.js
+%%HOMEDIR%%/node_modules/next/dist/compiled/safe-stable-stringify/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/sass-loader/cjs.js
%%HOMEDIR%%/node_modules/next/dist/compiled/sass-loader/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/schema-utils3/index.js
@@ -1400,7 +1281,7 @@
%%HOMEDIR%%/node_modules/next/dist/compiled/ws/package.json
%%HOMEDIR%%/node_modules/next/dist/compiled/zod-validation-error/index.js
%%HOMEDIR%%/node_modules/next/dist/compiled/zod-validation-error/package.json
-%%HOMEDIR%%/node_modules/next/dist/compiled/zod/index.js
+%%HOMEDIR%%/node_modules/next/dist/compiled/zod/index.cjs
%%HOMEDIR%%/node_modules/next/dist/compiled/zod/package.json
%%HOMEDIR%%/node_modules/next/dist/experimental/testmode/context.js
%%HOMEDIR%%/node_modules/next/dist/experimental/testmode/fetch.js
@@ -1408,6 +1289,7 @@
%%HOMEDIR%%/node_modules/next/dist/experimental/testmode/server-edge.js
%%HOMEDIR%%/node_modules/next/dist/experimental/testmode/server.js
%%HOMEDIR%%/node_modules/next/dist/export/helpers/create-incremental-cache.js
+%%HOMEDIR%%/node_modules/next/dist/export/helpers/get-amp-html-validator.js
%%HOMEDIR%%/node_modules/next/dist/export/utils.js
%%HOMEDIR%%/node_modules/next/dist/lib/batcher.js
%%HOMEDIR%%/node_modules/next/dist/lib/build-custom-route.js
@@ -1429,6 +1311,8 @@
%%HOMEDIR%%/node_modules/next/dist/lib/find-root.js
%%HOMEDIR%%/node_modules/next/dist/lib/format-dynamic-import-path.js
%%HOMEDIR%%/node_modules/next/dist/lib/format-server-error.js
+%%HOMEDIR%%/node_modules/next/dist/lib/framework/boundary-components.js
+%%HOMEDIR%%/node_modules/next/dist/lib/framework/boundary-constants.js
%%HOMEDIR%%/node_modules/next/dist/lib/fs/rename.js
%%HOMEDIR%%/node_modules/next/dist/lib/fs/write-atomic.js
%%HOMEDIR%%/node_modules/next/dist/lib/generate-interception-routes-rewrites.js
@@ -1453,11 +1337,11 @@
%%HOMEDIR%%/node_modules/next/dist/lib/load-custom-routes.js
%%HOMEDIR%%/node_modules/next/dist/lib/metadata/get-metadata-route.js
%%HOMEDIR%%/node_modules/next/dist/lib/metadata/is-metadata-route.js
-%%HOMEDIR%%/node_modules/next/dist/lib/metadata/metadata-constants.js
%%HOMEDIR%%/node_modules/next/dist/lib/metadata/metadata-context.js
%%HOMEDIR%%/node_modules/next/dist/lib/multi-file-writer.js
%%HOMEDIR%%/node_modules/next/dist/lib/needs-experimental-react.js
%%HOMEDIR%%/node_modules/next/dist/lib/non-nullable.js
+%%HOMEDIR%%/node_modules/next/dist/lib/normalize-path.js
%%HOMEDIR%%/node_modules/next/dist/lib/oxford-comma-list.js
%%HOMEDIR%%/node_modules/next/dist/lib/page-types.js
%%HOMEDIR%%/node_modules/next/dist/lib/patch-incorrect-lockfile.js
@@ -1469,6 +1353,7 @@
%%HOMEDIR%%/node_modules/next/dist/lib/recursive-readdir.js
%%HOMEDIR%%/node_modules/next/dist/lib/redirect-status.js
%%HOMEDIR%%/node_modules/next/dist/lib/resolve-from.js
+%%HOMEDIR%%/node_modules/next/dist/lib/route-pattern-normalizer.js
%%HOMEDIR%%/node_modules/next/dist/lib/scheduler.js
%%HOMEDIR%%/node_modules/next/dist/lib/semver-noop.js
%%HOMEDIR%%/node_modules/next/dist/lib/server-external-packages.json
@@ -1487,6 +1372,33 @@
%%HOMEDIR%%/node_modules/next/dist/lib/verify-typescript-setup.js
%%HOMEDIR%%/node_modules/next/dist/lib/wait.js
%%HOMEDIR%%/node_modules/next/dist/lib/with-promise-cache.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/dev-indicator-middleware.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/devtools-config-middleware.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/font/get-dev-overlay-font-middleware.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/get-next-error-feedback-middleware.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/launch-editor.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/middleware-response.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/restart-dev-server-middleware.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/server/shared.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/shared/console-error.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/shared/deepmerge.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/shared/devtools-config-schema.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/shared/react-18-hydration-error.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/shared/react-19-hydration-error.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/shared/webpack-module-path.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/errors/replay-ssr-only-errors.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/errors/use-forward-console-log.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/pages/hydration-error-state.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/pages/pages-dev-overlay-error-boundary.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/pages/pages-dev-overlay-setup.js
+%%HOMEDIR%%/node_modules/next/dist/next-devtools/userspace/use-app-dev-rendering-indicator.js
%%HOMEDIR%%/node_modules/next/dist/pages/_app.js
%%HOMEDIR%%/node_modules/next/dist/pages/_document.js
%%HOMEDIR%%/node_modules/next/dist/server/ReactDOMServerPages.js
@@ -1509,13 +1421,13 @@
%%HOMEDIR%%/node_modules/next/dist/server/app-render/app-render.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/async-local-storage.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/cache-signal.js
-%%HOMEDIR%%/node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js
-%%HOMEDIR%%/node_modules/next/dist/server/app-render/clean-async-snapshot.external.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/create-component-tree.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/create-error-handler.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/csrf-protection.js
+%%HOMEDIR%%/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js
+%%HOMEDIR%%/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/dynamic-rendering.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/encryption-utils-server.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/encryption-utils.js
@@ -1531,14 +1443,17 @@
%%HOMEDIR%%/node_modules/next/dist/server/app-render/interop-default.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js
+%%HOMEDIR%%/node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js
+%%HOMEDIR%%/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/parse-loader-tree.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/postponed-state.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/prospective-render-utils.js
+%%HOMEDIR%%/node_modules/next/dist/server/app-render/react-large-shell-error.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/react-server.node.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/render-css-resource.js
-%%HOMEDIR%%/node_modules/next/dist/server/app-render/render-to-string.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/required-scripts.js
+%%HOMEDIR%%/node_modules/next/dist/server/app-render/segment-explorer-path.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/server-inserted-html.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/strip-flight-headers.js
%%HOMEDIR%%/node_modules/next/dist/server/app-render/types.js
@@ -1565,15 +1480,20 @@
%%HOMEDIR%%/node_modules/next/dist/server/config-utils.js
%%HOMEDIR%%/node_modules/next/dist/server/config.js
%%HOMEDIR%%/node_modules/next/dist/server/crypto-utils.js
-%%HOMEDIR%%/node_modules/next/dist/server/dev/dev-indicator-middleware.js
+%%HOMEDIR%%/node_modules/next/dist/server/dev/browser-logs/receive-logs.js
+%%HOMEDIR%%/node_modules/next/dist/server/dev/browser-logs/source-map.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/dev-indicator-server-state.js
+%%HOMEDIR%%/node_modules/next/dist/server/dev/get-source-map-from-file.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/hot-middleware.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/hot-reloader-turbopack.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/hot-reloader-types.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/hot-reloader-webpack.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/log-requests.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/messages.js
+%%HOMEDIR%%/node_modules/next/dist/server/dev/middleware-turbopack.js
+%%HOMEDIR%%/node_modules/next/dist/server/dev/middleware-webpack.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/next-dev-server.js
+%%HOMEDIR%%/node_modules/next/dist/server/dev/node-stack-frames.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/on-demand-entry-handler.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/parse-version-info.js
%%HOMEDIR%%/node_modules/next/dist/server/dev/require-cache.js
@@ -1591,8 +1511,10 @@
%%HOMEDIR%%/node_modules/next/dist/server/lib/app-info-log.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/async-callback-set.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/cache-control.js
-%%HOMEDIR%%/node_modules/next/dist/server/lib/cache-handlers/default.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/cache-handlers/default.external.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/chrome-devtools-workspace.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/clone-response.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/cpu-profile.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/decode-query-path-parameter.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/dedupe-fetch.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/dev-bundler-service.js
@@ -1600,12 +1522,14 @@
%%HOMEDIR%%/node_modules/next/dist/server/lib/experimental/create-env-definitions.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/experimental/ppr.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/find-page-file.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/fix-mojibake.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/format-hostname.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/i18n-provider.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/implicit-tags.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/incremental-cache/index.js
-%%HOMEDIR%%/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/is-ipv6.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/lazy-result.js
@@ -1613,8 +1537,8 @@
%%HOMEDIR%%/node_modules/next/dist/server/lib/match-next-data-pathname.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/mock-request.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/module-loader/node-module-loader.js
-%%HOMEDIR%%/node_modules/next/dist/server/lib/module-loader/route-module-loader.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/node-fs-methods.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/parse-stack.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/patch-fetch.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/patch-set-header.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/render-server.js
@@ -1623,12 +1547,18 @@
%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/build-data-route.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/decode-path-params.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/filesystem.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/is-postpone.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/proxy-request.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/resolve-routes.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/route-types-utils.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/router-server-context.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/router-utils/typegen.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/server-action-request-meta.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/server-ipc/utils.js
+%%HOMEDIR%%/node_modules/next/dist/server/lib/source-maps.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/start-server.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/streaming-metadata.js
%%HOMEDIR%%/node_modules/next/dist/server/lib/to-route.js
@@ -1638,12 +1568,13 @@
%%HOMEDIR%%/node_modules/next/dist/server/lib/utils.js
%%HOMEDIR%%/node_modules/next/dist/server/load-components.js
%%HOMEDIR%%/node_modules/next/dist/server/load-default-error-components.js
-%%HOMEDIR%%/node_modules/next/dist/server/load-manifest.js
+%%HOMEDIR%%/node_modules/next/dist/server/load-manifest.external.js
%%HOMEDIR%%/node_modules/next/dist/server/match-bundle.js
%%HOMEDIR%%/node_modules/next/dist/server/next-server.js
%%HOMEDIR%%/node_modules/next/dist/server/next-typescript.js
%%HOMEDIR%%/node_modules/next/dist/server/next.js
%%HOMEDIR%%/node_modules/next/dist/server/node-environment-baseline.js
+%%HOMEDIR%%/node_modules/next/dist/server/node-environment-extensions/console-dev.js
%%HOMEDIR%%/node_modules/next/dist/server/node-environment-extensions/date.js
%%HOMEDIR%%/node_modules/next/dist/server/node-environment-extensions/error-inspect.js
%%HOMEDIR%%/node_modules/next/dist/server/node-environment-extensions/node-crypto.js
@@ -1682,7 +1613,6 @@
%%HOMEDIR%%/node_modules/next/dist/server/render-result.js
%%HOMEDIR%%/node_modules/next/dist/server/render.js
%%HOMEDIR%%/node_modules/next/dist/server/request-meta.js
-%%HOMEDIR%%/node_modules/next/dist/server/request/fallback-params.js
%%HOMEDIR%%/node_modules/next/dist/server/require-hook.js
%%HOMEDIR%%/node_modules/next/dist/server/require.js
%%HOMEDIR%%/node_modules/next/dist/server/response-cache/index.js
@@ -1717,6 +1647,7 @@
%%HOMEDIR%%/node_modules/next/dist/server/route-matchers/pages-route-matcher.js
%%HOMEDIR%%/node_modules/next/dist/server/route-matchers/route-matcher.js
%%HOMEDIR%%/node_modules/next/dist/server/route-matches/pages-api-route-match.js
+%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/module.compiled.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/module.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/module.render.js
@@ -1728,7 +1659,6 @@
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js
-%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-metadata.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/checks.js
@@ -1736,6 +1666,7 @@
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/pages/module.compiled.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/pages/module.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/pages/module.render.js
+%%HOMEDIR%%/node_modules/next/dist/server/route-modules/pages/pages-handler.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js
%%HOMEDIR%%/node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js
@@ -1754,7 +1685,7 @@
%%HOMEDIR%%/node_modules/next/dist/server/server-route-utils.js
%%HOMEDIR%%/node_modules/next/dist/server/server-utils.js
%%HOMEDIR%%/node_modules/next/dist/server/setup-http-agent-env.js
-%%HOMEDIR%%/node_modules/next/dist/server/stream-utils/encodedTags.js
+%%HOMEDIR%%/node_modules/next/dist/server/stream-utils/encoded-tags.js
%%HOMEDIR%%/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js
%%HOMEDIR%%/node_modules/next/dist/server/stream-utils/uint8array-helpers.js
%%HOMEDIR%%/node_modules/next/dist/server/typescript/constant.js
@@ -1768,7 +1699,6 @@
%%HOMEDIR%%/node_modules/next/dist/server/typescript/rules/server.js
%%HOMEDIR%%/node_modules/next/dist/server/typescript/utils.js
%%HOMEDIR%%/node_modules/next/dist/server/use-cache/handlers.js
-%%HOMEDIR%%/node_modules/next/dist/server/use-cache/use-cache-errors.js
%%HOMEDIR%%/node_modules/next/dist/server/utils.js
%%HOMEDIR%%/node_modules/next/dist/server/web/adapter.js
%%HOMEDIR%%/node_modules/next/dist/server/web/error.js
@@ -1803,6 +1733,7 @@
%%HOMEDIR%%/node_modules/next/dist/shared/lib/error-source.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/errors/constants.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/escape-regexp.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/format-webpack-messages.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/get-hostname.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/get-rspack.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/get-webpack-bundler.js
@@ -1830,15 +1761,18 @@
%%HOMEDIR%%/node_modules/next/dist/shared/lib/match-remote-pattern.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/mitt.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/modern-browserslist-target.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/no-fallback-error.external.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/normalized-asset-prefix.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/denormalize-app-path.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/get-page-paths.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/normalize-data-path.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/promise-with-resolvers.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router-context.shared-runtime.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/adapters.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/router.js
@@ -1847,14 +1781,16 @@
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/app-paths.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/compare-states.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/format-url.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js
-%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/handle-smooth-scroll.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/html-bots.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/index.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/interception-routes.js
@@ -1875,17 +1811,20 @@
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/route-matcher.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/route-regex.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/runtime-config.external.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/segment-cache/output-export-prefetch-encoding.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/segment.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js
-%%HOMEDIR%%/node_modules/next/dist/shared/lib/server-inserted-metadata.shared-runtime.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/server-reference-info.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/side-effect.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/turbopack/compilation-events.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/turbopack/entry-key.js
+%%HOMEDIR%%/node_modules/next/dist/shared/lib/turbopack/internal-error.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/turbopack/manifest-loader.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/turbopack/utils.js
%%HOMEDIR%%/node_modules/next/dist/shared/lib/utils.js
@@ -1944,17 +1883,22 @@
%%HOMEDIR%%/node_modules/picocolors/picocolors.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js
+%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server.browser.development.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server.browser.production.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server.edge.development.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server.edge.production.js
+%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom-server.node.production.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom.development.js
%%HOMEDIR%%/node_modules/react-dom/cjs/react-dom.production.js
%%HOMEDIR%%/node_modules/react-dom/index.js
%%HOMEDIR%%/node_modules/react-dom/package.json
%%HOMEDIR%%/node_modules/react-dom/server.browser.js
%%HOMEDIR%%/node_modules/react-dom/server.edge.js
-%%HOMEDIR%%/node_modules/react-dom/static.edge.js
+%%HOMEDIR%%/node_modules/react-dom/server.js
+%%HOMEDIR%%/node_modules/react-dom/server.node.js
+%%HOMEDIR%%/node_modules/react-dom/static.js
+%%HOMEDIR%%/node_modules/react-dom/static.node.js
%%HOMEDIR%%/node_modules/react/cjs/react-compiler-runtime.production.js
%%HOMEDIR%%/node_modules/react/cjs/react-jsx-dev-runtime.production.js
%%HOMEDIR%%/node_modules/react/cjs/react-jsx-runtime.development.js
@@ -2015,12 +1959,12 @@
%%HOMEDIR%%/node_modules/source-map-js/lib/util.js
%%HOMEDIR%%/node_modules/source-map-js/package.json
%%HOMEDIR%%/node_modules/source-map-js/source-map.js
-%%HOMEDIR%%/node_modules/streamsearch/lib/sbmh.js
-%%HOMEDIR%%/node_modules/streamsearch/package.json
%%HOMEDIR%%/node_modules/styled-jsx/dist/index/index.js
%%HOMEDIR%%/node_modules/styled-jsx/index.js
%%HOMEDIR%%/node_modules/styled-jsx/package.json
%%HOMEDIR%%/node_modules/styled-jsx/style.js
+%%HOMEDIR%%/node_modules/typescript/lib/typescript.js
+%%HOMEDIR%%/node_modules/typescript/package.json
%%HOMEDIR%%/package.json
%%HOMEDIR%%/public/robots.txt
%%HOMEDIR%%/server.js
diff --git a/www/gitlab-pages/distinfo b/www/gitlab-pages/distinfo
index fb028fd75b38..fdbe7b915d7e 100644
--- a/www/gitlab-pages/distinfo
+++ b/www/gitlab-pages/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1756438003
-SHA256 (go/www_gitlab-pages/gitlab-pages-v18.3.1/go.mod) = f009bb2f145a5e8bfa40069b413d54c6212f0062253d9de94dc93e61b93b2a96
-SIZE (go/www_gitlab-pages/gitlab-pages-v18.3.1/go.mod) = 3436
-SHA256 (go/www_gitlab-pages/gitlab-pages-v18.3.1/gitlab-pages-v18.3.1.tar.bz2) = 16db6acfeb658cdd160c774035a0911ff804096c1306169105da3b754f6015f9
-SIZE (go/www_gitlab-pages/gitlab-pages-v18.3.1/gitlab-pages-v18.3.1.tar.bz2) = 237006
+TIMESTAMP = 1757515080
+SHA256 (go/www_gitlab-pages/gitlab-pages-v18.3.2/go.mod) = f009bb2f145a5e8bfa40069b413d54c6212f0062253d9de94dc93e61b93b2a96
+SIZE (go/www_gitlab-pages/gitlab-pages-v18.3.2/go.mod) = 3436
+SHA256 (go/www_gitlab-pages/gitlab-pages-v18.3.2/gitlab-pages-v18.3.2.tar.bz2) = 0d9efd47ec8659791f353de6f59dd60bb45990aa5426b20dac8e0fec3039bfa0
+SIZE (go/www_gitlab-pages/gitlab-pages-v18.3.2/gitlab-pages-v18.3.2.tar.bz2) = 236659
diff --git a/www/gitlab-workhorse/distinfo b/www/gitlab-workhorse/distinfo
index e069c82b0d2e..1b3cf14a6f49 100644
--- a/www/gitlab-workhorse/distinfo
+++ b/www/gitlab-workhorse/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1756438024
-SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/go.mod) = 9c034c905470aa1c1f54b96d744fd80cbc9c199fc84990e580297186080818b9
-SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/go.mod) = 9331
-SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/gitlab-foss-v18.3.1.tar.bz2) = 6e6a71560915da21f52a35f8592824a5fa48054b2d113250b7183b04657157b9
-SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/gitlab-foss-v18.3.1.tar.bz2) = 122193686
+TIMESTAMP = 1757515093
+SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.3.2/go.mod) = 9c034c905470aa1c1f54b96d744fd80cbc9c199fc84990e580297186080818b9
+SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.3.2/go.mod) = 9331
+SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.3.2/gitlab-foss-v18.3.2.tar.bz2) = f8ee774449e49c1500335af8d5978e49858cb206f938778ce724bb92e1593884
+SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.3.2/gitlab-foss-v18.3.2.tar.bz2) = 122213821
diff --git a/www/gitlab/Makefile b/www/gitlab/Makefile
index 1e8c0f37dd1e..b8e0e115a894 100644
--- a/www/gitlab/Makefile
+++ b/www/gitlab/Makefile
@@ -32,7 +32,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \
gitlab-elasticsearch-indexer>=5.7.0:textproc/gitlab-elasticsearch-indexer \
gitlab-agent>=${GITLAB_VERSION}:net/gitlab-agent \
gitlab-pages>=${GITLAB_VERSION}:www/gitlab-pages \
- gitlab-shell>=14.44.0:devel/gitlab-shell \
+ gitlab-shell>=14.45.2:devel/gitlab-shell \
gitlab-workhorse>=${GITLAB_VERSION}:www/gitlab-workhorse \
gitlab-zoekt-indexer>=1.2.0:textproc/gitlab-zoekt-indexer \
redis>=6.2.11:databases/redis \
@@ -68,7 +68,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \
rubygem-doorkeeper-openid_connect>=1.8.11<2:security/rubygem-doorkeeper-openid_connect \
rubygem-doorkeeper-device_authorization_grant>=1.0.0<1.1:security/rubygem-doorkeeper-device_authorization_grant \
rubygem-rexml>=3.4.1<3.5:textproc/rubygem-rexml \
- rubygem-ruby-saml-gitlab>=1.18<2:security/rubygem-ruby-saml-gitlab \
+ rubygem-ruby-saml-gitlab>=1.18.1<2:security/rubygem-ruby-saml-gitlab \
rubygem-omniauth-saml-gitlab>=2.2.4<3:security/rubygem-omniauth-saml-gitlab \
rubygem-omniauth>=2.1.3<3:security/rubygem-omniauth \
rubygem-omniauth-auth0-gitlab>=3.1.1<3.2.0:net/rubygem-omniauth-auth0-gitlab \
diff --git a/www/gitlab/Makefile.common b/www/gitlab/Makefile.common
index 8ecbae27d4a3..3b0ff1a9bf02 100644
--- a/www/gitlab/Makefile.common
+++ b/www/gitlab/Makefile.common
@@ -1,4 +1,4 @@
-GITLAB_VERSION= 18.3.1
+GITLAB_VERSION= 18.3.2
GITLAB_PORTREVISION= 0
# Git version gitaly should use (from gitlab mirror)
diff --git a/www/gitlab/distinfo b/www/gitlab/distinfo
index 513bc2f6b7b5..1fb18302b639 100644
--- a/www/gitlab/distinfo
+++ b/www/gitlab/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1756437955
-SHA256 (gitlab-foss-v18.3.1.tar.bz2) = 6e6a71560915da21f52a35f8592824a5fa48054b2d113250b7183b04657157b9
-SIZE (gitlab-foss-v18.3.1.tar.bz2) = 122193686
-TIMESTAMP = 1756437995
-SHA256 (gitlab-v18.3.1-ee.tar.bz2) = 32da4c6475a11bf425b7f63e2cadc94b4b8b5478d13176623a6b6f3df861c1b3
-SIZE (gitlab-v18.3.1-ee.tar.bz2) = 138138304
+TIMESTAMP = 1757514994
+SHA256 (gitlab-foss-v18.3.2.tar.bz2) = f8ee774449e49c1500335af8d5978e49858cb206f938778ce724bb92e1593884
+SIZE (gitlab-foss-v18.3.2.tar.bz2) = 122213821
+TIMESTAMP = 1757515073
+SHA256 (gitlab-v18.3.2-ee.tar.bz2) = 59d927b3dc3dbb918012f7431fcb75c4f4efbf792c1d1a0f04dcca8d7043c2a0
+SIZE (gitlab-v18.3.2-ee.tar.bz2) = 138144815
diff --git a/www/go-anubis/Makefile b/www/go-anubis/Makefile
index 518bf473ff87..5b2d3aaee7b2 100644
--- a/www/go-anubis/Makefile
+++ b/www/go-anubis/Makefile
@@ -1,7 +1,6 @@
PORTNAME= anubis
DISTVERSIONPREFIX= v
-DISTVERSION= 1.21.3
-PORTREVISION= 3
+DISTVERSION= 1.22.0
CATEGORIES= www
MASTER_SITES= https://github.com/techarohq/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
PKGNAMEPREFIX= go-
@@ -19,6 +18,8 @@ USE_RC_SUBR= ${PORTNAME}
ALL_TARGET= prebaked-build
+MAKE_FLAGS= VERSION=${DISTVERSION} GOFLAGS="-buildvcs=false"
+
post-patch:
@${FIND} ${WRKSRC}/data \( -name "*.yaml" -or -name "*.json" \) \
| ${XARGS} ${REINPLACE_CMD} -i '' -e 's|(data)|${DATADIR}|g'
diff --git a/www/go-anubis/distinfo b/www/go-anubis/distinfo
index 645294eb94ca..e3e4a90a63ac 100644
--- a/www/go-anubis/distinfo
+++ b/www/go-anubis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753561488
-SHA256 (anubis-src-vendor-npm-1.21.3.tar.gz) = f4b5af04d014dd3bac988995d076b4e3492d44d6ed6c6b4c657bea4d007da040
-SIZE (anubis-src-vendor-npm-1.21.3.tar.gz) = 15106502
+TIMESTAMP = 1757319886
+SHA256 (anubis-src-vendor-npm-1.22.0.tar.gz) = b3a3c600dce35c3bfc1e81897cd30fe01c9f6c056c704d413934ebb196f94d73
+SIZE (anubis-src-vendor-npm-1.22.0.tar.gz) = 15322719
diff --git a/www/go-anubis/pkg-plist b/www/go-anubis/pkg-plist
index c5de54c48c29..207d6c667806 100644
--- a/www/go-anubis/pkg-plist
+++ b/www/go-anubis/pkg-plist
@@ -5,7 +5,6 @@ sbin/robots2policy
%%DATADIR%%/apps/gitea-rss-feeds.yaml
%%DATADIR%%/apps/qualys-ssl-labs.yml
%%DATADIR%%/apps/searx-checker.yml
-%%DATADIR%%/botPolicies.json
%%DATADIR%%/botPolicies.yaml
%%DATADIR%%/bots/_deny-pathological.yaml
%%DATADIR%%/bots/aggressive-brazilian-scrapers.yaml
@@ -50,3 +49,6 @@ sbin/robots2policy
%%DATADIR%%/meta/ai-block-moderate.yaml
%%DATADIR%%/meta/ai-block-permissive.yaml
%%DATADIR%%/services/uptime-robot.yaml
+%%DATADIR%%/bots/custom-async-http-client.yaml
+%%DATADIR%%/crawlers/alibaba-cloud.yaml
+%%DATADIR%%/crawlers/huawei-cloud.yaml
diff --git a/www/homer-web/Makefile b/www/homer-web/Makefile
index aa1cb6536dc9..ea553ea1a423 100644
--- a/www/homer-web/Makefile
+++ b/www/homer-web/Makefile
@@ -1,6 +1,6 @@
PORTNAME= homer
DISTVERSIONPREFIX= v
-DISTVERSION= 25.05.2
+DISTVERSION= 25.08.1
CATEGORIES= www
MASTER_SITES= https://github.com/bastienwirtz/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
PKGNAMESUFFIX= -web
diff --git a/www/homer-web/distinfo b/www/homer-web/distinfo
index 085dbc6db5eb..3723e3803627 100644
--- a/www/homer-web/distinfo
+++ b/www/homer-web/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747630986
-SHA256 (homer-25.05.2/homer.zip) = e6b98feced71787642be3e1bbbee5dbc41e2a580228baad88fe7246a9ada3f1d
-SIZE (homer-25.05.2/homer.zip) = 1134626
+TIMESTAMP = 1757328671
+SHA256 (homer-25.08.1/homer.zip) = dc3f48f51117b8abe6715f32141aa6a7338950f157d13220a5b29c8962bc2cf8
+SIZE (homer-25.08.1/homer.zip) = 1134387
diff --git a/www/homer-web/pkg-plist b/www/homer-web/pkg-plist
index 7ac5b5cc0b39..e1064af013ef 100644
--- a/www/homer-web/pkg-plist
+++ b/www/homer-web/pkg-plist
@@ -19,100 +19,100 @@
%%WWWDIR%%/index.html
%%WWWDIR%%/logo.png
%%WWWDIR%%/registerSW.js
-%%WWWDIR%%/resources/AdGuardHome-Cu_6JEdC.js
%%WWWDIR%%/resources/AdGuardHome-Tw0vCF6f.css
+%%WWWDIR%%/resources/AdGuardHome-sUuIYz5c.js
+%%WWWDIR%%/resources/CopyToClipboard-CrTtQ0yL.js
%%WWWDIR%%/resources/CopyToClipboard-DUc_NqZL.css
-%%WWWDIR%%/resources/CopyToClipboard-DnEhRlbV.js
-%%WWWDIR%%/resources/DockerSocketProxy-1behWyyp.js
+%%WWWDIR%%/resources/DockerSocketProxy-BZ2pDKSD.js
%%WWWDIR%%/resources/DockerSocketProxy-DYHxpllM.css
-%%WWWDIR%%/resources/Docuseal-CS2PfU1J.js
+%%WWWDIR%%/resources/Docuseal-DzAhkZRl.js
%%WWWDIR%%/resources/Docuseal-GTRlXpFw.css
-%%WWWDIR%%/resources/Emby-BjICRaP_.js
%%WWWDIR%%/resources/Emby-Cc4XwFHX.css
-%%WWWDIR%%/resources/FreshRSS-B2oAXOny.js
+%%WWWDIR%%/resources/Emby-l3hjoqVW.js
%%WWWDIR%%/resources/FreshRSS-D6eQ8Kbw.css
+%%WWWDIR%%/resources/FreshRSS-s5jKVVAZ.js
%%WWWDIR%%/resources/Gitea-DJOaXsSb.css
-%%WWWDIR%%/resources/Gitea-RRIgDn7w.js
-%%WWWDIR%%/resources/Glances-Chku44Px.js
-%%WWWDIR%%/resources/Gotify-BgzkB-3Y.js
+%%WWWDIR%%/resources/Gitea-JS1PnRUB.js
+%%WWWDIR%%/resources/Glances-n2FGl6qh.js
+%%WWWDIR%%/resources/Gotify-CVRaskIm.js
%%WWWDIR%%/resources/Gotify-CgkfqLBJ.css
-%%WWWDIR%%/resources/Healthchecks-AObEB_xO.js
%%WWWDIR%%/resources/Healthchecks-CuXYh2ap.css
+%%WWWDIR%%/resources/Healthchecks-D_zlfPLQ.js
%%WWWDIR%%/resources/HomeAssistant-D4G66XLG.css
-%%WWWDIR%%/resources/HomeAssistant-DrPLsZar.js
+%%WWWDIR%%/resources/HomeAssistant-DwL_RNUM.js
%%WWWDIR%%/resources/Immich-BQJ4xb-9.css
-%%WWWDIR%%/resources/Immich-DlmpD0mC.js
-%%WWWDIR%%/resources/Jellystat-CbiCXDql.js
+%%WWWDIR%%/resources/Immich-BifEX2O3.js
+%%WWWDIR%%/resources/Jellystat-D0Qvr5Tx.js
%%WWWDIR%%/resources/Jellystat-YCL3xwF6.css
-%%WWWDIR%%/resources/Lidarr-CLcf-XQ6.js
+%%WWWDIR%%/resources/Lidarr-D3S_VYmr.js
%%WWWDIR%%/resources/Lidarr-Dza-1-vv.css
-%%WWWDIR%%/resources/Linkding-Bcj9DoPV.js
-%%WWWDIR%%/resources/Matrix-Hzvly6x7.js
+%%WWWDIR%%/resources/Linkding-c0j5LU-5.js
+%%WWWDIR%%/resources/Matrix-DU_rZoKD.js
%%WWWDIR%%/resources/Matrix-Q-bxbOqk.css
-%%WWWDIR%%/resources/Mealie-CLBYZtEP.js
-%%WWWDIR%%/resources/Medusa-DYHhrgNG.js
+%%WWWDIR%%/resources/Mealie-DkYF776z.js
+%%WWWDIR%%/resources/Medusa-C-IlNz2M.js
%%WWWDIR%%/resources/Medusa-DcXIgM3A.css
+%%WWWDIR%%/resources/Mylar-BgDUND1I.js
%%WWWDIR%%/resources/Mylar-D14wGFq4.css
-%%WWWDIR%%/resources/Mylar-GRac72Bx.js
-%%WWWDIR%%/resources/Nextcloud-BNQ1Lusd.js
+%%WWWDIR%%/resources/Nextcloud-C4pWNQPe.js
%%WWWDIR%%/resources/Nextcloud-v71Ld_Cv.css
-%%WWWDIR%%/resources/OctoPrint-CZYpZFzI.js
+%%WWWDIR%%/resources/OctoPrint-D2RnNP1D.js
%%WWWDIR%%/resources/OctoPrint-DqTJwI-L.css
-%%WWWDIR%%/resources/Olivetin-BGNKkrOb.js
+%%WWWDIR%%/resources/Olivetin-CsRmfBI0.js
%%WWWDIR%%/resources/Olivetin-D8ESXpq5.css
-%%WWWDIR%%/resources/OpenHAB-3FFnMtMR.js
%%WWWDIR%%/resources/OpenHAB-BjwTZqa0.css
-%%WWWDIR%%/resources/OpenWeather-BabLKX1b.js
+%%WWWDIR%%/resources/OpenHAB-qR6NLzy4.js
%%WWWDIR%%/resources/OpenWeather-CGFhy5zp.css
-%%WWWDIR%%/resources/PaperlessNG-oWfRjp9q.js
-%%WWWDIR%%/resources/PeaNUT-BgH2df17.js
+%%WWWDIR%%/resources/OpenWeather-CKlv_1Ic.js
+%%WWWDIR%%/resources/PaperlessNG-stZWuNk3.js
+%%WWWDIR%%/resources/PeaNUT-CTBr-9gB.js
%%WWWDIR%%/resources/PiAlert-27f4aoYp.css
-%%WWWDIR%%/resources/PiAlert-DQIOdNw5.js
-%%WWWDIR%%/resources/PiHole-B590p74K.css
-%%WWWDIR%%/resources/PiHole-CYpoxC7G.js
+%%WWWDIR%%/resources/PiAlert-CBfhEHBS.js
+%%WWWDIR%%/resources/PiHole-SF4p5t8T.js
+%%WWWDIR%%/resources/PiHole-tWFI9dge.css
%%WWWDIR%%/resources/Ping-BVyk1tW9.css
-%%WWWDIR%%/resources/Ping-fi6Ns6kR.js
-%%WWWDIR%%/resources/Plex-CYMU8-Xj.js
+%%WWWDIR%%/resources/Ping-mnpEW7GS.js
+%%WWWDIR%%/resources/Plex-BMYkngmi.js
%%WWWDIR%%/resources/Plex-D9cFNqvv.css
%%WWWDIR%%/resources/Portainer-BQaRgpcO.css
-%%WWWDIR%%/resources/Portainer-CIbatA6O.js
-%%WWWDIR%%/resources/Prometheus-BpnOLe8b.js
+%%WWWDIR%%/resources/Portainer-CMeuZmaU.js
%%WWWDIR%%/resources/Prometheus-DW7rR0zJ.css
+%%WWWDIR%%/resources/Prometheus-DuEqao59.js
%%WWWDIR%%/resources/Prowlarr-C0MntQnn.css
-%%WWWDIR%%/resources/Prowlarr-DxxcG7yf.js
+%%WWWDIR%%/resources/Prowlarr-C4J5lnDU.js
%%WWWDIR%%/resources/Proxmox-B7Ne6yNU.css
-%%WWWDIR%%/resources/Proxmox-BdtgVaPM.js
-%%WWWDIR%%/resources/Radarr-CGR3qyQt.js
+%%WWWDIR%%/resources/Proxmox-o2d1mr4S.js
+%%WWWDIR%%/resources/Radarr-D4R_09o-.js
%%WWWDIR%%/resources/Radarr-Drh5L8HP.css
-%%WWWDIR%%/resources/Readarr-D-hglqIL.js
%%WWWDIR%%/resources/Readarr-QGnLos4n.css
+%%WWWDIR%%/resources/Readarr-h6PkLyy5.js
%%WWWDIR%%/resources/Rtorrent-8y0Hk3ah.css
-%%WWWDIR%%/resources/Rtorrent-Br5Zwikh.js
-%%WWWDIR%%/resources/SABnzbd-8iUmv5zX.js
+%%WWWDIR%%/resources/Rtorrent-D9_gZjvY.js
%%WWWDIR%%/resources/SABnzbd-Doh_UVaM.css
+%%WWWDIR%%/resources/SABnzbd-n_uYRBMS.js
%%WWWDIR%%/resources/Scrutiny-BFyhoSmH.css
-%%WWWDIR%%/resources/Scrutiny-NK54uZOt.js
+%%WWWDIR%%/resources/Scrutiny-DrdSXRmi.js
%%WWWDIR%%/resources/Sonarr-B0qW27KC.css
-%%WWWDIR%%/resources/Sonarr-CutaVloJ.js
-%%WWWDIR%%/resources/SpeedtestTracker-WmpXDxlz.js
-%%WWWDIR%%/resources/Tautulli-B81_2SB0.js
+%%WWWDIR%%/resources/Sonarr-Cwu6Rn77.js
+%%WWWDIR%%/resources/SpeedtestTracker-D_M-A0eu.js
%%WWWDIR%%/resources/Tautulli-CfeJITWv.css
+%%WWWDIR%%/resources/Tautulli-DSlFStFU.js
%%WWWDIR%%/resources/Tdarr-BvRK51o8.css
-%%WWWDIR%%/resources/Tdarr-DcPzSkDN.js
+%%WWWDIR%%/resources/Tdarr-CtWy9EQr.js
+%%WWWDIR%%/resources/ThemeChooser-C2ZubFwA.js
%%WWWDIR%%/resources/ThemeChooser-CcNjZIAP.css
-%%WWWDIR%%/resources/ThemeChooser-KKiR7zA_.js
-%%WWWDIR%%/resources/Traefik-BwTNK5Rs.js
+%%WWWDIR%%/resources/Traefik-C-UXrTA-.js
%%WWWDIR%%/resources/Traefik-QfL0WZ4b.css
-%%WWWDIR%%/resources/TruenasScale-BnAlcXxz.js
+%%WWWDIR%%/resources/TruenasScale-CySCLCYg.js
%%WWWDIR%%/resources/TruenasScale-maMPkiom.css
-%%WWWDIR%%/resources/UptimeKuma-BFp0iigK.js
+%%WWWDIR%%/resources/UptimeKuma-C8Ni9U_w.js
%%WWWDIR%%/resources/UptimeKuma-Fq8eQnsp.css
-%%WWWDIR%%/resources/Vaultwarden-CH7Xt_PN.js
%%WWWDIR%%/resources/Vaultwarden-Dy-eliI8.css
+%%WWWDIR%%/resources/Vaultwarden-qZbluwwM.js
%%WWWDIR%%/resources/WUD-BLIHvfpt.css
-%%WWWDIR%%/resources/WUD-BQz1SsPh.js
-%%WWWDIR%%/resources/Wallabag-CD96f6ec.js
+%%WWWDIR%%/resources/WUD-DCbut0HR.js
%%WWWDIR%%/resources/Wallabag-VA4tCsKR.css
+%%WWWDIR%%/resources/Wallabag-Ygtq0d_H.js
%%WWWDIR%%/resources/fa-brands-400-D1LuMI3I.ttf
%%WWWDIR%%/resources/fa-brands-400-D_cYUPeE.woff2
%%WWWDIR%%/resources/fa-regular-400-BjRzuEpd.woff2
@@ -121,10 +121,10 @@
%%WWWDIR%%/resources/fa-solid-900-D0aA9rwL.ttf
%%WWWDIR%%/resources/fa-v4compatibility-C9RhG_FT.woff2
%%WWWDIR%%/resources/fa-v4compatibility-CCth-dXg.ttf
-%%WWWDIR%%/resources/index-CgyetKj3.css
-%%WWWDIR%%/resources/index-NXnxvJjD.js
+%%WWWDIR%%/resources/index-Cv5iwbbQ.css
+%%WWWDIR%%/resources/index-ODbd469K.js
%%WWWDIR%%/resources/noto-latin-normal-GUnxZaaT.woff2
-%%WWWDIR%%/resources/qBittorrent-B6NJkixf.js
%%WWWDIR%%/resources/qBittorrent-B7KcPLhg.css
+%%WWWDIR%%/resources/qBittorrent-CdX6RZ8X.js
%%WWWDIR%%/sw.js
%%WWWDIR%%/workbox-84c915bb.js
diff --git a/www/hs-postgrest/Makefile b/www/hs-postgrest/Makefile
index 59a77e57883e..2ed1e299a35e 100644
--- a/www/hs-postgrest/Makefile
+++ b/www/hs-postgrest/Makefile
@@ -1,6 +1,6 @@
PORTNAME= postgrest
DISTVERSIONPREFIX= v
-DISTVERSION= 13.0.6
+DISTVERSION= 13.0.7
CATEGORIES= www databases haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/www/hs-postgrest/Makefile.modules b/www/hs-postgrest/Makefile.modules
index a901f8c7a12d..81b31d3fa671 100644
--- a/www/hs-postgrest/Makefile.modules
+++ b/www/hs-postgrest/Makefile.modules
@@ -131,7 +131,7 @@ USE_CABAL= HTTP-4000.4.1_6 \
optics-th-0.4.1_9 \
optparse-applicative-0.18.1.0_1 \
os-string-2.0.7_1 \
- parallel-3.2.2.0_9 \
+ parallel-3.2.2.0_10 \
parser-combinators-1.3.0_1 \
parsers-0.12.12_1 \
pem-0.2.4 \
diff --git a/www/hs-postgrest/distinfo b/www/hs-postgrest/distinfo
index e3b21cc14d4b..e5e23438a8d7 100644
--- a/www/hs-postgrest/distinfo
+++ b/www/hs-postgrest/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1756806259
+TIMESTAMP = 1757922831
SHA256 (cabal/HTTP-4000.4.1/HTTP-4000.4.1.tar.gz) = df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453
SIZE (cabal/HTTP-4000.4.1/HTTP-4000.4.1.tar.gz) = 74330
SHA256 (cabal/HTTP-4000.4.1/revision/6.cabal) = ad36c6a1b3bc203b02751c8bffae8a684cc755661a2a567362cd4a0da1193c5e
@@ -357,8 +357,8 @@ SHA256 (cabal/os-string-2.0.7/revision/1.cabal) = cb5408281cb0e7cea41885611e06ee
SIZE (cabal/os-string-2.0.7/revision/1.cabal) = 3443
SHA256 (cabal/parallel-3.2.2.0/parallel-3.2.2.0.tar.gz) = 170453a71a2a8b31cca63125533f7771d7debeb639700bdabdd779c34d8a6ef6
SIZE (cabal/parallel-3.2.2.0/parallel-3.2.2.0.tar.gz) = 14681
-SHA256 (cabal/parallel-3.2.2.0/revision/9.cabal) = 9d7b34ac537940f67732eca31d48a43bd78fb65a91baebddf63bee4fc3813d81
-SIZE (cabal/parallel-3.2.2.0/revision/9.cabal) = 1961
+SHA256 (cabal/parallel-3.2.2.0/revision/10.cabal) = 3df46ec247e12b5e406a0adb9577294431b24814b30df420551d176fd112a966
+SIZE (cabal/parallel-3.2.2.0/revision/10.cabal) = 2038
SHA256 (cabal/parser-combinators-1.3.0/parser-combinators-1.3.0.tar.gz) = 9310ef0d49f8a8922acda10b1cded9854cbee04dea717effc6ee5983072e4447
SIZE (cabal/parser-combinators-1.3.0/parser-combinators-1.3.0.tar.gz) = 11699
SHA256 (cabal/parser-combinators-1.3.0/revision/1.cabal) = 8659573e0d443d573f5b53f81b81dafbdc988d282b90c11e3da73562b4ea7876
@@ -565,5 +565,5 @@ SHA256 (cabal/zlib-0.7.1.0/zlib-0.7.1.0.tar.gz) = 6edd38b6b81df8d274952aa85affa6
SIZE (cabal/zlib-0.7.1.0/zlib-0.7.1.0.tar.gz) = 29318
SHA256 (cabal/zlib-0.7.1.0/revision/2.cabal) = 85e64a75c0b490506a7edaa2d54950c668e66b65758bb08bb14cd31faf53a206
SIZE (cabal/zlib-0.7.1.0/revision/2.cabal) = 5357
-SHA256 (cabal/PostgREST-postgrest-v13.0.6_GH0.tar.gz) = 4836957084172cbf8cfeaa51f5627a93c2fe8f36e2754ee8a36b003391164991
-SIZE (cabal/PostgREST-postgrest-v13.0.6_GH0.tar.gz) = 1842310
+SHA256 (cabal/PostgREST-postgrest-v13.0.7_GH0.tar.gz) = 873e1be528050af36585e00bf40716b3d1f36effebc836e81e2bed6f028912a0
+SIZE (cabal/PostgREST-postgrest-v13.0.7_GH0.tar.gz) = 1842937
diff --git a/www/iridium/Makefile b/www/iridium/Makefile
index 2aad80089721..88e64b7f5525 100644
--- a/www/iridium/Makefile
+++ b/www/iridium/Makefile
@@ -1,6 +1,5 @@
PORTNAME= iridium
-PORTVERSION= 2025.06.137.3
-PORTREVISION= 4
+PORTVERSION= 2025.09.140.1
PULSEMV= 16
PULSEV= ${PULSEMV}.1
CATEGORIES= www wayland
@@ -106,7 +105,6 @@ GN_ARGS+= clang_use_chrome_plugins=false \
chrome_pgo_phase=0 \
enable_backup_ref_ptr_support=false \
enable_hangout_services_extension=true \
- enable_nacl=false \
enable_remoting=false \
fatal_linker_warnings=false \
icu_use_data_file=false \
diff --git a/www/iridium/distinfo b/www/iridium/distinfo
index eeb5fc1dffe2..b9bb9d81cf17 100644
--- a/www/iridium/distinfo
+++ b/www/iridium/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1750319475
-SHA256 (iridium-browser-2025.06.137.3.tar.xz) = ac990fb4d0ff0c7970d5198e1a07bcd9a830b8b31b9641e87537be0292a5ffa6
-SIZE (iridium-browser-2025.06.137.3.tar.xz) = 3025197056
+TIMESTAMP = 1757604135
+SHA256 (iridium-browser-2025.09.140.1.tar.xz) = f393bf94bbcad33b949e15d85ad5db5db17e424327ad015bf8bd7b263369283c
+SIZE (iridium-browser-2025.09.140.1.tar.xz) = 3158708736
SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
SIZE (pulseaudio-16.1.tar.gz) = 2763111
diff --git a/www/iridium/files/patch-BUILD.gn b/www/iridium/files/patch-BUILD.gn
index fbf31e4e048e..0dae6dbc0f3d 100644
--- a/www/iridium/files/patch-BUILD.gn
+++ b/www/iridium/files/patch-BUILD.gn
@@ -1,6 +1,6 @@
---- BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ BUILD.gn
-@@ -71,7 +71,7 @@ declare_args() {
+@@ -68,7 +68,7 @@ declare_args() {
root_extra_deps = []
}
@@ -9,7 +9,7 @@
# An official (maximally optimized!) component (optimized for build times)
# build doesn't make sense and usually doesn't work.
assert(!is_component_build)
-@@ -103,7 +103,6 @@ group("gn_all") {
+@@ -101,7 +101,6 @@ group("gn_all") {
"//codelabs",
"//components:components_unittests",
"//components/gwp_asan:gwp_asan_unittests",
@@ -17,7 +17,7 @@
"//net:net_unittests",
"//sandbox:sandbox_unittests",
"//services:services_unittests",
-@@ -449,7 +448,7 @@ group("gn_all") {
+@@ -441,7 +440,7 @@ group("gn_all") {
}
}
@@ -26,7 +26,7 @@
deps += [
"//third_party/breakpad:breakpad_unittests",
"//third_party/breakpad:core-2-minidump",
-@@ -636,6 +635,15 @@ group("gn_all") {
+@@ -607,6 +606,15 @@ group("gn_all") {
}
}
@@ -42,7 +42,7 @@
if (is_mac) {
deps += [
"//third_party/breakpad:dump_syms($host_system_allocator_toolchain)",
-@@ -684,7 +692,7 @@ group("gn_all") {
+@@ -655,7 +663,7 @@ group("gn_all") {
}
}
@@ -51,7 +51,7 @@
# The official builders use this binary from the default toolchain's
# output directory after building in order to upload the symbols of that
# binary. They build the binary like `ninja symupload` which requires the
-@@ -719,7 +727,7 @@ group("gn_all") {
+@@ -690,7 +698,7 @@ group("gn_all") {
]
}
@@ -60,7 +60,7 @@
deps += [
"//third_party/crashpad/crashpad:crashpad_tests",
"//third_party/crashpad/crashpad/handler:crashpad_handler",
-@@ -1128,7 +1136,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1093,7 +1101,7 @@ if (use_blink && !is_cronet_build) {
"//third_party/blink/public:all_blink",
]
@@ -69,7 +69,7 @@
deps += [
":chrome_wpt_tests",
":headless_shell_wpt",
-@@ -1275,7 +1283,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1246,7 +1254,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
}
@@ -78,7 +78,7 @@
# Using the default toolchain for this tool, as it's run during tests not
# during the build. This places a symlink in the root_build_dir for scrips
# to use.
-@@ -1289,7 +1297,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1260,7 +1268,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//third_party/breakpad:dump_syms" ]
}
@@ -87,7 +87,7 @@
# Using the default toolchain for this tool, as it's run during tests not
# during the build. This places a symlink in the root_build_dir for scrips
# to use.
-@@ -1743,7 +1751,7 @@ group("chromium_builder_perf") {
+@@ -1714,7 +1722,7 @@ group("chromium_builder_perf") {
data_deps += [ "//chrome/test:performance_browser_tests" ]
}
diff --git a/www/iridium/files/patch-ash_display_mirror__window__controller.cc b/www/iridium/files/patch-ash_display_mirror__window__controller.cc
index 7e56d1d01d88..1023d6227a5e 100644
--- a/www/iridium/files/patch-ash_display_mirror__window__controller.cc
+++ b/www/iridium/files/patch-ash_display_mirror__window__controller.cc
@@ -1,6 +1,6 @@
---- ash/display/mirror_window_controller.cc.orig 2025-05-07 06:48:23 UTC
+--- ash/display/mirror_window_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ ash/display/mirror_window_controller.cc
-@@ -295,7 +295,11 @@ void MirrorWindowController::UpdateWindow(
+@@ -283,7 +283,11 @@ void MirrorWindowController::UpdateWindow(
if (!base::Contains(display_info_list, iter->first,
&display::ManagedDisplayInfo::id)) {
CloseAndDeleteHost(iter->second, true);
diff --git a/www/iridium/files/patch-base_BUILD.gn b/www/iridium/files/patch-base_BUILD.gn
index acd4f0f3775e..04381b5fdb67 100644
--- a/www/iridium/files/patch-base_BUILD.gn
+++ b/www/iridium/files/patch-base_BUILD.gn
@@ -1,6 +1,6 @@
---- base/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- base/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ base/BUILD.gn
-@@ -1108,11 +1108,26 @@ component("base") {
+@@ -1110,11 +1110,26 @@ component("base") {
# Needed for <atomic> if using newer C++ library than sysroot, except if
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
@@ -28,7 +28,7 @@
if (use_allocator_shim) {
if (is_apple) {
sources += [ "allocator/early_zone_registration_apple.h" ]
-@@ -1132,7 +1147,7 @@ component("base") {
+@@ -1134,7 +1149,7 @@ component("base") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -37,7 +37,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2166,6 +2181,22 @@ component("base") {
+@@ -2143,6 +2158,22 @@ component("base") {
]
}
@@ -60,7 +60,7 @@
# iOS
if (is_ios) {
sources += [
-@@ -2334,6 +2365,33 @@ component("base") {
+@@ -2317,6 +2348,33 @@ component("base") {
}
}
@@ -94,7 +94,7 @@
if (use_blink) {
sources += [
"files/file_path_watcher.cc",
-@@ -2729,7 +2787,7 @@ buildflag_header("protected_memory_buildflags") {
+@@ -2723,7 +2781,7 @@ buildflag_header("protected_memory_buildflags") {
header = "protected_memory_buildflags.h"
header_dir = "base/memory"
@@ -103,16 +103,16 @@
(is_win || is_linux || is_android || is_mac)
flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ]
-@@ -3236,7 +3294,7 @@ if (is_apple) {
+@@ -3229,7 +3287,7 @@ if (is_apple) {
}
}
--if (!is_nacl && (is_linux || is_chromeos)) {
-+if (!is_nacl && !is_bsd && (is_linux || is_chromeos)) {
+-if (is_linux || is_chromeos) {
++if (!is_bsd && (is_linux || is_chromeos)) {
# This test must compile with -fstack-protector-all
source_set("stack_canary_linux_unittests") {
testonly = true
-@@ -3924,7 +3982,7 @@ test("base_unittests") {
+@@ -3922,7 +3980,7 @@ test("base_unittests") {
]
}
@@ -121,16 +121,16 @@
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3952,7 +4010,7 @@ test("base_unittests") {
+@@ -3946,7 +4004,7 @@ test("base_unittests") {
"posix/file_descriptor_shuffle_unittest.cc",
"posix/unix_domain_socket_unittest.cc",
]
-- if (!is_nacl && !is_apple) {
-+ if (!is_nacl && !is_apple && !is_bsd) {
+- if (!is_apple) {
++ if (!is_apple && !is_bsd) {
sources += [
"profiler/stack_base_address_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3963,7 +4021,7 @@ test("base_unittests") {
+@@ -3957,7 +4015,7 @@ test("base_unittests") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -139,7 +139,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -4151,7 +4209,7 @@ test("base_unittests") {
+@@ -4144,7 +4202,7 @@ test("base_unittests") {
deps += [ ":base_profiler_test_support_library" ]
}
diff --git a/www/iridium/files/patch-base_allocator_dispatcher_tls.h b/www/iridium/files/patch-base_allocator_dispatcher_tls.h
index f4b1bb3d43e4..bb6f5eb915f5 100644
--- a/www/iridium/files/patch-base_allocator_dispatcher_tls.h
+++ b/www/iridium/files/patch-base_allocator_dispatcher_tls.h
@@ -1,6 +1,6 @@
---- base/allocator/dispatcher/tls.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/dispatcher/tls.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/dispatcher/tls.h
-@@ -81,7 +81,7 @@ struct BASE_EXPORT MMapAllocator {
+@@ -86,7 +86,7 @@ struct BASE_EXPORT MMapAllocator {
constexpr static size_t AllocationChunkSize = 16384;
#elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS)
constexpr static size_t AllocationChunkSize = 16384;
diff --git a/www/iridium/files/patch-base_allocator_partition__alloc__features.cc b/www/iridium/files/patch-base_allocator_partition__alloc__features.cc
index 0cb21b8de789..e14c0e549e8b 100644
--- a/www/iridium/files/patch-base_allocator_partition__alloc__features.cc
+++ b/www/iridium/files/patch-base_allocator_partition__alloc__features.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_alloc_features.cc.orig 2025-06-19 07:37:57 UTC
+--- base/allocator/partition_alloc_features.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_alloc_features.cc
-@@ -164,7 +164,7 @@ BASE_FEATURE(kPartitionAllocEventuallyZeroFreedMemory,
+@@ -154,7 +154,7 @@ BASE_FEATURE(kPartitionAllocEventuallyZeroFreedMemory,
// disabled elsewhere (for now). Does not apply to Windows.
BASE_FEATURE(kPartitionAllocFewerMemoryRegions,
"PartitionAllocFewerMemoryRegions",
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
index 52906fc0873e..7ad7d18fac39 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
@@ -1,24 +1,15 @@
---- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-06-19 07:37:57 UTC
+--- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/partition_alloc.gni
-@@ -91,7 +91,7 @@ if (is_nacl) {
+@@ -87,7 +87,7 @@ if (current_cpu == "x64" || current_cpu == "arm64" ||
# TODO(crbug.com/329199197): Clean this up when experiments are complete.
use_large_empty_slot_span_ring = true
-has_memory_tagging = current_cpu == "arm64" && is_clang && !is_asan &&
-+has_memory_tagging = current_cpu == "arm64" && is_clang && !is_asan && !is_bsd &&
++has_memory_tagging = current_cpu == "arm64" && !is_bsd && is_clang && !is_asan &&
!is_hwasan && (is_linux || is_android)
declare_args() {
-@@ -353,7 +353,7 @@ declare_args() {
- declare_args() {
- # Shadow metadata is still under development and only supports Linux
- # for now.
-- enable_shadow_metadata = is_linux && has_64_bit_pointers
-+ enable_shadow_metadata = !is_bsd && is_linux && has_64_bit_pointers
- }
-
- declare_args() {
-@@ -496,7 +496,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl
+@@ -493,7 +493,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl
# dependencies that use partition_allocator are compiled in AOSP against a
# version of glibc that does not include pkeys syscall numbers.
is_pkeys_available =
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
index 7793cf8273ca..81f3fc82038d 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn
-@@ -893,7 +893,7 @@ if (is_clang_or_gcc) {
+@@ -906,7 +906,7 @@ if (is_clang_or_gcc) {
configs -= [ partition_alloc_enable_arc_config ]
}
}
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
index 7495c5d6966a..e434c1df7ac1 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h
-@@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) {
+@@ -43,7 +43,7 @@ AslrMask(uintptr_t bits) {
#if PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)
@@ -9,7 +9,7 @@
// We shouldn't allocate system pages at all for sanitizer builds. However,
// we do, and if random hint addresses interfere with address ranges
-@@ -125,7 +125,7 @@ AslrMask(uintptr_t bits) {
+@@ -130,7 +130,7 @@ AslrMask(uintptr_t bits) {
return AslrAddress(0x20000000ULL);
}
#elif PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
index 158652b60e83..0067d6386caa 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator.h
-@@ -269,7 +269,7 @@ bool DecommitAndZeroSystemPages(void* address,
+@@ -278,7 +278,7 @@ bool DecommitAndZeroSystemPages(void* address,
// recommitted. Do not assume that this will not change over time.
constexpr PA_COMPONENT_EXPORT(
PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() {
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
index 84334dd9e009..63c67bb7f159 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h
-@@ -26,8 +26,8 @@
+@@ -31,8 +31,8 @@
#define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const))
#elif (PA_BUILDFLAG(IS_ANDROID) && PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)) || \
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
index 3c07c6efa8f1..6b2d88baca3e 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc
-@@ -39,7 +39,7 @@ uint32_t SecTaskGetCodeSignStatus(SecTaskRef task) API
+@@ -44,7 +44,7 @@ uint32_t SecTaskGetCodeSignStatus(SecTaskRef task) API
#if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \
(defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && \
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
index 68a7f5566b72..00cf19270b33 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-06-19 07:37:57 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h
-@@ -317,8 +317,12 @@ bool TryRecommitSystemPagesInternal(
+@@ -322,8 +322,12 @@ bool TryRecommitSystemPagesInternal(
void DiscardSystemPagesInternal(uintptr_t address, size_t length) {
void* ptr = reinterpret_cast<void*>(address);
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
index 326a01c5f105..6327263fec62 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc
-@@ -13,11 +13,11 @@
+@@ -18,11 +18,11 @@
#include "partition_alloc/partition_alloc_base/posix/eintr_wrapper.h"
#include "partition_alloc/partition_alloc_base/strings/safe_sprintf.h"
@@ -14,7 +14,7 @@
#include <dlfcn.h>
#endif
-@@ -25,7 +25,7 @@ namespace partition_alloc::internal::base::debug {
+@@ -30,7 +30,7 @@ namespace partition_alloc::internal::base::debug {
namespace {
@@ -23,7 +23,7 @@
// On Android the 'open' function has two versions:
// int open(const char *pathname, int flags);
-@@ -369,7 +369,7 @@ void PrintStackTraceInternal(const void** trace, size_
+@@ -374,7 +374,7 @@ void PrintStackTraceInternal(const void** trace, size_
}
#endif // !PA_BUILDFLAG(IS_APPLE)
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
index 75a5c7d72301..c6158d6769a0 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc
-@@ -102,6 +102,10 @@ void RandBytes(void* output, size_t output_length) {
+@@ -107,6 +107,10 @@ void RandBytes(void* output, size_t output_length) {
if (getentropy(output, output_length) == 0) {
return;
}
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
index 5e665167939c..6e9f328c2129 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h
-@@ -37,6 +37,8 @@ typedef DWORD PlatformThreadId;
+@@ -43,6 +43,8 @@ typedef DWORD PlatformThreadId;
typedef zx_handle_t PlatformThreadId;
#elif PA_BUILDFLAG(IS_APPLE)
typedef mach_port_t PlatformThreadId;
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
index 5eae6d36b896..005c82e7bee5 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h
-@@ -10,7 +10,7 @@
+@@ -15,7 +15,7 @@
namespace partition_alloc::internal::base::internal {
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
index 73cfc961e32d..5fc1eee444c3 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc
-@@ -18,7 +18,7 @@
+@@ -23,7 +23,7 @@
#include "partition_alloc/partition_alloc_base/logging.h"
#include "partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h"
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
index e38f4d95e771..434c2c3b67a1 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
@@ -1,15 +1,15 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h
-@@ -170,7 +170,7 @@ constexpr bool kUseLazyCommit = false;
+@@ -169,7 +169,7 @@ constexpr bool kUseLazyCommit = false;
// This may be required on more platforms in the future.
#define PA_CONFIG_HAS_ATFORK_HANDLER() \
(PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_LINUX) || \
- PA_BUILDFLAG(IS_CHROMEOS))
+ PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD))
- // Enable shadow metadata.
- //
-@@ -233,7 +233,7 @@ constexpr bool kUseLazyCommit = false;
+ #if PA_BUILDFLAG(MOVE_METADATA_OUT_OF_GIGACAGE_FOR_64_BITS_POINTERS) && \
+ PA_BUILDFLAG(HAS_64_BIT_POINTERS)
+@@ -226,7 +226,7 @@ constexpr bool kUseLazyCommit = false;
// Also enabled on ARM64 macOS and iOS, as the 16kiB pages on this platform lead
// to larger slot spans.
#if PA_BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
index b08d12e6b1ac..bd9ea21cb574 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-06-19 07:37:57 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
-@@ -312,7 +312,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask);
+@@ -313,7 +313,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask);
// 8GB for each of the glued pools).
#if PA_BUILDFLAG(HAS_64_BIT_POINTERS)
#if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_IOS) || \
@@ -9,7 +9,7 @@
constexpr size_t kPoolMaxSize = 8 * kGiB;
#else
constexpr size_t kPoolMaxSize = 16 * kGiB;
-@@ -429,7 +429,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() {
+@@ -397,7 +397,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() {
// TODO(casey.smalley@arm.com): under 64k pages we can end up in a situation
// where a normal slot span will be large enough to contain multiple items,
// but the address will go over the final partition page after being aligned.
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h
index afb1a5e2b155..93a420ad89e7 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h
@@ -1,16 +1,16 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_forward.h.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_forward.h.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_forward.h
-@@ -28,9 +28,13 @@ namespace internal {
+@@ -34,9 +34,13 @@ namespace internal {
// the second one 16. We could technically return something different for
// malloc() and operator new(), but this would complicate things, and most of
// our allocations are presumably coming from operator new() anyway.
+#if defined(__i386__) && defined(OS_FREEBSD)
+constexpr size_t kAlignment = 8;
+#else
- constexpr size_t kAlignment =
+ constexpr inline size_t kAlignment =
std::max(alignof(max_align_t),
static_cast<size_t>(__STDCPP_DEFAULT_NEW_ALIGNMENT__));
+#endif
+ static_assert(base::bits::HasSingleBit(kAlignment),
+ "Alignment must be power of two.");
static_assert(kAlignment <= 16,
- "PartitionAlloc doesn't support a fundamental alignment larger "
- "than 16 bytes.");
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
index e005703ec407..534c3fb96044 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
@@ -1,15 +1,15 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-06-19 07:37:57 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc
-@@ -45,7 +45,7 @@
+@@ -51,7 +51,7 @@
#include "wow64apiset.h"
#endif
-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
+#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
#include <pthread.h>
- #if PA_CONFIG(ENABLE_SHADOW_METADATA)
- #include <sys/mman.h>
-@@ -298,7 +298,7 @@ void PartitionAllocMallocInitOnce() {
+ #endif // PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
+
+@@ -300,7 +300,7 @@ void PartitionAllocMallocInitOnce() {
return;
}
@@ -18,7 +18,7 @@
// When fork() is called, only the current thread continues to execute in the
// child process. If the lock is held, but *not* by this thread when fork() is
// called, we have a deadlock.
-@@ -1118,7 +1118,7 @@ void PartitionRoot::Init(PartitionOptions opts) {
+@@ -1006,7 +1006,7 @@ void PartitionRoot::Init(PartitionOptions opts) {
// apple OSes.
PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) ||
(internal::SystemPageSize() == (size_t{1} << 14)));
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h
new file mode 100644
index 000000000000..77173952b00f
--- /dev/null
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h
@@ -0,0 +1,11 @@
+--- base/allocator/partition_allocator/src/partition_alloc/partition_root.h.orig 2025-09-11 13:19:19 UTC
++++ base/allocator/partition_allocator/src/partition_alloc/partition_root.h
+@@ -197,7 +197,7 @@ struct PartitionOptions {
+ // system to configure PartitionAlloc.
+ EnableToggle fewer_memory_regions =
+ #if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_ANDROID) || \
+- PA_BUILDFLAG(IS_CHROMEOS)
++ PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
+ kEnabled;
+ #else
+ kDisabled;
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc
index 9d854ce00f7b..86f2ce015bda 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2025-06-19 07:37:57 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc
-@@ -19,7 +19,16 @@
+@@ -24,7 +24,16 @@
#endif
#if PA_CONFIG(HAS_LINUX_KERNEL)
@@ -17,7 +17,7 @@
#include <sys/syscall.h>
#include <unistd.h>
-@@ -92,8 +101,16 @@ PA_ALWAYS_INLINE long FutexSyscall(volatile void* ftx,
+@@ -97,8 +106,16 @@ PA_ALWAYS_INLINE long FutexSyscall(volatile void* ftx,
int saved_errno = errno;
errno = 0;
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
index 87a385e64194..d9a027987173 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc
-@@ -18,6 +18,10 @@
+@@ -23,6 +23,10 @@
#include <pthread.h>
#endif
@@ -11,7 +11,7 @@
#if PA_BUILDFLAG(PA_LIBC_GLIBC)
extern "C" void* __libc_stack_end;
#endif
-@@ -48,6 +52,36 @@ void* GetStackTop() {
+@@ -53,6 +57,36 @@ void* GetStackTop() {
void* GetStackTop() {
return pthread_get_stackaddr_np(pthread_self());
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
index 66ac3670bf95..08c246afa4b2 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2025-05-07 06:48:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2025-09-11 13:19:19 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc
-@@ -16,7 +16,7 @@
+@@ -21,7 +21,7 @@
#include "partition_alloc/partition_alloc_check.h"
#include "partition_alloc/thread_isolation/thread_isolation.h"
diff --git a/www/iridium/files/patch-base_atomicops.h b/www/iridium/files/patch-base_atomicops.h
index cd82ea50bdf8..e99bb73df52a 100644
--- a/www/iridium/files/patch-base_atomicops.h
+++ b/www/iridium/files/patch-base_atomicops.h
@@ -1,6 +1,6 @@
---- base/atomicops.h.orig 2025-05-07 06:48:23 UTC
+--- base/atomicops.h.orig 2025-09-11 13:19:19 UTC
+++ base/atomicops.h
-@@ -74,7 +74,11 @@ typedef intptr_t Atomic64;
+@@ -72,7 +72,11 @@ typedef intptr_t Atomic64;
// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
// Atomic64 routines below, depending on your architecture.
diff --git a/www/iridium/files/patch-base_compiler__specific.h b/www/iridium/files/patch-base_compiler__specific.h
index 01bf015fe27c..79ea3c2a5fc3 100644
--- a/www/iridium/files/patch-base_compiler__specific.h
+++ b/www/iridium/files/patch-base_compiler__specific.h
@@ -1,6 +1,6 @@
---- base/compiler_specific.h.orig 2025-05-07 06:48:23 UTC
+--- base/compiler_specific.h.orig 2025-09-11 13:19:19 UTC
+++ base/compiler_specific.h
-@@ -729,6 +729,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
+@@ -733,6 +733,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
#if __has_cpp_attribute(clang::preserve_most) && \
(defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
!defined(COMPONENT_BUILD) && \
diff --git a/www/iridium/files/patch-base_debug_debugger__posix.cc b/www/iridium/files/patch-base_debug_debugger__posix.cc
index 385cf6935b92..719f24035763 100644
--- a/www/iridium/files/patch-base_debug_debugger__posix.cc
+++ b/www/iridium/files/patch-base_debug_debugger__posix.cc
@@ -1,6 +1,6 @@
---- base/debug/debugger_posix.cc.orig 2025-06-19 07:37:57 UTC
+--- base/debug/debugger_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/debug/debugger_posix.cc
-@@ -42,6 +42,10 @@
+@@ -38,6 +38,10 @@
#include <sys/sysctl.h>
#endif
@@ -11,7 +11,7 @@
#if BUILDFLAG(IS_FREEBSD)
#include <sys/user.h>
#endif
-@@ -100,33 +104,52 @@ bool BeingDebugged() {
+@@ -96,33 +100,52 @@ bool BeingDebugged() {
// Caution: struct kinfo_proc is marked __APPLE_API_UNSTABLE. The source and
// binary interfaces may change.
diff --git a/www/iridium/files/patch-base_debug_stack__trace__posix.cc b/www/iridium/files/patch-base_debug_stack__trace__posix.cc
index 09c594ca30f6..b6b43f4a2e55 100644
--- a/www/iridium/files/patch-base_debug_stack__trace__posix.cc
+++ b/www/iridium/files/patch-base_debug_stack__trace__posix.cc
@@ -1,4 +1,4 @@
---- base/debug/stack_trace_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/debug/stack_trace_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/debug/stack_trace_posix.cc
@@ -51,7 +51,7 @@
// execinfo.h and backtrace(3) are really only present in glibc and in macOS
@@ -21,7 +21,7 @@
#include "base/debug/proc_maps_linux.h"
#endif
-@@ -329,7 +331,7 @@ void PrintToStderr(const char* output) {
+@@ -327,7 +329,7 @@ void PrintToStderr(const char* output) {
std::ignore = HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output)));
}
@@ -30,7 +30,7 @@
void AlarmSignalHandler(int signal, siginfo_t* info, void* void_context) {
// We have seen rare cases on AMD linux where the default signal handler
// either does not run or a thread (Probably an AMD driver thread) prevents
-@@ -346,7 +348,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v
+@@ -344,7 +346,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v
"Warning: Default signal handler failed to terminate process.\n");
PrintToStderr("Calling exit_group() directly to prevent timeout.\n");
// See: https://man7.org/linux/man-pages/man2/exit_group.2.html
@@ -42,7 +42,7 @@
}
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -552,7 +558,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -548,7 +554,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
_exit(EXIT_FAILURE);
}
@@ -51,7 +51,7 @@
// Set an alarm to trigger in case the default handler does not terminate
// the process. See 'AlarmSignalHandler' for more details.
struct sigaction action;
-@@ -577,6 +583,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -573,6 +579,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
// signals that do not re-raise autonomously), such as signals delivered via
// kill() and asynchronous hardware faults such as SEGV_MTEAERR, which would
// otherwise be lost when re-raising the signal via raise().
@@ -59,7 +59,7 @@
long retval = syscall(SYS_rt_tgsigqueueinfo, getpid(), syscall(SYS_gettid),
info->si_signo, info);
if (retval == 0) {
-@@ -591,6 +598,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -587,6 +594,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
if (errno != EPERM) {
_exit(EXIT_FAILURE);
}
@@ -67,7 +67,7 @@
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -783,6 +791,7 @@ class SandboxSymbolizeHelper {
+@@ -779,6 +787,7 @@ class SandboxSymbolizeHelper {
return -1;
}
@@ -75,7 +75,7 @@
// This class is copied from
// third_party/crashpad/crashpad/util/linux/scoped_pr_set_dumpable.h.
// It aims at ensuring the process is dumpable before opening /proc/self/mem.
-@@ -875,11 +884,15 @@ class SandboxSymbolizeHelper {
+@@ -871,11 +880,15 @@ class SandboxSymbolizeHelper {
r.base = cur_base;
}
}
@@ -91,7 +91,7 @@
// Reads /proc/self/maps.
std::string contents;
if (!ReadProcMaps(&contents)) {
-@@ -897,6 +910,7 @@ class SandboxSymbolizeHelper {
+@@ -893,6 +906,7 @@ class SandboxSymbolizeHelper {
is_initialized_ = true;
return true;
diff --git a/www/iridium/files/patch-base_files_file__util__posix.cc b/www/iridium/files/patch-base_files_file__util__posix.cc
index 60e03248a5c4..fa471425dbb3 100644
--- a/www/iridium/files/patch-base_files_file__util__posix.cc
+++ b/www/iridium/files/patch-base_files_file__util__posix.cc
@@ -1,6 +1,6 @@
---- base/files/file_util_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/files/file_util_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/files/file_util_posix.cc
-@@ -934,6 +934,7 @@ bool CreateNewTempDirectory(const FilePath::StringType
+@@ -941,6 +941,7 @@ bool CreateNewTempDirectory(const FilePath::StringType
bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) {
ScopedBlockingCall scoped_blocking_call(
FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir().
@@ -8,7 +8,7 @@
// Avoid checking subdirs if directory already exists.
if (DirectoryExists(full_path)) {
-@@ -943,8 +944,8 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
+@@ -950,8 +951,8 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
// Collect a list of all missing directories.
std::vector<FilePath> missing_subpaths({full_path});
FilePath last_path = full_path;
@@ -19,11 +19,11 @@
if (DirectoryExists(path)) {
break;
}
-@@ -962,21 +963,14 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
+@@ -969,21 +970,14 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
}
#endif // BUILDFLAG(IS_CHROMEOS)
-- if (mkdir(subpath.value().c_str(), mode) == 0) {
+- if (File::Mkdir(subpath, mode) == 0) {
- continue;
- }
- // Mkdir failed, but it might have failed with EEXIST, or some other error
diff --git a/www/iridium/files/patch-base_files_file__util__unittest.cc b/www/iridium/files/patch-base_files_file__util__unittest.cc
index 0da4c991499a..9be0bc93987f 100644
--- a/www/iridium/files/patch-base_files_file__util__unittest.cc
+++ b/www/iridium/files/patch-base_files_file__util__unittest.cc
@@ -1,6 +1,6 @@
---- base/files/file_util_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- base/files/file_util_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ base/files/file_util_unittest.cc
-@@ -3920,7 +3920,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
+@@ -4101,7 +4101,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
}
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) {
FilePath file_path("/proc/cpuinfo");
std::string data = "temp";
-@@ -4505,6 +4505,19 @@ TEST_F(FileUtilTest, CreateDirectoryOnlyCheckMissingSu
+@@ -4686,6 +4686,19 @@ TEST_F(FileUtilTest, CreateDirectoryOnlyCheckMissingSu
#endif // BUILDFLAG(IS_ANDROID)
@@ -29,7 +29,7 @@
#if BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
defined(ARCH_CPU_32_BITS)
// TODO(crbug.com/327582285): Re-enable these tests. They may be failing due to
-@@ -4671,7 +4684,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
+@@ -4852,7 +4865,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
NULL);
#else
size_t bytes_written =
diff --git a/www/iridium/files/patch-base_i18n_icu__util.cc b/www/iridium/files/patch-base_i18n_icu__util.cc
index 5db923b197a7..f1d008ba584a 100644
--- a/www/iridium/files/patch-base_i18n_icu__util.cc
+++ b/www/iridium/files/patch-base_i18n_icu__util.cc
@@ -1,6 +1,6 @@
---- base/i18n/icu_util.cc.orig 2025-05-07 06:48:23 UTC
+--- base/i18n/icu_util.cc.orig 2025-09-11 13:19:19 UTC
+++ base/i18n/icu_util.cc
-@@ -53,7 +53,7 @@
+@@ -52,7 +52,7 @@
#include "third_party/icu/source/common/unicode/unistr.h"
#endif
@@ -9,12 +9,12 @@
BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS))
#include "third_party/icu/source/i18n/unicode/timezone.h"
#endif
-@@ -329,7 +329,7 @@ void InitializeIcuTimeZone() {
+@@ -318,7 +318,7 @@ void InitializeIcuTimeZone() {
FuchsiaIntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization();
icu::TimeZone::adoptDefault(
icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id)));
--#elif BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS))
-+#elif BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_CHROMEOS) || \
++#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) || \
+ (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || BUILDFLAG(IS_ANDROID)
// To respond to the time zone change properly, the default time zone
// cache in ICU has to be populated on starting up.
- // See TimeZoneMonitorLinux::NotifyClientsFromImpl().
diff --git a/www/iridium/files/patch-base_memory_madv__free__discardable__memory__posix.cc b/www/iridium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
index b6e96536f8a4..889814b88c88 100644
--- a/www/iridium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
+++ b/www/iridium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
@@ -1,6 +1,6 @@
---- base/memory/madv_free_discardable_memory_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/memory/madv_free_discardable_memory_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/memory/madv_free_discardable_memory_posix.cc
-@@ -305,6 +305,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
+@@ -298,6 +298,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
bool MadvFreeDiscardableMemoryPosix::IsResident() const {
DFAKE_SCOPED_RECURSIVE_LOCK(thread_collision_warner_);
@@ -11,7 +11,7 @@
#if BUILDFLAG(IS_APPLE)
std::vector<char> vec(allocated_pages_);
#else
-@@ -321,6 +325,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons
+@@ -314,6 +318,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons
}
}
return true;
diff --git a/www/iridium/files/patch-base_memory_platform__shared__memory__region.h b/www/iridium/files/patch-base_memory_platform__shared__memory__region.h
index 5cba7eb3ee0e..3259c61c9cd5 100644
--- a/www/iridium/files/patch-base_memory_platform__shared__memory__region.h
+++ b/www/iridium/files/patch-base_memory_platform__shared__memory__region.h
@@ -1,6 +1,6 @@
---- base/memory/platform_shared_memory_region.h.orig 2025-06-19 07:37:57 UTC
+--- base/memory/platform_shared_memory_region.h.orig 2025-09-11 13:19:19 UTC
+++ base/memory/platform_shared_memory_region.h
-@@ -18,7 +18,7 @@
+@@ -19,7 +19,7 @@
#include "base/unguessable_token.h"
#include "build/build_config.h"
@@ -9,7 +9,7 @@
namespace content {
class SandboxIPCHandler;
}
-@@ -85,7 +85,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+@@ -86,7 +86,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
kMaxValue = GET_SHMEM_TEMP_DIR_FAILURE
};
@@ -18,16 +18,7 @@
// Structure to limit access to executable region creation.
struct ExecutableRegion {
private:
-@@ -217,7 +217,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
- CheckPlatformHandlePermissionsCorrespondToMode);
- static PlatformSharedMemoryRegion Create(Mode mode,
- size_t size
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- ,
- bool executable = false
- #endif
-@@ -236,7 +236,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+@@ -125,7 +125,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
#if BUILDFLAG(IS_FUCHSIA)
kNotVmo,
#endif
@@ -36,3 +27,12 @@
kFcntlFailed,
kReadOnlyFdNotReadOnly,
kUnexpectedReadOnlyFd,
+@@ -256,7 +256,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+ CheckPlatformHandlePermissionsCorrespondToMode);
+ static PlatformSharedMemoryRegion Create(Mode mode,
+ size_t size
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ ,
+ bool executable = false
+ #endif
diff --git a/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc b/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc
index 532a09a3053e..e671d6171bf1 100644
--- a/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc
+++ b/www/iridium/files/patch-base_memory_platform__shared__memory__region__posix.cc
@@ -1,6 +1,6 @@
---- base/memory/platform_shared_memory_region_posix.cc.orig 2025-06-19 07:37:57 UTC
+--- base/memory/platform_shared_memory_region_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/memory/platform_shared_memory_region_posix.cc
-@@ -61,7 +61,7 @@ std::optional<FDAccessModeError> CheckFDAccessMode(int
+@@ -59,7 +59,7 @@ std::optional<FDAccessModeError> CheckFDAccessMode(int
} // namespace
@@ -9,7 +9,7 @@
// static
ScopedFD PlatformSharedMemoryRegion::ExecutableRegion::CreateFD(size_t size) {
PlatformSharedMemoryRegion region =
-@@ -183,7 +183,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() {
+@@ -184,7 +184,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() {
// static
PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Create(Mode mode,
size_t size
@@ -18,7 +18,7 @@
,
bool executable
#endif
-@@ -212,7 +212,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion:
+@@ -209,7 +209,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion:
// flag.
FilePath directory;
if (!GetShmemTempDir(
diff --git a/www/iridium/files/patch-base_message__loop_message__pump__epoll.cc b/www/iridium/files/patch-base_message__loop_message__pump__epoll.cc
index 9a277ceecc4c..09df04ad4c43 100644
--- a/www/iridium/files/patch-base_message__loop_message__pump__epoll.cc
+++ b/www/iridium/files/patch-base_message__loop_message__pump__epoll.cc
@@ -1,6 +1,6 @@
---- base/message_loop/message_pump_epoll.cc.orig 2025-05-07 06:48:23 UTC
+--- base/message_loop/message_pump_epoll.cc.orig 2025-09-11 13:19:19 UTC
+++ base/message_loop/message_pump_epoll.cc
-@@ -47,7 +47,7 @@ std::atomic_bool g_use_batched_version = false;
+@@ -49,7 +49,7 @@ std::atomic_bool g_use_batched_version = false;
std::atomic_bool g_use_poll = false;
constexpr std::pair<uint32_t, short int> kEpollToPollEvents[] = {
diff --git a/www/iridium/files/patch-base_posix_unix__domain__socket.cc b/www/iridium/files/patch-base_posix_unix__domain__socket.cc
index 456bfe0d6145..e2e4e122afac 100644
--- a/www/iridium/files/patch-base_posix_unix__domain__socket.cc
+++ b/www/iridium/files/patch-base_posix_unix__domain__socket.cc
@@ -1,6 +1,14 @@
---- base/posix/unix_domain_socket.cc.orig 2025-05-07 06:48:23 UTC
+--- base/posix/unix_domain_socket.cc.orig 2025-09-11 13:19:19 UTC
+++ base/posix/unix_domain_socket.cc
-@@ -47,7 +47,7 @@ bool CreateSocketPair(ScopedFD* one, ScopedFD* two) {
+@@ -20,6 +20,7 @@
+ #include "base/files/scoped_file.h"
+ #include "base/logging.h"
+ #include "base/notreached.h"
++#include "base/notimplemented.h"
+ #include "base/numerics/safe_conversions.h"
+ #include "base/pickle.h"
+ #include "base/posix/eintr_wrapper.h"
+@@ -47,7 +48,7 @@ bool CreateSocketPair(ScopedFD* one, ScopedFD* two) {
// static
bool UnixDomainSocket::EnableReceiveProcessId(int fd) {
@@ -9,7 +17,7 @@
const int enable = 1;
return setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &enable, sizeof(enable)) == 0;
#else
-@@ -73,7 +73,7 @@ bool UnixDomainSocket::SendMsg(int fd,
+@@ -73,7 +74,7 @@ bool UnixDomainSocket::SendMsg(int fd,
struct cmsghdr* cmsg;
msg.msg_control = control_buffer;
@@ -18,7 +26,7 @@
msg.msg_controllen = checked_cast<socklen_t>(control_len);
#else
msg.msg_controllen = control_len;
-@@ -81,7 +81,7 @@ bool UnixDomainSocket::SendMsg(int fd,
+@@ -81,7 +82,7 @@ bool UnixDomainSocket::SendMsg(int fd,
cmsg = CMSG_FIRSTHDR(&msg);
cmsg->cmsg_level = SOL_SOCKET;
cmsg->cmsg_type = SCM_RIGHTS;
@@ -27,7 +35,7 @@
cmsg->cmsg_len = checked_cast<u_int>(CMSG_LEN(sizeof(int) * fds.size()));
#else
cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size());
-@@ -133,7 +133,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -133,7 +134,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
const size_t kControlBufferSize =
CMSG_SPACE(sizeof(int) * kMaxFileDescriptors)
@@ -36,7 +44,7 @@
// macOS does not support ucred.
// macOS supports xucred, but this structure is insufficient.
+ CMSG_SPACE(sizeof(struct ucred))
-@@ -162,7 +162,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -162,7 +163,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg));
wire_fds_len = payload_len / sizeof(int);
}
@@ -45,7 +53,7 @@
// macOS does not support SCM_CREDENTIALS.
if (cmsg->cmsg_level == SOL_SOCKET &&
cmsg->cmsg_type == SCM_CREDENTIALS) {
-@@ -199,6 +199,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -199,6 +200,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
if (getsockopt(fd, SOL_LOCAL, LOCAL_PEERPID, &pid, &pid_size) != 0) {
pid = -1;
}
diff --git a/www/iridium/files/patch-base_process_internal__linux.h b/www/iridium/files/patch-base_process_internal__linux.h
index e79601de3817..dd38ea9cd85e 100644
--- a/www/iridium/files/patch-base_process_internal__linux.h
+++ b/www/iridium/files/patch-base_process_internal__linux.h
@@ -1,6 +1,6 @@
---- base/process/internal_linux.h.orig 2025-05-07 06:48:23 UTC
+--- base/process/internal_linux.h.orig 2025-09-11 13:19:19 UTC
+++ base/process/internal_linux.h
-@@ -144,6 +144,9 @@ TimeDelta ClockTicksToTimeDelta(int64_t clock_ticks);
+@@ -146,6 +146,9 @@ TimeDelta ClockTicksToTimeDelta(int64_t clock_ticks);
// arguments to the lambda.
template <typename Lambda>
void ForEachProcessTask(base::ProcessHandle process, Lambda&& lambda) {
@@ -10,7 +10,7 @@
// Iterate through the different threads tracked in /proc/<pid>/task.
FilePath fd_path = GetProcPidDir(process).Append("task");
-@@ -167,6 +170,7 @@ void ForEachProcessTask(base::ProcessHandle process, L
+@@ -169,6 +172,7 @@ void ForEachProcessTask(base::ProcessHandle process, L
FilePath task_path = fd_path.Append(tid_str);
lambda(tid, task_path);
}
diff --git a/www/iridium/files/patch-base_process_launch.h b/www/iridium/files/patch-base_process_launch.h
index ec8a358ff069..4a12b825a474 100644
--- a/www/iridium/files/patch-base_process_launch.h
+++ b/www/iridium/files/patch-base_process_launch.h
@@ -1,6 +1,6 @@
---- base/process/launch.h.orig 2025-06-19 07:37:57 UTC
+--- base/process/launch.h.orig 2025-09-11 13:19:19 UTC
+++ base/process/launch.h
-@@ -245,7 +245,7 @@ struct BASE_EXPORT LaunchOptions {
+@@ -234,7 +234,7 @@ struct BASE_EXPORT LaunchOptions {
bool clear_environment = false;
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
diff --git a/www/iridium/files/patch-base_process_launch__posix.cc b/www/iridium/files/patch-base_process_launch__posix.cc
deleted file mode 100644
index c8a3c3492fb6..000000000000
--- a/www/iridium/files/patch-base_process_launch__posix.cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- base/process/launch_posix.cc.orig 2025-05-07 06:48:23 UTC
-+++ base/process/launch_posix.cc
-@@ -62,6 +62,9 @@
- #error "macOS should use launch_mac.cc"
- #endif
-
-+#if defined(OS_FREEBSD)
-+#pragma weak environ
-+#endif
- extern char** environ;
-
- namespace base {
diff --git a/www/iridium/files/patch-base_process_process__metrics.cc b/www/iridium/files/patch-base_process_process__metrics.cc
index b1252d4feea2..fef4a5ce4b46 100644
--- a/www/iridium/files/patch-base_process_process__metrics.cc
+++ b/www/iridium/files/patch-base_process_process__metrics.cc
@@ -1,4 +1,4 @@
---- base/process/process_metrics.cc.orig 2025-05-07 06:48:23 UTC
+--- base/process/process_metrics.cc.orig 2025-09-11 13:19:19 UTC
+++ base/process/process_metrics.cc
@@ -17,7 +17,7 @@ namespace base {
namespace {
@@ -18,28 +18,17 @@
GetSystemMemoryInfo(&system_metrics.memory_info_);
GetVmStatInfo(&system_metrics.vmstat_info_);
GetSystemDiskInfo(&system_metrics.disk_info_);
-@@ -73,7 +73,7 @@ Value::Dict SystemMetrics::ToDict() const {
- Value::Dict res;
-
- res.Set("committed_memory", static_cast<int>(committed_memory_));
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- Value::Dict meminfo = memory_info_.ToDict();
- meminfo.Merge(vmstat_info_.ToDict());
- res.Set("meminfo", std::move(meminfo));
-@@ -100,7 +100,6 @@ std::unique_ptr<ProcessMetrics> ProcessMetrics::Create
+@@ -79,7 +79,7 @@ std::unique_ptr<ProcessMetrics> ProcessMetrics::Create
#endif // !BUILDFLAG(IS_MAC)
}
-#if !BUILDFLAG(IS_FREEBSD) || !BUILDFLAG(IS_POSIX)
++#if BUILDFLAG(IS_POSIX)
double ProcessMetrics::GetPlatformIndependentCPUUsage(
TimeDelta cumulative_cpu) {
TimeTicks time = TimeTicks::Now();
-@@ -130,10 +129,9 @@ ProcessMetrics::GetPlatformIndependentCPUUsage() {
- return GetPlatformIndependentCPUUsage(cpu_usage);
- });
- }
--#endif
+@@ -112,7 +112,7 @@ ProcessMetrics::GetPlatformIndependentCPUUsage() {
+ #endif
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_AIX)
diff --git a/www/iridium/files/patch-base_process_process__metrics.h b/www/iridium/files/patch-base_process_process__metrics.h
index 20af8ca755f0..325f7cd0dd21 100644
--- a/www/iridium/files/patch-base_process_process__metrics.h
+++ b/www/iridium/files/patch-base_process_process__metrics.h
@@ -1,4 +1,4 @@
---- base/process/process_metrics.h.orig 2025-05-07 06:48:23 UTC
+--- base/process/process_metrics.h.orig 2025-09-11 13:19:19 UTC
+++ base/process/process_metrics.h
@@ -39,7 +39,7 @@
#endif
@@ -68,7 +68,7 @@
// Data about system-wide memory consumption. Values are in KB. Available on
// Windows, Mac, Linux, Android and Chrome OS.
//
-@@ -345,7 +343,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -342,7 +340,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -77,7 +77,7 @@
// This provides an estimate of available memory as described here:
// https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
// NOTE: this is ONLY valid in kernels 3.14 and up. Its value will always
-@@ -360,7 +358,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -357,7 +355,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -86,7 +86,7 @@
int buffers = 0;
int cached = 0;
int active_anon = 0;
-@@ -397,7 +395,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoK
+@@ -394,7 +392,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoK
// BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -95,7 +95,7 @@
// Parse the data found in /proc/<pid>/stat and return the sum of the
// CPU-related ticks. Returns -1 on parse error.
// Exposed for testing.
-@@ -591,7 +589,7 @@ class BASE_EXPORT SystemMetrics {
+@@ -570,7 +568,7 @@ class BASE_EXPORT SystemMetrics {
FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics);
size_t committed_memory_;
diff --git a/www/iridium/files/patch-base_process_process__metrics__freebsd.cc b/www/iridium/files/patch-base_process_process__metrics__freebsd.cc
index 3728f1c06b63..b183a67d8e57 100644
--- a/www/iridium/files/patch-base_process_process__metrics__freebsd.cc
+++ b/www/iridium/files/patch-base_process_process__metrics__freebsd.cc
@@ -1,10 +1,10 @@
---- base/process/process_metrics_freebsd.cc.orig 2025-05-07 06:48:23 UTC
+--- base/process/process_metrics_freebsd.cc.orig 2025-09-11 13:19:19 UTC
+++ base/process/process_metrics_freebsd.cc
@@ -3,41 +3,92 @@
// found in the LICENSE file.
#include "base/process/process_metrics.h"
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
#include <stddef.h>
+#include <sys/types.h>
@@ -104,11 +104,10 @@
}
size_t GetSystemCommitCharge() {
-@@ -64,6 +115,176 @@ size_t GetSystemCommitCharge() {
- pagesize = getpagesize();
+@@ -65,5 +116,118 @@ size_t GetSystemCommitCharge() {
return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize);
-+}
+ }
+
+int64_t GetNumberOfThreads(ProcessHandle process) {
+ // Taken from FreeBSD top (usr.bin/top/machine.c)
@@ -222,62 +221,5 @@
+SystemDiskInfo::SystemDiskInfo(const SystemDiskInfo& other) = default;
+
+SystemDiskInfo& SystemDiskInfo::operator=(const SystemDiskInfo&) = default;
-+
-+Value::Dict SystemDiskInfo::ToDict() const {
-+ Value::Dict res;
-+
-+ // Write out uint64_t variables as doubles.
-+ // Note: this may discard some precision, but for JS there's no other option.
-+ res.Set("reads", static_cast<double>(reads));
-+ res.Set("reads_merged", static_cast<double>(reads_merged));
-+ res.Set("sectors_read", static_cast<double>(sectors_read));
-+ res.Set("read_time", static_cast<double>(read_time));
-+ res.Set("writes", static_cast<double>(writes));
-+ res.Set("writes_merged", static_cast<double>(writes_merged));
-+ res.Set("sectors_written", static_cast<double>(sectors_written));
-+ res.Set("write_time", static_cast<double>(write_time));
-+ res.Set("io", static_cast<double>(io));
-+ res.Set("io_time", static_cast<double>(io_time));
-+ res.Set("weighted_io_time", static_cast<double>(weighted_io_time));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict SystemMemoryInfoKB::ToDict() const {
-+ Value::Dict res;
-+ res.Set("total", total);
-+ res.Set("free", free);
-+ res.Set("available", available);
-+ res.Set("buffers", buffers);
-+ res.Set("cached", cached);
-+ res.Set("active_anon", active_anon);
-+ res.Set("inactive_anon", inactive_anon);
-+ res.Set("active_file", active_file);
-+ res.Set("inactive_file", inactive_file);
-+ res.Set("swap_total", swap_total);
-+ res.Set("swap_free", swap_free);
-+ res.Set("swap_used", swap_total - swap_free);
-+ res.Set("dirty", dirty);
-+ res.Set("reclaimable", reclaimable);
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict VmStatInfo::ToDict() const {
-+ Value::Dict res;
-+ // TODO(crbug.com/1334256): Make base::Value able to hold uint64_t and remove
-+ // casts below.
-+ res.Set("pswpin", static_cast<int>(pswpin));
-+ res.Set("pswpout", static_cast<int>(pswpout));
-+ res.Set("pgmajfault", static_cast<int>(pgmajfault));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
- }
} // namespace base
diff --git a/www/iridium/files/patch-base_process_process__metrics__openbsd.cc b/www/iridium/files/patch-base_process_process__metrics__openbsd.cc
index a75f43c8443e..f33de0efc824 100644
--- a/www/iridium/files/patch-base_process_process__metrics__openbsd.cc
+++ b/www/iridium/files/patch-base_process_process__metrics__openbsd.cc
@@ -1,4 +1,4 @@
---- base/process/process_metrics_openbsd.cc.orig 2025-05-07 06:48:23 UTC
+--- base/process/process_metrics_openbsd.cc.orig 2025-09-11 13:19:19 UTC
+++ base/process/process_metrics_openbsd.cc
@@ -6,73 +6,85 @@
@@ -14,7 +14,7 @@
#include "base/memory/ptr_util.h"
#include "base/types/expected.h"
+#include "base/values.h"
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
namespace base {
@@ -122,7 +122,7 @@
struct vmtotal vmtotal;
unsigned long mem_total, mem_free, mem_inactive;
size_t len = sizeof(vmtotal);
-@@ -85,9 +97,115 @@ size_t GetSystemCommitCharge() {
+@@ -85,9 +97,60 @@ size_t GetSystemCommitCharge() {
mem_free = vmtotal.t_free;
mem_inactive = vmtotal.t_vm - vmtotal.t_avm;
@@ -130,7 +130,7 @@
+ pagesize = checked_cast<size_t>(getpagesize());
return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize);
-+}
+ }
+
+int ProcessMetrics::GetOpenFdCount() const {
+ return (process_ == getpid()) ? getdtablecount() : -1;
@@ -146,7 +146,7 @@
+}
+
+bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
-+ NOTIMPLEMENTED_LOG_ONCE();
++ NOTIMPLEMENTED();
+ return false;
+}
+
@@ -165,39 +165,6 @@
+ return 0;
+}
+
-+Value::Dict SystemMemoryInfoKB::ToDict() const {
-+ Value::Dict res;
-+ res.Set("total", total);
-+ res.Set("free", free);
-+ res.Set("available", available);
-+ res.Set("buffers", buffers);
-+ res.Set("cached", cached);
-+ res.Set("active_anon", active_anon);
-+ res.Set("inactive_anon", inactive_anon);
-+ res.Set("active_file", active_file);
-+ res.Set("inactive_file", inactive_file);
-+ res.Set("swap_total", swap_total);
-+ res.Set("swap_free", swap_free);
-+ res.Set("swap_used", swap_total - swap_free);
-+ res.Set("dirty", dirty);
-+ res.Set("reclaimable", reclaimable);
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict VmStatInfo::ToDict() const {
-+ Value::Dict res;
-+ res.Set("pswpin", static_cast<int>(pswpin));
-+ res.Set("pswpout", static_cast<int>(pswpout));
-+ res.Set("pgmajfault", static_cast<int>(pgmajfault));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
+SystemDiskInfo::SystemDiskInfo() {
+ reads = 0;
+ reads_merged = 0;
@@ -215,27 +182,5 @@
+SystemDiskInfo::SystemDiskInfo(const SystemDiskInfo&) = default;
+
+SystemDiskInfo& SystemDiskInfo::operator=(const SystemDiskInfo&) = default;
-+
-+Value::Dict SystemDiskInfo::ToDict() const {
-+ Value::Dict res;
-+
-+ // Write out uint64_t variables as doubles.
-+ // Note: this may discard some precision, but for JS there's no other option.
-+ res.Set("reads", static_cast<double>(reads));
-+ res.Set("reads_merged", static_cast<double>(reads_merged));
-+ res.Set("sectors_read", static_cast<double>(sectors_read));
-+ res.Set("read_time", static_cast<double>(read_time));
-+ res.Set("writes", static_cast<double>(writes));
-+ res.Set("writes_merged", static_cast<double>(writes_merged));
-+ res.Set("sectors_written", static_cast<double>(sectors_written));
-+ res.Set("write_time", static_cast<double>(write_time));
-+ res.Set("io", static_cast<double>(io));
-+ res.Set("io_time", static_cast<double>(io_time));
-+ res.Set("weighted_io_time", static_cast<double>(weighted_io_time));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
- }
} // namespace base
diff --git a/www/iridium/files/patch-base_process_process__posix.cc b/www/iridium/files/patch-base_process_process__posix.cc
index 30bc28db0f29..b1a3d89f764d 100644
--- a/www/iridium/files/patch-base_process_process__posix.cc
+++ b/www/iridium/files/patch-base_process_process__posix.cc
@@ -1,7 +1,7 @@
---- base/process/process_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/process/process_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/process/process_posix.cc
-@@ -23,10 +23,15 @@
- #include "base/trace_event/base_tracing.h"
+@@ -25,10 +25,15 @@
+ #include "base/trace_event/trace_event.h"
#include "build/build_config.h"
-#if BUILDFLAG(IS_MAC)
@@ -17,7 +17,7 @@
#if BUILDFLAG(CLANG_PROFILING)
#include "base/test/clang_profiling.h"
#endif
-@@ -100,7 +105,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle,
+@@ -104,7 +109,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle,
}
#endif
@@ -26,7 +26,7 @@
// Using kqueue on Mac so that we can wait on non-child processes.
// We can't use kqueues on child processes because we need to reap
// our own children using wait.
-@@ -379,7 +384,7 @@ bool Process::WaitForExitWithTimeoutImpl(base::Process
+@@ -387,7 +392,7 @@ bool Process::WaitForExitWithTimeoutImpl(base::Process
const bool exited = (parent_pid < 0);
if (!exited && parent_pid != our_pid) {
@@ -35,7 +35,7 @@
// On Mac we can wait on non child processes.
return WaitForSingleNonChildProcess(handle, timeout);
#else
-@@ -416,7 +421,56 @@ void Process::Exited(int exit_code) const {
+@@ -424,7 +429,56 @@ void Process::Exited(int exit_code) const {
int Process::GetOSPriority() const {
DCHECK(IsValid());
diff --git a/www/iridium/files/patch-base_rand__util__posix.cc b/www/iridium/files/patch-base_rand__util__posix.cc
index 751d23d50a91..431914ec5c84 100644
--- a/www/iridium/files/patch-base_rand__util__posix.cc
+++ b/www/iridium/files/patch-base_rand__util__posix.cc
@@ -1,15 +1,15 @@
---- base/rand_util_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/rand_util_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/rand_util_posix.cc
-@@ -29,7 +29,7 @@
- #include "base/time/time.h"
+@@ -30,7 +30,7 @@
#include "build/build_config.h"
+ #include "third_party/boringssl/src/include/openssl/rand.h"
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_NACL)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
#include "third_party/lss/linux_syscall_support.h"
#elif BUILDFLAG(IS_MAC)
// TODO(crbug.com/40641285): Waiting for this header to appear in the iOS SDK.
-@@ -45,6 +45,7 @@ namespace base {
+@@ -42,6 +42,7 @@ namespace base {
namespace {
@@ -17,28 +17,26 @@
#if BUILDFLAG(IS_AIX)
// AIX has no 64-bit support for O_CLOEXEC.
static constexpr int kOpenFlags = O_RDONLY;
-@@ -69,10 +70,11 @@ class URandomFd {
+@@ -66,8 +67,9 @@ class URandomFd {
private:
const int fd_;
};
+#endif
- #if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_ANDROID)) && \
-- !BUILDFLAG(IS_NACL)
-+ !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) && !BUILDFLAG(IS_BSD)
bool KernelSupportsGetRandom() {
return base::SysInfo::KernelVersionNumber::Current() >=
-@@ -129,6 +131,7 @@ bool UseBoringSSLForRandBytes() {
+@@ -122,6 +124,7 @@ bool UseBoringSSLForRandBytes() {
namespace {
void RandBytesInternal(span<uint8_t> output, bool avoid_allocation) {
+#if !BUILDFLAG(IS_BSD)
- #if !BUILDFLAG(IS_NACL)
// The BoringSSL experiment takes priority over everything else.
if (!avoid_allocation && internal::UseBoringSSLForRandBytes()) {
-@@ -163,6 +166,9 @@ void RandBytesInternal(span<uint8_t> output, bool avoi
+ // BoringSSL's RAND_bytes always returns 1. Any error aborts the program.
+@@ -152,6 +155,9 @@ void RandBytesInternal(span<uint8_t> output, bool avoi
const int urandom_fd = GetUrandomFD();
const bool success = ReadFromFD(urandom_fd, as_writable_chars(output));
CHECK(success);
@@ -48,7 +46,7 @@
}
} // namespace
-@@ -182,9 +188,11 @@ void RandBytes(span<uint8_t> output) {
+@@ -171,9 +177,11 @@ void RandBytes(span<uint8_t> output) {
RandBytesInternal(output, /*avoid_allocation=*/false);
}
diff --git a/www/iridium/files/patch-base_system_sys__info.h b/www/iridium/files/patch-base_system_sys__info.h
index 01e59a4edf86..3cf3261e17d1 100644
--- a/www/iridium/files/patch-base_system_sys__info.h
+++ b/www/iridium/files/patch-base_system_sys__info.h
@@ -1,6 +1,6 @@
---- base/system/sys_info.h.orig 2025-05-07 06:48:23 UTC
+--- base/system/sys_info.h.orig 2025-09-11 13:19:19 UTC
+++ base/system/sys_info.h
-@@ -355,6 +355,8 @@ class BASE_EXPORT SysInfo {
+@@ -360,6 +360,8 @@ class BASE_EXPORT SysInfo {
static void ResetCpuSecurityMitigationsEnabledForTesting();
#endif
@@ -9,7 +9,7 @@
private:
friend class test::ScopedAmountOfPhysicalMemoryOverride;
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
-@@ -367,7 +369,7 @@ class BASE_EXPORT SysInfo {
+@@ -372,7 +374,7 @@ class BASE_EXPORT SysInfo {
static HardwareInfo GetHardwareInfoSync();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/iridium/files/patch-base_system_sys__info__posix.cc b/www/iridium/files/patch-base_system_sys__info__posix.cc
index 12884cf495f8..aac90d40875a 100644
--- a/www/iridium/files/patch-base_system_sys__info__posix.cc
+++ b/www/iridium/files/patch-base_system_sys__info__posix.cc
@@ -1,6 +1,6 @@
---- base/system/sys_info_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/system/sys_info_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/system/sys_info_posix.cc
-@@ -143,7 +143,7 @@ void GetKernelVersionNumbers(int32_t* major_version,
+@@ -144,7 +144,7 @@ void GetKernelVersionNumbers(int32_t* major_version,
namespace base {
@@ -9,7 +9,7 @@
// static
int SysInfo::NumberOfProcessors() {
#if BUILDFLAG(IS_MAC)
-@@ -199,7 +199,7 @@ int SysInfo::NumberOfProcessors() {
+@@ -200,7 +200,7 @@ int SysInfo::NumberOfProcessors() {
return cached_num_cpus;
}
@@ -18,7 +18,7 @@
// static
uint64_t SysInfo::AmountOfVirtualMemory() {
-@@ -285,6 +285,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
+@@ -286,6 +286,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
arch = "x86";
} else if (arch == "amd64") {
arch = "x86_64";
diff --git a/www/iridium/files/patch-base_task_thread__pool_environment__config__unittest.cc b/www/iridium/files/patch-base_task_thread__pool_environment__config__unittest.cc
index 090206ee768c..0d5da26acc40 100644
--- a/www/iridium/files/patch-base_task_thread__pool_environment__config__unittest.cc
+++ b/www/iridium/files/patch-base_task_thread__pool_environment__config__unittest.cc
@@ -1,20 +1,20 @@
---- base/task/thread_pool/environment_config_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- base/task/thread_pool/environment_config_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ base/task/thread_pool/environment_config_unittest.cc
-@@ -21,7 +21,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
- base::FeatureList::IsEnabled(
- FeatureControllingBackgroundPriorityWorkerThreads()));
- #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
+@@ -14,7 +14,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE)
+ EXPECT_TRUE(CanUseBackgroundThreadTypeForWorkerThread());
+ #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
EXPECT_FALSE(CanUseBackgroundThreadTypeForWorkerThread());
#else
#error Platform doesn't match any block
-@@ -30,7 +30,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
+@@ -22,7 +22,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
+
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_ANDROID)
EXPECT_TRUE(CanUseUtilityThreadTypeForWorkerThread());
- #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
EXPECT_FALSE(CanUseUtilityThreadTypeForWorkerThread());
#else
#error Platform doesn't match any block
diff --git a/www/iridium/files/patch-base_test_test__file__util__linux.cc b/www/iridium/files/patch-base_test_test__file__util__linux.cc
index 7578427b61ce..de998c10ea39 100644
--- a/www/iridium/files/patch-base_test_test__file__util__linux.cc
+++ b/www/iridium/files/patch-base_test_test__file__util__linux.cc
@@ -1,6 +1,6 @@
---- base/test/test_file_util_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- base/test/test_file_util_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ base/test/test_file_util_linux.cc
-@@ -56,9 +56,11 @@ bool EvictFileFromSystemCache(const FilePath& file) {
+@@ -57,9 +57,11 @@ bool EvictFileFromSystemCache(const FilePath& file) {
if (fdatasync(fd.get()) != 0) {
return false;
}
diff --git a/www/iridium/files/patch-base_threading_platform__thread__internal__posix.cc b/www/iridium/files/patch-base_threading_platform__thread__internal__posix.cc
index 7cb4661d38ce..d8e5c92f11d9 100644
--- a/www/iridium/files/patch-base_threading_platform__thread__internal__posix.cc
+++ b/www/iridium/files/patch-base_threading_platform__thread__internal__posix.cc
@@ -1,11 +1,21 @@
---- base/threading/platform_thread_internal_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/threading/platform_thread_internal_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/threading/platform_thread_internal_posix.cc
-@@ -41,7 +41,7 @@ ThreadPriorityForTest NiceValueToThreadPriorityForTest
+@@ -31,6 +31,10 @@ ThreadPriorityForTest NiceValueToThreadPriorityForTest
}
int GetCurrentThreadNiceValue() {
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- NOTIMPLEMENTED();
- return 0;
- #else
++#if BUILDFLAG(IS_BSD)
++ NOTIMPLEMENTED();
++ return 0;
++#else
+ // Need to clear errno before calling getpriority():
+ // http://man7.org/linux/man-pages/man2/getpriority.2.html
+ errno = 0;
+@@ -42,6 +46,7 @@ int GetCurrentThreadNiceValue() {
+ }
+
+ return nice_value;
++#endif
+ }
+
+ } // namespace base::internal
diff --git a/www/iridium/files/patch-base_threading_platform__thread__metrics.cc b/www/iridium/files/patch-base_threading_platform__thread__metrics.cc
new file mode 100644
index 000000000000..5a0e9d3f73b3
--- /dev/null
+++ b/www/iridium/files/patch-base_threading_platform__thread__metrics.cc
@@ -0,0 +1,11 @@
+--- base/threading/platform_thread_metrics.cc.orig 2025-09-11 13:19:19 UTC
++++ base/threading/platform_thread_metrics.cc
+@@ -26,7 +26,7 @@ PlatformThreadMetrics::CreateForCurrentThread() {
+ }
+
+ #elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+
+ // static
+ std::unique_ptr<PlatformThreadMetrics>
diff --git a/www/iridium/files/patch-base_threading_platform__thread__metrics.h b/www/iridium/files/patch-base_threading_platform__thread__metrics.h
new file mode 100644
index 000000000000..401ba96b13f5
--- /dev/null
+++ b/www/iridium/files/patch-base_threading_platform__thread__metrics.h
@@ -0,0 +1,20 @@
+--- base/threading/platform_thread_metrics.h.orig 2025-09-11 13:19:19 UTC
++++ base/threading/platform_thread_metrics.h
+@@ -51,7 +51,7 @@ class BASE_EXPORT PlatformThreadMetrics {
+ PlatformThreadHandle handle);
+ #endif
+
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || \
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) || \
+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+ static std::unique_ptr<PlatformThreadMetrics> CreateFromId(
+ PlatformThreadId tid);
+@@ -93,7 +93,7 @@ class BASE_EXPORT PlatformThreadMetrics {
+
+ PlatformThreadHandle handle_;
+ #elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ explicit PlatformThreadMetrics(PlatformThreadId tid) : tid_(tid) {}
+
+ PlatformThreadId tid_;
diff --git a/www/iridium/files/patch-base_threading_platform__thread__posix.cc b/www/iridium/files/patch-base_threading_platform__thread__posix.cc
index 7c007bde459d..d608fe9e9148 100644
--- a/www/iridium/files/patch-base_threading_platform__thread__posix.cc
+++ b/www/iridium/files/patch-base_threading_platform__thread__posix.cc
@@ -1,21 +1,23 @@
---- base/threading/platform_thread_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/threading/platform_thread_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/threading/platform_thread_posix.cc
-@@ -79,11 +79,11 @@ void* ThreadFunc(void* params) {
+@@ -79,6 +79,7 @@ void* ThreadFunc(void* params) {
base::DisallowSingleton();
}
--#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
-+#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_BSD)
++#if !BUILDFLAG(IS_BSD)
+ #if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
partition_alloc::internal::StackTopRegistry::Get().NotifyThreadCreated();
#endif
+@@ -92,6 +93,7 @@ void* ThreadFunc(void* params) {
+ // where they were created. This explicitly sets the priority of all new
+ // threads.
+ PlatformThread::SetCurrentThreadType(thread_params->thread_type);
++#endif
+ }
+
+ ThreadIdNameManager::GetInstance()->RegisterThread(
+@@ -266,6 +268,8 @@ PlatformThreadId PlatformThreadBase::CurrentId() {
--#if !BUILDFLAG(IS_NACL)
-+#if !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_BSD)
- #if BUILDFLAG(IS_APPLE)
- PlatformThread::SetCurrentThreadRealtimePeriodValue(
- delegate->GetRealtimePeriod());
-@@ -272,6 +272,8 @@ PlatformThreadId PlatformThreadBase::CurrentId() {
- return PlatformThreadId(reinterpret_cast<int32_t>(pthread_self()));
#elif BUILDFLAG(IS_POSIX) && BUILDFLAG(IS_AIX)
return PlatformThreadId(pthread_self());
+#elif BUILDFLAG(IS_BSD)
@@ -23,31 +25,58 @@
#elif BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_AIX)
return PlatformThreadId(reinterpret_cast<int64_t>(pthread_self()));
#endif
-@@ -365,7 +367,7 @@ void PlatformThreadBase::Detach(PlatformThreadHandle t
+@@ -359,6 +363,9 @@ void PlatformThreadBase::Detach(PlatformThreadHandle t
// static
bool PlatformThreadBase::CanChangeThreadType(ThreadType from, ThreadType to) {
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- return false;
- #else
++#if BUILDFLAG(IS_BSD)
++ return false;
++#else
if (from >= to) {
-@@ -386,6 +388,9 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
+ // Decreasing thread priority on POSIX is always allowed.
+ return true;
+@@ -368,12 +375,18 @@ bool PlatformThreadBase::CanChangeThreadType(ThreadTyp
+ }
+
+ return internal::CanLowerNiceTo(internal::ThreadTypeToNiceValue(to));
++#endif
+ }
+
+ namespace internal {
+
+ void SetCurrentThreadTypeImpl(ThreadType thread_type,
MessagePumpType pump_type_hint) {
- #if BUILDFLAG(IS_NACL)
- NOTIMPLEMENTED();
-+// avoid pledge(2) violation
-+#elif BUILDFLAG(IS_BSD)
-+ NOTIMPLEMENTED();
- #else
++#if BUILDFLAG(IS_BSD)
++ // pledge(2) violation
++ NOTIMPLEMENTED();
++ return;
++#else
if (internal::SetCurrentThreadTypeForPlatform(thread_type, pump_type_hint)) {
return;
-@@ -409,7 +414,7 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
+ }
+@@ -389,12 +402,17 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
+ DVPLOG(1) << "Failed to set nice value of thread ("
+ << PlatformThread::CurrentId() << ") to " << nice_setting;
+ }
++#endif
+ }
+
+ } // namespace internal
// static
ThreadPriorityForTest PlatformThreadBase::GetCurrentThreadPriorityForTest() {
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- NOTIMPLEMENTED();
- return ThreadPriorityForTest::kNormal;
- #else
++#if BUILDFLAG(IS_BSD)
++ NOTIMPLEMENTED();
++ return ThreadPriorityForTest::kNormal;
++#else
+ // Mirrors SetCurrentThreadPriority()'s implementation.
+ auto platform_specific_priority =
+ internal::GetCurrentThreadPriorityForPlatformForTest(); // IN-TEST
+@@ -405,6 +423,7 @@ ThreadPriorityForTest PlatformThreadBase::GetCurrentTh
+ int nice_value = internal::GetCurrentThreadNiceValue();
+
+ return internal::NiceValueToThreadPriorityForTest(nice_value); // IN-TEST
++#endif
+ }
+
+ #endif // !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_FUCHSIA)
diff --git a/www/iridium/files/patch-base_threading_platform__thread__unittest.cc b/www/iridium/files/patch-base_threading_platform__thread__unittest.cc
index b39d4bdcf12e..d9d4c4910011 100644
--- a/www/iridium/files/patch-base_threading_platform__thread__unittest.cc
+++ b/www/iridium/files/patch-base_threading_platform__thread__unittest.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- base/threading/platform_thread_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ base/threading/platform_thread_unittest.cc
@@ -36,7 +36,7 @@
#include "base/time/time.h"
@@ -18,16 +18,7 @@
// On Ubuntu, RLIMIT_NICE and RLIMIT_RTPRIO are 0 by default, so we won't be
// able to increase priority to any level unless we are root (euid == 0).
bool kCanIncreasePriority = false;
-@@ -435,7 +435,7 @@ TEST(PlatformThreadTest, SetCurrentThreadTypeTest) {
- #if BUILDFLAG(IS_APPLE)
- TestPriorityResultingFromThreadType(ThreadType::kResourceEfficient,
- ThreadPriorityForTest::kUtility);
--#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- TestPriorityResultingFromThreadType(
- ThreadType::kResourceEfficient,
- ThreadPriorityForTest::kResourceEfficient);
-@@ -624,12 +624,16 @@ INSTANTIATE_TEST_SUITE_P(
+@@ -618,12 +618,16 @@ INSTANTIATE_TEST_SUITE_P(
#endif // BUILDFLAG(IS_APPLE)
diff --git a/www/iridium/files/patch-base_time_time__now__posix.cc b/www/iridium/files/patch-base_time_time__now__posix.cc
index daba43db0556..ad3b6021abee 100644
--- a/www/iridium/files/patch-base_time_time__now__posix.cc
+++ b/www/iridium/files/patch-base_time_time__now__posix.cc
@@ -1,11 +1,14 @@
---- base/time/time_now_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- base/time/time_now_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ base/time/time_now_posix.cc
-@@ -27,7 +27,7 @@
- #endif
+@@ -110,7 +110,11 @@ std::optional<TimeTicks> MaybeTimeTicksNowIgnoringOver
+ }
+
+ TimeTicks TimeTicksLowResolutionNowIgnoringOverride() {
++#if BUILDFLAG(IS_BSD)
++ return TimeTicks() + Microseconds(ClockNow(CLOCK_MONOTONIC));
++#else
+ return TimeTicks() + Microseconds(ClockNow(CLOCK_MONOTONIC_COARSE));
++#endif
+ }
+ } // namespace subtle
- // NaCl doesn't support CLOCK_MONOTONIC_COARSE.
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC
- #else
- #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC_COARSE
diff --git a/www/iridium/files/patch-base_trace__event_malloc__dump__provider.cc b/www/iridium/files/patch-base_trace__event_malloc__dump__provider.cc
index 893fdc9644ad..d7f20045c8c1 100644
--- a/www/iridium/files/patch-base_trace__event_malloc__dump__provider.cc
+++ b/www/iridium/files/patch-base_trace__event_malloc__dump__provider.cc
@@ -1,4 +1,4 @@
---- base/trace_event/malloc_dump_provider.cc.orig 2025-05-07 06:48:23 UTC
+--- base/trace_event/malloc_dump_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ base/trace_event/malloc_dump_provider.cc
@@ -31,6 +31,8 @@
@@ -18,7 +18,7 @@
void ReportMallinfoStats(ProcessMemoryDump* pmd,
size_t* total_virtual_size,
size_t* resident_size,
-@@ -370,6 +372,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump
+@@ -383,6 +385,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump
&allocated_objects_count);
#elif BUILDFLAG(IS_FUCHSIA)
// TODO(fuchsia): Port, see https://crbug.com/706592.
diff --git a/www/iridium/files/patch-base_trace__event_process__memory__dump.cc b/www/iridium/files/patch-base_trace__event_process__memory__dump.cc
index d8dc414d2232..0c9d9094e534 100644
--- a/www/iridium/files/patch-base_trace__event_process__memory__dump.cc
+++ b/www/iridium/files/patch-base_trace__event_process__memory__dump.cc
@@ -1,6 +1,15 @@
---- base/trace_event/process_memory_dump.cc.orig 2025-05-07 06:48:23 UTC
+--- base/trace_event/process_memory_dump.cc.orig 2025-09-11 13:19:19 UTC
+++ base/trace_event/process_memory_dump.cc
-@@ -119,7 +119,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
+@@ -47,7 +47,7 @@
+ #include <Psapi.h>
+ #endif
+
+-#if BUILDFLAG(IS_FUCHSIA)
++#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ #include <tuple>
+
+ #include "base/notreached.h"
+@@ -116,7 +116,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
#if BUILDFLAG(IS_WIN)
auto vec =
base::HeapArray<PSAPI_WORKING_SET_EX_INFORMATION>::WithSize(max_vec_size);
@@ -9,7 +18,7 @@
auto vec = base::HeapArray<char>::WithSize(max_vec_size);
#elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
auto vec = base::HeapArray<unsigned char>::WithSize(max_vec_size);
-@@ -143,7 +143,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
+@@ -140,7 +140,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
for (size_t i = 0; i < page_count; i++) {
resident_page_count += vec[i].VirtualAttributes.Valid;
}
diff --git a/www/iridium/files/patch-build_config_BUILD.gn b/www/iridium/files/patch-build_config_BUILD.gn
index 80076f741f05..4afe9f7a870e 100644
--- a/www/iridium/files/patch-build_config_BUILD.gn
+++ b/www/iridium/files/patch-build_config_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- build/config/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ build/config/BUILD.gn
-@@ -215,6 +215,10 @@ config("default_libs") {
+@@ -209,6 +209,10 @@ config("default_libs") {
# Targets should choose to explicitly link frameworks they require. Since
# linking can have run-time side effects, nothing should be listed here.
libs = []
diff --git a/www/iridium/files/patch-build_config_BUILDCONFIG.gn b/www/iridium/files/patch-build_config_BUILDCONFIG.gn
index 2941b0421d93..ec5edf87ac15 100644
--- a/www/iridium/files/patch-build_config_BUILDCONFIG.gn
+++ b/www/iridium/files/patch-build_config_BUILDCONFIG.gn
@@ -1,4 +1,4 @@
---- build/config/BUILDCONFIG.gn.orig 2025-05-07 06:48:23 UTC
+--- build/config/BUILDCONFIG.gn.orig 2025-09-11 13:19:19 UTC
+++ build/config/BUILDCONFIG.gn
@@ -136,7 +136,8 @@ declare_args() {
is_official_build = false
@@ -10,7 +10,7 @@
(current_cpu != "s390x" && current_cpu != "s390" &&
current_cpu != "ppc64" && current_cpu != "ppc" &&
current_cpu != "mips" && current_cpu != "mips64" &&
-@@ -235,6 +236,10 @@ if (host_toolchain == "") {
+@@ -242,6 +243,10 @@ if (host_toolchain == "") {
host_toolchain = "//build/toolchain/aix:$host_cpu"
} else if (host_os == "zos") {
host_toolchain = "//build/toolchain/zos:$host_cpu"
@@ -21,16 +21,16 @@
} else {
assert(false, "Unsupported host_os: $host_os")
}
-@@ -279,6 +284,8 @@ if (target_os == "android") {
- _default_toolchain = "//build/toolchain/aix:$target_cpu"
- } else if (target_os == "zos") {
- _default_toolchain = "//build/toolchain/zos:$target_cpu"
+@@ -291,6 +296,8 @@ if (target_os == "android") {
+ assert(
+ false,
+ "emscripten is not a supported target_os. It is available only as secondary toolchain.")
+} else if (target_os == "openbsd" || target_os == "freebsd") {
+ _default_toolchain = host_toolchain
} else {
assert(false, "Unsupported target_os: $target_os")
}
-@@ -313,7 +320,11 @@ is_android = current_os == "android"
+@@ -325,7 +332,11 @@ is_android = current_os == "android"
is_chromeos = current_os == "chromeos"
is_fuchsia = current_os == "fuchsia"
is_ios = current_os == "ios"
@@ -41,5 +41,5 @@
+is_freebsd = current_os == "freebsd"
+is_bsd = current_os == "openbsd" || current_os == "freebsd"
is_mac = current_os == "mac"
- is_nacl = current_os == "nacl"
- is_wasm = current_os == "emscripten"
+
+ # TODO(crbug.com/40511454): Remove is_nacl from all build files, then
diff --git a/www/iridium/files/patch-build_config_clang_BUILD.gn b/www/iridium/files/patch-build_config_clang_BUILD.gn
index 9d9ec1d3c295..67dcda4ce448 100644
--- a/www/iridium/files/patch-build_config_clang_BUILD.gn
+++ b/www/iridium/files/patch-build_config_clang_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/clang/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- build/config/clang/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ build/config/clang/BUILD.gn
-@@ -252,7 +252,12 @@ template("clang_lib") {
+@@ -268,7 +268,12 @@ template("clang_lib") {
# Adds a dependency on the Clang runtime library clang_rt.builtins.
clang_lib("compiler_builtins") {
diff --git a/www/iridium/files/patch-build_config_compiler_BUILD.gn b/www/iridium/files/patch-build_config_compiler_BUILD.gn
index 50385d65e4d5..b35e3228b496 100644
--- a/www/iridium/files/patch-build_config_compiler_BUILD.gn
+++ b/www/iridium/files/patch-build_config_compiler_BUILD.gn
@@ -1,15 +1,24 @@
---- build/config/compiler/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- build/config/compiler/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ build/config/compiler/BUILD.gn
-@@ -197,7 +197,7 @@ declare_args() {
+@@ -194,7 +194,7 @@ declare_args() {
# This greatly reduces the size of debug builds, at the cost of
# debugging information which is required by some specialized
# debugging tools.
-- simple_template_names = is_clang && !is_nacl && !is_win && !is_apple
-+ simple_template_names = is_clang && !is_nacl && !is_win && !is_apple && !is_bsd
- }
+- simple_template_names = is_clang && !is_win && !is_apple
++ simple_template_names = is_clang && !is_win && !is_apple && !is_bsd
+
+ # This switch is used to enable -Wexit-time-destructors by default. This
+ # warning serves as a flip switch to allow a gradual migration of targets
+@@ -272,7 +272,7 @@ assert(!(llvm_force_head_revision && use_remoteexec &&
+ # Since this is referenced both when passing the file and when deciding which
+ # warnings to enable, store it in a separate variable here.
+ use_clang_warning_suppression_file =
+- default_toolchain != "//build/toolchain/cros:target" &&
++ !is_bsd && default_toolchain != "//build/toolchain/cros:target" &&
+ !llvm_android_mainline && is_clang && clang_warning_suppression_file != ""
- declare_args() {
-@@ -254,13 +254,16 @@ config("default_include_dirs") {
+ # default_include_dirs ---------------------------------------------------------
+@@ -290,13 +290,16 @@ config("default_include_dirs") {
# Compiler instrumentation can introduce dependencies in DSOs to symbols in
# the executable they are loaded into, so they are unresolved at link-time.
config("no_unresolved_symbols") {
@@ -27,7 +36,7 @@
}
# compiler ---------------------------------------------------------------------
-@@ -509,6 +512,10 @@ config("compiler") {
+@@ -564,6 +567,10 @@ config("compiler") {
}
}
@@ -38,43 +47,52 @@
# Linux-specific compiler flags setup.
# ------------------------------------
if (use_icf && (!is_apple || use_lld)) {
-@@ -569,7 +576,7 @@ config("compiler") {
+@@ -639,7 +646,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
-- if (is_clang && !is_nacl) {
-+ if (is_clang && !is_nacl && !is_bsd) {
+- if (is_clang) {
++ if (is_clang && !is_bsd) {
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
if (save_reproducers_on_lld_crash && use_lld) {
ldflags += [
-@@ -1227,7 +1234,7 @@ config("compiler_cpu_abi") {
- ]
+@@ -1281,7 +1288,7 @@ config("compiler_cpu_abi") {
+ # CPU architecture. We may or may not be doing a cross compile now, so for
+ # simplicity we always explicitly set the architecture.
+ if (current_cpu == "x64") {
+- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) {
+ cflags += [ "--target=x86_64-unknown-linux-gnu" ]
+ ldflags += [ "--target=x86_64-unknown-linux-gnu" ]
+ } else {
+@@ -1290,7 +1297,7 @@ config("compiler_cpu_abi") {
}
+ cflags += [ "-msse3" ]
+ } else if (current_cpu == "x86") {
+- if (is_clang && !is_android && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_chromeos_device && !Is_bsd) {
+ cflags += [ "--target=i386-unknown-linux-gnu" ]
+ ldflags += [ "--target=i386-unknown-linux-gnu" ]
+ } else {
+@@ -1302,7 +1309,7 @@ config("compiler_cpu_abi") {
+ "-msse3",
+ ]
} else if (current_cpu == "arm") {
-- if (is_clang && !is_android && !is_nacl && !is_chromeos_device) {
-+ if (is_clang && !is_android && !is_nacl && !is_chromeos_device && !is_bsd) {
+- if (is_clang && !is_android && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_chromeos_device && !is_bsd) {
cflags += [ "--target=arm-linux-gnueabihf" ]
ldflags += [ "--target=arm-linux-gnueabihf" ]
}
-@@ -1242,7 +1249,7 @@ config("compiler_cpu_abi") {
+@@ -1314,7 +1321,7 @@ config("compiler_cpu_abi") {
+ cflags += [ "-mtune=$arm_tune" ]
}
} else if (current_cpu == "arm64") {
- if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
-- !is_chromeos_device) {
-+ !is_chromeos_device && !is_bsd) {
+- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) {
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
}
-@@ -1576,7 +1583,7 @@ config("compiler_deterministic") {
- # different build directory like "out/feature_a" and "out/feature_b" if
- # we build same files with same compile flag.
- # Other paths are already given in relative, no need to normalize them.
-- if (is_nacl) {
-+ if (is_nacl || is_bsd) {
- # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
- cflags += [
- "-Xclang",
-@@ -1634,7 +1641,7 @@ config("compiler_deterministic") {
+@@ -1713,7 +1720,7 @@ config("compiler_deterministic") {
}
config("clang_revision") {
@@ -83,26 +101,17 @@
current_os != "zos") {
_perform_consistency_checks = current_toolchain == default_toolchain
if (llvm_force_head_revision) {
-@@ -1719,7 +1726,7 @@ config("clang_revision") {
- # e.g. by setting in the the project's .gn file.
- config("clang_warning_suppression") {
- # Some build configs use older versions of clang that don't support WSMs
-- if (!is_nacl && default_toolchain != "//build/toolchain/cros:target" &&
-+ if (!is_bsd && !is_nacl && default_toolchain != "//build/toolchain/cros:target" &&
- !llvm_android_mainline && is_clang &&
- clang_warning_suppression_file != "") {
- from_build_root =
-@@ -2053,9 +2060,6 @@ config("default_warnings") {
+@@ -2134,9 +2141,6 @@ config("default_warnings") {
- # TODO(crbug.com/40284799): Fix and re-enable.
- "-Wno-thread-safety-reference-return",
+ # TODO(crbug.com/40284799): Fix and re-enable.
+ "-Wno-thread-safety-reference-return",
-
-- # TODO(crbug.com/376641662): Fix and re-enable.
-- "-Wno-nontrivial-memcall",
- ]
+- # TODO(crbug.com/376641662): Fix and re-enable.
+- "-Wno-nontrivial-memcall",
+ ]
- cflags_cc += [
-@@ -2837,7 +2841,7 @@ config("afdo_optimize_size") {
+ cflags_cc += [
+@@ -2920,7 +2924,7 @@ config("afdo_optimize_size") {
# There are some targeted places that AFDO regresses, so we provide a separate
# config to allow AFDO to be disabled per-target.
config("afdo") {
@@ -111,7 +120,7 @@
cflags = []
if (clang_emit_debug_info_for_profiling) {
# Add the following flags to generate debug info for profiling.
-@@ -2864,7 +2868,7 @@ config("afdo") {
+@@ -2947,7 +2951,7 @@ config("afdo") {
cflags += [ "-Wno-backend-plugin" ]
inputs = [ _clang_sample_profile ]
}
@@ -120,12 +129,3 @@
cflags = [ "-fauto-profile=${auto_profile_path}" ]
inputs = [ auto_profile_path ]
}
-@@ -3041,7 +3045,7 @@ config("symbols") {
- cflags += [ "-gomit-unreferenced-methods" ]
- }
-
-- if (is_clang && (!is_nacl || is_nacl_saigo)) {
-+ if (is_clang && (!is_nacl || is_nacl_saigo) && !is_bsd) {
- if (is_apple) {
- # TODO(crbug.com/40117949): Investigate missing debug info on mac.
- # Make sure we don't use constructor homing on mac.
diff --git a/www/iridium/files/patch-build_config_rust.gni b/www/iridium/files/patch-build_config_rust.gni
index 886ac9542b5e..67f69c98dbe6 100644
--- a/www/iridium/files/patch-build_config_rust.gni
+++ b/www/iridium/files/patch-build_config_rust.gni
@@ -1,13 +1,15 @@
---- build/config/rust.gni.orig 2025-06-19 07:37:57 UTC
+--- build/config/rust.gni.orig 2025-09-11 13:19:19 UTC
+++ build/config/rust.gni
-@@ -361,6 +361,10 @@ if (is_linux || is_chromeos) {
+@@ -369,7 +369,11 @@ if (is_linux || is_chromeos) {
}
}
+-if (toolchain_has_rust) {
+if (is_bsd) {
+ rust_abi_target = string_replace(rust_abi_target, "linux-gnu", current_os)
+}
+
- assert(!toolchain_has_rust || rust_abi_target != "")
++if (toolchain_has_rust && !is_bsd) {
+ assert(rust_abi_target != "")
- # This variable is passed to the Rust libstd build.
+ _known_rust_target_triples_filepath = "//build/rust/known-target-triples.txt"
diff --git a/www/iridium/files/patch-build_linux_strip__binary.py b/www/iridium/files/patch-build_linux_strip__binary.py
index 957874034316..5add6d000a3b 100644
--- a/www/iridium/files/patch-build_linux_strip__binary.py
+++ b/www/iridium/files/patch-build_linux_strip__binary.py
@@ -1,10 +1,10 @@
---- build/linux/strip_binary.py.orig 2025-05-07 06:48:23 UTC
+--- build/linux/strip_binary.py.orig 2025-09-11 13:19:19 UTC
+++ build/linux/strip_binary.py
@@ -10,6 +10,7 @@ import sys
- def main():
+ def main() -> int:
+ return 0
- argparser = argparse.ArgumentParser(description='eu-strip binary.')
-
- argparser.add_argument('--eu-strip-binary-path', help='eu-strip path.')
+ parser = argparse.ArgumentParser(description="Strip binary using LLVM tools.")
+ parser.add_argument("--llvm-strip-binary-path",
+ help="Path to llvm-strip executable.")
diff --git a/www/iridium/files/patch-build_nocompile.gni b/www/iridium/files/patch-build_nocompile.gni
deleted file mode 100644
index a3d74a4d12e0..000000000000
--- a/www/iridium/files/patch-build_nocompile.gni
+++ /dev/null
@@ -1,11 +0,0 @@
---- build/nocompile.gni.orig 2025-05-07 06:48:23 UTC
-+++ build/nocompile.gni
-@@ -55,7 +55,7 @@ if (is_win) {
- }
-
- declare_args() {
-- enable_nocompile_tests = is_clang && !is_nacl
-+ enable_nocompile_tests = is_clang && !is_nacl && !is_bsd
- }
-
- if (enable_nocompile_tests) {
diff --git a/www/iridium/files/patch-build_rust_allocator_lib.rs b/www/iridium/files/patch-build_rust_allocator_lib.rs
index a3a636371887..a7c57ee2aa80 100644
--- a/www/iridium/files/patch-build_rust_allocator_lib.rs
+++ b/www/iridium/files/patch-build_rust_allocator_lib.rs
@@ -1,18 +1,15 @@
-https://chromium.googlesource.com/chromium/src/+/8393b61ba876c8e1614275c97767f9b06b889f48
-https://chromium.googlesource.com/chromium/src/+/6aae0e2353c857d98980ff677bf304288d7c58de
-
-
---- build/rust/allocator/lib.rs.orig 2025-06-18 14:17:42.000000000 +0200
-+++ build/rust/allocator/lib.rs 2025-08-24 10:57:12.002293000 +0200
-@@ -89,9 +89,8 @@ mod both_allocators {
- /// As part of rustc's contract for using `#[global_allocator]` without
- /// rustc-generated shims we must define this symbol, since we are opting in
- /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015
-- #[no_mangle]
-- #[linkage = "weak"]
-- static __rust_no_alloc_shim_is_unstable: u8 = 0;
-+ #[rustc_std_internal_symbol]
-+ fn __rust_no_alloc_shim_is_unstable_v2() {}
+--- build/rust/allocator/lib.rs.orig 2025-09-11 13:19:19 UTC
++++ build/rust/allocator/lib.rs
+@@ -90,6 +90,12 @@ mod both_allocators {
+ #[linkage = "weak"]
+ fn __rust_no_alloc_shim_is_unstable_v2() {}
++ // TODO(crbug.com/422538133) Remove after rolling past
++ // https://github.com/rust-lang/rust/pull/141061
++ #[no_mangle]
++ #[linkage = "weak"]
++ static __rust_no_alloc_shim_is_unstable: u8 = 0;
++
// Mangle the symbol name as rustc expects.
#[rustc_std_internal_symbol]
+ #[allow(non_upper_case_globals)]
diff --git a/www/iridium/files/patch-build_toolchain_gcc__toolchain.gni b/www/iridium/files/patch-build_toolchain_gcc__toolchain.gni
index 39c56c05ab7b..7897b260ec06 100644
--- a/www/iridium/files/patch-build_toolchain_gcc__toolchain.gni
+++ b/www/iridium/files/patch-build_toolchain_gcc__toolchain.gni
@@ -1,6 +1,6 @@
---- build/toolchain/gcc_toolchain.gni.orig 2025-05-07 06:48:23 UTC
+--- build/toolchain/gcc_toolchain.gni.orig 2025-09-11 13:19:19 UTC
+++ build/toolchain/gcc_toolchain.gni
-@@ -56,6 +56,13 @@ if (enable_resource_allowlist_generation) {
+@@ -49,6 +49,13 @@ if (enable_resource_allowlist_generation) {
"enable_resource_allowlist_generation=true does not work for target_os=$target_os")
}
@@ -14,7 +14,7 @@
# This template defines a toolchain for something that works like gcc
# (including clang).
#
-@@ -896,22 +903,12 @@ template("gcc_toolchain") {
+@@ -893,22 +900,12 @@ template("gcc_toolchain") {
# actually just be doing a native compile.
template("clang_toolchain") {
gcc_toolchain(target_name) {
diff --git a/www/iridium/files/patch-build_toolchain_toolchain.gni b/www/iridium/files/patch-build_toolchain_toolchain.gni
index 956b9a58f7cd..f18de7b9aae9 100644
--- a/www/iridium/files/patch-build_toolchain_toolchain.gni
+++ b/www/iridium/files/patch-build_toolchain_toolchain.gni
@@ -1,6 +1,6 @@
---- build/toolchain/toolchain.gni.orig 2025-05-07 06:48:23 UTC
+--- build/toolchain/toolchain.gni.orig 2025-09-11 13:19:19 UTC
+++ build/toolchain/toolchain.gni
-@@ -75,7 +75,7 @@ if (host_os == "mac") {
+@@ -63,7 +63,7 @@ if (host_os == "mac") {
host_shlib_extension = ".dylib"
} else if (host_os == "win") {
host_shlib_extension = ".dll"
diff --git a/www/iridium/files/patch-cc_base_features.cc b/www/iridium/files/patch-cc_base_features.cc
index 5a44572b28b7..18370f11e9dc 100644
--- a/www/iridium/files/patch-cc_base_features.cc
+++ b/www/iridium/files/patch-cc_base_features.cc
@@ -1,6 +1,6 @@
---- cc/base/features.cc.orig 2025-06-19 07:37:57 UTC
+--- cc/base/features.cc.orig 2025-09-11 13:19:19 UTC
+++ cc/base/features.cc
-@@ -52,7 +52,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr
+@@ -55,7 +55,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr
// be using a separate flag to control the launch on GL.
BASE_FEATURE(kUseDMSAAForTiles,
"UseDMSAAForTiles",
diff --git a/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc b/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc
index 18c0f95eabb2..7e8cd3d117d4 100644
--- a/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc
+++ b/www/iridium/files/patch-chrome_app_chrome__main__delegate.cc
@@ -1,15 +1,6 @@
---- chrome/app/chrome_main_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/app/chrome_main_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/app/chrome_main_delegate.cc
-@@ -147,7 +147,7 @@
- #include "components/webui/about/credit_utils.h"
- #endif
-
--#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-+#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
- #include "components/nacl/common/nacl_paths.h"
- #include "components/nacl/zygote/nacl_fork_delegate_linux.h"
- #endif
-@@ -188,17 +188,17 @@
+@@ -179,17 +179,17 @@
#include "v8/include/v8.h"
#endif
@@ -30,7 +21,7 @@
#include "chrome/browser/policy/policy_path_parser.h"
#include "components/crash/core/app/crashpad.h"
#endif
-@@ -316,7 +316,7 @@ void AdjustLinuxOOMScore(const std::string& process_ty
+@@ -294,7 +294,7 @@ void AdjustLinuxOOMScore(const std::string& process_ty
// and resources loaded.
bool SubprocessNeedsResourceBundle(const std::string& process_type) {
return
@@ -39,7 +30,7 @@
// The zygote process opens the resources for the renderers.
process_type == switches::kZygoteProcess ||
#endif
-@@ -399,7 +399,7 @@ bool HandleVersionSwitches(const base::CommandLine& co
+@@ -373,7 +373,7 @@ bool HandleVersionSwitches(const base::CommandLine& co
return false;
}
@@ -48,7 +39,7 @@
// 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) ||
-@@ -411,7 +411,7 @@ void HandleHelpSwitches(const base::CommandLine& comma
+@@ -385,7 +385,7 @@ void HandleHelpSwitches(const base::CommandLine& comma
}
#endif // BUILDFLAG(IS_LINUX)
@@ -57,7 +48,7 @@
void SIGTERMProfilingShutdown(int signal) {
content::Profiling::Stop();
struct sigaction sigact;
-@@ -493,7 +493,7 @@ std::optional<int> AcquireProcessSingleton(
+@@ -467,7 +467,7 @@ std::optional<int> AcquireProcessSingleton(
// process can be exited.
ChromeProcessSingleton::CreateInstance(user_data_dir);
@@ -66,7 +57,7 @@
// Read the xdg-activation token and set it in the command line for the
// duration of the notification in order to ensure this is propagated to an
// already running browser process if it exists.
-@@ -571,7 +571,7 @@ void InitializeUserDataDir(base::CommandLine* command_
+@@ -545,7 +545,7 @@ void InitializeUserDataDir(base::CommandLine* command_
std::string process_type =
command_line->GetSwitchValueASCII(switches::kProcessType);
@@ -75,7 +66,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.
-@@ -669,7 +669,7 @@ void RecordMainStartupMetrics(const StartupTimestamps&
+@@ -643,7 +643,7 @@ void RecordMainStartupMetrics(const StartupTimestamps&
#endif
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
@@ -84,7 +75,7 @@
// Record the startup process creation time on supported platforms. On Android
// this is recorded in ChromeMainDelegateAndroid.
startup_metric_utils::GetCommon().RecordStartupProcessCreationTime(
-@@ -828,7 +828,7 @@ std::optional<int> ChromeMainDelegate::PostEarlyInitia
+@@ -802,7 +802,7 @@ std::optional<int> ChromeMainDelegate::PostEarlyInitia
#if BUILDFLAG(IS_OZONE)
// Initialize Ozone platform and add required feature flags as per platform's
// properties.
@@ -93,7 +84,7 @@
ui::SetOzonePlatformForLinuxIfNeeded(*base::CommandLine::ForCurrentProcess());
#endif
ui::OzonePlatform::PreEarlyInitialization();
-@@ -983,7 +983,7 @@ void ChromeMainDelegate::CommonEarlyInitialization(Inv
+@@ -957,7 +957,7 @@ void ChromeMainDelegate::CommonEarlyInitialization() {
const bool is_canary_dev = IsCanaryDev();
const bool emit_crashes =
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -102,7 +93,7 @@
is_canary_dev;
#else
false;
-@@ -1131,7 +1131,7 @@ std::optional<int> ChromeMainDelegate::BasicStartupCom
+@@ -1105,7 +1105,7 @@ std::optional<int> ChromeMainDelegate::BasicStartupCom
return 0; // Got a --credits switch; exit with a success error code.
}
@@ -111,16 +102,7 @@
// This will directly exit if the user asked for help.
HandleHelpSwitches(command_line);
#endif
-@@ -1156,7 +1156,7 @@ std::optional<int> ChromeMainDelegate::BasicStartupCom
- ash::RegisterPathProvider();
- chromeos::dbus_paths::RegisterPathProvider();
- #endif
--#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-+#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
- nacl::RegisterPathProvider();
- #endif
-
-@@ -1444,7 +1444,7 @@ void ChromeMainDelegate::PreSandboxStartup() {
+@@ -1409,7 +1409,7 @@ void ChromeMainDelegate::PreSandboxStartup() {
CHECK(!loaded_locale.empty()) << "Locale could not be found for " << locale;
}
@@ -129,19 +111,3 @@
// Zygote needs to call InitCrashReporter() in RunZygote().
if (process_type != switches::kZygoteProcess &&
!command_line.HasSwitch(switches::kDisableCrashpadForTesting)) {
-@@ -1532,13 +1532,13 @@ std::variant<int, content::MainFunctionParams> ChromeM
- #else
-
- #if BUILDFLAG(IS_MAC) || (BUILDFLAG(ENABLE_NACL) && !BUILDFLAG(IS_LINUX) && \
-- !BUILDFLAG(IS_CHROMEOS))
-+ !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD))
- static const MainFunction kMainFunctions[] = {
- #if BUILDFLAG(IS_MAC)
- {switches::kRelauncherProcess, mac_relauncher::internal::RelauncherMain},
- {switches::kCodeSignCloneCleanupProcess,
- code_sign_clone_manager::internal::ChromeCodeSignCloneCleanupMain},
--#elif BUILDFLAG(ENABLE_NACL) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(ENABLE_NACL) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD)
- // This entry is not needed on Linux, where the NaCl loader
- // process is launched via nacl_helper instead.
- {switches::kNaClLoaderProcess, NaClMain},
diff --git a/www/iridium/files/patch-chrome_app_settings__strings.grdp b/www/iridium/files/patch-chrome_app_settings__strings.grdp
new file mode 100644
index 000000000000..ddc622d84b04
--- /dev/null
+++ b/www/iridium/files/patch-chrome_app_settings__strings.grdp
@@ -0,0 +1,16 @@
+--- chrome/app/settings_strings.grdp.orig 2025-09-11 13:19:19 UTC
++++ chrome/app/settings_strings.grdp
+@@ -240,11 +240,9 @@
+ <message name="IDS_SETTINGS_RESET_TO_DEFAULT" desc="Name of the control which resets a browser setting back to the default value">
+ Reset to default
+ </message>
+- <if expr="not is_linux">
+- <message name="IDS_SETTINGS_RESET_TO_DEFAULT_THEME" desc="Accessibility label of the button which resets the browser theme back to the default value">
++ <message name="IDS_SETTINGS_RESET_TO_DEFAULT_THEME" desc="Accessibility label of the button which resets the browser theme back to the default value">
+ Reset to default theme
+- </message>
+- </if>
++ </message>
+ <message name="IDS_SETTINGS_CUSTOMIZE_TOOLBAR" desc="Text of the button which allows you to customize your toolbar.">
+ Customize your toolbar
+ </message>
diff --git a/www/iridium/files/patch-chrome_browser_BUILD.gn b/www/iridium/files/patch-chrome_browser_BUILD.gn
index 7b03bdade6a8..3aa300f2b1bf 100644
--- a/www/iridium/files/patch-chrome_browser_BUILD.gn
+++ b/www/iridium/files/patch-chrome_browser_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/BUILD.gn
-@@ -6913,6 +6913,13 @@ static_library("browser") {
+@@ -7039,6 +7039,13 @@ static_library("browser") {
[ "//third_party/webrtc/modules/desktop_capture:pipewire_config" ]
}
diff --git a/www/iridium/files/patch-chrome_browser_about__flags.cc b/www/iridium/files/patch-chrome_browser_about__flags.cc
index 3dda82045f35..c4dbd977b72b 100644
--- a/www/iridium/files/patch-chrome_browser_about__flags.cc
+++ b/www/iridium/files/patch-chrome_browser_about__flags.cc
@@ -1,25 +1,13 @@
---- chrome/browser/about_flags.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/about_flags.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/about_flags.cc
-@@ -262,7 +262,7 @@
- #include "extensions/common/extension_features.h"
+@@ -328,12 +328,12 @@
+ #include "components/stylus_handwriting/win/features.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "base/allocator/buildflags.h"
- #endif
-
-@@ -352,7 +352,7 @@
- #include "device/vr/public/cpp/switches.h"
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "ui/ozone/public/ozone_switches.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-
-@@ -362,7 +362,7 @@
- #include "chrome/browser/win/mica_titlebar.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -27,34 +15,7 @@
#include "chrome/browser/contextual_cueing/contextual_cueing_features.h" // nogncheck
#include "chrome/browser/enterprise/profile_management/profile_management_features.h"
#include "chrome/browser/enterprise/webstore/features.h"
-@@ -374,7 +374,7 @@
- #include "components/user_education/common/user_education_features.h" // nogncheck
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/ui_features.h"
- #include "ui/base/ui_base_features.h"
- #endif
-@@ -426,7 +426,7 @@ const FeatureEntry::Choice kPullToRefreshChoices[] = {
- #endif // USE_AURA
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
-
- const FeatureEntry::FeatureParam kLocalNetworkAccessChecksBlock[] = {
- {"LocalNetworkAccessChecksWarn", "false"}};
-@@ -542,7 +542,7 @@ const FeatureEntry::FeatureVariation kDXGIWaitableSwap
- {"Max 3 Frames", &kDXGIWaitableSwapChain3Frames, 1, nullptr}};
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const FeatureEntry::Choice kOzonePlatformHintRuntimeChoices[] = {
- {flag_descriptions::kOzonePlatformHintChoiceDefault, "", ""},
- {flag_descriptions::kOzonePlatformHintChoiceAuto,
-@@ -899,6 +899,26 @@ const FeatureEntry::FeatureVariation
+@@ -904,6 +904,26 @@ const FeatureEntry::FeatureVariation
std::size(kWebIdentityDigitalIdentityCredentialHighRiskDialogParam),
nullptr}};
@@ -81,16 +42,7 @@
const FeatureEntry::FeatureParam kClipboardMaximumAge60Seconds[] = {
{"UIClipboardMaximumAge", "60"}};
const FeatureEntry::FeatureParam kClipboardMaximumAge90Seconds[] = {
-@@ -1274,7 +1294,7 @@ constexpr FeatureEntry::FeatureVariation
- #endif // !BUILDFLAG(IS_ANDROID)
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- const FeatureEntry::FeatureParam kHistoryEmbeddingsAtKeywordAcceleration[]{
- {"AtKeywordAcceleration", "true"},
- };
-@@ -1312,7 +1332,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada
+@@ -1284,7 +1304,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada
};
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -99,7 +51,7 @@
// A limited number of combinations of the rich autocompletion params.
const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive1[] = {
-@@ -3720,7 +3740,7 @@ const FeatureEntry::FeatureVariation kAndroidThemeModu
+@@ -3920,7 +3940,7 @@ const FeatureEntry::FeatureVariation
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -108,7 +60,7 @@
const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOn[] =
{{"link_capturing_state", "on_by_default"}};
const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOff[] =
-@@ -4179,7 +4199,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari
+@@ -4216,7 +4236,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari
std::size(kSkiaGraphite_DebugLabelsEnabled), nullptr},
};
@@ -117,7 +69,7 @@
const FeatureEntry::FeatureParam kTranslationAPI_SkipLanguagePackLimit[] = {
{"TranslationAPIAcceptLanguagesCheck", "false"},
{"TranslationAPILimitLanguagePackCount", "false"}};
-@@ -4245,7 +4265,7 @@ const FeatureEntry::FeatureVariation
+@@ -4257,7 +4277,7 @@ const FeatureEntry::FeatureVariation
1, nullptr},
};
@@ -126,7 +78,7 @@
const FeatureEntry::FeatureParam kContextualCueingEnabledNoEngagementCap[] = {
{"BackoffTime", "0h"},
{"BackoffMultiplierBase", "0.0"},
-@@ -5175,7 +5195,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -5468,7 +5488,7 @@ const FeatureEntry kFeatureEntries[] = {
},
#endif // BUILDFLAG(IS_WIN)
@@ -135,7 +87,7 @@
{
"fluent-overlay-scrollbars",
flag_descriptions::kFluentOverlayScrollbarsName,
-@@ -5467,7 +5487,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -5767,7 +5787,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kEnableIsolatedWebAppDevModeName,
flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)},
@@ -144,16 +96,16 @@
{"enable-iwa-key-distribution-component",
flag_descriptions::kEnableIwaKeyDistributionComponentName,
flag_descriptions::kEnableIwaKeyDistributionComponentDescription,
-@@ -5689,7 +5709,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(features::kWebShare)},
- #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+@@ -5981,7 +6001,7 @@ const FeatureEntry kFeatureEntries[] = {
+ FEATURE_VALUE_TYPE(media::kUseSCContentSharingPicker)},
+ #endif // BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"pulseaudio-loopback-for-cast",
flag_descriptions::kPulseaudioLoopbackForCastName,
flag_descriptions::kPulseaudioLoopbackForCastDescription, kOsLinux,
-@@ -5730,6 +5750,16 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -6014,6 +6034,16 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kWaylandSessionManagementName,
flag_descriptions::kWaylandSessionManagementDescription, kOsLinux,
FEATURE_VALUE_TYPE(features::kWaylandSessionManagement)},
@@ -170,16 +122,16 @@
#endif // BUILDFLAG(IS_LINUX)
#if BUILDFLAG(ENABLE_VR)
-@@ -6629,7 +6659,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -6915,7 +6945,7 @@ const FeatureEntry kFeatureEntries[] = {
"MlUrlScoring")},
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- {"omnibox-contextual-search-actions-at-top",
- flag_descriptions::kOmniboxContextualSearchActionsAtTopName,
- flag_descriptions::kOmniboxContextualSearchActionsAtTopDescription,
-@@ -6933,7 +6963,7 @@ const FeatureEntry kFeatureEntries[] = {
+ {"contextual-search-box-uses-contextual-search-provider",
+ flag_descriptions::kContextualSearchBoxUsesContextualSearchProviderName,
+ flag_descriptions::
+@@ -7314,7 +7344,7 @@ const FeatureEntry kFeatureEntries[] = {
kNumSrpZpsRelatedSearches,
"PowerTools")},
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -187,26 +139,17 @@
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
{"history-embeddings", flag_descriptions::kHistoryEmbeddingsName,
flag_descriptions::kHistoryEmbeddingsDescription, kOsDesktop,
- FEATURE_WITH_PARAMS_VALUE_TYPE(history_embeddings::kHistoryEmbeddings,
-@@ -7421,7 +7451,7 @@ const FeatureEntry kFeatureEntries[] = {
+ FEATURE_VALUE_TYPE(history_embeddings::kHistoryEmbeddings)},
+@@ -7819,7 +7849,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(printing::features::kAddPrinterViaPrintscanmgr)},
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"cups-ipp-printing-backend",
flag_descriptions::kCupsIppPrintingBackendName,
flag_descriptions::kCupsIppPrintingBackendDescription, kOsDesktop,
-@@ -7691,7 +7721,7 @@ const FeatureEntry kFeatureEntries[] = {
- flag_descriptions::kSupportToolScreenshotDescription, kOsDesktop,
- FEATURE_VALUE_TYPE(features::kSupportToolScreenshot)},
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- {"wasm-tts-component-updater-enabled",
- flag_descriptions::kWasmTtsComponentUpdaterEnabledName,
- flag_descriptions::kWasmTtsComponentUpdaterEnabledDescription, kOsDesktop,
-@@ -8373,7 +8403,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -8780,7 +8810,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(media::kGlobalMediaControlsUpdatedUI)},
#endif // !BUILDFLAG(IS_CHROMEOS)
@@ -215,7 +158,7 @@
{"enable-network-service-sandbox",
flag_descriptions::kEnableNetworkServiceSandboxName,
flag_descriptions::kEnableNetworkServiceSandboxDescription,
-@@ -9037,7 +9067,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -9407,7 +9437,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(ash::features::kWallpaperGooglePhotosSharedAlbums)},
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -224,7 +167,7 @@
{"enable-get-all-screens-media", flag_descriptions::kGetAllScreensMediaName,
flag_descriptions::kGetAllScreensMediaDescription, kOsCrOS | kOsLinux,
FEATURE_VALUE_TYPE(blink::features::kGetAllScreensMedia)},
-@@ -9062,7 +9092,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -9432,7 +9462,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kGlobalVaapiLockDescription, kOsCrOS | kOsLinux,
FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)},
@@ -233,7 +176,7 @@
{
"ui-debug-tools",
flag_descriptions::kUIDebugToolsName,
-@@ -9542,7 +9572,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -9888,7 +9918,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -242,7 +185,16 @@
{"media-session-enter-picture-in-picture",
flag_descriptions::kMediaSessionEnterPictureInPictureName,
flag_descriptions::kMediaSessionEnterPictureInPictureDescription,
-@@ -10214,7 +10244,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -10074,7 +10104,7 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kReduceTransferSizeUpdatedIPCDescription, kOsAll,
+ FEATURE_VALUE_TYPE(network::features::kReduceTransferSizeUpdatedIPC)},
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ {"reduce-user-agent-data-linux-platform-version",
+ flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionName,
+ flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionDescription,
+@@ -10573,7 +10603,7 @@ const FeatureEntry kFeatureEntries[] = {
kOsDesktop | kOsAndroid,
FEATURE_VALUE_TYPE(features::kProcessPerSiteUpToMainFrameThreshold)},
@@ -251,16 +203,16 @@
{"camera-mic-effects", flag_descriptions::kCameraMicEffectsName,
flag_descriptions::kCameraMicEffectsDescription,
static_cast<unsigned short>(kOsMac | kOsWin | kOsLinux),
-@@ -10338,7 +10368,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(chrome::android::kReadAloudTapToSeek)},
- #endif
+@@ -10696,7 +10726,7 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kRcapsDynamicProfileCountryDescription, kOsAll,
+ FEATURE_VALUE_TYPE(switches::kDynamicProfileCountry)},
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
{"third-party-profile-management",
flag_descriptions::kThirdPartyProfileManagementName,
flag_descriptions::kThirdPartyProfileManagementDescription,
-@@ -10367,7 +10397,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -10725,7 +10755,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -269,7 +221,16 @@
{"enable-user-navigation-capturing-pwa",
flag_descriptions::kPwaNavigationCapturingName,
flag_descriptions::kPwaNavigationCapturingDescription,
-@@ -11085,7 +11115,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -11290,7 +11320,7 @@ const FeatureEntry kFeatureEntries[] = {
+ PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootGravedigger")},
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ {"replace-sync-promos-with-sign-in-promos-desktop",
+ flag_descriptions::kReplaceSyncPromosWithSignInPromosName,
+ flag_descriptions::kReplaceSyncPromosWithSignInPromosDescription,
+@@ -11449,7 +11479,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kCanvasHibernationDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kCanvas2DHibernation)},
@@ -278,16 +239,16 @@
{"enable-history-sync-optin",
flag_descriptions::kEnableHistorySyncOptinName,
flag_descriptions::kEnableHistorySyncOptinDescription,
-@@ -11187,7 +11217,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(switches::kForceSupervisedSigninWithCapabilities)},
+@@ -11552,7 +11582,7 @@ const FeatureEntry kFeatureEntries[] = {
+ "HistoryOptInEducationalTipVariations")},
#endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- {"supervised-profile-safe-search",
- flag_descriptions::kSupervisedProfileSafeSearchName,
- flag_descriptions::kSupervisedProfileSafeSearchDescription,
-@@ -11435,7 +11465,7 @@ const FeatureEntry kFeatureEntries[] = {
+ {"supervised-user-local-web-approvals",
+ flag_descriptions::kSupervisedUserLocalWebApprovalsName,
+ flag_descriptions::kSupervisedUserLocalWebApprovalsDescription,
+@@ -11778,7 +11808,7 @@ const FeatureEntry kFeatureEntries[] = {
segmentation_platform::features::kSegmentationSurveyPage)},
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -296,7 +257,7 @@
{"autofill-enable-buy-now-pay-later",
flag_descriptions::kAutofillEnableBuyNowPayLaterName,
flag_descriptions::kAutofillEnableBuyNowPayLaterDescription, kOsDesktop,
-@@ -11536,7 +11566,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -11877,7 +11907,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(
autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)},
@@ -305,7 +266,7 @@
{"translation-api", flag_descriptions::kTranslationAPIName,
flag_descriptions::kTranslationAPIDescription, kOsMac | kOsWin | kOsLinux,
FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kTranslationAPI,
-@@ -11573,7 +11603,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -11911,7 +11941,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(
password_manager::features::kPasswordFormClientsideClassifier)},
@@ -314,7 +275,7 @@
{"contextual-cueing", flag_descriptions::kContextualCueingName,
flag_descriptions::kContextualCueingDescription,
kOsLinux | kOsMac | kOsWin,
-@@ -11904,7 +11934,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12241,7 +12271,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(ui::kUseNewEtc1Encoder)},
#endif // !BUILDFLAG(IS_ANDROID)
@@ -323,7 +284,7 @@
{"automatic-usb-detach", flag_descriptions::kAutomaticUsbDetachName,
flag_descriptions::kAutomaticUsbDetachDescription, kOsAndroid | kOsLinux,
FEATURE_VALUE_TYPE(features::kAutomaticUsbDetach)},
-@@ -11954,7 +11984,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12285,7 +12315,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -332,8 +293,8 @@
{"autofill-enable-amount-extraction-desktop",
flag_descriptions::kAutofillEnableAmountExtractionDesktopName,
flag_descriptions::kAutofillEnableAmountExtractionDesktopDescription,
-@@ -11974,7 +12004,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(blink::features::kClipboardContentsId)},
+@@ -12305,7 +12335,7 @@ const FeatureEntry kFeatureEntries[] = {
+ FEATURE_VALUE_TYPE(blink::features::kClipboardChangeEvent)},
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
@@ -341,7 +302,7 @@
{"autofill-enable-amount-extraction-allowlist-desktop",
flag_descriptions::kAutofillEnableAmountExtractionAllowlistDesktopName,
flag_descriptions::
-@@ -12092,7 +12122,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12437,7 +12467,7 @@ const FeatureEntry kFeatureEntries[] = {
apps::chrome_app_deprecation::kAllowUserInstalledChromeApps)},
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -350,30 +311,75 @@
{"chrome-web-store-navigation-throttle",
flag_descriptions::kChromeWebStoreNavigationThrottleName,
flag_descriptions::kChromeWebStoreNavigationThrottleDescription,
-@@ -12128,7 +12158,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12473,7 +12503,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- {"autofill-enable-amount-extraction-desktop-logging",
- flag_descriptions::kAutofillEnableAmountExtractionDesktopLoggingName,
- flag_descriptions::
-@@ -12151,7 +12181,7 @@ const FeatureEntry kFeatureEntries[] = {
- flag_descriptions::kEnableWebAppUpdateTokenParsingDescription, kOsAll,
- FEATURE_VALUE_TYPE(features::kWebAppEnableUpdateTokenParsing)},
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ {"autofill-enable-amount-extraction-testing",
+ flag_descriptions::kAutofillEnableAmountExtractionTestingName,
+ flag_descriptions::kAutofillEnableAmountExtractionTestingDescription,
+@@ -12488,7 +12518,7 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kEnableWebAppPredictableAppUpdatingDescription, kOsAll,
+ FEATURE_VALUE_TYPE(features::kWebAppPredictableAppUpdating)},
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"root-scrollbar-follows-browser-theme",
flag_descriptions::kRootScrollbarFollowsTheme,
flag_descriptions::kRootScrollbarFollowsThemeDescription,
-@@ -12180,7 +12210,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12739,7 +12769,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {"tab-group-home", tabs::flag_descriptions::kTabGroupHomeName,
+ tabs::flag_descriptions::kTabGroupHomeDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(tabs::kTabGroupHome)},
+@@ -12825,7 +12855,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- {"local-network-access-check",
- flag_descriptions::kLocalNetworkAccessChecksName,
- flag_descriptions::kLocalNetworkAccessChecksDescription, kOsDesktop,
+ {"enable-site-search-allow-user-override-policy",
+ flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyName,
+ flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyDescription,
+@@ -12948,7 +12978,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // !BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ {"lens-search-side-panel-default-width-change",
+ flag_descriptions::kLensSearchSidePanelDefaultWidthChangeName,
+ flag_descriptions::kLensSearchSidePanelDefaultWidthChangeDescription,
+@@ -12972,7 +13002,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {"autofill-enable-buy-now-pay-later-for-klarna",
+ flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaName,
+ flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaDescription,
+@@ -13010,7 +13040,7 @@ const FeatureEntry kFeatureEntries[] = {
+ autofill::features::kAutofillEnableDownstreamCardAwarenessIph)},
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ {"enable-lens-overlay-back-to-page",
+ flag_descriptions::kLensOverlayBackToPageName,
+ flag_descriptions::kLensOverlayBackToPageDescription, kOsDesktop,
+@@ -13059,7 +13089,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {"autofill-enable-buy-now-pay-later-for-externally-linked",
+ flag_descriptions::kAutofillEnableBuyNowPayLaterForExternallyLinkedName,
+ flag_descriptions::
diff --git a/www/iridium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc b/www/iridium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc
index 28372d2932d0..5999f752bd82 100644
--- a/www/iridium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc
+++ b/www/iridium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc
@@ -1,11 +1,11 @@
---- chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
-@@ -89,7 +89,7 @@ ChromeAutocompleteSchemeClassifier::GetInputTypeForSch
+@@ -105,7 +105,7 @@ ChromeAutocompleteSchemeClassifier::GetInputTypeForSch
return metrics::OmniboxInputType::QUERY;
case ExternalProtocolHandler::UNKNOWN: {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Linux impl of GetApplicationNameForScheme doesn't distinguish
// between URL schemes with handers and those without. This will
// make the default behaviour be search on Linux.
diff --git a/www/iridium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc b/www/iridium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc
index 3ab738b0a94a..47ab1d871a96 100644
--- a/www/iridium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/background/extensions/background_mode_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/background/extensions/background_mode_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/background/extensions/background_mode_manager.cc
-@@ -893,7 +893,7 @@ gfx::ImageSkia GetStatusTrayIcon() {
+@@ -879,7 +879,7 @@ gfx::ImageSkia GetStatusTrayIcon() {
}
return family->CreateExact(size).AsImageSkia();
diff --git a/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc b/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc
index b51ddfc74658..0cc0e0d9c0de 100644
--- a/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc
+++ b/www/iridium/files/patch-chrome_browser_background_glic_glic__status__icon.cc
@@ -1,6 +1,6 @@
---- chrome/browser/background/glic/glic_status_icon.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/background/glic/glic_status_icon.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/background/glic/glic_status_icon.cc
-@@ -86,7 +86,7 @@ GlicStatusIcon::GlicStatusIcon(GlicController* control
+@@ -93,7 +93,7 @@ GlicStatusIcon::GlicStatusIcon(GlicController* control
if (!status_icon_) {
return;
}
@@ -9,7 +9,7 @@
// Set a vector icon for proper themeing on Linux.
status_icon_->SetIcon(
GlicVectorIconManager::GetVectorIcon(IDR_GLIC_BUTTON_VECTOR_ICON));
-@@ -128,7 +128,7 @@ GlicStatusIcon::~GlicStatusIcon() {
+@@ -135,7 +135,7 @@ GlicStatusIcon::~GlicStatusIcon() {
context_menu_ = nullptr;
if (status_icon_) {
@@ -18,7 +18,7 @@
status_icon_->RemoveObserver(this);
#endif
std::unique_ptr<StatusIcon> removed_icon =
-@@ -234,7 +234,7 @@ void GlicStatusIcon::UpdateHotkey(const ui::Accelerato
+@@ -243,7 +243,7 @@ void GlicStatusIcon::UpdateHotkey(const ui::Accelerato
}
void GlicStatusIcon::UpdateVisibilityOfExitInContextMenu() {
@@ -27,7 +27,7 @@
if (context_menu_) {
const bool is_visible = BrowserList::GetInstance()->empty();
const std::optional<size_t> index =
-@@ -284,7 +284,7 @@ std::unique_ptr<StatusIconMenuModel> GlicStatusIcon::C
+@@ -293,7 +293,7 @@ std::unique_ptr<StatusIconMenuModel> GlicStatusIcon::C
menu->AddItem(IDC_GLIC_STATUS_ICON_MENU_SETTINGS,
l10n_util::GetStringUTF16(IDS_GLIC_STATUS_ICON_MENU_SETTINGS));
diff --git a/www/iridium/files/patch-chrome_browser_browser__features.cc b/www/iridium/files/patch-chrome_browser_browser__features.cc
index ee8c3b499c35..178992a63448 100644
--- a/www/iridium/files/patch-chrome_browser_browser__features.cc
+++ b/www/iridium/files/patch-chrome_browser_browser__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/browser_features.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/browser_features.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/browser_features.cc
-@@ -75,7 +75,7 @@ BASE_FEATURE(kClearUserDataUponProfileDestruction,
+@@ -80,7 +80,7 @@ BASE_FEATURE(kClearUserDataUponProfileDestruction,
"ClearUserDataUponProfileDestruction",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -9,7 +9,7 @@
// Enables usage of os_crypt_async::SecretPortalKeyProvider. Once
// `kSecretPortalKeyProviderUseForEncryption` is enabled, this flag cannot be
// disabled without losing data.
-@@ -94,7 +94,7 @@ BASE_FEATURE(kUseFreedesktopSecretKeyProvider,
+@@ -99,7 +99,7 @@ BASE_FEATURE(kUseFreedesktopSecretKeyProvider,
// the browser exits.
BASE_FEATURE(kDestroyProfileOnBrowserClose,
"DestroyProfileOnBrowserClose",
@@ -18,7 +18,7 @@
base::FEATURE_ENABLED_BY_DEFAULT);
#else
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -227,7 +227,7 @@ BASE_FEATURE(kSandboxExternalProtocolBlockedWarning,
+@@ -241,7 +241,7 @@ BASE_FEATURE(kSandboxExternalProtocolBlockedWarning,
"SandboxExternalProtocolBlockedWarning",
base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-chrome_browser_browser__features.h b/www/iridium/files/patch-chrome_browser_browser__features.h
index 4f9f7242d154..afbef539d545 100644
--- a/www/iridium/files/patch-chrome_browser_browser__features.h
+++ b/www/iridium/files/patch-chrome_browser_browser__features.h
@@ -1,6 +1,6 @@
---- chrome/browser/browser_features.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/browser_features.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/browser_features.h
-@@ -38,7 +38,7 @@ BASE_DECLARE_FEATURE(kCertificateTransparencyAskBefore
+@@ -39,7 +39,7 @@ BASE_DECLARE_FEATURE(kCertificateTransparencyAskBefore
BASE_DECLARE_FEATURE(kCertVerificationNetworkTime);
BASE_DECLARE_FEATURE(kClearUserDataUponProfileDestruction);
@@ -9,7 +9,7 @@
BASE_DECLARE_FEATURE(kDbusSecretPortal);
BASE_DECLARE_FEATURE(kUseFreedesktopSecretKeyProvider);
#endif
-@@ -100,7 +100,7 @@ BASE_DECLARE_FEATURE(kRestartNetworkServiceUnsandboxed
+@@ -87,7 +87,7 @@ BASE_DECLARE_FEATURE(kRestartNetworkServiceUnsandboxed
BASE_DECLARE_FEATURE(kSandboxExternalProtocolBlocked);
BASE_DECLARE_FEATURE(kSandboxExternalProtocolBlockedWarning);
diff --git a/www/iridium/files/patch-chrome_browser_browser__process__impl.cc b/www/iridium/files/patch-chrome_browser_browser__process__impl.cc
index 7a954e6f7e8d..49c2e2c45775 100644
--- a/www/iridium/files/patch-chrome_browser_browser__process__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_browser__process__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/browser_process_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/browser_process_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/browser_process_impl.cc
-@@ -260,7 +260,7 @@
+@@ -257,7 +257,7 @@
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/browser_features.h"
#include "components/os_crypt/async/browser/fallback_linux_key_provider.h"
#include "components/os_crypt/async/browser/freedesktop_secret_key_provider.h"
-@@ -272,7 +272,7 @@
+@@ -269,7 +269,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#endif
@@ -18,7 +18,7 @@
// How often to check if the persistent instance of Chrome needs to restart
// to install an update.
static const int kUpdateCheckIntervalHours = 6;
-@@ -1167,7 +1167,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim
+@@ -1170,7 +1170,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim
GoogleUpdateSettings::GetCollectStatsConsent());
registry->RegisterBooleanPref(prefs::kDevToolsRemoteDebuggingAllowed, true);
@@ -27,7 +27,7 @@
os_crypt_async::SecretPortalKeyProvider::RegisterLocalPrefs(registry);
#endif
}
-@@ -1435,7 +1435,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
+@@ -1438,7 +1438,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
local_state())));
#endif // BUILDFLAG(IS_WIN)
@@ -36,7 +36,7 @@
base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
if (cmd_line->GetSwitchValueASCII(password_manager::kPasswordStore) !=
"basic") {
-@@ -1719,7 +1719,7 @@ void BrowserProcessImpl::Unpin() {
+@@ -1718,7 +1718,7 @@ void BrowserProcessImpl::Unpin() {
}
// Mac is currently not supported.
diff --git a/www/iridium/files/patch-chrome_browser_browser__process__impl.h b/www/iridium/files/patch-chrome_browser_browser__process__impl.h
index 398240bb4446..1d88cd520a1c 100644
--- a/www/iridium/files/patch-chrome_browser_browser__process__impl.h
+++ b/www/iridium/files/patch-chrome_browser_browser__process__impl.h
@@ -1,6 +1,6 @@
---- chrome/browser/browser_process_impl.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/browser_process_impl.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/browser_process_impl.h
-@@ -416,7 +416,7 @@ class BrowserProcessImpl : public BrowserProcess,
+@@ -414,7 +414,7 @@ class BrowserProcessImpl : public BrowserProcess,
std::unique_ptr<BatteryMetrics> battery_metrics_;
diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc
index 37b93482a430..cfb35b3e9ae2 100644
--- a/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc
+++ b/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_field_trials.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/chrome_browser_field_trials.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/chrome_browser_field_trials.cc
-@@ -38,7 +38,7 @@
+@@ -45,7 +45,7 @@
#include "chromeos/ash/services/multidevice_setup/public/cpp/first_run_field_trial.h"
#endif
@@ -9,12 +9,12 @@
#include "base/nix/xdg_util.h"
#include "ui/base/ui_base_features.h"
#endif // BUILDFLAG(IS_LINUX)
-@@ -118,7 +118,7 @@ void ChromeBrowserFieldTrials::RegisterSyntheticTrials
- #endif // BUILDFLAG(IS_ANDROID)
- }
+@@ -101,7 +101,7 @@ void ChromeBrowserFieldTrials::RegisterFeatureOverride
+ base::FeatureList* feature_list) {
+ variations::FeatureOverrides feature_overrides(*feature_list);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // On Linux/Desktop platform variants, such as ozone/wayland, some features
- // might need to be disabled as per OzonePlatform's runtime properties.
- // OzonePlatform selection and initialization, in turn, depend on Chrome flags
+ // On Linux/Desktop platform variants, such as ozone/wayland, some features
+ // might need to be disabled as per OzonePlatform's runtime properties.
+ // OzonePlatform selection and initialization, in turn, depend on Chrome flags
diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.h b/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.h
deleted file mode 100644
index ac23e14c0033..000000000000
--- a/www/iridium/files/patch-chrome_browser_chrome__browser__field__trials.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/chrome_browser_field_trials.h.orig 2025-05-07 06:48:23 UTC
-+++ chrome/browser/chrome_browser_field_trials.h
-@@ -33,7 +33,7 @@ class ChromeBrowserFieldTrials : public variations::Pl
- const variations::EntropyProviders& entropy_providers,
- base::FeatureList* feature_list) override;
- void RegisterSyntheticTrials() override;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void RegisterFeatureOverrides(base::FeatureList* feature_list) override;
- #endif
-
diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc
index b44834b937a9..2522b69395fe 100644
--- a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc
+++ b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_interface_binders.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/chrome_browser_interface_binders.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/chrome_browser_interface_binders.cc
-@@ -81,7 +81,7 @@
+@@ -82,7 +82,7 @@
#endif // BUILDFLAG(ENABLE_UNHANDLED_TAP)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#include "chrome/browser/screen_ai/screen_ai_service_router.h"
#include "chrome/browser/screen_ai/screen_ai_service_router_factory.h"
#include "chrome/browser/ui/web_applications/sub_apps_service_impl.h"
-@@ -363,7 +363,7 @@ void BindMediaFoundationPreferences(
+@@ -365,7 +365,7 @@ void BindMediaFoundationPreferences(
#endif // BUILDFLAG(IS_WIN)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -18,7 +18,7 @@
void BindScreenAIAnnotator(
content::RenderFrameHost* frame_host,
mojo::PendingReceiver<screen_ai::mojom::ScreenAIAnnotator> receiver) {
-@@ -520,7 +520,7 @@ void PopulateChromeFrameBinders(
+@@ -544,7 +544,7 @@ void PopulateChromeFrameBinders(
#endif // BUILDFLAG(ENABLE_SPEECH_SERVICE)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
index 79e5b787a2f1..e22e9172c1c0 100644
--- a/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
+++ b/www/iridium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
@@ -1,13 +1,11 @@
---- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/chrome_browser_interface_binders_webui.cc
-@@ -48,20 +48,20 @@
- #include "content/public/browser/web_ui_controller_interface_binder.h"
+@@ -51,18 +51,18 @@
+ #include "mojo/public/cpp/bindings/binder_map.h"
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/webui/connectors_internals/connectors_internals.mojom.h"
- #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h"
#include "ui/webui/resources/cr_components/app_management/app_management.mojom.h"
#endif
@@ -24,16 +22,7 @@
#include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h"
#include "chrome/browser/ui/webui/on_device_translation_internals/on_device_translation_internals_ui.h"
#include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin.mojom.h"
-@@ -452,7 +452,7 @@ void PopulateChromeWebUIFrameBinders(
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- RegisterWebUIControllerInterfaceBinder<
- connectors_internals::mojom::PageHandler,
- enterprise_connectors::ConnectorsInternalsUI>(map);
-@@ -463,7 +463,7 @@ void PopulateChromeWebUIFrameBinders(
+@@ -483,7 +483,7 @@ void PopulateChromeWebUIFrameBinders(
policy::DlpInternalsUI>(map);
#endif
@@ -42,7 +31,7 @@
RegisterWebUIControllerInterfaceBinder<
app_management::mojom::PageHandlerFactory, WebAppSettingsUI>(map);
-@@ -593,14 +593,14 @@ void PopulateChromeWebUIFrameBinders(
+@@ -635,14 +635,14 @@ void PopulateChromeWebUIFrameBinders(
HistoryClustersSidePanelUI, NewTabPageUI, BookmarksSidePanelUI>(map);
}
@@ -59,7 +48,7 @@
WhatsNewUI,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
NewTabPageUI>(map);
-@@ -1133,7 +1133,7 @@ void PopulateChromeWebUIFrameBinders(
+@@ -1193,7 +1193,7 @@ void PopulateChromeWebUIFrameBinders(
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc
index 61b569963900..d1fdd61521e8 100644
--- a/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc
+++ b/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_main.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/chrome_browser_main.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/chrome_browser_main.cc
-@@ -150,7 +150,7 @@
+@@ -153,7 +153,7 @@
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#include "sql/database.h"
#endif
-@@ -176,11 +176,11 @@
+@@ -179,11 +179,11 @@
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -23,7 +23,7 @@
#include "chrome/browser/headless/headless_mode_metrics.h" // nogncheck
#include "chrome/browser/headless/headless_mode_util.h" // nogncheck
#include "chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker.h"
-@@ -191,7 +191,7 @@
+@@ -194,7 +194,7 @@
#include "ui/gfx/switches.h"
#endif
@@ -32,7 +32,7 @@
#include "chrome/browser/first_run/upgrade_util.h"
#endif
-@@ -269,7 +269,7 @@
+@@ -266,7 +266,7 @@
#include "chrome/browser/chrome_process_singleton.h"
#include "chrome/browser/ui/startup/startup_browser_creator.h"
@@ -41,7 +41,7 @@
#include "base/nix/xdg_util.h"
#endif
#endif // BUILDFLAG(ENABLE_PROCESS_SINGLETON)
-@@ -292,7 +292,7 @@
+@@ -289,7 +289,7 @@
namespace {
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \
@@ -50,7 +50,7 @@
constexpr base::FilePath::CharType kMediaHistoryDatabaseName[] =
FILE_PATH_LITERAL("Media History");
-@@ -443,7 +443,7 @@ void ProcessSingletonNotificationCallbackImpl(
+@@ -440,7 +440,7 @@ void ProcessSingletonNotificationCallbackImpl(
}
#endif
@@ -59,16 +59,16 @@
// Set the global activation token sent as a command line switch by another
// browser process. This also removes the switch after use to prevent any side
// effects of leaving it in the command line after this point.
-@@ -1021,7 +1021,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
- browser_creator_->AddFirstRunTabs(master_prefs_->new_tabs);
- }
+@@ -1007,7 +1007,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
--#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- // Create directory for user-level Native Messaging manifest files. This
- // makes it less likely that the directory will be created by third-party
- // software with incorrect owner or permission. See crbug.com/725513 .
-@@ -1066,7 +1066,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
+ #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \
+ (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_ANDROID))
++ BUILDFLAG(IS_ANDROID)) || BUILDFLAG(IS_BSD)
+ // Create directory for user-level Native Messaging manifest files. This
+ // makes it less likely that the directory will be created by third-party
+ // software with incorrect owner or permission. See crbug.com/725513 .
+@@ -1051,7 +1051,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
#endif // BUILDFLAG(IS_MAC)
@@ -76,8 +76,8 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
metrics::DesktopSessionDurationTracker::Initialize();
ProfileActivityMetricsRecorder::Initialize();
- TouchModeStatsTracker::Initialize(
-@@ -1262,7 +1262,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
+ TouchUIControllerStatsTracker::Initialize(
+@@ -1271,7 +1271,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
#endif // BUILDFLAG(IS_WIN)
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \
@@ -86,7 +86,7 @@
// Delete the media history database if it still exists.
// TODO(crbug.com/40177301): Remove this.
base::ThreadPool::PostTask(
-@@ -1310,7 +1310,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
+@@ -1322,7 +1322,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
*UrlLanguageHistogramFactory::GetForBrowserContext(profile));
#endif
@@ -95,7 +95,7 @@
if (headless::IsHeadlessMode()) {
headless::ReportHeadlessActionMetrics();
}
-@@ -1419,7 +1419,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl(
+@@ -1431,7 +1431,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl(
// In headless mode provide alternate SelectFileDialog factory overriding
// any platform specific SelectFileDialog implementation that may have been
// set.
@@ -104,7 +104,7 @@
if (headless::IsHeadlessMode()) {
headless::HeadlessSelectFileDialogFactory::SetUp();
}
-@@ -1966,7 +1966,7 @@ bool ChromeBrowserMainParts::ProcessSingletonNotificat
+@@ -1967,7 +1967,7 @@ bool ChromeBrowserMainParts::ProcessSingletonNotificat
// Drop the request if headless mode is in effect or the request is from
// a headless Chrome process.
diff --git a/www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc b/www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc
deleted file mode 100644
index 3af6d2353e58..000000000000
--- a/www/iridium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/chrome_browser_main_extra_parts_linux.cc.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/chrome_browser_main_extra_parts_linux.cc
-@@ -60,7 +60,7 @@ void ChromeBrowserMainExtraPartsLinux::PostBrowserStar
-
- // static
- void ChromeBrowserMainExtraPartsLinux::InitOzonePlatformHint() {
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::CommandLine* const command_line =
- base::CommandLine::ForCurrentProcess();
- std::unique_ptr<base::Environment> env = base::Environment::Create();
diff --git a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc
index 4c4998b4f7b5..86a62da911fe 100644
--- a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc
+++ b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_content_browser_client.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/chrome_content_browser_client.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/chrome_content_browser_client.cc
-@@ -506,7 +506,7 @@
+@@ -467,7 +467,7 @@
#include "components/user_manager/user_manager.h"
#include "services/service_manager/public/mojom/interface_provider_spec.mojom.h"
#include "storage/browser/file_system/external_mount_points.h"
@@ -9,39 +9,25 @@
#include "chrome/browser/chrome_browser_main_linux.h"
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h"
#elif BUILDFLAG(IS_ANDROID)
-@@ -621,11 +621,11 @@
+@@ -565,7 +565,7 @@
#include "services/network/public/mojom/permissions_policy/permissions_policy_feature.mojom.h"
#endif // !BUILDFLAG(IS_ANDROID)
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/browser_switcher/browser_switcher_navigation_throttle.h"
- #endif
-
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "components/crash/core/app/crash_switches.h"
#include "components/crash/core/app/crashpad.h"
#endif
-@@ -636,7 +636,7 @@
- #include "chrome/browser/apps/link_capturing/web_app_link_capturing_delegate.h"
+@@ -574,7 +574,7 @@
+ #include "components/crash/content/browser/crash_handler_host_linux.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/chrome_browser_main_extra_parts_enterprise.h"
- #include "chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.h"
- #include "chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.h"
-@@ -647,7 +647,7 @@
#endif
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/enterprise/connectors/device_trust/navigation_throttle.h"
- #include "chrome/browser/enterprise/incognito/incognito_navigation_throttle.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ||
-@@ -657,7 +657,7 @@
+@@ -582,7 +582,7 @@
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h"
#endif
@@ -50,25 +36,16 @@
#include "chrome/browser/chrome_browser_main_extra_parts_linux.h"
#elif BUILDFLAG(IS_OZONE)
#include "chrome/browser/chrome_browser_main_extra_parts_ozone.h"
-@@ -1558,7 +1558,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre
- registry->RegisterBooleanPref(prefs::kDeviceNativeClientForceAllowedCache,
- false);
- #endif // BUILDFLAG(IS_CHROMEOS)
+@@ -1406,7 +1406,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre
+ registry->RegisterBooleanPref(prefs::kDataURLWhitespacePreservationEnabled,
+ true);
+ registry->RegisterBooleanPref(prefs::kEnableUnsafeSwiftShader, false);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
registry->RegisterBooleanPref(prefs::kOutOfProcessSystemDnsResolutionEnabled,
true);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
-@@ -1651,7 +1651,7 @@ void ChromeContentBrowserClient::RegisterProfilePrefs(
- policy::policy_prefs::kForcePermissionPolicyUnloadDefaultEnabled, false);
-
- #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- registry->RegisterListPref(prefs::kMandatoryExtensionsForIncognitoNavigation);
- #endif
-
-@@ -1775,7 +1775,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+@@ -1628,7 +1628,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
#elif BUILDFLAG(IS_CHROMEOS)
main_parts = std::make_unique<ash::ChromeBrowserMainPartsAsh>(
is_integration_test, &startup_data_);
@@ -77,16 +54,16 @@
main_parts = std::make_unique<ChromeBrowserMainPartsLinux>(
is_integration_test, &startup_data_);
#elif BUILDFLAG(IS_ANDROID)
-@@ -1804,7 +1804,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
- // Construct additional browser parts. Stages are called in the order in
- // which they are added.
+@@ -1659,7 +1659,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+ // Construct additional browser parts. Stages are called in the order in
+ // which they are added.
#if defined(TOOLKIT_VIEWS)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
main_parts->AddParts(
std::make_unique<ChromeBrowserMainExtraPartsViewsLinux>());
#else
-@@ -1821,7 +1821,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+@@ -1676,7 +1676,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsAsh>());
#endif
@@ -95,7 +72,7 @@
main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsLinux>());
#elif BUILDFLAG(IS_OZONE)
main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsOzone>());
-@@ -1840,7 +1840,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+@@ -1695,7 +1695,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
chrome::AddMetricsExtraParts(main_parts.get());
@@ -104,7 +81,7 @@
main_parts->AddParts(
std::make_unique<
enterprise_util::ChromeBrowserMainExtraPartsEnterprise>());
-@@ -2744,7 +2744,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial(
+@@ -2703,7 +2703,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial(
void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
base::CommandLine* command_line,
int child_process_id) {
@@ -114,7 +91,7 @@
#if BUILDFLAG(IS_MAC)
std::unique_ptr<metrics::ClientInfo> client_info =
GoogleUpdateSettings::LoadMetricsClientInfo();
-@@ -2753,7 +2755,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin
+@@ -2712,7 +2714,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin
client_info->client_id);
}
#elif BUILDFLAG(IS_POSIX)
@@ -123,7 +100,7 @@
pid_t pid;
if (crash_reporter::GetHandlerSocket(nullptr, &pid)) {
command_line->AppendSwitchASCII(
-@@ -3117,7 +3119,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin
+@@ -3044,7 +3046,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin
}
}
@@ -132,7 +109,7 @@
// Opt into a hardened stack canary mitigation if it hasn't already been
// force-disabled.
if (!browser_command_line.HasSwitch(switches::kChangeStackGuardOnFork)) {
-@@ -4067,7 +4069,7 @@ bool UpdatePreferredColorScheme(WebPreferences* web_pr
+@@ -4109,7 +4111,7 @@ bool UpdatePreferredColorScheme(WebPreferences* web_pr
return old_preferred_color_scheme != web_prefs->preferred_color_scheme;
}
@@ -141,7 +118,7 @@
// Sets the `root_scrollbar_theme_color` web pref if the user has enabled a
// custom colored frame for the UI.
void UpdateRootScrollbarThemeColor(Profile* profile,
-@@ -4697,7 +4699,7 @@ void ChromeContentBrowserClient::OverrideWebPreference
+@@ -4752,7 +4754,7 @@ void ChromeContentBrowserClient::OverrideWebPreference
UpdatePreferredColorScheme(web_prefs, main_frame_site.GetSiteURL(),
web_contents, GetWebTheme());
@@ -150,7 +127,7 @@
UpdateRootScrollbarThemeColor(profile, web_contents, web_prefs);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-@@ -5017,7 +5019,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst
+@@ -5030,7 +5032,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst
}
}
@@ -159,43 +136,7 @@
void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const base::CommandLine& command_line,
int child_process_id,
-@@ -5529,7 +5531,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- &throttles);
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- MaybeAddThrottle(
- WebAppSettingsNavigationThrottle::MaybeCreateThrottleFor(handle),
- &throttles);
-@@ -5553,7 +5555,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- MaybeAddThrottle(enterprise_connectors::DeviceTrustNavigationThrottle::
- MaybeCreateThrottleFor(handle),
- &throttles);
-@@ -5594,7 +5596,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- }
- #endif
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle::
- MaybeCreateThrottleFor(handle),
- &throttles);
-@@ -5716,7 +5718,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- &throttles);
- #endif // BUILDFLAG(IS_CHROMEOS)
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (profile && profile->IsIncognitoProfile() && profile->IsOffTheRecord()) {
- MaybeAddThrottle(enterprise_incognito::IncognitoNavigationThrottle::
- MaybeCreateThrottleFor(handle),
-@@ -7544,7 +7546,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS
+@@ -7174,7 +7176,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS
bool ChromeContentBrowserClient::ShouldRunOutOfProcessSystemDnsResolution() {
// This enterprise policy is supported on Android, but the feature will not be
// launched there.
diff --git a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h
index 1b1cf63e3130..f56d5318aa4c 100644
--- a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h
+++ b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.h
@@ -1,9 +1,9 @@
---- chrome/browser/chrome_content_browser_client.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/chrome_content_browser_client.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/chrome_content_browser_client.h
-@@ -560,7 +560,7 @@ class ChromeContentBrowserClient : public content::Con
- bool IsPluginAllowedToUseDevChannelAPIs(
- content::BrowserContext* browser_context,
- const GURL& url) override;
+@@ -571,7 +571,7 @@ class ChromeContentBrowserClient : public content::Con
+ const GURL& site_url) override;
+ std::unique_ptr<content::TracingDelegate> CreateTracingDelegate() override;
+ bool IsSystemWideTracingEnabled() override;
-#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD)
void GetAdditionalMappedFilesForChildProcess(
diff --git a/www/iridium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc
new file mode 100644
index 000000000000..4a8933df364b
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc
@@ -0,0 +1,38 @@
+--- chrome/browser/chrome_content_browser_client_navigation_throttles.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/chrome_content_browser_client_navigation_throttles.cc
+@@ -125,7 +125,7 @@
+ #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
+ #endif // BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/browser_switcher/browser_switcher_navigation_throttle.h"
+ #include "chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.h"
+ #include "chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.h"
+@@ -406,7 +406,7 @@ void CreateAndAddChromeThrottlesForNavigation(
+ TypedNavigationUpgradeThrottle::MaybeCreateAndAdd(registry);
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ WebAppSettingsNavigationThrottle::MaybeCreateAndAdd(registry);
+ profile_management::ProfileManagementNavigationThrottle::MaybeCreateAndAdd(
+ registry);
+@@ -424,7 +424,7 @@ void CreateAndAddChromeThrottlesForNavigation(
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ enterprise_connectors::DeviceTrustNavigationThrottle::MaybeCreateAndAdd(
+ registry);
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ||
+@@ -456,7 +456,7 @@ void CreateAndAddChromeThrottlesForNavigation(
+ }
+ #endif // BUILDFLAG(SAFE_BROWSING_AVAILABLE)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ browser_switcher::BrowserSwitcherNavigationThrottle::MaybeCreateAndAdd(
+ registry);
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-chrome_browser_component__updater_registration.cc b/www/iridium/files/patch-chrome_browser_component__updater_registration.cc
index c66de2b1f63e..06b9e9858161 100644
--- a/www/iridium/files/patch-chrome_browser_component__updater_registration.cc
+++ b/www/iridium/files/patch-chrome_browser_component__updater_registration.cc
@@ -1,15 +1,15 @@
---- chrome/browser/component_updater/registration.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/component_updater/registration.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/component_updater/registration.cc
-@@ -101,7 +101,7 @@
+@@ -94,7 +94,7 @@
#endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
#include "components/component_updater/installer_policies/amount_extraction_heuristic_regexes_component_installer.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-@@ -114,7 +114,7 @@
+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+@@ -107,7 +107,7 @@
#include "chrome/browser/component_updater/lacros_component_remover.h"
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -18,7 +18,7 @@
#include "chrome/browser/component_updater/wasm_tts_engine_component_installer.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -261,12 +261,12 @@ void RegisterComponentsForUpdate() {
+@@ -245,7 +245,7 @@ void RegisterComponentsForUpdate() {
RegisterCookieReadinessListComponent(cus);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,9 +27,12 @@
RegisterAmountExtractionHeuristicRegexesComponent(cus);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS)
+@@ -257,7 +257,7 @@ void RegisterComponentsForUpdate() {
+ }
+ #endif // BUIDLFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (features::IsWasmTtsComponentUpdaterEnabled()) {
- RegisterWasmTtsEngineComponent(cus);
- }
+ RegisterWasmTtsEngineComponent(cus, g_browser_process->local_state());
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+
diff --git a/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc b/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc
index 15fa846b9df5..d61a36eae419 100644
--- a/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc
+++ b/www/iridium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc
@@ -1,7 +1,7 @@
---- chrome/browser/component_updater/wasm_tts_engine_component_installer.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/component_updater/wasm_tts_engine_component_installer.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/component_updater/wasm_tts_engine_component_installer.cc
-@@ -9,7 +9,7 @@
- #include "base/logging.h"
+@@ -11,7 +11,7 @@
+ #include "components/prefs/pref_registry_simple.h"
#include "content/public/browser/browser_thread.h"
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -9,7 +9,16 @@
#include "chrome/browser/accessibility/embedded_a11y_extension_loader.h"
#include "chrome/common/extensions/extension_constants.h"
#include "ui/accessibility/accessibility_features.h"
-@@ -41,7 +41,7 @@ constexpr std::array<uint8_t, 32> kWasmTtsEnginePublic
+@@ -31,7 +31,7 @@ const base::FilePath::CharType kWorkletProcessorJsFile
+ FILE_PATH_LITERAL("streaming_worklet_processor.js");
+ const base::FilePath::CharType kVoicesJsonFileName[] =
+ FILE_PATH_LITERAL("voices.json");
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const base::FilePath::CharType kManifestV3FileName[] =
+ FILE_PATH_LITERAL("wasm_tts_manifest_v3.json");
+ const base::FilePath::CharType kOffscreenHtmlFileName[] =
+@@ -51,7 +51,7 @@ constexpr std::array<uint8_t, 32> kWasmTtsEnginePublic
const char kWasmTtsEngineManifestName[] = "WASM TTS Engine";
@@ -18,16 +27,43 @@
class WasmTTSEngineDirectory {
public:
static WasmTTSEngineDirectory* Get() {
-@@ -111,7 +111,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR
+@@ -103,7 +103,7 @@ WasmTtsEngineComponentInstallerPolicy::WasmTtsEngineCo
+ // static
+ void WasmTtsEngineComponentInstallerPolicy::RegisterPrefs(
+ PrefRegistrySimple* registry) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ registry->RegisterTimePref(prefs::kAccessibilityReadAnythingDateLastOpened,
+ base::Time());
+ registry->RegisterBooleanPref(
+@@ -136,7 +136,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR
VLOG(1) << "Component ready, version " << version.GetString() << " in "
<< install_dir.value();
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (features::IsWasmTtsComponentUpdaterEnabled() &&
- !features::IsWasmTtsEngineAutoInstallDisabled()) {
+ if (!features::IsWasmTtsEngineAutoInstallDisabled()) {
// Instead of installing the component extension as soon as it is ready,
-@@ -166,7 +166,7 @@ void RegisterWasmTtsEngineComponent(ComponentUpdateSer
+ // store the install directory, so that the install can be triggered
+@@ -160,7 +160,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR
+ // be removed the next time Chrome is restarted.
+ void WasmTtsEngineComponentInstallerPolicy::MaybeReinstallTtsEngine(
+ const base::FilePath& install_dir) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const base::Time current_time = base::Time::Now();
+ const base::Time date_last_opened =
+ pref_service_->GetTime(prefs::kAccessibilityReadAnythingDateLastOpened);
+@@ -222,7 +222,7 @@ void WasmTtsEngineComponentInstallerPolicy::MaybeReins
+ bool WasmTtsEngineComponentInstallerPolicy::VerifyInstallation(
+ const base::Value::Dict& /* manifest */,
+ const base::FilePath& install_dir) const {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (features::IsWasmTtsComponentUpdaterV3Enabled()) {
+ return base::PathExists(install_dir.Append(kManifestV3FileName)) &&
+ base::PathExists(install_dir.Append(kBindingsMainWasmFileName)) &&
+@@ -272,7 +272,7 @@ void RegisterWasmTtsEngineComponent(ComponentUpdateSer
void WasmTtsEngineComponentInstallerPolicy::GetWasmTTSEngineDirectory(
base::OnceCallback<void(const base::FilePath&)> callback) {
diff --git a/www/iridium/files/patch-chrome_browser_devtools_features.cc b/www/iridium/files/patch-chrome_browser_devtools_features.cc
deleted file mode 100644
index 3a6274c98fc9..000000000000
--- a/www/iridium/files/patch-chrome_browser_devtools_features.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/devtools/features.cc.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/devtools/features.cc
-@@ -164,7 +164,7 @@ BASE_FEATURE(kDevToolsNewPermissionDialog,
- "DevToolsNewPermissionDialog",
- base::FEATURE_ENABLED_BY_DEFAULT);
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // If enabled, DevTools does not accept remote debugging connections unless
- // using a non-default user data dir via the --user-data-dir switch.
- BASE_FEATURE(kDevToolsDebuggingRestrictions,
diff --git a/www/iridium/files/patch-chrome_browser_devtools_features.h b/www/iridium/files/patch-chrome_browser_devtools_features.h
deleted file mode 100644
index 604d20e19b68..000000000000
--- a/www/iridium/files/patch-chrome_browser_devtools_features.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/devtools/features.h.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/devtools/features.h
-@@ -92,7 +92,7 @@ BASE_DECLARE_FEATURE(kDevToolsAiGeneratedTimelineLabel
-
- BASE_DECLARE_FEATURE(kDevToolsNewPermissionDialog);
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_DECLARE_FEATURE(kDevToolsDebuggingRestrictions);
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
diff --git a/www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.cc b/www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.cc
index 82f01d707bcb..31d73f90fbcf 100644
--- a/www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.cc
+++ b/www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.cc
@@ -1,11 +1,29 @@
---- chrome/browser/devtools/remote_debugging_server.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/devtools/remote_debugging_server.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/devtools/remote_debugging_server.cc
-@@ -109,7 +109,7 @@ IsRemoteDebuggingAllowed(const std::optional<bool>& is
+@@ -42,7 +42,7 @@ namespace {
+
+ bool g_tethering_enabled = false;
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool g_enable_default_user_data_dir_check_for_chromium_branding_for_testing =
+ false;
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+@@ -114,7 +114,7 @@ IsRemoteDebuggingAllowed(const std::optional<bool>& is
+ return base::unexpected(
RemoteDebuggingServer::NotStartedReason::kDisabledByPolicy);
}
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ constexpr bool default_user_data_dir_check_enabled = true;
+ #else
+@@ -140,7 +140,7 @@ void RemoteDebuggingServer::EnableTetheringForDebug()
+ g_tethering_enabled = true;
+ }
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (base::FeatureList::IsEnabled(features::kDevToolsDebuggingRestrictions) &&
- is_default_user_data_dir.value_or(true)) {
- return base::unexpected(
+ // static
+ void RemoteDebuggingServer::EnableDefaultUserDataDirCheckForTesting() {
+ g_enable_default_user_data_dir_check_for_chromium_branding_for_testing = true;
diff --git a/www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.h b/www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.h
new file mode 100644
index 000000000000..8b977fb780a2
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_devtools_remote__debugging__server.h
@@ -0,0 +1,11 @@
+--- chrome/browser/devtools/remote_debugging_server.h.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/devtools/remote_debugging_server.h
+@@ -33,7 +33,7 @@ class RemoteDebuggingServer {
+
+ static void EnableTetheringForDebug();
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Enables the default user data dir check even for non-Chrome branded builds,
+ // for testing.
+ static void EnableDefaultUserDataDirCheckForTesting();
diff --git a/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc b/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
index 59f5ae8273e9..25401d053cb5 100644
--- a/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
+++ b/www/iridium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
@@ -1,6 +1,6 @@
---- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/download/chrome_download_manager_delegate.cc
-@@ -1889,7 +1889,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe
+@@ -1944,7 +1944,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe
bool ChromeDownloadManagerDelegate::IsOpenInBrowserPreferredForFile(
const base::FilePath& path) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
if (path.MatchesExtension(FILE_PATH_LITERAL(".pdf"))) {
return !download_prefs_->ShouldOpenPdfInSystemReader();
}
-@@ -2025,7 +2025,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadAllow
+@@ -2080,7 +2080,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadAllow
content::CheckDownloadAllowedCallback check_download_allowed_cb) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -18,7 +18,7 @@
// Don't download pdf if it is a file URL, as that might cause an infinite
// download loop if Chrome is not the system pdf viewer.
if (url.SchemeIsFile() && download_prefs_->ShouldOpenPdfInSystemReader()) {
-@@ -2107,7 +2107,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl
+@@ -2162,7 +2162,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl
DCHECK(download_item->IsSavePackageDownload());
#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/iridium/files/patch-chrome_browser_download_download__item__model.cc b/www/iridium/files/patch-chrome_browser_download_download__item__model.cc
index d08094e88192..9b79d30ce458 100644
--- a/www/iridium/files/patch-chrome_browser_download_download__item__model.cc
+++ b/www/iridium/files/patch-chrome_browser_download_download__item__model.cc
@@ -1,6 +1,6 @@
---- chrome/browser/download/download_item_model.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/download/download_item_model.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/download/download_item_model.cc
-@@ -772,7 +772,7 @@ bool DownloadItemModel::IsCommandChecked(
+@@ -723,7 +723,7 @@ bool DownloadItemModel::IsCommandChecked(
download_crx_util::IsExtensionDownload(*download_);
case DownloadCommands::ALWAYS_OPEN_TYPE:
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
if (download_commands->CanOpenPdfInSystemViewer()) {
DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(profile());
return prefs->ShouldOpenPdfInSystemReader();
-@@ -820,7 +820,7 @@ void DownloadItemModel::ExecuteCommand(DownloadCommand
+@@ -771,7 +771,7 @@ void DownloadItemModel::ExecuteCommand(DownloadCommand
DownloadCommands::ALWAYS_OPEN_TYPE);
DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(profile());
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -18,7 +18,7 @@
if (download_commands->CanOpenPdfInSystemViewer()) {
prefs->SetShouldOpenPdfInSystemReader(!is_checked);
SetShouldPreferOpeningInBrowser(is_checked);
-@@ -1210,7 +1210,7 @@ void DownloadItemModel::DetermineAndSetShouldPreferOpe
+@@ -1174,7 +1174,7 @@ void DownloadItemModel::DetermineAndSetShouldPreferOpe
return;
}
diff --git a/www/iridium/files/patch-chrome_browser_download_download__prefs.cc b/www/iridium/files/patch-chrome_browser_download_download__prefs.cc
index eb0cd255f498..4f1f31461ba2 100644
--- a/www/iridium/files/patch-chrome_browser_download_download__prefs.cc
+++ b/www/iridium/files/patch-chrome_browser_download_download__prefs.cc
@@ -1,4 +1,4 @@
---- chrome/browser/download/download_prefs.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/download/download_prefs.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/download/download_prefs.cc
@@ -11,6 +11,7 @@
#include <vector>
@@ -8,7 +8,7 @@
#include "base/feature_list.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
-@@ -61,6 +62,10 @@
+@@ -62,6 +63,10 @@
#include "components/safe_browsing/content/common/file_type_policies.h"
#endif
@@ -19,7 +19,7 @@
using content::BrowserContext;
using content::BrowserThread;
using content::DownloadManager;
-@@ -74,7 +79,7 @@ namespace {
+@@ -75,7 +80,7 @@ namespace {
// Consider downloads 'dangerous' if they go to the home directory on Linux and
// to the desktop on any platform.
bool DownloadPathIsDangerous(const base::FilePath& download_path) {
@@ -28,7 +28,7 @@
base::FilePath home_dir = base::GetHomeDir();
if (download_path == home_dir) {
return true;
-@@ -180,7 +185,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profi
+@@ -181,7 +186,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profi
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -37,7 +37,7 @@
should_open_pdf_in_system_reader_ =
prefs->GetBoolean(prefs::kOpenPdfDownloadInSystemReader);
#endif
-@@ -307,7 +312,7 @@ void DownloadPrefs::RegisterProfilePrefs(
+@@ -308,7 +313,7 @@ void DownloadPrefs::RegisterProfilePrefs(
registry->RegisterFilePathPref(prefs::kSaveFileDefaultDirectory,
default_download_path);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -46,7 +46,7 @@
registry->RegisterBooleanPref(prefs::kOpenPdfDownloadInSystemReader, false);
#endif
#if BUILDFLAG(IS_ANDROID)
-@@ -480,7 +485,7 @@ void DownloadPrefs::DisableAutoOpenByUserBasedOnExtens
+@@ -481,7 +486,7 @@ void DownloadPrefs::DisableAutoOpenByUserBasedOnExtens
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -55,7 +55,7 @@
void DownloadPrefs::SetShouldOpenPdfInSystemReader(bool should_open) {
if (should_open_pdf_in_system_reader_ == should_open)
return;
-@@ -506,7 +511,7 @@ bool DownloadPrefs::ShouldOpenPdfInSystemReader() cons
+@@ -507,7 +512,7 @@ bool DownloadPrefs::ShouldOpenPdfInSystemReader() cons
void DownloadPrefs::ResetAutoOpenByUser() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -64,7 +64,7 @@
SetShouldOpenPdfInSystemReader(false);
#endif
auto_open_by_user_.clear();
-@@ -543,7 +548,7 @@ void DownloadPrefs::SaveAutoOpenState() {
+@@ -544,7 +549,7 @@ void DownloadPrefs::SaveAutoOpenState() {
bool DownloadPrefs::CanPlatformEnableAutoOpenForPdf() const {
#if BUILDFLAG(IS_CHROMEOS)
return false; // There is no UI for auto-open on ChromeOS.
@@ -73,7 +73,7 @@
return ShouldOpenPdfInSystemReader();
#else
return false;
-@@ -625,7 +630,14 @@ base::FilePath DownloadPrefs::SanitizeDownloadTargetPa
+@@ -626,7 +631,14 @@ base::FilePath DownloadPrefs::SanitizeDownloadTargetPa
#else
// If the stored download directory is an absolute path, we presume it's
// correct; there's not really much more validation we can do here.
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc
index 24617c9460a8..c985c44cc5dc 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc
+++ b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc
@@ -1,4 +1,4 @@
---- chrome/browser/enterprise/browser_management/browser_management_service.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/enterprise/browser_management/browser_management_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/browser_management/browser_management_service.cc
@@ -50,7 +50,7 @@ GetManagementStatusProviders(Profile* profile) {
@@ -9,25 +9,34 @@
base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
FROM_HERE,
base::BindOnce(&BrowserManagementService::UpdateManagementIconForProfile,
-@@ -70,7 +70,7 @@ BrowserManagementService::BrowserManagementService(Pro
+@@ -74,7 +74,7 @@ BrowserManagementService::BrowserManagementService(Pro
}
ui::ImageModel* BrowserManagementService::GetManagementIconForProfile() {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) | BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return management_icon_for_profile_.IsEmpty() ? nullptr
: &management_icon_for_profile_;
#else
-@@ -83,7 +83,7 @@ void BrowserManagementService::TriggerPolicyStatusChan
+@@ -83,7 +83,7 @@ ui::ImageModel* BrowserManagementService::GetManagemen
+ }
+
+ gfx::Image* BrowserManagementService::GetManagementIconForBrowser() {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return management_icon_for_browser_.IsEmpty() ? nullptr
+ : &management_icon_for_browser_;
+ #else
+@@ -96,7 +96,7 @@ void BrowserManagementService::TriggerPolicyStatusChan
OnPolicyStatusChanged();
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void BrowserManagementService::StartListeningToPrefChanges(Profile* profile) {
- pref_change_registrar_.Init(profile->GetPrefs());
- pref_change_registrar_.Add(
-@@ -126,7 +126,7 @@ void BrowserManagementService::SetManagementIconForPro
+ void BrowserManagementService::SetBrowserManagementIconForTesting(
+ const gfx::Image& management_icon) {
+ CHECK_IS_TEST();
+@@ -183,7 +183,7 @@ void BrowserManagementService::SetManagementIconForBro
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
void BrowserManagementService::OnPolicyStatusChanged() {
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h
index f1ce0dd0d30a..f158a9dc8fa1 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h
+++ b/www/iridium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h
@@ -1,6 +1,15 @@
---- chrome/browser/enterprise/browser_management/browser_management_service.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/enterprise/browser_management/browser_management_service.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/browser_management/browser_management_service.h
-@@ -44,7 +44,7 @@ class BrowserManagementService : public ManagementServ
+@@ -41,7 +41,7 @@ class BrowserManagementService : public ManagementServ
+
+ void TriggerPolicyStatusChangedForTesting() override;
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ void SetBrowserManagementIconForTesting(
+ const gfx::Image& management_icon) override;
+ #endif
+@@ -50,7 +50,7 @@ class BrowserManagementService : public ManagementServ
// PolicyStatusProvider::Observer:
void OnPolicyStatusChanged() override;
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_connectors_common.cc b/www/iridium/files/patch-chrome_browser_enterprise_connectors_common.cc
index 329f39edd885..596087ac1807 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_connectors_common.cc
+++ b/www/iridium/files/patch-chrome_browser_enterprise_connectors_common.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/common.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/enterprise/connectors/common.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/connectors/common.cc
-@@ -17,7 +17,7 @@
+@@ -19,7 +19,7 @@
#include "components/user_manager/user.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#include "components/prefs/pref_service.h"
#endif
-@@ -192,7 +192,7 @@ std::string GetProfileEmail(Profile* profile) {
+@@ -235,7 +235,7 @@ std::string GetProfileEmail(Profile* profile) {
std::string email =
GetProfileEmail(IdentityManagerFactory::GetForProfile(profile));
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc b/www/iridium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc
index 1aa630da05d7..bca7e9a29ae9 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc
+++ b/www/iridium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/connectors_service.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/enterprise/connectors/connectors_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/connectors/connectors_service.cc
-@@ -476,7 +476,7 @@ policy::PolicyScope ConnectorsService::GetPolicyScope(
+@@ -449,7 +449,7 @@ policy::PolicyScope ConnectorsService::GetPolicyScope(
bool ConnectorsService::ConnectorsEnabled() const {
Profile* profile = Profile::FromBrowserContext(context_);
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc
index ecac4a359ade..568d3db6c9e7 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc
+++ b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc
-@@ -24,7 +24,7 @@
+@@ -29,7 +29,7 @@
namespace enterprise_connectors {
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc
index 374678110a03..d97039625117 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc
+++ b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc
-@@ -52,7 +52,7 @@
+@@ -53,7 +53,7 @@
#include "base/strings/utf_string_conversions.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/signals/signals_aggregator_factory.h"
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#include "components/device_signals/core/browser/signals_aggregator.h"
-@@ -157,7 +157,7 @@ void RealtimeReportingClient::ReportPastEvent(const st
+@@ -158,7 +158,7 @@ void RealtimeReportingClient::ReportPastEvent(const st
/*include_profile_user_name=*/false);
}
@@ -18,7 +18,7 @@
void AddCrowdstrikeSignalsToEvent(
base::Value::Dict& event,
-@@ -193,7 +193,7 @@ std::string RealtimeReportingClient::GetProfileUserNam
+@@ -194,7 +194,7 @@ std::string RealtimeReportingClient::GetProfileUserNam
username_ =
identity_manager_ ? GetProfileEmail(identity_manager_) : std::string();
@@ -27,7 +27,7 @@
if (username_.empty()) {
username_ = Profile::FromBrowserContext(context_)->GetPrefs()->GetString(
enterprise_signin::prefs::kProfileUserEmail);
-@@ -245,7 +245,7 @@ std::string RealtimeReportingClient::GetBrowserClientI
+@@ -251,7 +251,7 @@ std::string RealtimeReportingClient::GetBrowserClientI
return client_id;
}
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h
index 4663bfd0e1f4..2fdd3c249445 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h
+++ b/www/iridium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h
@@ -1,4 +1,4 @@
---- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.h
@@ -19,7 +19,7 @@
#include "components/keyed_service/core/keyed_service.h"
@@ -9,7 +9,7 @@
#include "components/device_signals/core/browser/signals_types.h"
#endif
-@@ -113,7 +113,7 @@ class RealtimeReportingClient : public RealtimeReporti
+@@ -119,7 +119,7 @@ class RealtimeReportingClient : public RealtimeReporti
const std::string& dm_token) override;
#endif
@@ -18,7 +18,7 @@
// DEPRECATED: Use MaybeCollectDeviceSignalsAndReportEvent(Event, ...).
void MaybeCollectDeviceSignalsAndReportEventDeprecated(
base::Value::Dict event,
-@@ -163,7 +163,7 @@ class RealtimeReportingClient : public RealtimeReporti
+@@ -169,7 +169,7 @@ class RealtimeReportingClient : public RealtimeReporti
base::WeakPtrFactory<RealtimeReportingClient> weak_ptr_factory_{this};
};
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc b/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc
deleted file mode 100644
index 08a130ef8bb8..000000000000
--- a/www/iridium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- chrome/browser/enterprise/reporting/cloud_profile_reporting_service_factory.cc.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/enterprise/reporting/cloud_profile_reporting_service_factory.cc
-@@ -10,7 +10,7 @@
- #include "components/enterprise/browser/reporting/report_scheduler.h"
- #include "services/network/public/cpp/shared_url_loader_factory.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/enterprise/signals/signals_aggregator_factory.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
-
-@@ -47,7 +47,7 @@ CloudProfileReportingServiceFactory::CloudProfileRepor
- ProfileSelections::BuildForRegularProfile()) {
- DependsOn(enterprise::ProfileIdServiceFactory::GetInstance());
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Depends on this service because
- // `CloudProfileReportingService.profile_request_generator_` has a dependency
- // on it.
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc b/www/iridium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc
new file mode 100644
index 000000000000..0ede8f64109c
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/enterprise/signals/signals_aggregator_factory.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/enterprise/signals/signals_aggregator_factory.cc
+@@ -49,7 +49,7 @@
+ #include "components/device_signals/core/browser/settings_client.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "components/device_signals/core/browser/agent_signals_collector.h"
+ #include "components/device_signals/core/browser/crowdstrike_client.h"
+ #include "components/device_signals/core/browser/detected_agent_client.h"
+@@ -114,7 +114,7 @@ SignalsAggregatorFactory::BuildServiceInstanceForBrows
+ service_host));
+ #endif // !BUILDFLAG(IS_ANDROID)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ collectors.push_back(std::make_unique<device_signals::AgentSignalsCollector>(
+ device_signals::CrowdStrikeClient::Create(),
+ device_signals::DetectedAgentClient::Create()));
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc b/www/iridium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc
index 0825a3a4b308..fc512e1a7223 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc
+++ b/www/iridium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/signin/interstitials/managed_profile_required_page.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/enterprise/signin/interstitials/managed_profile_required_page.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/signin/interstitials/managed_profile_required_page.cc
-@@ -94,7 +94,7 @@ void ManagedProfileRequiredPage::CommandReceived(const
+@@ -95,7 +95,7 @@ void ManagedProfileRequiredPage::CommandReceived(const
switch (cmd) {
case security_interstitials::CMD_DONT_PROCEED:
diff --git a/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc b/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc
index 89c00c104193..da07c90c3341 100644
--- a/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc
+++ b/www/iridium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc
@@ -1,6 +1,15 @@
---- chrome/browser/enterprise/util/managed_browser_utils.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/enterprise/util/managed_browser_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/enterprise/util/managed_browser_utils.cc
-@@ -222,7 +222,7 @@ void SetUserAcceptedAccountManagement(Profile* profile
+@@ -220,7 +220,7 @@ void SetUserAcceptedAccountManagement(Profile* profile
+ // The updated consent screen also ask the user for consent to share device
+ // signals.
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ profile->GetPrefs()->SetBoolean(
+ device_signals::prefs::kDeviceSignalsPermanentConsentReceived, accepted);
+ #endif
+@@ -229,7 +229,7 @@ void SetUserAcceptedAccountManagement(Profile* profile
profile_manager->GetProfileAttributesStorage()
.GetProfileAttributesWithPath(profile->GetPath());
if (entry) {
@@ -9,12 +18,21 @@
SetEnterpriseProfileLabel(profile);
#endif
entry->SetUserAcceptedAccountManagement(accepted);
-@@ -341,7 +341,7 @@ bool CanShowEnterpriseProfileUI(Profile* profile) {
+@@ -348,7 +348,7 @@ bool CanShowEnterpriseProfileUI(Profile* profile) {
}
bool CanShowEnterpriseBadgingForNTPFooter(Profile* profile) {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BrowserManagementNoticeState management_notice_state =
+ GetManagementNoticeStateForNTPFooter(profile);
+ switch (management_notice_state) {
+@@ -366,7 +366,7 @@ bool CanShowEnterpriseBadgingForNTPFooter(Profile* pro
- auto* management_service =
- policy::ManagementServiceFactory::GetForProfile(profile);
+ BrowserManagementNoticeState GetManagementNoticeStateForNTPFooter(
+ Profile* profile) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (!policy::ManagementServiceFactory::GetForProfile(profile)
+ ->IsBrowserManaged() ||
+ !g_browser_process->local_state()->GetBoolean(
diff --git a/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn b/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn
index 57a5fa29d90e..0ddd190ed8d1 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn
+++ b/www/iridium/files/patch-chrome_browser_extensions_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/extensions/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/BUILD.gn
-@@ -1468,6 +1468,10 @@ source_set("extensions") {
+@@ -1516,6 +1516,10 @@ source_set("extensions") {
deps += [ "//chrome/services/printing/public/mojom" ]
}
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc b/www/iridium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc
index 96e5096b8092..25d47e6f5433 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc
@@ -1,6 +1,15 @@
---- chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc
-@@ -20,6 +20,7 @@ static base::LazyInstance<scoped_refptr<StorageDeviceL
+@@ -9,6 +9,8 @@
+ #include "base/task/thread_pool.h"
+ #include "content/public/browser/browser_thread.h"
+
++#include "base/notimplemented.h"
++
+ namespace extensions {
+
+ // A device list to be returned when testing.
+@@ -20,6 +22,7 @@ static base::LazyInstance<scoped_refptr<StorageDeviceL
void RemovableStorageProvider::GetAllDevices(DeviceListReadyCallback callback) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
@@ -8,7 +17,7 @@
if (g_test_device_list.Get().get() != nullptr) {
base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask(
FROM_HERE,
-@@ -33,6 +34,9 @@ void RemovableStorageProvider::GetAllDevices(DeviceLis
+@@ -33,6 +36,9 @@ void RemovableStorageProvider::GetAllDevices(DeviceLis
base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN},
base::BindOnce(&RemovableStorageProvider::PopulateDeviceList),
std::move(callback));
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc b/www/iridium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc
index f8bb6da28a95..baee18b10e1e 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
-@@ -634,7 +634,7 @@ void PasswordsPrivateDelegateImpl::OnFetchingFamilyMem
+@@ -647,7 +647,7 @@ void PasswordsPrivateDelegateImpl::OnFetchingFamilyMem
}
void PasswordsPrivateDelegateImpl::OsReauthTimeoutCall() {
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc b/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
index a28c97ea623d..20ca34101cf8 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
-@@ -288,7 +288,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor
+@@ -356,7 +356,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor
} else if (strcmp(os, "linux") == 0) {
info->os = extensions::api::runtime::PlatformOs::kLinux;
} else if (strcmp(os, "openbsd") == 0) {
@@ -8,6 +8,6 @@
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
+ } else if (strcmp(os, "freebsd") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
+ } else if (strcmp(os, "android") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kAndroid;
} else {
- NOTREACHED() << "Platform not supported: " << os;
- }
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc b/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
index d243d89d9266..531923ce233a 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/api/settings_private/prefs_util.cc
-@@ -196,7 +196,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
+@@ -197,7 +197,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
(*s_allowlist)[autofill::prefs::kAutofillPaymentCardBenefits] =
settings_api::PrefType::kBoolean;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -8,8 +8,8 @@
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
(*s_allowlist)[autofill::prefs::kAutofillBnplEnabled] =
settings_api::PrefType::kBoolean;
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-@@ -214,7 +214,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
+ (*s_allowlist)[autofill::prefs::kAutofillAiOptInStatus] =
+@@ -217,7 +217,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
(*s_allowlist)[tab_groups::prefs::kAutoPinNewTabGroups] =
settings_api::PrefType::kBoolean;
@@ -18,7 +18,7 @@
(*s_allowlist)[::prefs::kUseCustomChromeFrame] =
settings_api::PrefType::kBoolean;
#endif
-@@ -228,7 +228,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
+@@ -231,7 +231,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
(*s_allowlist)[::prefs::kCurrentThemeID] = settings_api::PrefType::kString;
(*s_allowlist)[::prefs::kPinnedActions] = settings_api::PrefType::kList;
(*s_allowlist)[::prefs::kPolicyThemeColor] = settings_api::PrefType::kNumber;
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc b/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc
deleted file mode 100644
index 08d8216aacd4..000000000000
--- a/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/extensions/api/tabs/tabs_api.cc
-@@ -945,7 +945,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio
- // created as minimized.
- // TODO(crbug.com/40254339): Remove this workaround when linux is fixed.
- // TODO(crbug.com/40254339): Find a fix for wayland as well.
--#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
- if (new_window->initial_show_state() ==
- ui::mojom::WindowShowState::kMinimized) {
- new_window->window()->Minimize();
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc b/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc
new file mode 100644
index 000000000000..3f59d945e7d7
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/extensions/api/tabs/tabs_api_non_android.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/extensions/api/tabs/tabs_api_non_android.cc
+@@ -756,7 +756,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio
+ // created as minimized.
+ // TODO(crbug.com/40254339): Remove this workaround when linux is fixed.
+ // TODO(crbug.com/40254339): Find a fix for wayland as well.
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
+ if (new_window->initial_show_state() ==
+ ui::mojom::WindowShowState::kMinimized) {
+ new_window->window()->Minimize();
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc b/www/iridium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc
index a72ef816cdbf..da44928e96ff 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc
@@ -1,29 +1,29 @@
---- chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc
@@ -28,7 +28,7 @@
#include "extensions/browser/process_manager.h"
#include "extensions/common/error_utils.h"
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
#include "extensions/common/permissions/permissions_data.h"
#endif
-@@ -37,7 +37,7 @@ namespace {
+@@ -41,7 +41,7 @@ namespace {
bool CanEnableAudioDebugRecordingsFromExtension(
const extensions::Extension* extension) {
bool enabled_by_permissions = false;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
if (extension) {
enabled_by_permissions =
extension->permissions_data()->active_permissions().HasAPIPermission(
-@@ -575,7 +575,7 @@ void WebrtcLoggingPrivateStartEventLoggingFunction::Fi
+@@ -580,7 +580,7 @@ void WebrtcLoggingPrivateStartEventLoggingFunction::Fi
ExtensionFunction::ResponseAction
WebrtcLoggingPrivateGetLogsDirectoryFunction::Run() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
// Unlike other WebrtcLoggingPrivate functions that take a RequestInfo object,
// this function shouldn't be called by a component extension on behalf of
// some web code. It returns a DirectoryEntry for use directly in the calling
diff --git a/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc b/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
index a341c12cabf3..f1f520b36c7e 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
-@@ -914,7 +914,7 @@ void WebstorePrivateBeginInstallWithManifest3Function:
+@@ -912,7 +912,7 @@ void WebstorePrivateBeginInstallWithManifest3Function:
#if BUILDFLAG(IS_CHROMEOS)
RequestExtensionApproval(contents);
return;
diff --git a/www/iridium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc b/www/iridium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc
index dd3714f1281a..e56d0f7614a0 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/component_extensions_allowlist/allowlist.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/extensions/component_extensions_allowlist/allowlist.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
@@ -48,7 +48,7 @@ bool IsComponentExtensionAllowlisted(const std::string
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
@@ -9,12 +9,3 @@
extension_misc::kTTSEngineExtensionId,
extension_misc::kComponentUpdaterTTSEngineExtensionId,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-@@ -85,7 +85,7 @@ bool IsComponentExtensionAllowlisted(int manifest_reso
- case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST:
- case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST_MV3:
- case IDR_READING_MODE_GDOCS_HELPER_MANIFEST:
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- case IDR_TTS_ENGINE_MANIFEST:
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
- case IDR_WEBSTORE_MANIFEST:
diff --git a/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc b/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc
index b494bfcfbc8c..e7c5b3189659 100644
--- a/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_extensions_external__provider__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/external_provider_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/extensions/external_provider_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/extensions/external_provider_impl.cc
-@@ -828,7 +828,7 @@ void ExternalProviderImpl::CreateExternalProviders(
+@@ -827,7 +827,7 @@ void ExternalProviderImpl::CreateExternalProviders(
#endif // BUILDFLAG(IS_CHROMEOS)
if (!profile->GetPrefs()->GetBoolean(pref_names::kBlockExternalExtensions)) {
@@ -9,7 +9,7 @@
provider_list->push_back(std::make_unique<ExternalProviderImpl>(
service,
base::MakeRefCounted<ExternalPrefLoader>(
-@@ -856,7 +856,7 @@ void ExternalProviderImpl::CreateExternalProviders(
+@@ -855,7 +855,7 @@ void ExternalProviderImpl::CreateExternalProviders(
bundled_extension_creation_flags));
// Define a per-user source of external extensions.
diff --git a/www/iridium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc b/www/iridium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc
index 2e49f1412ec0..9b47e68c415b 100644
--- a/www/iridium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc
+++ b/www/iridium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc
@@ -1,6 +1,6 @@
---- chrome/browser/feedback/system_logs/about_system_logs_fetcher.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/feedback/system_logs/about_system_logs_fetcher.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/feedback/system_logs/about_system_logs_fetcher.cc
-@@ -37,7 +37,7 @@
+@@ -38,7 +38,7 @@
#include "chrome/browser/ash/system_logs/ui_hierarchy_log_source.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/feedback/system_logs/log_sources/ozone_platform_state_dump_source.h"
#endif
-@@ -84,7 +84,7 @@ SystemLogsFetcher* BuildAboutSystemLogsFetcher(content
+@@ -85,7 +85,7 @@ SystemLogsFetcher* BuildAboutSystemLogsFetcher(content
fetcher->AddSource(std::make_unique<KeyboardInfoLogSource>());
#endif
diff --git a/www/iridium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc b/www/iridium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc
index e18e393ce17a..13fea20694d1 100644
--- a/www/iridium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc
+++ b/www/iridium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc
@@ -1,6 +1,6 @@
---- chrome/browser/feedback/system_logs/chrome_system_logs_fetcher.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/feedback/system_logs/chrome_system_logs_fetcher.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/feedback/system_logs/chrome_system_logs_fetcher.cc
-@@ -44,7 +44,7 @@
+@@ -45,7 +45,7 @@
#include "services/network/public/cpp/shared_url_loader_factory.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/feedback/system_logs/log_sources/ozone_platform_state_dump_source.h"
#endif
-@@ -101,7 +101,7 @@ SystemLogsFetcher* BuildChromeSystemLogsFetcher(Profil
+@@ -102,7 +102,7 @@ SystemLogsFetcher* BuildChromeSystemLogsFetcher(Profil
fetcher->AddSource(std::make_unique<UiHierarchyLogSource>(scrub_data));
#endif
diff --git a/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc b/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc
index 7ab6841cfb47..fb94218366e0 100644
--- a/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc
+++ b/www/iridium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc
@@ -1,11 +1,11 @@
---- chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc
-@@ -341,7 +341,7 @@ GenerateBlockedPath() {
- FILE_PATH_LITERAL("Library/Mobile Documents/com~apple~CloudDocs"),
- BlockType::kDontBlockChildren},
+@@ -374,7 +374,7 @@ GenerateBlockPaths(bool should_normalize_file_path) {
+ FILE_PATH_LITERAL("Library/Mobile Documents/com~apple~CloudDocs"),
+ BlockType::kDontBlockChildren},
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- // On Linux also block access to devices via /dev.
- {kNoBasePathKey, FILE_PATH_LITERAL("/dev"), BlockType::kBlockAllChildren},
- // And security sensitive data in /proc and /sys.
+ // On Linux also block access to devices via /dev.
+ {kNoBasePathKey, FILE_PATH_LITERAL("/dev"),
+ BlockType::kBlockAllChildren},
diff --git a/www/iridium/files/patch-chrome_browser_flag__descriptions.cc b/www/iridium/files/patch-chrome_browser_flag__descriptions.cc
index 73b89d0ce0a1..32d2023e073f 100644
--- a/www/iridium/files/patch-chrome_browser_flag__descriptions.cc
+++ b/www/iridium/files/patch-chrome_browser_flag__descriptions.cc
@@ -1,6 +1,6 @@
---- chrome/browser/flag_descriptions.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/flag_descriptions.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/flag_descriptions.cc
-@@ -617,7 +617,7 @@ const char kAutofillEnableAllowlistForBmoCardCategoryB
+@@ -667,7 +667,7 @@ const char kAutofillEnableAllowlistForBmoCardCategoryB
"Autofill suggestions on the allowlisted merchant websites.";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,16 +9,25 @@
const char kAutofillEnableAmountExtractionAllowlistDesktopName[] =
"Enable loading and querying the checkout amount extraction allowlist on "
"Chrome Desktop";
-@@ -641,7 +641,7 @@ const char kAutofillEnableAmountExtractionDesktopLoggi
+@@ -685,7 +685,7 @@ const char kAutofillEnableAmountExtractionDesktopDescr
// BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ const char kAutofillEnableAmountExtractionTestingName[] =
+ "Enable amount extraction testing on Chrome desktop and Clank";
+ const char kAutofillEnableAmountExtractionTestingDescription[] =
+@@ -696,7 +696,7 @@ const char kAutofillEnableAmountExtractionTestingDescr
+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const char kAutofillEnableBuyNowPayLaterName[] =
"Enable buy now pay later on Autofill";
const char kAutofillEnableBuyNowPayLaterDescription[] =
-@@ -1064,7 +1064,7 @@ const char kDevicePostureDescription[] =
+@@ -1189,7 +1189,7 @@ const char kDevicePostureDescription[] =
"Enables Device Posture API (foldable devices)";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -27,7 +36,7 @@
const char kDocumentPictureInPictureAnimateResizeName[] =
"Document Picture-in-Picture Animate Resize";
const char kDocumentPictureInPictureAnimateResizeDescription[] =
-@@ -1178,7 +1178,7 @@ const char kContextMenuEmptySpaceDescription[] =
+@@ -1335,7 +1335,7 @@ const char kContextMenuEmptySpaceDescription[] =
"space, a context menu containing page-related items will be shown.";
#endif // BUILDFLAG(IS_ANDROID)
@@ -36,7 +45,7 @@
const char kContextualCueingName[] = "Contextual cueing";
const char kContextualCueingDescription[] =
"Enables the contextual cueing system to support showing actions.";
-@@ -1604,7 +1604,7 @@ const char kEnableIsolatedWebAppDevModeName[] =
+@@ -1686,7 +1686,7 @@ const char kEnableIsolatedWebAppDevModeName[] =
const char kEnableIsolatedWebAppDevModeDescription[] =
"Enables the installation of unverified Isolated Web Apps";
@@ -45,16 +54,33 @@
const char kEnableIwaKeyDistributionComponentName[] =
"Enable the Iwa Key Distribution component";
const char kEnableIwaKeyDistributionComponentDescription[] =
-@@ -3536,7 +3536,7 @@ const char kRetainOmniboxOnFocusDescription[] =
- "exhibit a change in behavior.";
- #endif // BUILDFLAG(IS_ANDROID)
+@@ -3621,14 +3621,14 @@ const char kReduceTransferSizeUpdatedIPCDescription[]
+ "When enabled, the network service will send TransferSizeUpdatedIPC IPC "
+ "only when DevTools is attached or the request is for an ad request.";
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const char kReduceUserAgentDataLinuxPlatformVersionName[] =
+ "Reduce Linux platform version Client Hint";
+ const char kReduceUserAgentDataLinuxPlatformVersionDescription[] =
+ "Set platform version Client Hint on Linux to empty string.";
+ #endif // BUILDFLAG(IS_LINUX)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ const char kReplaceSyncPromosWithSignInPromosName[] =
+ "Replace all sync-related UI with sign-in ones";
+ const char kReplaceSyncPromosWithSignInPromosDescription[] =
+@@ -3666,7 +3666,7 @@ const char kRobustWindowManagementDescription[] =
+ "experiencing predictable and reliable window behavior similar to desktop "
+ "browsers.";
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
const char kRootScrollbarFollowsTheme[] = "Make scrollbar follow theme";
const char kRootScrollbarFollowsThemeDescription[] =
"If enabled makes the root scrollbar follow the browser's theme color.";
-@@ -3774,7 +3774,7 @@ const char kDefaultSiteInstanceGroupsDescription[] =
+@@ -3916,7 +3916,7 @@ const char kDefaultSiteInstanceGroupsDescription[] =
"SiteInstance.";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -63,25 +89,16 @@
const char kPwaNavigationCapturingName[] = "Desktop PWA Link Capturing";
const char kPwaNavigationCapturingDescription[] =
"Enables opening links from Chrome in an installed PWA. Currently under "
-@@ -3990,7 +3990,7 @@ const char kTranslateForceTriggerOnEnglishDescription[
- "Force the Translate Triggering on English pages experiment to be enabled "
- "with the selected language model active.";
+@@ -4189,7 +4189,7 @@ const char kTouchTextEditingRedesignName[] = "Touch Te
+ const char kTouchTextEditingRedesignDescription[] =
+ "Enables new touch text editing features.";
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
const char kEnableHistorySyncOptinName[] = "History Sync Opt-in";
const char kEnableHistorySyncOptinDescription[] =
"Enables the History Sync Opt-in screen on Desktop platforms. The screen "
-@@ -5656,7 +5656,7 @@ const char kTranslateOpenSettingsDescription[] =
- "Add an option to the translate bubble menu to open language settings.";
- #endif
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- const char kWasmTtsComponentUpdaterEnabledName[] =
- "Enable Wasm TTS Extension Component";
- const char kWasmTtsComponentUpdaterEnabledDescription[] =
-@@ -7687,7 +7687,7 @@ const char kTetheringExperimentalFunctionalityDescript
+@@ -7759,7 +7759,7 @@ const char kTetheringExperimentalFunctionalityDescript
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -90,16 +107,16 @@
const char kGetAllScreensMediaName[] = "GetAllScreensMedia API";
const char kGetAllScreensMediaDescription[] =
"When enabled, the getAllScreensMedia API for capturing multiple screens "
-@@ -7916,7 +7916,7 @@ const char kEnableArmHwdrmDescription[] = "Enable HW b
+@@ -7986,7 +7986,7 @@ const char kEnableArmHwdrmDescription[] = "Enable HW b
// Linux -----------------------------------------------------------------------
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const char kOzonePlatformHintChoiceDefault[] = "Default";
- const char kOzonePlatformHintChoiceAuto[] = "Auto";
- const char kOzonePlatformHintChoiceX11[] = "X11";
-@@ -7966,6 +7966,18 @@ const char kWaylandUiScalingDescription[] =
+
+
+ const char kPulseaudioLoopbackForCastName[] =
+@@ -8024,6 +8024,18 @@ const char kWaylandUiScalingDescription[] =
"Enable experimental support for text scaling in the Wayland backend "
"backed by full UI scaling. Requires #wayland-per-window-scaling to be "
"enabled too.";
@@ -118,34 +135,25 @@
#endif // BUILDFLAG(IS_LINUX)
// Random platform combinations -----------------------------------------------
-@@ -7978,7 +7990,7 @@ const char kZeroCopyVideoCaptureDescription[] =
- #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const char kFollowingFeedSidepanelName[] = "Following feed in the sidepanel";
- const char kFollowingFeedSidepanelDescription[] =
- "Enables the following feed in the sidepanel.";
-@@ -8021,7 +8033,7 @@ const char kGroupPromoPrototypeName[] = "Group Promo P
- const char kGroupPromoPrototypeDescription[] =
- "Enables prototype for group promo.";
+@@ -8073,7 +8085,7 @@ const char kGroupPromoPrototypeCpaDescription[] =
+ "Enables contextual toolbar button for group promo prototype.";
+ #endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const char kEnableNetworkServiceSandboxName[] =
"Enable the network service sandbox.";
const char kEnableNetworkServiceSandboxDescription[] =
-@@ -8049,7 +8061,7 @@ const char kWebBluetoothConfirmPairingSupportDescripti
+@@ -8094,7 +8106,7 @@ const char kWebBluetoothConfirmPairingSupportDescripti
"Bluetooth";
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #if BUILDFLAG(ENABLE_PRINTING)
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_PRINTING)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_PRINTING)
const char kCupsIppPrintingBackendName[] = "CUPS IPP Printing Backend";
const char kCupsIppPrintingBackendDescription[] =
-@@ -8192,7 +8204,7 @@ const char kElementCaptureDescription[] =
+ "Use the CUPS IPP printing backend instead of the original CUPS backend "
+@@ -8230,7 +8242,7 @@ const char kElementCaptureDescription[] =
"media track into a track capturing just a specific DOM element.";
#endif // !BUILDFLAG(IS_ANDROID)
@@ -154,21 +162,21 @@
const char kUIDebugToolsName[] = "Debugging tools for UI";
const char kUIDebugToolsDescription[] =
"Enables additional keyboard shortcuts to help debugging.";
-@@ -8243,7 +8255,7 @@ const char kComposeUpfrontInputModesDescription[] =
- "Enables upfront input modes in the Compose dialog";
- #endif // BUILDFLAG(ENABLE_COMPOSE)
+@@ -8267,7 +8279,7 @@ const char kThirdPartyDisableChromeAutofillSettingsScr
+ "Chrome's Address and Payments Autofill are disabled in third party mode.";
+ #endif // IS_ANDROID
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
const char kThirdPartyProfileManagementName[] =
"Third party profile management";
const char kThirdPartyProfileManagementDescription[] =
-@@ -8381,7 +8393,7 @@ const char kSupervisedUserBlockInterstitialV3Name[] =
+@@ -8390,7 +8402,7 @@ const char kSupervisedUserBlockInterstitialV3Name[] =
const char kSupervisedUserBlockInterstitialV3Description[] =
"Enables URL filter interstitial V3 for Family Link users.";
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- const char kSupervisedProfileHideGuestName[] = "Supervised Profile Hide Guest";
- const char kSupervisedProfileHideGuestDescription[] =
- "Hides Guest Profile entry points for supervised users";
+ const char kSupervisedUserLocalWebApprovalsName[] =
+ "Enable local web approvals feature";
+ const char kSupervisedUserLocalWebApprovalsDescription[] =
diff --git a/www/iridium/files/patch-chrome_browser_flag__descriptions.h b/www/iridium/files/patch-chrome_browser_flag__descriptions.h
index 686747f4dc9b..cf219734eac0 100644
--- a/www/iridium/files/patch-chrome_browser_flag__descriptions.h
+++ b/www/iridium/files/patch-chrome_browser_flag__descriptions.h
@@ -1,6 +1,6 @@
---- chrome/browser/flag_descriptions.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/flag_descriptions.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/flag_descriptions.h
-@@ -383,7 +383,7 @@ extern const char
+@@ -435,7 +435,7 @@ extern const char
kAutofillEnableAllowlistForBmoCardCategoryBenefitsDescription[];
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,16 +9,24 @@
extern const char kAutofillEnableAmountExtractionAllowlistDesktopName[];
extern const char kAutofillEnableAmountExtractionAllowlistDesktopDescription[];
extern const char kAutofillEnableAmountExtractionDesktopName[];
-@@ -394,7 +394,7 @@ extern const char kAutofillEnableAmountExtractionDeskt
+@@ -444,14 +444,14 @@ extern const char kAutofillEnableAmountExtractionDeskt
// BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ extern const char kAutofillEnableAmountExtractionTestingName[];
+ extern const char kAutofillEnableAmountExtractionTestingDescription[];
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
extern const char kAutofillEnableBuyNowPayLaterName[];
extern const char kAutofillEnableBuyNowPayLaterDescription[];
-@@ -620,7 +620,7 @@ extern const char kContextMenuEmptySpaceName[];
+@@ -714,7 +714,7 @@ extern const char kContextMenuEmptySpaceName[];
extern const char kContextMenuEmptySpaceDescription[];
#endif // BUILDFLAG(IS_ANDROID)
@@ -26,9 +34,9 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const char kContextualCueingName[];
extern const char kContextualCueingDescription[];
- extern const char kGlicZeroStateSuggestionsName[];
-@@ -813,7 +813,7 @@ extern const char kDevicePostureName[];
- extern const char kDevicePostureDescription[];
+ extern const char kGlicActorName[];
+@@ -885,7 +885,7 @@ extern const char kDocumentPatchingName[];
+ extern const char kDocumentPatchingDescription[];
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_CHROMEOS)
@@ -36,7 +44,7 @@
extern const char kDocumentPictureInPictureAnimateResizeName[];
extern const char kDocumentPictureInPictureAnimateResizeDescription[];
-@@ -975,7 +975,7 @@ extern const char kEnableIsolatedWebAppAllowlistDescri
+@@ -1054,7 +1054,7 @@ extern const char kEnableIsolatedWebAppAllowlistDescri
extern const char kEnableIsolatedWebAppDevModeName[];
extern const char kEnableIsolatedWebAppDevModeDescription[];
@@ -45,16 +53,25 @@
extern const char kEnableIwaKeyDistributionComponentName[];
extern const char kEnableIwaKeyDistributionComponentDescription[];
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -2023,7 +2023,7 @@ extern const char kRetainOmniboxOnFocusName[];
- extern const char kRetainOmniboxOnFocusDescription[];
- #endif // BUILDFLAG(IS_ANDROID)
+@@ -2061,7 +2061,7 @@ extern const char kReduceIPAddressChangeNotificationDe
+ #endif // BUILDFLAG(IS_MAC)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ extern const char kReplaceSyncPromosWithSignInPromosName[];
+ extern const char kReplaceSyncPromosWithSignInPromosDescription[];
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ||
+@@ -2075,7 +2075,7 @@ extern const char kRetainOmniboxOnFocusDescription[];
+ extern const char kRobustWindowManagementName[];
+ extern const char kRobustWindowManagementDescription[];
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
extern const char kRootScrollbarFollowsTheme[];
extern const char kRootScrollbarFollowsThemeDescription[];
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
-@@ -2161,7 +2161,7 @@ extern const char kDefaultSiteInstanceGroupsName[];
+@@ -2216,7 +2216,7 @@ extern const char kDefaultSiteInstanceGroupsName[];
extern const char kDefaultSiteInstanceGroupsDescription[];
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -63,25 +80,25 @@
extern const char kPwaNavigationCapturingName[];
extern const char kPwaNavigationCapturingDescription[];
#endif
-@@ -2308,7 +2308,7 @@ extern const char kTouchTextEditingRedesignDescription
- extern const char kTranslateForceTriggerOnEnglishName[];
- extern const char kTranslateForceTriggerOnEnglishDescription[];
+@@ -2392,7 +2392,7 @@ extern const char kTouchSelectionStrategyDirection[];
+ extern const char kTouchTextEditingRedesignName[];
+ extern const char kTouchTextEditingRedesignDescription[];
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
extern const char kEnableHistorySyncOptinName[];
extern const char kEnableHistorySyncOptinDescription[];
-@@ -3318,7 +3318,7 @@ extern const char kTranslateOpenSettingsName[];
- extern const char kTranslateOpenSettingsDescription[];
- #endif
+@@ -2662,7 +2662,7 @@ extern const char kReduceAcceptLanguageDescription[];
+ extern const char kReduceTransferSizeUpdatedIPCName[];
+ extern const char kReduceTransferSizeUpdatedIPCDescription[];
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- extern const char kWasmTtsComponentUpdaterEnabledName[];
- extern const char kWasmTtsComponentUpdaterEnabledDescription[];
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-@@ -4524,7 +4524,7 @@ extern const char kTetheringExperimentalFunctionalityD
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ extern const char kReduceUserAgentDataLinuxPlatformVersionName[];
+ extern const char kReduceUserAgentDataLinuxPlatformVersionDescription[];
+ #endif // #if BUILDFLAG(IS_LINUX)
+@@ -4478,7 +4478,7 @@ extern const char kTetheringExperimentalFunctionalityD
#endif // #if BUILDFLAG(IS_CHROMEOS)
@@ -90,16 +107,16 @@
extern const char kGetAllScreensMediaName[];
extern const char kGetAllScreensMediaDescription[];
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -4659,7 +4659,7 @@ extern const char kEnableArmHwdrmDescription[];
+@@ -4610,7 +4610,7 @@ extern const char kEnableArmHwdrmDescription[];
// Linux ---------------------------------------------------------------------
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- extern const char kOzonePlatformHintChoiceDefault[];
- extern const char kOzonePlatformHintChoiceAuto[];
- extern const char kOzonePlatformHintChoiceX11[];
-@@ -4690,6 +4690,9 @@ extern const char kWaylandTextInputV3Description[];
+
+
+ extern const char kPulseaudioLoopbackForCastName[];
+@@ -4632,6 +4632,9 @@ extern const char kWaylandSessionManagementDescription
extern const char kWaylandUiScalingName[];
extern const char kWaylandUiScalingDescription[];
@@ -109,25 +126,16 @@
#endif // BUILDFLAG(IS_LINUX)
// Random platform combinations -----------------------------------------------
-@@ -4709,7 +4712,7 @@ extern const char kWebBluetoothConfirmPairingSupportNa
+@@ -4646,7 +4649,7 @@ extern const char kWebBluetoothConfirmPairingSupportNa
extern const char kWebBluetoothConfirmPairingSupportDescription[];
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #if BUILDFLAG(ENABLE_PRINTING)
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_PRINTING)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_PRINTING)
extern const char kCupsIppPrintingBackendName[];
extern const char kCupsIppPrintingBackendDescription[];
-@@ -4722,7 +4725,7 @@ extern const char kScreenlockReauthCardDescription[];
- #endif // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- extern const char kFollowingFeedSidepanelName[];
- extern const char kFollowingFeedSidepanelDescription[];
-
-@@ -4739,7 +4742,7 @@ extern const char kTaskManagerDesktopRefreshName[];
+ #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_PRINTING)
+@@ -4670,7 +4673,7 @@ extern const char kTaskManagerDesktopRefreshName[];
extern const char kTaskManagerDesktopRefreshDescription[];
#endif // BUILDFLAG(IS_ANDROID)
@@ -136,7 +144,7 @@
extern const char kEnableNetworkServiceSandboxName[];
extern const char kEnableNetworkServiceSandboxDescription[];
-@@ -4831,7 +4834,7 @@ extern const char kElementCaptureName[];
+@@ -4753,7 +4756,7 @@ extern const char kElementCaptureName[];
extern const char kElementCaptureDescription[];
#endif // !BUILDFLAG(IS_ANDROID)
@@ -145,21 +153,21 @@
extern const char kUIDebugToolsName[];
extern const char kUIDebugToolsDescription[];
#endif
-@@ -4870,7 +4873,7 @@ extern const char kComposeUpfrontInputModesName[];
- extern const char kComposeUpfrontInputModesDescription[];
- #endif // BUILDFLAG(ENABLE_COMPOSE)
+@@ -4781,7 +4784,7 @@ extern const char kThirdPartyDisableChromeAutofillSett
+ extern const char kThirdPartyDisableChromeAutofillSettingsScreenDescription[];
+ #endif // IS_ANDROID
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const char kThirdPartyProfileManagementName[];
extern const char kThirdPartyProfileManagementDescription[];
-@@ -4953,7 +4956,7 @@ extern const char kEnablePolicyPromotionBannerDescript
+@@ -4857,7 +4860,7 @@ extern const char kEnableManagementPromotionBannerDesc
extern const char kSupervisedUserBlockInterstitialV3Name[];
extern const char kSupervisedUserBlockInterstitialV3Description[];
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- extern const char kSupervisedProfileHideGuestName[];
- extern const char kSupervisedProfileHideGuestDescription[];
-
+ extern const char kSupervisedUserLocalWebApprovalsName[];
+ extern const char kSupervisedUserLocalWebApprovalsDescription[];
+ #endif // #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
diff --git a/www/iridium/files/patch-chrome_browser_glic_widget_glic__widget.cc b/www/iridium/files/patch-chrome_browser_glic_widget_glic__widget.cc
new file mode 100644
index 000000000000..75c32cc74d82
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_glic_widget_glic__widget.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/glic/widget/glic_widget.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/glic/widget/glic_widget.cc
+@@ -127,7 +127,7 @@ std::unique_ptr<GlicWidget> GlicWidget::Create(
+ // Don't change this name. This is used by other code to identify the glic
+ // window. See b/404947780.
+ params.name = "GlicWidget";
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ params.wm_class_class = shell_integration_linux::GetProgramClassClass();
+ params.wayland_app_id = params.wm_class_class + "-glic";
+ #endif
diff --git a/www/iridium/files/patch-chrome_browser_global__features.cc b/www/iridium/files/patch-chrome_browser_global__features.cc
index 4c83e87dbd3f..e9d49b022d4c 100644
--- a/www/iridium/files/patch-chrome_browser_global__features.cc
+++ b/www/iridium/files/patch-chrome_browser_global__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/global_features.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/global_features.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/global_features.cc
-@@ -23,7 +23,7 @@
+@@ -24,7 +24,7 @@
#include "chrome/browser/glic/host/glic_synthetic_trial_manager.h" // nogncheck
#endif
@@ -9,7 +9,7 @@
// This causes a gn error on Android builds, because gn does not understand
// buildflags, so we include it only on platforms where it is used.
#include "chrome/browser/ui/webui/whats_new/whats_new_registrar.h"
-@@ -62,7 +62,7 @@ void GlobalFeatures::ReplaceGlobalFeaturesForTesting(
+@@ -70,7 +70,7 @@ void GlobalFeatures::ReplaceGlobalFeaturesForTesting(
void GlobalFeatures::Init() {
system_permissions_platform_handle_ = CreateSystemPermissionsPlatformHandle();
@@ -18,7 +18,7 @@
whats_new_registry_ = CreateWhatsNewRegistry();
#endif
-@@ -96,7 +96,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle(
+@@ -119,7 +119,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle(
return system_permission_settings::PlatformHandle::Create();
}
diff --git a/www/iridium/files/patch-chrome_browser_global__features.h b/www/iridium/files/patch-chrome_browser_global__features.h
index 676ce1591405..ef3bb1ccaa75 100644
--- a/www/iridium/files/patch-chrome_browser_global__features.h
+++ b/www/iridium/files/patch-chrome_browser_global__features.h
@@ -1,6 +1,6 @@
---- chrome/browser/global_features.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/global_features.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/global_features.h
-@@ -14,7 +14,7 @@
+@@ -15,7 +15,7 @@
namespace system_permission_settings {
class PlatformHandle;
} // namespace system_permission_settings
@@ -9,7 +9,7 @@
namespace whats_new {
class WhatsNewRegistry;
} // namespace whats_new
-@@ -58,7 +58,7 @@ class GlobalFeatures {
+@@ -63,7 +63,7 @@ class GlobalFeatures {
system_permissions_platform_handle() {
return system_permissions_platform_handle_.get();
}
@@ -18,7 +18,7 @@
whats_new::WhatsNewRegistry* whats_new_registry() {
return whats_new_registry_.get();
}
-@@ -91,7 +91,7 @@ class GlobalFeatures {
+@@ -103,7 +103,7 @@ class GlobalFeatures {
virtual std::unique_ptr<system_permission_settings::PlatformHandle>
CreateSystemPermissionsPlatformHandle();
@@ -27,7 +27,7 @@
virtual std::unique_ptr<whats_new::WhatsNewRegistry> CreateWhatsNewRegistry();
#endif
-@@ -101,7 +101,7 @@ class GlobalFeatures {
+@@ -113,7 +113,7 @@ class GlobalFeatures {
std::unique_ptr<system_permission_settings::PlatformHandle>
system_permissions_platform_handle_;
diff --git a/www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc b/www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc
index c48ededf1309..3a9da67f5e85 100644
--- a/www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc
+++ b/www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc
@@ -1,4 +1,4 @@
---- chrome/browser/headless/headless_mode_util.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/headless/headless_mode_util.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/headless/headless_mode_util.cc
@@ -10,7 +10,7 @@
// New headless mode is available on Linux, Windows and Mac platforms.
@@ -9,16 +9,16 @@
#include "base/base_switches.h"
#include "base/files/file_path.h"
-@@ -20,7 +20,7 @@
+@@ -19,7 +19,7 @@
+ #include "chrome/common/chrome_switches.h"
#include "content/public/common/content_switches.h"
- #include "ui/base/ui_base_switches.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/gl/gl_switches.h" // nogncheck
#include "ui/ozone/public/ozone_switches.h" // nogncheck
#endif // BUILDFLAG(IS_LINUX)
-@@ -95,7 +95,7 @@ class HeadlessModeHandleImpl : public HeadlessModeHand
+@@ -94,7 +94,7 @@ class HeadlessModeHandleImpl : public HeadlessModeHand
}
}
diff --git a/www/iridium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc b/www/iridium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
index 0e4577554313..aaa8e8f0fbff 100644
--- a/www/iridium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
+++ b/www/iridium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
-@@ -40,10 +40,12 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
+@@ -39,10 +39,12 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
// Note that this initializes the delegate asynchronously, but since
// the delegate will only be used from the IO thread, it is guaranteed
// to be created before use of it expects it to be there.
diff --git a/www/iridium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc b/www/iridium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
index 4251b18881ad..a24386843f1c 100644
--- a/www/iridium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
+++ b/www/iridium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media_galleries/media_file_system_registry.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media_galleries/media_file_system_registry.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media_galleries/media_file_system_registry.cc
-@@ -583,7 +583,12 @@ class MediaFileSystemRegistry::MediaFileSystemContextI
+@@ -582,7 +582,12 @@ class MediaFileSystemRegistry::MediaFileSystemContextI
// Constructor in 'private' section because depends on private class definition.
MediaFileSystemRegistry::MediaFileSystemRegistry()
: file_system_context_(new MediaFileSystemContextImpl) {
diff --git a/www/iridium/files/patch-chrome_browser_media_router_discovery_BUILD.gn b/www/iridium/files/patch-chrome_browser_media_router_discovery_BUILD.gn
index fc0f7d017a34..4c90accb534b 100644
--- a/www/iridium/files/patch-chrome_browser_media_router_discovery_BUILD.gn
+++ b/www/iridium/files/patch-chrome_browser_media_router_discovery_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/media/router/discovery/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media/router/discovery/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media/router/discovery/BUILD.gn
-@@ -79,7 +79,7 @@ static_library("discovery") {
+@@ -81,7 +81,7 @@ static_library("discovery") {
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
diff --git a/www/iridium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc b/www/iridium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc
index 1b084d95d8ae..def7c551d04f 100644
--- a/www/iridium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc
+++ b/www/iridium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media/router/discovery/discovery_network_list_wifi_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media/router/discovery/discovery_network_list_wifi_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media/router/discovery/discovery_network_list_wifi_linux.cc
-@@ -9,7 +9,11 @@
+@@ -4,7 +4,11 @@
#include "chrome/browser/media/router/discovery/discovery_network_list_wifi.h"
@@ -12,7 +12,7 @@
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
-@@ -24,6 +28,7 @@ namespace media_router {
+@@ -20,6 +24,7 @@ namespace media_router {
bool MaybeGetWifiSSID(const std::string& if_name, std::string* ssid_out) {
DCHECK(ssid_out);
@@ -20,7 +20,7 @@
base::ScopedFD ioctl_socket(socket(AF_INET, SOCK_DGRAM, 0));
if (!ioctl_socket.is_valid()) {
// AF_INET is for IPv4, so it may fail for IPv6-only hosts even when there
-@@ -46,6 +51,7 @@ bool MaybeGetWifiSSID(const std::string& if_name, std:
+@@ -42,6 +47,7 @@ bool MaybeGetWifiSSID(const std::string& if_name, std:
ssid_out->assign(ssid);
return true;
}
diff --git a/www/iridium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc b/www/iridium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc
index 49dcd1440e9a..3a515bfab99b 100644
--- a/www/iridium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc
+++ b/www/iridium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc
@@ -1,4 +1,4 @@
---- chrome/browser/media/webrtc/chrome_screen_enumerator.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media/webrtc/chrome_screen_enumerator.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media/webrtc/chrome_screen_enumerator.cc
@@ -21,7 +21,7 @@
#if BUILDFLAG(IS_CHROMEOS)
@@ -27,7 +27,7 @@
blink::mojom::StreamDevicesSetPtr EnumerateScreens(
blink::mojom::MediaStreamType stream_type) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
-@@ -130,7 +130,7 @@ void ChromeScreenEnumerator::SetRootWindowsForTesting(
+@@ -132,7 +132,7 @@ void ChromeScreenEnumerator::SetRootWindowsForTesting(
root_windows_for_testing_.Get() = std::move(root_windows);
}
@@ -36,7 +36,7 @@
void ChromeScreenEnumerator::SetDesktopCapturerForTesting(
std::unique_ptr<webrtc::DesktopCapturer> capturer) {
g_desktop_capturer_for_testing.Get() = std::move(capturer);
-@@ -143,7 +143,7 @@ void ChromeScreenEnumerator::EnumerateScreens(
+@@ -145,7 +145,7 @@ void ChromeScreenEnumerator::EnumerateScreens(
ScreensCallback screens_callback) const {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
diff --git a/www/iridium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc b/www/iridium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc
index 410002be85f4..94bb9fe91e32 100644
--- a/www/iridium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc
+++ b/www/iridium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc
@@ -1,9 +1,9 @@
---- chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media/webrtc/desktop_media_picker_controller.cc
-@@ -89,7 +89,7 @@ bool DesktopMediaPickerController::IsSystemAudioCaptur
- #if BUILDFLAG(IS_MAC)
- return request_source == Params::RequestSource::kCast ||
- base::FeatureList::IsEnabled(media::kMacLoopbackAudioForScreenShare);
+@@ -99,7 +99,7 @@ bool DesktopMediaPickerController::IsSystemAudioCaptur
+ base::FeatureList::IsEnabled(
+ media::kMacCatapLoopbackAudioForScreenShare));
+ }
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (request_source == Params::RequestSource::kCast) {
diff --git a/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc b/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
index a826eabc0caf..f6f77e7b1cec 100644
--- a/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
+++ b/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media/webrtc/webrtc_log_uploader.cc
-@@ -105,7 +105,7 @@ std::string GetLogUploadProduct() {
+@@ -101,7 +101,7 @@ std::string GetLogUploadProduct() {
const char product[] = "Chrome";
#elif BUILDFLAG(IS_MAC)
const char product[] = "Chrome_Mac";
diff --git a/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc b/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc
index c4c7de4ecf76..91ef88a82157 100644
--- a/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc
+++ b/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc
@@ -1,33 +1,20 @@
---- chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media/webrtc/webrtc_logging_controller.cc
-@@ -25,10 +25,10 @@
+@@ -25,7 +25,7 @@
#include "components/webrtc_logging/browser/text_log_list.h"
#include "content/public/browser/render_process_host.h"
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
#include "content/public/browser/child_process_security_policy.h"
#include "storage/browser/file_system/isolated_context.h"
--#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
-
- using webrtc_event_logging::WebRtcEventLogManager;
-
-@@ -304,7 +304,7 @@ void WebRtcLoggingController::StartEventLogging(
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
+@@ -305,7 +305,7 @@ void WebRtcLoggingController::StartEventLogging(
web_app_id, callback);
}
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
void WebRtcLoggingController::GetLogsDirectory(
LogsDirectoryCallback callback,
LogsDirectoryErrorCallback error_callback) {
-@@ -350,7 +350,7 @@ void WebRtcLoggingController::GrantLogsDirectoryAccess
- FROM_HERE,
- base::BindOnce(std::move(callback), file_system.id(), registered_name));
- }
--#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
-
- void WebRtcLoggingController::OnRtpPacket(
- base::HeapArray<uint8_t> packet_header,
diff --git a/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h b/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h
index 8f5932b0326a..c1ca01c5cc62 100644
--- a/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h
+++ b/www/iridium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h
@@ -1,11 +1,11 @@
---- chrome/browser/media/webrtc/webrtc_logging_controller.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/media/webrtc/webrtc_logging_controller.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/media/webrtc/webrtc_logging_controller.h
@@ -133,7 +133,7 @@ class WebRtcLoggingController
size_t web_app_id,
const StartEventLoggingCallback& callback);
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
// Ensures that the WebRTC Logs directory exists and then grants render
// process access to the 'WebRTC Logs' directory, and invokes |callback| with
// the ids necessary to create a DirectoryEntry object.
@@ -13,8 +13,8 @@
content::BrowserContext* GetBrowserContext() const;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
// Grants the render process access to the 'WebRTC Logs' directory, and
// invokes |callback| with the ids necessary to create a DirectoryEntry
// object. If the |logs_path| couldn't be created or found, |error_callback|
diff --git a/www/iridium/files/patch-chrome_browser_memory__details.cc b/www/iridium/files/patch-chrome_browser_memory__details.cc
index 8f69cf12dc8e..67f5e27a9d23 100644
--- a/www/iridium/files/patch-chrome_browser_memory__details.cc
+++ b/www/iridium/files/patch-chrome_browser_memory__details.cc
@@ -1,6 +1,6 @@
---- chrome/browser/memory_details.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/memory_details.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/memory_details.cc
-@@ -335,7 +335,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
+@@ -334,7 +334,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
});
}
diff --git a/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc b/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
index 72f73ef388d9..b3ca3ec042bd 100644
--- a/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
+++ b/www/iridium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
@@ -1,6 +1,6 @@
---- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
-@@ -85,7 +85,7 @@
+@@ -86,7 +86,7 @@
#include "chrome/browser/flags/android/chrome_session_state.h"
#endif // BUILDFLAG(IS_ANDROID)
@@ -9,7 +9,7 @@
#if defined(__GLIBC__)
#include <gnu/libc-version.h>
#endif // defined(__GLIBC__)
-@@ -110,7 +110,7 @@
+@@ -111,7 +111,7 @@
#include "chrome/installer/util/taskbar_util.h"
#endif // BUILDFLAG(IS_WIN)
@@ -18,7 +18,7 @@
#include "chrome/browser/metrics/pressure/pressure_metrics_reporter.h"
#endif // BUILDFLAG(IS_LINUX)
-@@ -119,7 +119,7 @@
+@@ -120,7 +120,7 @@
#include "components/user_manager/user_manager.h"
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -27,7 +27,7 @@
#include "components/power_metrics/system_power_monitor.h"
#endif
-@@ -898,7 +898,7 @@ void RecordStartupMetrics() {
+@@ -900,7 +900,7 @@ void RecordStartupMetrics() {
// Record whether Chrome is the default browser or not.
// Disabled on Linux due to hanging browser tests, see crbug.com/1216328.
diff --git a/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc b/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc
index 71b7af8ea625..52c17dc5bd33 100644
--- a/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc
+++ b/www/iridium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/metrics/chrome_metrics_service_client.cc
-@@ -201,11 +201,11 @@
+@@ -202,11 +202,11 @@
#include "chrome/browser/metrics/google_update_metrics_provider_mac.h"
#endif
@@ -14,16 +14,25 @@
#include "chrome/browser/metrics/chrome_metrics_service_crash_reporter.h"
#endif
-@@ -237,7 +237,7 @@ const int kMaxHistogramGatheringWaitDuration = 60000;
+@@ -224,7 +224,7 @@
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/tabs/tab_metrics_provider.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS)
+@@ -244,7 +244,7 @@ const int kMaxHistogramGatheringWaitDuration = 60000;
// Needs to be kept in sync with the writer in
// third_party/crashpad/crashpad/handler/handler_main.cc.
const char kCrashpadHistogramAllocatorName[] = "CrashpadMetrics";
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::LazyInstance<ChromeMetricsServiceCrashReporter>::Leaky g_crash_reporter =
- LAZY_INSTANCE_INITIALIZER;
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-@@ -541,7 +541,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg
+ ChromeMetricsServiceCrashReporter& GetCrashReporter() {
+ static base::NoDestructor<ChromeMetricsServiceCrashReporter> crash_reporter;
+ return *crash_reporter;
+@@ -554,7 +554,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -32,7 +41,7 @@
metrics::structured::StructuredMetricsService::RegisterPrefs(registry);
#if !BUILDFLAG(IS_CHROMEOS)
-@@ -623,7 +623,7 @@ std::string ChromeMetricsServiceClient::GetVersionStri
+@@ -636,7 +636,7 @@ std::string ChromeMetricsServiceClient::GetVersionStri
void ChromeMetricsServiceClient::OnEnvironmentUpdate(std::string* environment) {
// TODO(https://bugs.chromium.org/p/crashpad/issues/detail?id=135): call this
// on Mac when the Crashpad API supports it.
@@ -41,7 +50,7 @@
// Register the environment with the crash reporter. Note that there is a
// window from startup to this point during which crash reports will not have
// an environment set.
-@@ -725,7 +725,7 @@ void ChromeMetricsServiceClient::Initialize() {
+@@ -738,7 +738,7 @@ void ChromeMetricsServiceClient::Initialize() {
std::make_unique<metrics::dwa::DwaService>(this, local_state);
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -50,7 +59,7 @@
metrics::structured::Recorder::GetInstance()->SetUiTaskRunner(
base::SequencedTaskRunner::GetCurrentDefault());
#endif
-@@ -785,7 +785,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+@@ -798,7 +798,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
metrics_service_->RegisterMetricsProvider(
std::make_unique<metrics::CPUMetricsProvider>());
@@ -59,7 +68,7 @@
metrics_service_->RegisterMetricsProvider(
std::make_unique<metrics::MotherboardMetricsProvider>());
#endif
-@@ -874,7 +874,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+@@ -886,7 +886,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
std::make_unique<GoogleUpdateMetricsProviderMac>());
#endif
@@ -68,7 +77,16 @@
metrics_service_->RegisterMetricsProvider(
std::make_unique<DesktopPlatformFeaturesMetricsProvider>());
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -978,7 +978,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+@@ -988,7 +988,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+ std::make_unique<HttpsEngagementMetricsProvider>());
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ metrics_service_->RegisterMetricsProvider(
+ std::make_unique<TabMetricsProvider>(
+ g_browser_process->profile_manager()));
+@@ -1000,7 +1000,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
std::make_unique<PowerMetricsProvider>());
#endif
@@ -77,7 +95,7 @@
metrics_service_->RegisterMetricsProvider(
metrics::CreateDesktopSessionMetricsProvider());
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || (BUILDFLAG(IS_LINUX)
-@@ -1169,7 +1169,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve
+@@ -1191,7 +1191,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve
}
#endif
@@ -86,7 +104,7 @@
// This creates the DesktopProfileSessionDurationsServices if it didn't exist
// already.
metrics::DesktopProfileSessionDurationsServiceFactory::GetForBrowserContext(
-@@ -1518,7 +1518,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri
+@@ -1540,7 +1540,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri
recorder =
base::MakeRefCounted<metrics::structured::AshStructuredMetricsRecorder>(
cros_system_profile_provider_.get());
diff --git a/www/iridium/files/patch-chrome_browser_metrics_power_process__monitor.cc b/www/iridium/files/patch-chrome_browser_metrics_power_process__monitor.cc
index a81f764addfd..e4329cd9dff7 100644
--- a/www/iridium/files/patch-chrome_browser_metrics_power_process__monitor.cc
+++ b/www/iridium/files/patch-chrome_browser_metrics_power_process__monitor.cc
@@ -1,6 +1,6 @@
---- chrome/browser/metrics/power/process_monitor.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/metrics/power/process_monitor.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/metrics/power/process_monitor.cc
-@@ -65,7 +65,7 @@ ProcessMonitor::Metrics SampleMetrics(base::ProcessMet
+@@ -64,7 +64,7 @@ ProcessMonitor::Metrics SampleMetrics(base::ProcessMet
process_metrics.GetPlatformIndependentCPUUsage());
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
metrics.idle_wakeups = process_metrics.GetIdleWakeupsPerSecond();
#endif
#if BUILDFLAG(IS_MAC)
-@@ -83,7 +83,7 @@ void ScaleMetrics(ProcessMonitor::Metrics* metrics, do
+@@ -82,7 +82,7 @@ void ScaleMetrics(ProcessMonitor::Metrics* metrics, do
}
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -18,7 +18,7 @@
metrics->idle_wakeups *= factor;
#endif
-@@ -157,7 +157,7 @@ ProcessMonitor::Metrics& operator+=(ProcessMonitor::Me
+@@ -156,7 +156,7 @@ ProcessMonitor::Metrics& operator+=(ProcessMonitor::Me
}
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc b/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc
index 475d6f653f3a..21bf59ce6db4 100644
--- a/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc
+++ b/www/iridium/files/patch-chrome_browser_net_profile__network__context__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/net/profile_network_context_service.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/net/profile_network_context_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/net/profile_network_context_service.cc
-@@ -135,7 +135,7 @@
+@@ -137,7 +137,7 @@
#include "extensions/common/constants.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
-@@ -276,7 +276,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet
+@@ -286,7 +286,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet
});
}
@@ -18,7 +18,7 @@
std::unique_ptr<net::ClientCertStore> GetWrappedCertStore(
Profile* profile,
std::unique_ptr<net::ClientCertStore> platform_store) {
-@@ -1224,7 +1224,7 @@ ProfileNetworkContextService::CreateClientCertStore()
+@@ -1289,7 +1289,7 @@ ProfileNetworkContextService::CreateClientCertStore()
std::make_unique<net::ClientCertStoreNSS>(
base::BindRepeating(&CreateCryptoModuleBlockingPasswordDelegate,
kCryptoModulePasswordClientAuth));
diff --git a/www/iridium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc b/www/iridium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc
index 59f0458fcdd0..2662dce4e712 100644
--- a/www/iridium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc
+++ b/www/iridium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/net/profile_network_context_service_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/net/profile_network_context_service_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/net/profile_network_context_service_factory.cc
-@@ -24,7 +24,7 @@
+@@ -32,7 +32,7 @@
#include "chrome/browser/net/server_certificate_database_service_factory.h" // nogncheck
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#endif
-@@ -68,7 +68,7 @@ ProfileNetworkContextServiceFactory::ProfileNetworkCon
+@@ -76,7 +76,7 @@ ProfileNetworkContextServiceFactory::ProfileNetworkCon
#if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
DependsOn(net::ServerCertificateDatabaseServiceFactory::GetInstance());
#endif
diff --git a/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc b/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc
index 12e0216af5ee..09efe48ee065 100644
--- a/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.cc
@@ -1,15 +1,15 @@
---- chrome/browser/net/system_network_context_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/net/system_network_context_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/net/system_network_context_manager.cc
-@@ -135,7 +135,7 @@ SystemNetworkContextManager* g_system_network_context_
- // received a failed launch for a sandboxed network service.
- bool g_previously_failed_to_launch_sandboxed_service = false;
+@@ -142,7 +142,7 @@ enum class NetworkSandboxState {
+ // The global instance of the SystemNetworkContextManager.
+ SystemNetworkContextManager* g_system_network_context_manager = nullptr;
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Whether kerberos library loading will work in the network service due to the
// sandbox.
bool g_network_service_will_allow_gssapi_library_load = false;
-@@ -143,7 +143,7 @@ bool g_network_service_will_allow_gssapi_library_load
+@@ -150,7 +150,7 @@ bool g_network_service_will_allow_gssapi_library_load
const char* kGssapiDesiredPref =
#if BUILDFLAG(IS_CHROMEOS)
prefs::kKerberosEnabled;
@@ -18,7 +18,7 @@
prefs::kReceivedHttpAuthNegotiateHeader;
#endif
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -189,7 +189,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
+@@ -196,7 +196,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
auth_dynamic_params->basic_over_http_enabled =
local_state->GetBoolean(prefs::kBasicAuthOverHttpEnabled);
@@ -27,7 +27,7 @@
auth_dynamic_params->delegate_by_kdc_policy =
local_state->GetBoolean(prefs::kAuthNegotiateDelegateByKdcPolicy);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -204,7 +204,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
+@@ -211,7 +211,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
local_state->GetString(prefs::kAuthAndroidNegotiateAccountType);
#endif // BUILDFLAG(IS_ANDROID)
@@ -36,7 +36,7 @@
auth_dynamic_params->allow_gssapi_library_load =
local_state->GetBoolean(kGssapiDesiredPref);
#endif // BUILDFLAG(IS_CHROMEOS)
-@@ -214,7 +214,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
+@@ -221,7 +221,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
void OnNewHttpAuthDynamicParams(
network::mojom::HttpAuthDynamicParamsPtr& params) {
@@ -45,9 +45,9 @@
// The kerberos library is incompatible with the network service sandbox, so
// if library loading is now enabled, the network service needs to be
// restarted. It will be restarted unsandboxed because is
-@@ -256,11 +256,11 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
- if (g_previously_failed_to_launch_sandboxed_service) {
- return NetworkSandboxState::kDisabledBecauseOfFailedLaunch;
+@@ -269,11 +269,11 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
+ // it is not always initialized.
+ CHECK_IS_TEST();
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
@@ -59,7 +59,7 @@
// The network service sandbox and the kerberos library are incompatible.
// If kerberos is enabled by policy, disable the network service sandbox.
if (g_network_service_will_allow_gssapi_library_load ||
-@@ -276,7 +276,7 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
+@@ -289,7 +289,7 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
}
#endif // BUILDFLAG(IS_WIN)
@@ -68,7 +68,7 @@
if (local_state &&
local_state->HasPrefPath(prefs::kNetworkServiceSandboxEnabled)) {
return local_state->GetBoolean(prefs::kNetworkServiceSandboxEnabled)
-@@ -522,7 +522,7 @@ void SystemNetworkContextManager::DeleteInstance() {
+@@ -594,7 +594,7 @@ void SystemNetworkContextManager::DeleteInstance() {
g_system_network_context_manager = nullptr;
}
@@ -77,7 +77,7 @@
SystemNetworkContextManager::GssapiLibraryLoadObserver::
GssapiLibraryLoadObserver(SystemNetworkContextManager* owner)
: owner_(owner) {}
-@@ -580,7 +580,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
+@@ -652,7 +652,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
pref_change_registrar_.Add(prefs::kAllHttpAuthSchemesAllowedForOrigins,
auth_pref_callback);
@@ -86,7 +86,7 @@
pref_change_registrar_.Add(prefs::kAuthNegotiateDelegateByKdcPolicy,
auth_pref_callback);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -594,7 +594,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
+@@ -666,7 +666,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
auth_pref_callback);
#endif // BUILDFLAG(IS_ANDROID)
@@ -95,7 +95,7 @@
pref_change_registrar_.Add(kGssapiDesiredPref, auth_pref_callback);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -659,7 +659,7 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
+@@ -738,7 +738,7 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
registry->RegisterStringPref(prefs::kAuthNegotiateDelegateAllowlist,
std::string());
@@ -104,7 +104,7 @@
registry->RegisterBooleanPref(prefs::kAuthNegotiateDelegateByKdcPolicy,
false);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -684,11 +684,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
+@@ -763,11 +763,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
registry->RegisterListPref(prefs::kExplicitlyAllowedNetworkPorts);
@@ -118,7 +118,7 @@
registry->RegisterBooleanPref(prefs::kReceivedHttpAuthNegotiateHeader, false);
#endif // BUILDFLAG(IS_LINUX)
-@@ -739,7 +739,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea
+@@ -821,7 +821,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea
OnNewHttpAuthDynamicParams(http_auth_dynamic_params);
network_service->ConfigureHttpAuthPrefs(std::move(http_auth_dynamic_params));
@@ -127,7 +127,7 @@
gssapi_library_loader_observer_.Install(network_service);
#endif // BUILDFLAG(IS_LINUX)
-@@ -957,7 +957,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab
+@@ -1048,7 +1048,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab
break;
}
diff --git a/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.h b/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.h
index 279eb9ee88b3..7fedd8af9ae5 100644
--- a/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.h
+++ b/www/iridium/files/patch-chrome_browser_net_system__network__context__manager.h
@@ -1,6 +1,6 @@
---- chrome/browser/net/system_network_context_manager.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/net/system_network_context_manager.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/net/system_network_context_manager.h
-@@ -198,7 +198,7 @@ class SystemNetworkContextManager {
+@@ -212,7 +212,7 @@ class SystemNetworkContextManager {
class URLLoaderFactoryForSystem;
class NetworkProcessLaunchWatcher;
@@ -9,7 +9,7 @@
class GssapiLibraryLoadObserver
: public network::mojom::GssapiLibraryLoadObserver {
public:
-@@ -279,7 +279,7 @@ class SystemNetworkContextManager {
+@@ -295,7 +295,7 @@ class SystemNetworkContextManager {
std::unique_ptr<NetworkAnnotationMonitor> network_annotation_monitor_;
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc b/www/iridium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc
index 2743ba3f4afc..cae3afab4fed 100644
--- a/www/iridium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc
+++ b/www/iridium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/new_tab_page/modules/file_suggestion/drive_service.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/new_tab_page/modules/file_suggestion/drive_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/new_tab_page/modules/file_suggestion/drive_service.cc
-@@ -35,7 +35,7 @@
+@@ -36,7 +36,7 @@
#include "services/network/public/cpp/resource_request.h"
namespace {
diff --git a/www/iridium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc b/www/iridium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc
index 4cb7f166656d..7e12560f3c02 100644
--- a/www/iridium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc
+++ b/www/iridium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc
@@ -1,6 +1,6 @@
---- chrome/browser/new_tab_page/new_tab_page_util.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/new_tab_page/new_tab_page_util.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/new_tab_page/new_tab_page_util.cc
-@@ -28,7 +28,7 @@ bool IsOsSupportedForCart() {
+@@ -32,7 +32,7 @@ bool IsOsSupportedForCart() {
}
bool IsOsSupportedForDrive() {
diff --git a/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc b/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
index 87505a97568c..c31d38b6fe5a 100644
--- a/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
+++ b/www/iridium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/password_manager/chrome_password_manager_client.cc
-@@ -664,7 +664,7 @@ void ChromePasswordManagerClient::
+@@ -729,7 +729,7 @@ void ChromePasswordManagerClient::
bool ChromePasswordManagerClient::IsReauthBeforeFillingRequired(
device_reauth::DeviceAuthenticator* authenticator) {
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
if (!GetLocalStatePrefs() || !GetPrefs() || !authenticator) {
return false;
}
-@@ -942,7 +942,7 @@ void ChromePasswordManagerClient::NotifyUserCredential
+@@ -1008,7 +1008,7 @@ void ChromePasswordManagerClient::NotifyUserCredential
}
void ChromePasswordManagerClient::NotifyKeychainError() {
@@ -18,3 +18,21 @@
PasswordsClientUIDelegate* manage_passwords_ui_controller =
PasswordsClientUIDelegateFromWebContents(web_contents());
if (manage_passwords_ui_controller) {
+@@ -2083,7 +2083,7 @@ void ChromePasswordManagerClient::HideFillingUI() {
+ bool ChromePasswordManagerClient::IsPasswordManagementEnabledForCurrentPage(
+ const GURL& url) const {
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (IsPasswordManagerForUrlDisallowedByPolicy(url)) {
+ return false;
+ }
+@@ -2122,7 +2122,7 @@ bool ChromePasswordManagerClient::IsPasswordManagement
+ }
+
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ bool ChromePasswordManagerClient::IsPasswordManagerForUrlDisallowedByPolicy(
+ const GURL& url) const {
+ if (!GetPrefs() || !GetPrefs()->HasPrefPath(
diff --git a/www/iridium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc b/www/iridium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc
new file mode 100644
index 000000000000..76bb8908840a
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/password_manager/factories/password_reuse_manager_factory.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/password_manager/factories/password_reuse_manager_factory.cc
+@@ -128,7 +128,7 @@ PasswordReuseManagerFactory::BuildServiceInstanceForBr
+ // Prepare password hash data for reuse detection.
+ reuse_manager->PreparePasswordHashData(GetSignInStateForMetrics(profile));
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<password_manager::PasswordReuseManagerSigninNotifier>
+ notifier = std::make_unique<
+ password_manager::PasswordReuseManagerSigninNotifierImpl>(
diff --git a/www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc b/www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc
deleted file mode 100644
index 4ea37a1e0b39..000000000000
--- a/www/iridium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/password_manager/password_reuse_manager_factory.cc.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/password_manager/password_reuse_manager_factory.cc
-@@ -128,7 +128,7 @@ PasswordReuseManagerFactory::BuildServiceInstanceForBr
- // Prepare password hash data for reuse detection.
- reuse_manager->PreparePasswordHashData(GetSignInStateForMetrics(profile));
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- std::unique_ptr<password_manager::PasswordReuseManagerSigninNotifier>
- notifier = std::make_unique<
- password_manager::PasswordReuseManagerSigninNotifierImpl>(
diff --git a/www/iridium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc b/www/iridium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc
index 3ca5bdd40b1d..bfd7d82fe0fb 100644
--- a/www/iridium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc
+++ b/www/iridium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc
@@ -1,6 +1,6 @@
---- chrome/browser/policy/chrome_browser_cloud_management_controller_desktop.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/policy/chrome_browser_cloud_management_controller_desktop.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/policy/chrome_browser_cloud_management_controller_desktop.cc
-@@ -60,7 +60,7 @@
+@@ -57,7 +57,7 @@
#include "chrome/browser/policy/browser_dm_token_storage_mac.h"
#endif // BUILDFLAG(IS_MAC)
@@ -9,7 +9,7 @@
#include "chrome/browser/policy/browser_dm_token_storage_linux.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -69,7 +69,7 @@
+@@ -66,7 +66,7 @@
#include "chrome/install_static/install_util.h"
#endif // BUILDFLAG(IS_WIN)
@@ -18,7 +18,7 @@
#include "chrome/browser/enterprise/client_certificates/browser_context_delegate.h"
#include "chrome/browser/enterprise/client_certificates/cert_utils.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/browser/device_trust_key_manager_impl.h"
-@@ -115,7 +115,7 @@ void ChromeBrowserCloudManagementControllerDesktop::
+@@ -111,7 +111,7 @@ void ChromeBrowserCloudManagementControllerDesktop::
#if BUILDFLAG(IS_MAC)
storage_delegate = std::make_unique<BrowserDMTokenStorageMac>();
@@ -27,7 +27,7 @@
storage_delegate = std::make_unique<BrowserDMTokenStorageLinux>();
#elif BUILDFLAG(IS_WIN)
storage_delegate = std::make_unique<BrowserDMTokenStorageWin>();
-@@ -286,7 +286,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateC
+@@ -275,7 +275,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateC
std::unique_ptr<enterprise_connectors::DeviceTrustKeyManager>
ChromeBrowserCloudManagementControllerDesktop::CreateDeviceTrustKeyManager() {
@@ -36,7 +36,7 @@
auto* browser_dm_token_storage = BrowserDMTokenStorage::Get();
auto* device_management_service = GetDeviceManagementService();
auto shared_url_loader_factory = GetSharedURLLoaderFactory();
-@@ -308,7 +308,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateD
+@@ -297,7 +297,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateD
std::unique_ptr<client_certificates::CertificateProvisioningService>
ChromeBrowserCloudManagementControllerDesktop::
CreateCertificateProvisioningService() {
diff --git a/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc b/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc
index 86dd3ec4165e..9fd83e4009d6 100644
--- a/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc
+++ b/www/iridium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc
@@ -1,45 +1,15 @@
---- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/policy/configuration_policy_handler_list_factory.cc
-@@ -256,19 +256,19 @@
+@@ -246,7 +246,7 @@
#include "components/spellcheck/browser/pref_names.h"
#endif // BUILDFLAG(ENABLE_SPELLCHECK)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/browser_switcher/browser_switcher_prefs.h"
#include "chrome/browser/enterprise/idle/action.h"
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
- #include "components/device_signals/core/browser/pref_names.h" // nogncheck due to crbug.com/1125897
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- #include "components/enterprise/idle/idle_timeout_policy_handler.h"
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/privacy_sandbox/privacy_sandbox_policy_handler.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-@@ -282,13 +282,13 @@
- #endif // BUILDFLAG(ENTERPRISE_CLIENT_CERTIFICATES)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/policy/battery_saver_policy_handler.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "components/search_engines/enterprise/search_aggregator_policy_handler.h"
- #include "components/search_engines/enterprise/site_search_policy_handler.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-@@ -597,7 +597,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -583,7 +583,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
prefs::kManagedDefaultSmartCardConnectSetting,
base::Value::Type::INTEGER },
#endif
@@ -48,17 +18,17 @@
{ key::kDeletingUndecryptablePasswordsEnabled,
password_manager::prefs::kDeletingUndecryptablePasswordsEnabled,
base::Value::Type::BOOLEAN },
-@@ -964,7 +964,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
- prefs::kManagedDefaultGeolocationSetting,
- base::Value::Type::INTEGER },
+@@ -957,7 +957,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ base::Value::Type::LIST },
+ #endif // BUILDFLAG(ENABLE_EXTENSIONS_CORE)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) \
- || BUILDFLAG(IS_MAC)
+ || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- { key::kMandatoryExtensionsForIncognitoNavigation,
- prefs::kMandatoryExtensionsForIncognitoNavigation,
- base::Value::Type::LIST },
-@@ -976,7 +976,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ { key::kRequireOnlineRevocationChecksForLocalAnchors,
+ prefs::kCertRevocationCheckingRequiredLocalAnchors,
base::Value::Type::BOOLEAN },
+@@ -969,7 +969,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ base::Value::Type::LIST },
#endif // #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
// || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
@@ -66,7 +36,7 @@
{ key::kFullscreenAllowed,
prefs::kFullscreenAllowed,
base::Value::Type::BOOLEAN },
-@@ -1852,7 +1852,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1839,7 +1839,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::INTEGER},
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -75,16 +45,16 @@
{ key::kGSSAPILibraryName,
prefs::kGSSAPILibraryName,
base::Value::Type::STRING },
-@@ -1911,7 +1911,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1904,7 +1904,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::BOOLEAN },
- #endif // BUILDFLAG(IS_WIN)
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{ key::kNetworkServiceSandboxEnabled,
prefs::kNetworkServiceSandboxEnabled,
base::Value::Type::BOOLEAN },
-@@ -1931,12 +1931,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1924,12 +1924,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
prefs::kTotalMemoryLimitMb,
base::Value::Type::INTEGER },
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
@@ -99,7 +69,7 @@
{ key::kUnmanagedDeviceSignalsConsentFlowEnabled,
device_signals::prefs::kUnmanagedDeviceSignalsConsentFlowEnabled,
base::Value::Type::BOOLEAN },
-@@ -1950,7 +1950,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1943,7 +1943,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
prefs::kLiveTranslateEnabled,
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -108,7 +78,7 @@
{ key::kDefaultBrowserSettingEnabled,
prefs::kDefaultBrowserSettingEnabled,
base::Value::Type::BOOLEAN },
-@@ -1962,7 +1962,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1955,7 +1955,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) \
@@ -117,7 +87,7 @@
{ key::kAutoplayAllowed,
prefs::kAutoplayAllowed,
base::Value::Type::BOOLEAN },
-@@ -2063,7 +2063,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2059,7 +2059,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::BOOLEAN },
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS)
@@ -135,17 +105,17 @@
{ key::kAuthNegotiateDelegateByKdcPolicy,
prefs::kAuthNegotiateDelegateByKdcPolicy,
base::Value::Type::BOOLEAN },
-@@ -2235,7 +2235,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2238,7 +2238,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
ash::prefs::kUrlParameterToAutofillSAMLUsername,
base::Value::Type::STRING },
#endif // BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- { key::kTabDiscardingExceptions,
- performance_manager::user_tuning::prefs::kManagedTabDiscardingExceptions,
- base::Value::Type::LIST },
-@@ -2264,7 +2264,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
- prefs::kUiAutomationProviderEnabled,
+ { key::kNTPFooterExtensionAttributionEnabled,
+ prefs::kNTPFooterExtensionAttributionEnabled,
+ base::Value::Type::BOOLEAN },
+@@ -2273,7 +2273,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ prefs::kRestrictCoreSharingOnRenderer,
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
@@ -171,16 +141,16 @@
{ key::kChromeForTestingAllowed,
prefs::kChromeForTestingAllowed,
base::Value::Type::BOOLEAN },
-@@ -2397,7 +2397,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2403,7 +2403,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
policy_prefs::kBuiltInAIAPIsEnabled,
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_FUCHSIA)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- { key::kNTPFooterThemeAttributionEnabled,
- prefs::kNTPFooterThemeAttributionEnabled,
+ { key::kNTPFooterManagementNoticeEnabled,
+ prefs::kNTPFooterManagementNoticeEnabled,
base::Value::Type::BOOLEAN },
-@@ -2532,7 +2532,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -2537,7 +2537,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
// Policies for all platforms - End
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -189,16 +159,7 @@
handlers->AddHandler(std::make_unique<IntRangePolicyHandler>(
key::kMemorySaverModeSavings,
performance_manager::user_tuning::prefs::kMemorySaverModeAggressiveness,
-@@ -2752,7 +2752,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
- #endif // !BUILDFLAG(IS_ANDROID)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- handlers->AddHandler(
- std::make_unique<enterprise_idle::IdleTimeoutPolicyHandler>());
- handlers->AddHandler(
-@@ -2811,7 +2811,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -2816,7 +2816,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
key::kBrowsingDataLifetime, browsing_data::prefs::kBrowsingDataLifetime,
chrome_schema));
@@ -207,7 +168,7 @@
handlers->AddHandler(std::make_unique<GuestModePolicyHandler>());
handlers->AddHandler(std::make_unique<LocalSyncPolicyHandler>());
handlers->AddHandler(std::make_unique<ThemeColorPolicyHandler>());
-@@ -2911,7 +2911,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -2910,7 +2910,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
std::vector<std::unique_ptr<ConfigurationPolicyHandler>>
signin_legacy_policies;
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -216,7 +177,7 @@
signin_legacy_policies.push_back(std::make_unique<SimplePolicyHandler>(
key::kForceBrowserSignin, prefs::kForceBrowserSignin,
base::Value::Type::BOOLEAN));
-@@ -3283,7 +3283,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -3288,7 +3288,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
#endif
#if BUILDFLAG(ENABLE_SPELLCHECK)
@@ -225,7 +186,7 @@
handlers->AddHandler(std::make_unique<SpellcheckLanguagePolicyHandler>());
handlers->AddHandler(
std::make_unique<SpellcheckLanguageBlocklistPolicyHandler>(
-@@ -3291,7 +3291,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -3296,7 +3296,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
#endif // BUILDFLAG(ENABLE_SPELLCHECK)
@@ -234,25 +195,7 @@
handlers->AddHandler(std::make_unique<SimplePolicyHandler>(
key::kAllowSystemNotifications, prefs::kAllowSystemNotifications,
base::Value::Type::BOOLEAN));
-@@ -3309,7 +3309,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
- first_party_sets::FirstPartySetsOverridesPolicyHandler>(
- key::kRelatedWebsiteSetsOverrides, chrome_schema)));
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- handlers->AddHandler(std::make_unique<PrivacySandboxPolicyHandler>());
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-@@ -3332,7 +3332,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
- base::Value::Type::BOOLEAN)));
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- handlers->AddHandler(std::make_unique<BatterySaverPolicyHandler>());
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-@@ -3350,7 +3350,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -3349,7 +3349,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
std::vector<GenAiDefaultSettingsPolicyHandler::GenAiPolicyDetails>
gen_ai_default_policies;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc b/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc
index ceade25f619c..106a7c72fc21 100644
--- a/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc
+++ b/www/iridium/files/patch-chrome_browser_prefs_browser__prefs.cc
@@ -1,6 +1,6 @@
---- chrome/browser/prefs/browser_prefs.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/prefs/browser_prefs.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/prefs/browser_prefs.cc
-@@ -323,7 +323,7 @@
+@@ -326,7 +326,7 @@
#include "chrome/browser/devtools/devtools_window.h"
#endif // BUILDFLAG(ENABLE_DEVTOOLS_FRONTEND)
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
#endif
-@@ -494,11 +494,11 @@
+@@ -493,11 +493,11 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -23,7 +23,7 @@
#include "chrome/browser/browser_switcher/browser_switcher_prefs.h"
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#endif
-@@ -526,7 +526,7 @@
+@@ -525,7 +525,7 @@
#include "chrome/browser/sessions/session_service_log.h"
#endif
@@ -32,7 +32,7 @@
#include "ui/color/system_theme.h"
#endif
-@@ -1679,7 +1679,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
+@@ -1705,7 +1705,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
on_device_translation::RegisterLocalStatePrefs(registry);
#endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION)
@@ -41,7 +41,7 @@
WhatsNewUI::RegisterLocalStatePrefs(registry);
#endif
-@@ -1836,7 +1836,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
+@@ -1860,7 +1860,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
#endif // BUILDFLAG(ENABLE_PDF)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -50,7 +50,7 @@
registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true);
#endif
-@@ -2200,12 +2200,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
+@@ -2231,12 +2231,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_printing_print__backend__service__manager.cc b/www/iridium/files/patch-chrome_browser_printing_print__backend__service__manager.cc
index 4865a768ef5c..82dd6a7d4d46 100644
--- a/www/iridium/files/patch-chrome_browser_printing_print__backend__service__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_printing_print__backend__service__manager.cc
@@ -1,4 +1,4 @@
---- chrome/browser/printing/print_backend_service_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/printing/print_backend_service_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/printing/print_backend_service_manager.cc
@@ -36,7 +36,7 @@
#include "printing/printing_context.h"
@@ -7,18 +7,18 @@
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "content/public/common/content_switches.h"
+ #include "ui/linux/linux_ui.h"
#endif
+@@ -886,7 +886,7 @@ PrintBackendServiceManager::GetServiceFromBundle(
+ << remote_id << "`";
-@@ -883,7 +883,7 @@ PrintBackendServiceManager::GetServiceFromBundle(
- host.BindNewPipeAndPassReceiver(),
- content::ServiceProcessHost::Options()
- .WithDisplayName(IDS_UTILITY_PROCESS_PRINT_BACKEND_SERVICE_NAME)
+ std::vector<std::string> extra_switches;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- .WithExtraCommandLineSwitches({switches::kMessageLoopTypeUi})
- #endif
- .Pass());
-@@ -1060,7 +1060,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate
+ if (auto* linux_ui = ui::LinuxUi::instance()) {
+ extra_switches = linux_ui->GetCmdLineFlagsForCopy();
+ }
+@@ -1072,7 +1072,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate
return kNoClientsRegisteredResetOnIdleTimeout;
case ClientType::kQueryWithUi:
diff --git a/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc b/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
index 7459ea811b3a..055e764bcc8a 100644
--- a/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
+++ b/www/iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
@@ -1,15 +1,15 @@
---- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -362,7 +362,7 @@
+@@ -375,7 +375,7 @@
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/idle/idle_service_factory.h"
+ #include "chrome/browser/enterprise/signals/signals_aggregator_factory.h"
#endif
-
-@@ -404,7 +404,7 @@
+@@ -419,14 +419,14 @@
#endif
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -17,8 +17,7 @@
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_connector_service_factory.h"
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_service_factory.h"
- #include "chrome/browser/enterprise/signals/user_permission_service_factory.h"
-@@ -412,7 +412,7 @@
+ #include "chrome/browser/ui/tabs/saved_tab_groups/collaboration_messaging_observer_factory.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h"
#endif
@@ -27,7 +26,7 @@
#include "chrome/browser/policy/messaging_layer/util/manual_test_heartbeat_event_factory.h"
#endif
-@@ -420,7 +420,7 @@
+@@ -434,7 +434,7 @@
#include "chrome/browser/history_embeddings/history_embeddings_service_factory.h"
#endif
@@ -36,7 +35,7 @@
#include "chrome/browser/browser_switcher/browser_switcher_service_factory.h"
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "chrome/browser/enterprise/client_certificates/certificate_store_factory.h"
-@@ -738,7 +738,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -760,7 +760,7 @@ void ChromeBrowserMainExtraPartsProfiles::
DiceBoundSessionCookieServiceFactory::GetInstance();
#endif
#endif
@@ -45,8 +44,8 @@
browser_switcher::BrowserSwitcherServiceFactory::GetInstance();
#endif
browser_sync::UserEventServiceFactory::GetInstance();
-@@ -793,13 +793,13 @@ void ChromeBrowserMainExtraPartsProfiles::
- collaboration::CollaborationServiceFactory::GetInstance();
+@@ -821,13 +821,13 @@ void ChromeBrowserMainExtraPartsProfiles::
+ collaboration::comments::CommentsServiceFactory::GetInstance();
collaboration::messaging::MessagingBackendServiceFactory::GetInstance();
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
@@ -61,7 +60,7 @@
contextual_cueing::ContextualCueingServiceFactory::GetInstance();
#endif
CookieControlsServiceFactory::GetInstance();
-@@ -860,31 +860,31 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -886,17 +886,17 @@ void ChromeBrowserMainExtraPartsProfiles::
enterprise_connectors::ConnectorsServiceFactory::GetInstance();
enterprise_connectors::ReportingEventRouterFactory::GetInstance();
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -80,18 +79,14 @@
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
enterprise_idle::IdleServiceFactory::GetInstance();
+ enterprise_signals::SignalsAggregatorFactory::GetInstance();
#endif
- #if !BUILDFLAG(IS_CHROMEOS)
- enterprise_reporting::CloudProfileReportingServiceFactory::GetInstance();
+@@ -905,10 +905,10 @@ void ChromeBrowserMainExtraPartsProfiles::
#endif
enterprise_reporting::LegacyTechServiceFactory::GetInstance();
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- enterprise_signals::SignalsAggregatorFactory::GetInstance();
- #endif
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
enterprise_signals::UserPermissionServiceFactory::GetInstance();
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -99,7 +94,7 @@
enterprise_signin::EnterpriseSigninServiceFactory::GetInstance();
#endif
#if BUILDFLAG(ENABLE_SESSION_SERVICE)
-@@ -1015,7 +1015,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1044,7 +1044,7 @@ void ChromeBrowserMainExtraPartsProfiles::
#if BUILDFLAG(IS_ANDROID)
MerchantViewerDataManagerFactory::GetInstance();
#endif
@@ -108,7 +103,7 @@
metrics::DesktopProfileSessionDurationsServiceFactory::GetInstance();
#endif
#if !BUILDFLAG(IS_ANDROID)
-@@ -1134,7 +1134,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1174,7 +1174,7 @@ void ChromeBrowserMainExtraPartsProfiles::
#if BUILDFLAG(IS_CHROMEOS)
policy::PolicyCertServiceFactory::GetInstance();
#endif
@@ -117,7 +112,7 @@
policy::ProfileTokenPolicyWebSigninServiceFactory::GetInstance();
policy::UserPolicyOidcSigninServiceFactory::GetInstance();
#endif
-@@ -1180,7 +1180,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1217,7 +1217,7 @@ void ChromeBrowserMainExtraPartsProfiles::
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS)
ProfileStatisticsFactory::GetInstance();
#endif
@@ -126,7 +121,7 @@
ProfileTokenWebSigninInterceptorFactory::GetInstance();
OidcAuthenticationSigninInterceptorFactory::GetInstance();
#endif
-@@ -1200,7 +1200,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1237,7 +1237,7 @@ void ChromeBrowserMainExtraPartsProfiles::
ReduceAcceptLanguageFactory::GetInstance();
RendererUpdaterFactory::GetInstance();
regional_capabilities::RegionalCapabilitiesServiceFactory::GetInstance();
diff --git a/www/iridium/files/patch-chrome_browser_profiles_profile__impl.cc b/www/iridium/files/patch-chrome_browser_profiles_profile__impl.cc
index 214004ebaeea..12caa72cb195 100644
--- a/www/iridium/files/patch-chrome_browser_profiles_profile__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_profiles_profile__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/profiles/profile_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/profiles/profile_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/profiles/profile_impl.cc
-@@ -270,6 +270,10 @@
+@@ -269,6 +269,10 @@
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#endif
@@ -11,7 +11,7 @@
using bookmarks::BookmarkModel;
using content::BrowserThread;
using content::DownloadManagerDelegate;
-@@ -594,7 +598,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async
+@@ -603,7 +607,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async
policy_provider = GetUserCloudPolicyManagerAsh();
#else // !BUILDFLAG(IS_CHROMEOS)
{
@@ -20,7 +20,7 @@
ProfileManager* profile_manager = g_browser_process->profile_manager();
ProfileAttributesEntry* entry =
profile_manager->GetProfileAttributesStorage()
-@@ -890,7 +894,17 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode)
+@@ -886,7 +890,17 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode)
}
base::FilePath ProfileImpl::last_selected_directory() {
diff --git a/www/iridium/files/patch-chrome_browser_profiles_profiles__state.cc b/www/iridium/files/patch-chrome_browser_profiles_profiles__state.cc
index adbab97a5fba..62bfdd4b531e 100644
--- a/www/iridium/files/patch-chrome_browser_profiles_profiles__state.cc
+++ b/www/iridium/files/patch-chrome_browser_profiles_profiles__state.cc
@@ -1,6 +1,6 @@
---- chrome/browser/profiles/profiles_state.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/profiles/profiles_state.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/profiles/profiles_state.cc
-@@ -188,7 +188,7 @@ bool IsGuestModeRequested(const base::CommandLine& com
+@@ -191,7 +191,7 @@ bool IsGuestModeRequested(const base::CommandLine& com
PrefService* local_state,
bool show_warning) {
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
@@ -9,7 +9,7 @@
DCHECK(local_state);
// Check if guest mode enforcement commandline switch or policy are provided.
-@@ -224,7 +224,7 @@ bool IsGuestModeEnabled() {
+@@ -227,7 +227,7 @@ bool IsGuestModeEnabled() {
return false;
}
@@ -18,7 +18,7 @@
// If there are any supervised profiles, disable guest mode.
if (std::ranges::any_of(g_browser_process->profile_manager()
->GetProfileAttributesStorage()
-@@ -240,7 +240,7 @@ bool IsGuestModeEnabled() {
+@@ -243,7 +243,7 @@ bool IsGuestModeEnabled() {
}
bool IsGuestModeEnabled(const Profile& profile) {
diff --git a/www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc b/www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc
deleted file mode 100644
index 026ca93a5bb9..000000000000
--- a/www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/regional_capabilities/regional_capabilities_service_client.cc.orig 2025-05-07 06:48:23 UTC
-+++ chrome/browser/regional_capabilities/regional_capabilities_service_client.cc
-@@ -107,7 +107,7 @@ void RegionalCapabilitiesServiceClient::FetchCountryId
- base::android::AttachCurrentThread(),
- reinterpret_cast<intptr_t>(heap_callback.release()));
- }
--#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void RegionalCapabilitiesServiceClient::FetchCountryId(
- CountryIdCallback on_country_id_fetched) {
- std::move(on_country_id_fetched).Run(variations_latest_country_id_);
diff --git a/www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc b/www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc
new file mode 100644
index 000000000000..71d7cf106819
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/regional_capabilities/regional_capabilities_service_factory.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/regional_capabilities/regional_capabilities_service_factory.cc
+@@ -21,7 +21,7 @@
+ #include "chrome/browser/regional_capabilities/regional_capabilities_service_client_chromeos.h"
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/regional_capabilities/regional_capabilities_service_client_linux.h"
+ #endif
+
+@@ -72,7 +72,7 @@ RegionalCapabilitiesServiceFactory::BuildServiceInstan
+ #elif BUILDFLAG(IS_CHROMEOS)
+ std::make_unique<RegionalCapabilitiesServiceClientChromeOS>(
+ g_browser_process->variations_service());
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::make_unique<RegionalCapabilitiesServiceClientLinux>(
+ g_browser_process->variations_service());
+ #else
diff --git a/www/iridium/files/patch-chrome_browser_renderer__preferences__util.cc b/www/iridium/files/patch-chrome_browser_renderer__preferences__util.cc
index c4d18e5548a8..ee990b556290 100644
--- a/www/iridium/files/patch-chrome_browser_renderer__preferences__util.cc
+++ b/www/iridium/files/patch-chrome_browser_renderer__preferences__util.cc
@@ -1,4 +1,4 @@
---- chrome/browser/renderer_preferences_util.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/renderer_preferences_util.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/renderer_preferences_util.cc
@@ -40,7 +40,7 @@
#include "ui/views/controls/textfield/textfield.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "ui/linux/linux_ui.h"
-@@ -180,7 +180,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
+@@ -185,7 +185,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
prefs->caret_blink_interval = views::Textfield::GetCaretBlinkInterval();
#endif
@@ -18,7 +18,7 @@
auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(profile);
if (linux_ui_theme) {
if (ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme()) {
-@@ -203,7 +203,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
+@@ -208,7 +208,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc b/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc
index 60c77ca3a699..5063a8a64164 100644
--- a/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc
+++ b/www/iridium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/safe_browsing/chrome_password_protection_service.cc
-@@ -1269,7 +1269,7 @@ std::string ChromePasswordProtectionService::GetOrgani
+@@ -1261,7 +1261,7 @@ std::string ChromePasswordProtectionService::GetOrgani
ReusedPasswordAccountType password_type) const {
if (base::FeatureList::IsEnabled(
safe_browsing::kEnterprisePasswordReuseUiRefresh)) {
diff --git a/www/iridium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc b/www/iridium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
index 0c6a4588d972..5dd3490bd132 100644
--- a/www/iridium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
+++ b/www/iridium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
-@@ -697,7 +697,7 @@ void IncidentReportingService::OnEnvironmentDataCollec
+@@ -696,7 +696,7 @@ void IncidentReportingService::OnEnvironmentDataCollec
// Process::Current().CreationTime() is missing on some platforms.
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc b/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc
new file mode 100644
index 000000000000..36e934d33416
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/screen_ai/screen_ai_service_handler_base.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/screen_ai/screen_ai_service_handler_base.cc
+@@ -253,7 +253,7 @@ void ScreenAIServiceHandlerBase::LaunchIfNotRunning()
+ base::FilePath binary_path = state_instance->get_component_binary_path();
+ #if BUILDFLAG(IS_WIN)
+ std::vector<base::FilePath> preload_libraries = {binary_path};
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ std::vector<std::string> extra_switches = {
+ base::StringPrintf("--%s=%s", screen_ai::GetBinaryPathSwitch(),
+ binary_path.MaybeAsASCII().c_str())};
+@@ -268,7 +268,7 @@ void ScreenAIServiceHandlerBase::LaunchIfNotRunning()
+ .WithPreloadedLibraries(
+ preload_libraries,
+ content::ServiceProcessHostPreloadLibraries::GetPassKey())
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ .WithExtraCommandLineSwitches(extra_switches)
+ #endif // BUILDFLAG(IS_WIN)
+ .WithProcessCallback(
diff --git a/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc b/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc
deleted file mode 100644
index 81d9bcca9e97..000000000000
--- a/www/iridium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- chrome/browser/screen_ai/screen_ai_service_router.cc.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/screen_ai/screen_ai_service_router.cc
-@@ -405,7 +405,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() {
- base::FilePath binary_path = state_instance->get_component_binary_path();
- #if BUILDFLAG(IS_WIN)
- std::vector<base::FilePath> preload_libraries = {binary_path};
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- std::vector<std::string> extra_switches = {
- base::StringPrintf("--%s=%s", screen_ai::GetBinaryPathSwitch(),
- binary_path.MaybeAsASCII().c_str())};
-@@ -419,7 +419,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() {
- .WithPreloadedLibraries(
- preload_libraries,
- content::ServiceProcessHostPreloadLibraries::GetPassKey())
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- .WithExtraCommandLineSwitches(extra_switches)
- #endif // BUILDFLAG(IS_WIN)
- .Pass());
diff --git a/www/iridium/files/patch-chrome_browser_sessions_session__restore.cc b/www/iridium/files/patch-chrome_browser_sessions_session__restore.cc
index f68ae7beb75c..d53a8e53a513 100644
--- a/www/iridium/files/patch-chrome_browser_sessions_session__restore.cc
+++ b/www/iridium/files/patch-chrome_browser_sessions_session__restore.cc
@@ -1,4 +1,4 @@
---- chrome/browser/sessions/session_restore.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/sessions/session_restore.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/sessions/session_restore.cc
@@ -108,7 +108,7 @@
#include "ui/wm/core/scoped_animation_disabler.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_fetcher.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -1117,7 +1117,7 @@ class SessionRestoreImpl : public BrowserListObserver
+@@ -1182,7 +1182,7 @@ class SessionRestoreImpl : public BrowserListObserver
bool is_first_tab = true;
for (const auto& startup_tab : startup_tabs) {
const GURL& url = startup_tab.url;
diff --git a/www/iridium/files/patch-chrome_browser_signin_chrome__signin__client.cc b/www/iridium/files/patch-chrome_browser_signin_chrome__signin__client.cc
new file mode 100644
index 000000000000..195f04499c9e
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_signin_chrome__signin__client.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/signin/chrome_signin_client.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/signin/chrome_signin_client.cc
+@@ -163,7 +163,7 @@ signin_metrics::ProfileSignout kAlwaysAllowedSignoutSo
+ std::string HatsSurveyTriggerForAccessPoint(
+ signin_metrics::AccessPoint access_point) {
+ switch (access_point) {
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ case signin_metrics::AccessPoint::kAddressBubble:
+ return kHatsSurveyTriggerIdentityAddressBubbleSignin;
+ case signin_metrics::AccessPoint::kAvatarBubbleSignIn:
diff --git a/www/iridium/files/patch-chrome_browser_signin_signin__hats__util.cc b/www/iridium/files/patch-chrome_browser_signin_signin__hats__util.cc
new file mode 100644
index 000000000000..7740a92deb4c
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_signin_signin__hats__util.cc
@@ -0,0 +1,29 @@
+--- chrome/browser/signin/signin_hats_util.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/signin/signin_hats_util.cc
+@@ -36,7 +36,7 @@
+
+ namespace {
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ constexpr char kChannel[] = "Channel";
+ constexpr char kChromeVersion[] = "Chrome Version";
+ constexpr char kNumberOfChromeProfiles[] = "Number of Chrome Profiles";
+@@ -153,7 +153,7 @@ SurveyStringData GetSigninSurveyStringData(
+ namespace signin {
+
+ bool IsFeatureEnabledForSigninHatsTrigger(const std::string& trigger) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ for (const auto& entry : kChromeIdentityHatsTriggerFeatureMapping) {
+ if (trigger == entry.trigger) {
+ return base::FeatureList::IsEnabled(*entry.feature);
+@@ -171,7 +171,7 @@ void LaunchSigninHatsSurveyForProfile(const std::strin
+ bool defer_if_no_browser,
+ std::optional<signin_metrics::AccessPoint>
+ access_point_for_data_type_promo) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (!profile || !IsFeatureEnabledForSigninHatsTrigger(trigger)) {
+ return;
+ }
diff --git a/www/iridium/files/patch-chrome_browser_signin_signin__util.cc b/www/iridium/files/patch-chrome_browser_signin_signin__util.cc
index d37da58874bd..d9ff41740648 100644
--- a/www/iridium/files/patch-chrome_browser_signin_signin__util.cc
+++ b/www/iridium/files/patch-chrome_browser_signin_signin__util.cc
@@ -1,6 +1,6 @@
---- chrome/browser/signin/signin_util.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/signin/signin_util.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/signin/signin_util.cc
-@@ -80,7 +80,7 @@ CookiesMover::CookiesMover(base::WeakPtr<Profile> sour
+@@ -90,7 +90,7 @@ CookiesMover::CookiesMover(base::WeakPtr<Profile> sour
CookiesMover::~CookiesMover() = default;
void CookiesMover::StartMovingCookies() {
@@ -9,3 +9,12 @@
bool allow_cookies_to_be_moved = base::FeatureList::IsEnabled(
profile_management::features::kThirdPartyProfileManagement);
#else
+@@ -369,7 +369,7 @@ std::string SignedInStateToString(SignedInState state)
+ }
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ bool ShouldShowHistorySyncOptinScreen(Profile& profile) {
+ if (GetSignedInState(IdentityManagerFactory::GetForProfile(&profile)) !=
+ signin_util::SignedInState::kSignedIn) {
diff --git a/www/iridium/files/patch-chrome_browser_signin_signin__util.h b/www/iridium/files/patch-chrome_browser_signin_signin__util.h
new file mode 100644
index 000000000000..a058898b27c6
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_signin_signin__util.h
@@ -0,0 +1,11 @@
+--- chrome/browser/signin/signin_util.h.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/signin/signin_util.h
+@@ -171,7 +171,7 @@ SignedInState GetSignedInState(const signin::IdentityM
+ // Returns a string representation of `SignedInState`.
+ std::string SignedInStateToString(SignedInState state);
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // Returns if the necessary conditions to show the History Sync Optin screen
+ // are met.
+ // This method does not take into account any feature flags related to the above
diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc b/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc
index b5835c2e007e..4b646d71ff04 100644
--- a/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc
+++ b/www/iridium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/classify_url_navigation_throttle.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/supervised_user/classify_url_navigation_throttle.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/supervised_user/classify_url_navigation_throttle.cc
-@@ -68,7 +68,7 @@ std::ostream& operator<<(std::ostream& stream,
+@@ -70,7 +70,7 @@ std::ostream& operator<<(std::ostream& stream,
}
}
@@ -9,7 +9,7 @@
bool ShouldShowReAuthInterstitial(
content::NavigationHandle& navigation_handle) {
Profile* profile = Profile::FromBrowserContext(
-@@ -229,7 +229,7 @@ void ClassifyUrlNavigationThrottle::OnInterstitialResu
+@@ -232,7 +232,7 @@ void ClassifyUrlNavigationThrottle::OnInterstitialResu
}
case InterstitialResultCallbackActions::kCancelWithInterstitial: {
CHECK(navigation_handle());
diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc
index 2191220f4187..81e9f26ed4c8 100644
--- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc
-@@ -197,7 +197,7 @@ void SupervisedUserExtensionsDelegateImpl::RequestExte
+@@ -205,7 +205,7 @@ void SupervisedUserExtensionsDelegateImpl::RequestExte
return;
}
}
diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc
index ddf6bb372592..249a6611e52b 100644
--- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_extensions_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/supervised_user/supervised_user_extensions_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/supervised_user/supervised_user_extensions_manager.cc
-@@ -348,7 +348,7 @@ void SupervisedUserExtensionsManager::
+@@ -350,7 +350,7 @@ void SupervisedUserExtensionsManager::
ActivateManagementPolicyAndUpdateRegistration() {
SetActiveForSupervisedUsers();
UpdateManagementPolicyRegistration();
@@ -9,7 +9,7 @@
MaybeMarkExtensionsLocallyParentApproved();
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
}
-@@ -448,7 +448,7 @@ bool SupervisedUserExtensionsManager::ShouldBlockExten
+@@ -449,7 +449,7 @@ bool SupervisedUserExtensionsManager::ShouldBlockExten
return false;
}
diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h
index b81b8e19c766..34edc47bebfe 100644
--- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h
+++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_extensions_manager.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/supervised_user/supervised_user_extensions_manager.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/supervised_user/supervised_user_extensions_manager.h
-@@ -153,7 +153,7 @@ class SupervisedUserExtensionsManager : public Extensi
+@@ -154,7 +154,7 @@ class SupervisedUserExtensionsManager : public Extensi
// launched.
bool ShouldBlockExtension(const std::string& extension_id) const;
diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc
index 3bc22e7f2f08..65277a008055 100644
--- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc
+++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc
@@ -1,15 +1,15 @@
---- chrome/browser/supervised_user/supervised_user_metrics_service_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/supervised_user/supervised_user_metrics_service_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/supervised_user/supervised_user_metrics_service_factory.cc
-@@ -14,7 +14,7 @@
- #include "components/supervised_user/core/browser/supervised_user_service.h"
+@@ -15,7 +15,7 @@
#include "content/public/browser/browser_context.h"
+ #include "chrome/browser/supervised_user/metrics_service_accessor_delegate.h"
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "chrome/browser/supervised_user/linux_mac_windows/supervised_user_extensions_metrics_delegate_impl.h"
#endif
-@@ -62,7 +62,7 @@ SupervisedUserMetricsServiceFactory::BuildServiceInsta
+@@ -63,7 +63,7 @@ SupervisedUserMetricsServiceFactory::BuildServiceInsta
std::unique_ptr<supervised_user::SupervisedUserMetricsService ::
SupervisedUserMetricsServiceExtensionDelegate>
extensions_metrics_delegate = nullptr;
diff --git a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc
index 2cc7d8c59c3d..637666638eb5 100644
--- a/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc
+++ b/www/iridium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_navigation_observer.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/supervised_user/supervised_user_navigation_observer.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/supervised_user/supervised_user_navigation_observer.cc
-@@ -47,7 +47,7 @@
+@@ -48,7 +48,7 @@
#include "chrome/browser/supervised_user/android/supervised_user_web_content_handler_impl.h"
#elif BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/supervised_user/chromeos/supervised_user_web_content_handler_impl.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/supervised_user/linux_mac_windows/supervised_user_web_content_handler_impl.h"
#endif
-@@ -67,7 +67,7 @@ std::unique_ptr<supervised_user::WebContentHandler> Cr
+@@ -68,7 +68,7 @@ std::unique_ptr<supervised_user::WebContentHandler> Cr
#elif BUILDFLAG(IS_ANDROID)
return std::make_unique<SupervisedUserWebContentHandlerImpl>(
web_contents, frame_id, navigation_id);
diff --git a/www/iridium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc b/www/iridium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc
index 8c473d052f2f..7a8eba6913d8 100644
--- a/www/iridium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc
+++ b/www/iridium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc
@@ -1,6 +1,6 @@
---- chrome/browser/sync/chrome_sync_controller_builder.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/sync/chrome_sync_controller_builder.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/sync/chrome_sync_controller_builder.cc
-@@ -280,7 +280,7 @@ ChromeSyncControllerBuilder::Build(syncer::SyncService
+@@ -304,7 +304,7 @@ ChromeSyncControllerBuilder::Build(syncer::SyncService
#if BUILDFLAG(ENABLE_SPELLCHECK)
// Chrome prefers OS provided spell checkers where they exist. So only sync
// the custom dictionary on platforms that typically don't provide one.
diff --git a/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc b/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc
index 3e1c75d11433..e82e78ff7b2c 100644
--- a/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc
+++ b/www/iridium/files/patch-chrome_browser_sync_sync__service__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/sync/sync_service_factory.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/sync/sync_service_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/sync/sync_service_factory.cc
-@@ -110,7 +110,7 @@
+@@ -115,7 +115,7 @@
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_keyed_service.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_service_factory.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h"
-@@ -137,7 +137,7 @@ namespace {
+@@ -142,7 +142,7 @@ namespace {
tab_groups::TabGroupSyncService* GetTabGroupSyncService(Profile* profile) {
CHECK(profile);
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -18,7 +18,7 @@
tab_groups::TabGroupSyncService* service =
tab_groups::SavedTabGroupUtils::GetServiceForProfile(profile);
CHECK(service);
-@@ -381,7 +381,7 @@ std::unique_ptr<KeyedService> BuildSyncService(
+@@ -405,7 +405,7 @@ std::unique_ptr<KeyedService> BuildSyncService(
bool local_sync_backend_enabled = false;
// Only check the local sync backend pref on the supported platforms of
// Windows, Mac and Linux.
@@ -27,7 +27,7 @@
syncer::SyncPrefs prefs(profile->GetPrefs());
local_sync_backend_enabled = prefs.IsLocalSyncEnabled();
base::UmaHistogramBoolean("Sync.Local.Enabled2", local_sync_backend_enabled);
-@@ -520,7 +520,7 @@ SyncServiceFactory::SyncServiceFactory()
+@@ -544,7 +544,7 @@ SyncServiceFactory::SyncServiceFactory()
DependsOn(ProfilePasswordStoreFactory::GetInstance());
DependsOn(PowerBookmarkServiceFactory::GetInstance());
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
diff --git a/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.cc b/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
index e9b432940d8e..36bc9f085fd0 100644
--- a/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
+++ b/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
@@ -1,6 +1,6 @@
---- chrome/browser/task_manager/sampling/task_group.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/task_manager/sampling/task_group.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/task_manager/sampling/task_group.cc
-@@ -36,7 +36,7 @@ const int kBackgroundRefreshTypesMask =
+@@ -32,7 +32,7 @@ const int kBackgroundRefreshTypesMask =
#if BUILDFLAG(IS_WIN)
REFRESH_TYPE_START_TIME | REFRESH_TYPE_CPU_TIME |
#endif // BUILDFLAG(IS_WIN)
@@ -8,17 +8,17 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
REFRESH_TYPE_FD_COUNT |
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
- #if BUILDFLAG(ENABLE_NACL)
-@@ -117,7 +117,7 @@ TaskGroup::TaskGroup(
- #if BUILDFLAG(ENABLE_NACL)
- nacl_debug_stub_port_(nacl::kGdbDebugStubPortUnknown),
- #endif // BUILDFLAG(ENABLE_NACL)
+ REFRESH_TYPE_PRIORITY;
+@@ -100,7 +100,7 @@ TaskGroup::TaskGroup(
+ user_peak_handles_(-1),
+ hard_faults_per_second_(-1),
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
open_fd_count_(-1),
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
idle_wakeups_per_second_(-1),
-@@ -132,7 +132,7 @@ TaskGroup::TaskGroup(
+@@ -115,7 +115,7 @@ TaskGroup::TaskGroup(
weak_ptr_factory_.GetWeakPtr()),
base::BindRepeating(&TaskGroup::OnIdleWakeupsRefreshDone,
weak_ptr_factory_.GetWeakPtr()),
@@ -27,9 +27,9 @@
base::BindRepeating(&TaskGroup::OnOpenFdCountRefreshDone,
weak_ptr_factory_.GetWeakPtr()),
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-@@ -302,7 +302,7 @@ void TaskGroup::OnRefreshNaClDebugStubPortDone(int nac
+@@ -257,7 +257,7 @@ void TaskGroup::RefreshWindowsHandles() {
+ #endif // BUILDFLAG(IS_WIN)
}
- #endif // BUILDFLAG(ENABLE_NACL)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.h b/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.h
index f6bc151ba5ee..ce15d3781c16 100644
--- a/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.h
+++ b/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__group.h
@@ -1,36 +1,36 @@
---- chrome/browser/task_manager/sampling/task_group.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/task_manager/sampling/task_group.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/task_manager/sampling/task_group.h
-@@ -41,7 +41,7 @@ constexpr int kUnsupportedVMRefreshFlags =
+@@ -40,7 +40,7 @@ inline constexpr int kUnsupportedVMRefreshFlags =
REFRESH_TYPE_WEBCACHE_STATS | REFRESH_TYPE_NETWORK_USAGE |
- REFRESH_TYPE_NACL | REFRESH_TYPE_IDLE_WAKEUPS | REFRESH_TYPE_HANDLES |
- REFRESH_TYPE_START_TIME | REFRESH_TYPE_CPU_TIME | REFRESH_TYPE_PRIORITY |
+ REFRESH_TYPE_IDLE_WAKEUPS | REFRESH_TYPE_HANDLES | REFRESH_TYPE_START_TIME |
+ REFRESH_TYPE_CPU_TIME | REFRESH_TYPE_PRIORITY |
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
REFRESH_TYPE_FD_COUNT |
#endif
REFRESH_TYPE_HARD_FAULTS;
-@@ -144,7 +144,7 @@ class TaskGroup {
- }
- #endif // BUILDFLAG(ENABLE_NACL)
+@@ -136,7 +136,7 @@ class TaskGroup {
+ int64_t hard_faults_per_second() const { return hard_faults_per_second_; }
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
int open_fd_count() const { return open_fd_count_; }
void set_open_fd_count(int open_fd_count) { open_fd_count_ = open_fd_count; }
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-@@ -164,7 +164,7 @@ class TaskGroup {
- void RefreshNaClDebugStubPort(int child_process_unique_id);
- void OnRefreshNaClDebugStubPortDone(int port);
- #endif
+@@ -151,7 +151,7 @@ class TaskGroup {
+
+ void RefreshWindowsHandles();
+
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
void OnOpenFdCountRefreshDone(int open_fd_count);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-@@ -235,7 +235,7 @@ class TaskGroup {
- #if BUILDFLAG(ENABLE_NACL)
- int nacl_debug_stub_port_;
- #endif // BUILDFLAG(ENABLE_NACL)
+@@ -219,7 +219,7 @@ class TaskGroup {
+ int64_t user_peak_handles_;
+ int64_t hard_faults_per_second_;
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// The number of file descriptors currently open by the process.
diff --git a/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc b/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
index fab259c49cba..2eab12df964a 100644
--- a/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/task_manager/sampling/task_manager_impl.cc
-@@ -235,7 +235,7 @@ void TaskManagerImpl::GetUSERHandles(TaskId task_id,
+@@ -226,7 +226,7 @@ void TaskManagerImpl::GetUSERHandles(TaskId task_id,
}
int TaskManagerImpl::GetOpenFdCount(TaskId task_id) const {
diff --git a/www/iridium/files/patch-chrome_browser_task__manager_task__manager__observer.h b/www/iridium/files/patch-chrome_browser_task__manager_task__manager__observer.h
index 979895deb810..f07e34fc02be 100644
--- a/www/iridium/files/patch-chrome_browser_task__manager_task__manager__observer.h
+++ b/www/iridium/files/patch-chrome_browser_task__manager_task__manager__observer.h
@@ -1,11 +1,11 @@
---- chrome/browser/task_manager/task_manager_observer.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/task_manager/task_manager_observer.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/task_manager/task_manager_observer.h
-@@ -46,7 +46,7 @@ enum RefreshType {
+@@ -45,7 +45,7 @@ enum RefreshType {
// or backgrounded.
- REFRESH_TYPE_PRIORITY = 1 << 13,
+ REFRESH_TYPE_PRIORITY = 1 << 12,
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// For observers interested in getting the number of open file descriptors of
// processes.
- REFRESH_TYPE_FD_COUNT = 1 << 14,
+ REFRESH_TYPE_FD_COUNT = 1 << 13,
diff --git a/www/iridium/files/patch-chrome_browser_themes_theme__service.cc b/www/iridium/files/patch-chrome_browser_themes_theme__service.cc
index 0de9a12544b0..c2fa6baef4ec 100644
--- a/www/iridium/files/patch-chrome_browser_themes_theme__service.cc
+++ b/www/iridium/files/patch-chrome_browser_themes_theme__service.cc
@@ -1,4 +1,4 @@
---- chrome/browser/themes/theme_service.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/themes/theme_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/themes/theme_service.cc
@@ -72,7 +72,7 @@
#include "extensions/browser/extension_registry_observer.h"
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#include "ui/ozone/public/ozone_platform.h" // nogncheck
#endif
-@@ -332,7 +332,7 @@ CustomThemeSupplier* ThemeService::GetThemeSupplier()
+@@ -331,7 +331,7 @@ CustomThemeSupplier* ThemeService::GetThemeSupplier()
}
bool ThemeService::ShouldUseCustomFrame() const {
diff --git a/www/iridium/files/patch-chrome_browser_themes_theme__service__factory.cc b/www/iridium/files/patch-chrome_browser_themes_theme__service__factory.cc
index 9080a3213933..6c4a682de9c9 100644
--- a/www/iridium/files/patch-chrome_browser_themes_theme__service__factory.cc
+++ b/www/iridium/files/patch-chrome_browser_themes_theme__service__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/themes/theme_service_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/themes/theme_service_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/themes/theme_service_factory.cc
-@@ -24,7 +24,7 @@
+@@ -25,7 +25,7 @@
#include "chrome/browser/themes/theme_helper_win.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/themes/theme_service_aura_linux.h"
#include "ui/linux/linux_ui_factory.h"
#endif
-@@ -103,7 +103,7 @@ ThemeServiceFactory::~ThemeServiceFactory() = default;
+@@ -105,7 +105,7 @@ ThemeServiceFactory::~ThemeServiceFactory() = default;
std::unique_ptr<KeyedService>
ThemeServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* profile) const {
@@ -18,7 +18,7 @@
using ThemeService = ThemeServiceAuraLinux;
#endif
-@@ -115,7 +115,7 @@ ThemeServiceFactory::BuildServiceInstanceForBrowserCon
+@@ -117,7 +117,7 @@ ThemeServiceFactory::BuildServiceInstanceForBrowserCon
void ThemeServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
diff --git a/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h b/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h
index 480305b2d2c7..54d06dd75293 100644
--- a/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h
+++ b/www/iridium/files/patch-chrome_browser_ui_actions_chrome__action__id.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/actions/chrome_action_id.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/actions/chrome_action_id.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/actions/chrome_action_id.h
-@@ -501,7 +501,7 @@
+@@ -508,7 +508,7 @@
#if BUILDFLAG(IS_CHROMEOS)
#define CHROME_PLATFORM_SPECIFIC_ACTION_IDS \
E(kToggleMultitaskMenu, IDC_TOGGLE_MULTITASK_MENU)
diff --git a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc
index 7b301e6d87c0..f873b9cff13f 100644
--- a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc
@@ -58,7 +58,7 @@ gfx::Rect GetPopupSizeForBnpl() {
DesktopPaymentsWindowManager::DesktopPaymentsWindowManager(
@@ -9,7 +9,7 @@
scoped_observation_.Observe(BrowserList::GetInstance());
#endif // BUILDFLAG(IS_LINUX)
}
-@@ -144,7 +144,7 @@ void DesktopPaymentsWindowManager::WebContentsDestroye
+@@ -151,7 +151,7 @@ void DesktopPaymentsWindowManager::WebContentsDestroye
}
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h
index 13bf7dd709ea..ee5a2d93070d 100644
--- a/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h
+++ b/www/iridium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h
@@ -14,7 +14,7 @@
#include "components/autofill/core/browser/payments/payments_window_manager.h"
@@ -27,7 +27,7 @@
// BrowserListObserver:
void OnBrowserSetLastActive(Browser* browser) override;
#endif // BUILDFLAG(IS_LINUX)
-@@ -165,7 +165,7 @@ class DesktopPaymentsWindowManager : public PaymentsWi
+@@ -130,7 +130,7 @@ class DesktopPaymentsWindowManager : public PaymentsWi
// Used in tests to notify the test infrastructure that the pop-up has closed.
base::RepeatingClosure popup_closed_closure_for_testing_;
diff --git a/www/iridium/files/patch-chrome_browser_ui_browser.h b/www/iridium/files/patch-chrome_browser_ui_browser.h
index 65d361019c60..32088a432220 100644
--- a/www/iridium/files/patch-chrome_browser_ui_browser.h
+++ b/www/iridium/files/patch-chrome_browser_ui_browser.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/browser.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/browser.h
-@@ -301,7 +301,7 @@ class Browser : public TabStripModelObserver,
+@@ -279,7 +279,7 @@ class Browser : public TabStripModelObserver,
std::optional<int64_t> display_id;
#endif
diff --git a/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc b/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc
index 44643305583e..aed80b0b2dec 100644
--- a/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser_command_controller.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/browser_command_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/browser_command_controller.cc
-@@ -127,7 +127,7 @@
+@@ -129,7 +129,7 @@
#include "components/user_manager/user_manager.h"
#endif
@@ -9,7 +9,7 @@
#include "ui/base/ime/text_edit_commands.h"
#include "ui/base/ime/text_input_flags.h"
#include "ui/linux/linux_ui.h"
-@@ -137,7 +137,7 @@
+@@ -139,7 +139,7 @@
#include "ui/ozone/public/ozone_platform.h"
#endif
@@ -18,7 +18,7 @@
#include "chrome/browser/ui/shortcuts/desktop_shortcuts_utils.h"
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-@@ -349,7 +349,7 @@ bool BrowserCommandController::IsReservedCommandOrKey(
+@@ -366,7 +366,7 @@ bool BrowserCommandController::IsReservedCommandOrKey(
#endif
}
@@ -27,7 +27,7 @@
// If this key was registered by the user as a content editing hotkey, then
// it is not reserved.
auto* linux_ui = ui::LinuxUi::instance();
-@@ -612,7 +612,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
+@@ -654,7 +654,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
break;
#endif
@@ -36,7 +36,7 @@
case IDC_MINIMIZE_WINDOW:
browser_->window()->Minimize();
break;
-@@ -829,7 +829,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
+@@ -871,7 +871,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
break;
case IDC_CREATE_SHORTCUT:
base::RecordAction(base::UserMetricsAction("CreateShortcut"));
@@ -45,7 +45,7 @@
chrome::CreateDesktopShortcutForActiveWebContents(browser_);
#else
web_app::CreateWebAppFromCurrentWebContents(
-@@ -995,7 +995,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
+@@ -1044,7 +1044,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
case IDC_CHROME_WHATS_NEW:
#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
@@ -54,7 +54,7 @@
ShowChromeWhatsNew(browser_);
break;
#else
-@@ -1372,7 +1372,7 @@ void BrowserCommandController::InitCommandState() {
+@@ -1421,7 +1421,7 @@ void BrowserCommandController::InitCommandState() {
command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_4, true);
command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_5, true);
#endif
@@ -63,12 +63,12 @@
command_updater_.UpdateCommandEnabled(IDC_MINIMIZE_WINDOW, true);
command_updater_.UpdateCommandEnabled(IDC_MAXIMIZE_WINDOW, true);
command_updater_.UpdateCommandEnabled(IDC_RESTORE_WINDOW, true);
-@@ -1728,7 +1728,7 @@ void BrowserCommandController::UpdateCommandsForTabSta
+@@ -1774,7 +1774,7 @@ void BrowserCommandController::UpdateCommandsForTabSta
bool can_create_web_app = web_app::CanCreateWebApp(browser_);
command_updater_.UpdateCommandEnabled(IDC_INSTALL_PWA, can_create_web_app);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
command_updater_.UpdateCommandEnabled(
- IDC_CREATE_SHORTCUT, shortcuts::CanCreateDesktopShortcut(browser_));
- #else
+ IDC_CREATE_SHORTCUT,
+ shortcuts::CanCreateDesktopShortcut(current_web_contents));
diff --git a/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc b/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc
index 2cace00940c1..75f6832d4ec7 100644
--- a/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_browser__commands.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser_commands.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/browser_commands.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/browser_commands.cc
-@@ -2090,7 +2090,7 @@ void OpenUpdateChromeDialog(Browser* browser) {
+@@ -2214,7 +2214,7 @@ void OpenUpdateChromeDialog(Browser* browser) {
} else if (UpgradeDetector::GetInstance()->is_outdated_install_no_au()) {
UpgradeDetector::GetInstance()->NotifyOutdatedInstallNoAutoUpdate();
} else {
diff --git a/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc b/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc
index 0fee1e4df24e..c6b0120dec62 100644
--- a/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_browser__ui__prefs.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/browser_ui_prefs.cc
-@@ -64,7 +64,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry
+@@ -84,7 +84,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry
registry->RegisterTimePref(prefs::kPdfInfoBarLastShown, base::Time());
registry->RegisterIntegerPref(prefs::kPdfInfoBarTimesShown, 0);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
@@ -9,7 +9,7 @@
registry->RegisterStringPref(prefs::kEnterpriseCustomLabelForBrowser,
std::string());
registry->RegisterStringPref(prefs::kEnterpriseLogoUrlForBrowser,
-@@ -185,7 +185,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry
+@@ -208,7 +208,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry
registry->RegisterDictionaryPref(prefs::kHttpsUpgradeFallbacks);
registry->RegisterDictionaryPref(prefs::kHttpsUpgradeNavigations);
registry->RegisterBooleanPref(prefs::kHttpsOnlyModeAutoEnabled, false);
diff --git a/www/iridium/files/patch-chrome_browser_ui_chrome__pages.cc b/www/iridium/files/patch-chrome_browser_ui_chrome__pages.cc
index 176711eece65..bf2bd06fb8bb 100644
--- a/www/iridium/files/patch-chrome_browser_ui_chrome__pages.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_chrome__pages.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/chrome_pages.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/chrome_pages.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/chrome_pages.cc
-@@ -84,7 +84,7 @@
+@@ -85,7 +85,7 @@
#include "components/signin/public/identity_manager/identity_manager.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/web_applications/web_app_utils.h"
#endif
-@@ -381,7 +381,7 @@ void ShowChromeTips(Browser* browser) {
+@@ -393,7 +393,7 @@ void ShowChromeTips(Browser* browser) {
ShowSingletonTab(browser, GURL(kChromeTipsURL));
}
@@ -18,7 +18,7 @@
void ShowChromeWhatsNew(Browser* browser) {
ShowSingletonTab(browser, GURL(kChromeUIWhatsNewURL));
}
-@@ -699,7 +699,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
+@@ -717,7 +717,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
}
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-chrome_browser_ui_chrome__pages.h b/www/iridium/files/patch-chrome_browser_ui_chrome__pages.h
index 475ea4c73383..beef2f0e0ab0 100644
--- a/www/iridium/files/patch-chrome_browser_ui_chrome__pages.h
+++ b/www/iridium/files/patch-chrome_browser_ui_chrome__pages.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/chrome_pages.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/chrome_pages.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/chrome_pages.h
@@ -39,7 +39,7 @@ namespace signin {
enum class ConsentLevel;
@@ -9,7 +9,7 @@
namespace web_app {
enum class AppSettingsPageEntryPoint;
} // namespace web_app
-@@ -174,7 +174,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
+@@ -177,7 +177,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
const std::string& category);
#endif
diff --git a/www/iridium/files/patch-chrome_browser_ui_hats_survey__config.cc b/www/iridium/files/patch-chrome_browser_ui_hats_survey__config.cc
new file mode 100644
index 000000000000..3d44071b1bd8
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_ui_hats_survey__config.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/hats/survey_config.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/ui/hats/survey_config.cc
+@@ -495,7 +495,7 @@ std::vector<hats::SurveyConfig> GetAllSurveyConfigs()
+ &features::kHappinessTrackingSurveysForWallpaperSearch,
+ kHatsSurveyTriggerWallpaperSearch);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::vector<std::string> identity_string_psd_fields{
+ "Channel", "Chrome Version", "Number of Chrome Profiles",
+ "Number of Google Accounts", "Sign-in Status"};
diff --git a/www/iridium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc b/www/iridium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc
new file mode 100644
index 000000000000..840b84633d83
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/hats/trust_safety_sentiment_service_factory.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/ui/hats/trust_safety_sentiment_service_factory.cc
+@@ -59,7 +59,7 @@ TrustSafetySentimentServiceFactory::BuildServiceInstan
+ // TrustSafetySentimentSurvey is conducted only for Windows, MacOS and Linux
+ // currently.
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
+- (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS))
++ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS))
+
+ // TrustSafetySentimentSurvey is conducted only in English currently.
+ const std::string& application_locale =
diff --git a/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc b/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc
index 9963eb955764..fb78098f6044 100644
--- a/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
-@@ -104,7 +104,7 @@ namespace {
+@@ -113,7 +113,7 @@ namespace {
using Logger = autofill::SavePasswordProgressLogger;
@@ -9,7 +9,7 @@
// Should be kept in sync with constant declared in
// bubble_controllers/relaunch_chrome_bubble_controller.cc.
constexpr int kMaxNumberOfTimesKeychainErrorBubbleIsShown = 3;
-@@ -562,7 +562,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor
+@@ -622,7 +622,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor
}
void ManagePasswordsUIController::OnKeychainError() {
diff --git a/www/iridium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc b/www/iridium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc
index 335f5790feb5..0f776335e81a 100644
--- a/www/iridium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/prefs/prefs_tab_helper.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/prefs/prefs_tab_helper.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/prefs/prefs_tab_helper.cc
-@@ -66,7 +66,7 @@
- #include <windows.h>
+@@ -68,7 +68,7 @@
#endif
--#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS)
++ BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS) || BUILDFLAG(IS_BSD)
// If a font name in prefs default values starts with a comma, consider it's a
// comma-separated font list and resolve it to the first available font.
#define PREFS_FONT_LIST 1
diff --git a/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc
index 9193ee529f8f..16f5d5c82772 100644
--- a/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc
@@ -1,6 +1,15 @@
---- chrome/browser/ui/signin/signin_view_controller.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/signin/signin_view_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/signin/signin_view_controller.cc
-@@ -444,7 +444,7 @@ void SigninViewController::ShowModalSyncConfirmationDi
+@@ -476,7 +476,7 @@ void SigninViewController::ShowModalSyncConfirmationDi
+ GetOnModalDialogClosedCallback());
+ }
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ void SigninViewController::ShowModalHistorySyncOptInDialog() {
+ CHECK(base::FeatureList::IsEnabled(switches::kEnableHistorySyncOptin));
+ CloseModalSignin();
+@@ -491,7 +491,7 @@ void SigninViewController::ShowModalHistorySyncOptInDi
void SigninViewController::ShowModalManagedUserNoticeDialog(
std::unique_ptr<signin::EnterpriseProfileCreationDialogParams>
create_param) {
diff --git a/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.h b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.h
new file mode 100644
index 000000000000..de47306fbb3c
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller.h
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/signin/signin_view_controller.h.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/ui/signin/signin_view_controller.h
+@@ -169,7 +169,7 @@ class SigninViewController {
+ void ShowModalSyncConfirmationDialog(bool is_signin_intercept,
+ bool is_sync_promo);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Shows the modal history sync opt in dialog as a browser-modal dialog on top
+ // of the `browser_`'s window.
+ void ShowModalHistorySyncOptInDialog();
diff --git a/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h
index 7a855c40311f..eada62740d0a 100644
--- a/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h
+++ b/www/iridium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h
@@ -1,6 +1,15 @@
---- chrome/browser/ui/signin/signin_view_controller_delegate.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/signin/signin_view_controller_delegate.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/signin/signin_view_controller_delegate.h
-@@ -79,7 +79,7 @@ class SigninViewControllerDelegate {
+@@ -49,7 +49,7 @@ class SigninViewControllerDelegate {
+ SyncConfirmationStyle style,
+ bool is_sync_promo);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Returns a platform-specific SigninViewControllerDelegate instance that
+ // displays the modal history sync opt in dialog. The returned object should
+ // delete itself when the window it's managing is closed.
+@@ -89,7 +89,7 @@ class SigninViewControllerDelegate {
SignoutConfirmationCallback callback);
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
diff --git a/www/iridium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc b/www/iridium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
index 11e55a040065..6386b704f9c9 100644
--- a/www/iridium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
@@ -1,7 +1,7 @@
---- chrome/browser/ui/startup/bad_flags_prompt.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/startup/bad_flags_prompt.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/startup/bad_flags_prompt.cc
-@@ -95,7 +95,7 @@ const char* const kBadFlags[] = {
- extensions::switches::kExtensionsOnChromeURLs,
+@@ -105,7 +105,7 @@ const char* const kBadFlags[] = {
+ extensions::switches::kExtensionsOnExtensionURLs,
#endif
-#if BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc b/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
index 9d7757f5d210..af3b596a90f3 100644
--- a/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/startup/startup_browser_creator.cc
@@ -134,7 +134,7 @@
#include "chrome/credential_provider/common/gcp_strings.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/headless/headless_mode_util.h"
#include "chrome/browser/ui/startup/web_app_info_recorder_utils.h"
#include "components/headless/policy/headless_mode_policy.h"
-@@ -978,7 +978,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
+@@ -1019,7 +1019,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
TRACE_EVENT0("startup", "StartupBrowserCreator::ProcessCmdLineImpl");
ComputeAndRecordLaunchMode(command_line);
@@ -18,7 +18,7 @@
if (headless::IsHeadlessMode() &&
headless::HeadlessModePolicy::IsHeadlessModeDisabled(
g_browser_process->local_state())) {
-@@ -1081,7 +1081,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
+@@ -1122,7 +1122,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
silent_launch = true;
}
@@ -27,7 +27,7 @@
// Writes open and installed web apps to the specified file without
// launching a new browser window or tab.
if (base::FeatureList::IsEnabled(features::kListWebAppsSwitch) &&
-@@ -1298,7 +1298,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
+@@ -1339,7 +1339,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
CHECK_EQ(profile_info.mode, StartupProfileMode::kBrowserWindow)
<< "Failed launch with app: couldn't pick a profile";
std::string app_id = command_line.GetSwitchValueASCII(switches::kAppId);
diff --git a/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc b/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc
index 1221e0fbf1f2..5a8459dc7cec 100644
--- a/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/startup/startup_browser_creator_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/startup/startup_browser_creator_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/startup/startup_browser_creator_impl.cc
-@@ -76,7 +76,7 @@
+@@ -80,7 +80,7 @@
#include "components/app_restore/full_restore_utils.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_fetcher.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -208,7 +208,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
+@@ -214,7 +214,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
// at the state of the MessageLoop.
Browser::CreateParams params = Browser::CreateParams(profile_, false);
params.creation_source = Browser::CreationSource::kStartupCreator;
@@ -18,7 +18,7 @@
params.startup_id =
command_line_->GetSwitchValueASCII("desktop-startup-id");
#endif
-@@ -238,7 +238,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
+@@ -244,7 +244,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
continue;
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc b/www/iridium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc
index e8cf079132a5..8b5d4497c25a 100644
--- a/www/iridium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/startup/startup_tab_provider.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/startup/startup_tab_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/startup/startup_tab_provider.cc
-@@ -62,7 +62,7 @@
+@@ -63,7 +63,7 @@
#include "extensions/browser/extension_registry.h"
#endif // !BUILDFLAG(IS_ANDROID)
@@ -9,7 +9,7 @@
#include "chrome/browser/headless/headless_mode_util.h"
#endif
-@@ -101,7 +101,7 @@ bool ValidateUrl(const GURL& url) {
+@@ -102,7 +102,7 @@ bool ValidateUrl(const GURL& url) {
#endif // BUILDFLAG(IS_CHROMEOS)
bool url_scheme_is_chrome = false;
diff --git a/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc b/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc
index 8fa85d52c2d4..c4f02011c1e7 100644
--- a/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_tab__helpers.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/tab_helpers.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/tab_helpers.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/tab_helpers.cc
-@@ -220,7 +220,7 @@
+@@ -218,7 +218,7 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "chrome/browser/ui/blocked_content/framebust_block_tab_helper.h"
- #include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/hats/hats_helper.h"
-@@ -705,12 +705,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con
+ #include "chrome/browser/ui/performance_controls/performance_controls_hats_service_factory.h"
+@@ -702,12 +702,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con
webapps::PreRedirectionURLObserver::CreateForWebContents(web_contents);
#endif
diff --git a/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc b/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc
index 170cef10af50..010c498e69e1 100644
--- a/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_tabs_features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/tabs/features.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/tabs/features.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/tabs/features.cc
-@@ -51,7 +51,7 @@ bool CanShowTabSearchPositionSetting() {
+@@ -60,7 +60,7 @@ bool CanShowTabSearchPositionSetting() {
}
// Mac and other platforms will always have the tab search position in the
// correct location, cros/linux/win git the user the option to change.
diff --git a/www/iridium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc b/www/iridium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc
index 2e2938735214..53f59c8d9a7a 100644
--- a/www/iridium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/tabs/tab_dialog_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/tabs/tab_dialog_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/tabs/tab_dialog_manager.cc
-@@ -83,7 +83,7 @@ bool SupportsGlobalScreenCoordinates() {
+@@ -88,7 +88,7 @@ bool SupportsGlobalScreenCoordinates() {
}
bool PlatformClipsChildrenToViewport() {
diff --git a/www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc b/www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc
index dfb5388717a8..07fd34fbe262 100644
--- a/www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/tabs/tab_features.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/tabs/tab_features.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/tabs/tab_features.cc
-@@ -311,7 +311,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro
+@@ -356,7 +356,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro
task_manager::WebContentsTags::CreateForTabContents(tab.GetContents());
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h b/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h
index aad8d9e3bfea..5f4b862b101d 100644
--- a/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h
+++ b/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/task_manager/task_manager_columns.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/task_manager/task_manager_columns.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/task_manager/task_manager_columns.h
-@@ -277,7 +277,7 @@ inline constexpr std::array kColumns = {
+@@ -264,7 +264,7 @@ inline constexpr std::array kColumns = {
.default_visibility = false},
#endif
diff --git a/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc b/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
index a88f1da47ba6..302d5bac09dc 100644
--- a/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/task_manager/task_manager_table_model.cc
-@@ -423,7 +423,7 @@ TaskManagerTableModel::~TaskManagerTableModel() {
+@@ -376,7 +376,7 @@ TaskManagerTableModel::~TaskManagerTableModel() {
// Note: system_total_time_ is used for both since there is no functional
// difference between browser & system (they are essentially the same tab).
// Instead, the data is routed to the platform appropriate bucket.
@@ -9,7 +9,7 @@
task_manager::RecordTabSwitchEvent(CategoryRecord::kBrowser,
system_total_time_);
#elif BUILDFLAG(IS_CHROMEOS)
-@@ -564,7 +564,7 @@ std::u16string TaskManagerTableModel::GetText(size_t r
+@@ -509,7 +509,7 @@ std::u16string TaskManagerTableModel::GetText(size_t r
? stringifier_->backgrounded_string()
: stringifier_->foregrounded_string();
@@ -18,7 +18,7 @@
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: {
const int fd_count = observed_task_manager()->GetOpenFdCount(tasks_[row]);
return fd_count >= 0 ? base::FormatNumber(fd_count)
-@@ -727,7 +727,7 @@ int TaskManagerTableModel::CompareValues(size_t row1,
+@@ -667,7 +667,7 @@ int TaskManagerTableModel::CompareValues(size_t row1,
return BooleanCompare(is_proc1_bg, is_proc2_bg);
}
@@ -27,7 +27,7 @@
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: {
const int proc1_fd_count =
observed_task_manager()->GetOpenFdCount(tasks_[row1]);
-@@ -1044,7 +1044,7 @@ void TaskManagerTableModel::UpdateRefreshTypes(int col
+@@ -979,7 +979,7 @@ void TaskManagerTableModel::UpdateRefreshTypes(int col
type = REFRESH_TYPE_KEEPALIVE_COUNT;
break;
diff --git a/www/iridium/files/patch-chrome_browser_ui_test_popup__browsertest.cc b/www/iridium/files/patch-chrome_browser_ui_test_popup__browsertest.cc
index d0a8b676d986..546227069b76 100644
--- a/www/iridium/files/patch-chrome_browser_ui_test_popup__browsertest.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_test_popup__browsertest.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/test/popup_browsertest.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/test/popup_browsertest.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/test/popup_browsertest.cc
-@@ -75,7 +75,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenLeftAndTopZeroCo
+@@ -76,7 +76,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenLeftAndTopZeroCo
const display::Display display = GetDisplayNearestBrowser(popup);
gfx::Rect expected(popup->window()->GetBounds().size());
expected.AdjustToFit(display.work_area());
@@ -9,7 +9,7 @@
// TODO(crbug.com/40815883) Desktop Linux window bounds are inaccurate.
expected.Outset(50);
EXPECT_TRUE(expected.Contains(popup->window()->GetBounds()))
-@@ -107,7 +107,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenClampedToCurrent
+@@ -108,7 +108,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenClampedToCurrent
// The popup should be constrained to the opener's available display space.
EXPECT_EQ(display, GetDisplayNearestBrowser(popup));
gfx::Rect work_area(display.work_area());
diff --git a/www/iridium/files/patch-chrome_browser_ui_ui__features.cc b/www/iridium/files/patch-chrome_browser_ui_ui__features.cc
index c118cd7c49e8..85fb5a48830b 100644
--- a/www/iridium/files/patch-chrome_browser_ui_ui__features.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_ui__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/ui_features.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/ui_features.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/ui_features.cc
-@@ -35,7 +35,7 @@ BASE_FEATURE(kCloseOmniboxPopupOnInactiveAreaClick,
+@@ -38,7 +38,7 @@ BASE_FEATURE(kCloseOmniboxPopupOnInactiveAreaClick,
"CloseOmniboxPopupOnInactiveAreaClick",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -9,7 +9,7 @@
// Enables the feature to remove the last confirmation dialog when relaunching
// to update Chrome.
BASE_FEATURE(kFewerUpdateConfirmations,
-@@ -339,7 +339,7 @@ BASE_FEATURE(kViewsJSAppModalDialog,
+@@ -398,7 +398,7 @@ BASE_FEATURE(kViewsJSAppModalDialog,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
diff --git a/www/iridium/files/patch-chrome_browser_ui_ui__features.h b/www/iridium/files/patch-chrome_browser_ui_ui__features.h
index 2e06c20690d7..788fb1271a49 100644
--- a/www/iridium/files/patch-chrome_browser_ui_ui__features.h
+++ b/www/iridium/files/patch-chrome_browser_ui_ui__features.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/ui_features.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/ui_features.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/ui_features.h
@@ -28,7 +28,7 @@ BASE_DECLARE_FEATURE(kAllowEyeDropperWGCScreenCapture)
@@ -9,7 +9,7 @@
BASE_DECLARE_FEATURE(kFewerUpdateConfirmations);
#endif
-@@ -214,7 +214,7 @@ BASE_DECLARE_FEATURE(kViewsFirstRunDialog);
+@@ -292,7 +292,7 @@ BASE_DECLARE_FEATURE(kViewsFirstRunDialog);
BASE_DECLARE_FEATURE(kViewsJSAppModalDialog);
#endif
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc b/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc
index 039285288f8e..012885966a75 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_accelerator__table.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/accelerator_table.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/accelerator_table.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/accelerator_table.cc
-@@ -69,11 +69,11 @@ const AcceleratorMapping kAcceleratorMap[] = {
+@@ -72,11 +72,11 @@ const AcceleratorMapping kAcceleratorMap[] = {
{ui::VKEY_S, ui::EF_PLATFORM_ACCELERATOR, IDC_SAVE_PAGE},
{ui::VKEY_9, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_LAST_TAB},
{ui::VKEY_NUMPAD9, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_LAST_TAB},
@@ -14,7 +14,7 @@
{ui::VKEY_NEXT, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, IDC_MOVE_TAB_NEXT},
{ui::VKEY_PRIOR, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN,
IDC_MOVE_TAB_PREVIOUS},
-@@ -101,7 +101,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
+@@ -104,7 +104,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
{ui::VKEY_NUMPAD7, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_6},
{ui::VKEY_8, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_7},
{ui::VKEY_NUMPAD8, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_7},
@@ -23,7 +23,7 @@
{ui::VKEY_1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0},
{ui::VKEY_NUMPAD1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0},
{ui::VKEY_2, ui::EF_ALT_DOWN, IDC_SELECT_TAB_1},
-@@ -153,7 +153,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
+@@ -156,7 +156,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
IDC_SHOW_AVATAR_MENU},
// Platform-specific key maps.
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
index f98cd1b15af9..683e866d6a3a 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
-@@ -39,7 +39,7 @@
+@@ -36,7 +36,7 @@
#include "ui/wm/core/wm_state.h"
#endif // defined(USE_AURA)
@@ -9,7 +9,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-@@ -143,7 +143,7 @@ void ChromeBrowserMainExtraPartsViews::PreProfileInit(
+@@ -131,7 +131,7 @@ void ChromeBrowserMainExtraPartsViews::PreProfileInit(
return controller;
}));
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc b/www/iridium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc
index 164313b52b30..0d1d76a807a0 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/chrome_views_delegate_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/chrome_views_delegate_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/chrome_views_delegate_linux.cc
-@@ -26,7 +26,7 @@ bool IsDesktopEnvironmentUnity() {
+@@ -27,7 +27,7 @@ bool IsDesktopEnvironmentUnity() {
return desktop_env == base::nix::DESKTOP_ENVIRONMENT_UNITY;
}
@@ -9,7 +9,7 @@
int GetWindowIconResourceId() {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
switch (chrome::GetChannel()) {
-@@ -80,7 +80,7 @@ views::NativeWidget* ChromeViewsDelegate::CreateNative
+@@ -85,7 +85,7 @@ views::NativeWidget* ChromeViewsDelegate::CreateNative
delegate);
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
index 61f5175109cd..ba8d9a9407e9 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/browser_frame.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/frame/browser_frame.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/browser_frame.cc
-@@ -52,7 +52,7 @@
+@@ -53,7 +53,7 @@
#include "ui/aura/window.h"
#endif
@@ -9,7 +9,16 @@
#include "ui/display/screen.h"
#include "ui/linux/linux_ui.h"
#endif
-@@ -87,7 +87,7 @@ class ThemeChangedObserver : public views::WidgetObser
+@@ -68,7 +68,7 @@ namespace {
+ constexpr double kTitlePaddingWidthFraction = 0.1;
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // These values are used for Linux/GTK.
+ constexpr int kIconTitleSpacing = 4;
+ constexpr int kCaptionSpacing = 5;
+@@ -98,7 +98,7 @@ class ThemeChangedObserver : public views::WidgetObser
};
bool IsUsingLinuxSystemTheme(Profile* profile) {
@@ -18,7 +27,7 @@
return ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme();
#else
return false;
-@@ -185,7 +185,7 @@ void BrowserFrame::InitBrowserFrame() {
+@@ -196,7 +196,7 @@ void BrowserFrame::InitBrowserFrame() {
Init(std::move(params));
@@ -27,7 +36,7 @@
SelectNativeTheme();
#else
SetNativeTheme(ui::NativeTheme::GetInstanceForNativeUi());
-@@ -371,7 +371,7 @@ void BrowserFrame::OnNativeWidgetWorkspaceChanged() {
+@@ -434,7 +434,7 @@ void BrowserFrame::OnNativeWidgetWorkspaceChanged() {
chrome::SaveWindowWorkspace(browser_view_->browser(), GetWorkspace());
chrome::SaveWindowVisibleOnAllWorkspaces(browser_view_->browser(),
IsVisibleOnAllWorkspaces());
@@ -36,7 +45,7 @@
// If the window was sent to a different workspace, prioritize it if
// it was sent to the current workspace and deprioritize it
// otherwise. This is done by MoveBrowsersInWorkspaceToFront()
-@@ -569,7 +569,7 @@ void BrowserFrame::OnMenuClosed() {
+@@ -633,7 +633,7 @@ void BrowserFrame::OnMenuClosed() {
}
void BrowserFrame::SelectNativeTheme() {
@@ -45,7 +54,7 @@
// Use the regular NativeTheme instance if running incognito mode, regardless
// of system theme (gtk, qt etc).
ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForNativeUi();
-@@ -610,7 +610,7 @@ void BrowserFrame::OnTouchUiChanged() {
+@@ -674,7 +674,7 @@ void BrowserFrame::OnTouchUiChanged() {
bool BrowserFrame::RegenerateFrameOnThemeChange(
BrowserThemeChangeType theme_change_type) {
bool need_regenerate = false;
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc
index 501d75bfd602..3f884ef76a9f 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc
-@@ -15,7 +15,7 @@
+@@ -17,7 +17,7 @@
#include "chrome/browser/ui/views/frame/browser_frame_view_win.h"
#endif
@@ -9,21 +9,12 @@
#include "chrome/browser/ui/views/frame/browser_frame_view_layout_linux.h"
#include "chrome/browser/ui/views/frame/browser_frame_view_layout_linux_native.h"
#include "chrome/browser/ui/views/frame/browser_frame_view_linux_native.h"
-@@ -33,7 +33,7 @@ namespace {
- std::unique_ptr<OpaqueBrowserFrameView> CreateOpaqueBrowserFrameView(
- BrowserFrame* frame,
- BrowserView* browser_view) {
+@@ -32,7 +32,7 @@ namespace chrome {
+
+ namespace {
+
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- auto* profile = browser_view->browser()->profile();
- auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(profile);
- auto* theme_service_factory = ThemeServiceFactory::GetForProfile(profile);
-@@ -83,7 +83,7 @@ std::unique_ptr<BrowserNonClientFrameView> CreateBrows
+ std::unique_ptr<OpaqueBrowserFrameView> CreateOpaqueBrowserFrameViewLinux(
BrowserFrame* frame,
BrowserView* browser_view) {
- if (browser_view->browser()->is_type_picture_in_picture()) {
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return std::make_unique<PictureInPictureBrowserFrameViewLinux>(
- frame, browser_view);
- #else
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
index 96f35488f545..6c923ff3e9a0 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/views/frame/browser_view.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/frame/browser_view.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/browser_view.cc
-@@ -2635,7 +2635,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating
+@@ -2476,7 +2476,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating
}
void BrowserView::TabDraggingStatusChanged(bool is_dragging) {
-#if !BUILDFLAG(IS_LINUX)
+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
- GetContentsWebView()->SetFastResize(is_dragging);
- if (multi_contents_view_) {
- multi_contents_view_->GetInactiveContentsView()->SetFastResize(is_dragging);
-@@ -5964,7 +5964,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() {
+ std::vector<ContentsWebView*> contents_web_views =
+ GetAllVisibleContentsWebViews();
+
+@@ -5961,7 +5961,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() {
}
void BrowserView::MaybeShowSupervisedUserProfileSignInIPH() {
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
index ddd5c2dbf4e7..5a85ec94c646 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -54,7 +54,7 @@
#include "ui/views/window/vector_icons/vector_icons.h"
@@ -9,7 +9,7 @@
#include "ui/views/controls/menu/menu_runner.h"
#endif
-@@ -572,7 +572,7 @@ bool OpaqueBrowserFrameView::EverHasVisibleBackgroundT
+@@ -566,7 +566,7 @@ bool OpaqueBrowserFrameView::EverHasVisibleBackgroundT
OpaqueBrowserFrameView::FrameButtonStyle
OpaqueBrowserFrameView::GetFrameButtonStyle() const {
@@ -18,7 +18,7 @@
return FrameButtonStyle::kMdButton;
#else
return FrameButtonStyle::kImageButton;
-@@ -591,7 +591,7 @@ bool OpaqueBrowserFrameView::ShouldDrawRestoredFrameSh
+@@ -585,7 +585,7 @@ bool OpaqueBrowserFrameView::ShouldDrawRestoredFrameSh
return false;
}
@@ -27,7 +27,7 @@
bool OpaqueBrowserFrameView::IsTiled() const {
return frame()->tiled();
}
-@@ -794,7 +794,7 @@ gfx::Rect OpaqueBrowserFrameView::GetIconBounds() cons
+@@ -788,7 +788,7 @@ gfx::Rect OpaqueBrowserFrameView::GetIconBounds() cons
}
void OpaqueBrowserFrameView::WindowIconPressed() {
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h b/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h
index 37ab52fd1a44..5f34aef3dc0e 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/opaque_browser_frame_view.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view.h
-@@ -110,7 +110,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
+@@ -108,7 +108,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
FrameButtonStyle GetFrameButtonStyle() const override;
void UpdateWindowControlsOverlay(const gfx::Rect& bounding_rect) override;
bool ShouldDrawRestoredFrameShadow() const override;
@@ -9,7 +9,7 @@
bool IsTiled() const override;
#endif
int WebAppButtonHeight() const override;
-@@ -227,7 +227,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
+@@ -225,7 +225,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
// Background painter for the window frame.
std::unique_ptr<views::FrameBackground> frame_background_;
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc
index cbbae2ad7683..3802691c8c38 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc
-@@ -67,7 +67,7 @@
+@@ -74,7 +74,7 @@
// Windows, Mac and CrOS do not clip child widgets to their parents, so we
// don't have to worry about resizing quite as much.
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
index a2fc127a5a92..a4636069b8dc 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/system_menu_model_builder.cc
-@@ -75,7 +75,7 @@ void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuM
+@@ -74,7 +74,7 @@ void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuM
void SystemMenuModelBuilder::BuildSystemMenuForBrowserWindow(
ui::SimpleMenuModel* model) {
@@ -9,7 +9,7 @@
model->AddItemWithStringId(IDC_MINIMIZE_WINDOW, IDS_MINIMIZE_WINDOW_MENU);
model->AddItemWithStringId(IDC_MAXIMIZE_WINDOW, IDS_MAXIMIZE_WINDOW_MENU);
model->AddItemWithStringId(IDC_RESTORE_WINDOW, IDS_RESTORE_WINDOW_MENU);
-@@ -101,7 +101,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser
+@@ -100,7 +100,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser
model->AddSeparator(ui::NORMAL_SEPARATOR);
model->AddItemWithStringId(IDC_TASK_MANAGER_CONTEXT_MENU, IDS_TASK_MANAGER);
}
@@ -18,7 +18,7 @@
model->AddSeparator(ui::NORMAL_SEPARATOR);
bool supports_server_side_decorations = true;
#if BUILDFLAG(IS_OZONE) && !BUILDFLAG(IS_CHROMEOS)
-@@ -175,7 +175,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo
+@@ -174,7 +174,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo
model->AddSeparator(ui::NORMAL_SEPARATOR);
model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
index 2c01e62d79e9..8e7f24206f57 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/system_menu_model_delegate.cc
-@@ -20,7 +20,7 @@
+@@ -21,7 +21,7 @@
#include "chromeos/ui/frame/desks/move_to_desks_menu_model.h"
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "chrome/common/pref_names.h"
- #include "components/prefs/pref_service.h"
#endif
-@@ -39,7 +39,7 @@ SystemMenuModelDelegate::SystemMenuModelDelegate(
+
+@@ -38,7 +38,7 @@ SystemMenuModelDelegate::SystemMenuModelDelegate(
SystemMenuModelDelegate::~SystemMenuModelDelegate() = default;
bool SystemMenuModelDelegate::IsCommandIdChecked(int command_id) const {
@@ -18,7 +18,7 @@
if (command_id == IDC_USE_SYSTEM_TITLE_BAR) {
PrefService* prefs = browser_->profile()->GetPrefs();
return !prefs->GetBoolean(prefs::kUseCustomChromeFrame);
-@@ -65,7 +65,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c
+@@ -64,7 +64,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c
}
bool SystemMenuModelDelegate::IsCommandIdVisible(int command_id) const {
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_frame_tab__strip__region__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_frame_tab__strip__region__view.cc
index 1f7831545d79..6df141af0216 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_frame_tab__strip__region__view.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_frame_tab__strip__region__view.cc
@@ -1,8 +1,8 @@
---- chrome/browser/ui/views/frame/tab_strip_region_view.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/frame/tab_strip_region_view.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/frame/tab_strip_region_view.cc
@@ -222,7 +222,7 @@ TabStripRegionView::TabStripRegionView(std::unique_ptr
- new_tab_button_->GetViewAccessibility().SetName(
- l10n_util::GetStringUTF16(IDS_ACCNAME_NEWTAB));
+ new_tab_button_->GetViewAccessibility().SetName(
+ l10n_util::GetStringUTF16(IDS_ACCNAME_NEWTAB));
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc b/www/iridium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc
new file mode 100644
index 000000000000..15d2ccb67cdf
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/views/new_tab_footer/footer_controller.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/ui/views/new_tab_footer/footer_controller.cc
+@@ -44,7 +44,7 @@ NewTabFooterController::NewTabFooterController(
+ base::BindRepeating(&NewTabFooterController::UpdateFooterVisibilities,
+ weak_factory_.GetWeakPtr(),
+ /*log_on_load_metric=*/false));
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ local_state_pref_change_registrar_.Init(g_browser_process->local_state());
+ local_state_pref_change_registrar_.Add(
+ prefs::kNTPFooterManagementNoticeEnabled,
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc
index 9271f4edfcbb..44d01ce5c526 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/omnibox/omnibox_view_views.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/omnibox/omnibox_view_views.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/omnibox/omnibox_view_views.cc
-@@ -2090,7 +2090,7 @@ void OmniboxViewViews::MaybeAddSendTabToSelfItem(
+@@ -2320,7 +2320,7 @@ void OmniboxViewViews::MaybeAddSendTabToSelfItem(
}
void OmniboxViewViews::OnPopupOpened() {
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc b/www/iridium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc
index bf74376521cc..112b2bc443a2 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/passwords/password_bubble_view_base.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/passwords/password_bubble_view_base.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/passwords/password_bubble_view_base.cc
-@@ -42,7 +42,7 @@
+@@ -43,7 +43,7 @@
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/controls/button/button.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/views/passwords/password_relaunch_chrome_view.h"
#endif
-@@ -175,7 +175,7 @@ PasswordBubbleViewBase* PasswordBubbleViewBase::Create
+@@ -163,7 +163,7 @@ PasswordBubbleViewBase* PasswordBubbleViewBase::Create
} else if (model_state ==
password_manager::ui::NOTIFY_RECEIVED_SHARED_CREDENTIALS) {
view = new SharedPasswordsNotificationView(web_contents, anchor_view);
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc
index 5d8674c148f1..430590cff5e1 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/profiles/avatar_toolbar_button.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/profiles/avatar_toolbar_button.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/profiles/avatar_toolbar_button.cc
-@@ -346,7 +346,7 @@ void AvatarToolbarButton::MaybeShowProfileSwitchIPH()
+@@ -407,7 +407,7 @@ void AvatarToolbarButton::MaybeShowProfileSwitchIPH()
}
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h b/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h
index 5b00fb8951e2..de4122622a3f 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h
+++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/profiles/avatar_toolbar_button.h
-@@ -88,7 +88,7 @@ class AvatarToolbarButton : public ToolbarButton {
+@@ -96,7 +96,7 @@ class AvatarToolbarButton : public ToolbarButton,
// Attempts showing the In-Produce-Help for profile Switching.
void MaybeShowProfileSwitchIPH();
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc
index 646ebb97485a..89795a1eb02d 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/views/profiles/profile_menu_coordinator.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/profiles/profile_menu_coordinator.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/profiles/profile_menu_coordinator.cc
-@@ -52,7 +52,7 @@ void ProfileMenuCoordinator::Show(
- browser.window()->NotifyFeaturePromoFeatureUsed(
- feature_engagement::kIPHProfileSwitchFeature,
- FeaturePromoFeatureUsedAction::kClosePromoIfPresent);
+@@ -55,7 +55,7 @@ void ProfileMenuCoordinator::Show(
+ ->NotifyFeaturePromoFeatureUsed(
+ feature_engagement::kIPHProfileSwitchFeature,
+ FeaturePromoFeatureUsedAction::kClosePromoIfPresent);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- browser.window()->NotifyFeaturePromoFeatureUsed(
- feature_engagement::kIPHSupervisedUserProfileSigninFeature,
- FeaturePromoFeatureUsedAction::kClosePromoIfPresent);
+ BrowserUserEducationInterface::From(GetBrowser())
+ ->NotifyFeaturePromoFeatureUsed(
+ feature_engagement::kIPHSupervisedUserProfileSigninFeature,
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc
index f0e6147a978e..cd850ed37116 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc
@@ -1,20 +1,20 @@
---- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/profiles/profile_menu_view.cc
-@@ -92,7 +92,7 @@
- #include "ui/strings/grit/ui_strings.h"
+@@ -102,7 +102,7 @@
#include "ui/views/accessibility/view_accessibility.h"
+ #include "ui/views/widget/widget.h"
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#endif
-@@ -495,7 +495,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() {
+@@ -585,7 +585,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() {
case signin_util::SignedInState::kSignedOut:
case signin_util::SignedInState::kWebOnlySignedIn: {
std::string profile_user_display_name, profile_user_email;
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- profile_user_display_name = profile->GetPrefs()->GetString(
+ profile_user_display_name = profile().GetPrefs()->GetString(
enterprise_signin::prefs::kProfileUserDisplayName);
- profile_user_email = profile->GetPrefs()->GetString(
+ profile_user_email = profile().GetPrefs()->GetString(
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc
deleted file mode 100644
index fb2244a19af6..000000000000
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/ui/views/profiles/profile_menu_view_base.cc.orig 2025-06-19 07:37:57 UTC
-+++ chrome/browser/ui/views/profiles/profile_menu_view_base.cc
-@@ -415,7 +415,7 @@ void ProfileMenuViewBase::SetProfileIdentityInfo(
- kIdentityImageBorder,
- /*has_dotted_ring=*/false);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // crbug.com/1161166: Orca does not read the accessible window title of the
- // bubble, so we duplicate it in the top-level menu item. To be revisited
- // after considering other options, including fixes on the AT side.
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc
index 4b4fc8e86d3d..ea9b77956263 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/profiles/profile_picker_view.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/profiles/profile_picker_view.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/profiles/profile_picker_view.cc
-@@ -85,7 +85,7 @@
+@@ -81,7 +81,7 @@
#include "chrome/browser/global_keyboard_shortcuts_mac.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/shell_integration_linux.h"
#endif
-@@ -115,7 +115,7 @@ class ProfilePickerWidget : public views::Widget {
+@@ -107,7 +107,7 @@ class ProfilePickerWidget : public views::Widget {
views::Widget::InitParams params(
views::Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET);
params.delegate = profile_picker_view_;
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc
index c98973b05093..1aa1eba500a8 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc
@@ -1,15 +1,32 @@
---- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc
-@@ -66,7 +66,7 @@
+@@ -63,14 +63,14 @@
+ #include "chrome/browser/ui/webui/signin/signout_confirmation/signout_confirmation_ui.h"
+ #endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin_ui.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+
namespace {
const int kModalDialogWidth = 448;
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const int kManagedUserNoticeConfirmationDialogWidth = 512;
- const int kManagedUserNoticeConfirmationDialogHeight = 576;
- const int kManagedUserNoticeConfirmationUpdatedDialogWidth = 780;
-@@ -198,7 +198,7 @@ SigninViewControllerDelegateViews::CreateSignoutConfir
+ const int kManagedUserNoticeConfirmationDialogWidth = 780;
+ const int kManagedUserNoticeConfirmationDialogHeight = 560;
+ #endif
+@@ -137,7 +137,7 @@ SigninViewControllerDelegateViews::CreateSyncConfirmat
+ kSyncConfirmationDialogWidth, InitializeSigninWebDialogUI(true));
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<views::WebView>
+ SigninViewControllerDelegateViews::CreateHistorySyncOptInWebView(
+ Browser* browser,
+@@ -227,7 +227,7 @@ SigninViewControllerDelegateViews::CreateSignoutConfir
}
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
@@ -18,7 +35,7 @@
// static
std::unique_ptr<views::WebView>
SigninViewControllerDelegateViews::CreateManagedUserNoticeConfirmationWebView(
-@@ -383,7 +383,7 @@ SigninViewControllerDelegateViews::SigninViewControlle
+@@ -402,7 +402,7 @@ SigninViewControllerDelegateViews::SigninViewControlle
SetButtons(static_cast<int>(ui::mojom::DialogButton::kNone));
@@ -27,7 +44,7 @@
// On the local profile creation dialog, cancelling the dialog (for instance
// through the VKEY_ESCAPE accelerator) should delete the profile.
if (delete_profile_on_cancel) {
-@@ -475,7 +475,7 @@ void SigninViewControllerDelegateViews::DisplayModal()
+@@ -494,7 +494,7 @@ void SigninViewControllerDelegateViews::DisplayModal()
content_view_->RequestFocus();
}
@@ -36,7 +53,16 @@
void SigninViewControllerDelegateViews::DeleteProfileOnCancel() {
ProfileAttributesEntry* entry =
g_browser_process->profile_manager()
-@@ -556,7 +556,7 @@ SigninViewControllerDelegate::CreateSignoutConfirmatio
+@@ -534,7 +534,7 @@ SigninViewControllerDelegate::CreateSyncConfirmationDe
+ /*animate_on_resize=*/true);
+ }
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // static
+ SigninViewControllerDelegate*
+ SigninViewControllerDelegate::CreateSyncHistoryOptInDelegate(
+@@ -591,7 +591,7 @@ SigninViewControllerDelegate::CreateSignoutConfirmatio
}
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h b/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h
index ced6a345b43d..c3b5f0ca9e1f 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h
+++ b/www/iridium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h
@@ -1,6 +1,15 @@
---- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h
-@@ -73,7 +73,7 @@ class SigninViewControllerDelegateViews
+@@ -58,7 +58,7 @@ class SigninViewControllerDelegateViews
+ SyncConfirmationStyle style,
+ bool is_sync_promo);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ static std::unique_ptr<views::WebView> CreateHistorySyncOptInWebView(
+ Browser* browser,
+ HistorySyncOptinLaunchContext launch_context);
+@@ -80,7 +80,7 @@ class SigninViewControllerDelegateViews
SignoutConfirmationCallback callback);
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
@@ -9,7 +18,7 @@
static std::unique_ptr<views::WebView>
CreateManagedUserNoticeConfirmationWebView(
Browser* browser,
-@@ -144,7 +144,7 @@ class SigninViewControllerDelegateViews
+@@ -151,7 +151,7 @@ class SigninViewControllerDelegateViews
std::optional<int> dialog_width,
InitializeSigninWebDialogUI initialize_signin_web_dialog_ui);
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc b/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc
index 9780d1af7961..5920bb28fb35 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc
-@@ -190,7 +190,7 @@ bool IsWindowDragUsingSystemDragDropAllowed() {
+@@ -194,7 +194,7 @@ bool IsWindowDragUsingSystemDragDropAllowed() {
void UpdateSystemDnDDragImage(TabDragContext* attached_context,
const gfx::ImageSkia& image) {
@@ -9,7 +9,7 @@
VLOG(1) << __func__ << " image size=" << image.size().ToString();
aura::Window* root_window =
attached_context->GetWidget()->GetNativeWindow()->GetRootWindow();
-@@ -381,7 +381,7 @@ TabDragController::Liveness TabDragController::Init(
+@@ -406,7 +406,7 @@ TabDragController::Liveness TabDragController::Init(
// synchronous on desktop Linux, so use that.
// - ChromeOS Ash
// Releasing capture on Ash cancels gestures so avoid it.
@@ -18,7 +18,7 @@
ref->can_release_capture_ = false;
#endif
ref->start_point_in_screen_ =
-@@ -889,7 +889,7 @@ TabDragController::Liveness TabDragController::DragBro
+@@ -980,7 +980,7 @@ TabDragController::Liveness TabDragController::DragBro
CHECK_EQ(SetCapture(target_context), Liveness::ALIVE);
}
@@ -27,7 +27,7 @@
// EndMoveLoop is going to snap the window back to its original location.
// Hide it so users don't see this. Hiding a window in Linux aura causes
// it to lose capture so skip it.
-@@ -1922,7 +1922,7 @@ void TabDragController::CompleteDrag() {
+@@ -2132,7 +2132,7 @@ void TabDragController::CompleteDrag() {
}
// If source window was maximized - maximize the new window as well.
@@ -36,7 +36,7 @@
// Keeping maximized state breaks snap to Grid on Windows when dragging
// tabs from maximized windows. TODO:(crbug.com/727051) Explore doing this
// for other desktop OS's. kMaximizedStateRetainedOnTabDrag in
-@@ -2339,7 +2339,7 @@ TabDragController::Liveness TabDragController::GetLoca
+@@ -2549,7 +2549,7 @@ TabDragController::Liveness TabDragController::GetLoca
}
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc
index 98caf59d19e8..9d0689c1a241 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/tabs/tab.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/tabs/tab.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/tabs/tab.cc
-@@ -644,7 +644,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent&
+@@ -670,7 +670,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent&
return;
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc
deleted file mode 100644
index c3e633e35018..000000000000
--- a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/ui/views/tabs/tab_strip_combo_button.cc.orig 2025-05-07 06:48:23 UTC
-+++ chrome/browser/ui/views/tabs/tab_strip_combo_button.cc
-@@ -97,7 +97,7 @@ TabStripComboButton::TabStripComboButton(BrowserWindow
- base::BindRepeating(&TabStripComboButton::OnNewTabButtonStateChanged,
- base::Unretained(this))));
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // The New Tab Button can be middle-clicked on Linux.
- new_tab_button->SetTriggerableEventFlags(
- new_tab_button->GetTriggerableEventFlags() | ui::EF_MIDDLE_MOUSE_BUTTON);
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc
index 670169c43652..84b6bc5b94c0 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/tabs/tab_style_views.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/tabs/tab_style_views.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/tabs/tab_style_views.cc
-@@ -563,7 +563,7 @@ float TabStyleViewsImpl::GetCurrentActiveOpacity() con
+@@ -575,7 +575,7 @@ float TabStyleViewsImpl::GetCurrentActiveOpacity() con
if (!IsHoverAnimationActive()) {
return base_opacity;
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc b/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
index 929343eb5c0a..f0a6c017a46e 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/user_education/browser_user_education_service.cc
-@@ -1010,7 +1010,7 @@ void MaybeRegisterChromeFeaturePromos(
+@@ -1090,7 +1090,7 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered when a shared tab becomes the active tab.")));
}
@@ -9,7 +9,7 @@
// kIPHSupervisedUserProfileSigninFeature
registry.RegisterFeature(std::move(
FeaturePromoSpecification::CreateForCustomAction(
-@@ -1289,7 +1289,7 @@ void MaybeRegisterChromeFeaturePromos(
+@@ -1337,7 +1337,7 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered to inform users of the availability of the "
"new translate screen feature on the Lens Overlay.")));
diff --git a/www/iridium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc b/www/iridium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc
index 9b03261c0d2d..2741e0b6b4d6 100644
--- a/www/iridium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc
-@@ -510,7 +510,7 @@ std::string GetFileExtension(FileExtension file_extens
+@@ -516,7 +516,7 @@ std::string GetFileExtension(FileExtension file_extens
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
SiteConfig GetSiteConfigurationFromAppName(const std::string& app_name) {
SiteConfig config;
bool is_app_found = false;
-@@ -2057,7 +2057,7 @@ void WebAppIntegrationTestDriver::DeletePlatformShortc
+@@ -2076,7 +2076,7 @@ void WebAppIntegrationTestDriver::DeletePlatformShortc
if (app_name.empty()) {
app_name = GetSiteConfiguration(site).app_name;
}
@@ -18,7 +18,7 @@
ASSERT_TRUE(override_registration_->test_override().IsShortcutCreated(
profile(), app_id, app_name));
ASSERT_TRUE(
-@@ -3377,7 +3377,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginEna
+@@ -3394,7 +3394,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginEna
app_state->id, app_state->name);
ASSERT_TRUE(icon_color.has_value());
ASSERT_THAT(site_config.icon_color, testing::Eq(icon_color.value()));
@@ -27,7 +27,7 @@
ASSERT_TRUE(override_registration_->test_override().IsRunOnOsLoginEnabled(
profile(), app_state->id, app_state->name));
#endif
-@@ -3392,7 +3392,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
+@@ -3409,7 +3409,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
GetAppBySiteMode(after_state_change_action_state_.get(), profile(), site);
ASSERT_TRUE(app_state);
base::ScopedAllowBlockingForTesting allow_blocking;
@@ -36,7 +36,7 @@
ASSERT_FALSE(override_registration_->test_override().IsRunOnOsLoginEnabled(
profile(), app_state->id, app_state->name));
#endif
-@@ -3402,7 +3402,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
+@@ -3419,7 +3419,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
void WebAppIntegrationTestDriver::CheckSiteHandlesFile(
Site site,
FileExtension file_extension) {
@@ -45,7 +45,7 @@
if (!BeforeStateCheckAction(__FUNCTION__)) {
return;
}
-@@ -3418,7 +3418,7 @@ void WebAppIntegrationTestDriver::CheckSiteHandlesFile
+@@ -3435,7 +3435,7 @@ void WebAppIntegrationTestDriver::CheckSiteHandlesFile
void WebAppIntegrationTestDriver::CheckSiteNotHandlesFile(
Site site,
FileExtension file_extension) {
@@ -54,7 +54,7 @@
if (!BeforeStateCheckAction(__FUNCTION__)) {
return;
}
-@@ -4243,7 +4243,7 @@ base::FilePath WebAppIntegrationTestDriver::GetShortcu
+@@ -4260,7 +4260,7 @@ base::FilePath WebAppIntegrationTestDriver::GetShortcu
base::FilePath shortcut_dir,
const std::string& app_name,
const webapps::AppId& app_id) {
@@ -63,7 +63,7 @@
return override_registration_->test_override().GetShortcutPath(
profile(), shortcut_dir, app_id, app_name);
#else
-@@ -4443,7 +4443,7 @@ bool WebAppIntegrationTestDriver::IsShortcutAndIconCre
+@@ -4460,7 +4460,7 @@ bool WebAppIntegrationTestDriver::IsShortcutAndIconCre
const webapps::AppId& id) {
base::ScopedAllowBlockingForTesting allow_blocking;
bool is_shortcut_and_icon_correct = false;
@@ -72,7 +72,7 @@
bool is_shortcut_correct =
override_registration_->test_override().IsShortcutCreated(profile, id,
name);
-@@ -4487,7 +4487,7 @@ bool WebAppIntegrationTestDriver::DoIconColorsMatch(Pr
+@@ -4504,7 +4504,7 @@ bool WebAppIntegrationTestDriver::DoIconColorsMatch(Pr
do_icon_colors_match =
(expected_icon_pixel_color == shortcut_pixel_color_apps_folder.value());
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h b/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h
index 8fa78bf68a4e..0c278e46fbc6 100644
--- a/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h
+++ b/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/web_applications/web_app_dialogs.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/web_applications/web_app_dialogs.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/web_applications/web_app_dialogs.h
-@@ -21,7 +21,7 @@
+@@ -24,7 +24,7 @@
#include "ui/gfx/native_widget_types.h"
static_assert(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
diff --git a/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc b/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc
index acf093258ac2..4e5d8ad3f779 100644
--- a/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc
-@@ -519,7 +519,7 @@ void WebAppUiManagerImpl::MaybeShowIPHPromoForAppsLaun
+@@ -564,7 +564,7 @@ void WebAppUiManagerImpl::MaybeShowIPHPromoForAppsLaun
Browser* browser,
Profile* profile,
const std::string& app_id) {
@@ -9,7 +9,7 @@
WebAppProvider* provider = WebAppProvider::GetForWebApps(profile);
CHECK(provider);
-@@ -748,7 +748,7 @@ void WebAppUiManagerImpl::ClearWebAppSiteDataIfNeeded(
+@@ -793,7 +793,7 @@ void WebAppUiManagerImpl::ClearWebAppSiteDataIfNeeded(
}
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h b/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h
index 9c84acdbe87f..0b073b20a1c4 100644
--- a/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h
+++ b/www/iridium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h
@@ -1,11 +1,11 @@
---- chrome/browser/ui/web_applications/web_app_ui_manager_impl.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/web_applications/web_app_ui_manager_impl.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/web_applications/web_app_ui_manager_impl.h
-@@ -225,7 +225,7 @@ class WebAppUiManagerImpl : public BrowserListObserver
+@@ -243,7 +243,7 @@ class WebAppUiManagerImpl : public BrowserListObserver
UninstallCompleteCallback uninstall_complete_callback,
webapps::UninstallResultCode uninstall_code);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void ShowIPHPromoForAppsLaunchedViaLinkCapturing(const Browser* browser,
+ void ShowIPHPromoForAppsLaunchedViaLinkCapturing(Browser* browser,
const webapps::AppId& app_id,
bool is_activated);
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc b/www/iridium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc
new file mode 100644
index 000000000000..74e96bfe80f4
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/webui_browser/webui_browser_window.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/ui/webui_browser/webui_browser_window.cc
+@@ -22,7 +22,7 @@ namespace {
+
+ // Copied from chrome/browser/ui/views/frame/browser_frame.cc.
+ bool IsUsingLinuxSystemTheme(Profile* profile) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme();
+ #else
+ return false;
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.cc b/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.cc
index 020439754e72..ac9e4613638f 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/webui/about/about_ui.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/about/about_ui.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/about/about_ui.cc
-@@ -496,7 +496,7 @@ std::string ChromeURLs(content::BrowserContext* browse
- return html;
- }
+@@ -415,7 +415,7 @@ using about_ui::AppendHeader;
+
+ namespace {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
std::string AboutLinuxProxyConfig() {
std::string data;
AppendHeader(&data,
-@@ -538,7 +538,7 @@ TermsUIConfig::TermsUIConfig()
+@@ -445,7 +445,7 @@ TermsUIConfig::TermsUIConfig()
: AboutUIConfigBase(chrome::kChromeUITermsHost) {}
#endif
@@ -18,7 +18,7 @@
LinuxProxyConfigUI::LinuxProxyConfigUI()
: AboutUIConfigBase(chrome::kChromeUILinuxProxyConfigHost) {}
#endif
-@@ -590,7 +590,7 @@ void AboutUIHTMLSource::StartDataRequest(
+@@ -495,7 +495,7 @@ void AboutUIHTMLSource::StartDataRequest(
response =
ui::ResourceBundle::GetSharedInstance().LoadDataResourceString(idr);
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.h b/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.h
index 67aaf5a6c26e..beda04ba8640 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.h
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_about_about__ui.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/about/about_ui.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/about/about_ui.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/about/about_ui.h
-@@ -55,7 +55,7 @@ class TermsUIConfig : public AboutUIConfigBase {
+@@ -43,7 +43,7 @@ class TermsUIConfig : public AboutUIConfigBase {
};
#endif
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc
index f9c4686f8cbf..e2639e43ee57 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/app_home/app_home_page_handler.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/app_home/app_home_page_handler.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/app_home/app_home_page_handler.cc
-@@ -61,7 +61,7 @@
+@@ -62,7 +62,7 @@
#include "ui/base/window_open_disposition_utils.h"
#include "url/gurl.h"
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h b/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h
index 5c4d8626de70..700ca26bbd4e 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h
@@ -1,11 +1,11 @@
---- chrome/browser/ui/webui/app_home/app_home_page_handler.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/app_home/app_home_page_handler.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/app_home/app_home_page_handler.h
-@@ -24,7 +24,7 @@
+@@ -23,7 +23,7 @@
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
-static_assert(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX));
+static_assert(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD));
+ class Browser;
class ExtensionEnableFlow;
-
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
index 103c576d6336..f6a3f407f517 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc
-@@ -221,7 +221,7 @@ CertificateManagerPageHandler::GetCertSource(
+@@ -219,7 +219,7 @@ CertificateManagerPageHandler::GetCertSource(
CERTIFICATE_TRUST_TYPE_DISTRUSTED,
profile_, &remote_client_);
break;
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- case certificate_manager_v2::mojom::CertificateSource::
+ case certificate_manager::mojom::CertificateSource::
kProvisionedClientCert:
source_ptr = CreateProvisionedClientCertSource(profile_);
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc b/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
index b99cc2d624a6..00ef1e464eed 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc
-@@ -54,7 +54,7 @@
+@@ -55,7 +55,7 @@
#include "net/ssl/client_cert_store_mac.h"
#endif // BUILDFLAG(IS_MAC)
@@ -9,7 +9,16 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
-@@ -177,7 +177,7 @@ class ClientCertStoreFactoryMac : public ClientCertSto
+@@ -130,7 +130,7 @@ class ClientCertStoreLoader {
+ active_requests_;
+ };
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ class ClientCertStoreFactoryNSS : public ClientCertStoreFactory {
+ public:
+ std::unique_ptr<net::ClientCertStore> CreateClientCertStore() override {
+@@ -155,7 +155,7 @@ class ClientCertStoreFactoryMac : public ClientCertSto
};
#endif
@@ -18,7 +27,7 @@
std::unique_ptr<ClientCertStoreLoader> CreatePlatformClientCertLoader(
Profile* profile) {
#if BUILDFLAG(IS_WIN)
-@@ -192,7 +192,7 @@ std::unique_ptr<ClientCertStoreLoader> CreatePlatformC
+@@ -170,7 +170,7 @@ std::unique_ptr<ClientCertStoreLoader> CreatePlatformC
}
#endif
@@ -27,7 +36,7 @@
// ClientCertStore implementation that always returns an empty list. The
// CertificateProvisioningService implementation expects to wrap a platform
// cert store, but here we only want to get results from the provisioning
-@@ -368,7 +368,7 @@ class ClientCertSource : public CertificateManagerPage
+@@ -345,7 +345,7 @@ class ClientCertSource : public CertificateManagerPage
std::optional<net::CertificateList> certs_;
};
@@ -36,8 +45,8 @@
// ChromeOS currently can use either Kcer or NSS for listing client certs, and
// Linux uses NSS only. This interface provides an abstraction to hide that
// from WritableClientCertSource. Currently this class only handles reading
-@@ -1099,7 +1099,7 @@ CreatePlatformClientCertSource(
- mojo::Remote<certificate_manager_v2::mojom::CertificateManagerPage>*
+@@ -1066,7 +1066,7 @@ CreatePlatformClientCertSource(
+ mojo::Remote<certificate_manager::mojom::CertificateManagerPage>*
remote_client,
Profile* profile) {
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
@@ -45,7 +54,7 @@
return std::make_unique<WritableClientCertSource>(remote_client, profile);
#else
return std::make_unique<ClientCertSource>(
-@@ -1107,7 +1107,7 @@ CreatePlatformClientCertSource(
+@@ -1074,7 +1074,7 @@ CreatePlatformClientCertSource(
#endif
}
@@ -54,7 +63,7 @@
std::unique_ptr<CertificateManagerPageHandler::CertSource>
CreateProvisionedClientCertSource(Profile* profile) {
return std::make_unique<ClientCertSource>(
-@@ -1156,7 +1156,7 @@ bool ClientCertManagementAccessControls::IsChangeAllow
+@@ -1124,7 +1124,7 @@ bool ClientCertManagementAccessControls::IsChangeAllow
return client_cert_policy_ == ClientCertificateManagementPermission::kAll;
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc
index 3d19c2585255..a8cf1591af13 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/chrome_web_ui_configs.cc
-@@ -140,7 +140,7 @@
+@@ -152,7 +152,7 @@
#include "chrome/browser/ui/webui/conflicts/conflicts_ui.h"
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h"
#include "chrome/browser/ui/webui/browser_switch/browser_switch_ui.h"
#include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin_ui.h"
-@@ -148,19 +148,19 @@
+@@ -160,13 +160,13 @@
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -20,19 +20,12 @@
// BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
#include "chrome/browser/ui/webui/discards/discards_ui.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
-@@ -188,7 +188,7 @@
+@@ -194,7 +194,7 @@
#include "chrome/browser/ui/webui/signin/signin_error_ui.h"
#endif // !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID)
@@ -41,7 +34,7 @@
#include "chrome/browser/ui/webui/on_device_translation_internals/on_device_translation_internals_ui.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -329,7 +329,7 @@ void RegisterChromeWebUIConfigs() {
+@@ -347,7 +347,7 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<WebUIJsErrorUIConfig>());
#endif // BUILDFLAG(IS_ANDROID)
@@ -50,7 +43,7 @@
map.AddWebUIConfig(std::make_unique<LinuxProxyConfigUI>());
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
// BUILDFLAG(IS_OPENBSD)
-@@ -354,7 +354,7 @@ void RegisterChromeWebUIConfigs() {
+@@ -377,7 +377,7 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<ConflictsUIConfig>());
#endif // BUILDFLAG(IS_WIN)
@@ -59,7 +52,7 @@
map.AddWebUIConfig(std::make_unique<BrowserSwitchUIConfig>());
map.AddWebUIConfig(std::make_unique<HistorySyncOptinUIConfig>());
map.AddWebUIConfig(std::make_unique<OnDeviceTranslationInternalsUIConfig>());
-@@ -363,20 +363,20 @@ void RegisterChromeWebUIConfigs() {
+@@ -386,13 +386,13 @@ void RegisterChromeWebUIConfigs() {
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -70,14 +63,6 @@
// BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- map.AddWebUIConfig(
- std::make_unique<enterprise_connectors::ConnectorsInternalsUIConfig>());
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
map.AddWebUIConfig(std::make_unique<DiscardsUIConfig>());
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
index e654ba404e88..db005b5d61dd 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
-@@ -118,16 +118,16 @@
+@@ -116,16 +116,16 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -20,7 +20,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
#endif
-@@ -411,7 +411,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
+@@ -409,7 +409,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
return NewTabPageUI::GetFaviconResourceBytes(scale_factor);
}
@@ -29,7 +29,7 @@
if (page_url.host_piece() == chrome::kChromeUIWhatsNewHost) {
return WhatsNewUI::GetFaviconResourceBytes(scale_factor);
}
-@@ -450,7 +450,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
+@@ -448,7 +448,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc
index 0887292061fa..291139833741 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc
@@ -1,20 +1,20 @@
---- chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc
-@@ -81,7 +81,7 @@ connectors_internals::mojom::ClientIdentityPtr GetIden
- }
+@@ -85,7 +85,7 @@ connectors_internals::mojom::ClientIdentityPtr GetIden
#endif // BUILDFLAG(ENTERPRISE_CLIENT_CERTIFICATES)
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
std::string GetStringFromTimestamp(base::Time timestamp) {
return (timestamp == base::Time()) ? std::string()
: base::UnlocalizedTimeFormatWithPattern(
-@@ -190,7 +190,7 @@ void ConnectorsInternalsPageHandler::GetClientCertific
-
+@@ -202,7 +202,7 @@ void ConnectorsInternalsPageHandler::GetClientCertific
void ConnectorsInternalsPageHandler::GetSignalsReportingState(
GetSignalsReportingStateCallback callback) {
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
auto* profile_prefs = profile_->GetPrefs();
std::string last_upload_attempt_time_string =
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc b/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
index 65928b5f90c9..89db73b3f093 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc
@@ -7,7 +7,7 @@
#include "build/build_config.h"
@@ -9,7 +9,7 @@
#include "base/base64url.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
-@@ -38,7 +38,7 @@ namespace enterprise_connectors::utils {
+@@ -39,7 +39,7 @@ namespace enterprise_connectors::utils {
namespace {
@@ -18,7 +18,7 @@
connectors_internals::mojom::KeyTrustLevel ParseTrustLevel(
BPKUR::KeyTrustLevel trust_level) {
-@@ -173,7 +173,7 @@ connectors_internals::mojom::CertificateMetadataPtr Co
+@@ -176,7 +176,7 @@ connectors_internals::mojom::CertificateMetadataPtr Co
} // namespace
connectors_internals::mojom::KeyInfoPtr GetKeyInfo() {
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc b/www/iridium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc
index f7f2d37967cc..5a8f48d5d48b 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/interstitials/interstitial_ui.cc
-@@ -77,7 +77,7 @@
+@@ -75,7 +75,7 @@
#include "components/security_interstitials/content/captive_portal_blocking_page.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/supervised_user/supervised_user_verification_controller_client.h"
#include "chrome/browser/supervised_user/supervised_user_verification_page_blocked_sites.h"
#include "chrome/browser/supervised_user/supervised_user_verification_page_youtube.h"
-@@ -424,7 +424,7 @@ std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWa
+@@ -404,7 +404,7 @@ std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWa
}
#endif
@@ -18,7 +18,7 @@
std::unique_ptr<SupervisedUserVerificationPageForYouTube>
CreateSupervisedUserVerificationPageForYouTube(
content::WebContents* web_contents,
-@@ -651,7 +651,7 @@ void InterstitialHTMLSource::StartDataRequest(
+@@ -631,7 +631,7 @@ void InterstitialHTMLSource::StartDataRequest(
interstitial_delegate = CreateInsecureFormPage(web_contents);
} else if (path_without_query == "/https_only") {
interstitial_delegate = CreateHttpsOnlyModePage(web_contents);
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc
index c07b42145769..0c34609d7d33 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/management/management_ui.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/webui/management/management_ui.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/management/management_ui.cc
-@@ -181,11 +181,11 @@ void ManagementUI::GetLocalizedStrings(
+@@ -183,11 +183,11 @@ void ManagementUI::GetLocalizedStrings(
IDS_MANAGEMENT_FILE_TRANSFER_VISIBLE_DATA},
{kManagementReportFileEvents, IDS_MANAGEMENT_REPORT_FILE_EVENTS},
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc
index 75e981382676..344d1816e4c0 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/management/management_ui_handler.cc
-@@ -58,7 +58,7 @@
+@@ -68,7 +68,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/webui/web_ui_util.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/signals/user_permission_service_factory.h"
#include "components/device_signals/core/browser/user_permission_service.h" // nogncheck
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -359,7 +359,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
+@@ -381,7 +381,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
report_sources->Append(std::move(data));
}
@@ -18,7 +18,7 @@
auto device_signal_data = GetDeviceSignalGrantedMessage();
if (!device_signal_data.empty()) {
report_sources->Append(std::move(device_signal_data));
-@@ -381,7 +381,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
+@@ -403,7 +403,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
report_sources->Append(std::move(data));
}
@@ -27,7 +27,7 @@
auto device_signal_data = GetDeviceSignalGrantedMessage();
if (!device_signal_data.empty()) {
report_sources->Append(std::move(device_signal_data));
-@@ -567,7 +567,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS
+@@ -589,7 +589,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS
->policy_service();
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h
index 8263fbe23a27..c177f42ba0d0 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h
@@ -1,15 +1,15 @@
---- chrome/browser/ui/webui/management/management_ui_handler.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/management/management_ui_handler.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/management/management_ui_handler.h
-@@ -30,7 +30,7 @@ namespace policy {
- class PolicyService;
- } // namespace policy
+@@ -34,7 +34,7 @@ namespace enterprise_management {
+ class GetUserEligiblePromotionsResponse;
+ } // namespace enterprise_management
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
namespace device_signals {
class UserPermissionService;
} // namespace device_signals
-@@ -71,7 +71,7 @@ class ManagementUIHandler : public content::WebUIMessa
+@@ -91,7 +91,7 @@ class ManagementUIHandler : public content::WebUIMessa
base::Value::List GetManagedWebsitesInfo(Profile* profile) const;
base::Value::List GetApplicationsInfo(Profile* profile) const;
virtual policy::PolicyService* GetPolicyService();
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc
index 51e905699a49..0f3aa0104299 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/searchbox/searchbox_handler.cc
-@@ -118,7 +118,7 @@ const char* kMacShareIconResourceName =
+@@ -128,7 +128,7 @@ const char* kMacShareIconResourceName =
#elif BUILDFLAG(IS_WIN)
const char* kWinShareIconResourceName =
"//resources/cr_components/searchbox/icons/win_share.svg";
@@ -9,7 +9,7 @@
const char* kLinuxShareIconResourceName =
"//resources/cr_components/searchbox/icons/share.svg";
#else
-@@ -178,7 +178,7 @@ static void DefineChromeRefreshRealboxIcons() {
+@@ -188,7 +188,7 @@ static void DefineChromeRefreshRealboxIcons() {
#elif BUILDFLAG(IS_WIN)
kWinShareIconResourceName =
"//resources/cr_components/searchbox/icons/win_share_cr23.svg";
@@ -18,7 +18,7 @@
kLinuxShareIconResourceName =
"//resources/cr_components/searchbox/icons/share_cr23.svg";
#else
-@@ -622,7 +622,7 @@ std::string SearchboxHandler::ActionVectorIconToResour
+@@ -656,7 +656,7 @@ std::string SearchboxHandler::ActionVectorIconToResour
icon.name == omnibox::kShareWinChromeRefreshIcon.name) {
return kWinShareIconResourceName;
}
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc b/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
index 07e2a09f71ad..e5adde0cee8a 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
-@@ -139,7 +139,7 @@
+@@ -137,7 +137,7 @@
#include "chrome/browser/ui/webui/settings/system_handler.h"
#endif
@@ -9,16 +9,16 @@
#include "ui/display/screen.h"
#endif
-@@ -158,7 +158,7 @@
- #include "chrome/browser/ui/webui/certificate_manager_localized_strings_provider.h"
- #endif
+@@ -153,7 +153,7 @@
+ #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/linux/linux_ui_factory.h"
#include "ui/ozone/public/ozone_platform.h"
#endif
-@@ -287,7 +287,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou
+@@ -278,7 +278,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou
{"toastAlertLevelDescription",
IDS_SETTINGS_ACCESSIBILITY_TOAST_FREQUENCY_DESCRIPTION},
#endif
@@ -27,7 +27,7 @@
{"overscrollHistoryNavigationTitle",
IDS_SETTINGS_OVERSCROLL_HISTORY_NAVIGATION_TITLE},
{"overscrollHistoryNavigationSubtitle",
-@@ -578,7 +578,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
+@@ -548,7 +548,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
{"uiFeatureAlignLeft", IDS_SETTINGS_UI_FEATURE_ALIGN_LEFT},
{"uiFeatureAlignRight", IDS_SETTINGS_UI_FEATURE_ALIGN_RIGHT},
{"resetToDefault", IDS_SETTINGS_RESET_TO_DEFAULT},
@@ -36,16 +36,21 @@
{"gtkTheme", IDS_SETTINGS_GTK_THEME},
{"useGtkTheme", IDS_SETTINGS_USE_GTK_THEME},
{"qtTheme", IDS_SETTINGS_QT_THEME},
-@@ -586,7 +586,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
+@@ -556,11 +556,11 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
{"classicTheme", IDS_SETTINGS_CLASSIC_THEME},
{"useClassicTheme", IDS_SETTINGS_USE_CLASSIC_THEME},
#endif
+-#if !BUILDFLAG(IS_LINUX)
++#if !BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME},
+ #endif
+ {"resetToolbarToDefault", IDS_SETTINGS_RESET_TOOLBAR_TO_DEFAULT},
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS},
#endif
#if BUILDFLAG(IS_MAC)
-@@ -608,7 +608,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
+@@ -582,7 +582,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
html_source->AddBoolean("tabSearchIsRightAlignedAtStartup",
tabs::GetTabSearchTrailingTabstrip(profile));
@@ -54,7 +59,7 @@
bool show_custom_chrome_frame = ui::OzonePlatform::GetInstance()
->GetPlatformRuntimeProperties()
.supports_server_side_window_decorations;
-@@ -1530,7 +1530,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource*
+@@ -1591,7 +1591,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource*
g_browser_process->GetApplicationLocale())
.spec();
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc
new file mode 100644
index 000000000000..1d994ab022d6
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.cc.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.cc
+@@ -516,7 +516,7 @@ void CustomizeChromePageHandler::UpdateFooterSettings(
+ side_panel::mojom::ManagementNoticeState::New();
+ management_notice_state->can_be_shown = false;
+ management_notice_state->enabled_by_policy = false;
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ enterprise_util::BrowserManagementNoticeState state =
+ enterprise_util::GetManagementNoticeStateForNTPFooter(profile_);
+ switch (state) {
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h b/www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h
new file mode 100644
index 000000000000..fb8eecf88d32
--- /dev/null
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.h.orig 2025-09-11 13:19:19 UTC
++++ chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.h
+@@ -206,7 +206,7 @@ class CustomizeChromePageHandler
+ // value needs to be requeried by the page.
+ GURL last_source_url_{GURL(chrome::kChromeUINewTabPageURL)};
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ PrefChangeRegistrar browser_pref_change_registrar_;
+ #endif
+ PrefChangeRegistrar pref_change_registrar_;
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc b/www/iridium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc
index 169afcebffda..d8b674b1c9f5 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/signin/profile_picker_handler.cc
-@@ -165,7 +165,7 @@ base::Value::Dict CreateProfileEntry(const ProfileAttr
+@@ -168,7 +168,7 @@ base::Value::Dict CreateProfileEntry(const ProfileAttr
IDS_PROFILE_PICKER_PROFILE_CARD_LABEL, local_profile_name);
- if (AccountInfo::IsManaged(entry->GetHostedDomain())) {
+ if (entry->GetIsManaged() == signin::Tribool::kTrue) {
profile_entry.Set("avatarBadge", "cr:domain");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- } else if (base::FeatureList::IsEnabled(
- supervised_user::kShowKiteForSupervisedUsers) &&
- entry->IsSupervised()) {
+ } else if (entry->IsSupervised()) {
+ profileCardButtonLabel = l10n_util::GetStringFUTF16(
+ IDS_PROFILE_PICKER_PROFILE_CARD_LABEL_SUPERVISED, local_profile_name);
diff --git a/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc b/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc
index 7538f737fef7..5ee9e0315c43 100644
--- a/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc
-@@ -45,7 +45,7 @@
+@@ -49,7 +49,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/webui/resource_path.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "net/base/url_util.h"
-@@ -85,7 +85,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry(
+@@ -89,7 +89,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry(
}
whats_new::WhatsNewRegistry* GetWhatsNewRegistry() {
@@ -18,7 +18,7 @@
return g_browser_process->GetFeatures()->whats_new_registry();
#else
return nullptr;
-@@ -823,7 +823,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats
+@@ -912,7 +912,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats
}
void UserEducationInternalsPageHandlerImpl::LaunchWhatsNewStaging() {
diff --git a/www/iridium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc b/www/iridium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc
index 1c32d23fe910..c829664e5cf2 100644
--- a/www/iridium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc
+++ b/www/iridium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/window_sizer/window_sizer.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/ui/window_sizer/window_sizer.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/ui/window_sizer/window_sizer.cc
-@@ -220,7 +220,7 @@ void WindowSizer::GetBrowserWindowBoundsAndShowState(
+@@ -219,7 +219,7 @@ void WindowSizer::GetBrowserWindowBoundsAndShowState(
browser, window_bounds, show_state);
}
diff --git a/www/iridium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc b/www/iridium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc
index d1e57056189d..6f2e5f7e537c 100644
--- a/www/iridium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc
+++ b/www/iridium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/commands/set_user_display_mode_command.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/web_applications/commands/set_user_display_mode_command.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/web_applications/commands/set_user_display_mode_command.cc
-@@ -57,7 +57,7 @@ void SetUserDisplayModeCommand::StartWithLock(
+@@ -56,7 +56,7 @@ void SetUserDisplayModeCommand::StartWithLock(
// OsIntegrationTestOverride can use the xdg install command to detect
// install.
SynchronizeOsOptions options;
diff --git a/www/iridium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc b/www/iridium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc
index da2464d61dec..b5953d6b938d 100644
--- a/www/iridium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc
+++ b/www/iridium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc
@@ -1,15 +1,6 @@
---- chrome/browser/web_applications/extensions/extension_status_utils.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/web_applications/extensions/extension_status_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/web_applications/extensions/extension_status_utils.cc
-@@ -26,7 +26,7 @@ namespace {
-
- const char* g_preinstalled_app_for_testing = nullptr;
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // TODO(b/268221237): Remove this allow-list.
- const char kDefaultAllowedExtensionIds[] =
- "alhngdkjgnedakdlnamimgfihgkmenbh,"
-@@ -105,7 +105,7 @@ bool IsExternalExtensionUninstalled(content::BrowserCo
+@@ -94,7 +94,7 @@ bool IsExternalExtensionUninstalled(content::BrowserCo
return prefs && prefs->IsExternalExtensionUninstalled(extension_id);
}
diff --git a/www/iridium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc
index c909566cccf5..2dfff76aea19 100644
--- a/www/iridium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/os_integration/os_integration_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/web_applications/os_integration/os_integration_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/web_applications/os_integration/os_integration_manager.cc
-@@ -662,7 +662,7 @@ std::unique_ptr<ShortcutInfo> OsIntegrationManager::Bu
+@@ -663,7 +663,7 @@ std::unique_ptr<ShortcutInfo> OsIntegrationManager::Bu
}
}
diff --git a/www/iridium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc
index 8b1e7519c1b3..6b5373227b09 100644
--- a/www/iridium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/os_integration/run_on_os_login_sub_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/web_applications/os_integration/run_on_os_login_sub_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/web_applications/os_integration/run_on_os_login_sub_manager.cc
-@@ -54,7 +54,7 @@ proto::os_state::RunOnOsLogin::Mode ConvertWebAppRunOn
+@@ -55,7 +55,7 @@ proto::os_state::RunOnOsLogin::Mode ConvertWebAppRunOn
// different from other platforms, see web_app_run_on_os_login_manager.h for
// more info.
bool DoesRunOnOsLoginRequireExecution() {
diff --git a/www/iridium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc
index 932fee2ec0d3..ab0ee115ed9c 100644
--- a/www/iridium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/os_integration/shortcut_sub_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/web_applications/os_integration/shortcut_sub_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/web_applications/os_integration/shortcut_sub_manager.cc
-@@ -199,7 +199,7 @@ void ShortcutSubManager::Execute(
+@@ -198,7 +198,7 @@ void ShortcutSubManager::Execute(
return;
}
diff --git a/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc b/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc
index 513ef5654855..f99821954a91 100644
--- a/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/web_applications/policy/web_app_policy_manager.cc
-@@ -108,7 +108,7 @@ namespace web_app {
+@@ -136,7 +136,7 @@ namespace web_app {
BASE_FEATURE(kDesktopPWAsForceUnregisterOSIntegration,
"DesktopPWAsForceUnregisterOSIntegration",
diff --git a/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc b/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc
index b16d829accb9..7f681483a207 100644
--- a/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc
+++ b/www/iridium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc
@@ -1,6 +1,6 @@
---- chrome/browser/webauthn/chrome_authenticator_request_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/webauthn/chrome_authenticator_request_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/webauthn/chrome_authenticator_request_delegate.cc
-@@ -574,7 +574,7 @@ void ChromeAuthenticatorRequestDelegate::ConfigureDisc
+@@ -549,7 +549,7 @@ void ChromeAuthenticatorRequestDelegate::ConfigureDisc
g_observer->ConfiguringCable(request_type);
}
diff --git a/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc b/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc
index 6ffb4bffb0e1..8e62dbca8994 100644
--- a/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc
+++ b/www/iridium/files/patch-chrome_browser_webauthn_enclave__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/webauthn/enclave_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/browser/webauthn/enclave_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/webauthn/enclave_manager.cc
-@@ -686,7 +686,7 @@ base::flat_set<GaiaId> GetGaiaIDs(
+@@ -709,7 +709,7 @@ base::flat_set<GaiaId> GetGaiaIDs(
std::string UserVerifyingLabelToString(crypto::UserVerifyingKeyLabel label) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
return label;
#else
return std::string("placeholder");
-@@ -696,7 +696,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer
+@@ -719,7 +719,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer
std::optional<crypto::UserVerifyingKeyLabel> UserVerifyingKeyLabelFromString(
std::string saved_label) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-chrome_browser_webauthn_password__credential__controller.cc b/www/iridium/files/patch-chrome_browser_webauthn_password__credential__controller.cc
index f23db80c3993..33ec5decd8c9 100644
--- a/www/iridium/files/patch-chrome_browser_webauthn_password__credential__controller.cc
+++ b/www/iridium/files/patch-chrome_browser_webauthn_password__credential__controller.cc
@@ -1,8 +1,8 @@
---- chrome/browser/webauthn/password_credential_controller.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/browser/webauthn/password_credential_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/browser/webauthn/password_credential_controller.cc
@@ -46,7 +46,7 @@ password_manager::PasswordManagerClient* GetPasswordMa
- }
+ #if !BUILDFLAG(IS_ANDROID)
std::u16string GetAuthenticationMessage(std::string_view rp_id) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-chrome_common_chrome__features.cc b/www/iridium/files/patch-chrome_common_chrome__features.cc
index 2a15a1b7c3ae..a5f0fa90c2db 100644
--- a/www/iridium/files/patch-chrome_common_chrome__features.cc
+++ b/www/iridium/files/patch-chrome_common_chrome__features.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_features.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/chrome_features.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/chrome_features.cc
-@@ -81,7 +81,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims,
+@@ -80,7 +80,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims,
#endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// Enables or disables the Autofill survey triggered by opening a prompt to
// save address info.
BASE_FEATURE(kAutofillAddressSurvey,
-@@ -99,7 +99,7 @@ BASE_FEATURE(kAutofillPasswordSurvey,
+@@ -98,7 +98,7 @@ BASE_FEATURE(kAutofillPasswordSurvey,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
@@ -18,7 +18,7 @@
// Enables the Restart background mode optimization. When all Chrome UI is
// closed and it goes in the background, allows to restart the browser to
// discard memory.
-@@ -231,7 +231,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu,
+@@ -257,7 +257,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu,
BASE_FEATURE(kDesktopPWAsRunOnOsLogin,
"DesktopPWAsRunOnOsLogin",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,7 +27,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -264,7 +264,7 @@ BASE_FEATURE(kDisplayEdgeToEdgeFullscreen,
+@@ -304,7 +304,7 @@ BASE_FEATURE(kEnableFullscreenToAnyScreenAndroid,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
@@ -36,7 +36,7 @@
// Controls whether Chrome Apps are supported. See https://crbug.com/1221251.
// If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome
// Apps will not launch and will be marked in the UI as deprecated.
-@@ -1000,7 +1000,7 @@ BASE_FEATURE(kKAnonymityServiceStorage,
+@@ -1170,7 +1170,7 @@ BASE_FEATURE(kKAnonymityServiceStorage,
"KAnonymityServiceStorage",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -45,7 +45,7 @@
BASE_FEATURE(kLinuxLowMemoryMonitor,
"LinuxLowMemoryMonitor",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -1013,7 +1013,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
+@@ -1183,7 +1183,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
&kLinuxLowMemoryMonitor, "critical_level", 255};
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-chrome_common_chrome__features.h b/www/iridium/files/patch-chrome_common_chrome__features.h
index 5fb9a2a40649..0599e4983bc3 100644
--- a/www/iridium/files/patch-chrome_common_chrome__features.h
+++ b/www/iridium/files/patch-chrome_common_chrome__features.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_features.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/chrome_features.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/chrome_features.h
-@@ -50,13 +50,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims);
+@@ -49,13 +49,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims);
#endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -16,7 +16,7 @@
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kBackgroundModeAllowRestart);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -148,7 +148,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPreventClose);
+@@ -153,7 +153,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPreventClose);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kDesktopPWAsTabStripSettings);
@@ -25,7 +25,7 @@
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kShortcutsNotApps);
-@@ -581,7 +581,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests);
+@@ -697,7 +697,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kKAnonymityServiceStorage);
@@ -34,7 +34,7 @@
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor);
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorModerateLevel;
-@@ -589,7 +589,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
+@@ -705,7 +705,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorCriticalLevel;
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-chrome_common_chrome__paths.cc b/www/iridium/files/patch-chrome_common_chrome__paths.cc
index dab8f76ae528..7a75ac38897c 100644
--- a/www/iridium/files/patch-chrome_common_chrome__paths.cc
+++ b/www/iridium/files/patch-chrome_common_chrome__paths.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_paths.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/common/chrome_paths.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/chrome_paths.cc
-@@ -32,7 +32,7 @@
+@@ -31,7 +31,7 @@
#include "base/apple/foundation_util.h"
#endif
@@ -9,7 +9,7 @@
#include "components/policy/core/common/policy_paths.h"
#endif
-@@ -48,14 +48,14 @@ namespace {
+@@ -47,14 +47,14 @@ namespace {
std::optional<bool> g_override_using_default_data_directory_for_testing;
@@ -27,7 +27,7 @@
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -212,7 +212,7 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -188,7 +188,7 @@ bool PathProvider(int key, base::FilePath* result) {
}
break;
case chrome::DIR_DEFAULT_DOWNLOADS_SAFE:
@@ -36,7 +36,7 @@
if (!GetUserDownloadsDirectorySafe(&cur)) {
return false;
}
-@@ -504,13 +504,13 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -436,13 +436,13 @@ bool PathProvider(int key, base::FilePath* result) {
break;
}
#endif
@@ -52,7 +52,7 @@
(BUILDFLAG(IS_LINUX) && BUILDFLAG(CHROMIUM_BRANDING))
case chrome::DIR_USER_EXTERNAL_EXTENSIONS: {
if (!base::PathService::Get(chrome::DIR_USER_DATA, &cur)) {
-@@ -520,7 +520,7 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -452,7 +452,7 @@ bool PathProvider(int key, base::FilePath* result) {
break;
}
#endif
@@ -61,16 +61,16 @@
case chrome::DIR_STANDALONE_EXTERNAL_EXTENSIONS: {
cur = base::FilePath(kFilepathSinglePrefExtensions);
break;
-@@ -558,7 +558,7 @@ bool PathProvider(int key, base::FilePath* result) {
- break;
+@@ -491,7 +491,7 @@ bool PathProvider(int key, base::FilePath* result) {
- #if BUILDFLAG(ENABLE_EXTENSIONS) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD))
+ #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \
+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_ANDROID))
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
case chrome::DIR_NATIVE_MESSAGING:
#if BUILDFLAG(IS_MAC)
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
-@@ -572,6 +572,9 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -505,6 +505,9 @@ bool PathProvider(int key, base::FilePath* result) {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
cur = base::FilePath(
FILE_PATH_LITERAL("/etc/iridium-browser/native-messaging-hosts"));
diff --git a/www/iridium/files/patch-chrome_common_chrome__paths.h b/www/iridium/files/patch-chrome_common_chrome__paths.h
index 701ebf57c93f..d79afb69c69e 100644
--- a/www/iridium/files/patch-chrome_common_chrome__paths.h
+++ b/www/iridium/files/patch-chrome_common_chrome__paths.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_paths.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/common/chrome_paths.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/chrome_paths.h
-@@ -56,7 +56,7 @@ enum {
+@@ -58,7 +58,7 @@ enum {
// to set policies for chrome. This directory
// contains subdirectories.
#endif
@@ -9,7 +9,7 @@
(BUILDFLAG(IS_LINUX) && BUILDFLAG(CHROMIUM_BRANDING)) || BUILDFLAG(IS_MAC)
DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
// on Chrome Mac and Chromium Linux.
-@@ -65,7 +65,7 @@ enum {
+@@ -67,7 +67,7 @@ enum {
// create it.
#endif
@@ -19,11 +19,11 @@
// definition manifest files that
// describe extensions which are to be
@@ -112,7 +112,7 @@ enum {
-
#endif
- #if BUILDFLAG(ENABLE_EXTENSIONS) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD))
+ #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \
+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_ANDROID))
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
DIR_NATIVE_MESSAGING, // System directory where native messaging host
// manifest files are stored.
DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts
diff --git a/www/iridium/files/patch-chrome_common_chrome__switches.cc b/www/iridium/files/patch-chrome_common_chrome__switches.cc
index 1b232c1d4bc1..34e90e951974 100644
--- a/www/iridium/files/patch-chrome_common_chrome__switches.cc
+++ b/www/iridium/files/patch-chrome_common_chrome__switches.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_switches.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/chrome_switches.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/chrome_switches.cc
-@@ -884,7 +884,7 @@ const char kAllowNaClSocketAPI[] = "allow-nacl-socket-
+@@ -908,7 +908,7 @@ const char kDebugPrint[] = "debug-print";
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -9,7 +9,7 @@
const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon";
// Causes the browser to launch directly in guest mode.
-@@ -913,7 +913,7 @@ const char kGlicDev[] = "glic-dev";
+@@ -937,7 +937,7 @@ const char kGlicDev[] = "glic-dev";
const char kGlicHostLogging[] = "glic-host-logging";
#endif
diff --git a/www/iridium/files/patch-chrome_common_chrome__switches.h b/www/iridium/files/patch-chrome_common_chrome__switches.h
index 7bdcc1dae8a6..d791bf13573e 100644
--- a/www/iridium/files/patch-chrome_common_chrome__switches.h
+++ b/www/iridium/files/patch-chrome_common_chrome__switches.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_switches.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/chrome_switches.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/chrome_switches.h
-@@ -273,7 +273,7 @@ extern const char kAllowNaClSocketAPI[];
+@@ -275,7 +275,7 @@ extern const char kDebugPrint[];
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -9,7 +9,7 @@
extern const char kEnableNewAppMenuIcon[];
extern const char kGuest[];
extern const char kForceNtpMobilePromo[];
-@@ -291,7 +291,7 @@ extern const char kGlicDev[];
+@@ -293,7 +293,7 @@ extern const char kGlicDev[];
extern const char kGlicHostLogging[];
#endif
diff --git a/www/iridium/files/patch-chrome_common_crash__keys.cc b/www/iridium/files/patch-chrome_common_crash__keys.cc
index 319f98129753..eaa1a1b5dc4b 100644
--- a/www/iridium/files/patch-chrome_common_crash__keys.cc
+++ b/www/iridium/files/patch-chrome_common_crash__keys.cc
@@ -1,4 +1,4 @@
---- chrome/common/crash_keys.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/common/crash_keys.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/crash_keys.cc
@@ -51,7 +51,9 @@ class CrashKeyWithName {
~CrashKeyWithName() = delete;
@@ -10,7 +10,7 @@
void Clear() { crash_key_.Clear(); }
void Set(std::string_view value) { crash_key_.Set(value); }
-@@ -196,6 +198,7 @@ void AllocateCrashKeyInBrowserAndChildren(std::string_
+@@ -195,6 +197,7 @@ void AllocateCrashKeyInBrowserAndChildren(std::string_
GetCommandLineStringAnnotations().emplace_back(std::string(key)).Set(value);
}
@@ -18,7 +18,7 @@
void AppendStringAnnotationsCommandLineSwitch(base::CommandLine* command_line) {
std::string string_annotations;
for (const auto& crash_key : GetCommandLineStringAnnotations()) {
-@@ -210,6 +213,7 @@ void AppendStringAnnotationsCommandLineSwitch(base::Co
+@@ -209,6 +212,7 @@ void AppendStringAnnotationsCommandLineSwitch(base::Co
}
command_line->AppendSwitchASCII(kStringAnnotationsSwitch, string_annotations);
}
diff --git a/www/iridium/files/patch-chrome_common_extensions_extension__constants.h b/www/iridium/files/patch-chrome_common_extensions_extension__constants.h
index 12c0aef6bae5..78e9b0ba5599 100644
--- a/www/iridium/files/patch-chrome_common_extensions_extension__constants.h
+++ b/www/iridium/files/patch-chrome_common_extensions_extension__constants.h
@@ -1,6 +1,6 @@
---- chrome/common/extensions/extension_constants.h.orig 2025-05-07 06:48:23 UTC
+--- chrome/common/extensions/extension_constants.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/extensions/extension_constants.h
-@@ -310,7 +310,7 @@ inline constexpr char kReadingModeGDocsHelperExtension
+@@ -313,7 +313,7 @@ inline constexpr char kReadingModeGDocsHelperExtension
inline constexpr base::FilePath::CharType
kReadingModeGDocsHelperManifestFilename[] =
FILE_PATH_LITERAL("reading_mode_gdocs_helper_manifest.json");
diff --git a/www/iridium/files/patch-chrome_common_media_cdm__host__file__path.cc b/www/iridium/files/patch-chrome_common_media_cdm__host__file__path.cc
index 1d7fdb5fce04..d8ecfc21bc3a 100644
--- a/www/iridium/files/patch-chrome_common_media_cdm__host__file__path.cc
+++ b/www/iridium/files/patch-chrome_common_media_cdm__host__file__path.cc
@@ -1,6 +1,6 @@
---- chrome/common/media/cdm_host_file_path.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/common/media/cdm_host_file_path.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/media/cdm_host_file_path.cc
-@@ -90,7 +90,7 @@ void AddCdmHostFilePaths(
+@@ -91,7 +91,7 @@ void AddCdmHostFilePaths(
cdm_host_file_paths->emplace_back(chrome_framework_path,
chrome_framework_sig_path);
diff --git a/www/iridium/files/patch-chrome_common_media_cdm__registration.cc b/www/iridium/files/patch-chrome_common_media_cdm__registration.cc
index e8158956f5b4..57d5fc432640 100644
--- a/www/iridium/files/patch-chrome_common_media_cdm__registration.cc
+++ b/www/iridium/files/patch-chrome_common_media_cdm__registration.cc
@@ -1,6 +1,6 @@
---- chrome/common/media/cdm_registration.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/common/media/cdm_registration.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/media/cdm_registration.cc
-@@ -32,7 +32,7 @@
+@@ -34,7 +34,7 @@
#if BUILDFLAG(ENABLE_WIDEVINE)
#include "components/cdm/common/cdm_manifest.h"
#include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
@@ -9,7 +9,7 @@
#include "base/native_library.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/media/component_widevine_cdm_hint_file_linux.h"
-@@ -51,7 +51,7 @@ using Robustness = content::CdmInfo::Robustness;
+@@ -59,7 +59,7 @@ using Robustness = content::CdmInfo::Robustness;
#if BUILDFLAG(ENABLE_WIDEVINE)
#if (BUILDFLAG(BUNDLE_WIDEVINE_CDM) || \
BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)) && \
@@ -18,7 +18,7 @@
// Create a CdmInfo for a Widevine CDM, using |version|, |cdm_library_path|, and
// |capability|.
std::unique_ptr<content::CdmInfo> CreateWidevineCdmInfo(
-@@ -93,7 +93,7 @@ std::unique_ptr<content::CdmInfo> CreateCdmInfoFromWid
+@@ -101,7 +101,7 @@ std::unique_ptr<content::CdmInfo> CreateCdmInfoFromWid
// BUILDFLAG(IS_CHROMEOS))
#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && \
@@ -27,7 +27,7 @@
// On Linux/ChromeOS we have to preload the CDM since it uses the zygote
// sandbox. On Windows and Mac, CDM registration is handled by Component
// Update (as the CDM can be loaded only when needed).
-@@ -117,7 +117,7 @@ std::unique_ptr<content::CdmInfo> GetBundledWidevine()
+@@ -125,7 +125,7 @@ std::unique_ptr<content::CdmInfo> GetBundledWidevine()
// (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
#if (BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && \
@@ -36,7 +36,7 @@
// This code checks to see if Component Updater picked a version of the Widevine
// CDM to be used last time it ran. (Component Updater may choose the bundled
// CDM if there is not a new version available for download.) If there is one
-@@ -159,7 +159,7 @@ void AddSoftwareSecureWidevine(std::vector<content::Cd
+@@ -167,7 +167,7 @@ void AddSoftwareSecureWidevine(std::vector<content::Cd
/*supports_sub_key_systems=*/false, kWidevineCdmDisplayName,
kWidevineCdmType, base::FilePath());
@@ -45,7 +45,7 @@
// The Widevine CDM on Linux/ChromeOS needs to be registered (and loaded)
// before the zygote is locked down. The CDM can be found from the version
// bundled with Chrome (if BUNDLE_WIDEVINE_CDM = true) and/or the version
-@@ -385,7 +385,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd
+@@ -434,7 +434,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd
}
#if BUILDFLAG(ENABLE_WIDEVINE) && \
diff --git a/www/iridium/files/patch-chrome_common_pref__names.h b/www/iridium/files/patch-chrome_common_pref__names.h
index 90a0a7b2ea50..bba110ac8d97 100644
--- a/www/iridium/files/patch-chrome_common_pref__names.h
+++ b/www/iridium/files/patch-chrome_common_pref__names.h
@@ -1,15 +1,6 @@
---- chrome/common/pref_names.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/pref_names.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/pref_names.h
-@@ -451,7 +451,7 @@ inline constexpr char kPreinstalledAppsInstallState[]
- "default_apps_install_state";
-
- #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // A list of extensions ids that have to be allowed to run in Incognito by the
- // user in order to use Incognito mode.
- inline constexpr char kMandatoryExtensionsForIncognitoNavigation[] =
-@@ -1334,7 +1334,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem
+@@ -1333,7 +1333,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem
inline constexpr char kAllowedDomainsForApps[] =
"settings.allowed_domains_for_apps";
@@ -18,7 +9,7 @@
// Linux specific preference on whether we should match the system theme.
inline constexpr char kSystemTheme[] = "extensions.theme.system_theme";
#endif
-@@ -1511,7 +1511,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] =
+@@ -1503,7 +1503,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] =
"browser.show_update_promotion_info_bar";
#endif
@@ -36,7 +27,7 @@
inline constexpr char kOpenPdfDownloadInSystemReader[] =
"download.open_pdf_in_system_reader";
#endif
-@@ -2651,14 +2651,14 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s
+@@ -2659,7 +2659,7 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s
inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data";
#endif // BUILDFLAG(IS_WIN)
@@ -45,15 +36,16 @@
// A boolean pref to determine whether or not the network service is running
// sandboxed.
inline constexpr char kNetworkServiceSandboxEnabled[] =
- "net.network_service_sandbox";
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+@@ -2673,7 +2673,7 @@ inline constexpr char kNetworkServiceSandboxEnabled[]
+ inline constexpr char kNetworkServiceFailedLaunchMajorVersion[] =
+ "net.network_service_failed_launch_major_version";
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Records whether the user has seen an HTTP auth "negotiate" header.
inline constexpr char kReceivedHttpAuthNegotiateHeader[] =
"net.received_http_auth_negotiate_headers";
-@@ -2750,7 +2750,7 @@ inline constexpr char kIsolatedWebAppInstallForceList[
+@@ -2765,7 +2765,7 @@ inline constexpr char kIsolatedWebAppInstallForceList[
inline constexpr char kIsolatedWebAppPendingInitializationCount[] =
"profile.isolated_web_app.install.pending_initialization_count";
@@ -62,7 +54,7 @@
// Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
// along with kAuthNegotiateDelegateAllowlist.
inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] =
-@@ -3269,7 +3269,7 @@ inline constexpr char kKioskChromeAppsForceAllowed[] =
+@@ -3288,7 +3288,7 @@ inline constexpr char kKioskApplicationLogCollectionEn
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -71,7 +63,7 @@
// Defines administrator-set availability of Chrome for Testing.
inline constexpr char kChromeForTestingAllowed[] = "chrome_for_testing.allowed";
#endif
-@@ -3795,7 +3795,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo
+@@ -3806,7 +3806,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo
inline constexpr char kSandboxExternalProtocolBlocked[] =
"profile.sandbox_external_protocol_blocked";
@@ -80,7 +72,7 @@
// Boolean that indicates if system notifications are allowed to be used in
// place of Chrome notifications.
inline constexpr char kAllowSystemNotifications[] =
-@@ -3991,7 +3991,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] =
+@@ -3997,7 +3997,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] =
"policy.lens_desktop_ntp_search_enabled";
#endif
@@ -89,7 +81,7 @@
// A dict mapping the edition name with the major version it was shown.
inline constexpr char kWhatsNewEditionUsed[] = "browser.whats_new.edition_used";
// A list containing the features of each module in order of when they
-@@ -4088,7 +4088,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ
+@@ -4094,7 +4094,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ
"printing.oauth2_authorization_servers";
#endif
diff --git a/www/iridium/files/patch-chrome_common_url__constants.h b/www/iridium/files/patch-chrome_common_url__constants.h
index 8a424fef6cf7..9262bf5f9aa0 100644
--- a/www/iridium/files/patch-chrome_common_url__constants.h
+++ b/www/iridium/files/patch-chrome_common_url__constants.h
@@ -1,6 +1,6 @@
---- chrome/common/url_constants.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/url_constants.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/url_constants.h
-@@ -992,7 +992,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] =
+@@ -993,7 +993,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] =
inline constexpr char kPhoneHubPermissionLearnMoreURL[] =
"https://support.google.com/chromebook?p=multidevice";
diff --git a/www/iridium/files/patch-chrome_common_webui__url__constants.cc b/www/iridium/files/patch-chrome_common_webui__url__constants.cc
index 031bfa59801c..1a61ab2a3d1e 100644
--- a/www/iridium/files/patch-chrome_common_webui__url__constants.cc
+++ b/www/iridium/files/patch-chrome_common_webui__url__constants.cc
@@ -1,14 +1,9 @@
---- chrome/common/webui_url_constants.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/webui_url_constants.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/webui_url_constants.cc
-@@ -193,21 +193,21 @@ base::span<const base::cstring_view> ChromeURLHosts()
+@@ -194,17 +194,17 @@ base::span<const base::cstring_view> ChromeURLHosts()
kChromeUIAssistantOptInHost,
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- kChromeUIConnectorsInternalsHost,
- #endif
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
kChromeUIDiscardsHost,
diff --git a/www/iridium/files/patch-chrome_common_webui__url__constants.h b/www/iridium/files/patch-chrome_common_webui__url__constants.h
index 5dd578df13d0..c3318cbce086 100644
--- a/www/iridium/files/patch-chrome_common_webui__url__constants.h
+++ b/www/iridium/files/patch-chrome_common_webui__url__constants.h
@@ -1,16 +1,9 @@
---- chrome/common/webui_url_constants.h.orig 2025-06-19 07:37:57 UTC
+--- chrome/common/webui_url_constants.h.orig 2025-09-11 13:19:19 UTC
+++ chrome/common/webui_url_constants.h
-@@ -524,18 +524,18 @@ inline constexpr char kChromeUIOsUrlAppURL[] = "chrome
+@@ -557,12 +557,12 @@ inline constexpr char kChromeUIOsUrlAppURL[] = "chrome
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- inline constexpr char kChromeUIConnectorsInternalsHost[] =
- "connectors-internals";
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
inline constexpr char kChromeUIDiscardsHost[] = "discards";
@@ -22,7 +15,7 @@
inline constexpr char kChromeUIWebAppSettingsHost[] = "app-settings";
inline constexpr char kChromeUIWebAppSettingsURL[] = "chrome://app-settings/";
inline constexpr char kChromeUIWhatsNewHost[] = "whats-new";
-@@ -547,11 +547,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[]
+@@ -574,11 +574,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[]
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -36,12 +29,12 @@
inline constexpr char kChromeUIBrowserSwitchHost[] = "browser-switch";
inline constexpr char kChromeUIBrowserSwitchURL[] = "chrome://browser-switch/";
inline constexpr char kChromeUIIntroDefaultBrowserSubPage[] = "default-browser";
-@@ -576,7 +576,7 @@ inline constexpr char kChromeUIHistorySyncOptinURL[] =
+@@ -603,7 +603,7 @@ inline constexpr char kChromeUIHistorySyncOptinURL[] =
"chrome://history-sync-optin/";
#endif
-#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
++#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
defined(TOOLKIT_VIEWS)) || \
defined(USE_AURA)
inline constexpr char kChromeUITabModalConfirmDialogHost[] =
diff --git a/www/iridium/files/patch-chrome_services_printing_print__backend__service__impl.cc b/www/iridium/files/patch-chrome_services_printing_print__backend__service__impl.cc
index 7ce56597f612..fb234a8b266d 100644
--- a/www/iridium/files/patch-chrome_services_printing_print__backend__service__impl.cc
+++ b/www/iridium/files/patch-chrome_services_printing_print__backend__service__impl.cc
@@ -1,6 +1,6 @@
---- chrome/services/printing/print_backend_service_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/services/printing/print_backend_service_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/services/printing/print_backend_service_impl.cc
-@@ -49,7 +49,7 @@
+@@ -48,7 +48,7 @@
#include "printing/backend/cups_connection_pool.h"
#endif
@@ -9,7 +9,7 @@
#include "base/no_destructor.h"
#include "ui/linux/linux_ui.h"
#include "ui/linux/linux_ui_delegate_stub.h"
-@@ -76,7 +76,7 @@ namespace printing {
+@@ -75,7 +75,7 @@ namespace printing {
namespace {
@@ -18,7 +18,7 @@
void InstantiateLinuxUiDelegate() {
// TODO(crbug.com/40561724) Until a real UI can be used in a utility process,
// need to use the stub version.
-@@ -85,7 +85,7 @@ void InstantiateLinuxUiDelegate() {
+@@ -84,7 +84,7 @@ void InstantiateLinuxUiDelegate() {
#endif
scoped_refptr<base::SequencedTaskRunner> GetPrintingTaskRunner() {
@@ -27,7 +27,7 @@
// Use task runner associated with equivalent of UI thread. Needed for calls
// made through `PrintDialogLinuxInterface` to properly execute.
CHECK(base::SequencedTaskRunner::HasCurrentDefault());
-@@ -468,7 +468,7 @@ void PrintBackendServiceImpl::Init(
+@@ -467,7 +467,7 @@ void PrintBackendServiceImpl::Init(
// `InitCommon()`.
InitializeProcessForPrinting();
print_backend_ = PrintBackend::CreateInstance(locale);
@@ -36,7 +36,7 @@
// Test framework already initializes the UI, so this should not go in
// `InitCommon()`. Additionally, low-level Linux UI is not needed when tests
// are using `TestPrintingContext`.
-@@ -689,7 +689,7 @@ void PrintBackendServiceImpl::UpdatePrintSettings(
+@@ -676,7 +676,7 @@ void PrintBackendServiceImpl::UpdatePrintSettings(
crash_keys_ = std::make_unique<crash_keys::ScopedPrinterInfo>(
*printer_name, print_backend_->GetPrinterDriverInfo(*printer_name));
diff --git a/www/iridium/files/patch-chrome_test_chromedriver_chrome__launcher.cc b/www/iridium/files/patch-chrome_test_chromedriver_chrome__launcher.cc
index 352d226bf269..f07c6ae35c72 100644
--- a/www/iridium/files/patch-chrome_test_chromedriver_chrome__launcher.cc
+++ b/www/iridium/files/patch-chrome_test_chromedriver_chrome__launcher.cc
@@ -1,6 +1,6 @@
---- chrome/test/chromedriver/chrome_launcher.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/test/chromedriver/chrome_launcher.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/test/chromedriver/chrome_launcher.cc
-@@ -73,6 +73,7 @@
+@@ -75,6 +75,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/www/iridium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc b/www/iridium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc
index eafe75cc7743..a7cd0293da51 100644
--- a/www/iridium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc
+++ b/www/iridium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc
@@ -1,6 +1,6 @@
---- chrome/test/chromedriver/key_converter_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/test/chromedriver/key_converter_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/test/chromedriver/key_converter_unittest.cc
-@@ -252,7 +252,7 @@ TEST(KeyConverter, ToggleModifiers) {
+@@ -248,7 +248,7 @@ TEST(KeyConverter, ToggleModifiers) {
CheckEventsReleaseModifiers(keys, key_events);
}
@@ -9,7 +9,7 @@
// Fails on bots: crbug.com/174962
#define MAYBE_AllEnglishKeyboardSymbols DISABLED_AllEnglishKeyboardSymbols
#else
-@@ -310,7 +310,7 @@ TEST(KeyConverter, AllEnglishKeyboardTextChars) {
+@@ -306,7 +306,7 @@ TEST(KeyConverter, AllEnglishKeyboardTextChars) {
TEST(KeyConverter, AllSpecialWebDriverKeysOnEnglishKeyboard) {
ui::ScopedKeyboardLayout keyboard_layout(ui::KEYBOARD_LAYOUT_ENGLISH_US);
const auto kTextForKeys = std::to_array<char>({
diff --git a/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc b/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc
index f693c7c4631c..53bd494a5b72 100644
--- a/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc
+++ b/www/iridium/files/patch-chrome_updater_app_app__uninstall.cc
@@ -1,6 +1,6 @@
---- chrome/updater/app/app_uninstall.cc.orig 2025-06-19 07:37:57 UTC
+--- chrome/updater/app/app_uninstall.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/updater/app/app_uninstall.cc
-@@ -172,7 +172,7 @@ void UninstallInThreadPool(UpdaterScope scope,
+@@ -181,7 +181,7 @@ void UninstallInThreadPool(UpdaterScope scope,
}
if (int result = UninstallOtherVersions(scope);
result != kErrorOk) {
diff --git a/www/iridium/files/patch-chrome_updater_configurator.cc b/www/iridium/files/patch-chrome_updater_configurator.cc
index 0f0f782fd745..646020db76c4 100644
--- a/www/iridium/files/patch-chrome_updater_configurator.cc
+++ b/www/iridium/files/patch-chrome_updater_configurator.cc
@@ -1,6 +1,6 @@
---- chrome/updater/configurator.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/updater/configurator.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/updater/configurator.cc
-@@ -73,7 +73,7 @@ Configurator::Configurator(scoped_refptr<UpdaterPrefs>
+@@ -105,7 +105,7 @@ Configurator::Configurator(scoped_refptr<UpdaterPrefs>
return std::nullopt;
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
}()) {
diff --git a/www/iridium/files/patch-chrome_utility_services.cc b/www/iridium/files/patch-chrome_utility_services.cc
index 41c6c1b082a8..31d3157ae5ef 100644
--- a/www/iridium/files/patch-chrome_utility_services.cc
+++ b/www/iridium/files/patch-chrome_utility_services.cc
@@ -1,6 +1,6 @@
---- chrome/utility/services.cc.orig 2025-05-07 06:48:23 UTC
+--- chrome/utility/services.cc.orig 2025-09-11 13:19:19 UTC
+++ chrome/utility/services.cc
-@@ -48,7 +48,7 @@
+@@ -50,7 +50,7 @@
#include "chrome/services/system_signals/mac/mac_system_signals_service.h"
#endif // BUILDFLAG(IS_MAC)
@@ -9,7 +9,7 @@
#include "chrome/services/system_signals/linux/linux_system_signals_service.h"
#endif // BUILDFLAG(IS_LINUX)
-@@ -205,7 +205,7 @@ auto RunMacNotificationService(
+@@ -215,7 +215,7 @@ auto RunMacNotificationService(
}
#endif // BUILDFLAG(IS_MAC)
@@ -18,7 +18,7 @@
auto RunSystemSignalsService(
mojo::PendingReceiver<device_signals::mojom::SystemSignalsService>
receiver) {
-@@ -479,7 +479,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
+@@ -490,7 +490,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
services.Add(RunWindowsIconReader);
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc b/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc
index d85d0241fff1..7fd4f237e170 100644
--- a/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc
+++ b/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc
@@ -1,6 +1,6 @@
---- chromecast/browser/cast_browser_main_parts.cc.orig 2025-06-19 07:37:57 UTC
+--- chromecast/browser/cast_browser_main_parts.cc.orig 2025-09-11 13:19:19 UTC
+++ chromecast/browser/cast_browser_main_parts.cc
-@@ -100,7 +100,7 @@
+@@ -99,7 +99,7 @@
#include "ui/ozone/public/ozone_platform.h"
#endif // BUILDFLAG(IS_OZONE)
@@ -9,7 +9,7 @@
#include <fontconfig/fontconfig.h>
#include <signal.h>
#include <sys/prctl.h>
-@@ -273,7 +273,7 @@ class CastViewsDelegate : public views::ViewsDelegate
+@@ -280,7 +280,7 @@ class CastViewsDelegate : public views::ViewsDelegate
#endif // defined(USE_AURA)
@@ -18,7 +18,7 @@
base::FilePath GetApplicationFontsDir() {
std::unique_ptr<base::Environment> env(base::Environment::Create());
-@@ -318,7 +318,7 @@ const DefaultCommandLineSwitch kDefaultSwitches[] = {
+@@ -325,7 +325,7 @@ const DefaultCommandLineSwitch kDefaultSwitches[] = {
{switches::kDisableThreadedAnimation, ""},
#endif // BUILDFLAG(IS_ANDROID)
#endif // BUILDFLAG(IS_CAST_AUDIO_ONLY)
@@ -27,7 +27,7 @@
#if defined(ARCH_CPU_X86_FAMILY)
// This is needed for now to enable the x11 Ozone platform to work with
// current Linux/NVidia OpenGL drivers.
-@@ -495,7 +495,7 @@ void CastBrowserMainParts::ToolkitInitialized() {
+@@ -502,7 +502,7 @@ void CastBrowserMainParts::ToolkitInitialized() {
views_delegate_ = std::make_unique<CastViewsDelegate>();
#endif // defined(USE_AURA)
diff --git a/www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc b/www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc
index 2b0ae1dcc852..da5a9e785b9f 100644
--- a/www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc
+++ b/www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc
@@ -1,6 +1,6 @@
---- chromecast/browser/cast_content_browser_client.cc.orig 2025-05-07 06:48:23 UTC
+--- chromecast/browser/cast_content_browser_client.cc.orig 2025-09-11 13:19:19 UTC
+++ chromecast/browser/cast_content_browser_client.cc
-@@ -434,7 +434,7 @@ void CastContentBrowserClient::AppendExtraCommandLineS
+@@ -433,7 +433,7 @@ void CastContentBrowserClient::AppendExtraCommandLineS
switches::kAudioOutputChannels));
}
} else if (process_type == switches::kGpuProcess) {
diff --git a/www/iridium/files/patch-components_BUILD.gn b/www/iridium/files/patch-components_BUILD.gn
index 234b8050fe15..e0be891e990e 100644
--- a/www/iridium/files/patch-components_BUILD.gn
+++ b/www/iridium/files/patch-components_BUILD.gn
@@ -1,6 +1,6 @@
---- components/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- components/BUILD.gn.orig 2025-09-13 16:56:52 UTC
+++ components/BUILD.gn
-@@ -210,7 +210,6 @@ test("components_unittests") {
+@@ -216,7 +216,6 @@ test("components_unittests") {
"//components/content_settings/core/browser:unit_tests",
"//components/content_settings/core/common:unit_tests",
"//components/country_codes:unit_tests",
@@ -8,21 +8,41 @@
"//components/cross_device/logging:unit_tests",
"//components/crx_file:unit_tests",
"//components/data_sharing:unit_tests",
-@@ -614,7 +613,7 @@ test("components_unittests") {
- deps += [ "//components/cast:unit_tests" ]
- }
+@@ -625,7 +624,7 @@ test("components_unittests") {
+ "//components/user_data_importer/content:unit_tests",
+ ]
- if (!is_fuchsia) { #!iOS and!Fuchsia
+ if (!is_fuchsia && !is_bsd) { #!iOS and!Fuchsia
deps += [
"//components/crash/content/browser:unit_tests",
"//components/crash/core/app:unit_tests",
-@@ -774,7 +773,7 @@ test("components_unittests") {
+@@ -784,7 +783,7 @@ test("components_unittests") {
deps += [ "//components/constrained_window:unit_tests" ]
}
- if (is_win || is_linux || is_chromeos || is_mac) {
+ if (is_win || (is_linux && !is_bsd) || is_chromeos || is_mac) {
- deps += [ "//components/stability_report:unit_tests" ]
- }
+ deps += [
+ "//components/stability_report:unit_tests",
+ "//components/webapps/isolated_web_apps:unit_tests",
+@@ -945,8 +944,7 @@ test("components_unittests") {
+ # No components should depend on Chrome.
+ # Since //chrome depends on //extensions, we also only assert_no_deps on
+ # extensions targets.
+- assert_no_deps = [ "//chrome/*" ]
+- assert_no_deps += disallowed_extension_deps_
++ assert_no_deps = disallowed_extension_deps_
+
+ if (is_ios) {
+ assert_no_deps += ios_assert_no_deps
+@@ -1263,8 +1261,7 @@ if (use_blink) {
+ # No components should depend on Chrome.
+ # Since //chrome depends on //extensions, we also only assert_no_deps on
+ # extensions targets.
+- assert_no_deps = [ "//chrome/*" ]
+- assert_no_deps += disallowed_extension_deps_
++ assert_no_deps = disallowed_extension_deps_
+ if (is_fuchsia) {
+ additional_manifest_fragments = [
diff --git a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc
index 9ab88b0089f1..4d5da67d48b5 100644
--- a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc
+++ b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/data_manager/payments/payments_data_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/browser/data_manager/payments/payments_data_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/browser/data_manager/payments/payments_data_manager.cc
-@@ -466,7 +466,7 @@ void PaymentsDataManager::OnWebDataServiceRequestDone(
+@@ -471,7 +471,7 @@ void PaymentsDataManager::OnWebDataServiceRequestDone(
bool PaymentsDataManager::ShouldShowBnplSettings() const {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// Check `kAutofillEnableBuyNowPayLater` only if the user has seen a BNPL
// suggestion before, or there are already linked issuers present, to avoid
// unnecessary feature flag checks. The linked issuer check is due to the fact
-@@ -971,7 +971,7 @@ void PaymentsDataManager::SetPrefService(PrefService*
+@@ -1000,7 +1000,7 @@ void PaymentsDataManager::SetPrefService(PrefService*
&PaymentsDataManager::OnAutofillPaymentsCardBenefitsPrefChange,
base::Unretained(this)));
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -18,7 +18,7 @@
pref_registrar_.Add(
prefs::kAutofillBnplEnabled,
base::BindRepeating(&PaymentsDataManager::OnBnplEnabledPrefChange,
-@@ -1047,7 +1047,7 @@ void PaymentsDataManager::SetAutofillHasSeenIban() {
+@@ -1074,7 +1074,7 @@ void PaymentsDataManager::SetAutofillHasSeenIban() {
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,16 +27,16 @@
bool PaymentsDataManager::IsAutofillHasSeenBnplPrefEnabled() const {
return prefs::HasSeenBnpl(pref_service_);
}
-@@ -2029,7 +2029,7 @@ bool PaymentsDataManager::AreEwalletAccountsSupported(
+@@ -2084,7 +2084,7 @@ bool PaymentsDataManager::AreEwalletAccountsSupported(
bool PaymentsDataManager::AreBnplIssuersSupported() const {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- return app_locale_ == "en-US" && GetCountryCodeForExperimentGroup() == "US" &&
- base::FeatureList::IsEnabled(
- features::kAutofillEnableBuyNowPayLaterSyncing);
-@@ -2062,7 +2062,7 @@ void PaymentsDataManager::ClearAllCreditCardBenefits()
+ return (app_locale_ == "en-US" || app_locale_ == "en-GB" ||
+ app_locale_ == "en-CA") &&
+ GetCountryCodeForExperimentGroup() == "US" &&
+@@ -2119,7 +2119,7 @@ void PaymentsDataManager::ClearAllCreditCardBenefits()
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h
index 28e855c00b34..9cbe051764e3 100644
--- a/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h
+++ b/www/iridium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/data_manager/payments/payments_data_manager.h.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/browser/data_manager/payments/payments_data_manager.h.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/browser/data_manager/payments/payments_data_manager.h
-@@ -360,7 +360,7 @@ class PaymentsDataManager : public AutofillWebDataServ
+@@ -370,7 +370,7 @@ class PaymentsDataManager : public AutofillWebDataServ
void SetAutofillHasSeenIban();
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// Returns the value of the kAutofillHasSeenBnpl pref.
bool IsAutofillHasSeenBnplPrefEnabled() const;
-@@ -680,7 +680,7 @@ class PaymentsDataManager : public AutofillWebDataServ
+@@ -699,7 +699,7 @@ class PaymentsDataManager : public AutofillWebDataServ
void ClearAllCreditCardBenefits();
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc
index 7b5aae9aeafe..6bd37803302a 100644
--- a/www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc
+++ b/www/iridium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/foundations/browser_autofill_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/browser/foundations/browser_autofill_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/browser/foundations/browser_autofill_manager.cc
-@@ -728,7 +728,7 @@ BrowserAutofillManager::GetCreditCardAccessManager() c
+@@ -779,7 +779,7 @@ BrowserAutofillManager::GetAmountExtractionManager() {
payments::BnplManager* BrowserAutofillManager::GetPaymentsBnplManager() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc b/www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc
index 58807b054dad..5b609c0c0a04 100644
--- a/www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc
+++ b/www/iridium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc
-@@ -232,7 +232,7 @@ void AutofillOptimizationGuide::OnDidParseForm(
+@@ -231,7 +231,7 @@ void AutofillOptimizationGuide::OnDidParseForm(
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc
index cd3ac58bcb82..bf2b1e0f9c9a 100644
--- a/www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc
+++ b/www/iridium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc
@@ -1,38 +1,29 @@
---- components/autofill/core/browser/payments/amount_extraction_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/browser/payments/amount_extraction_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/browser/payments/amount_extraction_manager.cc
-@@ -109,7 +109,7 @@ bool AmountExtractionManager::ShouldTriggerAmountExtra
+@@ -178,7 +178,7 @@ void AmountExtractionManager::OnCheckoutAmountReceived
+ bnpl_manager->OnAmountExtractionReturned(parsed_extracted_amount);
}
-
if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-- BUILDFLAG(IS_CHROMEOS)) {
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) {
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) {
if (base::FeatureList::IsEnabled(
- ::autofill::features::
- kAutofillEnableAmountExtractionDesktopLogging)) {
-@@ -123,7 +123,7 @@ bool AmountExtractionManager::ShouldTriggerAmountExtra
- }
-
- if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-- BUILDFLAG(IS_CHROMEOS)) {
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
- return base::FeatureList::IsEnabled(
- ::autofill::features::kAutofillEnableAmountExtractionDesktop);
- } else {
-@@ -190,7 +190,7 @@ void AmountExtractionManager::OnCheckoutAmountReceived
- bnpl_manager->OnAmountExtractionReturned(parsed_extracted_amount);
+ ::autofill::features::kAutofillEnableAmountExtractionTesting)) {
+ VLOG(3) << "The result of amount extraction on domain "
+@@ -206,7 +206,7 @@ void AmountExtractionManager::OnTimeoutReached() {
}
+ // TODO(crbug.com/378517983): Add BNPL flow action logic here.
if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-- BUILDFLAG(IS_CHROMEOS)) {
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) {
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) {
if (base::FeatureList::IsEnabled(
- ::autofill::features::
- kAutofillEnableAmountExtractionDesktopLogging)) {
-@@ -214,7 +214,7 @@ void AmountExtractionManager::OnTimeoutReached() {
- autofill_metrics::AmountExtractionResult::kTimeout);
- // TODO(crbug.com/378517983): Add BNPL flow action logic here.
+ ::autofill::features::kAutofillEnableAmountExtractionTesting)) {
+ VLOG(3) << "The amount extraction on domain "
+@@ -225,7 +225,7 @@ AmountExtractionManager::CheckEligibilityForFeaturesRe
+ // Check eligibility of BNPL feature.
+ // Currently, BNPL is only offered for desktop platforms.
if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- BUILDFLAG(IS_CHROMEOS)) {
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
- if (base::FeatureList::IsEnabled(
- ::autofill::features::
- kAutofillEnableAmountExtractionDesktopLogging)) {
+ if (BnplManager* bnpl_manager = autofill_manager_->GetPaymentsBnplManager();
+ bnpl_manager && bnpl_manager->IsEligibleForBnpl()) {
+ eligible_features.insert(EligibleFeature::kBnpl);
diff --git a/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc b/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc
index 89483240e2c4..f53663e953de 100644
--- a/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc
+++ b/www/iridium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/browser/payments/bnpl_manager.cc
-@@ -466,7 +466,7 @@ void BnplManager::MaybeUpdateSuggestionsWithBnpl(
+@@ -497,7 +497,7 @@ void BnplManager::MaybeUpdateSuggestionsWithBnpl(
.OnBnplSuggestionShown();
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc b/www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc
index c456be3a67e2..bae7c02b0077 100644
--- a/www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc
+++ b/www/iridium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc
-@@ -1226,7 +1226,7 @@ bool AreMaskedBankAccountSupported() {
+@@ -1262,7 +1262,7 @@ bool AreMaskedBankAccountSupported() {
bool IsBnplIssuerSupported() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc b/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc
index 920e6906a756..80c36de24f8b 100644
--- a/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc
+++ b/www/iridium/files/patch-components_autofill_core_common_autofill__payments__features.cc
@@ -1,7 +1,7 @@
---- components/autofill/core/common/autofill_payments_features.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/common/autofill_payments_features.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/common/autofill_payments_features.cc
-@@ -297,7 +297,7 @@ BASE_FEATURE(kAutofillSyncEwalletAccounts,
- #endif // BUILDFLAG(IS_ANDROID)
+@@ -345,7 +345,7 @@ BASE_FEATURE(kDisableAutofillStrikeSystem,
+ base::FEATURE_DISABLED_BY_DEFAULT);
bool ShouldShowImprovedUserConsentForCreditCardSave() {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc
index 739fda0ee0d0..9a0acc71cc69 100644
--- a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc
+++ b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/common/autofill_prefs.cc.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/common/autofill_prefs.cc.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/common/autofill_prefs.cc
-@@ -99,7 +99,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
+@@ -118,7 +118,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
registry->RegisterBooleanPref(
kAutofillBnplEnabled, true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
-@@ -278,7 +278,7 @@ bool IsFacilitatedPaymentsEwalletEnabled(const PrefSer
+@@ -360,7 +360,7 @@ void SetFacilitatedPaymentsA2ATriggeredOnce(PrefServic
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -18,7 +18,7 @@
void SetAutofillBnplEnabled(PrefService* prefs, bool value) {
prefs->SetBoolean(kAutofillBnplEnabled, value);
}
-@@ -287,7 +287,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
+@@ -369,7 +369,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
bool IsAutofillBnplEnabled(const PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,7 +27,7 @@
return prefs->GetBoolean(kAutofillBnplEnabled);
#else
return false;
-@@ -296,7 +296,7 @@ bool IsAutofillBnplEnabled(const PrefService* prefs) {
+@@ -378,7 +378,7 @@ bool IsAutofillBnplEnabled(const PrefService* prefs) {
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h
index 24f6907310ae..779ca0c75bf2 100644
--- a/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h
+++ b/www/iridium/files/patch-components_autofill_core_common_autofill__prefs.h
@@ -1,4 +1,4 @@
---- components/autofill/core/common/autofill_prefs.h.orig 2025-06-19 07:37:57 UTC
+--- components/autofill/core/common/autofill_prefs.h.orig 2025-09-11 13:19:19 UTC
+++ components/autofill/core/common/autofill_prefs.h
@@ -32,7 +32,7 @@ inline constexpr std::string_view kAutofillAblationSee
inline constexpr char kAutofillAiOptInStatus[] =
@@ -9,8 +9,8 @@
// Boolean that is true if BNPL on Autofill is enabled.
inline constexpr char kAutofillBnplEnabled[] = "autofill.bnpl_enabled";
// Boolean that is true if the user has ever seen a BNPL suggestion.
-@@ -214,7 +214,7 @@ void SetFacilitatedPaymentsEwallet(PrefService* prefs,
- bool IsFacilitatedPaymentsEwalletEnabled(const PrefService* prefs);
+@@ -247,7 +247,7 @@ bool IsFacilitatedPaymentsA2AEnabled(const PrefService
+ void SetFacilitatedPaymentsA2ATriggeredOnce(PrefService* prefs, bool value);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
@@ -18,7 +18,7 @@
void SetAutofillBnplEnabled(PrefService* prefs, bool value);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -222,7 +222,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
+@@ -255,7 +255,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
bool IsAutofillBnplEnabled(const PrefService* prefs);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_commerce_core_commerce__feature__list.cc b/www/iridium/files/patch-components_commerce_core_commerce__feature__list.cc
index 1c41bbebbbfe..5145d9bd16dd 100644
--- a/www/iridium/files/patch-components_commerce_core_commerce__feature__list.cc
+++ b/www/iridium/files/patch-components_commerce_core_commerce__feature__list.cc
@@ -1,39 +1,20 @@
---- components/commerce/core/commerce_feature_list.cc.orig 2025-05-07 06:48:23 UTC
+--- components/commerce/core/commerce_feature_list.cc.orig 2025-09-11 13:19:19 UTC
+++ components/commerce/core/commerce_feature_list.cc
-@@ -156,7 +156,8 @@ BASE_FEATURE(kPriceInsights,
- "PriceInsights",
- base::FEATURE_DISABLED_BY_DEFAULT);
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID) || \
-+ BUILDFLAG(IS_BSD)
- BASE_FEATURE(kPriceInsightsRegionLaunched,
- "PriceInsightsRegionLaunched",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -227,7 +228,7 @@ BASE_FEATURE(kEnableDiscountInfoApi,
+@@ -209,7 +209,7 @@ BASE_FEATURE(kShoppingAlternateServer,
const char kDiscountOnShoppyPageParam[] = "discount-on-shoppy-page";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
const base::FeatureParam<bool> kDiscountOnShoppyPage{
&kEnableDiscountInfoApi, kDiscountOnShoppyPageParam, true};
#else
-@@ -236,7 +237,7 @@ const base::FeatureParam<bool> kDiscountOnShoppyPage{
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kEnableDiscountInfoApiRegionLaunched,
- "EnableDiscountInfoApiRegionLaunched",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -251,7 +252,7 @@ const char kMerchantWideBehaviorParam[] = "merchant-wi
+@@ -222,7 +222,7 @@ const char kMerchantWideBehaviorParam[] = "merchant-wi
const char kNonMerchantWideBehaviorParam[] = "non-merchant-wide-behavior";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kDiscountDialogAutoPopupBehaviorSetting,
"DiscountDialogAutoPopupBehaviorSetting",
base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc b/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc
index f796a33b6bd3..4d3fbbc07a5f 100644
--- a/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc
+++ b/www/iridium/files/patch-components_constrained__window_constrained__window__views.cc
@@ -1,6 +1,6 @@
---- components/constrained_window/constrained_window_views.cc.orig 2025-06-19 07:37:57 UTC
+--- components/constrained_window/constrained_window_views.cc.orig 2025-09-11 13:19:19 UTC
+++ components/constrained_window/constrained_window_views.cc
-@@ -385,7 +385,7 @@ bool SupportsGlobalScreenCoordinates() {
+@@ -380,7 +380,7 @@ bool SupportsGlobalScreenCoordinates() {
}
bool PlatformClipsChildrenToViewport() {
diff --git a/www/iridium/files/patch-components_crash_core_app_BUILD.gn b/www/iridium/files/patch-components_crash_core_app_BUILD.gn
index 0bc6361ffc26..cd20793b2524 100644
--- a/www/iridium/files/patch-components_crash_core_app_BUILD.gn
+++ b/www/iridium/files/patch-components_crash_core_app_BUILD.gn
@@ -1,4 +1,4 @@
---- components/crash/core/app/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- components/crash/core/app/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ components/crash/core/app/BUILD.gn
@@ -70,6 +70,10 @@ static_library("app") {
]
@@ -29,7 +29,7 @@
deps += [
"//base:base_static",
"//components/crash/core/common",
-@@ -237,11 +241,6 @@ if (is_mac || is_android || is_linux || is_chromeos) {
+@@ -241,11 +245,6 @@ if (is_mac || is_android || is_linux || is_chromeos) {
# define custom UserStreamDataSources.
executable("chrome_crashpad_handler") {
sources = [ "chrome_crashpad_handler.cc" ]
diff --git a/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h b/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h
index d431cbddd26f..782de664736b 100644
--- a/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h
+++ b/www/iridium/files/patch-components_device__signals_core_browser_browser__utils.h
@@ -1,15 +1,15 @@
---- components/device_signals/core/browser/browser_utils.h.orig 2025-06-19 07:37:57 UTC
+--- components/device_signals/core/browser/browser_utils.h.orig 2025-09-11 13:19:19 UTC
+++ components/device_signals/core/browser/browser_utils.h
-@@ -36,7 +36,7 @@ bool GetSiteIsolationEnabled();
- // Returns the hostname of the current machine.
+@@ -38,7 +38,7 @@ bool GetSiteIsolationEnabled();
std::string GetHostName();
+ #endif // !BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Returns the hostname of the current machine.
std::vector<std::string> GetSystemDnsServers();
-@@ -44,7 +44,7 @@ std::vector<std::string> GetSystemDnsServers();
+@@ -46,7 +46,7 @@ std::vector<std::string> GetSystemDnsServers();
SettingValue GetOSFirewall();
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc b/www/iridium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc
new file mode 100644
index 000000000000..5ebf658267e3
--- /dev/null
+++ b/www/iridium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc
@@ -0,0 +1,11 @@
+--- components/device_signals/core/browser/desktop/desktop_os_signals_collector.cc.orig 2025-09-11 13:19:19 UTC
++++ components/device_signals/core/browser/desktop/desktop_os_signals_collector.cc
+@@ -43,7 +43,7 @@ std::unique_ptr<OsSignalsResponse> AddAsyncOsSignals(
+ os_signals_response->disk_encryption = device_signals::GetDiskEncrypted();
+ os_signals_response->os_firewall = device_signals::GetOSFirewall();
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ os_signals_response->distribution_version =
+ device_signals::GetDistributionVersion();
+ #endif // BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc b/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc
index 435e5cba40a1..bd82efa6a6bc 100644
--- a/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc
+++ b/www/iridium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc
@@ -1,4 +1,4 @@
---- components/device_signals/core/common/linux/platform_utils_linux.cc.orig 2025-06-19 07:37:57 UTC
+--- components/device_signals/core/common/linux/platform_utils_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ components/device_signals/core/common/linux/platform_utils_linux.cc
@@ -4,12 +4,23 @@
@@ -24,7 +24,7 @@
#include <algorithm>
#include <optional>
#include <string>
-@@ -98,6 +109,7 @@ SettingValue GetScreenlockSecured() {
+@@ -111,6 +122,7 @@ SettingValue GetScreenlockSecured() {
// Implements the logic from the native host installation script. First find the
// root device identifier, then locate its parent and get its type.
SettingValue GetDiskEncrypted() {
@@ -32,7 +32,7 @@
struct stat info;
// First figure out the device identifier. Fail fast if this fails.
if (stat("/", &info) != 0) {
-@@ -120,11 +132,35 @@ SettingValue GetDiskEncrypted() {
+@@ -133,11 +145,35 @@ SettingValue GetDiskEncrypted() {
}
return SettingValue::UNKNOWN;
}
@@ -40,7 +40,7 @@
return SettingValue::DISABLED;
}
- std::vector<std::string> GetMacAddresses() {
+ std::vector<std::string> internal::GetMacAddressesImpl() {
std::vector<std::string> result;
+#if BUILDFLAG(IS_BSD)
+ struct ifaddrs* ifa = nullptr;
@@ -68,7 +68,7 @@
base::DirReaderPosix reader("/sys/class/net");
if (!reader.IsValid()) {
return result;
-@@ -149,6 +185,7 @@ std::vector<std::string> GetMacAddresses() {
+@@ -162,6 +198,7 @@ std::vector<std::string> internal::GetMacAddressesImpl
&address);
result.push_back(address);
}
diff --git a/www/iridium/files/patch-components_device__signals_core_common_platform__utils.h b/www/iridium/files/patch-components_device__signals_core_common_platform__utils.h
new file mode 100644
index 000000000000..0504ad52ae3c
--- /dev/null
+++ b/www/iridium/files/patch-components_device__signals_core_common_platform__utils.h
@@ -0,0 +1,11 @@
+--- components/device_signals/core/common/platform_utils.h.orig 2025-09-11 13:19:19 UTC
++++ components/device_signals/core/common/platform_utils.h
+@@ -57,7 +57,7 @@ SettingValue GetSecureBootEnabled();
+ std::optional<std::string> GetWindowsMachineDomain();
+ #endif // BUILDFLAG(IS_WIN)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Return the distribution VERSION_ID contained in
+ // /etc/os-release, if it exists.
+ std::optional<std::string> GetDistributionVersion();
diff --git a/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc b/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc
index 00099131901c..a8248b45f01f 100644
--- a/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc
+++ b/www/iridium/files/patch-components_device__signals_core_common_signals__features.cc
@@ -1,6 +1,6 @@
---- components/device_signals/core/common/signals_features.cc.orig 2025-06-19 07:37:57 UTC
+--- components/device_signals/core/common/signals_features.cc.orig 2025-09-11 13:19:19 UTC
+++ components/device_signals/core/common/signals_features.cc
-@@ -43,7 +43,7 @@ bool IsBrowserSignalsReportingEnabled() {
+@@ -55,7 +55,7 @@ bool IsDetectedAgentSignalCollectionEnabled() {
}
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
diff --git a/www/iridium/files/patch-components_device__signals_core_common_signals__features.h b/www/iridium/files/patch-components_device__signals_core_common_signals__features.h
index 17b6d6d95d90..51e18ba40f7a 100644
--- a/www/iridium/files/patch-components_device__signals_core_common_signals__features.h
+++ b/www/iridium/files/patch-components_device__signals_core_common_signals__features.h
@@ -1,7 +1,7 @@
---- components/device_signals/core/common/signals_features.h.orig 2025-06-19 07:37:57 UTC
+--- components/device_signals/core/common/signals_features.h.orig 2025-09-11 13:19:19 UTC
+++ components/device_signals/core/common/signals_features.h
-@@ -29,7 +29,7 @@ bool IsProfileSignalsReportingEnabled();
- bool IsBrowserSignalsReportingEnabled();
+@@ -33,7 +33,7 @@ bool IsBrowserSignalsReportingEnabled();
+ bool IsDetectedAgentSignalCollectionEnabled();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc b/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc
index ced0f5d2dc6a..18f4c21f757a 100644
--- a/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc
+++ b/www/iridium/files/patch-components_embedder__support_user__agent__utils.cc
@@ -1,6 +1,6 @@
---- components/embedder_support/user_agent_utils.cc.orig 2025-06-19 07:37:57 UTC
+--- components/embedder_support/user_agent_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ components/embedder_support/user_agent_utils.cc
-@@ -318,7 +318,7 @@ std::string GetUserAgentPlatform() {
+@@ -317,7 +317,7 @@ std::string GetUserAgentPlatform() {
return "";
#elif BUILDFLAG(IS_MAC)
return "Macintosh; ";
@@ -9,16 +9,34 @@
return "X11; "; // strange, but that's what Firefox uses
#elif BUILDFLAG(IS_ANDROID)
return "Linux; ";
-@@ -344,7 +344,7 @@ std::string GetUnifiedPlatform() {
+@@ -333,7 +333,7 @@ std::string GetUserAgentPlatform() {
+ }
+
+ std::string GetUnifiedPlatform() {
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // This constant is only used on Android (desktop) and Linux.
+ constexpr char kUnifiedPlatformLinuxX64[] = "X11; Linux x86_64";
+ #endif
+@@ -353,7 +353,7 @@ std::string GetUnifiedPlatform() {
return "Windows NT 10.0; Win64; x64";
#elif BUILDFLAG(IS_FUCHSIA)
return "Fuchsia";
-#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return "X11; Linux x86_64";
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return kUnifiedPlatformLinuxX64;
#elif BUILDFLAG(IS_IOS)
if (ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET) {
-@@ -601,6 +601,9 @@ std::string GetPlatformForUAMetadata() {
+@@ -615,7 +615,7 @@ bool GetMobileBitForUAMetadata() {
+ }
+
+ std::string GetPlatformVersion() {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // TODO(crbug.com/40245146): Remove this Blink feature
+ if (base::FeatureList::IsEnabled(
+ blink::features::kReduceUserAgentDataLinuxPlatformVersion)) {
+@@ -661,6 +661,9 @@ std::string GetPlatformForUAMetadata() {
#else
return "Chromium OS";
#endif
@@ -28,16 +46,7 @@
#else
return std::string(version_info::GetOSType());
#endif
-@@ -660,7 +663,7 @@ blink::UserAgentMetadata GetUserAgentMetadata(const Pr
- base::StringPrintf("%d.%d.%d", major, minor, bugfix);
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/40245146): Remove this Blink feature
- if (base::FeatureList::IsEnabled(
- blink::features::kReduceUserAgentDataLinuxPlatformVersion)) {
-@@ -821,6 +824,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons
+@@ -873,6 +876,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons
"Android %s", os_version.c_str()
#elif BUILDFLAG(IS_FUCHSIA)
"Fuchsia"
diff --git a/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc b/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc
index bc988cff5389..44b188dd7fff 100644
--- a/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc
+++ b/www/iridium/files/patch-components_embedder__support_user__agent__utils__unittest.cc
@@ -1,6 +1,6 @@
---- components/embedder_support/user_agent_utils_unittest.cc.orig 2025-06-19 07:37:57 UTC
+--- components/embedder_support/user_agent_utils_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ components/embedder_support/user_agent_utils_unittest.cc
-@@ -148,7 +148,7 @@ void CheckUserAgentStringOrdering(bool mobile_device)
+@@ -152,7 +152,7 @@ void CheckUserAgentStringOrdering(bool mobile_device)
ASSERT_EQ("CrOS", pieces[0]);
ASSERT_EQ("x86_64", pieces[1]);
ASSERT_EQ("14541.0.0", pieces[2]);
@@ -9,7 +9,7 @@
// Post-UA Reduction there is a single <unifiedPlatform> value for Linux:
// X11; Linux x86_64
ASSERT_EQ(2u, pieces.size());
-@@ -336,7 +336,7 @@ class UserAgentUtilsTest : public testing::Test,
+@@ -340,7 +340,7 @@ class UserAgentUtilsTest : public testing::Test,
"X11; CrOS x86_64 14541.0.0";
#elif BUILDFLAG(IS_FUCHSIA)
"Fuchsia";
@@ -18,7 +18,7 @@
"X11; Linux x86_64";
#elif BUILDFLAG(IS_MAC)
"Macintosh; Intel Mac OS X 10_15_7";
-@@ -716,7 +716,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) {
+@@ -720,7 +720,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) {
#endif
#elif BUILDFLAG(IS_ANDROID)
EXPECT_EQ(metadata.platform, "Android");
diff --git a/www/iridium/files/patch-components_enterprise_browser_reporting_report__util.cc b/www/iridium/files/patch-components_enterprise_browser_reporting_report__util.cc
new file mode 100644
index 000000000000..0e4fae02c796
--- /dev/null
+++ b/www/iridium/files/patch-components_enterprise_browser_reporting_report__util.cc
@@ -0,0 +1,11 @@
+--- components/enterprise/browser/reporting/report_util.cc.orig 2025-09-11 13:19:19 UTC
++++ components/enterprise/browser/reporting/report_util.cc
+@@ -199,7 +199,7 @@ std::string GetSecuritySignalsInReport(
+ signals_dict.Set("antivirus_info", std::move(anti_virus_list));
+
+ signals_dict.Set("hotfixes", RepeatedFieldptrToList(os_report.hotfixes()));
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (os_report.has_distribution_version()) {
+ signals_dict.Set("distribution_version",
+ os_report.distribution_version());
diff --git a/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc b/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc
index 10e8b35d741b..09fb3cf39ec2 100644
--- a/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc
+++ b/www/iridium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc
@@ -1,7 +1,7 @@
---- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2025-06-19 07:37:57 UTC
+--- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2025-09-11 13:19:19 UTC
+++ components/enterprise/connectors/core/realtime_reporting_client_base.cc
@@ -191,7 +191,7 @@ void RealtimeReportingClientBase::ReportEvent(
- event.mutable_time()->set_nanos((timestamp_millis % 1000) * 1000000);
+ *event.mutable_time() = ToProtoTimestamp(base::Time::Now());
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.cc b/www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.cc
new file mode 100644
index 000000000000..50efc754a4a6
--- /dev/null
+++ b/www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.cc
@@ -0,0 +1,11 @@
+--- components/enterprise/data_controls/core/browser/features.cc.orig 2025-09-11 13:19:19 UTC
++++ components/enterprise/data_controls/core/browser/features.cc
+@@ -13,7 +13,7 @@ BASE_FEATURE(kEnableClipboardDataControlsAndroid,
+ #endif
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kEnableDownloadDataControlsDesktop,
+ "EnableDownloadDataControlsDesktop",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.h b/www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.h
new file mode 100644
index 000000000000..5ee7c62f33c0
--- /dev/null
+++ b/www/iridium/files/patch-components_enterprise_data__controls_core_browser_features.h
@@ -0,0 +1,11 @@
+--- components/enterprise/data_controls/core/browser/features.h.orig 2025-09-11 13:19:19 UTC
++++ components/enterprise/data_controls/core/browser/features.h
+@@ -16,7 +16,7 @@ BASE_DECLARE_FEATURE(kEnableClipboardDataControlsAndro
+ #endif
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Controls enabling Data Controls rules for downloads on desktop
+ BASE_DECLARE_FEATURE(kEnableDownloadDataControlsDesktop);
+ #endif
diff --git a/www/iridium/files/patch-components_enterprise_data__controls_core_browser_rule.cc b/www/iridium/files/patch-components_enterprise_data__controls_core_browser_rule.cc
new file mode 100644
index 000000000000..574f861f8247
--- /dev/null
+++ b/www/iridium/files/patch-components_enterprise_data__controls_core_browser_rule.cc
@@ -0,0 +1,29 @@
+--- components/enterprise/data_controls/core/browser/rule.cc.orig 2025-09-11 13:19:19 UTC
++++ components/enterprise/data_controls/core/browser/rule.cc
+@@ -105,7 +105,7 @@ policy::PolicyErrorPath CreateErrorPath(
+ // a type of restriction should be applied or not, check it here.
+ bool IgnoreRestriction(Rule::Restriction restriction) {
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (restriction == Rule::Restriction::kFileDownload) {
+ return !base::FeatureList::IsEnabled(kEnableDownloadDataControlsDesktop);
+ }
+@@ -538,7 +538,7 @@ bool Rule::AddUnsupportedAttributeErrors(
+ },
+ },
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {
+ Restriction::kFileDownload,
+ {
+@@ -617,7 +617,7 @@ bool Rule::AddUnsupportedRestrictionErrors(
+ },
+ #endif // BUILDFLAG(ENTERPRISE_SCREENSHOT_PROTECTION)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {
+ Restriction::kFileDownload,
+ {
diff --git a/www/iridium/files/patch-components_enterprise_watermarking_watermark.cc b/www/iridium/files/patch-components_enterprise_watermarking_watermark.cc
index bd4e7e0493a7..1710e23a3083 100644
--- a/www/iridium/files/patch-components_enterprise_watermarking_watermark.cc
+++ b/www/iridium/files/patch-components_enterprise_watermarking_watermark.cc
@@ -1,6 +1,6 @@
---- components/enterprise/watermarking/watermark.cc.orig 2025-05-07 06:48:23 UTC
+--- components/enterprise/watermarking/watermark.cc.orig 2025-09-11 13:19:19 UTC
+++ components/enterprise/watermarking/watermark.cc
-@@ -31,7 +31,7 @@ gfx::Font WatermarkFont() {
+@@ -29,7 +29,7 @@ gfx::Font WatermarkFont(int font_size) {
"Segoe UI",
#elif BUILDFLAG(IS_MAC)
"SF Pro Text",
@@ -9,7 +9,7 @@
"Ubuntu",
#elif BUILDFLAG(IS_CHROMEOS)
"Google Sans",
-@@ -47,7 +47,7 @@ const gfx::FontList& WatermarkFontList() {
+@@ -40,7 +40,7 @@ gfx::Font WatermarkFont(int font_size) {
}
gfx::Font::Weight WatermarkFontWeight() {
diff --git a/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc b/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc
index 0643fe4934b3..f0543d05918e 100644
--- a/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc
+++ b/www/iridium/files/patch-components_eye__dropper_eye__dropper__view.cc
@@ -1,6 +1,6 @@
---- components/eye_dropper/eye_dropper_view.cc.orig 2025-06-19 07:37:57 UTC
+--- components/eye_dropper/eye_dropper_view.cc.orig 2025-09-11 13:19:19 UTC
+++ components/eye_dropper/eye_dropper_view.cc
-@@ -206,7 +206,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent,
+@@ -215,7 +215,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent,
// EyeDropper/WidgetDelegate.
set_owned_by_client(OwnedByClientPassKey());
SetPreferredSize(GetSize());
diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc b/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc
index a0a5da5b4592..04879b93a773 100644
--- a/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc
+++ b/www/iridium/files/patch-components_feature__engagement_public_feature__configurations.cc
@@ -1,4 +1,4 @@
---- components/feature_engagement/public/feature_configurations.cc.orig 2025-06-19 07:37:57 UTC
+--- components/feature_engagement/public/feature_configurations.cc.orig 2025-09-11 13:19:19 UTC
+++ components/feature_engagement/public/feature_configurations.cc
@@ -100,7 +100,7 @@ std::optional<FeatureConfig> CreateNewUserGestureInPro
@@ -18,7 +18,7 @@
if (kIPHPasswordsManagementBubbleAfterSaveFeature.name == feature->name) {
FeatureConfig config;
config.valid = true;
-@@ -1851,7 +1851,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi
+@@ -1956,7 +1956,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc
index f61cdaf40d45..0fb266f3be81 100644
--- a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc
+++ b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.cc
@@ -1,7 +1,7 @@
---- components/feature_engagement/public/feature_constants.cc.orig 2025-06-19 07:37:57 UTC
+--- components/feature_engagement/public/feature_constants.cc.orig 2025-09-11 13:19:19 UTC
+++ components/feature_engagement/public/feature_constants.cc
-@@ -19,7 +19,7 @@ BASE_FEATURE(kIPHDemoMode, "IPH_DemoMode", base::FEATU
- BASE_FEATURE(kIPHDummyFeature, "IPH_Dummy", base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -34,7 +34,7 @@ bool IsOnDeviceStorageEnabled() {
+ }
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
BASE_FEATURE(kEsbDownloadRowPromoFeature,
"EsbDownloadRowPromo",
-@@ -759,7 +759,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment,
+@@ -829,7 +829,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment,
#endif // BUILDFLAG(IS_IOS)
@@ -18,7 +18,7 @@
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
BASE_FEATURE(kIPHAutofillBnplAffirmOrZipSuggestionFeature,
"IPH_AutofillBnplAffirmOrZipSuggestion",
-@@ -909,7 +909,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature,
+@@ -985,7 +985,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h
index a38bd98e1e9b..1834cb144b10 100644
--- a/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h
+++ b/www/iridium/files/patch-components_feature__engagement_public_feature__constants.h
@@ -1,6 +1,6 @@
---- components/feature_engagement/public/feature_constants.h.orig 2025-06-19 07:37:57 UTC
+--- components/feature_engagement/public/feature_constants.h.orig 2025-09-11 13:19:19 UTC
+++ components/feature_engagement/public/feature_constants.h
-@@ -27,7 +27,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDemoMode);
+@@ -31,7 +31,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDemoMode);
FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDummyFeature);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
FEATURE_CONSTANTS_DECLARE_FEATURE(kEsbDownloadRowPromoFeature);
#endif
-@@ -336,7 +336,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefaultBrowserTrigg
+@@ -371,7 +371,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefaultBrowserTrigg
#endif // BUILDFLAG(IS_IOS)
@@ -18,7 +18,7 @@
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHAutofillBnplAffirmOrZipSuggestionFeature);
FEATURE_CONSTANTS_DECLARE_FEATURE(
-@@ -397,7 +397,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphHelpA
+@@ -435,7 +435,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphHelpA
FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphGamingFeature);
#endif
diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc b/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc
index 7ddf5068eac6..238cc222f4df 100644
--- a/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc
+++ b/www/iridium/files/patch-components_feature__engagement_public_feature__list.cc
@@ -1,7 +1,7 @@
---- components/feature_engagement/public/feature_list.cc.orig 2025-06-19 07:37:57 UTC
+--- components/feature_engagement/public/feature_list.cc.orig 2025-09-11 13:19:19 UTC
+++ components/feature_engagement/public/feature_list.cc
-@@ -186,7 +186,7 @@ const base::Feature* const kAllFeatures[] = {
- &kIPHiOSWelcomeBackFeature,
+@@ -198,7 +198,7 @@ const base::Feature* const kAllFeatures[] = {
+ &kIPHiOSHomepageCustomizationNewBadge,
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
&kEsbDownloadRowPromoFeature,
#endif
-@@ -261,7 +261,7 @@ const base::Feature* const kAllFeatures[] = {
+@@ -271,7 +271,7 @@ const base::Feature* const kAllFeatures[] = {
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -18,7 +18,7 @@
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
&kIPHAutofillAiOptInFeature,
&kIPHAutofillBnplAffirmOrZipSuggestionFeature,
-@@ -316,7 +316,7 @@ const base::Feature* const kAllFeatures[] = {
+@@ -328,7 +328,7 @@ const base::Feature* const kAllFeatures[] = {
&kIPHScalableIphGamingFeature,
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-components_feature__engagement_public_feature__list.h b/www/iridium/files/patch-components_feature__engagement_public_feature__list.h
index d6090c34b58b..21520ddd08eb 100644
--- a/www/iridium/files/patch-components_feature__engagement_public_feature__list.h
+++ b/www/iridium/files/patch-components_feature__engagement_public_feature__list.h
@@ -1,6 +1,6 @@
---- components/feature_engagement/public/feature_list.h.orig 2025-06-19 07:37:57 UTC
+--- components/feature_engagement/public/feature_list.h.orig 2025-09-11 13:19:19 UTC
+++ components/feature_engagement/public/feature_list.h
-@@ -332,7 +332,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSWelcomeBackFeature, "IPH
+@@ -353,7 +353,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSHomepageCustomizationNew
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
DEFINE_VARIATION_PARAM(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo");
#endif
-@@ -453,7 +453,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF
+@@ -471,7 +471,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -19,7 +19,7 @@
DEFINE_VARIATION_PARAM(kIPHAutofillAiOptInFeature, "IPH_AutofillAiOptIn");
DEFINE_VARIATION_PARAM(kIPHAutofillBnplAffirmOrZipSuggestionFeature,
"IPH_AutofillBnplAffirmOrZipSuggestion");
-@@ -549,7 +550,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHelpAppBasedTenF
+@@ -571,7 +572,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHelpAppBasedTenF
DEFINE_VARIATION_PARAM(kIPHScalableIphGamingFeature, "IPH_ScalableIphGaming");
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -28,16 +28,16 @@
DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunch,
"IPH_DesktopPWAsLinkCapturingLaunch");
DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunchAppInTab,
-@@ -735,7 +736,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
- VARIATION_ENTRY(kIPHiOSDownloadAutoDeletionFeature),
- VARIATION_ENTRY(kIPHiOSWelcomeBackFeature),
+@@ -765,7 +766,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
+ VARIATION_ENTRY(kIPHiOSSafariImportFeature),
+ VARIATION_ENTRY(kIPHIOSPageActionMenu),
#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- VARIATION_ENTRY(kIPHAutofillEnableLoyaltyCardsFeature),
VARIATION_ENTRY(kIPHBatterySaverModeFeature),
VARIATION_ENTRY(kIPHCompanionSidePanelFeature),
-@@ -798,7 +799,8 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
+ VARIATION_ENTRY(kIPHCompanionSidePanelRegionSearchFeature),
+@@ -825,7 +826,8 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -47,7 +47,7 @@
VARIATION_ENTRY(kIPHAutofillAiOptInFeature),
VARIATION_ENTRY(kIPHAutofillCreditCardBenefitFeature),
VARIATION_ENTRY(kIPHAutofillCardInfoRetrievalSuggestionFeature),
-@@ -851,7 +853,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
+@@ -879,7 +881,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
VARIATION_ENTRY(kIPHScalableIphGamingFeature),
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc b/www/iridium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc
index 73dcdd4bb3c1..e11c99951d9d 100644
--- a/www/iridium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc
+++ b/www/iridium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc
@@ -1,6 +1,6 @@
---- components/feed/core/v2/feed_network_impl_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- components/feed/core/v2/feed_network_impl_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ components/feed/core/v2/feed_network_impl_unittest.cc
-@@ -747,8 +747,8 @@ TEST_F(FeedNetworkTest, SendApiRequest_DecodesClientIn
+@@ -746,8 +746,8 @@ TEST_F(FeedNetworkTest, SendApiRequest_DecodesClientIn
EXPECT_EQ(feedwire::ClientInfo::CHROME_ANDROID, client_info.app_type());
EXPECT_EQ(feedwire::Version::RELEASE, client_info.app_version().build_type());
diff --git a/www/iridium/files/patch-components_feed_core_v2_proto__util.cc b/www/iridium/files/patch-components_feed_core_v2_proto__util.cc
index 8fdca0eab096..44663708b7ae 100644
--- a/www/iridium/files/patch-components_feed_core_v2_proto__util.cc
+++ b/www/iridium/files/patch-components_feed_core_v2_proto__util.cc
@@ -1,6 +1,6 @@
---- components/feed/core/v2/proto_util.cc.orig 2025-05-07 06:48:23 UTC
+--- components/feed/core/v2/proto_util.cc.orig 2025-09-11 13:19:19 UTC
+++ components/feed/core/v2/proto_util.cc
-@@ -93,8 +93,8 @@ feedwire::Version GetPlatformVersionMessage() {
+@@ -92,8 +92,8 @@ feedwire::Version GetPlatformVersionMessage() {
int32_t major, minor, revision;
base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &revision);
@@ -11,7 +11,7 @@
result.set_revision(revision);
#if BUILDFLAG(IS_ANDROID)
result.set_api_version(base::android::BuildInfo::GetInstance()->sdk_int());
-@@ -109,8 +109,8 @@ feedwire::Version GetAppVersionMessage(const ChromeInf
+@@ -108,8 +108,8 @@ feedwire::Version GetAppVersionMessage(const ChromeInf
// Chrome's version is in the format: MAJOR,MINOR,BUILD,PATCH.
const std::vector<uint32_t>& numbers = chrome_info.version.components();
if (numbers.size() > 3) {
diff --git a/www/iridium/files/patch-components_feed_core_v2_proto__util__unittest.cc b/www/iridium/files/patch-components_feed_core_v2_proto__util__unittest.cc
index 339f5dd920eb..85b25e7445be 100644
--- a/www/iridium/files/patch-components_feed_core_v2_proto__util__unittest.cc
+++ b/www/iridium/files/patch-components_feed_core_v2_proto__util__unittest.cc
@@ -1,6 +1,6 @@
---- components/feed/core/v2/proto_util_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- components/feed/core/v2/proto_util_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ components/feed/core/v2/proto_util_unittest.cc
-@@ -43,8 +43,8 @@ TEST(ProtoUtilTest, CreateClientInfo) {
+@@ -42,8 +42,8 @@ TEST(ProtoUtilTest, CreateClientInfo) {
feedwire::ClientInfo result = CreateClientInfo(request_metadata);
EXPECT_EQ(feedwire::ClientInfo::CHROME_ANDROID, result.app_type());
EXPECT_EQ(feedwire::Version::RELEASE, result.app_version().build_type());
diff --git a/www/iridium/files/patch-components_gwp__asan_client_gwp__asan.cc b/www/iridium/files/patch-components_gwp__asan_client_gwp__asan.cc
index 1a62e596fe77..830dd5f33e03 100644
--- a/www/iridium/files/patch-components_gwp__asan_client_gwp__asan.cc
+++ b/www/iridium/files/patch-components_gwp__asan_client_gwp__asan.cc
@@ -1,6 +1,6 @@
---- components/gwp_asan/client/gwp_asan.cc.orig 2025-05-07 06:48:23 UTC
+--- components/gwp_asan/client/gwp_asan.cc.orig 2025-09-11 13:19:19 UTC
+++ components/gwp_asan/client/gwp_asan.cc
-@@ -76,7 +76,7 @@ namespace {
+@@ -81,7 +81,7 @@ namespace {
// ProcessSamplingBoost is the multiplier to increase the
// ProcessSamplingProbability in scenarios where we want to perform additional
// testing (e.g., on canary/dev builds).
diff --git a/www/iridium/files/patch-components_gwp__asan_client_gwp__asan__features.cc b/www/iridium/files/patch-components_gwp__asan_client_gwp__asan__features.cc
index d88da304c2f5..34d97e4309ba 100644
--- a/www/iridium/files/patch-components_gwp__asan_client_gwp__asan__features.cc
+++ b/www/iridium/files/patch-components_gwp__asan_client_gwp__asan__features.cc
@@ -1,4 +1,4 @@
---- components/gwp_asan/client/gwp_asan_features.cc.orig 2025-05-07 06:48:23 UTC
+--- components/gwp_asan/client/gwp_asan_features.cc.orig 2025-09-11 13:19:19 UTC
+++ components/gwp_asan/client/gwp_asan_features.cc
@@ -9,7 +9,7 @@
namespace gwp_asan::internal {
@@ -9,3 +9,12 @@
(BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS))
constexpr base::FeatureState kDefaultEnabled = base::FEATURE_ENABLED_BY_DEFAULT;
#else
+@@ -72,7 +72,7 @@ GWP_ASAN_EXPORT extern const base::FeatureParam<int>
+ kGwpAsanMallocGpuAllocationSamplingRange{&kGwpAsanMalloc,
+ "GpuAllocationSamplingRange", 16};
+
+-#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+
+ // Browser reservation params.
+ GWP_ASAN_EXPORT extern const base::FeatureParam<int>
diff --git a/www/iridium/files/patch-components_media__router_common_media__source.cc b/www/iridium/files/patch-components_media__router_common_media__source.cc
index d164c77dea9d..8c74914627e6 100644
--- a/www/iridium/files/patch-components_media__router_common_media__source.cc
+++ b/www/iridium/files/patch-components_media__router_common_media__source.cc
@@ -1,11 +1,11 @@
---- components/media_router/common/media_source.cc.orig 2025-06-19 07:37:57 UTC
+--- components/media_router/common/media_source.cc.orig 2025-09-11 13:19:19 UTC
+++ components/media_router/common/media_source.cc
-@@ -58,7 +58,7 @@ bool IsSystemAudioCaptureSupported() {
- if (!media::IsSystemLoopbackCaptureSupported()) {
- return false;
- }
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+@@ -62,7 +62,7 @@ bool IsSystemAudioCaptureSupported() {
+ #if BUILDFLAG(IS_MAC)
+ return media::IsMacSckSystemLoopbackCaptureSupported() ||
+ base::FeatureList::IsEnabled(media::kMacCatapLoopbackAudioForCast);
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return base::FeatureList::IsEnabled(media::kPulseaudioLoopbackForCast);
#else
return true;
diff --git a/www/iridium/files/patch-components_metrics_dwa_dwa__service.cc b/www/iridium/files/patch-components_metrics_dwa_dwa__service.cc
index 1acbb268bbcf..f4df436b3074 100644
--- a/www/iridium/files/patch-components_metrics_dwa_dwa__service.cc
+++ b/www/iridium/files/patch-components_metrics_dwa_dwa__service.cc
@@ -1,6 +1,6 @@
---- components/metrics/dwa/dwa_service.cc.orig 2025-05-07 06:48:23 UTC
+--- components/metrics/dwa/dwa_service.cc.orig 2025-09-11 13:19:19 UTC
+++ components/metrics/dwa/dwa_service.cc
-@@ -162,7 +162,7 @@ void DwaService::RecordCoarseSystemInformation(
+@@ -187,7 +187,7 @@ void DwaService::RecordCoarseSystemInformation(
coarse_system_info->set_platform(::dwa::CoarseSystemInfo::PLATFORM_WINDOWS);
#elif BUILDFLAG(IS_MAC)
coarse_system_info->set_platform(::dwa::CoarseSystemInfo::PLATFORM_MACOS);
diff --git a/www/iridium/files/patch-components_metrics_metrics__log.cc b/www/iridium/files/patch-components_metrics_metrics__log.cc
index 5fc68336002c..5910ba2ed420 100644
--- a/www/iridium/files/patch-components_metrics_metrics__log.cc
+++ b/www/iridium/files/patch-components_metrics_metrics__log.cc
@@ -1,6 +1,6 @@
---- components/metrics/metrics_log.cc.orig 2025-05-07 06:48:23 UTC
+--- components/metrics/metrics_log.cc.orig 2025-09-11 13:19:19 UTC
+++ components/metrics/metrics_log.cc
-@@ -62,7 +62,7 @@
+@@ -58,7 +58,7 @@
#include "base/win/current_module.h"
#endif
@@ -9,7 +9,7 @@
#include "base/environment.h"
#include "base/nix/xdg_util.h"
#endif
-@@ -158,7 +158,7 @@ void RecordCurrentTime(
+@@ -154,7 +154,7 @@ void RecordCurrentTime(
}
}
@@ -18,7 +18,7 @@
metrics::SystemProfileProto::OS::XdgSessionType ToProtoSessionType(
base::nix::SessionType session_type) {
switch (session_type) {
-@@ -441,7 +441,7 @@ void MetricsLog::RecordCoreSystemProfile(
+@@ -439,7 +439,7 @@ void MetricsLog::RecordCoreSystemProfile(
// OperatingSystemVersion refers to the ChromeOS release version.
#if BUILDFLAG(IS_CHROMEOS)
os->set_kernel_version(base::SysInfo::KernelVersion());
@@ -27,7 +27,7 @@
// Linux operating system version is copied over into kernel version to be
// consistent.
os->set_kernel_version(base::SysInfo::OperatingSystemVersion());
-@@ -458,7 +458,7 @@ void MetricsLog::RecordCoreSystemProfile(
+@@ -456,7 +456,7 @@ void MetricsLog::RecordCoreSystemProfile(
os->set_build_number(base::SysInfo::GetIOSBuildNumber());
#endif
diff --git a/www/iridium/files/patch-components_optimization__guide_core_optimization__guide__features.cc b/www/iridium/files/patch-components_optimization__guide_core_optimization__guide__features.cc
index 76ef522576a6..c0dd62e288a8 100644
--- a/www/iridium/files/patch-components_optimization__guide_core_optimization__guide__features.cc
+++ b/www/iridium/files/patch-components_optimization__guide_core_optimization__guide__features.cc
@@ -1,11 +1,11 @@
---- components/optimization_guide/core/optimization_guide_features.cc.orig 2025-05-07 06:48:23 UTC
+--- components/optimization_guide/core/optimization_guide_features.cc.orig 2025-09-11 13:19:19 UTC
+++ components/optimization_guide/core/optimization_guide_features.cc
-@@ -136,7 +136,7 @@ BASE_FEATURE(kOptimizationGuideModelExecution,
- // Whether to use the on device model service in optimization guide.
+@@ -119,7 +119,7 @@ BASE_FEATURE(kOptimizationGuideModelExecution,
BASE_FEATURE(kOptimizationGuideOnDeviceModel,
"OptimizationGuideOnDeviceModel",
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT);
#else
base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_os__crypt_sync_os__crypt.h b/www/iridium/files/patch-components_os__crypt_sync_os__crypt.h
index 0902ed08f88a..a2266b6e10fa 100644
--- a/www/iridium/files/patch-components_os__crypt_sync_os__crypt.h
+++ b/www/iridium/files/patch-components_os__crypt_sync_os__crypt.h
@@ -1,15 +1,15 @@
---- components/os_crypt/sync/os_crypt.h.orig 2025-05-07 06:48:23 UTC
+--- components/os_crypt/sync/os_crypt.h.orig 2025-09-11 13:19:19 UTC
+++ components/os_crypt/sync/os_crypt.h
-@@ -16,7 +16,7 @@
- #include "build/chromecast_buildflags.h"
- #include "crypto/subtle_passkey.h"
+@@ -23,7 +23,7 @@ class Keychain;
+ }
+ #endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
class KeyStorageLinux;
#endif // BUILDFLAG(IS_LINUX)
-@@ -32,7 +32,7 @@ struct Config;
+@@ -39,7 +39,7 @@ struct Config;
// Temporary interface due to OSCrypt refactor. See OSCryptImpl for descriptions
// of what each function does.
namespace OSCrypt {
@@ -18,7 +18,7 @@
COMPONENT_EXPORT(OS_CRYPT)
void SetConfig(std::unique_ptr<os_crypt::Config> config);
#endif // BUILDFLAG(IS_LINUX)
-@@ -77,7 +77,7 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockKeyForTesting(b
+@@ -84,7 +84,7 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockKeyForTesting(b
COMPONENT_EXPORT(OS_CRYPT) void SetLegacyEncryptionForTesting(bool legacy);
COMPONENT_EXPORT(OS_CRYPT) void ResetStateForTesting();
#endif // BUILDFLAG(IS_WIN)
@@ -27,7 +27,7 @@
COMPONENT_EXPORT(OS_CRYPT)
void UseMockKeyStorageForTesting(
base::OnceCallback<std::unique_ptr<KeyStorageLinux>()>
-@@ -111,7 +111,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
+@@ -118,7 +118,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
// Returns singleton instance of OSCryptImpl.
static OSCryptImpl* GetInstance();
@@ -36,7 +36,7 @@
// Set the configuration of OSCryptImpl.
// This method, or SetRawEncryptionKey(), must be called before using
// EncryptString() and DecryptString().
-@@ -207,7 +207,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
+@@ -214,7 +214,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
void ResetStateForTesting();
#endif
@@ -45,7 +45,7 @@
// For unit testing purposes, inject methods to be used.
// |storage_provider_factory| provides the desired |KeyStorage|
// implementation. If the provider returns |nullptr|, a hardcoded password
-@@ -231,13 +231,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
+@@ -241,13 +241,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
bool DeriveKey();
#endif // BUILDFLAG(IS_APPLE)
diff --git a/www/iridium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc b/www/iridium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc
index 1876216166b9..62b576b3e17a 100644
--- a/www/iridium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc
+++ b/www/iridium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc
@@ -1,6 +1,6 @@
---- components/paint_preview/browser/paint_preview_client_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- components/paint_preview/browser/paint_preview_client_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ components/paint_preview/browser/paint_preview_client_unittest.cc
-@@ -174,8 +174,8 @@ TEST_P(PaintPreviewClientRenderViewHostTest, CaptureMa
+@@ -172,8 +172,8 @@ TEST_P(PaintPreviewClientRenderViewHostTest, CaptureMa
metadata->set_version(kPaintPreviewVersion);
auto* chromeVersion = metadata->mutable_chrome_version();
const auto& current_chrome_version = version_info::GetVersion();
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc
index 76b3fecfd46b..5ed437b855c3 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/features/password_features.cc.orig 2025-06-19 07:37:57 UTC
+--- components/password_manager/core/browser/features/password_features.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/features/password_features.cc
-@@ -40,7 +40,7 @@ BASE_FEATURE(kClearUndecryptablePasswords,
+@@ -62,7 +62,7 @@ BASE_FEATURE(kClearUndecryptablePasswords,
BASE_FEATURE(kClearUndecryptablePasswordsOnSync,
"ClearUndecryptablePasswordsInSync",
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \
@@ -9,7 +9,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -116,7 +116,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPasswordHashes,
+@@ -131,7 +131,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPasswordHashes,
"ReuseDetectionBasedOnPasswordHashes",
base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h
index f543dc0a0ed6..6a5e4a9469ef 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h
+++ b/www/iridium/files/patch-components_password__manager_core_browser_features_password__features.h
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/features/password_features.h.orig 2025-06-19 07:37:57 UTC
+--- components/password_manager/core/browser/features/password_features.h.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/features/password_features.h
-@@ -114,7 +114,7 @@ BASE_DECLARE_FEATURE(kPostponeOnLoginSuccessful);
+@@ -131,7 +131,7 @@ BASE_DECLARE_FEATURE(kPasswordManagerLogToTerminal);
// Detects password reuse based on hashed password values.
BASE_DECLARE_FEATURE(kReuseDetectionBasedOnPasswordHashes);
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc
new file mode 100644
index 000000000000..66b9cd15ce40
--- /dev/null
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc
@@ -0,0 +1,20 @@
+--- components/password_manager/core/browser/password_autofill_manager.cc.orig 2025-09-11 13:19:19 UTC
++++ components/password_manager/core/browser/password_autofill_manager.cc
+@@ -308,7 +308,7 @@ void PasswordAutofillManager::DidAcceptSuggestion(
+ weak_ptr_factory_.GetWeakPtr(), *password_credential);
+ if (password_credential->is_grouped_affiliation) {
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ cross_domain_confirmation_controller_ =
+ password_client_->ShowCrossDomainConfirmationPopup(
+ last_popup_open_args_.element_bounds,
+@@ -538,7 +538,7 @@ void PasswordAutofillManager::DidNavigateMainFrame() {
+ manual_fallback_metrics_recorder_ =
+ std::make_unique<PasswordManualFallbackMetricsRecorder>();
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ cross_domain_confirmation_controller_.reset();
+ #endif
+ wait_for_passkeys_timer_.Stop();
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.h b/www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.h
new file mode 100644
index 000000000000..26decb6ba99d
--- /dev/null
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__autofill__manager.h
@@ -0,0 +1,11 @@
+--- components/password_manager/core/browser/password_autofill_manager.h.orig 2025-09-11 13:19:19 UTC
++++ components/password_manager/core/browser/password_autofill_manager.h
+@@ -285,7 +285,7 @@ class PasswordAutofillManager : public autofill::Autof
+
+ // Stores the controller of warning popup UI on cross domain filling.
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<PasswordCrossDomainConfirmationPopupController>
+ cross_domain_confirmation_controller_;
+ #endif
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc
index a58cb0084142..9f666de4b98b 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__form__filling.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_form_filling.cc.orig 2025-06-19 07:37:57 UTC
+--- components/password_manager/core/browser/password_form_filling.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_form_filling.cc
-@@ -165,7 +165,7 @@ LikelyFormFilling SendFillInformationToRenderer(
+@@ -178,7 +178,7 @@ LikelyFormFilling SendFillInformationToRenderer(
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__form__manager.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__form__manager.cc
index 2f9dc9d72859..88be79298371 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__form__manager.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__form__manager.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_form_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- components/password_manager/core/browser/password_form_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_form_manager.cc
-@@ -64,7 +64,7 @@
+@@ -66,7 +66,7 @@
#include "components/webauthn/android/webauthn_cred_man_delegate.h"
#endif // BUILDFLAG(IS_ANDROID)
@@ -9,7 +9,7 @@
#include "components/os_crypt/sync/os_crypt.h"
#endif
-@@ -240,7 +240,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest
+@@ -233,7 +233,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest
return false;
}
@@ -18,7 +18,7 @@
bool ShouldShowKeychainErrorBubble(
std::optional<PasswordStoreBackendError> backend_error) {
if (!backend_error.has_value()) {
-@@ -913,7 +913,7 @@ void PasswordFormManager::OnFetchCompleted() {
+@@ -931,7 +931,7 @@ void PasswordFormManager::OnFetchCompleted() {
error.value().type);
}
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc
index bb4c6770d481..2553c29b238c 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__manager.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_manager.cc.orig 2025-06-19 07:37:57 UTC
+--- components/password_manager/core/browser/password_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_manager.cc
-@@ -509,7 +509,7 @@ void PasswordManager::RegisterProfilePrefs(
+@@ -586,7 +586,7 @@ void PasswordManager::RegisterProfilePrefs(
prefs::kAutofillableCredentialsAccountStoreLoginDatabase, false);
#endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
registry->RegisterBooleanPref(prefs::kPasswordSharingEnabled, true);
@@ -9,7 +9,7 @@
registry->RegisterIntegerPref(prefs::kRelaunchChromeBubbleDismissedCounter,
0);
#endif
-@@ -522,7 +522,7 @@ void PasswordManager::RegisterProfilePrefs(
+@@ -599,7 +599,7 @@ void PasswordManager::RegisterProfilePrefs(
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__manager__client.h b/www/iridium/files/patch-components_password__manager_core_browser_password__manager__client.h
index 8db4c0cb8b66..efbaf1d83695 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__manager__client.h
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__manager__client.h
@@ -1,4 +1,4 @@
---- components/password_manager/core/browser/password_manager_client.h.orig 2025-05-07 06:48:23 UTC
+--- components/password_manager/core/browser/password_manager_client.h.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_manager_client.h
@@ -31,7 +31,7 @@
#include "net/cert/cert_status_flags.h"
@@ -9,7 +9,7 @@
#include "base/i18n/rtl.h"
#include "components/password_manager/core/browser/password_cross_domain_confirmation_popup_controller.h"
#include "ui/gfx/geometry/rect_f.h"
-@@ -533,7 +533,7 @@ class PasswordManagerClient {
+@@ -545,7 +545,7 @@ class PasswordManagerClient {
virtual void TriggerSignIn(signin_metrics::AccessPoint access_point) const;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc
index 41bb46802b9d..d66ecb30bdd3 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc
@@ -1,4 +1,4 @@
---- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2025-06-19 07:37:57 UTC
+--- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_manual_fallback_flow.cc
@@ -46,7 +46,7 @@ std::u16string GetUsernameFromLabel(const std::u16stri
}
@@ -9,7 +9,7 @@
// Returns the password form corresponding to the `payload` data. In most
// cases there is only one such form stored, but having more than one or no
// forms is also possible. If there is more than one form, showing any of them
-@@ -297,7 +297,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion(
+@@ -300,7 +300,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion(
}
case autofill::SuggestionType::kViewPasswordDetails: {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -18,12 +18,12 @@
std::optional<password_manager::PasswordForm> credentials =
GetCorrespondingPasswordForm(
suggestion.GetPayload<Suggestion::PasswordSuggestionDetails>(),
-@@ -427,7 +427,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass
+@@ -436,7 +436,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass
const Suggestion::PasswordSuggestionDetails& payload,
base::OnceClosure on_allowed) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
if (payload.is_cross_domain) {
+ CHECK(payload.display_signon_realm);
cross_domain_confirmation_popup_controller_ =
- password_client_->ShowCrossDomainConfirmationPopup(
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h b/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h
index 598716cdc417..8651fa4fb75e 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h
@@ -1,4 +1,4 @@
---- components/password_manager/core/browser/password_manual_fallback_flow.h.orig 2025-05-07 06:48:23 UTC
+--- components/password_manager/core/browser/password_manual_fallback_flow.h.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_manual_fallback_flow.h
@@ -19,7 +19,7 @@
#include "components/password_manager/core/browser/ui/saved_passwords_presenter.h"
@@ -9,7 +9,7 @@
#include "components/password_manager/core/browser/password_cross_domain_confirmation_popup_controller.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -180,7 +180,7 @@ class PasswordManualFallbackFlow : public autofill::Au
+@@ -183,7 +183,7 @@ class PasswordManualFallbackFlow : public autofill::Au
std::unique_ptr<device_reauth::DeviceAuthenticator> authenticator_;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc
index 58aa8f09d255..298199ed3f78 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_store_factory_util.cc.orig 2025-05-07 06:48:23 UTC
+--- components/password_manager/core/browser/password_store_factory_util.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_store_factory_util.cc
-@@ -29,7 +29,7 @@ namespace {
+@@ -30,7 +30,7 @@ namespace {
LoginDatabase::DeletingUndecryptablePasswordsEnabled GetPolicyFromPrefs(
PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database.cc
index f02d5f14c9a4..1b65363fe229 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_store/login_database.cc.orig 2025-05-07 06:48:23 UTC
+--- components/password_manager/core/browser/password_store/login_database.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_store/login_database.cc
-@@ -1030,7 +1030,7 @@ bool ShouldDeleteUndecryptablePasswords(
+@@ -1036,7 +1036,7 @@ bool ShouldDeleteUndecryptablePasswords(
bool is_user_data_dir_policy_set,
bool is_enabled_by_policy,
IsAccountStore is_account_store) {
@@ -9,7 +9,7 @@
std::unique_ptr<base::Environment> environment(base::Environment::Create());
// On Linux user data directory ca be specified using an env variable. If it
// exists, passwords shouldn't be deleted.
-@@ -1048,7 +1048,7 @@ bool ShouldDeleteUndecryptablePasswords(
+@@ -1054,7 +1054,7 @@ bool ShouldDeleteUndecryptablePasswords(
return false;
}
diff --git a/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc b/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc
index 7bfd92212be1..bb8764d3cf15 100644
--- a/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc
+++ b/www/iridium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2025-06-19 07:37:57 UTC
+--- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/browser/password_store/login_database_unittest.cc
-@@ -2303,7 +2303,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent,
+@@ -2305,7 +2305,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent,
testing::Bool()));
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \
diff --git a/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h b/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h
index 3573e94514a6..90a3fe8dc9cf 100644
--- a/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h
+++ b/www/iridium/files/patch-components_password__manager_core_common_password__manager__pref__names.h
@@ -1,4 +1,4 @@
---- components/password_manager/core/common/password_manager_pref_names.h.orig 2025-06-19 07:37:57 UTC
+--- components/password_manager/core/common/password_manager_pref_names.h.orig 2025-09-11 13:19:19 UTC
+++ components/password_manager/core/common/password_manager_pref_names.h
@@ -59,7 +59,7 @@ inline constexpr char kCredentialProviderEnabledOnStar
#endif
@@ -9,7 +9,7 @@
// Boolean pref controlled by the DeletingUndecryptablePasswordsEnabled policy.
// If set to false it blocks deleting undecryptable passwords, otherwise the
// deletion can happen.
-@@ -350,7 +350,7 @@ inline constexpr char kAutofillableCredentialsAccountS
+@@ -285,7 +285,7 @@ inline constexpr char kAutofillableCredentialsAccountS
inline constexpr char kPasswordSharingEnabled[] =
"password_manager.password_sharing_enabled";
diff --git a/www/iridium/files/patch-components_permissions_prediction__service_prediction__common.cc b/www/iridium/files/patch-components_permissions_prediction__service_prediction__common.cc
index 4099ffbbb05f..21174c7f4e13 100644
--- a/www/iridium/files/patch-components_permissions_prediction__service_prediction__common.cc
+++ b/www/iridium/files/patch-components_permissions_prediction__service_prediction__common.cc
@@ -1,6 +1,6 @@
---- components/permissions/prediction_service/prediction_common.cc.orig 2025-05-07 06:48:23 UTC
+--- components/permissions/prediction_service/prediction_common.cc.orig 2025-09-11 13:19:19 UTC
+++ components/permissions/prediction_service/prediction_common.cc
-@@ -34,7 +34,7 @@ int BucketizeValue(int count) {
+@@ -36,7 +36,7 @@ int BucketizeValue(int count) {
ClientFeatures_Platform GetCurrentPlatformProto() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
return permissions::ClientFeatures_Platform_PLATFORM_DESKTOP;
#elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
return permissions::ClientFeatures_Platform_PLATFORM_MOBILE;
-@@ -45,7 +45,7 @@ ClientFeatures_Platform GetCurrentPlatformProto() {
+@@ -47,7 +47,7 @@ ClientFeatures_Platform GetCurrentPlatformProto() {
ClientFeatures_PlatformEnum GetCurrentPlatformEnumProto() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/iridium/files/patch-components_policy_core_browser_url__blocklist__manager.cc b/www/iridium/files/patch-components_policy_core_browser_url__blocklist__manager.cc
new file mode 100644
index 000000000000..a121cd9d07e2
--- /dev/null
+++ b/www/iridium/files/patch-components_policy_core_browser_url__blocklist__manager.cc
@@ -0,0 +1,11 @@
+--- components/policy/core/browser/url_blocklist_manager.cc.orig 2025-09-11 13:19:19 UTC
++++ components/policy/core/browser/url_blocklist_manager.cc
+@@ -377,7 +377,7 @@ void URLBlocklistManager::RegisterProfilePrefs(
+ policy_prefs::kSafeSitesFilterBehavior,
+ static_cast<int>(SafeSitesFilterBehavior::kSafeSitesFilterDisabled));
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ registry->RegisterListPref(policy_prefs::kPasswordManagerBlocklist);
+ #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
+ // BUILDFLAG(IS_MAC)
diff --git a/www/iridium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc b/www/iridium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc
index 68bdbc8412e1..3173ed248876 100644
--- a/www/iridium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc
+++ b/www/iridium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc
@@ -1,6 +1,6 @@
---- components/policy/core/common/cloud/cloud_policy_client.cc.orig 2025-05-07 06:48:23 UTC
+--- components/policy/core/common/cloud/cloud_policy_client.cc.orig 2025-09-11 13:19:19 UTC
+++ components/policy/core/common/cloud/cloud_policy_client.cc
-@@ -742,7 +742,7 @@ void CloudPolicyClient::FetchPolicy(PolicyFetchReason
+@@ -756,7 +756,7 @@ void CloudPolicyClient::FetchPolicy(PolicyFetchReason
fetch_request->set_invalidation_payload(invalidation_payload_);
}
}
diff --git a/www/iridium/files/patch-components_policy_core_common_policy__loader__common.cc b/www/iridium/files/patch-components_policy_core_common_policy__loader__common.cc
index 73ad2fb3b9d2..51517edc493a 100644
--- a/www/iridium/files/patch-components_policy_core_common_policy__loader__common.cc
+++ b/www/iridium/files/patch-components_policy_core_common_policy__loader__common.cc
@@ -1,4 +1,4 @@
---- components/policy/core/common/policy_loader_common.cc.orig 2025-05-07 06:48:23 UTC
+--- components/policy/core/common/policy_loader_common.cc.orig 2025-09-11 13:19:19 UTC
+++ components/policy/core/common/policy_loader_common.cc
@@ -46,7 +46,7 @@ const char* kSensitivePolicies[] = {
key::kDefaultSearchProviderEnabled,
@@ -16,5 +16,5 @@
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
key::kCommandLineFlagSecurityWarningsEnabled,
- #endif
- #if !BUILDFLAG(IS_IOS)
+ key::kEnterpriseCustomLabelForBrowser,
+ key::kEnterpriseLogoUrlForBrowser,
diff --git a/www/iridium/files/patch-components_policy_core_common_policy__pref__names.cc b/www/iridium/files/patch-components_policy_core_common_policy__pref__names.cc
new file mode 100644
index 000000000000..f597d442d1ec
--- /dev/null
+++ b/www/iridium/files/patch-components_policy_core_common_policy__pref__names.cc
@@ -0,0 +1,11 @@
+--- components/policy/core/common/policy_pref_names.cc.orig 2025-09-11 13:19:19 UTC
++++ components/policy/core/common/policy_pref_names.cc
+@@ -199,7 +199,7 @@ const char kFloatingWorkspaceEnabled[] = "ash.floating
+ // A boolean value indicating whether the built-in AI APIs are enabled.
+ const char kBuiltInAIAPIsEnabled[] = "policy.built_in_ai_apis_enabled";
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ // List of urls for which password manager is disabled/blocked.
+ const char kPasswordManagerBlocklist[] = "policy.password_manager_blocklist";
+ #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
diff --git a/www/iridium/files/patch-components_policy_core_common_policy__pref__names.h b/www/iridium/files/patch-components_policy_core_common_policy__pref__names.h
new file mode 100644
index 000000000000..8c011f2ce4fe
--- /dev/null
+++ b/www/iridium/files/patch-components_policy_core_common_policy__pref__names.h
@@ -0,0 +1,11 @@
+--- components/policy/core/common/policy_pref_names.h.orig 2025-09-11 13:19:19 UTC
++++ components/policy/core/common/policy_pref_names.h
+@@ -94,7 +94,7 @@ extern const char kFloatingWorkspaceEnabled[];
+ #endif
+ extern const char kBuiltInAIAPIsEnabled[];
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ extern const char kPasswordManagerBlocklist[];
+ #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
diff --git a/www/iridium/files/patch-components_power__metrics_energy__metrics__provider.cc b/www/iridium/files/patch-components_power__metrics_energy__metrics__provider.cc
index e6892704a86b..d3e69a9ff93f 100644
--- a/www/iridium/files/patch-components_power__metrics_energy__metrics__provider.cc
+++ b/www/iridium/files/patch-components_power__metrics_energy__metrics__provider.cc
@@ -1,11 +1,11 @@
---- components/power_metrics/energy_metrics_provider.cc.orig 2025-05-07 06:48:23 UTC
+--- components/power_metrics/energy_metrics_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ components/power_metrics/energy_metrics_provider.cc
@@ -9,6 +9,8 @@
#include "components/power_metrics/energy_metrics_provider_win.h"
#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#include "components/power_metrics/energy_metrics_provider_linux.h"
+#elif BUILDFLAG(IS_BSD)
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
#endif // BUILDFLAG(IS_WIN)
namespace power_metrics {
diff --git a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc b/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc
deleted file mode 100644
index 18224b50c69d..000000000000
--- a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__service.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- components/regional_capabilities/regional_capabilities_service.cc.orig 2025-06-19 07:37:57 UTC
-+++ components/regional_capabilities/regional_capabilities_service.cc
-@@ -235,7 +235,7 @@ std::optional<CountryId> RegionalCapabilitiesService::
- return persisted_country_id;
- }
-
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (base::FeatureList::IsEnabled(switches::kClearPrefForUnknownCountry)) {
- profile_prefs_->ClearPref(country_codes::kCountryIDAtInstall);
- base::UmaHistogramEnumeration(kUnknownCountryIdStored,
diff --git a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc b/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc
index 5a017d109bdd..a0aac68b74d8 100644
--- a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc
+++ b/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc
@@ -1,11 +1,11 @@
---- components/regional_capabilities/regional_capabilities_switches.cc.orig 2025-05-07 06:48:23 UTC
+--- components/regional_capabilities/regional_capabilities_switches.cc.orig 2025-09-11 13:19:19 UTC
+++ components/regional_capabilities/regional_capabilities_switches.cc
-@@ -6,7 +6,7 @@
+@@ -18,7 +18,7 @@ BASE_FEATURE(kMitigateLegacySearchEnginePromoOverlap,
+ base::FEATURE_DISABLED_BY_DEFAULT);
+ #endif
- namespace switches {
-
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kClearPrefForUnknownCountry,
- "ClearCountryPrefForStoredUnknownCountry",
- base::FEATURE_ENABLED_BY_DEFAULT);
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kUseFinchPermanentCountryForFetchCountryId,
+ "UseFinchPermanentCountyForFetchCountryId",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.h b/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.h
index d40db626b6c9..07ccc2f03466 100644
--- a/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.h
+++ b/www/iridium/files/patch-components_regional__capabilities_regional__capabilities__switches.h
@@ -1,11 +1,11 @@
---- components/regional_capabilities/regional_capabilities_switches.h.orig 2025-05-07 06:48:23 UTC
+--- components/regional_capabilities/regional_capabilities_switches.h.orig 2025-09-11 13:19:19 UTC
+++ components/regional_capabilities/regional_capabilities_switches.h
-@@ -25,7 +25,7 @@ inline constexpr char kSearchEngineChoiceCountry[] =
- inline constexpr char kDefaultListCountryOverride[] = "DEFAULT_EEA";
- inline constexpr char kEeaListCountryOverride[] = "EEA_ALL";
+@@ -33,7 +33,7 @@ inline constexpr char kEeaListCountryOverride[] = "EEA
+ BASE_DECLARE_FEATURE(kMitigateLegacySearchEnginePromoOverlap);
+ #endif
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // When an invalid `country_codes::CountryId` is stored in prefs and this
- // feature is enabled the pref will be cleared allowing a valid country to be
- // set again.
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Use finch permanent country instead of finch latest country for fetching
+ // country ID.
+ BASE_DECLARE_FEATURE(kUseFinchPermanentCountryForFetchCountryId);
diff --git a/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc b/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
index 10ba821a6a37..861b7265f3b7 100644
--- a/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
+++ b/www/iridium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
@@ -1,6 +1,6 @@
---- components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-06-19 07:37:57 UTC
+--- components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-09-11 13:19:19 UTC
+++ components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc
-@@ -113,7 +113,7 @@ RTLookupRequest::OSType GetRTLookupRequestOSType() {
+@@ -112,7 +112,7 @@ RTLookupRequest::OSType GetRTLookupRequestOSType() {
return RTLookupRequest::OS_TYPE_CHROME_OS;
#elif BUILDFLAG(IS_IOS)
return RTLookupRequest::OS_TYPE_IOS;
diff --git a/www/iridium/files/patch-components_search__engines_template__url__service.cc b/www/iridium/files/patch-components_search__engines_template__url__service.cc
index 6a441c005f00..dc6170b11c4a 100644
--- a/www/iridium/files/patch-components_search__engines_template__url__service.cc
+++ b/www/iridium/files/patch-components_search__engines_template__url__service.cc
@@ -1,6 +1,6 @@
---- components/search_engines/template_url_service.cc.orig 2025-06-19 07:37:57 UTC
+--- components/search_engines/template_url_service.cc.orig 2025-09-11 13:19:19 UTC
+++ components/search_engines/template_url_service.cc
-@@ -3557,7 +3557,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider(
+@@ -3591,7 +3591,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider(
std::unique_ptr<EnterpriseSearchManager>
TemplateURLService::GetEnterpriseSearchManager(PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-components_signin_public_base_signin__switches.cc b/www/iridium/files/patch-components_signin_public_base_signin__switches.cc
index 0e12d9064d12..8131c83748f2 100644
--- a/www/iridium/files/patch-components_signin_public_base_signin__switches.cc
+++ b/www/iridium/files/patch-components_signin_public_base_signin__switches.cc
@@ -1,7 +1,7 @@
---- components/signin/public/base/signin_switches.cc.orig 2025-06-19 07:37:57 UTC
+--- components/signin/public/base/signin_switches.cc.orig 2025-09-11 13:19:19 UTC
+++ components/signin/public/base/signin_switches.cc
-@@ -62,7 +62,7 @@ BASE_FEATURE(kUseHostedDomainForManagementCheckOnSigni
- base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -73,7 +73,7 @@ BASE_FEATURE(kSmartEmailLineBreaking,
+ base::FEATURE_ENABLED_BY_DEFAULT);
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -9,3 +9,12 @@
// Enables the History Sync Opt-in on Desktop.
BASE_FEATURE(kEnableHistorySyncOptin,
"EnableHistorySyncOptin",
+@@ -292,7 +292,7 @@ BASE_FEATURE(kSyncEnableBookmarksInTransportMode,
+ #endif // BUILDFLAG(IS_IOS)
+ );
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kSignInPromoMaterialNextUI,
+ "SignInPromoMaterialNextUI",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_signin_public_base_signin__switches.h b/www/iridium/files/patch-components_signin_public_base_signin__switches.h
index ff6a3d5828b6..51b8e2f569cf 100644
--- a/www/iridium/files/patch-components_signin_public_base_signin__switches.h
+++ b/www/iridium/files/patch-components_signin_public_base_signin__switches.h
@@ -1,11 +1,20 @@
---- components/signin/public/base/signin_switches.h.orig 2025-06-19 07:37:57 UTC
+--- components/signin/public/base/signin_switches.h.orig 2025-09-11 13:19:19 UTC
+++ components/signin/public/base/signin_switches.h
-@@ -55,7 +55,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES)
- BASE_DECLARE_FEATURE(kUseHostedDomainForManagementCheckOnSignin);
+@@ -61,7 +61,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+ BASE_DECLARE_FEATURE(kSmartEmailLineBreaking);
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(SIGNIN_SWITCHES)
BASE_DECLARE_FEATURE(kEnableHistorySyncOptin);
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+@@ -222,7 +222,7 @@ BASE_DECLARE_FEATURE(kSyncEnableBookmarksInTransportMo
+ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+ bool IsExtensionsExplicitBrowserSigninEnabled();
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Uses the Material Next theme for the signin promo.
+ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+ BASE_DECLARE_FEATURE(kSignInPromoMaterialNextUI);
diff --git a/www/iridium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc b/www/iridium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc
index a312b9999a3b..01eaf8cd5e9f 100644
--- a/www/iridium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc
+++ b/www/iridium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc
@@ -1,6 +1,6 @@
---- components/startup_metric_utils/common/startup_metric_utils.cc.orig 2025-05-07 06:48:23 UTC
+--- components/startup_metric_utils/common/startup_metric_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ components/startup_metric_utils/common/startup_metric_utils.cc
-@@ -94,7 +94,7 @@ base::TimeTicks CommonStartupMetricRecorder::StartupTi
+@@ -95,7 +95,7 @@ base::TimeTicks CommonStartupMetricRecorder::StartupTi
// Enabling this logic on OS X causes a significant performance regression.
// TODO(crbug.com/40464036): Remove IS_APPLE ifdef once utility processes
// set their desired main thread priority.
diff --git a/www/iridium/files/patch-components_supervised__user_core_browser_child__account__service.cc b/www/iridium/files/patch-components_supervised__user_core_browser_child__account__service.cc
new file mode 100644
index 000000000000..7f2ec240d37b
--- /dev/null
+++ b/www/iridium/files/patch-components_supervised__user_core_browser_child__account__service.cc
@@ -0,0 +1,11 @@
+--- components/supervised_user/core/browser/child_account_service.cc.orig 2025-09-11 13:19:19 UTC
++++ components/supervised_user/core/browser/child_account_service.cc
+@@ -170,7 +170,7 @@ void ChildAccountService::OnPrimaryAccountChanged(
+ void ChildAccountService::UpdateForceGoogleSafeSearch() {
+ // On platforms without web sign-out (where the primary account is always
+ // authenticated), there's no need to force SafeSearch.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ bool is_subject_to_parental_controls =
+ IsPrimaryAccountSubjectToParentalControls(identity_manager_) ==
+ signin::Tribool::kTrue;
diff --git a/www/iridium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc b/www/iridium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc
new file mode 100644
index 000000000000..0194c35bc0ba
--- /dev/null
+++ b/www/iridium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc
@@ -0,0 +1,11 @@
+--- components/supervised_user/core/browser/kids_chrome_management_url_checker_client.cc.orig 2025-09-11 13:19:19 UTC
++++ components/supervised_user/core/browser/kids_chrome_management_url_checker_client.cc
+@@ -66,7 +66,7 @@ void OnResponse(
+ }
+
+ FetcherConfig GetFetcherConfig(bool is_subject_to_parental_controls) {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // Supervised users on these platforms might get into a state where their
+ // credentials are not available, so best-effort access mode is a graceful
+ // fallback here.
diff --git a/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc b/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc
index d1e229406da7..e2951c168e91 100644
--- a/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc
+++ b/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc
@@ -1,9 +1,9 @@
---- components/supervised_user/core/browser/supervised_user_metrics_service.cc.orig 2025-05-07 06:48:23 UTC
+--- components/supervised_user/core/browser/supervised_user_metrics_service.cc.orig 2025-09-11 13:19:19 UTC
+++ components/supervised_user/core/browser/supervised_user_metrics_service.cc
-@@ -47,7 +47,7 @@ SupervisedUserMetricsService::SupervisedUserMetricsSer
- extensions_metrics_delegate_(std::move(extensions_metrics_delegate)) {
+@@ -103,7 +103,7 @@ SupervisedUserMetricsService::SupervisedUserMetricsSer
+ std::move(metrics_service_accessor_delegate)) {
DCHECK(pref_service_);
- DCHECK(url_filter_);
+ supervised_user_service_observation_.Observe(&supervised_user_service);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
CHECK(extensions_metrics_delegate_)
diff --git a/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc b/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc
index 5b087dcf36cf..8fb20d8826af 100644
--- a/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc
+++ b/www/iridium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc
@@ -1,6 +1,6 @@
---- components/supervised_user/core/browser/supervised_user_preferences.cc.orig 2025-05-07 06:48:23 UTC
+--- components/supervised_user/core/browser/supervised_user_preferences.cc.orig 2025-09-11 13:19:19 UTC
+++ components/supervised_user/core/browser/supervised_user_preferences.cc
-@@ -147,7 +147,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry
+@@ -153,7 +153,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry
registry->RegisterBooleanPref(prefs::kChildAccountStatusKnown, false);
registry->RegisterStringPref(prefs::kFamilyLinkUserMemberRole, std::string());
#if BUILDFLAG(ENABLE_EXTENSIONS) && \
diff --git a/www/iridium/files/patch-components_supervised__user_core_common_features.cc b/www/iridium/files/patch-components_supervised__user_core_common_features.cc
index 8b24e0bd608d..551e06c7e1ac 100644
--- a/www/iridium/files/patch-components_supervised__user_core_common_features.cc
+++ b/www/iridium/files/patch-components_supervised__user_core_common_features.cc
@@ -1,54 +1,38 @@
---- components/supervised_user/core/common/features.cc.orig 2025-06-19 07:37:57 UTC
+--- components/supervised_user/core/common/features.cc.orig 2025-09-11 13:19:19 UTC
+++ components/supervised_user/core/common/features.cc
-@@ -37,7 +37,7 @@ BASE_FEATURE(kAllowSubframeLocalWebApprovals,
+@@ -35,7 +35,7 @@ BASE_FEATURE(kAllowSubframeLocalWebApprovals,
#endif
#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
const int kLocalWebApprovalBottomSheetLoadTimeoutDefaultValueMs = 5000;
const base::FeatureParam<int> kLocalWebApprovalBottomSheetLoadTimeoutMs{
-@@ -46,7 +46,7 @@ const base::FeatureParam<int> kLocalWebApprovalBottomS
+@@ -44,7 +44,7 @@ const base::FeatureParam<int> kLocalWebApprovalBottomS
#endif // BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kEnableLocalWebApprovalErrorDialog,
"EnableLocalWebApprovalErrorDialog",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -89,7 +89,7 @@ bool IsLocalWebApprovalsEnabledForSubframes() {
- return base::FeatureList::IsEnabled(kAllowSubframeLocalWebApprovals);
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kCustomProfileStringsForSupervisedUsers,
- "CustomProfileStringsForSupervisedUsers",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -101,13 +101,13 @@ BASE_FEATURE(kShowKiteForSupervisedUsers,
-
- BASE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers,
- "ForceSafeSearchForUnauthenticatedSupervisedUsers",
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+@@ -58,7 +58,7 @@ BASE_FEATURE(kLocalWebApprovalsWidgetSupportsUrlPayloa
+ BASE_FEATURE(kSupervisedUserBlockInterstitialV3,
+ "SupervisedUserBlockInterstitialV3",
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_IOS)
++ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT);
#else
base::FEATURE_DISABLED_BY_DEFAULT);
- #endif
+@@ -94,7 +94,7 @@ bool IsLocalWebApprovalsEnabledForSubframes() {
+ return base::FeatureList::IsEnabled(kAllowSubframeLocalWebApprovals);
+ }
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog,
"EnableSupervisedUserVersionSignOutDialog",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -119,7 +119,7 @@ BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog
- // platform #defines.
- BASE_FEATURE(kUncredentialedFilteringFallbackForSupervisedUsers,
- "UncredentialedFilteringFallbackForSupervisedUsers",
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- base::FEATURE_ENABLED_BY_DEFAULT);
- #else
- base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_supervised__user_core_common_features.h b/www/iridium/files/patch-components_supervised__user_core_common_features.h
index d5a58ec072b1..d34cd4493c22 100644
--- a/www/iridium/files/patch-components_supervised__user_core_common_features.h
+++ b/www/iridium/files/patch-components_supervised__user_core_common_features.h
@@ -1,17 +1,17 @@
---- components/supervised_user/core/common/features.h.orig 2025-06-19 07:37:57 UTC
+--- components/supervised_user/core/common/features.h.orig 2025-09-11 13:19:19 UTC
+++ components/supervised_user/core/common/features.h
@@ -20,12 +20,12 @@ BASE_DECLARE_FEATURE(kLocalWebApprovals);
BASE_DECLARE_FEATURE(kAllowSubframeLocalWebApprovals);
#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const base::FeatureParam<int> kLocalWebApprovalBottomSheetLoadTimeoutMs;
#endif // BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// Whether we show an error screen in case of failure of a local web approval.
BASE_DECLARE_FEATURE(kEnableLocalWebApprovalErrorDialog);
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
@@ -20,16 +20,7 @@
BASE_DECLARE_FEATURE(kSupervisedUserBlockInterstitialV3);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- // Enable different web sign in interception behaviour for supervised users:
- //
- // 1. Supervised user signs in to existing signed out Profile: show modal
-@@ -55,7 +55,7 @@ BASE_DECLARE_FEATURE(kShowKiteForSupervisedUsers);
- // unauthenticated (e.g. signed out of the content area) account.
- BASE_DECLARE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers);
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// Uses supervised user strings on the signout dialog.
BASE_DECLARE_FEATURE(kEnableSupervisedUserVersionSignOutDialog);
#endif
diff --git a/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc b/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc
index fb96288168d8..4c5335ec7245 100644
--- a/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc
+++ b/www/iridium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc
@@ -1,7 +1,7 @@
---- components/sync_preferences/common_syncable_prefs_database.cc.orig 2025-06-19 07:37:57 UTC
+--- components/sync_preferences/common_syncable_prefs_database.cc.orig 2025-09-11 13:19:19 UTC
+++ components/sync_preferences/common_syncable_prefs_database.cc
-@@ -339,7 +339,7 @@ constexpr auto kCommonSyncablePrefsAllowlist =
- PrefSensitivity::kNone, MergeBehavior::kNone}},
+@@ -337,7 +337,7 @@ constexpr auto kCommonSyncablePrefsAllowlist =
+ syncer::PREFERENCES, PrefSensitivity::kNone, MergeBehavior::kNone}},
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
diff --git a/www/iridium/files/patch-components_system__cpu_cpu__probe.cc b/www/iridium/files/patch-components_system__cpu_cpu__probe.cc
index e25c08cd317d..7ef01fa814f8 100644
--- a/www/iridium/files/patch-components_system__cpu_cpu__probe.cc
+++ b/www/iridium/files/patch-components_system__cpu_cpu__probe.cc
@@ -1,6 +1,17 @@
---- components/system_cpu/cpu_probe.cc.orig 2025-05-07 06:48:23 UTC
+--- components/system_cpu/cpu_probe.cc.orig 2025-09-11 13:19:19 UTC
+++ components/system_cpu/cpu_probe.cc
-@@ -30,6 +30,9 @@ std::unique_ptr<CpuProbe> CpuProbe::Create() {
+@@ -20,6 +20,10 @@
+ #include "components/system_cpu/cpu_probe_mac.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+
++#if BUILDFLAG(IS_BSD)
++#include "base/notimplemented.h"
++#endif
++
+ namespace system_cpu {
+
+ // static
+@@ -30,6 +34,9 @@ std::unique_ptr<CpuProbe> CpuProbe::Create() {
return CpuProbeWin::Create();
#elif BUILDFLAG(IS_MAC)
return CpuProbeMac::Create();
diff --git a/www/iridium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc b/www/iridium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc
index 0429ba8dce97..4405aac2c2c4 100644
--- a/www/iridium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc
+++ b/www/iridium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc
@@ -1,6 +1,6 @@
---- components/trusted_vault/trusted_vault_connection_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- components/trusted_vault/trusted_vault_connection_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ components/trusted_vault/trusted_vault_connection_impl.cc
-@@ -103,7 +103,7 @@ GetLocalPhysicalDeviceType() {
+@@ -105,7 +105,7 @@ GetLocalPhysicalDeviceType() {
// currently used or even built on all platforms.
#if BUILDFLAG(IS_CHROMEOS)
return trusted_vault_pb::PhysicalDeviceMetadata::DEVICE_TYPE_CHROMEOS;
diff --git a/www/iridium/files/patch-components_user__education_views_help__bubble__view.cc b/www/iridium/files/patch-components_user__education_views_help__bubble__view.cc
index aaa1a21f96af..1c6ee84435ac 100644
--- a/www/iridium/files/patch-components_user__education_views_help__bubble__view.cc
+++ b/www/iridium/files/patch-components_user__education_views_help__bubble__view.cc
@@ -1,6 +1,6 @@
---- components/user_education/views/help_bubble_view.cc.orig 2025-05-07 06:48:23 UTC
+--- components/user_education/views/help_bubble_view.cc.orig 2025-09-11 13:19:19 UTC
+++ components/user_education/views/help_bubble_view.cc
-@@ -268,7 +268,7 @@ DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(HelpBubbleView,
+@@ -269,7 +269,7 @@ DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(HelpBubbleView,
// TODO(https://crbug.com/382611284): Temporarily handle the case when the
// primary window is minimized by closing the help bubble. Remove this code when
// the issue is solved at the Views framework level.
@@ -9,7 +9,7 @@
class HelpBubbleView::PrimaryWidgetObserver : public views::WidgetObserver {
public:
explicit PrimaryWidgetObserver(HelpBubbleView& help_bubble)
-@@ -743,7 +743,7 @@ HelpBubbleView::HelpBubbleView(
+@@ -733,7 +733,7 @@ HelpBubbleView::HelpBubbleView(
event_relay_->Init(this);
}
@@ -18,7 +18,7 @@
primary_widget_observer_ = std::make_unique<PrimaryWidgetObserver>(*this);
#endif
-@@ -855,7 +855,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const {
+@@ -845,7 +845,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const {
void HelpBubbleView::OnBeforeBubbleWidgetInit(views::Widget::InitParams* params,
views::Widget* widget) const {
BubbleDialogDelegateView::OnBeforeBubbleWidgetInit(params, widget);
diff --git a/www/iridium/files/patch-components_variations_net_variations__command__line.cc b/www/iridium/files/patch-components_variations_net_variations__command__line.cc
deleted file mode 100644
index 9e6beda262dc..000000000000
--- a/www/iridium/files/patch-components_variations_net_variations__command__line.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- components/variations/net/variations_command_line.cc.orig 2025-06-19 07:37:57 UTC
-+++ components/variations/net/variations_command_line.cc
-@@ -50,7 +50,7 @@ void ExitWithMessage(const std::string& message) {
- namespace variations {
-
- #if !BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kFeedbackIncludeVariations,
- "FeedbackIncludeVariations",
- base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-components_variations_service_variations__service.cc b/www/iridium/files/patch-components_variations_service_variations__service.cc
index f23290cb73d9..ad21c66a40a9 100644
--- a/www/iridium/files/patch-components_variations_service_variations__service.cc
+++ b/www/iridium/files/patch-components_variations_service_variations__service.cc
@@ -1,6 +1,6 @@
---- components/variations/service/variations_service.cc.orig 2025-05-07 06:48:23 UTC
+--- components/variations/service/variations_service.cc.orig 2025-09-11 13:19:19 UTC
+++ components/variations/service/variations_service.cc
-@@ -100,7 +100,7 @@ std::string GetPlatformString() {
+@@ -99,7 +99,7 @@ std::string GetPlatformString() {
return "android";
#elif BUILDFLAG(IS_FUCHSIA)
return "fuchsia";
diff --git a/www/iridium/files/patch-components_viz_host_host__display__client.cc b/www/iridium/files/patch-components_viz_host_host__display__client.cc
index 5f843b70b66d..a25809db851a 100644
--- a/www/iridium/files/patch-components_viz_host_host__display__client.cc
+++ b/www/iridium/files/patch-components_viz_host_host__display__client.cc
@@ -1,11 +1,14 @@
---- components/viz/host/host_display_client.cc.orig 2025-05-07 06:48:23 UTC
+--- components/viz/host/host_display_client.cc.orig 2025-09-11 13:19:19 UTC
+++ components/viz/host/host_display_client.cc
-@@ -65,7 +65,7 @@ void HostDisplayClient::AddChildWindowToBrowser(
+@@ -66,9 +66,9 @@ void HostDisplayClient::AddChildWindowToBrowser(
}
#endif
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
void HostDisplayClient::DidCompleteSwapWithNewSize(const gfx::Size& size) {
- NOTIMPLEMENTED();
+- NOTIMPLEMENTED();
++ NOTREACHED();
}
+ #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+
diff --git a/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc b/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc
index 482176452561..930cbfe110ca 100644
--- a/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc
+++ b/www/iridium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc
@@ -1,6 +1,6 @@
---- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ components/viz/service/display_embedder/skia_output_surface_impl.cc
-@@ -1500,7 +1500,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor
+@@ -1498,7 +1498,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor
->GetVulkanPhysicalDevice(),
VK_IMAGE_TILING_OPTIMAL, vk_format,
si_format, yuv_color_space, ycbcr_info);
diff --git a/www/iridium/files/patch-components_viz_service_display__embedder_software__output__surface.h b/www/iridium/files/patch-components_viz_service_display__embedder_software__output__surface.h
index 7f8cf70d880b..282d9dbbee13 100644
--- a/www/iridium/files/patch-components_viz_service_display__embedder_software__output__surface.h
+++ b/www/iridium/files/patch-components_viz_service_display__embedder_software__output__surface.h
@@ -1,6 +1,6 @@
---- components/viz/service/display_embedder/software_output_surface.h.orig 2025-05-07 06:48:23 UTC
+--- components/viz/service/display_embedder/software_output_surface.h.orig 2025-09-11 13:19:19 UTC
+++ components/viz/service/display_embedder/software_output_surface.h
-@@ -41,7 +41,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
+@@ -40,7 +40,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
UpdateVSyncParametersCallback callback) override;
void SetDisplayTransformHint(gfx::OverlayTransform transform) override {}
gfx::OverlayTransform GetDisplayTransform() override;
@@ -9,7 +9,7 @@
void SetNeedsSwapSizeNotifications(
bool needs_swap_size_notifications) override;
#endif
-@@ -59,7 +59,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
+@@ -58,7 +58,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
base::TimeTicks refresh_timebase_;
base::TimeDelta refresh_interval_ = BeginFrameArgs::DefaultInterval();
diff --git a/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc b/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc
index bfdec9048ef0..f01e4f313cb1 100644
--- a/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc
+++ b/www/iridium/files/patch-components_viz_service_display_skia__renderer.cc
@@ -1,6 +1,6 @@
---- components/viz/service/display/skia_renderer.cc.orig 2025-06-19 07:37:57 UTC
+--- components/viz/service/display/skia_renderer.cc.orig 2025-09-11 13:19:19 UTC
+++ components/viz/service/display/skia_renderer.cc
-@@ -1384,7 +1384,7 @@ void SkiaRenderer::ClearFramebuffer() {
+@@ -1380,7 +1380,7 @@ void SkiaRenderer::ClearFramebuffer() {
if (current_frame()->current_render_pass->has_transparent_background) {
ClearCanvas(SkColors::kTransparent);
} else {
diff --git a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
index e12c35f6f757..99a46b67e835 100644
--- a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
+++ b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
@@ -1,6 +1,6 @@
---- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc
-@@ -141,7 +141,7 @@ RootCompositorFrameSinkImpl::Create(
+@@ -142,7 +142,7 @@ RootCompositorFrameSinkImpl::Create(
output_surface->SetNeedsSwapSizeNotifications(
params->send_swap_size_notifications);
@@ -9,7 +9,7 @@
// For X11, we need notify client about swap completion after resizing, so the
// client can use it for synchronize with X11 WM.
output_surface->SetNeedsSwapSizeNotifications(true);
-@@ -934,7 +934,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw
+@@ -902,7 +902,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw
if (display_client_ && enable_swap_completion_callback_) {
display_client_->DidCompleteSwapWithSize(pixel_size);
}
diff --git a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
index 947f15db59ae..15f09ad8a8b1 100644
--- a/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
+++ b/www/iridium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
@@ -1,8 +1,8 @@
---- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-06-19 07:37:57 UTC
+--- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-09-11 13:19:19 UTC
+++ components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h
-@@ -234,7 +234,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl
- base::TimeDelta preferred_frame_interval_ =
- FrameRateDecider::UnspecifiedFrameInterval();
+@@ -223,7 +223,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl
+ base::TimeDelta display_frame_interval_ = BeginFrameArgs::DefaultInterval();
+ base::TimeDelta preferred_frame_interval_;
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
diff --git a/www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.cc b/www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.cc
new file mode 100644
index 000000000000..7ea1b5467dca
--- /dev/null
+++ b/www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.cc
@@ -0,0 +1,20 @@
+--- components/viz/service/gl/gpu_service_impl.cc.orig 2025-09-11 13:19:19 UTC
++++ components/viz/service/gl/gpu_service_impl.cc
+@@ -501,7 +501,7 @@ void GpuServiceImpl::InitializeWithHostInternal(
+
+ mojo::Remote<mojom::GpuHost> gpu_host(std::move(pending_gpu_host));
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ gpu_extra_info_.is_gmb_nv12_supported = IsGMBNV12Supported();
+ #endif
+
+@@ -1266,7 +1266,7 @@ bool GpuServiceImpl::OnBeginFrameDerivedImpl(const Beg
+ return true;
+ }
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool GpuServiceImpl::IsGMBNV12Supported() {
+ CHECK(main_runner_->BelongsToCurrentThread());
+
diff --git a/www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.h b/www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.h
new file mode 100644
index 000000000000..8a24721666a7
--- /dev/null
+++ b/www/iridium/files/patch-components_viz_service_gl_gpu__service__impl.h
@@ -0,0 +1,11 @@
+--- components/viz/service/gl/gpu_service_impl.h.orig 2025-09-11 13:19:19 UTC
++++ components/viz/service/gl/gpu_service_impl.h
+@@ -450,7 +450,7 @@ class VIZ_SERVICE_EXPORT GpuServiceImpl
+
+ void OnBeginFrameOnIO(const BeginFrameArgs& args);
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool IsGMBNV12Supported();
+ #endif
+
diff --git a/www/iridium/files/patch-content_app_BUILD.gn b/www/iridium/files/patch-content_app_BUILD.gn
index 97b0d6827afa..fba2fb036be1 100644
--- a/www/iridium/files/patch-content_app_BUILD.gn
+++ b/www/iridium/files/patch-content_app_BUILD.gn
@@ -1,6 +1,6 @@
---- content/app/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- content/app/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ content/app/BUILD.gn
-@@ -90,9 +90,9 @@ source_set("content_main_runner_app") {
+@@ -91,9 +91,9 @@ source_set("content_main_runner_app") {
"//third_party/tflite:buildflags",
"//tools/v8_context_snapshot:buildflags",
]
@@ -12,4 +12,4 @@
+# }
}
- source_set("app") {
+ if (is_android && enable_javaless_renderers) {
diff --git a/www/iridium/files/patch-content_app_content__main.cc b/www/iridium/files/patch-content_app_content__main.cc
index e9e338883167..9ea0cdb7bfb3 100644
--- a/www/iridium/files/patch-content_app_content__main.cc
+++ b/www/iridium/files/patch-content_app_content__main.cc
@@ -1,6 +1,6 @@
---- content/app/content_main.cc.orig 2025-05-07 06:48:23 UTC
+--- content/app/content_main.cc.orig 2025-09-11 13:19:19 UTC
+++ content/app/content_main.cc
-@@ -227,7 +227,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
+@@ -225,7 +225,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
base::EnableTerminationOnOutOfMemory();
logging::RegisterAbslAbortHook();
@@ -9,7 +9,7 @@
// The various desktop environments set this environment variable that
// allows the dbus client library to connect directly to the bus. When this
// variable is not set (test environments like xvfb-run), the dbus client
-@@ -317,7 +317,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
+@@ -319,7 +319,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
#endif
#endif
diff --git a/www/iridium/files/patch-content_app_content__main__runner__impl.cc b/www/iridium/files/patch-content_app_content__main__runner__impl.cc
index bc90c4a5a51f..f5a808657b76 100644
--- a/www/iridium/files/patch-content_app_content__main__runner__impl.cc
+++ b/www/iridium/files/patch-content_app_content__main__runner__impl.cc
@@ -1,6 +1,6 @@
---- content/app/content_main_runner_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- content/app/content_main_runner_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/app/content_main_runner_impl.cc
-@@ -148,18 +148,20 @@
+@@ -150,18 +150,20 @@
#include "content/browser/posix_file_descriptor_info_impl.h"
#include "content/public/common/content_descriptors.h"
@@ -23,7 +23,7 @@
#include "third_party/boringssl/src/include/openssl/crypto.h"
#include "third_party/webrtc_overrides/init_webrtc.h" // nogncheck
-@@ -188,6 +190,10 @@
+@@ -185,6 +187,10 @@
#include "media/base/media_switches.h"
#endif
@@ -34,16 +34,16 @@
#if BUILDFLAG(IS_ANDROID)
#include "base/system/sys_info.h"
#include "content/browser/android/battery_metrics.h"
-@@ -386,7 +392,7 @@ void InitializeZygoteSandboxForBrowserProcess(
+@@ -381,7 +387,7 @@ void InitializeZygoteSandboxForBrowserProcess(
}
#endif // BUILDFLAG(USE_ZYGOTE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #if BUILDFLAG(ENABLE_PPAPI)
- // Loads the (native) libraries but does not initialize them (i.e., does not
-@@ -424,7 +430,10 @@ void PreloadLibraryCdms() {
+ #if BUILDFLAG(ENABLE_LIBRARY_CDMS)
+ // Loads registered library CDMs but does not initialize them. This is needed by
+@@ -400,7 +406,10 @@ void PreloadLibraryCdms() {
void PreSandboxInit() {
// Ensure the /dev/urandom is opened.
@@ -54,7 +54,7 @@
// May use sysinfo(), sched_getaffinity(), and open various /sys/ and /proc/
// files.
-@@ -436,9 +445,16 @@ void PreSandboxInit() {
+@@ -412,9 +421,16 @@ void PreSandboxInit() {
// https://boringssl.googlesource.com/boringssl/+/HEAD/SANDBOXING.md
CRYPTO_pre_sandbox_init();
@@ -69,18 +69,27 @@
base::GetMaxNumberOfInotifyWatches();
+#endif
- #if BUILDFLAG(ENABLE_PPAPI)
- // Ensure access to the Pepper plugins before the sandbox is turned on.
-@@ -752,7 +768,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain(
+ #if BUILDFLAG(ENABLE_LIBRARY_CDMS)
+ // Ensure access to the library CDMs before the sandbox is turned on.
+@@ -634,7 +650,7 @@ NO_STACK_PROTECTOR int RunZygote(ContentMainDelegate*
+
+ // Once Zygote forks and feature list initializes we can start a thread to
+ // begin tracing immediately.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (process_type == switches::kGpuProcess) {
+ tracing::InitTracingPostFeatureList(/*enable_consumer=*/false,
+ /*will_trace_thread_restart=*/true);
+@@ -733,7 +749,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain(
+ base::HangWatcher::CreateHangWatcherInstance();
unregister_thread_closure = base::HangWatcher::RegisterThread(
base::HangWatcher::ThreadType::kMainThread);
- bool start_hang_watcher_now;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// On Linux/ChromeOS, the HangWatcher can't start until after the sandbox is
// initialized, because the sandbox can't be started with multiple threads.
// TODO(mpdenton): start the HangWatcher after the sandbox is initialized.
-@@ -865,11 +881,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
+@@ -851,11 +867,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
base::GlobalDescriptors::kBaseDescriptor);
#endif // !BUILDFLAG(IS_ANDROID)
@@ -94,7 +103,16 @@
#endif // !BUILDFLAG(IS_WIN)
-@@ -1050,10 +1065,22 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
+@@ -1007,7 +1022,7 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
+ // SeatbeltExecServer.
+ CHECK(sandbox::Seatbelt::IsSandboxed());
+ }
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // In sandboxed processes and zygotes, certain resource should be pre-warmed
+ // as they cannot be initialized under a sandbox. In addition, loading these
+ // resources in zygotes (including the unsandboxed zygote) allows them to be
+@@ -1017,10 +1032,22 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
process_type == switches::kZygoteProcess) {
PreSandboxInit();
}
@@ -117,7 +135,7 @@
delegate_->SandboxInitialized(process_type);
#if BUILDFLAG(USE_ZYGOTE)
-@@ -1150,6 +1177,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() {
+@@ -1122,6 +1149,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() {
content_main_params_.reset();
RegisterMainThreadFactories();
diff --git a/www/iridium/files/patch-content_browser_BUILD.gn b/www/iridium/files/patch-content_browser_BUILD.gn
index 477ca0ded3bb..ed6679540f73 100644
--- a/www/iridium/files/patch-content_browser_BUILD.gn
+++ b/www/iridium/files/patch-content_browser_BUILD.gn
@@ -1,6 +1,22 @@
---- content/browser/BUILD.gn.orig 2025-06-18 12:17:42 UTC
+--- content/browser/BUILD.gn.orig 2025-09-13 16:56:52 UTC
+++ content/browser/BUILD.gn
-@@ -125,6 +125,7 @@ source_set("browser") {
+@@ -90,6 +90,7 @@ source_set("browser") {
+ frameworks = []
+ ldflags = []
+
++ # Iridium / node dep fixes
+ deps = [
+ "//base",
+ "//base:base_static",
+@@ -103,6 +104,7 @@ source_set("browser") {
+ "//cc/animation",
+ "//cc/mojo_embedder",
+ "//cc/paint",
++ "//chrome/common:buildflags",
+ "//components/attribution_reporting:data_host_mojom",
+ "//components/attribution_reporting:mojom",
+ "//components/back_forward_cache:enum",
+@@ -132,6 +134,7 @@ source_set("browser") {
"//components/optimization_guide/core:features",
"//components/optimization_guide/public/mojom",
"//components/os_crypt/sync",
@@ -8,7 +24,7 @@
"//components/payments/content/icon",
"//components/payments/mojom",
"//components/performance_manager/scenario_api",
-@@ -2571,6 +2572,14 @@ source_set("browser") {
+@@ -2599,6 +2602,14 @@ source_set("browser") {
]
}
@@ -23,7 +39,7 @@
if (is_linux || is_chromeos) {
sources -=
[ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ]
-@@ -2616,6 +2625,15 @@ source_set("browser") {
+@@ -2647,6 +2658,15 @@ source_set("browser") {
if (allow_oop_video_decoder) {
sources += [ "media/oop_video_decoder_factory.cc" ]
deps += [ "//media/mojo/mojom" ]
diff --git a/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc b/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc
index 59c81db30def..42f5a2bafcd1 100644
--- a/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc
+++ b/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/accessibility/browser_accessibility_state_impl.cc
-@@ -181,7 +181,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta
+@@ -296,7 +296,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta
// On Android, Mac, Windows and Linux there are platform-specific subclasses.
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_MAC) && \
diff --git a/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc b/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc
index 1530960a0fe2..f4a139ebe6bf 100644
--- a/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc
+++ b/www/iridium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc
@@ -1,18 +1,14 @@
---- content/browser/accessibility/browser_accessibility_state_impl_auralinux.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/accessibility/browser_accessibility_state_impl_auralinux.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/accessibility/browser_accessibility_state_impl_auralinux.cc
-@@ -32,7 +32,11 @@ bool CheckCmdlineForOrca(const std::string& cmdline_al
- std::string cmdline;
- std::stringstream ss(cmdline_all);
- while (std::getline(ss, cmdline, '\0')) {
-+#if BUILDFLAG(IS_BSD)
-+ re2::RE2 orca_regex(R"((^|/)(usr/)?(local/)?bin/orca(\s|$))");
-+#else
- re2::RE2 orca_regex(R"((^|/)(usr/)?bin/orca(\s|$))");
-+#endif
- if (re2::RE2::PartialMatch(cmdline, orca_regex)) {
- return true; // Orca was found
- }
-@@ -42,6 +46,10 @@ bool CheckCmdlineForOrca(const std::string& cmdline_al
+@@ -12,6 +12,7 @@
+ #include <sstream>
+ #include <string>
+
++#include "base/notimplemented.h"
+ #include "base/debug/crash_logging.h"
+ #include "base/metrics/histogram_macros.h"
+ #include "base/task/thread_pool.h"
+@@ -43,6 +44,10 @@ bool CheckCmdlineForOrca(const std::string& cmdline_al
// Returns true if Orca is active.
bool DiscoverOrca() {
@@ -23,7 +19,7 @@
// NOTE: this method is run from another thread to reduce jank, since
// there's no guarantee these system calls will return quickly.
std::unique_ptr<DIR, decltype(&CloseDir)> proc_dir(opendir("/proc"),
-@@ -79,6 +87,7 @@ bool DiscoverOrca() {
+@@ -80,6 +85,7 @@ bool DiscoverOrca() {
}
return is_orca_active;
diff --git a/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc b/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc
index c8dc1d12bf44..3385ba9418fb 100644
--- a/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc
+++ b/www/iridium/files/patch-content_browser_browser__child__process__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/browser_child_process_host_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- content/browser/browser_child_process_host_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/browser_child_process_host_impl.cc
-@@ -327,6 +327,8 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo
+@@ -297,6 +297,8 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo
switches::kLogBestEffortTasks,
switches::kPerfettoDisableInterning,
switches::kTraceToConsole,
@@ -9,7 +9,7 @@
};
cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches);
-@@ -697,7 +699,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched()
+@@ -650,7 +652,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched()
->child_process());
#endif
diff --git a/www/iridium/files/patch-content_browser_browser__child__process__host__impl.h b/www/iridium/files/patch-content_browser_browser__child__process__host__impl.h
index 8f40d8f95405..0c47ae5306af 100644
--- a/www/iridium/files/patch-content_browser_browser__child__process__host__impl.h
+++ b/www/iridium/files/patch-content_browser_browser__child__process__host__impl.h
@@ -1,4 +1,4 @@
---- content/browser/browser_child_process_host_impl.h.orig 2025-05-07 06:48:23 UTC
+--- content/browser/browser_child_process_host_impl.h.orig 2025-09-11 13:19:19 UTC
+++ content/browser/browser_child_process_host_impl.h
@@ -36,7 +36,7 @@
#include "base/win/object_watcher.h"
@@ -9,7 +9,7 @@
#include "content/browser/child_thread_type_switcher_linux.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -287,7 +287,7 @@ class BrowserChildProcessHostImpl
+@@ -276,7 +276,7 @@ class BrowserChildProcessHostImpl
std::unique_ptr<tracing::SystemTracingService> system_tracing_service_;
#endif
diff --git a/www/iridium/files/patch-content_browser_browser__interface__binders.cc b/www/iridium/files/patch-content_browser_browser__interface__binders.cc
new file mode 100644
index 000000000000..8464d6383f8f
--- /dev/null
+++ b/www/iridium/files/patch-content_browser_browser__interface__binders.cc
@@ -0,0 +1,20 @@
+--- content/browser/browser_interface_binders.cc.orig 2025-09-11 13:19:19 UTC
++++ content/browser/browser_interface_binders.cc
+@@ -234,7 +234,7 @@
+ #include "content/browser/xr/webxr_internals/webxr_internals_ui.h"
+ #endif
+
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #include "content/public/browser/service_process_host.h"
+ #else
+ #include "content/browser/gpu/gpu_process_host.h"
+@@ -271,7 +271,7 @@ shape_detection::mojom::ShapeDetectionService* GetShap
+ mojo::Remote<shape_detection::mojom::ShapeDetectionService>>
+ remote;
+ if (!*remote) {
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ ServiceProcessHost::Launch<shape_detection::mojom::ShapeDetectionService>(
+ remote->BindNewPipeAndPassReceiver(),
+ ServiceProcessHost::Options()
diff --git a/www/iridium/files/patch-content_browser_browser__main__loop.cc b/www/iridium/files/patch-content_browser_browser__main__loop.cc
index eb399ec10e00..d7f35cb15d38 100644
--- a/www/iridium/files/patch-content_browser_browser__main__loop.cc
+++ b/www/iridium/files/patch-content_browser_browser__main__loop.cc
@@ -1,6 +1,6 @@
---- content/browser/browser_main_loop.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/browser_main_loop.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/browser_main_loop.cc
-@@ -249,6 +249,12 @@
+@@ -251,6 +251,12 @@
#include "mojo/public/cpp/bindings/lib/test_random_mojo_delays.h"
#endif
@@ -13,7 +13,7 @@
// One of the linux specific headers defines this as a macro.
#ifdef DestroyAll
#undef DestroyAll
-@@ -543,6 +549,12 @@ int BrowserMainLoop::EarlyInitialization() {
+@@ -551,6 +557,12 @@ int BrowserMainLoop::EarlyInitialization() {
// by now since a thread to start the ServiceManager has been created
// before the browser main loop starts.
DCHECK(SandboxHostLinux::GetInstance()->IsInitialized());
@@ -26,7 +26,7 @@
#endif
// GLib's spawning of new processes is buggy, so it's important that at this
-@@ -575,7 +587,7 @@ int BrowserMainLoop::EarlyInitialization() {
+@@ -583,7 +595,7 @@ int BrowserMainLoop::EarlyInitialization() {
base::ThreadType::kDisplayCritical);
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/iridium/files/patch-content_browser_browser__url__handler__impl.cc b/www/iridium/files/patch-content_browser_browser__url__handler__impl.cc
index 75854d10a06d..43efd37fcb75 100644
--- a/www/iridium/files/patch-content_browser_browser__url__handler__impl.cc
+++ b/www/iridium/files/patch-content_browser_browser__url__handler__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/browser_url_handler_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/browser_url_handler_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/browser_url_handler_impl.cc
-@@ -14,6 +14,7 @@
+@@ -13,6 +13,7 @@
#include "content/browser/webui/web_ui_impl.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
@@ -8,7 +8,7 @@
#include "content/public/common/url_constants.h"
#include "content/public/common/url_utils.h"
#include "third_party/blink/public/common/chrome_debug_urls.h"
-@@ -271,6 +272,10 @@ namespace iridium {
+@@ -270,6 +271,10 @@ namespace iridium {
static void gfxlog_request2(const std::string &caller, const GURL &url)
{
diff --git a/www/iridium/files/patch-content_browser_child__process__launcher__helper.h b/www/iridium/files/patch-content_browser_child__process__launcher__helper.h
deleted file mode 100644
index bc16bb926b59..000000000000
--- a/www/iridium/files/patch-content_browser_child__process__launcher__helper.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- content/browser/child_process_launcher_helper.h.orig 2025-05-07 06:48:23 UTC
-+++ content/browser/child_process_launcher_helper.h
-@@ -308,7 +308,7 @@ class ChildProcessLauncherHelper
- std::optional<base::ProcessId> process_id_ = std::nullopt;
- #endif // BUILDFLAG(IS_CHROMEOS)
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // The priority of the process. The state is stored to avoid changing the
- // setting repeatedly.
- std::optional<base::Process::Priority> priority_;
diff --git a/www/iridium/files/patch-content_browser_child__process__launcher__helper__linux.cc b/www/iridium/files/patch-content_browser_child__process__launcher__helper__linux.cc
index 543ac92b62ad..58c7a57efcd4 100644
--- a/www/iridium/files/patch-content_browser_child__process__launcher__helper__linux.cc
+++ b/www/iridium/files/patch-content_browser_child__process__launcher__helper__linux.cc
@@ -1,4 +1,4 @@
---- content/browser/child_process_launcher_helper_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/child_process_launcher_helper_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/child_process_launcher_helper_linux.cc
@@ -22,7 +22,9 @@
#include "content/public/common/result_codes.h"
@@ -109,7 +109,7 @@
}
void ChildProcessLauncherHelper::SetProcessPriorityOnLauncherThread(
-@@ -182,11 +202,13 @@ void ChildProcessLauncherHelper::SetProcessPriorityOnL
+@@ -181,11 +201,13 @@ void ChildProcessLauncherHelper::SetProcessPriorityOnL
}
}
diff --git a/www/iridium/files/patch-content_browser_child__thread__type__switcher__linux.cc b/www/iridium/files/patch-content_browser_child__thread__type__switcher__linux.cc
index 52d9453906d7..ae0b92354f23 100644
--- a/www/iridium/files/patch-content_browser_child__thread__type__switcher__linux.cc
+++ b/www/iridium/files/patch-content_browser_child__thread__type__switcher__linux.cc
@@ -1,6 +1,14 @@
---- content/browser/child_thread_type_switcher_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/child_thread_type_switcher_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/child_thread_type_switcher_linux.cc
-@@ -20,6 +20,9 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
+@@ -6,6 +6,7 @@
+
+ #include "base/linux_util.h"
+ #include "base/logging.h"
++#include "base/notimplemented.h"
+ #include "base/process/process_handle.h"
+ #include "base/task/single_thread_task_runner.h"
+ #include "base/threading/platform_thread.h"
+@@ -20,6 +21,9 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
base::ThreadType thread_type) {
DCHECK(CurrentlyOnProcessLauncherTaskRunner());
@@ -10,7 +18,7 @@
bool ns_pid_supported = false;
pid_t peer_tid =
base::FindThreadID(peer_pid, ns_tid.raw(), &ns_pid_supported);
-@@ -41,6 +44,7 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
+@@ -42,6 +46,7 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
base::PlatformThread::SetThreadType(peer_pid,
base::PlatformThreadId(peer_tid),
thread_type, base::IsViaIPC(true));
@@ -18,7 +26,7 @@
}
} // namespace
-@@ -69,7 +73,7 @@ void ChildThreadTypeSwitcher::SetPid(base::ProcessId c
+@@ -70,7 +75,7 @@ void ChildThreadTypeSwitcher::SetPid(base::ProcessId c
}
}
diff --git a/www/iridium/files/patch-content_browser_compositor_viz__process__transport__factory.cc b/www/iridium/files/patch-content_browser_compositor_viz__process__transport__factory.cc
index fee74b55100c..f2c8e38511d3 100644
--- a/www/iridium/files/patch-content_browser_compositor_viz__process__transport__factory.cc
+++ b/www/iridium/files/patch-content_browser_compositor_viz__process__transport__factory.cc
@@ -1,6 +1,6 @@
---- content/browser/compositor/viz_process_transport_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/compositor/viz_process_transport_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/compositor/viz_process_transport_factory.cc
-@@ -105,7 +105,7 @@ class HostDisplayClient : public viz::HostDisplayClien
+@@ -103,7 +103,7 @@ class HostDisplayClient : public viz::HostDisplayClien
HostDisplayClient& operator=(const HostDisplayClient&) = delete;
// viz::HostDisplayClient:
diff --git a/www/iridium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc b/www/iridium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc
index 781841966e3a..0c043aec0abe 100644
--- a/www/iridium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc
+++ b/www/iridium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/devtools/devtools_frontend_host_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/devtools/devtools_frontend_host_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/devtools/devtools_frontend_host_impl.cc
-@@ -24,7 +24,7 @@
+@@ -25,7 +25,7 @@
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"
#include "ui/base/webui/resource_path.h"
@@ -9,7 +9,7 @@
#include "components/crash/content/browser/error_reporting/javascript_error_report.h" // nogncheck
#include "components/crash/content/browser/error_reporting/js_error_report_processor.h" // nogncheck
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -36,7 +36,7 @@ const char kCompatibilityScriptSourceURL[] =
+@@ -37,7 +37,7 @@ const char kCompatibilityScriptSourceURL[] =
"\n//# "
"sourceURL=devtools://devtools/bundled/devtools_compatibility.js";
@@ -18,7 +18,7 @@
// Remove the pieces of the URL we don't want to send back with the error
// reports. In particular, do not send query or fragments as those can have
// privacy-sensitive information in them.
-@@ -106,7 +106,7 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl(
+@@ -107,7 +107,7 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl(
const HandleMessageCallback& handle_message_callback)
: web_contents_(WebContents::FromRenderFrameHost(frame_host)),
handle_message_callback_(handle_message_callback) {
@@ -27,7 +27,7 @@
Observe(web_contents_);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
mojo::AssociatedRemote<blink::mojom::DevToolsFrontend> frontend;
-@@ -131,7 +131,7 @@ void DevToolsFrontendHostImpl::DispatchEmbedderMessage
+@@ -132,7 +132,7 @@ void DevToolsFrontendHostImpl::DispatchEmbedderMessage
handle_message_callback_.Run(std::move(message));
}
diff --git a/www/iridium/files/patch-content_browser_gpu_compositor__util.cc b/www/iridium/files/patch-content_browser_gpu_compositor__util.cc
index 5d04c8c30309..1f50e38452f4 100644
--- a/www/iridium/files/patch-content_browser_gpu_compositor__util.cc
+++ b/www/iridium/files/patch-content_browser_gpu_compositor__util.cc
@@ -1,6 +1,6 @@
---- content/browser/gpu/compositor_util.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/gpu/compositor_util.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/gpu/compositor_util.cc
-@@ -142,7 +142,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
+@@ -143,7 +143,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
"video_decode",
SafeGetFeatureStatus(
gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
@@ -9,7 +9,7 @@
!base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) ||
#endif // BUILDFLAG(IS_LINUX)
command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)),
-@@ -154,7 +154,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
+@@ -155,7 +155,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
"video_encode",
SafeGetFeatureStatus(
gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE,
diff --git a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl.h b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl.h
index 318fae1a7357..3cd84de550fa 100644
--- a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl.h
+++ b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl.h
@@ -1,11 +1,11 @@
---- content/browser/gpu/gpu_data_manager_impl.h.orig 2025-05-07 06:48:23 UTC
+--- content/browser/gpu/gpu_data_manager_impl.h.orig 2025-09-11 13:19:19 UTC
+++ content/browser/gpu/gpu_data_manager_impl.h
-@@ -225,7 +225,7 @@ class CONTENT_EXPORT GpuDataManagerImpl : public GpuDa
+@@ -224,7 +224,7 @@ class CONTENT_EXPORT GpuDataManagerImpl : public GpuDa
void OnDisplayMetricsChanged(const display::Display& display,
uint32_t changed_metrics) override;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool IsGpuMemoryBufferNV12Supported();
- void SetGpuMemoryBufferNV12Supported(bool supported);
#endif // BUILDFLAG(IS_LINUX)
+
diff --git a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
index 47fb3bd24d21..88cf89d45f2f 100644
--- a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
+++ b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
@@ -1,11 +1,11 @@
---- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-06-19 07:37:57 UTC
+--- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/gpu/gpu_data_manager_impl_private.cc
-@@ -1697,7 +1697,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode(
+@@ -1705,7 +1705,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode(
UMA_HISTOGRAM_ENUMERATION("GPU.CompositingMode", compositing_mode);
}
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool GpuDataManagerImplPrivate::IsGpuMemoryBufferNV12Supported() {
- return is_gpu_memory_buffer_NV12_supported_;
+ return gpu_extra_info_.is_gmb_nv12_supported;
}
diff --git a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
index 6a4a7f795abb..979799d02667 100644
--- a/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
+++ b/www/iridium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
@@ -1,4 +1,4 @@
---- content/browser/gpu/gpu_data_manager_impl_private.h.orig 2025-05-07 06:48:23 UTC
+--- content/browser/gpu/gpu_data_manager_impl_private.h.orig 2025-09-11 13:19:19 UTC
+++ content/browser/gpu/gpu_data_manager_impl_private.h
@@ -149,7 +149,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
void OnDisplayMetricsChanged(const display::Display& display,
@@ -7,9 +7,9 @@
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool IsGpuMemoryBufferNV12Supported();
- void SetGpuMemoryBufferNV12Supported(bool supported);
#endif // BUILDFLAG(IS_LINUX)
-@@ -313,7 +313,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
+
+@@ -312,7 +312,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
bool application_is_visible_ = true;
bool disable_gpu_compositing_ = false;
diff --git a/www/iridium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc b/www/iridium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
deleted file mode 100644
index e83c100e65e2..000000000000
--- a/www/iridium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- content/browser/gpu/gpu_memory_buffer_manager_singleton.cc.orig 2025-05-07 06:48:23 UTC
-+++ content/browser/gpu/gpu_memory_buffer_manager_singleton.cc
-@@ -46,7 +46,7 @@ scoped_refptr<base::SingleThreadTaskRunner> GetTaskRun
- #endif
- }
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- bool IsGpuMemoryBufferNV12Supported() {
- static bool is_computed = false;
- static bool supported = false;
-@@ -111,7 +111,7 @@ void GpuMemoryBufferManagerSingleton::RemoveObserver(
- }
-
- void GpuMemoryBufferManagerSingleton::OnGpuExtraInfoUpdate() {
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Dynamic check whether the NV12 format is supported as it may be
- // inconsistent between the system GBM (Generic Buffer Management) and
- // chromium miniGBM.
diff --git a/www/iridium/files/patch-content_browser_network__service__instance__impl.cc b/www/iridium/files/patch-content_browser_network__service__instance__impl.cc
index f07246c47d76..01e7f441cfbc 100644
--- a/www/iridium/files/patch-content_browser_network__service__instance__impl.cc
+++ b/www/iridium/files/patch-content_browser_network__service__instance__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/network_service_instance_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- content/browser/network_service_instance_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/network_service_instance_impl.cc
-@@ -85,7 +85,7 @@
+@@ -87,7 +87,7 @@
#include "content/browser/network/network_service_process_tracker_win.h"
#endif
@@ -9,7 +9,7 @@
#include "content/browser/system_dns_resolution/system_dns_resolver.h"
#include "services/network/public/mojom/system_dns_resolution.mojom-forward.h"
#endif
-@@ -343,7 +343,7 @@ void CreateInProcessNetworkService(
+@@ -327,7 +327,7 @@ void CreateInProcessNetworkService(
std::move(receiver)));
}
@@ -18,7 +18,7 @@
// Runs a self-owned SystemDnsResolverMojoImpl. This is meant to run on a
// high-priority thread pool.
void RunSystemDnsResolverOnThreadPool(
-@@ -411,7 +411,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS
+@@ -394,7 +394,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS
}
#endif // BUILDFLAG(IS_POSIX)
diff --git a/www/iridium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc b/www/iridium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc
deleted file mode 100644
index 5c4047a3614e..000000000000
--- a/www/iridium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- content/browser/ppapi_plugin_process_host_receiver_bindings.cc.orig 2025-05-07 06:48:23 UTC
-+++ content/browser/ppapi_plugin_process_host_receiver_bindings.cc
-@@ -8,7 +8,7 @@
-
- #include "build/build_config.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
- #include "content/browser/font_service.h" // nogncheck
- #endif
-@@ -17,7 +17,7 @@ namespace content {
-
- void PpapiPluginProcessHost::BindHostReceiver(
- mojo::GenericPendingReceiver receiver) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (auto font_receiver = receiver.As<font_service::mojom::FontService>())
- ConnectToFontService(std::move(font_receiver));
- #endif
diff --git a/www/iridium/files/patch-content_browser_renderer__host_delegated__frame__host.cc b/www/iridium/files/patch-content_browser_renderer__host_delegated__frame__host.cc
index 1fafe11f4831..ee6e79acc322 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_delegated__frame__host.cc
+++ b/www/iridium/files/patch-content_browser_renderer__host_delegated__frame__host.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/delegated_frame_host.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/renderer_host/delegated_frame_host.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/delegated_frame_host.cc
-@@ -333,7 +333,7 @@ void DelegatedFrameHost::EmbedSurface(
+@@ -334,7 +334,7 @@ void DelegatedFrameHost::EmbedSurface(
if (!primary_surface_id ||
primary_surface_id->local_surface_id() != local_surface_id_) {
diff --git a/www/iridium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc b/www/iridium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc
index d47d1f427cf0..1a17fbbd69ad 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc
+++ b/www/iridium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/media/service_video_capture_device_launcher.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/renderer_host/media/service_video_capture_device_launcher.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/media/service_video_capture_device_launcher.cc
-@@ -26,7 +26,7 @@
+@@ -29,7 +29,7 @@
#include "media/base/media_switches.h"
#endif
@@ -9,7 +9,7 @@
#include "content/browser/gpu/gpu_data_manager_impl.h"
#endif
-@@ -183,7 +183,7 @@ void ServiceVideoCaptureDeviceLauncher::LaunchDeviceAs
+@@ -188,7 +188,7 @@ void ServiceVideoCaptureDeviceLauncher::LaunchDeviceAs
}
#else
if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled()) {
diff --git a/www/iridium/files/patch-content_browser_renderer__host_pepper_pepper__file__io__host.cc b/www/iridium/files/patch-content_browser_renderer__host_pepper_pepper__file__io__host.cc
deleted file mode 100644
index 34a9ed6e78cb..000000000000
--- a/www/iridium/files/patch-content_browser_renderer__host_pepper_pepper__file__io__host.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- content/browser/renderer_host/pepper/pepper_file_io_host.cc.orig 2025-05-07 06:48:23 UTC
-+++ content/browser/renderer_host/pepper/pepper_file_io_host.cc
-@@ -462,7 +462,7 @@ void PepperFileIOHost::OnLocalFileOpened(
- ppapi::host::ReplyMessageContext reply_context,
- const base::FilePath& path,
- base::File::Error error_code) {
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Quarantining a file before its contents are available is only supported on
- // Windows and Linux.
- if (!FileOpenForWrite(open_flags_) || error_code != base::File::FILE_OK) {
-@@ -496,7 +496,7 @@ void PepperFileIOHost::OnLocalFileOpened(
- #endif
- }
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- void PepperFileIOHost::OnLocalFileQuarantined(
- ppapi::host::ReplyMessageContext reply_context,
- const base::FilePath& path,
diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
index b265d249adcb..1b9b743943f4 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
+++ b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/render_process_host_impl.cc
-@@ -222,7 +222,7 @@
+@@ -224,7 +224,7 @@
#include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h"
#endif
@@ -9,7 +9,7 @@
#include <sys/resource.h>
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
-@@ -1120,7 +1120,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
+@@ -1114,7 +1114,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
// to indicate failure and std::numeric_limits<size_t>::max() to indicate
// unlimited.
size_t GetPlatformProcessLimit() {
@@ -18,7 +18,7 @@
struct rlimit limit;
if (getrlimit(RLIMIT_NPROC, &limit) != 0)
return kUnknownPlatformProcessLimit;
-@@ -1327,7 +1327,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost
+@@ -1321,7 +1321,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost
void RenderProcessHostImpl::IOThreadHostImpl::SetPid(
base::ProcessId child_pid) {
@@ -27,7 +27,7 @@
child_thread_type_switcher_.SetPid(child_pid);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
}
-@@ -3408,7 +3408,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
+@@ -3416,7 +3416,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
base::TimeTicks::UnixEpoch().since_origin().InMicroseconds()));
}
@@ -36,16 +36,16 @@
// Append `kDisableVideoCaptureUseGpuMemoryBuffer` flag if there is no support
// for NV12 GPU memory buffer.
if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled() &&
-@@ -3463,6 +3463,8 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
+@@ -3472,6 +3472,8 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
+ switches::kDisableSkiaRuntimeOpts,
switches::kDisableSpeechAPI,
switches::kDisableThreadedCompositing,
- switches::kDisableTouchDragDrop,
+ switches::kDisableUnveil,
+ switches::kTrk,
switches::kDisableV8IdleTasks,
switches::kDisableVideoCaptureUseGpuMemoryBuffer,
switches::kDisableWebGLImageChromium,
-@@ -5313,7 +5315,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr
+@@ -5350,7 +5352,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr
// - Win: https://crbug.com/707022 .
uint64_t total_size = 0;
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h
index 0380cf57dbb0..631ca3373efb 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h
+++ b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl.h
@@ -1,4 +1,4 @@
---- content/browser/renderer_host/render_process_host_impl.h.orig 2025-06-19 07:37:57 UTC
+--- content/browser/renderer_host/render_process_host_impl.h.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/render_process_host_impl.h
@@ -101,7 +101,7 @@
#include "media/fuchsia_media_codec_provider_impl.h"
@@ -9,16 +9,16 @@
#include "content/browser/child_thread_type_switcher_linux.h"
#include "media/mojo/mojom/video_encode_accelerator.mojom.h"
#endif
-@@ -985,7 +985,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
- std::unique_ptr<service_manager::BinderRegistry> binders_;
- mojo::Receiver<mojom::ChildProcessHost> receiver_{this};
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+@@ -997,7 +997,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
mojo::Remote<media::mojom::VideoEncodeAcceleratorProviderFactory>
video_encode_accelerator_factory_remote_;
+ #endif
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
ChildThreadTypeSwitcher child_thread_type_switcher_;
-@@ -1230,7 +1230,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
+ #endif
+ };
+@@ -1240,7 +1240,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
// if the request isn't handled on the IO thread.
void OnBindHostReceiver(mojo::GenericPendingReceiver receiver);
diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc
index 45355c6d4989..f2e4de8beca2 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc
+++ b/www/iridium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-06-19 07:37:57 UTC
+--- content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc
-@@ -50,7 +50,7 @@
+@@ -52,7 +52,7 @@
#include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h"
#endif
@@ -8,8 +8,8 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
#include "content/browser/font_service.h" // nogncheck
- #include "content/browser/media/video_encode_accelerator_provider_launcher.h"
-@@ -332,7 +332,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost
+ #endif
+@@ -348,7 +348,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost
}
#endif
@@ -18,3 +18,12 @@
if (auto font_receiver = receiver.As<font_service::mojom::FontService>()) {
ConnectToFontService(std::move(font_receiver));
return;
+@@ -376,7 +376,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost
+ }
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (auto r = receiver.As<mojom::ThreadTypeSwitcher>()) {
+ child_thread_type_switcher_.Bind(std::move(r));
+ return;
diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc b/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
index 3b694f9e402d..7e7d1a911214 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
+++ b/www/iridium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_view_host_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- content/browser/renderer_host/render_view_host_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/render_view_host_impl.cc
-@@ -273,7 +273,7 @@ void RenderViewHostImpl::GetPlatformSpecificPrefs(
+@@ -275,7 +275,7 @@ void RenderViewHostImpl::GetPlatformSpecificPrefs(
display::win::GetScreenWin()->GetSystemMetricsInDIP(SM_CYVSCROLL);
prefs->arrow_bitmap_width_horizontal_scroll_bar_in_dips =
display::win::GetScreenWin()->GetSystemMetricsInDIP(SM_CXHSCROLL);
diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc b/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
index 81a925570ebf..19697918d7e5 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
+++ b/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/render_widget_host_view_aura.cc
-@@ -121,7 +121,7 @@
+@@ -122,7 +122,7 @@
#include "ui/gfx/gdi_util.h"
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
#include "ui/accessibility/platform/browser_accessibility_auralinux.h"
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/text_input_flags.h"
-@@ -478,7 +478,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge
+@@ -479,7 +479,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge
return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot())
->GetCOM();
@@ -18,7 +18,7 @@
ui::BrowserAccessibilityManager* manager =
host()->GetOrCreateRootBrowserAccessibilityManager();
if (manager && manager->GetBrowserAccessibilityRoot())
-@@ -1882,7 +1882,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() {
+@@ -1883,7 +1883,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() {
return host() && host()->delegate() && host()->delegate()->ShouldDoLearning();
}
@@ -27,7 +27,7 @@
bool RenderWidgetHostViewAura::SetCompositionFromExistingText(
const gfx::Range& range,
const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) {
-@@ -2858,7 +2858,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() {
+@@ -2866,7 +2866,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() {
}
bool RenderWidgetHostViewAura::NeedsMouseCapture() {
@@ -36,7 +36,7 @@
return NeedsInputGrab();
#else
return false;
-@@ -3042,7 +3042,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit
+@@ -3050,7 +3050,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit
if (!target_host)
return;
diff --git a/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc b/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
index 08a7c31034c8..8f38e569fe81 100644
--- a/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
+++ b/www/iridium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/renderer_host/render_widget_host_view_event_handler.cc
-@@ -602,7 +602,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand
+@@ -618,7 +618,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand
if (event->type() == ui::EventType::kMouseExited) {
if (mouse_locked || selection_popup)
return false;
diff --git a/www/iridium/files/patch-content_browser_service__host_utility__process__host.cc b/www/iridium/files/patch-content_browser_service__host_utility__process__host.cc
index f4c1cbfea511..4c9569b5fb24 100644
--- a/www/iridium/files/patch-content_browser_service__host_utility__process__host.cc
+++ b/www/iridium/files/patch-content_browser_service__host_utility__process__host.cc
@@ -1,4 +1,4 @@
---- content/browser/service_host/utility_process_host.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/service_host/utility_process_host.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/service_host/utility_process_host.cc
@@ -68,7 +68,7 @@
#include "content/browser/v8_snapshot_files.h"
@@ -9,7 +9,7 @@
#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/pickle.h"
-@@ -96,7 +96,7 @@ namespace content {
+@@ -97,7 +97,7 @@ namespace content {
namespace {
@@ -18,21 +18,21 @@
base::ScopedFD PassNetworkContextParentDirs(
std::vector<base::FilePath> network_context_parent_dirs) {
base::Pickle pickle;
-@@ -427,7 +427,7 @@ bool UtilityProcessHost::StartProcess() {
- file_data_->files_to_preload.merge(GetV8SnapshotFilesToPreload(*cmd_line));
+@@ -494,7 +494,7 @@ bool UtilityProcessHost::StartProcess() {
+ GetV8SnapshotFilesToPreload(*cmd_line));
#endif // BUILDFLAG(IS_POSIX)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // The network service should have access to the parent directories
- // necessary for its usage.
- if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) {
-@@ -444,7 +444,7 @@ bool UtilityProcessHost::StartProcess() {
- if (metrics_name_ == video_capture::mojom::VideoCaptureService::Name_) {
- bool pass_gpu_buffer_flag =
- switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
+ // The network service should have access to the parent directories
+ // necessary for its usage.
+ if (options_.sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) {
+@@ -512,7 +512,7 @@ bool UtilityProcessHost::StartProcess() {
+ video_capture::mojom::VideoCaptureService::Name_) {
+ bool pass_gpu_buffer_flag =
+ switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Check if NV12 GPU memory buffer supported at the same time.
- pass_gpu_buffer_flag =
- pass_gpu_buffer_flag &&
+ // Check if NV12 GPU memory buffer supported at the same time.
+ pass_gpu_buffer_flag =
+ pass_gpu_buffer_flag &&
diff --git a/www/iridium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc b/www/iridium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc
index 5835471fe71f..29537c7db857 100644
--- a/www/iridium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc
+++ b/www/iridium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc
@@ -1,15 +1,24 @@
---- content/browser/service_host/utility_sandbox_delegate.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/service_host/utility_sandbox_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/service_host/utility_sandbox_delegate.cc
-@@ -77,7 +77,7 @@ UtilitySandboxedProcessLauncherDelegate::
+@@ -28,7 +28,7 @@
+ #include "chromeos/ash/components/assistant/buildflags.h"
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "media/gpu/buildflags.h"
+ #include "media/media_buildflags.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+@@ -79,7 +79,7 @@ UtilitySandboxedProcessLauncherDelegate::
#if BUILDFLAG(IS_FUCHSIA)
sandbox_type_ == sandbox::mojom::Sandbox::kVideoCapture ||
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kShapeDetection ||
+ #if BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -90,14 +90,14 @@ UtilitySandboxedProcessLauncherDelegate::
+@@ -97,14 +97,14 @@ UtilitySandboxedProcessLauncherDelegate::
#endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -27,18 +36,14 @@
sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceTranslation ||
#endif
sandbox_type_ == sandbox::mojom::Sandbox::kAudio ||
-@@ -144,7 +144,7 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe
- // process upon startup.
- if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork ||
- sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceModelExecution ||
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -158,11 +158,11 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe
+@@ -164,15 +164,15 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe
+ #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
#endif // BUILDFLAG(IS_CHROMEOS)
sandbox_type_ == sandbox::mojom::Sandbox::kAudio ||
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kShapeDetection ||
+ #endif
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-content_browser_v8__snapshot__files.cc b/www/iridium/files/patch-content_browser_v8__snapshot__files.cc
index 55ebf01b7422..08348a59b098 100644
--- a/www/iridium/files/patch-content_browser_v8__snapshot__files.cc
+++ b/www/iridium/files/patch-content_browser_v8__snapshot__files.cc
@@ -1,6 +1,6 @@
---- content/browser/v8_snapshot_files.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/v8_snapshot_files.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/v8_snapshot_files.cc
-@@ -19,7 +19,7 @@ namespace content {
+@@ -35,7 +35,7 @@ void registerContextSnapshotAndroid(
std::map<std::string, std::variant<base::FilePath, base::ScopedFD>>
GetV8SnapshotFilesToPreload(base::CommandLine& process_command_line) {
std::map<std::string, std::variant<base::FilePath, base::ScopedFD>> files;
diff --git a/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura.cc b/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura.cc
index c476bd0cde20..e28e7e756d5e 100644
--- a/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura.cc
+++ b/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura.cc
@@ -1,6 +1,6 @@
---- content/browser/web_contents/web_contents_view_aura.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/web_contents/web_contents_view_aura.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/web_contents/web_contents_view_aura.cc
-@@ -173,7 +173,7 @@ class WebDragSourceAura : public content::WebContentsO
+@@ -175,7 +175,7 @@ class WebDragSourceAura : public content::WebContentsO
raw_ptr<aura::Window> window_;
};
@@ -9,7 +9,7 @@
// Fill out the OSExchangeData with a file contents, synthesizing a name if
// necessary.
void PrepareDragForFileContents(const DropData& drop_data,
-@@ -258,7 +258,7 @@ void PrepareDragData(const DropData& drop_data,
+@@ -260,7 +260,7 @@ void PrepareDragData(const DropData& drop_data,
if (!drop_data.download_metadata.empty())
PrepareDragForDownload(drop_data, provider, web_contents);
#endif
@@ -18,7 +18,7 @@
// We set the file contents before the URL because the URL also sets file
// contents (to a .URL shortcut). We want to prefer file content data over
// a shortcut so we add it first.
-@@ -1327,7 +1327,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent*
+@@ -1326,7 +1326,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent*
// Linux window managers like to handle raise-on-click themselves. If we
// raise-on-click manually, this may override user settings that prevent
// focus-stealing.
diff --git a/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc b/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc
index 10023056c3cd..37fbf69884d0 100644
--- a/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc
+++ b/www/iridium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc
@@ -1,6 +1,6 @@
---- content/browser/web_contents/web_contents_view_aura_unittest.cc.orig 2025-05-07 06:48:23 UTC
+--- content/browser/web_contents/web_contents_view_aura_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ content/browser/web_contents/web_contents_view_aura_unittest.cc
-@@ -40,7 +40,7 @@
+@@ -41,7 +41,7 @@
#include "ui/base/dragdrop/os_exchange_data_provider_win.h"
#endif
@@ -9,7 +9,7 @@
#include "ui/base/x/selection_utils.h"
#include "ui/base/x/x11_os_exchange_data_provider.h"
#include "ui/gfx/x/atom_cache.h"
-@@ -96,7 +96,7 @@ class TestDragDropClient : public aura::client::DragDr
+@@ -97,7 +97,7 @@ class TestDragDropClient : public aura::client::DragDr
drag_drop_data_ = std::move(data);
return DragOperation::kCopy;
}
@@ -18,7 +18,7 @@
void UpdateDragImage(const gfx::ImageSkia& image,
const gfx::Vector2d& offset) override {}
#endif
-@@ -231,7 +231,7 @@ TEST_F(WebContentsViewAuraTest, WebContentsDestroyedDu
+@@ -232,7 +232,7 @@ TEST_F(WebContentsViewAuraTest, WebContentsDestroyedDu
ui::EF_LEFT_MOUSE_BUTTON, 0);
ui::EventHandler* event_handler = GetView();
event_handler->OnMouseEvent(&mouse_event);
@@ -27,7 +27,7 @@
// The web-content is not activated during mouse-press on Linux.
// See comment in WebContentsViewAura::OnMouseEvent() for more details.
EXPECT_NE(web_contents(), nullptr);
-@@ -297,7 +297,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
+@@ -298,7 +298,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
view->OnDragEntered(event);
ASSERT_NE(nullptr, view->current_drag_data_);
@@ -36,7 +36,7 @@
// By design, Linux implementations return an empty string if file data
// is also present.
EXPECT_TRUE(!view->current_drag_data_->text ||
-@@ -337,7 +337,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
+@@ -338,7 +338,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
CheckDropData(view);
@@ -45,7 +45,7 @@
// By design, Linux implementations returns an empty string if file data
// is also present.
EXPECT_TRUE(!drop_complete_data_->drop_data.text ||
-@@ -395,7 +395,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
+@@ -396,7 +396,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
view->OnDragEntered(event);
ASSERT_NE(nullptr, view->current_drag_data_);
@@ -54,7 +54,7 @@
// By design, Linux implementations return an empty string if file data
// is also present.
EXPECT_TRUE(!view->current_drag_data_->text ||
-@@ -427,7 +427,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
+@@ -428,7 +428,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
CheckDropData(view);
@@ -63,7 +63,7 @@
// By design, Linux implementations returns an empty string if file data is
// also present.
EXPECT_TRUE(!drop_complete_data_->drop_data.text ||
-@@ -458,7 +458,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropImageFro
+@@ -459,7 +459,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropImageFro
auto data = std::make_unique<ui::OSExchangeData>();
diff --git a/www/iridium/files/patch-content_child_child__process.cc b/www/iridium/files/patch-content_child_child__process.cc
index 73cf148406d1..196a5a7a8066 100644
--- a/www/iridium/files/patch-content_child_child__process.cc
+++ b/www/iridium/files/patch-content_child_child__process.cc
@@ -1,6 +1,6 @@
---- content/child/child_process.cc.orig 2025-05-07 06:48:23 UTC
+--- content/child/child_process.cc.orig 2025-09-11 13:19:19 UTC
+++ content/child/child_process.cc
-@@ -31,7 +31,7 @@
+@@ -34,7 +34,7 @@
#include "content/common/android/cpu_time_metrics.h"
#endif
@@ -9,7 +9,7 @@
#include "content/child/sandboxed_process_thread_type_handler.h"
#endif
-@@ -177,7 +177,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th
+@@ -192,7 +192,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th
main_thread_.reset(thread);
}
diff --git a/www/iridium/files/patch-content_common_BUILD.gn b/www/iridium/files/patch-content_common_BUILD.gn
index 1d84485ea0b6..0fede09589b5 100644
--- a/www/iridium/files/patch-content_common_BUILD.gn
+++ b/www/iridium/files/patch-content_common_BUILD.gn
@@ -1,6 +1,6 @@
---- content/common/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- content/common/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ content/common/BUILD.gn
-@@ -382,19 +382,28 @@ source_set("common") {
+@@ -367,19 +367,28 @@ source_set("common") {
}
if (is_linux || is_chromeos) {
diff --git a/www/iridium/files/patch-content_common_features.cc b/www/iridium/files/patch-content_common_features.cc
index 5fcb2020201f..a22fc9679ed8 100644
--- a/www/iridium/files/patch-content_common_features.cc
+++ b/www/iridium/files/patch-content_common_features.cc
@@ -1,6 +1,6 @@
---- content/common/features.cc.orig 2025-06-19 07:37:57 UTC
+--- content/common/features.cc.orig 2025-09-11 13:19:19 UTC
+++ content/common/features.cc
-@@ -163,7 +163,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn,
+@@ -170,7 +170,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn,
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables error reporting for JS errors inside DevTools frontend host
diff --git a/www/iridium/files/patch-content_common_features.h b/www/iridium/files/patch-content_common_features.h
index c9c8d2012487..9ccdfdecf2c1 100644
--- a/www/iridium/files/patch-content_common_features.h
+++ b/www/iridium/files/patch-content_common_features.h
@@ -1,6 +1,6 @@
---- content/common/features.h.orig 2025-06-19 07:37:57 UTC
+--- content/common/features.h.orig 2025-09-11 13:19:19 UTC
+++ content/common/features.h
-@@ -59,7 +59,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginEn
+@@ -60,7 +60,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginEn
CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginTracking);
CONTENT_EXPORT BASE_DECLARE_FEATURE(kCriticalClientHint);
CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNegotiation);
@@ -8,4 +8,4 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableDevToolsJsErrorReporting);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kEmbeddingRequiresOptIn);
+ CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnforceSameDocumentOriginInvariants);
diff --git a/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc b/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc
index 0324b1dcd011..da073e63776b 100644
--- a/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc
+++ b/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc
@@ -1,4 +1,4 @@
---- content/common/gpu_pre_sandbox_hook_bsd.cc.orig 2025-05-07 06:48:23 UTC
+--- content/common/gpu_pre_sandbox_hook_bsd.cc.orig 2025-09-11 13:19:19 UTC
+++ content/common/gpu_pre_sandbox_hook_bsd.cc
@@ -0,0 +1,68 @@
+// Copyright 2023 The Chromium Authors
@@ -49,6 +49,8 @@
+ }
+}
+
++} // namespace
++
+bool LoadLibrariesForGpu(
+ const sandbox::policy::SandboxSeccompBPF::Options& options) {
+ LoadVulkanLibraries();
@@ -56,8 +58,6 @@
+ return true;
+}
+
-+} // namespace
-+
+bool GpuPreSandboxHook(sandbox::policy::SandboxLinux::Options options) {
+ if (!LoadLibrariesForGpu(options))
+ return false;
diff --git a/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h b/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h
index fa5bc2a57af1..c055a7f23b25 100644
--- a/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h
+++ b/www/iridium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h
@@ -1,16 +1,18 @@
---- content/common/gpu_pre_sandbox_hook_linux.h.orig 2025-05-07 06:48:23 UTC
+--- content/common/gpu_pre_sandbox_hook_linux.h.orig 2025-09-11 13:19:19 UTC
+++ content/common/gpu_pre_sandbox_hook_linux.h
-@@ -5,8 +5,13 @@
- #ifndef CONTENT_COMMON_GPU_PRE_SANDBOX_HOOK_LINUX_H_
- #define CONTENT_COMMON_GPU_PRE_SANDBOX_HOOK_LINUX_H_
+@@ -7,7 +7,15 @@
+
+ #include <vector>
+#include "build/build_config.h"
- #include "base/component_export.h"
++
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
++#include "sandbox/linux/syscall_broker/broker_command.h"
++#include "sandbox/linux/syscall_broker/broker_file_permission.h"
+#else
#include "sandbox/policy/linux/sandbox_linux.h"
+#endif
- namespace content {
-
+ namespace sandbox::syscall_broker {
+ class BrokerFilePermission;
diff --git a/www/iridium/files/patch-content_gpu_gpu__child__thread.cc b/www/iridium/files/patch-content_gpu_gpu__child__thread.cc
index 2b98aae2e6c2..6fd32d179dac 100644
--- a/www/iridium/files/patch-content_gpu_gpu__child__thread.cc
+++ b/www/iridium/files/patch-content_gpu_gpu__child__thread.cc
@@ -1,6 +1,6 @@
---- content/gpu/gpu_child_thread.cc.orig 2025-05-07 06:48:23 UTC
+--- content/gpu/gpu_child_thread.cc.orig 2025-09-11 13:19:19 UTC
+++ content/gpu/gpu_child_thread.cc
-@@ -57,7 +57,7 @@
+@@ -56,7 +56,7 @@
#include "third_party/skia/include/ports/SkFontConfigInterface.h"
#endif
@@ -9,7 +9,7 @@
#include "content/child/sandboxed_process_thread_type_handler.h"
#endif
-@@ -147,7 +147,8 @@ void GpuChildThread::Init(const base::TimeTicks& proce
+@@ -146,7 +146,8 @@ void GpuChildThread::Init(const base::TimeTicks& proce
viz_main_.gpu_service()->set_start_time(process_start_time);
diff --git a/www/iridium/files/patch-content_gpu_gpu__main.cc b/www/iridium/files/patch-content_gpu_gpu__main.cc
index 992e460a8b0e..bce7297245c9 100644
--- a/www/iridium/files/patch-content_gpu_gpu__main.cc
+++ b/www/iridium/files/patch-content_gpu_gpu__main.cc
@@ -1,6 +1,6 @@
---- content/gpu/gpu_main.cc.orig 2025-06-19 07:37:57 UTC
+--- content/gpu/gpu_main.cc.orig 2025-09-11 13:19:19 UTC
+++ content/gpu/gpu_main.cc
-@@ -95,10 +95,14 @@
+@@ -107,10 +107,14 @@
#include "sandbox/win/src/sandbox.h"
#endif
@@ -16,7 +16,7 @@
#include "sandbox/policy/sandbox_type.h"
#endif
-@@ -116,7 +120,7 @@ namespace content {
+@@ -128,7 +132,7 @@ namespace content {
namespace {
@@ -25,16 +25,16 @@
bool StartSandboxLinux(gpu::GpuWatchdogThread*,
const gpu::GPUInfo*,
const gpu::GpuPreferences&);
-@@ -176,7 +180,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel
+@@ -190,7 +194,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) override {
- GPU_STARTUP_TRACE_EVENT("gpu_main::EnsureSandboxInitialized");
+ TRACE_EVENT("gpu,startup", "gpu_main::EnsureSandboxInitialized");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs);
#elif BUILDFLAG(IS_WIN)
return StartSandboxWindows(sandbox_info_);
-@@ -289,7 +293,7 @@ int GpuMain(MainFunctionParams parameters) {
+@@ -306,7 +310,7 @@ int GpuMain(MainFunctionParams parameters) {
std::make_unique<base::SingleThreadTaskExecutor>(
gpu_preferences.message_pump_type);
}
@@ -43,7 +43,7 @@
#error "Unsupported Linux platform."
#elif BUILDFLAG(IS_MAC)
// Cross-process CoreAnimation requires a CFRunLoop to function at all, and
-@@ -315,7 +319,8 @@ int GpuMain(MainFunctionParams parameters) {
+@@ -331,7 +335,8 @@ int GpuMain(MainFunctionParams parameters) {
base::PlatformThread::SetName("CrGpuMain");
mojo::InterfaceEndpointClient::SetThreadNameSuffixForMetrics("GpuMain");
@@ -53,7 +53,7 @@
// Thread type delegate of the process should be registered before
// thread type change below for the main thread and for thread pool in
// ChildProcess constructor.
-@@ -448,7 +453,7 @@ int GpuMain(MainFunctionParams parameters) {
+@@ -479,7 +484,7 @@ int GpuMain(MainFunctionParams parameters) {
namespace {
@@ -62,7 +62,7 @@
bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread,
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) {
-@@ -488,7 +493,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo
+@@ -527,7 +532,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo
sandbox_options.accelerated_video_encode_enabled =
!gpu_prefs.disable_accelerated_video_encode;
diff --git a/www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc b/www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc
deleted file mode 100644
index 73ad1cd28063..000000000000
--- a/www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- content/ppapi_plugin/ppapi_blink_platform_impl.cc.orig 2025-05-07 06:48:23 UTC
-+++ content/ppapi_plugin/ppapi_blink_platform_impl.cc
-@@ -21,7 +21,7 @@
-
- #if BUILDFLAG(IS_MAC)
- #include "content/child/child_process_sandbox_support_impl_mac.h"
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "content/child/child_process_sandbox_support_impl_linux.h"
- #include "mojo/public/cpp/bindings/pending_remote.h"
- #endif
-@@ -36,7 +36,7 @@ typedef struct CGFont* CGFontRef;
- namespace content {
-
- PpapiBlinkPlatformImpl::PpapiBlinkPlatformImpl() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- mojo::PendingRemote<font_service::mojom::FontService> font_service;
- ChildThread::Get()->BindHostReceiver(
- font_service.InitWithNewPipeAndPassReceiver());
-@@ -55,7 +55,7 @@ PpapiBlinkPlatformImpl::~PpapiBlinkPlatformImpl() {
- void PpapiBlinkPlatformImpl::Shutdown() {}
-
- blink::WebSandboxSupport* PpapiBlinkPlatformImpl::GetSandboxSupport() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- return sandbox_support_.get();
- #else
- return nullptr;
diff --git a/www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h b/www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h
deleted file mode 100644
index 20bbbd4b85fe..000000000000
--- a/www/iridium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- content/ppapi_plugin/ppapi_blink_platform_impl.h.orig 2025-05-07 06:48:23 UTC
-+++ content/ppapi_plugin/ppapi_blink_platform_impl.h
-@@ -36,7 +36,7 @@ class PpapiBlinkPlatformImpl : public BlinkPlatformImp
- blink::WebString DefaultLocale() override;
-
- private:
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- std::unique_ptr<blink::WebSandboxSupport> sandbox_support_;
- #endif
- };
diff --git a/www/iridium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc b/www/iridium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc
deleted file mode 100644
index c420df5771df..000000000000
--- a/www/iridium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc
+++ /dev/null
@@ -1,23 +0,0 @@
---- content/ppapi_plugin/ppapi_plugin_main.cc.orig 2025-05-07 06:48:23 UTC
-+++ content/ppapi_plugin/ppapi_plugin_main.cc
-@@ -52,6 +52,11 @@
- #include "gin/v8_initializer.h"
- #endif
-
-+#if BUILDFLAG(IS_BSD)
-+#include "sandbox/policy/sandbox.h"
-+#include "sandbox/policy/sandbox_type.h"
-+#endif
-+
- #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID)
- #include <stdlib.h>
- #endif
-@@ -139,7 +144,7 @@ int PpapiPluginMain(MainFunctionParams parameters) {
- gin::V8Initializer::LoadV8Snapshot();
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD)
- sandbox::policy::SandboxLinux::GetInstance()->InitializeSandbox(
- sandbox::policy::SandboxTypeFromCommandLine(command_line),
- sandbox::policy::SandboxLinux::PreSandboxHook(),
diff --git a/www/iridium/files/patch-content_public_common_content__features.cc b/www/iridium/files/patch-content_public_common_content__features.cc
index 80d753c6135d..3e2c080be6e7 100644
--- a/www/iridium/files/patch-content_public_common_content__features.cc
+++ b/www/iridium/files/patch-content_public_common_content__features.cc
@@ -1,6 +1,6 @@
---- content/public/common/content_features.cc.orig 2025-06-19 07:37:57 UTC
+--- content/public/common/content_features.cc.orig 2025-09-11 13:19:19 UTC
+++ content/public/common/content_features.cc
-@@ -80,7 +80,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup,
+@@ -103,7 +103,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup,
// Runs the audio service in a separate process.
BASE_FEATURE(kAudioServiceOutOfProcess,
"AudioServiceOutOfProcess",
@@ -9,7 +9,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -1275,9 +1275,9 @@ BASE_FEATURE(kWebAssemblyTiering,
+@@ -1394,9 +1394,9 @@ BASE_FEATURE(kWebAssemblyTiering,
BASE_FEATURE(kWebAssemblyTrapHandler,
"WebAssemblyTrapHandler",
#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
@@ -21,7 +21,7 @@
defined(ARCH_CPU_ARM64))
base::FEATURE_ENABLED_BY_DEFAULT
#else
-@@ -1334,7 +1334,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExtended,
+@@ -1453,7 +1453,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExtended,
// Controls whether the WebUSB API is enabled:
// https://wicg.github.io/webusb
@@ -31,5 +31,5 @@
BASE_FEATURE(kWebUsb, "WebUSB", base::FEATURE_ENABLED_BY_DEFAULT);
+#endif
- // Controls whether the WebXR Device API is enabled.
- BASE_FEATURE(kWebXr, "WebXR", base::FEATURE_ENABLED_BY_DEFAULT);
+ // Apply `PrefetchPriority::kHighest` for Webview Prefetch API.
+ BASE_FEATURE(kWebViewPrefetchHighestPrefetchPriority,
diff --git a/www/iridium/files/patch-content_public_common_content__switches.cc b/www/iridium/files/patch-content_public_common_content__switches.cc
index 9dffcaeaf98b..a511dc669fbf 100644
--- a/www/iridium/files/patch-content_public_common_content__switches.cc
+++ b/www/iridium/files/patch-content_public_common_content__switches.cc
@@ -1,6 +1,6 @@
---- content/public/common/content_switches.cc.orig 2025-06-19 07:37:57 UTC
+--- content/public/common/content_switches.cc.orig 2025-09-11 13:19:19 UTC
+++ content/public/common/content_switches.cc
-@@ -345,6 +345,10 @@ const char kEnableIsolatedWebAppsInRenderer[] =
+@@ -347,6 +347,10 @@ const char kEnableIsolatedWebAppsInRenderer[] =
// builds.
const char kEnableLogging[] = "enable-logging";
@@ -11,7 +11,7 @@
// Enables the type, downlinkMax attributes of the NetInfo API. Also, enables
// triggering of change attribute of the NetInfo API when there is a change in
// the connection type.
-@@ -952,7 +956,7 @@ const char kPreventResizingContentsForTesting[] =
+@@ -946,7 +950,7 @@ const char kPreventResizingContentsForTesting[] =
"prevent-resizing-contents-for-testing";
#endif
diff --git a/www/iridium/files/patch-content_public_common_content__switches.h b/www/iridium/files/patch-content_public_common_content__switches.h
index 42bdc925d768..944d0cde85d8 100644
--- a/www/iridium/files/patch-content_public_common_content__switches.h
+++ b/www/iridium/files/patch-content_public_common_content__switches.h
@@ -1,4 +1,4 @@
---- content/public/common/content_switches.h.orig 2025-06-19 07:37:57 UTC
+--- content/public/common/content_switches.h.orig 2025-09-11 13:19:19 UTC
+++ content/public/common/content_switches.h
@@ -108,6 +108,8 @@ CONTENT_EXPORT extern const char kEnableGpuMemoryBuffe
CONTENT_EXPORT extern const char kEnableIsolatedWebAppsInRenderer[];
@@ -9,7 +9,7 @@
CONTENT_EXPORT extern const char kEnableNetworkInformationDownlinkMax[];
CONTENT_EXPORT extern const char kEnableCanvas2DLayers[];
CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[];
-@@ -259,7 +261,7 @@ CONTENT_EXPORT extern const char kRendererWaitForJavaD
+@@ -257,7 +259,7 @@ CONTENT_EXPORT extern const char kRendererWaitForJavaD
CONTENT_EXPORT extern const char kPreventResizingContentsForTesting[];
#endif
diff --git a/www/iridium/files/patch-content_renderer_render__thread__impl.cc b/www/iridium/files/patch-content_renderer_render__thread__impl.cc
index 8b81be16f1e0..d2ab939b5848 100644
--- a/www/iridium/files/patch-content_renderer_render__thread__impl.cc
+++ b/www/iridium/files/patch-content_renderer_render__thread__impl.cc
@@ -1,6 +1,6 @@
---- content/renderer/render_thread_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- content/renderer/render_thread_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/renderer/render_thread_impl.cc
-@@ -207,6 +207,8 @@
+@@ -203,6 +203,8 @@
#if BUILDFLAG(IS_APPLE)
#include <malloc/malloc.h>
@@ -9,7 +9,7 @@
#else
#include <malloc.h>
#endif
-@@ -1069,7 +1071,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
+@@ -1026,7 +1028,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
kGpuStreamIdMedia, kGpuStreamPriorityMedia);
const bool enable_video_decode_accelerator =
@@ -18,7 +18,7 @@
base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) &&
#endif // BUILDFLAG(IS_LINUX)
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode) &&
-@@ -1078,7 +1080,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
+@@ -1035,7 +1037,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
gpu::kGpuFeatureStatusEnabled);
const bool enable_video_encode_accelerator =
@@ -27,7 +27,7 @@
base::FeatureList::IsEnabled(media::kAcceleratedVideoEncodeLinux) &&
#else
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoEncode) &&
-@@ -1870,7 +1872,7 @@ RenderThreadImpl::CreateMediaMojoCodecFactory(
+@@ -1809,7 +1811,7 @@ RenderThreadImpl::CreateMediaMojoCodecFactory(
bool enable_video_encode_accelerator) {
mojo::PendingRemote<media::mojom::VideoEncodeAcceleratorProvider>
vea_provider;
diff --git a/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.cc b/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.cc
index 3287b7e4cbde..48d1e8be0865 100644
--- a/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.cc
+++ b/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.cc
@@ -1,4 +1,4 @@
---- content/renderer/renderer_blink_platform_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- content/renderer/renderer_blink_platform_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ content/renderer/renderer_blink_platform_impl.cc
@@ -124,7 +124,7 @@
@@ -9,7 +9,7 @@
#include "content/child/child_process_sandbox_support_impl_linux.h"
#include "content/child/sandboxed_process_thread_type_handler.h"
#endif
-@@ -192,13 +192,13 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
+@@ -193,13 +193,13 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
is_locked_to_site_(false),
main_thread_scheduler_(main_thread_scheduler),
next_frame_sink_id_(uint32_t{std::numeric_limits<int32_t>::max()} + 1) {
@@ -25,7 +25,7 @@
mojo::PendingRemote<font_service::mojom::FontService> font_service;
RenderThreadImpl::current()->BindHostReceiver(
font_service.InitWithNewPipeAndPassReceiver());
-@@ -223,7 +223,7 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
+@@ -224,7 +224,7 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
}
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -34,7 +34,7 @@
if (sandboxEnabled()) {
#if BUILDFLAG(IS_MAC)
sandbox_support_ = std::make_unique<WebSandboxSupportMac>();
-@@ -296,7 +296,7 @@ RendererBlinkPlatformImpl::GetWebUIBundledCodeCacheRes
+@@ -297,7 +297,7 @@ RendererBlinkPlatformImpl::GetWebUIBundledCodeCacheRes
blink::WebSandboxSupport* RendererBlinkPlatformImpl::GetSandboxSupport() {
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
diff --git a/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h b/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h
index 6de550afa66c..3b71c6fceeee 100644
--- a/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h
+++ b/www/iridium/files/patch-content_renderer_renderer__blink__platform__impl.h
@@ -1,6 +1,6 @@
---- content/renderer/renderer_blink_platform_impl.h.orig 2025-06-19 07:37:57 UTC
+--- content/renderer/renderer_blink_platform_impl.h.orig 2025-09-11 13:19:19 UTC
+++ content/renderer/renderer_blink_platform_impl.h
-@@ -266,7 +266,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi
+@@ -273,7 +273,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi
const gpu::GPUInfo& gpu_info) const;
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
diff --git a/www/iridium/files/patch-content_shell_BUILD.gn b/www/iridium/files/patch-content_shell_BUILD.gn
index 9bdb18543fb7..f75dea71d4e2 100644
--- a/www/iridium/files/patch-content_shell_BUILD.gn
+++ b/www/iridium/files/patch-content_shell_BUILD.gn
@@ -1,6 +1,6 @@
---- content/shell/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- content/shell/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ content/shell/BUILD.gn
-@@ -1111,7 +1111,7 @@ group("content_shell_crash_test") {
+@@ -1102,7 +1102,7 @@ group("content_shell_crash_test") {
if (is_win) {
data_deps += [ "//build/win:copy_cdb_to_output" ]
}
diff --git a/www/iridium/files/patch-content_shell_app_shell__main__delegate.cc b/www/iridium/files/patch-content_shell_app_shell__main__delegate.cc
index e9fd7f4423b8..a4605fcf310b 100644
--- a/www/iridium/files/patch-content_shell_app_shell__main__delegate.cc
+++ b/www/iridium/files/patch-content_shell_app_shell__main__delegate.cc
@@ -1,6 +1,6 @@
---- content/shell/app/shell_main_delegate.cc.orig 2025-05-07 06:48:23 UTC
+--- content/shell/app/shell_main_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ content/shell/app/shell_main_delegate.cc
-@@ -269,7 +269,7 @@ void ShellMainDelegate::PreSandboxStartup() {
+@@ -289,7 +289,7 @@ void ShellMainDelegate::PreSandboxStartup() {
// Reporting for sub-processes will be initialized in ZygoteForked.
if (process_type != switches::kZygoteProcess) {
crash_reporter::InitializeCrashpad(process_type.empty(), process_type);
diff --git a/www/iridium/files/patch-content_shell_browser_shell__paths.cc b/www/iridium/files/patch-content_shell_browser_shell__paths.cc
deleted file mode 100644
index 35a013b5a25b..000000000000
--- a/www/iridium/files/patch-content_shell_browser_shell__paths.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- content/shell/browser/shell_paths.cc.orig 2025-05-07 06:48:23 UTC
-+++ content/shell/browser/shell_paths.cc
-@@ -13,7 +13,7 @@
-
- #if BUILDFLAG(IS_FUCHSIA)
- #include "base/fuchsia/file_utils.h"
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "base/nix/xdg_util.h"
- #endif
-
-@@ -25,7 +25,7 @@ bool GetDefaultUserDataDirectory(base::FilePath* resul
- #if BUILDFLAG(IS_WIN)
- CHECK(base::PathService::Get(base::DIR_LOCAL_APP_DATA, result));
- *result = result->Append(std::wstring(L"content_shell"));
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- std::unique_ptr<base::Environment> env(base::Environment::Create());
- base::FilePath config_dir(base::nix::GetXDGDirectory(
- env.get(), base::nix::kXdgConfigHomeEnvVar, base::nix::kDotConfigDir));
diff --git a/www/iridium/files/patch-content_shell_renderer_shell__content__renderer__client.cc b/www/iridium/files/patch-content_shell_renderer_shell__content__renderer__client.cc
index 5ad9042f1fc0..e6fd0bf0bc61 100644
--- a/www/iridium/files/patch-content_shell_renderer_shell__content__renderer__client.cc
+++ b/www/iridium/files/patch-content_shell_renderer_shell__content__renderer__client.cc
@@ -1,6 +1,6 @@
---- content/shell/renderer/shell_content_renderer_client.cc.orig 2025-05-07 06:48:23 UTC
+--- content/shell/renderer/shell_content_renderer_client.cc.orig 2025-09-11 13:19:19 UTC
+++ content/shell/renderer/shell_content_renderer_client.cc
-@@ -55,7 +55,7 @@
+@@ -50,7 +50,7 @@
#include "media/base/media_switches.h"
#endif
diff --git a/www/iridium/files/patch-content_shell_utility_shell__content__utility__client.cc b/www/iridium/files/patch-content_shell_utility_shell__content__utility__client.cc
index b8499b55bf86..ca511a01d5f9 100644
--- a/www/iridium/files/patch-content_shell_utility_shell__content__utility__client.cc
+++ b/www/iridium/files/patch-content_shell_utility_shell__content__utility__client.cc
@@ -1,4 +1,4 @@
---- content/shell/utility/shell_content_utility_client.cc.orig 2025-05-07 06:48:23 UTC
+--- content/shell/utility/shell_content_utility_client.cc.orig 2025-09-11 13:19:19 UTC
+++ content/shell/utility/shell_content_utility_client.cc
@@ -43,7 +43,7 @@
#include "sandbox/policy/sandbox.h"
@@ -11,7 +11,7 @@
@@ -192,7 +192,7 @@ void ShellContentUtilityClient::ExposeInterfacesToBrow
binders->Add<mojom::PowerMonitorTest>(
- base::BindRepeating(&PowerMonitorTestImpl::MakeSelfOwnedReceiver),
+ &PowerMonitorTestImpl::MakeSelfOwnedReceiver,
base::SingleThreadTaskRunner::GetCurrentDefault());
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc b/www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc
new file mode 100644
index 000000000000..26dda3b12ad1
--- /dev/null
+++ b/www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc
@@ -0,0 +1,84 @@
+--- content/utility/on_device_model/on_device_model_sandbox_init.cc.orig 2025-09-11 13:19:19 UTC
++++ content/utility/on_device_model/on_device_model_sandbox_init.cc
+@@ -17,16 +17,20 @@
+ #include "services/on_device_model/ml/gpu_blocklist.h" // nogncheck
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include <errno.h>
+
+ #include "content/common/gpu_pre_sandbox_hook_linux.h"
+ #include "gpu/config/gpu_info_collector.h" // nogncheck
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#else
+ #include "sandbox/policy/linux/sandbox_linux.h"
+ #endif
++#endif
+
+ #if !BUILDFLAG(IS_FUCHSIA) && \
+- !(BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_CAST_RECEIVER))
++ !((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_CAST_RECEIVER))
+ #include "base/feature_list.h"
+ #include "third_party/dawn/include/dawn/dawn_proc.h" // nogncheck
+ #include "third_party/dawn/include/dawn/native/DawnNative.h" // nogncheck
+@@ -37,7 +41,7 @@ namespace on_device_model {
+
+ namespace {
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ constexpr uint32_t kVendorIdAMD = 0x1002;
+ constexpr uint32_t kVendorIdIntel = 0x8086;
+ constexpr uint32_t kVendorIdNVIDIA = 0x10DE;
+@@ -66,13 +70,13 @@ void UpdateSandboxOptionsForGpu(
+ #endif
+
+ #if !BUILDFLAG(IS_FUCHSIA) && \
+- !(BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_CAST_RECEIVER))
++ !((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_CAST_RECEIVER))
+ // If this feature is enabled, a WebGPU device is created for each valid
+ // adapter. This makes sure any relevant drivers or other libs are loaded before
+ // enabling the sandbox.
+ BASE_FEATURE(kOnDeviceModelWarmDrivers,
+ "OnDeviceModelWarmDrivers",
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
+@@ -101,7 +105,7 @@ bool PreSandboxInit() {
+ #endif
+
+ #if !BUILDFLAG(IS_FUCHSIA) && \
+- !(BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_CAST_RECEIVER))
++ !((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_CAST_RECEIVER))
+ if (base::FeatureList::IsEnabled(kOnDeviceModelWarmDrivers)
+ #if defined(ENABLE_ML_INTERNAL)
+ && !ml::IsGpuBlocked(ml::ChromeML::Get()->api(), /*log_histogram=*/false)
+@@ -141,7 +145,7 @@ bool PreSandboxInit() {
+ return true;
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void AddSandboxLinuxOptions(sandbox::policy::SandboxLinux::Options& options) {
+ // Make sure any necessary vendor-specific options are set.
+ gpu::GPUInfo info;
+@@ -153,6 +157,7 @@ void AddSandboxLinuxOptions(sandbox::policy::SandboxLi
+ }
+
+ bool PreSandboxHook(sandbox::policy::SandboxLinux::Options options) {
++#if !BUILDFLAG(IS_BSD)
+ std::vector<sandbox::syscall_broker::BrokerFilePermission> file_permissions =
+ content::FilePermissionsForGpu(options);
+ file_permissions.push_back(
+@@ -161,6 +166,7 @@ bool PreSandboxHook(sandbox::policy::SandboxLinux::Opt
+
+ sandbox::policy::SandboxLinux::GetInstance()->StartBrokerProcess(
+ content::CommandSetForGPU(options), file_permissions, options);
++#endif
+
+ if (!content::LoadLibrariesForGpu(options)) {
+ return false;
diff --git a/www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h b/www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h
new file mode 100644
index 000000000000..18a259853e82
--- /dev/null
+++ b/www/iridium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h
@@ -0,0 +1,22 @@
+--- content/utility/on_device_model/on_device_model_sandbox_init.h.orig 2025-09-11 13:19:19 UTC
++++ content/utility/on_device_model/on_device_model_sandbox_init.h
+@@ -11,6 +11,10 @@
+ #include "sandbox/policy/linux/sandbox_linux.h"
+ #endif
+
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#endif
++
+ namespace on_device_model {
+
+ // Must be called in the service's process before sandbox initialization.
+@@ -21,7 +25,7 @@ namespace on_device_model {
+ // Must be called in the service's process after the run loop finished.
+ [[nodiscard]] bool Shutdown();
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void AddSandboxLinuxOptions(sandbox::policy::SandboxLinux::Options& options);
+
+ [[nodiscard]] bool PreSandboxHook(
diff --git a/www/iridium/files/patch-content_utility_services.cc b/www/iridium/files/patch-content_utility_services.cc
index 1f4a66a636ce..f4276f0d9407 100644
--- a/www/iridium/files/patch-content_utility_services.cc
+++ b/www/iridium/files/patch-content_utility_services.cc
@@ -1,24 +1,22 @@
---- content/utility/services.cc.orig 2025-05-07 06:48:23 UTC
+--- content/utility/services.cc.orig 2025-09-11 13:19:19 UTC
+++ content/utility/services.cc
-@@ -73,7 +73,7 @@
+@@ -74,13 +74,13 @@
extern sandbox::TargetServices* g_utility_target_services;
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "media/mojo/services/mojo_video_encode_accelerator_provider_factory.h"
#include "sandbox/linux/services/libc_interceptor.h"
#include "sandbox/policy/mojom/sandbox.mojom.h"
-@@ -101,7 +101,7 @@ extern sandbox::TargetServices* g_utility_target_servi
- #endif // BUILDFLAG(IS_CHROMEOS) && (BUILDFLAG(USE_VAAPI) ||
- // BUILDFLAG(USE_V4L2_CODEC))
+ #include "sandbox/policy/sandbox_type.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
- (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- #include "content/common/features.h"
- #include "media/mojo/services/oop_video_decoder_factory_process_service.h" // nogncheck
-@@ -237,7 +237,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #include "services/shape_detection/public/mojom/shape_detection_service.mojom.h" // nogncheck
+ #include "services/shape_detection/shape_detection_service.h" // nogncheck
+ #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) && BUILDFLAG(IS_CHROMEOS)
+@@ -235,7 +235,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi
<< "task_policy_set TASK_QOS_POLICY";
#endif
@@ -27,39 +25,21 @@
auto* command_line = base::CommandLine::ForCurrentProcess();
if (sandbox::policy::SandboxTypeFromCommandLine(*command_line) ==
sandbox::mojom::Sandbox::kNoSandbox) {
-@@ -381,7 +381,7 @@ auto RunOOPArcVideoAcceleratorFactoryService(
- #endif // BUILDFLAG(IS_CHROMEOS) && \
- // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
- (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- auto RunOOPVideoDecoderFactoryProcessService(
- mojo::PendingReceiver<media::mojom::VideoDecoderFactoryProcess> receiver) {
-@@ -391,7 +391,7 @@ auto RunOOPVideoDecoderFactoryProcessService(
- #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) &&
- // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- auto RunVideoEncodeAcceleratorProviderFactory(
- mojo::PendingReceiver<media::mojom::VideoEncodeAcceleratorProviderFactory>
+@@ -257,7 +257,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi
+ return audio::CreateStandaloneService(std::move(receiver));
+ }
+
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ auto RunShapeDetectionService(
+ mojo::PendingReceiver<shape_detection::mojom::ShapeDetectionService>
receiver) {
-@@ -414,7 +414,7 @@ void RegisterIOThreadServices(mojo::ServiceFactory& se
- // loop of type IO that can get notified when pipes have data.
- services.Add(RunNetworkService);
+@@ -432,7 +432,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
+ services.Add(RunOnDeviceModel);
+ }
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
- (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- services.Add(RunOOPVideoDecoderFactoryProcessService);
- #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) &&
-@@ -467,7 +467,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
- #endif // BUILDFLAG(IS_CHROMEOS) && \
- // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- services.Add(RunVideoEncodeAcceleratorProviderFactory);
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ services.Add(RunShapeDetectionService);
+ #endif
diff --git a/www/iridium/files/patch-content_utility_utility__main.cc b/www/iridium/files/patch-content_utility_utility__main.cc
index dbf0a5f9b210..93914073194a 100644
--- a/www/iridium/files/patch-content_utility_utility__main.cc
+++ b/www/iridium/files/patch-content_utility_utility__main.cc
@@ -1,6 +1,6 @@
---- content/utility/utility_main.cc.orig 2025-05-07 06:48:23 UTC
+--- content/utility/utility_main.cc.orig 2025-09-11 13:19:19 UTC
+++ content/utility/utility_main.cc
-@@ -36,18 +36,22 @@
+@@ -39,17 +39,21 @@
#include "services/tracing/public/cpp/trace_startup.h"
#include "services/video_effects/public/cpp/buildflags.h"
@@ -10,35 +10,34 @@
#include "base/files/file_util.h"
#include "base/pickle.h"
#include "content/child/sandboxed_process_thread_type_handler.h"
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
++#if !BUILDFLAG(IS_BSD)
#include "content/common/gpu_pre_sandbox_hook_linux.h"
+#endif
#include "content/public/common/content_descriptor_keys.h"
#include "content/utility/speech/speech_recognition_sandbox_hook_linux.h"
- #include "gpu/config/gpu_info_collector.h"
- #include "media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h"
- #include "media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h"
+ #include "media/gpu/buildflags.h"
+ #include "media/media_buildflags.h"
+#if !BUILDFLAG(IS_BSD)
#include "sandbox/policy/linux/sandbox_linux.h"
+#endif
#include "services/audio/audio_sandbox_hook_linux.h"
#include "services/network/network_sandbox_hook_linux.h"
#include "services/screen_ai/buildflags/buildflags.h"
-@@ -66,7 +70,12 @@
+@@ -84,7 +88,12 @@
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX)
+-#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
+#include "content/common/gpu_pre_sandbox_hook_bsd.h"
+#endif
+
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
#include "services/video_effects/video_effects_sandbox_hook_linux.h" // nogncheck
#endif // BUILDFLAG(IS_LINUX)
-@@ -101,7 +110,7 @@
+@@ -121,7 +130,7 @@
sandbox::TargetServices* g_utility_target_services = nullptr;
#endif // BUILDFLAG(IS_WIN)
@@ -47,7 +46,7 @@
#include "components/services/on_device_translation/sandbox_hook.h"
#endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX)
-@@ -109,7 +118,7 @@ namespace content {
+@@ -129,7 +138,7 @@ namespace content {
namespace {
@@ -56,26 +55,27 @@
std::vector<std::string> GetNetworkContextsParentDirectories() {
base::MemoryMappedFile::Region region;
base::ScopedFD read_pipe_fd = base::FileDescriptorStore::GetInstance().TakeFD(
-@@ -247,7 +256,8 @@ int UtilityMain(MainFunctionParams parameters) {
- CHECK(on_device_model::OnDeviceModelService::PreSandboxInit());
+@@ -284,7 +293,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ CHECK(on_device_model::PreSandboxInit());
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+// XXX BSD
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
- // Thread type delegate of the process should be registered before first
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+
+ #if BUILDFLAG(USE_LINUX_VIDEO_ACCELERATION) && BUILDFLAG(USE_VAAPI)
+ // Regardless of the sandbox status, the VaapiWrapper needs to be initialized
+@@ -299,7 +308,10 @@ int UtilityMain(MainFunctionParams parameters) {
// thread type change in ChildProcess constructor. It also needs to be
// registered before the process has multiple threads, which may race with
-@@ -255,7 +265,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ // application of the sandbox.
++// XXX BSD
++#if !BUILDFLAG(IS_BSD)
SandboxedProcessThreadTypeHandler::Create();
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Initializes the sandbox before any threads are created.
// TODO(jorgelo): move this after GTK initialization when we enable a strict
- // Seccomp-BPF policy.
-@@ -287,7 +297,7 @@ int UtilityMain(MainFunctionParams parameters) {
+@@ -331,7 +343,7 @@ int UtilityMain(MainFunctionParams parameters) {
pre_sandbox_hook =
base::BindOnce(&speech::SpeechRecognitionPreSandboxHook);
break;
@@ -84,23 +84,25 @@
case sandbox::mojom::Sandbox::kOnDeviceTranslation:
pre_sandbox_hook = base::BindOnce(
&on_device_translation::OnDeviceTranslationSandboxHook);
-@@ -303,13 +313,13 @@ int UtilityMain(MainFunctionParams parameters) {
+@@ -347,7 +359,7 @@ int UtilityMain(MainFunctionParams parameters) {
#else
NOTREACHED();
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
case sandbox::mojom::Sandbox::kVideoEffects:
+ #if BUILDFLAG(ENABLE_VIDEO_EFFECTS)
pre_sandbox_hook =
- base::BindOnce(&video_effects::VideoEffectsPreSandboxHook);
+@@ -355,7 +367,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ #endif
break;
#endif // BUILDFLAG(IS_LINUX)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- case sandbox::mojom::Sandbox::kHardwareVideoDecoding:
+ case sandbox::mojom::Sandbox::kShapeDetection:
pre_sandbox_hook =
- base::BindOnce(&media::HardwareVideoDecodingPreSandboxHook);
-@@ -336,6 +346,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ base::BindOnce(&shape_detection::ShapeDetectionPreSandboxHook);
+@@ -390,6 +402,7 @@ int UtilityMain(MainFunctionParams parameters) {
default:
break;
}
@@ -108,7 +110,7 @@
if (!sandbox::policy::IsUnsandboxedSandboxType(sandbox_type) &&
(parameters.zygote_child || !pre_sandbox_hook.is_null())) {
sandbox_options.use_amd_specific_policies =
-@@ -343,6 +354,11 @@ int UtilityMain(MainFunctionParams parameters) {
+@@ -397,6 +410,11 @@ int UtilityMain(MainFunctionParams parameters) {
sandbox::policy::Sandbox::Initialize(
sandbox_type, std::move(pre_sandbox_hook), sandbox_options);
}
@@ -118,5 +120,5 @@
+ sandbox::policy::SandboxLinux::Options());
+#endif
- // Start the HangWatcher now that the sandbox is engaged, if it hasn't
- // already been started.
+ // Startup tracing creates a tracing thread, which is incompatible on
+ // platforms that require single-threaded sandbox initialization. In these
diff --git a/www/iridium/files/patch-content_zygote_BUILD.gn b/www/iridium/files/patch-content_zygote_BUILD.gn
index 78424cef4d8a..9c86983dcdca 100644
--- a/www/iridium/files/patch-content_zygote_BUILD.gn
+++ b/www/iridium/files/patch-content_zygote_BUILD.gn
@@ -1,7 +1,7 @@
---- content/zygote/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- content/zygote/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ content/zygote/BUILD.gn
-@@ -5,7 +5,7 @@
- import("//build/config/nacl/config.gni")
+@@ -4,7 +4,7 @@
+
import("//content/public/common/zygote/features.gni")
-if (is_linux || is_chromeos) {
diff --git a/www/iridium/files/patch-device_bluetooth_bluetooth__adapter.cc b/www/iridium/files/patch-device_bluetooth_bluetooth__adapter.cc
index eee3f74e5327..93bc3d5fba8f 100644
--- a/www/iridium/files/patch-device_bluetooth_bluetooth__adapter.cc
+++ b/www/iridium/files/patch-device_bluetooth_bluetooth__adapter.cc
@@ -1,6 +1,6 @@
---- device/bluetooth/bluetooth_adapter.cc.orig 2025-05-07 06:48:23 UTC
+--- device/bluetooth/bluetooth_adapter.cc.orig 2025-09-11 13:19:19 UTC
+++ device/bluetooth/bluetooth_adapter.cc
-@@ -32,7 +32,7 @@ namespace device {
+@@ -33,7 +33,7 @@ namespace device {
BluetoothAdapter::ServiceOptions::ServiceOptions() = default;
BluetoothAdapter::ServiceOptions::~ServiceOptions() = default;
diff --git a/www/iridium/files/patch-device_bluetooth_cast__bluetooth.gni b/www/iridium/files/patch-device_bluetooth_cast__bluetooth.gni
index e65482b3ff08..a9766edee297 100644
--- a/www/iridium/files/patch-device_bluetooth_cast__bluetooth.gni
+++ b/www/iridium/files/patch-device_bluetooth_cast__bluetooth.gni
@@ -1,6 +1,6 @@
---- device/bluetooth/cast_bluetooth.gni.orig 2025-05-07 06:48:23 UTC
+--- device/bluetooth/cast_bluetooth.gni.orig 2025-09-11 13:19:19 UTC
+++ device/bluetooth/cast_bluetooth.gni
-@@ -2,5 +2,5 @@ import("//build/config/features.gni")
+@@ -6,5 +6,5 @@ import("//build/config/features.gni")
declare_args() {
force_cast_bluetooth = false
diff --git a/www/iridium/files/patch-device_gamepad_gamepad__provider.cc b/www/iridium/files/patch-device_gamepad_gamepad__provider.cc
index d2bb300f35a5..d7213445300f 100644
--- a/www/iridium/files/patch-device_gamepad_gamepad__provider.cc
+++ b/www/iridium/files/patch-device_gamepad_gamepad__provider.cc
@@ -1,6 +1,6 @@
---- device/gamepad/gamepad_provider.cc.orig 2025-05-07 06:48:23 UTC
+--- device/gamepad/gamepad_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ device/gamepad/gamepad_provider.cc
-@@ -159,7 +159,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep
+@@ -155,7 +155,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep
if (!polling_thread_)
polling_thread_ = std::make_unique<base::Thread>("Gamepad polling thread");
diff --git a/www/iridium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc b/www/iridium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc
index 1352001ccfa2..7cfc1084c0a9 100644
--- a/www/iridium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc
+++ b/www/iridium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc
@@ -1,6 +1,6 @@
---- extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-05-07 06:48:23 UTC
+--- extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-09-11 13:19:19 UTC
+++ extensions/browser/api/api_browser_context_keyed_service_factories.cc
-@@ -120,7 +120,7 @@ void EnsureApiBrowserContextKeyedServiceFactoriesBuilt
+@@ -121,7 +121,7 @@ void EnsureApiBrowserContextKeyedServiceFactoriesBuilt
MediaPerceptionAPIManager::GetFactoryInstance();
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
diff --git a/www/iridium/files/patch-extensions_browser_api_messaging_message__service.cc b/www/iridium/files/patch-extensions_browser_api_messaging_message__service.cc
index f07d692f5405..6418dd3c74b1 100644
--- a/www/iridium/files/patch-extensions_browser_api_messaging_message__service.cc
+++ b/www/iridium/files/patch-extensions_browser_api_messaging_message__service.cc
@@ -1,20 +1,20 @@
---- extensions/browser/api/messaging/message_service.cc.orig 2025-05-07 06:48:23 UTC
+--- extensions/browser/api/messaging/message_service.cc.orig 2025-09-11 13:19:19 UTC
+++ extensions/browser/api/messaging/message_service.cc
-@@ -81,7 +81,7 @@ namespace {
+@@ -82,7 +82,7 @@ namespace {
const char kReceivingEndDoesntExistError[] =
"Could not establish connection. Receiving end does not exist.";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
const char kMissingPermissionError[] =
"Access to native messaging requires nativeMessaging permission.";
const char kProhibitedByPoliciesError[] =
-@@ -673,7 +673,7 @@ void MessageService::OpenChannelToNativeAppImpl(
+@@ -675,7 +675,7 @@ void MessageService::OpenChannelToNativeAppImpl(
return;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
bool has_permission = extension->permissions_data()->HasAPIPermission(
mojom::APIPermissionID::kNativeMessaging);
if (!has_permission) {
diff --git a/www/iridium/files/patch-extensions_common_api___permission__features.json b/www/iridium/files/patch-extensions_common_api___permission__features.json
index 4e796587769e..9ac55250f2a7 100644
--- a/www/iridium/files/patch-extensions_common_api___permission__features.json
+++ b/www/iridium/files/patch-extensions_common_api___permission__features.json
@@ -1,6 +1,40 @@
---- extensions/common/api/_permission_features.json.orig 2025-05-07 06:48:23 UTC
+--- extensions/common/api/_permission_features.json.orig 2025-09-11 13:19:19 UTC
+++ extensions/common/api/_permission_features.json
-@@ -134,7 +134,7 @@
+@@ -61,7 +61,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "app.window.ime": {
+ "channel": "stable",
+@@ -77,7 +77,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "audio": [
+ {
+@@ -98,13 +98,13 @@
+ "channel": "dev",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
+ "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
+@@ -142,7 +142,7 @@
{
"channel": "stable",
"extension_types": ["platform_app"],
@@ -9,21 +43,145 @@
"allowlist": [
"1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/387169
"A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/387169
-@@ -419,7 +419,7 @@
- }, {
+@@ -217,7 +217,7 @@
+ "extension_types": ["extension", "legacy_packaged_app"],
+ "max_manifest_version": 2,
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "diagnostics": [
+ {
+@@ -262,7 +262,7 @@
+ "channel": "stable",
+ "extension_types": ["extension", "platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "7910EAFDAF64B947E1CB31B333A9BD14CA556B6C", // Feedback UI.
+ "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683
+@@ -284,12 +284,12 @@
+ "extension_types": ["platform_app"],
+ "default_parent": true,
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },{
+ "channel": "stable",
+ "extension_types": ["extension"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice
+ "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal
+@@ -326,13 +326,13 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["extension"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "D7CD4B3956B1F6E970E4AFCBCD4094B1EF4D07B9", // http://crbug.com/710541
+ "D4EFCCC0CC612380762758BB96C7997224BD6395", // http://crbug.com/710541
+@@ -441,7 +441,7 @@
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
-- "platforms": ["chromeos", "mac", "win", "linux", "fuchsia"],
-+ "platforms": ["chromeos", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "mac", "win", "linux"],
++ "platforms": ["chromeos", "mac", "win", "linux", "openbsd", "freebsd"],
"allowlist": [
"0DE0F05680A4A056BCEC864ED8DDA84296F82B40", // http://crbug.com/434651
"1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683
-@@ -463,7 +463,7 @@
- "networkingPrivate": {
+@@ -486,7 +486,7 @@
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
-- "platforms": ["chromeos", "mac", "win", "linux", "fuchsia"],
-+ "platforms": ["chromeos", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "mac", "win", "linux"],
++ "platforms": ["chromeos", "mac", "win", "linux", "openbsd", "freebsd"],
"allowlist": [
// DO NOT ADD ANY MORE ENTRIES HERE.
// networkingPrivate is being migrated to networking.onc.
+@@ -566,7 +566,7 @@
+ "channel": "stable",
+ "extension_types": ["extension", "platform_app" ],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ // Note: runtime is not actually a permission, but some systems check these
+ // values to verify restrictions.
+@@ -578,13 +578,13 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "socket": {
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "storage": [
+ {
+@@ -672,13 +672,13 @@
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+@@ -687,13 +687,13 @@
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+@@ -721,7 +721,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "dev",
+@@ -807,7 +807,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "webRequest": [
+ {
diff --git a/www/iridium/files/patch-extensions_common_command.cc b/www/iridium/files/patch-extensions_common_command.cc
index d8d30d4e844b..067153a1e175 100644
--- a/www/iridium/files/patch-extensions_common_command.cc
+++ b/www/iridium/files/patch-extensions_common_command.cc
@@ -1,11 +1,11 @@
---- extensions/common/command.cc.orig 2025-05-07 06:48:23 UTC
+--- extensions/common/command.cc.orig 2025-09-11 13:19:19 UTC
+++ extensions/common/command.cc
-@@ -116,7 +116,7 @@ std::string Command::CommandPlatform() {
+@@ -117,7 +117,7 @@ std::string Command::CommandPlatform() {
return ui::kKeybindingPlatformMac;
#elif BUILDFLAG(IS_CHROMEOS)
return ui::kKeybindingPlatformChromeOs;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return ui::kKeybindingPlatformLinux;
- #elif BUILDFLAG(IS_FUCHSIA)
- // TODO(crbug.com/40220501): Change this once we decide what string should be
+ #elif BUILDFLAG(IS_DESKTOP_ANDROID)
+ // For now, we use linux keybindings on desktop android.
diff --git a/www/iridium/files/patch-extensions_common_features_feature.cc b/www/iridium/files/patch-extensions_common_features_feature.cc
index f136794d98c3..e1f405906ce2 100644
--- a/www/iridium/files/patch-extensions_common_features_feature.cc
+++ b/www/iridium/files/patch-extensions_common_features_feature.cc
@@ -1,9 +1,9 @@
---- extensions/common/features/feature.cc.orig 2025-05-07 06:48:23 UTC
+--- extensions/common/features/feature.cc.orig 2025-09-11 13:19:19 UTC
+++ extensions/common/features/feature.cc
-@@ -29,6 +29,8 @@ Feature::Platform Feature::GetCurrentPlatform() {
+@@ -30,6 +30,8 @@ Feature::Platform Feature::GetCurrentPlatform() {
return WIN_PLATFORM;
- #elif BUILDFLAG(IS_FUCHSIA)
- return FUCHSIA_PLATFORM;
+ #elif BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS)
+ return DESKTOP_ANDROID_PLATFORM;
+#elif BUILDFLAG(IS_BSD)
+ return LINUX_PLATFORM;
#else
diff --git a/www/iridium/files/patch-extensions_shell_app_shell__main__delegate.cc b/www/iridium/files/patch-extensions_shell_app_shell__main__delegate.cc
index 77a83b26327d..53272465c357 100644
--- a/www/iridium/files/patch-extensions_shell_app_shell__main__delegate.cc
+++ b/www/iridium/files/patch-extensions_shell_app_shell__main__delegate.cc
@@ -1,6 +1,6 @@
---- extensions/shell/app/shell_main_delegate.cc.orig 2025-05-07 06:48:23 UTC
+--- extensions/shell/app/shell_main_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ extensions/shell/app/shell_main_delegate.cc
-@@ -40,7 +40,7 @@
+@@ -31,7 +31,7 @@
#if BUILDFLAG(IS_WIN)
#include "base/base_paths_win.h"
#include "base/process/process_info.h"
@@ -9,7 +9,7 @@
#include "base/nix/xdg_util.h"
#elif BUILDFLAG(IS_MAC)
#include "base/base_paths_mac.h"
-@@ -60,7 +60,7 @@ base::FilePath GetDataPath() {
+@@ -51,7 +51,7 @@ base::FilePath GetDataPath() {
}
base::FilePath data_dir;
diff --git a/www/iridium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc b/www/iridium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc
index ed2cf79bcfb9..85ea048429ec 100644
--- a/www/iridium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc
+++ b/www/iridium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc
@@ -1,6 +1,6 @@
---- extensions/shell/browser/shell_browser_main_parts.cc.orig 2025-05-07 06:48:23 UTC
+--- extensions/shell/browser/shell_browser_main_parts.cc.orig 2025-09-11 13:19:19 UTC
+++ extensions/shell/browser/shell_browser_main_parts.cc
-@@ -137,7 +137,7 @@ void ShellBrowserMainParts::PostCreateMainMessageLoop(
+@@ -126,7 +126,7 @@ void ShellBrowserMainParts::PostCreateMainMessageLoop(
switches::kAppShellAllowRoaming)) {
network_controller_->SetCellularAllowRoaming(true);
}
diff --git a/www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc b/www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc
new file mode 100644
index 000000000000..91ddd3cf69ed
--- /dev/null
+++ b/www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc
@@ -0,0 +1,20 @@
+--- gpu/command_buffer/client/test_shared_image_interface.cc.orig 2025-09-11 13:19:19 UTC
++++ gpu/command_buffer/client/test_shared_image_interface.cc
+@@ -30,7 +30,7 @@
+ #include "ui/gfx/gpu_fence.h"
+ #include "ui/gfx/gpu_memory_buffer_handle.h"
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include <fcntl.h>
+ #endif
+
+@@ -154,7 +154,7 @@ TestSharedImageInterface::TestSharedImageInterface() {
+ TestSharedImageInterface::~TestSharedImageInterface() = default;
+
+ // static
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ gfx::GpuMemoryBufferHandle TestSharedImageInterface::CreatePixmapHandle(
+ const gfx::Size& size,
+ gfx::BufferFormat format) {
diff --git a/www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h b/www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h
new file mode 100644
index 000000000000..3a4dba8c1168
--- /dev/null
+++ b/www/iridium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h
@@ -0,0 +1,11 @@
+--- gpu/command_buffer/client/test_shared_image_interface.h.orig 2025-09-11 13:19:19 UTC
++++ gpu/command_buffer/client/test_shared_image_interface.h
+@@ -37,7 +37,7 @@ class TestSharedImageInterface : public SharedImageInt
+ public:
+ TestSharedImageInterface();
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // TODO(blundell): Fold this inside of a TestSII::CreateSI() variant and have
+ // test clients that need the handle grab it from the created SI.
+ static gfx::GpuMemoryBufferHandle CreatePixmapHandle(
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc b/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc
index 29fc3c15040b..f144c619254a 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/dawn_context_provider.cc.orig 2025-06-19 07:37:57 UTC
+--- gpu/command_buffer/service/dawn_context_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/dawn_context_provider.cc
-@@ -383,7 +383,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke
+@@ -402,7 +402,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke
return base::FeatureList::IsEnabled(features::kSkiaGraphiteDawnUseD3D12)
? wgpu::BackendType::D3D12
: wgpu::BackendType::D3D11;
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc b/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
index 56a0aa1be009..a08c882bbaf4 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-06-19 07:37:57 UTC
+--- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/gles2_cmd_decoder.cc
-@@ -2863,7 +2863,7 @@ GLES2Decoder* GLES2Decoder::Create(
+@@ -2851,7 +2851,7 @@ GLES2Decoder* GLES2Decoder::Create(
}
// Allow linux to run fuzzers.
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc
index df364a00fc4b..16e2b17c9219 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_context_state.cc.orig 2025-06-19 07:37:57 UTC
+--- gpu/command_buffer/service/shared_context_state.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/shared_context_state.cc
-@@ -64,7 +64,7 @@
+@@ -65,7 +65,7 @@
#include "gpu/vulkan/vulkan_implementation.h"
#include "gpu/vulkan/vulkan_util.h"
@@ -9,7 +9,7 @@
#include "gpu/command_buffer/service/external_semaphore_pool.h"
#endif
-@@ -348,7 +348,7 @@ SharedContextState::SharedContextState(
+@@ -304,7 +304,7 @@ SharedContextState::SharedContextState(
if (gr_context_type_ == GrContextType::kVulkan) {
if (vk_context_provider_) {
#if BUILDFLAG(ENABLE_VULKAN) && \
@@ -18,7 +18,7 @@
external_semaphore_pool_ = std::make_unique<ExternalSemaphorePool>(this);
#endif
use_virtualized_gl_contexts_ = false;
-@@ -385,7 +385,7 @@ SharedContextState::~SharedContextState() {
+@@ -341,7 +341,7 @@ SharedContextState::~SharedContextState() {
}
#if BUILDFLAG(ENABLE_VULKAN) && \
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h
index 5cc30dc7181c..958e72d6c10a 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h
+++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__context__state.h
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_context_state.h.orig 2025-06-19 07:37:57 UTC
+--- gpu/command_buffer/service/shared_context_state.h.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/shared_context_state.h
-@@ -238,7 +238,7 @@ class GPU_GLES2_EXPORT SharedContextState
+@@ -236,7 +236,7 @@ class GPU_GLES2_EXPORT SharedContextState
return &memory_type_tracker_;
}
#if BUILDFLAG(ENABLE_VULKAN) && \
@@ -9,7 +9,7 @@
ExternalSemaphorePool* external_semaphore_pool() {
return external_semaphore_pool_.get();
}
-@@ -455,7 +455,7 @@ class GPU_GLES2_EXPORT SharedContextState
+@@ -401,7 +401,7 @@ class GPU_GLES2_EXPORT SharedContextState
bool disable_check_reset_status_throttling_for_test_ = false;
#if BUILDFLAG(ENABLE_VULKAN) && \
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc
index 4f0fdf231d72..d2f9803f1e5b 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/shared_image/external_vk_image_backing.cc
-@@ -57,7 +57,7 @@
+@@ -56,7 +56,7 @@
#include "ui/gl/gl_version_info.h"
#include "ui/gl/scoped_binders.h"
@@ -9,7 +9,7 @@
#include "gpu/command_buffer/service/shared_image/external_vk_image_dawn_representation.h"
#if BUILDFLAG(DAWN_ENABLE_BACKEND_OPENGLES)
#include "gpu/command_buffer/service/shared_image/dawn_gl_texture_representation.h"
-@@ -702,7 +702,7 @@ std::unique_ptr<DawnImageRepresentation> ExternalVkIma
+@@ -696,7 +696,7 @@ std::unique_ptr<DawnImageRepresentation> ExternalVkIma
wgpu::BackendType backend_type,
std::vector<wgpu::TextureFormat> view_formats,
scoped_refptr<SharedContextState> context_state) {
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
index 06ba5a3374fa..30674fe6b05c 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc
-@@ -143,7 +143,7 @@ bool IsFormatSupported(viz::SharedImageFormat format,
+@@ -140,7 +140,7 @@ bool IsFormatSupported(viz::SharedImageFormat format,
SharedImageUsageSet SupportedUsage() {
SharedImageUsageSet supported_usage =
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc
index 8d5c46268063..3415893a3964 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/shared_image/shared_image_factory.cc
-@@ -48,7 +48,7 @@
+@@ -50,7 +50,7 @@
#include "gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.h"
#include "gpu/vulkan/vulkan_device_queue.h"
@@ -9,7 +9,7 @@
#include "gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.h"
#endif
-@@ -102,7 +102,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t
+@@ -104,7 +104,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t
case gfx::IO_SURFACE_BUFFER:
return "platform";
#endif
@@ -18,7 +18,7 @@
case gfx::NATIVE_PIXMAP:
return "platform";
#endif
-@@ -123,7 +123,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() {
+@@ -125,7 +125,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() {
return gfx::GpuMemoryBufferType::IO_SURFACE_BUFFER;
#elif BUILDFLAG(IS_ANDROID)
return gfx::GpuMemoryBufferType::ANDROID_HARDWARE_BUFFER;
@@ -27,7 +27,7 @@
return gfx::GpuMemoryBufferType::NATIVE_PIXMAP;
#elif BUILDFLAG(IS_WIN)
return gfx::GpuMemoryBufferType::DXGI_SHARED_HANDLE;
-@@ -326,7 +326,7 @@ SharedImageFactory::SharedImageFactory(
+@@ -297,7 +297,7 @@ SharedImageFactory::SharedImageFactory(
context_state_, workarounds_);
factories_.push_back(std::move(ozone_factory));
}
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc
index fc80e495bd6c..e3cbf12a0e08 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/shared_image/shared_image_manager.cc
-@@ -756,7 +756,7 @@ bool SharedImageManager::SupportsScanoutImages() {
+@@ -760,7 +760,7 @@ bool SharedImageManager::SupportsScanoutImages() {
return true;
#elif BUILDFLAG(IS_ANDROID)
return base::AndroidHardwareBufferCompat::IsSupportAvailable();
diff --git a/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc b/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
index a2a737a8868f..3ada382d2658 100644
--- a/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
+++ b/www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
@@ -1,15 +1,15 @@
---- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-06-19 07:37:57 UTC
+--- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/command_buffer/service/webgpu_decoder_impl.cc
-@@ -1787,7 +1787,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte
+@@ -1741,7 +1741,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte
backend_types = {wgpu::BackendType::D3D12};
- #elif BUILDFLAG(IS_MAC)
+ #elif BUILDFLAG(IS_APPLE)
backend_types = {wgpu::BackendType::Metal};
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (shared_context_state_->GrContextIsVulkan() ||
shared_context_state_->IsGraphiteDawnVulkan()) {
backend_types = {wgpu::BackendType::Vulkan};
-@@ -2029,7 +2029,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn(
+@@ -1986,7 +1986,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn(
}
#if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_APPLE) && \
diff --git a/www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc b/www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc
deleted file mode 100644
index f887ce22d831..000000000000
--- a/www/iridium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc.orig 2025-06-19 07:37:57 UTC
-+++ gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc
-@@ -33,7 +33,7 @@
- #include "ui/gfx/half_float.h"
- #include "ui/gl/test/gl_test_support.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "gpu/ipc/common/gpu_memory_buffer_impl_native_pixmap.h"
- #include "ui/gfx/linux/client_native_pixmap_factory_dmabuf.h"
- #endif
-@@ -76,7 +76,7 @@ class GpuMemoryBufferTest : public testing::TestWithPa
- GLManager gl_;
- };
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- class GpuMemoryBufferTestEGL : public testing::Test,
- public gpu::GpuCommandBufferTestEGL {
- public:
diff --git a/www/iridium/files/patch-gpu_config_gpu__control__list.cc b/www/iridium/files/patch-gpu_config_gpu__control__list.cc
index 6c050137e552..4c34edd53839 100644
--- a/www/iridium/files/patch-gpu_config_gpu__control__list.cc
+++ b/www/iridium/files/patch-gpu_config_gpu__control__list.cc
@@ -1,6 +1,6 @@
---- gpu/config/gpu_control_list.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/config/gpu_control_list.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/config/gpu_control_list.cc
-@@ -831,7 +831,7 @@ GpuControlList::OsType GpuControlList::GetOsType() {
+@@ -843,7 +843,7 @@ GpuControlList::OsType GpuControlList::GetOsType() {
return kOsAndroid;
#elif BUILDFLAG(IS_FUCHSIA)
return kOsFuchsia;
diff --git a/www/iridium/files/patch-gpu_config_gpu__finch__features.cc b/www/iridium/files/patch-gpu_config_gpu__finch__features.cc
index 59e4752cfad1..c1f5a9eb978e 100644
--- a/www/iridium/files/patch-gpu_config_gpu__finch__features.cc
+++ b/www/iridium/files/patch-gpu_config_gpu__finch__features.cc
@@ -1,6 +1,6 @@
---- gpu/config/gpu_finch_features.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/config/gpu_finch_features.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/config/gpu_finch_features.cc
-@@ -155,7 +155,8 @@ BASE_FEATURE(kAllowHardwareBufferUsageFlagsFromVulkanF
+@@ -156,7 +156,8 @@ BASE_FEATURE(kAllowHardwareBufferUsageFlagsFromVulkanF
BASE_FEATURE(kDefaultEnableGpuRasterization,
"DefaultEnableGpuRasterization",
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/iridium/files/patch-gpu_config_gpu__info__collector.cc b/www/iridium/files/patch-gpu_config_gpu__info__collector.cc
index 344b460e1da3..1fdec90f2b95 100644
--- a/www/iridium/files/patch-gpu_config_gpu__info__collector.cc
+++ b/www/iridium/files/patch-gpu_config_gpu__info__collector.cc
@@ -1,6 +1,6 @@
---- gpu/config/gpu_info_collector.cc.orig 2025-06-19 07:37:57 UTC
+--- gpu/config/gpu_info_collector.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/config/gpu_info_collector.cc
-@@ -364,7 +364,7 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance
+@@ -363,7 +363,7 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance
void ReportWebGPUSupportMetrics(dawn::native::Instance* instance) {
static BASE_FEATURE(kCollectWebGPUSupportMetrics,
"CollectWebGPUSupportMetrics",
diff --git a/www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc b/www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc
deleted file mode 100644
index 81e5947d9f11..000000000000
--- a/www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpu/ipc/common/gpu_memory_buffer_support.cc.orig 2025-05-07 06:48:23 UTC
-+++ gpu/ipc/common/gpu_memory_buffer_support.cc
-@@ -26,7 +26,7 @@
- #include "ui/ozone/public/ozone_platform.h"
- #endif
-
--#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "gpu/ipc/common/gpu_memory_buffer_impl_native_pixmap.h"
- #endif
-
-@@ -55,7 +55,7 @@ GpuMemoryBufferSupport::GetNativeGpuMemoryBufferType()
- return gfx::IO_SURFACE_BUFFER;
- #elif BUILDFLAG(IS_ANDROID)
- return gfx::ANDROID_HARDWARE_BUFFER;
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
- return gfx::NATIVE_PIXMAP;
- #elif BUILDFLAG(IS_WIN)
- return gfx::DXGI_SHARED_HANDLE;
diff --git a/www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h b/www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h
deleted file mode 100644
index 0485f38a7c19..000000000000
--- a/www/iridium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- gpu/ipc/common/gpu_memory_buffer_support.h.orig 2025-05-07 06:48:23 UTC
-+++ gpu/ipc/common/gpu_memory_buffer_support.h
-@@ -21,7 +21,7 @@
- #include "ui/gfx/geometry/size.h"
- #include "ui/gfx/gpu_memory_buffer.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
- namespace gfx {
- class ClientNativePixmapFactory;
- } // namespace gfx
diff --git a/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc b/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc
index 0f507946896f..4aec43ef55cd 100644
--- a/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc
+++ b/www/iridium/files/patch-gpu_ipc_service_gpu__init.cc
@@ -1,6 +1,6 @@
---- gpu/ipc/service/gpu_init.cc.orig 2025-06-19 07:37:57 UTC
+--- gpu/ipc/service/gpu_init.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/ipc/service/gpu_init.cc
-@@ -153,7 +153,7 @@ void InitializePlatformOverlaySettings(GPUInfo* gpu_in
+@@ -155,7 +155,7 @@ void InitializePlatformOverlaySettings(GPUInfo* gpu_in
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CASTOS)
bool CanAccessDeviceFile(const GPUInfo& gpu_info) {
@@ -9,7 +9,7 @@
if (gpu_info.gpu.vendor_id != 0x10de || // NVIDIA
gpu_info.gpu.driver_vendor != "NVIDIA")
return true;
-@@ -389,7 +389,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -417,7 +417,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
enable_watchdog = false;
#endif
@@ -18,7 +18,7 @@
bool gpu_sandbox_start_early = gpu_preferences_.gpu_sandbox_start_early;
#else // !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
// For some reasons MacOSX's VideoToolbox might crash when called after
-@@ -427,7 +427,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -455,7 +455,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
}
bool attempted_startsandbox = false;
@@ -27,7 +27,7 @@
// On Chrome OS ARM Mali, GPU driver userspace creates threads when
// initializing a GL context, so start the sandbox early.
// TODO(zmo): Need to collect OS version before this.
-@@ -524,7 +524,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -552,7 +552,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
gpu_preferences_.gr_context_type = GrContextType::kGL;
}
@@ -36,7 +36,7 @@
// The ContentSandboxHelper is currently the only one implementation of
// GpuSandboxHelper and it has no dependency. Except on Linux where
// VaapiWrapper checks the GL implementation to determine which display
-@@ -582,7 +582,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -610,7 +610,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
command_line, gpu_feature_info_,
gpu_preferences_.disable_software_rasterizer, false);
if (gl_use_swiftshader_) {
@@ -45,7 +45,7 @@
VLOG(1) << "Quit GPU process launch to fallback to SwiftShader cleanly "
<< "on Linux";
return false;
-@@ -750,7 +750,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -778,7 +778,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
->GetSupportedFormatsForGLNativePixmapImport();
#endif // BUILDFLAG(IS_OZONE)
@@ -54,7 +54,7 @@
// Driver may create a compatibility profile context when collect graphics
// information on Linux platform. Try to collect graphics information
// based on core profile context after disabling platform extensions.
-@@ -802,7 +802,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -830,7 +830,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
}
}
}
@@ -63,7 +63,7 @@
(BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE))
if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) {
// https://rr-project.org/ is a Linux-only record-and-replay debugger that
-@@ -1004,7 +1004,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
+@@ -1032,7 +1032,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
}
bool gl_disabled = gl::GetGLImplementation() == gl::kGLImplementationDisabled;
@@ -72,7 +72,7 @@
(BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE))
if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) {
// https://rr-project.org/ is a Linux-only record-and-replay debugger that
-@@ -1059,7 +1059,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
+@@ -1088,7 +1088,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
}
}
diff --git a/www/iridium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc b/www/iridium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc
index 85cb50760cb8..b4f52fbc30c2 100644
--- a/www/iridium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc
+++ b/www/iridium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc
@@ -1,4 +1,4 @@
---- gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/ipc/service/gpu_memory_buffer_factory.cc
@@ -14,7 +14,7 @@
#include "gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h"
@@ -9,7 +9,7 @@
#include "gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.h"
#endif
-@@ -71,7 +71,7 @@ GpuMemoryBufferFactory::CreateNativeType(
+@@ -65,7 +65,7 @@ GpuMemoryBufferFactory::CreateNativeType(
// to have a factory that vends invalid GMB handles rather than having no
// factory at all.
return std::make_unique<GpuMemoryBufferFactoryStub>();
diff --git a/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.h b/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.h
index a07576e34cea..587bcd729194 100644
--- a/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.h
+++ b/www/iridium/files/patch-gpu_vulkan_vulkan__device__queue.h
@@ -1,6 +1,6 @@
---- gpu/vulkan/vulkan_device_queue.h.orig 2025-05-07 06:48:23 UTC
+--- gpu/vulkan/vulkan_device_queue.h.orig 2025-09-11 13:19:19 UTC
+++ gpu/vulkan/vulkan_device_queue.h
-@@ -182,7 +182,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDeviceQueue
+@@ -188,7 +188,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDeviceQueue
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-gpu_vulkan_vulkan__image.h b/www/iridium/files/patch-gpu_vulkan_vulkan__image.h
index 182d907496ca..1fdd04f1e04a 100644
--- a/www/iridium/files/patch-gpu_vulkan_vulkan__image.h
+++ b/www/iridium/files/patch-gpu_vulkan_vulkan__image.h
@@ -1,6 +1,6 @@
---- gpu/vulkan/vulkan_image.h.orig 2025-05-07 06:48:23 UTC
+--- gpu/vulkan/vulkan_image.h.orig 2025-09-11 13:19:19 UTC
+++ gpu/vulkan/vulkan_image.h
-@@ -87,7 +87,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
+@@ -86,7 +86,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
VkImageUsageFlags usage,
VkImageCreateFlags flags);
@@ -9,7 +9,7 @@
static std::unique_ptr<VulkanImage> CreateWithExternalMemoryAndModifiers(
VulkanDeviceQueue* device_queue,
const gfx::Size& size,
-@@ -199,7 +199,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
+@@ -198,7 +198,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
VkImageTiling image_tiling,
uint32_t queue_family_index);
diff --git a/www/iridium/files/patch-gpu_vulkan_vulkan__util.cc b/www/iridium/files/patch-gpu_vulkan_vulkan__util.cc
index 0b4730996da9..fcce8d528eaa 100644
--- a/www/iridium/files/patch-gpu_vulkan_vulkan__util.cc
+++ b/www/iridium/files/patch-gpu_vulkan_vulkan__util.cc
@@ -1,6 +1,6 @@
---- gpu/vulkan/vulkan_util.cc.orig 2025-05-07 06:48:23 UTC
+--- gpu/vulkan/vulkan_util.cc.orig 2025-09-11 13:19:19 UTC
+++ gpu/vulkan/vulkan_util.cc
-@@ -467,7 +467,7 @@ bool CheckVulkanCompatibilities(
+@@ -476,7 +476,7 @@ bool CheckVulkanCompatibilities(
}
}
diff --git a/www/iridium/files/patch-headless_BUILD.gn b/www/iridium/files/patch-headless_BUILD.gn
index 14a45be6245a..2cf8cf5d1d1c 100644
--- a/www/iridium/files/patch-headless_BUILD.gn
+++ b/www/iridium/files/patch-headless_BUILD.gn
@@ -1,6 +1,6 @@
---- headless/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- headless/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ headless/BUILD.gn
-@@ -475,7 +475,7 @@ component("headless_non_renderer") {
+@@ -478,7 +478,7 @@ component("headless_non_renderer") {
}
}
diff --git a/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.cc b/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.cc
index d85f421daaa6..377070d3f930 100644
--- a/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.cc
+++ b/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.cc
@@ -1,6 +1,6 @@
---- headless/lib/browser/headless_content_browser_client.cc.orig 2025-05-07 06:48:23 UTC
+--- headless/lib/browser/headless_content_browser_client.cc.orig 2025-09-11 13:19:19 UTC
+++ headless/lib/browser/headless_content_browser_client.cc
-@@ -58,7 +58,7 @@
+@@ -59,7 +59,7 @@
#include "content/public/common/content_descriptors.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -9,7 +9,7 @@
#include "components/os_crypt/sync/os_crypt.h" // nogncheck
#include "content/public/browser/network_service_util.h"
#endif
-@@ -520,7 +520,7 @@ void HeadlessContentBrowserClient::HandleExplicitlyAll
+@@ -557,7 +557,7 @@ void HeadlessContentBrowserClient::HandleExplicitlyAll
void HeadlessContentBrowserClient::SetEncryptionKey(
::network::mojom::NetworkService* network_service) {
diff --git a/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.h b/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.h
index 038723a66923..2feee573b9cc 100644
--- a/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.h
+++ b/www/iridium/files/patch-headless_lib_browser_headless__content__browser__client.h
@@ -1,6 +1,6 @@
---- headless/lib/browser/headless_content_browser_client.h.orig 2025-05-07 06:48:23 UTC
+--- headless/lib/browser/headless_content_browser_client.h.orig 2025-09-11 13:19:19 UTC
+++ headless/lib/browser/headless_content_browser_client.h
-@@ -47,7 +47,7 @@ class HeadlessContentBrowserClient : public content::C
+@@ -48,7 +48,7 @@ class HeadlessContentBrowserClient : public content::C
CreateDevToolsManagerDelegate() override;
content::GeneratedCodeCacheSettings GetGeneratedCodeCacheSettings(
content::BrowserContext* context) override;
diff --git a/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc b/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc
index 1016da1d1289..904e1244541b 100644
--- a/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc
+++ b/www/iridium/files/patch-headless_lib_headless__content__main__delegate.cc
@@ -1,6 +1,6 @@
---- headless/lib/headless_content_main_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- headless/lib/headless_content_main_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ headless/lib/headless_content_main_delegate.cc
-@@ -406,7 +406,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
+@@ -411,7 +411,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
if (process_type != ::switches::kZygoteProcess) {
g_headless_crash_client.Pointer()->set_crash_dumps_dir(
command_line.GetSwitchValuePath(switches::kCrashDumpsDir));
diff --git a/www/iridium/files/patch-ipc_ipc__channel.h b/www/iridium/files/patch-ipc_ipc__channel.h
index 2623942d0f80..021db65c86dd 100644
--- a/www/iridium/files/patch-ipc_ipc__channel.h
+++ b/www/iridium/files/patch-ipc_ipc__channel.h
@@ -1,8 +1,8 @@
---- ipc/ipc_channel.h.orig 2025-05-07 06:48:23 UTC
+--- ipc/ipc_channel.h.orig 2025-09-11 13:19:19 UTC
+++ ipc/ipc_channel.h
-@@ -218,7 +218,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
+@@ -199,7 +199,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
+ // Generates a channel ID that's non-predictable and unique.
static std::string GenerateUniqueRandomChannelID();
- #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-ipc_ipc__channel__mojo.cc b/www/iridium/files/patch-ipc_ipc__channel__mojo.cc
index ecaea7234d3a..8f9e566a8a8b 100644
--- a/www/iridium/files/patch-ipc_ipc__channel__mojo.cc
+++ b/www/iridium/files/patch-ipc_ipc__channel__mojo.cc
@@ -1,6 +1,6 @@
---- ipc/ipc_channel_mojo.cc.orig 2025-05-07 06:48:23 UTC
+--- ipc/ipc_channel_mojo.cc.orig 2025-09-11 13:19:19 UTC
+++ ipc/ipc_channel_mojo.cc
-@@ -105,7 +105,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe
+@@ -104,7 +104,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe
};
base::ProcessId GetSelfPID() {
diff --git a/www/iridium/files/patch-ipc_ipc__message__utils.h b/www/iridium/files/patch-ipc_ipc__message__utils.h
index 51285f68af11..6ce13511da78 100644
--- a/www/iridium/files/patch-ipc_ipc__message__utils.h
+++ b/www/iridium/files/patch-ipc_ipc__message__utils.h
@@ -1,6 +1,6 @@
---- ipc/ipc_message_utils.h.orig 2025-05-07 06:48:23 UTC
+--- ipc/ipc_message_utils.h.orig 2025-09-11 13:19:19 UTC
+++ ipc/ipc_message_utils.h
-@@ -216,7 +216,7 @@ struct ParamTraits<unsigned int> {
+@@ -211,7 +211,7 @@ struct ParamTraits<unsigned int> {
// Since we want to support Android 32<>64 bit IPC, as long as we don't have
// these traits for 32 bit ARM then that'll catch any errors.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/iridium/files/patch-media_BUILD.gn b/www/iridium/files/patch-media_BUILD.gn
index 0584658ebf27..21e5b2395c1c 100644
--- a/www/iridium/files/patch-media_BUILD.gn
+++ b/www/iridium/files/patch-media_BUILD.gn
@@ -1,6 +1,6 @@
---- media/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- media/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ media/BUILD.gn
-@@ -99,6 +99,9 @@ config("media_config") {
+@@ -101,6 +101,9 @@ config("media_config") {
defines += [ "DLOPEN_PULSEAUDIO" ]
}
}
diff --git a/www/iridium/files/patch-media_audio_BUILD.gn b/www/iridium/files/patch-media_audio_BUILD.gn
index 632457614659..ba950660dc0b 100644
--- a/www/iridium/files/patch-media_audio_BUILD.gn
+++ b/www/iridium/files/patch-media_audio_BUILD.gn
@@ -1,6 +1,6 @@
---- media/audio/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- media/audio/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ media/audio/BUILD.gn
-@@ -275,9 +275,23 @@ source_set("audio") {
+@@ -289,9 +289,23 @@ source_set("audio") {
deps += [ "//media/base/android:media_jni_headers" ]
}
diff --git a/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc b/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc
index 7503c484e31e..57ca288e272e 100644
--- a/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc
+++ b/www/iridium/files/patch-media_audio_alsa_audio__manager__alsa.cc
@@ -1,6 +1,6 @@
---- media/audio/alsa/audio_manager_alsa.cc.orig 2025-06-19 07:37:57 UTC
+--- media/audio/alsa/audio_manager_alsa.cc.orig 2025-09-11 13:19:19 UTC
+++ media/audio/alsa/audio_manager_alsa.cc
-@@ -106,7 +106,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
+@@ -103,7 +103,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
int card = -1;
// Loop through the physical sound cards to get ALSA device hints.
@@ -10,7 +10,7 @@
void** hints = nullptr;
int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
if (!error) {
-@@ -118,7 +120,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
+@@ -115,7 +117,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
DLOG(WARNING) << "GetAlsaAudioDevices: unable to get device hints: "
<< wrapper_->StrError(error);
}
@@ -20,19 +20,19 @@
}
void AudioManagerAlsa::GetAlsaDevicesInfo(AudioManagerAlsa::StreamType type,
-@@ -202,7 +206,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable(
+@@ -199,7 +203,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable(AudioMana
// goes through software conversion if needed (e.g. incompatible
// sample rate).
// TODO(joi): Should we prefer "hw" instead?
+#if BUILDFLAG(IS_BSD)
-+ static const char kDeviceTypeDesired[] = "plug";
++ static constexpr std::string_view kDeviceTypeDesired = "plug";
+#else
- static const char kDeviceTypeDesired[] = "plughw";
+ static constexpr std::string_view kDeviceTypeDesired = "plughw";
+#endif
- return strncmp(kDeviceTypeDesired, device_name,
- std::size(kDeviceTypeDesired) - 1) == 0;
+ return device_name.starts_with(kDeviceTypeDesired);
}
-@@ -254,7 +262,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice(
+
+@@ -250,7 +258,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice(
// Loop through the sound cards.
// Don't use snd_device_name_hint(-1,..) since there is an access violation
// inside this ALSA API with libasound.so.2.0.0.
@@ -41,7 +41,7 @@
+#endif
int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
if (!error) {
- for (void** hint_iter = hints; *hint_iter != nullptr; hint_iter++) {
+ const std::string_view unwanted_type =
@@ -279,7 +289,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice(
DLOG(WARNING) << "HasAnyAudioDevice: unable to get device hints: "
<< wrapper_->StrError(error);
diff --git a/www/iridium/files/patch-media_audio_audio__input__device.cc b/www/iridium/files/patch-media_audio_audio__input__device.cc
index 1a097e8bf92d..4f91aa9b1046 100644
--- a/www/iridium/files/patch-media_audio_audio__input__device.cc
+++ b/www/iridium/files/patch-media_audio_audio__input__device.cc
@@ -1,6 +1,6 @@
---- media/audio/audio_input_device.cc.orig 2025-05-07 06:48:23 UTC
+--- media/audio/audio_input_device.cc.orig 2025-09-11 13:19:19 UTC
+++ media/audio/audio_input_device.cc
-@@ -275,7 +275,7 @@ void AudioInputDevice::OnStreamCreated(
+@@ -271,7 +271,7 @@ void AudioInputDevice::OnStreamCreated(
// here. See comments in AliveChecker and PowerObserverHelper for details and
// todos.
if (detect_dead_stream_ == DeadStreamDetection::kEnabled) {
diff --git a/www/iridium/files/patch-media_audio_pulse_pulse__util.cc b/www/iridium/files/patch-media_audio_pulse_pulse__util.cc
index a660a2cb0869..bc5b2a1d4775 100644
--- a/www/iridium/files/patch-media_audio_pulse_pulse__util.cc
+++ b/www/iridium/files/patch-media_audio_pulse_pulse__util.cc
@@ -1,6 +1,6 @@
---- media/audio/pulse/pulse_util.cc.orig 2025-05-07 06:48:23 UTC
+--- media/audio/pulse/pulse_util.cc.orig 2025-09-11 13:19:19 UTC
+++ media/audio/pulse/pulse_util.cc
-@@ -50,7 +50,11 @@ constexpr char kBrowserDisplayName[] = "chromium-brows
+@@ -45,7 +45,11 @@ constexpr char kBrowserDisplayName[] = "chromium-brows
#if defined(DLOPEN_PULSEAUDIO)
static const base::FilePath::CharType kPulseLib[] =
diff --git a/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.cc b/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.cc
index 69792852be8d..3f5b095436a1 100644
--- a/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.cc
+++ b/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.cc
@@ -1,6 +1,6 @@
---- media/audio/sndio/audio_manager_sndio.cc.orig 2025-05-07 06:48:23 UTC
+--- media/audio/sndio/audio_manager_sndio.cc.orig 2025-09-11 13:19:19 UTC
+++ media/audio/sndio/audio_manager_sndio.cc
-@@ -0,0 +1,213 @@
+@@ -0,0 +1,215 @@
+// 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.
@@ -9,6 +9,8 @@
+#include "base/metrics/histogram_macros.h"
+#include "base/memory/ptr_util.h"
+
++#include "base/logging.h"
++
+#include "media/audio/sndio/audio_manager_sndio.h"
+
+#include "media/audio/audio_device_description.h"
@@ -62,7 +64,7 @@
+}
+
+#if defined(USE_SNDIO)
-+const char* AudioManagerSndio::GetName() {
++const std::string_view AudioManagerSndio::GetName() {
+ return "SNDIO";
+}
+#endif
diff --git a/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.h b/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.h
index 0bebefb3420c..aca65ef9fcd5 100644
--- a/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.h
+++ b/www/iridium/files/patch-media_audio_sndio_audio__manager__sndio.h
@@ -1,4 +1,4 @@
---- media/audio/sndio/audio_manager_sndio.h.orig 2025-05-07 06:48:23 UTC
+--- media/audio/sndio/audio_manager_sndio.h.orig 2025-09-11 13:19:19 UTC
+++ media/audio/sndio/audio_manager_sndio.h
@@ -0,0 +1,66 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
@@ -34,7 +34,7 @@
+ void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override;
+ AudioParameters GetInputStreamParameters(
+ const std::string& device_id) override;
-+ const char* GetName() override;
++ const std::string_view GetName() override;
+
+ // Implementation of AudioManagerBase.
+ AudioOutputStream* MakeLinearOutputStream(
diff --git a/www/iridium/files/patch-media_audio_sndio_sndio__input.cc b/www/iridium/files/patch-media_audio_sndio_sndio__input.cc
index d8541f45308a..680c1a755617 100644
--- a/www/iridium/files/patch-media_audio_sndio_sndio__input.cc
+++ b/www/iridium/files/patch-media_audio_sndio_sndio__input.cc
@@ -1,11 +1,12 @@
---- media/audio/sndio/sndio_input.cc.orig 2025-05-07 06:48:23 UTC
+--- media/audio/sndio/sndio_input.cc.orig 2025-09-11 13:19:19 UTC
+++ media/audio/sndio/sndio_input.cc
-@@ -0,0 +1,200 @@
+@@ -0,0 +1,201 @@
+// Copyright 2013 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.
+
+#include "base/logging.h"
++#include "media/base/audio_sample_types.h"
+#include "media/base/audio_timestamp_helper.h"
+#include "media/audio/sndio/audio_manager_sndio.h"
+#include "media/audio/audio_manager.h"
diff --git a/www/iridium/files/patch-media_audio_sndio_sndio__output.cc b/www/iridium/files/patch-media_audio_sndio_sndio__output.cc
index 60100ec47704..99273e058ec9 100644
--- a/www/iridium/files/patch-media_audio_sndio_sndio__output.cc
+++ b/www/iridium/files/patch-media_audio_sndio_sndio__output.cc
@@ -1,6 +1,6 @@
---- media/audio/sndio/sndio_output.cc.orig 2025-05-07 06:48:23 UTC
+--- media/audio/sndio/sndio_output.cc.orig 2025-09-11 13:19:19 UTC
+++ media/audio/sndio/sndio_output.cc
-@@ -0,0 +1,187 @@
+@@ -0,0 +1,188 @@
+// 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.
@@ -9,6 +9,7 @@
+#include "base/time/time.h"
+#include "base/time/default_tick_clock.h"
+#include "media/audio/audio_manager_base.h"
++#include "media/base/audio_sample_types.h"
+#include "media/base/audio_timestamp_helper.h"
+#include "media/audio/sndio/sndio_output.h"
+
diff --git a/www/iridium/files/patch-media_base_audio__latency.cc b/www/iridium/files/patch-media_base_audio__latency.cc
index bc461bd5b453..3193d31a65f5 100644
--- a/www/iridium/files/patch-media_base_audio__latency.cc
+++ b/www/iridium/files/patch-media_base_audio__latency.cc
@@ -1,6 +1,6 @@
---- media/base/audio_latency.cc.orig 2025-05-07 06:48:23 UTC
+--- media/base/audio_latency.cc.orig 2025-09-11 13:19:19 UTC
+++ media/base/audio_latency.cc
-@@ -147,7 +147,7 @@ int AudioLatency::GetRtcBufferSize(int sample_rate, in
+@@ -143,7 +143,7 @@ int AudioLatency::GetRtcBufferSize(int sample_rate, in
}
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \
diff --git a/www/iridium/files/patch-media_base_media__switches.cc b/www/iridium/files/patch-media_base_media__switches.cc
index 76ddc64f2c98..6a6eb620d3fa 100644
--- a/www/iridium/files/patch-media_base_media__switches.cc
+++ b/www/iridium/files/patch-media_base_media__switches.cc
@@ -1,4 +1,4 @@
---- media/base/media_switches.cc.orig 2025-06-19 07:37:57 UTC
+--- media/base/media_switches.cc.orig 2025-09-11 13:19:19 UTC
+++ media/base/media_switches.cc
@@ -19,7 +19,7 @@
#include "ui/gl/gl_features.h"
@@ -9,7 +9,7 @@
#include "base/cpu.h"
#endif
-@@ -366,8 +366,8 @@ BASE_FEATURE(kUseSCContentSharingPicker,
+@@ -380,8 +380,8 @@ BASE_FEATURE(kUseSCContentSharingPicker,
"UseSCContentSharingPicker",
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_MAC)
@@ -20,7 +20,7 @@
// Enables system audio mirroring using pulseaudio.
BASE_FEATURE(kPulseaudioLoopbackForCast,
"PulseaudioLoopbackForCast",
-@@ -377,6 +377,28 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
+@@ -391,6 +391,28 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
BASE_FEATURE(kPulseaudioLoopbackForScreenShare,
"PulseaudioLoopbackForScreenShare",
base::FEATURE_DISABLED_BY_DEFAULT);
@@ -49,7 +49,7 @@
#endif // BUILDFLAG(IS_LINUX)
// When enabled, MediaCapabilities will check with GPU Video Accelerator
-@@ -658,7 +680,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInPicture,
+@@ -705,7 +727,7 @@ BASE_FEATURE(kFileDialogsTuckPictureInPicture,
// Show toolbar button that opens dialog for controlling media sessions.
BASE_FEATURE(kGlobalMediaControls,
"GlobalMediaControls",
@@ -58,7 +58,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -681,7 +703,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI,
+@@ -728,7 +750,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI,
// If enabled, users can request Media Remoting without fullscreen-in-tab.
BASE_FEATURE(kMediaRemotingWithoutFullscreen,
"MediaRemotingWithoutFullscreen",
@@ -67,7 +67,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -693,7 +715,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen,
+@@ -740,7 +762,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen,
BASE_FEATURE(kGlobalMediaControlsPictureInPicture,
"GlobalMediaControlsPictureInPicture",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -76,7 +76,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -722,7 +744,7 @@ BASE_FEATURE(kUnifiedAutoplay,
+@@ -775,7 +797,7 @@ BASE_FEATURE(kUnifiedAutoplay,
"UnifiedAutoplay",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -85,7 +85,7 @@
// Enable vaapi/v4l2 video decoding on linux. This is already enabled by default
// on chromeos, but needs an experiment on linux.
BASE_FEATURE(kAcceleratedVideoDecodeLinux,
-@@ -795,7 +817,7 @@ BASE_FEATURE(kVSyncMjpegDecoding,
+@@ -848,7 +870,7 @@ BASE_FEATURE(kVSyncMjpegDecoding,
"VSyncMjpegDecoding",
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
@@ -94,7 +94,7 @@
// Enable H264 temporal layer encoding with V4L2 HW encoder on ChromeOS.
BASE_FEATURE(kV4L2H264TemporalLayerHWEncoding,
"V4L2H264TemporalLayerHWEncoding",
-@@ -1340,7 +1362,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding,
+@@ -1444,7 +1466,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding,
);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
@@ -103,7 +103,7 @@
// Spawn utility processes to perform hardware encode acceleration instead of
// using the GPU process.
BASE_FEATURE(kUseOutOfProcessVideoEncoding,
-@@ -1422,7 +1444,7 @@ BASE_FEATURE(kRecordWebAudioEngagement,
+@@ -1526,7 +1548,7 @@ BASE_FEATURE(kRecordWebAudioEngagement,
"RecordWebAudioEngagement",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -112,3 +112,12 @@
// Reduces the number of buffers needed in the output video frame pool to
// populate the Renderer pipeline for hardware accelerated VideoDecoder in
// non-low latency scenarios.
+@@ -1843,7 +1865,7 @@ bool IsSystemLoopbackCaptureSupported() {
+ #elif BUILDFLAG(IS_MAC)
+ return (IsMacSckSystemLoopbackCaptureSupported() ||
+ IsMacCatapSystemLoopbackCaptureSupported());
+-#elif BUILDFLAG(IS_LINUX) && defined(USE_PULSEAUDIO)
++#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(USE_PULSEAUDIO)
+ return true;
+ #else
+ return false;
diff --git a/www/iridium/files/patch-media_base_media__switches.h b/www/iridium/files/patch-media_base_media__switches.h
index 2e050c49d9b5..983fc1813849 100644
--- a/www/iridium/files/patch-media_base_media__switches.h
+++ b/www/iridium/files/patch-media_base_media__switches.h
@@ -1,6 +1,6 @@
---- media/base/media_switches.h.orig 2025-06-19 07:37:57 UTC
+--- media/base/media_switches.h.orig 2025-09-11 13:19:19 UTC
+++ media/base/media_switches.h
-@@ -334,13 +334,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaRecorderHEVCSu
+@@ -338,13 +338,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaRecorderHEVCSu
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlaybackSpeedButton);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMediaEngagementData);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMetadataSuspend);
@@ -28,16 +28,16 @@
MEDIA_EXPORT BASE_DECLARE_FEATURE(kReduceHardwareVideoDecoderBuffers);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
MEDIA_EXPORT BASE_DECLARE_FEATURE(kResumeBackgroundVideo);
-@@ -354,7 +366,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kSuspendMutedAudio);
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay);
+@@ -363,7 +375,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseAndroidOverlayForSecureOnly);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMediaStream);
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaStreamAccurateDroppedFrameCount);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinux);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinuxGL);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoEncodeLinux);
-@@ -370,7 +382,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiAV1TemporalLay
+@@ -379,7 +391,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiAV1TemporalLay
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVp9SModeHWEncoding);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVSyncMjpegDecoding);
#endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
@@ -46,7 +46,7 @@
MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2H264TemporalLayerHWEncoding);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVideoBlitColorAccuracy);
-@@ -490,7 +502,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kBackgroundListening
+@@ -497,7 +509,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kBackgroundListening
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVideoDecoding);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
diff --git a/www/iridium/files/patch-media_base_video__frame.cc b/www/iridium/files/patch-media_base_video__frame.cc
index acbeaab045b5..f92055970689 100644
--- a/www/iridium/files/patch-media_base_video__frame.cc
+++ b/www/iridium/files/patch-media_base_video__frame.cc
@@ -1,6 +1,6 @@
---- media/base/video_frame.cc.orig 2025-06-19 07:37:57 UTC
+--- media/base/video_frame.cc.orig 2025-09-11 13:19:19 UTC
+++ media/base/video_frame.cc
-@@ -92,7 +92,7 @@ std::string VideoFrame::StorageTypeToString(
+@@ -87,7 +87,7 @@ std::string VideoFrame::StorageTypeToString(
return "OWNED_MEMORY";
case VideoFrame::STORAGE_SHMEM:
return "SHMEM";
@@ -9,7 +9,7 @@
case VideoFrame::STORAGE_DMABUFS:
return "DMABUFS";
#endif
-@@ -106,7 +106,7 @@ std::string VideoFrame::StorageTypeToString(
+@@ -101,7 +101,7 @@ std::string VideoFrame::StorageTypeToString(
// static
bool VideoFrame::IsStorageTypeMappable(VideoFrame::StorageType storage_type) {
return
@@ -18,25 +18,25 @@
// This is not strictly needed but makes explicit that, at VideoFrame
// level, DmaBufs are not mappable from userspace.
storage_type != VideoFrame::STORAGE_DMABUFS &&
-@@ -420,7 +420,7 @@ VideoFrame::CreateFrameForGpuMemoryBufferOrMappableSII
+@@ -396,7 +396,7 @@ scoped_refptr<VideoFrame> VideoFrame::CreateFrameForMa
plane_size.width() * VideoFrame::BytesPerElement(*format, plane);
}
uint64_t modifier = gfx::NativePixmapHandle::kNoModifier;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- bool is_native_buffer =
- gpu_memory_buffer
- ? (gpu_memory_buffer->GetType() != gfx::SHARED_MEMORY_BUFFER)
-@@ -890,7 +890,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM
- return frame;
+ bool is_native_buffer = !shared_image->IsSharedMemoryForVideoFrame();
+ if (is_native_buffer) {
+ const auto gmb_handle = shared_image->CloneGpuMemoryBufferHandle();
+@@ -861,7 +861,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM
}
+ #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// static
scoped_refptr<VideoFrame> VideoFrame::WrapExternalDmabufs(
const VideoFrameLayout& layout,
-@@ -1577,7 +1577,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar
+@@ -1535,7 +1535,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar
return wrapped_frame_ ? wrapped_frame_->shared_image() : shared_image_;
}
diff --git a/www/iridium/files/patch-media_base_video__frame.h b/www/iridium/files/patch-media_base_video__frame.h
index f9ca2019e9d4..312d5cbf551f 100644
--- a/www/iridium/files/patch-media_base_video__frame.h
+++ b/www/iridium/files/patch-media_base_video__frame.h
@@ -1,6 +1,6 @@
---- media/base/video_frame.h.orig 2025-06-19 07:37:57 UTC
+--- media/base/video_frame.h.orig 2025-09-11 13:19:19 UTC
+++ media/base/video_frame.h
-@@ -42,7 +42,7 @@
+@@ -41,7 +41,7 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/hdr_metadata.h"
@@ -9,7 +9,7 @@
#include "base/files/scoped_file.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -88,7 +88,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
+@@ -95,7 +95,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
STORAGE_UNOWNED_MEMORY = 2, // External, non owned data pointers.
STORAGE_OWNED_MEMORY = 3, // VideoFrame has allocated its own data buffer.
STORAGE_SHMEM = 4, // Backed by read-only shared memory.
@@ -18,16 +18,16 @@
STORAGE_DMABUFS = 5, // Each plane is stored into a DmaBuf.
#endif
STORAGE_GPU_MEMORY_BUFFER = 6,
-@@ -420,7 +420,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
- ReleaseMailboxAndGpuMemoryBufferCB mailbox_holder_and_gmb_release_cb,
+@@ -370,7 +370,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
base::TimeDelta timestamp);
+ #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Wraps provided dmabufs
// (https://www.kernel.org/doc/html/latest/driver-api/dma-buf.html) with a
// VideoFrame. The frame will take ownership of |dmabuf_fds|, and will
-@@ -733,7 +733,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
+@@ -692,7 +692,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
// wait for the included sync point.
scoped_refptr<gpu::ClientSharedImage> shared_image() const;
@@ -36,7 +36,7 @@
// The number of DmaBufs will be equal or less than the number of planes of
// the frame. If there are less, this means that the last FD contains the
// remaining planes. Should be > 0 for STORAGE_DMABUFS.
-@@ -973,7 +973,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
+@@ -927,7 +927,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
// GpuMemoryBuffers. Clients will set this flag while creating a VideoFrame.
bool is_mappable_si_enabled_ = false;
diff --git a/www/iridium/files/patch-media_capture_video_create__video__capture__device__factory.cc b/www/iridium/files/patch-media_capture_video_create__video__capture__device__factory.cc
index 494378fd13dd..36d2591728a3 100644
--- a/www/iridium/files/patch-media_capture_video_create__video__capture__device__factory.cc
+++ b/www/iridium/files/patch-media_capture_video_create__video__capture__device__factory.cc
@@ -1,6 +1,6 @@
---- media/capture/video/create_video_capture_device_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- media/capture/video/create_video_capture_device_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ media/capture/video/create_video_capture_device_factory.cc
-@@ -12,7 +12,7 @@
+@@ -13,7 +13,7 @@
#include "media/capture/video/fake_video_capture_device_factory.h"
#include "media/capture/video/file_video_capture_device_factory.h"
@@ -9,7 +9,7 @@
#include "media/capture/video/linux/video_capture_device_factory_linux.h"
#elif BUILDFLAG(IS_CHROMEOS)
#include "media/capture/video/chromeos/public/cros_features.h"
-@@ -55,7 +55,7 @@ CreateFakeVideoCaptureDeviceFactory() {
+@@ -56,7 +56,7 @@ CreateFakeVideoCaptureDeviceFactory() {
std::unique_ptr<VideoCaptureDeviceFactory>
CreatePlatformSpecificVideoCaptureDeviceFactory(
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
diff --git a/www/iridium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc b/www/iridium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc
index fba607eef6c8..9a12a92c1378 100644
--- a/www/iridium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc
+++ b/www/iridium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc
@@ -1,6 +1,6 @@
---- media/capture/video/linux/fake_v4l2_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- media/capture/video/linux/fake_v4l2_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ media/capture/video/linux/fake_v4l2_impl.cc
-@@ -569,7 +569,7 @@ int FakeV4L2Impl::close(int fd) {
+@@ -570,7 +570,7 @@ int FakeV4L2Impl::close(int fd) {
return kSuccessReturnValue;
}
diff --git a/www/iridium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc b/www/iridium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
index da0078066125..4bf35a29ba18 100644
--- a/www/iridium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
+++ b/www/iridium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
@@ -1,4 +1,4 @@
---- media/capture/video/linux/v4l2_capture_delegate.cc.orig 2025-05-07 06:48:23 UTC
+--- media/capture/video/linux/v4l2_capture_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ media/capture/video/linux/v4l2_capture_delegate.cc
@@ -10,8 +10,10 @@
#include "media/capture/video/linux/v4l2_capture_delegate.h"
@@ -11,7 +11,7 @@
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-@@ -34,17 +36,19 @@
+@@ -35,17 +37,19 @@
#include "media/capture/video/blob_utils.h"
#include "media/capture/video/linux/video_capture_device_linux.h"
@@ -32,7 +32,7 @@
// TODO(aleksandar.stojiljkovic): Wrap this with kernel version check once the
// format is introduced to kernel.
-@@ -54,6 +58,14 @@ using media::mojom::MeteringMode;
+@@ -55,6 +59,14 @@ using media::mojom::MeteringMode;
#define V4L2_PIX_FMT_INVZ v4l2_fourcc('I', 'N', 'V', 'Z')
#endif
@@ -47,7 +47,7 @@
namespace media {
namespace {
-@@ -273,7 +285,7 @@ bool V4L2CaptureDelegate::IsBlockedControl(int control
+@@ -274,7 +286,7 @@ bool V4L2CaptureDelegate::IsBlockedControl(int control
// static
bool V4L2CaptureDelegate::IsControllableControl(
int control_id,
@@ -56,7 +56,7 @@
const int special_control_id = GetControllingSpecialControl(control_id);
if (!special_control_id) {
// The control is not controlled by a special control thus the control is
-@@ -329,7 +341,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate(
+@@ -330,7 +342,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate(
is_capturing_(false),
timeout_count_(0),
rotation_(rotation) {
@@ -65,7 +65,7 @@
use_gpu_buffer_ = switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
#endif // BUILDFLAG(IS_LINUX)
}
-@@ -456,7 +468,7 @@ void V4L2CaptureDelegate::AllocateAndStart(
+@@ -457,7 +469,7 @@ void V4L2CaptureDelegate::AllocateAndStart(
client_->OnStarted();
@@ -74,7 +74,7 @@
if (use_gpu_buffer_) {
v4l2_gpu_helper_ = std::make_unique<V4L2CaptureDelegateGpuHelper>();
}
-@@ -800,7 +812,7 @@ base::WeakPtr<V4L2CaptureDelegate> V4L2CaptureDelegate
+@@ -801,7 +813,7 @@ base::WeakPtr<V4L2CaptureDelegate> V4L2CaptureDelegate
V4L2CaptureDelegate::~V4L2CaptureDelegate() = default;
@@ -83,7 +83,7 @@
int num_retries = 0;
for (; DoIoctl(request, argp) < 0 && num_retries < kMaxIOCtrlRetries;
++num_retries) {
-@@ -810,7 +822,7 @@ bool V4L2CaptureDelegate::RunIoctl(int request, void*
+@@ -811,7 +823,7 @@ bool V4L2CaptureDelegate::RunIoctl(int request, void*
return num_retries != kMaxIOCtrlRetries;
}
@@ -92,7 +92,7 @@
return HANDLE_EINTR(v4l2_->ioctl(device_fd_.get(), request, argp));
}
-@@ -821,6 +833,7 @@ bool V4L2CaptureDelegate::IsControllableControl(int co
+@@ -822,6 +834,7 @@ bool V4L2CaptureDelegate::IsControllableControl(int co
}
void V4L2CaptureDelegate::ReplaceControlEventSubscriptions() {
@@ -100,7 +100,7 @@
constexpr uint32_t kControlIds[] = {V4L2_CID_AUTO_EXPOSURE_BIAS,
V4L2_CID_AUTO_WHITE_BALANCE,
V4L2_CID_BRIGHTNESS,
-@@ -848,6 +861,7 @@ void V4L2CaptureDelegate::ReplaceControlEventSubscript
+@@ -849,6 +862,7 @@ void V4L2CaptureDelegate::ReplaceControlEventSubscript
<< ", {type = V4L2_EVENT_CTRL, id = " << control_id << "}";
}
}
@@ -108,7 +108,7 @@
}
mojom::RangePtr V4L2CaptureDelegate::RetrieveUserControlRange(int control_id) {
-@@ -1028,7 +1042,11 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1029,7 +1043,11 @@ void V4L2CaptureDelegate::DoCapture() {
pollfd device_pfd = {};
device_pfd.fd = device_fd_.get();
@@ -120,7 +120,7 @@
const int result =
HANDLE_EINTR(v4l2_->poll(&device_pfd, 1, kCaptureTimeoutMs));
-@@ -1066,6 +1084,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1067,6 +1085,7 @@ void V4L2CaptureDelegate::DoCapture() {
timeout_count_ = 0;
}
@@ -128,7 +128,7 @@
// Dequeue events if the driver has filled in some.
if (device_pfd.revents & POLLPRI) {
bool controls_changed = false;
-@@ -1099,6 +1118,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1100,6 +1119,7 @@ void V4L2CaptureDelegate::DoCapture() {
client_->OnCaptureConfigurationChanged();
}
}
@@ -136,7 +136,7 @@
// Deenqueue, send and reenqueue a buffer if the driver has filled one in.
if (device_pfd.revents & POLLIN) {
-@@ -1152,7 +1172,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1153,7 +1173,7 @@ void V4L2CaptureDelegate::DoCapture() {
// workable on Linux.
// See http://crbug.com/959919.
@@ -145,7 +145,7 @@
if (use_gpu_buffer_) {
v4l2_gpu_helper_->OnIncomingCapturedData(
client_.get(), buffer_tracker->start(),
-@@ -1226,7 +1246,7 @@ void V4L2CaptureDelegate::SetErrorState(VideoCaptureEr
+@@ -1227,7 +1247,7 @@ void V4L2CaptureDelegate::SetErrorState(VideoCaptureEr
client_->OnError(error, from_here, reason);
}
diff --git a/www/iridium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc b/www/iridium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc
index d0e190a08814..da9abf1f55b5 100644
--- a/www/iridium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc
+++ b/www/iridium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc
@@ -1,6 +1,6 @@
---- media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2025-05-07 06:48:23 UTC
+--- media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2025-09-11 13:19:19 UTC
+++ media/capture/video/linux/video_capture_device_factory_v4l2.cc
-@@ -43,6 +43,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf
+@@ -44,6 +44,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf
return a.descriptor < b.descriptor;
}
@@ -8,7 +8,7 @@
// USB VID and PID are both 4 bytes long.
const size_t kVidPidSize = 4;
const size_t kMaxInterfaceNameSize = 256;
-@@ -75,11 +76,24 @@ std::string ExtractFileNameFromDeviceId(const std::str
+@@ -76,11 +77,24 @@ std::string ExtractFileNameFromDeviceId(const std::str
DCHECK(base::StartsWith(device_id, kDevDir, base::CompareCase::SENSITIVE));
return device_id.substr(strlen(kDevDir), device_id.length());
}
@@ -33,7 +33,7 @@
const base::FilePath path("/dev/");
base::FileEnumerator enumerator(path, false, base::FileEnumerator::FILES,
"video*");
-@@ -87,9 +101,13 @@ class DevVideoFilePathsDeviceProvider
+@@ -88,9 +102,13 @@ class DevVideoFilePathsDeviceProvider
const base::FileEnumerator::FileInfo info = enumerator.GetInfo();
target_container->emplace_back(path.value() + info.GetName().value());
}
@@ -47,7 +47,7 @@
const std::string file_name = ExtractFileNameFromDeviceId(device_id);
std::string usb_id;
const std::string vid_path =
-@@ -106,9 +124,13 @@ class DevVideoFilePathsDeviceProvider
+@@ -107,9 +125,13 @@ class DevVideoFilePathsDeviceProvider
}
return usb_id;
@@ -61,7 +61,7 @@
const std::string file_name = ExtractFileNameFromDeviceId(device_id);
const std::string interface_path =
base::StringPrintf(kInterfacePathTemplate, file_name.c_str());
-@@ -119,6 +141,7 @@ class DevVideoFilePathsDeviceProvider
+@@ -120,6 +142,7 @@ class DevVideoFilePathsDeviceProvider
return std::string();
}
return display_name;
@@ -69,7 +69,7 @@
}
};
-@@ -224,7 +247,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo(
+@@ -225,7 +248,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo(
std::move(callback).Run(std::move(devices_info));
}
diff --git a/www/iridium/files/patch-media_capture_video_video__capture__device__client.cc b/www/iridium/files/patch-media_capture_video_video__capture__device__client.cc
index fb603fce8577..0ab1c720230d 100644
--- a/www/iridium/files/patch-media_capture_video_video__capture__device__client.cc
+++ b/www/iridium/files/patch-media_capture_video_video__capture__device__client.cc
@@ -1,6 +1,6 @@
---- media/capture/video/video_capture_device_client.cc.orig 2025-05-07 06:48:23 UTC
+--- media/capture/video/video_capture_device_client.cc.orig 2025-09-11 13:19:19 UTC
+++ media/capture/video/video_capture_device_client.cc
-@@ -172,7 +172,7 @@ FourccAndFlip GetFourccAndFlipFromPixelFormat(
+@@ -173,7 +173,7 @@ FourccAndFlip GetFourccAndFlipFromPixelFormat(
CHECK(!is_width_odd && !is_height_odd);
return {libyuv::FOURCC_UYVY};
case media::PIXEL_FORMAT_RGB24:
diff --git a/www/iridium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py b/www/iridium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py
index 833bac761f44..f02ec1dd731d 100644
--- a/www/iridium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py
+++ b/www/iridium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py
@@ -1,4 +1,4 @@
---- media/ffmpeg/scripts/build_ffmpeg.py.orig 2025-05-07 06:48:23 UTC
+--- media/ffmpeg/scripts/build_ffmpeg.py.orig 2025-09-11 13:19:19 UTC
+++ media/ffmpeg/scripts/build_ffmpeg.py
@@ -33,7 +33,7 @@ NDK_ROOT_DIR = os.path.abspath(
SUCCESS_TOKEN = 'THIS_BUILD_WORKED'
@@ -12,13 +12,13 @@
@@ -43,6 +43,8 @@ BRANDINGS = [
ARCH_MAP = {
'android': ['ia32', 'x64', 'arm-neon', 'arm64'],
- 'linux': ['ia32', 'x64', 'noasm-x64', 'arm', 'arm-neon', 'arm64'],
+ 'linux': ['ia32', 'x64', 'noasm-x64', 'arm', 'arm-neon', 'arm64', 'riscv64'],
+ 'openbsd': ['x64', 'arm64', 'ia32'],
+ 'freebsd': ['x64', 'arm64', 'ia32'],
'mac': ['x64', 'arm64'],
'win': ['ia32', 'x64', 'arm64'],
}
-@@ -122,7 +124,7 @@ def PrintAndCheckCall(argv, *args, **kwargs):
+@@ -124,7 +126,7 @@ def PrintAndCheckCall(argv, *args, **kwargs):
def GetDsoName(target_os, dso_name, dso_version):
diff --git a/www/iridium/files/patch-media_ffmpeg_scripts_robo__lib_config.py b/www/iridium/files/patch-media_ffmpeg_scripts_robo__lib_config.py
index b0f4a0ffe745..4ee9a0571977 100644
--- a/www/iridium/files/patch-media_ffmpeg_scripts_robo__lib_config.py
+++ b/www/iridium/files/patch-media_ffmpeg_scripts_robo__lib_config.py
@@ -1,4 +1,4 @@
---- media/ffmpeg/scripts/robo_lib/config.py.orig 2025-05-07 06:48:23 UTC
+--- media/ffmpeg/scripts/robo_lib/config.py.orig 2025-09-11 13:19:19 UTC
+++ media/ffmpeg/scripts/robo_lib/config.py
@@ -56,19 +56,13 @@ class RoboConfiguration:
self._llvm_path = os.path.join(self.chrome_src(), "third_party",
@@ -32,7 +32,7 @@
self._host_architecture = "arm64"
elif platform.machine() == "mips32":
self._host_architecture = "mipsel"
-@@ -224,6 +218,10 @@ class RoboConfiguration:
+@@ -230,6 +224,10 @@ class RoboConfiguration:
elif platform.system() == "Windows" or "CYGWIN_NT" in platform.system(
):
self._host_operating_system = "win"
@@ -43,7 +43,7 @@
else:
raise ValueError(f"Unsupported platform: {platform.system()}")
-@@ -232,8 +230,8 @@ class RoboConfiguration:
+@@ -238,8 +236,8 @@ class RoboConfiguration:
wd = os.getcwd()
# Walk up the tree until we find src/AUTHORS
while wd != "/":
diff --git a/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc b/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
index aa5d17bdc1bf..04a1a5ccc3c5 100644
--- a/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
+++ b/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
@@ -1,11 +1,11 @@
---- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2025-05-07 06:48:23 UTC
+--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/chromeos/mailbox_video_frame_converter.cc
-@@ -68,7 +68,7 @@ viz::SharedImageFormat GetSharedImageFormat(gfx::Buffe
- << static_cast<int>(buffer_format);
- NOTREACHED();
+@@ -321,7 +321,7 @@ bool MailboxVideoFrameConverter::GenerateSharedImage(
+ VideoPixelFormatToString(origin_frame->format()));
+ return false;
}
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// If format is true multiplanar format, we prefer external sampler on
// ChromeOS and Linux.
- if (format.is_multi_plane()) {
+ if (si_format->is_multi_plane()) {
diff --git a/www/iridium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc b/www/iridium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc
index 5275f33e004b..3270cc8b8e19 100644
--- a/www/iridium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc
+++ b/www/iridium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc
@@ -1,6 +1,6 @@
---- media/gpu/chromeos/platform_video_frame_utils.cc.orig 2025-05-07 06:48:23 UTC
+--- media/gpu/chromeos/platform_video_frame_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/chromeos/platform_video_frame_utils.cc
-@@ -68,7 +68,7 @@ static std::unique_ptr<ui::GbmDevice> CreateGbmDevice(
+@@ -71,7 +71,7 @@ static std::unique_ptr<ui::GbmDevice> CreateGbmDevice(
const base::FilePath dev_path(FILE_PATH_LITERAL(
base::StrCat({drm_node_file_prefix, base::NumberToString(i)})));
@@ -9,7 +9,7 @@
const bool is_render_node = base::Contains(drm_node_file_prefix, "render");
// TODO(b/313513760): don't guard base::File::FLAG_WRITE behind
-@@ -193,7 +193,7 @@ class GbmDeviceWrapper {
+@@ -192,7 +192,7 @@ class GbmDeviceWrapper {
const base::FilePath dev_path(
base::CommandLine::ForCurrentProcess()->GetSwitchValuePath(
switches::kRenderNodeOverride));
diff --git a/www/iridium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc b/www/iridium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc
index 7f66aaf4dae4..d275a26f6099 100644
--- a/www/iridium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc
+++ b/www/iridium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc
@@ -1,6 +1,6 @@
---- media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/gpu_video_encode_accelerator_factory.cc
-@@ -160,7 +160,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
+@@ -162,7 +162,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
}
#if BUILDFLAG(USE_VAAPI)
@@ -9,7 +9,7 @@
if (base::FeatureList::IsEnabled(kAcceleratedVideoEncodeLinux)) {
vea_factory_functions->push_back(base::BindRepeating(&CreateVaapiVEA));
}
-@@ -168,7 +168,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
+@@ -170,7 +170,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
vea_factory_functions->push_back(base::BindRepeating(&CreateVaapiVEA));
#endif
#elif BUILDFLAG(USE_V4L2_CODEC)
diff --git a/www/iridium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc b/www/iridium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
index 22ac6cf45db9..e51170c64625 100644
--- a/www/iridium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
+++ b/www/iridium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
@@ -1,4 +1,4 @@
---- media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc
@@ -17,7 +17,9 @@
#include "media/gpu/vaapi/vaapi_wrapper.h"
@@ -18,7 +18,7 @@
void AllowAccessToRenderNodes(std::vector<BrokerFilePermission>& permissions,
bool include_sys_dev_char,
bool read_write) {
-@@ -189,6 +192,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
+@@ -180,6 +183,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
NOTREACHED();
#endif // BUILDFLAG(USE_V4L2_CODEC)
}
@@ -26,7 +26,7 @@
} // namespace
-@@ -204,6 +208,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
+@@ -195,6 +199,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
// (at least).
bool HardwareVideoDecodingPreSandboxHook(
sandbox::policy::SandboxLinux::Options options) {
@@ -34,7 +34,7 @@
using HardwareVideoDecodingProcessPolicy =
sandbox::policy::HardwareVideoDecodingProcessPolicy;
using PolicyType =
-@@ -249,6 +254,7 @@ bool HardwareVideoDecodingPreSandboxHook(
+@@ -240,6 +245,7 @@ bool HardwareVideoDecodingPreSandboxHook(
// |permissions| is empty?
sandbox::policy::SandboxLinux::GetInstance()->StartBrokerProcess(
command_set, permissions, options);
diff --git a/www/iridium/files/patch-media_gpu_test_video__frame__helpers.cc b/www/iridium/files/patch-media_gpu_test_video__frame__helpers.cc
index 117f699fdf2e..d2f74f0459d0 100644
--- a/www/iridium/files/patch-media_gpu_test_video__frame__helpers.cc
+++ b/www/iridium/files/patch-media_gpu_test_video__frame__helpers.cc
@@ -1,8 +1,8 @@
---- media/gpu/test/video_frame_helpers.cc.orig 2025-05-07 06:48:23 UTC
+--- media/gpu/test/video_frame_helpers.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/test/video_frame_helpers.cc
@@ -23,7 +23,7 @@
#include "ui/gfx/buffer_format_util.h"
- #include "ui/gfx/gpu_memory_buffer.h"
+ #include "ui/gfx/gpu_memory_buffer_handle.h"
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-media_gpu_test_video__frame__validator.cc b/www/iridium/files/patch-media_gpu_test_video__frame__validator.cc
index a66a0adeaa51..85cbdebb9cb8 100644
--- a/www/iridium/files/patch-media_gpu_test_video__frame__validator.cc
+++ b/www/iridium/files/patch-media_gpu_test_video__frame__validator.cc
@@ -1,8 +1,8 @@
---- media/gpu/test/video_frame_validator.cc.orig 2025-05-07 06:48:23 UTC
+--- media/gpu/test/video_frame_validator.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/test/video_frame_validator.cc
-@@ -34,7 +34,7 @@
+@@ -29,7 +29,7 @@
+ #include "media/media_buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"
- #include "ui/gfx/gpu_memory_buffer.h"
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc b/www/iridium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc
index 6e7e5a970cbe..97ad0e9f7f12 100644
--- a/www/iridium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc
+++ b/www/iridium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc
@@ -1,6 +1,6 @@
---- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2025-05-07 06:48:23 UTC
+--- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/vaapi/vaapi_video_decoder.cc
-@@ -784,7 +784,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree
+@@ -787,7 +787,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree
const gfx::Size decoder_natural_size =
aspect_ratio_.GetNaturalSize(decoder_visible_rect);
diff --git a/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc b/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
index f0ce45f9e6fa..b11e00e7fc29 100644
--- a/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
+++ b/www/iridium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
@@ -1,6 +1,6 @@
---- media/gpu/vaapi/vaapi_wrapper.cc.orig 2025-06-19 07:37:57 UTC
+--- media/gpu/vaapi/vaapi_wrapper.cc.orig 2025-09-11 13:19:19 UTC
+++ media/gpu/vaapi/vaapi_wrapper.cc
-@@ -82,7 +82,7 @@
+@@ -83,7 +83,7 @@
using media_gpu_vaapi::kModuleVa_prot;
#endif
diff --git a/www/iridium/files/patch-media_media__options.gni b/www/iridium/files/patch-media_media__options.gni
index 95afdb1e1c2d..3cbdce867c12 100644
--- a/www/iridium/files/patch-media_media__options.gni
+++ b/www/iridium/files/patch-media_media__options.gni
@@ -1,6 +1,6 @@
---- media/media_options.gni.orig 2025-05-07 06:48:23 UTC
+--- media/media_options.gni.orig 2025-09-11 13:19:19 UTC
+++ media/media_options.gni
-@@ -201,12 +201,15 @@ declare_args() {
+@@ -206,12 +206,15 @@ declare_args() {
# Enables runtime selection of ALSA library for audio.
use_alsa = false
diff --git a/www/iridium/files/patch-media_mojo_mojom_BUILD.gn b/www/iridium/files/patch-media_mojo_mojom_BUILD.gn
index 5bc3752e2de5..db0a190d9c8e 100644
--- a/www/iridium/files/patch-media_mojo_mojom_BUILD.gn
+++ b/www/iridium/files/patch-media_mojo_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- media/mojo/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- media/mojo/mojom/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ media/mojo/mojom/BUILD.gn
-@@ -971,7 +971,7 @@ source_set("test_support") {
+@@ -962,7 +962,7 @@ source_set("test_support") {
sources = []
deps = []
diff --git a/www/iridium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc b/www/iridium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc
index 221f49950e79..30992267d3a6 100644
--- a/www/iridium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc
+++ b/www/iridium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc
@@ -1,6 +1,6 @@
---- media/mojo/mojom/video_frame_mojom_traits.cc.orig 2025-05-07 06:48:23 UTC
+--- media/mojo/mojom/video_frame_mojom_traits.cc.orig 2025-09-11 13:19:19 UTC
+++ media/mojo/mojom/video_frame_mojom_traits.cc
-@@ -24,7 +24,7 @@
+@@ -21,7 +21,7 @@
#include "ui/gfx/mojom/color_space_mojom_traits.h"
#include "ui/gfx/mojom/hdr_metadata_mojom_traits.h"
@@ -9,7 +9,7 @@
#include "base/posix/eintr_wrapper.h"
#include "media/gpu/buffer_validation.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -166,7 +166,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
+@@ -188,7 +188,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
media::mojom::OpaqueVideoFrameData::New());
}
@@ -18,7 +18,7 @@
if (input->storage_type() == media::VideoFrame::STORAGE_DMABUFS) {
// Duplicates the DMA buffer FDs to a new vector since this cannot take
// ownership of the FDs in |input| due to constness.
-@@ -197,7 +197,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
+@@ -219,7 +219,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
} // namespace
@@ -27,7 +27,7 @@
// static
bool StructTraits<
media::mojom::ColorPlaneLayoutDataView,
-@@ -436,7 +436,7 @@ bool StructTraits<media::mojom::VideoFrameDataView,
+@@ -442,7 +442,7 @@ bool StructTraits<media::mojom::VideoFrameDataView,
frame = media::VideoFrame::WrapTrackingToken(
format, *metadata.tracking_token, coded_size, visible_rect,
natural_size, timestamp);
diff --git a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc b/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc
deleted file mode 100644
index a92b99978a36..000000000000
--- a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- media/video/fake_gpu_memory_buffer.cc.orig 2025-06-19 07:37:57 UTC
-+++ media/video/fake_gpu_memory_buffer.cc
-@@ -15,7 +15,7 @@
- #include "media/base/format_utils.h"
- #include "media/base/video_frame.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include <fcntl.h>
- #include <sys/stat.h>
- #include <sys/types.h>
-@@ -30,7 +30,7 @@ namespace media {
-
- namespace {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- base::ScopedFD GetDummyFD() {
- base::ScopedFD fd(open("/dev/zero", O_RDWR));
- DCHECK(fd.is_valid());
-@@ -74,7 +74,7 @@ static base::AtomicSequenceNumber buffer_id_generator;
-
- } // namespace
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- gfx::GpuMemoryBufferHandle CreatePixmapHandleForTesting(
- const gfx::Size& size,
- gfx::BufferFormat format,
diff --git a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h b/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h
deleted file mode 100644
index 5a81dbb0d111..000000000000
--- a/www/iridium/files/patch-media_video_fake__gpu__memory__buffer.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- media/video/fake_gpu_memory_buffer.h.orig 2025-06-19 07:37:57 UTC
-+++ media/video/fake_gpu_memory_buffer.h
-@@ -12,7 +12,7 @@
-
- namespace media {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // This method is used by tests to create a fake pixmap handle instead of
- // creating a FakeGpuMemoryBuffer. Once all tests are converted to use it,
- // FakeGpuMemoryBuffer will be removed and this file will be renamed
diff --git a/www/iridium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc b/www/iridium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc
index af55d3f7f678..5a019cee42f1 100644
--- a/www/iridium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc
+++ b/www/iridium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc
@@ -1,6 +1,6 @@
---- media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2025-05-07 06:48:23 UTC
+--- media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2025-09-11 13:19:19 UTC
+++ media/video/gpu_memory_buffer_video_frame_pool.cc
-@@ -647,7 +647,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHa
+@@ -651,7 +651,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHa
}
bool is_software_backed_video_frame = !video_frame->HasSharedImage();
@@ -9,16 +9,16 @@
is_software_backed_video_frame &= !video_frame->HasDmaBufs();
#endif
-@@ -1057,7 +1057,7 @@ scoped_refptr<VideoFrame> GpuMemoryBufferVideoFramePoo
- media::IOSurfaceIsWebGPUCompatible(handle.io_surface.get());
+@@ -1052,7 +1052,7 @@ scoped_refptr<VideoFrame> GpuMemoryBufferVideoFramePoo
+ media::IOSurfaceIsWebGPUCompatible(handle.io_surface().get());
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
is_webgpu_compatible =
- handle.native_pixmap_handle.supports_zero_copy_webgpu_import;
- #endif
-@@ -1228,7 +1228,7 @@ GpuMemoryBufferVideoFramePool::PoolImpl::GetOrCreateFr
+ handle.type == gfx::NATIVE_PIXMAP &&
+ handle.native_pixmap_handle().supports_zero_copy_webgpu_import;
+@@ -1220,7 +1220,7 @@ GpuMemoryBufferVideoFramePool::PoolImpl::GetOrCreateFr
si_usage |= gpu::SHARED_IMAGE_USAGE_SCANOUT;
}
diff --git a/www/iridium/files/patch-media_video_video__encode__accelerator__adapter.cc b/www/iridium/files/patch-media_video_video__encode__accelerator__adapter.cc
index 1e2e20684391..d60b29f71446 100644
--- a/www/iridium/files/patch-media_video_video__encode__accelerator__adapter.cc
+++ b/www/iridium/files/patch-media_video_video__encode__accelerator__adapter.cc
@@ -1,6 +1,6 @@
---- media/video/video_encode_accelerator_adapter.cc.orig 2025-05-07 06:48:23 UTC
+--- media/video/video_encode_accelerator_adapter.cc.orig 2025-09-11 13:19:19 UTC
+++ media/video/video_encode_accelerator_adapter.cc
-@@ -468,7 +468,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele
+@@ -467,7 +467,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele
auto format = PIXEL_FORMAT_I420;
auto storage_type = VideoEncodeAccelerator::Config::StorageType::kShmem;
diff --git a/www/iridium/files/patch-media_webrtc_audio__processor.cc b/www/iridium/files/patch-media_webrtc_audio__processor.cc
index 1924ab0ca9f1..bd7dd0a9080d 100644
--- a/www/iridium/files/patch-media_webrtc_audio__processor.cc
+++ b/www/iridium/files/patch-media_webrtc_audio__processor.cc
@@ -1,6 +1,6 @@
---- media/webrtc/audio_processor.cc.orig 2025-06-19 07:37:57 UTC
+--- media/webrtc/audio_processor.cc.orig 2025-09-11 13:19:19 UTC
+++ media/webrtc/audio_processor.cc
-@@ -512,7 +512,7 @@ std::optional<double> AudioProcessor::ProcessData(
+@@ -510,7 +510,7 @@ std::optional<double> AudioProcessor::ProcessData(
// controller.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
DCHECK_LE(volume, 1.0);
diff --git a/www/iridium/files/patch-media_webrtc_helpers__unittests.cc b/www/iridium/files/patch-media_webrtc_helpers__unittests.cc
index c7224c2ef6c1..e0fabf09f0da 100644
--- a/www/iridium/files/patch-media_webrtc_helpers__unittests.cc
+++ b/www/iridium/files/patch-media_webrtc_helpers__unittests.cc
@@ -1,6 +1,6 @@
---- media/webrtc/helpers_unittests.cc.orig 2025-05-07 06:48:23 UTC
+--- media/webrtc/helpers_unittests.cc.orig 2025-09-11 13:19:19 UTC
+++ media/webrtc/helpers_unittests.cc
-@@ -39,7 +39,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest, CheckDefau
+@@ -38,7 +38,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest, CheckDefau
EXPECT_TRUE(config.echo_canceller.enabled);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
EXPECT_FALSE(config.gain_controller1.enabled);
EXPECT_TRUE(config.gain_controller2.enabled);
#elif BUILDFLAG(IS_CASTOS) || BUILDFLAG(IS_CAST_ANDROID)
-@@ -66,7 +66,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
+@@ -65,7 +65,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -18,7 +18,7 @@
TEST(CreateWebRtcAudioProcessingModuleTest,
InputVolumeAdjustmentEnabledWithAgc2) {
::base::test::ScopedFeatureList feature_list;
-@@ -82,7 +82,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
+@@ -81,7 +81,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -27,7 +27,7 @@
TEST(CreateWebRtcAudioProcessingModuleTest,
CanDisableInputVolumeAdjustmentWithAgc2) {
::base::test::ScopedFeatureList feature_list;
-@@ -99,7 +99,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
+@@ -98,7 +98,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-mojo_core_BUILD.gn b/www/iridium/files/patch-mojo_core_BUILD.gn
index 67e714d84f45..19e27e1c71a2 100644
--- a/www/iridium/files/patch-mojo_core_BUILD.gn
+++ b/www/iridium/files/patch-mojo_core_BUILD.gn
@@ -1,11 +1,11 @@
---- mojo/core/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- mojo/core/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ mojo/core/BUILD.gn
-@@ -163,7 +163,7 @@ source_set("impl_for_embedder") {
- ]
- }
+@@ -161,7 +161,7 @@ source_set("impl_for_embedder") {
+ "channel_posix.h",
+ ]
-- if ((is_linux || is_chromeos || is_android) && !is_nacl) {
-+ if ((is_linux || is_chromeos || is_android) && !is_nacl && !is_bsd) {
+- if (is_linux || is_chromeos || is_android) {
++ if ((is_linux || is_chromeos || is_android) && !is_bsd) {
sources += [
"channel_linux.cc",
"channel_linux.h",
diff --git a/www/iridium/files/patch-mojo_core_channel.cc b/www/iridium/files/patch-mojo_core_channel.cc
index b67cecd0b5f4..3f32253e537e 100644
--- a/www/iridium/files/patch-mojo_core_channel.cc
+++ b/www/iridium/files/patch-mojo_core_channel.cc
@@ -1,6 +1,6 @@
---- mojo/core/channel.cc.orig 2025-05-07 06:48:23 UTC
+--- mojo/core/channel.cc.orig 2025-09-11 13:19:19 UTC
+++ mojo/core/channel.cc
-@@ -83,7 +83,11 @@ const size_t kMaxAttachedHandles = 64;
+@@ -80,7 +80,11 @@ const size_t kMaxAttachedHandles = 64;
const size_t kMaxAttachedHandles = 253;
#endif // BUILDFLAG(IS_FUCHSIA)
@@ -12,3 +12,12 @@
Channel::AlignedBuffer MakeAlignedBuffer(size_t size) {
// Generic allocators (such as malloc) return a pointer that is suitably
// aligned for storing any type of object with a fundamental alignment
+@@ -1162,7 +1166,7 @@ void Channel::LogHistogramForIPCMetrics(MessageType ty
+ }
+
+ // Currently only CrOs, Linux, and Android support upgrades.
+-#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID))
++#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
+ // static
+ MOJO_SYSTEM_IMPL_EXPORT bool Channel::SupportsChannelUpgrade() {
+ return false;
diff --git a/www/iridium/files/patch-mojo_core_embedder_features.h b/www/iridium/files/patch-mojo_core_embedder_features.h
index f51c267c43e6..6d38f49ab44e 100644
--- a/www/iridium/files/patch-mojo_core_embedder_features.h
+++ b/www/iridium/files/patch-mojo_core_embedder_features.h
@@ -1,9 +1,9 @@
---- mojo/core/embedder/features.h.orig 2025-05-07 06:48:23 UTC
+--- mojo/core/embedder/features.h.orig 2025-09-11 13:19:19 UTC
+++ mojo/core/embedder/features.h
-@@ -16,7 +16,7 @@ namespace core {
+@@ -15,7 +15,7 @@ namespace mojo {
+ namespace core {
- #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && \
- !BUILDFLAG(MOJO_USE_APPLE_CHANNEL)
+ #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(MOJO_USE_APPLE_CHANNEL)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(MOJO_CORE_EMBEDDER_FEATURES)
diff --git a/www/iridium/files/patch-mojo_public_tools_bindings_mojom.gni b/www/iridium/files/patch-mojo_public_tools_bindings_mojom.gni
index b836291974b8..d6248a98fe0b 100644
--- a/www/iridium/files/patch-mojo_public_tools_bindings_mojom.gni
+++ b/www/iridium/files/patch-mojo_public_tools_bindings_mojom.gni
@@ -1,6 +1,6 @@
---- mojo/public/tools/bindings/mojom.gni.orig 2025-05-07 06:48:23 UTC
+--- mojo/public/tools/bindings/mojom.gni.orig 2025-09-11 13:19:19 UTC
+++ mojo/public/tools/bindings/mojom.gni
-@@ -774,6 +774,16 @@ template("mojom") {
+@@ -762,6 +762,16 @@ template("mojom") {
enabled_features += [ "is_apple" ]
}
diff --git a/www/iridium/files/patch-net_BUILD.gn b/www/iridium/files/patch-net_BUILD.gn
index d30dac474cef..e080dbc957e0 100644
--- a/www/iridium/files/patch-net_BUILD.gn
+++ b/www/iridium/files/patch-net_BUILD.gn
@@ -1,4 +1,4 @@
---- net/BUILD.gn.orig 2025-06-18 12:17:42 UTC
+--- net/BUILD.gn.orig 2025-09-13 16:56:52 UTC
+++ net/BUILD.gn
@@ -126,7 +126,7 @@ net_configs = [
"//build/config/compiler:wexit_time_destructors",
@@ -9,15 +9,15 @@
net_configs += [ "//build/config/linux:libresolv" ]
}
-@@ -1138,6 +1138,7 @@ component("net") {
+@@ -1157,6 +1157,7 @@ component("net") {
":net_deps",
"//components/miracle_parameter/common",
"//components/network_time/time_tracker",
+ "//content/public/common:buildflags",
"//net/http:transport_security_state_generated_files",
- "//third_party/simdutf:simdutf",
+ "//third_party/simdutf",
]
-@@ -1334,6 +1335,19 @@ component("net") {
+@@ -1356,6 +1357,19 @@ component("net") {
]
}
@@ -37,7 +37,7 @@
if (is_mac) {
sources += [
"base/network_notification_thread_mac.cc",
-@@ -1497,7 +1511,7 @@ component("net") {
+@@ -1519,7 +1533,7 @@ component("net") {
}
# Use getifaddrs() on POSIX platforms, except Linux.
@@ -46,7 +46,7 @@
sources += [
"base/network_interfaces_getifaddrs.cc",
"base/network_interfaces_getifaddrs.h",
-@@ -2207,7 +2221,7 @@ static_library("test_support") {
+@@ -2252,7 +2266,7 @@ static_library("test_support") {
]
}
@@ -55,7 +55,7 @@
sources += [
"base/address_tracker_linux_test_util.cc",
"base/address_tracker_linux_test_util.h",
-@@ -3030,14 +3044,14 @@ target(_test_target_type, "net_unittests") {
+@@ -3050,14 +3064,14 @@ target(_test_target_type, "net_unittests") {
]
}
@@ -72,7 +72,7 @@
sources += [
"base/address_tracker_linux_unittest.cc",
"base/network_interfaces_linux_unittest.cc",
-@@ -3135,6 +3149,10 @@ target(_test_target_type, "net_unittests") {
+@@ -3158,6 +3172,10 @@ target(_test_target_type, "net_unittests") {
]
}
@@ -83,16 +83,16 @@
if (enable_websockets) {
sources += [
"server/http_connection_unittest.cc",
-@@ -3200,7 +3218,7 @@ target(_test_target_type, "net_unittests") {
- ]
- }
+@@ -3214,7 +3232,7 @@ target(_test_target_type, "net_unittests") {
+ ]
+ data_deps = [ "//testing/buildbot/filters:net_unittests_filters" ]
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !is_bsd) {
sources += [ "tools/quic/quic_simple_server_test.cc" ]
}
-@@ -3339,7 +3357,7 @@ target(_test_target_type, "net_unittests") {
+@@ -3344,7 +3362,7 @@ target(_test_target_type, "net_unittests") {
}
# Use getifaddrs() on POSIX platforms, except Linux.
diff --git a/www/iridium/files/patch-net_base_features.cc b/www/iridium/files/patch-net_base_features.cc
index b8854d4cc995..e5a3055fbc3c 100644
--- a/www/iridium/files/patch-net_base_features.cc
+++ b/www/iridium/files/patch-net_base_features.cc
@@ -1,6 +1,6 @@
---- net/base/features.cc.orig 2025-06-19 07:37:57 UTC
+--- net/base/features.cc.orig 2025-09-11 13:19:19 UTC
+++ net/base/features.cc
-@@ -27,7 +27,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin,
+@@ -32,7 +32,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin,
BASE_FEATURE(kAsyncDns,
"AsyncDns",
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) || \
@@ -9,3 +9,12 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
+@@ -711,7 +711,7 @@ BASE_FEATURE(kReportingApiEnableEnterpriseCookieIssues
+
+ BASE_FEATURE(kSimdutfBase64Support,
+ "SimdutfBase64Support",
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
diff --git a/www/iridium/files/patch-net_base_sockaddr__util__posix.cc b/www/iridium/files/patch-net_base_sockaddr__util__posix.cc
index 708426ba2667..560f07170d21 100644
--- a/www/iridium/files/patch-net_base_sockaddr__util__posix.cc
+++ b/www/iridium/files/patch-net_base_sockaddr__util__posix.cc
@@ -1,6 +1,6 @@
---- net/base/sockaddr_util_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- net/base/sockaddr_util_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ net/base/sockaddr_util_posix.cc
-@@ -45,7 +45,8 @@ bool FillUnixAddress(const std::string& socket_path,
+@@ -60,7 +60,8 @@ bool FillUnixAddress(const std::string& socket_path,
return true;
}
diff --git a/www/iridium/files/patch-net_disk__cache_backend__experiment.h b/www/iridium/files/patch-net_disk__cache_backend__experiment.h
index cfca471a68f6..866271676faa 100644
--- a/www/iridium/files/patch-net_disk__cache_backend__experiment.h
+++ b/www/iridium/files/patch-net_disk__cache_backend__experiment.h
@@ -1,6 +1,6 @@
---- net/disk_cache/backend_experiment.h.orig 2025-05-07 06:48:23 UTC
+--- net/disk_cache/backend_experiment.h.orig 2025-09-11 13:19:19 UTC
+++ net/disk_cache/backend_experiment.h
-@@ -14,7 +14,7 @@ namespace disk_cache {
+@@ -15,7 +15,7 @@ namespace disk_cache {
// default.
constexpr bool IsSimpleBackendEnabledByDefaultPlatform() {
return BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) ||
diff --git a/www/iridium/files/patch-net_disk__cache_simple_simple__file__tracker.cc b/www/iridium/files/patch-net_disk__cache_simple_simple__file__tracker.cc
index 86a5b77a989d..ab380b687d22 100644
--- a/www/iridium/files/patch-net_disk__cache_simple_simple__file__tracker.cc
+++ b/www/iridium/files/patch-net_disk__cache_simple_simple__file__tracker.cc
@@ -1,6 +1,6 @@
---- net/disk_cache/simple/simple_file_tracker.cc.orig 2025-05-07 06:48:23 UTC
+--- net/disk_cache/simple/simple_file_tracker.cc.orig 2025-09-11 13:19:19 UTC
+++ net/disk_cache/simple/simple_file_tracker.cc
-@@ -37,7 +37,17 @@ bool SimpleFileTracker::TrackedFiles::InLRUList() cons
+@@ -36,7 +36,17 @@ bool SimpleFileTracker::TrackedFiles::InLRUList() cons
}
SimpleFileTracker::SimpleFileTracker(int file_limit)
diff --git a/www/iridium/files/patch-net_dns_BUILD.gn b/www/iridium/files/patch-net_dns_BUILD.gn
index 3d4d9837d67a..9f0176446dd5 100644
--- a/www/iridium/files/patch-net_dns_BUILD.gn
+++ b/www/iridium/files/patch-net_dns_BUILD.gn
@@ -1,4 +1,4 @@
---- net/dns/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- net/dns/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ net/dns/BUILD.gn
@@ -140,7 +140,7 @@ source_set("dns") {
"dns_config_service_android.cc",
@@ -9,15 +9,23 @@
sources += [
"dns_config_service_linux.cc",
"dns_config_service_linux.h",
-@@ -181,6 +181,7 @@ source_set("dns") {
+@@ -174,6 +174,7 @@ source_set("dns") {
+ }
+
+ deps = [ "//net:net_deps" ]
++ deps += [ "//services/screen_ai/buildflags" ]
+
+ public_deps = [
+ ":dns_client",
+@@ -181,6 +182,7 @@ source_set("dns") {
":host_resolver_manager",
":mdns_client",
"//net:net_public_deps",
+ "//printing/buildflags",
]
- allow_circular_includes_from = [
-@@ -450,9 +451,9 @@ source_set("tests") {
+ if (enable_mdns) {
+@@ -454,9 +456,9 @@ source_set("tests") {
if (is_android) {
sources += [ "dns_config_service_android_unittest.cc" ]
diff --git a/www/iridium/files/patch-net_dns_address__info.cc b/www/iridium/files/patch-net_dns_address__info.cc
index 0fb081f0958d..863308fb101c 100644
--- a/www/iridium/files/patch-net_dns_address__info.cc
+++ b/www/iridium/files/patch-net_dns_address__info.cc
@@ -1,6 +1,6 @@
---- net/dns/address_info.cc.orig 2025-05-07 06:48:23 UTC
+--- net/dns/address_info.cc.orig 2025-09-11 13:19:19 UTC
+++ net/dns/address_info.cc
-@@ -83,8 +83,12 @@ AddressInfo::AddressInfoAndResult AddressInfo::Get(
+@@ -78,8 +78,12 @@ AddressInfo::AddressInfoAndResult AddressInfo::Get(
// error.
// http://crbug.com/134142
err = ERR_NAME_NOT_RESOLVED;
diff --git a/www/iridium/files/patch-net_dns_address__sorter__posix.cc b/www/iridium/files/patch-net_dns_address__sorter__posix.cc
index de92425c9c68..6ef2132de6a9 100644
--- a/www/iridium/files/patch-net_dns_address__sorter__posix.cc
+++ b/www/iridium/files/patch-net_dns_address__sorter__posix.cc
@@ -1,6 +1,6 @@
---- net/dns/address_sorter_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- net/dns/address_sorter_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ net/dns/address_sorter_posix.cc
-@@ -32,6 +32,7 @@
+@@ -33,6 +33,7 @@
#include "net/dns/netinet_in_var_ios.h"
#else
#include <netinet/in_var.h>
diff --git a/www/iridium/files/patch-net_dns_public_resolv__reader.cc b/www/iridium/files/patch-net_dns_public_resolv__reader.cc
new file mode 100644
index 000000000000..ace7f25bffcb
--- /dev/null
+++ b/www/iridium/files/patch-net_dns_public_resolv__reader.cc
@@ -0,0 +1,11 @@
+--- net/dns/public/resolv_reader.cc.orig 2025-09-11 13:19:19 UTC
++++ net/dns/public/resolv_reader.cc
+@@ -34,7 +34,7 @@ std::unique_ptr<ScopedResState> ResolvReader::GetResSt
+ }
+
+ bool ResolvReader::IsLikelySystemdResolved() {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
+ // Look for a single 127.0.0.53:53 nameserver endpoint. The only known
+ // significant usage of such a configuration is the systemd-resolved local
+ // resolver, so it is then a fairly safe assumption that any DNS queries to
diff --git a/www/iridium/files/patch-net_http_http__network__session.cc b/www/iridium/files/patch-net_http_http__network__session.cc
index 9adf5aa2f05d..1d9f1dd20f68 100644
--- a/www/iridium/files/patch-net_http_http__network__session.cc
+++ b/www/iridium/files/patch-net_http_http__network__session.cc
@@ -1,6 +1,6 @@
---- net/http/http_network_session.cc.orig 2025-05-07 06:48:23 UTC
+--- net/http/http_network_session.cc.orig 2025-09-11 13:19:19 UTC
+++ net/http/http_network_session.cc
-@@ -20,7 +20,9 @@
+@@ -21,7 +21,9 @@
#include "build/build_config.h"
#include "net/base/features.h"
#include "net/dns/host_resolver.h"
diff --git a/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc b/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc
index 19d19eda7d94..754a7f915686 100644
--- a/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc
+++ b/www/iridium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc
@@ -1,4 +1,4 @@
---- net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-06-19 07:37:57 UTC
+--- net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ net/proxy_resolution/proxy_config_service_linux.cc
@@ -11,7 +11,9 @@
@@ -26,7 +26,7 @@
} // namespace
-@@ -1258,9 +1262,11 @@ ProxyConfigServiceLinux::Delegate::Delegate(
+@@ -1259,9 +1263,11 @@ ProxyConfigServiceLinux::Delegate::Delegate(
case base::nix::DESKTOP_ENVIRONMENT_KDE4:
case base::nix::DESKTOP_ENVIRONMENT_KDE5:
case base::nix::DESKTOP_ENVIRONMENT_KDE6:
diff --git a/www/iridium/files/patch-net_quic_quic__network__transaction__unittest.cc b/www/iridium/files/patch-net_quic_quic__network__transaction__unittest.cc
deleted file mode 100644
index caf85f580c65..000000000000
--- a/www/iridium/files/patch-net_quic_quic__network__transaction__unittest.cc
+++ /dev/null
@@ -1,28 +0,0 @@
---- net/quic/quic_network_transaction_unittest.cc.orig 2025-05-07 06:48:23 UTC
-+++ net/quic/quic_network_transaction_unittest.cc
-@@ -5202,10 +5202,10 @@ TEST_P(QuicNetworkTransactionTest, RstStreamBeforeHead
-
- TEST_P(QuicNetworkTransactionTest, BrokenAlternateProtocol) {
- // Alternate-protocol job
-- std::unique_ptr<quic::QuicEncryptedPacket> close(
-+ std::unique_ptr<quic::QuicEncryptedPacket> test_close(
- ConstructServerConnectionClosePacket(1));
- MockRead quic_reads[] = {
-- MockRead(ASYNC, close->data(), close->length()),
-+ MockRead(ASYNC, test_close->data(), test_close->length()),
- MockRead(ASYNC, ERR_IO_PENDING), // No more data to read
- MockRead(ASYNC, OK), // EOF
- };
-@@ -5248,10 +5248,10 @@ TEST_P(QuicNetworkTransactionTest,
- http_server_properties_ = std::make_unique<HttpServerProperties>();
-
- // Alternate-protocol job
-- std::unique_ptr<quic::QuicEncryptedPacket> close(
-+ std::unique_ptr<quic::QuicEncryptedPacket> test_close(
- ConstructServerConnectionClosePacket(1));
- MockRead quic_reads[] = {
-- MockRead(ASYNC, close->data(), close->length()),
-+ MockRead(ASYNC, test_close->data(), test_close->length()),
- MockRead(ASYNC, ERR_IO_PENDING), // No more data to read
- MockRead(ASYNC, OK), // EOF
- };
diff --git a/www/iridium/files/patch-net_socket_udp__socket__posix.cc b/www/iridium/files/patch-net_socket_udp__socket__posix.cc
index a1cc71712faf..70f83b967921 100644
--- a/www/iridium/files/patch-net_socket_udp__socket__posix.cc
+++ b/www/iridium/files/patch-net_socket_udp__socket__posix.cc
@@ -1,6 +1,6 @@
---- net/socket/udp_socket_posix.cc.orig 2025-06-19 07:37:57 UTC
+--- net/socket/udp_socket_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ net/socket/udp_socket_posix.cc
-@@ -530,12 +530,17 @@ int UDPSocketPosix::SetRecvTos() {
+@@ -524,12 +524,17 @@ int UDPSocketPosix::SetRecvTos() {
#endif // BUILDFLAG(IS_APPLE)
}
@@ -19,7 +19,7 @@
if (confirm) {
sendto_flags_ |= MSG_CONFIRM;
} else {
-@@ -556,7 +561,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) {
+@@ -550,7 +555,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) {
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
int value = broadcast ? 1 : 0;
int rv;
diff --git a/www/iridium/files/patch-net_socket_udp__socket__unittest.cc b/www/iridium/files/patch-net_socket_udp__socket__unittest.cc
index 504f892a4a8d..9ecc70e557cc 100644
--- a/www/iridium/files/patch-net_socket_udp__socket__unittest.cc
+++ b/www/iridium/files/patch-net_socket_udp__socket__unittest.cc
@@ -1,6 +1,6 @@
---- net/socket/udp_socket_unittest.cc.orig 2025-06-19 07:37:57 UTC
+--- net/socket/udp_socket_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ net/socket/udp_socket_unittest.cc
-@@ -392,7 +392,7 @@ TEST_F(UDPSocketTest, PartialRecv) {
+@@ -397,7 +397,7 @@ TEST_F(UDPSocketTest, PartialRecv) {
EXPECT_EQ(second_packet, received);
}
@@ -9,7 +9,7 @@
// - MacOS: requires root permissions on OSX 10.7+.
// - Android: devices attached to testbots don't have default network, so
// broadcasting to 255.255.255.255 returns error -109 (Address not reachable).
-@@ -703,7 +703,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFragment) {
+@@ -708,7 +708,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFragment) {
EXPECT_THAT(rv, IsOk());
rv = client.SetDoNotFragment();
@@ -18,7 +18,7 @@
// TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia.
EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED));
#else
-@@ -725,7 +725,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFragment) {
+@@ -730,7 +730,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFragment) {
EXPECT_THAT(rv, IsOk());
rv = server.SetDoNotFragment();
@@ -27,7 +27,7 @@
// TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia.
EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED));
#else
-@@ -791,7 +791,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup) {
+@@ -796,7 +796,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup) {
// TODO(crbug.com/40620614): failing on device on iOS 12.2.
// TODO(crbug.com/40189274): flaky on Mac 11.
@@ -36,7 +36,7 @@
#define MAYBE_SharedMulticastAddress DISABLED_SharedMulticastAddress
#else
#define MAYBE_SharedMulticastAddress SharedMulticastAddress
-@@ -845,7 +845,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMulticastAddress) {
+@@ -850,7 +850,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMulticastAddress) {
NetLogSource());
ASSERT_THAT(client_socket.Connect(send_address), IsOk());
diff --git a/www/iridium/files/patch-net_url__request_url__request__context.cc b/www/iridium/files/patch-net_url__request_url__request__context.cc
index dc65ab2cfe8d..c3838782375f 100644
--- a/www/iridium/files/patch-net_url__request_url__request__context.cc
+++ b/www/iridium/files/patch-net_url__request_url__request__context.cc
@@ -1,6 +1,6 @@
---- net/url_request/url_request_context.cc.orig 2025-05-07 06:48:23 UTC
+--- net/url_request/url_request_context.cc.orig 2025-09-11 13:19:19 UTC
+++ net/url_request/url_request_context.cc
-@@ -119,7 +119,7 @@ const HttpNetworkSessionContext* URLRequestContext::Ge
+@@ -128,7 +128,7 @@ const HttpNetworkSessionContext* URLRequestContext::Ge
return &network_session->context();
}
diff --git a/www/iridium/files/patch-net_url__request_url__request__context__builder.cc b/www/iridium/files/patch-net_url__request_url__request__context__builder.cc
index ea94465b3a73..d48009e5eb53 100644
--- a/www/iridium/files/patch-net_url__request_url__request__context__builder.cc
+++ b/www/iridium/files/patch-net_url__request_url__request__context__builder.cc
@@ -1,6 +1,6 @@
---- net/url_request/url_request_context_builder.cc.orig 2025-06-19 07:37:57 UTC
+--- net/url_request/url_request_context_builder.cc.orig 2025-09-11 13:19:19 UTC
+++ net/url_request/url_request_context_builder.cc
-@@ -444,7 +444,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu
+@@ -446,7 +446,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu
}
if (!proxy_resolution_service_) {
diff --git a/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc b/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc
index 1ba8c8b4e610..33e5bafed442 100644
--- a/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc
+++ b/www/iridium/files/patch-pdf_pdfium_pdfium__engine.cc
@@ -1,6 +1,6 @@
---- pdf/pdfium/pdfium_engine.cc.orig 2025-06-19 07:37:57 UTC
+--- pdf/pdfium/pdfium_engine.cc.orig 2025-09-11 13:19:19 UTC
+++ pdf/pdfium/pdfium_engine.cc
-@@ -112,7 +112,7 @@
+@@ -113,7 +113,7 @@
#include "ui/accessibility/ax_features.mojom-features.h"
#endif
@@ -9,7 +9,7 @@
#include "pdf/pdfium/pdfium_font_linux.h"
#endif
-@@ -568,7 +568,7 @@ void InitializeSDK(bool enable_v8,
+@@ -565,7 +565,7 @@ void InitializeSDK(bool enable_v8,
FPDF_InitLibraryWithConfig(&config);
diff --git a/www/iridium/files/patch-printing_backend_cups__helper.cc b/www/iridium/files/patch-printing_backend_cups__helper.cc
new file mode 100644
index 000000000000..efec9eb85041
--- /dev/null
+++ b/www/iridium/files/patch-printing_backend_cups__helper.cc
@@ -0,0 +1,52 @@
+--- printing/backend/cups_helper.cc.orig 2025-09-11 13:19:19 UTC
++++ printing/backend/cups_helper.cc
+@@ -13,7 +13,7 @@
+ #include "base/time/time.h"
+ #include "build/build_config.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include <cups/ppd.h>
+ #include <stddef.h>
+ #include <stdio.h>
+@@ -43,11 +43,11 @@
+ #include "url/gurl.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ using base::EqualsCaseInsensitiveASCII;
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -60,7 +60,7 @@ namespace {
+ // able to start and respond on all systems within this duration.
+ constexpr base::TimeDelta kCupsTimeout = base::Seconds(5);
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // CUPS default max copies value (parsed from kCupsMaxCopies PPD attribute).
+ constexpr int32_t kDefaultMaxCopies = 9999;
+ constexpr char kCupsMaxCopies[] = "cupsMaxCopies";
+@@ -766,7 +766,7 @@ const int kDefaultIPPServerPort = 631;
+
+ } // namespace
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Helper wrapper around http_t structure, with connection and cleanup
+ // functionality.
+ HttpConnectionCUPS::HttpConnectionCUPS(const GURL& print_server_url,
+@@ -971,7 +971,7 @@ ScopedHttpPtr HttpConnect2(const char* host,
+ int blocking,
+ int msec,
+ int* cancel) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ ScopedHttpPtr http;
+ if (httpConnect2) {
+ http.reset(httpConnect2(host, port,
diff --git a/www/iridium/files/patch-printing_backend_cups__helper.h b/www/iridium/files/patch-printing_backend_cups__helper.h
new file mode 100644
index 000000000000..a226031b5ffe
--- /dev/null
+++ b/www/iridium/files/patch-printing_backend_cups__helper.h
@@ -0,0 +1,11 @@
+--- printing/backend/cups_helper.h.orig 2025-09-11 13:19:19 UTC
++++ printing/backend/cups_helper.h
+@@ -32,7 +32,7 @@ constexpr int kCupsTimeoutMs = 3000;
+ constexpr cups_ptype_t kDestinationsFilterMask =
+ CUPS_PRINTER_FAX | CUPS_PRINTER_SCANNER | CUPS_PRINTER_DISCOVERED;
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Helper wrapper around http_t structure, with connection and cleanup
+ // functionality.
+ class COMPONENT_EXPORT(PRINT_BACKEND) HttpConnectionCUPS {
diff --git a/www/iridium/files/patch-printing_backend_cups__ipp__helper.cc b/www/iridium/files/patch-printing_backend_cups__ipp__helper.cc
index 895461afb670..50d07bd8983c 100644
--- a/www/iridium/files/patch-printing_backend_cups__ipp__helper.cc
+++ b/www/iridium/files/patch-printing_backend_cups__ipp__helper.cc
@@ -1,6 +1,6 @@
---- printing/backend/cups_ipp_helper.cc.orig 2025-05-07 06:48:23 UTC
+--- printing/backend/cups_ipp_helper.cc.orig 2025-09-11 13:19:19 UTC
+++ printing/backend/cups_ipp_helper.cc
-@@ -201,7 +201,7 @@ void ExtractResolutions(const CupsOptionProvider& prin
+@@ -202,7 +202,7 @@ void ExtractResolutions(const CupsOptionProvider& prin
// Provide a default DPI if no valid DPI is found.
#if BUILDFLAG(IS_MAC)
constexpr gfx::Size kDefaultMissingDpi(kDefaultMacDpi, kDefaultMacDpi);
diff --git a/www/iridium/files/patch-printing_backend_cups__jobs.cc b/www/iridium/files/patch-printing_backend_cups__jobs.cc
new file mode 100644
index 000000000000..00c63a26b126
--- /dev/null
+++ b/www/iridium/files/patch-printing_backend_cups__jobs.cc
@@ -0,0 +1,11 @@
+--- printing/backend/cups_jobs.cc.orig 2025-09-11 13:19:19 UTC
++++ printing/backend/cups_jobs.cc
+@@ -31,7 +31,7 @@
+ #include "printing/backend/cups_ipp_helper.h"
+ #include "printing/printer_status.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
diff --git a/www/iridium/files/patch-printing_backend_cups__printer.cc b/www/iridium/files/patch-printing_backend_cups__printer.cc
new file mode 100644
index 000000000000..03eac1ccc465
--- /dev/null
+++ b/www/iridium/files/patch-printing_backend_cups__printer.cc
@@ -0,0 +1,11 @@
+--- printing/backend/cups_printer.cc.orig 2025-09-11 13:19:19 UTC
++++ printing/backend/cups_printer.cc
+@@ -24,7 +24,7 @@
+ #include "printing/print_job_constants.h"
+ #include "url/gurl.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
diff --git a/www/iridium/files/patch-printing_backend_cups__weak__functions.h b/www/iridium/files/patch-printing_backend_cups__weak__functions.h
new file mode 100644
index 000000000000..7d2c3d40c9a5
--- /dev/null
+++ b/www/iridium/files/patch-printing_backend_cups__weak__functions.h
@@ -0,0 +1,11 @@
+--- printing/backend/cups_weak_functions.h.orig 2025-09-11 13:19:19 UTC
++++ printing/backend/cups_weak_functions.h
+@@ -6,7 +6,7 @@
+
+ #include "build/build_config.h"
+
+-static_assert(BUILDFLAG(IS_LINUX));
++static_assert(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD));
+
+ // Function availability can be tested by checking whether its address is not
+ // nullptr. Weak symbols remove the need for platform specific build flags and
diff --git a/www/iridium/files/patch-printing_backend_print__backend__cups.cc b/www/iridium/files/patch-printing_backend_print__backend__cups.cc
deleted file mode 100644
index 1a25e1b1ff06..000000000000
--- a/www/iridium/files/patch-printing_backend_print__backend__cups.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- printing/backend/print_backend_cups.cc.orig 2025-05-07 06:48:23 UTC
-+++ printing/backend/print_backend_cups.cc
-@@ -29,7 +29,7 @@
- #include "printing/mojom/print.mojom.h"
- #include "url/gurl.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #include "base/feature_list.h"
- #include "printing/backend/cups_connection.h"
- #include "printing/backend/print_backend_cups_ipp.h"
-@@ -59,7 +59,7 @@ int CaptureCupsDestCallback(void* data, unsigned flags
- return 1; // Keep going.
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- // This may be removed when Amazon Linux 2 reaches EOL (30 Jun 2025).
- bool AreNewerCupsFunctionsAvailable() {
- return cupsFindDestDefault && cupsFindDestSupported && cupsUserAgent &&
-@@ -286,7 +286,7 @@ bool PrintBackendCUPS::IsValidPrinter(const std::strin
- #if !BUILDFLAG(IS_CHROMEOS)
- scoped_refptr<PrintBackend> PrintBackend::CreateInstanceImpl(
- const std::string& locale) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- if (AreNewerCupsFunctionsAvailable() &&
- base::FeatureList::IsEnabled(features::kCupsIppPrintingBackend)) {
- return base::MakeRefCounted<PrintBackendCupsIpp>(CupsConnection::Create());
diff --git a/www/iridium/files/patch-printing_backend_print__backend__cups.h b/www/iridium/files/patch-printing_backend_print__backend__cups.h
new file mode 100644
index 000000000000..63335dd1fa22
--- /dev/null
+++ b/www/iridium/files/patch-printing_backend_print__backend__cups.h
@@ -0,0 +1,11 @@
+--- printing/backend/print_backend_cups.h.orig 2025-09-11 13:19:19 UTC
++++ printing/backend/print_backend_cups.h
+@@ -17,7 +17,7 @@
+ #include "printing/mojom/print.mojom.h"
+ #include "url/gurl.h"
+
+-static_assert(BUILDFLAG(IS_LINUX));
++static_assert(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD));
+
+ namespace printing {
+
diff --git a/www/iridium/files/patch-printing_backend_print__backend__cups__ipp.cc b/www/iridium/files/patch-printing_backend_print__backend__cups__ipp.cc
new file mode 100644
index 000000000000..d7020a617a2c
--- /dev/null
+++ b/www/iridium/files/patch-printing_backend_print__backend__cups__ipp.cc
@@ -0,0 +1,11 @@
+--- printing/backend/print_backend_cups_ipp.cc.orig 2025-09-11 13:19:19 UTC
++++ printing/backend/print_backend_cups_ipp.cc
+@@ -21,7 +21,7 @@
+ #include "printing/mojom/print.mojom.h"
+ #include "printing/units.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
diff --git a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc
index 733a94d42d46..17143fab2eac 100644
--- a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc
+++ b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits.cc
@@ -1,4 +1,4 @@
---- printing/mojom/printing_context_mojom_traits.cc.orig 2025-06-19 07:37:57 UTC
+--- printing/mojom/printing_context_mojom_traits.cc.orig 2025-09-11 13:19:19 UTC
+++ printing/mojom/printing_context_mojom_traits.cc
@@ -19,7 +19,7 @@
#include "base/numerics/safe_conversions.h"
@@ -9,7 +9,7 @@
#include "mojo/public/mojom/base/values.mojom.h"
#endif
-@@ -162,7 +162,7 @@ bool StructTraits<
+@@ -217,7 +217,7 @@ bool StructTraits<
}
out->set_pages_per_sheet(data.pages_per_sheet());
@@ -18,7 +18,7 @@
DCHECK(out->advanced_settings().empty());
if (!data.ReadAdvancedSettings(&out->advanced_settings()))
return false;
-@@ -239,7 +239,7 @@ bool StructTraits<
+@@ -294,7 +294,7 @@ bool StructTraits<
if (system_print_dialog_data.size() != dictionary_entries) {
return false;
}
diff --git a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc
index 69d5c7173ea3..582f956151f5 100644
--- a/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc
+++ b/www/iridium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc
@@ -1,6 +1,6 @@
---- printing/mojom/printing_context_mojom_traits_unittest.cc.orig 2025-06-19 07:37:57 UTC
+--- printing/mojom/printing_context_mojom_traits_unittest.cc.orig 2025-09-11 13:19:19 UTC
+++ printing/mojom/printing_context_mojom_traits_unittest.cc
-@@ -79,7 +79,7 @@ base::Value::Dict GenerateSampleSystemPrintDialogData(
+@@ -80,7 +80,7 @@ base::Value::Dict GenerateSampleSystemPrintDialogData(
data.Set(kMacSystemPrintDialogDataDestinationLocation, "/foo/bar.pdf");
}
@@ -9,7 +9,7 @@
data.Set(kLinuxSystemPrintDialogDataPrinter, "printer-name");
data.Set(kLinuxSystemPrintDialogDataPrintSettings, "print-settings-foo");
data.Set(kLinuxSystemPrintDialogDataPageSetup, "page-setup-bar");
-@@ -116,7 +116,7 @@ const PageMargins kPrintSettingsCustomMarginsInMicrons
+@@ -117,7 +117,7 @@ const PageMargins kPrintSettingsCustomMarginsInMicrons
/*top=*/10583,
/*bottom=*/12347);
@@ -18,7 +18,7 @@
PrintSettings::AdvancedSettings GenerateSampleAdvancedSettings() {
PrintSettings::AdvancedSettings advanced_settings;
advanced_settings.emplace("advanced-setting-A", base::Value("setting-A"));
-@@ -209,7 +209,7 @@ PrintSettings GenerateSamplePrintSettingsCommon() {
+@@ -210,7 +210,7 @@ PrintSettings GenerateSamplePrintSettingsCommon() {
settings.set_device_name(kPrintSettingsDeviceName);
settings.set_requested_media(kPrintSettingsRequestedMedia);
@@ -27,7 +27,7 @@
PrintSettings::AdvancedSettings& advanced_settings =
settings.advanced_settings();
for (const auto& item : kPrintSettingsAdvancedSettings)
-@@ -547,7 +547,7 @@ TEST(PrintingContextMojomTraitsTest,
+@@ -548,7 +548,7 @@ TEST(PrintingContextMojomTraitsTest,
EXPECT_EQ(output.pages_per_sheet(), kPrintSettingsPagesPerSheet1);
@@ -36,7 +36,7 @@
EXPECT_EQ(output.advanced_settings(), kPrintSettingsAdvancedSettings);
#endif
-@@ -600,7 +600,7 @@ TEST(PrintingContextMojomTraitsTest,
+@@ -601,7 +601,7 @@ TEST(PrintingContextMojomTraitsTest,
kPrintSettingsCustomMarginsInMicrons));
EXPECT_EQ(output.pages_per_sheet(), kPrintSettingsPagesPerSheet2);
@@ -45,7 +45,7 @@
EXPECT_EQ(output.advanced_settings(), kPrintSettingsAdvancedSettings);
#endif
-@@ -639,7 +639,7 @@ TEST(PrintingContextMojomTraitsTest,
+@@ -674,7 +674,7 @@ TEST(PrintingContextMojomTraitsTest,
EXPECT_EQ(output.page_setup_device_units(), kInput.page_setup_device_units());
}
@@ -54,7 +54,7 @@
TEST(PrintingContextMojomTraitsTest,
TestSerializeAndDeserializePrintSettingsEmptyAdvancedSettings) {
PrintSettings input = GenerateSamplePrintSettingsDefaultMargins();
-@@ -837,7 +837,7 @@ TEST(
+@@ -872,7 +872,7 @@ TEST(
}
#endif // BUILDFLAG(IS_MAC)
diff --git a/www/iridium/files/patch-printing_print__settings.h b/www/iridium/files/patch-printing_print__settings.h
index a7c57e532e4a..49f3da5f2e99 100644
--- a/www/iridium/files/patch-printing_print__settings.h
+++ b/www/iridium/files/patch-printing_print__settings.h
@@ -1,4 +1,4 @@
---- printing/print_settings.h.orig 2025-06-19 07:37:57 UTC
+--- printing/print_settings.h.orig 2025-09-11 13:19:19 UTC
+++ printing/print_settings.h
@@ -25,7 +25,7 @@
#include "base/values.h"
@@ -9,7 +9,7 @@
#include <map>
#include "base/values.h"
-@@ -51,7 +51,7 @@ inline constexpr char kMacSystemPrintDialogDataPrintSe
+@@ -52,7 +52,7 @@ inline constexpr char kMacSystemPrintDialogDataPrintSe
"print_settings";
#endif // BUILDFLAG(IS_MAC)
@@ -18,7 +18,7 @@
inline constexpr char kLinuxSystemPrintDialogDataPrinter[] = "printer_name";
inline constexpr char kLinuxSystemPrintDialogDataPrintSettings[] =
"print_settings";
-@@ -101,7 +101,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
+@@ -102,7 +102,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
std::string vendor_id;
};
@@ -27,7 +27,7 @@
using AdvancedSettings = std::map<std::string, base::Value>;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -276,7 +276,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
+@@ -290,7 +290,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
pages_per_sheet_ = pages_per_sheet;
}
@@ -36,7 +36,7 @@
AdvancedSettings& advanced_settings() { return advanced_settings_; }
const AdvancedSettings& advanced_settings() const {
return advanced_settings_;
-@@ -434,7 +434,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
+@@ -451,7 +451,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
// Number of pages per sheet.
int pages_per_sheet_;
diff --git a/www/iridium/files/patch-printing_printing__features.cc b/www/iridium/files/patch-printing_printing__features.cc
index d0276997445a..d7df935d47ef 100644
--- a/www/iridium/files/patch-printing_printing__features.cc
+++ b/www/iridium/files/patch-printing_printing__features.cc
@@ -1,21 +1,15 @@
---- printing/printing_features.cc.orig 2025-05-07 06:48:23 UTC
+--- printing/printing_features.cc.orig 2025-09-11 13:19:19 UTC
+++ printing/printing_features.cc
-@@ -26,12 +26,12 @@ BASE_FEATURE(kApiPrintingMarginsAndScale,
+@@ -26,7 +26,7 @@ BASE_FEATURE(kApiPrintingMarginsAndScale,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Use the CUPS IPP printing backend instead of the original CUPS backend that
// calls the deprecated PPD API.
BASE_FEATURE(kCupsIppPrintingBackend,
- "CupsIppPrintingBackend",
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::FEATURE_DISABLED_BY_DEFAULT
- #else
- base::FEATURE_ENABLED_BY_DEFAULT
-@@ -81,7 +81,7 @@ BASE_FEATURE(kUseXpsForPrintingFromPdf,
+@@ -70,7 +70,7 @@ BASE_FEATURE(kUseXpsForPrintingFromPdf,
// out-of-process.
BASE_FEATURE(kEnableOopPrintDrivers,
"EnableOopPrintDrivers",
diff --git a/www/iridium/files/patch-printing_printing__features.h b/www/iridium/files/patch-printing_printing__features.h
index 9f7e8d13e53b..54c61f97687a 100644
--- a/www/iridium/files/patch-printing_printing__features.h
+++ b/www/iridium/files/patch-printing_printing__features.h
@@ -1,11 +1,11 @@
---- printing/printing_features.h.orig 2025-05-07 06:48:23 UTC
+--- printing/printing_features.h.orig 2025-09-11 13:19:19 UTC
+++ printing/printing_features.h
@@ -24,7 +24,7 @@ COMPONENT_EXPORT(PRINTING_BASE)
BASE_DECLARE_FEATURE(kApiPrintingMarginsAndScale);
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(PRINTING_BASE) BASE_DECLARE_FEATURE(kCupsIppPrintingBackend);
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
+ #endif // BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-remoting_base_chromoting__event.cc b/www/iridium/files/patch-remoting_base_chromoting__event.cc
deleted file mode 100644
index 57048286fc15..000000000000
--- a/www/iridium/files/patch-remoting_base_chromoting__event.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- remoting/base/chromoting_event.cc.orig 2025-05-07 06:48:23 UTC
-+++ remoting/base/chromoting_event.cc
-@@ -191,7 +191,7 @@ void ChromotingEvent::AddSystemInfo() {
- SetString(kCpuKey, base::SysInfo::OperatingSystemArchitecture());
- SetString(kOsVersionKey, base::SysInfo::OperatingSystemVersion());
- SetString(kWebAppVersionKey, STRINGIZE(VERSION));
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- Os os = Os::CHROMOTING_LINUX;
- #elif BUILDFLAG(IS_CHROMEOS)
- Os os = Os::CHROMOTING_CHROMEOS;
diff --git a/www/iridium/files/patch-remoting_host_chromoting__host.cc b/www/iridium/files/patch-remoting_host_chromoting__host.cc
index 4f85724fb7c9..24c263f5aa18 100644
--- a/www/iridium/files/patch-remoting_host_chromoting__host.cc
+++ b/www/iridium/files/patch-remoting_host_chromoting__host.cc
@@ -1,6 +1,6 @@
---- remoting/host/chromoting_host.cc.orig 2025-05-07 06:48:23 UTC
+--- remoting/host/chromoting_host.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/chromoting_host.cc
-@@ -137,7 +137,7 @@ void ChromotingHost::Start(const std::string& host_own
+@@ -138,7 +138,7 @@ void ChromotingHost::Start(const std::string& host_own
&ChromotingHost::OnIncomingSession, base::Unretained(this)));
}
diff --git a/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc b/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc
index 188a7fa1612f..a3cc2b734608 100644
--- a/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc
+++ b/www/iridium/files/patch-remoting_host_chromoting__host__services__client.cc
@@ -1,6 +1,6 @@
---- remoting/host/chromoting_host_services_client.cc.orig 2025-06-19 07:37:57 UTC
+--- remoting/host/chromoting_host_services_client.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/chromoting_host_services_client.cc
-@@ -134,7 +134,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic
+@@ -139,7 +139,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic
if (session_services_remote_.is_bound()) {
return true;
}
diff --git a/www/iridium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc b/www/iridium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc
new file mode 100644
index 000000000000..629700dc55ad
--- /dev/null
+++ b/www/iridium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc
@@ -0,0 +1,20 @@
+--- remoting/host/create_desktop_interaction_strategy_factory.cc.orig 2025-09-11 13:19:19 UTC
++++ remoting/host/create_desktop_interaction_strategy_factory.cc
+@@ -13,7 +13,7 @@
+ #include "remoting/host/desktop_interaction_strategy.h"
+ #include "remoting/host/legacy_interaction_strategy.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/host/linux/gnome_interaction_strategy.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -25,7 +25,7 @@ CreateDesktopInteractionStrategyFactory(
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> input_task_runner) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch("enable-wayland")) {
+ return std::make_unique<GnomeInteractionStrategyFactory>(ui_task_runner);
+ }
diff --git a/www/iridium/files/patch-remoting_host_host__main.cc b/www/iridium/files/patch-remoting_host_host__main.cc
index 6df540b34c86..ce6ba887651f 100644
--- a/www/iridium/files/patch-remoting_host_host__main.cc
+++ b/www/iridium/files/patch-remoting_host_host__main.cc
@@ -1,6 +1,6 @@
---- remoting/host/host_main.cc.orig 2025-05-07 06:48:23 UTC
+--- remoting/host/host_main.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/host_main.cc
-@@ -55,7 +55,7 @@ int FileChooserMain();
+@@ -57,7 +57,7 @@ int FileChooserMain();
int RdpDesktopSessionMain();
int UrlForwarderConfiguratorMain();
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
int XSessionChooserMain();
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -68,7 +68,7 @@ const char kUsageMessage[] =
+@@ -70,7 +70,7 @@ const char kUsageMessage[] =
"\n"
"Options:\n"
@@ -18,7 +18,7 @@
" --audio-pipe-name=<pipe> - Sets the pipe name to capture audio on "
"Linux.\n"
#endif // BUILDFLAG(IS_LINUX)
-@@ -161,7 +161,7 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
+@@ -163,7 +163,7 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
} else if (process_type == kProcessTypeUrlForwarderConfigurator) {
main_routine = &UrlForwarderConfiguratorMain;
#endif // BUILDFLAG(IS_WIN)
@@ -27,12 +27,12 @@
} else if (process_type == kProcessTypeXSessionChooser) {
main_routine = &XSessionChooserMain;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -229,7 +229,7 @@ int HostMain(int argc, char** argv) {
+@@ -231,7 +231,7 @@ int HostMain(int argc, char** argv) {
// Note that we enable crash reporting only if the user has opted in to having
// the crash reports uploaded.
if (IsUsageStatsAllowed()) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- InitializeCrashReporting();
+ InitializeCrashpadReporting();
#elif BUILDFLAG(IS_WIN)
// TODO: joedow - Enable crash reporting for the RDP process.
diff --git a/www/iridium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc b/www/iridium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc
index f12e510786b4..411596b47c75 100644
--- a/www/iridium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc
+++ b/www/iridium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc
@@ -1,6 +1,6 @@
---- remoting/host/it2me/it2me_native_messaging_host_main.cc.orig 2025-05-07 06:48:23 UTC
+--- remoting/host/it2me/it2me_native_messaging_host_main.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/it2me/it2me_native_messaging_host_main.cc
-@@ -30,7 +30,7 @@
+@@ -29,7 +29,7 @@
#include "remoting/host/resources.h"
#include "remoting/host/usage_stats_consent.h"
@@ -9,7 +9,16 @@
#if defined(REMOTING_USE_X11)
#include <gtk/gtk.h>
#include "base/linux_util.h"
-@@ -75,7 +75,7 @@ bool CurrentProcessHasUiAccess() {
+@@ -43,7 +43,7 @@
+ #include "remoting/host/mac/permission_utils.h"
+ #endif // BUILDFLAG(IS_APPLE)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -79,7 +79,7 @@ bool CurrentProcessHasUiAccess() {
// Creates a It2MeNativeMessagingHost instance, attaches it to stdin/stdout and
// runs the task executor until It2MeNativeMessagingHost signals shutdown.
int It2MeNativeMessagingHostMain(int argc, char** argv) {
@@ -18,7 +27,16 @@
// Initialize Xlib for multi-threaded use, allowing non-Chromium code to
// use X11 safely (such as the WebRTC capturer, GTK ...)
x11::InitXlib();
-@@ -121,7 +121,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+@@ -104,7 +104,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+ // needs to be initialized first, so that the preference for crash-reporting
+ // can be looked up in the config file.
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
+@@ -129,7 +129,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
remoting::LoadResources("");
@@ -27,7 +45,7 @@
// Required for any calls into GTK functions, such as the Disconnect and
// Continue windows. Calling with nullptr arguments because we don't have
// any command line arguments for gtk to consume.
-@@ -249,7 +249,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+@@ -257,7 +257,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
PolicyWatcher::CreateWithTaskRunner(context->file_task_runner(),
context->management_service());
@@ -36,7 +54,7 @@
scoped_refptr<AutoThreadTaskRunner> input_task_runner;
// Create an X11EventSource on all UI threads, so the global X11 connection
// (x11::Connection::Get()) can dispatch X events.
-@@ -273,7 +273,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+@@ -281,7 +281,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
// Run the loop until channel is alive.
run_loop.Run();
diff --git a/www/iridium/files/patch-remoting_host_me2me__desktop__environment.cc b/www/iridium/files/patch-remoting_host_me2me__desktop__environment.cc
index f6d44722bb91..9081897217f9 100644
--- a/www/iridium/files/patch-remoting_host_me2me__desktop__environment.cc
+++ b/www/iridium/files/patch-remoting_host_me2me__desktop__environment.cc
@@ -1,6 +1,6 @@
---- remoting/host/me2me_desktop_environment.cc.orig 2025-05-07 06:48:23 UTC
+--- remoting/host/me2me_desktop_environment.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/me2me_desktop_environment.cc
-@@ -112,7 +112,7 @@ std::string Me2MeDesktopEnvironment::GetCapabilities()
+@@ -113,7 +113,7 @@ std::string Me2MeDesktopEnvironment::GetCapabilities()
capabilities += protocol::kRemoteWebAuthnCapability;
}
@@ -8,8 +8,8 @@
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(REMOTING_USE_X11)
capabilities += " ";
capabilities += protocol::kMultiStreamCapability;
-
-@@ -150,7 +150,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
+ capabilities += " ";
+@@ -158,7 +158,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
// properly under Xvfb.
mutable_desktop_capture_options()->set_use_update_notifications(true);
@@ -18,7 +18,7 @@
// Setting this option to false means that the capture differ wrapper will not
// be used when the X11 capturer is selected. This reduces the X11 capture
// time by a few milliseconds per frame and is safe because we can rely on
-@@ -178,7 +178,7 @@ bool Me2MeDesktopEnvironment::InitializeSecurity(
+@@ -185,7 +185,7 @@ bool Me2MeDesktopEnvironment::InitializeSecurity(
// Otherwise, if the session is shared with the local user start monitoring
// the local input and create the in-session UI.
diff --git a/www/iridium/files/patch-remoting_host_policy__watcher.cc b/www/iridium/files/patch-remoting_host_policy__watcher.cc
index 6f7abd4ec5b6..416893e72fd5 100644
--- a/www/iridium/files/patch-remoting_host_policy__watcher.cc
+++ b/www/iridium/files/patch-remoting_host_policy__watcher.cc
@@ -1,6 +1,6 @@
---- remoting/host/policy_watcher.cc.orig 2025-06-19 07:37:57 UTC
+--- remoting/host/policy_watcher.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/policy_watcher.cc
-@@ -182,7 +182,7 @@ base::Value::Dict PolicyWatcher::GetDefaultPolicies()
+@@ -183,7 +183,7 @@ base::Value::Dict PolicyWatcher::GetDefaultPolicies()
result.Set(key::kRemoteAccessHostAllowEnterpriseFileTransfer, false);
result.Set(key::kClassManagementEnabled, "disabled");
#endif
diff --git a/www/iridium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc b/www/iridium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc
new file mode 100644
index 000000000000..a32bd0eb1740
--- /dev/null
+++ b/www/iridium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/remote_open_url/remote_open_url_main.cc.orig 2025-09-11 13:19:19 UTC
++++ remoting/host/remote_open_url/remote_open_url_main.cc
+@@ -27,7 +27,7 @@
+ #include "remoting/host/usage_stats_consent.h"
+ #include "ui/base/l10n/l10n_util.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -51,7 +51,7 @@ int RemoteOpenUrlMain(int argc, char** argv) {
+
+ #if defined(REMOTING_ENABLE_CRASH_REPORTING)
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/iridium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc b/www/iridium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc
index d7f5ff47fd6f..90eb5e0b6237 100644
--- a/www/iridium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc
+++ b/www/iridium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc
@@ -1,6 +1,6 @@
---- remoting/host/remote_open_url/url_forwarder_configurator.cc.orig 2025-05-07 06:48:23 UTC
+--- remoting/host/remote_open_url/url_forwarder_configurator.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/remote_open_url/url_forwarder_configurator.cc
-@@ -12,7 +12,7 @@ UrlForwarderConfigurator::UrlForwarderConfigurator() =
+@@ -13,7 +13,7 @@ UrlForwarderConfigurator::UrlForwarderConfigurator() =
UrlForwarderConfigurator::~UrlForwarderConfigurator() = default;
diff --git a/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc b/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc
index 83dea3f23df1..22df8e8badce 100644
--- a/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc
+++ b/www/iridium/files/patch-remoting_host_remoting__me2me__host.cc
@@ -1,6 +1,6 @@
---- remoting/host/remoting_me2me_host.cc.orig 2025-06-19 07:37:57 UTC
+--- remoting/host/remoting_me2me_host.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/remoting_me2me_host.cc
-@@ -140,7 +140,7 @@
+@@ -139,7 +139,7 @@
#include "remoting/host/mac/permission_utils.h"
#endif // BUILDFLAG(IS_APPLE)
@@ -9,7 +9,7 @@
#if defined(REMOTING_USE_X11)
#include <gtk/gtk.h>
-@@ -150,7 +150,7 @@
+@@ -149,7 +149,7 @@
#endif // defined(REMOTING_USE_X11)
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -18,15 +18,15 @@
#include "base/linux_util.h"
#include "remoting/host/linux/audio_capturer_linux.h"
#include "remoting/host/linux/certificate_watcher.h"
-@@ -165,7 +165,7 @@
+@@ -164,7 +164,7 @@
#include "remoting/host/pairing_registry_delegate_win.h"
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
#include "remoting/host/host_wtmpdb_logger.h"
#endif // BUILDFLAG(IS_LINUX)
-
@@ -198,7 +198,7 @@ const char kApplicationName[] = "chromoting";
const char kStdinConfigPath[] = "-";
#endif // !defined(REMOTING_MULTI_PROCESS)
@@ -36,7 +36,7 @@
// The command line switch used to pass name of the pipe to capture audio on
// linux.
const char kAudioPipeSwitchName[] = "audio-pipe-name";
-@@ -447,7 +447,7 @@ class HostProcess : public ConfigWatcher::Delegate,
+@@ -446,7 +446,7 @@ class HostProcess : public ConfigWatcher::Delegate,
std::unique_ptr<AgentProcessBrokerClient> agent_process_broker_client_;
#endif
@@ -45,7 +45,7 @@
// Watch for certificate changes and kill the host when changes occur
std::unique_ptr<CertificateWatcher> cert_watcher_;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -512,7 +512,7 @@ class HostProcess : public ConfigWatcher::Delegate,
+@@ -508,7 +508,7 @@ class HostProcess : public ConfigWatcher::Delegate,
std::unique_ptr<FtlEchoMessageListener> ftl_echo_message_listener_;
std::unique_ptr<HostEventLogger> host_event_logger_;
@@ -54,7 +54,7 @@
std::unique_ptr<HostWtmpdbLogger> host_wtmpdb_logger_;
#endif
std::unique_ptr<HostPowerSaveBlocker> power_save_blocker_;
-@@ -839,7 +839,7 @@ void HostProcess::StartOnNetworkThread() {
+@@ -835,7 +835,7 @@ void HostProcess::StartOnNetworkThread() {
void HostProcess::ShutdownOnNetworkThread() {
DCHECK(context_->network_task_runner()->BelongsToCurrentThread());
config_watcher_.reset();
@@ -63,7 +63,7 @@
cert_watcher_.reset();
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
}
-@@ -916,7 +916,7 @@ void HostProcess::CreateAuthenticatorFactory() {
+@@ -912,7 +912,7 @@ void HostProcess::CreateAuthenticatorFactory() {
context_->create_client_cert_store_callback(),
service_account_email_, oauth_refresh_token_));
@@ -72,7 +72,7 @@
if (!cert_watcher_) {
cert_watcher_ = std::make_unique<CertificateWatcher>(
base::BindRepeating(&HostProcess::ShutdownHost,
-@@ -1058,7 +1058,7 @@ void HostProcess::StartOnUiThread() {
+@@ -1050,7 +1050,7 @@ void HostProcess::StartOnUiThread() {
base::BindRepeating(&HostProcess::OnPolicyUpdate, base::Unretained(this)),
base::BindRepeating(&HostProcess::OnPolicyError, base::Unretained(this)));
@@ -81,7 +81,7 @@
// If an audio pipe is specific on the command-line then initialize
// AudioCapturerLinux to capture from it.
base::FilePath audio_pipe_name =
-@@ -1137,7 +1137,7 @@ void HostProcess::ShutdownOnUiThread() {
+@@ -1129,7 +1129,7 @@ void HostProcess::ShutdownOnUiThread() {
// It is now safe for the HostProcess to be deleted.
self_ = nullptr;
@@ -90,7 +90,7 @@
// Cause the global AudioPipeReader to be freed, otherwise the audio
// thread will remain in-use and prevent the process from exiting.
// TODO(wez): DesktopEnvironmentFactory should own the pipe reader.
-@@ -1145,7 +1145,7 @@ void HostProcess::ShutdownOnUiThread() {
+@@ -1137,7 +1137,7 @@ void HostProcess::ShutdownOnUiThread() {
AudioCapturerLinux::InitializePipeReader(nullptr, base::FilePath());
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -99,7 +99,7 @@
context_->input_task_runner()->PostTask(
FROM_HERE,
base::BindOnce([]() { delete ui::X11EventSource::GetInstance(); }));
-@@ -1928,7 +1928,7 @@ void HostProcess::StartHost() {
+@@ -1908,7 +1908,7 @@ void HostProcess::StartHost() {
host_->AddExtension(std::make_unique<TestEchoExtension>());
@@ -108,7 +108,7 @@
const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
if (cmd_line->HasSwitch(kEnableWtmpdb)) {
host_wtmpdb_logger_ =
-@@ -1964,7 +1964,7 @@ void HostProcess::StartHost() {
+@@ -1944,7 +1944,7 @@ void HostProcess::StartHost() {
// addresses.
host_->Start(*host_owner_emails_.begin());
@@ -117,7 +117,7 @@
// For Windows and Mac, ChromotingHostServices connections are handled by
// another process, then the message pipe is forwarded to the network process.
host_->StartChromotingHostServices();
-@@ -2109,7 +2109,7 @@ int HostProcessMain() {
+@@ -2089,7 +2089,7 @@ int HostProcessMain() {
HOST_LOG << "Starting host process: version " << STRINGIZE(VERSION);
const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
@@ -126,7 +126,16 @@
#if defined(REMOTING_USE_X11)
// Initialize Xlib for multi-threaded use, allowing non-Chromium code to
// use X11 safely (such as the WebRTC capturer, GTK ...)
-@@ -2172,7 +2172,7 @@ int HostProcessMain() {
+@@ -2134,7 +2134,7 @@ int HostProcessMain() {
+ return kInitializationFailed;
+ }
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Log and cleanup the crash database. We do this after a short delay so that
+ // the crash database has a chance to be updated properly if we just got
+ // relaunched after a crash.
+@@ -2154,7 +2154,7 @@ int HostProcessMain() {
std::unique_ptr<net::NetworkChangeNotifier> network_change_notifier(
net::NetworkChangeNotifier::CreateIfNeeded());
diff --git a/www/iridium/files/patch-remoting_host_security__key_remote__security__key__main.cc b/www/iridium/files/patch-remoting_host_security__key_remote__security__key__main.cc
new file mode 100644
index 000000000000..7fa167b68fb7
--- /dev/null
+++ b/www/iridium/files/patch-remoting_host_security__key_remote__security__key__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/security_key/remote_security_key_main.cc.orig 2025-09-11 13:19:19 UTC
++++ remoting/host/security_key/remote_security_key_main.cc
+@@ -24,7 +24,7 @@
+ #include "remoting/host/security_key/security_key_message_handler.h"
+ #include "remoting/host/usage_stats_consent.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -96,7 +96,7 @@ int RemoteSecurityKeyMain(int argc, char** argv) {
+
+ #if defined(REMOTING_ENABLE_CRASH_REPORTING)
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/iridium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc b/www/iridium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc
new file mode 100644
index 000000000000..2f0defe3fc1d
--- /dev/null
+++ b/www/iridium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/setup/me2me_native_messaging_host_main.cc.orig 2025-09-11 13:19:19 UTC
++++ remoting/host/setup/me2me_native_messaging_host_main.cc
+@@ -41,7 +41,7 @@
+ #include "base/apple/scoped_nsautorelease_pool.h"
+ #endif // BUILDFLAG(IS_APPLE)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -99,7 +99,7 @@ int Me2MeNativeMessagingHostMain(int argc, char** argv
+ // needs to be initialized first, so that the preference for crash-reporting
+ // can be looked up in the config file.
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/iridium/files/patch-remoting_host_setup_start__host__main.cc b/www/iridium/files/patch-remoting_host_setup_start__host__main.cc
index 9763ed5734f8..78ec6a5f9991 100644
--- a/www/iridium/files/patch-remoting_host_setup_start__host__main.cc
+++ b/www/iridium/files/patch-remoting_host_setup_start__host__main.cc
@@ -1,15 +1,15 @@
---- remoting/host/setup/start_host_main.cc.orig 2025-05-07 06:48:23 UTC
+--- remoting/host/setup/start_host_main.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/setup/start_host_main.cc
-@@ -45,7 +45,7 @@
+@@ -44,7 +44,7 @@
#include <unistd.h>
#endif // BUILDFLAG(IS_POSIX)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
#include "remoting/host/setup/daemon_controller_delegate_linux.h"
#include "remoting/host/setup/start_host_as_root.h"
- #endif // BUILDFLAG(IS_LINUX)
-@@ -369,7 +369,7 @@ bool InitializeCloudMachineParams(HostStarter::Params&
+@@ -370,7 +370,7 @@ bool InitializeCloudMachineParams(HostStarter::Params&
} // namespace
int StartHostMain(int argc, char** argv) {
@@ -18,7 +18,7 @@
// Minimize the amount of code that runs as root on Posix systems.
if (getuid() == 0) {
return remoting::StartHostAsRoot(argc, argv);
-@@ -394,7 +394,7 @@ int StartHostMain(int argc, char** argv) {
+@@ -395,7 +395,7 @@ int StartHostMain(int argc, char** argv) {
mojo::core::Init();
@@ -27,3 +27,12 @@
if (command_line->HasSwitch("no-start")) {
// On Linux, registering the host with systemd and starting it is the only
// reason start_host requires root. The --no-start options skips that final
+@@ -445,7 +445,7 @@ int StartHostMain(int argc, char** argv) {
+ // We don't have a config file yet so we can't use IsUsageStatsAllowed(),
+ // instead we can just check the command line parameter.
+ if (params.enable_crash_reporting) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
index b84c093ad929..e0ef1d3bfd83 100644
--- a/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
+++ b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
@@ -1,6 +1,6 @@
---- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2025-06-19 07:37:57 UTC
+--- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/host/webauthn/remote_webauthn_extension_notifier.cc
-@@ -31,7 +31,7 @@
+@@ -27,7 +27,7 @@
#include "base/task/thread_pool.h"
#include "build/build_config.h"
@@ -9,7 +9,7 @@
#include "base/environment.h"
#include "base/nix/xdg_util.h"
#include "base/strings/string_util.h"
-@@ -76,14 +76,14 @@ static constexpr char kExtensionWakeupFileContent[] =
+@@ -72,14 +72,14 @@ static constexpr char kExtensionWakeupFileContent[] =
// Caller should check if the directory exists before writing files to it. A
// directory only exists if the corresponding Chrome version is installed.
std::vector<base::FilePath> GetRemoteStateChangeDirPaths() {
diff --git a/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc
new file mode 100644
index 000000000000..74996317ada1
--- /dev/null
+++ b/www/iridium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/webauthn/remote_webauthn_main.cc.orig 2025-09-11 13:19:19 UTC
++++ remoting/host/webauthn/remote_webauthn_main.cc
+@@ -27,7 +27,7 @@
+ #include "remoting/host/webauthn/remote_webauthn_caller_security_utils.h"
+ #include "remoting/host/webauthn/remote_webauthn_native_messaging_host.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -50,7 +50,7 @@ int RemoteWebAuthnMain(int argc, char** argv) {
+
+ #if defined(REMOTING_ENABLE_CRASH_REPORTING)
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/iridium/files/patch-remoting_protocol_webrtc__video__stream.cc b/www/iridium/files/patch-remoting_protocol_webrtc__video__stream.cc
index aaaac27f2f55..10d08002ab81 100644
--- a/www/iridium/files/patch-remoting_protocol_webrtc__video__stream.cc
+++ b/www/iridium/files/patch-remoting_protocol_webrtc__video__stream.cc
@@ -1,6 +1,6 @@
---- remoting/protocol/webrtc_video_stream.cc.orig 2025-05-07 06:48:23 UTC
+--- remoting/protocol/webrtc_video_stream.cc.orig 2025-09-11 13:19:19 UTC
+++ remoting/protocol/webrtc_video_stream.cc
-@@ -267,7 +267,7 @@ WebrtcVideoStream::WebrtcVideoStream(const SessionOpti
+@@ -271,7 +271,7 @@ WebrtcVideoStream::WebrtcVideoStream(const SessionOpti
: session_options_(session_options) {
// TODO(joedow): Dig into the threading model on other platforms to see if they
// can also be updated to run on a dedicated thread.
diff --git a/www/iridium/files/patch-sandbox_linux_BUILD.gn b/www/iridium/files/patch-sandbox_linux_BUILD.gn
index 5c788285c6e6..0f82dea8eec8 100644
--- a/www/iridium/files/patch-sandbox_linux_BUILD.gn
+++ b/www/iridium/files/patch-sandbox_linux_BUILD.gn
@@ -1,6 +1,6 @@
---- sandbox/linux/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- sandbox/linux/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ sandbox/linux/BUILD.gn
-@@ -12,11 +12,11 @@ if (is_android) {
+@@ -11,11 +11,11 @@ if (is_android) {
}
declare_args() {
@@ -15,7 +15,7 @@
# On Android, use plain GTest.
use_base_test_suite = is_linux || is_chromeos
-@@ -369,6 +369,17 @@ component("sandbox_services") {
+@@ -373,6 +373,17 @@ component("sandbox_services") {
"services/libc_interceptor.h",
]
}
diff --git a/www/iridium/files/patch-sandbox_linux_services_init__process__reaper.cc b/www/iridium/files/patch-sandbox_linux_services_init__process__reaper.cc
index 700af7bafcab..b0d259ce7b76 100644
--- a/www/iridium/files/patch-sandbox_linux_services_init__process__reaper.cc
+++ b/www/iridium/files/patch-sandbox_linux_services_init__process__reaper.cc
@@ -1,14 +1,14 @@
---- sandbox/linux/services/init_process_reaper.cc.orig 2025-05-07 06:48:23 UTC
+--- sandbox/linux/services/init_process_reaper.cc.orig 2025-09-11 13:19:19 UTC
+++ sandbox/linux/services/init_process_reaper.cc
-@@ -7,6 +7,7 @@
- #pragma allow_unsafe_libc_calls
- #endif
+@@ -2,6 +2,7 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+#if 0
#include "sandbox/linux/services/init_process_reaper.h"
#include <signal.h>
-@@ -105,3 +106,4 @@ bool CreateInitProcessReaper(base::OnceClosure post_fo
+@@ -101,3 +102,4 @@ bool CreateInitProcessReaper(base::OnceClosure post_fo
}
} // namespace sandbox.
diff --git a/www/iridium/files/patch-sandbox_policy_BUILD.gn b/www/iridium/files/patch-sandbox_policy_BUILD.gn
index 025590621e1e..df25c54767ff 100644
--- a/www/iridium/files/patch-sandbox_policy_BUILD.gn
+++ b/www/iridium/files/patch-sandbox_policy_BUILD.gn
@@ -1,6 +1,6 @@
---- sandbox/policy/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/BUILD.gn
-@@ -43,7 +43,7 @@ component("policy") {
+@@ -45,7 +45,7 @@ component("policy") {
"//third_party/jni_zero",
]
}
@@ -9,7 +9,7 @@
sources += [
"linux/bpf_audio_policy_linux.cc",
"linux/bpf_audio_policy_linux.h",
-@@ -112,6 +112,27 @@ component("policy") {
+@@ -113,6 +113,27 @@ component("policy") {
"//sandbox/linux:sandbox_services",
"//sandbox/linux:seccomp_bpf",
"//sandbox/linux:suid_sandbox_client",
diff --git a/www/iridium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc b/www/iridium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc
index 43398493336b..fc0e10623722 100644
--- a/www/iridium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc
+++ b/www/iridium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc
@@ -1,6 +1,6 @@
---- sandbox/policy/freebsd/sandbox_freebsd.cc.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/freebsd/sandbox_freebsd.cc.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/freebsd/sandbox_freebsd.cc
-@@ -0,0 +1,211 @@
+@@ -0,0 +1,210 @@
+// 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.
@@ -37,7 +37,6 @@
+#include "base/time/time.h"
+#include "build/build_config.h"
+#include "crypto/crypto_buildflags.h"
-+#include "ppapi/buildflags/buildflags.h"
+#include "sandbox/constants.h"
+#include "sandbox/linux/services/credentials.h"
+#include "sandbox/linux/services/namespace_sandbox.h"
diff --git a/www/iridium/files/patch-sandbox_policy_mojom_sandbox.mojom b/www/iridium/files/patch-sandbox_policy_mojom_sandbox.mojom
index 297401c4fd12..acaf60422a19 100644
--- a/www/iridium/files/patch-sandbox_policy_mojom_sandbox.mojom
+++ b/www/iridium/files/patch-sandbox_policy_mojom_sandbox.mojom
@@ -1,6 +1,6 @@
---- sandbox/policy/mojom/sandbox.mojom.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/mojom/sandbox.mojom.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/mojom/sandbox.mojom
-@@ -74,6 +74,12 @@ enum Sandbox {
+@@ -71,6 +71,12 @@ enum Sandbox {
// Minimally privileged sandbox on Fuchsia.
[EnableIf=is_fuchsia] kVideoCapture,
diff --git a/www/iridium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc b/www/iridium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
index 1ecdd0414294..708747c5ef82 100644
--- a/www/iridium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
+++ b/www/iridium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
@@ -1,6 +1,6 @@
---- sandbox/policy/openbsd/sandbox_openbsd.cc.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/openbsd/sandbox_openbsd.cc.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/openbsd/sandbox_openbsd.cc
-@@ -0,0 +1,392 @@
+@@ -0,0 +1,393 @@
+// 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.
@@ -38,7 +38,6 @@
+#include "base/time/time.h"
+#include "build/build_config.h"
+#include "crypto/crypto_buildflags.h"
-+#include "ppapi/buildflags/buildflags.h"
+#include "sandbox/constants.h"
+#include "sandbox/linux/services/credentials.h"
+#include "sandbox/linux/services/namespace_sandbox.h"
@@ -194,6 +193,7 @@
+bool SandboxLinux::SetUnveil(const std::string process_type, sandbox::mojom::Sandbox sandbox_type) {
+ FILE *fp;
+ char *s = NULL, *cp = NULL, *home = NULL, **ap, *tokens[MAXTOKENS];
++ char *xdg_var = NULL;
+ char path[PATH_MAX];
+ const char *ufile;
+ size_t len = 0, lineno = 0;
@@ -258,6 +258,13 @@
+ strncpy(path, home, sizeof(path) - 1);
+ path[sizeof(path) - 1] = '\0';
+ strncat(path, tokens[0], sizeof(path) - 1 - strlen(path));
++ } else if (strncmp(tokens[0], "XDG_", 4) == 0) {
++ if ((xdg_var = getenv(tokens[0])) == NULL || *xdg_var == '\0') {
++ LOG(ERROR) << "failed to get " << tokens[0];
++ continue;
++ }
++ strncpy(path, xdg_var, sizeof(path) - 1);
++ path[sizeof(path) - 1] = '\0';
+ } else {
+ strncpy(path, tokens[0], sizeof(path) - 1);
+ path[sizeof(path) - 1] = '\0';
@@ -333,14 +340,8 @@
+ break;
+ case sandbox::mojom::Sandbox::kGpu:
+ case sandbox::mojom::Sandbox::kOnDeviceModelExecution:
-+ SetPledge("stdio drm rpath flock cpath wpath prot_exec recvfd sendfd tmppath", NULL);
++ SetPledge("stdio drm inet rpath flock cpath wpath prot_exec recvfd sendfd tmppath unix", NULL);
+ break;
-+#if BUILDFLAG(ENABLE_PPAPI)
-+ case sandbox::mojom::Sandbox::kPpapi:
-+ // prot_exec needed by v8
-+ SetPledge("stdio rpath prot_exec recvfd sendfd", NULL);
-+ break;
-+#endif
+ case sandbox::mojom::Sandbox::kAudio:
+ SetPledge(NULL, "/etc/iridium/pledge.utility_audio");
+ break;
diff --git a/www/iridium/files/patch-sandbox_policy_sandbox.cc b/www/iridium/files/patch-sandbox_policy_sandbox.cc
index 42c6cbb2fa1f..77ece39fd1b3 100644
--- a/www/iridium/files/patch-sandbox_policy_sandbox.cc
+++ b/www/iridium/files/patch-sandbox_policy_sandbox.cc
@@ -1,4 +1,4 @@
---- sandbox/policy/sandbox.cc.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/sandbox.cc.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/sandbox.cc
@@ -18,6 +18,10 @@
#include "sandbox/policy/linux/sandbox_linux.h"
@@ -11,7 +11,7 @@
#if BUILDFLAG(IS_MAC)
#include "sandbox/mac/seatbelt.h"
#endif // BUILDFLAG(IS_MAC)
-@@ -32,7 +36,7 @@
+@@ -34,7 +38,7 @@
namespace sandbox {
namespace policy {
diff --git a/www/iridium/files/patch-sandbox_policy_sandbox__type.cc b/www/iridium/files/patch-sandbox_policy_sandbox__type.cc
index ae48a1c12bad..229314f97899 100644
--- a/www/iridium/files/patch-sandbox_policy_sandbox__type.cc
+++ b/www/iridium/files/patch-sandbox_policy_sandbox__type.cc
@@ -1,7 +1,16 @@
---- sandbox/policy/sandbox_type.cc.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/sandbox_type.cc.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/sandbox_type.cc
-@@ -38,7 +38,7 @@ constexpr char kPpapiSandbox[] = "ppapi";
+@@ -16,7 +16,7 @@
+ #include "chromeos/ash/components/assistant/buildflags.h"
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "media/gpu/buildflags.h" // nogncheck
+ #include "media/media_buildflags.h" // nogncheck
#endif
+@@ -38,7 +38,7 @@ constexpr char kServiceSandboxWithJit[] = "service_wit
+ constexpr char kSpeechRecognitionSandbox[] = "speech_recognition";
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
@@ -25,10 +34,10 @@
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- constexpr char kHardwareVideoDecodingSandbox[] = "hardware_video_decoding";
- constexpr char kHardwareVideoEncodingSandbox[] = "hardware_video_encoding";
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -78,7 +78,7 @@ constexpr char kLibassistantSandbox[] = "libassistant"
+ constexpr char kShapeDetectionSandbox[] = "shape_detection";
+ // USE_LINUX_VIDEO_ACCELERATION implies IS_LINUX || IS_CHROMEOS, so this double
+ // #if is redundant, however, we cannot include "media/gpu/buildflags.h" on all
+@@ -85,7 +85,7 @@ constexpr char kLibassistantSandbox[] = "libassistant"
#endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -37,7 +46,7 @@
constexpr char kOnDeviceTranslationSandbox[] = "on_device_translation";
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-@@ -140,7 +140,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -135,7 +135,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
case Sandbox::kCdm:
case Sandbox::kPrintCompositor:
case Sandbox::kAudio:
@@ -46,16 +55,16 @@
case Sandbox::kVideoCapture:
#endif
#if BUILDFLAG(IS_WIN)
-@@ -151,7 +151,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -146,7 +146,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
case Sandbox::kMediaFoundationCdm:
case Sandbox::kWindowsSystemProxyResolver:
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ case Sandbox::kShapeDetection:
+ #if BUILDFLAG(USE_LINUX_VIDEO_ACCELERATION)
case Sandbox::kHardwareVideoDecoding:
- case Sandbox::kHardwareVideoEncoding:
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -167,15 +167,15 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -165,15 +165,15 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
case Sandbox::kMirroring:
#endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -74,17 +83,17 @@
case Sandbox::kOnDeviceTranslation:
#endif
DCHECK(command_line->GetSwitchValueASCII(switches::kProcessType) ==
-@@ -185,7 +185,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -183,7 +183,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
switches::kServiceSandboxType,
StringFromUtilitySandboxType(sandbox_type));
- break;
+ return;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
case Sandbox::kZygoteIntermediateSandbox:
- break;
+ return;
#endif
-@@ -225,7 +225,7 @@ sandbox::mojom::Sandbox SandboxTypeFromCommandLine(
- return Sandbox::kUtility;
+@@ -214,7 +214,7 @@ sandbox::mojom::Sandbox SandboxTypeFromCommandLine(
+ return Sandbox::kGpu;
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -92,7 +101,7 @@
// Intermediate process gains a sandbox later.
if (process_type == switches::kZygoteProcessType)
return Sandbox::kZygoteIntermediateSandbox;
-@@ -267,7 +267,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
+@@ -252,7 +252,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
return kUtilitySandbox;
case Sandbox::kAudio:
return kAudioSandbox;
@@ -101,7 +110,7 @@
case Sandbox::kVideoCapture:
return kVideoCaptureSandbox;
#endif
-@@ -278,17 +278,17 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
+@@ -263,17 +263,17 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
case Sandbox::kSpeechRecognition:
return kSpeechRecognitionSandbox;
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -122,25 +131,16 @@
case Sandbox::kOnDeviceTranslation:
return kOnDeviceTranslationSandbox;
#endif
-@@ -308,7 +308,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
+@@ -293,7 +293,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
case Sandbox::kMirroring:
return kMirroringSandbox;
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- case Sandbox::kHardwareVideoDecoding:
- return kHardwareVideoDecodingSandbox;
- case Sandbox::kHardwareVideoEncoding:
-@@ -329,7 +329,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
- // The following are not utility processes so should not occur.
- case Sandbox::kRenderer:
- case Sandbox::kGpu:
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- case Sandbox::kZygoteIntermediateSandbox:
- #endif
- NOTREACHED();
-@@ -407,7 +407,7 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
+ case Sandbox::kShapeDetection:
+ return kShapeDetectionSandbox;
+ #if BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
+@@ -394,7 +394,7 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
return Sandbox::kSpeechRecognition;
}
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -149,7 +149,7 @@
if (sandbox_string == kPrintBackendSandbox) {
return Sandbox::kPrintBackend;
}
-@@ -415,7 +415,7 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
+@@ -402,22 +402,22 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
return Sandbox::kScreenAI;
}
#endif
@@ -158,7 +158,10 @@
if (sandbox_string == kVideoEffectsSandbox) {
return Sandbox::kVideoEffects;
}
-@@ -425,12 +425,12 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
+ #endif
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ if (sandbox_string == kOnDeviceTranslationSandbox) {
return Sandbox::kOnDeviceTranslation;
}
#endif
@@ -170,6 +173,6 @@
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (sandbox_string == kHardwareVideoDecodingSandbox) {
- return Sandbox::kHardwareVideoDecoding;
+ if (sandbox_string == kShapeDetectionSandbox) {
+ return Sandbox::kShapeDetection;
}
diff --git a/www/iridium/files/patch-sandbox_policy_switches.cc b/www/iridium/files/patch-sandbox_policy_switches.cc
index f5a8a39b7583..0c2736a828f2 100644
--- a/www/iridium/files/patch-sandbox_policy_switches.cc
+++ b/www/iridium/files/patch-sandbox_policy_switches.cc
@@ -1,6 +1,6 @@
---- sandbox/policy/switches.cc.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/switches.cc.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/switches.cc
-@@ -37,7 +37,9 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f
+@@ -40,7 +40,9 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f
// Meant to be used as a browser-level switch for testing purposes only.
const char kNoSandbox[] = "no-sandbox";
diff --git a/www/iridium/files/patch-sandbox_policy_switches.h b/www/iridium/files/patch-sandbox_policy_switches.h
index 1e01d143a074..e3ef1f791b44 100644
--- a/www/iridium/files/patch-sandbox_policy_switches.h
+++ b/www/iridium/files/patch-sandbox_policy_switches.h
@@ -1,6 +1,6 @@
---- sandbox/policy/switches.h.orig 2025-05-07 06:48:23 UTC
+--- sandbox/policy/switches.h.orig 2025-09-11 13:19:19 UTC
+++ sandbox/policy/switches.h
-@@ -23,7 +23,8 @@ SANDBOX_POLICY_EXPORT extern const char kDisableSetuid
+@@ -24,7 +24,8 @@ SANDBOX_POLICY_EXPORT extern const char kDisableSetuid
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxAllowSysVShm[];
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxFailuresFatal[];
SANDBOX_POLICY_EXPORT extern const char kNoSandbox[];
diff --git a/www/iridium/files/patch-services_device_public_cpp_device__features.cc b/www/iridium/files/patch-services_device_public_cpp_device__features.cc
index 62ea055db353..64703af0b59a 100644
--- a/www/iridium/files/patch-services_device_public_cpp_device__features.cc
+++ b/www/iridium/files/patch-services_device_public_cpp_device__features.cc
@@ -1,11 +1,11 @@
---- services/device/public/cpp/device_features.cc.orig 2025-06-19 07:37:57 UTC
+--- services/device/public/cpp/device_features.cc.orig 2025-09-11 13:19:19 UTC
+++ services/device/public/cpp/device_features.cc
-@@ -140,7 +140,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
-
- // Controls whether Chrome will try to automatically detach kernel drivers when
- // a USB interface is busy.
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+@@ -144,7 +144,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
+ BASE_FEATURE(kAutomaticUsbDetach,
+ "AutomaticUsbDetach",
+ base::FEATURE_ENABLED_BY_DEFAULT);
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kAutomaticUsbDetach,
"AutomaticUsbDetach",
base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-services_device_public_mojom_BUILD.gn b/www/iridium/files/patch-services_device_public_mojom_BUILD.gn
index cc7416e8fe65..b1cf5e9bd14d 100644
--- a/www/iridium/files/patch-services_device_public_mojom_BUILD.gn
+++ b/www/iridium/files/patch-services_device_public_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- services/device/public/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- services/device/public/mojom/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ services/device/public/mojom/BUILD.gn
-@@ -98,7 +98,7 @@ mojom("device_service") {
+@@ -95,7 +95,7 @@ mojom("device_service") {
enable_js_fuzzing = false
enabled_features = []
diff --git a/www/iridium/files/patch-services_device_serial_serial__device__enumerator.cc b/www/iridium/files/patch-services_device_serial_serial__device__enumerator.cc
index 65090c949ccc..e6557122c61d 100644
--- a/www/iridium/files/patch-services_device_serial_serial__device__enumerator.cc
+++ b/www/iridium/files/patch-services_device_serial_serial__device__enumerator.cc
@@ -1,6 +1,6 @@
---- services/device/serial/serial_device_enumerator.cc.orig 2025-05-07 06:48:23 UTC
+--- services/device/serial/serial_device_enumerator.cc.orig 2025-09-11 13:19:19 UTC
+++ services/device/serial/serial_device_enumerator.cc
-@@ -13,7 +13,7 @@
+@@ -12,7 +12,7 @@
#include "build/build_config.h"
#include "components/device_event_log/device_event_log.h"
@@ -9,7 +9,7 @@
#include "services/device/serial/serial_device_enumerator_linux.h"
#elif BUILDFLAG(IS_MAC)
#include "services/device/serial/serial_device_enumerator_mac.h"
-@@ -28,7 +28,7 @@ namespace device {
+@@ -27,7 +27,7 @@ namespace device {
// static
std::unique_ptr<SerialDeviceEnumerator> SerialDeviceEnumerator::Create(
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
diff --git a/www/iridium/files/patch-services_device_serial_serial__io__handler__posix.cc b/www/iridium/files/patch-services_device_serial_serial__io__handler__posix.cc
index ad1f687b4fe9..5cd7a318c985 100644
--- a/www/iridium/files/patch-services_device_serial_serial__io__handler__posix.cc
+++ b/www/iridium/files/patch-services_device_serial_serial__io__handler__posix.cc
@@ -1,6 +1,6 @@
---- services/device/serial/serial_io_handler_posix.cc.orig 2025-05-07 06:48:23 UTC
+--- services/device/serial/serial_io_handler_posix.cc.orig 2025-09-11 13:19:19 UTC
+++ services/device/serial/serial_io_handler_posix.cc
-@@ -73,7 +73,7 @@ bool BitrateToSpeedConstant(int bitrate, speed_t* spee
+@@ -74,7 +74,7 @@ bool BitrateToSpeedConstant(int bitrate, speed_t* spee
BITRATE_TO_SPEED_CASE(9600)
BITRATE_TO_SPEED_CASE(19200)
BITRATE_TO_SPEED_CASE(38400)
diff --git a/www/iridium/files/patch-services_device_usb_usb__device__handle__usbfs.cc b/www/iridium/files/patch-services_device_usb_usb__device__handle__usbfs.cc
index 3e49a5d0c62b..d8ce875d409a 100644
--- a/www/iridium/files/patch-services_device_usb_usb__device__handle__usbfs.cc
+++ b/www/iridium/files/patch-services_device_usb_usb__device__handle__usbfs.cc
@@ -1,15 +1,24 @@
---- services/device/usb/usb_device_handle_usbfs.cc.orig 2025-05-07 06:48:23 UTC
+--- services/device/usb/usb_device_handle_usbfs.cc.orig 2025-09-11 13:19:19 UTC
+++ services/device/usb/usb_device_handle_usbfs.cc
-@@ -39,7 +39,7 @@
+@@ -38,7 +38,7 @@
#include "chromeos/dbus/permission_broker/permission_broker_client.h"
#endif
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "base/metrics/histogram_macros.h"
#include "services/device/public/cpp/device_features.h"
#include "services/device/usb/usb_interface_detach_allowlist.h"
- #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-@@ -271,7 +271,7 @@ bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::R
+@@ -55,7 +55,7 @@ using mojom::UsbTransferType;
+
+ namespace {
+
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Outcome of detaching a kernel driver before ClaimInterface().
+ // These values are persisted to logs. Entries should not be renumbered and
+ // numeric values should never be reused.
+@@ -297,7 +297,7 @@ bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::R
return true;
}
@@ -18,7 +27,7 @@
bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::DetachInterface(
int interface_number,
const CombinedInterfaceInfo& interface_info) {
-@@ -599,7 +599,7 @@ void UsbDeviceHandleUsbfs::ClaimInterface(int interfac
+@@ -633,7 +633,7 @@ void UsbDeviceHandleUsbfs::ClaimInterface(int interfac
return;
}
#endif
@@ -27,7 +36,7 @@
if (base::FeatureList::IsEnabled(features::kAutomaticUsbDetach)) {
const mojom::UsbConfigurationInfo* config =
device_->GetActiveConfiguration();
-@@ -945,7 +945,7 @@ void UsbDeviceHandleUsbfs::ReleaseInterfaceComplete(in
+@@ -979,7 +979,7 @@ void UsbDeviceHandleUsbfs::ReleaseInterfaceComplete(in
return;
}
#endif
diff --git a/www/iridium/files/patch-services_device_usb_usb__service.cc b/www/iridium/files/patch-services_device_usb_usb__service.cc
index 73e3d153aa1d..728b343cf68b 100644
--- a/www/iridium/files/patch-services_device_usb_usb__service.cc
+++ b/www/iridium/files/patch-services_device_usb_usb__service.cc
@@ -1,6 +1,6 @@
---- services/device/usb/usb_service.cc.orig 2025-05-07 06:48:23 UTC
+--- services/device/usb/usb_service.cc.orig 2025-09-11 13:19:19 UTC
+++ services/device/usb/usb_service.cc
-@@ -21,12 +21,16 @@
+@@ -20,12 +20,16 @@
#if BUILDFLAG(IS_ANDROID)
#include "services/device/usb/usb_service_android.h"
@@ -18,7 +18,7 @@
#endif
namespace device {
-@@ -49,11 +53,13 @@ constexpr base::TaskTraits UsbService::kBlockingTaskTr
+@@ -48,11 +52,13 @@ constexpr base::TaskTraits UsbService::kBlockingTaskTr
std::unique_ptr<UsbService> UsbService::Create() {
#if BUILDFLAG(IS_ANDROID)
return base::WrapUnique(new UsbServiceAndroid());
diff --git a/www/iridium/files/patch-services_device_usb_usb__service__fake.cc b/www/iridium/files/patch-services_device_usb_usb__service__fake.cc
index c04522d60e41..95ea9e0ab812 100644
--- a/www/iridium/files/patch-services_device_usb_usb__service__fake.cc
+++ b/www/iridium/files/patch-services_device_usb_usb__service__fake.cc
@@ -1,6 +1,6 @@
---- services/device/usb/usb_service_fake.cc.orig 2025-05-07 06:48:23 UTC
+--- services/device/usb/usb_service_fake.cc.orig 2025-09-11 13:19:19 UTC
+++ services/device/usb/usb_service_fake.cc
-@@ -0,0 +1,49 @@
+@@ -0,0 +1,50 @@
+// Copyright 2014 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
@@ -17,6 +17,7 @@
+#include "base/barrier_closure.h"
+#include "base/containers/contains.h"
+#include "base/location.h"
++#include "base/notimplemented.h"
+#include "base/memory/ref_counted_memory.h"
+#include "base/memory/weak_ptr.h"
+#include "base/strings/string_number_conversions.h"
diff --git a/www/iridium/files/patch-services_network_BUILD.gn b/www/iridium/files/patch-services_network_BUILD.gn
index 6023626f18d1..03de5161c3b4 100644
--- a/www/iridium/files/patch-services_network_BUILD.gn
+++ b/www/iridium/files/patch-services_network_BUILD.gn
@@ -1,10 +1,10 @@
---- services/network/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- services/network/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ services/network/BUILD.gn
-@@ -413,7 +413,6 @@ if (is_linux || is_chromeos) {
+@@ -421,7 +421,6 @@ if (is_linux || is_chromeos) {
]
deps = [
- "//base:base",
+ "//base",
- "//sandbox/linux:sandbox_services",
- "//sandbox/policy:policy",
+ "//sandbox/policy",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
diff --git a/www/iridium/files/patch-services_network_network__context.cc b/www/iridium/files/patch-services_network_network__context.cc
index efa58ac6241c..77f67ac99f8c 100644
--- a/www/iridium/files/patch-services_network_network__context.cc
+++ b/www/iridium/files/patch-services_network_network__context.cc
@@ -1,6 +1,6 @@
---- services/network/network_context.cc.orig 2025-06-19 07:37:57 UTC
+--- services/network/network_context.cc.orig 2025-09-11 13:19:19 UTC
+++ services/network/network_context.cc
-@@ -612,7 +612,7 @@ NetworkContext::NetworkContextHttpAuthPreferences::
+@@ -629,7 +629,7 @@ NetworkContext::NetworkContextHttpAuthPreferences::
NetworkContext::NetworkContextHttpAuthPreferences::
~NetworkContextHttpAuthPreferences() = default;
@@ -9,7 +9,7 @@
bool NetworkContext::NetworkContextHttpAuthPreferences::AllowGssapiLibraryLoad()
const {
if (network_service_) {
-@@ -2543,7 +2543,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged(
+@@ -2598,7 +2598,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged(
http_auth_dynamic_network_service_params->android_negotiate_account_type);
#endif // BUILDFLAG(IS_ANDROID)
diff --git a/www/iridium/files/patch-services_network_network__context.h b/www/iridium/files/patch-services_network_network__context.h
index 83a7b4c72025..ed9b7e74e744 100644
--- a/www/iridium/files/patch-services_network_network__context.h
+++ b/www/iridium/files/patch-services_network_network__context.h
@@ -1,6 +1,6 @@
---- services/network/network_context.h.orig 2025-06-19 07:37:57 UTC
+--- services/network/network_context.h.orig 2025-09-11 13:19:19 UTC
+++ services/network/network_context.h
-@@ -723,7 +723,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext
+@@ -738,7 +738,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext
public:
explicit NetworkContextHttpAuthPreferences(NetworkService* network_service);
~NetworkContextHttpAuthPreferences() override;
diff --git a/www/iridium/files/patch-services_network_network__service.cc b/www/iridium/files/patch-services_network_network__service.cc
index 298ee57ecf1d..feb64e67ffe3 100644
--- a/www/iridium/files/patch-services_network_network__service.cc
+++ b/www/iridium/files/patch-services_network_network__service.cc
@@ -1,6 +1,6 @@
---- services/network/network_service.cc.orig 2025-06-19 07:37:57 UTC
+--- services/network/network_service.cc.orig 2025-09-11 13:19:19 UTC
+++ services/network/network_service.cc
-@@ -103,11 +103,11 @@
+@@ -107,11 +107,11 @@
#include "third_party/boringssl/src/include/openssl/cpu.h"
#endif
@@ -14,7 +14,7 @@
#include "services/network/network_change_notifier_passive_factory.h"
#endif
-@@ -1043,7 +1043,7 @@ void NetworkService::SetExplicitlyAllowedPorts(
+@@ -1035,7 +1035,7 @@ void NetworkService::SetExplicitlyAllowedPorts(
net::SetExplicitlyAllowedPorts(ports);
}
@@ -23,7 +23,7 @@
void NetworkService::SetGssapiLibraryLoadObserver(
mojo::PendingRemote<mojom::GssapiLibraryLoadObserver>
gssapi_library_load_observer) {
-@@ -1143,7 +1143,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo
+@@ -1174,7 +1174,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo
);
}
diff --git a/www/iridium/files/patch-services_network_network__service.h b/www/iridium/files/patch-services_network_network__service.h
index 5f77d8c7a232..92e9bdeb0eb2 100644
--- a/www/iridium/files/patch-services_network_network__service.h
+++ b/www/iridium/files/patch-services_network_network__service.h
@@ -1,6 +1,6 @@
---- services/network/network_service.h.orig 2025-06-19 07:37:57 UTC
+--- services/network/network_service.h.orig 2025-09-11 13:19:19 UTC
+++ services/network/network_service.h
-@@ -251,7 +251,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService
+@@ -243,7 +243,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService
const std::vector<ContentSettingPatternSource>& settings) override;
void SetExplicitlyAllowedPorts(const std::vector<uint16_t>& ports) override;
diff --git a/www/iridium/files/patch-services_network_public_cpp_BUILD.gn b/www/iridium/files/patch-services_network_public_cpp_BUILD.gn
index a58da7cbe459..34bc0bc6626d 100644
--- a/www/iridium/files/patch-services_network_public_cpp_BUILD.gn
+++ b/www/iridium/files/patch-services_network_public_cpp_BUILD.gn
@@ -1,6 +1,6 @@
---- services/network/public/cpp/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- services/network/public/cpp/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ services/network/public/cpp/BUILD.gn
-@@ -639,7 +639,7 @@ component("cpp_base") {
+@@ -699,7 +699,7 @@ component("cpp_base") {
sources += [ "transferable_directory_fuchsia.cc" ]
}
diff --git a/www/iridium/files/patch-services_network_public_cpp_features.cc b/www/iridium/files/patch-services_network_public_cpp_features.cc
index b043b2849c39..8a3e3ef69609 100644
--- a/www/iridium/files/patch-services_network_public_cpp_features.cc
+++ b/www/iridium/files/patch-services_network_public_cpp_features.cc
@@ -1,6 +1,6 @@
---- services/network/public/cpp/features.cc.orig 2025-06-19 07:37:57 UTC
+--- services/network/public/cpp/features.cc.orig 2025-09-11 13:19:19 UTC
+++ services/network/public/cpp/features.cc
-@@ -125,7 +125,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIsolationKey,
+@@ -109,7 +109,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIsolationKey,
BASE_FEATURE(kDnsOverHttpsUpgrade,
"DnsOverHttpsUpgrade",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -9,7 +9,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -377,7 +377,7 @@ BASE_FEATURE(kAvoidResourceRequestCopies,
+@@ -378,7 +378,7 @@ BASE_FEATURE(kAvoidResourceRequestCopies,
BASE_FEATURE(kDocumentIsolationPolicy,
"DocumentIsolationPolicy",
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/iridium/files/patch-services_network_public_mojom_BUILD.gn b/www/iridium/files/patch-services_network_public_mojom_BUILD.gn
index c0ebcb26d31b..d420edf60763 100644
--- a/www/iridium/files/patch-services_network_public_mojom_BUILD.gn
+++ b/www/iridium/files/patch-services_network_public_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- services/network/public/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- services/network/public/mojom/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ services/network/public/mojom/BUILD.gn
-@@ -675,11 +675,11 @@ mojom("url_loader_base") {
+@@ -690,11 +690,11 @@ mojom("url_loader_base") {
}
enabled_features = []
@@ -14,7 +14,16 @@
# TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does
# not include lacros.
enabled_features += [ "use_network_interface_change_listener" ]
-@@ -1795,7 +1795,7 @@ mojom("mojom") {
+@@ -1007,7 +1007,7 @@ mojom("url_loader_base") {
+ },
+ ]
+
+- if (is_linux) {
++ if (is_linux && !is_bsd) {
+ cpp_typemaps += [
+ {
+ types = [
+@@ -1797,7 +1797,7 @@ mojom("mojom") {
}
}
diff --git a/www/iridium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h b/www/iridium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h
index dbb111eed6f4..936488739e04 100644
--- a/www/iridium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h
+++ b/www/iridium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h
@@ -1,4 +1,4 @@
---- services/network/shared_dictionary/shared_dictionary_writer_in_memory.h.orig 2025-05-07 06:48:23 UTC
+--- services/network/shared_dictionary/shared_dictionary_writer_in_memory.h.orig 2025-09-11 13:19:19 UTC
+++ services/network/shared_dictionary/shared_dictionary_writer_in_memory.h
@@ -9,6 +9,8 @@
#include <string>
@@ -8,4 +8,4 @@
+
#include "base/component_export.h"
#include "base/functional/callback.h"
- #include "crypto/secure_hash.h"
+ #include "crypto/hash.h"
diff --git a/www/iridium/files/patch-services_on__device__model_on__device__model__service.h b/www/iridium/files/patch-services_on__device__model_on__device__model__service.h
deleted file mode 100644
index 8debc3b7a12d..000000000000
--- a/www/iridium/files/patch-services_on__device__model_on__device__model__service.h
+++ /dev/null
@@ -1,22 +0,0 @@
---- services/on_device_model/on_device_model_service.h.orig 2025-05-07 06:48:23 UTC
-+++ services/on_device_model/on_device_model_service.h
-@@ -31,6 +31,10 @@ class OnDeviceModelInternalImpl;
- class TsHolder;
- }
-
-+#if BUILDFLAG(IS_BSD)
-+#include "sandbox/policy/sandbox.h"
-+#endif
-+
- namespace on_device_model {
-
- class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelService
-@@ -44,7 +48,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelS
- // Must be called in the service's process after the run loop finished.
- [[nodiscard]] static bool Shutdown();
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- static void AddSandboxLinuxOptions(
- sandbox::policy::SandboxLinux::Options& options);
- #endif
diff --git a/www/iridium/files/patch-services_on__device__model_pre__sandbox__init.cc b/www/iridium/files/patch-services_on__device__model_pre__sandbox__init.cc
deleted file mode 100644
index d43d6d37cc8f..000000000000
--- a/www/iridium/files/patch-services_on__device__model_pre__sandbox__init.cc
+++ /dev/null
@@ -1,38 +0,0 @@
---- services/on_device_model/pre_sandbox_init.cc.orig 2025-05-07 06:48:23 UTC
-+++ services/on_device_model/pre_sandbox_init.cc
-@@ -14,7 +14,7 @@
- #include "services/on_device_model/ml/chrome_ml.h" // nogncheck
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "gpu/config/gpu_info_collector.h" // nogncheck
- #include "third_party/dawn/include/dawn/dawn_proc.h" // nogncheck
- #include "third_party/dawn/include/dawn/native/DawnNative.h" // nogncheck
-@@ -25,7 +25,7 @@ namespace on_device_model {
-
- namespace {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- constexpr uint32_t kVendorIdAMD = 0x1002;
- constexpr uint32_t kVendorIdIntel = 0x8086;
- constexpr uint32_t kVendorIdNVIDIA = 0x10DE;
-@@ -74,7 +74,7 @@ bool OnDeviceModelService::PreSandboxInit() {
- }
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Warm any relevant drivers before attempting to bring up the sandbox. For
- // good measure we initialize a device instance for any adapter with an
- // appropriate backend on top of any integrated or discrete GPU.
-@@ -102,7 +102,7 @@ bool OnDeviceModelService::PreSandboxInit() {
- return true;
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // static
- void OnDeviceModelService::AddSandboxLinuxOptions(
- sandbox::policy::SandboxLinux::Options& options) {
diff --git a/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc b/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
index 91b8098a4ab2..b5d8a5b89400 100644
--- a/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
+++ b/www/iridium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
@@ -1,6 +1,6 @@
---- services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-06-19 07:37:57 UTC
+--- services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-09-11 13:19:19 UTC
+++ services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc
-@@ -54,7 +54,7 @@ uint32_t CalculatePrivateFootprintKb(const mojom::RawO
+@@ -55,7 +55,7 @@ uint32_t CalculatePrivateFootprintKb(const mojom::RawO
uint32_t shared_resident_kb) {
DCHECK(os_dump.platform_private_footprint);
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -9,7 +9,7 @@
uint64_t rss_anon_bytes = os_dump.platform_private_footprint->rss_anon_bytes;
uint64_t vm_swap_bytes = os_dump.platform_private_footprint->vm_swap_bytes;
return (rss_anon_bytes + vm_swap_bytes) / 1024;
-@@ -83,7 +83,7 @@ memory_instrumentation::mojom::OSMemDumpPtr CreatePubl
+@@ -84,7 +84,7 @@ memory_instrumentation::mojom::OSMemDumpPtr CreatePubl
os_dump->is_peak_rss_resettable = internal_os_dump.is_peak_rss_resettable;
os_dump->private_footprint_kb =
CalculatePrivateFootprintKb(internal_os_dump, shared_resident_kb);
@@ -18,7 +18,7 @@
os_dump->private_footprint_swap_kb =
internal_os_dump.platform_private_footprint->vm_swap_bytes / 1024;
os_dump->mappings_count = internal_os_dump.mappings_count;
-@@ -222,7 +222,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
+@@ -223,7 +223,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
// On most platforms each process can dump data about their own process
// so ask each process to do so Linux is special see below.
@@ -27,7 +27,7 @@
request->pending_responses.insert({client_info.pid, ResponseType::kOSDump});
client->RequestOSMemoryDump(
request->memory_map_option(), request->memory_dump_flags(),
-@@ -237,7 +237,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
+@@ -238,7 +238,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
// In some cases, OS stats can only be dumped from a privileged process to
// get around to sandboxing/selinux restrictions (see crbug.com/461788).
@@ -36,7 +36,7 @@
std::vector<base::ProcessId> pids;
mojom::ClientProcess* browser_client = nullptr;
base::ProcessId browser_client_pid = base::kNullProcessId;
-@@ -284,7 +284,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion
+@@ -285,7 +285,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion
const OsCallback& os_callback) {
// On Linux, OS stats can only be dumped from a privileged process to
// get around to sandboxing/selinux restrictions (see crbug.com/461788).
@@ -45,7 +45,7 @@
mojom::ClientProcess* browser_client = nullptr;
base::ProcessId browser_client_pid = 0;
for (const auto& client_info : clients) {
-@@ -334,7 +334,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest(
+@@ -335,7 +335,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest(
// each client process provides 1 OS dump, % the case where the client is
// disconnected mid dump.
OSMemDumpMap& extra_os_dumps = response.second.os_dumps;
@@ -54,7 +54,7 @@
for (auto& kv : extra_os_dumps) {
auto pid = kv.first == base::kNullProcessId ? original_pid : kv.first;
DCHECK(results.find(pid) == results.end());
-@@ -395,7 +395,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest*
+@@ -396,7 +396,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest*
// crash). In the latter case (OS_LINUX) we expect the full map to come
// from the browser process response.
OSMemDumpMap& extra_os_dumps = response.second.os_dumps;
diff --git a/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc b/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc
index b52d5815eec0..d53051b69154 100644
--- a/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc
+++ b/www/iridium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc
@@ -1,12 +1,14 @@
---- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2025-06-19 07:37:57 UTC
+--- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2025-09-11 13:19:19 UTC
+++ services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc
-@@ -0,0 +1,59 @@
+@@ -0,0 +1,61 @@
+// Copyright 2022 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.
+
+#include "services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h"
+
++#include "base/notimplemented.h"
++
+#include "base/memory/page_size.h"
+#include "base/process/process.h"
+#include "base/process/process_handle.h"
diff --git a/www/iridium/files/patch-services_screen__ai_public_cpp_utilities.cc b/www/iridium/files/patch-services_screen__ai_public_cpp_utilities.cc
index 7ba44827760a..78b6b1c580ac 100644
--- a/www/iridium/files/patch-services_screen__ai_public_cpp_utilities.cc
+++ b/www/iridium/files/patch-services_screen__ai_public_cpp_utilities.cc
@@ -1,15 +1,15 @@
---- services/screen_ai/public/cpp/utilities.cc.orig 2025-05-07 06:48:23 UTC
+--- services/screen_ai/public/cpp/utilities.cc.orig 2025-09-11 13:19:19 UTC
+++ services/screen_ai/public/cpp/utilities.cc
-@@ -18,7 +18,7 @@ namespace screen_ai {
-
- namespace {
+@@ -21,7 +21,7 @@ namespace {
+ // The maximum image dimension which is processed without downsampling by OCR.
+ constexpr uint32_t kMaxImageDimensionForOcr = 2048;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
constexpr char kBinaryPathSwitch[] = "screen-ai-binary";
#endif
-@@ -39,7 +39,7 @@ constexpr char kScreenAIDlcRootPath[] =
+@@ -42,7 +42,7 @@ constexpr char kScreenAIDlcRootPath[] =
#endif
#if BUILDFLAG(ENABLE_SCREEN_AI_BROWSERTESTS)
@@ -18,7 +18,7 @@
constexpr base::FilePath::CharType kScreenAIResourcePathForTests[] =
FILE_PATH_LITERAL("third_party/screen-ai/linux/resources");
#elif BUILDFLAG(IS_MAC)
-@@ -128,7 +128,7 @@ base::FilePath GetComponentBinaryPathForTests() {
+@@ -131,7 +131,7 @@ base::FilePath GetComponentBinaryPathForTests() {
const char* GetBinaryPathSwitch() {
// This is only used on Linux and ChromeOS.
diff --git a/www/iridium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc b/www/iridium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc
index 194c0f8dfd4d..22895d1a3eb6 100644
--- a/www/iridium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc
+++ b/www/iridium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc
@@ -1,6 +1,6 @@
---- services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc
-@@ -58,6 +58,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
+@@ -70,6 +70,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
}
}
@@ -8,7 +8,7 @@
auto* instance = sandbox::policy::SandboxLinux::GetInstance();
std::vector<BrokerFilePermission> permissions{
-@@ -79,6 +80,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
+@@ -91,6 +92,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
sandbox::syscall_broker::COMMAND_OPEN}),
permissions, options);
instance->EngageNamespaceSandboxIfPossible();
diff --git a/www/iridium/files/patch-services_screen__ai_screen__ai__service__impl.cc b/www/iridium/files/patch-services_screen__ai_screen__ai__service__impl.cc
new file mode 100644
index 000000000000..49f3d4c96840
--- /dev/null
+++ b/www/iridium/files/patch-services_screen__ai_screen__ai__service__impl.cc
@@ -0,0 +1,20 @@
+--- services/screen_ai/screen_ai_service_impl.cc.orig 2025-09-11 13:19:19 UTC
++++ services/screen_ai/screen_ai_service_impl.cc
+@@ -38,7 +38,7 @@
+ #include "ui/accessibility/ax_tree_id.h"
+ #include "ui/gfx/geometry/rect_f.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "partition_alloc/buildflags.h"
+
+ #if PA_BUILDFLAG( \
+@@ -266,7 +266,7 @@ ScreenAIService::ScreenAIService(
+ : factory_receiver_(this, std::move(receiver)),
+ ocr_receiver_(this),
+ main_content_extraction_receiver_(this) {
+-#if BUILDFLAG(IS_LINUX) && \
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && \
+ PA_BUILDFLAG( \
+ ENABLE_ALLOCATOR_SHIM_PARTITION_ALLOC_DISPATCH_WITH_ADVANCED_CHECKS_SUPPORT)
+ // TODO(crbug.com/418199684): Remove when the bug is fixed.
diff --git a/www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc b/www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc
new file mode 100644
index 000000000000..fccd936f6276
--- /dev/null
+++ b/www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc
@@ -0,0 +1,13 @@
+--- services/shape_detection/shape_detection_sandbox_hook.cc.orig 2025-09-11 13:19:19 UTC
++++ services/shape_detection/shape_detection_sandbox_hook.cc
+@@ -31,8 +31,10 @@ bool ShapeDetectionPreSandboxHook(
+ DVLOG(1) << "Successfully opened Chrome Shape Detection shared library.";
+ }
+ #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
++#if !BUILDFLAG(IS_BSD)
+ auto* instance = sandbox::policy::SandboxLinux::GetInstance();
+ instance->EngageNamespaceSandboxIfPossible();
++#endif
+ return true;
+ }
+
diff --git a/www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h b/www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h
new file mode 100644
index 000000000000..cf5780834257
--- /dev/null
+++ b/www/iridium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h
@@ -0,0 +1,16 @@
+--- services/shape_detection/shape_detection_sandbox_hook.h.orig 2025-09-11 13:19:19 UTC
++++ services/shape_detection/shape_detection_sandbox_hook.h
+@@ -5,7 +5,13 @@
+ #ifndef SERVICES_SHAPE_DETECTION_SHAPE_DETECTION_SANDBOX_HOOK_H_
+ #define SERVICES_SHAPE_DETECTION_SHAPE_DETECTION_SANDBOX_HOOK_H_
+
++#include "build/build_config.h"
++
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#else
+ #include "sandbox/policy/linux/sandbox_linux.h"
++#endif
+
+ namespace shape_detection {
+
diff --git a/www/iridium/files/patch-services_shape__detection_shape__detection__service.cc b/www/iridium/files/patch-services_shape__detection_shape__detection__service.cc
new file mode 100644
index 000000000000..5d36b595c087
--- /dev/null
+++ b/www/iridium/files/patch-services_shape__detection_shape__detection__service.cc
@@ -0,0 +1,20 @@
+--- services/shape_detection/shape_detection_service.cc.orig 2025-09-11 13:19:19 UTC
++++ services/shape_detection/shape_detection_service.cc
+@@ -22,7 +22,7 @@
+ #elif BUILDFLAG(IS_ANDROID)
+ // No C++ code, barcode detection comes from Java.
+ #elif BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
+ #include "services/shape_detection/barcode_detection_provider_chrome.h"
+ #else
+ #include "services/shape_detection/barcode_detection_provider_impl.h"
+@@ -56,7 +56,7 @@ void ShapeDetectionService::BindBarcodeDetectionProvid
+ #elif BUILDFLAG(IS_MAC)
+ BarcodeDetectionProviderMac::Create(std::move(receiver));
+ #elif BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
+ BarcodeDetectionProviderChrome::Create(std::move(receiver));
+ #else
+ BarcodeDetectionProviderImpl::Create(std::move(receiver));
diff --git a/www/iridium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc b/www/iridium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc
new file mode 100644
index 000000000000..c758e0228338
--- /dev/null
+++ b/www/iridium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc
@@ -0,0 +1,11 @@
+--- services/tracing/public/cpp/perfetto/track_name_recorder.cc.orig 2025-09-11 13:19:19 UTC
++++ services/tracing/public/cpp/perfetto/track_name_recorder.cc
+@@ -51,7 +51,7 @@ void FillThreadTrack(const perfetto::ThreadTrack& trac
+ if (thread_type != ChromeThreadDescriptor::THREAD_UNSPECIFIED) {
+ desc.mutable_chrome_thread()->set_thread_type(thread_type);
+ }
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
+ if (base::GetCurrentProcId() !=
+ base::trace_event::TraceLog::GetInstance()->process_id()) {
+ desc.mutable_chrome_thread()->set_is_sandboxed_tid(true);
diff --git a/www/iridium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc b/www/iridium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc
index 351c201c23e2..e721e87695aa 100644
--- a/www/iridium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc
+++ b/www/iridium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc
@@ -1,11 +1,38 @@
---- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2025-05-07 06:48:23 UTC
+--- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2025-09-11 13:19:19 UTC
+++ services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
-@@ -38,7 +38,7 @@
+@@ -39,7 +39,7 @@
#include "third_party/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.h"
--#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE)
++#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
#include "base/profiler/thread_delegate_posix.h"
#define INITIALIZE_THREAD_DELEGATE_POSIX 1
- #else // BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_APPLE)
+ #else // BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE)
+@@ -261,7 +261,7 @@ struct FrameDetails {
+ ANDROID_ARM64_UNWINDING_SUPPORTED || ANDROID_CFI_UNWINDING_SUPPORTED || \
+ (BUILDFLAG(IS_CHROMEOS) && \
+ (defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64))) || \
+- BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Returns whether stack sampling is supported on the current platform.
+ bool IsStackSamplingSupported() {
+ return base::StackSamplingProfiler::IsSupportedForCurrentPlatform();
+@@ -379,7 +379,7 @@ void TracingSamplerProfiler::TracingProfileBuilder::Wr
+ thread_descriptor->set_reference_timestamp_us(
+ last_timestamp_.since_origin().InMicroseconds());
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
+ if (base::GetCurrentProcId() !=
+ base::trace_event::TraceLog::GetInstance()->process_id()) {
+ auto* chrome_thread = track_descriptor->set_chrome_thread();
+@@ -651,7 +651,7 @@ bool TracingSamplerProfiler::IsStackUnwindingSupported
+ ANDROID_ARM64_UNWINDING_SUPPORTED || ANDROID_CFI_UNWINDING_SUPPORTED || \
+ (BUILDFLAG(IS_CHROMEOS) && \
+ (defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64))) || \
+- BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return IsStackSamplingSupported();
+ #else
+ return false;
diff --git a/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn b/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn
index 899c1b715fc4..f8c26ff1c480 100644
--- a/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn
+++ b/www/iridium/files/patch-services_viz_public_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- services/viz/public/mojom/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- services/viz/public/mojom/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ services/viz/public/mojom/BUILD.gn
-@@ -57,7 +57,7 @@ mojom("mojom") {
+@@ -51,7 +51,7 @@ mojom("mojom") {
# Used in thread.mojom
enabled_features = []
diff --git a/www/iridium/files/patch-skia_ext_font__utils.cc b/www/iridium/files/patch-skia_ext_font__utils.cc
index cb6434b27c55..c4566fb137b1 100644
--- a/www/iridium/files/patch-skia_ext_font__utils.cc
+++ b/www/iridium/files/patch-skia_ext_font__utils.cc
@@ -1,4 +1,4 @@
---- skia/ext/font_utils.cc.orig 2025-05-07 06:48:23 UTC
+--- skia/ext/font_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ skia/ext/font_utils.cc
@@ -21,7 +21,7 @@
#include "third_party/skia/include/ports/SkFontMgr_mac_ct.h"
@@ -9,12 +9,12 @@
#include "third_party/skia/include/ports/SkFontConfigInterface.h"
#include "third_party/skia/include/ports/SkFontMgr_FontConfigInterface.h"
#include "third_party/skia/include/ports/SkFontScanner_Fontations.h"
-@@ -67,7 +67,7 @@ static sk_sp<SkFontMgr> fontmgr_factory() {
- }
+@@ -64,7 +64,7 @@ static sk_sp<SkFontMgr> fontmgr_factory() {
+ return SkFontMgr_New_Android(nullptr, SkFontScanner_Make_Fontations());
#elif BUILDFLAG(IS_APPLE)
return SkFontMgr_New_CoreText(nullptr);
-#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
sk_sp<SkFontConfigInterface> fci(SkFontConfigInterface::RefGlobal());
- if (base::FeatureList::IsEnabled(skia::kFontationsLinuxSystemFonts)) {
- return fci ? SkFontMgr_New_FCI(std::move(fci),
+ return fci ? SkFontMgr_New_FCI(std::move(fci),
+ SkFontScanner_Make_Fontations())
diff --git a/www/iridium/files/patch-third__party_angle_BUILD.gn b/www/iridium/files/patch-third__party_angle_BUILD.gn
index cbae474ac58e..1d34b1ce66e5 100644
--- a/www/iridium/files/patch-third__party_angle_BUILD.gn
+++ b/www/iridium/files/patch-third__party_angle_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/angle/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- third_party/angle/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/angle/BUILD.gn
-@@ -360,7 +360,6 @@ config("extra_warnings") {
+@@ -367,7 +367,6 @@ config("extra_warnings") {
"-Wtautological-type-limit-compare",
"-Wundefined-reinterpret-cast",
"-Wunneeded-internal-declaration",
@@ -8,7 +8,7 @@
"-Wsuggest-destructor-override",
"-Wsuggest-override",
-@@ -537,7 +536,7 @@ template("angle_common_lib") {
+@@ -544,7 +543,7 @@ template("angle_common_lib") {
all_dependent_configs = [ ":angle_disable_pool_alloc" ]
}
@@ -17,7 +17,7 @@
libs = [ "dl" ]
}
-@@ -692,6 +691,9 @@ angle_static_library("angle_gpu_info_util") {
+@@ -707,6 +706,9 @@ angle_static_library("angle_gpu_info_util") {
"Xi",
"Xext",
]
diff --git a/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp b/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp
index 82382b10caa5..13cd7ed09b63 100644
--- a/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp
+++ b/www/iridium/files/patch-third__party_angle_src_libANGLE_Display.cpp
@@ -1,4 +1,4 @@
---- third_party/angle/src/libANGLE/Display.cpp.orig 2025-06-19 07:37:57 UTC
+--- third_party/angle/src/libANGLE/Display.cpp.orig 2025-09-11 13:19:19 UTC
+++ third_party/angle/src/libANGLE/Display.cpp
@@ -58,7 +58,7 @@
# include "libANGLE/renderer/gl/wgl/DisplayWGL.h"
@@ -15,19 +15,19 @@
-# elif defined(ANGLE_PLATFORM_LINUX)
+# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)
- # if defined(ANGLE_USE_GBM)
+ # if defined(ANGLE_USE_GBM) || defined(ANGLE_USE_WAYLAND)
if (platformType == 0)
{
-@@ -468,7 +468,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
+@@ -473,7 +473,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
#if defined(ANGLE_ENABLE_OPENGL)
# if defined(ANGLE_PLATFORM_WINDOWS)
impl = new rx::DisplayWGL(state);
-# elif defined(ANGLE_PLATFORM_LINUX)
+# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)
- # if defined(ANGLE_USE_GBM)
+ # if defined(ANGLE_USE_GBM) || defined(ANGLE_USE_WAYLAND)
if (platformType == 0)
{
-@@ -519,7 +519,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
+@@ -529,7 +529,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
impl = rx::CreateVulkanWin32Display(state);
}
break;
@@ -36,7 +36,7 @@
# if defined(ANGLE_USE_GBM)
if (platformType == EGL_PLATFORM_GBM_KHR && rx::IsVulkanGbmDisplayAvailable())
{
-@@ -2136,7 +2136,7 @@ static ClientExtensions GenerateClientExtensions()
+@@ -2146,7 +2146,7 @@ static ClientExtensions GenerateClientExtensions()
extensions.platformWaylandEXT = true;
#endif
@@ -45,7 +45,7 @@
extensions.platformSurfacelessMESA = true;
#endif
-@@ -2183,7 +2183,7 @@ static ClientExtensions GenerateClientExtensions()
+@@ -2193,7 +2193,7 @@ static ClientExtensions GenerateClientExtensions()
extensions.x11Visual = true;
#endif
diff --git a/www/iridium/files/patch-third__party_angle_util_BUILD.gn b/www/iridium/files/patch-third__party_angle_util_BUILD.gn
index 8376d6f249a7..b4551e2befa5 100644
--- a/www/iridium/files/patch-third__party_angle_util_BUILD.gn
+++ b/www/iridium/files/patch-third__party_angle_util_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/angle/util/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- third_party/angle/util/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/angle/util/BUILD.gn
-@@ -332,7 +332,7 @@ foreach(is_shared_library,
+@@ -334,7 +334,7 @@ foreach(is_shared_library,
]
libs = []
diff --git a/www/iridium/files/patch-third__party_blink_common_features.cc b/www/iridium/files/patch-third__party_blink_common_features.cc
new file mode 100644
index 000000000000..412c23aa9711
--- /dev/null
+++ b/www/iridium/files/patch-third__party_blink_common_features.cc
@@ -0,0 +1,11 @@
+--- third_party/blink/common/features.cc.orig 2025-09-11 13:19:19 UTC
++++ third_party/blink/common/features.cc
+@@ -683,7 +683,7 @@ BASE_FEATURE(kDevToolsImprovedNetworkError,
+
+ BASE_FEATURE(kDirectCompositorThreadIpc,
+ "DirectCompositorThreadIpc",
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
diff --git a/www/iridium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc b/www/iridium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc
index 5ab786c3fd9c..2943655ef77d 100644
--- a/www/iridium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc
+++ b/www/iridium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc
@@ -1,6 +1,6 @@
---- third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc
-@@ -77,7 +77,7 @@ bool StructTraits<blink::mojom::RendererPreferencesDat
+@@ -78,7 +78,7 @@ bool StructTraits<blink::mojom::RendererPreferencesDat
out->send_subresource_notification = data.send_subresource_notification();
diff --git a/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h b/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h
index ea9c76cd8837..1275ccda3c01 100644
--- a/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h
+++ b/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h
@@ -1,6 +1,6 @@
---- third_party/blink/public/common/renderer_preferences/renderer_preferences.h.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/public/common/renderer_preferences/renderer_preferences.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/public/common/renderer_preferences/renderer_preferences.h
-@@ -65,7 +65,7 @@ struct BLINK_COMMON_EXPORT RendererPreferences {
+@@ -66,7 +66,7 @@ struct BLINK_COMMON_EXPORT RendererPreferences {
UserAgentOverride user_agent_override;
std::string accept_languages;
bool send_subresource_notification{false};
diff --git a/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h b/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h
index 523743154661..0d77a0e1927b 100644
--- a/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h
+++ b/www/iridium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h
@@ -1,6 +1,6 @@
---- third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h
-@@ -180,7 +180,7 @@ struct BLINK_COMMON_EXPORT
+@@ -185,7 +185,7 @@ struct BLINK_COMMON_EXPORT
return data.send_subresource_notification;
}
diff --git a/www/iridium/files/patch-third__party_blink_public_platform_platform.h b/www/iridium/files/patch-third__party_blink_public_platform_platform.h
index 36a1900f12ad..20c66d9b9b2c 100644
--- a/www/iridium/files/patch-third__party_blink_public_platform_platform.h
+++ b/www/iridium/files/patch-third__party_blink_public_platform_platform.h
@@ -1,6 +1,6 @@
---- third_party/blink/public/platform/platform.h.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/public/platform/platform.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/public/platform/platform.h
-@@ -372,7 +372,7 @@ class BLINK_PLATFORM_EXPORT Platform {
+@@ -376,7 +376,7 @@ class BLINK_PLATFORM_EXPORT Platform {
return nullptr;
}
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc b/www/iridium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc
index 6a6be1e896c4..478eecb99120 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/exported/web_view_impl.cc
-@@ -429,7 +429,7 @@ void RecordPrerenderActivationSignalDelay(const String
+@@ -421,7 +421,7 @@ void RecordPrerenderActivationSignalDelay(const String
#if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_WIN)
SkFontHinting RendererPreferencesToSkiaHinting(
const blink::RendererPreferences& prefs) {
@@ -9,7 +9,7 @@
if (!prefs.should_antialias_text) {
// When anti-aliasing is off, GTK maps all non-zero hinting settings to
// 'Normal' hinting so we do the same. Otherwise, folks who have 'Slight'
-@@ -3421,7 +3421,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs
+@@ -3441,7 +3441,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs
gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE);
WebFontRenderStyle::SetSubpixelPositioning(
renderer_preferences_.use_subpixel_positioning);
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc b/www/iridium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc
index 6eef5d52aa32..9cfa2a3e530f 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/frame/web_frame_test.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/frame/web_frame_test.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/frame/web_frame_test.cc
-@@ -6471,7 +6471,7 @@ TEST_F(WebFrameTest, DISABLED_PositionForPointTest) {
+@@ -6473,7 +6473,7 @@ TEST_F(WebFrameTest, DISABLED_PositionForPointTest) {
}
#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// TODO(crbug.com/1090246): Fix these tests on Fuchsia and re-enable.
// TODO(crbug.com/1317375): Build these tests on all platforms.
#define MAYBE_SelectRangeStaysHorizontallyAlignedWhenMoved \
-@@ -6880,7 +6880,7 @@ TEST_F(CompositedSelectionBoundsTest, LargeSelectionSc
+@@ -6882,7 +6882,7 @@ TEST_F(CompositedSelectionBoundsTest, LargeSelectionSc
TEST_F(CompositedSelectionBoundsTest, LargeSelectionNoScroll) {
RunTest("composited_selection_bounds_large_selection_noscroll.html");
}
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc b/www/iridium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc
index 866ed1c8496a..84f4841a59b1 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc
-@@ -51,7 +51,7 @@ constexpr base::TimeDelta kEncodeRowSlackBeforeDeadlin
+@@ -52,7 +52,7 @@ constexpr base::TimeDelta kEncodeRowSlackBeforeDeadlin
/* The value is based on user statistics on Nov 2017. */
#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc b/www/iridium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc
index 01a77074a382..88c2da22c072 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/layout/layout_view.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/layout/layout_view.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/layout/layout_view.cc
-@@ -74,7 +74,7 @@
+@@ -75,7 +75,7 @@
#include "ui/display/screen_info.h"
#include "ui/gfx/geometry/quad_f.h"
@@ -9,7 +9,7 @@
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#endif
-@@ -785,7 +785,7 @@ void LayoutView::LayoutRoot() {
+@@ -790,7 +790,7 @@ void LayoutView::LayoutRoot() {
intrinsic_logical_widths_ = LogicalWidth();
}
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc b/www/iridium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc
index a76e1658baa5..727e95b68c45 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/loader/mixed_content_checker.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/loader/mixed_content_checker.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/loader/mixed_content_checker.cc
-@@ -485,7 +485,7 @@ bool MixedContentChecker::ShouldBlockFetch(
+@@ -510,7 +510,7 @@ bool MixedContentChecker::ShouldBlockFetch(
switch (context_type) {
case mojom::blink::MixedContentContextType::kOptionallyBlockable:
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc b/www/iridium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc
index c071660f140f..04c34d066bfe 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/origin_trials/origin_trial_context.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/origin_trials/origin_trial_context.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/origin_trials/origin_trial_context.cc
-@@ -573,7 +573,7 @@ bool OriginTrialContext::CanEnableTrialFromName(const
+@@ -568,7 +568,7 @@ bool OriginTrialContext::CanEnableTrialFromName(const
}
if (trial_name == "TranslationAPI") {
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc b/www/iridium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc
index aeacb3035811..b80aef0743f2 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/page/context_menu_controller.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/page/context_menu_controller.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/page/context_menu_controller.cc
-@@ -641,7 +641,7 @@ bool ContextMenuController::ShowContextMenu(LocalFrame
+@@ -649,7 +649,7 @@ bool ContextMenuController::ShowContextMenu(LocalFrame
if (potential_image_node != nullptr &&
IsA<HTMLCanvasElement>(potential_image_node)) {
data.media_type = mojom::blink::ContextMenuDataMediaType::kCanvas;
diff --git a/www/iridium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc b/www/iridium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc
index 95be321b4546..2415d3ca52e8 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/paint/paint_layer.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/core/paint/paint_layer.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/core/paint/paint_layer.cc
-@@ -124,7 +124,7 @@ namespace blink {
+@@ -125,7 +125,7 @@ namespace blink {
namespace {
diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
index 2f7b23bca09d..7b0f9a175d20 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc
-@@ -542,6 +542,7 @@ void RTCDataChannel::send(Blob* data, ExceptionState&
+@@ -538,6 +538,7 @@ void RTCDataChannel::send(Blob* data, ExceptionState&
pending_messages_.push_back(message);
}
diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc
index 800ef3482b3b..7d5227cd70b9 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc
-@@ -383,7 +383,7 @@ TEST_F(WebRtcAudioRendererTest, DISABLED_VerifySinkPar
+@@ -384,7 +384,7 @@ TEST_F(WebRtcAudioRendererTest, DISABLED_VerifySinkPar
SetupRenderer(kDefaultOutputDeviceId);
renderer_proxy_->Start();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \
diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc
index 7e879bc9edc2..e4da5f588c6c 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
-@@ -6334,7 +6334,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid
+@@ -6581,7 +6581,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid
// unmultiply has been requested or we need to never premultiply for Image
// creation from a VideoFrame.
diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc
index e970d9e7bb89..197d0b22edf0 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc
-@@ -218,7 +218,7 @@ bool GPUCanvasContext::PaintRenderingResultsToCanvas(
+@@ -250,7 +250,7 @@ CanvasResourceProvider* GPUCanvasContext::PaintRenderi
scoped_refptr<WebGPUMailboxTexture> front_buffer_texture;
if (source_buffer == kFrontBuffer) {
diff --git a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc
index 46cd1a07e8a2..f26ada4e5736 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/modules/webgpu/gpu_queue.cc
-@@ -814,7 +814,7 @@ bool GPUQueue::CopyFromCanvasSourceImage(
+@@ -829,7 +829,7 @@ bool GPUQueue::CopyFromCanvasSourceImage(
// on linux platform.
// TODO(crbug.com/1424119): using a webgpu mailbox texture on the OpenGLES
// backend is failing for unknown reasons.
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn b/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn
index 7a341fd79aec..80a0a371c1c1 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- third_party/blink/renderer/platform/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/BUILD.gn
-@@ -2060,7 +2060,7 @@ static_library("test_support") {
+@@ -2061,7 +2061,7 @@ static_library("test_support") {
]
# fuzzed_data_provider may not work with a custom toolchain.
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc
index 640e82fee517..549a4ff7af51 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/fonts/font_cache.cc
@@ -82,7 +82,7 @@ extern const char kNotoColorEmojiCompat[] = "Noto Colo
@@ -9,7 +9,7 @@
float FontCache::device_scale_factor_ = 1.0;
#endif
-@@ -133,7 +133,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD
+@@ -136,7 +136,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD
const FontDescription& font_description) {
const AtomicString& family = FontCache::SystemFontFamily();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h
index 88519d4447c1..13ab45a61833 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/fonts/font_cache.h.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/fonts/font_cache.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/fonts/font_cache.h
@@ -55,7 +55,7 @@
#include "third_party/skia/include/core/SkFontMgr.h"
@@ -9,7 +9,7 @@
#include "ui/gfx/font_fallback_linux.h"
#endif
-@@ -167,7 +167,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -171,7 +171,7 @@ class PLATFORM_EXPORT FontCache final {
static void MaybePreloadSystemFonts();
@@ -18,7 +18,7 @@
// These are needed for calling QueryRenderStyleForStrike, since
// gfx::GetFontRenderParams makes distinctions based on DSF.
static float DeviceScaleFactor() { return device_scale_factor_; }
-@@ -243,7 +243,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -247,7 +247,7 @@ class PLATFORM_EXPORT FontCache final {
const char* locale_family_name);
#endif // BUILDFLAG(IS_ANDROID)
@@ -27,16 +27,16 @@
static bool GetFontForCharacter(UChar32,
const char* preferred_locale,
gfx::FallbackFontData*);
-@@ -316,7 +316,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -320,7 +320,7 @@ class PLATFORM_EXPORT FontCache final {
const FontFaceCreationParams&,
std::string& name);
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- static AtomicString GetFamilyNameForCharacter(SkFontMgr*,
- UChar32,
- const FontDescription&,
-@@ -353,7 +353,7 @@ class PLATFORM_EXPORT FontCache final {
+ static const FontPlatformData* CreateFontPlatformDataForCharacter(
+ SkFontMgr*,
+ UChar32,
+@@ -358,7 +358,7 @@ class PLATFORM_EXPORT FontCache final {
bool is_test_font_mgr_ = false;
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc
index e6d77c2628c4..91f7c32682ad 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/fonts/font_description.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/fonts/font_description.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/fonts/font_description.cc
-@@ -41,7 +41,7 @@
+@@ -44,7 +44,7 @@
#include "third_party/blink/renderer/platform/wtf/text/string_hash.h"
#include "third_party/blink/renderer/platform/wtf/text/string_hasher.h"
@@ -9,7 +9,7 @@
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#endif
-@@ -280,7 +280,7 @@ FontCacheKey FontDescription::CacheKey(
+@@ -314,7 +314,7 @@ FontCacheKey FontDescription::CacheKey(
static_cast<unsigned>(fields_.orientation_) << 1 | // bit 2-3
static_cast<unsigned>(fields_.subpixel_text_position_); // bit 1
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
index a8d2f6b17bdc..5436ad57933d 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc
@@ -65,7 +65,7 @@ AtomicString ToAtomicString(const SkString& str) {
return AtomicString::FromUTF8(std::string_view(str.begin(), str.end()));
@@ -9,7 +9,7 @@
// This function is called on android or when we are emulating android fonts on
// linux and the embedder has overriden the default fontManager with
// WebFontRendering::setSkiaFontMgr.
-@@ -246,7 +246,7 @@ const FontPlatformData* FontCache::CreateFontPlatformD
+@@ -260,7 +260,7 @@ const FontPlatformData* FontCache::CreateFontPlatformD
std::string name;
sk_sp<SkTypeface> typeface;
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
index 9a2567fcaccd..4fe05153ee6c 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/graphics/video_frame_submitter.cc
-@@ -407,7 +407,7 @@ void VideoFrameSubmitter::OnBeginFrame(
+@@ -380,7 +380,7 @@ void VideoFrameSubmitter::OnBeginFrame(
auto& details = timing_details.find(frame_token)->value;
auto& feedback = details.presentation_feedback;
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc
index a0aee8fc01ec..924523f621a4 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc
@@ -14,7 +14,9 @@
@@ -18,7 +18,7 @@
using base::trace_event::MemoryDumpLevelOfDetail;
MemoryDumpLevelOfDetail level_of_detail = args.level_of_detail;
-@@ -49,6 +52,7 @@ bool PartitionAllocMemoryDumpProvider::OnMemoryDump(
+@@ -48,6 +51,7 @@ bool PartitionAllocMemoryDumpProvider::OnMemoryDump(
"size", "bytes", partition_stats_dumper.total_active_bytes());
memory_dump->AddOwnershipEdge(allocated_objects_dump->guid(),
partitions_dump->guid());
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 b/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
index 34f64b8ea0e5..9c3b565813e7 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
@@ -1,6 +1,42 @@
---- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-06-19 07:37:57 UTC
+--- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/runtime_enabled_features.json5
-@@ -484,7 +484,7 @@
+@@ -324,7 +324,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIPromptAPIMultimodalInput",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ implied_by: ["AIPromptAPIMultimodalInput"],
+ },
+@@ -354,7 +354,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIPromptAPIMultimodalInput",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ base_feature_status: "enabled",
+ copied_from_base_feature_if: "overridden",
+@@ -379,7 +379,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIRewriterAPI",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ base_feature_status: "enabled",
+ copied_from_base_feature_if: "overridden",
+@@ -412,7 +412,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIWriterAPI",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ base_feature_status: "enabled",
+ copied_from_base_feature_if: "overridden",
+@@ -516,7 +516,7 @@
name: "AppTitle",
status: "experimental",
origin_trial_feature_name: "AppTitle",
@@ -9,7 +45,16 @@
base_feature: "WebAppEnableAppTitle",
},
{
-@@ -1777,7 +1777,7 @@
+@@ -1720,7 +1720,7 @@
+ {
+ name: "DeviceBoundSessionCredentials",
+ origin_trial_feature_name: "DeviceBoundSessionCredentials",
+- origin_trial_os: ["win", "linux", "mac"],
++ origin_trial_os: ["win", "linux", "mac", "openbsd", "freebsd"],
+ status: "experimental",
+ // Killswitch is net::features::kDeviceBoundSessions
+ base_feature: "none",
+@@ -1859,7 +1859,7 @@
name: "DocumentIsolationPolicy",
status: "experimental",
origin_trial_feature_name: "DocumentIsolationPolicy",
@@ -18,7 +63,7 @@
base_feature: "none",
},
{
-@@ -2017,7 +2017,7 @@
+@@ -2119,7 +2119,7 @@
base_feature: "none",
public: true,
origin_trial_feature_name: "FedCmMultipleIdentityProviders",
@@ -27,7 +72,7 @@
origin_trial_allows_third_party: true,
},
{
-@@ -3434,7 +3434,7 @@
+@@ -3615,7 +3615,7 @@
// Tracking bug for the implementation: https://crbug.com/1462930
name: "PermissionElement",
origin_trial_feature_name: "PermissionElement",
@@ -36,16 +81,7 @@
status: "experimental",
public: true,
base_feature_status: "enabled",
-@@ -3592,7 +3592,7 @@
- {
- name: "PrivateNetworkAccessPermissionPrompt",
- origin_trial_feature_name: "PrivateNetworkAccessPermissionPrompt",
-- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos"],
-+ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "openbsd", "freebsd"],
- status: "stable",
- public: true,
- base_feature: "none",
-@@ -4811,7 +4811,7 @@
+@@ -5157,7 +5157,7 @@
name: "UnrestrictedSharedArrayBuffer",
base_feature: "none",
origin_trial_feature_name: "UnrestrictedSharedArrayBuffer",
@@ -54,7 +90,7 @@
},
// Enables using policy-controlled feature "usb-unrestricted" to allow
// isolated context to access protected USB interface classes and to
-@@ -4997,7 +4997,7 @@
+@@ -5355,7 +5355,7 @@
{
name: "WebAppScopeExtensions",
origin_trial_feature_name: "WebAppScopeExtensions",
@@ -63,7 +99,16 @@
status: "experimental",
base_feature: "none",
},
-@@ -5265,7 +5265,7 @@
+@@ -5457,7 +5457,7 @@
+ {
+ name: "WebAuthenticationImmediateGet",
+ origin_trial_feature_name: "WebAuthenticationImmediateGet",
+- origin_trial_os: ["win", "mac", "linux", "chromeos"],
++ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"],
+ base_feature: "none",
+ public: true,
+ },
+@@ -5610,7 +5610,7 @@
{
name: "WebIdentityDigitalCredentials",
origin_trial_feature_name: "WebIdentityDigitalCredentials",
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc
index 729043aaf0d6..59bd0e46d3ad 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc
@@ -1,8 +1,8 @@
---- third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/scheduler/common/thread.cc
-@@ -87,7 +87,7 @@ void Thread::CreateAndSetCompositorThread() {
- "Compositor");
- }));
+@@ -95,7 +95,7 @@ void Thread::CreateAndSetCompositorThread() {
+ // the program's lifetime once assigned.
+ base::Unretained(compositor_thread.get())));
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_OPENBSD)
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h b/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h
index 978773517689..caf78e8bfb52 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/wtf/math_extras.h.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/wtf/math_extras.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/wtf/math_extras.h
-@@ -128,6 +128,10 @@ constexpr float Grad2turn(float g) {
+@@ -130,6 +130,10 @@ constexpr float Grad2turn(float g) {
return g * (1.0f / 400.0f);
}
@@ -11,7 +11,7 @@
constexpr double RoundHalfTowardsPositiveInfinity(double value) {
return std::floor(value + 0.5);
}
-@@ -135,6 +139,9 @@ constexpr double RoundHalfTowardsPositiveInfinity(doub
+@@ -137,6 +141,9 @@ constexpr double RoundHalfTowardsPositiveInfinity(doub
constexpr float RoundHalfTowardsPositiveInfinity(float value) {
return std::floor(value + 0.5f);
}
diff --git a/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc b/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc
index f9bd5040c17a..2bb4bcf7265c 100644
--- a/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc
+++ b/www/iridium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc
@@ -1,7 +1,7 @@
---- third_party/blink/renderer/platform/wtf/stack_util.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/blink/renderer/platform/wtf/stack_util.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/blink/renderer/platform/wtf/stack_util.cc
-@@ -23,6 +23,11 @@
- extern "C" void* __libc_stack_end; // NOLINT
+@@ -27,6 +27,11 @@ extern "C" void* __libc_stack_end; // NOLINT
+ #include <sanitizer/asan_interface.h>
#endif
+#if BUILDFLAG(IS_BSD)
@@ -9,10 +9,10 @@
+#include <pthread_np.h>
+#endif
+
- namespace WTF {
+ namespace blink {
size_t GetUnderestimatedStackSize() {
-@@ -67,6 +72,8 @@ size_t GetUnderestimatedStackSize() {
+@@ -71,6 +76,8 @@ size_t GetUnderestimatedStackSize() {
// low as 512k.
//
return 512 * 1024;
@@ -21,7 +21,7 @@
#elif BUILDFLAG(IS_APPLE)
// pthread_get_stacksize_np() returns too low a value for the main thread on
// OSX 10.9,
-@@ -152,6 +159,13 @@ void* GetStackStart() {
+@@ -161,6 +168,13 @@ void* GetStackStartImpl() {
::GetCurrentThreadStackLimits(&lowLimit, &highLimit);
return reinterpret_cast<void*>(highLimit);
#endif
diff --git a/www/iridium/files/patch-third__party_cpuinfo_cpuinfo.gni b/www/iridium/files/patch-third__party_cpuinfo_cpuinfo.gni
index 7f7be13c4f18..aa8c45f27ccb 100644
--- a/www/iridium/files/patch-third__party_cpuinfo_cpuinfo.gni
+++ b/www/iridium/files/patch-third__party_cpuinfo_cpuinfo.gni
@@ -1,8 +1,8 @@
---- third_party/cpuinfo/cpuinfo.gni.orig 2025-05-07 06:48:23 UTC
+--- third_party/cpuinfo/cpuinfo.gni.orig 2025-09-11 13:19:19 UTC
+++ third_party/cpuinfo/cpuinfo.gni
-@@ -8,7 +8,7 @@ use_cpuinfo =
+@@ -7,7 +7,7 @@ use_cpuinfo =
+ current_cpu != "ppc64" && current_cpu != "ppc64le" &&
current_cpu != "s390" && current_cpu != "s390x" &&
- current_cpu != "riscv64" &&
# cpuinfo is not supported on fuchsia.
- !is_fuchsia &&
+ !is_fuchsia && !is_bsd &&
diff --git a/www/iridium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn b/www/iridium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn
index 6356850b9223..f2364f44ee61 100644
--- a/www/iridium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn
+++ b/www/iridium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/crashpad/crashpad/client/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- third_party/crashpad/crashpad/client/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/crashpad/crashpad/client/BUILD.gn
-@@ -134,6 +134,13 @@ static_library("common") {
+@@ -148,6 +148,13 @@ static_library("common") {
if (crashpad_is_win) {
sources += [ "crash_report_database_win.cc" ]
}
diff --git a/www/iridium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h b/www/iridium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h
index bacac0db1a83..cf1877e98122 100644
--- a/www/iridium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h
+++ b/www/iridium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h
@@ -1,6 +1,6 @@
---- third_party/crashpad/crashpad/util/misc/capture_context.h.orig 2025-05-07 06:48:23 UTC
+--- third_party/crashpad/crashpad/util/misc/capture_context.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/crashpad/crashpad/util/misc/capture_context.h
-@@ -21,7 +21,8 @@
+@@ -21,8 +21,11 @@
#include <mach/mach.h>
#elif BUILDFLAG(IS_WIN)
#include <windows.h>
@@ -8,9 +8,12 @@
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
+ BUILDFLAG(IS_FREEBSD)
#include <ucontext.h>
++#elif BUILDFLAG(IS_OPENBSD)
++#include <sys/signal.h>
#endif // BUILDFLAG(IS_APPLE)
-@@ -35,7 +36,8 @@ using NativeCPUContext = arm_unified_thread_state;
+ namespace crashpad {
+@@ -35,7 +38,8 @@ using NativeCPUContext = arm_unified_thread_state;
#endif
#elif BUILDFLAG(IS_WIN)
using NativeCPUContext = CONTEXT;
diff --git a/www/iridium/files/patch-third__party_ffmpeg_configure b/www/iridium/files/patch-third__party_ffmpeg_configure
index b8bf69c9a362..948f6019a5ec 100644
--- a/www/iridium/files/patch-third__party_ffmpeg_configure
+++ b/www/iridium/files/patch-third__party_ffmpeg_configure
@@ -1,6 +1,6 @@
---- third_party/ffmpeg/configure.orig 2025-06-19 07:37:57 UTC
+--- third_party/ffmpeg/configure.orig 2025-09-11 13:19:19 UTC
+++ third_party/ffmpeg/configure
-@@ -6873,8 +6873,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en
+@@ -6914,8 +6914,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en
if enabled pthread_np_h; then
hdrs="$hdrs pthread_np.h"
fi
diff --git a/www/iridium/files/patch-third__party_fontconfig_include_config.h b/www/iridium/files/patch-third__party_fontconfig_include_config.h
deleted file mode 100644
index 49d278240264..000000000000
--- a/www/iridium/files/patch-third__party_fontconfig_include_config.h
+++ /dev/null
@@ -1,49 +0,0 @@
---- third_party/fontconfig/include/config.h.orig 2025-05-07 06:48:23 UTC
-+++ third_party/fontconfig/include/config.h
-@@ -13,7 +13,7 @@
-
- #define FC_CACHEDIR "/var/cache/fontconfig"
-
--#define FC_DEFAULT_FONTS "\t<dir>/usr/share/fonts</dir>\n\t<dir>/usr/local/share/fonts</dir>\n"
-+#define FC_DEFAULT_FONTS "\t<dir>/usr/X11R6/lib/X11/fonts</dir>"
-
- #define FC_FONTPATH ""
-
-@@ -66,7 +66,7 @@
-
- #define HAVE_MMAP 1
-
--#define HAVE_POSIX_FADVISE 1
-+#define HAVE_POSIX_FADVISE 0
-
- #define HAVE_PTHREAD 1
-
-@@ -74,10 +74,13 @@
-
- #define HAVE_RANDOM 1
-
--#define HAVE_RANDOM_R 1
-+/* #undef HAVE_RANDOM_R */
-
- #define HAVE_RAND_R 1
-
-+/* Define to 1 if you have the `arc4_random' function. */
-+#define HAVE_ARC4RANDOM 1
-+
- #define HAVE_READLINK 1
-
- #define HAVE_STDATOMIC_PRIMITIVES 1
-@@ -92,11 +95,11 @@
-
- #define HAVE_SYS_PARAM_H 1
-
--#define HAVE_SYS_STATFS_H 1
-+/* #undef HAVE_SYS_STATFS_H */
-
- #define HAVE_SYS_STATVFS_H 1
-
--#define HAVE_SYS_VFS_H 1
-+/* #undef HAVE_SYS_VFS_H */
-
- #define HAVE_UNISTD_H 1
-
diff --git a/www/iridium/files/patch-third__party_fontconfig_include_meson-config.h b/www/iridium/files/patch-third__party_fontconfig_include_meson-config.h
new file mode 100644
index 000000000000..9a0fb253b2a2
--- /dev/null
+++ b/www/iridium/files/patch-third__party_fontconfig_include_meson-config.h
@@ -0,0 +1,44 @@
+--- third_party/fontconfig/include/meson-config.h.orig 2025-09-11 13:19:19 UTC
++++ third_party/fontconfig/include/meson-config.h
+@@ -17,7 +17,7 @@
+
+ #define FC_CACHEDIR "/var/cache/fontconfig"
+
+-#define FC_DEFAULT_FONTS "\t<dir>/usr/share/fonts</dir>\n\t<dir>/usr/local/share/fonts</dir>\n"
++#define FC_DEFAULT_FONTS "\t<dir>/usr/X11R6/lib/X11/fonts</dir>\n"
+
+ #define FC_FONTPATH ""
+
+@@ -98,10 +98,13 @@
+
+ #define HAVE_RANDOM 1
+
+-#define HAVE_RANDOM_R 1
++/* #undef HAVE_RANDOM_R */
+
+ #define HAVE_RAND_R 1
+
++/* Define to 1 if you have the `arc4_random' function. */
++#define HAVE_ARC4RANDOM 1
++
+ #define HAVE_READLINK 1
+
+ #define HAVE_STDATOMIC_PRIMITIVES 1
+@@ -128,7 +131,7 @@
+
+ #define HAVE_SYS_PARAM_H 1
+
+-#define HAVE_SYS_STATFS_H 1
++/* #undef HAVE_SYS_STATFS_H */
+
+ #define HAVE_SYS_STATVFS_H 1
+
+@@ -136,7 +139,7 @@
+
+ #define HAVE_SYS_TYPES_H 1
+
+-#define HAVE_SYS_VFS_H 1
++/* #undef HAVE_SYS_VFS_H */
+
+ #define HAVE_TIME_H 1
+
diff --git a/www/iridium/files/patch-third__party_fontconfig_src_src_fccompat.c b/www/iridium/files/patch-third__party_fontconfig_src_src_fccompat.c
index d059747b97e9..3adce5f95113 100644
--- a/www/iridium/files/patch-third__party_fontconfig_src_src_fccompat.c
+++ b/www/iridium/files/patch-third__party_fontconfig_src_src_fccompat.c
@@ -1,6 +1,6 @@
---- third_party/fontconfig/src/src/fccompat.c.orig 2025-05-07 06:48:23 UTC
+--- third_party/fontconfig/src/src/fccompat.c.orig 2025-09-11 13:19:19 UTC
+++ third_party/fontconfig/src/src/fccompat.c
-@@ -184,7 +184,9 @@ FcRandom(void)
+@@ -175,7 +175,9 @@ FcRandom (void)
{
int32_t result;
@@ -9,5 +9,5 @@
+ result = arc4random() & 0x7fffffff;
+#elif HAVE_RANDOM_R
static struct random_data fcrandbuf;
- static char statebuf[256];
- static FcBool initialized = FcFalse;
+ static char statebuf[256];
+ static FcBool initialized = FcFalse;
diff --git a/www/iridium/files/patch-third__party_ipcz_src_reference__drivers_random.cc b/www/iridium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
index 37f2fb46ba67..7ed570463a05 100644
--- a/www/iridium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
+++ b/www/iridium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
@@ -1,6 +1,6 @@
---- third_party/ipcz/src/reference_drivers/random.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/ipcz/src/reference_drivers/random.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/ipcz/src/reference_drivers/random.cc
-@@ -55,7 +55,7 @@ decltype(&ProcessPrng) GetProcessPrng() {
+@@ -53,7 +53,7 @@ decltype(&ProcessPrng) GetProcessPrng() {
}
#endif
@@ -9,7 +9,7 @@
void RandomBytesFromDevUrandom(absl::Span<uint8_t> destination) {
static int urandom_fd = [] {
for (;;) {
-@@ -99,7 +99,7 @@ void RandomBytes(absl::Span<uint8_t> destination) {
+@@ -97,7 +97,7 @@ void RandomBytes(absl::Span<uint8_t> destination) {
return;
}
}
diff --git a/www/iridium/files/patch-third__party_leveldatabase_env__chromium.cc b/www/iridium/files/patch-third__party_leveldatabase_env__chromium.cc
index caff4dae5dd8..312ac1aaffdd 100644
--- a/www/iridium/files/patch-third__party_leveldatabase_env__chromium.cc
+++ b/www/iridium/files/patch-third__party_leveldatabase_env__chromium.cc
@@ -1,6 +1,6 @@
---- third_party/leveldatabase/env_chromium.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/leveldatabase/env_chromium.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/leveldatabase/env_chromium.cc
-@@ -329,7 +329,8 @@ ChromiumWritableFile::ChromiumWritableFile(const std::
+@@ -330,7 +330,8 @@ ChromiumWritableFile::ChromiumWritableFile(const std::
Status ChromiumWritableFile::SyncParent() {
TRACE_EVENT0("leveldb", "SyncParent");
diff --git a/www/iridium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp b/www/iridium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp
index faf27430f378..b43c9d3062fa 100644
--- a/www/iridium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp
+++ b/www/iridium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp
@@ -1,6 +1,6 @@
---- third_party/libc++/src/src/filesystem/filesystem_clock.cpp.orig 2025-05-07 06:48:23 UTC
+--- third_party/libc++/src/src/filesystem/filesystem_clock.cpp.orig 2025-09-11 13:19:19 UTC
+++ third_party/libc++/src/src/filesystem/filesystem_clock.cpp
-@@ -35,7 +35,7 @@
+@@ -37,7 +37,7 @@
#endif
#if defined(__APPLE__) || defined(__gnu_hurd__) || defined(__AMDGPU__) || defined(__NVPTX__) || \
diff --git a/www/iridium/files/patch-third__party_node_check__version.py b/www/iridium/files/patch-third__party_node_check__version.py
new file mode 100644
index 000000000000..87400a035dbd
--- /dev/null
+++ b/www/iridium/files/patch-third__party_node_check__version.py
@@ -0,0 +1,14 @@
+--- third_party/node/check_version.py.orig 2025-09-11 13:19:19 UTC
++++ third_party/node/check_version.py
+@@ -17,11 +17,6 @@ def main(argv):
+ parser.add_argument('--out_file', required=True)
+ args = parser.parse_args(argv)
+
+- node.RunNode([
+- os.path.join(_HERE_PATH, 'check_version.js'),
+- '--expected_version_file', args.expected_version_file,
+- ])
+-
+ # If the above script succeeded, write a dummy output file, since Ninja
+ # requires every target to have an output.
+ with open(args.out_file, "w") as file:
diff --git a/www/iridium/files/patch-third__party_node_node.gni b/www/iridium/files/patch-third__party_node_node.gni
index d9514181eda2..aa645a1c3697 100644
--- a/www/iridium/files/patch-third__party_node_node.gni
+++ b/www/iridium/files/patch-third__party_node_node.gni
@@ -1,4 +1,4 @@
---- third_party/node/node.gni.orig 2025-05-07 06:48:23 UTC
+--- third_party/node/node.gni.orig 2025-09-11 13:19:19 UTC
+++ third_party/node/node.gni
@@ -22,7 +22,7 @@ template("node") {
@@ -9,21 +9,3 @@
inputs += [ "//third_party/node/linux/node-linux-x64/bin/node" ]
}
if (is_win && host_os == "win") {
-@@ -34,17 +34,6 @@ template("node") {
- } else {
- inputs += [ "//third_party/node/mac/node-darwin-x64/bin/node" ]
- }
-- }
--
-- # Automatically add a dependency to ":check_version" to ensure NodeJS is
-- # always running the expected version, except when the ':check_version'
-- # target itself is running in which case it shouldn't depend on itself.
-- if (get_label_info(":" + target_name, "label_no_toolchain") !=
-- "//third_party/node:check_version") {
-- if (!defined(deps)) {
-- deps = []
-- }
-- deps += [ "//third_party/node:check_version" ]
- }
- }
- }
diff --git a/www/iridium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp b/www/iridium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp
deleted file mode 100644
index d8a9247d548c..000000000000
--- a/www/iridium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- third_party/pdfium/core/fxcodec/png/png_decoder.cpp.orig 2025-06-19 07:37:57 UTC
-+++ third_party/pdfium/core/fxcodec/png/png_decoder.cpp
-@@ -52,8 +52,8 @@ void _png_load_bmp_attribute(png_structp png_ptr,
- CFX_DIBAttribute* pAttribute) {
- if (pAttribute) {
- #if defined(PNG_pHYs_SUPPORTED)
-- pAttribute->xdpi_ = png_get_x_pixels_per_meter(png_ptr, info_ptr);
-- pAttribute->ydpi_ = png_get_y_pixels_per_meter(png_ptr, info_ptr);
-+ pAttribute->x_dpi_ = png_get_x_pixels_per_meter(png_ptr, info_ptr);
-+ pAttribute->y_dpi_ = png_get_y_pixels_per_meter(png_ptr, info_ptr);
- png_uint_32 res_x, res_y;
- int unit_type;
- png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type);
diff --git a/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp b/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
index 001426b797ce..d4af636ca6d8 100644
--- a/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
+++ b/www/iridium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
@@ -1,6 +1,6 @@
---- third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2025-06-19 07:37:57 UTC
+--- third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2025-09-11 13:19:19 UTC
+++ third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp
-@@ -20,7 +20,7 @@
+@@ -19,7 +19,7 @@
#include "core/fxge/fx_font.h"
#include "core/fxge/systemfontinfo_iface.h"
@@ -9,7 +9,7 @@
#error "Included on the wrong platform"
#endif
-@@ -180,9 +180,8 @@ class CLinuxPlatform : public CFX_GEModule::PlatformIf
+@@ -179,9 +179,8 @@ class CLinuxPlatform : public CFX_GEModule::PlatformIf
std::unique_ptr<SystemFontInfoIface> CreateDefaultSystemFontInfo() override {
auto pInfo = std::make_unique<CFX_LinuxFontInfo>();
if (!pInfo->ParseFontCfg(CFX_GEModule::Get()->GetUserFontPaths())) {
diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_event__fd.cc b/www/iridium/files/patch-third__party_perfetto_src_base_event__fd.cc
index 39cdb802c700..8219458ee889 100644
--- a/www/iridium/files/patch-third__party_perfetto_src_base_event__fd.cc
+++ b/www/iridium/files/patch-third__party_perfetto_src_base_event__fd.cc
@@ -1,6 +1,6 @@
---- third_party/perfetto/src/base/event_fd.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/perfetto/src/base/event_fd.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/perfetto/src/base/event_fd.cc
-@@ -24,7 +24,8 @@
+@@ -25,7 +25,8 @@
#include <synchapi.h>
#elif PERFETTO_BUILDFLAG(PERFETTO_OS_QNX)
#include <unistd.h>
@@ -10,7 +10,7 @@
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
#include <sys/eventfd.h>
#include <unistd.h>
-@@ -59,7 +60,8 @@ void EventFd::Clear() {
+@@ -60,7 +61,8 @@ void EventFd::Clear() {
PERFETTO_DFATAL("EventFd::Clear()");
}
diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc b/www/iridium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc
new file mode 100644
index 000000000000..cbca39f9ba0f
--- /dev/null
+++ b/www/iridium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc
@@ -0,0 +1,26 @@
+--- third_party/perfetto/src/base/scoped_sched_boost.cc.orig 2025-09-11 13:19:19 UTC
++++ third_party/perfetto/src/base/scoped_sched_boost.cc
+@@ -18,8 +18,9 @@
+
+ #include "perfetto/ext/base/status_macros.h"
+
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
+ #include <sched.h> // for 'SCHED_' macros and 'sched_' functions
+ #include <sys/resource.h> // for 'setpriority', 'getpriority', 'PRIO_PROCESS'
+ #include <sys/types.h> // for 'pid_t'
+@@ -31,8 +32,9 @@
+
+ namespace perfetto::base {
+
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
+
+ namespace {
+ constexpr pid_t kCurrentPid = 0;
diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc b/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc
index 1fef84f49aef..c22272388abf 100644
--- a/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc
+++ b/www/iridium/files/patch-third__party_perfetto_src_base_string__utils.cc
@@ -1,7 +1,7 @@
---- third_party/perfetto/src/base/string_utils.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/perfetto/src/base/string_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/perfetto/src/base/string_utils.cc
@@ -39,7 +39,8 @@ namespace base {
- // Locale-independant as possible version of strtod.
+ // Locale-independent as possible version of strtod.
double StrToD(const char* nptr, char** endptr) {
#if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc b/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc
index e553a2ea6470..f6034150c208 100644
--- a/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc
+++ b/www/iridium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc
@@ -1,6 +1,6 @@
---- third_party/perfetto/src/base/test/vm_test_utils.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/perfetto/src/base/test/vm_test_utils.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/perfetto/src/base/test/vm_test_utils.cc
-@@ -93,7 +93,7 @@ bool IsMapped(void* start, size_t size) {
+@@ -92,7 +92,7 @@ bool IsMapped(void* start, size_t size) {
// Fuchsia doesn't yet support paging (b/119503290).
ignore_result(page_size);
return true;
diff --git a/www/iridium/files/patch-third__party_perfetto_src_base_utils.cc b/www/iridium/files/patch-third__party_perfetto_src_base_utils.cc
index e2298ba7ee7e..f46eb6aec4e8 100644
--- a/www/iridium/files/patch-third__party_perfetto_src_base_utils.cc
+++ b/www/iridium/files/patch-third__party_perfetto_src_base_utils.cc
@@ -1,4 +1,4 @@
---- third_party/perfetto/src/base/utils.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/perfetto/src/base/utils.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/perfetto/src/base/utils.cc
@@ -38,7 +38,8 @@
#include <mach/vm_page_size.h>
@@ -10,7 +10,7 @@
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
#include <sys/prctl.h>
-@@ -279,14 +280,22 @@ void Daemonize(std::function<int()> parent_cb) {
+@@ -280,14 +281,22 @@ void Daemonize(std::function<int()> parent_cb) {
std::string GetCurExecutablePath() {
std::string self_path;
@@ -35,7 +35,7 @@
#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)
uint32_t size = 0;
PERFETTO_CHECK(_NSGetExecutablePath(nullptr, &size));
-@@ -338,7 +347,8 @@ void AlignedFree(void* ptr) {
+@@ -339,7 +348,8 @@ void AlignedFree(void* ptr) {
}
bool IsSyncMemoryTaggingEnabled() {
diff --git a/www/iridium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc b/www/iridium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
index 74572cde16d4..39fba27c0fc0 100644
--- a/www/iridium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
+++ b/www/iridium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
@@ -1,6 +1,6 @@
---- third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc
-@@ -62,7 +62,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -59,7 +59,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kV4l2QbufFieldNumber: {
V4l2QbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -9,7 +9,7 @@
evt.index = pb_evt.index();
evt.type = pb_evt.type();
evt.bytesused = pb_evt.bytesused();
-@@ -103,7 +103,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -100,7 +100,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kV4l2DqbufFieldNumber: {
V4l2DqbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -18,7 +18,7 @@
evt.index = pb_evt.index();
evt.type = pb_evt.type();
evt.bytesused = pb_evt.bytesused();
-@@ -149,7 +149,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -146,7 +146,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2BufQueueFieldNumber: {
Vb2V4l2BufQueueFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -27,7 +27,7 @@
evt.index = std::nullopt;
evt.type = std::nullopt;
evt.bytesused = std::nullopt;
-@@ -180,7 +180,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -177,7 +177,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2BufDoneFieldNumber: {
Vb2V4l2BufDoneFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -36,7 +36,7 @@
evt.index = std::nullopt;
evt.type = std::nullopt;
evt.bytesused = std::nullopt;
-@@ -211,7 +211,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -208,7 +208,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2QbufFieldNumber: {
Vb2V4l2QbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -45,7 +45,7 @@
evt.index = std::nullopt;
evt.type = std::nullopt;
evt.bytesused = std::nullopt;
-@@ -242,7 +242,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -239,7 +239,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2DqbufFieldNumber: {
Vb2V4l2DqbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
diff --git a/www/iridium/files/patch-third__party_protobuf_proto__library.gni b/www/iridium/files/patch-third__party_protobuf_proto__library.gni
new file mode 100644
index 000000000000..8ee27d2cd909
--- /dev/null
+++ b/www/iridium/files/patch-third__party_protobuf_proto__library.gni
@@ -0,0 +1,19 @@
+--- third_party/protobuf/proto_library.gni.orig 2025-09-11 13:19:19 UTC
++++ third_party/protobuf/proto_library.gni
+@@ -260,7 +260,15 @@ _protoc_gen_ts_runtime_deps = [
+
+ # When use_remoteexec=true, node actions may run on remote
+ # Linux worker. So it should include linux node binary in inputs.
+-if (is_linux || is_chromeos || use_remoteexec) {
++if (is_openbsd) {
++ _protoc_gen_ts_runtime_deps +=
++ [ "//third_party/node/openbsd/node-openbsd/bin/node" ]
++}
++if (is_freebsd) {
++ _protoc_gen_ts_runtime_deps +=
++ [ "//third_party/node/freebsd/node-freebsd/bin/node" ]
++}
++if (!is_bsd && (is_linux || is_chromeos || use_remoteexec)) {
+ _protoc_gen_ts_runtime_deps +=
+ [ "//third_party/node/linux/node-linux-x64/bin/node" ]
+ }
diff --git a/www/iridium/files/patch-third__party_rust_qr__code_v2_BUILD.gn b/www/iridium/files/patch-third__party_rust_qr__code_v2_BUILD.gn
new file mode 100644
index 000000000000..23a8a4236212
--- /dev/null
+++ b/www/iridium/files/patch-third__party_rust_qr__code_v2_BUILD.gn
@@ -0,0 +1,13 @@
+--- third_party/rust/qr_code/v2/BUILD.gn.orig 2025-09-11 13:19:19 UTC
++++ third_party/rust/qr_code/v2/BUILD.gn
+@@ -40,6 +40,10 @@ cargo_crate("lib") {
+ cargo_pkg_repository = "https://github.com/RCasatta/qr_code"
+ cargo_pkg_version = "2.0.0"
+
++ rustflags = [
++ "--cap-lints=allow",
++ ]
++
+ allow_unsafe = false
+
+ #####################################################################
diff --git a/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h b/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h
index 9dc9933859a7..22ebe0b306e9 100644
--- a/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h
+++ b/www/iridium/files/patch-third__party_speech-dispatcher_libspeechd__version.h
@@ -1,4 +1,4 @@
---- third_party/speech-dispatcher/libspeechd_version.h.orig 2025-06-19 07:37:57 UTC
+--- third_party/speech-dispatcher/libspeechd_version.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/speech-dispatcher/libspeechd_version.h
@@ -0,0 +1,29 @@
+/*
@@ -19,7 +19,7 @@
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
-+ * $Id: patch-third_party_speech-dispatcher_libspeechd_version_h,v 1.12 2025/06/10 11:54:02 robert Exp $
++ * $Id: patch-third_party_speech-dispatcher_libspeechd_version_h,v 1.14 2025/09/10 18:07:46 robert Exp $
+ */
+
+#ifndef _LIBSPEECHD_VERSION_H
diff --git a/www/iridium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c b/www/iridium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c
index 3e4e838bfc14..d8680a69f54f 100644
--- a/www/iridium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c
+++ b/www/iridium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c
@@ -1,6 +1,6 @@
---- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2025-05-08 06:33:24 UTC
+--- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2025-09-11 13:19:19 UTC
+++ third_party/sqlite/src/amalgamation_dev/sqlite3.c
-@@ -14486,7 +14486,7 @@ struct fts5_api {
+@@ -14552,7 +14552,7 @@ struct fts5_api {
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
** it.
*/
diff --git a/www/iridium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c b/www/iridium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c
index 6f5ce9d09c77..ed021edfbcf1 100644
--- a/www/iridium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c
+++ b/www/iridium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c
@@ -1,6 +1,6 @@
---- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2025-05-08 06:33:24 UTC
+--- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2025-09-11 13:19:19 UTC
+++ third_party/sqlite/src/amalgamation/sqlite3.c
-@@ -14486,7 +14486,7 @@ struct fts5_api {
+@@ -14552,7 +14552,7 @@ struct fts5_api {
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
** it.
*/
@@ -9,7 +9,7 @@
# define _XOPEN_SOURCE 600
#endif
-@@ -45387,7 +45387,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
+@@ -45644,7 +45644,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
memset(zBuf, 0, nBuf);
randomnessPid = osGetpid(0);
#if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS)
@@ -22,7 +22,7 @@
int fd, got;
fd = robust_open("/dev/urandom", O_RDONLY, 0);
if( fd<0 ){
-@@ -45402,6 +45407,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
+@@ -45659,6 +45664,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
robust_close(0, fd, __LINE__);
}
}
diff --git a/www/iridium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn b/www/iridium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
index d235278a832f..a0b2d13d364a 100644
--- a/www/iridium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
+++ b/www/iridium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/test_fonts/fontconfig/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- third_party/test_fonts/fontconfig/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/test_fonts/fontconfig/BUILD.gn
@@ -26,7 +26,11 @@ if (is_linux || is_chromeos) {
@@ -24,5 +24,5 @@
+ inputs = [ "$root_out_dir/etc/fonts/fonts.conf" ]
+ }
outputs = [
- "$root_out_dir/fontconfig_caches/fb5c91b2895aa445d23aebf7f9e2189c-le64.cache-9",
+ "$root_out_dir/fontconfig_caches/fb5c91b2895aa445d23aebf7f9e2189c-le64.cache-reindex1-10",
"$root_out_dir/fontconfig_caches/CACHEDIR.TAG",
diff --git a/www/iridium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc b/www/iridium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
index b835c35d30ae..91326d99d734 100644
--- a/www/iridium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
+++ b/www/iridium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
@@ -1,11 +1,11 @@
---- third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc
@@ -56,7 +56,7 @@ int main() {
FcFini();
// Check existence of intended fontconfig cache file.
-- auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-9";
-+ auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-" + FC_CACHE_VERSION;
+- auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-reindex1-10";
++ auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-reindex1-" + FC_CACHE_VERSION;
bool cache_exists = access(cache.c_str(), F_OK) == 0;
return !cache_exists;
}
diff --git a/www/iridium/files/patch-third__party_webrtc_BUILD.gn b/www/iridium/files/patch-third__party_webrtc_BUILD.gn
index 1a49805de158..923499ee4922 100644
--- a/www/iridium/files/patch-third__party_webrtc_BUILD.gn
+++ b/www/iridium/files/patch-third__party_webrtc_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/webrtc/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- third_party/webrtc/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/BUILD.gn
-@@ -219,6 +219,9 @@ config("common_inherited_config") {
+@@ -220,6 +220,9 @@ config("common_inherited_config") {
if (is_linux || is_chromeos) {
defines += [ "WEBRTC_LINUX" ]
}
diff --git a/www/iridium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn b/www/iridium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
index a7dfaa7709b4..1e47d323fe32 100644
--- a/www/iridium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
+++ b/www/iridium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/webrtc/modules/audio_device/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- third_party/webrtc/modules/audio_device/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/modules/audio_device/BUILD.gn
-@@ -330,7 +330,7 @@ rtc_library("audio_device_impl") {
+@@ -329,7 +329,7 @@ rtc_library("audio_device_impl") {
if (rtc_use_dummy_audio_file_devices) {
defines += [ "WEBRTC_DUMMY_FILE_DEVICES" ]
} else {
diff --git a/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc b/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc
index 8ad54395a1f9..0acb5ae166d7 100644
--- a/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc
+++ b/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc
@@ -1,12 +1,12 @@
---- third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc
-@@ -11,7 +11,9 @@
- #include "modules/desktop_capture/linux/wayland/egl_dmabuf.h"
-
- #include <EGL/eglext.h>
+@@ -15,7 +15,9 @@
+ #include <EGL/eglplatform.h>
+ #include <GL/gl.h>
+ #include <GL/glext.h>
+#if !defined(WEBRTC_BSD)
#include <asm/ioctl.h>
+#endif
#include <dlfcn.h>
#include <fcntl.h>
- #include <libdrm/drm_fourcc.h>
+ #include <gbm.h>
diff --git a/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc b/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc
index 4d8f7be47062..2af26d5eee22 100644
--- a/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc
+++ b/www/iridium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc
@@ -1,6 +1,6 @@
---- third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc
-@@ -203,6 +203,12 @@ bool XServerPixelBuffer::Init(XAtomCache* cache, Windo
+@@ -212,6 +212,12 @@ bool XServerPixelBuffer::Init(XAtomCache* cache, Windo
void XServerPixelBuffer::InitShm(const XWindowAttributes& attributes) {
Visual* default_visual = attributes.visual;
int default_depth = attributes.depth;
diff --git a/www/iridium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h b/www/iridium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h
new file mode 100644
index 000000000000..bbc22009a9b8
--- /dev/null
+++ b/www/iridium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h
@@ -0,0 +1,12 @@
+--- third_party/webrtc/modules/portal/pipewire_utils.h.orig 2025-09-11 13:19:19 UTC
++++ third_party/webrtc/modules/portal/pipewire_utils.h
+@@ -11,7 +11,9 @@
+ #ifndef MODULES_PORTAL_PIPEWIRE_UTILS_H_
+ #define MODULES_PORTAL_PIPEWIRE_UTILS_H_
+
++#if defined(__linux__)
+ #include <asm-generic/ioctl.h>
++#endif
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_byte__order.h b/www/iridium/files/patch-third__party_webrtc_rtc__base_byte__order.h
index dfdb3fb0e036..fc6b76a7e474 100644
--- a/www/iridium/files/patch-third__party_webrtc_rtc__base_byte__order.h
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_byte__order.h
@@ -1,6 +1,6 @@
---- third_party/webrtc/rtc_base/byte_order.h.orig 2025-05-07 06:48:23 UTC
+--- third_party/webrtc/rtc_base/byte_order.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/rtc_base/byte_order.h
-@@ -90,6 +90,8 @@
+@@ -82,6 +82,8 @@
#error WEBRTC_ARCH_BIG_ENDIAN or WEBRTC_ARCH_LITTLE_ENDIAN must be defined.
#endif // defined(WEBRTC_ARCH_LITTLE_ENDIAN)
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc
new file mode 100644
index 000000000000..87155702ad9f
--- /dev/null
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc
@@ -0,0 +1,24 @@
+--- third_party/webrtc/rtc_base/cpu_info.cc.orig 2025-09-11 13:19:19 UTC
++++ third_party/webrtc/rtc_base/cpu_info.cc
+@@ -37,7 +37,9 @@
+ #include <intrin.h>
+ #endif
+ #if defined(WEBRTC_ARCH_ARM_FAMILY) && defined(WEBRTC_LINUX)
++#if !defined(WEBRTC_BSD)
+ #include <asm/hwcap.h>
++#endif
+ #include <sys/auxv.h>
+ #endif
+
+@@ -178,7 +180,11 @@ bool Supports(ISA instruction_set_architecture) {
+ return 0 != (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON);
+ #elif defined(WEBRTC_LINUX)
+ uint64_t hwcap = 0;
++#if defined(WEBRTC_BSD)
++ elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap));
++#else
+ hwcap = getauxval(AT_HWCAP);
++#endif
+ #if defined(__aarch64__)
+ if ((hwcap & HWCAP_ASIMD) != 0) {
+ return true;
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_ip__address.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_ip__address.cc
index ae651b427310..4ed3ea4153cc 100644
--- a/www/iridium/files/patch-third__party_webrtc_rtc__base_ip__address.cc
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_ip__address.cc
@@ -1,12 +1,12 @@
---- third_party/webrtc/rtc_base/ip_address.cc.orig 2025-05-07 06:48:23 UTC
+--- third_party/webrtc/rtc_base/ip_address.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/rtc_base/ip_address.cc
-@@ -14,7 +14,8 @@
- #include <cstring>
- #include <string>
+@@ -22,7 +22,8 @@
+ #include "rtc_base/string_utils.h"
+
#if defined(WEBRTC_POSIX)
-#ifdef OPENBSD
+#if defined(WEBRTC_BSD)
+#include <sys/types.h>
#include <netinet/in_systm.h>
#endif
- #ifndef __native_client__
+ #include <netdb.h>
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc
index 447b7ed2af8f..7333dc597a7e 100644
--- a/www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc
@@ -1,10 +1,10 @@
---- third_party/webrtc/rtc_base/net_helpers.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/webrtc/rtc_base/net_helpers.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/rtc_base/net_helpers.cc
-@@ -21,6 +21,7 @@
+@@ -20,6 +20,7 @@
#endif
- #if defined(WEBRTC_POSIX) && !defined(__native_client__)
+ #if defined(WEBRTC_POSIX)
#include <arpa/inet.h>
+#include <sys/socket.h>
- #endif // defined(WEBRTC_POSIX) && !defined(__native_client__)
+ #endif // defined(WEBRTC_POSIX)
namespace webrtc {
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc
index b625a2535c02..fccf889ca242 100644
--- a/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_network.cc
@@ -1,6 +1,6 @@
---- third_party/webrtc/rtc_base/network.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/webrtc/rtc_base/network.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/rtc_base/network.cc
-@@ -316,7 +316,12 @@ AdapterType GetAdapterTypeFromName(absl::string_view n
+@@ -303,7 +303,12 @@ AdapterType GetAdapterTypeFromName(absl::string_view n
}
#endif
@@ -8,7 +8,7 @@
+ // Treat all other network interface names as ethernet on BSD
+ return webrtc::ADAPTER_TYPE_ETHERNET;
+#else
- return webrtc::ADAPTER_TYPE_UNKNOWN;
+ return ADAPTER_TYPE_UNKNOWN;
+#endif
}
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
index 8078c4e7f344..3b1369995495 100644
--- a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
@@ -1,24 +1,24 @@
---- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/rtc_base/physical_socket_server.cc
-@@ -65,7 +65,7 @@
- #include "rtc_base/synchronization/mutex.h"
- #include "rtc_base/time_utils.h"
+@@ -61,7 +61,7 @@
+ #undef SetPort
+ #endif
-#if defined(WEBRTC_LINUX)
+#if defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD)
+ #include <asm-generic/socket.h>
#include <linux/sockios.h>
- #endif
-
-@@ -85,7 +85,7 @@ typedef void* SockOptArg;
-
+ #include <sys/epoll.h>
+@@ -78,7 +78,7 @@
+ typedef void* SockOptArg;
#endif // WEBRTC_POSIX
--#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__)
-+#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__) && !defined(WEBRTC_BSD)
-
+-#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC)
++#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(WEBRTC_BSD)
int64_t GetSocketRecvTimestamp(int socket) {
struct timeval tv_ioctl;
-@@ -341,7 +341,7 @@ int PhysicalSocket::GetOption(Option opt, int* value)
+ int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
+@@ -331,7 +331,7 @@ int PhysicalSocket::GetOption(Option opt, int* value)
return -1;
}
if (opt == OPT_DONTFRAGMENT) {
@@ -27,7 +27,7 @@
*value = (*value != IP_PMTUDISC_DONT) ? 1 : 0;
#endif
} else if (opt == OPT_DSCP) {
-@@ -370,7 +370,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
+@@ -360,7 +360,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
if (TranslateOption(opt, &slevel, &sopt) == -1)
return -1;
if (opt == OPT_DONTFRAGMENT) {
@@ -36,7 +36,7 @@
value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
#endif
} else if (opt == OPT_DSCP) {
-@@ -401,7 +401,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
+@@ -391,7 +391,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
int PhysicalSocket::Send(const void* pv, size_t cb) {
int sent = DoSend(
s_, reinterpret_cast<const char*>(pv), static_cast<int>(cb),
@@ -45,7 +45,7 @@
// Suppress SIGPIPE. Without this, attempting to send on a socket whose
// other end is closed will result in a SIGPIPE signal being raised to
// our process, which by default will terminate the process, which we
-@@ -430,7 +430,7 @@ int PhysicalSocket::SendTo(const void* buffer,
+@@ -420,7 +420,7 @@ int PhysicalSocket::SendTo(const void* buffer,
size_t len = addr.ToSockAddrStorage(&saddr);
int sent =
DoSendTo(s_, static_cast<const char*>(buffer), static_cast<int>(length),
@@ -54,16 +54,16 @@
// Suppress SIGPIPE. See above for explanation.
MSG_NOSIGNAL,
#else
-@@ -708,7 +708,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -698,7 +698,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
*slevel = IPPROTO_IP;
*sopt = IP_DONTFRAGMENT;
break;
--#elif defined(WEBRTC_MAC) || defined(BSD) || defined(__native_client__)
-+#elif defined(WEBRTC_MAC) || defined(WEBRTC_BSD) || defined(__native_client__)
+-#elif defined(WEBRTC_MAC) || defined(BSD)
++#elif defined(WEBRTC_MAC) || defined(WEBRTC_BSD)
RTC_LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported.";
return -1;
#elif defined(WEBRTC_POSIX)
-@@ -757,7 +757,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -747,7 +747,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
return -1;
#endif
case OPT_RECV_ECN:
@@ -72,7 +72,7 @@
if (family_ == AF_INET6) {
*slevel = IPPROTO_IPV6;
*sopt = IPV6_RECVTCLASS;
-@@ -777,10 +777,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -767,10 +767,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
*sopt = SO_KEEPALIVE;
break;
case OPT_TCP_KEEPCNT:
@@ -92,7 +92,7 @@
*slevel = IPPROTO_TCP;
#if !defined(WEBRTC_MAC)
*sopt = TCP_KEEPIDLE;
-@@ -788,12 +797,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -778,12 +787,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
*sopt = TCP_KEEPALIVE;
#endif
break;
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h
index dd8c47fe639d..e292e2be5f23 100644
--- a/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h
@@ -1,6 +1,6 @@
---- third_party/webrtc/rtc_base/physical_socket_server.h.orig 2025-06-19 07:37:57 UTC
+--- third_party/webrtc/rtc_base/physical_socket_server.h.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/rtc_base/physical_socket_server.h
-@@ -21,7 +21,7 @@
+@@ -22,7 +22,7 @@
#include "rtc_base/third_party/sigslot/sigslot.h"
#if defined(WEBRTC_POSIX)
diff --git a/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc b/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc
index 3c35b9320087..792f1c3104d6 100644
--- a/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc
+++ b/www/iridium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc
@@ -1,16 +1,21 @@
---- third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2025-06-19 07:37:57 UTC
+--- third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2025-09-11 13:19:19 UTC
+++ third_party/webrtc/rtc_base/platform_thread_types.cc
-@@ -12,7 +12,9 @@
+@@ -12,11 +12,13 @@
// IWYU pragma: begin_keep
#if defined(WEBRTC_LINUX)
+#if !defined(WEBRTC_BSD)
+ #include <linux/prctl.h>
#include <sys/prctl.h>
+#endif
#include <sys/syscall.h>
- #endif
-@@ -46,6 +48,8 @@ PlatformThreadId CurrentThreadId() {
+-#if !defined(WEBRTC_ARCH_ARM) && !defined(WEBRTC_ARCH_ARM64)
++#if !defined(WEBRTC_ARCH_ARM) && !defined(WEBRTC_ARCH_ARM64) && !defined(WEBRTC_BSD)
+ #include <asm/unistd_64.h>
+ #endif
+ #endif
+@@ -50,6 +52,8 @@ PlatformThreadId CurrentThreadId() {
return gettid();
#elif defined(WEBRTC_FUCHSIA)
return zx_thread_self();
@@ -19,7 +24,7 @@
#elif defined(WEBRTC_LINUX)
return syscall(__NR_gettid);
#elif defined(__EMSCRIPTEN__)
-@@ -76,6 +80,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons
+@@ -80,6 +84,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons
}
void SetCurrentThreadName(const char* name) {
@@ -27,7 +32,7 @@
#if defined(WEBRTC_WIN)
// The SetThreadDescription API works even if no debugger is attached.
// The names set with this API also show up in ETW traces. Very handy.
-@@ -122,6 +127,7 @@ void SetCurrentThreadName(const char* name) {
+@@ -126,6 +131,7 @@ void SetCurrentThreadName(const char* name) {
zx_status_t status = zx_object_set_property(zx_thread_self(), ZX_PROP_NAME,
name, strlen(name));
RTC_DCHECK_EQ(status, ZX_OK);
diff --git a/www/iridium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn b/www/iridium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
deleted file mode 100644
index b76b9de85de4..000000000000
--- a/www/iridium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/webrtc/system_wrappers/BUILD.gn.orig 2025-05-07 06:48:23 UTC
-+++ third_party/webrtc/system_wrappers/BUILD.gn
-@@ -62,8 +62,6 @@ rtc_library("system_wrappers") {
- if (!build_with_chromium) {
- sources += [ "source/cpu_features_linux.cc" ]
- }
--
-- libs += [ "rt" ]
- }
-
- if (is_win) {
diff --git a/www/iridium/files/patch-third__party_zlib_BUILD.gn b/www/iridium/files/patch-third__party_zlib_BUILD.gn
index c5a4d4a5a151..40a8e7fa9ea6 100644
--- a/www/iridium/files/patch-third__party_zlib_BUILD.gn
+++ b/www/iridium/files/patch-third__party_zlib_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/zlib/BUILD.gn.orig 2025-05-07 06:48:23 UTC
+--- third_party/zlib/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ third_party/zlib/BUILD.gn
@@ -128,7 +128,7 @@ if (use_arm_neon_optimizations) {
defines = [ "CRC32_ARMV8_CRC32" ]
@@ -20,12 +20,12 @@
} else {
assert(false, "Unsupported ARM OS")
}
-@@ -413,7 +417,7 @@ static_library("minizip") {
+@@ -419,7 +423,7 @@ static_library("minizip") {
]
}
-- if (is_apple || is_android || is_nacl) {
-+ if (is_apple || is_android || is_nacl || is_bsd) {
+- if (is_apple || is_android) {
++ if (is_apple || is_android || is_bsd) {
# Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We
# use fopen, ftell, and fseek instead on these systems.
defines = [ "USE_FILE32API" ]
diff --git a/www/iridium/files/patch-tools_gn_build_gen.py b/www/iridium/files/patch-tools_gn_build_gen.py
index fb7e19d24d89..6c84bea2f819 100644
--- a/www/iridium/files/patch-tools_gn_build_gen.py
+++ b/www/iridium/files/patch-tools_gn_build_gen.py
@@ -1,4 +1,4 @@
---- tools/gn/build/gen.py.orig 2025-06-19 07:37:57 UTC
+--- tools/gn/build/gen.py.orig 2025-09-11 13:19:19 UTC
+++ tools/gn/build/gen.py
@@ -94,6 +94,12 @@ class Platform(object):
def is_solaris(self):
@@ -22,7 +22,7 @@
'haiku': 'build_haiku.ninja.template',
'solaris': 'build_linux.ninja.template',
'netbsd': 'build_linux.ninja.template',
-@@ -551,6 +557,9 @@ def WriteGNNinja(path, platform, host, options, args_l
+@@ -552,6 +558,9 @@ def WriteGNNinja(path, platform, host, options, args_l
if platform.is_posix() and not platform.is_haiku():
ldflags.append('-pthread')
diff --git a/www/iridium/files/patch-tools_grit_grit_node_base.py b/www/iridium/files/patch-tools_grit_grit_node_base.py
index 1a3b7bf105c6..3bb404585b7b 100644
--- a/www/iridium/files/patch-tools_grit_grit_node_base.py
+++ b/www/iridium/files/patch-tools_grit_grit_node_base.py
@@ -1,6 +1,6 @@
---- tools/grit/grit/node/base.py.orig 2025-06-19 07:37:57 UTC
+--- tools/grit/grit/node/base.py.orig 2025-09-11 13:19:19 UTC
+++ tools/grit/grit/node/base.py
-@@ -497,7 +497,8 @@ class Node:
+@@ -491,7 +491,8 @@ class Node:
value = defs
elif name == 'is_linux':
diff --git a/www/iridium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py b/www/iridium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
index 2522947cb025..d866eadb7476 100644
--- a/www/iridium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
+++ b/www/iridium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
@@ -1,8 +1,8 @@
---- tools/json_schema_compiler/cpp_bundle_generator.py.orig 2025-05-07 06:48:23 UTC
+--- tools/json_schema_compiler/cpp_bundle_generator.py.orig 2025-09-11 13:19:19 UTC
+++ tools/json_schema_compiler/cpp_bundle_generator.py
@@ -140,7 +140,7 @@ class CppBundleGenerator(object):
- elif platform == Platforms.FUCHSIA:
- ifdefs.append('BUILDFLAG(IS_FUCHSIA)')
+ elif platform == Platforms.DESKTOP_ANDROID:
+ ifdefs.append('BUILDFLAG(IS_DESKTOP_ANDROID)')
elif platform == Platforms.LINUX:
- ifdefs.append('BUILDFLAG(IS_LINUX)')
+ ifdefs.append('BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)')
diff --git a/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py b/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py
index bffab3d34405..84956a7a84f5 100644
--- a/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py
+++ b/www/iridium/files/patch-tools_protoc__wrapper_protoc__wrapper.py
@@ -1,6 +1,6 @@
---- tools/protoc_wrapper/protoc_wrapper.py.orig 2025-06-19 07:37:57 UTC
+--- tools/protoc_wrapper/protoc_wrapper.py.orig 2025-09-11 13:19:19 UTC
+++ tools/protoc_wrapper/protoc_wrapper.py
-@@ -188,15 +188,19 @@ def main(argv):
+@@ -227,15 +227,19 @@ def main(argv):
if not options.exclude_imports:
protoc_cmd += ["--include_imports"]
diff --git a/www/iridium/files/patch-ui_accessibility_accessibility__features.cc b/www/iridium/files/patch-ui_accessibility_accessibility__features.cc
index 3b8ccb6c3316..9f2accebe061 100644
--- a/www/iridium/files/patch-ui_accessibility_accessibility__features.cc
+++ b/www/iridium/files/patch-ui_accessibility_accessibility__features.cc
@@ -1,11 +1,20 @@
---- ui/accessibility/accessibility_features.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/accessibility/accessibility_features.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/accessibility/accessibility_features.cc
-@@ -473,7 +473,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled
+@@ -516,7 +516,7 @@ bool IsScreenAITestModeEnabled() {
+ return base::FeatureList::IsEnabled(::features::kScreenAITestMode);
+ }
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kScreenAIPartitionAllocAdvancedChecksEnabled,
+ "ScreenAIPartitionAllocAdvancedChecksEnabled",
+ base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -558,7 +558,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled
}
#endif // BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kWasmTtsComponentUpdaterEnabled,
- "WasmTtsComponentUpdaterEnabled",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ BASE_FEATURE(kWasmTtsComponentUpdaterV3Enabled,
+ "WasmTtsComponentUpdaterV3Enabled",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/iridium/files/patch-ui_accessibility_accessibility__features.h b/www/iridium/files/patch-ui_accessibility_accessibility__features.h
index 76fe1d8fd365..57962e0616a2 100644
--- a/www/iridium/files/patch-ui_accessibility_accessibility__features.h
+++ b/www/iridium/files/patch-ui_accessibility_accessibility__features.h
@@ -1,11 +1,20 @@
---- ui/accessibility/accessibility_features.h.orig 2025-06-19 07:37:57 UTC
+--- ui/accessibility/accessibility_features.h.orig 2025-09-11 13:19:19 UTC
+++ ui/accessibility/accessibility_features.h
-@@ -322,7 +322,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc
+@@ -345,7 +345,7 @@ AX_BASE_EXPORT bool IsScreenAIOCREnabled();
+ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kScreenAITestMode);
+ AX_BASE_EXPORT bool IsScreenAITestModeEnabled();
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Enables advanced partition allocation checks in ScreenAI service.
+ // TODO(crbug.com/418199684): Remove when the bug is fixed.
+ AX_BASE_EXPORT BASE_DECLARE_FEATURE(
+@@ -372,7 +372,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc
AX_BASE_EXPORT bool IsBlockRootWindowAccessibleNameChangeEventEnabled();
#endif // BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Enable the component updater to download the wasm tts engine component.
- AX_BASE_EXPORT BASE_DECLARE_FEATURE(kWasmTtsComponentUpdaterEnabled);
- AX_BASE_EXPORT bool IsWasmTtsComponentUpdaterEnabled();
+ // Use the v3 version of the wasm tts engine component.
+ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kWasmTtsComponentUpdaterV3Enabled);
+ AX_BASE_EXPORT bool IsWasmTtsComponentUpdaterV3Enabled();
diff --git a/www/iridium/files/patch-ui_accessibility_ax__node.cc b/www/iridium/files/patch-ui_accessibility_ax__node.cc
index a41136422685..c89beff419a9 100644
--- a/www/iridium/files/patch-ui_accessibility_ax__node.cc
+++ b/www/iridium/files/patch-ui_accessibility_ax__node.cc
@@ -1,20 +1,20 @@
---- ui/accessibility/ax_node.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/accessibility/ax_node.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/accessibility/ax_node.cc
-@@ -1553,7 +1553,7 @@ AXNode::GetExtraMacNodes() const {
+@@ -1547,7 +1547,7 @@ AXNode::GetExtraMacNodes() const {
return &table_info->extra_mac_nodes;
}
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
AXNode* AXNode::GetExtraAnnouncementNode(
ax::mojom::AriaNotificationPriority priority_property) const {
if (!tree_->extra_announcement_nodes()) {
-@@ -1581,7 +1581,7 @@ bool AXNode::IsGenerated() const {
+@@ -1575,7 +1575,7 @@ bool AXNode::IsGenerated() const {
GetRole() == ax::mojom::Role::kColumn ||
GetRole() == ax::mojom::Role::kTableHeaderContainer;
DCHECK_EQ(is_generated_node, is_extra_mac_node_role);
--#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // On Linux, generated nodes are always children of the root.
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // On Linux and Windows, generated nodes are always children of the root, but
+ // not necessarily the root tree.
if (GetParent() && GetParent()->GetManager()) {
- DCHECK(GetParent()->GetManager()->IsRoot());
diff --git a/www/iridium/files/patch-ui_accessibility_ax__node.h b/www/iridium/files/patch-ui_accessibility_ax__node.h
index e3c8dd52cc02..8070f52b3c4a 100644
--- a/www/iridium/files/patch-ui_accessibility_ax__node.h
+++ b/www/iridium/files/patch-ui_accessibility_ax__node.h
@@ -1,11 +1,11 @@
---- ui/accessibility/ax_node.h.orig 2025-05-07 06:48:23 UTC
+--- ui/accessibility/ax_node.h.orig 2025-09-11 13:19:19 UTC
+++ ui/accessibility/ax_node.h
-@@ -587,7 +587,7 @@ class AX_EXPORT AXNode final {
+@@ -582,7 +582,7 @@ class AX_EXPORT AXNode final {
const std::vector<raw_ptr<AXNode, VectorExperimental>>* GetExtraMacNodes()
const;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
AXNode* GetExtraAnnouncementNode(
ax::mojom::AriaNotificationPriority priority_property) const;
- #endif // BUILDFLAG(IS_LINUX)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
diff --git a/www/iridium/files/patch-ui_accessibility_ax__tree.cc b/www/iridium/files/patch-ui_accessibility_ax__tree.cc
index 9f7e1b1e3081..fc1e3ba5a3b3 100644
--- a/www/iridium/files/patch-ui_accessibility_ax__tree.cc
+++ b/www/iridium/files/patch-ui_accessibility_ax__tree.cc
@@ -1,38 +1,56 @@
---- ui/accessibility/ax_tree.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/accessibility/ax_tree.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/accessibility/ax_tree.cc
-@@ -824,7 +824,7 @@ bool AXTree::ComputeNodeIsIgnoredChanged(
+@@ -700,7 +700,7 @@ struct AXTreeUpdateState {
+ // (crrev.com/c/2892259).
+ const raw_ref<const AXTreeUpdate> pending_tree_update;
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ bool should_clear_extra_announcement_nodes = false;
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+
+@@ -855,7 +855,7 @@ bool AXTree::ComputeNodeIsIgnoredChanged(
return old_node_is_ignored != new_node_is_ignored;
}
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
ExtraAnnouncementNodes::ExtraAnnouncementNodes(AXNode* root) {
assertive_node_ = CreateNode("assertive", root);
polite_node_ = CreateNode("polite", root);
-@@ -917,7 +917,7 @@ AXNode* AXTree::GetFromId(AXNodeID id) const {
+@@ -948,7 +948,7 @@ AXNode* AXTree::GetFromId(AXNodeID id) const {
void AXTree::Destroy() {
base::ElapsedThreadTimer timer;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
ClearExtraAnnouncementNodes();
- #endif // BUILDFLAG(IS_LINUX)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+
+@@ -1600,7 +1600,7 @@ bool AXTree::Unserialize(const AXTreeUpdate& update) {
+ observers_.Notify(&AXTreeObserver::OnAtomicUpdateFinished, this,
+ root_->id() != old_root_id, changes);
-@@ -2109,7 +2109,7 @@ void AXTree::NotifyNodeAttributesWillChange(
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ if (update_state.should_clear_extra_announcement_nodes) {
+ ClearExtraAnnouncementNodes();
+ }
+@@ -2186,7 +2186,7 @@ void AXTree::NotifyNodeAttributesWillChange(
new_data);
}
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
void AXTree::ClearExtraAnnouncementNodes() {
if (!extra_announcement_nodes_) {
return;
-@@ -2498,7 +2498,7 @@ bool AXTree::CreateNewChildVector(
+@@ -2596,7 +2596,7 @@ bool AXTree::CreateNewChildVector(
AXTreeUpdateState* update_state) {
DCHECK(GetTreeUpdateInProgressState());
bool success = true;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// If the root node has children added, clear the extra announcement nodes,
// which should always have their indices as the last two children of the root
// node. They will be recreated if needed, and given the correct indices.
diff --git a/www/iridium/files/patch-ui_accessibility_ax__tree.h b/www/iridium/files/patch-ui_accessibility_ax__tree.h
index b6987f98ed15..36e5ff518907 100644
--- a/www/iridium/files/patch-ui_accessibility_ax__tree.h
+++ b/www/iridium/files/patch-ui_accessibility_ax__tree.h
@@ -1,29 +1,29 @@
---- ui/accessibility/ax_tree.h.orig 2025-05-07 06:48:23 UTC
+--- ui/accessibility/ax_tree.h.orig 2025-09-11 13:19:19 UTC
+++ ui/accessibility/ax_tree.h
-@@ -62,7 +62,7 @@ enum class AXTreeUnserializeError {
+@@ -64,7 +64,7 @@ enum class AXTreeUnserializeError {
};
// LINT.ThenChange(/tools/metrics/histograms/metadata/accessibility/enums.xml:AccessibilityTreeUnserializeError)
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// To support AriaNotify on older versions of ATK, we need to use the ATK
// signal "Text::text-insert". This signal requires a node that is a
// text type, and it needs to have aria-live properties set in order for
-@@ -287,7 +287,7 @@ class AX_EXPORT AXTree {
+@@ -289,7 +289,7 @@ class AX_EXPORT AXTree {
void NotifyChildTreeConnectionChanged(AXNode* node, AXTree* child_tree);
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
void ClearExtraAnnouncementNodes();
void CreateExtraAnnouncementNodes();
ExtraAnnouncementNodes* extra_announcement_nodes() const {
-@@ -544,7 +544,7 @@ class AX_EXPORT AXTree {
+@@ -548,7 +548,7 @@ class AX_EXPORT AXTree {
std::unique_ptr<AXEvent> event_data_;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
std::unique_ptr<ExtraAnnouncementNodes> extra_announcement_nodes_ = nullptr;
- #endif // BUILDFLAG(IS_LINUX)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
};
diff --git a/www/iridium/files/patch-ui_base_accelerators_accelerator.cc b/www/iridium/files/patch-ui_base_accelerators_accelerator.cc
index 3b1446285de9..7fad6dcb28c0 100644
--- a/www/iridium/files/patch-ui_base_accelerators_accelerator.cc
+++ b/www/iridium/files/patch-ui_base_accelerators_accelerator.cc
@@ -1,6 +1,6 @@
---- ui/base/accelerators/accelerator.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/base/accelerators/accelerator.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/accelerators/accelerator.cc
-@@ -331,7 +331,7 @@ std::vector<std::u16string> Accelerator::GetLongFormMo
+@@ -335,7 +335,7 @@ std::vector<std::u16string> Accelerator::GetLongFormMo
modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_SEARCH_KEY));
#elif BUILDFLAG(IS_WIN)
modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_WINDOWS_KEY));
diff --git a/www/iridium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc b/www/iridium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc
index dd8b3df57ac6..9dedd12a18ca 100644
--- a/www/iridium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc
+++ b/www/iridium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc
@@ -1,4 +1,4 @@
---- ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc
@@ -12,7 +12,7 @@
#include "ui/base/accelerators/accelerator.h"
@@ -6,10 +6,10 @@
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS)
+ #include "base/environment.h"
#include "base/feature_list.h"
- #include "ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_linux.h"
- #endif
-@@ -20,7 +20,7 @@
+ #include "build/branding_buildflags.h"
+@@ -22,7 +22,7 @@
using content::BrowserThread;
namespace {
@@ -18,7 +18,7 @@
BASE_FEATURE(kGlobalShortcutsPortal,
"GlobalShortcutsPortal",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -38,7 +38,7 @@ GlobalAcceleratorListener* GlobalAcceleratorListener::
+@@ -74,7 +74,7 @@ GlobalAcceleratorListener* GlobalAcceleratorListener::
return instance->get();
}
@@ -26,4 +26,4 @@
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS)
if (base::FeatureList::IsEnabled(kGlobalShortcutsPortal)) {
static GlobalAcceleratorListenerLinux* const linux_instance =
- new GlobalAcceleratorListenerLinux(nullptr);
+ new GlobalAcceleratorListenerLinux(nullptr, GetSessionName());
diff --git a/www/iridium/files/patch-ui_base_cursor_cursor__factory.cc b/www/iridium/files/patch-ui_base_cursor_cursor__factory.cc
index e12c3fcc01dc..5e5ec269e243 100644
--- a/www/iridium/files/patch-ui_base_cursor_cursor__factory.cc
+++ b/www/iridium/files/patch-ui_base_cursor_cursor__factory.cc
@@ -1,6 +1,6 @@
---- ui/base/cursor/cursor_factory.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/base/cursor/cursor_factory.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/cursor/cursor_factory.cc
-@@ -96,7 +96,7 @@ void CursorFactory::ObserveThemeChanges() {
+@@ -97,7 +97,7 @@ void CursorFactory::ObserveThemeChanges() {
NOTIMPLEMENTED();
}
diff --git a/www/iridium/files/patch-ui_base_resource_resource__bundle.cc b/www/iridium/files/patch-ui_base_resource_resource__bundle.cc
index b15493afb646..7fbe5e9b0423 100644
--- a/www/iridium/files/patch-ui_base_resource_resource__bundle.cc
+++ b/www/iridium/files/patch-ui_base_resource_resource__bundle.cc
@@ -1,6 +1,6 @@
---- ui/base/resource/resource_bundle.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/base/resource/resource_bundle.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/resource/resource_bundle.cc
-@@ -929,7 +929,7 @@ void ResourceBundle::ReloadFonts() {
+@@ -1002,7 +1002,7 @@ void ResourceBundle::ReloadFonts() {
}
ResourceScaleFactor ResourceBundle::GetMaxResourceScaleFactor() const {
diff --git a/www/iridium/files/patch-ui_base_test_skia__gold__pixel__diff.cc b/www/iridium/files/patch-ui_base_test_skia__gold__pixel__diff.cc
index eab341510253..716b793a61f9 100644
--- a/www/iridium/files/patch-ui_base_test_skia__gold__pixel__diff.cc
+++ b/www/iridium/files/patch-ui_base_test_skia__gold__pixel__diff.cc
@@ -1,6 +1,6 @@
---- ui/base/test/skia_gold_pixel_diff.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/base/test/skia_gold_pixel_diff.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/test/skia_gold_pixel_diff.cc
-@@ -117,7 +117,7 @@ const char* GetPlatformName() {
+@@ -121,7 +121,7 @@ const char* GetPlatformName() {
return "windows";
#elif BUILDFLAG(IS_APPLE)
return "macOS";
diff --git a/www/iridium/files/patch-ui_base_ui__base__features.cc b/www/iridium/files/patch-ui_base_ui__base__features.cc
index fe675de0fc9f..62168e5b6274 100644
--- a/www/iridium/files/patch-ui_base_ui__base__features.cc
+++ b/www/iridium/files/patch-ui_base_ui__base__features.cc
@@ -1,6 +1,6 @@
---- ui/base/ui_base_features.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/base/ui_base_features.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/ui_base_features.cc
-@@ -119,7 +119,7 @@ BASE_FEATURE(kWaylandLinuxDrmSyncobj,
+@@ -113,7 +113,7 @@ BASE_FEATURE(kWaylandLinuxDrmSyncobj,
// Controls whether support for Wayland's per-surface scaling is enabled.
BASE_FEATURE(kWaylandPerSurfaceScale,
"WaylandPerSurfaceScale",
@@ -9,16 +9,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -143,7 +143,7 @@ BASE_FEATURE(kWaylandSessionManagement,
- base::FEATURE_DISABLED_BY_DEFAULT);
- #endif // BUILDFLAG(IS_OZONE)
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // If this feature is enabled, users not specify --ozone-platform-hint switch
- // will get --ozone-platform-hint=auto treatment. https://crbug.com/40250220.
- COMPONENT_EXPORT(UI_BASE_FEATURES)
-@@ -231,7 +231,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists,
+@@ -195,7 +195,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists,
// native apps on Windows.
BASE_FEATURE(kExperimentalFlingAnimation,
"ExperimentalFlingAnimation",
@@ -27,7 +18,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -307,7 +307,7 @@ bool IsForcedColorsEnabled() {
+@@ -293,7 +293,7 @@ bool IsForcedColorsEnabled() {
BASE_FEATURE(kEyeDropper,
"EyeDropper",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/iridium/files/patch-ui_base_ui__base__features.h b/www/iridium/files/patch-ui_base_ui__base__features.h
deleted file mode 100644
index 82525602227d..000000000000
--- a/www/iridium/files/patch-ui_base_ui__base__features.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/base/ui_base_features.h.orig 2025-05-07 06:48:23 UTC
-+++ ui/base/ui_base_features.h
-@@ -126,7 +126,7 @@ COMPONENT_EXPORT(UI_BASE_FEATURES)
- BASE_DECLARE_FEATURE(kWaylandSessionManagement);
- #endif // BUILDFLAG(IS_OZONE)
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- COMPONENT_EXPORT(UI_BASE_FEATURES)
- BASE_DECLARE_FEATURE(kOverrideDefaultOzonePlatformHintToAuto);
- #endif // BUILDFLAG(IS_LINUX)
diff --git a/www/iridium/files/patch-ui_base_ui__base__switches.cc b/www/iridium/files/patch-ui_base_ui__base__switches.cc
index 4a15da53cc38..11fdeb7905a7 100644
--- a/www/iridium/files/patch-ui_base_ui__base__switches.cc
+++ b/www/iridium/files/patch-ui_base_ui__base__switches.cc
@@ -1,4 +1,4 @@
---- ui/base/ui_base_switches.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/base/ui_base_switches.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/ui_base_switches.cc
@@ -24,13 +24,13 @@ const char kDisableModalAnimations[] = "disable-modal-
const char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
@@ -15,4 +15,4 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Specify the toolkit used to construct the Linux GUI.
const char kUiToolkitFlag[] = "ui-toolkit";
- // Disables GTK IME integration.
+ // Specify the GTK version to be loaded.
diff --git a/www/iridium/files/patch-ui_base_ui__base__switches.h b/www/iridium/files/patch-ui_base_ui__base__switches.h
index 1efd48b1c635..6eab9ae3100b 100644
--- a/www/iridium/files/patch-ui_base_ui__base__switches.h
+++ b/www/iridium/files/patch-ui_base_ui__base__switches.h
@@ -1,4 +1,4 @@
---- ui/base/ui_base_switches.h.orig 2025-05-07 06:48:23 UTC
+--- ui/base/ui_base_switches.h.orig 2025-09-11 13:19:19 UTC
+++ ui/base/ui_base_switches.h
@@ -22,11 +22,11 @@ COMPONENT_EXPORT(UI_BASE) extern const char kDisableMo
COMPONENT_EXPORT(UI_BASE) extern const char kShowMacOverlayBorders[];
@@ -12,5 +12,5 @@
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(UI_BASE) extern const char kUiToolkitFlag[];
- COMPONENT_EXPORT(UI_BASE) extern const char kDisableGtkIme[];
- #endif
+ COMPONENT_EXPORT(UI_BASE) extern const char kGtkVersionFlag[];
+ COMPONENT_EXPORT(UI_BASE) extern const char kQtVersionFlag[];
diff --git a/www/iridium/files/patch-ui_base_webui_web__ui__util.cc b/www/iridium/files/patch-ui_base_webui_web__ui__util.cc
index c84962f8a6dc..159fffb8d593 100644
--- a/www/iridium/files/patch-ui_base_webui_web__ui__util.cc
+++ b/www/iridium/files/patch-ui_base_webui_web__ui__util.cc
@@ -1,6 +1,6 @@
---- ui/base/webui/web_ui_util.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/base/webui/web_ui_util.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/base/webui/web_ui_util.cc
-@@ -46,7 +46,7 @@ namespace {
+@@ -42,7 +42,7 @@ namespace {
constexpr float kMaxScaleFactor = 1000.0f;
std::string GetFontFamilyMd() {
@@ -9,7 +9,7 @@
return "Roboto, " + GetFontFamily();
#else
return GetFontFamily();
-@@ -221,7 +221,7 @@ void AppendWebUiCssTextDefaults(std::string* html) {
+@@ -217,7 +217,7 @@ void AppendWebUiCssTextDefaults(std::string* html) {
std::string GetFontFamily() {
std::string font_family = l10n_util::GetStringUTF8(IDS_WEB_FONT_FAMILY);
diff --git a/www/iridium/files/patch-ui_color_color__id.h b/www/iridium/files/patch-ui_color_color__id.h
index 91c85db6c4a1..0acf0ec53e8b 100644
--- a/www/iridium/files/patch-ui_color_color__id.h
+++ b/www/iridium/files/patch-ui_color_color__id.h
@@ -1,6 +1,6 @@
---- ui/color/color_id.h.orig 2025-06-19 07:37:57 UTC
+--- ui/color/color_id.h.orig 2025-09-11 13:19:19 UTC
+++ ui/color/color_id.h
-@@ -627,7 +627,7 @@
+@@ -648,7 +648,7 @@
E_CPONLY(kColorCrosSysPositive) \
E_CPONLY(kColorCrosSysComplementVariant) \
E_CPONLY(kColorCrosSysInputFieldOnBase)
diff --git a/www/iridium/files/patch-ui_compositor_compositor.cc b/www/iridium/files/patch-ui_compositor_compositor.cc
index 2cb1a8779f1e..d588661d4995 100644
--- a/www/iridium/files/patch-ui_compositor_compositor.cc
+++ b/www/iridium/files/patch-ui_compositor_compositor.cc
@@ -1,6 +1,6 @@
---- ui/compositor/compositor.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/compositor/compositor.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/compositor/compositor.cc
-@@ -983,7 +983,7 @@ void Compositor::OnResume() {
+@@ -979,7 +979,7 @@ void Compositor::OnResume() {
obs.ResetIfActive();
}
diff --git a/www/iridium/files/patch-ui_compositor_compositor.h b/www/iridium/files/patch-ui_compositor_compositor.h
index 7b852b14a3c2..1fb22d7be31e 100644
--- a/www/iridium/files/patch-ui_compositor_compositor.h
+++ b/www/iridium/files/patch-ui_compositor_compositor.h
@@ -1,6 +1,6 @@
---- ui/compositor/compositor.h.orig 2025-05-07 06:48:23 UTC
+--- ui/compositor/compositor.h.orig 2025-09-11 13:19:19 UTC
+++ ui/compositor/compositor.h
-@@ -463,7 +463,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe
+@@ -462,7 +462,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe
// base::PowerSuspendObserver:
void OnResume() override;
diff --git a/www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc b/www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc
deleted file mode 100644
index 5630f500b332..000000000000
--- a/www/iridium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- ui/events/devices/x11/device_data_manager_x11.cc.orig 2025-06-19 07:37:57 UTC
-+++ ui/events/devices/x11/device_data_manager_x11.cc
-@@ -850,6 +850,7 @@ void DeviceDataManagerX11::SetDisabledKeyboardAllowedK
- }
-
- void DeviceDataManagerX11::DisableDevice(x11::Input::DeviceId deviceid) {
-+ NOTIMPLEMENTED();
- blocked_devices_.set(static_cast<uint32_t>(deviceid), true);
- // TODO(rsadam@): Support blocking touchscreen devices.
- std::vector<KeyboardDevice> keyboards = GetKeyboardDevices();
diff --git a/www/iridium/files/patch-ui_events_event.cc b/www/iridium/files/patch-ui_events_event.cc
index 447624010412..2b12a65e6a69 100644
--- a/www/iridium/files/patch-ui_events_event.cc
+++ b/www/iridium/files/patch-ui_events_event.cc
@@ -1,6 +1,6 @@
---- ui/events/event.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/events/event.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/events/event.cc
-@@ -373,7 +373,7 @@ std::string LocatedEvent::ToString() const {
+@@ -375,7 +375,7 @@ std::string LocatedEvent::ToString() const {
MouseEvent::MouseEvent(const PlatformEvent& native_event)
: LocatedEvent(native_event),
changed_button_flags_(GetChangedMouseButtonFlagsFromNative(native_event)),
@@ -9,7 +9,7 @@
movement_(GetMouseMovementFromNative(native_event)),
#endif
pointer_details_(GetMousePointerDetailsFromNative(native_event)) {
-@@ -629,7 +629,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const
+@@ -631,7 +631,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const
return std::make_unique<MouseWheelEvent>(*this);
}
@@ -18,9 +18,9 @@
// This value matches Windows, Fuchsia WHEEL_DELTA, and (roughly) Firefox on
// Linux.
// static
-@@ -889,7 +889,7 @@ void KeyEvent::InitializeNative() {
- if (synthesize_key_repeat_enabled_ && IsRepeated(GetLastKeyEvent()))
+@@ -894,7 +894,7 @@ void KeyEvent::InitializeNative() {
SetFlags(flags() | EF_IS_REPEAT);
+ }
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-ui_gfx_BUILD.gn b/www/iridium/files/patch-ui_gfx_BUILD.gn
index d84d531fa5e5..26640bba879d 100644
--- a/www/iridium/files/patch-ui_gfx_BUILD.gn
+++ b/www/iridium/files/patch-ui_gfx_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/gfx/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- ui/gfx/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/BUILD.gn
-@@ -663,7 +663,7 @@ source_set("memory_buffer_sources") {
+@@ -659,7 +659,7 @@ source_set("memory_buffer_sources") {
deps += [ "//build/config/linux/libdrm" ]
}
diff --git a/www/iridium/files/patch-ui_gfx_font__fallback__linux.cc b/www/iridium/files/patch-ui_gfx_font__fallback__linux.cc
index 70d471f64574..8e8bd4a529f8 100644
--- a/www/iridium/files/patch-ui_gfx_font__fallback__linux.cc
+++ b/www/iridium/files/patch-ui_gfx_font__fallback__linux.cc
@@ -1,6 +1,6 @@
---- ui/gfx/font_fallback_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gfx/font_fallback_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/font_fallback_linux.cc
-@@ -32,6 +32,8 @@
+@@ -28,6 +28,8 @@
#include "ui/gfx/linux/fontconfig_util.h"
#include "ui/gfx/platform_font.h"
diff --git a/www/iridium/files/patch-ui_gfx_font__render__params__linux.cc b/www/iridium/files/patch-ui_gfx_font__render__params__linux.cc
index 3d422e9bed6e..74fafcda3115 100644
--- a/www/iridium/files/patch-ui_gfx_font__render__params__linux.cc
+++ b/www/iridium/files/patch-ui_gfx_font__render__params__linux.cc
@@ -1,4 +1,4 @@
---- ui/gfx/font_render_params_linux.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gfx/font_render_params_linux.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/font_render_params_linux.cc
@@ -24,7 +24,7 @@
#include "ui/gfx/linux/fontconfig_util.h"
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#endif
-@@ -222,7 +222,7 @@ FontRenderParams GetFontRenderParams(const FontRenderP
+@@ -224,7 +224,7 @@ FontRenderParams GetFontRenderParams(const FontRenderP
// Start with the delegate's settings, but let Fontconfig have the final say.
FontRenderParams params;
diff --git a/www/iridium/files/patch-ui_gfx_gpu__extra__info.h b/www/iridium/files/patch-ui_gfx_gpu__extra__info.h
new file mode 100644
index 000000000000..795ecacb8b51
--- /dev/null
+++ b/www/iridium/files/patch-ui_gfx_gpu__extra__info.h
@@ -0,0 +1,11 @@
+--- ui/gfx/gpu_extra_info.h.orig 2025-09-11 13:19:19 UTC
++++ ui/gfx/gpu_extra_info.h
+@@ -51,7 +51,7 @@ struct COMPONENT_EXPORT(GFX) GpuExtraInfo {
+ std::vector<gfx::BufferUsageAndFormat> gpu_memory_buffer_support_x11;
+ #endif // BUILDFLAG(IS_OZONE_X11)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool is_gmb_nv12_supported = false;
+ #endif
+ };
diff --git a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc b/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc
deleted file mode 100644
index 9e45a5fcceec..000000000000
--- a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/gfx/gpu_memory_buffer.cc.orig 2025-06-19 07:37:57 UTC
-+++ ui/gfx/gpu_memory_buffer.cc
-@@ -131,7 +131,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c
- handle.id = id;
- handle.offset = offset;
- handle.stride = stride;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- handle.native_pixmap_handle = CloneHandleForIPC(native_pixmap_handle);
- #elif BUILDFLAG(IS_APPLE)
- handle.io_surface = io_surface;
diff --git a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h b/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h
deleted file mode 100644
index a9404266142d..000000000000
--- a/www/iridium/files/patch-ui_gfx_gpu__memory__buffer.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- ui/gfx/gpu_memory_buffer.h.orig 2025-06-19 07:37:57 UTC
-+++ ui/gfx/gpu_memory_buffer.h
-@@ -17,7 +17,7 @@
- #include "ui/gfx/generic_shared_memory_id.h"
- #include "ui/gfx/geometry/rect.h"
-
--#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "ui/gfx/native_pixmap_handle.h"
- #elif BUILDFLAG(IS_APPLE)
- #include "ui/gfx/mac/io_surface.h"
-@@ -58,7 +58,7 @@ enum GpuMemoryBufferType {
- #if BUILDFLAG(IS_APPLE)
- IO_SURFACE_BUFFER,
- #endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- NATIVE_PIXMAP,
- #endif
- #if BUILDFLAG(IS_WIN)
-@@ -210,7 +210,7 @@ struct COMPONENT_EXPORT(GFX) GpuMemoryBufferHandle {
-
- uint32_t offset = 0;
- uint32_t stride = 0;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- NativePixmapHandle native_pixmap_handle;
- #elif BUILDFLAG(IS_APPLE)
- ScopedIOSurface io_surface;
diff --git a/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc b/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc
index 695f7202fa50..ba124fd02f3f 100644
--- a/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc
+++ b/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc
@@ -1,4 +1,4 @@
---- ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/mojom/native_handle_types_mojom_traits.cc
@@ -14,7 +14,7 @@
#include "ui/gfx/mac/io_surface.h"
@@ -41,21 +41,21 @@
out->modifier = data.modifier();
out->supports_zero_copy_webgpu_import =
data.supports_zero_copy_webgpu_import();
-@@ -187,7 +187,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandleDataView::Tag
+@@ -211,7 +211,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandleDataView::Tag
case gfx::IO_SURFACE_BUFFER:
- return Tag::kMachPort;
+ return Tag::kIoSurfaceHandle;
#endif // BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
case gfx::NATIVE_PIXMAP:
return Tag::kNativePixmapHandle;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-@@ -251,7 +251,7 @@ bool UnionTraits<gfx::mojom::GpuMemoryBufferPlatformHa
- }
+@@ -292,7 +292,7 @@ bool UnionTraits<gfx::mojom::GpuMemoryBufferPlatformHa
+ #endif
return true;
#endif // BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
case Tag::kNativePixmapHandle:
- handle->type = gfx::NATIVE_PIXMAP;
- return data.ReadNativePixmapHandle(&handle->native_pixmap_handle);
+ gmb_handle->type = gfx::NATIVE_PIXMAP;
+ return data.ReadNativePixmapHandle(&gmb_handle->native_pixmap_handle_);
diff --git a/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h b/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
index 02928eade9b3..6c71c5ec19f4 100644
--- a/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
+++ b/www/iridium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
@@ -1,7 +1,7 @@
---- ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2025-05-07 06:48:23 UTC
+--- ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/mojom/native_handle_types_mojom_traits.h
@@ -18,7 +18,7 @@
- #include "ui/gfx/gpu_memory_buffer.h"
+ #include "ui/gfx/gpu_memory_buffer_handle.h"
#include "ui/gfx/mojom/native_handle_types.mojom-shared.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
@@ -9,7 +9,7 @@
#include "ui/gfx/native_pixmap_handle.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-@@ -46,7 +46,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
+@@ -49,7 +49,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
};
#endif // BUILDFLAG(IS_ANDROID)
@@ -18,7 +18,7 @@
template <>
struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED_MOJOM_TRAITS)
StructTraits<gfx::mojom::NativePixmapPlaneDataView,
-@@ -74,13 +74,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
+@@ -77,13 +77,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
return pixmap_handle.planes;
}
@@ -34,12 +34,12 @@
static bool supports_zero_copy_webgpu_import(
const gfx::NativePixmapHandle& pixmap_handle) {
return pixmap_handle.supports_zero_copy_webgpu_import;
-@@ -159,7 +159,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
- static PlatformHandle mach_port(gfx::GpuMemoryBufferHandle& handle);
+@@ -207,7 +207,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
+ static IOSurfaceHandle io_surface_handle(gfx::GpuMemoryBufferHandle& handle);
#endif // BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
static gfx::NativePixmapHandle& native_pixmap_handle(
gfx::GpuMemoryBufferHandle& handle) {
- return handle.native_pixmap_handle;
+ return handle.native_pixmap_handle_;
diff --git a/www/iridium/files/patch-ui_gfx_platform__font__skia.cc b/www/iridium/files/patch-ui_gfx_platform__font__skia.cc
index d8f756a2217c..461d697f3559 100644
--- a/www/iridium/files/patch-ui_gfx_platform__font__skia.cc
+++ b/www/iridium/files/patch-ui_gfx_platform__font__skia.cc
@@ -1,4 +1,4 @@
---- ui/gfx/platform_font_skia.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gfx/platform_font_skia.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/platform_font_skia.cc
@@ -29,7 +29,7 @@
#include "ui/gfx/system_fonts_win.h"
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#endif
-@@ -167,7 +167,7 @@ void PlatformFontSkia::EnsuresDefaultFontIsInitialized
+@@ -170,7 +170,7 @@ void PlatformFontSkia::EnsuresDefaultFontIsInitialized
weight = system_font.GetWeight();
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/iridium/files/patch-ui_gfx_switches.cc b/www/iridium/files/patch-ui_gfx_switches.cc
index efcb695caaf0..c7346a1ffb3d 100644
--- a/www/iridium/files/patch-ui_gfx_switches.cc
+++ b/www/iridium/files/patch-ui_gfx_switches.cc
@@ -1,8 +1,8 @@
---- ui/gfx/switches.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gfx/switches.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/switches.cc
-@@ -32,7 +32,7 @@ const char kForcePrefersNoReducedMotion[] = "force-pre
- // Run in headless mode, i.e., without a UI or display server dependencies.
- const char kHeadless[] = "headless";
+@@ -36,7 +36,7 @@ const char kHeadless[] = "headless";
+ // See //components/headless/screen_info/README.md for more details.
+ const char kScreenInfo[] = "screen-info";
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-ui_gfx_switches.h b/www/iridium/files/patch-ui_gfx_switches.h
index d5c3d1f00ac8..31c59986a057 100644
--- a/www/iridium/files/patch-ui_gfx_switches.h
+++ b/www/iridium/files/patch-ui_gfx_switches.h
@@ -1,8 +1,8 @@
---- ui/gfx/switches.h.orig 2025-05-07 06:48:23 UTC
+--- ui/gfx/switches.h.orig 2025-09-11 13:19:19 UTC
+++ ui/gfx/switches.h
-@@ -18,7 +18,7 @@ GFX_SWITCHES_EXPORT extern const char kForcePrefersRed
- GFX_SWITCHES_EXPORT extern const char kForcePrefersNoReducedMotion[];
+@@ -19,7 +19,7 @@ GFX_SWITCHES_EXPORT extern const char kForcePrefersNoR
GFX_SWITCHES_EXPORT extern const char kHeadless[];
+ GFX_SWITCHES_EXPORT extern const char kScreenInfo[];
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/iridium/files/patch-ui_gl_BUILD.gn b/www/iridium/files/patch-ui_gl_BUILD.gn
deleted file mode 100644
index f19c37748fc4..000000000000
--- a/www/iridium/files/patch-ui_gl_BUILD.gn
+++ /dev/null
@@ -1,26 +0,0 @@
---- ui/gl/BUILD.gn.orig 2025-05-07 06:48:23 UTC
-+++ ui/gl/BUILD.gn
-@@ -174,7 +174,6 @@ component("gl") {
- public_deps = [
- ":gl_enums",
- "//base",
-- "//third_party/mesa_headers",
- "//ui/events/platform",
- "//ui/gfx",
- "//ui/gfx/geometry",
-@@ -328,7 +327,6 @@ component("gl") {
- data_deps += [
- "//third_party/angle:libEGL",
- "//third_party/angle:libGLESv2",
-- "//third_party/mesa_headers",
- ]
- if (enable_swiftshader) {
- data_deps += [
-@@ -554,7 +552,6 @@ test("gl_unittests") {
-
- data_deps = [
- "//testing/buildbot/filters:gl_unittests_filters",
-- "//third_party/mesa_headers",
- ]
-
- if (is_win) {
diff --git a/www/iridium/files/patch-ui_gl_gl__context.cc b/www/iridium/files/patch-ui_gl_gl__context.cc
index 6030000f29dc..606609d3c568 100644
--- a/www/iridium/files/patch-ui_gl_gl__context.cc
+++ b/www/iridium/files/patch-ui_gl_gl__context.cc
@@ -1,6 +1,15 @@
---- ui/gl/gl_context.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gl/gl_context.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gl/gl_context.cc
-@@ -516,7 +516,7 @@ bool GLContext::MakeVirtuallyCurrent(
+@@ -159,7 +159,7 @@ bool GLContext::MakeCurrent(GLSurface* surface) {
+ recorded_max_gles_version_if_feasible = true;
+ }
+ #elif (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN))
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD))
+ static bool recorded_emulated_gles_version = false;
+ if (!recorded_emulated_gles_version) {
+ base::UmaHistogramBoolean("GPU.ANGLECanEmulateGLES3",
+@@ -526,7 +526,7 @@ bool GLContext::MakeVirtuallyCurrent(
DCHECK(virtual_context->IsCurrent(surface));
if (switched_real_contexts || virtual_context != current_virtual_context_) {
diff --git a/www/iridium/files/patch-ui_gl_gl__fence.cc b/www/iridium/files/patch-ui_gl_gl__fence.cc
index 2f6e4cd17d25..6eb3a3a165ed 100644
--- a/www/iridium/files/patch-ui_gl_gl__fence.cc
+++ b/www/iridium/files/patch-ui_gl_gl__fence.cc
@@ -1,6 +1,6 @@
---- ui/gl/gl_fence.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gl/gl_fence.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gl/gl_fence.cc
-@@ -17,7 +17,7 @@
+@@ -18,7 +18,7 @@
#include "ui/gl/gl_surface_egl.h"
#include "ui/gl/gl_version_info.h"
diff --git a/www/iridium/files/patch-ui_gl_gl__implementation.cc b/www/iridium/files/patch-ui_gl_gl__implementation.cc
index a0336072ff3d..8766a7040713 100644
--- a/www/iridium/files/patch-ui_gl_gl__implementation.cc
+++ b/www/iridium/files/patch-ui_gl_gl__implementation.cc
@@ -1,6 +1,6 @@
---- ui/gl/gl_implementation.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gl/gl_implementation.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gl/gl_implementation.cc
-@@ -286,7 +286,7 @@ GetRequestedGLImplementationFromCommandLine(
+@@ -304,7 +304,7 @@ GetRequestedGLImplementationFromCommandLine(
const base::CommandLine* command_line) {
bool overrideUseSoftwareGL =
command_line->HasSwitch(switches::kOverrideUseSoftwareGLForTests);
diff --git a/www/iridium/files/patch-ui_gl_gl__switches.cc b/www/iridium/files/patch-ui_gl_gl__switches.cc
index b6cc869e6c99..eed38c168fe9 100644
--- a/www/iridium/files/patch-ui_gl_gl__switches.cc
+++ b/www/iridium/files/patch-ui_gl_gl__switches.cc
@@ -1,24 +1,24 @@
---- ui/gl/gl_switches.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/gl/gl_switches.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gl/gl_switches.cc
-@@ -13,7 +13,7 @@
- #include "base/android/build_info.h"
+@@ -15,7 +15,7 @@
#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(ENABLE_VULKAN) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
#include <vulkan/vulkan_core.h>
#include "third_party/angle/src/gpu_info_util/SystemInfo.h" // nogncheck
- #endif
-@@ -319,7 +319,7 @@ bool IsDefaultANGLEVulkan() {
- return false;
+ #endif // BUILDFLAG(ENABLE_VULKAN) && (BUILDFLAG(IS_LINUX) ||
+@@ -328,7 +328,7 @@ bool IsDefaultANGLEVulkan() {
}
#endif // BUILDFLAG(IS_ANDROID)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(ENABLE_VULKAN) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
angle::SystemInfo system_info;
{
- GPU_STARTUP_TRACE_EVENT("angle::GetSystemInfoVulkan");
-@@ -388,7 +388,7 @@ bool IsDefaultANGLEVulkan() {
+ TRACE_EVENT("gpu,startup", "angle::GetSystemInfoVulkan");
+@@ -410,7 +410,7 @@ bool IsDefaultANGLEVulkan() {
}
#endif // BUILDFLAG(IS_ANDROID)
diff --git a/www/iridium/files/patch-ui_gtk_gtk__compat.cc b/www/iridium/files/patch-ui_gtk_gtk__compat.cc
index e718b91d4828..07e1725f39d0 100644
--- a/www/iridium/files/patch-ui_gtk_gtk__compat.cc
+++ b/www/iridium/files/patch-ui_gtk_gtk__compat.cc
@@ -1,6 +1,6 @@
---- ui/gtk/gtk_compat.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/gtk/gtk_compat.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gtk/gtk_compat.cc
-@@ -65,27 +65,47 @@ auto DlCast(void* symbol) {
+@@ -64,27 +64,47 @@ auto DlCast(void* symbol) {
}
void* GetLibGio() {
diff --git a/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc b/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc
index bbc70769681a..9bc90a777caf 100644
--- a/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc
+++ b/www/iridium/files/patch-ui_gtk_printing_print__dialog__gtk.cc
@@ -1,6 +1,6 @@
---- ui/gtk/printing/print_dialog_gtk.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/gtk/printing/print_dialog_gtk.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/gtk/printing/print_dialog_gtk.cc
-@@ -456,7 +456,7 @@ void PrintDialogGtk::ShowDialog(
+@@ -446,7 +446,7 @@ void PrintDialogGtk::ShowDialog(
GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>(
GTK_PRINT_CAPABILITY_GENERATE_PDF | GTK_PRINT_CAPABILITY_PAGE_SET |
GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE |
diff --git a/www/iridium/files/patch-ui_message__center_views_message__popup__view.cc b/www/iridium/files/patch-ui_message__center_views_message__popup__view.cc
index 31655ab29e9d..8303bc666c0d 100644
--- a/www/iridium/files/patch-ui_message__center_views_message__popup__view.cc
+++ b/www/iridium/files/patch-ui_message__center_views_message__popup__view.cc
@@ -1,6 +1,6 @@
---- ui/message_center/views/message_popup_view.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/message_center/views/message_popup_view.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/message_center/views/message_popup_view.cc
-@@ -153,7 +153,7 @@ std::unique_ptr<views::Widget> MessagePopupView::Show(
+@@ -164,7 +164,7 @@ std::unique_ptr<views::Widget> MessagePopupView::Show(
views::Widget::InitParams::CLIENT_OWNS_WIDGET,
views::Widget::InitParams::TYPE_POPUP);
params.z_order = ui::ZOrderLevel::kFloatingWindow;
diff --git a/www/iridium/files/patch-ui_native__theme_features_native__theme__features.cc b/www/iridium/files/patch-ui_native__theme_features_native__theme__features.cc
index 4687e8bd62ed..9f5f9dd7d813 100644
--- a/www/iridium/files/patch-ui_native__theme_features_native__theme__features.cc
+++ b/www/iridium/files/patch-ui_native__theme_features_native__theme__features.cc
@@ -1,6 +1,6 @@
---- ui/native_theme/features/native_theme_features.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/native_theme/features/native_theme_features.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/native_theme/features/native_theme_features.cc
-@@ -59,7 +59,7 @@ namespace ui {
+@@ -54,7 +54,7 @@ namespace ui {
bool IsFluentOverlayScrollbarEnabled() {
// Fluent scrollbars are only used for some OSes due to UI design guidelines.
@@ -9,7 +9,7 @@
return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar);
#else
return false;
-@@ -68,7 +68,7 @@ bool IsFluentOverlayScrollbarEnabled() {
+@@ -63,7 +63,7 @@ bool IsFluentOverlayScrollbarEnabled() {
bool IsFluentScrollbarEnabled() {
// Fluent scrollbars are only used for some OSes due to UI design guidelines.
diff --git a/www/iridium/files/patch-ui_native__theme_native__theme__base.cc b/www/iridium/files/patch-ui_native__theme_native__theme__base.cc
index 86e7d94e552b..a6b8e5d402ac 100644
--- a/www/iridium/files/patch-ui_native__theme_native__theme__base.cc
+++ b/www/iridium/files/patch-ui_native__theme_native__theme__base.cc
@@ -1,6 +1,6 @@
---- ui/native_theme/native_theme_base.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/native_theme/native_theme_base.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/native_theme/native_theme_base.cc
-@@ -240,7 +240,7 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas,
+@@ -242,7 +242,7 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas,
std::get<ButtonExtraParams>(extra), color_scheme,
accent_color_opaque);
break;
diff --git a/www/iridium/files/patch-ui_ozone_common_egl__util.cc b/www/iridium/files/patch-ui_ozone_common_egl__util.cc
index fd0ec78d4dbe..cd79b968b8c6 100644
--- a/www/iridium/files/patch-ui_ozone_common_egl__util.cc
+++ b/www/iridium/files/patch-ui_ozone_common_egl__util.cc
@@ -1,6 +1,6 @@
---- ui/ozone/common/egl_util.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/ozone/common/egl_util.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/ozone/common/egl_util.cc
-@@ -27,9 +27,9 @@ const base::FilePath::CharType kDefaultGlesSoname[] =
+@@ -35,9 +35,9 @@ const base::FilePath::CharType kDefaultGlesSoname[] =
FILE_PATH_LITERAL("libGLESv2.so");
#else // BUILDFLAG(IS_FUCHSIA)
const base::FilePath::CharType kDefaultEglSoname[] =
@@ -10,5 +10,5 @@
- FILE_PATH_LITERAL("libGLESv2.so.2");
+ FILE_PATH_LITERAL("libGLESv2.so");
#endif
+ #if !BUILDFLAG(USE_STATIC_ANGLE)
const base::FilePath::CharType kAngleEglSoname[] =
- FILE_PATH_LITERAL("libEGL.so");
diff --git a/www/iridium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc b/www/iridium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc
index c8b1401888a3..0f93b652459f 100644
--- a/www/iridium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc
+++ b/www/iridium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/headless/vulkan_implementation_headless.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/ozone/platform/headless/vulkan_implementation_headless.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/ozone/platform/headless/vulkan_implementation_headless.cc
-@@ -116,7 +116,7 @@ VulkanImplementationHeadless::ExportVkFenceToGpuFence(
+@@ -117,7 +117,7 @@ VulkanImplementationHeadless::ExportVkFenceToGpuFence(
VkExternalSemaphoreHandleTypeFlagBits
VulkanImplementationHeadless::GetExternalSemaphoreHandleType() {
@@ -9,7 +9,7 @@
return VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT;
#else
return VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT;
-@@ -126,7 +126,7 @@ VulkanImplementationHeadless::GetExternalSemaphoreHand
+@@ -127,7 +127,7 @@ VulkanImplementationHeadless::GetExternalSemaphoreHand
bool VulkanImplementationHeadless::CanImportGpuMemoryBuffer(
gpu::VulkanDeviceQueue* device_queue,
gfx::GpuMemoryBufferType memory_buffer_type) {
@@ -18,12 +18,12 @@
const auto& enabled_extensions = device_queue->enabled_extensions();
return gfx::HasExtension(enabled_extensions,
VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME) &&
-@@ -149,7 +149,7 @@ VulkanImplementationHeadless::CreateImageFromGpuMemory
+@@ -150,7 +150,7 @@ VulkanImplementationHeadless::CreateImageFromGpuMemory
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT |
VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT;
auto tiling = VK_IMAGE_TILING_OPTIMAL;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (gmb_handle.native_pixmap_handle.modifier !=
+ if (gmb_handle.native_pixmap_handle().modifier !=
gfx::NativePixmapHandle::kNoModifier) {
tiling = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT;
diff --git a/www/iridium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc b/www/iridium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc
index db85c560b658..036f78d88424 100644
--- a/www/iridium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc
+++ b/www/iridium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/wayland/common/wayland_util.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/ozone/platform/wayland/common/wayland_util.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/ozone/platform/wayland/common/wayland_util.cc
-@@ -424,6 +424,7 @@ void RecordConnectionMetrics(wl_display* display) {
+@@ -421,6 +421,7 @@ void RecordConnectionMetrics(wl_display* display) {
{"weston", WaylandCompositor::kWeston},
};
@@ -8,7 +8,7 @@
const int fd = wl_display_get_fd(display);
if (fd == -1) {
return WaylandCompositor::kUnknown;
-@@ -449,6 +450,7 @@ void RecordConnectionMetrics(wl_display* display) {
+@@ -446,6 +447,7 @@ void RecordConnectionMetrics(wl_display* display) {
return compositor;
}
}
diff --git a/www/iridium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc b/www/iridium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc
index 67e53454286b..95e886318db9 100644
--- a/www/iridium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc
+++ b/www/iridium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc
-@@ -38,7 +38,11 @@ bool VulkanImplementationWayland::InitializeVulkanInst
+@@ -39,7 +39,11 @@ bool VulkanImplementationWayland::InitializeVulkanInst
path = path.Append("libvk_swiftshader.so");
} else {
diff --git a/www/iridium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc b/www/iridium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
index e106ca3408e3..c85ae9a1b06c 100644
--- a/www/iridium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
+++ b/www/iridium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig 2025-05-13 08:59:54 UTC
+--- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/ozone/platform/wayland/host/wayland_frame_manager.cc
-@@ -461,8 +461,10 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
+@@ -460,8 +460,10 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
surface->UpdateBufferDamageRegion(
gfx::ToEnclosingRectIgnoringError(surface_damage));
diff --git a/www/iridium/files/patch-ui_ozone_platform_x11_x11__window.cc b/www/iridium/files/patch-ui_ozone_platform_x11_x11__window.cc
index 61f3a1ead49b..5522c74d32fd 100644
--- a/www/iridium/files/patch-ui_ozone_platform_x11_x11__window.cc
+++ b/www/iridium/files/patch-ui_ozone_platform_x11_x11__window.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/x11/x11_window.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/ozone/platform/x11/x11_window.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/ozone/platform/x11/x11_window.cc
-@@ -1459,7 +1459,7 @@ void X11Window::OnXWindowStateChanged() {
+@@ -1508,7 +1508,7 @@ void X11Window::OnXWindowStateChanged() {
WindowTiledEdges tiled_state = GetTiledState();
if (tiled_state != tiled_state_) {
tiled_state_ = tiled_state;
diff --git a/www/iridium/files/patch-ui_views_BUILD.gn b/www/iridium/files/patch-ui_views_BUILD.gn
index 01f70318de45..c6b1706cadda 100644
--- a/www/iridium/files/patch-ui_views_BUILD.gn
+++ b/www/iridium/files/patch-ui_views_BUILD.gn
@@ -1,8 +1,8 @@
---- ui/views/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- ui/views/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ ui/views/BUILD.gn
-@@ -833,7 +833,6 @@ component("views") {
- sources += [ "accessibility/widget_ax_tree_id_map.cc" ]
- }
+@@ -835,7 +835,6 @@ component("views") {
+ "windows_stationarity_monitor_aura.cc",
+ ]
deps += [
- "//components/crash/core/common:crash_key",
"//ui/aura",
diff --git a/www/iridium/files/patch-ui_views_controls_prefix__selector.cc b/www/iridium/files/patch-ui_views_controls_prefix__selector.cc
index 12c397ee96fc..9cd23a2145ab 100644
--- a/www/iridium/files/patch-ui_views_controls_prefix__selector.cc
+++ b/www/iridium/files/patch-ui_views_controls_prefix__selector.cc
@@ -1,6 +1,6 @@
---- ui/views/controls/prefix_selector.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/views/controls/prefix_selector.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/views/controls/prefix_selector.cc
-@@ -192,7 +192,7 @@ bool PrefixSelector::ShouldDoLearning() {
+@@ -193,7 +193,7 @@ bool PrefixSelector::ShouldDoLearning() {
return false;
}
diff --git a/www/iridium/files/patch-ui_views_controls_textfield_textfield.cc b/www/iridium/files/patch-ui_views_controls_textfield_textfield.cc
index 0892ea0df445..32da63896342 100644
--- a/www/iridium/files/patch-ui_views_controls_textfield_textfield.cc
+++ b/www/iridium/files/patch-ui_views_controls_textfield_textfield.cc
@@ -1,6 +1,6 @@
---- ui/views/controls/textfield/textfield.cc.orig 2025-05-07 06:48:23 UTC
+--- ui/views/controls/textfield/textfield.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/views/controls/textfield/textfield.cc
-@@ -87,7 +87,7 @@
+@@ -86,7 +86,7 @@
#include "base/win/win_util.h"
#endif
@@ -9,7 +9,7 @@
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/text_input_flags.h"
#include "ui/linux/linux_ui.h"
-@@ -184,7 +184,7 @@ bool IsControlKeyModifier(int flags) {
+@@ -183,7 +183,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
@@ -36,7 +36,7 @@
// Skip any accelerator handling that conflicts with custom keybindings.
if (auto* linux_ui = ui::LinuxUi::instance()) {
if (IsTextEditCommandEnabled(linux_ui->GetTextEditCommandForEvent(
-@@ -2062,7 +2062,7 @@ bool Textfield::ShouldDoLearning() {
+@@ -2065,7 +2065,7 @@ bool Textfield::ShouldDoLearning() {
return false;
}
@@ -45,7 +45,7 @@
// TODO(crbug.com/41452689): Implement this method to support Korean IME
// reconversion feature on native text fields (e.g. find bar).
bool Textfield::SetCompositionFromExistingText(
-@@ -2580,7 +2580,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
+@@ -2581,7 +2581,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
#endif
return ui::TextEditCommand::DELETE_BACKWARD;
}
@@ -54,7 +54,7 @@
// Only erase by line break on Linux and ChromeOS.
if (shift) {
return ui::TextEditCommand::DELETE_TO_BEGINNING_OF_LINE;
-@@ -2588,7 +2588,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
+@@ -2589,7 +2589,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
#endif
return ui::TextEditCommand::DELETE_WORD_BACKWARD;
case ui::VKEY_DELETE:
diff --git a/www/iridium/files/patch-ui_views_controls_textfield_textfield.h b/www/iridium/files/patch-ui_views_controls_textfield_textfield.h
index 4be77ed23be7..58d36ed4f491 100644
--- a/www/iridium/files/patch-ui_views_controls_textfield_textfield.h
+++ b/www/iridium/files/patch-ui_views_controls_textfield_textfield.h
@@ -1,4 +1,4 @@
---- ui/views/controls/textfield/textfield.h.orig 2025-05-07 06:48:23 UTC
+--- ui/views/controls/textfield/textfield.h.orig 2025-09-11 13:19:19 UTC
+++ ui/views/controls/textfield/textfield.h
@@ -48,7 +48,7 @@
#include "ui/views/view_observer.h"
@@ -9,7 +9,7 @@
#include <vector>
#endif
-@@ -475,7 +475,7 @@ class VIEWS_EXPORT Textfield : public View,
+@@ -478,7 +478,7 @@ class VIEWS_EXPORT Textfield : public View,
// Set whether the text should be used to improve typing suggestions.
void SetShouldDoLearning(bool value) { should_do_learning_ = value; }
diff --git a/www/iridium/files/patch-ui_views_corewm_tooltip__aura.cc b/www/iridium/files/patch-ui_views_corewm_tooltip__aura.cc
deleted file mode 100644
index 536d1020ba48..000000000000
--- a/www/iridium/files/patch-ui_views_corewm_tooltip__aura.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/views/corewm/tooltip_aura.cc.orig 2025-05-07 06:48:23 UTC
-+++ ui/views/corewm/tooltip_aura.cc
-@@ -42,7 +42,7 @@ static constexpr int kTooltipMaxWidth = 800;
-
- // TODO(varkha): Update if native widget can be transparent on Linux.
- bool CanUseTranslucentTooltipWidget() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- return false;
- #else
- return true;
diff --git a/www/iridium/files/patch-ui_views_views__delegate.cc b/www/iridium/files/patch-ui_views_views__delegate.cc
index bed4558e7787..7f47017b6267 100644
--- a/www/iridium/files/patch-ui_views_views__delegate.cc
+++ b/www/iridium/files/patch-ui_views_views__delegate.cc
@@ -1,6 +1,6 @@
---- ui/views/views_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/views/views_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/views/views_delegate.cc
-@@ -91,7 +91,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow
+@@ -92,7 +92,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow
return false;
}
#elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \
diff --git a/www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc
index dd443e82b402..fd302f3cc21b 100644
--- a/www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc
+++ b/www/iridium/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 2025-06-19 07:37:57 UTC
+--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
-@@ -50,7 +50,7 @@
+@@ -51,7 +51,7 @@
#include "ui/wm/core/window_util.h"
#include "ui/wm/public/window_move_client.h"
@@ -9,7 +9,7 @@
#include "ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h"
#endif
-@@ -356,7 +356,7 @@ std::unique_ptr<aura::client::DragDropClient>
+@@ -358,7 +358,7 @@ std::unique_ptr<aura::client::DragDropClient>
DesktopWindowTreeHostPlatform::CreateDragDropClient() {
ui::WmDragHandler* drag_handler = ui::GetWmDragHandler(*(platform_window()));
std::unique_ptr<DesktopDragDropClientOzone> drag_drop_client =
@@ -18,7 +18,7 @@
std::make_unique<DesktopDragDropClientOzoneLinux>(window(), drag_handler);
#else
std::make_unique<DesktopDragDropClientOzone>(window(), drag_handler);
-@@ -1188,7 +1188,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg
+@@ -1190,7 +1190,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg
// DesktopWindowTreeHost:
// Linux subclasses this host and adds some Linux specific bits.
diff --git a/www/iridium/files/patch-ui_views_widget_widget.cc b/www/iridium/files/patch-ui_views_widget_widget.cc
index bcade43f4c52..18c83e235e8b 100644
--- a/www/iridium/files/patch-ui_views_widget_widget.cc
+++ b/www/iridium/files/patch-ui_views_widget_widget.cc
@@ -1,7 +1,7 @@
---- ui/views/widget/widget.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/views/widget/widget.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/views/widget/widget.cc
@@ -63,7 +63,7 @@
- #include "ui/views/window/custom_frame_view.h"
+ #include "ui/views/widget/widget_removals_observer.h"
#include "ui/views/window/dialog_delegate.h"
-#if BUILDFLAG(IS_LINUX)
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#endif
-@@ -2464,7 +2464,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const
+@@ -2498,7 +2498,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const
return parent_->GetNativeTheme();
}
diff --git a/www/iridium/files/patch-ui_views_widget_widget.h b/www/iridium/files/patch-ui_views_widget_widget.h
index 10bb9d8bb2d5..d76dc6193984 100644
--- a/www/iridium/files/patch-ui_views_widget_widget.h
+++ b/www/iridium/files/patch-ui_views_widget_widget.h
@@ -1,6 +1,6 @@
---- ui/views/widget/widget.h.orig 2025-05-07 06:48:23 UTC
+--- ui/views/widget/widget.h.orig 2025-09-11 13:19:19 UTC
+++ ui/views/widget/widget.h
-@@ -487,7 +487,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid
+@@ -493,7 +493,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid
bool force_system_menu_for_frameless = false;
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/iridium/files/patch-ui_views_window_custom__frame__view.cc b/www/iridium/files/patch-ui_views_window_custom__frame__view.cc
deleted file mode 100644
index 3bc4b668076f..000000000000
--- a/www/iridium/files/patch-ui_views_window_custom__frame__view.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/views/window/custom_frame_view.cc.orig 2025-05-07 06:48:23 UTC
-+++ ui/views/window/custom_frame_view.cc
-@@ -279,7 +279,7 @@ int CustomFrameView::NonClientTopBorderHeight() const
- int CustomFrameView::CaptionButtonY() const {
- // Maximized buttons start at window top so that even if their images aren't
- // drawn flush with the screen edge, they still obey Fitts' Law.
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return FrameBorderThickness();
- #else
- return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
diff --git a/www/iridium/files/patch-ui_views_window_default__frame__view.cc b/www/iridium/files/patch-ui_views_window_default__frame__view.cc
new file mode 100644
index 000000000000..610ccef2a8b2
--- /dev/null
+++ b/www/iridium/files/patch-ui_views_window_default__frame__view.cc
@@ -0,0 +1,11 @@
+--- ui/views/window/default_frame_view.cc.orig 2025-09-11 13:19:19 UTC
++++ ui/views/window/default_frame_view.cc
+@@ -285,7 +285,7 @@ int DefaultFrameView::NonClientTopBorderHeight() const
+ int DefaultFrameView::CaptionButtonY() const {
+ // Maximized buttons start at window top so that even if their images aren't
+ // drawn flush with the screen edge, they still obey Fitts' Law.
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return FrameBorderThickness();
+ #else
+ return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
diff --git a/www/iridium/files/patch-ui_views_window_dialog__delegate.cc b/www/iridium/files/patch-ui_views_window_dialog__delegate.cc
index 7af1d1ef9a0c..c2bcc62a1c8b 100644
--- a/www/iridium/files/patch-ui_views_window_dialog__delegate.cc
+++ b/www/iridium/files/patch-ui_views_window_dialog__delegate.cc
@@ -1,6 +1,6 @@
---- ui/views/window/dialog_delegate.cc.orig 2025-06-19 07:37:57 UTC
+--- ui/views/window/dialog_delegate.cc.orig 2025-09-11 13:19:19 UTC
+++ ui/views/window/dialog_delegate.cc
-@@ -107,7 +107,7 @@ Widget* DialogDelegate::CreateDialogWidget(
+@@ -108,7 +108,7 @@ Widget* DialogDelegate::CreateDialogWidget(
// static
bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) {
diff --git a/www/iridium/files/patch-v8_BUILD.gn b/www/iridium/files/patch-v8_BUILD.gn
index fad87c790fb7..2c86f29e650e 100644
--- a/www/iridium/files/patch-v8_BUILD.gn
+++ b/www/iridium/files/patch-v8_BUILD.gn
@@ -1,6 +1,6 @@
---- v8/BUILD.gn.orig 2025-06-19 07:37:57 UTC
+--- v8/BUILD.gn.orig 2025-09-11 13:19:19 UTC
+++ v8/BUILD.gn
-@@ -999,6 +999,8 @@ external_v8_defines = [
+@@ -976,6 +976,8 @@ external_v8_defines = [
"V8_TARGET_OS_MACOS",
"V8_TARGET_OS_WIN",
"V8_TARGET_OS_CHROMEOS",
@@ -9,7 +9,7 @@
]
enabled_external_v8_defines = [
-@@ -1075,6 +1077,12 @@ if (target_os == "android") {
+@@ -1050,6 +1052,12 @@ if (target_os == "android") {
} else if (target_os == "chromeos") {
enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ]
enabled_external_v8_defines += [ "V8_TARGET_OS_CHROMEOS" ]
@@ -22,7 +22,7 @@
}
disabled_external_v8_defines = external_v8_defines - enabled_external_v8_defines
-@@ -2545,6 +2553,12 @@ template("run_mksnapshot") {
+@@ -2574,6 +2582,12 @@ template("run_mksnapshot") {
if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) {
args += [ "--reorder-builtins" ]
}
@@ -34,8 +34,8 @@
+ }
}
- if (v8_enable_turboshaft_csa) {
-@@ -6658,7 +6672,7 @@ v8_component("v8_libbase") {
+ # This is needed to distinguish between generating code for the simulator
+@@ -6770,7 +6784,7 @@ v8_component("v8_libbase") {
}
}
@@ -44,7 +44,7 @@
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
-@@ -6669,6 +6683,18 @@ v8_component("v8_libbase") {
+@@ -6781,6 +6795,18 @@ v8_component("v8_libbase") {
"dl",
"rt",
]
diff --git a/www/iridium/files/patch-v8_include_v8config.h b/www/iridium/files/patch-v8_include_v8config.h
index 3a4144ce5549..a115611ef10b 100644
--- a/www/iridium/files/patch-v8_include_v8config.h
+++ b/www/iridium/files/patch-v8_include_v8config.h
@@ -1,24 +1,24 @@
---- v8/include/v8config.h.orig 2025-05-07 06:48:23 UTC
+--- v8/include/v8config.h.orig 2025-09-11 13:19:19 UTC
+++ v8/include/v8config.h
-@@ -201,6 +201,8 @@ path. Add it with -I<path> to the command line
- && !defined(V8_TARGET_OS_FUCHSIA) \
+@@ -207,6 +207,8 @@ path. Add it with -I<path> to the command line
&& !defined(V8_TARGET_OS_IOS) \
+ && !defined(V8_TARGET_OS_TVOS) \
&& !defined(V8_TARGET_OS_LINUX) \
+ && !defined(V8_TARGET_OS_OPENBSD) \
+ && !defined(V8_TARGET_OS_FREEBSD) \
&& !defined(V8_TARGET_OS_MACOS) \
&& !defined(V8_TARGET_OS_WIN) \
&& !defined(V8_TARGET_OS_CHROMEOS)
-@@ -213,6 +215,8 @@ path. Add it with -I<path> to the command line
- || defined(V8_TARGET_OS_FUCHSIA) \
+@@ -220,6 +222,8 @@ path. Add it with -I<path> to the command line
|| defined(V8_TARGET_OS_IOS) \
+ || defined(V8_TARGET_OS_TVOS) \
|| defined(V8_TARGET_OS_LINUX) \
+ || defined(V8_TARGET_OS_OPENBSD) \
+ || defined(V8_TARGET_OS_FREEBSD) \
|| defined(V8_TARGET_OS_MACOS) \
|| defined(V8_TARGET_OS_WIN) \
|| defined(V8_TARGET_OS_CHROMEOS)
-@@ -236,6 +240,16 @@ path. Add it with -I<path> to the command line
+@@ -247,6 +251,16 @@ path. Add it with -I<path> to the command line
# define V8_TARGET_OS_LINUX
#endif
@@ -35,7 +35,7 @@
#ifdef V8_OS_MACOS
# define V8_TARGET_OS_MACOS
#endif
-@@ -383,6 +397,7 @@ path. Add it with -I<path> to the command line
+@@ -395,6 +409,7 @@ path. Add it with -I<path> to the command line
#if (defined(_M_X64) || defined(__x86_64__) /* x64 (everywhere) */ \
|| ((defined(__AARCH64EL__) || defined(_M_ARM64)) /* arm64, but ... */ \
&& !defined(_WIN32))) /* not on windows */ \
diff --git a/www/iridium/files/patch-v8_src_api_api.cc b/www/iridium/files/patch-v8_src_api_api.cc
index e4cc053ffff4..5db1592c3ecc 100644
--- a/www/iridium/files/patch-v8_src_api_api.cc
+++ b/www/iridium/files/patch-v8_src_api_api.cc
@@ -1,6 +1,6 @@
---- v8/src/api/api.cc.orig 2025-06-19 07:37:57 UTC
+--- v8/src/api/api.cc.orig 2025-09-11 13:19:19 UTC
+++ v8/src/api/api.cc
-@@ -158,7 +158,7 @@
+@@ -159,7 +159,7 @@
#include "src/objects/intl-objects.h"
#endif // V8_INTL_SUPPORT
@@ -9,7 +9,7 @@
#include <signal.h>
#include <unistd.h>
-@@ -6472,7 +6472,7 @@ bool v8::V8::Initialize(const int build_config) {
+@@ -6454,7 +6454,7 @@ bool v8::V8::Initialize(const int build_config) {
return true;
}
diff --git a/www/iridium/files/patch-v8_src_base_platform_platform-posix.cc b/www/iridium/files/patch-v8_src_base_platform_platform-posix.cc
index a6d1f1d70e94..234bf59c2ed4 100644
--- a/www/iridium/files/patch-v8_src_base_platform_platform-posix.cc
+++ b/www/iridium/files/patch-v8_src_base_platform_platform-posix.cc
@@ -1,6 +1,6 @@
---- v8/src/base/platform/platform-posix.cc.orig 2025-05-07 06:48:23 UTC
+--- v8/src/base/platform/platform-posix.cc.orig 2025-09-11 13:19:19 UTC
+++ v8/src/base/platform/platform-posix.cc
-@@ -76,7 +76,7 @@
+@@ -78,7 +78,7 @@
#include <sys/syscall.h>
#endif
@@ -9,7 +9,7 @@
#define MAP_ANONYMOUS MAP_ANON
#endif
-@@ -315,8 +315,15 @@ void OS::SetRandomMmapSeed(int64_t seed) {
+@@ -353,8 +353,15 @@ void OS::SetRandomMmapSeed(int64_t seed) {
}
}
@@ -25,7 +25,7 @@
uintptr_t raw_addr;
{
MutexGuard guard(rng_mutex.Pointer());
-@@ -413,6 +420,7 @@ void* OS::GetRandomMmapAddr() {
+@@ -451,6 +458,7 @@ void* OS::GetRandomMmapAddr() {
#endif
return reinterpret_cast<void*>(raw_addr);
}
@@ -33,7 +33,7 @@
// TODO(bbudge) Move Cygwin and Fuchsia stuff into platform-specific files.
#if !V8_OS_CYGWIN && !V8_OS_FUCHSIA
-@@ -701,7 +709,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor
+@@ -739,7 +747,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor
#if !V8_OS_ZOS
// static
bool OS::HasLazyCommits() {
@@ -42,7 +42,7 @@
return true;
#else
// TODO(bbudge) Return true for all POSIX platforms.
-@@ -1346,7 +1354,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void*
+@@ -1388,7 +1396,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void*
// keep this version in POSIX as most Linux-compatible derivatives will
// support it. MacOS and FreeBSD are different here.
#if !defined(V8_OS_FREEBSD) && !defined(V8_OS_DARWIN) && !defined(_AIX) && \
diff --git a/www/iridium/files/patch-v8_src_execution_isolate.cc b/www/iridium/files/patch-v8_src_execution_isolate.cc
index 6d069f11dba4..b601287db8bb 100644
--- a/www/iridium/files/patch-v8_src_execution_isolate.cc
+++ b/www/iridium/files/patch-v8_src_execution_isolate.cc
@@ -1,6 +1,6 @@
---- v8/src/execution/isolate.cc.orig 2025-06-19 07:37:57 UTC
+--- v8/src/execution/isolate.cc.orig 2025-09-11 13:19:19 UTC
+++ v8/src/execution/isolate.cc
-@@ -173,6 +173,10 @@
+@@ -174,6 +174,10 @@
#include "src/execution/simulator-base.h"
#endif
@@ -11,7 +11,7 @@
extern "C" const uint8_t v8_Default_embedded_blob_code_[];
extern "C" uint32_t v8_Default_embedded_blob_code_size_;
extern "C" const uint8_t v8_Default_embedded_blob_data_[];
-@@ -5110,6 +5114,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() {
+@@ -5223,6 +5227,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() {
uint32_t code_size = DefaultEmbeddedBlobCodeSize();
const uint8_t* data = DefaultEmbeddedBlobData();
uint32_t data_size = DefaultEmbeddedBlobDataSize();
diff --git a/www/iridium/files/patch-v8_src_flags_flags.cc b/www/iridium/files/patch-v8_src_flags_flags.cc
index 3b1fd580ca1a..3dc9b0c0aacc 100644
--- a/www/iridium/files/patch-v8_src_flags_flags.cc
+++ b/www/iridium/files/patch-v8_src_flags_flags.cc
@@ -1,4 +1,4 @@
---- v8/src/flags/flags.cc.orig 2025-05-07 06:48:23 UTC
+--- v8/src/flags/flags.cc.orig 2025-09-11 13:19:19 UTC
+++ v8/src/flags/flags.cc
@@ -16,6 +16,10 @@
#include <set>
@@ -8,10 +8,10 @@
+#include <sys/mman.h>
+#endif
+
+ #include "src/base/fpu.h"
#include "src/base/hashing.h"
#include "src/base/lazy-instance.h"
- #include "src/base/platform/platform.h"
-@@ -823,6 +827,10 @@ void FlagList::FreezeFlags() {
+@@ -827,6 +831,10 @@ void FlagList::FreezeFlags() {
// Note that for string flags we only protect the pointer itself, but not the
// string storage. TODO(12887): Fix this.
base::OS::SetDataReadOnly(&v8_flags, sizeof(v8_flags));
diff --git a/www/iridium/files/patch-v8_src_libsampler_sampler.cc b/www/iridium/files/patch-v8_src_libsampler_sampler.cc
index 79f5e1c3680b..cc09b4410af2 100644
--- a/www/iridium/files/patch-v8_src_libsampler_sampler.cc
+++ b/www/iridium/files/patch-v8_src_libsampler_sampler.cc
@@ -1,6 +1,6 @@
---- v8/src/libsampler/sampler.cc.orig 2025-05-07 06:48:23 UTC
+--- v8/src/libsampler/sampler.cc.orig 2025-09-11 13:19:19 UTC
+++ v8/src/libsampler/sampler.cc
-@@ -520,6 +520,16 @@ void SignalHandler::FillRegisterState(void* context, R
+@@ -527,6 +527,16 @@ void SignalHandler::FillRegisterState(void* context, R
state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
diff --git a/www/iridium/files/patch-v8_src_trap-handler_handler-inside-posix.cc b/www/iridium/files/patch-v8_src_trap-handler_handler-inside-posix.cc
index 1008ed65b682..4205421a300e 100644
--- a/www/iridium/files/patch-v8_src_trap-handler_handler-inside-posix.cc
+++ b/www/iridium/files/patch-v8_src_trap-handler_handler-inside-posix.cc
@@ -1,6 +1,6 @@
---- v8/src/trap-handler/handler-inside-posix.cc.orig 2025-05-07 06:48:23 UTC
+--- v8/src/trap-handler/handler-inside-posix.cc.orig 2025-09-11 13:19:19 UTC
+++ v8/src/trap-handler/handler-inside-posix.cc
-@@ -61,6 +61,8 @@ namespace trap_handler {
+@@ -62,6 +62,8 @@ namespace trap_handler {
#define CONTEXT_REG(reg, REG) &uc->uc_mcontext->__ss.__##reg
#elif V8_OS_FREEBSD
#define CONTEXT_REG(reg, REG) &uc->uc_mcontext.mc_##reg
@@ -9,7 +9,7 @@
#else
#error "Unsupported platform."
#endif
-@@ -80,8 +82,12 @@ bool IsKernelGeneratedSignal(siginfo_t* info) {
+@@ -81,8 +83,12 @@ bool IsKernelGeneratedSignal(siginfo_t* info) {
// si_code at its default of 0 for signals that don’t originate in hardware.
// The other conditions are only relevant for Linux.
return info->si_code > 0 && info->si_code != SI_USER &&
diff --git a/www/iridium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h b/www/iridium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h
deleted file mode 100644
index c4db857ee577..000000000000
--- a/www/iridium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h
+++ /dev/null
@@ -1,128 +0,0 @@
---- v8/src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h.orig 2025-05-07 06:48:23 UTC
-+++ v8/src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h
-@@ -579,7 +579,7 @@ void LiftoffAssembler::StoreTaggedPointer(Register dst
- }
-
- void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LoadType type, uint32_t* protected_load_pc,
- bool /* is_load_mem */, bool /* i64_offset */,
- bool needs_shift) {
-@@ -659,7 +659,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Regis
- }
-
- void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister src,
-+ uintptr_t offset_imm, LiftoffRegister src,
- StoreType type, LiftoffRegList pinned,
- uint32_t* protected_store_pc,
- bool /* is_store_mem */, bool /* i64_offset */) {
-@@ -738,7 +738,7 @@ void LiftoffAssembler::Store(Register dst_addr, Regist
- }
-
- void LiftoffAssembler::AtomicLoad(LiftoffRegister dst, Register src_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LoadType type, LiftoffRegList /* pinned */,
- bool /* i64_offset */) {
- if (type.value() != LoadType::kI64Load) {
-@@ -756,7 +756,7 @@ void LiftoffAssembler::AtomicLoad(LiftoffRegister dst,
- }
-
- void LiftoffAssembler::AtomicStore(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister src,
-+ uintptr_t offset_imm, LiftoffRegister src,
- StoreType type, LiftoffRegList pinned,
- bool /* i64_offset */) {
- DCHECK_LE(offset_imm, std::numeric_limits<int32_t>::max());
-@@ -826,7 +826,7 @@ enum Binop { kAdd, kSub, kAnd, kOr, kXor, kExchange };
-
- inline void AtomicAddOrSubOrExchange32(LiftoffAssembler* lasm, Binop binop,
- Register dst_addr, Register offset_reg,
-- uint32_t offset_imm,
-+ uintptr_t offset_imm,
- LiftoffRegister value,
- LiftoffRegister result, StoreType type) {
- DCHECK_EQ(value, result);
-@@ -894,7 +894,7 @@ inline void AtomicAddOrSubOrExchange32(LiftoffAssemble
- }
-
- inline void AtomicBinop32(LiftoffAssembler* lasm, Binop op, Register dst_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LiftoffRegister value, LiftoffRegister result,
- StoreType type) {
- DCHECK_EQ(value, result);
-@@ -1009,7 +1009,7 @@ inline void AtomicBinop32(LiftoffAssembler* lasm, Bino
- }
-
- inline void AtomicBinop64(LiftoffAssembler* lasm, Binop op, Register dst_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LiftoffRegister value, LiftoffRegister result) {
- // We need {ebx} here, which is the root register. As the root register it
- // needs special treatment. As we use {ebx} directly in the code below, we
-@@ -1105,7 +1105,7 @@ inline void AtomicBinop64(LiftoffAssembler* lasm, Bino
- } // namespace liftoff
-
- void LiftoffAssembler::AtomicAdd(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1119,7 +1119,7 @@ void LiftoffAssembler::AtomicAdd(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicSub(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1132,7 +1132,7 @@ void LiftoffAssembler::AtomicSub(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicAnd(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1146,7 +1146,7 @@ void LiftoffAssembler::AtomicAnd(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicOr(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1160,7 +1160,7 @@ void LiftoffAssembler::AtomicOr(Register dst_addr, Reg
- }
-
- void LiftoffAssembler::AtomicXor(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1174,7 +1174,7 @@ void LiftoffAssembler::AtomicXor(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicExchange(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm,
-+ uintptr_t offset_imm,
- LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
-@@ -1189,7 +1189,7 @@ void LiftoffAssembler::AtomicExchange(Register dst_add
- }
-
- void LiftoffAssembler::AtomicCompareExchange(
-- Register dst_addr, Register offset_reg, uint32_t offset_imm,
-+ Register dst_addr, Register offset_reg, uintptr_t offset_imm,
- LiftoffRegister expected, LiftoffRegister new_value, LiftoffRegister result,
- StoreType type, bool /* i64_offset */) {
- // We expect that the offset has already been added to {dst_addr}, and no
diff --git a/www/iridium/pkg-plist b/www/iridium/pkg-plist
index 00997bf65b92..694d219b5e60 100644
--- a/www/iridium/pkg-plist
+++ b/www/iridium/pkg-plist
@@ -7,120 +7,446 @@ bin/iridium
%%DATADIR%%/libGLESv2.so
%%DATADIR%%/libVkICD_mock_icd.so
%%DATADIR%%/libvulkan.so
+%%DATADIR%%/locales/af.pak
+%%DATADIR%%/locales/af.pak.info
+%%DATADIR%%/locales/af_FEMININE.pak
+%%DATADIR%%/locales/af_FEMININE.pak.info
+%%DATADIR%%/locales/af_MASCULINE.pak
+%%DATADIR%%/locales/af_MASCULINE.pak.info
+%%DATADIR%%/locales/af_NEUTER.pak
+%%DATADIR%%/locales/af_NEUTER.pak.info
%%DATADIR%%/locales/am.pak
%%DATADIR%%/locales/am.pak.info
+%%DATADIR%%/locales/am_FEMININE.pak
+%%DATADIR%%/locales/am_FEMININE.pak.info
+%%DATADIR%%/locales/am_MASCULINE.pak
+%%DATADIR%%/locales/am_MASCULINE.pak.info
+%%DATADIR%%/locales/am_NEUTER.pak
+%%DATADIR%%/locales/am_NEUTER.pak.info
%%DATADIR%%/locales/ar.pak
%%DATADIR%%/locales/ar.pak.info
-%%DEBUG%%%%DATADIR%%/locales/ar-XB.pak
-%%DEBUG%%%%DATADIR%%/locales/ar-XB.pak.info
-%%DATADIR%%/locales/af.pak
-%%DATADIR%%/locales/af.pak.info
+%%DATADIR%%/locales/ar_FEMININE.pak
+%%DATADIR%%/locales/ar_FEMININE.pak.info
+%%DATADIR%%/locales/ar_MASCULINE.pak
+%%DATADIR%%/locales/ar_MASCULINE.pak.info
+%%DATADIR%%/locales/ar_NEUTER.pak
+%%DATADIR%%/locales/ar_NEUTER.pak.info
%%DATADIR%%/locales/bg.pak
%%DATADIR%%/locales/bg.pak.info
+%%DATADIR%%/locales/bg_FEMININE.pak
+%%DATADIR%%/locales/bg_FEMININE.pak.info
+%%DATADIR%%/locales/bg_MASCULINE.pak
+%%DATADIR%%/locales/bg_MASCULINE.pak.info
+%%DATADIR%%/locales/bg_NEUTER.pak
+%%DATADIR%%/locales/bg_NEUTER.pak.info
%%DATADIR%%/locales/bn.pak
%%DATADIR%%/locales/bn.pak.info
+%%DATADIR%%/locales/bn_FEMININE.pak
+%%DATADIR%%/locales/bn_FEMININE.pak.info
+%%DATADIR%%/locales/bn_MASCULINE.pak
+%%DATADIR%%/locales/bn_MASCULINE.pak.info
+%%DATADIR%%/locales/bn_NEUTER.pak
+%%DATADIR%%/locales/bn_NEUTER.pak.info
%%DATADIR%%/locales/ca.pak
%%DATADIR%%/locales/ca.pak.info
+%%DATADIR%%/locales/ca_FEMININE.pak
+%%DATADIR%%/locales/ca_FEMININE.pak.info
+%%DATADIR%%/locales/ca_MASCULINE.pak
+%%DATADIR%%/locales/ca_MASCULINE.pak.info
+%%DATADIR%%/locales/ca_NEUTER.pak
+%%DATADIR%%/locales/ca_NEUTER.pak.info
%%DATADIR%%/locales/cs.pak
%%DATADIR%%/locales/cs.pak.info
+%%DATADIR%%/locales/cs_FEMININE.pak
+%%DATADIR%%/locales/cs_FEMININE.pak.info
+%%DATADIR%%/locales/cs_MASCULINE.pak
+%%DATADIR%%/locales/cs_MASCULINE.pak.info
+%%DATADIR%%/locales/cs_NEUTER.pak
+%%DATADIR%%/locales/cs_NEUTER.pak.info
%%DATADIR%%/locales/da.pak
%%DATADIR%%/locales/da.pak.info
+%%DATADIR%%/locales/da_FEMININE.pak
+%%DATADIR%%/locales/da_FEMININE.pak.info
+%%DATADIR%%/locales/da_MASCULINE.pak
+%%DATADIR%%/locales/da_MASCULINE.pak.info
+%%DATADIR%%/locales/da_NEUTER.pak
+%%DATADIR%%/locales/da_NEUTER.pak.info
%%DATADIR%%/locales/de.pak
%%DATADIR%%/locales/de.pak.info
+%%DATADIR%%/locales/de_FEMININE.pak
+%%DATADIR%%/locales/de_FEMININE.pak.info
+%%DATADIR%%/locales/de_MASCULINE.pak
+%%DATADIR%%/locales/de_MASCULINE.pak.info
+%%DATADIR%%/locales/de_NEUTER.pak
+%%DATADIR%%/locales/de_NEUTER.pak.info
%%DATADIR%%/locales/el.pak
%%DATADIR%%/locales/el.pak.info
+%%DATADIR%%/locales/el_FEMININE.pak
+%%DATADIR%%/locales/el_FEMININE.pak.info
+%%DATADIR%%/locales/el_MASCULINE.pak
+%%DATADIR%%/locales/el_MASCULINE.pak.info
+%%DATADIR%%/locales/el_NEUTER.pak
+%%DATADIR%%/locales/el_NEUTER.pak.info
%%DATADIR%%/locales/en-GB.pak
%%DATADIR%%/locales/en-GB.pak.info
+%%DATADIR%%/locales/en-GB_FEMININE.pak
+%%DATADIR%%/locales/en-GB_FEMININE.pak.info
+%%DATADIR%%/locales/en-GB_MASCULINE.pak
+%%DATADIR%%/locales/en-GB_MASCULINE.pak.info
+%%DATADIR%%/locales/en-GB_NEUTER.pak
+%%DATADIR%%/locales/en-GB_NEUTER.pak.info
%%DATADIR%%/locales/en-US.pak
%%DATADIR%%/locales/en-US.pak.info
-%%DEBUG%%%%DATADIR%%/locales/en-XA.pak
-%%DEBUG%%%%DATADIR%%/locales/en-XA.pak.info
+%%DATADIR%%/locales/en-US_FEMININE.pak
+%%DATADIR%%/locales/en-US_FEMININE.pak.info
+%%DATADIR%%/locales/en-US_MASCULINE.pak
+%%DATADIR%%/locales/en-US_MASCULINE.pak.info
+%%DATADIR%%/locales/en-US_NEUTER.pak
+%%DATADIR%%/locales/en-US_NEUTER.pak.info
%%DATADIR%%/locales/es-419.pak
%%DATADIR%%/locales/es-419.pak.info
+%%DATADIR%%/locales/es-419_FEMININE.pak
+%%DATADIR%%/locales/es-419_FEMININE.pak.info
+%%DATADIR%%/locales/es-419_MASCULINE.pak
+%%DATADIR%%/locales/es-419_MASCULINE.pak.info
+%%DATADIR%%/locales/es-419_NEUTER.pak
+%%DATADIR%%/locales/es-419_NEUTER.pak.info
%%DATADIR%%/locales/es.pak
%%DATADIR%%/locales/es.pak.info
+%%DATADIR%%/locales/es_FEMININE.pak
+%%DATADIR%%/locales/es_FEMININE.pak.info
+%%DATADIR%%/locales/es_MASCULINE.pak
+%%DATADIR%%/locales/es_MASCULINE.pak.info
+%%DATADIR%%/locales/es_NEUTER.pak
+%%DATADIR%%/locales/es_NEUTER.pak.info
%%DATADIR%%/locales/et.pak
%%DATADIR%%/locales/et.pak.info
+%%DATADIR%%/locales/et_FEMININE.pak
+%%DATADIR%%/locales/et_FEMININE.pak.info
+%%DATADIR%%/locales/et_MASCULINE.pak
+%%DATADIR%%/locales/et_MASCULINE.pak.info
+%%DATADIR%%/locales/et_NEUTER.pak
+%%DATADIR%%/locales/et_NEUTER.pak.info
%%DATADIR%%/locales/fa.pak
%%DATADIR%%/locales/fa.pak.info
+%%DATADIR%%/locales/fa_FEMININE.pak
+%%DATADIR%%/locales/fa_FEMININE.pak.info
+%%DATADIR%%/locales/fa_MASCULINE.pak
+%%DATADIR%%/locales/fa_MASCULINE.pak.info
+%%DATADIR%%/locales/fa_NEUTER.pak
+%%DATADIR%%/locales/fa_NEUTER.pak.info
%%DATADIR%%/locales/fi.pak
%%DATADIR%%/locales/fi.pak.info
+%%DATADIR%%/locales/fi_FEMININE.pak
+%%DATADIR%%/locales/fi_FEMININE.pak.info
+%%DATADIR%%/locales/fi_MASCULINE.pak
+%%DATADIR%%/locales/fi_MASCULINE.pak.info
+%%DATADIR%%/locales/fi_NEUTER.pak
+%%DATADIR%%/locales/fi_NEUTER.pak.info
%%DATADIR%%/locales/fil.pak
%%DATADIR%%/locales/fil.pak.info
+%%DATADIR%%/locales/fil_FEMININE.pak
+%%DATADIR%%/locales/fil_FEMININE.pak.info
+%%DATADIR%%/locales/fil_MASCULINE.pak
+%%DATADIR%%/locales/fil_MASCULINE.pak.info
+%%DATADIR%%/locales/fil_NEUTER.pak
+%%DATADIR%%/locales/fil_NEUTER.pak.info
%%DATADIR%%/locales/fr.pak
%%DATADIR%%/locales/fr.pak.info
+%%DATADIR%%/locales/fr_FEMININE.pak
+%%DATADIR%%/locales/fr_FEMININE.pak.info
+%%DATADIR%%/locales/fr_MASCULINE.pak
+%%DATADIR%%/locales/fr_MASCULINE.pak.info
+%%DATADIR%%/locales/fr_NEUTER.pak
+%%DATADIR%%/locales/fr_NEUTER.pak.info
%%DATADIR%%/locales/gu.pak
%%DATADIR%%/locales/gu.pak.info
+%%DATADIR%%/locales/gu_FEMININE.pak
+%%DATADIR%%/locales/gu_FEMININE.pak.info
+%%DATADIR%%/locales/gu_MASCULINE.pak
+%%DATADIR%%/locales/gu_MASCULINE.pak.info
+%%DATADIR%%/locales/gu_NEUTER.pak
+%%DATADIR%%/locales/gu_NEUTER.pak.info
%%DATADIR%%/locales/he.pak
%%DATADIR%%/locales/he.pak.info
+%%DATADIR%%/locales/he_FEMININE.pak
+%%DATADIR%%/locales/he_FEMININE.pak.info
+%%DATADIR%%/locales/he_MASCULINE.pak
+%%DATADIR%%/locales/he_MASCULINE.pak.info
+%%DATADIR%%/locales/he_NEUTER.pak
+%%DATADIR%%/locales/he_NEUTER.pak.info
%%DATADIR%%/locales/hi.pak
%%DATADIR%%/locales/hi.pak.info
+%%DATADIR%%/locales/hi_FEMININE.pak
+%%DATADIR%%/locales/hi_FEMININE.pak.info
+%%DATADIR%%/locales/hi_MASCULINE.pak
+%%DATADIR%%/locales/hi_MASCULINE.pak.info
+%%DATADIR%%/locales/hi_NEUTER.pak
+%%DATADIR%%/locales/hi_NEUTER.pak.info
%%DATADIR%%/locales/hr.pak
%%DATADIR%%/locales/hr.pak.info
+%%DATADIR%%/locales/hr_FEMININE.pak
+%%DATADIR%%/locales/hr_FEMININE.pak.info
+%%DATADIR%%/locales/hr_MASCULINE.pak
+%%DATADIR%%/locales/hr_MASCULINE.pak.info
+%%DATADIR%%/locales/hr_NEUTER.pak
+%%DATADIR%%/locales/hr_NEUTER.pak.info
%%DATADIR%%/locales/hu.pak
%%DATADIR%%/locales/hu.pak.info
+%%DATADIR%%/locales/hu_FEMININE.pak
+%%DATADIR%%/locales/hu_FEMININE.pak.info
+%%DATADIR%%/locales/hu_MASCULINE.pak
+%%DATADIR%%/locales/hu_MASCULINE.pak.info
+%%DATADIR%%/locales/hu_NEUTER.pak
+%%DATADIR%%/locales/hu_NEUTER.pak.info
%%DATADIR%%/locales/id.pak
%%DATADIR%%/locales/id.pak.info
+%%DATADIR%%/locales/id_FEMININE.pak
+%%DATADIR%%/locales/id_FEMININE.pak.info
+%%DATADIR%%/locales/id_MASCULINE.pak
+%%DATADIR%%/locales/id_MASCULINE.pak.info
+%%DATADIR%%/locales/id_NEUTER.pak
+%%DATADIR%%/locales/id_NEUTER.pak.info
%%DATADIR%%/locales/it.pak
%%DATADIR%%/locales/it.pak.info
+%%DATADIR%%/locales/it_FEMININE.pak
+%%DATADIR%%/locales/it_FEMININE.pak.info
+%%DATADIR%%/locales/it_MASCULINE.pak
+%%DATADIR%%/locales/it_MASCULINE.pak.info
+%%DATADIR%%/locales/it_NEUTER.pak
+%%DATADIR%%/locales/it_NEUTER.pak.info
%%DATADIR%%/locales/ja.pak
%%DATADIR%%/locales/ja.pak.info
+%%DATADIR%%/locales/ja_FEMININE.pak
+%%DATADIR%%/locales/ja_FEMININE.pak.info
+%%DATADIR%%/locales/ja_MASCULINE.pak
+%%DATADIR%%/locales/ja_MASCULINE.pak.info
+%%DATADIR%%/locales/ja_NEUTER.pak
+%%DATADIR%%/locales/ja_NEUTER.pak.info
%%DATADIR%%/locales/kn.pak
%%DATADIR%%/locales/kn.pak.info
+%%DATADIR%%/locales/kn_FEMININE.pak
+%%DATADIR%%/locales/kn_FEMININE.pak.info
+%%DATADIR%%/locales/kn_MASCULINE.pak
+%%DATADIR%%/locales/kn_MASCULINE.pak.info
+%%DATADIR%%/locales/kn_NEUTER.pak
+%%DATADIR%%/locales/kn_NEUTER.pak.info
%%DATADIR%%/locales/ko.pak
%%DATADIR%%/locales/ko.pak.info
+%%DATADIR%%/locales/ko_FEMININE.pak
+%%DATADIR%%/locales/ko_FEMININE.pak.info
+%%DATADIR%%/locales/ko_MASCULINE.pak
+%%DATADIR%%/locales/ko_MASCULINE.pak.info
+%%DATADIR%%/locales/ko_NEUTER.pak
+%%DATADIR%%/locales/ko_NEUTER.pak.info
%%DATADIR%%/locales/lt.pak
%%DATADIR%%/locales/lt.pak.info
+%%DATADIR%%/locales/lt_FEMININE.pak
+%%DATADIR%%/locales/lt_FEMININE.pak.info
+%%DATADIR%%/locales/lt_MASCULINE.pak
+%%DATADIR%%/locales/lt_MASCULINE.pak.info
+%%DATADIR%%/locales/lt_NEUTER.pak
+%%DATADIR%%/locales/lt_NEUTER.pak.info
%%DATADIR%%/locales/lv.pak
%%DATADIR%%/locales/lv.pak.info
+%%DATADIR%%/locales/lv_FEMININE.pak
+%%DATADIR%%/locales/lv_FEMININE.pak.info
+%%DATADIR%%/locales/lv_MASCULINE.pak
+%%DATADIR%%/locales/lv_MASCULINE.pak.info
+%%DATADIR%%/locales/lv_NEUTER.pak
+%%DATADIR%%/locales/lv_NEUTER.pak.info
%%DATADIR%%/locales/ml.pak
%%DATADIR%%/locales/ml.pak.info
+%%DATADIR%%/locales/ml_FEMININE.pak
+%%DATADIR%%/locales/ml_FEMININE.pak.info
+%%DATADIR%%/locales/ml_MASCULINE.pak
+%%DATADIR%%/locales/ml_MASCULINE.pak.info
+%%DATADIR%%/locales/ml_NEUTER.pak
+%%DATADIR%%/locales/ml_NEUTER.pak.info
%%DATADIR%%/locales/mr.pak
%%DATADIR%%/locales/mr.pak.info
+%%DATADIR%%/locales/mr_FEMININE.pak
+%%DATADIR%%/locales/mr_FEMININE.pak.info
+%%DATADIR%%/locales/mr_MASCULINE.pak
+%%DATADIR%%/locales/mr_MASCULINE.pak.info
+%%DATADIR%%/locales/mr_NEUTER.pak
+%%DATADIR%%/locales/mr_NEUTER.pak.info
%%DATADIR%%/locales/ms.pak
%%DATADIR%%/locales/ms.pak.info
+%%DATADIR%%/locales/ms_FEMININE.pak
+%%DATADIR%%/locales/ms_FEMININE.pak.info
+%%DATADIR%%/locales/ms_MASCULINE.pak
+%%DATADIR%%/locales/ms_MASCULINE.pak.info
+%%DATADIR%%/locales/ms_NEUTER.pak
+%%DATADIR%%/locales/ms_NEUTER.pak.info
%%DATADIR%%/locales/nb.pak
%%DATADIR%%/locales/nb.pak.info
+%%DATADIR%%/locales/nb_FEMININE.pak
+%%DATADIR%%/locales/nb_FEMININE.pak.info
+%%DATADIR%%/locales/nb_MASCULINE.pak
+%%DATADIR%%/locales/nb_MASCULINE.pak.info
+%%DATADIR%%/locales/nb_NEUTER.pak
+%%DATADIR%%/locales/nb_NEUTER.pak.info
%%DATADIR%%/locales/nl.pak
%%DATADIR%%/locales/nl.pak.info
+%%DATADIR%%/locales/nl_FEMININE.pak
+%%DATADIR%%/locales/nl_FEMININE.pak.info
+%%DATADIR%%/locales/nl_MASCULINE.pak
+%%DATADIR%%/locales/nl_MASCULINE.pak.info
+%%DATADIR%%/locales/nl_NEUTER.pak
+%%DATADIR%%/locales/nl_NEUTER.pak.info
%%DATADIR%%/locales/pl.pak
%%DATADIR%%/locales/pl.pak.info
+%%DATADIR%%/locales/pl_FEMININE.pak
+%%DATADIR%%/locales/pl_FEMININE.pak.info
+%%DATADIR%%/locales/pl_MASCULINE.pak
+%%DATADIR%%/locales/pl_MASCULINE.pak.info
+%%DATADIR%%/locales/pl_NEUTER.pak
+%%DATADIR%%/locales/pl_NEUTER.pak.info
%%DATADIR%%/locales/pt-BR.pak
%%DATADIR%%/locales/pt-BR.pak.info
+%%DATADIR%%/locales/pt-BR_FEMININE.pak
+%%DATADIR%%/locales/pt-BR_FEMININE.pak.info
+%%DATADIR%%/locales/pt-BR_MASCULINE.pak
+%%DATADIR%%/locales/pt-BR_MASCULINE.pak.info
+%%DATADIR%%/locales/pt-BR_NEUTER.pak
+%%DATADIR%%/locales/pt-BR_NEUTER.pak.info
%%DATADIR%%/locales/pt-PT.pak
%%DATADIR%%/locales/pt-PT.pak.info
+%%DATADIR%%/locales/pt-PT_FEMININE.pak
+%%DATADIR%%/locales/pt-PT_FEMININE.pak.info
+%%DATADIR%%/locales/pt-PT_MASCULINE.pak
+%%DATADIR%%/locales/pt-PT_MASCULINE.pak.info
+%%DATADIR%%/locales/pt-PT_NEUTER.pak
+%%DATADIR%%/locales/pt-PT_NEUTER.pak.info
%%DATADIR%%/locales/ro.pak
%%DATADIR%%/locales/ro.pak.info
+%%DATADIR%%/locales/ro_FEMININE.pak
+%%DATADIR%%/locales/ro_FEMININE.pak.info
+%%DATADIR%%/locales/ro_MASCULINE.pak
+%%DATADIR%%/locales/ro_MASCULINE.pak.info
+%%DATADIR%%/locales/ro_NEUTER.pak
+%%DATADIR%%/locales/ro_NEUTER.pak.info
%%DATADIR%%/locales/ru.pak
%%DATADIR%%/locales/ru.pak.info
+%%DATADIR%%/locales/ru_FEMININE.pak
+%%DATADIR%%/locales/ru_FEMININE.pak.info
+%%DATADIR%%/locales/ru_MASCULINE.pak
+%%DATADIR%%/locales/ru_MASCULINE.pak.info
+%%DATADIR%%/locales/ru_NEUTER.pak
+%%DATADIR%%/locales/ru_NEUTER.pak.info
%%DATADIR%%/locales/sk.pak
%%DATADIR%%/locales/sk.pak.info
+%%DATADIR%%/locales/sk_FEMININE.pak
+%%DATADIR%%/locales/sk_FEMININE.pak.info
+%%DATADIR%%/locales/sk_MASCULINE.pak
+%%DATADIR%%/locales/sk_MASCULINE.pak.info
+%%DATADIR%%/locales/sk_NEUTER.pak
+%%DATADIR%%/locales/sk_NEUTER.pak.info
%%DATADIR%%/locales/sl.pak
%%DATADIR%%/locales/sl.pak.info
+%%DATADIR%%/locales/sl_FEMININE.pak
+%%DATADIR%%/locales/sl_FEMININE.pak.info
+%%DATADIR%%/locales/sl_MASCULINE.pak
+%%DATADIR%%/locales/sl_MASCULINE.pak.info
+%%DATADIR%%/locales/sl_NEUTER.pak
+%%DATADIR%%/locales/sl_NEUTER.pak.info
%%DATADIR%%/locales/sr.pak
%%DATADIR%%/locales/sr.pak.info
+%%DATADIR%%/locales/sr_FEMININE.pak
+%%DATADIR%%/locales/sr_FEMININE.pak.info
+%%DATADIR%%/locales/sr_MASCULINE.pak
+%%DATADIR%%/locales/sr_MASCULINE.pak.info
+%%DATADIR%%/locales/sr_NEUTER.pak
+%%DATADIR%%/locales/sr_NEUTER.pak.info
%%DATADIR%%/locales/sv.pak
%%DATADIR%%/locales/sv.pak.info
+%%DATADIR%%/locales/sv_FEMININE.pak
+%%DATADIR%%/locales/sv_FEMININE.pak.info
+%%DATADIR%%/locales/sv_MASCULINE.pak
+%%DATADIR%%/locales/sv_MASCULINE.pak.info
+%%DATADIR%%/locales/sv_NEUTER.pak
+%%DATADIR%%/locales/sv_NEUTER.pak.info
%%DATADIR%%/locales/sw.pak
%%DATADIR%%/locales/sw.pak.info
+%%DATADIR%%/locales/sw_FEMININE.pak
+%%DATADIR%%/locales/sw_FEMININE.pak.info
+%%DATADIR%%/locales/sw_MASCULINE.pak
+%%DATADIR%%/locales/sw_MASCULINE.pak.info
+%%DATADIR%%/locales/sw_NEUTER.pak
+%%DATADIR%%/locales/sw_NEUTER.pak.info
%%DATADIR%%/locales/ta.pak
%%DATADIR%%/locales/ta.pak.info
+%%DATADIR%%/locales/ta_FEMININE.pak
+%%DATADIR%%/locales/ta_FEMININE.pak.info
+%%DATADIR%%/locales/ta_MASCULINE.pak
+%%DATADIR%%/locales/ta_MASCULINE.pak.info
+%%DATADIR%%/locales/ta_NEUTER.pak
+%%DATADIR%%/locales/ta_NEUTER.pak.info
%%DATADIR%%/locales/te.pak
%%DATADIR%%/locales/te.pak.info
+%%DATADIR%%/locales/te_FEMININE.pak
+%%DATADIR%%/locales/te_FEMININE.pak.info
+%%DATADIR%%/locales/te_MASCULINE.pak
+%%DATADIR%%/locales/te_MASCULINE.pak.info
+%%DATADIR%%/locales/te_NEUTER.pak
+%%DATADIR%%/locales/te_NEUTER.pak.info
%%DATADIR%%/locales/th.pak
%%DATADIR%%/locales/th.pak.info
+%%DATADIR%%/locales/th_FEMININE.pak
+%%DATADIR%%/locales/th_FEMININE.pak.info
+%%DATADIR%%/locales/th_MASCULINE.pak
+%%DATADIR%%/locales/th_MASCULINE.pak.info
+%%DATADIR%%/locales/th_NEUTER.pak
+%%DATADIR%%/locales/th_NEUTER.pak.info
%%DATADIR%%/locales/tr.pak
%%DATADIR%%/locales/tr.pak.info
+%%DATADIR%%/locales/tr_FEMININE.pak
+%%DATADIR%%/locales/tr_FEMININE.pak.info
+%%DATADIR%%/locales/tr_MASCULINE.pak
+%%DATADIR%%/locales/tr_MASCULINE.pak.info
+%%DATADIR%%/locales/tr_NEUTER.pak
+%%DATADIR%%/locales/tr_NEUTER.pak.info
%%DATADIR%%/locales/uk.pak
%%DATADIR%%/locales/uk.pak.info
+%%DATADIR%%/locales/uk_FEMININE.pak
+%%DATADIR%%/locales/uk_FEMININE.pak.info
+%%DATADIR%%/locales/uk_MASCULINE.pak
+%%DATADIR%%/locales/uk_MASCULINE.pak.info
+%%DATADIR%%/locales/uk_NEUTER.pak
+%%DATADIR%%/locales/uk_NEUTER.pak.info
%%DATADIR%%/locales/ur.pak
%%DATADIR%%/locales/ur.pak.info
+%%DATADIR%%/locales/ur_FEMININE.pak
+%%DATADIR%%/locales/ur_FEMININE.pak.info
+%%DATADIR%%/locales/ur_MASCULINE.pak
+%%DATADIR%%/locales/ur_MASCULINE.pak.info
+%%DATADIR%%/locales/ur_NEUTER.pak
+%%DATADIR%%/locales/ur_NEUTER.pak.info
%%DATADIR%%/locales/vi.pak
%%DATADIR%%/locales/vi.pak.info
+%%DATADIR%%/locales/vi_FEMININE.pak
+%%DATADIR%%/locales/vi_FEMININE.pak.info
+%%DATADIR%%/locales/vi_MASCULINE.pak
+%%DATADIR%%/locales/vi_MASCULINE.pak.info
+%%DATADIR%%/locales/vi_NEUTER.pak
+%%DATADIR%%/locales/vi_NEUTER.pak.info
%%DATADIR%%/locales/zh-CN.pak
%%DATADIR%%/locales/zh-CN.pak.info
+%%DATADIR%%/locales/zh-CN_FEMININE.pak
+%%DATADIR%%/locales/zh-CN_FEMININE.pak.info
+%%DATADIR%%/locales/zh-CN_MASCULINE.pak
+%%DATADIR%%/locales/zh-CN_MASCULINE.pak.info
+%%DATADIR%%/locales/zh-CN_NEUTER.pak
+%%DATADIR%%/locales/zh-CN_NEUTER.pak.info
%%DATADIR%%/locales/zh-TW.pak
%%DATADIR%%/locales/zh-TW.pak.info
+%%DATADIR%%/locales/zh-TW_FEMININE.pak
+%%DATADIR%%/locales/zh-TW_FEMININE.pak.info
+%%DATADIR%%/locales/zh-TW_MASCULINE.pak
+%%DATADIR%%/locales/zh-TW_MASCULINE.pak.info
+%%DATADIR%%/locales/zh-TW_NEUTER.pak
+%%DATADIR%%/locales/zh-TW_NEUTER.pak.info
%%DATADIR%%/mksnapshot
%%DATADIR%%/product_logo_48.png
%%DATADIR%%/protoc
diff --git a/www/katana/Makefile b/www/katana/Makefile
index ba8fc3a2a587..a917e62e10d8 100644
--- a/www/katana/Makefile
+++ b/www/katana/Makefile
@@ -1,7 +1,6 @@
PORTNAME= katana
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.3
-PORTREVISION= 5
+DISTVERSION= 1.2.2
CATEGORIES= www
MAINTAINER= dutra@FreeBSD.org
diff --git a/www/katana/distinfo b/www/katana/distinfo
index 10a67ce20066..89f2abaa3483 100644
--- a/www/katana/distinfo
+++ b/www/katana/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1746066807
-SHA256 (go/www_katana/katana-v1.1.3/v1.1.3.mod) = 4b35743aaa4f50f686226f735c0c630dd6301ec968c884020025347dc34f859c
-SIZE (go/www_katana/katana-v1.1.3/v1.1.3.mod) = 7673
-SHA256 (go/www_katana/katana-v1.1.3/v1.1.3.zip) = dc89436ff980af5a9f905a995ffbbf80c9fae355242e233e71209d560221817c
-SIZE (go/www_katana/katana-v1.1.3/v1.1.3.zip) = 145797
+TIMESTAMP = 1757795043
+SHA256 (go/www_katana/katana-v1.2.2/v1.2.2.mod) = 8a9a099376db47a4784abbf53028303868b2528b1a381c87a74936803d3a6649
+SIZE (go/www_katana/katana-v1.2.2/v1.2.2.mod) = 7752
+SHA256 (go/www_katana/katana-v1.2.2/v1.2.2.zip) = 83d06b172e7691d340c95f01b72c9a45a008dbc37860052253d5c79cc5b70e06
+SIZE (go/www_katana/katana-v1.2.2/v1.2.2.zip) = 159438
diff --git a/www/libnghttp2/Makefile b/www/libnghttp2/Makefile
index a544ca09090c..6d4a299db39b 100644
--- a/www/libnghttp2/Makefile
+++ b/www/libnghttp2/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nghttp2
-PORTVERSION= 1.66.0
+PORTVERSION= 1.67.0
CATEGORIES= www net
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= lib
diff --git a/www/libnghttp2/distinfo b/www/libnghttp2/distinfo
index 8008b345dd54..159a2b55df2e 100644
--- a/www/libnghttp2/distinfo
+++ b/www/libnghttp2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750188018
-SHA256 (nghttp2-1.66.0.tar.xz) = 00ba1bdf0ba2c74b2a4fe6c8b1069dc9d82f82608af24442d430df97c6f9e631
-SIZE (nghttp2-1.66.0.tar.xz) = 1743992
+TIMESTAMP = 1757120546
+SHA256 (nghttp2-1.67.0.tar.xz) = d21cf317837f5176b76bed7eded54a4e4583dfa378c9f915913329d9d4a1be86
+SIZE (nghttp2-1.67.0.tar.xz) = 1675484
diff --git a/www/libnghttp2/files/patch-Makefile.in b/www/libnghttp2/files/patch-Makefile.in
index 1844258a1714..cb19bca5f5d0 100644
--- a/www/libnghttp2/files/patch-Makefile.in
+++ b/www/libnghttp2/files/patch-Makefile.in
@@ -1,10 +1,10 @@
---- Makefile.in.orig 2025-06-17 10:27:07 UTC
+--- Makefile.in.orig 2025-09-02 12:26:39 UTC
+++ Makefile.in
-@@ -456,11 +456,10 @@ top_srcdir = @top_srcdir@
+@@ -458,11 +458,10 @@ top_srcdir = @top_srcdir@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--SUBDIRS = lib third-party src bpf examples tests integration-tests \
+-SUBDIRS = lib tests third-party src bpf examples integration-tests \
- doc contrib
+SUBDIRS = lib
diff --git a/www/libnghttp2/pkg-plist b/www/libnghttp2/pkg-plist
index fdb74af974c2..243589300608 100644
--- a/www/libnghttp2/pkg-plist
+++ b/www/libnghttp2/pkg-plist
@@ -3,5 +3,5 @@ include/nghttp2/nghttp2ver.h
lib/libnghttp2.a
lib/libnghttp2.so
lib/libnghttp2.so.14
-lib/libnghttp2.so.14.28.5
+lib/libnghttp2.so.14.29.0
libdata/pkgconfig/libnghttp2.pc
diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile
index 6510de0e8f33..5d3808816389 100644
--- a/www/librewolf/Makefile
+++ b/www/librewolf/Makefile
@@ -1,8 +1,7 @@
PORTNAME= librewolf
-DISTVERSION= 142.0.1
+DISTVERSION= 143.0
LWPATCH= -1
DISTVERSIONSUFFIX= ${LWPATCH}.source
-PORTREVISION= 1
CATEGORIES= www wayland
MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}${LWPATCH}/
@@ -14,7 +13,7 @@ LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nspr>=4.32:devel/nspr \
- nss>=3.114:security/nss \
+ nss>=3.115.1:security/nss \
icu>=76.1:devel/icu \
libevent>=2.1.8:devel/libevent \
harfbuzz>=10.1.0:print/harfbuzz \
diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo
index a90acb98b906..390d5005e372 100644
--- a/www/librewolf/distinfo
+++ b/www/librewolf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756477960
-SHA256 (librewolf-142.0.1-1.source.tar.gz) = 770fd784b91a836edd327e816d735a91852872909933dd8a167cd59f388ffbe1
-SIZE (librewolf-142.0.1-1.source.tar.gz) = 1010630994
+TIMESTAMP = 1758140123
+SHA256 (librewolf-143.0-1.source.tar.gz) = 95e12aca5828c7e1b0b0077ad812554b1573d135264d3f17f0e5e0a1ca9270af
+SIZE (librewolf-143.0-1.source.tar.gz) = 1022663507
diff --git a/www/librewolf/files/patch-bug1874059 b/www/librewolf/files/patch-bug1874059
deleted file mode 100644
index 3fa954ef9def..000000000000
--- a/www/librewolf/files/patch-bug1874059
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 56c888446600991803fd92d668349101ad4bf160
-Author: Christoph Moench-Tegeder <cmt@burggraben.net>
-Date: Tue Feb 6 22:51:27 2024 +0100
-
- switch to -fvisibility flags
-
- this fixes linkage with llvm18 (which does not like the former
- approach via the #pragma in gcc_hidden.h
-
- PR: 276746
- Submitted by: dim@
-
-diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure
-index d08b748db250..4696f69153f6 100644
---- build/moz.configure/toolchain.configure
-+++ build/moz.configure/toolchain.configure
-@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
- @depends(target, build_environment)
- def visibility_flags(target, env):
- if target.os != "WINNT":
-- if target.kernel == "Darwin":
-+ if target.kernel == "Darwin" or target.kernel == "FreeBSD":
- return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
- return (
- "-I%s/system_wrappers" % os.path.join(env.dist),
diff --git a/www/librewolf/files/patch-bug1876632 b/www/librewolf/files/patch-bug1876632
deleted file mode 100644
index 3932b1deccc9..000000000000
--- a/www/librewolf/files/patch-bug1876632
+++ /dev/null
@@ -1,35 +0,0 @@
-commit 4f531ca86d24be5d4de673f6e652ed899151d20c
-Author: Jesper Schmitz Mouridsen <jesper@schmitz.computer>
-Date: Wed Jul 23 22:01:31 2025 +0000
-
- Bug 1876632 Fix aslr allocations on FreeBSD r=spidermonkey-reviewers,sfink
-
- Without the alignment flag the desired address
- gets randomized by aslr in a way which causes it to not
- be aligned. Furthermore the TryToAlignChunk almost always
- fails. With this fix it never gets to TryToAlignChunk
- because the flag guarantees upfront alignment.
-
- Differential Revision: https://phabricator.services.mozilla.com/D257824
-
-diff --git js/src/gc/Memory.cpp js/src/gc/Memory.cpp
-index e790f1784ede..13639c9a6eb4 100644
---- js/src/gc/Memory.cpp
-+++ js/src/gc/Memory.cpp
-@@ -608,7 +608,16 @@ static void* MapAlignedPagesRandom(size_t length, size_t alignment) {
- for (size_t i = 1; i <= 1024; ++i) {
- if (i & 0xf) {
- uint64_t desired = alignment * GetNumberInRange(minNum, maxNum);
-+# if defined(__FreeBSD__) && defined(__aarch64__)
-+ int flags = MAP_PRIVATE | MAP_ANON |
-+ MAP_ALIGNED(mozilla::CeilingLog2Size(alignment));
-+ region = MozTaggedAnonymousMmap((void*)(uintptr_t)desired, length,
-+ int(PageAccess::ReadWrite), flags, -1, 0,
-+ "js-gc-heap");
-+# else
- region = MapMemoryAtFuzzy(reinterpret_cast<void*>(desired), length);
-+
-+# endif
- if (!region) {
- continue;
- }
diff --git a/www/librewolf/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build b/www/librewolf/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build
new file mode 100644
index 000000000000..9b898aa3a58f
--- /dev/null
+++ b/www/librewolf/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build
@@ -0,0 +1,18 @@
+commit 18ea032974539d7f4db64d21a87fd174333b9e2c
+Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
+
+ build XErrorTrap for FreeBSD, too
+
+diff --git dom/media/webrtc/libwebrtc_overrides/moz.build dom/media/webrtc/libwebrtc_overrides/moz.build
+index ed9c450e5649..1ac213e48b28 100644
+--- dom/media/webrtc/libwebrtc_overrides/moz.build
++++ dom/media/webrtc/libwebrtc_overrides/moz.build
+@@ -34,7 +34,7 @@ UNIFIED_SOURCES += [
+ "call/call_basic_stats.cc",
+ ]
+
+-if CONFIG["OS_TARGET"] == "OpenBSD":
++if CONFIG["OS_TARGET"] in ("FreeBSD", "OpenBSD"):
+ CXXFLAGS += CONFIG["MOZ_X11_CFLAGS"]
+ UNIFIED_SOURCES += [
+ "modules/desktop_capture/linux/x11/x_error_trap.cc",
diff --git a/www/librewolf/files/patch-libwebrtc-generated b/www/librewolf/files/patch-libwebrtc-generated
index e8c87e3227b3..5621fe23cf21 100644
--- a/www/librewolf/files/patch-libwebrtc-generated
+++ b/www/librewolf/files/patch-libwebrtc-generated
@@ -1,18 +1,19 @@
-commit e5b021e52acc5acc4c5c629bd51d9d23f76a6fa3
+commit b9b52a94471b7d6930b5c295c16ccf1512e6c86b
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
- regenerate FreeBSD libwebrtc patch for gecko 142
+ regenerate FreeBSD libwebrtc patch for gecko 143
diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-index 8311adfac314..8f928780f912 100644
+index 536af3b634ce..8dd2dcdb638b 100644
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -29,7 +30,7 @@ index 8311adfac314..8f928780f912 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -118,7 +119,7 @@ index 8311adfac314..8f928780f912 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -138,14 +139,12 @@ index 8311adfac314..8f928780f912 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -184,12 +183,10 @@ index 8311adfac314..8f928780f912 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -198,28 +195,27 @@ index 8311adfac314..8f928780f912 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("resource_adaptation_api_gn")
diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build
-index 135d99581ad8..9d2850332b47 100644
+index aba4df15e70d..940c0813b07b 100644
--- third_party/libwebrtc/api/array_view_gn/moz.build
+++ third_party/libwebrtc/api/array_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -236,7 +232,7 @@ index 135d99581ad8..9d2850332b47 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -325,7 +321,7 @@ index 135d99581ad8..9d2850332b47 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -341,19 +337,17 @@ index 135d99581ad8..9d2850332b47 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -379,35 +373,32 @@ index 135d99581ad8..9d2850332b47 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("array_view_gn")
diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
-index ef6f064da624..1e2e771f29ca 100644
+index 7071eaa2c55c..d06057bdb4c7 100644
--- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
+++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -424,7 +415,7 @@ index ef6f064da624..1e2e771f29ca 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -521,7 +512,7 @@ index ef6f064da624..1e2e771f29ca 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -537,19 +528,17 @@ index ef6f064da624..1e2e771f29ca 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -575,35 +564,32 @@ index ef6f064da624..1e2e771f29ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("async_dns_resolver_gn")
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-index 2b26428acdeb..0e19e0930385 100644
+index f45b24581d13..8d009c9065e7 100644
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -620,7 +606,7 @@ index 2b26428acdeb..0e19e0930385 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -709,7 +695,7 @@ index 2b26428acdeb..0e19e0930385 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -729,14 +715,12 @@ index 2b26428acdeb..0e19e0930385 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -775,12 +759,10 @@ index 2b26428acdeb..0e19e0930385 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -789,28 +771,27 @@ index 2b26428acdeb..0e19e0930385 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec3_config_gn")
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-index b23d7d9d9c17..e43e72bb81ed 100644
+index 876aa9af22a9..af845805eb4a 100644
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -828,7 +809,7 @@ index b23d7d9d9c17..e43e72bb81ed 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -928,7 +909,7 @@ index b23d7d9d9c17..e43e72bb81ed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -948,14 +929,12 @@ index b23d7d9d9c17..e43e72bb81ed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -994,12 +973,10 @@ index b23d7d9d9c17..e43e72bb81ed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -1008,28 +985,27 @@ index b23d7d9d9c17..e43e72bb81ed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec3_factory_gn")
diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build
-index 98aeebf3a0ff..4b9c82612b4f 100644
+index 4adeb31f19ea..dcaf6e34ca7f 100644
--- third_party/libwebrtc/api/audio/audio_device_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1046,7 +1022,7 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1135,7 +1111,7 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1151,19 +1127,17 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1189,35 +1163,32 @@ index 98aeebf3a0ff..4b9c82612b4f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_device_gn")
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-index 4afb8112be80..ff3fe8f8a5ba 100644
+index b48e1554ff0c..4a0992b45863 100644
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1234,7 +1205,7 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1330,7 +1301,7 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1350,14 +1321,12 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -1396,12 +1365,10 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -1410,28 +1377,27 @@ index 4afb8112be80..ff3fe8f8a5ba 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_api_gn")
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
-index da677c9e1b98..107a73150225 100644
+index 4ade24b607cf..a862046a5e03 100644
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1448,7 +1414,7 @@ index da677c9e1b98..107a73150225 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1533,7 +1499,7 @@ index da677c9e1b98..107a73150225 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1549,19 +1515,17 @@ index da677c9e1b98..107a73150225 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1587,35 +1551,32 @@ index da677c9e1b98..107a73150225 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_frame_processor_gn")
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
-index 6b76e07f5f25..652ded4059f8 100644
+index e09b103e5937..e4f8ac284c15 100644
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1632,7 +1593,7 @@ index 6b76e07f5f25..652ded4059f8 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1728,7 +1689,7 @@ index 6b76e07f5f25..652ded4059f8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1744,19 +1705,17 @@ index 6b76e07f5f25..652ded4059f8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1782,35 +1741,32 @@ index 6b76e07f5f25..652ded4059f8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_mixer_api_gn")
diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
-index 0ec4e1d61792..ef24358b9306 100644
+index f4aae5e715d8..d7a94ce58f8f 100644
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -1827,7 +1783,7 @@ index 0ec4e1d61792..ef24358b9306 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -1927,7 +1883,7 @@ index 0ec4e1d61792..ef24358b9306 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1947,14 +1903,12 @@ index 0ec4e1d61792..ef24358b9306 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -1993,12 +1947,10 @@ index 0ec4e1d61792..ef24358b9306 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2007,28 +1959,27 @@ index 0ec4e1d61792..ef24358b9306 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_processing_gn")
diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
-index de14dfdb12f8..292973c3234d 100644
+index 7e5b71d14cb2..28ea7419731a 100644
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2045,7 +1996,7 @@ index de14dfdb12f8..292973c3234d 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2130,7 +2081,7 @@ index de14dfdb12f8..292973c3234d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2150,14 +2101,12 @@ index de14dfdb12f8..292973c3234d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -2196,12 +2145,10 @@ index de14dfdb12f8..292973c3234d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2210,28 +2157,27 @@ index de14dfdb12f8..292973c3234d 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_processing_statistics_gn")
diff --git third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
-index 06268621031d..6bf49766d39a 100644
+index dd674794a7ea..5cc994ae13d3 100644
--- third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
+++ third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -2249,7 +2195,7 @@ index 06268621031d..6bf49766d39a 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2349,7 +2295,7 @@ index 06268621031d..6bf49766d39a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2369,14 +2315,12 @@ index 06268621031d..6bf49766d39a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -2415,12 +2359,10 @@ index 06268621031d..6bf49766d39a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2429,28 +2371,27 @@ index 06268621031d..6bf49766d39a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_audio_processing_builder_gn")
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
-index 7b24226673ad..d08252809411 100644
+index 106400ba7d20..d6be6247afbe 100644
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2467,7 +2408,7 @@ index 7b24226673ad..d08252809411 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2567,7 +2508,7 @@ index 7b24226673ad..d08252809411 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2583,19 +2524,17 @@ index 7b24226673ad..d08252809411 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -2621,35 +2560,32 @@ index 7b24226673ad..d08252809411 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("echo_control_gn")
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-index 77267ad65ee1..18a66e081a52 100644
+index 3b39cbbb06a1..56d960820e9a 100644
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2666,7 +2602,7 @@ index 77267ad65ee1..18a66e081a52 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2766,7 +2702,7 @@ index 77267ad65ee1..18a66e081a52 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2786,14 +2722,12 @@ index 77267ad65ee1..18a66e081a52 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -2832,12 +2766,10 @@ index 77267ad65ee1..18a66e081a52 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -2846,28 +2778,27 @@ index 77267ad65ee1..18a66e081a52 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_L16_gn")
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
-index 47397f996c19..c27e3a06ad98 100644
+index 7617d7f5292b..16437f45293b 100644
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -2884,7 +2815,7 @@ index 47397f996c19..c27e3a06ad98 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -2984,7 +2915,7 @@ index 47397f996c19..c27e3a06ad98 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3004,14 +2935,12 @@ index 47397f996c19..c27e3a06ad98 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3050,12 +2979,10 @@ index 47397f996c19..c27e3a06ad98 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3064,28 +2991,27 @@ index 47397f996c19..c27e3a06ad98 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_L16_gn")
diff --git third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
-index 9e12e483278f..ddc99b55b57f 100644
+index 33ba61c29758..5d8a792fe980 100644
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3102,7 +3028,7 @@ index 9e12e483278f..ddc99b55b57f 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3202,7 +3128,7 @@ index 9e12e483278f..ddc99b55b57f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3222,14 +3148,12 @@ index 9e12e483278f..ddc99b55b57f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3268,12 +3192,10 @@ index 9e12e483278f..ddc99b55b57f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3282,28 +3204,27 @@ index 9e12e483278f..ddc99b55b57f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_codecs_api_gn")
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
-index d0b1ca5e47e9..1fe538a5ce3e 100644
+index 2b6ee1be7a06..ba988ddb42a8 100644
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3321,7 +3242,7 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3421,7 +3342,7 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3441,14 +3362,12 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3487,12 +3406,10 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3501,28 +3418,27 @@ index d0b1ca5e47e9..1fe538a5ce3e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_audio_decoder_factory_gn")
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
-index d00504ccaf03..10f9061ad382 100644
+index 628c8fa7fdf8..5ca23f309ccd 100644
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3540,7 +3456,7 @@ index d00504ccaf03..10f9061ad382 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3640,7 +3556,7 @@ index d00504ccaf03..10f9061ad382 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3660,14 +3576,12 @@ index d00504ccaf03..10f9061ad382 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3706,12 +3620,10 @@ index d00504ccaf03..10f9061ad382 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3720,28 +3632,27 @@ index d00504ccaf03..10f9061ad382 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_audio_encoder_factory_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
-index c29e3e9ee9b3..20716cb88679 100644
+index d043d987206f..a444480062b2 100644
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3758,7 +3669,7 @@ index c29e3e9ee9b3..20716cb88679 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -3858,7 +3769,7 @@ index c29e3e9ee9b3..20716cb88679 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3878,14 +3789,12 @@ index c29e3e9ee9b3..20716cb88679 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -3924,12 +3833,10 @@ index c29e3e9ee9b3..20716cb88679 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -3938,28 +3845,27 @@ index c29e3e9ee9b3..20716cb88679 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_g711_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
-index 3b77bbd2a7b0..29f2bdb535a7 100644
+index 7f2378a655e9..d566e9583f66 100644
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -3976,7 +3882,7 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4076,7 +3982,7 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4096,14 +4002,12 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4142,12 +4046,10 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -4156,28 +4058,27 @@ index 3b77bbd2a7b0..29f2bdb535a7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_g711_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
-index 6c034ef0cdf8..97e2dda4027e 100644
+index 5896f29065e1..76234946c946 100644
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4194,7 +4095,7 @@ index 6c034ef0cdf8..97e2dda4027e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4294,7 +4195,7 @@ index 6c034ef0cdf8..97e2dda4027e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4314,14 +4215,12 @@ index 6c034ef0cdf8..97e2dda4027e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4360,12 +4259,10 @@ index 6c034ef0cdf8..97e2dda4027e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -4374,28 +4271,27 @@ index 6c034ef0cdf8..97e2dda4027e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_g722_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
-index ece2267c9f31..643b470e2913 100644
+index a1c6b85d2319..d6c5f698a095 100644
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4412,7 +4308,7 @@ index ece2267c9f31..643b470e2913 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4512,7 +4408,7 @@ index ece2267c9f31..643b470e2913 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4528,19 +4424,17 @@ index ece2267c9f31..643b470e2913 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -4566,35 +4460,32 @@ index ece2267c9f31..643b470e2913 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_encoder_g722_config_gn")
diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
-index a9f2cfb7ee3c..8dd52b52fb37 100644
+index 462adb64213a..d0e14032612c 100644
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4611,7 +4502,7 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4711,7 +4602,7 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4731,14 +4622,12 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4777,12 +4666,10 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -4791,28 +4678,27 @@ index a9f2cfb7ee3c..8dd52b52fb37 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_g722_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
-index 7c2e033644c6..c347323ec814 100644
+index 4e00beaa4415..f2d3cd506e8f 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -4829,7 +4715,7 @@ index 7c2e033644c6..c347323ec814 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -4929,7 +4815,7 @@ index 7c2e033644c6..c347323ec814 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4949,14 +4835,12 @@ index 7c2e033644c6..c347323ec814 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -4995,12 +4879,10 @@ index 7c2e033644c6..c347323ec814 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5009,28 +4891,27 @@ index 7c2e033644c6..c347323ec814 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_multiopus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
-index 4dc0d9442721..09de16583d61 100644
+index 27ee924f238e..8d6c5a275846 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5047,7 +4928,7 @@ index 4dc0d9442721..09de16583d61 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5147,7 +5028,7 @@ index 4dc0d9442721..09de16583d61 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5163,19 +5044,17 @@ index 4dc0d9442721..09de16583d61 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -5201,35 +5080,32 @@ index 4dc0d9442721..09de16583d61 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_decoder_opus_config_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
-index d8a4a97cd5c2..bac30391a53f 100644
+index 53bc3478a40b..308709799635 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5246,7 +5122,7 @@ index d8a4a97cd5c2..bac30391a53f 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5346,7 +5222,7 @@ index d8a4a97cd5c2..bac30391a53f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5366,14 +5242,12 @@ index d8a4a97cd5c2..bac30391a53f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -5412,12 +5286,10 @@ index d8a4a97cd5c2..bac30391a53f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5426,28 +5298,27 @@ index d8a4a97cd5c2..bac30391a53f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_decoder_opus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
-index 5ff636039dce..f1b9d0da6b50 100644
+index 2925c9a25583..0dc3b552177f 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5464,7 +5335,7 @@ index 5ff636039dce..f1b9d0da6b50 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5564,7 +5435,7 @@ index 5ff636039dce..f1b9d0da6b50 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5584,14 +5455,12 @@ index 5ff636039dce..f1b9d0da6b50 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -5630,12 +5499,10 @@ index 5ff636039dce..f1b9d0da6b50 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5644,28 +5511,27 @@ index 5ff636039dce..f1b9d0da6b50 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_multiopus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
-index 02d6ec69a180..ece67051b65f 100644
+index e7cd0bcd8f5d..ccf44f091517 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5683,7 +5549,7 @@ index 02d6ec69a180..ece67051b65f 100644
FINAL_LIBRARY = "xul"
-@@ -50,83 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,83 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5768,7 +5634,7 @@ index 02d6ec69a180..ece67051b65f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -134,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -136,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5788,14 +5654,12 @@ index 02d6ec69a180..ece67051b65f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -5834,12 +5698,10 @@ index 02d6ec69a180..ece67051b65f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -5848,28 +5710,27 @@ index 02d6ec69a180..ece67051b65f 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_opus_config_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
-index ac2a09ff5952..9c5ef8fd737e 100644
+index 05030b6b5a9d..bbe9861edb7b 100644
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -5886,7 +5747,7 @@ index ac2a09ff5952..9c5ef8fd737e 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -5986,7 +5847,7 @@ index ac2a09ff5952..9c5ef8fd737e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6006,14 +5867,12 @@ index ac2a09ff5952..9c5ef8fd737e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -6052,12 +5911,10 @@ index ac2a09ff5952..9c5ef8fd737e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -6066,28 +5923,27 @@ index ac2a09ff5952..9c5ef8fd737e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_opus_gn")
diff --git third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
-index 81327dddadcd..2e745fe9e41f 100644
+index 1f23f978e95d..b1540a52dfae 100644
--- third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6104,7 +5960,7 @@ index 81327dddadcd..2e745fe9e41f 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6204,7 +6060,7 @@ index 81327dddadcd..2e745fe9e41f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6224,14 +6080,12 @@ index 81327dddadcd..2e745fe9e41f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -6270,12 +6124,10 @@ index 81327dddadcd..2e745fe9e41f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -6284,28 +6136,27 @@ index 81327dddadcd..2e745fe9e41f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("opus_audio_decoder_factory_gn")
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
-index 0eecd975c914..f7125f47283d 100644
+index d5f2fbaa23c2..576652c339f6 100644
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6322,7 +6173,7 @@ index 0eecd975c914..f7125f47283d 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6411,7 +6262,7 @@ index 0eecd975c914..f7125f47283d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6431,14 +6282,12 @@ index 0eecd975c914..f7125f47283d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -6477,12 +6326,10 @@ index 0eecd975c914..f7125f47283d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -6491,28 +6338,27 @@ index 0eecd975c914..f7125f47283d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_options_api_gn")
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
-index 492af1f6b87d..9c55ead6c9fa 100644
+index d77ac1a3c024..067cf0a3566b 100644
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6529,7 +6375,7 @@ index 492af1f6b87d..9c55ead6c9fa 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6618,7 +6464,7 @@ index 492af1f6b87d..9c55ead6c9fa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6634,19 +6480,17 @@ index 492af1f6b87d..9c55ead6c9fa 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -6672,35 +6516,32 @@ index 492af1f6b87d..9c55ead6c9fa 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bitrate_allocation_gn")
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
-index 19d4d72cb0f6..e1369568f801 100644
+index e3860a2d5cb0..01913d2a42d6 100644
--- third_party/libwebrtc/api/call_api_gn/moz.build
+++ third_party/libwebrtc/api/call_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6717,7 +6558,7 @@ index 19d4d72cb0f6..e1369568f801 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6802,7 +6643,7 @@ index 19d4d72cb0f6..e1369568f801 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6818,19 +6659,17 @@ index 19d4d72cb0f6..e1369568f801 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -6856,35 +6695,32 @@ index 19d4d72cb0f6..e1369568f801 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("call_api_gn")
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
-index c81122c0e3bb..f8bdd48ff4c8 100644
+index 03536897a3e5..7d4e36cffba6 100644
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -6901,7 +6737,7 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -6990,7 +6826,7 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7006,19 +6842,17 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7044,35 +6878,32 @@ index c81122c0e3bb..f8bdd48ff4c8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_decryptor_interface_gn")
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
-index 7d72f6a41ac8..c396e2b059f3 100644
+index ce2ccba3ddd9..3424ea2600f3 100644
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7089,7 +6920,7 @@ index 7d72f6a41ac8..c396e2b059f3 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7178,7 +7009,7 @@ index 7d72f6a41ac8..c396e2b059f3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7194,19 +7025,17 @@ index 7d72f6a41ac8..c396e2b059f3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7232,35 +7061,32 @@ index 7d72f6a41ac8..c396e2b059f3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_encryptor_interface_gn")
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
-index f7ee9516fd4d..12951ae20d89 100644
+index f4884cef3781..087517688a6e 100644
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7277,7 +7103,7 @@ index f7ee9516fd4d..12951ae20d89 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7366,7 +7192,7 @@ index f7ee9516fd4d..12951ae20d89 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7386,14 +7212,12 @@ index f7ee9516fd4d..12951ae20d89 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -7432,12 +7256,10 @@ index f7ee9516fd4d..12951ae20d89 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -7446,28 +7268,27 @@ index f7ee9516fd4d..12951ae20d89 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("options_gn")
diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
-index 199c4ba42013..90f223c3364a 100644
+index 7e6c65433342..84ed2cb20f4b 100644
--- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
+++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7484,7 +7305,7 @@ index 199c4ba42013..90f223c3364a 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7584,7 +7405,7 @@ index 199c4ba42013..90f223c3364a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7604,14 +7425,12 @@ index 199c4ba42013..90f223c3364a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -7650,12 +7469,10 @@ index 199c4ba42013..90f223c3364a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -7664,28 +7481,27 @@ index 199c4ba42013..90f223c3364a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("environment_factory_gn")
diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build
-index 6ffbbc713819..0017a6e38de6 100644
+index 218ae3ae9afa..8476399ec931 100644
--- third_party/libwebrtc/api/environment/environment_gn/moz.build
+++ third_party/libwebrtc/api/environment/environment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7702,7 +7518,7 @@ index 6ffbbc713819..0017a6e38de6 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -7802,7 +7618,7 @@ index 6ffbbc713819..0017a6e38de6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7818,19 +7634,17 @@ index 6ffbbc713819..0017a6e38de6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7856,35 +7670,32 @@ index 6ffbbc713819..0017a6e38de6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("environment_gn")
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
-index 6e9a6e09e8eb..4b29d5ad30b1 100644
+index d5887f3d6587..4c1fa1a08737 100644
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -7901,7 +7712,7 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8001,7 +7812,7 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8017,19 +7828,17 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -8055,35 +7864,32 @@ index 6e9a6e09e8eb..4b29d5ad30b1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("fec_controller_api_gn")
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
-index 23a7adec4c94..be6713313eb6 100644
+index ad9c82b1bb7b..9fe42408ce7d 100644
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8100,7 +7906,7 @@ index 23a7adec4c94..be6713313eb6 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8196,7 +8002,7 @@ index 23a7adec4c94..be6713313eb6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8216,14 +8022,12 @@ index 23a7adec4c94..be6713313eb6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -8262,12 +8066,10 @@ index 23a7adec4c94..be6713313eb6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -8276,28 +8078,27 @@ index 23a7adec4c94..be6713313eb6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trials_registry_gn")
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
-index 736a968aae74..e72e934f1b1d 100644
+index 1e9a1e7a666a..3fa9f12b8585 100644
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8314,7 +8115,7 @@ index 736a968aae74..e72e934f1b1d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8399,7 +8200,7 @@ index 736a968aae74..e72e934f1b1d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8415,19 +8216,17 @@ index 736a968aae74..e72e934f1b1d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -8453,35 +8252,32 @@ index 736a968aae74..e72e934f1b1d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("field_trials_view_gn")
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-index bf8dc0629f1b..9f0b57171621 100644
+index d472124f0a40..ac2df5b26adf 100644
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8498,7 +8294,7 @@ index bf8dc0629f1b..9f0b57171621 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8598,7 +8394,7 @@ index bf8dc0629f1b..9f0b57171621 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8618,14 +8414,12 @@ index bf8dc0629f1b..9f0b57171621 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -8664,12 +8458,10 @@ index bf8dc0629f1b..9f0b57171621 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -8678,28 +8470,27 @@ index bf8dc0629f1b..9f0b57171621 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_transformer_interface_gn")
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
-index bbe3a1fd5c7c..0b40bef503a7 100644
+index dc26789ded68..de73bc9c5c6a 100644
--- third_party/libwebrtc/api/function_view_gn/moz.build
+++ third_party/libwebrtc/api/function_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8716,7 +8507,7 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8805,7 +8596,7 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8821,19 +8612,17 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -8859,35 +8648,32 @@ index bbe3a1fd5c7c..0b40bef503a7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("function_view_gn")
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
-index 3843f5846d4f..1c13a94a1634 100644
+index 379cf8c822da..44b19737a655 100644
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -8904,7 +8690,7 @@ index 3843f5846d4f..1c13a94a1634 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8989,7 +8775,7 @@ index 3843f5846d4f..1c13a94a1634 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9005,19 +8791,17 @@ index 3843f5846d4f..1c13a94a1634 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9043,35 +8827,32 @@ index 3843f5846d4f..1c13a94a1634 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("jingle_logging_api_gn")
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
-index 6c718ac926a3..589c17cda91f 100644
+index bafbd895ae23..85d46ef795ba 100644
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9088,7 +8869,7 @@ index 6c718ac926a3..589c17cda91f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9173,7 +8954,7 @@ index 6c718ac926a3..589c17cda91f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9189,19 +8970,17 @@ index 6c718ac926a3..589c17cda91f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9227,35 +9006,32 @@ index 6c718ac926a3..589c17cda91f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("jingle_peerconnection_api_gn")
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
-index 6303607ebdc9..16aacea7ca3e 100644
+index 1384cb4c2c9a..27432b87cd60 100644
--- third_party/libwebrtc/api/location_gn/moz.build
+++ third_party/libwebrtc/api/location_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9272,7 +9048,7 @@ index 6303607ebdc9..16aacea7ca3e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9357,7 +9133,7 @@ index 6303607ebdc9..16aacea7ca3e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9373,19 +9149,17 @@ index 6303607ebdc9..16aacea7ca3e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9411,35 +9185,32 @@ index 6303607ebdc9..16aacea7ca3e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("location_gn")
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
-index 537369d878f3..5e048733bbd3 100644
+index 5260714563c4..88e1ecb122bb 100644
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9456,7 +9227,7 @@ index 537369d878f3..5e048733bbd3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9541,7 +9312,7 @@ index 537369d878f3..5e048733bbd3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9557,19 +9328,17 @@ index 537369d878f3..5e048733bbd3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9595,35 +9364,32 @@ index 537369d878f3..5e048733bbd3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("make_ref_counted_gn")
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
-index e6b2c4ab15f6..5b5807ef8bab 100644
+index 8b22cc529d93..d4c009dfb08b 100644
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9640,7 +9406,7 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9736,7 +9502,7 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9756,14 +9522,12 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -9802,12 +9566,10 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -9816,28 +9578,27 @@ index e6b2c4ab15f6..5b5807ef8bab 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("media_stream_interface_gn")
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
-index 24c32ac9aa91..be111b3f1f2b 100644
+index ac0f4065814a..975fd554189e 100644
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -9854,7 +9615,7 @@ index 24c32ac9aa91..be111b3f1f2b 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -9943,7 +9704,7 @@ index 24c32ac9aa91..be111b3f1f2b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9959,19 +9720,17 @@ index 24c32ac9aa91..be111b3f1f2b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9997,35 +9756,32 @@ index 24c32ac9aa91..be111b3f1f2b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("metronome_gn")
diff --git third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
-index 9cc852ea4e6c..563ddad2a07a 100644
+index 0b8670a958f1..e6e6261c6f1d 100644
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10042,7 +9798,7 @@ index 9cc852ea4e6c..563ddad2a07a 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10142,7 +9898,7 @@ index 9cc852ea4e6c..563ddad2a07a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10162,14 +9918,12 @@ index 9cc852ea4e6c..563ddad2a07a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -10208,12 +9962,10 @@ index 9cc852ea4e6c..563ddad2a07a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -10222,28 +9974,27 @@ index 9cc852ea4e6c..563ddad2a07a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("default_neteq_controller_factory_gn")
diff --git third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
-index 81290d80864c..c3c7920f98fb 100644
+index 402f2a044163..bfeadc19c1f4 100644
--- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
+++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10260,7 +10011,7 @@ index 81290d80864c..c3c7920f98fb 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10360,7 +10111,7 @@ index 81290d80864c..c3c7920f98fb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10380,14 +10131,12 @@ index 81290d80864c..c3c7920f98fb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -10426,12 +10175,10 @@ index 81290d80864c..c3c7920f98fb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -10440,28 +10187,27 @@ index 81290d80864c..c3c7920f98fb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("default_neteq_factory_gn")
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
-index 7e04b468e8c3..cc9f96610179 100644
+index 3cffcf1fee68..634fe34c356b 100644
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10478,7 +10224,7 @@ index 7e04b468e8c3..cc9f96610179 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10578,7 +10324,7 @@ index 7e04b468e8c3..cc9f96610179 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10598,14 +10344,12 @@ index 7e04b468e8c3..cc9f96610179 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -10644,12 +10388,10 @@ index 7e04b468e8c3..cc9f96610179 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -10658,28 +10400,27 @@ index 7e04b468e8c3..cc9f96610179 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("neteq_api_gn")
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
-index 10f23f8b9e73..33604c4d0bd5 100644
+index 0c8c73eaf64e..0d9110cf2533 100644
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10696,7 +10437,7 @@ index 10f23f8b9e73..33604c4d0bd5 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10796,7 +10537,7 @@ index 10f23f8b9e73..33604c4d0bd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10812,19 +10553,17 @@ index 10f23f8b9e73..33604c4d0bd5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -10850,35 +10589,32 @@ index 10f23f8b9e73..33604c4d0bd5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("neteq_controller_api_gn")
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
-index 22a5fd8b39ae..13e1e4c6428e 100644
+index 6e62d4704907..5af2b7269dfa 100644
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -10895,7 +10631,7 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -10984,7 +10720,7 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11004,14 +10740,12 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -11050,12 +10784,10 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -11064,28 +10796,27 @@ index 22a5fd8b39ae..13e1e4c6428e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("tick_timer_gn")
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
-index 2c3ff3588f46..0d71b6835f66 100644
+index 6d6d33ace75b..01573acc86d3 100644
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11102,7 +10833,7 @@ index 2c3ff3588f46..0d71b6835f66 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11187,7 +10918,7 @@ index 2c3ff3588f46..0d71b6835f66 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11203,19 +10934,17 @@ index 2c3ff3588f46..0d71b6835f66 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11241,35 +10970,32 @@ index 2c3ff3588f46..0d71b6835f66 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("network_state_predictor_api_gn")
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
-index ae409fd2a8dc..8b2973c33499 100644
+index 76aeb17bde7f..5e74263cf88f 100644
--- third_party/libwebrtc/api/priority_gn/moz.build
+++ third_party/libwebrtc/api/priority_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11286,7 +11012,7 @@ index ae409fd2a8dc..8b2973c33499 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11375,7 +11101,7 @@ index ae409fd2a8dc..8b2973c33499 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11391,19 +11117,17 @@ index ae409fd2a8dc..8b2973c33499 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11429,35 +11153,32 @@ index ae409fd2a8dc..8b2973c33499 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("priority_gn")
diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build
-index 29eae9d26685..5f9a02823846 100644
+index 4d11702ac95b..098a60790f04 100644
--- third_party/libwebrtc/api/ref_count_gn/moz.build
+++ third_party/libwebrtc/api/ref_count_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11474,7 +11195,7 @@ index 29eae9d26685..5f9a02823846 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11559,7 +11280,7 @@ index 29eae9d26685..5f9a02823846 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11575,19 +11296,17 @@ index 29eae9d26685..5f9a02823846 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11613,35 +11332,32 @@ index 29eae9d26685..5f9a02823846 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ref_count_gn")
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
-index 15fcfbcab216..383dec1b2bf8 100644
+index c2d93fe7f690..4cd1a1af8562 100644
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11658,7 +11374,7 @@ index 15fcfbcab216..383dec1b2bf8 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11743,7 +11459,7 @@ index 15fcfbcab216..383dec1b2bf8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11759,19 +11475,17 @@ index 15fcfbcab216..383dec1b2bf8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11797,35 +11511,32 @@ index 15fcfbcab216..383dec1b2bf8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("refcountedbase_gn")
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
-index 3ccf2200f06f..cb39ec5b95c8 100644
+index 931ad8f10770..c86ad5eeb18f 100644
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -11842,7 +11553,7 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -11938,7 +11649,7 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11958,14 +11669,12 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12004,12 +11713,10 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12018,28 +11725,27 @@ index 3ccf2200f06f..cb39ec5b95c8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_error_gn")
diff --git third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
-index 6889927e409b..48e899d51c59 100644
+index 062fcf1c7e98..56ca85ac637d 100644
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12056,7 +11762,7 @@ index 6889927e409b..48e899d51c59 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12152,7 +11858,7 @@ index 6889927e409b..48e899d51c59 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12172,14 +11878,12 @@ index 6889927e409b..48e899d51c59 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12218,12 +11922,10 @@ index 6889927e409b..48e899d51c59 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12232,28 +11934,27 @@ index 6889927e409b..48e899d51c59 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_log_gn")
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
-index 4624ee5f34fc..594ac4704478 100644
+index a3962549d71a..f3230db2f74c 100644
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12270,7 +11971,7 @@ index 4624ee5f34fc..594ac4704478 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12366,7 +12067,7 @@ index 4624ee5f34fc..594ac4704478 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12386,14 +12087,12 @@ index 4624ee5f34fc..594ac4704478 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12432,12 +12131,10 @@ index 4624ee5f34fc..594ac4704478 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12446,28 +12143,27 @@ index 4624ee5f34fc..594ac4704478 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_headers_gn")
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
-index 426fd02dc047..9d75add45806 100644
+index 52124e93c6e0..cf27ecf0ff64 100644
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12484,7 +12180,7 @@ index 426fd02dc047..9d75add45806 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12580,7 +12276,7 @@ index 426fd02dc047..9d75add45806 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12600,14 +12296,12 @@ index 426fd02dc047..9d75add45806 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -12646,12 +12340,10 @@ index 426fd02dc047..9d75add45806 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -12660,28 +12352,27 @@ index 426fd02dc047..9d75add45806 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_packet_info_gn")
diff --git third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
-index 237ff1576a05..c83102a4f914 100644
+index 4e690f286985..48513d98fdc2 100644
--- third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
+++ third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12698,7 +12389,7 @@ index 237ff1576a05..c83102a4f914 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12783,7 +12474,7 @@ index 237ff1576a05..c83102a4f914 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12799,19 +12490,17 @@ index 237ff1576a05..c83102a4f914 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -12837,35 +12526,32 @@ index 237ff1576a05..c83102a4f914 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_packet_sender_gn")
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
-index f3b003458d9c..dd1c69095d01 100644
+index 48d4257f8009..57f881d7cba9 100644
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -12882,7 +12568,7 @@ index f3b003458d9c..dd1c69095d01 100644
FINAL_LIBRARY = "xul"
-@@ -46,87 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -12971,7 +12657,7 @@ index f3b003458d9c..dd1c69095d01 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -134,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -136,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12991,14 +12677,12 @@ index f3b003458d9c..dd1c69095d01 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -13037,12 +12721,10 @@ index f3b003458d9c..dd1c69095d01 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -13051,28 +12733,27 @@ index f3b003458d9c..dd1c69095d01 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_parameters_gn")
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
-index adeeb2d582b5..0f70df38f99a 100644
+index 58b6b9d4eced..b946ded20f7c 100644
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13089,7 +12770,7 @@ index adeeb2d582b5..0f70df38f99a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13174,7 +12855,7 @@ index adeeb2d582b5..0f70df38f99a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13190,19 +12871,17 @@ index adeeb2d582b5..0f70df38f99a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13228,35 +12907,32 @@ index adeeb2d582b5..0f70df38f99a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_sender_interface_gn")
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
-index 4880eb91bdad..c57b2ad9341b 100644
+index 19bd810c46cf..99ae632b35f5 100644
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13273,7 +12949,7 @@ index 4880eb91bdad..c57b2ad9341b 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13369,7 +13045,7 @@ index 4880eb91bdad..c57b2ad9341b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13389,14 +13065,12 @@ index 4880eb91bdad..c57b2ad9341b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -13435,12 +13109,10 @@ index 4880eb91bdad..c57b2ad9341b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -13449,28 +13121,27 @@ index 4880eb91bdad..c57b2ad9341b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_sender_setparameters_callback_gn")
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
-index 7cd95c265458..807fef6d2b72 100644
+index 0898e296f690..50e8741a1e5c 100644
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13487,7 +13158,7 @@ index 7cd95c265458..807fef6d2b72 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13572,7 +13243,7 @@ index 7cd95c265458..807fef6d2b72 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13588,19 +13259,17 @@ index 7cd95c265458..807fef6d2b72 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13626,35 +13295,32 @@ index 7cd95c265458..807fef6d2b72 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_transceiver_direction_gn")
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
-index 978c11352837..e66d3f050f9d 100644
+index 91059bcfdf24..95c749ab05f5 100644
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13671,7 +13337,7 @@ index 978c11352837..e66d3f050f9d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13756,7 +13422,7 @@ index 978c11352837..e66d3f050f9d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13772,19 +13438,17 @@ index 978c11352837..e66d3f050f9d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13810,35 +13474,32 @@ index 978c11352837..e66d3f050f9d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("scoped_refptr_gn")
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
-index f1e011d8c84c..688821e634e8 100644
+index 2e05c3b8bd13..1536e71c6bad 100644
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -13855,7 +13516,7 @@ index f1e011d8c84c..688821e634e8 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -13944,7 +13605,7 @@ index f1e011d8c84c..688821e634e8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13960,19 +13621,17 @@ index f1e011d8c84c..688821e634e8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13998,35 +13657,32 @@ index f1e011d8c84c..688821e634e8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sequence_checker_gn")
diff --git third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
-index 79e200469f70..ea11f3c1b3a1 100644
+index caccfa576579..12b3b4429d9b 100644
--- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
+++ third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14043,7 +13699,7 @@ index 79e200469f70..ea11f3c1b3a1 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14128,7 +13784,7 @@ index 79e200469f70..ea11f3c1b3a1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14144,19 +13800,17 @@ index 79e200469f70..ea11f3c1b3a1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -14182,35 +13836,32 @@ index 79e200469f70..ea11f3c1b3a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("default_task_queue_factory_gn")
diff --git third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
-index 901b6d920251..b72308ca0896 100644
+index f5bd2abd8edd..588ab9d37637 100644
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14227,7 +13878,7 @@ index 901b6d920251..b72308ca0896 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14316,7 +13967,7 @@ index 901b6d920251..b72308ca0896 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14336,14 +13987,12 @@ index 901b6d920251..b72308ca0896 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -14382,12 +14031,10 @@ index 901b6d920251..b72308ca0896 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -14396,28 +14043,27 @@ index 901b6d920251..b72308ca0896 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pending_task_safety_flag_gn")
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
-index 24fa3d2c74d4..157d7f5d9682 100644
+index 7802d514733e..b5069b664e65 100644
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14434,7 +14080,7 @@ index 24fa3d2c74d4..157d7f5d9682 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14523,7 +14169,7 @@ index 24fa3d2c74d4..157d7f5d9682 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14543,14 +14189,12 @@ index 24fa3d2c74d4..157d7f5d9682 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -14589,12 +14233,10 @@ index 24fa3d2c74d4..157d7f5d9682 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -14603,28 +14245,27 @@ index 24fa3d2c74d4..157d7f5d9682 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("task_queue_gn")
diff --git third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
-index 5c6002f71559..21629d52ba78 100644
+index 37fa27def74f..b4ad056226a0 100644
--- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
+++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14641,7 +14282,7 @@ index 5c6002f71559..21629d52ba78 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14726,7 +14367,7 @@ index 5c6002f71559..21629d52ba78 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14742,19 +14383,17 @@ index 5c6002f71559..21629d52ba78 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -14780,35 +14419,32 @@ index 5c6002f71559..21629d52ba78 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bandwidth_estimation_settings_gn")
diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
-index 182cbc5da37f..ed6b6725902a 100644
+index b4ffa83b92cd..26f1bb8546e7 100644
--- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
+++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -14825,7 +14461,7 @@ index 182cbc5da37f..ed6b6725902a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -14910,7 +14546,7 @@ index 182cbc5da37f..ed6b6725902a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14926,19 +14562,17 @@ index 182cbc5da37f..ed6b6725902a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -14964,35 +14598,32 @@ index 182cbc5da37f..ed6b6725902a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bandwidth_usage_gn")
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
-index a420e52b3fbb..c3dd4ec105b8 100644
+index 16a388656353..1149e653efad 100644
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15009,7 +14640,7 @@ index a420e52b3fbb..c3dd4ec105b8 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15094,7 +14725,7 @@ index a420e52b3fbb..c3dd4ec105b8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15114,14 +14745,12 @@ index a420e52b3fbb..c3dd4ec105b8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -15160,12 +14789,10 @@ index a420e52b3fbb..c3dd4ec105b8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -15174,28 +14801,27 @@ index a420e52b3fbb..c3dd4ec105b8 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_settings_gn")
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
-index dccd42a629d8..cbea1c90d191 100644
+index 0868af0077a4..d1a4f7b5dd54 100644
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15212,7 +14838,7 @@ index dccd42a629d8..cbea1c90d191 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15308,7 +14934,7 @@ index dccd42a629d8..cbea1c90d191 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15324,19 +14950,17 @@ index dccd42a629d8..cbea1c90d191 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -15362,35 +14986,32 @@ index dccd42a629d8..cbea1c90d191 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("datagram_transport_interface_gn")
diff --git third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
-index 906e6d8d17f1..18ee5d1fdabc 100644
+index 8ab0d1a1c443..00fbb2407fdc 100644
--- third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
+++ third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15407,7 +15028,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15492,7 +15113,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15508,19 +15129,17 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -15546,35 +15165,32 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ecn_marking_gn")
diff --git third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
-index 3a1f004f3983..0961c22c71cb 100644
+index 7cf2e942a98f..09723da7e690 100644
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15591,7 +15207,7 @@ index 3a1f004f3983..0961c22c71cb 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15687,7 +15303,7 @@ index 3a1f004f3983..0961c22c71cb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15707,14 +15323,12 @@ index 3a1f004f3983..0961c22c71cb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -15753,12 +15367,10 @@ index 3a1f004f3983..0961c22c71cb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -15767,28 +15379,27 @@ index 3a1f004f3983..0961c22c71cb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trial_based_config_gn")
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
-index 6643db6e5ded..acf87fb7090b 100644
+index c30034a66355..c1e9773750c3 100644
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -15805,7 +15416,7 @@ index 6643db6e5ded..acf87fb7090b 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -15906,7 +15517,7 @@ index 6643db6e5ded..acf87fb7090b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15926,14 +15537,12 @@ index 6643db6e5ded..acf87fb7090b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -15972,12 +15581,10 @@ index 6643db6e5ded..acf87fb7090b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -15986,28 +15593,27 @@ index 6643db6e5ded..acf87fb7090b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("goog_cc_gn")
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
-index 9f1d81a5385a..df4430a10cda 100644
+index 1058102cc4a6..488cceb3baa9 100644
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16024,7 +15630,7 @@ index 9f1d81a5385a..df4430a10cda 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16124,7 +15730,7 @@ index 9f1d81a5385a..df4430a10cda 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16144,14 +15750,12 @@ index 9f1d81a5385a..df4430a10cda 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -16190,12 +15794,10 @@ index 9f1d81a5385a..df4430a10cda 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -16204,28 +15806,27 @@ index 9f1d81a5385a..df4430a10cda 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("network_control_gn")
diff --git third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
-index 68af5c4b0896..2cdd5c5fdbc2 100644
+index 9b403b9d6955..376f7571e166 100644
--- third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
+++ third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16242,7 +15843,7 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16331,7 +15932,7 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16347,19 +15948,17 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -16385,35 +15984,32 @@ index 68af5c4b0896..2cdd5c5fdbc2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("corruption_detection_message_gn")
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
-index e39fc6c6faa6..d838b987add6 100644
+index 8da7a80d3f94..319bffba5cd4 100644
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16430,7 +16026,7 @@ index e39fc6c6faa6..d838b987add6 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16519,7 +16115,7 @@ index e39fc6c6faa6..d838b987add6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16539,14 +16135,12 @@ index e39fc6c6faa6..d838b987add6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -16585,12 +16179,10 @@ index e39fc6c6faa6..d838b987add6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -16599,28 +16191,27 @@ index e39fc6c6faa6..d838b987add6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("dependency_descriptor_gn")
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
-index a4519718a30b..3a3a21cf0c4c 100644
+index f2651257f028..5bf21623b84a 100644
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16637,7 +16228,7 @@ index a4519718a30b..3a3a21cf0c4c 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16733,7 +16324,7 @@ index a4519718a30b..3a3a21cf0c4c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16749,19 +16340,17 @@ index a4519718a30b..3a3a21cf0c4c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -16787,35 +16376,32 @@ index a4519718a30b..3a3a21cf0c4c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_source_gn")
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
-index 4c18f995b3d9..5970a6078b50 100644
+index eccfcb9643bc..9cfc97dac8c0 100644
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -16832,7 +16418,7 @@ index 4c18f995b3d9..5970a6078b50 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -16917,7 +16503,7 @@ index 4c18f995b3d9..5970a6078b50 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16933,19 +16519,17 @@ index 4c18f995b3d9..5970a6078b50 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -16971,35 +16555,32 @@ index 4c18f995b3d9..5970a6078b50 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("stun_types_gn")
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
-index 386c5d86ae5c..7835289591c4 100644
+index 04d169646b6f..52abb46c3100 100644
--- third_party/libwebrtc/api/transport_api_gn/moz.build
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17016,7 +16597,7 @@ index 386c5d86ae5c..7835289591c4 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17105,7 +16686,7 @@ index 386c5d86ae5c..7835289591c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17125,14 +16706,12 @@ index 386c5d86ae5c..7835289591c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17171,12 +16750,10 @@ index 386c5d86ae5c..7835289591c4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17185,28 +16762,27 @@ index 386c5d86ae5c..7835289591c4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transport_api_gn")
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
-index a24ae78d4c9f..b97815d92c09 100644
+index 29d3499e786d..eba0514e966b 100644
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17223,7 +16799,7 @@ index a24ae78d4c9f..b97815d92c09 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17312,7 +16888,7 @@ index a24ae78d4c9f..b97815d92c09 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17332,14 +16908,12 @@ index a24ae78d4c9f..b97815d92c09 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17378,12 +16952,10 @@ index a24ae78d4c9f..b97815d92c09 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17392,28 +16964,27 @@ index a24ae78d4c9f..b97815d92c09 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("data_rate_gn")
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
-index cdfe31ebb845..30e91e2fa7a2 100644
+index 5c81ffd37b01..5fe81a997719 100644
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17430,7 +17001,7 @@ index cdfe31ebb845..30e91e2fa7a2 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17519,7 +17090,7 @@ index cdfe31ebb845..30e91e2fa7a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17539,14 +17110,12 @@ index cdfe31ebb845..30e91e2fa7a2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17585,12 +17154,10 @@ index cdfe31ebb845..30e91e2fa7a2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17599,28 +17166,27 @@ index cdfe31ebb845..30e91e2fa7a2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("data_size_gn")
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
-index 82ba792a86a0..5c068b7e233c 100644
+index 23861ba5e0b4..36b556f5aa98 100644
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17637,7 +17203,7 @@ index 82ba792a86a0..5c068b7e233c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17726,7 +17292,7 @@ index 82ba792a86a0..5c068b7e233c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17746,14 +17312,12 @@ index 82ba792a86a0..5c068b7e233c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17792,12 +17356,10 @@ index 82ba792a86a0..5c068b7e233c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -17806,28 +17368,27 @@ index 82ba792a86a0..5c068b7e233c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frequency_gn")
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
-index 4d0860fef399..be767d71a397 100644
+index c142c31f0050..108a8825095e 100644
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -17844,7 +17405,7 @@ index 4d0860fef399..be767d71a397 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -17933,7 +17494,7 @@ index 4d0860fef399..be767d71a397 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17953,14 +17514,12 @@ index 4d0860fef399..be767d71a397 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -17999,12 +17558,10 @@ index 4d0860fef399..be767d71a397 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18013,28 +17570,27 @@ index 4d0860fef399..be767d71a397 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("time_delta_gn")
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
-index f51733fd8a12..5e0489f0ce58 100644
+index ec37917c0abf..bff6fda3a995 100644
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18051,7 +17607,7 @@ index f51733fd8a12..5e0489f0ce58 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18140,7 +17696,7 @@ index f51733fd8a12..5e0489f0ce58 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18160,14 +17716,12 @@ index f51733fd8a12..5e0489f0ce58 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -18206,12 +17760,10 @@ index f51733fd8a12..5e0489f0ce58 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18220,28 +17772,27 @@ index f51733fd8a12..5e0489f0ce58 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timestamp_gn")
diff --git third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
-index 8c0ac8a1fce2..8d6cda6f4bd9 100644
+index 042c4cb0322f..6cac447b0305 100644
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18258,7 +17809,7 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18359,7 +17910,7 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18379,14 +17930,12 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -18425,12 +17974,10 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18439,28 +17986,27 @@ index 8c0ac8a1fce2..8d6cda6f4bd9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_video_bitrate_allocator_factory_gn")
diff --git third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
-index fdfec36f901f..fd4cdd50921a 100644
+index 3fea2f9197be..843f8dafb50c 100644
--- third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
+++ third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18477,7 +18023,7 @@ index fdfec36f901f..fd4cdd50921a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18562,7 +18108,7 @@ index fdfec36f901f..fd4cdd50921a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18578,19 +18124,17 @@ index fdfec36f901f..fd4cdd50921a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -18616,35 +18160,32 @@ index fdfec36f901f..fd4cdd50921a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("corruption_detection_filter_settings_gn")
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
-index 1a7f99c95cb0..bd9e4c42247a 100644
+index a47a175fd8f6..f3464dc03728 100644
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18661,7 +18202,7 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18761,7 +18302,7 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18781,14 +18322,12 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -18827,12 +18366,10 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -18841,28 +18378,27 @@ index 1a7f99c95cb0..bd9e4c42247a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoded_frame_gn")
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
-index b8cb9d7f1d2c..dd403bd402b8 100644
+index 884b76c4471c..436455709c49 100644
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -18879,7 +18415,7 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -18975,7 +18511,7 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18995,14 +18531,12 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -19041,12 +18575,10 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -19055,28 +18587,27 @@ index b8cb9d7f1d2c..dd403bd402b8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoded_image_gn")
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
-index 62069abb52d3..2a33a1c263fd 100644
+index c5f5d34a4e61..4af72222343b 100644
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19093,7 +18624,7 @@ index 62069abb52d3..2a33a1c263fd 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19194,7 +18725,7 @@ index 62069abb52d3..2a33a1c263fd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19214,14 +18745,12 @@ index 62069abb52d3..2a33a1c263fd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -19260,12 +18789,10 @@ index 62069abb52d3..2a33a1c263fd 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -19274,28 +18801,27 @@ index 62069abb52d3..2a33a1c263fd 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_buffer_gn")
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
-index 9ea836d67874..acac99ec2efc 100644
+index 955432300e05..0d61ca33884f 100644
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19312,7 +18838,7 @@ index 9ea836d67874..acac99ec2efc 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19408,7 +18934,7 @@ index 9ea836d67874..acac99ec2efc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19424,19 +18950,17 @@ index 9ea836d67874..acac99ec2efc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19462,35 +18986,32 @@ index 9ea836d67874..acac99ec2efc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("recordable_encoded_frame_gn")
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
-index d53344a9f3d9..4d4a725570d9 100644
+index 6b8d5d0ce97f..c1248e15a3c5 100644
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19507,7 +19028,7 @@ index d53344a9f3d9..4d4a725570d9 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19592,7 +19113,7 @@ index d53344a9f3d9..4d4a725570d9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19608,19 +19129,17 @@ index d53344a9f3d9..4d4a725570d9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19646,35 +19165,32 @@ index d53344a9f3d9..4d4a725570d9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("render_resolution_gn")
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
-index 2d091f0e8df2..eb720446212d 100644
+index 2bdc20cfef27..bab75c04d836 100644
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19691,7 +19207,7 @@ index 2d091f0e8df2..eb720446212d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19776,7 +19292,7 @@ index 2d091f0e8df2..eb720446212d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19792,19 +19308,17 @@ index 2d091f0e8df2..eb720446212d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19830,35 +19344,32 @@ index 2d091f0e8df2..eb720446212d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("resolution_gn")
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
-index 1e622ec490ae..39619b9c29ce 100644
+index 67f8e53f06df..56d3d234e6e3 100644
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -19875,7 +19386,7 @@ index 1e622ec490ae..39619b9c29ce 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -19964,7 +19475,7 @@ index 1e622ec490ae..39619b9c29ce 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19984,14 +19495,12 @@ index 1e622ec490ae..39619b9c29ce 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -20030,12 +19539,10 @@ index 1e622ec490ae..39619b9c29ce 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -20044,28 +19551,27 @@ index 1e622ec490ae..39619b9c29ce 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_adaptation_gn")
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
-index 3d69e67814d6..00adcafb1333 100644
+index ed2d2852f7c8..d695a8170d44 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20082,7 +19588,7 @@ index 3d69e67814d6..00adcafb1333 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20171,7 +19677,7 @@ index 3d69e67814d6..00adcafb1333 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20191,14 +19697,12 @@ index 3d69e67814d6..00adcafb1333 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -20237,12 +19741,10 @@ index 3d69e67814d6..00adcafb1333 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -20251,28 +19753,27 @@ index 3d69e67814d6..00adcafb1333 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_bitrate_allocation_gn")
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
-index 5538286ffa2b..f8888ae4133e 100644
+index d89179c9d034..94bff6a3ed16 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20289,7 +19790,7 @@ index 5538286ffa2b..f8888ae4133e 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20389,7 +19890,7 @@ index 5538286ffa2b..f8888ae4133e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20405,19 +19906,17 @@ index 5538286ffa2b..f8888ae4133e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -20443,35 +19942,32 @@ index 5538286ffa2b..f8888ae4133e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_bitrate_allocator_factory_gn")
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
-index 0e572c285ab4..9e04e80c4497 100644
+index f647df98e87a..5fee26a31e98 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20488,7 +19984,7 @@ index 0e572c285ab4..9e04e80c4497 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20577,7 +20073,7 @@ index 0e572c285ab4..9e04e80c4497 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20597,14 +20093,12 @@ index 0e572c285ab4..9e04e80c4497 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -20643,12 +20137,10 @@ index 0e572c285ab4..9e04e80c4497 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -20657,28 +20149,27 @@ index 0e572c285ab4..9e04e80c4497 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_bitrate_allocator_gn")
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
-index a0feb6ba98d5..20d5b8b9cc3b 100644
+index 2c7b69b25447..d9d3757994c1 100644
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20695,7 +20186,7 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20780,7 +20271,7 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20796,19 +20287,17 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -20834,35 +20323,32 @@ index a0feb6ba98d5..20d5b8b9cc3b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_codec_constants_gn")
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
-index f001ad0cc6b5..e9f3bed3f830 100644
+index 696ff9193103..add3d8c1eae9 100644
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -20879,7 +20365,7 @@ index f001ad0cc6b5..e9f3bed3f830 100644
FINAL_LIBRARY = "xul"
-@@ -56,94 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -20975,7 +20461,7 @@ index f001ad0cc6b5..e9f3bed3f830 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20995,14 +20481,12 @@ index f001ad0cc6b5..e9f3bed3f830 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -21041,12 +20525,10 @@ index f001ad0cc6b5..e9f3bed3f830 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -21055,28 +20537,27 @@ index f001ad0cc6b5..e9f3bed3f830 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_frame_gn")
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
-index 4fe9e147edec..16fbbf602911 100644
+index 701f704041d9..170207de4607 100644
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21093,7 +20574,7 @@ index 4fe9e147edec..16fbbf602911 100644
FINAL_LIBRARY = "xul"
-@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,94 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21189,7 +20670,7 @@ index 4fe9e147edec..16fbbf602911 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21209,14 +20690,12 @@ index 4fe9e147edec..16fbbf602911 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -21255,12 +20734,10 @@ index 4fe9e147edec..16fbbf602911 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -21269,28 +20746,27 @@ index 4fe9e147edec..16fbbf602911 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_frame_i010_gn")
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
-index 59921d43beaf..262398fbfcdf 100644
+index 1385708188f8..e6d75386164a 100644
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21307,7 +20783,7 @@ index 59921d43beaf..262398fbfcdf 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21403,7 +20879,7 @@ index 59921d43beaf..262398fbfcdf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21423,14 +20899,12 @@ index 59921d43beaf..262398fbfcdf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -21469,12 +20943,10 @@ index 59921d43beaf..262398fbfcdf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -21483,28 +20955,27 @@ index 59921d43beaf..262398fbfcdf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_frame_metadata_gn")
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
-index 27939f8b3d3c..7187d74b0019 100644
+index 41926d168f2e..c45d7d819761 100644
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21521,7 +20992,7 @@ index 27939f8b3d3c..7187d74b0019 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21610,7 +21081,7 @@ index 27939f8b3d3c..7187d74b0019 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21626,19 +21097,17 @@ index 27939f8b3d3c..7187d74b0019 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -21664,35 +21133,32 @@ index 27939f8b3d3c..7187d74b0019 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_frame_type_gn")
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
-index f6a9ac51b381..0c77077f546f 100644
+index 453b22c40132..75d7ee7ebad3 100644
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21709,7 +21175,7 @@ index f6a9ac51b381..0c77077f546f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21798,7 +21264,7 @@ index f6a9ac51b381..0c77077f546f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21814,19 +21280,17 @@ index f6a9ac51b381..0c77077f546f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -21852,35 +21316,32 @@ index f6a9ac51b381..0c77077f546f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_layers_allocation_gn")
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
-index c3377a9f7cdc..bd6e908f861f 100644
+index 79a3143de82e..9985be046df8 100644
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -21897,7 +21358,7 @@ index c3377a9f7cdc..bd6e908f861f 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -21993,7 +21454,7 @@ index c3377a9f7cdc..bd6e908f861f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22013,14 +21474,12 @@ index c3377a9f7cdc..bd6e908f861f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -22059,12 +21518,10 @@ index c3377a9f7cdc..bd6e908f861f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -22073,28 +21530,27 @@ index c3377a9f7cdc..bd6e908f861f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_rtp_headers_gn")
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
-index c7feee8d37e3..54aa30838e3a 100644
+index d12a2d2af66c..c64b22b66cd4 100644
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22111,7 +21567,7 @@ index c7feee8d37e3..54aa30838e3a 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22211,7 +21667,7 @@ index c7feee8d37e3..54aa30838e3a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22227,19 +21683,17 @@ index c7feee8d37e3..54aa30838e3a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22265,35 +21719,32 @@ index c7feee8d37e3..54aa30838e3a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_stream_encoder_gn")
diff --git third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
-index f1d2331057d4..16df4edfc348 100644
+index fffc859f7e91..85c4a75b1d5e 100644
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22310,7 +21761,7 @@ index f1d2331057d4..16df4edfc348 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22399,7 +21850,7 @@ index f1d2331057d4..16df4edfc348 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22415,19 +21866,17 @@ index f1d2331057d4..16df4edfc348 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22453,35 +21902,32 @@ index f1d2331057d4..16df4edfc348 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bitstream_parser_api_gn")
diff --git third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
-index a7017e0429f0..c92e774efdfa 100644
+index 093dee7324ce..f6ebd363cae6 100644
--- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22498,7 +21944,7 @@ index a7017e0429f0..c92e774efdfa 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22599,7 +22045,7 @@ index a7017e0429f0..c92e774efdfa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22619,14 +22065,12 @@ index a7017e0429f0..c92e774efdfa 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -22665,12 +22109,10 @@ index a7017e0429f0..c92e774efdfa 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -22679,28 +22121,27 @@ index a7017e0429f0..c92e774efdfa 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("builtin_video_decoder_factory_gn")
diff --git third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
-index b94ff4af7eb0..ddd7c64613a2 100644
+index 010aa6536cc7..f006fa8fd340 100644
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22717,7 +22158,7 @@ index b94ff4af7eb0..ddd7c64613a2 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -22818,7 +22259,7 @@ index b94ff4af7eb0..ddd7c64613a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22838,14 +22279,12 @@ index b94ff4af7eb0..ddd7c64613a2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -22884,12 +22323,10 @@ index b94ff4af7eb0..ddd7c64613a2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -22898,28 +22335,27 @@ index b94ff4af7eb0..ddd7c64613a2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_software_fallback_wrappers_gn")
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
-index 7127dd7cec88..4f2440c02327 100644
+index a4109078ad18..7d91ac4ebccb 100644
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -22936,7 +22372,7 @@ index 7127dd7cec88..4f2440c02327 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23025,7 +22461,7 @@ index 7127dd7cec88..4f2440c02327 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23045,14 +22481,12 @@ index 7127dd7cec88..4f2440c02327 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -23091,12 +22525,10 @@ index 7127dd7cec88..4f2440c02327 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -23105,28 +22537,27 @@ index 7127dd7cec88..4f2440c02327 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalability_mode_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
-index b117e5452806..046a5c61548d 100644
+index 413d7c625981..ec54403372c6 100644
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23143,7 +22574,7 @@ index b117e5452806..046a5c61548d 100644
FINAL_LIBRARY = "xul"
-@@ -55,98 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23243,7 +22674,7 @@ index b117e5452806..046a5c61548d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -154,88 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -156,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23263,14 +22694,12 @@ index b117e5452806..046a5c61548d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -23309,12 +22738,10 @@ index b117e5452806..046a5c61548d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -23323,28 +22750,27 @@ index b117e5452806..046a5c61548d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_codecs_api_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
-index 7551768459b2..9e82018a7b86 100644
+index 4afbd15a2ede..4b1b30a2d0f6 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23361,7 +22787,7 @@ index 7551768459b2..9e82018a7b86 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23461,7 +22887,7 @@ index 7551768459b2..9e82018a7b86 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23477,19 +22903,17 @@ index 7551768459b2..9e82018a7b86 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23515,35 +22939,32 @@ index 7551768459b2..9e82018a7b86 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
-index f8bebec560ae..1e40c0b2b679 100644
+index 8c0ce390c137..78cced434a30 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23560,7 +22981,7 @@ index f8bebec560ae..1e40c0b2b679 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23660,7 +23081,7 @@ index f8bebec560ae..1e40c0b2b679 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23676,19 +23097,17 @@ index f8bebec560ae..1e40c0b2b679 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23714,35 +23133,32 @@ index f8bebec560ae..1e40c0b2b679 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_libaom_av1_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
-index 99636079a13f..56e32034fa02 100644
+index ce8123fb6451..a664d72af4fd 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23759,7 +23175,7 @@ index 99636079a13f..56e32034fa02 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -23860,7 +23276,7 @@ index 99636079a13f..56e32034fa02 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23876,19 +23292,17 @@ index 99636079a13f..56e32034fa02 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23914,35 +23328,32 @@ index 99636079a13f..56e32034fa02 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_libvpx_vp8_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
-index 1044053ab046..69eaf139e6b1 100644
+index 49a98cd715ca..e25c605b56cf 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -23959,7 +23370,7 @@ index 1044053ab046..69eaf139e6b1 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24060,7 +23471,7 @@ index 1044053ab046..69eaf139e6b1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24076,19 +23487,17 @@ index 1044053ab046..69eaf139e6b1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24114,35 +23523,32 @@ index 1044053ab046..69eaf139e6b1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_libvpx_vp9_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
-index 95d4c676f58d..129a648b2795 100644
+index eae3f9817f18..f079fa84bb50 100644
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24159,7 +23565,7 @@ index 95d4c676f58d..129a648b2795 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24260,7 +23666,7 @@ index 95d4c676f58d..129a648b2795 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24276,19 +23682,17 @@ index 95d4c676f58d..129a648b2795 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24314,35 +23718,32 @@ index 95d4c676f58d..129a648b2795 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_encoder_factory_template_open_h264_adapter_gn")
diff --git third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
-index f446420b4b84..430545baba76 100644
+index bb5a5b56e8fd..907dd961dc79 100644
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24359,7 +23760,7 @@ index f446420b4b84..430545baba76 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24460,7 +23861,7 @@ index f446420b4b84..430545baba76 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24480,14 +23881,12 @@ index f446420b4b84..430545baba76 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -24526,12 +23925,10 @@ index f446420b4b84..430545baba76 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -24540,28 +23937,27 @@ index f446420b4b84..430545baba76 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("vp8_temporal_layers_factory_gn")
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
-index fc87471b55d7..2f0d55a14afe 100644
+index e09e7bbfe6a7..04e07ea7827b 100644
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24578,7 +23974,7 @@ index fc87471b55d7..2f0d55a14afe 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24663,7 +24059,7 @@ index fc87471b55d7..2f0d55a14afe 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24679,19 +24075,17 @@ index fc87471b55d7..2f0d55a14afe 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24717,35 +24111,32 @@ index fc87471b55d7..2f0d55a14afe 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_track_source_constraints_gn")
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
-index ae1d392ebd8e..012221581940 100644
+index 1cbb2c1a06d7..739344689e8f 100644
--- third_party/libwebrtc/audio/audio_gn/moz.build
+++ third_party/libwebrtc/audio/audio_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24762,7 +24153,7 @@ index ae1d392ebd8e..012221581940 100644
FINAL_LIBRARY = "xul"
-@@ -57,99 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,99 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -24863,7 +24254,7 @@ index ae1d392ebd8e..012221581940 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24883,14 +24274,12 @@ index ae1d392ebd8e..012221581940 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -24929,12 +24318,10 @@ index ae1d392ebd8e..012221581940 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -24943,28 +24330,27 @@ index ae1d392ebd8e..012221581940 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_gn")
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
-index d4f76e9d017f..ddc4751e02fc 100644
+index 92fbf1e0dede..74cd0b3926b2 100644
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -24981,7 +24367,7 @@ index d4f76e9d017f..ddc4751e02fc 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25081,7 +24467,7 @@ index d4f76e9d017f..ddc4751e02fc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25101,14 +24487,12 @@ index d4f76e9d017f..ddc4751e02fc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25147,12 +24531,10 @@ index d4f76e9d017f..ddc4751e02fc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25161,28 +24543,27 @@ index d4f76e9d017f..ddc4751e02fc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_operations_gn")
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
-index cc46f5717667..3f3febb67c9d 100644
+index c7a0b64d117e..d73d7f34b9c0 100644
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25199,7 +24580,7 @@ index cc46f5717667..3f3febb67c9d 100644
FINAL_LIBRARY = "xul"
-@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -56,98 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25299,7 +24680,7 @@ index cc46f5717667..3f3febb67c9d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25319,14 +24700,12 @@ index cc46f5717667..3f3febb67c9d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25365,12 +24744,10 @@ index cc46f5717667..3f3febb67c9d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25379,28 +24756,27 @@ index cc46f5717667..3f3febb67c9d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("resource_adaptation_gn")
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
-index 9f8d7378218d..1abee39696dd 100644
+index 996e17f52c62..cb998aabc5b0 100644
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25417,7 +24793,7 @@ index 9f8d7378218d..1abee39696dd 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25513,7 +24889,7 @@ index 9f8d7378218d..1abee39696dd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25529,19 +24905,17 @@ index 9f8d7378218d..1abee39696dd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -25567,35 +24941,32 @@ index 9f8d7378218d..1abee39696dd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_sender_interface_gn")
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
-index a9733fff9e74..2323bba17a99 100644
+index 94a7d297858f..e6aa6ea71441 100644
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25612,7 +24983,7 @@ index a9733fff9e74..2323bba17a99 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25712,7 +25083,7 @@ index a9733fff9e74..2323bba17a99 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25732,14 +25103,12 @@ index a9733fff9e74..2323bba17a99 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25778,12 +25147,10 @@ index a9733fff9e74..2323bba17a99 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25792,28 +25159,27 @@ index a9733fff9e74..2323bba17a99 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_allocator_gn")
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
-index 850bd1207495..351672f63e86 100644
+index 698c10c5dfca..ee2b3f2991b7 100644
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -25830,7 +25196,7 @@ index 850bd1207495..351672f63e86 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -25919,7 +25285,7 @@ index 850bd1207495..351672f63e86 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25939,14 +25305,12 @@ index 850bd1207495..351672f63e86 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -25985,12 +25349,10 @@ index 850bd1207495..351672f63e86 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -25999,28 +25361,27 @@ index 850bd1207495..351672f63e86 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_configurator_gn")
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
-index 01d05dc953cb..d66394d2e96b 100644
+index e9153eb454ce..d9f72a02b60c 100644
--- third_party/libwebrtc/call/call_gn/moz.build
+++ third_party/libwebrtc/call/call_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26037,7 +25398,7 @@ index 01d05dc953cb..d66394d2e96b 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26138,7 +25499,7 @@ index 01d05dc953cb..d66394d2e96b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26158,14 +25519,12 @@ index 01d05dc953cb..d66394d2e96b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -26204,12 +25563,10 @@ index 01d05dc953cb..d66394d2e96b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -26218,28 +25575,27 @@ index 01d05dc953cb..d66394d2e96b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("call_gn")
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
-index 2085a0e8cff6..9d202f1d07ac 100644
+index f1f1bb303843..d0ef9d525d5a 100644
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26256,7 +25612,7 @@ index 2085a0e8cff6..9d202f1d07ac 100644
FINAL_LIBRARY = "xul"
-@@ -51,99 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26357,7 +25713,7 @@ index 2085a0e8cff6..9d202f1d07ac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26377,14 +25733,12 @@ index 2085a0e8cff6..9d202f1d07ac 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -26423,12 +25777,10 @@ index 2085a0e8cff6..9d202f1d07ac 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -26437,28 +25789,27 @@ index 2085a0e8cff6..9d202f1d07ac 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("call_interfaces_gn")
diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build
-index 29191448d094..cfc3baa09e32 100644
+index 85e28f429c7c..ca28e79f0b66 100644
--- third_party/libwebrtc/call/payload_type_gn/moz.build
+++ third_party/libwebrtc/call/payload_type_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26475,7 +25826,7 @@ index 29191448d094..cfc3baa09e32 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26575,7 +25926,7 @@ index 29191448d094..cfc3baa09e32 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26591,19 +25942,17 @@ index 29191448d094..cfc3baa09e32 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -26629,35 +25978,32 @@ index 29191448d094..cfc3baa09e32 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("payload_type_gn")
diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build
-index 8748c0cbb4ca..78024420815c 100644
+index 650d536de7d3..020555402df4 100644
--- third_party/libwebrtc/call/payload_type_picker_gn/moz.build
+++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26674,7 +26020,7 @@ index 8748c0cbb4ca..78024420815c 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26774,7 +26120,7 @@ index 8748c0cbb4ca..78024420815c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26794,14 +26140,12 @@ index 8748c0cbb4ca..78024420815c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -26840,12 +26184,10 @@ index 8748c0cbb4ca..78024420815c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -26854,28 +26196,27 @@ index 8748c0cbb4ca..78024420815c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("payload_type_picker_gn")
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
-index 7490a7abd497..59ea1b2b5448 100644
+index a6c6001f74e2..8d549a7ab50f 100644
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -26892,7 +26233,7 @@ index 7490a7abd497..59ea1b2b5448 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -26992,7 +26333,7 @@ index 7490a7abd497..59ea1b2b5448 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27008,19 +26349,17 @@ index 7490a7abd497..59ea1b2b5448 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -27046,35 +26385,32 @@ index 7490a7abd497..59ea1b2b5448 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("receive_stream_interface_gn")
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
-index e70c9541d6ec..b5cad7c8f322 100644
+index 85873e674c14..24f88b79244a 100644
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27091,7 +26427,7 @@ index e70c9541d6ec..b5cad7c8f322 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27191,7 +26527,7 @@ index e70c9541d6ec..b5cad7c8f322 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27211,14 +26547,12 @@ index e70c9541d6ec..b5cad7c8f322 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27257,12 +26591,10 @@ index e70c9541d6ec..b5cad7c8f322 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27271,28 +26603,27 @@ index e70c9541d6ec..b5cad7c8f322 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_interfaces_gn")
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
-index 5e2c06b6a0a3..562f9ce1e68c 100644
+index 680b4c6faf4b..52c74494d5fe 100644
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27309,7 +26640,7 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27410,7 +26741,7 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27430,14 +26761,12 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27476,12 +26805,10 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27490,28 +26817,27 @@ index 5e2c06b6a0a3..562f9ce1e68c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_receiver_gn")
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
-index a8ff134e981f..212bd6345f6f 100644
+index c54282e5cead..483a0d764e21 100644
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27528,7 +26854,7 @@ index a8ff134e981f..212bd6345f6f 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27629,7 +26955,7 @@ index a8ff134e981f..212bd6345f6f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27649,14 +26975,12 @@ index a8ff134e981f..212bd6345f6f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27695,12 +27019,10 @@ index a8ff134e981f..212bd6345f6f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27709,28 +27031,27 @@ index a8ff134e981f..212bd6345f6f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_sender_gn")
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
-index 828f94f4cbdd..68a780748b3d 100644
+index 68e67fa3d88a..a2f2266e7dda 100644
--- third_party/libwebrtc/call/version_gn/moz.build
+++ third_party/libwebrtc/call/version_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27747,7 +27068,7 @@ index 828f94f4cbdd..68a780748b3d 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -27832,7 +27153,7 @@ index 828f94f4cbdd..68a780748b3d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27852,14 +27173,12 @@ index 828f94f4cbdd..68a780748b3d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -27898,12 +27217,10 @@ index 828f94f4cbdd..68a780748b3d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -27912,28 +27229,27 @@ index 828f94f4cbdd..68a780748b3d 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("version_gn")
diff --git third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
-index 7fa1a7744a16..d484b531245e 100644
+index 42919d9750d6..5c78f2ae7501 100644
--- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
+++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -27950,7 +27266,7 @@ index 7fa1a7744a16..d484b531245e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28050,7 +27366,7 @@ index 7fa1a7744a16..d484b531245e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28070,14 +27386,12 @@ index 7fa1a7744a16..d484b531245e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -28116,12 +27430,10 @@ index 7fa1a7744a16..d484b531245e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -28130,28 +27442,27 @@ index 7fa1a7744a16..d484b531245e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_receive_stream_api_gn")
diff --git third_party/libwebrtc/call/video_send_stream_api_gn/moz.build third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
-index 2b5383c055d0..2be81a195947 100644
+index 313ac5a18542..9c2133892487 100644
--- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
+++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -28168,7 +27479,7 @@ index 2b5383c055d0..2be81a195947 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28268,7 +27579,7 @@ index 2b5383c055d0..2be81a195947 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28288,14 +27599,12 @@ index 2b5383c055d0..2be81a195947 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -28334,12 +27643,10 @@ index 2b5383c055d0..2be81a195947 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -28348,28 +27655,27 @@ index 2b5383c055d0..2be81a195947 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_send_stream_api_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
-index fe1b026fc033..3bc0d69ffe9f 100644
+index 9dc7f0d05cd6..f4c90763c1cf 100644
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
-@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -28387,7 +27693,7 @@ index fe1b026fc033..3bc0d69ffe9f 100644
FINAL_LIBRARY = "xul"
-@@ -52,128 +61,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,127 +63,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28419,7 +27725,6 @@ index fe1b026fc033..3bc0d69ffe9f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -28518,15 +27823,16 @@ index fe1b026fc033..3bc0d69ffe9f 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
-index bbe581ba7140..05b3437fc803 100644
+index 2adc30b60cc3..7ffb62cc89f2 100644
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -28543,7 +27849,7 @@ index bbe581ba7140..05b3437fc803 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28628,7 +27934,7 @@ index bbe581ba7140..05b3437fc803 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,32 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,30 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28649,19 +27955,17 @@ index bbe581ba7140..05b3437fc803 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -160,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -160,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -28687,35 +27991,32 @@ index bbe581ba7140..05b3437fc803 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("common_audio_c_arm_asm_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
-index 2ec7bdf69533..7486ca545e4c 100644
+index 92ead1350503..499e855a6429 100644
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -28732,7 +28033,7 @@ index 2ec7bdf69533..7486ca545e4c 100644
FINAL_LIBRARY = "xul"
-@@ -82,120 +91,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -84,120 +93,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28854,7 +28155,7 @@ index 2ec7bdf69533..7486ca545e4c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -203,20 +99,14 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -205,20 +101,14 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28879,28 +28180,24 @@ index 2ec7bdf69533..7486ca545e4c 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
-@@ -225,10 +115,8 @@ if CONFIG["TARGET_CPU"] == "loongarch64":
-
- if CONFIG["TARGET_CPU"] == "mips32":
+@@ -229,7 +119,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c"
-@@ -245,9 +133,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -246,8 +135,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
-@@ -262,63 +147,7 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -262,62 +149,7 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
@@ -28959,19 +28256,17 @@ index 2ec7bdf69533..7486ca545e4c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+if CONFIG["TARGET_CPU"] == "riscv64":
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-@@ -326,31 +155,13 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+@@ -325,29 +157,13 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- UNIFIED_SOURCES += [
@@ -28993,35 +28288,34 @@ index 2ec7bdf69533..7486ca545e4c 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-@@ -358,10 +169,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -355,9 +171,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
-index 4f177e28c07d..581e60d176df 100644
+index 1560a14f085d..6e45b9b381b6 100644
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -29038,7 +28332,7 @@ index 4f177e28c07d..581e60d176df 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29138,7 +28432,7 @@ index 4f177e28c07d..581e60d176df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -29158,14 +28452,12 @@ index 4f177e28c07d..581e60d176df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -29204,12 +28496,10 @@ index 4f177e28c07d..581e60d176df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -29218,28 +28508,27 @@ index 4f177e28c07d..581e60d176df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("common_audio_cc_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
-index c58955b10ea6..ee6a43e9fefc 100644
+index 7ae87f142c97..898caf8d8737 100644
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -29256,7 +28545,7 @@ index c58955b10ea6..ee6a43e9fefc 100644
FINAL_LIBRARY = "xul"
-@@ -58,98 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,98 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29356,7 +28645,7 @@ index c58955b10ea6..ee6a43e9fefc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -29376,14 +28665,12 @@ index c58955b10ea6..ee6a43e9fefc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -29422,12 +28709,10 @@ index c58955b10ea6..ee6a43e9fefc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -29436,28 +28721,27 @@ index c58955b10ea6..ee6a43e9fefc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("common_audio_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
-index dff5e9a9e48a..f71793d2412b 100644
+index b25cc26758a9..aa3c85edd842 100644
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
-@@ -13,13 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,25 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_ARCH_ARM64"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -29477,7 +28761,7 @@ index dff5e9a9e48a..f71793d2412b 100644
FINAL_LIBRARY = "xul"
-@@ -48,144 +59,6 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,143 +61,6 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29511,7 +28795,6 @@ index dff5e9a9e48a..f71793d2412b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29623,15 +28906,16 @@ index dff5e9a9e48a..f71793d2412b 100644
-
Library("common_audio_neon_c_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
-index bcb0eea056b8..68f568a4609e 100644
+index 68c741dd1e4e..82e3c5baa6fa 100644
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
-@@ -13,13 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,25 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_ARCH_ARM64"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -29651,7 +28935,7 @@ index bcb0eea056b8..68f568a4609e 100644
FINAL_LIBRARY = "xul"
-@@ -47,144 +58,6 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,143 +60,6 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29685,7 +28969,6 @@ index bcb0eea056b8..68f568a4609e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29797,15 +29080,16 @@ index bcb0eea056b8..68f568a4609e 100644
-
Library("common_audio_neon_gn")
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
-index 4a6fdb306aa6..dbecce80ab45 100644
+index 5b461feec23b..29c9377cb4f9 100644
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -29823,7 +29107,7 @@ index 4a6fdb306aa6..dbecce80ab45 100644
FINAL_LIBRARY = "xul"
-@@ -47,150 +56,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,149 +58,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -29859,7 +29143,6 @@ index 4a6fdb306aa6..dbecce80ab45 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29977,15 +29260,16 @@ index 4a6fdb306aa6..dbecce80ab45 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
-index ce9072a0fe55..6ebbd2bc8f48 100644
+index 7f03b4b2e53f..bc11ece1d4d7 100644
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30002,7 +29286,7 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30102,7 +29386,7 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30122,14 +29406,12 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -30168,12 +29450,10 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -30182,28 +29462,27 @@ index ce9072a0fe55..6ebbd2bc8f48 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fir_filter_factory_gn")
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
-index 06ea301b21f9..81322b8eb2ec 100644
+index eb3c6df45839..0fcc226c6d9a 100644
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30220,7 +29499,7 @@ index 06ea301b21f9..81322b8eb2ec 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30305,7 +29584,7 @@ index 06ea301b21f9..81322b8eb2ec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30321,19 +29600,17 @@ index 06ea301b21f9..81322b8eb2ec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -30359,35 +29636,32 @@ index 06ea301b21f9..81322b8eb2ec 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("fir_filter_gn")
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
-index 5290e066bab5..24a8a439063c 100644
+index 22da9aa64e1f..8a65508b1542 100644
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30404,7 +29678,7 @@ index 5290e066bab5..24a8a439063c 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30504,7 +29778,7 @@ index 5290e066bab5..24a8a439063c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30520,19 +29794,17 @@ index 5290e066bab5..24a8a439063c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -30558,35 +29830,32 @@ index 5290e066bab5..24a8a439063c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sinc_resampler_gn")
diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
-index 4292372dbac9..1d7ed49fde1e 100644
+index 8b9bb4c81cad..3440d15b9e1c 100644
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30603,7 +29872,7 @@ index 4292372dbac9..1d7ed49fde1e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30703,7 +29972,7 @@ index 4292372dbac9..1d7ed49fde1e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,128 +66,38 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,122 +68,38 @@ if CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
]
@@ -30727,7 +29996,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
@@ -30738,7 +30006,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
if CONFIG["TARGET_CPU"] == "x86":
@@ -30798,12 +30065,10 @@ index 4292372dbac9..1d7ed49fde1e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -30816,7 +30081,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
+ "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
@@ -30826,7 +30090,6 @@ index 4292372dbac9..1d7ed49fde1e 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "x86_64":
@@ -30840,15 +30103,16 @@ index 4292372dbac9..1d7ed49fde1e 100644
Library("fft_size_128_gn")
diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
-index 083f0cacddb9..870f24ccad4f 100644
+index 3e62c5c7f5d2..7541b01f163e 100644
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -30865,7 +30129,7 @@ index 083f0cacddb9..870f24ccad4f 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -30950,7 +30214,7 @@ index 083f0cacddb9..870f24ccad4f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30970,14 +30234,12 @@ index 083f0cacddb9..870f24ccad4f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -31016,12 +30278,10 @@ index 083f0cacddb9..870f24ccad4f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -31030,28 +30290,27 @@ index 083f0cacddb9..870f24ccad4f 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fft_size_256_gn")
diff --git third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
-index 8fba4c436475..7be006d15bc0 100644
+index 3fbf9e4e2fee..d14b47d5e338 100644
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31068,7 +30327,7 @@ index 8fba4c436475..7be006d15bc0 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31165,7 +30424,7 @@ index 8fba4c436475..7be006d15bc0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,30 +58,20 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,20 +60,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31188,27 +30447,24 @@ index 8fba4c436475..7be006d15bc0 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
]
+@@ -161,7 +74,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c"
-@@ -168,9 +79,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -169,8 +81,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
]
-@@ -181,93 +89,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -181,89 +91,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
]
@@ -31265,7 +30521,6 @@ index 8fba4c436475..7be006d15bc0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- UNIFIED_SOURCES += [
@@ -31274,7 +30529,6 @@ index 8fba4c436475..7be006d15bc0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
@@ -31290,7 +30544,6 @@ index 8fba4c436475..7be006d15bc0 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -31301,22 +30554,22 @@ index 8fba4c436475..7be006d15bc0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
-index 53e079b36c1e..216161d185b7 100644
+index 4594217ae7ea..ecade4065db8 100644
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31333,7 +30586,7 @@ index 53e079b36c1e..216161d185b7 100644
FINAL_LIBRARY = "xul"
-@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,98 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31433,7 +30686,7 @@ index 53e079b36c1e..216161d185b7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -156,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -158,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31453,14 +30706,12 @@ index 53e079b36c1e..216161d185b7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -31499,12 +30750,10 @@ index 53e079b36c1e..216161d185b7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -31513,28 +30762,27 @@ index 53e079b36c1e..216161d185b7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("common_video_gn")
diff --git third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
-index a39b53c0b225..46901ebfa87d 100644
+index 7a12e1f80532..67975fb257fe 100644
--- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
+++ third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31551,7 +30799,7 @@ index a39b53c0b225..46901ebfa87d 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31640,7 +30888,7 @@ index a39b53c0b225..46901ebfa87d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31660,14 +30908,12 @@ index a39b53c0b225..46901ebfa87d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -31706,12 +30952,10 @@ index a39b53c0b225..46901ebfa87d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -31720,28 +30964,27 @@ index a39b53c0b225..46901ebfa87d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("corruption_detection_converters_gn")
diff --git third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
-index b6aee1c8bbbe..dfb538922b84 100644
+index 8923f3ddf002..937a7c082f7c 100644
--- third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
+++ third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31758,7 +31001,7 @@ index b6aee1c8bbbe..dfb538922b84 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -31854,7 +31097,7 @@ index b6aee1c8bbbe..dfb538922b84 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31870,19 +31113,17 @@ index b6aee1c8bbbe..dfb538922b84 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -31908,35 +31149,32 @@ index b6aee1c8bbbe..dfb538922b84 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("corruption_score_calculator_gn")
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
-index 4c0a4630b610..5d45fb7c23c4 100644
+index 8a2276e31b03..17eb2a61992d 100644
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -31953,7 +31191,7 @@ index 4c0a4630b610..5d45fb7c23c4 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32038,7 +31276,7 @@ index 4c0a4630b610..5d45fb7c23c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32054,19 +31292,17 @@ index 4c0a4630b610..5d45fb7c23c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32092,35 +31328,32 @@ index 4c0a4630b610..5d45fb7c23c4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_counts_gn")
diff --git third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
-index 9f1fe24b6f43..b4200efd2d0f 100644
+index 704b8b08b41c..6a39ea1a1db6 100644
--- third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
+++ third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32137,7 +31370,7 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32222,7 +31455,7 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32238,19 +31471,17 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32276,35 +31507,32 @@ index 9f1fe24b6f43..b4200efd2d0f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_instrumentation_data_gn")
diff --git third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
-index 5ad5eb8a6c24..f3ff9dad7e78 100644
+index f6be73a2ee74..c2e2eb3a24e4 100644
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32321,7 +31549,7 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32410,7 +31638,7 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32430,14 +31658,12 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -32476,12 +31702,10 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -32490,28 +31714,27 @@ index 5ad5eb8a6c24..f3ff9dad7e78 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("generic_frame_descriptor_gn")
diff --git third_party/libwebrtc/dcsctp_gn/moz.build third_party/libwebrtc/dcsctp_gn/moz.build
-index a361aa0738ba..9c86ad151947 100644
+index 9dce2c0157e9..f452910e84ab 100644
--- third_party/libwebrtc/dcsctp_gn/moz.build
+++ third_party/libwebrtc/dcsctp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32528,7 +31751,7 @@ index a361aa0738ba..9c86ad151947 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32624,7 +31847,7 @@ index a361aa0738ba..9c86ad151947 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32640,19 +31863,17 @@ index a361aa0738ba..9c86ad151947 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32678,35 +31899,32 @@ index a361aa0738ba..9c86ad151947 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("dcsctp_gn")
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
-index 415d4f6b6bad..a38a5238b43b 100644
+index 70925379fe41..9ae47f123445 100644
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32723,7 +31941,7 @@ index 415d4f6b6bad..a38a5238b43b 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -32808,7 +32026,7 @@ index 415d4f6b6bad..a38a5238b43b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32824,19 +32042,17 @@ index 415d4f6b6bad..a38a5238b43b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32862,30 +32078,26 @@ index 415d4f6b6bad..a38a5238b43b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("registered_field_trials_gn")
diff --git third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build
-index 6c29dea76a50..3ae54a950c46 100644
+index edb8e084a33a..e2236e78c4a0 100644
--- third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build
+++ third_party/libwebrtc/experiments/registered_field_trials_header_gn/moz.build
-@@ -31,9 +31,4 @@ LOCAL_INCLUDES += [
+@@ -32,9 +32,4 @@ LOCAL_INCLUDES += [
"/tools/profiler/public"
]
@@ -32896,15 +32108,16 @@ index 6c29dea76a50..3ae54a950c46 100644
-
Library("registered_field_trials_header_gn")
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
-index 19d2011f0711..fd3195859252 100644
+index b1b3582e1608..7eb186a72b60 100644
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -32921,7 +32134,7 @@ index 19d2011f0711..fd3195859252 100644
FINAL_LIBRARY = "xul"
-@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,94 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33017,7 +32230,7 @@ index 19d2011f0711..fd3195859252 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33037,14 +32250,12 @@ index 19d2011f0711..fd3195859252 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33083,12 +32294,10 @@ index 19d2011f0711..fd3195859252 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33097,28 +32306,27 @@ index 19d2011f0711..fd3195859252 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_audio_gn")
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
-index af48c04f59de..a7254b198d49 100644
+index cf4cfcc07e11..423e1504c239 100644
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33135,7 +32343,7 @@ index af48c04f59de..a7254b198d49 100644
FINAL_LIBRARY = "xul"
-@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33231,7 +32439,7 @@ index af48c04f59de..a7254b198d49 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33251,14 +32459,12 @@ index af48c04f59de..a7254b198d49 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33297,12 +32503,10 @@ index af48c04f59de..a7254b198d49 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33311,28 +32515,27 @@ index af48c04f59de..a7254b198d49 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_bwe_gn")
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
-index 68ca708760ea..670306ad1fab 100644
+index 1237d6915038..a1db7c7cf147 100644
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33349,7 +32552,7 @@ index 68ca708760ea..670306ad1fab 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33445,7 +32648,7 @@ index 68ca708760ea..670306ad1fab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33465,14 +32668,12 @@ index 68ca708760ea..670306ad1fab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33511,12 +32712,10 @@ index 68ca708760ea..670306ad1fab 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33525,28 +32724,27 @@ index 68ca708760ea..670306ad1fab 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_field_gn")
diff --git third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
-index ba98f2fad30c..0521908d9419 100644
+index a0b53a3dcf6b..23328c26c561 100644
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33563,7 +32761,7 @@ index ba98f2fad30c..0521908d9419 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33652,7 +32850,7 @@ index ba98f2fad30c..0521908d9419 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33668,19 +32866,17 @@ index ba98f2fad30c..0521908d9419 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -33706,35 +32902,32 @@ index ba98f2fad30c..0521908d9419 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_event_log_parse_status_gn")
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
-index 01705c04b230..8e87aff3722e 100644
+index b81ffc31f513..51d2fcb05f21 100644
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33751,7 +32944,7 @@ index 01705c04b230..8e87aff3722e 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -33840,7 +33033,7 @@ index 01705c04b230..8e87aff3722e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -137,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33860,14 +33053,12 @@ index 01705c04b230..8e87aff3722e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -33906,12 +33097,10 @@ index 01705c04b230..8e87aff3722e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -33920,28 +33109,27 @@ index 01705c04b230..8e87aff3722e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_number_encodings_gn")
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
-index b5e49419d3ef..c6f0009da400 100644
+index 2d80e868d5e2..d80df18762aa 100644
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -33958,7 +33146,7 @@ index b5e49419d3ef..c6f0009da400 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34054,7 +33242,7 @@ index b5e49419d3ef..c6f0009da400 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34074,14 +33262,12 @@ index b5e49419d3ef..c6f0009da400 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34120,12 +33306,10 @@ index b5e49419d3ef..c6f0009da400 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34134,28 +33318,27 @@ index b5e49419d3ef..c6f0009da400 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_pacing_gn")
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
-index 669a835db754..68eacaa9575b 100644
+index 2673075055fb..3a5ac9ee85d6 100644
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34172,7 +33355,7 @@ index 669a835db754..68eacaa9575b 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34272,7 +33455,7 @@ index 669a835db754..68eacaa9575b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34292,14 +33475,12 @@ index 669a835db754..68eacaa9575b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34338,12 +33519,10 @@ index 669a835db754..68eacaa9575b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34352,28 +33531,27 @@ index 669a835db754..68eacaa9575b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_rtp_rtcp_gn")
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
-index e3933c0aa96e..563a8c4cd9fb 100644
+index 4eba826cac76..a2af28545932 100644
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34390,7 +33568,7 @@ index e3933c0aa96e..563a8c4cd9fb 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34486,7 +33664,7 @@ index e3933c0aa96e..563a8c4cd9fb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34506,14 +33684,12 @@ index e3933c0aa96e..563a8c4cd9fb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34552,12 +33728,10 @@ index e3933c0aa96e..563a8c4cd9fb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34566,28 +33740,27 @@ index e3933c0aa96e..563a8c4cd9fb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_video_gn")
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
-index 60a829841624..6a35e9816c35 100644
+index 84cfad03cbad..c15c6b76c6ad 100644
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34604,7 +33777,7 @@ index 60a829841624..6a35e9816c35 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34700,7 +33873,7 @@ index 60a829841624..6a35e9816c35 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34720,14 +33893,12 @@ index 60a829841624..6a35e9816c35 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34766,12 +33937,10 @@ index 60a829841624..6a35e9816c35 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34780,28 +33949,27 @@ index 60a829841624..6a35e9816c35 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_stream_config_gn")
diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
-index 95e5b56fcaf2..6ebaffa17bf0 100644
+index c50a3f48e50c..8f304e5179b0 100644
--- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
+++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -34818,7 +33986,7 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -34918,7 +34086,7 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34938,14 +34106,12 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -34984,12 +34150,10 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -34998,28 +34162,27 @@ index 95e5b56fcaf2..6ebaffa17bf0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("adapted_video_track_source_gn")
diff --git third_party/libwebrtc/media/audio_source_gn/moz.build third_party/libwebrtc/media/audio_source_gn/moz.build
-index 79c6905d50d0..a651f17c72f3 100644
+index a4593705f4d4..cf45ed1996b4 100644
--- third_party/libwebrtc/media/audio_source_gn/moz.build
+++ third_party/libwebrtc/media/audio_source_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35036,7 +34199,7 @@ index 79c6905d50d0..a651f17c72f3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35121,7 +34284,7 @@ index 79c6905d50d0..a651f17c72f3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35137,19 +34300,17 @@ index 79c6905d50d0..a651f17c72f3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35175,35 +34336,32 @@ index 79c6905d50d0..a651f17c72f3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_source_gn")
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
-index 11fbb4c53ece..2fa1b126e636 100644
+index 4ad0c6b4d4f1..a2e84b26f4b5 100644
--- third_party/libwebrtc/media/codec_gn/moz.build
+++ third_party/libwebrtc/media/codec_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35220,7 +34378,7 @@ index 11fbb4c53ece..2fa1b126e636 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35320,7 +34478,7 @@ index 11fbb4c53ece..2fa1b126e636 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35340,14 +34498,12 @@ index 11fbb4c53ece..2fa1b126e636 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -35386,12 +34542,10 @@ index 11fbb4c53ece..2fa1b126e636 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -35400,28 +34554,27 @@ index 11fbb4c53ece..2fa1b126e636 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("codec_gn")
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
-index ffb4236c2b4a..9d1b62e2b4ce 100644
+index 0123be9df1ba..9ba5846e1cce 100644
--- third_party/libwebrtc/media/media_channel_gn/moz.build
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35438,7 +34591,7 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35539,7 +34692,7 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35555,19 +34708,17 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35593,35 +34744,32 @@ index ffb4236c2b4a..9d1b62e2b4ce 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("media_channel_gn")
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
-index cca0752fc101..d98b839a2d92 100644
+index 314151b757d8..146ff9def9fe 100644
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35638,7 +34786,7 @@ index cca0752fc101..d98b839a2d92 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35723,7 +34871,7 @@ index cca0752fc101..d98b839a2d92 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35739,19 +34887,17 @@ index cca0752fc101..d98b839a2d92 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35777,35 +34923,32 @@ index cca0752fc101..d98b839a2d92 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("media_channel_impl_gn")
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
-index 0de5e3362a74..5adbec9d0fdb 100644
+index 9ca79aabe233..56b3ea5ed006 100644
--- third_party/libwebrtc/media/media_constants_gn/moz.build
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -35822,7 +34965,7 @@ index 0de5e3362a74..5adbec9d0fdb 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -35907,7 +35050,7 @@ index 0de5e3362a74..5adbec9d0fdb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35927,14 +35070,12 @@ index 0de5e3362a74..5adbec9d0fdb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -35973,12 +35114,10 @@ index 0de5e3362a74..5adbec9d0fdb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -35987,28 +35126,27 @@ index 0de5e3362a74..5adbec9d0fdb 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("media_constants_gn")
diff --git third_party/libwebrtc/media/media_engine_gn/moz.build third_party/libwebrtc/media/media_engine_gn/moz.build
-index f7a6f8714d3e..d086491ddaa2 100644
+index 511ed8d0de3d..310b21190384 100644
--- third_party/libwebrtc/media/media_engine_gn/moz.build
+++ third_party/libwebrtc/media/media_engine_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36025,7 +35163,7 @@ index f7a6f8714d3e..d086491ddaa2 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36126,7 +35264,7 @@ index f7a6f8714d3e..d086491ddaa2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36142,19 +35280,17 @@ index f7a6f8714d3e..d086491ddaa2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -36180,35 +35316,32 @@ index f7a6f8714d3e..d086491ddaa2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("media_engine_gn")
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
-index 350d2d42a27a..bd2d2d1a3c1d 100644
+index f90d99ec11d7..1e68c6ca8bd9 100644
--- third_party/libwebrtc/media/rid_description_gn/moz.build
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36225,7 +35358,7 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36325,7 +35458,7 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36345,14 +35478,12 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -36391,12 +35522,10 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -36405,28 +35534,27 @@ index 350d2d42a27a..bd2d2d1a3c1d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rid_description_gn")
diff --git third_party/libwebrtc/media/rtc_audio_video_gn/moz.build third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
-index 8b2173e83a8d..53bcc77e6c67 100644
+index 7074c8187174..fb37030f65f5 100644
--- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
+++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
-@@ -14,12 +14,21 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
+@@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36443,7 +35571,7 @@ index 8b2173e83a8d..53bcc77e6c67 100644
FINAL_LIBRARY = "xul"
-@@ -47,103 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,103 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36548,7 +35676,7 @@ index 8b2173e83a8d..53bcc77e6c67 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36568,14 +35696,12 @@ index 8b2173e83a8d..53bcc77e6c67 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -36614,12 +35740,10 @@ index 8b2173e83a8d..53bcc77e6c67 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -36628,28 +35752,27 @@ index 8b2173e83a8d..53bcc77e6c67 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_audio_video_gn")
diff --git third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
-index 3683d691b678..1f529f42bdc0 100644
+index 57889f565303..bd831fddb2dc 100644
--- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
+++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
-@@ -14,12 +14,21 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
+@@ -14,13 +14,22 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
DEFINES["RTC_USE_LIBAOM_AV1_ENCODER"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36666,7 +35789,7 @@ index 3683d691b678..1f529f42bdc0 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36767,7 +35890,7 @@ index 3683d691b678..1f529f42bdc0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36787,14 +35910,12 @@ index 3683d691b678..1f529f42bdc0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -36833,12 +35954,10 @@ index 3683d691b678..1f529f42bdc0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -36847,28 +35966,27 @@ index 3683d691b678..1f529f42bdc0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_internal_video_codecs_gn")
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
-index b27437382904..578bc0b80472 100644
+index c18e870acb9a..fedda41e6ae3 100644
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -36885,7 +36003,7 @@ index b27437382904..578bc0b80472 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36986,7 +36104,7 @@ index b27437382904..578bc0b80472 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37002,19 +36120,17 @@ index b27437382904..578bc0b80472 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37040,35 +36156,32 @@ index b27437382904..578bc0b80472 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_media_base_gn")
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
-index faf48db2d276..5fc7599bde08 100644
+index 37cd82e2a682..972d06306f41 100644
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37085,7 +36198,7 @@ index faf48db2d276..5fc7599bde08 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37170,7 +36283,7 @@ index faf48db2d276..5fc7599bde08 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37186,19 +36299,17 @@ index faf48db2d276..5fc7599bde08 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37224,35 +36335,32 @@ index faf48db2d276..5fc7599bde08 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_media_config_gn")
diff --git third_party/libwebrtc/media/rtc_media_gn/moz.build third_party/libwebrtc/media/rtc_media_gn/moz.build
-index 1b7b6de7915a..1aff1b07aa5f 100644
+index 95aff4fcc141..f1496c154221 100644
--- third_party/libwebrtc/media/rtc_media_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_gn/moz.build
-@@ -14,12 +14,21 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
+@@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37269,7 +36377,7 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
FINAL_LIBRARY = "xul"
-@@ -42,103 +51,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -44,103 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37374,7 +36482,7 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,27 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37390,19 +36498,17 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -176,44 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -176,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37428,35 +36534,32 @@ index 1b7b6de7915a..1aff1b07aa5f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_media_gn")
diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
-index 057c31cdd32d..855d7dba3fed 100644
+index 3903b5043c9c..f04602321b4b 100644
--- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
+++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37473,7 +36576,7 @@ index 057c31cdd32d..855d7dba3fed 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37573,7 +36676,7 @@ index 057c31cdd32d..855d7dba3fed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37593,14 +36696,12 @@ index 057c31cdd32d..855d7dba3fed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -37639,12 +36740,10 @@ index 057c31cdd32d..855d7dba3fed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -37653,28 +36752,27 @@ index 057c31cdd32d..855d7dba3fed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_sdp_video_format_utils_gn")
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
-index eda06ab0f069..e216a7d8756f 100644
+index a8632f24d148..12faca2c60ec 100644
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37691,7 +36789,7 @@ index eda06ab0f069..e216a7d8756f 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37792,7 +36890,7 @@ index eda06ab0f069..e216a7d8756f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37812,14 +36910,12 @@ index eda06ab0f069..e216a7d8756f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -37858,12 +36954,10 @@ index eda06ab0f069..e216a7d8756f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -37872,28 +36966,27 @@ index eda06ab0f069..e216a7d8756f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_simulcast_encoder_adapter_gn")
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
-index c4bc1c695159..93aef89a254f 100644
+index 6d41faceb2a1..b3ce0c3dac99 100644
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -37910,7 +37003,7 @@ index c4bc1c695159..93aef89a254f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -37995,7 +37088,7 @@ index c4bc1c695159..93aef89a254f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38011,19 +37104,17 @@ index c4bc1c695159..93aef89a254f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38049,35 +37140,32 @@ index c4bc1c695159..93aef89a254f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_utils_gn")
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
-index aab98c22b490..793b552f52c4 100644
+index 22c82b496a59..78fd4155d38b 100644
--- third_party/libwebrtc/media/stream_params_gn/moz.build
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38094,7 +37182,7 @@ index aab98c22b490..793b552f52c4 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38179,7 +37267,7 @@ index aab98c22b490..793b552f52c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38195,19 +37283,17 @@ index aab98c22b490..793b552f52c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38233,35 +37319,32 @@ index aab98c22b490..793b552f52c4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("stream_params_gn")
diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build
-index 51b78b36338c..05509afcdd12 100644
+index ce7a74872715..80d67950990d 100644
--- third_party/libwebrtc/media/video_adapter_gn/moz.build
+++ third_party/libwebrtc/media/video_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38278,7 +37361,7 @@ index 51b78b36338c..05509afcdd12 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38378,7 +37461,7 @@ index 51b78b36338c..05509afcdd12 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38398,14 +37481,12 @@ index 51b78b36338c..05509afcdd12 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -38444,12 +37525,10 @@ index 51b78b36338c..05509afcdd12 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -38458,28 +37537,27 @@ index 51b78b36338c..05509afcdd12 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_adapter_gn")
diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build
-index 0e00a392b816..eeba7ecec130 100644
+index 0bba5248d917..c85e8c95f8f6 100644
--- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
+++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38496,7 +37574,7 @@ index 0e00a392b816..eeba7ecec130 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38592,7 +37670,7 @@ index 0e00a392b816..eeba7ecec130 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38612,14 +37690,12 @@ index 0e00a392b816..eeba7ecec130 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -38658,12 +37734,10 @@ index 0e00a392b816..eeba7ecec130 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -38672,28 +37746,27 @@ index 0e00a392b816..eeba7ecec130 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_broadcaster_gn")
diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build
-index ceaf76133561..7a08c0558dee 100644
+index fe09ce34a933..a764d15f802e 100644
--- third_party/libwebrtc/media/video_common_gn/moz.build
+++ third_party/libwebrtc/media/video_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38710,7 +37783,7 @@ index ceaf76133561..7a08c0558dee 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -38806,7 +37879,7 @@ index ceaf76133561..7a08c0558dee 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38826,14 +37899,12 @@ index ceaf76133561..7a08c0558dee 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -38872,12 +37943,10 @@ index ceaf76133561..7a08c0558dee 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -38886,28 +37955,27 @@ index ceaf76133561..7a08c0558dee 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_common_gn")
diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build
-index f2ffa47c5bb7..57344305c0c1 100644
+index f8053045dc9f..a32461b2c660 100644
--- third_party/libwebrtc/media/video_source_base_gn/moz.build
+++ third_party/libwebrtc/media/video_source_base_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -38924,7 +37992,7 @@ index f2ffa47c5bb7..57344305c0c1 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39020,7 +38088,7 @@ index f2ffa47c5bb7..57344305c0c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39040,14 +38108,12 @@ index f2ffa47c5bb7..57344305c0c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39086,12 +38152,10 @@ index f2ffa47c5bb7..57344305c0c1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39100,28 +38164,27 @@ index f2ffa47c5bb7..57344305c0c1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_source_base_gn")
diff --git third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
-index 3536fc5173ad..b9b14d294f9a 100644
+index 91f2dac44ee2..71ed37ed1668 100644
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39138,7 +38201,7 @@ index 3536fc5173ad..b9b14d294f9a 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39234,7 +38297,7 @@ index 3536fc5173ad..b9b14d294f9a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39254,14 +38317,12 @@ index 3536fc5173ad..b9b14d294f9a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39300,12 +38361,10 @@ index 3536fc5173ad..b9b14d294f9a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39314,28 +38373,27 @@ index 3536fc5173ad..b9b14d294f9a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("async_audio_processing_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
-index 9d1463f15180..2f4b795ddfdb 100644
+index f78bef6c5863..4db9966a8cb1 100644
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39352,7 +38410,7 @@ index 9d1463f15180..2f4b795ddfdb 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39452,7 +38510,7 @@ index 9d1463f15180..2f4b795ddfdb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39472,14 +38530,12 @@ index 9d1463f15180..2f4b795ddfdb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39518,12 +38574,10 @@ index 9d1463f15180..2f4b795ddfdb 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39532,28 +38586,27 @@ index 9d1463f15180..2f4b795ddfdb 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_coding_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
-index 816a96a40d65..54e2c008eae3 100644
+index 2c7ca80ec0ec..ebb25ef7e20d 100644
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39570,7 +38623,7 @@ index 816a96a40d65..54e2c008eae3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39655,7 +38708,7 @@ index 816a96a40d65..54e2c008eae3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39671,19 +38724,17 @@ index 816a96a40d65..54e2c008eae3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -39709,35 +38760,32 @@ index 816a96a40d65..54e2c008eae3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_coding_module_typedefs_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
-index 593b744a33d6..33fd22c702f9 100644
+index 7bc2549166df..c14d768af4f1 100644
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39754,7 +38802,7 @@ index 593b744a33d6..33fd22c702f9 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -39854,7 +38902,7 @@ index 593b744a33d6..33fd22c702f9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39874,14 +38922,12 @@ index 593b744a33d6..33fd22c702f9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -39920,12 +38966,10 @@ index 593b744a33d6..33fd22c702f9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -39934,28 +38978,27 @@ index 593b744a33d6..33fd22c702f9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_coding_opus_common_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
-index 4261145d7564..4b6330407030 100644
+index 0524d70044a1..2be902ad493c 100644
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -39972,7 +39015,7 @@ index 4261145d7564..4b6330407030 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40072,7 +39115,7 @@ index 4261145d7564..4b6330407030 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40092,14 +39135,12 @@ index 4261145d7564..4b6330407030 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40138,12 +39179,10 @@ index 4261145d7564..4b6330407030 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40152,28 +39191,27 @@ index 4261145d7564..4b6330407030 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_encoder_cng_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
-index 878cbd08fcc4..55fbc250e1bb 100644
+index 0da571dfa094..4b99b74b454b 100644
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40190,7 +39228,7 @@ index 878cbd08fcc4..55fbc250e1bb 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40275,7 +39313,7 @@ index 878cbd08fcc4..55fbc250e1bb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40295,14 +39333,12 @@ index 878cbd08fcc4..55fbc250e1bb 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40341,12 +39377,10 @@ index 878cbd08fcc4..55fbc250e1bb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40355,28 +39389,27 @@ index 878cbd08fcc4..55fbc250e1bb 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_network_adaptor_config_gn")
diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
-index 0ec1c64427d5..0fdce86ea688 100644
+index ca6f82e73acc..7201f9631eba 100644
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40393,7 +39426,7 @@ index 0ec1c64427d5..0fdce86ea688 100644
FINAL_LIBRARY = "xul"
-@@ -55,98 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40493,7 +39526,7 @@ index 0ec1c64427d5..0fdce86ea688 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -154,88 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -156,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40513,14 +39546,12 @@ index 0ec1c64427d5..0fdce86ea688 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40559,12 +39590,10 @@ index 0ec1c64427d5..0fdce86ea688 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40573,28 +39602,27 @@ index 0ec1c64427d5..0fdce86ea688 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_network_adaptor_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
-index d2eac9dd7330..44fc7a13aa41 100644
+index 485b23578569..0296469454c8 100644
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40611,7 +39639,7 @@ index d2eac9dd7330..44fc7a13aa41 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40696,7 +39724,7 @@ index d2eac9dd7330..44fc7a13aa41 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40716,14 +39744,12 @@ index d2eac9dd7330..44fc7a13aa41 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40762,12 +39788,10 @@ index d2eac9dd7330..44fc7a13aa41 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40776,28 +39800,27 @@ index d2eac9dd7330..44fc7a13aa41 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g711_c_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
-index 2c887ccaead1..d75c60517c87 100644
+index fd2075f729a4..10971d355fa4 100644
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -40814,7 +39837,7 @@ index 2c887ccaead1..d75c60517c87 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -40914,7 +39937,7 @@ index 2c887ccaead1..d75c60517c87 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40934,14 +39957,12 @@ index 2c887ccaead1..d75c60517c87 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -40980,12 +40001,10 @@ index 2c887ccaead1..d75c60517c87 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -40994,28 +40013,27 @@ index 2c887ccaead1..d75c60517c87 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g711_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
-index ab61ec987bf3..142691eb22ac 100644
+index f093a25e873e..8398cd7096a5 100644
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41032,7 +40050,7 @@ index ab61ec987bf3..142691eb22ac 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41117,7 +40135,7 @@ index ab61ec987bf3..142691eb22ac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41137,14 +40155,12 @@ index ab61ec987bf3..142691eb22ac 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -41183,12 +40199,10 @@ index ab61ec987bf3..142691eb22ac 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -41197,28 +40211,27 @@ index ab61ec987bf3..142691eb22ac 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g722_c_gn")
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
-index 75d59a02d75a..1748ca8600f9 100644
+index 870a0d2d6b0a..8b2bcf13466a 100644
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41235,7 +40248,7 @@ index 75d59a02d75a..1748ca8600f9 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41335,7 +40348,7 @@ index 75d59a02d75a..1748ca8600f9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41355,14 +40368,12 @@ index 75d59a02d75a..1748ca8600f9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -41401,12 +40412,10 @@ index 75d59a02d75a..1748ca8600f9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -41415,28 +40424,27 @@ index 75d59a02d75a..1748ca8600f9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g722_gn")
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
-index 78ef11bfbe8e..8fdf79a4d56e 100644
+index 5ede837b17fd..6d8fdbebabc4 100644
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41453,7 +40461,7 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41538,7 +40546,7 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41554,19 +40562,17 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -41592,35 +40598,32 @@ index 78ef11bfbe8e..8fdf79a4d56e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("isac_bwinfo_gn")
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
-index 6b32d8117274..55965a014dd1 100644
+index ca79e83e76a6..f2006f3a9c2c 100644
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41637,7 +40640,7 @@ index 6b32d8117274..55965a014dd1 100644
FINAL_LIBRARY = "xul"
-@@ -48,83 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,83 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41722,7 +40725,7 @@ index 6b32d8117274..55965a014dd1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -132,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -134,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41742,14 +40745,12 @@ index 6b32d8117274..55965a014dd1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -41788,12 +40789,10 @@ index 6b32d8117274..55965a014dd1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -41802,28 +40801,27 @@ index 6b32d8117274..55965a014dd1 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("isac_vad_gn")
diff --git third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
-index af7909757b22..d9f39d9a45ed 100644
+index d9d629e63cb0..132b26983618 100644
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -41840,7 +40838,7 @@ index af7909757b22..d9f39d9a45ed 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -41940,7 +40938,7 @@ index af7909757b22..d9f39d9a45ed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41960,14 +40958,12 @@ index af7909757b22..d9f39d9a45ed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42006,12 +41002,10 @@ index af7909757b22..d9f39d9a45ed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42020,28 +41014,27 @@ index af7909757b22..d9f39d9a45ed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("legacy_encoded_audio_frame_gn")
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
-index 56fec5759795..3d61bb5537ae 100644
+index 915658ecd560..0d8192df783a 100644
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42058,7 +41051,7 @@ index 56fec5759795..3d61bb5537ae 100644
FINAL_LIBRARY = "xul"
-@@ -80,98 +89,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -82,98 +91,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42158,7 +41151,7 @@ index 56fec5759795..3d61bb5537ae 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -179,88 +97,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -181,82 +99,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42178,14 +41171,12 @@ index 56fec5759795..3d61bb5537ae 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42224,12 +41215,10 @@ index 56fec5759795..3d61bb5537ae 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42238,28 +41227,27 @@ index 56fec5759795..3d61bb5537ae 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("neteq_gn")
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
-index d922de5d5785..281897e1fe56 100644
+index 29b49af13c96..6a89c3181c8a 100644
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42276,7 +41264,7 @@ index d922de5d5785..281897e1fe56 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42361,7 +41349,7 @@ index d922de5d5785..281897e1fe56 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42381,14 +41369,12 @@ index d922de5d5785..281897e1fe56 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42427,12 +41413,10 @@ index d922de5d5785..281897e1fe56 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42441,28 +41425,27 @@ index d922de5d5785..281897e1fe56 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pcm16b_c_gn")
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
-index bea755eb5ac1..b191330ced98 100644
+index 2524b005d0a5..00abfed23ff5 100644
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42479,7 +41462,7 @@ index bea755eb5ac1..b191330ced98 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42579,7 +41562,7 @@ index bea755eb5ac1..b191330ced98 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42599,14 +41582,12 @@ index bea755eb5ac1..b191330ced98 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42645,12 +41626,10 @@ index bea755eb5ac1..b191330ced98 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42659,28 +41638,27 @@ index bea755eb5ac1..b191330ced98 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pcm16b_gn")
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
-index d55df936567a..f108d9db5ff1 100644
+index d3f279577fa5..66b0c64c35b7 100644
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42697,7 +41675,7 @@ index d55df936567a..f108d9db5ff1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -42797,7 +41775,7 @@ index d55df936567a..f108d9db5ff1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42817,14 +41795,12 @@ index d55df936567a..f108d9db5ff1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -42863,12 +41839,10 @@ index d55df936567a..f108d9db5ff1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -42877,28 +41851,27 @@ index d55df936567a..f108d9db5ff1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("red_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
-index b2cc167179d0..b40963119ad1 100644
+index 649fef5f47be..c8dfb2ef5dc3 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -42915,7 +41888,7 @@ index b2cc167179d0..b40963119ad1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43015,7 +41988,7 @@ index b2cc167179d0..b40963119ad1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43035,14 +42008,12 @@ index b2cc167179d0..b40963119ad1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43081,12 +42052,10 @@ index b2cc167179d0..b40963119ad1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43095,28 +42064,27 @@ index b2cc167179d0..b40963119ad1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_cng_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
-index 8a1f97d3e36f..cef5d9b3dd8e 100644
+index 60686e723e86..ca83edda0e81 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -43135,7 +42103,7 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43235,7 +42203,7 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43255,14 +42223,12 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43301,12 +42267,10 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43315,28 +42279,27 @@ index 8a1f97d3e36f..cef5d9b3dd8e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_multiopus_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
-index fb93eda27311..57ff1d71b55b 100644
+index 5c070db0b5cf..34a92e7abde0 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -43355,7 +42318,7 @@ index fb93eda27311..57ff1d71b55b 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43455,7 +42418,7 @@ index fb93eda27311..57ff1d71b55b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43475,14 +42438,12 @@ index fb93eda27311..57ff1d71b55b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43521,12 +42482,10 @@ index fb93eda27311..57ff1d71b55b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43535,28 +42494,27 @@ index fb93eda27311..57ff1d71b55b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_opus_gn")
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
-index 284d12f5f0d6..5067bcb8e9d5 100644
+index a52ae8687347..c9277731583e 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_CODEC_OPUS"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -43575,7 +42533,7 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
FINAL_LIBRARY = "xul"
-@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,87 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43664,7 +42622,7 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43684,14 +42642,12 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -43730,12 +42686,10 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -43744,28 +42698,27 @@ index 284d12f5f0d6..5067bcb8e9d5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_opus_wrapper_gn")
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
-index ae018a0411e0..4b9c82612b4f 100644
+index 4bce6bb07fdd..dcaf6e34ca7f 100644
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -43782,7 +42735,7 @@ index ae018a0411e0..4b9c82612b4f 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -43867,7 +42820,7 @@ index ae018a0411e0..4b9c82612b4f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43883,19 +42836,17 @@ index ae018a0411e0..4b9c82612b4f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -43921,219 +42872,32 @@ index ae018a0411e0..4b9c82612b4f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_device_gn")
-diff --git third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-index 389d8bde3070..da7122a9fa44 100644
---- third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-+++ third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
- DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
- DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
- DEFINES["RTC_ENABLE_VP9"] = True
-+DEFINES["USE_GLIB"] = "1"
-+DEFINES["USE_OZONE"] = "1"
-+DEFINES["WEBRTC_BSD"] = True
- DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
- DEFINES["WEBRTC_LIBRARY_IMPL"] = True
- DEFINES["WEBRTC_MOZILLA_BUILD"] = True
- DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
-+DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-+DEFINES["_FILE_OFFSET_BITS"] = "64"
-+DEFINES["_LARGEFILE64_SOURCE"] = True
-+DEFINES["_LARGEFILE_SOURCE"] = True
- DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-+DEFINES["__STDC_CONSTANT_MACROS"] = True
-+DEFINES["__STDC_FORMAT_MACROS"] = True
-
- FINAL_LIBRARY = "xul"
-
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
- if CONFIG["MOZ_DEBUG"] == "1":
-
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
--
--if CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["ANDROID"] = True
-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
-- DEFINES["HAVE_SYS_UIO_H"] = True
-- DEFINES["WEBRTC_ANDROID"] = True
-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_GNU_SOURCE"] = True
-- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["WEBRTC_MAC"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["USE_UDEV"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_GLIBCXX_ASSERTIONS"] = "1"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["WEBRTC_BSD"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-- DEFINES["NOMINMAX"] = True
-- DEFINES["NTDDI_VERSION"] = "0x0A000000"
-- DEFINES["PSAPI_VERSION"] = "2"
-- DEFINES["RTC_ENABLE_WIN_WGC"] = True
-- DEFINES["UNICODE"] = True
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["WEBRTC_WIN"] = True
-- DEFINES["WIN32"] = True
-- DEFINES["WIN32_LEAN_AND_MEAN"] = True
-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
-- DEFINES["WINVER"] = "0x0A00"
-- DEFINES["_ATL_NO_OPENGL"] = True
-- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
-- DEFINES["_CRT_RAND_S"] = True
-- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
-- DEFINES["_HAS_EXCEPTIONS"] = "0"
-- DEFINES["_HAS_NODISCARD"] = True
-- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_SECURE_ATL"] = True
-- DEFINES["_UNICODE"] = True
-- DEFINES["_WIN32_WINNT"] = "0x0A00"
-- DEFINES["_WINDOWS"] = True
-- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
-- DEFINES["__STD_C"] = True
-+ DEFINES["_DEBUG"] = True
-
- if CONFIG["TARGET_CPU"] == "aarch64":
-
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
- DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["__ARM_NEON__"] = "1"
-
--if CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["WEBRTC_ARCH_ARM"] = True
-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-- DEFINES["WEBRTC_HAS_NEON"] = True
--
--if CONFIG["TARGET_CPU"] == "loongarch64":
--
-- DEFINES["_GNU_SOURCE"] = True
--
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["TARGET_CPU"] == "mips64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["TARGET_CPU"] == "x86":
-
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
-
- DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
- Library("audio_device_impl_gn")
diff --git third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
-index 3cd787013ac9..797cc7fdf979 100644
+index 9785374c7a77..862e284821d5 100644
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -44150,7 +42914,7 @@ index 3cd787013ac9..797cc7fdf979 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44250,7 +43014,7 @@ index 3cd787013ac9..797cc7fdf979 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44270,14 +43034,12 @@ index 3cd787013ac9..797cc7fdf979 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -44316,12 +43078,10 @@ index 3cd787013ac9..797cc7fdf979 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -44330,28 +43090,27 @@ index 3cd787013ac9..797cc7fdf979 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_manipulator_gn")
diff --git third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
-index d319d586e4f2..0b3debdb4549 100644
+index 5e7263604f3f..472c0a3369e9 100644
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -44369,7 +43128,7 @@ index d319d586e4f2..0b3debdb4549 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44469,7 +43228,7 @@ index d319d586e4f2..0b3debdb4549 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44489,14 +43248,12 @@ index d319d586e4f2..0b3debdb4549 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -44535,12 +43292,10 @@ index d319d586e4f2..0b3debdb4549 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -44549,28 +43304,27 @@ index d319d586e4f2..0b3debdb4549 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_mixer_impl_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
-index b742d0d2693e..2e0982fe44c1 100644
+index bc8d58361929..1d50bf8de634 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -44587,7 +43341,7 @@ index b742d0d2693e..2e0982fe44c1 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44676,7 +43430,7 @@ index b742d0d2693e..2e0982fe44c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44692,19 +43446,17 @@ index b742d0d2693e..2e0982fe44c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -44730,35 +43482,32 @@ index b742d0d2693e..2e0982fe44c1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("adaptive_fir_filter_erl_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
-index 7cfd9898e674..3855e72da5c4 100644
+index 870c269ee999..afb546c9665f 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -44775,7 +43524,7 @@ index 7cfd9898e674..3855e72da5c4 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -44875,7 +43624,7 @@ index 7cfd9898e674..3855e72da5c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44891,19 +43640,17 @@ index 7cfd9898e674..3855e72da5c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -44929,35 +43676,32 @@ index 7cfd9898e674..3855e72da5c4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("adaptive_fir_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
-index 25fc5591ea09..61d14c766742 100644
+index 1060413c2fde..f2f6cc941cfc 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
-@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,15 +18,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -44976,7 +43720,7 @@ index 25fc5591ea09..61d14c766742 100644
FINAL_LIBRARY = "xul"
-@@ -56,128 +65,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,127 +67,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45008,7 +43752,6 @@ index 25fc5591ea09..61d14c766742 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -45107,15 +43850,16 @@ index 25fc5591ea09..61d14c766742 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
-index a1c4ec99275c..a5c4a447496c 100644
+index 653ec38ff0f8..dc18db0b8de9 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45132,7 +43876,7 @@ index a1c4ec99275c..a5c4a447496c 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45217,7 +43961,7 @@ index a1c4ec99275c..a5c4a447496c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45233,19 +43977,17 @@ index a1c4ec99275c..a5c4a447496c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45271,35 +44013,32 @@ index a1c4ec99275c..a5c4a447496c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aec3_common_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
-index ed9f693dfead..e435d998a690 100644
+index 4967c45123d2..5a75b52ec1ea 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45316,7 +44055,7 @@ index ed9f693dfead..e435d998a690 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45416,7 +44155,7 @@ index ed9f693dfead..e435d998a690 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45432,19 +44171,17 @@ index ed9f693dfead..e435d998a690 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45470,35 +44207,32 @@ index ed9f693dfead..e435d998a690 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aec3_fft_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
-index 8eb283fec225..346457ac2f59 100644
+index d867766ad198..1c4951576a77 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -45516,7 +44250,7 @@ index 8eb283fec225..346457ac2f59 100644
FINAL_LIBRARY = "xul"
-@@ -102,98 +111,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -104,98 +113,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45616,7 +44350,7 @@ index 8eb283fec225..346457ac2f59 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -201,88 +119,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -203,82 +121,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45636,14 +44370,12 @@ index 8eb283fec225..346457ac2f59 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -45682,12 +44414,10 @@ index 8eb283fec225..346457ac2f59 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -45696,28 +44426,27 @@ index 8eb283fec225..346457ac2f59 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec3_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
-index 2579384807b1..286940e1741a 100644
+index 47e42cb6ec67..9bdfe19920cc 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45734,7 +44463,7 @@ index 2579384807b1..286940e1741a 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -45823,7 +44552,7 @@ index 2579384807b1..286940e1741a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45839,19 +44568,17 @@ index 2579384807b1..286940e1741a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45877,35 +44604,32 @@ index 2579384807b1..286940e1741a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("fft_data_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
-index fb1960b0379c..29e6e7a74861 100644
+index 90676a23e629..5c9ba0af45ef 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -45922,7 +44646,7 @@ index fb1960b0379c..29e6e7a74861 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46011,7 +44735,7 @@ index fb1960b0379c..29e6e7a74861 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46027,19 +44751,17 @@ index fb1960b0379c..29e6e7a74861 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46065,35 +44787,32 @@ index fb1960b0379c..29e6e7a74861 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("matched_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
-index 75011ee6d2e8..66e43c587d1e 100644
+index f7206d6f33ef..9f8bf192d7a8 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46110,7 +44829,7 @@ index 75011ee6d2e8..66e43c587d1e 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46199,7 +44918,7 @@ index 75011ee6d2e8..66e43c587d1e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46215,19 +44934,17 @@ index 75011ee6d2e8..66e43c587d1e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46253,35 +44970,32 @@ index 75011ee6d2e8..66e43c587d1e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("render_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
-index 11d60d85b21a..8bc82463e36f 100644
+index d5e8985552cf..d34e64f796ef 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46298,7 +45012,7 @@ index 11d60d85b21a..8bc82463e36f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46387,7 +45101,7 @@ index 11d60d85b21a..8bc82463e36f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46403,19 +45117,17 @@ index 11d60d85b21a..8bc82463e36f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46441,35 +45153,32 @@ index 11d60d85b21a..8bc82463e36f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("vector_math_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
-index 4717f44c7228..30b9ebf91f2c 100644
+index e39f71fddecb..d727e8503f24 100644
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46486,7 +45195,7 @@ index 4717f44c7228..30b9ebf91f2c 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46586,7 +45295,7 @@ index 4717f44c7228..30b9ebf91f2c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46602,19 +45311,17 @@ index 4717f44c7228..30b9ebf91f2c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46640,35 +45347,32 @@ index 4717f44c7228..30b9ebf91f2c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aec_dump_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
-index 343efea34b51..194798641bc6 100644
+index 6e4384af4248..0124e796e10d 100644
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46685,7 +45389,7 @@ index 343efea34b51..194798641bc6 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -46785,7 +45489,7 @@ index 343efea34b51..194798641bc6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46805,14 +45509,12 @@ index 343efea34b51..194798641bc6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -46851,12 +45553,10 @@ index 343efea34b51..194798641bc6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -46865,28 +45565,27 @@ index 343efea34b51..194798641bc6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("null_aec_dump_factory_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
-index 4fb4ebdb0f09..c1a85b70f3df 100644
+index ba9dc491198c..0d430b570eb5 100644
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -46903,7 +45602,7 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47003,7 +45702,7 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47023,14 +45722,12 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -47069,12 +45766,10 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -47083,28 +45778,27 @@ index 4fb4ebdb0f09..c1a85b70f3df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aec_dump_interface_gn")
diff --git third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
-index e4ca4f2ec51e..c702789e0525 100644
+index f2cf5c859485..f49648e3086e 100644
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -47121,7 +45815,7 @@ index e4ca4f2ec51e..c702789e0525 100644
FINAL_LIBRARY = "xul"
-@@ -46,114 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47237,7 +45931,7 @@ index e4ca4f2ec51e..c702789e0525 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -162,37 +64,20 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,27 +66,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["__ARM_NEON__"] = "1"
SOURCES += [
@@ -47266,27 +45960,24 @@ index e4ca4f2ec51e..c702789e0525 100644
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
+@@ -193,7 +80,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc"
-@@ -200,9 +85,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -201,8 +87,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
-@@ -213,81 +95,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -213,77 +97,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
@@ -47326,7 +46017,6 @@ index e4ca4f2ec51e..c702789e0525 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- SOURCES += [
@@ -47335,7 +46025,6 @@ index e4ca4f2ec51e..c702789e0525 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
- SOURCES += [
@@ -47356,7 +46045,6 @@ index e4ca4f2ec51e..c702789e0525 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -47367,22 +46055,22 @@ index e4ca4f2ec51e..c702789e0525 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
-index a57205d4a5b2..7ff717315571 100644
+index 4ae42eab2074..12e716eac789 100644
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -47400,7 +46088,7 @@ index a57205d4a5b2..7ff717315571 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47500,7 +46188,7 @@ index a57205d4a5b2..7ff717315571 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47520,14 +46208,12 @@ index a57205d4a5b2..7ff717315571 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -47566,12 +46252,10 @@ index a57205d4a5b2..7ff717315571 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -47580,28 +46264,27 @@ index a57205d4a5b2..7ff717315571 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("agc_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
-index 4da6c9687f88..a13f4e010126 100644
+index 43ed251cd060..c2c90bfba826 100644
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -47618,7 +46301,7 @@ index 4da6c9687f88..a13f4e010126 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47703,7 +46386,7 @@ index 4da6c9687f88..a13f4e010126 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47719,19 +46402,17 @@ index 4da6c9687f88..a13f4e010126 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -47757,35 +46438,32 @@ index 4da6c9687f88..a13f4e010126 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("gain_control_interface_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
-index 110759780d97..a2f61bf83008 100644
+index 7528ebeac06c..9b8acfd3f582 100644
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -47802,7 +46480,7 @@ index 110759780d97..a2f61bf83008 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -47902,7 +46580,7 @@ index 110759780d97..a2f61bf83008 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47922,14 +46600,12 @@ index 110759780d97..a2f61bf83008 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -47968,12 +46644,10 @@ index 110759780d97..a2f61bf83008 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -47982,28 +46656,27 @@ index 110759780d97..a2f61bf83008 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("legacy_agc_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
-index 90dde9485a1b..754a5b3e277d 100644
+index 1cea105f40ec..6ef3e305946d 100644
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48020,7 +46693,7 @@ index 90dde9485a1b..754a5b3e277d 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48120,7 +46793,7 @@ index 90dde9485a1b..754a5b3e277d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48140,14 +46813,12 @@ index 90dde9485a1b..754a5b3e277d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48186,12 +46857,10 @@ index 90dde9485a1b..754a5b3e277d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48200,28 +46869,27 @@ index 90dde9485a1b..754a5b3e277d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("level_estimation_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
-index f3eec334ca67..325adc413267 100644
+index 9ea8d808a0b2..74ce00318e08 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -48239,7 +46907,7 @@ index f3eec334ca67..325adc413267 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48339,7 +47007,7 @@ index f3eec334ca67..325adc413267 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48359,14 +47027,12 @@ index f3eec334ca67..325adc413267 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48405,12 +47071,10 @@ index f3eec334ca67..325adc413267 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48419,28 +47083,27 @@ index f3eec334ca67..325adc413267 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("adaptive_digital_gain_controller_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
-index ad2fd19d441d..ff442094da12 100644
+index 10c3b1a37504..14bbe9c06848 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48457,7 +47120,7 @@ index ad2fd19d441d..ff442094da12 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48546,7 +47209,7 @@ index ad2fd19d441d..ff442094da12 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48566,14 +47229,12 @@ index ad2fd19d441d..ff442094da12 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48612,12 +47273,10 @@ index ad2fd19d441d..ff442094da12 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48626,28 +47285,27 @@ index ad2fd19d441d..ff442094da12 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("biquad_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
-index 634d1f87a8e5..35e8821dbea6 100644
+index 1853af5676aa..402d6757bd7a 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48664,7 +47322,7 @@ index 634d1f87a8e5..35e8821dbea6 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48764,7 +47422,7 @@ index 634d1f87a8e5..35e8821dbea6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48784,14 +47442,12 @@ index 634d1f87a8e5..35e8821dbea6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -48830,12 +47486,10 @@ index 634d1f87a8e5..35e8821dbea6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -48844,28 +47498,27 @@ index 634d1f87a8e5..35e8821dbea6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("clipping_predictor_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
-index 82c397f973f5..da3833f8e686 100644
+index 6ef8c096e204..78f2953bbeaf 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -48882,7 +47535,7 @@ index 82c397f973f5..da3833f8e686 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -48967,7 +47620,7 @@ index 82c397f973f5..da3833f8e686 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48983,19 +47636,17 @@ index 82c397f973f5..da3833f8e686 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49021,35 +47672,32 @@ index 82c397f973f5..da3833f8e686 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("common_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
-index 62c885de2ce7..b47f20b1bbb1 100644
+index accab782c164..48a7cf36bba9 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -49066,7 +47714,7 @@ index 62c885de2ce7..b47f20b1bbb1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49166,7 +47814,7 @@ index 62c885de2ce7..b47f20b1bbb1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49186,14 +47834,12 @@ index 62c885de2ce7..b47f20b1bbb1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -49232,12 +47878,10 @@ index 62c885de2ce7..b47f20b1bbb1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -49246,28 +47890,27 @@ index 62c885de2ce7..b47f20b1bbb1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("cpu_features_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
-index d1c1172bed9f..fa22a785c71d 100644
+index bee6a39d3a73..bfbc8436e67f 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -49285,7 +47928,7 @@ index d1c1172bed9f..fa22a785c71d 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49385,7 +48028,7 @@ index d1c1172bed9f..fa22a785c71d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49405,14 +48048,12 @@ index d1c1172bed9f..fa22a785c71d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -49451,12 +48092,10 @@ index d1c1172bed9f..fa22a785c71d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -49465,28 +48104,27 @@ index d1c1172bed9f..fa22a785c71d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fixed_digital_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
-index 74ec8d655240..cd54718aa163 100644
+index 3688111f0d92..9fe7808cd8b8 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -49503,7 +48141,7 @@ index 74ec8d655240..cd54718aa163 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49599,7 +48237,7 @@ index 74ec8d655240..cd54718aa163 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49619,14 +48257,12 @@ index 74ec8d655240..cd54718aa163 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -49665,12 +48301,10 @@ index 74ec8d655240..cd54718aa163 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -49679,28 +48313,27 @@ index 74ec8d655240..cd54718aa163 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("gain_applier_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
-index 8ca3f4b1eb6c..6e8c8c4456fd 100644
+index cbf2f842b375..3fa9a1cbeea4 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -49717,7 +48350,7 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -49802,7 +48435,7 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49818,19 +48451,17 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49856,35 +48487,32 @@ index 8ca3f4b1eb6c..6e8c8c4456fd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("gain_map_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
-index 62cf69b2d344..cc32cd07cad4 100644
+index 0f885c0a9a17..b313f1c299a2 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -49902,7 +48530,7 @@ index 62cf69b2d344..cc32cd07cad4 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50002,7 +48630,7 @@ index 62cf69b2d344..cc32cd07cad4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50022,14 +48650,12 @@ index 62cf69b2d344..cc32cd07cad4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50068,12 +48694,10 @@ index 62cf69b2d344..cc32cd07cad4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50082,28 +48706,27 @@ index 62cf69b2d344..cc32cd07cad4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("input_volume_controller_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
-index e629cd8fbf67..94e0531ea105 100644
+index 96dd6d841212..b7344a7bb4e8 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50120,7 +48743,7 @@ index e629cd8fbf67..94e0531ea105 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50216,7 +48839,7 @@ index e629cd8fbf67..94e0531ea105 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50236,14 +48859,12 @@ index e629cd8fbf67..94e0531ea105 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50282,12 +48903,10 @@ index e629cd8fbf67..94e0531ea105 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50296,28 +48915,27 @@ index e629cd8fbf67..94e0531ea105 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("input_volume_stats_reporter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
-index aac5aa39708b..192f66aaa530 100644
+index 5e9b6db9859c..2f22b8d4b286 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -50335,7 +48953,7 @@ index aac5aa39708b..192f66aaa530 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50435,7 +49053,7 @@ index aac5aa39708b..192f66aaa530 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50455,14 +49073,12 @@ index aac5aa39708b..192f66aaa530 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50501,12 +49117,10 @@ index aac5aa39708b..192f66aaa530 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50515,28 +49129,27 @@ index aac5aa39708b..192f66aaa530 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("noise_level_estimator_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
-index e9e60ea5f0c7..3eec1242fcfc 100644
+index b5e02e0356f1..66ec332889f4 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50553,7 +49166,7 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50653,7 +49266,7 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50673,14 +49286,12 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -50719,12 +49330,10 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -50733,28 +49342,27 @@ index e9e60ea5f0c7..3eec1242fcfc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_auto_correlation_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
-index 0d86421c9786..553b5ae51afa 100644
+index 103b43ffafe6..935208f9620d 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50771,7 +49379,7 @@ index 0d86421c9786..553b5ae51afa 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -50871,7 +49479,7 @@ index 0d86421c9786..553b5ae51afa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50887,19 +49495,17 @@ index 0d86421c9786..553b5ae51afa 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -50925,35 +49531,32 @@ index 0d86421c9786..553b5ae51afa 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_common_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
-index 1cd3b4b5348b..d4e6b10abd77 100644
+index 4a28dcbf93e6..cee61fd497cb 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -50970,7 +49573,7 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51070,7 +49673,7 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51090,14 +49693,12 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51136,12 +49737,10 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51150,28 +49749,27 @@ index 1cd3b4b5348b..d4e6b10abd77 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
-index 76d4191113e5..df8a72310a82 100644
+index 8d1c079d983a..8e20003f0660 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51188,7 +49786,7 @@ index 76d4191113e5..df8a72310a82 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51288,7 +49886,7 @@ index 76d4191113e5..df8a72310a82 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51308,14 +49906,12 @@ index 76d4191113e5..df8a72310a82 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51354,12 +49950,10 @@ index 76d4191113e5..df8a72310a82 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51368,28 +49962,27 @@ index 76d4191113e5..df8a72310a82 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_layers_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
-index 6d9dc2c69bd9..2904a28efc6c 100644
+index 891d4d6998bf..83d4268ade5f 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51406,7 +49999,7 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51495,7 +50088,7 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51515,14 +50108,12 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51561,12 +50152,10 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51575,28 +50164,27 @@ index 6d9dc2c69bd9..2904a28efc6c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_lp_residual_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
-index c5b5e5954aef..a050f520592a 100644
+index 092a0988470b..8e7241ff0398 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51613,7 +50201,7 @@ index c5b5e5954aef..a050f520592a 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51713,7 +50301,7 @@ index c5b5e5954aef..a050f520592a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51733,14 +50321,12 @@ index c5b5e5954aef..a050f520592a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -51779,12 +50365,10 @@ index c5b5e5954aef..a050f520592a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -51793,28 +50377,27 @@ index c5b5e5954aef..a050f520592a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_pitch_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
-index 68825aa282d1..58500132ec48 100644
+index 1f33b3fe8a24..b20704b70ce4 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -51831,7 +50414,7 @@ index 68825aa282d1..58500132ec48 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -51920,7 +50503,7 @@ index 68825aa282d1..58500132ec48 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51936,19 +50519,17 @@ index 68825aa282d1..58500132ec48 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -51974,35 +50555,32 @@ index 68825aa282d1..58500132ec48 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_ring_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
-index 277c771e93f3..8390ff6e3a3f 100644
+index 01c4fadbd51d..fbb558e0f089 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52019,7 +50597,7 @@ index 277c771e93f3..8390ff6e3a3f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52108,7 +50686,7 @@ index 277c771e93f3..8390ff6e3a3f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52124,19 +50702,17 @@ index 277c771e93f3..8390ff6e3a3f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52162,35 +50738,32 @@ index 277c771e93f3..8390ff6e3a3f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_sequence_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
-index cfd7d82cda4e..34973737980f 100644
+index aa4a8ba4023f..664715c17bed 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52207,7 +50780,7 @@ index cfd7d82cda4e..34973737980f 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52307,7 +50880,7 @@ index cfd7d82cda4e..34973737980f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52327,14 +50900,12 @@ index cfd7d82cda4e..34973737980f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -52373,12 +50944,10 @@ index cfd7d82cda4e..34973737980f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -52387,28 +50956,27 @@ index cfd7d82cda4e..34973737980f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rnn_vad_spectral_features_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
-index a3a1e21f6699..34e2b09a62d9 100644
+index b15d83f31f52..46f52e81acee 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52425,7 +50993,7 @@ index a3a1e21f6699..34e2b09a62d9 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52514,7 +51082,7 @@ index a3a1e21f6699..34e2b09a62d9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52530,19 +51098,17 @@ index a3a1e21f6699..34e2b09a62d9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52568,35 +51134,32 @@ index a3a1e21f6699..34e2b09a62d9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_symmetric_matrix_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
-index c48737e3197a..8d3ff68ee4a1 100644
+index 7933cd618b19..7f79ede28cb8 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
-@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -52614,7 +51177,7 @@ index c48737e3197a..8d3ff68ee4a1 100644
FINAL_LIBRARY = "xul"
-@@ -51,128 +60,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,127 +62,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52646,7 +51209,6 @@ index c48737e3197a..8d3ff68ee4a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -52745,15 +51307,16 @@ index c48737e3197a..8d3ff68ee4a1 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
-index e8df44a45668..8bc82463e36f 100644
+index 6aa396591931..d34e64f796ef 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -52770,7 +51333,7 @@ index e8df44a45668..8bc82463e36f 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -52870,7 +51433,7 @@ index e8df44a45668..8bc82463e36f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52886,19 +51449,17 @@ index e8df44a45668..8bc82463e36f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52924,35 +51485,32 @@ index e8df44a45668..8bc82463e36f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("vector_math_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
-index 45efd543646d..fa53a17ec059 100644
+index c23779c5058e..a9284fa8a632 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -52970,7 +51528,7 @@ index 45efd543646d..fa53a17ec059 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53070,7 +51628,7 @@ index 45efd543646d..fa53a17ec059 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53090,14 +51648,12 @@ index 45efd543646d..fa53a17ec059 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53136,12 +51692,10 @@ index 45efd543646d..fa53a17ec059 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53150,28 +51704,27 @@ index 45efd543646d..fa53a17ec059 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("saturation_protector_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
-index 2ef7a8cf3f3c..76c019b528a3 100644
+index 91fd3df4e594..a14b5015f3ab 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -53189,7 +51742,7 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53289,7 +51842,7 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53309,14 +51862,12 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53355,12 +51906,10 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53369,28 +51918,27 @@ index 2ef7a8cf3f3c..76c019b528a3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("speech_level_estimator_gn")
diff --git third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
-index fba5354a8503..6d3d6a9f3974 100644
+index 8376409d5f1b..0a093dd57e19 100644
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -53407,7 +51955,7 @@ index fba5354a8503..6d3d6a9f3974 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53507,7 +52055,7 @@ index fba5354a8503..6d3d6a9f3974 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53527,14 +52075,12 @@ index fba5354a8503..6d3d6a9f3974 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53573,12 +52119,10 @@ index fba5354a8503..6d3d6a9f3974 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53587,28 +52131,27 @@ index fba5354a8503..6d3d6a9f3974 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("vad_wrapper_gn")
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
-index 8e093965a1dc..603bd76413f5 100644
+index 987b21db9b23..834169228e70 100644
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -53626,7 +52169,7 @@ index 8e093965a1dc..603bd76413f5 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53726,7 +52269,7 @@ index 8e093965a1dc..603bd76413f5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53746,14 +52289,12 @@ index 8e093965a1dc..603bd76413f5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -53792,12 +52333,10 @@ index 8e093965a1dc..603bd76413f5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -53806,28 +52345,27 @@ index 8e093965a1dc..603bd76413f5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("apm_logging_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
-index 85bed17e4418..f88ddb0493c0 100644
+index 9c1e95972886..91f9bbd6ceb5 100644
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -53845,7 +52383,7 @@ index 85bed17e4418..f88ddb0493c0 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -53945,7 +52483,7 @@ index 85bed17e4418..f88ddb0493c0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53965,14 +52503,12 @@ index 85bed17e4418..f88ddb0493c0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54011,12 +52547,10 @@ index 85bed17e4418..f88ddb0493c0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54025,28 +52559,27 @@ index 85bed17e4418..f88ddb0493c0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_buffer_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
-index f1ab4cefecb0..bed98465288f 100644
+index ded45e12931c..8ce196f4f409 100644
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -54063,7 +52596,7 @@ index f1ab4cefecb0..bed98465288f 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54163,7 +52696,7 @@ index f1ab4cefecb0..bed98465288f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54183,14 +52716,12 @@ index f1ab4cefecb0..bed98465288f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54229,12 +52760,10 @@ index f1ab4cefecb0..bed98465288f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54243,28 +52772,27 @@ index f1ab4cefecb0..bed98465288f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_frame_proxies_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
-index b6ad75a93f95..89d051e017f8 100644
+index 1a02a32479d1..d8be909f90d0 100644
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -54281,7 +52809,7 @@ index b6ad75a93f95..89d051e017f8 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54377,7 +52905,7 @@ index b6ad75a93f95..89d051e017f8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54393,19 +52921,17 @@ index b6ad75a93f95..89d051e017f8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -54431,35 +52957,32 @@ index b6ad75a93f95..89d051e017f8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("audio_frame_view_gn")
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
-index 691df8fbd2f5..c327f88e2a41 100644
+index 39ceb97304bf..c0278d97cb97 100644
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -54477,7 +53000,7 @@ index 691df8fbd2f5..c327f88e2a41 100644
FINAL_LIBRARY = "xul"
-@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,98 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54577,7 +53100,7 @@ index 691df8fbd2f5..c327f88e2a41 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54597,14 +53120,12 @@ index 691df8fbd2f5..c327f88e2a41 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54643,12 +53164,10 @@ index 691df8fbd2f5..c327f88e2a41 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54657,28 +53176,27 @@ index 691df8fbd2f5..c327f88e2a41 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("audio_processing_gn")
diff --git third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
-index d81334d02be8..f07498a0a9c3 100644
+index 21bd8f59c874..a3933d901f07 100644
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -54695,7 +53213,7 @@ index d81334d02be8..f07498a0a9c3 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -54795,7 +53313,7 @@ index d81334d02be8..f07498a0a9c3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54815,14 +53333,12 @@ index d81334d02be8..f07498a0a9c3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -54861,12 +53377,10 @@ index d81334d02be8..f07498a0a9c3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -54875,28 +53389,27 @@ index d81334d02be8..f07498a0a9c3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("capture_levels_adjuster_gn")
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
-index 1a62b5db7ace..f150b9e5fba7 100644
+index 42784ec85682..8c878f3a3108 100644
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -54914,7 +53427,7 @@ index 1a62b5db7ace..f150b9e5fba7 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55014,7 +53527,7 @@ index 1a62b5db7ace..f150b9e5fba7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55034,14 +53547,12 @@ index 1a62b5db7ace..f150b9e5fba7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55080,12 +53591,10 @@ index 1a62b5db7ace..f150b9e5fba7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55094,28 +53603,27 @@ index 1a62b5db7ace..f150b9e5fba7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("gain_controller2_gn")
diff --git third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
-index dbd718f53d7f..536849241857 100644
+index fd8ca7c8a141..67452f83cfeb 100644
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55132,7 +53640,7 @@ index dbd718f53d7f..536849241857 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55232,7 +53740,7 @@ index dbd718f53d7f..536849241857 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55252,14 +53760,12 @@ index dbd718f53d7f..536849241857 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55298,12 +53804,10 @@ index dbd718f53d7f..536849241857 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55312,28 +53816,27 @@ index dbd718f53d7f..536849241857 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("high_pass_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
-index 1c2cdc5b6862..4e1cee1c6cfd 100644
+index f01e58d04ef2..7777cb881169 100644
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -55351,7 +53854,7 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
FINAL_LIBRARY = "xul"
-@@ -58,98 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,98 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55451,7 +53954,7 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55471,14 +53974,12 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55517,12 +54018,10 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55531,28 +54030,27 @@ index 1c2cdc5b6862..4e1cee1c6cfd 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("ns_gn")
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
-index f1039321111d..170b024c51f3 100644
+index cff5be834af7..21c086b8c9b0 100644
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55569,7 +54067,7 @@ index f1039321111d..170b024c51f3 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55658,7 +54156,7 @@ index f1039321111d..170b024c51f3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55678,14 +54176,12 @@ index f1039321111d..170b024c51f3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55724,12 +54220,10 @@ index f1039321111d..170b024c51f3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55738,28 +54232,27 @@ index f1039321111d..170b024c51f3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rms_level_gn")
diff --git third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
-index e5c2b269dca4..fc2168892e21 100644
+index cf79a4c26df6..dab700567aa5 100644
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55776,7 +54269,7 @@ index e5c2b269dca4..fc2168892e21 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -55865,7 +54358,7 @@ index e5c2b269dca4..fc2168892e21 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55885,14 +54378,12 @@ index e5c2b269dca4..fc2168892e21 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -55931,12 +54422,10 @@ index e5c2b269dca4..fc2168892e21 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -55945,28 +54434,27 @@ index e5c2b269dca4..fc2168892e21 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("cascaded_biquad_filter_gn")
diff --git third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
-index 73496ab178e9..011920c9abc5 100644
+index acaf46bea398..d8c66bd630c6 100644
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -55983,7 +54471,7 @@ index 73496ab178e9..011920c9abc5 100644
FINAL_LIBRARY = "xul"
-@@ -46,87 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56072,7 +54560,7 @@ index 73496ab178e9..011920c9abc5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -134,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -136,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56092,14 +54580,12 @@ index 73496ab178e9..011920c9abc5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56138,12 +54624,10 @@ index 73496ab178e9..011920c9abc5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56152,28 +54636,27 @@ index 73496ab178e9..011920c9abc5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("legacy_delay_estimator_gn")
diff --git third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
-index ebceccaa1f34..252eae0060e5 100644
+index 7722cee73233..ef60e63ae63c 100644
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56190,7 +54673,7 @@ index ebceccaa1f34..252eae0060e5 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56279,7 +54762,7 @@ index ebceccaa1f34..252eae0060e5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56299,14 +54782,12 @@ index ebceccaa1f34..252eae0060e5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56345,12 +54826,10 @@ index ebceccaa1f34..252eae0060e5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56359,28 +54838,27 @@ index ebceccaa1f34..252eae0060e5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pffft_wrapper_gn")
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
-index 5f43f10500d0..ed468ac0fad7 100644
+index 31578408d725..9b0863007487 100644
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56397,7 +54875,7 @@ index 5f43f10500d0..ed468ac0fad7 100644
FINAL_LIBRARY = "xul"
-@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56497,7 +54975,7 @@ index 5f43f10500d0..ed468ac0fad7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56517,14 +54995,12 @@ index 5f43f10500d0..ed468ac0fad7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56563,12 +55039,10 @@ index 5f43f10500d0..ed468ac0fad7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56577,28 +55051,27 @@ index 5f43f10500d0..ed468ac0fad7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("vad_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
-index 1afd2e10c4d9..5df4011ef9fe 100644
+index e4fc3f7a57eb..d2c784dde24c 100644
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56615,7 +55088,7 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56716,7 +55189,7 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56736,14 +55209,12 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56782,12 +55253,10 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -56796,28 +55265,27 @@ index 1afd2e10c4d9..5df4011ef9fe 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("congestion_controller_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
-index 4bf13745b896..1d0145e878c0 100644
+index 56f80df06658..8217ef58b331 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -56834,7 +55302,7 @@ index 4bf13745b896..1d0145e878c0 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -56930,7 +55398,7 @@ index 4bf13745b896..1d0145e878c0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56950,14 +55418,12 @@ index 4bf13745b896..1d0145e878c0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -56996,12 +55462,10 @@ index 4bf13745b896..1d0145e878c0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57010,28 +55474,27 @@ index 4bf13745b896..1d0145e878c0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("alr_detector_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
-index e6049e20b422..d74a9b0ea951 100644
+index 753e47da2b61..7ff7a111dc72 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57048,7 +55511,7 @@ index e6049e20b422..d74a9b0ea951 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57149,7 +55612,7 @@ index e6049e20b422..d74a9b0ea951 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57169,14 +55632,12 @@ index e6049e20b422..d74a9b0ea951 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57215,12 +55676,10 @@ index e6049e20b422..d74a9b0ea951 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57229,28 +55688,27 @@ index e6049e20b422..d74a9b0ea951 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("delay_based_bwe_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
-index ec2037635456..f9e2bc4c2389 100644
+index 1a7b79d12ff5..1c023f23de55 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57267,7 +55725,7 @@ index ec2037635456..f9e2bc4c2389 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57367,7 +55825,7 @@ index ec2037635456..f9e2bc4c2389 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57387,14 +55845,12 @@ index ec2037635456..f9e2bc4c2389 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57433,12 +55889,10 @@ index ec2037635456..f9e2bc4c2389 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57447,28 +55901,27 @@ index ec2037635456..f9e2bc4c2389 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("estimators_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
-index f1aab84099c3..f07d7d3d3c56 100644
+index b2e3acfcf5ab..ab0ee1d5f9b3 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57485,7 +55938,7 @@ index f1aab84099c3..f07d7d3d3c56 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57586,7 +56039,7 @@ index f1aab84099c3..f07d7d3d3c56 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57606,14 +56059,12 @@ index f1aab84099c3..f07d7d3d3c56 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57652,12 +56103,10 @@ index f1aab84099c3..f07d7d3d3c56 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57666,28 +56115,27 @@ index f1aab84099c3..f07d7d3d3c56 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("goog_cc_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
-index bd11c5773157..cefeae9d9f7a 100644
+index c4561cb900cd..178ea9973d7e 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57704,7 +56152,7 @@ index bd11c5773157..cefeae9d9f7a 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57793,7 +56241,7 @@ index bd11c5773157..cefeae9d9f7a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57813,14 +56261,12 @@ index bd11c5773157..cefeae9d9f7a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -57859,12 +56305,10 @@ index bd11c5773157..cefeae9d9f7a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -57873,28 +56317,27 @@ index bd11c5773157..cefeae9d9f7a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("link_capacity_estimator_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
-index e67739995ab9..49cbc2ba009d 100644
+index d231b8ce8d6d..d273a93b674c 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -57911,7 +56354,7 @@ index e67739995ab9..49cbc2ba009d 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58011,7 +56454,7 @@ index e67739995ab9..49cbc2ba009d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58031,14 +56474,12 @@ index e67739995ab9..49cbc2ba009d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58077,12 +56518,10 @@ index e67739995ab9..49cbc2ba009d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58091,28 +56530,27 @@ index e67739995ab9..49cbc2ba009d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("loss_based_bwe_v1_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
-index 5ebab75901fb..f9234083d0be 100644
+index aeef260f896b..026d69c6ee2f 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58129,7 +56567,7 @@ index 5ebab75901fb..f9234083d0be 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58229,7 +56667,7 @@ index 5ebab75901fb..f9234083d0be 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58249,14 +56687,12 @@ index 5ebab75901fb..f9234083d0be 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58295,12 +56731,10 @@ index 5ebab75901fb..f9234083d0be 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58309,28 +56743,27 @@ index 5ebab75901fb..f9234083d0be 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("loss_based_bwe_v2_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
-index fe99e62ceed1..75d63e37e0c8 100644
+index bead3df26019..b72b49849875 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58347,7 +56780,7 @@ index fe99e62ceed1..75d63e37e0c8 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58447,7 +56880,7 @@ index fe99e62ceed1..75d63e37e0c8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58467,14 +56900,12 @@ index fe99e62ceed1..75d63e37e0c8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58513,12 +56944,10 @@ index fe99e62ceed1..75d63e37e0c8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58527,28 +56956,27 @@ index fe99e62ceed1..75d63e37e0c8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("probe_controller_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
-index 15a3540c8e57..4e177daa36cf 100644
+index 70f611b3a48e..89c3a99e4ea6 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58565,7 +56993,7 @@ index 15a3540c8e57..4e177daa36cf 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58665,7 +57093,7 @@ index 15a3540c8e57..4e177daa36cf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58685,14 +57113,12 @@ index 15a3540c8e57..4e177daa36cf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58731,12 +57157,10 @@ index 15a3540c8e57..4e177daa36cf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58745,28 +57169,27 @@ index 15a3540c8e57..4e177daa36cf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pushback_controller_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
-index f761728cf286..69f83dfe2601 100644
+index f22524dd354b..6e24db4653a2 100644
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -58783,7 +57206,7 @@ index f761728cf286..69f83dfe2601 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -58883,7 +57306,7 @@ index f761728cf286..69f83dfe2601 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -58903,14 +57326,12 @@ index f761728cf286..69f83dfe2601 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -58949,12 +57370,10 @@ index f761728cf286..69f83dfe2601 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -58963,28 +57382,27 @@ index f761728cf286..69f83dfe2601 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("send_side_bwe_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
-index de753609f9e3..7fa341f5354c 100644
+index e650ac11466b..ea7669bdf2c9 100644
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -59001,7 +57419,7 @@ index de753609f9e3..7fa341f5354c 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59102,7 +57520,7 @@ index de753609f9e3..7fa341f5354c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59122,14 +57540,12 @@ index de753609f9e3..7fa341f5354c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -59168,12 +57584,10 @@ index de753609f9e3..7fa341f5354c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -59182,28 +57596,27 @@ index de753609f9e3..7fa341f5354c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("control_handler_gn")
diff --git third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
-index a138c2d29534..1baf1c4e4805 100644
+index 64598f28cfca..113ac5fad487 100644
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -59220,7 +57633,7 @@ index a138c2d29534..1baf1c4e4805 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59320,7 +57733,7 @@ index a138c2d29534..1baf1c4e4805 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59340,14 +57753,12 @@ index a138c2d29534..1baf1c4e4805 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -59386,12 +57797,10 @@ index a138c2d29534..1baf1c4e4805 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -59400,28 +57809,27 @@ index a138c2d29534..1baf1c4e4805 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transport_feedback_gn")
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
-index bb74015011bd..ce4e69346676 100644
+index 598b738b3d98..2fcec71e4a8c 100644
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -59439,7 +57847,7 @@ index bb74015011bd..ce4e69346676 100644
FINAL_LIBRARY = "xul"
-@@ -46,104 +55,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,103 +57,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59457,7 +57865,6 @@ index bb74015011bd..ce4e69346676 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -59547,15 +57954,16 @@ index bb74015011bd..ce4e69346676 100644
CXXFLAGS += [
"-msse2"
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-index bb0eccabacb5..910529387a2f 100644
+index b32544897c73..99cd089c6892 100644
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-@@ -26,12 +26,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -26,13 +26,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -59572,7 +57980,7 @@ index bb0eccabacb5..910529387a2f 100644
FINAL_LIBRARY = "xul"
-@@ -83,187 +92,14 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -85,185 +94,14 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -59654,7 +58062,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc",
- "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -59752,7 +58159,6 @@ index bb0eccabacb5..910529387a2f 100644
- "-mfpu=neon"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["WEBRTC_ARCH_ARM"] = True
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
- DEFINES["WEBRTC_HAS_NEON"] = True
@@ -59762,7 +58168,7 @@ index bb0eccabacb5..910529387a2f 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -271,7 +107,8 @@ if CONFIG["TARGET_CPU"] == "arm":
+@@ -271,7 +109,8 @@ if CONFIG["TARGET_CPU"] == "arm":
]
SOURCES += [
@@ -59772,7 +58178,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -281,44 +118,16 @@ if CONFIG["TARGET_CPU"] == "arm":
+@@ -281,34 +120,9 @@ if CONFIG["TARGET_CPU"] == "arm":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -59802,7 +58208,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc",
@@ -59811,8 +58216,7 @@ index bb0eccabacb5..910529387a2f 100644
]
if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+@@ -316,7 +130,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
@@ -59820,7 +58224,7 @@ index bb0eccabacb5..910529387a2f 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -326,7 +135,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -324,7 +137,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
]
SOURCES += [
@@ -59830,7 +58234,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -336,14 +146,14 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -334,13 +148,14 @@ if CONFIG["TARGET_CPU"] == "mips32":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -59842,13 +58246,12 @@ index bb0eccabacb5..910529387a2f 100644
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -351,7 +161,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -348,7 +163,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
]
SOURCES += [
@@ -59858,7 +58261,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -361,121 +172,19 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -358,117 +174,19 @@ if CONFIG["TARGET_CPU"] == "mips64":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -59887,7 +58290,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc",
@@ -59921,7 +58323,6 @@ index bb0eccabacb5..910529387a2f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
@@ -59966,7 +58367,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
- ]
@@ -59977,14 +58377,13 @@ index bb0eccabacb5..910529387a2f 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -483,7 +192,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -476,7 +194,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
]
SOURCES += [
@@ -59994,7 +58393,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -493,14 +203,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -486,13 +205,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -60007,14 +58406,13 @@ index bb0eccabacb5..910529387a2f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -508,7 +219,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -500,7 +221,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
]
SOURCES += [
@@ -60024,7 +58422,7 @@ index bb0eccabacb5..910529387a2f 100644
]
UNIFIED_SOURCES += [
-@@ -518,10 +230,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -510,10 +232,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
@@ -60039,7 +58437,7 @@ index bb0eccabacb5..910529387a2f 100644
DEFINES["WEBRTC_USE_X11"] = True
-@@ -548,139 +262,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE
+@@ -539,134 +263,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE
"/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
]
@@ -60066,7 +58464,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc",
@@ -60099,7 +58496,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -60129,7 +58525,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc",
@@ -60162,7 +58557,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -60201,7 +58595,6 @@ index bb0eccabacb5..910529387a2f 100644
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
-- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
@@ -60211,10 +58604,10 @@ index bb0eccabacb5..910529387a2f 100644
Library("desktop_capture_gn")
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
deleted file mode 100644
-index 10689fe10c87..000000000000
+index 1a08376347cd..000000000000
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
+++ /dev/null
-@@ -1,80 +0,0 @@
+@@ -1,82 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -60234,6 +58627,7 @@ index 10689fe10c87..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -60249,6 +58643,7 @@ index 10689fe10c87..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -60296,15 +58691,16 @@ index 10689fe10c87..000000000000
-
-Library("desktop_capture_objc_gn")
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
-index 01014575f586..bdf8133ac2ab 100644
+index e8417c3d85c5..acecefe7be92 100644
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60321,7 +58717,7 @@ index 01014575f586..bdf8133ac2ab 100644
FINAL_LIBRARY = "xul"
-@@ -51,69 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,69 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60392,7 +58788,7 @@ index 01014575f586..bdf8133ac2ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -121,75 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -123,69 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60402,7 +58798,6 @@ index 01014575f586..bdf8133ac2ab 100644
- "-mfpu=neon"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["WEBRTC_ARCH_ARM"] = True
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
- DEFINES["WEBRTC_HAS_NEON"] = True
@@ -60414,14 +58809,12 @@ index 01014575f586..bdf8133ac2ab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -60450,7 +58843,6 @@ index 01014575f586..bdf8133ac2ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -60459,28 +58851,27 @@ index 01014575f586..bdf8133ac2ab 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("primitives_gn")
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
-index dc2973b9cf30..337c9f2ecf73 100644
+index fd9dea10a397..20052b5ad7c2 100644
--- third_party/libwebrtc/modules/module_api_gn/moz.build
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60497,7 +58888,7 @@ index dc2973b9cf30..337c9f2ecf73 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60582,7 +58973,7 @@ index dc2973b9cf30..337c9f2ecf73 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60598,19 +58989,17 @@ index dc2973b9cf30..337c9f2ecf73 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60636,35 +59025,32 @@ index dc2973b9cf30..337c9f2ecf73 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("module_api_gn")
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
-index 6d33e7daab36..839f6c74eae3 100644
+index 231edf631e22..84af1af791b8 100644
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60681,7 +59067,7 @@ index 6d33e7daab36..839f6c74eae3 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60766,7 +59152,7 @@ index 6d33e7daab36..839f6c74eae3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60782,19 +59168,17 @@ index 6d33e7daab36..839f6c74eae3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60820,35 +59204,32 @@ index 6d33e7daab36..839f6c74eae3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("module_api_public_gn")
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
-index 475b09f4c734..672cf6f29d67 100644
+index cc6d4595397e..b7fe96ba4609 100644
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -60865,7 +59246,7 @@ index 475b09f4c734..672cf6f29d67 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -60950,7 +59331,7 @@ index 475b09f4c734..672cf6f29d67 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60966,19 +59347,17 @@ index 475b09f4c734..672cf6f29d67 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -61004,35 +59383,32 @@ index 475b09f4c734..672cf6f29d67 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("module_fec_api_gn")
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
-index 41aa2b86121e..e5fa03b0ee5a 100644
+index cc77d844868d..6b5865551362 100644
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61049,7 +59425,7 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61138,7 +59514,7 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61158,14 +59534,12 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61204,12 +59578,10 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61218,28 +59590,27 @@ index 41aa2b86121e..e5fa03b0ee5a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("interval_budget_gn")
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
-index 3a8aadf7520a..b2475e0598ec 100644
+index d038755722bc..310397c3a8d0 100644
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61256,7 +59627,7 @@ index 3a8aadf7520a..b2475e0598ec 100644
FINAL_LIBRARY = "xul"
-@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,99 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61357,7 +59728,7 @@ index 3a8aadf7520a..b2475e0598ec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -152,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -154,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61377,14 +59748,12 @@ index 3a8aadf7520a..b2475e0598ec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61423,12 +59792,10 @@ index 3a8aadf7520a..b2475e0598ec 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61437,27 +59804,21 @@ index 3a8aadf7520a..b2475e0598ec 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("pacing_gn")
diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build
-index 7b2dd2e68dab..8ae0b121e5f3 100644
+index 458d6eb3ad9a..e1abb12959d5 100644
--- third_party/libwebrtc/modules/portal/portal_gn/moz.build
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
-@@ -23,25 +23,20 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
- AllowCompilerWarnings()
-
- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
--DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+@@ -26,22 +26,18 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -61465,6 +59826,7 @@ index 7b2dd2e68dab..8ae0b121e5f3 100644
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_OZONE"] = "1"
-DEFINES["USE_UDEV"] = True
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61480,7 +59842,7 @@ index 7b2dd2e68dab..8ae0b121e5f3 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-@@ -85,16 +80,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -86,16 +82,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61498,15 +59860,16 @@ index 7b2dd2e68dab..8ae0b121e5f3 100644
DEFINES["MIPS32_LE"] = True
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
-index 8db74436c471..ff74acabfdc7 100644
+index d7f5b2e2ed3c..552d79429483 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61523,7 +59886,7 @@ index 8db74436c471..ff74acabfdc7 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61623,7 +59986,7 @@ index 8db74436c471..ff74acabfdc7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61643,14 +60006,12 @@ index 8db74436c471..ff74acabfdc7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61689,12 +60050,10 @@ index 8db74436c471..ff74acabfdc7 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61703,28 +60062,27 @@ index 8db74436c471..ff74acabfdc7 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("congestion_control_feedback_generator_gn")
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
-index 3eb4c8ecefbf..2f3e78cae342 100644
+index 634813072a4f..b9e866bb70ab 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61741,7 +60099,7 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
FINAL_LIBRARY = "xul"
-@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -56,98 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -61841,7 +60199,7 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61861,14 +60219,12 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -61907,12 +60263,10 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -61921,28 +60275,27 @@ index 3eb4c8ecefbf..2f3e78cae342 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("remote_bitrate_estimator_gn")
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
-index 5e8620fba584..a9796d7a88e3 100644
+index 12fb52e764cb..d248f7bccac2 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -61959,7 +60312,7 @@ index 5e8620fba584..a9796d7a88e3 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62059,7 +60412,7 @@ index 5e8620fba584..a9796d7a88e3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62075,19 +60428,17 @@ index 5e8620fba584..a9796d7a88e3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -62113,35 +60464,32 @@ index 5e8620fba584..a9796d7a88e3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_transport_feedback_generator_gn")
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
-index 20277b83caca..bf3b9dea49cf 100644
+index 2ae17422afdc..9475b9f04ea6 100644
--- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62158,7 +60506,7 @@ index 20277b83caca..bf3b9dea49cf 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62258,7 +60606,7 @@ index 20277b83caca..bf3b9dea49cf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62278,14 +60626,12 @@ index 20277b83caca..bf3b9dea49cf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62324,12 +60670,10 @@ index 20277b83caca..bf3b9dea49cf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62338,28 +60682,27 @@ index 20277b83caca..bf3b9dea49cf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transport_sequence_number_feedback_generator_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
-index 3e8b1cf6e300..ef370db38e0a 100644
+index 67e21c08ed59..6637e2d5f701 100644
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62376,7 +60719,7 @@ index 3e8b1cf6e300..ef370db38e0a 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62461,7 +60804,7 @@ index 3e8b1cf6e300..ef370db38e0a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62481,14 +60824,12 @@ index 3e8b1cf6e300..ef370db38e0a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62527,12 +60868,10 @@ index 3e8b1cf6e300..ef370db38e0a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62541,28 +60880,27 @@ index 3e8b1cf6e300..ef370db38e0a 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("leb128_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
-index 22461d2e8ac1..3f4871522269 100644
+index 82c4ee3f447c..999d165efd7b 100644
--- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62579,7 +60917,7 @@ index 22461d2e8ac1..3f4871522269 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62679,7 +61017,7 @@ index 22461d2e8ac1..3f4871522269 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62699,14 +61037,12 @@ index 22461d2e8ac1..3f4871522269 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62745,12 +61081,10 @@ index 22461d2e8ac1..3f4871522269 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62759,28 +61093,27 @@ index 22461d2e8ac1..3f4871522269 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("ntp_time_util_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
-index 4973c6f42fc3..e1036d5d5ed3 100644
+index 7136b4733028..906e13fae23f 100644
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -62797,7 +61130,7 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
FINAL_LIBRARY = "xul"
-@@ -89,98 +98,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -91,98 +100,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -62897,7 +61230,7 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -188,88 +106,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -190,82 +108,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62917,14 +61250,12 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -62963,12 +61294,10 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -62977,28 +61306,27 @@ index 4973c6f42fc3..e1036d5d5ed3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_rtcp_format_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
-index 8d03d716247e..30fe5eee6b4a 100644
+index 84e6fc103d2f..7dbe759825f9 100644
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63015,7 +61343,7 @@ index 8d03d716247e..30fe5eee6b4a 100644
FINAL_LIBRARY = "xul"
-@@ -99,99 +108,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -101,99 +110,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63116,7 +61444,7 @@ index 8d03d716247e..30fe5eee6b4a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -199,88 +116,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -201,82 +118,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63136,14 +61464,12 @@ index 8d03d716247e..30fe5eee6b4a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63182,12 +61508,10 @@ index 8d03d716247e..30fe5eee6b4a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63196,28 +61520,27 @@ index 8d03d716247e..30fe5eee6b4a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_rtcp_gn")
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
-index ac9aa3861dba..4fdbcc2a4cf3 100644
+index ad581840c124..506da77c1fd1 100644
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63234,7 +61557,7 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63330,7 +61653,7 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63350,14 +61673,12 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63396,12 +61717,10 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63410,28 +61729,27 @@ index ac9aa3861dba..4fdbcc2a4cf3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtp_video_header_gn")
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
-index 79d42dc8f023..e1008c73ce89 100644
+index ddcad071428c..972cd7f213a7 100644
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63448,7 +61766,7 @@ index 79d42dc8f023..e1008c73ce89 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63533,7 +61851,7 @@ index 79d42dc8f023..e1008c73ce89 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63553,14 +61871,12 @@ index 79d42dc8f023..e1008c73ce89 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63599,12 +61915,10 @@ index 79d42dc8f023..e1008c73ce89 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63613,28 +61927,27 @@ index 79d42dc8f023..e1008c73ce89 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("fft_gn")
diff --git third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
-index 33874d3f7d79..4bbe0d22f839 100644
+index 62ce49f3c5cb..f59a3d81e78c 100644
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63651,7 +61964,7 @@ index 33874d3f7d79..4bbe0d22f839 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63736,7 +62049,7 @@ index 33874d3f7d79..4bbe0d22f839 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63756,14 +62069,12 @@ index 33874d3f7d79..4bbe0d22f839 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -63802,12 +62113,10 @@ index 33874d3f7d79..4bbe0d22f839 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -63816,28 +62125,27 @@ index 33874d3f7d79..4bbe0d22f839 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g711_3p_gn")
diff --git third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
-index 66badf120ce2..84d7154c3894 100644
+index 74257a155693..c8fd6527cf97 100644
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -63854,7 +62162,7 @@ index 66badf120ce2..84d7154c3894 100644
FINAL_LIBRARY = "xul"
-@@ -49,83 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,83 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -63939,7 +62247,7 @@ index 66badf120ce2..84d7154c3894 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63959,14 +62267,12 @@ index 66badf120ce2..84d7154c3894 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -64005,12 +62311,10 @@ index 66badf120ce2..84d7154c3894 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -64019,28 +62323,27 @@ index 66badf120ce2..84d7154c3894 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("g722_3p_gn")
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
-index 75e5385a1fd6..7e1723cc34a1 100644
+index 5ee4917da404..7d106d158a94 100644
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64057,7 +62360,7 @@ index 75e5385a1fd6..7e1723cc34a1 100644
FINAL_LIBRARY = "xul"
-@@ -41,91 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,91 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64150,7 +62453,7 @@ index 75e5385a1fd6..7e1723cc34a1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64166,19 +62469,17 @@ index 75e5385a1fd6..7e1723cc34a1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -163,56 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -163,52 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -64216,35 +62517,32 @@ index 75e5385a1fd6..7e1723cc34a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("utility_gn")
diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
-index 8abb93cac015..8f17ef2445a8 100644
+index 28b6ac5f25c8..6a2450c7dacb 100644
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
-@@ -18,12 +18,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64261,7 +62559,7 @@ index 8abb93cac015..8f17ef2445a8 100644
FINAL_LIBRARY = "xul"
-@@ -38,6 +47,10 @@ LOCAL_INCLUDES += [
+@@ -40,6 +49,10 @@ LOCAL_INCLUDES += [
]
UNIFIED_SOURCES += [
@@ -64272,7 +62570,7 @@ index 8abb93cac015..8f17ef2445a8 100644
"/third_party/libwebrtc/modules/video_capture/video_capture_options.cc"
]
-@@ -50,173 +63,14 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,171 +65,14 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64421,7 +62719,6 @@ index 8abb93cac015..8f17ef2445a8 100644
-
-if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
@@ -64441,14 +62738,13 @@ index 8abb93cac015..8f17ef2445a8 100644
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["__ARM_NEON__"] = "1"
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -230,45 +84,11 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -230,44 +86,11 @@ if CONFIG["TARGET_CPU"] == "mips64":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -64489,7 +62785,6 @@ index 8abb93cac015..8f17ef2445a8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["MIPS32_LE"] = True
+ DEFINES["MIPS_FPU_LE"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
@@ -64497,20 +62792,19 @@ index 8abb93cac015..8f17ef2445a8 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -282,11 +102,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+@@ -281,10 +104,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -300,15 +118,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+@@ -298,14 +120,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -64521,21 +62815,19 @@ index 8abb93cac015..8f17ef2445a8 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -322,11 +139,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -319,10 +141,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
@@ -64543,15 +62835,16 @@ index 8abb93cac015..8f17ef2445a8 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
diff --git third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
-index 08b0c7681680..1de2577347e3 100644
+index de5bb188111b..c4db7dc59ecf 100644
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64568,7 +62861,7 @@ index 08b0c7681680..1de2577347e3 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64668,7 +62961,7 @@ index 08b0c7681680..1de2577347e3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64688,14 +62981,12 @@ index 08b0c7681680..1de2577347e3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -64734,12 +63025,10 @@ index 08b0c7681680..1de2577347e3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -64748,28 +63037,27 @@ index 08b0c7681680..1de2577347e3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_capture_module_gn")
diff --git third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
-index 5a8d69fea389..547ecef4a238 100644
+index e0c966fb45be..23015c7646d6 100644
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -64786,7 +63074,7 @@ index 5a8d69fea389..547ecef4a238 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -64882,7 +63170,7 @@ index 5a8d69fea389..547ecef4a238 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64902,14 +63190,12 @@ index 5a8d69fea389..547ecef4a238 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -64948,12 +63234,10 @@ index 5a8d69fea389..547ecef4a238 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -64962,28 +63246,27 @@ index 5a8d69fea389..547ecef4a238 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("chain_diff_calculator_gn")
diff --git third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
-index 62f329321798..e8246dd5319b 100644
+index b26732ca8bb2..c6ec6d247c75 100644
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65000,7 +63283,7 @@ index 62f329321798..e8246dd5319b 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65089,7 +63372,7 @@ index 62f329321798..e8246dd5319b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65105,19 +63388,17 @@ index 62f329321798..e8246dd5319b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -65143,35 +63424,32 @@ index 62f329321798..e8246dd5319b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("codec_globals_headers_gn")
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
-index 30a63e90512b..5f375dd1a7ec 100644
+index 2e4abf38bdd6..029587e1db2e 100644
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65188,7 +63466,7 @@ index 30a63e90512b..5f375dd1a7ec 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65288,7 +63566,7 @@ index 30a63e90512b..5f375dd1a7ec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65308,14 +63586,12 @@ index 30a63e90512b..5f375dd1a7ec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -65354,12 +63630,10 @@ index 30a63e90512b..5f375dd1a7ec 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -65368,28 +63642,27 @@ index 30a63e90512b..5f375dd1a7ec 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("av1_svc_config_gn")
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
-index 5173a05890e8..4806285f2ec8 100644
+index 3a1031ba04b6..bdedce7c4efd 100644
--- third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65406,7 +63679,7 @@ index 5173a05890e8..4806285f2ec8 100644
FINAL_LIBRARY = "xul"
-@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65506,7 +63779,7 @@ index 5173a05890e8..4806285f2ec8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65526,14 +63799,12 @@ index 5173a05890e8..4806285f2ec8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -65572,12 +63843,10 @@ index 5173a05890e8..4806285f2ec8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -65586,28 +63855,27 @@ index 5173a05890e8..4806285f2ec8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("dav1d_decoder_gn")
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
-index ef0e22afe400..2ca8f169f6b1 100644
+index d79e8d29a8c5..b432bbb71fec 100644
--- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65624,7 +63892,7 @@ index ef0e22afe400..2ca8f169f6b1 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65724,7 +63992,7 @@ index ef0e22afe400..2ca8f169f6b1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65744,14 +64012,12 @@ index ef0e22afe400..2ca8f169f6b1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -65790,12 +64056,10 @@ index ef0e22afe400..2ca8f169f6b1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -65804,28 +64068,27 @@ index ef0e22afe400..2ca8f169f6b1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aom_av1_encoder_gn")
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
-index a7eb37c41dfc..2ed1c87b2568 100644
+index a60787fc6449..f375bcdc2a8e 100644
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -65842,7 +64105,7 @@ index a7eb37c41dfc..2ed1c87b2568 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -65942,7 +64205,7 @@ index a7eb37c41dfc..2ed1c87b2568 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65962,14 +64225,12 @@ index a7eb37c41dfc..2ed1c87b2568 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66008,12 +64269,10 @@ index a7eb37c41dfc..2ed1c87b2568 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66022,28 +64281,27 @@ index a7eb37c41dfc..2ed1c87b2568 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoded_frame_gn")
diff --git third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
-index 10ea48d85652..f59463218193 100644
+index 769517d3f365..8cbfbfd52d05 100644
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66060,7 +64318,7 @@ index 10ea48d85652..f59463218193 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66156,7 +64414,7 @@ index 10ea48d85652..f59463218193 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66176,14 +64434,12 @@ index 10ea48d85652..f59463218193 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66222,12 +64478,10 @@ index 10ea48d85652..f59463218193 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66236,28 +64490,27 @@ index 10ea48d85652..f59463218193 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_dependencies_calculator_gn")
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
-index dc35f55e424e..5c915ce306bc 100644
+index 24380868efcb..cfbdceb4d6db 100644
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66274,7 +64527,7 @@ index dc35f55e424e..5c915ce306bc 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66374,7 +64627,7 @@ index dc35f55e424e..5c915ce306bc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66394,14 +64647,12 @@ index dc35f55e424e..5c915ce306bc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66440,12 +64691,10 @@ index dc35f55e424e..5c915ce306bc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66454,28 +64703,27 @@ index dc35f55e424e..5c915ce306bc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_helpers_gn")
diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
-index d2d696317d9c..c5cb23d799c4 100644
+index be74fea63164..53bdc368fe2b 100644
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66492,7 +64740,7 @@ index d2d696317d9c..c5cb23d799c4 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66588,7 +64836,7 @@ index d2d696317d9c..c5cb23d799c4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66608,14 +64856,12 @@ index d2d696317d9c..c5cb23d799c4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66654,12 +64900,10 @@ index d2d696317d9c..c5cb23d799c4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66668,28 +64912,27 @@ index d2d696317d9c..c5cb23d799c4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("h264_sprop_parameter_sets_gn")
diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
-index 948ea6888149..3b773a7cb0a6 100644
+index 41156a4966db..8cef7a07fa45 100644
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66706,7 +64949,7 @@ index 948ea6888149..3b773a7cb0a6 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -66806,7 +65049,7 @@ index 948ea6888149..3b773a7cb0a6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66826,14 +65069,12 @@ index 948ea6888149..3b773a7cb0a6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -66872,12 +65113,10 @@ index 948ea6888149..3b773a7cb0a6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -66886,28 +65125,27 @@ index 948ea6888149..3b773a7cb0a6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("h26x_packet_buffer_gn")
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
-index 09874b834b65..1e71e3f42d43 100644
+index 74d1824de3fe..9e09c9517c27 100644
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -66924,7 +65162,7 @@ index 09874b834b65..1e71e3f42d43 100644
FINAL_LIBRARY = "xul"
-@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67024,7 +65262,7 @@ index 09874b834b65..1e71e3f42d43 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67044,14 +65282,12 @@ index 09874b834b65..1e71e3f42d43 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67090,12 +65326,10 @@ index 09874b834b65..1e71e3f42d43 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67104,28 +65338,27 @@ index 09874b834b65..1e71e3f42d43 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("nack_requester_gn")
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
-index c9f726aecc07..6a970b419e10 100644
+index e2f4fe9dfc59..e7ed8d372351 100644
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67142,7 +65375,7 @@ index c9f726aecc07..6a970b419e10 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67242,7 +65475,7 @@ index c9f726aecc07..6a970b419e10 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67262,14 +65495,12 @@ index c9f726aecc07..6a970b419e10 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67308,12 +65539,10 @@ index c9f726aecc07..6a970b419e10 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67322,28 +65551,27 @@ index c9f726aecc07..6a970b419e10 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("packet_buffer_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
-index 618ae6fb64dd..0d4bb5505199 100644
+index 9830c749097d..153b21e66176 100644
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67360,7 +65588,7 @@ index 618ae6fb64dd..0d4bb5505199 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67460,7 +65688,7 @@ index 618ae6fb64dd..0d4bb5505199 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67480,14 +65708,12 @@ index 618ae6fb64dd..0d4bb5505199 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67526,12 +65752,10 @@ index 618ae6fb64dd..0d4bb5505199 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67540,28 +65764,27 @@ index 618ae6fb64dd..0d4bb5505199 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalability_mode_util_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
-index 09afe4363006..4db02f8672a2 100644
+index 9df7c0dd8fba..e240df219e23 100644
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67578,7 +65801,7 @@ index 09afe4363006..4db02f8672a2 100644
FINAL_LIBRARY = "xul"
-@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,94 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67674,7 +65897,7 @@ index 09afe4363006..4db02f8672a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -149,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67694,14 +65917,12 @@ index 09afe4363006..4db02f8672a2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67740,12 +65961,10 @@ index 09afe4363006..4db02f8672a2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67754,28 +65973,27 @@ index 09afe4363006..4db02f8672a2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalability_structures_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
-index 30ff3f10a66c..149765eb02f0 100644
+index dd6fa224c4e3..a2bd77e16b44 100644
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67792,7 +66010,7 @@ index 30ff3f10a66c..149765eb02f0 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -67881,7 +66099,7 @@ index 30ff3f10a66c..149765eb02f0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67901,14 +66119,12 @@ index 30ff3f10a66c..149765eb02f0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -67947,12 +66163,10 @@ index 30ff3f10a66c..149765eb02f0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -67961,28 +66175,27 @@ index 30ff3f10a66c..149765eb02f0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("scalable_video_controller_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
-index 7b20aff1bb23..e0360f071a9f 100644
+index 78d6a20d1c2b..1e572a5e24fb 100644
--- third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -67999,7 +66212,7 @@ index 7b20aff1bb23..e0360f071a9f 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68100,7 +66313,7 @@ index 7b20aff1bb23..e0360f071a9f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68120,14 +66333,12 @@ index 7b20aff1bb23..e0360f071a9f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68166,12 +66377,10 @@ index 7b20aff1bb23..e0360f071a9f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68180,28 +66389,27 @@ index 7b20aff1bb23..e0360f071a9f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("simulcast_to_svc_converter_gn")
diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
-index fc59cab02337..432ad6dc8d81 100644
+index b6fd02d1c670..6d501d35caa6 100644
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68218,7 +66426,7 @@ index fc59cab02337..432ad6dc8d81 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68318,7 +66526,7 @@ index fc59cab02337..432ad6dc8d81 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68338,14 +66546,12 @@ index fc59cab02337..432ad6dc8d81 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68384,12 +66590,10 @@ index fc59cab02337..432ad6dc8d81 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68398,28 +66602,27 @@ index fc59cab02337..432ad6dc8d81 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("svc_rate_allocator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
-index e33a44db589d..75839ef32948 100644
+index 35fa0ebc0367..71d75a0acc73 100644
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68436,7 +66639,7 @@ index e33a44db589d..75839ef32948 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68525,7 +66728,7 @@ index e33a44db589d..75839ef32948 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68545,14 +66748,12 @@ index e33a44db589d..75839ef32948 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68591,12 +66792,10 @@ index e33a44db589d..75839ef32948 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68605,28 +66804,27 @@ index e33a44db589d..75839ef32948 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("decode_time_percentile_filter_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
-index d1182b687873..cc4e442d07dc 100644
+index 72b91ff1d788..406a7566b36a 100644
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68643,7 +66841,7 @@ index d1182b687873..cc4e442d07dc 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68732,7 +66930,7 @@ index d1182b687873..cc4e442d07dc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68752,14 +66950,12 @@ index d1182b687873..cc4e442d07dc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -68798,12 +66994,10 @@ index d1182b687873..cc4e442d07dc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -68812,28 +67006,27 @@ index d1182b687873..cc4e442d07dc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_delay_variation_kalman_filter_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
-index fe0883a7e530..d8d916988d63 100644
+index 519588e13727..583c005a9f99 100644
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -68850,7 +67043,7 @@ index fe0883a7e530..d8d916988d63 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -68939,7 +67132,7 @@ index fe0883a7e530..d8d916988d63 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68959,14 +67152,12 @@ index fe0883a7e530..d8d916988d63 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69005,12 +67196,10 @@ index fe0883a7e530..d8d916988d63 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69019,28 +67208,27 @@ index fe0883a7e530..d8d916988d63 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("inter_frame_delay_variation_calculator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
-index be20d56dfe26..b7cf704dc435 100644
+index 0d8cf2901590..016bb4eb8149 100644
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69057,7 +67245,7 @@ index be20d56dfe26..b7cf704dc435 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69157,7 +67345,7 @@ index be20d56dfe26..b7cf704dc435 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69177,14 +67365,12 @@ index be20d56dfe26..b7cf704dc435 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69223,12 +67409,10 @@ index be20d56dfe26..b7cf704dc435 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69237,28 +67421,27 @@ index be20d56dfe26..b7cf704dc435 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("jitter_estimator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
-index 4f7ce9360985..f88efc048771 100644
+index bf0e685451ed..ec18831f7ade 100644
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69275,7 +67458,7 @@ index 4f7ce9360985..f88efc048771 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69364,7 +67547,7 @@ index 4f7ce9360985..f88efc048771 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69384,14 +67567,12 @@ index 4f7ce9360985..f88efc048771 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69430,12 +67611,10 @@ index 4f7ce9360985..f88efc048771 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69444,28 +67623,27 @@ index 4f7ce9360985..f88efc048771 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtt_filter_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
-index da66074a3b32..58b7d3ef1612 100644
+index 5813d216063b..021a276da6ad 100644
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69482,7 +67660,7 @@ index da66074a3b32..58b7d3ef1612 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69571,7 +67749,7 @@ index da66074a3b32..58b7d3ef1612 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69591,14 +67769,12 @@ index da66074a3b32..58b7d3ef1612 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69637,12 +67813,10 @@ index da66074a3b32..58b7d3ef1612 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69651,28 +67825,27 @@ index da66074a3b32..58b7d3ef1612 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timestamp_extrapolator_gn")
diff --git third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
-index 2c1ee334dddf..d457b35a059e 100644
+index fcbc9c26ca61..b8e60636098b 100644
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69689,7 +67862,7 @@ index 2c1ee334dddf..d457b35a059e 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -69789,7 +67962,7 @@ index 2c1ee334dddf..d457b35a059e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69809,14 +67982,12 @@ index 2c1ee334dddf..d457b35a059e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -69855,12 +68026,10 @@ index 2c1ee334dddf..d457b35a059e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -69869,28 +68038,27 @@ index 2c1ee334dddf..d457b35a059e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timing_module_gn")
diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
-index 60dd4340f3fa..66297293fe87 100644
+index 70ff7f1b9fb9..22dc0829c784 100644
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -69907,7 +68075,7 @@ index 60dd4340f3fa..66297293fe87 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70007,7 +68175,7 @@ index 60dd4340f3fa..66297293fe87 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70027,14 +68195,12 @@ index 60dd4340f3fa..66297293fe87 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70073,12 +68239,10 @@ index 60dd4340f3fa..66297293fe87 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70087,28 +68251,27 @@ index 60dd4340f3fa..66297293fe87 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_codec_interface_gn")
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
-index d7d3cd24da0c..8813b7ec8a42 100644
+index 3b9af9e935fa..2c0fb20de5de 100644
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70125,7 +68288,7 @@ index d7d3cd24da0c..8813b7ec8a42 100644
FINAL_LIBRARY = "xul"
-@@ -58,99 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,99 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70226,7 +68389,7 @@ index d7d3cd24da0c..8813b7ec8a42 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -158,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -160,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70246,14 +68409,12 @@ index d7d3cd24da0c..8813b7ec8a42 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70292,12 +68453,10 @@ index d7d3cd24da0c..8813b7ec8a42 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70306,28 +68465,27 @@ index d7d3cd24da0c..8813b7ec8a42 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_coding_gn")
diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
-index ebd9c4fee826..faafbe09003f 100644
+index 372fbcc1fec9..63dc326cb39c 100644
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70344,7 +68502,7 @@ index ebd9c4fee826..faafbe09003f 100644
FINAL_LIBRARY = "xul"
-@@ -57,99 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,99 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70445,7 +68603,7 @@ index ebd9c4fee826..faafbe09003f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70465,14 +68623,12 @@ index ebd9c4fee826..faafbe09003f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70511,12 +68667,10 @@ index ebd9c4fee826..faafbe09003f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70525,28 +68679,27 @@ index ebd9c4fee826..faafbe09003f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_coding_utility_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
-index c5e8f06afeff..4ccce753f1cc 100644
+index 42fc86877d61..8aa23d3e602d 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70563,7 +68716,7 @@ index c5e8f06afeff..4ccce753f1cc 100644
FINAL_LIBRARY = "xul"
-@@ -50,99 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70664,7 +68817,7 @@ index c5e8f06afeff..4ccce753f1cc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70684,14 +68837,12 @@ index c5e8f06afeff..4ccce753f1cc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70730,12 +68881,10 @@ index c5e8f06afeff..4ccce753f1cc 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70744,28 +68893,27 @@ index c5e8f06afeff..4ccce753f1cc 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_h264_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
-index 5adadf70f422..a55ec3ceb2e5 100644
+index a5be479fb5ef..33bf4869c3e1 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70782,7 +68930,7 @@ index 5adadf70f422..a55ec3ceb2e5 100644
FINAL_LIBRARY = "xul"
-@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,87 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -70871,7 +69019,7 @@ index 5adadf70f422..a55ec3ceb2e5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70891,14 +69039,12 @@ index 5adadf70f422..a55ec3ceb2e5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -70937,12 +69083,10 @@ index 5adadf70f422..a55ec3ceb2e5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -70951,28 +69095,27 @@ index 5adadf70f422..a55ec3ceb2e5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_libvpx_interface_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
-index f402ec01a29e..9cd5350ac31a 100644
+index 83497c58de59..59b9cf953887 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -70989,7 +69132,7 @@ index f402ec01a29e..9cd5350ac31a 100644
FINAL_LIBRARY = "xul"
-@@ -51,99 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71090,7 +69233,7 @@ index f402ec01a29e..9cd5350ac31a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71110,14 +69253,12 @@ index f402ec01a29e..9cd5350ac31a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71156,12 +69297,10 @@ index f402ec01a29e..9cd5350ac31a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71170,28 +69309,27 @@ index f402ec01a29e..9cd5350ac31a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp8_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
-index 570c9383d5bb..b7aac07667b6 100644
+index f7123a48ff94..159d0f488cf5 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71208,7 +69346,7 @@ index 570c9383d5bb..b7aac07667b6 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71297,7 +69435,7 @@ index 570c9383d5bb..b7aac07667b6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71317,14 +69455,12 @@ index 570c9383d5bb..b7aac07667b6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71363,12 +69499,10 @@ index 570c9383d5bb..b7aac07667b6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71377,28 +69511,27 @@ index 570c9383d5bb..b7aac07667b6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp8_scalability_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
-index ece868daa962..cb6d66c5dd83 100644
+index 1eef00eaf9b7..38bf89857dd5 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71415,7 +69548,7 @@ index ece868daa962..cb6d66c5dd83 100644
FINAL_LIBRARY = "xul"
-@@ -50,99 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71516,7 +69649,7 @@ index ece868daa962..cb6d66c5dd83 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71536,14 +69669,12 @@ index ece868daa962..cb6d66c5dd83 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71582,12 +69713,10 @@ index ece868daa962..cb6d66c5dd83 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71596,28 +69725,27 @@ index ece868daa962..cb6d66c5dd83 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp8_temporal_layers_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
-index 97907050ab85..27fc31791159 100644
+index bbd8102cbd1a..8cca12c5caf8 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
-@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71634,7 +69762,7 @@ index 97907050ab85..27fc31791159 100644
FINAL_LIBRARY = "xul"
-@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71735,7 +69863,7 @@ index 97907050ab85..27fc31791159 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71755,14 +69883,12 @@ index 97907050ab85..27fc31791159 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -71801,12 +69927,10 @@ index 97907050ab85..27fc31791159 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -71815,28 +69939,27 @@ index 97907050ab85..27fc31791159 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp9_gn")
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
-index b5c3fb618866..a18a49feb3ed 100644
+index f57a0a7e568b..9a78b83fbd8c 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -71853,7 +69976,7 @@ index b5c3fb618866..a18a49feb3ed 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -71953,7 +70076,7 @@ index b5c3fb618866..a18a49feb3ed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71973,14 +70096,12 @@ index b5c3fb618866..a18a49feb3ed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -72019,12 +70140,10 @@ index b5c3fb618866..a18a49feb3ed 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -72033,23 +70152,21 @@ index b5c3fb618866..a18a49feb3ed 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("webrtc_vp9_helpers_gn")
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
-index c6cc8931d764..9bd6a676a25f 100644
+index 84cfd37b7351..a14de2b579ed 100644
--- third_party/libwebrtc/moz.build
+++ third_party/libwebrtc/moz.build
-@@ -290,6 +290,8 @@ DIRS += [
+@@ -289,6 +289,8 @@ DIRS += [
"/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn",
"/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn",
"/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn",
@@ -72058,7 +70175,7 @@ index c6cc8931d764..9bd6a676a25f 100644
"/third_party/libwebrtc/modules/module_api_gn",
"/third_party/libwebrtc/modules/module_api_public_gn",
"/third_party/libwebrtc/modules/module_fec_api_gn",
-@@ -515,137 +517,30 @@ DIRS += [
+@@ -512,137 +514,30 @@ DIRS += [
"/third_party/libwebrtc/webrtc_gn"
]
@@ -72200,7 +70317,7 @@ index c6cc8931d764..9bd6a676a25f 100644
DIRS += [
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
-@@ -653,13 +548,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -650,13 +545,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
@@ -72215,7 +70332,7 @@ index c6cc8931d764..9bd6a676a25f 100644
DIRS += [
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
-@@ -667,73 +560,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -664,73 +557,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
@@ -72290,15 +70407,16 @@ index c6cc8931d764..9bd6a676a25f 100644
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
- ]
diff --git third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
-index 0b2c09fdcff0..092a150a2352 100644
+index 5d989ceee1f6..0190347650e9 100644
--- third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72315,7 +70433,7 @@ index 0b2c09fdcff0..092a150a2352 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72404,7 +70522,7 @@ index 0b2c09fdcff0..092a150a2352 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72420,19 +70538,17 @@ index 0b2c09fdcff0..092a150a2352 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72458,35 +70574,32 @@ index 0b2c09fdcff0..092a150a2352 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("internal_types_gn")
diff --git third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
-index f24dd018c572..bdec311c880e 100644
+index 5e2c9f2def32..7eaf7c5142d8 100644
--- third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72503,7 +70616,7 @@ index f24dd018c572..bdec311c880e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72588,7 +70701,7 @@ index f24dd018c572..bdec311c880e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72604,19 +70717,17 @@ index f24dd018c572..bdec311c880e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72642,35 +70753,32 @@ index f24dd018c572..bdec311c880e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("math_gn")
diff --git third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
-index bdbcc93d83c5..042fc3ef9e00 100644
+index 5c1a80e0070e..5d69af7109d6 100644
--- third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72687,7 +70795,7 @@ index bdbcc93d83c5..042fc3ef9e00 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72776,7 +70884,7 @@ index bdbcc93d83c5..042fc3ef9e00 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72792,19 +70900,17 @@ index bdbcc93d83c5..042fc3ef9e00 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72830,35 +70936,32 @@ index bdbcc93d83c5..042fc3ef9e00 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sequence_numbers_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
-index 140f34e71edc..0674120fb66d 100644
+index 3f2b5a02680f..55149d8fe27a 100644
--- third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -72875,7 +70978,7 @@ index 140f34e71edc..0674120fb66d 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -72964,7 +71067,7 @@ index 140f34e71edc..0674120fb66d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72980,19 +71083,17 @@ index 140f34e71edc..0674120fb66d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -73018,35 +71119,32 @@ index 140f34e71edc..0674120fb66d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("bounded_io_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
-index 233c3fc51a0d..03c2f87070e4 100644
+index 353abfb3fb3d..872482ca3530 100644
--- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73063,7 +71161,7 @@ index 233c3fc51a0d..03c2f87070e4 100644
FINAL_LIBRARY = "xul"
-@@ -62,94 +71,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -64,94 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73159,7 +71257,7 @@ index 233c3fc51a0d..03c2f87070e4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -157,88 +79,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73179,14 +71277,12 @@ index 233c3fc51a0d..03c2f87070e4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -73225,12 +71321,10 @@ index 233c3fc51a0d..03c2f87070e4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -73239,28 +71333,27 @@ index 233c3fc51a0d..03c2f87070e4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("chunk_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
-index 84e9ee6957e2..6583b0e50f8f 100644
+index 7b67df816ef9..3ffb653184ca 100644
--- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73277,7 +71370,7 @@ index 84e9ee6957e2..6583b0e50f8f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73373,7 +71466,7 @@ index 84e9ee6957e2..6583b0e50f8f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73393,14 +71486,12 @@ index 84e9ee6957e2..6583b0e50f8f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -73439,12 +71530,10 @@ index 84e9ee6957e2..6583b0e50f8f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -73453,28 +71542,27 @@ index 84e9ee6957e2..6583b0e50f8f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("chunk_validators_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
-index 14a85ac16c1e..8e046a16bdb8 100644
+index 7cee175df41c..9b19d2ce9ae1 100644
--- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73491,7 +71579,7 @@ index 14a85ac16c1e..8e046a16bdb8 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73580,7 +71668,7 @@ index 14a85ac16c1e..8e046a16bdb8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73600,14 +71688,12 @@ index 14a85ac16c1e..8e046a16bdb8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -73646,12 +71732,10 @@ index 14a85ac16c1e..8e046a16bdb8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -73660,28 +71744,27 @@ index 14a85ac16c1e..8e046a16bdb8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("crc32c_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
-index 8d820a7d88d4..379a28ef9b5d 100644
+index 42fbfd5dd1f9..14d7570c9647 100644
--- third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73698,7 +71781,7 @@ index 8d820a7d88d4..379a28ef9b5d 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73787,7 +71870,7 @@ index 8d820a7d88d4..379a28ef9b5d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73803,19 +71886,17 @@ index 8d820a7d88d4..379a28ef9b5d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -73841,35 +71922,32 @@ index 8d820a7d88d4..379a28ef9b5d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("data_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
-index 045aa0a8c864..30301114bdd5 100644
+index abbfe919bab4..c4d0d6069fcd 100644
--- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -73886,7 +71964,7 @@ index 045aa0a8c864..30301114bdd5 100644
FINAL_LIBRARY = "xul"
-@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,94 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -73982,7 +72060,7 @@ index 045aa0a8c864..30301114bdd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74002,14 +72080,12 @@ index 045aa0a8c864..30301114bdd5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74048,12 +72124,10 @@ index 045aa0a8c864..30301114bdd5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74062,28 +72136,27 @@ index 045aa0a8c864..30301114bdd5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("error_cause_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
-index b49605267ba7..58638908ffd5 100644
+index 35547f27626c..ef2aa914823a 100644
--- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74100,7 +72173,7 @@ index b49605267ba7..58638908ffd5 100644
FINAL_LIBRARY = "xul"
-@@ -56,94 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74196,7 +72269,7 @@ index b49605267ba7..58638908ffd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,88 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -153,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74216,14 +72289,12 @@ index b49605267ba7..58638908ffd5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74262,12 +72333,10 @@ index b49605267ba7..58638908ffd5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74276,28 +72345,27 @@ index b49605267ba7..58638908ffd5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("parameter_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
-index 595e2a4b47fc..1a73e6f7cce3 100644
+index 543236d4b64f..a1bd6d4f00ca 100644
--- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74314,7 +72382,7 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74410,7 +72478,7 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74430,14 +72498,12 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74476,12 +72542,10 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74490,28 +72554,27 @@ index 595e2a4b47fc..1a73e6f7cce3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sctp_packet_gn")
diff --git third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
-index 501e087cf4f4..46aca2b63439 100644
+index 4f179f644afd..f3745d68b2a2 100644
--- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74528,7 +72591,7 @@ index 501e087cf4f4..46aca2b63439 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74624,7 +72687,7 @@ index 501e087cf4f4..46aca2b63439 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74644,14 +72707,12 @@ index 501e087cf4f4..46aca2b63439 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74690,12 +72751,10 @@ index 501e087cf4f4..46aca2b63439 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74704,28 +72763,27 @@ index 501e087cf4f4..46aca2b63439 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("tlv_trait_gn")
diff --git third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
-index 8bffc5ccb823..076f5770a5d6 100644
+index 3c15f57a7e7c..b63147ae3a61 100644
--- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74742,7 +72800,7 @@ index 8bffc5ccb823..076f5770a5d6 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -74838,7 +72896,7 @@ index 8bffc5ccb823..076f5770a5d6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74858,14 +72916,12 @@ index 8bffc5ccb823..076f5770a5d6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -74904,12 +72960,10 @@ index 8bffc5ccb823..076f5770a5d6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -74918,28 +72972,27 @@ index 8bffc5ccb823..076f5770a5d6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("factory_gn")
diff --git third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
-index 927b5a428912..a6ed4c24ef15 100644
+index 25e24b187285..ccb418ece198 100644
--- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -74956,7 +73009,7 @@ index 927b5a428912..a6ed4c24ef15 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75045,7 +73098,7 @@ index 927b5a428912..a6ed4c24ef15 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75065,14 +73118,12 @@ index 927b5a428912..a6ed4c24ef15 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75111,12 +73162,10 @@ index 927b5a428912..a6ed4c24ef15 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75125,28 +73174,27 @@ index 927b5a428912..a6ed4c24ef15 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("socket_gn")
diff --git third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
-index 653ad6fa967b..7aa084722ff6 100644
+index 0443a29b77d4..4528b2721a7b 100644
--- third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75163,7 +73211,7 @@ index 653ad6fa967b..7aa084722ff6 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75252,7 +73300,7 @@ index 653ad6fa967b..7aa084722ff6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75268,19 +73316,17 @@ index 653ad6fa967b..7aa084722ff6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -75306,35 +73352,32 @@ index 653ad6fa967b..7aa084722ff6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("types_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
-index 3a621be8ee0c..c41e3cea29db 100644
+index 70a0e2b772d1..ee1c7992d039 100644
--- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75351,7 +73394,7 @@ index 3a621be8ee0c..c41e3cea29db 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75447,7 +73490,7 @@ index 3a621be8ee0c..c41e3cea29db 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75467,14 +73510,12 @@ index 3a621be8ee0c..c41e3cea29db 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75513,12 +73554,10 @@ index 3a621be8ee0c..c41e3cea29db 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75527,28 +73566,27 @@ index 3a621be8ee0c..c41e3cea29db 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("data_tracker_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
-index 970d2ca3e440..725acafe32f8 100644
+index f107fbd0ea75..4afed3eeafd1 100644
--- third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75565,7 +73603,7 @@ index 970d2ca3e440..725acafe32f8 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75661,7 +73699,7 @@ index 970d2ca3e440..725acafe32f8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75681,14 +73719,12 @@ index 970d2ca3e440..725acafe32f8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75727,12 +73763,10 @@ index 970d2ca3e440..725acafe32f8 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75741,28 +73775,27 @@ index 970d2ca3e440..725acafe32f8 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("interleaved_reassembly_streams_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
-index ebc514445924..cdf1107bd75d 100644
+index b5de81a0f0e3..ba62dcc0cc0a 100644
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75779,7 +73812,7 @@ index ebc514445924..cdf1107bd75d 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -75875,7 +73908,7 @@ index ebc514445924..cdf1107bd75d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75895,14 +73928,12 @@ index ebc514445924..cdf1107bd75d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -75941,12 +73972,10 @@ index ebc514445924..cdf1107bd75d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -75955,28 +73984,27 @@ index ebc514445924..cdf1107bd75d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("reassembly_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
-index d2b225cc9eb1..a219368de740 100644
+index 2fd7cf0908d9..b2c7a7b46ae0 100644
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -75993,7 +74021,7 @@ index d2b225cc9eb1..a219368de740 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76089,7 +74117,7 @@ index d2b225cc9eb1..a219368de740 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76105,19 +74133,17 @@ index d2b225cc9eb1..a219368de740 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -76143,35 +74169,32 @@ index d2b225cc9eb1..a219368de740 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("reassembly_streams_gn")
diff --git third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
-index ec9eb8c8dca6..e9613ef83f3f 100644
+index bd8e9eb36141..f86e4e49ef1e 100644
--- third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76188,7 +74211,7 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76284,7 +74307,7 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76304,14 +74327,12 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -76350,12 +74371,10 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -76364,28 +74383,27 @@ index ec9eb8c8dca6..e9613ef83f3f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("traditional_reassembly_streams_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
-index 5191b1ff25e5..d5553041ffcf 100644
+index c57262d8ef49..ffa8a5cda3c8 100644
--- third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76402,7 +74420,7 @@ index 5191b1ff25e5..d5553041ffcf 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76498,7 +74516,7 @@ index 5191b1ff25e5..d5553041ffcf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76514,19 +74532,17 @@ index 5191b1ff25e5..d5553041ffcf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -76552,35 +74568,32 @@ index 5191b1ff25e5..d5553041ffcf 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("context_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
-index f60268863f14..6a8f037b8820 100644
+index 5120a15a6937..e2c9efaec29d 100644
--- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76597,7 +74610,7 @@ index f60268863f14..6a8f037b8820 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76693,7 +74706,7 @@ index f60268863f14..6a8f037b8820 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76713,14 +74726,12 @@ index f60268863f14..6a8f037b8820 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -76759,12 +74770,10 @@ index f60268863f14..6a8f037b8820 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -76773,28 +74782,27 @@ index f60268863f14..6a8f037b8820 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("dcsctp_socket_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
-index b6673bdcb35d..38c33f31da9f 100644
+index eb861906769d..050ff51340a0 100644
--- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -76811,7 +74819,7 @@ index b6673bdcb35d..38c33f31da9f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -76907,7 +74915,7 @@ index b6673bdcb35d..38c33f31da9f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76927,14 +74935,12 @@ index b6673bdcb35d..38c33f31da9f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -76973,12 +74979,10 @@ index b6673bdcb35d..38c33f31da9f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -76987,28 +74991,27 @@ index b6673bdcb35d..38c33f31da9f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("heartbeat_handler_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
-index 2a98bd00a625..b510960c9a21 100644
+index 052785897c7c..5c764530cba1 100644
--- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77025,7 +75028,7 @@ index 2a98bd00a625..b510960c9a21 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77121,7 +75124,7 @@ index 2a98bd00a625..b510960c9a21 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77141,14 +75144,12 @@ index 2a98bd00a625..b510960c9a21 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77187,12 +75188,10 @@ index 2a98bd00a625..b510960c9a21 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77201,28 +75200,27 @@ index 2a98bd00a625..b510960c9a21 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("packet_sender_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
-index 8f3480e9ca8d..7a29d5249b18 100644
+index 421593aa97f2..659bf023c4a3 100644
--- third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77239,7 +75237,7 @@ index 8f3480e9ca8d..7a29d5249b18 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77335,7 +75333,7 @@ index 8f3480e9ca8d..7a29d5249b18 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77355,14 +75353,12 @@ index 8f3480e9ca8d..7a29d5249b18 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77401,12 +75397,10 @@ index 8f3480e9ca8d..7a29d5249b18 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77415,28 +75409,27 @@ index 8f3480e9ca8d..7a29d5249b18 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stream_reset_handler_gn")
diff --git third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
-index 1fceb333f990..dbf0adade674 100644
+index 7d29e6f235bc..bbe20788c261 100644
--- third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77453,7 +75446,7 @@ index 1fceb333f990..dbf0adade674 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77549,7 +75542,7 @@ index 1fceb333f990..dbf0adade674 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77569,14 +75562,12 @@ index 1fceb333f990..dbf0adade674 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77615,12 +75606,10 @@ index 1fceb333f990..dbf0adade674 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77629,28 +75618,27 @@ index 1fceb333f990..dbf0adade674 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("transmission_control_block_gn")
diff --git third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
-index 55a0b4115a34..d8d1eb6264ab 100644
+index 63c797a30bdd..c75a4734ac3f 100644
--- third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77667,7 +75655,7 @@ index 55a0b4115a34..d8d1eb6264ab 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77763,7 +75751,7 @@ index 55a0b4115a34..d8d1eb6264ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77783,14 +75771,12 @@ index 55a0b4115a34..d8d1eb6264ab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -77829,12 +75815,10 @@ index 55a0b4115a34..d8d1eb6264ab 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -77843,28 +75827,27 @@ index 55a0b4115a34..d8d1eb6264ab 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("task_queue_timeout_gn")
diff --git third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
-index cd563c4058bc..df65aca6a01c 100644
+index 54e896eb35ab..51253edabb96 100644
--- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -77881,7 +75864,7 @@ index cd563c4058bc..df65aca6a01c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -77970,7 +75953,7 @@ index cd563c4058bc..df65aca6a01c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77990,14 +75973,12 @@ index cd563c4058bc..df65aca6a01c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78036,12 +76017,10 @@ index cd563c4058bc..df65aca6a01c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78050,28 +76029,27 @@ index cd563c4058bc..df65aca6a01c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timer_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
-index ac4bbdcd2338..326c428a1778 100644
+index 0548bf7afb2f..cdd387364988 100644
--- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78088,7 +76066,7 @@ index ac4bbdcd2338..326c428a1778 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78184,7 +76162,7 @@ index ac4bbdcd2338..326c428a1778 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78204,14 +76182,12 @@ index ac4bbdcd2338..326c428a1778 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78250,12 +76226,10 @@ index ac4bbdcd2338..326c428a1778 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78264,28 +76238,27 @@ index ac4bbdcd2338..326c428a1778 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("outstanding_data_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
-index b0386ae0a511..cbc589514252 100644
+index 95e9bc2679a5..2ebdf85adf8a 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78302,7 +76275,7 @@ index b0386ae0a511..cbc589514252 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78398,7 +76371,7 @@ index b0386ae0a511..cbc589514252 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78418,14 +76391,12 @@ index b0386ae0a511..cbc589514252 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78464,12 +76435,10 @@ index b0386ae0a511..cbc589514252 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78478,28 +76447,27 @@ index b0386ae0a511..cbc589514252 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("retransmission_error_counter_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
-index 58fdf7dd5115..55c75c1fb402 100644
+index aaaf15543dae..db73ce751e20 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78516,7 +76484,7 @@ index 58fdf7dd5115..55c75c1fb402 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78612,7 +76580,7 @@ index 58fdf7dd5115..55c75c1fb402 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78632,14 +76600,12 @@ index 58fdf7dd5115..55c75c1fb402 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78678,12 +76644,10 @@ index 58fdf7dd5115..55c75c1fb402 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78692,28 +76656,27 @@ index 58fdf7dd5115..55c75c1fb402 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("retransmission_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
-index 9a258b6b20eb..0a9dfa499321 100644
+index 5c8b76f3df08..1c6b0b3c59c2 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78730,7 +76693,7 @@ index 9a258b6b20eb..0a9dfa499321 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -78819,7 +76782,7 @@ index 9a258b6b20eb..0a9dfa499321 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78839,14 +76802,12 @@ index 9a258b6b20eb..0a9dfa499321 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -78885,12 +76846,10 @@ index 9a258b6b20eb..0a9dfa499321 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -78899,28 +76858,27 @@ index 9a258b6b20eb..0a9dfa499321 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("retransmission_timeout_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
-index 91c786eed99b..48c5fbaf1ba4 100644
+index 32b453815025..38eff16e76ca 100644
--- third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -78937,7 +76895,7 @@ index 91c786eed99b..48c5fbaf1ba4 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79033,7 +76991,7 @@ index 91c786eed99b..48c5fbaf1ba4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79053,14 +77011,12 @@ index 91c786eed99b..48c5fbaf1ba4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -79099,12 +77055,10 @@ index 91c786eed99b..48c5fbaf1ba4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -79113,28 +77067,27 @@ index 91c786eed99b..48c5fbaf1ba4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rr_send_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
-index 59294c3bd400..0926b8455a15 100644
+index ecd82d9dfcc4..de8b818042ce 100644
--- third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79151,7 +77104,7 @@ index 59294c3bd400..0926b8455a15 100644
FINAL_LIBRARY = "xul"
-@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79247,7 +77200,7 @@ index 59294c3bd400..0926b8455a15 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79263,19 +77216,17 @@ index 59294c3bd400..0926b8455a15 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -79301,35 +77252,32 @@ index 59294c3bd400..0926b8455a15 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("send_queue_gn")
diff --git third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
-index 055f438670b6..9a873890e77f 100644
+index 083e381121c5..5401aebf1609 100644
--- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79346,7 +77294,7 @@ index 055f438670b6..9a873890e77f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79442,7 +77390,7 @@ index 055f438670b6..9a873890e77f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79462,14 +77410,12 @@ index 055f438670b6..9a873890e77f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -79508,12 +77454,10 @@ index 055f438670b6..9a873890e77f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -79522,28 +77466,27 @@ index 055f438670b6..9a873890e77f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stream_scheduler_gn")
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
-index 7e32eb6e2755..8fdcb6772390 100644
+index 46a480860fe6..fe74f0c08984 100644
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79560,7 +77503,7 @@ index 7e32eb6e2755..8fdcb6772390 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79657,7 +77600,7 @@ index 7e32eb6e2755..8fdcb6772390 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79677,14 +77620,12 @@ index 7e32eb6e2755..8fdcb6772390 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -79723,12 +77664,10 @@ index 7e32eb6e2755..8fdcb6772390 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -79737,28 +77676,27 @@ index 7e32eb6e2755..8fdcb6772390 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("async_dns_resolver_gn")
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
-index 7a146473b341..f51588d4d243 100644
+index 07bb6443d9d6..91b568c42ae2 100644
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79775,7 +77713,7 @@ index 7a146473b341..f51588d4d243 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -79860,7 +77798,7 @@ index 7a146473b341..f51588d4d243 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79876,19 +77814,17 @@ index 7a146473b341..f51588d4d243 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -79914,35 +77850,32 @@ index 7a146473b341..f51588d4d243 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("async_packet_socket_gn")
-diff --git third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-index aeda0b1a6b32..03d61f0aaa19 100644
---- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+diff --git third_party/libwebrtc/rtc_base/base64_gn/moz.build third_party/libwebrtc/rtc_base/base64_gn/moz.build
+index 3de0b7560849..50ee6b06bc6a 100644
+--- third_party/libwebrtc/rtc_base/base64_gn/moz.build
++++ third_party/libwebrtc/rtc_base/base64_gn/moz.build
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -79959,7 +77892,7 @@ index aeda0b1a6b32..03d61f0aaa19 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80004,10 +77937,6 @@ index aeda0b1a6b32..03d61f0aaa19 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -80048,18 +77977,11 @@ index aeda0b1a6b32..03d61f0aaa19 100644
- DEFINES["_WINDOWS"] = True
- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
- DEFINES["__STD_C"] = True
--
-- OS_LIBS += [
-- "crypt32",
-- "iphlpapi",
-- "secur32",
-- "winmm"
-- ]
+ DEFINES["_DEBUG"] = True
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80079,14 +78001,12 @@ index aeda0b1a6b32..03d61f0aaa19 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80125,12 +78045,10 @@ index aeda0b1a6b32..03d61f0aaa19 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80139,28 +78057,27 @@ index aeda0b1a6b32..03d61f0aaa19 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
- Library("audio_format_to_string_gn")
+ Library("base64_gn")
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
-index 0a6ec847b887..94c68e80890c 100644
+index ffff7692d155..4c211b919333 100644
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80177,7 +78094,7 @@ index 0a6ec847b887..94c68e80890c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80266,7 +78183,7 @@ index 0a6ec847b887..94c68e80890c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80286,14 +78203,12 @@ index 0a6ec847b887..94c68e80890c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80332,12 +78247,10 @@ index 0a6ec847b887..94c68e80890c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80346,28 +78259,27 @@ index 0a6ec847b887..94c68e80890c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bit_buffer_gn")
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
-index 3d7f0613554f..0b19ed3b02dd 100644
+index 5ac7d2799a21..bb005444b014 100644
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80384,7 +78296,7 @@ index 3d7f0613554f..0b19ed3b02dd 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80480,7 +78392,7 @@ index 3d7f0613554f..0b19ed3b02dd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80500,14 +78412,12 @@ index 3d7f0613554f..0b19ed3b02dd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80546,12 +78456,10 @@ index 3d7f0613554f..0b19ed3b02dd 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80560,28 +78468,27 @@ index 3d7f0613554f..0b19ed3b02dd 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitrate_tracker_gn")
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
-index 559f4069b391..72c0bffa6821 100644
+index eee5ccd81304..7d0af1877572 100644
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80598,7 +78505,7 @@ index 559f4069b391..72c0bffa6821 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80687,7 +78594,7 @@ index 559f4069b391..72c0bffa6821 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80707,14 +78614,12 @@ index 559f4069b391..72c0bffa6821 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -80753,12 +78658,10 @@ index 559f4069b391..72c0bffa6821 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -80767,28 +78670,27 @@ index 559f4069b391..72c0bffa6821 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("bitstream_reader_gn")
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
-index f21b4b8eab2a..9d63b938f605 100644
+index ef4cb47eab49..a43d4f89c6ba 100644
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80805,7 +78707,7 @@ index f21b4b8eab2a..9d63b938f605 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -80894,7 +78796,7 @@ index f21b4b8eab2a..9d63b938f605 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80910,19 +78812,17 @@ index f21b4b8eab2a..9d63b938f605 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -80948,35 +78848,32 @@ index f21b4b8eab2a..9d63b938f605 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("buffer_gn")
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
-index afd619f1dfaa..313d261ab5ef 100644
+index 4d0296e2b9af..c5b976275752 100644
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -80993,7 +78890,7 @@ index afd619f1dfaa..313d261ab5ef 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81082,7 +78979,7 @@ index afd619f1dfaa..313d261ab5ef 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81102,14 +78999,12 @@ index afd619f1dfaa..313d261ab5ef 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -81148,12 +79043,10 @@ index afd619f1dfaa..313d261ab5ef 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -81162,28 +79055,27 @@ index afd619f1dfaa..313d261ab5ef 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("byte_buffer_gn")
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
-index 136f9ba39118..26d600457629 100644
+index d357971ac11b..c936f00bf8ee 100644
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81200,7 +79092,7 @@ index 136f9ba39118..26d600457629 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81285,7 +79177,7 @@ index 136f9ba39118..26d600457629 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81301,19 +79193,17 @@ index 136f9ba39118..26d600457629 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -81339,35 +79229,32 @@ index 136f9ba39118..26d600457629 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("byte_order_gn")
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
-index 53b3db3c29a4..0d20c2fc85df 100644
+index dbd6fb44f059..119f166be716 100644
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81384,7 +79271,7 @@ index 53b3db3c29a4..0d20c2fc85df 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81473,7 +79360,7 @@ index 53b3db3c29a4..0d20c2fc85df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81493,14 +79380,12 @@ index 53b3db3c29a4..0d20c2fc85df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -81539,12 +79424,10 @@ index 53b3db3c29a4..0d20c2fc85df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -81553,28 +79436,27 @@ index 53b3db3c29a4..0d20c2fc85df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("checks_gn")
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
-index 4a2733a2545e..d2e7e6527fa8 100644
+index 1b95fbaa6d76..6fcc88e2c397 100644
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81591,7 +79473,7 @@ index 4a2733a2545e..d2e7e6527fa8 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81676,7 +79558,7 @@ index 4a2733a2545e..d2e7e6527fa8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81692,19 +79574,17 @@ index 4a2733a2545e..d2e7e6527fa8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -81730,35 +79610,32 @@ index 4a2733a2545e..d2e7e6527fa8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("compile_assert_c_gn")
diff --git third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
-index c6da64921be3..c5cb7312d73b 100644
+index 45f3542a1cf3..f5aede81a63d 100644
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81775,7 +79652,7 @@ index c6da64921be3..c5cb7312d73b 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -81864,7 +79741,7 @@ index c6da64921be3..c5cb7312d73b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81884,14 +79761,12 @@ index c6da64921be3..c5cb7312d73b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -81930,12 +79805,10 @@ index c6da64921be3..c5cb7312d73b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -81944,28 +79817,27 @@ index c6da64921be3..c5cb7312d73b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("flat_containers_internal_gn")
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
-index 3e56e73e5097..7a56affd7e8f 100644
+index 12d9f24a5dea..03965a3dbbbd 100644
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -81982,7 +79854,7 @@ index 3e56e73e5097..7a56affd7e8f 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82071,7 +79943,7 @@ index 3e56e73e5097..7a56affd7e8f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82087,19 +79959,17 @@ index 3e56e73e5097..7a56affd7e8f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82125,35 +79995,32 @@ index 3e56e73e5097..7a56affd7e8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("flat_map_gn")
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
-index 74e084843128..f2c66f590080 100644
+index 94d72b0be826..9bf7b297f73d 100644
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82170,7 +80037,7 @@ index 74e084843128..f2c66f590080 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82259,7 +80126,7 @@ index 74e084843128..f2c66f590080 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82275,19 +80142,17 @@ index 74e084843128..f2c66f590080 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82313,35 +80178,32 @@ index 74e084843128..f2c66f590080 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("flat_set_gn")
diff --git third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
-index 686d3cca374a..d6da3bf48535 100644
+index 290fa237597c..95fee876429c 100644
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82358,7 +80220,7 @@ index 686d3cca374a..d6da3bf48535 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82447,7 +80309,7 @@ index 686d3cca374a..d6da3bf48535 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82467,14 +80329,12 @@ index 686d3cca374a..d6da3bf48535 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -82513,12 +80373,10 @@ index 686d3cca374a..d6da3bf48535 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -82527,28 +80385,27 @@ index 686d3cca374a..d6da3bf48535 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("copy_on_write_buffer_gn")
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-index 9f7dcaa51748..38276f04ccd4 100644
+index d19a77f5a18b..95b1a36564bc 100644
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82565,7 +80422,7 @@ index 9f7dcaa51748..38276f04ccd4 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82654,7 +80511,7 @@ index 9f7dcaa51748..38276f04ccd4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82674,14 +80531,12 @@ index 9f7dcaa51748..38276f04ccd4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -82720,12 +80575,10 @@ index 9f7dcaa51748..38276f04ccd4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -82734,28 +80587,27 @@ index 9f7dcaa51748..38276f04ccd4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("criticalsection_gn")
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-index 17680417adbf..b0d8788bfab7 100644
+index 6d17c8740b6c..4081536caf3a 100644
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82772,7 +80624,7 @@ index 17680417adbf..b0d8788bfab7 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -82861,7 +80713,7 @@ index 17680417adbf..b0d8788bfab7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82877,19 +80729,17 @@ index 17680417adbf..b0d8788bfab7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82915,35 +80765,32 @@ index 17680417adbf..b0d8788bfab7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("divide_round_gn")
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
-index 5dca1908a970..4539c1310eed 100644
+index b11b9ea3a10f..7ff506e6f033 100644
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -82960,7 +80807,7 @@ index 5dca1908a970..4539c1310eed 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83045,7 +80892,7 @@ index 5dca1908a970..4539c1310eed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83061,19 +80908,17 @@ index 5dca1908a970..4539c1310eed 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -83099,35 +80944,32 @@ index 5dca1908a970..4539c1310eed 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("dscp_gn")
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
-index cb48a7a70349..21989ec09d1b 100644
+index 8e75ad113c46..7d3dce09ccf7 100644
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83144,7 +80986,7 @@ index cb48a7a70349..21989ec09d1b 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83240,7 +81082,7 @@ index cb48a7a70349..21989ec09d1b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83260,14 +81102,12 @@ index cb48a7a70349..21989ec09d1b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83306,12 +81146,10 @@ index cb48a7a70349..21989ec09d1b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83320,28 +81158,27 @@ index cb48a7a70349..21989ec09d1b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("event_tracer_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
-index 8b44e5660921..6863054ca81f 100644
+index 10f82d3ff81e..40fcc18fd804 100644
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83358,7 +81195,7 @@ index 8b44e5660921..6863054ca81f 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83454,7 +81291,7 @@ index 8b44e5660921..6863054ca81f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83474,14 +81311,12 @@ index 8b44e5660921..6863054ca81f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83520,12 +81355,10 @@ index 8b44e5660921..6863054ca81f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83534,28 +81367,27 @@ index 8b44e5660921..6863054ca81f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("alr_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
-index 1c59ca708d2f..ee64861ee262 100644
+index 4b8665b1b4d3..3186f94b957f 100644
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83572,7 +81404,7 @@ index 1c59ca708d2f..ee64861ee262 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83672,7 +81504,7 @@ index 1c59ca708d2f..ee64861ee262 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83692,14 +81524,12 @@ index 1c59ca708d2f..ee64861ee262 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83738,12 +81568,10 @@ index 1c59ca708d2f..ee64861ee262 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83752,28 +81580,27 @@ index 1c59ca708d2f..ee64861ee262 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("balanced_degradation_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
-index e5a9ffdfd115..4b00ef90140b 100644
+index c589d3227b8f..ca1de2ba5686 100644
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -83790,7 +81617,7 @@ index e5a9ffdfd115..4b00ef90140b 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -83890,7 +81717,7 @@ index e5a9ffdfd115..4b00ef90140b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83910,14 +81737,12 @@ index e5a9ffdfd115..4b00ef90140b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -83956,12 +81781,10 @@ index e5a9ffdfd115..4b00ef90140b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -83970,28 +81793,27 @@ index e5a9ffdfd115..4b00ef90140b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoder_info_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
-index 988cd2e4418b..b55c78991ab4 100644
+index c20b2e2aa6d7..89b499bfa973 100644
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84008,7 +81830,7 @@ index 988cd2e4418b..b55c78991ab4 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84104,7 +81926,7 @@ index 988cd2e4418b..b55c78991ab4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84124,14 +81946,12 @@ index 988cd2e4418b..b55c78991ab4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84170,12 +81990,10 @@ index 988cd2e4418b..b55c78991ab4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84184,28 +82002,27 @@ index 988cd2e4418b..b55c78991ab4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trial_parser_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
-index 872b4c22020d..25331deec501 100644
+index a1cdc70739b0..593522344bb9 100644
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84222,7 +82039,7 @@ index 872b4c22020d..25331deec501 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84318,7 +82135,7 @@ index 872b4c22020d..25331deec501 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84338,14 +82155,12 @@ index 872b4c22020d..25331deec501 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84384,12 +82199,10 @@ index 872b4c22020d..25331deec501 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84398,28 +82211,27 @@ index 872b4c22020d..25331deec501 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("keyframe_interval_settings_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
-index 0ce888f06f9a..24438b7ab997 100644
+index 4b3f27a4b3c3..d6b28a71bc0f 100644
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84436,7 +82248,7 @@ index 0ce888f06f9a..24438b7ab997 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84532,7 +82344,7 @@ index 0ce888f06f9a..24438b7ab997 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84552,14 +82364,12 @@ index 0ce888f06f9a..24438b7ab997 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84598,12 +82408,10 @@ index 0ce888f06f9a..24438b7ab997 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84612,28 +82420,27 @@ index 0ce888f06f9a..24438b7ab997 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("min_video_bitrate_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
-index 888bb6bed449..1dfdf96d71ff 100644
+index a826e388bec4..0db52e8261d9 100644
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84650,7 +82457,7 @@ index 888bb6bed449..1dfdf96d71ff 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84746,7 +82553,7 @@ index 888bb6bed449..1dfdf96d71ff 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84766,14 +82573,12 @@ index 888bb6bed449..1dfdf96d71ff 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -84812,12 +82617,10 @@ index 888bb6bed449..1dfdf96d71ff 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -84826,28 +82629,27 @@ index 888bb6bed449..1dfdf96d71ff 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("normalize_simulcast_size_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
-index f73e005019fd..ce493015ff83 100644
+index a15b6a0f37fa..f6268077ed0d 100644
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -84864,7 +82666,7 @@ index f73e005019fd..ce493015ff83 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -84960,7 +82762,7 @@ index f73e005019fd..ce493015ff83 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84980,14 +82782,12 @@ index f73e005019fd..ce493015ff83 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85026,12 +82826,10 @@ index f73e005019fd..ce493015ff83 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85040,28 +82838,27 @@ index f73e005019fd..ce493015ff83 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("quality_scaler_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
-index 5bd7f2933ddf..7f2881ba4ecf 100644
+index 6656011a3f73..9f3c461f759b 100644
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85078,7 +82875,7 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85178,7 +82975,7 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85198,14 +82995,12 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85244,12 +83039,10 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85258,28 +83051,27 @@ index 5bd7f2933ddf..7f2881ba4ecf 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("quality_scaling_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
-index 052cf5f6a689..9bf33452f94d 100644
+index 882e6c023720..af436eb83128 100644
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85296,7 +83088,7 @@ index 052cf5f6a689..9bf33452f94d 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85396,7 +83188,7 @@ index 052cf5f6a689..9bf33452f94d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85416,14 +83208,12 @@ index 052cf5f6a689..9bf33452f94d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85462,12 +83252,10 @@ index 052cf5f6a689..9bf33452f94d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85476,28 +83264,27 @@ index 052cf5f6a689..9bf33452f94d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_control_settings_gn")
diff --git third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
-index f76932f63f73..9879b8168842 100644
+index 3329e9d7773e..b1f7e6b7b42c 100644
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85514,7 +83301,7 @@ index f76932f63f73..9879b8168842 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85610,7 +83397,7 @@ index f76932f63f73..9879b8168842 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85630,14 +83417,12 @@ index f76932f63f73..9879b8168842 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85676,12 +83461,10 @@ index f76932f63f73..9879b8168842 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85690,28 +83473,27 @@ index f76932f63f73..9879b8168842 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stable_target_rate_experiment_gn")
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
-index 8b101531d822..00a19d71ea3a 100644
+index 2dab806a0600..3811dae58fa1 100644
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85728,7 +83510,7 @@ index 8b101531d822..00a19d71ea3a 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -85824,7 +83606,7 @@ index 8b101531d822..00a19d71ea3a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85844,14 +83626,12 @@ index 8b101531d822..00a19d71ea3a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -85890,12 +83670,10 @@ index 8b101531d822..00a19d71ea3a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -85904,28 +83682,27 @@ index 8b101531d822..00a19d71ea3a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frequency_tracker_gn")
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
-index 82de9b80ab57..d47c31c251d7 100644
+index c551d6f8e7db..6afbfab03fe8 100644
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -85942,7 +83719,7 @@ index 82de9b80ab57..d47c31c251d7 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86027,7 +83804,7 @@ index 82de9b80ab57..d47c31c251d7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86043,19 +83820,17 @@ index 82de9b80ab57..d47c31c251d7 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -86081,35 +83856,32 @@ index 82de9b80ab57..d47c31c251d7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("gtest_prod_gn")
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
-index f67e021ff723..304c01970849 100644
+index 633a84eb5698..945c0d939375 100644
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -86126,7 +83898,7 @@ index f67e021ff723..304c01970849 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86215,7 +83987,7 @@ index f67e021ff723..304c01970849 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86235,14 +84007,12 @@ index f67e021ff723..304c01970849 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -86281,12 +84051,10 @@ index f67e021ff723..304c01970849 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -86295,24 +84063,22 @@ index f67e021ff723..304c01970849 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("histogram_percentile_counter_gn")
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
deleted file mode 100644
-index 434a9e341736..000000000000
+index b6c099877828..000000000000
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
+++ /dev/null
-@@ -1,94 +0,0 @@
+@@ -1,96 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -86331,6 +84097,7 @@ index 434a9e341736..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ANDROID"] = True
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -86350,6 +84117,7 @@ index 434a9e341736..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -86408,15 +84176,16 @@ index 434a9e341736..000000000000
-
-Library("ifaddrs_android_gn")
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
-index e831c48bf944..8ae6a91bd52a 100644
+index 81956aa523cb..3898fa6a642b 100644
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -86433,7 +84202,7 @@ index e831c48bf944..8ae6a91bd52a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86518,7 +84287,7 @@ index e831c48bf944..8ae6a91bd52a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86534,19 +84303,17 @@ index e831c48bf944..8ae6a91bd52a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -86572,35 +84339,32 @@ index e831c48bf944..8ae6a91bd52a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ignore_wundef_gn")
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
-index 6d3c5967478b..5454e84f852d 100644
+index df4bfbe590f8..2e35650e0118 100644
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -86617,7 +84381,7 @@ index 6d3c5967478b..5454e84f852d 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86713,7 +84477,7 @@ index 6d3c5967478b..5454e84f852d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86733,14 +84497,12 @@ index 6d3c5967478b..5454e84f852d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -86779,12 +84541,10 @@ index 6d3c5967478b..5454e84f852d 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -86793,28 +84553,27 @@ index 6d3c5967478b..5454e84f852d 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("ip_address_gn")
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
-index 2e3439975796..2b70dba63d75 100644
+index 671657aa368d..25c4dcfeffd4 100644
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -86832,7 +84591,7 @@ index 2e3439975796..2b70dba63d75 100644
FINAL_LIBRARY = "xul"
-@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -86928,7 +84687,7 @@ index 2e3439975796..2b70dba63d75 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86948,14 +84707,12 @@ index 2e3439975796..2b70dba63d75 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -86994,12 +84751,10 @@ index 2e3439975796..2b70dba63d75 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -87008,28 +84763,27 @@ index 2e3439975796..2b70dba63d75 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("logging_gn")
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
-index a7aa7cf17c05..967ba5155c40 100644
+index ee7bf52578e1..8cf0cbacb8c7 100644
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87046,7 +84800,7 @@ index a7aa7cf17c05..967ba5155c40 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87131,7 +84885,7 @@ index a7aa7cf17c05..967ba5155c40 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87147,19 +84901,17 @@ index a7aa7cf17c05..967ba5155c40 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -87185,35 +84937,32 @@ index a7aa7cf17c05..967ba5155c40 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("macromagic_gn")
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
-index ad879ed8b81b..b3dc806d992a 100644
+index 2dee6afe49e4..0d337d8cb039 100644
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87230,7 +84979,7 @@ index ad879ed8b81b..b3dc806d992a 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87319,7 +85068,7 @@ index ad879ed8b81b..b3dc806d992a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87339,14 +85088,12 @@ index ad879ed8b81b..b3dc806d992a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -87385,12 +85132,10 @@ index ad879ed8b81b..b3dc806d992a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -87399,28 +85144,27 @@ index ad879ed8b81b..b3dc806d992a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("aligned_malloc_gn")
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
-index 8cdb73a27fd0..c8bec4191f51 100644
+index 73ea529287cf..293ce4f38dd7 100644
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87437,7 +85181,7 @@ index 8cdb73a27fd0..c8bec4191f51 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87526,7 +85270,7 @@ index 8cdb73a27fd0..c8bec4191f51 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87542,19 +85286,17 @@ index 8cdb73a27fd0..c8bec4191f51 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -87580,35 +85322,32 @@ index 8cdb73a27fd0..c8bec4191f51 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("mod_ops_gn")
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
-index a49d50e25645..dcfe7182feaf 100644
+index 2e59566bed66..0ab732b24e2c 100644
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87625,7 +85364,7 @@ index a49d50e25645..dcfe7182feaf 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87714,7 +85453,7 @@ index a49d50e25645..dcfe7182feaf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87730,19 +85469,17 @@ index a49d50e25645..dcfe7182feaf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -87768,35 +85505,32 @@ index a49d50e25645..dcfe7182feaf 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("moving_max_counter_gn")
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
-index da4038c212c5..63a9046032e6 100644
+index b77950bc7127..fba1ed0c6b80 100644
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -87813,7 +85547,7 @@ index da4038c212c5..63a9046032e6 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -87909,7 +85643,7 @@ index da4038c212c5..63a9046032e6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87929,14 +85663,12 @@ index da4038c212c5..63a9046032e6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -87975,12 +85707,10 @@ index da4038c212c5..63a9046032e6 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -87989,28 +85719,27 @@ index da4038c212c5..63a9046032e6 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("net_helpers_gn")
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
-index 906e6d8d17f1..18ee5d1fdabc 100644
+index 8ab0d1a1c443..00fbb2407fdc 100644
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88027,7 +85756,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88112,7 +85841,7 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88128,19 +85857,17 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -88166,35 +85893,32 @@ index 906e6d8d17f1..18ee5d1fdabc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ecn_marking_gn")
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
-index 77fa18cff5a1..d13d002b6880 100644
+index 81feecacf14b..f965c58c8b39 100644
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88211,7 +85935,7 @@ index 77fa18cff5a1..d13d002b6880 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88296,7 +86020,7 @@ index 77fa18cff5a1..d13d002b6880 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88316,14 +86040,12 @@ index 77fa18cff5a1..d13d002b6880 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88362,12 +86084,10 @@ index 77fa18cff5a1..d13d002b6880 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -88376,28 +86096,27 @@ index 77fa18cff5a1..d13d002b6880 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sent_packet_gn")
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
-index d10db84bffe6..545d8dd6e506 100644
+index b70c0869b9f4..cf164b3f193d 100644
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88414,7 +86133,7 @@ index d10db84bffe6..545d8dd6e506 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88503,7 +86222,7 @@ index d10db84bffe6..545d8dd6e506 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88523,14 +86242,12 @@ index d10db84bffe6..545d8dd6e506 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88569,12 +86286,10 @@ index d10db84bffe6..545d8dd6e506 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -88583,28 +86298,27 @@ index d10db84bffe6..545d8dd6e506 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("network_constants_gn")
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
-index d1712347f0ed..5a166bb0166e 100644
+index d796c3624894..a888f2abaa37 100644
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88621,7 +86335,7 @@ index d1712347f0ed..5a166bb0166e 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88710,7 +86424,7 @@ index d1712347f0ed..5a166bb0166e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88730,14 +86444,12 @@ index d1712347f0ed..5a166bb0166e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88776,12 +86488,10 @@ index d1712347f0ed..5a166bb0166e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -88790,28 +86500,27 @@ index d1712347f0ed..5a166bb0166e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("network_route_gn")
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
-index 4892dc8a0d94..42b2b3ff1848 100644
+index 383af03f4b8a..ee0e9f2d522c 100644
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -88828,7 +86537,7 @@ index 4892dc8a0d94..42b2b3ff1848 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -88925,7 +86634,7 @@ index 4892dc8a0d94..42b2b3ff1848 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88945,14 +86654,12 @@ index 4892dc8a0d94..42b2b3ff1848 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -88991,12 +86698,10 @@ index 4892dc8a0d94..42b2b3ff1848 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -89005,28 +86710,27 @@ index 4892dc8a0d94..42b2b3ff1848 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("null_socket_server_gn")
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
-index 8119c221d60a..068f1b3320b6 100644
+index c1906fd2a387..613d27903932 100644
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89043,7 +86747,7 @@ index 8119c221d60a..068f1b3320b6 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89132,7 +86836,7 @@ index 8119c221d60a..068f1b3320b6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89148,19 +86852,17 @@ index 8119c221d60a..068f1b3320b6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -89186,35 +86888,32 @@ index 8119c221d60a..068f1b3320b6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("one_time_event_gn")
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
-index 849279da99ee..aac4b6fd9e71 100644
+index 654b0f0b8824..cfd0a2978cdc 100644
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89231,7 +86930,7 @@ index 849279da99ee..aac4b6fd9e71 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89327,7 +87026,7 @@ index 849279da99ee..aac4b6fd9e71 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89347,14 +87046,12 @@ index 849279da99ee..aac4b6fd9e71 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -89393,12 +87090,10 @@ index 849279da99ee..aac4b6fd9e71 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -89407,28 +87102,27 @@ index 849279da99ee..aac4b6fd9e71 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("platform_thread_gn")
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
-index d1e17013974b..ee88bed9d853 100644
+index 327f3e200bb8..9242464f3a21 100644
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89445,7 +87139,7 @@ index d1e17013974b..ee88bed9d853 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89534,7 +87228,7 @@ index d1e17013974b..ee88bed9d853 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89554,14 +87248,12 @@ index d1e17013974b..ee88bed9d853 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -89600,12 +87292,10 @@ index d1e17013974b..ee88bed9d853 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -89614,28 +87304,27 @@ index d1e17013974b..ee88bed9d853 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("platform_thread_types_gn")
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
-index 1647aaa6b043..4fe577234a1d 100644
+index 0874b5aa6087..61bacf572dab 100644
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89652,7 +87341,7 @@ index 1647aaa6b043..4fe577234a1d 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89737,7 +87426,7 @@ index 1647aaa6b043..4fe577234a1d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89753,19 +87442,17 @@ index 1647aaa6b043..4fe577234a1d 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -89791,35 +87478,32 @@ index 1647aaa6b043..4fe577234a1d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("protobuf_utils_gn")
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
-index c9fa1320de9d..7f449fc09841 100644
+index 4fa501393c5a..2977e41f6f93 100644
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -89836,7 +87520,7 @@ index c9fa1320de9d..7f449fc09841 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -89925,7 +87609,7 @@ index c9fa1320de9d..7f449fc09841 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89945,14 +87629,12 @@ index c9fa1320de9d..7f449fc09841 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -89991,12 +87673,10 @@ index c9fa1320de9d..7f449fc09841 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90005,28 +87685,27 @@ index c9fa1320de9d..7f449fc09841 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("race_checker_gn")
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
-index 9ff8f952df81..b059729cb685 100644
+index 42e9f4292969..ef9dd3cd001a 100644
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90043,7 +87722,7 @@ index 9ff8f952df81..b059729cb685 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90132,7 +87811,7 @@ index 9ff8f952df81..b059729cb685 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90152,14 +87831,12 @@ index 9ff8f952df81..b059729cb685 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90198,12 +87875,10 @@ index 9ff8f952df81..b059729cb685 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90212,28 +87887,27 @@ index 9ff8f952df81..b059729cb685 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("random_gn")
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
-index 6458f194937c..4962afa749c1 100644
+index 608a490989a2..5b3d0be997df 100644
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90250,7 +87924,7 @@ index 6458f194937c..4962afa749c1 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90350,7 +88024,7 @@ index 6458f194937c..4962afa749c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90370,14 +88044,12 @@ index 6458f194937c..4962afa749c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90416,12 +88088,10 @@ index 6458f194937c..4962afa749c1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90430,28 +88100,27 @@ index 6458f194937c..4962afa749c1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_limiter_gn")
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
-index 26d116b0e48c..8c670a919e35 100644
+index 54839db68ac0..792d09980705 100644
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90468,7 +88137,7 @@ index 26d116b0e48c..8c670a919e35 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90564,7 +88233,7 @@ index 26d116b0e48c..8c670a919e35 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90584,14 +88253,12 @@ index 26d116b0e48c..8c670a919e35 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90630,12 +88297,10 @@ index 26d116b0e48c..8c670a919e35 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90644,28 +88309,27 @@ index 26d116b0e48c..8c670a919e35 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_statistics_gn")
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
-index d146c136ccfc..1e89fe6caec3 100644
+index e10833b0a989..b1a63691df31 100644
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90682,7 +88346,7 @@ index d146c136ccfc..1e89fe6caec3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90778,7 +88442,7 @@ index d146c136ccfc..1e89fe6caec3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90798,14 +88462,12 @@ index d146c136ccfc..1e89fe6caec3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -90844,12 +88506,10 @@ index d146c136ccfc..1e89fe6caec3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -90858,28 +88518,27 @@ index d146c136ccfc..1e89fe6caec3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rate_tracker_gn")
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
-index b3a330088e12..ee683704fec2 100644
+index 30cfbb15baee..0df4a80a7319 100644
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -90896,7 +88555,7 @@ index b3a330088e12..ee683704fec2 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -90981,7 +88640,7 @@ index b3a330088e12..ee683704fec2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90997,19 +88656,17 @@ index b3a330088e12..ee683704fec2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -91035,35 +88692,32 @@ index b3a330088e12..ee683704fec2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("refcount_gn")
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
-index b587c37b604b..c362ce5eaa3b 100644
+index e3c38a7a8821..3602d93b1ca4 100644
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91080,7 +88734,7 @@ index b587c37b604b..c362ce5eaa3b 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91169,7 +88823,7 @@ index b587c37b604b..c362ce5eaa3b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91185,19 +88839,17 @@ index b587c37b604b..c362ce5eaa3b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -91223,35 +88875,32 @@ index b587c37b604b..c362ce5eaa3b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rolling_accumulator_gn")
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
-index c79d22da2bb9..ce078cd78399 100644
+index 77e3de024fa1..cf21e61558bb 100644
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91268,7 +88917,7 @@ index c79d22da2bb9..ce078cd78399 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91364,7 +89013,7 @@ index c79d22da2bb9..ce078cd78399 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91384,14 +89033,12 @@ index c79d22da2bb9..ce078cd78399 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -91430,12 +89077,10 @@ index c79d22da2bb9..ce078cd78399 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -91444,28 +89089,27 @@ index c79d22da2bb9..ce078cd78399 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_event_gn")
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
-index 8b800dd4f0ac..71e90bea9fe1 100644
+index 0687c3138dae..8d218bfe7cff 100644
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91482,7 +89126,7 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91571,7 +89215,7 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -137,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91591,14 +89235,12 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -91637,12 +89279,10 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -91651,28 +89291,27 @@ index 8b800dd4f0ac..71e90bea9fe1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_numerics_gn")
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
-index c71137580318..cd11316dae92 100644
+index c93abdb78469..bf32218de21a 100644
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91689,7 +89328,7 @@ index c71137580318..cd11316dae92 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91774,7 +89413,7 @@ index c71137580318..cd11316dae92 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91790,19 +89429,17 @@ index c71137580318..cd11316dae92 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -91828,35 +89465,32 @@ index c71137580318..cd11316dae92 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("safe_compare_gn")
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
-index d8cc6abaaa62..5803fa4c65a4 100644
+index d7da28fb1f85..22a7237ba07d 100644
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -91873,7 +89507,7 @@ index d8cc6abaaa62..5803fa4c65a4 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -91962,7 +89596,7 @@ index d8cc6abaaa62..5803fa4c65a4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91978,19 +89612,17 @@ index d8cc6abaaa62..5803fa4c65a4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -92016,35 +89648,32 @@ index d8cc6abaaa62..5803fa4c65a4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("safe_conversions_gn")
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
-index f6763736acda..fddce9408b17 100644
+index 961f0bd72b1e..c576316e0fe9 100644
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92061,7 +89690,7 @@ index f6763736acda..fddce9408b17 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92150,7 +89779,7 @@ index f6763736acda..fddce9408b17 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92166,19 +89795,17 @@ index f6763736acda..fddce9408b17 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -92204,35 +89831,32 @@ index f6763736acda..fddce9408b17 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("safe_minmax_gn")
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
-index ed5f3a9be8a2..6505e7e52bac 100644
+index f6caca40a372..df2f524baf2b 100644
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92249,7 +89873,7 @@ index ed5f3a9be8a2..6505e7e52bac 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92338,7 +89962,7 @@ index ed5f3a9be8a2..6505e7e52bac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92358,14 +89982,12 @@ index ed5f3a9be8a2..6505e7e52bac 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -92404,12 +90026,10 @@ index ed5f3a9be8a2..6505e7e52bac 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -92418,28 +90038,27 @@ index ed5f3a9be8a2..6505e7e52bac 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sample_counter_gn")
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
-index f7903c8db54c..0bebe9378c50 100644
+index cbc6c4ce08a5..8a6f2ff9cdfe 100644
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92456,7 +90075,7 @@ index f7903c8db54c..0bebe9378c50 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92541,7 +90160,7 @@ index f7903c8db54c..0bebe9378c50 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92557,19 +90176,17 @@ index f7903c8db54c..0bebe9378c50 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -92595,35 +90212,32 @@ index f7903c8db54c..0bebe9378c50 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("sanitizer_gn")
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
-index cfadf85ec95b..cb58cf9db2f1 100644
+index da0d411790df..3b7abf48ec23 100644
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92640,7 +90254,7 @@ index cfadf85ec95b..cb58cf9db2f1 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92737,7 +90351,7 @@ index cfadf85ec95b..cb58cf9db2f1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92757,14 +90371,12 @@ index cfadf85ec95b..cb58cf9db2f1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -92803,12 +90415,10 @@ index cfadf85ec95b..cb58cf9db2f1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -92817,28 +90427,27 @@ index cfadf85ec95b..cb58cf9db2f1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("socket_address_gn")
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
-index 0161ebe4c277..652747e02185 100644
+index dc7939c48277..b236be3572d2 100644
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -92855,7 +90464,7 @@ index 0161ebe4c277..652747e02185 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -92952,7 +90561,7 @@ index 0161ebe4c277..652747e02185 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92968,19 +90577,17 @@ index 0161ebe4c277..652747e02185 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -93006,35 +90613,32 @@ index 0161ebe4c277..652747e02185 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("socket_factory_gn")
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
-index d427dcab649e..fee4041d1a3a 100644
+index 06b5a4bcb3ff..fcbb385f314f 100644
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93051,7 +90655,7 @@ index d427dcab649e..fee4041d1a3a 100644
FINAL_LIBRARY = "xul"
-@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93148,7 +90752,7 @@ index d427dcab649e..fee4041d1a3a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93168,14 +90772,12 @@ index d427dcab649e..fee4041d1a3a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -93214,12 +90816,10 @@ index d427dcab649e..fee4041d1a3a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -93228,28 +90828,27 @@ index d427dcab649e..fee4041d1a3a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("socket_gn")
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
-index 39b8b6eb86a6..95b310c97892 100644
+index 03f2f995636c..292d7dcb64ff 100644
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93266,7 +90865,7 @@ index 39b8b6eb86a6..95b310c97892 100644
FINAL_LIBRARY = "xul"
-@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93363,7 +90962,7 @@ index 39b8b6eb86a6..95b310c97892 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93379,19 +90978,17 @@ index 39b8b6eb86a6..95b310c97892 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -93417,35 +91014,32 @@ index 39b8b6eb86a6..95b310c97892 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("socket_server_gn")
diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
-index 44fd11fdd3bd..2a80ae26ad1a 100644
+index 2b58594242fa..cd78bce2c8a5 100644
--- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93462,7 +91056,7 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93547,7 +91141,7 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93563,19 +91157,17 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -93601,219 +91193,32 @@ index 44fd11fdd3bd..2a80ae26ad1a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ssl_adapter_gn")
-diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build
-index aad7b048f74e..1d0d9089f7b0 100644
---- third_party/libwebrtc/rtc_base/ssl_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
- DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
- DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
- DEFINES["RTC_ENABLE_VP9"] = True
-+DEFINES["USE_GLIB"] = "1"
-+DEFINES["USE_OZONE"] = "1"
-+DEFINES["WEBRTC_BSD"] = True
- DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
- DEFINES["WEBRTC_LIBRARY_IMPL"] = True
- DEFINES["WEBRTC_MOZILLA_BUILD"] = True
- DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
-+DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-+DEFINES["_FILE_OFFSET_BITS"] = "64"
-+DEFINES["_LARGEFILE64_SOURCE"] = True
-+DEFINES["_LARGEFILE_SOURCE"] = True
- DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-+DEFINES["__STDC_CONSTANT_MACROS"] = True
-+DEFINES["__STDC_FORMAT_MACROS"] = True
-
- FINAL_LIBRARY = "xul"
-
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
- if CONFIG["MOZ_DEBUG"] == "1":
-
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
--
--if CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["ANDROID"] = True
-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
-- DEFINES["HAVE_SYS_UIO_H"] = True
-- DEFINES["WEBRTC_ANDROID"] = True
-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_GNU_SOURCE"] = True
-- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["WEBRTC_MAC"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["USE_UDEV"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_GLIBCXX_ASSERTIONS"] = "1"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["WEBRTC_BSD"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-- DEFINES["NOMINMAX"] = True
-- DEFINES["NTDDI_VERSION"] = "0x0A000000"
-- DEFINES["PSAPI_VERSION"] = "2"
-- DEFINES["RTC_ENABLE_WIN_WGC"] = True
-- DEFINES["UNICODE"] = True
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["WEBRTC_WIN"] = True
-- DEFINES["WIN32"] = True
-- DEFINES["WIN32_LEAN_AND_MEAN"] = True
-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
-- DEFINES["WINVER"] = "0x0A00"
-- DEFINES["_ATL_NO_OPENGL"] = True
-- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
-- DEFINES["_CRT_RAND_S"] = True
-- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
-- DEFINES["_HAS_EXCEPTIONS"] = "0"
-- DEFINES["_HAS_NODISCARD"] = True
-- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_SECURE_ATL"] = True
-- DEFINES["_UNICODE"] = True
-- DEFINES["_WIN32_WINNT"] = "0x0A00"
-- DEFINES["_WINDOWS"] = True
-- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
-- DEFINES["__STD_C"] = True
-+ DEFINES["_DEBUG"] = True
-
- if CONFIG["TARGET_CPU"] == "aarch64":
-
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
- DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["__ARM_NEON__"] = "1"
-
--if CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["WEBRTC_ARCH_ARM"] = True
-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-- DEFINES["WEBRTC_HAS_NEON"] = True
--
--if CONFIG["TARGET_CPU"] == "loongarch64":
--
-- DEFINES["_GNU_SOURCE"] = True
--
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["TARGET_CPU"] == "mips64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["TARGET_CPU"] == "x86":
-
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
-
- DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
- Library("ssl_gn")
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-index c88b2439507f..8d6c9871ff19 100644
+index ae515ab20433..d01938625840 100644
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -93830,7 +91235,7 @@ index c88b2439507f..8d6c9871ff19 100644
FINAL_LIBRARY = "xul"
-@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,87 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -93919,7 +91324,7 @@ index c88b2439507f..8d6c9871ff19 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -93939,14 +91344,12 @@ index c88b2439507f..8d6c9871ff19 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -93985,12 +91388,10 @@ index c88b2439507f..8d6c9871ff19 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -93999,28 +91400,27 @@ index c88b2439507f..8d6c9871ff19 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("stringutils_gn")
diff --git third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
-index fbec1dfee3b4..4837fc994626 100644
+index ec3c56c17bfa..f64d83cc69ff 100644
--- third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
+++ third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94037,7 +91437,7 @@ index fbec1dfee3b4..4837fc994626 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94122,7 +91522,7 @@ index fbec1dfee3b4..4837fc994626 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94138,19 +91538,17 @@ index fbec1dfee3b4..4837fc994626 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94176,35 +91574,32 @@ index fbec1dfee3b4..4837fc994626 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("strong_alias_gn")
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
-index a85e8fd3cd0d..54cdd3a87bb6 100644
+index ba1dd17ad663..d4b79355709b 100644
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94221,7 +91616,7 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94310,7 +91705,7 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94326,19 +91721,17 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94364,35 +91757,32 @@ index a85e8fd3cd0d..54cdd3a87bb6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("swap_queue_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
-index d37689f4f122..7a4403e8a55c 100644
+index a88a968ac205..1fb7f52e323f 100644
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94409,7 +91799,7 @@ index d37689f4f122..7a4403e8a55c 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94498,7 +91888,7 @@ index d37689f4f122..7a4403e8a55c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94514,19 +91904,17 @@ index d37689f4f122..7a4403e8a55c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94552,35 +91940,32 @@ index d37689f4f122..7a4403e8a55c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("mutex_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
-index ff8f90793c1a..6b0a8bd9f8b4 100644
+index 167271deeb95..25fe0919eb51 100644
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94597,7 +91982,7 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94686,7 +92071,7 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94706,14 +92091,12 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -94752,12 +92135,10 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -94766,28 +92147,27 @@ index ff8f90793c1a..6b0a8bd9f8b4 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sequence_checker_internal_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
-index aa38d8281a42..87d2544ad6ab 100644
+index 567da5f0b74b..799b8997d401 100644
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -94804,7 +92184,7 @@ index aa38d8281a42..87d2544ad6ab 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -94889,7 +92269,7 @@ index aa38d8281a42..87d2544ad6ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94909,14 +92289,12 @@ index aa38d8281a42..87d2544ad6ab 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -94955,12 +92333,10 @@ index aa38d8281a42..87d2544ad6ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -94969,28 +92345,27 @@ index aa38d8281a42..87d2544ad6ab 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("yield_gn")
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
-index 3e944be847d3..a3f2dcd8cd24 100644
+index acf6a98373b7..04ae98653c29 100644
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95007,7 +92382,7 @@ index 3e944be847d3..a3f2dcd8cd24 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95096,7 +92471,7 @@ index 3e944be847d3..a3f2dcd8cd24 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95116,14 +92491,12 @@ index 3e944be847d3..a3f2dcd8cd24 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -95162,12 +92535,10 @@ index 3e944be847d3..a3f2dcd8cd24 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -95176,28 +92547,27 @@ index 3e944be847d3..a3f2dcd8cd24 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("yield_policy_gn")
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
-index 2561a159f2c1..c09f87b18f1c 100644
+index 1cb62e0945fa..088ea5019886 100644
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95214,7 +92584,7 @@ index 2561a159f2c1..c09f87b18f1c 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95299,7 +92669,7 @@ index 2561a159f2c1..c09f87b18f1c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95315,19 +92685,17 @@ index 2561a159f2c1..c09f87b18f1c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -95353,31 +92721,27 @@ index 2561a159f2c1..c09f87b18f1c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("arch_gn")
diff --git third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
deleted file mode 100644
-index 78132c11deb4..000000000000
+index 126fc5a4138d..000000000000
--- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
+++ /dev/null
-@@ -1,75 +0,0 @@
+@@ -1,76 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -95393,6 +92757,7 @@ index 78132c11deb4..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ARCH_ARM"] = True
-DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
@@ -95412,6 +92777,7 @@ index 78132c11deb4..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -95442,7 +92808,6 @@ index 78132c11deb4..000000000000
-
-if CONFIG["OS_TARGET"] == "Linux":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -95455,10 +92820,10 @@ index 78132c11deb4..000000000000
-Library("asm_defines_gn")
diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
deleted file mode 100644
-index ba2c50f92c2a..000000000000
+index 6ee1d92a09ab..000000000000
--- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
+++ /dev/null
-@@ -1,68 +0,0 @@
+@@ -1,70 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -95478,6 +92843,7 @@ index ba2c50f92c2a..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -95493,6 +92859,7 @@ index ba2c50f92c2a..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -95528,15 +92895,16 @@ index ba2c50f92c2a..000000000000
-
-Library("cocoa_threading_gn")
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
-index eba81875e62b..78db823c9245 100644
+index 2e3930335f16..e81233b291f3 100644
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95553,7 +92921,7 @@ index eba81875e62b..78db823c9245 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95642,7 +93010,7 @@ index eba81875e62b..78db823c9245 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95662,14 +93030,12 @@ index eba81875e62b..78db823c9245 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -95708,12 +93074,10 @@ index eba81875e62b..78db823c9245 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -95722,24 +93086,22 @@ index eba81875e62b..78db823c9245 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("file_wrapper_gn")
diff --git third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
deleted file mode 100644
-index 90bb733abfca..000000000000
+index 0b5b9cc3e28c..000000000000
--- third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
+++ /dev/null
-@@ -1,68 +0,0 @@
+@@ -1,70 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -95759,6 +93121,7 @@ index 90bb733abfca..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -95774,6 +93137,7 @@ index 90bb733abfca..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -95809,15 +93173,16 @@ index 90bb733abfca..000000000000
-
-Library("gcd_helpers_gn")
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
-index b04ad87eda04..d2d6215c2366 100644
+index cdb4a308314f..d8e5d7bb1406 100644
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -95834,7 +93199,7 @@ index b04ad87eda04..d2d6215c2366 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -95919,7 +93284,7 @@ index b04ad87eda04..d2d6215c2366 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95935,19 +93300,17 @@ index b04ad87eda04..d2d6215c2366 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -95973,35 +93336,32 @@ index b04ad87eda04..d2d6215c2366 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("ignore_warnings_gn")
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
-index 859e531ae239..c5c6f101f8a1 100644
+index fadc0174478c..aff95da60bae 100644
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96018,7 +93378,7 @@ index 859e531ae239..c5c6f101f8a1 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96103,7 +93463,7 @@ index 859e531ae239..c5c6f101f8a1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96119,19 +93479,17 @@ index 859e531ae239..c5c6f101f8a1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96157,35 +93515,32 @@ index 859e531ae239..c5c6f101f8a1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("inline_gn")
diff --git third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
-index c293849ca78f..0a7f61413e83 100644
+index 34a3fd2104aa..e4c2efe044e1 100644
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96202,7 +93557,7 @@ index c293849ca78f..0a7f61413e83 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96287,7 +93642,7 @@ index c293849ca78f..0a7f61413e83 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96303,19 +93658,17 @@ index c293849ca78f..0a7f61413e83 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96341,35 +93694,32 @@ index c293849ca78f..0a7f61413e83 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("no_unique_address_gn")
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
-index fa852e738efb..c57bf5f1dba8 100644
+index 52f34ff2cfbf..d7a1041a40b2 100644
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96386,7 +93736,7 @@ index fa852e738efb..c57bf5f1dba8 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96471,7 +93821,7 @@ index fa852e738efb..c57bf5f1dba8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96487,19 +93837,17 @@ index fa852e738efb..c57bf5f1dba8 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96525,35 +93873,32 @@ index fa852e738efb..c57bf5f1dba8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtc_export_gn")
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
-index 0c7379a967ab..968474be87f2 100644
+index 9e46eebe6af2..a889d722dbf6 100644
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96570,7 +93915,7 @@ index 0c7379a967ab..968474be87f2 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96655,7 +94000,7 @@ index 0c7379a967ab..968474be87f2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96671,19 +94016,17 @@ index 0c7379a967ab..968474be87f2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96709,35 +94052,32 @@ index 0c7379a967ab..968474be87f2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("unused_gn")
diff --git third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
-index d1fe3ee32dae..932202f014fc 100644
+index 7fc9b68c3766..114a58d422aa 100644
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96754,7 +94094,7 @@ index d1fe3ee32dae..932202f014fc 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -96839,7 +94179,7 @@ index d1fe3ee32dae..932202f014fc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96855,19 +94195,17 @@ index d1fe3ee32dae..932202f014fc 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -96893,35 +94231,32 @@ index d1fe3ee32dae..932202f014fc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("warn_current_thread_is_deadlocked_gn")
diff --git third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
-index c24a2921fb66..64b71d2e5992 100644
+index 74f32de32c41..c3c83a3b5dac 100644
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -96938,7 +94273,7 @@ index c24a2921fb66..64b71d2e5992 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97038,7 +94373,7 @@ index c24a2921fb66..64b71d2e5992 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97058,14 +94393,12 @@ index c24a2921fb66..64b71d2e5992 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97104,12 +94437,10 @@ index c24a2921fb66..64b71d2e5992 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97118,235 +94449,27 @@ index c24a2921fb66..64b71d2e5992 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("repeating_task_gn")
-diff --git third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-index 826243290c5d..1893f0c9c241 100644
---- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
- DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
- DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
- DEFINES["RTC_ENABLE_VP9"] = True
-+DEFINES["USE_GLIB"] = "1"
-+DEFINES["USE_OZONE"] = "1"
-+DEFINES["WEBRTC_BSD"] = True
- DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
- DEFINES["WEBRTC_LIBRARY_IMPL"] = True
- DEFINES["WEBRTC_MOZILLA_BUILD"] = True
- DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
-+DEFINES["WEBRTC_POSIX"] = True
- DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-+DEFINES["_FILE_OFFSET_BITS"] = "64"
-+DEFINES["_LARGEFILE64_SOURCE"] = True
-+DEFINES["_LARGEFILE_SOURCE"] = True
- DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-+DEFINES["__STDC_CONSTANT_MACROS"] = True
-+DEFINES["__STDC_FORMAT_MACROS"] = True
-
- FINAL_LIBRARY = "xul"
-
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
- if CONFIG["MOZ_DEBUG"] == "1":
-
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
--
--if CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["ANDROID"] = True
-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
-- DEFINES["HAVE_SYS_UIO_H"] = True
-- DEFINES["WEBRTC_ANDROID"] = True
-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_GNU_SOURCE"] = True
-- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
-- OS_LIBS += [
-- "log"
-- ]
--
--if CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["WEBRTC_MAC"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["USE_UDEV"] = True
-- DEFINES["WEBRTC_LINUX"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_GLIBCXX_ASSERTIONS"] = "1"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["USE_GLIB"] = "1"
-- DEFINES["USE_OZONE"] = "1"
-- DEFINES["WEBRTC_BSD"] = True
-- DEFINES["WEBRTC_POSIX"] = True
-- DEFINES["_FILE_OFFSET_BITS"] = "64"
-- DEFINES["_LARGEFILE64_SOURCE"] = True
-- DEFINES["_LARGEFILE_SOURCE"] = True
-- DEFINES["__STDC_CONSTANT_MACROS"] = True
-- DEFINES["__STDC_FORMAT_MACROS"] = True
--
--if CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-- DEFINES["NOMINMAX"] = True
-- DEFINES["NTDDI_VERSION"] = "0x0A000000"
-- DEFINES["PSAPI_VERSION"] = "2"
-- DEFINES["RTC_ENABLE_WIN_WGC"] = True
-- DEFINES["UNICODE"] = True
-- DEFINES["USE_AURA"] = "1"
-- DEFINES["WEBRTC_WIN"] = True
-- DEFINES["WIN32"] = True
-- DEFINES["WIN32_LEAN_AND_MEAN"] = True
-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
-- DEFINES["WINVER"] = "0x0A00"
-- DEFINES["_ATL_NO_OPENGL"] = True
-- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
-- DEFINES["_CRT_RAND_S"] = True
-- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
-- DEFINES["_HAS_EXCEPTIONS"] = "0"
-- DEFINES["_HAS_NODISCARD"] = True
-- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
-- DEFINES["_SECURE_ATL"] = True
-- DEFINES["_UNICODE"] = True
-- DEFINES["_WIN32_WINNT"] = "0x0A00"
-- DEFINES["_WINDOWS"] = True
-- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
-- DEFINES["__STD_C"] = True
-+ DEFINES["_DEBUG"] = True
-
- if CONFIG["TARGET_CPU"] == "aarch64":
-
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
- DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["__ARM_NEON__"] = "1"
-
--if CONFIG["TARGET_CPU"] == "arm":
--
-- CXXFLAGS += [
-- "-mfpu=neon"
-- ]
--
-- DEFINES["WEBRTC_ARCH_ARM"] = True
-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
-- DEFINES["WEBRTC_HAS_NEON"] = True
--
--if CONFIG["TARGET_CPU"] == "loongarch64":
--
-- DEFINES["_GNU_SOURCE"] = True
--
- if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["TARGET_CPU"] == "mips64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-
- if CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["WEBRTC_ENABLE_AVX2"] = True
--
--if CONFIG["TARGET_CPU"] == "x86_64":
--
-- DEFINES["WEBRTC_ENABLE_AVX2"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
--
-- DEFINES["_DEBUG"] = True
--
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
--
-- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
--
--if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
--
- CXXFLAGS += [
- "-msse2"
- ]
-
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
--
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-+if CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
-- DEFINES["_GNU_SOURCE"] = True
-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
- Library("base64_gn")
diff --git third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
-index 00786f101e1c..e19b93cfb89b 100644
+index 98cc1865d964..9b13ea8cac90 100644
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -97363,7 +94486,7 @@ index 00786f101e1c..e19b93cfb89b 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97448,7 +94571,7 @@ index 00786f101e1c..e19b93cfb89b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97468,14 +94591,12 @@ index 00786f101e1c..e19b93cfb89b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97514,12 +94635,10 @@ index 00786f101e1c..e19b93cfb89b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97528,28 +94647,27 @@ index 00786f101e1c..e19b93cfb89b 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("sigslot_gn")
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
-index e0f9f5af07b7..9f36c5a991a5 100644
+index 8ff81d5ef745..95b3fecb47ac 100644
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -97566,7 +94684,7 @@ index e0f9f5af07b7..9f36c5a991a5 100644
FINAL_LIBRARY = "xul"
-@@ -48,111 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,111 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97679,7 +94797,7 @@ index e0f9f5af07b7..9f36c5a991a5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -160,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97699,14 +94817,12 @@ index e0f9f5af07b7..9f36c5a991a5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97745,12 +94861,10 @@ index e0f9f5af07b7..9f36c5a991a5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97759,28 +94873,27 @@ index e0f9f5af07b7..9f36c5a991a5 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("threading_gn")
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-index a784c5d8bdc5..154d2992d97f 100644
+index 3db91db313c7..795267fa1e69 100644
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_EXCLUDE_SYSTEM_TIME"] = True
@@ -97798,7 +94911,7 @@ index a784c5d8bdc5..154d2992d97f 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -97894,7 +95007,7 @@ index a784c5d8bdc5..154d2992d97f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97914,14 +95027,12 @@ index a784c5d8bdc5..154d2992d97f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -97960,12 +95071,10 @@ index a784c5d8bdc5..154d2992d97f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -97974,28 +95083,27 @@ index a784c5d8bdc5..154d2992d97f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("timeutils_gn")
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
-index 2ef1df8f7220..44432f6f3cc9 100644
+index eb3c2f943e59..07203a214025 100644
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98012,7 +95120,7 @@ index 2ef1df8f7220..44432f6f3cc9 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98097,7 +95205,7 @@ index 2ef1df8f7220..44432f6f3cc9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98113,19 +95221,17 @@ index 2ef1df8f7220..44432f6f3cc9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -98151,35 +95257,32 @@ index 2ef1df8f7220..44432f6f3cc9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("type_traits_gn")
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
-index 79543bdce841..1cc2ba7d5aaf 100644
+index bb19302007e0..736d9c19b851 100644
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98196,7 +95299,7 @@ index 79543bdce841..1cc2ba7d5aaf 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98281,7 +95384,7 @@ index 79543bdce841..1cc2ba7d5aaf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98297,19 +95400,17 @@ index 79543bdce841..1cc2ba7d5aaf 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -98335,35 +95436,32 @@ index 79543bdce841..1cc2ba7d5aaf 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("unique_id_generator_gn")
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
-index 0a4faedb8660..0bd9848f7aae 100644
+index b55576d4555f..20374a951217 100644
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98380,7 +95478,7 @@ index 0a4faedb8660..0bd9848f7aae 100644
FINAL_LIBRARY = "xul"
-@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98469,7 +95567,7 @@ index 0a4faedb8660..0bd9848f7aae 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98485,19 +95583,17 @@ index 0a4faedb8660..0bd9848f7aae 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -98523,35 +95619,32 @@ index 0a4faedb8660..0bd9848f7aae 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("unit_base_gn")
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
-index f3605a1e68c3..6e53cafca5ee 100644
+index 2b3c126e49ab..3d606013c213 100644
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -98568,7 +95661,7 @@ index f3605a1e68c3..6e53cafca5ee 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -98657,7 +95750,7 @@ index f3605a1e68c3..6e53cafca5ee 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -98677,14 +95770,12 @@ index f3605a1e68c3..6e53cafca5ee 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -98723,12 +95814,10 @@ index f3605a1e68c3..6e53cafca5ee 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -98737,24 +95826,22 @@ index f3605a1e68c3..6e53cafca5ee 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("weak_ptr_gn")
diff --git third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
deleted file mode 100644
-index 3545b382c70a..000000000000
+index 4c5be7cc813d..000000000000
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -98777,6 +95864,7 @@ index 3545b382c70a..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -98807,6 +95895,7 @@ index 3545b382c70a..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -98847,10 +95936,10 @@ index 3545b382c70a..000000000000
-Library("create_direct3d_device_gn")
diff --git third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
deleted file mode 100644
-index dacdb75fa74c..000000000000
+index 04efd2321e4b..000000000000
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -98873,6 +95962,7 @@ index dacdb75fa74c..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -98903,6 +95993,7 @@ index dacdb75fa74c..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -98943,10 +96034,10 @@ index dacdb75fa74c..000000000000
-Library("get_activation_factory_gn")
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
deleted file mode 100644
-index ef21e7534671..000000000000
+index cf9ee07fb823..000000000000
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -98969,6 +96060,7 @@ index ef21e7534671..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -98999,6 +96091,7 @@ index ef21e7534671..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99039,10 +96132,10 @@ index ef21e7534671..000000000000
-Library("hstring_gn")
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
deleted file mode 100644
-index 25d37b3b427b..000000000000
+index 39d803a2b7c1..000000000000
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
+++ /dev/null
-@@ -1,90 +0,0 @@
+@@ -1,92 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99065,6 +96158,7 @@ index 25d37b3b427b..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -99095,6 +96189,7 @@ index 25d37b3b427b..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99135,10 +96230,10 @@ index 25d37b3b427b..000000000000
-Library("windows_version_gn")
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
deleted file mode 100644
-index c05055e62909..000000000000
+index 47af84b5f84f..000000000000
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
+++ /dev/null
-@@ -1,97 +0,0 @@
+@@ -1,99 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99161,6 +96256,7 @@ index c05055e62909..000000000000
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
-DEFINES["UNICODE"] = True
-DEFINES["USE_AURA"] = "1"
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
@@ -99192,6 +96288,7 @@ index c05055e62909..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99237,15 +96334,16 @@ index c05055e62909..000000000000
-
-Library("win32_gn")
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
-index 587a67e5a35b..1b4dbb63092c 100644
+index cfada7305524..14ac7a7ae3f4 100644
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -99262,7 +96360,7 @@ index 587a67e5a35b..1b4dbb63092c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -99351,7 +96449,7 @@ index 587a67e5a35b..1b4dbb63092c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -99371,14 +96469,12 @@ index 587a67e5a35b..1b4dbb63092c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -99417,12 +96513,10 @@ index 587a67e5a35b..1b4dbb63092c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -99431,24 +96525,22 @@ index 587a67e5a35b..1b4dbb63092c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("zero_memory_gn")
diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build
deleted file mode 100644
-index 1cd5885b8d54..000000000000
+index 5ffb44f0d008..000000000000
--- third_party/libwebrtc/sdk/base_objc_gn/moz.build
+++ /dev/null
-@@ -1,81 +0,0 @@
+@@ -1,83 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99472,6 +96564,7 @@ index 1cd5885b8d54..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99487,6 +96580,7 @@ index 1cd5885b8d54..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99532,10 +96626,10 @@ index 1cd5885b8d54..000000000000
-Library("base_objc_gn")
diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
deleted file mode 100644
-index a844f7b82ce7..000000000000
+index 4c92c02984a8..000000000000
--- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
+++ /dev/null
-@@ -1,76 +0,0 @@
+@@ -1,78 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99559,6 +96653,7 @@ index a844f7b82ce7..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99574,6 +96669,7 @@ index a844f7b82ce7..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99614,10 +96710,10 @@ index a844f7b82ce7..000000000000
-Library("helpers_objc_gn")
diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
deleted file mode 100644
-index dd3d878fe24f..000000000000
+index e0438f8f6e19..000000000000
--- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
+++ /dev/null
-@@ -1,71 +0,0 @@
+@@ -1,73 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99637,6 +96733,7 @@ index dd3d878fe24f..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99652,6 +96749,7 @@ index dd3d878fe24f..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99691,10 +96789,10 @@ index dd3d878fe24f..000000000000
-Library("videocapture_objc_gn")
diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
deleted file mode 100644
-index 1ebf3e72b917..000000000000
+index 74abd1c954a5..000000000000
--- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
+++ /dev/null
-@@ -1,74 +0,0 @@
+@@ -1,76 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -99714,6 +96812,7 @@ index 1ebf3e72b917..000000000000
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
-DEFINES["RTC_ENABLE_VP9"] = True
+-DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
-DEFINES["WEBRTC_MAC"] = True
@@ -99729,6 +96828,7 @@ index 1ebf3e72b917..000000000000
-
-
-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
- "!/ipc/ipdl/_ipdlheaders",
- "!/third_party/libwebrtc/gen",
- "/ipc/chromium/src",
@@ -99770,15 +96870,16 @@ index 1ebf3e72b917..000000000000
-
-Library("videoframebuffer_objc_gn")
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
-index c0b423389d69..cbca359509c1 100644
+index f830168572e6..2f90855b915f 100644
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -99795,7 +96896,7 @@ index c0b423389d69..cbca359509c1 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -99884,7 +96985,7 @@ index c0b423389d69..cbca359509c1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -99904,14 +97005,12 @@ index c0b423389d69..cbca359509c1 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -99950,12 +97049,10 @@ index c0b423389d69..cbca359509c1 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -99964,28 +97061,27 @@ index c0b423389d69..cbca359509c1 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("denormal_disabler_gn")
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
-index e0f452cafa1e..7b851e0a32a5 100644
+index 42b21364766f..efc6c5ca191e 100644
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100002,7 +97098,7 @@ index e0f452cafa1e..7b851e0a32a5 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100098,7 +97194,7 @@ index e0f452cafa1e..7b851e0a32a5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100118,14 +97214,12 @@ index e0f452cafa1e..7b851e0a32a5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -100164,12 +97258,10 @@ index e0f452cafa1e..7b851e0a32a5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -100178,28 +97270,27 @@ index e0f452cafa1e..7b851e0a32a5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("field_trial_gn")
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
-index 2312db610256..5b93c9b5906c 100644
+index 36c9baa62823..b243d3d58410 100644
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100216,7 +97307,7 @@ index 2312db610256..5b93c9b5906c 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100305,7 +97396,7 @@ index 2312db610256..5b93c9b5906c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100325,14 +97416,12 @@ index 2312db610256..5b93c9b5906c 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -100371,12 +97460,10 @@ index 2312db610256..5b93c9b5906c 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -100385,28 +97472,27 @@ index 2312db610256..5b93c9b5906c 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("metrics_gn")
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
-index 9c1d25e913dc..31ae9d0c3730 100644
+index 9587725536ca..538b68bd36cb 100644
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100423,7 +97509,7 @@ index 9c1d25e913dc..31ae9d0c3730 100644
FINAL_LIBRARY = "xul"
-@@ -49,108 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,108 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100533,7 +97619,7 @@ index 9c1d25e913dc..31ae9d0c3730 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -158,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -160,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100553,14 +97639,12 @@ index 9c1d25e913dc..31ae9d0c3730 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -100599,12 +97683,10 @@ index 9c1d25e913dc..31ae9d0c3730 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -100613,28 +97695,27 @@ index 9c1d25e913dc..31ae9d0c3730 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("system_wrappers_gn")
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
-index 61d910096d28..c360ed11a615 100644
+index 8096fc9c96c2..052c0f84c668 100644
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -100651,7 +97732,7 @@ index 61d910096d28..c360ed11a615 100644
FINAL_LIBRARY = "xul"
-@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,99 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100752,7 +97833,7 @@ index 61d910096d28..c360ed11a615 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100768,19 +97849,17 @@ index 61d910096d28..c360ed11a615 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -100806,27 +97885,23 @@ index 61d910096d28..c360ed11a615 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_test_utils_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
-index 6cb6c4e4d738..ffbf2a8c220e 100644
+index 2d36986a05c5..d4f34c6e8a54 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
@@ -100846,7 +97921,7 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
FINAL_LIBRARY = "xul"
-@@ -42,110 +51,24 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,108 +52,24 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -100946,19 +98021,17 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -157,60 +80,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -156,56 +81,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
if CONFIG["TARGET_CPU"] == "x86":
@@ -100996,12 +98069,10 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -101010,20 +98081,18 @@ index 6cb6c4e4d738..ffbf2a8c220e 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
Library("crc32c_arm64_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
-index d710498a3b2a..97bef2d090d3 100644
+index a8e6c035310f..ac8e004a6f78 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build
@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
@@ -101043,7 +98112,7 @@ index d710498a3b2a..97bef2d090d3 100644
FINAL_LIBRARY = "xul"
-@@ -43,110 +52,24 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -44,108 +53,24 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101143,19 +98212,17 @@ index d710498a3b2a..97bef2d090d3 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -158,60 +81,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -157,56 +82,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
if CONFIG["TARGET_CPU"] == "x86":
@@ -101193,12 +98260,10 @@ index d710498a3b2a..97bef2d090d3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -101207,20 +98272,18 @@ index d710498a3b2a..97bef2d090d3 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
Library("crc32c_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
-index 3392df8376ac..4f3a92770b9f 100644
+index 3ef8dc583670..5420160d3ab5 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build
@@ -9,7 +9,14 @@
@@ -101238,7 +98301,7 @@ index 3392df8376ac..4f3a92770b9f 100644
FINAL_LIBRARY = "xul"
-@@ -31,127 +38,10 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -32,121 +39,10 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101318,12 +98381,10 @@ index 3392df8376ac..4f3a92770b9f 100644
-
-if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
@@ -101348,27 +98409,23 @@ index 3392df8376ac..4f3a92770b9f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("crc32c_internal_headers_gn")
diff --git third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
-index 6ac498db8318..bf8169323753 100644
+index 57e79a7f9e44..b855a3042e28 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
+++ third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build
@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0"
@@ -101388,7 +98445,7 @@ index 6ac498db8318..bf8169323753 100644
FINAL_LIBRARY = "xul"
-@@ -42,110 +51,24 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,108 +52,24 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101488,19 +98545,17 @@ index 6ac498db8318..bf8169323753 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["HAVE_MM_PREFETCH"] = "0"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -157,60 +80,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -156,56 +81,14 @@ if CONFIG["TARGET_CPU"] == "riscv64":
if CONFIG["TARGET_CPU"] == "x86":
@@ -101538,12 +98593,10 @@ index 6ac498db8318..bf8169323753 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -101552,28 +98605,27 @@ index 6ac498db8318..bf8169323753 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["HAVE_MM_PREFETCH"] = "1"
Library("crc32c_sse42_gn")
diff --git third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
-index 2cac64c62eeb..00562bdd7670 100644
+index 290cb7c6b79a..96e9a04853c1 100644
--- third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
+++ third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -101590,7 +98642,7 @@ index 2cac64c62eeb..00562bdd7670 100644
FINAL_LIBRARY = "xul"
-@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101675,7 +98727,7 @@ index 2cac64c62eeb..00562bdd7670 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -127,27 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -129,25 +62,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101691,19 +98743,17 @@ index 2cac64c62eeb..00562bdd7670 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -157,44 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -157,40 +75,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101729,35 +98779,32 @@ index 2cac64c62eeb..00562bdd7670 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("dav1d_gn")
diff --git third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
-index 41198aee8398..13fa2e513f9e 100644
+index 5621fcc8c3a5..43b59d982945 100644
--- third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
+++ third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -101774,7 +98821,7 @@ index 41198aee8398..13fa2e513f9e 100644
FINAL_LIBRARY = "xul"
-@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -101859,7 +98906,7 @@ index 41198aee8398..13fa2e513f9e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101875,19 +98922,17 @@ index 41198aee8398..13fa2e513f9e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101913,34 +98958,26 @@ index 41198aee8398..13fa2e513f9e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("aom_gn")
diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
-index b3e66d0ace2d..68d6b58f56c9 100644
+index efacb30c976b..37831e91930e 100644
--- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
+++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
-@@ -10,24 +10,19 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
- AllowCompilerWarnings()
-
- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
--DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
+@@ -13,21 +13,17 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -101948,6 +98985,7 @@ index b3e66d0ace2d..68d6b58f56c9 100644
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_OZONE"] = "1"
-DEFINES["USE_UDEV"] = True
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -101962,7 +99000,7 @@ index b3e66d0ace2d..68d6b58f56c9 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-@@ -65,12 +60,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -66,12 +62,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101976,15 +99014,16 @@ index b3e66d0ace2d..68d6b58f56c9 100644
DEFINES["MIPS32_LE"] = True
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
-index 536014f61691..45bf8033ce45 100644
+index bed86c31bdb2..776ccac7a804 100644
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102001,7 +99040,7 @@ index 536014f61691..45bf8033ce45 100644
FINAL_LIBRARY = "xul"
-@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102086,7 +99125,7 @@ index 536014f61691..45bf8033ce45 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -127,27 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -129,25 +62,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102102,19 +99141,17 @@ index 536014f61691..45bf8033ce45 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -157,44 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -157,40 +75,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -102140,27 +99177,23 @@ index 536014f61691..45bf8033ce45 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("yuv_gn")
diff --git third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
-index 14fb0ff89ec7..e555f3c40b9a 100644
+index ad14c77a3fe2..fe9a03bdf63c 100644
--- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
+++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
@@ -9,7 +9,14 @@
@@ -102178,7 +99211,7 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
FINAL_LIBRARY = "xul"
-@@ -35,98 +42,23 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -36,96 +43,23 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102266,19 +99299,17 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["PFFFT_SIMD_DISABLE"] = True
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "mips64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["PFFFT_SIMD_DISABLE"] = True
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "ppc64":
-@@ -136,54 +68,10 @@ if CONFIG["TARGET_CPU"] == "riscv64":
+@@ -135,50 +69,10 @@ if CONFIG["TARGET_CPU"] == "riscv64":
DEFINES["PFFFT_SIMD_DISABLE"] = True
@@ -102310,12 +99341,10 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102325,17 +99354,15 @@ index 14fb0ff89ec7..e555f3c40b9a 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("pffft_gn")
diff --git third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
-index 6a84a470be08..9e8381b9766a 100644
+index fc239a9d7eae..541de9c16824 100644
--- third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
+++ third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
@@ -9,7 +9,14 @@
@@ -102353,7 +99380,7 @@ index 6a84a470be08..9e8381b9766a 100644
FINAL_LIBRARY = "xul"
-@@ -35,143 +42,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -36,137 +43,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102439,12 +99466,10 @@ index 6a84a470be08..9e8381b9766a 100644
-
-if CONFIG["TARGET_CPU"] == "mips32":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
@@ -102476,12 +99501,10 @@ index 6a84a470be08..9e8381b9766a 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102490,25 +99513,24 @@ index 6a84a470be08..9e8381b9766a 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("rnn_vad_gn")
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
-index 2b14ee7b661b..37572aeea1ca 100644
+index 9e0421f6862f..bd7fb2f5ab67 100644
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102525,7 +99547,7 @@ index 2b14ee7b661b..37572aeea1ca 100644
FINAL_LIBRARY = "xul"
-@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102626,7 +99648,7 @@ index 2b14ee7b661b..37572aeea1ca 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102646,14 +99668,12 @@ index 2b14ee7b661b..37572aeea1ca 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -102692,12 +99712,10 @@ index 2b14ee7b661b..37572aeea1ca 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102706,28 +99724,27 @@ index 2b14ee7b661b..37572aeea1ca 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_adaptation_gn")
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
-index 0f17ba88a0f2..a9657598a267 100644
+index 74e2cdbd67e4..0e966d100fe1 100644
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102744,7 +99761,7 @@ index 0f17ba88a0f2..a9657598a267 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -102844,7 +99861,7 @@ index 0f17ba88a0f2..a9657598a267 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102864,14 +99881,12 @@ index 0f17ba88a0f2..a9657598a267 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -102910,12 +99925,10 @@ index 0f17ba88a0f2..a9657598a267 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -102924,28 +99937,27 @@ index 0f17ba88a0f2..a9657598a267 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("encoder_config_gn")
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
-index 6fbfd5fa2450..56061f5c1074 100644
+index 5863ad52a6e8..bc2b39685fd5 100644
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -102962,7 +99974,7 @@ index 6fbfd5fa2450..56061f5c1074 100644
FINAL_LIBRARY = "xul"
-@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103063,7 +100075,7 @@ index 6fbfd5fa2450..56061f5c1074 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103083,14 +100095,12 @@ index 6fbfd5fa2450..56061f5c1074 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103129,12 +100139,10 @@ index 6fbfd5fa2450..56061f5c1074 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103143,28 +100151,27 @@ index 6fbfd5fa2450..56061f5c1074 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("streams_config_gn")
diff --git third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
-index cb71ea3162f3..6041881ae0da 100644
+index 884638b06a1d..762cbea3858f 100644
--- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103181,7 +100188,7 @@ index cb71ea3162f3..6041881ae0da 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103277,7 +100284,7 @@ index cb71ea3162f3..6041881ae0da 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103297,14 +100304,12 @@ index cb71ea3162f3..6041881ae0da 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103343,12 +100348,10 @@ index cb71ea3162f3..6041881ae0da 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103357,28 +100360,27 @@ index cb71ea3162f3..6041881ae0da 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("corruption_classifier_gn")
diff --git third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
-index 4e4b2fb81439..9c8136f6e18e 100644
+index f160515f9c38..4eea6328a5d3 100644
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103395,7 +100397,7 @@ index 4e4b2fb81439..9c8136f6e18e 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103491,7 +100493,7 @@ index 4e4b2fb81439..9c8136f6e18e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103511,14 +100513,12 @@ index 4e4b2fb81439..9c8136f6e18e 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103557,12 +100557,10 @@ index 4e4b2fb81439..9c8136f6e18e 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103571,28 +100569,27 @@ index 4e4b2fb81439..9c8136f6e18e 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_instrumentation_evaluation_gn")
diff --git third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
-index e4e084353f66..093bfee381e0 100644
+index 0c60dc67b601..4865e3e9cdd2 100644
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103609,7 +100606,7 @@ index e4e084353f66..093bfee381e0 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103710,7 +100707,7 @@ index e4e084353f66..093bfee381e0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103730,14 +100727,12 @@ index e4e084353f66..093bfee381e0 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103776,12 +100771,10 @@ index e4e084353f66..093bfee381e0 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -103790,28 +100783,27 @@ index e4e084353f66..093bfee381e0 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_instrumentation_generator_gn")
diff --git third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
-index 3166f335baad..99950751b985 100644
+index 7fadc8ba5b07..87f05c46174f 100644
--- third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -103828,7 +100820,7 @@ index 3166f335baad..99950751b985 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -103928,7 +100920,7 @@ index 3166f335baad..99950751b985 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103948,14 +100940,12 @@ index 3166f335baad..99950751b985 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -103994,12 +100984,10 @@ index 3166f335baad..99950751b985 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104008,28 +100996,27 @@ index 3166f335baad..99950751b985 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("generic_mapping_functions_gn")
diff --git third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
-index ce51997c6aef..56a644377fec 100644
+index 8160c5025775..8af9ba8b4f5b 100644
--- third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104046,7 +101033,7 @@ index ce51997c6aef..56a644377fec 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104142,7 +101129,7 @@ index ce51997c6aef..56a644377fec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104162,14 +101149,12 @@ index ce51997c6aef..56a644377fec 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104208,12 +101193,10 @@ index ce51997c6aef..56a644377fec 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104222,28 +101205,27 @@ index ce51997c6aef..56a644377fec 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("halton_frame_sampler_gn")
diff --git third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
-index e1cf49d269d1..b6cc380f5be9 100644
+index 12b9872121b0..5e692452aa8b 100644
--- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104260,7 +101242,7 @@ index e1cf49d269d1..b6cc380f5be9 100644
FINAL_LIBRARY = "xul"
-@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104349,7 +101331,7 @@ index e1cf49d269d1..b6cc380f5be9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104369,14 +101351,12 @@ index e1cf49d269d1..b6cc380f5be9 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104415,12 +101395,10 @@ index e1cf49d269d1..b6cc380f5be9 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104429,28 +101407,27 @@ index e1cf49d269d1..b6cc380f5be9 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("halton_sequence_gn")
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
-index 8f5351f63b37..98805baaeda5 100644
+index a10ed68bfc77..b9038bcd8af6 100644
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104467,7 +101444,7 @@ index 8f5351f63b37..98805baaeda5 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104567,7 +101544,7 @@ index 8f5351f63b37..98805baaeda5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104587,14 +101564,12 @@ index 8f5351f63b37..98805baaeda5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104633,12 +101608,10 @@ index 8f5351f63b37..98805baaeda5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104647,28 +101620,27 @@ index 8f5351f63b37..98805baaeda5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("decode_synchronizer_gn")
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
-index cf963493df2e..2006f14005f5 100644
+index 9d4e277b38dd..b7be4412c741 100644
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104685,7 +101657,7 @@ index cf963493df2e..2006f14005f5 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104785,7 +101757,7 @@ index cf963493df2e..2006f14005f5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104805,14 +101777,12 @@ index cf963493df2e..2006f14005f5 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -104851,12 +101821,10 @@ index cf963493df2e..2006f14005f5 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -104865,28 +101833,27 @@ index cf963493df2e..2006f14005f5 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_cadence_adapter_gn")
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
-index b38d246cfe02..c63ff91c8847 100644
+index 24e0f71b39a0..3c4a565ff44a 100644
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -104903,7 +101870,7 @@ index b38d246cfe02..c63ff91c8847 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105003,7 +101970,7 @@ index b38d246cfe02..c63ff91c8847 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105019,19 +101986,17 @@ index b38d246cfe02..c63ff91c8847 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -105057,35 +102022,32 @@ index b38d246cfe02..c63ff91c8847 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("frame_decode_scheduler_gn")
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
-index 7443ba5facca..5de44ce10745 100644
+index 79c2df2abd6f..8f48257e34c8 100644
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105102,7 +102064,7 @@ index 7443ba5facca..5de44ce10745 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105202,7 +102164,7 @@ index 7443ba5facca..5de44ce10745 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105222,14 +102184,12 @@ index 7443ba5facca..5de44ce10745 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105268,12 +102228,10 @@ index 7443ba5facca..5de44ce10745 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105282,28 +102240,27 @@ index 7443ba5facca..5de44ce10745 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_decode_timing_gn")
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
-index 793305e6fc32..bfa58b1ab40f 100644
+index 974b59b917c6..d9f2c28b1fc0 100644
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105320,7 +102277,7 @@ index 793305e6fc32..bfa58b1ab40f 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105421,7 +102378,7 @@ index 793305e6fc32..bfa58b1ab40f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105441,14 +102398,12 @@ index 793305e6fc32..bfa58b1ab40f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105487,12 +102442,10 @@ index 793305e6fc32..bfa58b1ab40f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105501,28 +102454,27 @@ index 793305e6fc32..bfa58b1ab40f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_dumping_decoder_gn")
diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
-index 0b3ba7c331a3..dcbbde8cb2df 100644
+index 08669d63243f..2ee61d4c08a9 100644
--- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
+++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105539,7 +102491,7 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105640,7 +102592,7 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105660,14 +102612,12 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105706,12 +102656,10 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105720,28 +102668,27 @@ index 0b3ba7c331a3..dcbbde8cb2df 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("frame_dumping_encoder_gn")
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
-index d92ea8fd2fb0..2d57a5612fc2 100644
+index c5d5c2d71fd5..5f274171a19a 100644
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105758,7 +102705,7 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -105854,7 +102801,7 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -105874,14 +102821,12 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -105920,12 +102865,10 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -105934,28 +102877,27 @@ index d92ea8fd2fb0..2d57a5612fc2 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("incoming_video_stream_gn")
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
-index 4bacccd3cc83..13a253325be3 100644
+index 1d20930416c7..02b24524999c 100644
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -105972,7 +102914,7 @@ index 4bacccd3cc83..13a253325be3 100644
FINAL_LIBRARY = "xul"
-@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106068,7 +103010,7 @@ index 4bacccd3cc83..13a253325be3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106088,14 +103030,12 @@ index 4bacccd3cc83..13a253325be3 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106134,12 +103074,10 @@ index 4bacccd3cc83..13a253325be3 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106148,28 +103086,27 @@ index 4bacccd3cc83..13a253325be3 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_render_frames_gn")
diff --git third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
-index d8824c8a1117..5f59cce84c6b 100644
+index 901da7d1bb97..f7972f671015 100644
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106186,7 +103123,7 @@ index d8824c8a1117..5f59cce84c6b 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106286,7 +103223,7 @@ index d8824c8a1117..5f59cce84c6b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106306,14 +103243,12 @@ index d8824c8a1117..5f59cce84c6b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106352,12 +103287,10 @@ index d8824c8a1117..5f59cce84c6b 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106366,28 +103299,27 @@ index d8824c8a1117..5f59cce84c6b 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("task_queue_frame_decode_scheduler_gn")
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
-index 24641e05ff5b..d2c9bd811637 100644
+index 30b3de21de19..cf6461e2fb06 100644
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106404,7 +103336,7 @@ index 24641e05ff5b..d2c9bd811637 100644
FINAL_LIBRARY = "xul"
-@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106489,7 +103421,7 @@ index 24641e05ff5b..d2c9bd811637 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106509,14 +103441,12 @@ index 24641e05ff5b..d2c9bd811637 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106555,12 +103485,10 @@ index 24641e05ff5b..d2c9bd811637 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106569,28 +103497,27 @@ index 24641e05ff5b..d2c9bd811637 100644
"-msse2"
]
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("unique_timestamp_counter_gn")
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
-index 05caea4c5563..e5dcbb1e5a89 100644
+index ec2bc7bdf704..43312f3e4850 100644
--- third_party/libwebrtc/video/video_gn/moz.build
+++ third_party/libwebrtc/video/video_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106607,7 +103534,7 @@ index 05caea4c5563..e5dcbb1e5a89 100644
FINAL_LIBRARY = "xul"
-@@ -64,99 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -66,99 +75,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106708,7 +103635,7 @@ index 05caea4c5563..e5dcbb1e5a89 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -164,88 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,82 +83,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106728,14 +103655,12 @@ index 05caea4c5563..e5dcbb1e5a89 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106774,12 +103699,10 @@ index 05caea4c5563..e5dcbb1e5a89 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -106788,28 +103711,27 @@ index 05caea4c5563..e5dcbb1e5a89 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_gn")
diff --git third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
-index d775b24907c5..3e4e8ecab82f 100644
+index ca7fe91a98bd..3ede4e3c5441 100644
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -106826,7 +103748,7 @@ index d775b24907c5..3e4e8ecab82f 100644
FINAL_LIBRARY = "xul"
-@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -106926,7 +103848,7 @@ index d775b24907c5..3e4e8ecab82f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -106946,14 +103868,12 @@ index d775b24907c5..3e4e8ecab82f 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -106992,12 +103912,10 @@ index d775b24907c5..3e4e8ecab82f 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -107006,28 +103924,27 @@ index d775b24907c5..3e4e8ecab82f 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_receive_stream_timeout_tracker_gn")
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
-index 22706e0eb25b..60b008ed1819 100644
+index bc36ab524a06..25af38a13548 100644
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107044,7 +103961,7 @@ index 22706e0eb25b..60b008ed1819 100644
FINAL_LIBRARY = "xul"
-@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107145,7 +104062,7 @@ index 22706e0eb25b..60b008ed1819 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107165,14 +104082,12 @@ index 22706e0eb25b..60b008ed1819 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -107211,12 +104126,10 @@ index 22706e0eb25b..60b008ed1819 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -107225,28 +104138,27 @@ index 22706e0eb25b..60b008ed1819 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_stream_buffer_controller_gn")
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
-index c2ea5bda317c..cbd96f75f639 100644
+index 7869e76699a7..069bc56cba0f 100644
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107263,7 +104175,7 @@ index c2ea5bda317c..cbd96f75f639 100644
FINAL_LIBRARY = "xul"
-@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107364,7 +104276,7 @@ index c2ea5bda317c..cbd96f75f639 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107384,14 +104296,12 @@ index c2ea5bda317c..cbd96f75f639 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
@@ -107430,12 +104340,10 @@ index c2ea5bda317c..cbd96f75f639 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
@@ -107444,28 +104352,27 @@ index c2ea5bda317c..cbd96f75f639 100644
- "-msse2"
- ]
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+if CONFIG["TARGET_CPU"] == "x86_64":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("video_stream_encoder_impl_gn")
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
-index 97b34b12598b..95176917b6fd 100644
+index 2d846cdb56bf..e9b9e9ac4128 100644
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107482,7 +104389,7 @@ index 97b34b12598b..95176917b6fd 100644
FINAL_LIBRARY = "xul"
-@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107582,7 +104489,7 @@ index 97b34b12598b..95176917b6fd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107598,19 +104505,17 @@ index 97b34b12598b..95176917b6fd 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -107636,35 +104541,32 @@ index 97b34b12598b..95176917b6fd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("video_stream_encoder_interface_gn")
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
-index bce5d3837f72..85eb59fb624b 100644
+index 964093865951..85a1b6287692 100644
--- third_party/libwebrtc/webrtc_gn/moz.build
+++ third_party/libwebrtc/webrtc_gn/moz.build
-@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
+DEFINES["USE_GLIB"] = "1"
+DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
+DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
DEFINES["WEBRTC_LIBRARY_IMPL"] = True
@@ -107681,7 +104583,7 @@ index bce5d3837f72..85eb59fb624b 100644
FINAL_LIBRARY = "xul"
-@@ -41,122 +50,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,122 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -107805,7 +104707,7 @@ index bce5d3837f72..85eb59fb624b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -164,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -107821,19 +104723,17 @@ index bce5d3837f72..85eb59fb624b 100644
-
if CONFIG["TARGET_CPU"] == "mips32":
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
if CONFIG["TARGET_CPU"] == "x86":
-@@ -194,27 +71,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -194,27 +73,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -107862,28 +104762,24 @@ index bce5d3837f72..85eb59fb624b 100644
OS_LIBS += [
"X11",
-@@ -226,24 +83,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+@@ -226,20 +85,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
"Xrender"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
-- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1"
- DEFINES["_GNU_SOURCE"] = True
-
Library("webrtc_gn")
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index 204eca6161d6..ecbf780dfa25 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -1,5 +1,5 @@
PORTNAME= lighttpd
-PORTVERSION= 1.4.80
+PORTVERSION= 1.4.82
CATEGORIES= www
MASTER_SITES= https://download.lighttpd.net/lighttpd/releases-1.4.x/
diff --git a/www/lighttpd/distinfo b/www/lighttpd/distinfo
index 4ae599e2f8d5..9e645a8d0a29 100644
--- a/www/lighttpd/distinfo
+++ b/www/lighttpd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755171128
-SHA256 (lighttpd-1.4.80.tar.xz) = cc5f0f71e8b2ee6bad545d1e91dfc3f954716c9174e7b352c2147add44f25bf3
-SIZE (lighttpd-1.4.80.tar.xz) = 882656
+TIMESTAMP = 1757710484
+SHA256 (lighttpd-1.4.82.tar.xz) = abfe74391f9cbd66ab154ea07e64f194dbe7e906ef4ed47eb3b0f3b46246c962
+SIZE (lighttpd-1.4.82.tar.xz) = 883352
diff --git a/www/linux-freetube/Makefile b/www/linux-freetube/Makefile
index 07713cc8ccba..86e34fbd1332 100644
--- a/www/linux-freetube/Makefile
+++ b/www/linux-freetube/Makefile
@@ -1,6 +1,6 @@
PORTNAME= freetube
DISTVERSIONPREFIX= v
-DISTVERSION= 0.23.8-beta
+DISTVERSION= 0.23.9-beta
PORTREVISION= 0
CATEGORIES= www
MASTER_SITES= https://github.com/FreeTubeApp/FreeTube/releases/download/${DISTVERSIONFULL}/ \
diff --git a/www/linux-freetube/distinfo b/www/linux-freetube/distinfo
index c2dbc0ac22a7..7a30825bf706 100644
--- a/www/linux-freetube/distinfo
+++ b/www/linux-freetube/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1756112923
-SHA256 (freetube-0.23.8-beta-linux-x64-portable.zip) = 6cfba8e67740a8d5a6ab85f3694c779dc2a03b4b40610881ba92d7a212a3ceff
-SIZE (freetube-0.23.8-beta-linux-x64-portable.zip) = 104150148
+TIMESTAMP = 1758180236
+SHA256 (freetube-0.23.9-beta-linux-x64-portable.zip) = 113ec430bf2f1176f83fda129b331d6639816a3f6cfc59d3faa586791a12ee58
+SIZE (freetube-0.23.9-beta-linux-x64-portable.zip) = 104150779
SHA256 (linux-freetube-icons-0.1.3.zip) = d76906cce52ac5cc730113a6d8598009467480d70a11e7ad81cbe9655bbd941e
SIZE (linux-freetube-icons-0.1.3.zip) = 10580
diff --git a/www/minio/Makefile b/www/minio/Makefile
index af5ba0640cb0..518b0c5c92b0 100644
--- a/www/minio/Makefile
+++ b/www/minio/Makefile
@@ -1,6 +1,5 @@
PORTNAME= minio
DISTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g}
-PORTREVISION= 2
CATEGORIES= www
DIST_SUBDIR= minio
@@ -11,11 +10,11 @@ WWW= https://minio.io/
LICENSE= AGPLv3
USES= compiler cpe go:modules
-GH_TAGNAME= RELEASE.2025-07-23T15-54-02Z
+GH_TAGNAME= RELEASE.2025-09-07T16-13-09Z
CPE_VERSION= ${GH_TAGNAME}
USE_RC_SUBR= ${PORTNAME}
-COMMIT_ID= 7ced9663e6a791fef9dc6be798ff24cda9c730ac
+COMMIT_ID= 07c3a429bfed433e49018cb0f78a52145d4bedeb
GO_MODULE= github.com/minio/minio@v0.0.0-${DISTVERSION:S/.//g}-${COMMIT_ID:C/^(.{12}).*/\1/}
GO_BUILDFLAGS= -ldflags=' \
diff --git a/www/minio/distinfo b/www/minio/distinfo
index b2f74b5fa0f9..bbe177258593 100644
--- a/www/minio/distinfo
+++ b/www/minio/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1753828346
-SHA256 (go/www_minio/minio-2025.07.23.15.54.02/v0.0.0-20250723155402-7ced9663e6a7.mod) = 1092c21cbe753941b16da2943be699d1517e70ebdd4da6d5c994ca27a85ba430
-SIZE (go/www_minio/minio-2025.07.23.15.54.02/v0.0.0-20250723155402-7ced9663e6a7.mod) = 12569
-SHA256 (go/www_minio/minio-2025.07.23.15.54.02/v0.0.0-20250723155402-7ced9663e6a7.zip) = 86276daaeb0801f57e0d7f5a9cf7e0e995a5d6c98057a4e6e5be4e08dff66972
-SIZE (go/www_minio/minio-2025.07.23.15.54.02/v0.0.0-20250723155402-7ced9663e6a7.zip) = 25081187
+TIMESTAMP = 1757405368
+SHA256 (go/www_minio/minio-2025.09.07.16.13.09/v0.0.0-20250907161309-07c3a429bfed.mod) = e362dbf17ddb50992fe199e0d777b3da147ec398e6db9e590fef2a573060acb1
+SIZE (go/www_minio/minio-2025.09.07.16.13.09/v0.0.0-20250907161309-07c3a429bfed.mod) = 12569
+SHA256 (go/www_minio/minio-2025.09.07.16.13.09/v0.0.0-20250907161309-07c3a429bfed.zip) = ec6f45516ef6915e4b5035d7e332c9af0519a3f27fa80d0111aa79780c909ed9
+SIZE (go/www_minio/minio-2025.09.07.16.13.09/v0.0.0-20250907161309-07c3a429bfed.zip) = 25343993
diff --git a/www/miniserve/Makefile b/www/miniserve/Makefile
index 0bf28cc49d5f..54afb7cca0d3 100644
--- a/www/miniserve/Makefile
+++ b/www/miniserve/Makefile
@@ -1,7 +1,6 @@
PORTNAME= miniserve
DISTVERSIONPREFIX= v
-DISTVERSION= 0.31.0
-PORTREVISION= 1
+DISTVERSION= 0.32.0
CATEGORIES= www
MAINTAINER= bofh@FreeBSD.org
@@ -15,8 +14,9 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON= the ring crate requires SSE2 instruction on intel cpu
-BUILD_DEPENDS= zstd>0:archivers/zstd
-LIB_DEPENDS= libonig.so:devel/oniguruma
+#BUILD_DEPENDS= zstd>0:archivers/zstd
+LIB_DEPENDS= libonig.so:devel/oniguruma \
+ libzstd.so:archivers/zstd
USES= cargo ssl:build
USE_GITHUB= yes
diff --git a/www/miniserve/Makefile.crates b/www/miniserve/Makefile.crates
index 294c0d66a559..bc6c0d95079c 100644
--- a/www/miniserve/Makefile.crates
+++ b/www/miniserve/Makefile.crates
@@ -1,11 +1,11 @@
CARGO_CRATES= actix-codec-0.5.2 \
- actix-files-0.6.6 \
- actix-http-3.11.0 \
+ actix-files-0.6.8 \
+ actix-http-3.11.1 \
actix-macros-0.2.4 \
actix-multipart-0.7.2 \
actix-multipart-derive-0.7.0 \
actix-router-0.5.3 \
- actix-rt-2.10.0 \
+ actix-rt-2.11.0 \
actix-server-2.6.0 \
actix-service-2.0.3 \
actix-tls-3.4.0 \
@@ -22,22 +22,21 @@ CARGO_CRATES= actix-codec-0.5.2 \
alloc-stdlib-0.2.2 \
allocator-api2-0.2.21 \
alphanumeric-sort-1.5.3 \
- android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
- anstream-0.6.19 \
+ anstream-0.6.20 \
anstyle-1.0.11 \
anstyle-parse-0.2.7 \
- anstyle-query-1.1.3 \
- anstyle-wincon-3.0.9 \
- anyhow-1.0.98 \
- arbitrary-1.4.1 \
+ anstyle-query-1.1.4 \
+ anstyle-wincon-3.0.10 \
+ anyhow-1.0.99 \
+ arbitrary-1.4.2 \
assert_cmd-2.0.17 \
assert_fs-1.1.3 \
- async-channel-2.3.1 \
- async-fs-2.1.2 \
- async-lock-3.4.0 \
+ async-channel-2.5.0 \
+ async-fs-2.2.0 \
+ async-lock-3.4.1 \
async-task-4.7.1 \
- async-trait-0.1.88 \
+ async-trait-0.1.89 \
async-walkdir-2.1.0 \
atomic-waker-1.1.2 \
autocfg-1.5.0 \
@@ -45,32 +44,32 @@ CARGO_CRATES= actix-codec-0.5.2 \
base64-0.22.1 \
bit-set-0.5.3 \
bit-vec-0.6.3 \
- bitflags-2.9.1 \
+ bitflags-2.9.4 \
block-buffer-0.10.4 \
- blocking-1.6.1 \
- brotli-8.0.1 \
+ blocking-1.6.2 \
+ brotli-8.0.2 \
brotli-decompressor-5.0.0 \
bstr-1.12.0 \
- bumpalo-3.18.1 \
+ bumpalo-3.19.0 \
bytes-1.10.1 \
- bytesize-2.0.1 \
- bytestring-1.4.0 \
+ bytesize-2.1.0 \
+ bytestring-1.5.0 \
caseless-0.2.2 \
- cc-1.2.27 \
- cfg-if-1.0.1 \
+ cc-1.2.37 \
+ cfg-if-1.0.3 \
cfg_aliases-0.2.1 \
- chrono-0.4.41 \
+ chrono-0.4.42 \
chrono-humanize-0.2.3 \
- clap-4.5.40 \
- clap_builder-4.5.40 \
- clap_complete-4.5.54 \
- clap_derive-4.5.40 \
+ clap-4.5.47 \
+ clap_builder-4.5.47 \
+ clap_complete-4.5.58 \
+ clap_derive-4.5.47 \
clap_lex-0.7.5 \
- clap_mangen-0.2.27 \
+ clap_mangen-0.2.29 \
codemap-0.1.3 \
colorchoice-1.0.4 \
colored-3.0.0 \
- comrak-0.39.0 \
+ comrak-0.41.1 \
concurrent-queue-2.5.0 \
convert_case-0.4.0 \
cookie-0.16.2 \
@@ -78,7 +77,7 @@ CARGO_CRATES= actix-codec-0.5.2 \
core-foundation-sys-0.8.7 \
core2-0.4.0 \
cpufeatures-0.2.17 \
- crc32fast-1.4.2 \
+ crc32fast-1.5.0 \
crossbeam-deque-0.8.6 \
crossbeam-epoch-0.9.18 \
crossbeam-utils-0.8.21 \
@@ -86,11 +85,11 @@ CARGO_CRATES= actix-codec-0.5.2 \
darling-0.20.11 \
darling_core-0.20.11 \
darling_macro-0.20.11 \
- dary_heap-0.3.7 \
+ dary_heap-0.3.8 \
dav-server-0.8.0 \
- deranged-0.4.0 \
+ deranged-0.5.3 \
derivative-2.2.0 \
- derive_arbitrary-1.4.1 \
+ derive_arbitrary-1.4.2 \
derive_more-0.99.20 \
derive_more-2.0.1 \
derive_more-impl-2.0.1 \
@@ -101,31 +100,32 @@ CARGO_CRATES= actix-codec-0.5.2 \
digest_auth-0.3.1 \
displaydoc-0.2.5 \
doc-comment-0.3.3 \
- dyn-clone-1.0.19 \
+ dyn-clone-1.0.20 \
encoding_rs-0.8.35 \
entities-1.0.1 \
equivalent-1.0.2 \
- errno-0.3.13 \
- event-listener-5.4.0 \
+ errno-0.3.14 \
+ event-listener-5.4.1 \
event-listener-strategy-0.5.4 \
fake-tty-0.3.1 \
fast_qr-0.13.1 \
fastrand-2.3.0 \
- filetime-0.2.25 \
+ filetime-0.2.26 \
+ find-msvc-tools-0.1.1 \
flate2-1.1.2 \
float-cmp-0.10.0 \
fnv-1.0.7 \
foldhash-0.1.5 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
- form_urlencoded-1.2.1 \
+ form_urlencoded-1.2.2 \
futf-0.1.5 \
futures-0.3.31 \
futures-channel-0.3.31 \
futures-core-0.3.31 \
futures-executor-0.3.31 \
futures-io-0.3.31 \
- futures-lite-2.6.0 \
+ futures-lite-2.6.1 \
futures-macro-0.3.31 \
futures-sink-0.3.31 \
futures-task-0.3.31 \
@@ -135,15 +135,15 @@ CARGO_CRATES= actix-codec-0.5.2 \
getrandom-0.2.16 \
getrandom-0.3.3 \
gimli-0.31.1 \
- glob-0.3.2 \
+ glob-0.3.3 \
globset-0.4.16 \
globwalk-0.9.1 \
grass-0.13.4 \
grass_compiler-0.13.4 \
- h2-0.3.26 \
- h2-0.4.10 \
+ h2-0.3.27 \
+ h2-0.4.12 \
hashbrown-0.14.5 \
- hashbrown-0.15.4 \
+ hashbrown-0.15.5 \
headers-0.4.1 \
headers-core-0.3.0 \
heck-0.5.0 \
@@ -157,11 +157,11 @@ CARGO_CRATES= actix-codec-0.5.2 \
http-range-0.1.5 \
httparse-1.10.1 \
httpdate-1.0.3 \
- hyper-1.6.0 \
+ hyper-1.7.0 \
hyper-rustls-0.27.7 \
hyper-tls-0.6.0 \
- hyper-util-0.1.14 \
- iana-time-zone-0.1.63 \
+ hyper-util-0.1.17 \
+ iana-time-zone-0.1.64 \
iana-time-zone-haiku-0.1.2 \
icu_collections-2.0.0 \
icu_locale_core-2.0.0 \
@@ -171,32 +171,33 @@ CARGO_CRATES= actix-codec-0.5.2 \
icu_properties_data-2.0.1 \
icu_provider-2.0.0 \
ident_case-1.0.1 \
- idna-1.0.3 \
+ idna-1.1.0 \
idna_adapter-1.2.1 \
- if-addrs-0.13.4 \
+ if-addrs-0.14.0 \
ignore-0.4.23 \
impl-more-0.1.9 \
include_sass-0.13.4 \
- indexmap-2.9.0 \
+ indexmap-2.11.3 \
+ io-uring-0.7.10 \
ipnet-2.11.0 \
iri-string-0.7.8 \
is_terminal_polyfill-1.70.1 \
itoa-1.0.15 \
- jobserver-0.1.33 \
- js-sys-0.3.77 \
+ jobserver-0.1.34 \
+ js-sys-0.3.79 \
language-tags-0.3.2 \
lasso-0.7.3 \
lazy_static-1.5.0 \
- libc-0.2.174 \
+ libc-0.2.175 \
libflate-2.1.0 \
libflate_lz77-2.1.0 \
- libredox-0.1.3 \
- linux-raw-sys-0.9.4 \
+ libredox-0.1.10 \
+ linux-raw-sys-0.11.0 \
litemap-0.8.0 \
local-channel-0.1.5 \
local-waker-0.1.4 \
lock_api-0.4.13 \
- log-0.4.27 \
+ log-0.4.28 \
lru-0.14.0 \
lru-slab-0.1.2 \
mac-0.1.1 \
@@ -228,7 +229,7 @@ CARGO_CRATES= actix-codec-0.5.2 \
parking_lot-0.12.4 \
parking_lot_core-0.9.11 \
parse-size-1.1.0 \
- percent-encoding-2.3.1 \
+ percent-encoding-2.3.2 \
phf-0.10.1 \
phf-0.11.3 \
phf_codegen-0.10.0 \
@@ -243,8 +244,8 @@ CARGO_CRATES= actix-codec-0.5.2 \
pin-utils-0.1.0 \
piper-0.2.4 \
pkg-config-0.3.32 \
- port_check-0.2.1 \
- potential_utf-0.1.2 \
+ port_check-0.3.0 \
+ potential_utf-0.1.3 \
powerfmt-0.2.0 \
ppv-lite86-0.2.21 \
precomputed-hash-0.1.1 \
@@ -252,104 +253,107 @@ CARGO_CRATES= actix-codec-0.5.2 \
predicates-core-1.0.9 \
predicates-tree-1.0.12 \
pretty_assertions-1.4.1 \
- proc-macro-crate-3.3.0 \
- proc-macro2-1.0.95 \
+ proc-macro-crate-3.4.0 \
+ proc-macro2-1.0.101 \
proc-macro2-diagnostics-0.10.1 \
- quinn-0.11.8 \
- quinn-proto-0.11.12 \
- quinn-udp-0.5.13 \
+ quinn-0.11.9 \
+ quinn-proto-0.11.13 \
+ quinn-udp-0.5.14 \
quote-1.0.40 \
r-efi-5.3.0 \
rand-0.8.5 \
- rand-0.9.1 \
+ rand-0.9.2 \
rand_chacha-0.3.1 \
rand_chacha-0.9.0 \
rand_core-0.6.4 \
rand_core-0.9.3 \
- redox_syscall-0.5.13 \
- reflink-copy-0.1.26 \
- regex-1.11.1 \
- regex-automata-0.4.9 \
- regex-lite-0.1.6 \
- regex-syntax-0.8.5 \
+ redox_syscall-0.5.17 \
+ reflink-copy-0.1.28 \
+ regex-1.11.2 \
+ regex-automata-0.4.10 \
+ regex-lite-0.1.7 \
+ regex-syntax-0.8.6 \
relative-path-1.9.3 \
- reqwest-0.12.20 \
- reqwest_dav-0.2.1 \
+ reqwest-0.12.23 \
+ reqwest_dav-0.2.2 \
ring-0.17.14 \
rle-decode-fast-1.0.3 \
roff-0.2.2 \
- rstest-0.25.0 \
- rstest_macros-0.25.0 \
- rustc-demangle-0.1.25 \
+ rstest-0.26.1 \
+ rstest_macros-0.26.1 \
+ rustc-demangle-0.1.26 \
rustc-hash-2.1.1 \
rustc_version-0.4.1 \
- rustix-1.0.7 \
- rustls-0.23.28 \
+ rustix-1.1.2 \
+ rustls-0.23.31 \
rustls-pemfile-2.2.0 \
rustls-pki-types-1.12.0 \
- rustls-webpki-0.103.3 \
- rustversion-1.0.21 \
+ rustls-webpki-0.103.6 \
+ rustversion-1.0.22 \
ryu-1.0.20 \
same-file-1.0.6 \
- schannel-0.1.27 \
+ schannel-0.1.28 \
scopeguard-1.2.0 \
security-framework-2.11.1 \
- security-framework-sys-2.14.0 \
+ security-framework-sys-2.15.0 \
select-0.6.1 \
- semver-1.0.26 \
- serde-1.0.219 \
+ semver-1.0.27 \
+ serde-1.0.225 \
serde-xml-rs-0.6.0 \
- serde_derive-1.0.219 \
- serde_json-1.0.140 \
+ serde_core-1.0.225 \
+ serde_derive-1.0.225 \
+ serde_json-1.0.145 \
serde_plain-1.0.2 \
serde_urlencoded-0.7.1 \
sha1-0.10.6 \
sha2-0.10.9 \
shlex-1.3.0 \
- signal-hook-registry-1.4.5 \
+ signal-hook-registry-1.4.6 \
simplelog-0.12.2 \
siphasher-0.3.11 \
siphasher-1.0.1 \
- slab-0.4.10 \
+ slab-0.4.11 \
slug-0.1.6 \
smallvec-1.15.1 \
socket2-0.5.10 \
+ socket2-0.6.0 \
stable_deref_trait-1.2.0 \
string_cache-0.8.9 \
string_cache_codegen-0.5.4 \
strsim-0.11.1 \
- strum-0.27.1 \
- strum_macros-0.27.1 \
+ strum-0.27.2 \
+ strum_macros-0.27.2 \
subtle-2.6.1 \
syn-1.0.109 \
- syn-2.0.104 \
+ syn-2.0.106 \
sync_wrapper-1.0.2 \
synstructure-0.13.2 \
system-configuration-0.6.1 \
system-configuration-sys-0.6.0 \
tar-0.4.44 \
- tempfile-3.20.0 \
+ tempfile-3.22.0 \
tendril-0.4.3 \
termcolor-1.4.1 \
- terminal_size-0.4.2 \
+ terminal_size-0.4.3 \
termtree-0.5.1 \
thiserror-1.0.69 \
- thiserror-2.0.12 \
+ thiserror-2.0.16 \
thiserror-impl-1.0.69 \
- thiserror-impl-2.0.12 \
- time-0.3.41 \
- time-core-0.1.4 \
- time-macros-0.2.22 \
+ thiserror-impl-2.0.16 \
+ time-0.3.43 \
+ time-core-0.1.6 \
+ time-macros-0.2.24 \
tinystr-0.8.1 \
- tinyvec-1.9.0 \
+ tinyvec-1.10.0 \
tinyvec_macros-0.1.1 \
- tokio-1.45.1 \
+ tokio-1.47.1 \
tokio-macros-2.5.0 \
tokio-native-tls-0.3.1 \
tokio-rustls-0.26.2 \
- tokio-util-0.7.15 \
- toml_datetime-0.6.11 \
- toml_edit-0.22.27 \
+ tokio-util-0.7.16 \
+ toml_datetime-0.7.1 \
+ toml_edit-0.23.5 \
+ toml_parser-1.0.2 \
tower-0.5.2 \
tower-http-0.6.6 \
tower-layer-0.3.3 \
@@ -361,16 +365,16 @@ CARGO_CRATES= actix-codec-0.5.2 \
typed-arena-2.0.2 \
typenum-1.18.0 \
unicase-2.8.1 \
- unicode-ident-1.0.18 \
+ unicode-ident-1.0.19 \
unicode-normalization-0.1.24 \
unicode-xid-0.2.6 \
unicode_categories-0.1.1 \
untrusted-0.9.0 \
- url-2.5.4 \
+ url-2.5.7 \
utf-8-0.7.6 \
utf8_iter-1.0.4 \
utf8parse-0.2.2 \
- uuid-1.17.0 \
+ uuid-1.18.1 \
v_htmlescape-0.15.8 \
vcpkg-0.2.15 \
version_check-0.9.5 \
@@ -378,34 +382,39 @@ CARGO_CRATES= actix-codec-0.5.2 \
walkdir-2.5.0 \
want-0.3.1 \
wasi-0.11.1+wasi-snapshot-preview1 \
- wasi-0.14.2+wasi-0.2.4 \
- wasm-bindgen-0.2.100 \
- wasm-bindgen-backend-0.2.100 \
- wasm-bindgen-futures-0.4.50 \
- wasm-bindgen-macro-0.2.100 \
- wasm-bindgen-macro-support-0.2.100 \
- wasm-bindgen-shared-0.2.100 \
- web-sys-0.3.77 \
+ wasi-0.14.7+wasi-0.2.4 \
+ wasip2-1.0.1+wasi-0.2.4 \
+ wasm-bindgen-0.2.102 \
+ wasm-bindgen-backend-0.2.102 \
+ wasm-bindgen-futures-0.4.52 \
+ wasm-bindgen-macro-0.2.102 \
+ wasm-bindgen-macro-support-0.2.102 \
+ wasm-bindgen-shared-0.2.102 \
+ web-sys-0.3.79 \
web-time-1.1.0 \
- webpki-roots-1.0.1 \
- winapi-util-0.1.9 \
- windows-0.61.3 \
- windows-collections-0.2.0 \
- windows-core-0.61.2 \
- windows-future-0.2.1 \
+ webpki-roots-1.0.2 \
+ winapi-util-0.1.11 \
+ windows-0.62.0 \
+ windows-collections-0.3.0 \
+ windows-core-0.62.0 \
+ windows-future-0.3.0 \
windows-implement-0.60.0 \
windows-interface-0.59.1 \
windows-link-0.1.3 \
- windows-numerics-0.2.0 \
+ windows-link-0.2.0 \
+ windows-numerics-0.3.0 \
windows-registry-0.5.3 \
windows-result-0.3.4 \
+ windows-result-0.4.0 \
windows-strings-0.4.2 \
+ windows-strings-0.5.0 \
windows-sys-0.52.0 \
windows-sys-0.59.0 \
windows-sys-0.60.2 \
+ windows-sys-0.61.0 \
windows-targets-0.52.6 \
- windows-targets-0.53.2 \
- windows-threading-0.1.0 \
+ windows-targets-0.53.3 \
+ windows-threading-0.2.0 \
windows_aarch64_gnullvm-0.52.6 \
windows_aarch64_gnullvm-0.53.0 \
windows_aarch64_msvc-0.52.6 \
@@ -422,25 +431,25 @@ CARGO_CRATES= actix-codec-0.5.2 \
windows_x86_64_gnullvm-0.53.0 \
windows_x86_64_msvc-0.52.6 \
windows_x86_64_msvc-0.53.0 \
- winnow-0.7.11 \
- wit-bindgen-rt-0.39.0 \
+ winnow-0.7.13 \
+ wit-bindgen-0.46.0 \
writeable-0.6.1 \
- xattr-1.5.0 \
- xml-rs-0.8.26 \
+ xattr-1.5.1 \
+ xml-rs-0.8.27 \
xml5ever-0.17.0 \
xmltree-0.11.0 \
yansi-1.0.1 \
yoke-0.8.0 \
yoke-derive-0.8.0 \
- zerocopy-0.8.26 \
- zerocopy-derive-0.8.26 \
+ zerocopy-0.8.27 \
+ zerocopy-derive-0.8.27 \
zerofrom-0.1.6 \
zerofrom-derive-0.1.6 \
zeroize-1.8.1 \
zerotrie-0.2.2 \
- zerovec-0.11.2 \
+ zerovec-0.11.4 \
zerovec-derive-0.11.1 \
- zip-4.2.0 \
+ zip-5.1.1 \
zstd-0.13.3 \
zstd-safe-7.2.4 \
- zstd-sys-2.0.15+zstd.1.5.7
+ zstd-sys-2.0.16+zstd.1.5.7
diff --git a/www/miniserve/distinfo b/www/miniserve/distinfo
index 4aab0fba2ee9..da2d11a6daff 100644
--- a/www/miniserve/distinfo
+++ b/www/miniserve/distinfo
@@ -1,10 +1,10 @@
-TIMESTAMP = 1754877902
+TIMESTAMP = 1758123139
SHA256 (rust/crates/actix-codec-0.5.2.crate) = 5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a
SIZE (rust/crates/actix-codec-0.5.2.crate) = 14085
-SHA256 (rust/crates/actix-files-0.6.6.crate) = 0773d59061dedb49a8aed04c67291b9d8cf2fe0b60130a381aab53c6dd86e9be
-SIZE (rust/crates/actix-files-0.6.6.crate) = 42722
-SHA256 (rust/crates/actix-http-3.11.0.crate) = 44dfe5c9e0004c623edc65391dfd51daa201e7e30ebd9c9bedf873048ec32bc2
-SIZE (rust/crates/actix-http-3.11.0.crate) = 164165
+SHA256 (rust/crates/actix-files-0.6.8.crate) = 6c0d87f10d70e2948ad40e8edea79c8e77c6c66e0250a4c1f09b690465199576
+SIZE (rust/crates/actix-files-0.6.8.crate) = 46633
+SHA256 (rust/crates/actix-http-3.11.1.crate) = 44cceded2fb55f3c4b67068fa64962e2ca59614edc5b03167de9ff82ae803da0
+SIZE (rust/crates/actix-http-3.11.1.crate) = 165649
SHA256 (rust/crates/actix-macros-0.2.4.crate) = e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb
SIZE (rust/crates/actix-macros-0.2.4.crate) = 8380
SHA256 (rust/crates/actix-multipart-0.7.2.crate) = d5118a26dee7e34e894f7e85aa0ee5080ae4c18bf03c0e30d49a80e418f00a53
@@ -13,8 +13,8 @@ SHA256 (rust/crates/actix-multipart-derive-0.7.0.crate) = e11eb847f49a700678ea2f
SIZE (rust/crates/actix-multipart-derive-0.7.0.crate) = 9530
SHA256 (rust/crates/actix-router-0.5.3.crate) = 13d324164c51f63867b57e73ba5936ea151b8a41a1d23d1031eeb9f70d0236f8
SIZE (rust/crates/actix-router-0.5.3.crate) = 33145
-SHA256 (rust/crates/actix-rt-2.10.0.crate) = 24eda4e2a6e042aa4e55ac438a2ae052d3b5da0ecf83d7411e1a368946925208
-SIZE (rust/crates/actix-rt-2.10.0.crate) = 22608
+SHA256 (rust/crates/actix-rt-2.11.0.crate) = 92589714878ca59a7626ea19734f0e07a6a875197eec751bb5d3f99e64998c63
+SIZE (rust/crates/actix-rt-2.11.0.crate) = 22288
SHA256 (rust/crates/actix-server-2.6.0.crate) = a65064ea4a457eaf07f2fba30b4c695bf43b721790e9530d26cb6f9019ff7502
SIZE (rust/crates/actix-server-2.6.0.crate) = 42816
SHA256 (rust/crates/actix-service-2.0.3.crate) = 9e46f36bf0e5af44bdc4bdb36fbbd421aa98c79a9bce724e1edeb3894e10dc7f
@@ -47,38 +47,36 @@ SHA256 (rust/crates/allocator-api2-0.2.21.crate) = 683d7910e743518b0e34f1186f924
SIZE (rust/crates/allocator-api2-0.2.21.crate) = 63622
SHA256 (rust/crates/alphanumeric-sort-1.5.3.crate) = d67c60c5f10f11c6ee04de72b2dd98bb9d2548cbc314d22a609bfa8bd9e87e8f
SIZE (rust/crates/alphanumeric-sort-1.5.3.crate) = 6318
-SHA256 (rust/crates/android-tzdata-0.1.1.crate) = e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0
-SIZE (rust/crates/android-tzdata-0.1.1.crate) = 7674
SHA256 (rust/crates/android_system_properties-0.1.5.crate) = 819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311
SIZE (rust/crates/android_system_properties-0.1.5.crate) = 5243
-SHA256 (rust/crates/anstream-0.6.19.crate) = 301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933
-SIZE (rust/crates/anstream-0.6.19.crate) = 28767
+SHA256 (rust/crates/anstream-0.6.20.crate) = 3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192
+SIZE (rust/crates/anstream-0.6.20.crate) = 28797
SHA256 (rust/crates/anstyle-1.0.11.crate) = 862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd
SIZE (rust/crates/anstyle-1.0.11.crate) = 15880
SHA256 (rust/crates/anstyle-parse-0.2.7.crate) = 4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
SIZE (rust/crates/anstyle-parse-0.2.7.crate) = 21707
-SHA256 (rust/crates/anstyle-query-1.1.3.crate) = 6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9
-SIZE (rust/crates/anstyle-query-1.1.3.crate) = 10190
-SHA256 (rust/crates/anstyle-wincon-3.0.9.crate) = 403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882
-SIZE (rust/crates/anstyle-wincon-3.0.9.crate) = 12561
-SHA256 (rust/crates/anyhow-1.0.98.crate) = e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487
-SIZE (rust/crates/anyhow-1.0.98.crate) = 53334
-SHA256 (rust/crates/arbitrary-1.4.1.crate) = dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223
-SIZE (rust/crates/arbitrary-1.4.1.crate) = 36816
+SHA256 (rust/crates/anstyle-query-1.1.4.crate) = 9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2
+SIZE (rust/crates/anstyle-query-1.1.4.crate) = 10192
+SHA256 (rust/crates/anstyle-wincon-3.0.10.crate) = 3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a
+SIZE (rust/crates/anstyle-wincon-3.0.10.crate) = 12558
+SHA256 (rust/crates/anyhow-1.0.99.crate) = b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100
+SIZE (rust/crates/anyhow-1.0.99.crate) = 53809
+SHA256 (rust/crates/arbitrary-1.4.2.crate) = c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1
+SIZE (rust/crates/arbitrary-1.4.2.crate) = 38307
SHA256 (rust/crates/assert_cmd-2.0.17.crate) = 2bd389a4b2970a01282ee455294913c0a43724daedcd1a24c3eb0ec1c1320b66
SIZE (rust/crates/assert_cmd-2.0.17.crate) = 26914
SHA256 (rust/crates/assert_fs-1.1.3.crate) = a652f6cb1f516886fcfee5e7a5c078b9ade62cfcb889524efe5a64d682dd27a9
SIZE (rust/crates/assert_fs-1.1.3.crate) = 20176
-SHA256 (rust/crates/async-channel-2.3.1.crate) = 89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a
-SIZE (rust/crates/async-channel-2.3.1.crate) = 14576
-SHA256 (rust/crates/async-fs-2.1.2.crate) = ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a
-SIZE (rust/crates/async-fs-2.1.2.crate) = 17071
-SHA256 (rust/crates/async-lock-3.4.0.crate) = ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18
-SIZE (rust/crates/async-lock-3.4.0.crate) = 34446
+SHA256 (rust/crates/async-channel-2.5.0.crate) = 924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2
+SIZE (rust/crates/async-channel-2.5.0.crate) = 18624
+SHA256 (rust/crates/async-fs-2.2.0.crate) = 8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5
+SIZE (rust/crates/async-fs-2.2.0.crate) = 18824
+SHA256 (rust/crates/async-lock-3.4.1.crate) = 5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc
+SIZE (rust/crates/async-lock-3.4.1.crate) = 40981
SHA256 (rust/crates/async-task-4.7.1.crate) = 8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de
SIZE (rust/crates/async-task-4.7.1.crate) = 38077
-SHA256 (rust/crates/async-trait-0.1.88.crate) = e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5
-SIZE (rust/crates/async-trait-0.1.88.crate) = 32084
+SHA256 (rust/crates/async-trait-0.1.89.crate) = 9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb
+SIZE (rust/crates/async-trait-0.1.89.crate) = 32171
SHA256 (rust/crates/async-walkdir-2.1.0.crate) = 37672978ae0febce7516ae0a85b53e6185159a9a28787391eb63fc44ec36037d
SIZE (rust/crates/async-walkdir-2.1.0.crate) = 12611
SHA256 (rust/crates/atomic-waker-1.1.2.crate) = 1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0
@@ -93,58 +91,58 @@ SHA256 (rust/crates/bit-set-0.5.3.crate) = 0700ddab506f33b20a03b13996eccd309a48e
SIZE (rust/crates/bit-set-0.5.3.crate) = 14470
SHA256 (rust/crates/bit-vec-0.6.3.crate) = 349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb
SIZE (rust/crates/bit-vec-0.6.3.crate) = 19927
-SHA256 (rust/crates/bitflags-2.9.1.crate) = 1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967
-SIZE (rust/crates/bitflags-2.9.1.crate) = 47913
+SHA256 (rust/crates/bitflags-2.9.4.crate) = 2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394
+SIZE (rust/crates/bitflags-2.9.4.crate) = 47950
SHA256 (rust/crates/block-buffer-0.10.4.crate) = 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71
SIZE (rust/crates/block-buffer-0.10.4.crate) = 10538
-SHA256 (rust/crates/blocking-1.6.1.crate) = 703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea
-SIZE (rust/crates/blocking-1.6.1.crate) = 17788
-SHA256 (rust/crates/brotli-8.0.1.crate) = 9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d
-SIZE (rust/crates/brotli-8.0.1.crate) = 741712
+SHA256 (rust/crates/blocking-1.6.2.crate) = e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21
+SIZE (rust/crates/blocking-1.6.2.crate) = 17754
+SHA256 (rust/crates/brotli-8.0.2.crate) = 4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560
+SIZE (rust/crates/brotli-8.0.2.crate) = 741739
SHA256 (rust/crates/brotli-decompressor-5.0.0.crate) = 874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03
SIZE (rust/crates/brotli-decompressor-5.0.0.crate) = 195282
SHA256 (rust/crates/bstr-1.12.0.crate) = 234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4
SIZE (rust/crates/bstr-1.12.0.crate) = 351557
-SHA256 (rust/crates/bumpalo-3.18.1.crate) = 793db76d6187cd04dff33004d8e6c9cc4e05cd330500379d2394209271b4aeee
-SIZE (rust/crates/bumpalo-3.18.1.crate) = 96348
+SHA256 (rust/crates/bumpalo-3.19.0.crate) = 46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43
+SIZE (rust/crates/bumpalo-3.19.0.crate) = 96414
SHA256 (rust/crates/bytes-1.10.1.crate) = d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a
SIZE (rust/crates/bytes-1.10.1.crate) = 76779
-SHA256 (rust/crates/bytesize-2.0.1.crate) = a3c8f83209414aacf0eeae3cf730b18d6981697fba62f200fcfb92b9f082acba
-SIZE (rust/crates/bytesize-2.0.1.crate) = 18922
-SHA256 (rust/crates/bytestring-1.4.0.crate) = e465647ae23b2823b0753f50decb2d5a86d2bb2cac04788fafd1f80e45378e5f
-SIZE (rust/crates/bytestring-1.4.0.crate) = 9747
+SHA256 (rust/crates/bytesize-2.1.0.crate) = f5c434ae3cf0089ca203e9019ebe529c47ff45cefe8af7c85ecb734ef541822f
+SIZE (rust/crates/bytesize-2.1.0.crate) = 19793
+SHA256 (rust/crates/bytestring-1.5.0.crate) = 113b4343b5f6617e7ad401ced8de3cc8b012e73a594347c307b90db3e9271289
+SIZE (rust/crates/bytestring-1.5.0.crate) = 11353
SHA256 (rust/crates/caseless-0.2.2.crate) = 8b6fd507454086c8edfd769ca6ada439193cdb209c7681712ef6275cccbfe5d8
SIZE (rust/crates/caseless-0.2.2.crate) = 29309
-SHA256 (rust/crates/cc-1.2.27.crate) = d487aa071b5f64da6f19a3e848e3578944b726ee5a4854b82172f02aa876bfdc
-SIZE (rust/crates/cc-1.2.27.crate) = 107070
-SHA256 (rust/crates/cfg-if-1.0.1.crate) = 9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268
-SIZE (rust/crates/cfg-if-1.0.1.crate) = 8683
+SHA256 (rust/crates/cc-1.2.37.crate) = 65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44
+SIZE (rust/crates/cc-1.2.37.crate) = 90111
+SHA256 (rust/crates/cfg-if-1.0.3.crate) = 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9
+SIZE (rust/crates/cfg-if-1.0.3.crate) = 8719
SHA256 (rust/crates/cfg_aliases-0.2.1.crate) = 613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724
SIZE (rust/crates/cfg_aliases-0.2.1.crate) = 6355
-SHA256 (rust/crates/chrono-0.4.41.crate) = c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d
-SIZE (rust/crates/chrono-0.4.41.crate) = 234621
+SHA256 (rust/crates/chrono-0.4.42.crate) = 145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2
+SIZE (rust/crates/chrono-0.4.42.crate) = 238174
SHA256 (rust/crates/chrono-humanize-0.2.3.crate) = 799627e6b4d27827a814e837b9d8a504832086081806d45b1afa34dc982b023b
SIZE (rust/crates/chrono-humanize-0.2.3.crate) = 15411
-SHA256 (rust/crates/clap-4.5.40.crate) = 40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f
-SIZE (rust/crates/clap-4.5.40.crate) = 57419
-SHA256 (rust/crates/clap_builder-4.5.40.crate) = e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e
-SIZE (rust/crates/clap_builder-4.5.40.crate) = 169191
-SHA256 (rust/crates/clap_complete-4.5.54.crate) = aad5b1b4de04fead402672b48897030eec1f3bfe1550776322f59f6d6e6a5677
-SIZE (rust/crates/clap_complete-4.5.54.crate) = 48534
-SHA256 (rust/crates/clap_derive-4.5.40.crate) = d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce
-SIZE (rust/crates/clap_derive-4.5.40.crate) = 33470
+SHA256 (rust/crates/clap-4.5.47.crate) = 7eac00902d9d136acd712710d71823fb8ac8004ca445a89e73a41d45aa712931
+SIZE (rust/crates/clap-4.5.47.crate) = 58354
+SHA256 (rust/crates/clap_builder-4.5.47.crate) = 2ad9bbf750e73b5884fb8a211a9424a1906c1e156724260fdae972f31d70e1d6
+SIZE (rust/crates/clap_builder-4.5.47.crate) = 170016
+SHA256 (rust/crates/clap_complete-4.5.58.crate) = 75bf0b32ad2e152de789bb635ea4d3078f6b838ad7974143e99b99f45a04af4a
+SIZE (rust/crates/clap_complete-4.5.58.crate) = 48645
+SHA256 (rust/crates/clap_derive-4.5.47.crate) = bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c
+SIZE (rust/crates/clap_derive-4.5.47.crate) = 33550
SHA256 (rust/crates/clap_lex-0.7.5.crate) = b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675
SIZE (rust/crates/clap_lex-0.7.5.crate) = 13469
-SHA256 (rust/crates/clap_mangen-0.2.27.crate) = fc33c849748320656a90832f54a5eeecaa598e92557fb5dedebc3355746d31e4
-SIZE (rust/crates/clap_mangen-0.2.27.crate) = 15696
+SHA256 (rust/crates/clap_mangen-0.2.29.crate) = 27b4c3c54b30f0d9adcb47f25f61fcce35c4dd8916638c6b82fbd5f4fb4179e2
+SIZE (rust/crates/clap_mangen-0.2.29.crate) = 16080
SHA256 (rust/crates/codemap-0.1.3.crate) = b9e769b5c8c8283982a987c6e948e540254f1058d5a74b8794914d4ef5fc2a24
SIZE (rust/crates/codemap-0.1.3.crate) = 9483
SHA256 (rust/crates/colorchoice-1.0.4.crate) = b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75
SIZE (rust/crates/colorchoice-1.0.4.crate) = 8196
SHA256 (rust/crates/colored-3.0.0.crate) = fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e
SIZE (rust/crates/colored-3.0.0.crate) = 34497
-SHA256 (rust/crates/comrak-0.39.0.crate) = d5c834ca54c5a20588b358f34d1533b4b498ddb5fd979cec6b22d0e8867a2449
-SIZE (rust/crates/comrak-0.39.0.crate) = 179041
+SHA256 (rust/crates/comrak-0.41.1.crate) = 9a45df55bc7f91b899160098a7c9b35d6e575dfb4fe22100f014b41a171af2c6
+SIZE (rust/crates/comrak-0.41.1.crate) = 185082
SHA256 (rust/crates/concurrent-queue-2.5.0.crate) = 4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973
SIZE (rust/crates/concurrent-queue-2.5.0.crate) = 22654
SHA256 (rust/crates/convert_case-0.4.0.crate) = 6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e
@@ -159,8 +157,8 @@ SHA256 (rust/crates/core2-0.4.0.crate) = b49ba7ef1ad6107f8824dbe97de947cbaac53c4
SIZE (rust/crates/core2-0.4.0.crate) = 37075
SHA256 (rust/crates/cpufeatures-0.2.17.crate) = 59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280
SIZE (rust/crates/cpufeatures-0.2.17.crate) = 13466
-SHA256 (rust/crates/crc32fast-1.4.2.crate) = a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3
-SIZE (rust/crates/crc32fast-1.4.2.crate) = 38491
+SHA256 (rust/crates/crc32fast-1.5.0.crate) = 9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511
+SIZE (rust/crates/crc32fast-1.5.0.crate) = 40723
SHA256 (rust/crates/crossbeam-deque-0.8.6.crate) = 9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51
SIZE (rust/crates/crossbeam-deque-0.8.6.crate) = 22471
SHA256 (rust/crates/crossbeam-epoch-0.9.18.crate) = 5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e
@@ -175,16 +173,16 @@ SHA256 (rust/crates/darling_core-0.20.11.crate) = 0d00b9596d185e565c2207a0b01f8b
SIZE (rust/crates/darling_core-0.20.11.crate) = 68006
SHA256 (rust/crates/darling_macro-0.20.11.crate) = fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead
SIZE (rust/crates/darling_macro-0.20.11.crate) = 2532
-SHA256 (rust/crates/dary_heap-0.3.7.crate) = 04d2cd9c18b9f454ed67da600630b021a8a80bf33f8c95896ab33aaf1c26b728
-SIZE (rust/crates/dary_heap-0.3.7.crate) = 24076
+SHA256 (rust/crates/dary_heap-0.3.8.crate) = 06d2e3287df1c007e74221c49ca10a95d557349e54b3a75dc2fb14712c751f04
+SIZE (rust/crates/dary_heap-0.3.8.crate) = 26544
SHA256 (rust/crates/dav-server-0.8.0.crate) = 1325ec68fa2627b069d06d5096d6109da5ebf46d45099e01e2dc59a4bcc4641e
SIZE (rust/crates/dav-server-0.8.0.crate) = 101835
-SHA256 (rust/crates/deranged-0.4.0.crate) = 9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e
-SIZE (rust/crates/deranged-0.4.0.crate) = 23235
+SHA256 (rust/crates/deranged-0.5.3.crate) = d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc
+SIZE (rust/crates/deranged-0.5.3.crate) = 24353
SHA256 (rust/crates/derivative-2.2.0.crate) = fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b
SIZE (rust/crates/derivative-2.2.0.crate) = 48076
-SHA256 (rust/crates/derive_arbitrary-1.4.1.crate) = 30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800
-SIZE (rust/crates/derive_arbitrary-1.4.1.crate) = 11521
+SHA256 (rust/crates/derive_arbitrary-1.4.2.crate) = 1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a
+SIZE (rust/crates/derive_arbitrary-1.4.2.crate) = 12290
SHA256 (rust/crates/derive_more-0.99.20.crate) = 6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f
SIZE (rust/crates/derive_more-0.99.20.crate) = 55041
SHA256 (rust/crates/derive_more-2.0.1.crate) = 093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678
@@ -205,18 +203,18 @@ SHA256 (rust/crates/displaydoc-0.2.5.crate) = 97369cbbc041bc366949bc74d34658d6cd
SIZE (rust/crates/displaydoc-0.2.5.crate) = 24219
SHA256 (rust/crates/doc-comment-0.3.3.crate) = fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10
SIZE (rust/crates/doc-comment-0.3.3.crate) = 4123
-SHA256 (rust/crates/dyn-clone-1.0.19.crate) = 1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005
-SIZE (rust/crates/dyn-clone-1.0.19.crate) = 12896
+SHA256 (rust/crates/dyn-clone-1.0.20.crate) = d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555
+SIZE (rust/crates/dyn-clone-1.0.20.crate) = 13134
SHA256 (rust/crates/encoding_rs-0.8.35.crate) = 75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3
SIZE (rust/crates/encoding_rs-0.8.35.crate) = 1381050
SHA256 (rust/crates/entities-1.0.1.crate) = b5320ae4c3782150d900b79807611a59a99fc9a1d61d686faafc24b93fc8d7ca
SIZE (rust/crates/entities-1.0.1.crate) = 24795
SHA256 (rust/crates/equivalent-1.0.2.crate) = 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f
SIZE (rust/crates/equivalent-1.0.2.crate) = 7419
-SHA256 (rust/crates/errno-0.3.13.crate) = 778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad
-SIZE (rust/crates/errno-0.3.13.crate) = 12449
-SHA256 (rust/crates/event-listener-5.4.0.crate) = 3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae
-SIZE (rust/crates/event-listener-5.4.0.crate) = 43452
+SHA256 (rust/crates/errno-0.3.14.crate) = 39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb
+SIZE (rust/crates/errno-0.3.14.crate) = 12002
+SHA256 (rust/crates/event-listener-5.4.1.crate) = e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab
+SIZE (rust/crates/event-listener-5.4.1.crate) = 43782
SHA256 (rust/crates/event-listener-strategy-0.5.4.crate) = 8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93
SIZE (rust/crates/event-listener-strategy-0.5.4.crate) = 16179
SHA256 (rust/crates/fake-tty-0.3.1.crate) = aa6c2a740a5d6940f90a0f13b5828440c2a7160bd1e235cf934d5df0e7a3e1ad
@@ -225,8 +223,10 @@ SHA256 (rust/crates/fast_qr-0.13.1.crate) = 1f5ea9788036fedaf55f43a2db0ba01eedf4
SIZE (rust/crates/fast_qr-0.13.1.crate) = 71951
SHA256 (rust/crates/fastrand-2.3.0.crate) = 37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be
SIZE (rust/crates/fastrand-2.3.0.crate) = 15076
-SHA256 (rust/crates/filetime-0.2.25.crate) = 35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586
-SIZE (rust/crates/filetime-0.2.25.crate) = 14940
+SHA256 (rust/crates/filetime-0.2.26.crate) = bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed
+SIZE (rust/crates/filetime-0.2.26.crate) = 17273
+SHA256 (rust/crates/find-msvc-tools-0.1.1.crate) = 7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d
+SIZE (rust/crates/find-msvc-tools-0.1.1.crate) = 30228
SHA256 (rust/crates/flate2-1.1.2.crate) = 4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d
SIZE (rust/crates/flate2-1.1.2.crate) = 76495
SHA256 (rust/crates/float-cmp-0.10.0.crate) = b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8
@@ -239,8 +239,8 @@ SHA256 (rust/crates/foreign-types-0.3.2.crate) = f6f339eb8adc052cd2ca78910fda869
SIZE (rust/crates/foreign-types-0.3.2.crate) = 7504
SHA256 (rust/crates/foreign-types-shared-0.1.1.crate) = 00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b
SIZE (rust/crates/foreign-types-shared-0.1.1.crate) = 5672
-SHA256 (rust/crates/form_urlencoded-1.2.1.crate) = e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456
-SIZE (rust/crates/form_urlencoded-1.2.1.crate) = 8969
+SHA256 (rust/crates/form_urlencoded-1.2.2.crate) = cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf
+SIZE (rust/crates/form_urlencoded-1.2.2.crate) = 9347
SHA256 (rust/crates/futf-0.1.5.crate) = df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843
SIZE (rust/crates/futf-0.1.5.crate) = 11344
SHA256 (rust/crates/futures-0.3.31.crate) = 65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876
@@ -253,8 +253,8 @@ SHA256 (rust/crates/futures-executor-0.3.31.crate) = 1e28d1d997f585e54aebc3f97d3
SIZE (rust/crates/futures-executor-0.3.31.crate) = 17965
SHA256 (rust/crates/futures-io-0.3.31.crate) = 9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6
SIZE (rust/crates/futures-io-0.3.31.crate) = 9047
-SHA256 (rust/crates/futures-lite-2.6.0.crate) = f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532
-SIZE (rust/crates/futures-lite-2.6.0.crate) = 45157
+SHA256 (rust/crates/futures-lite-2.6.1.crate) = f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad
+SIZE (rust/crates/futures-lite-2.6.1.crate) = 46095
SHA256 (rust/crates/futures-macro-0.3.31.crate) = 162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650
SIZE (rust/crates/futures-macro-0.3.31.crate) = 11341
SHA256 (rust/crates/futures-sink-0.3.31.crate) = e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7
@@ -273,8 +273,8 @@ SHA256 (rust/crates/getrandom-0.3.3.crate) = 26145e563e54f2cadc477553f1ec5ee650b
SIZE (rust/crates/getrandom-0.3.3.crate) = 49493
SHA256 (rust/crates/gimli-0.31.1.crate) = 07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f
SIZE (rust/crates/gimli-0.31.1.crate) = 279515
-SHA256 (rust/crates/glob-0.3.2.crate) = a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2
-SIZE (rust/crates/glob-0.3.2.crate) = 22359
+SHA256 (rust/crates/glob-0.3.3.crate) = 0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280
+SIZE (rust/crates/glob-0.3.3.crate) = 22861
SHA256 (rust/crates/globset-0.4.16.crate) = 54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5
SIZE (rust/crates/globset-0.4.16.crate) = 26533
SHA256 (rust/crates/globwalk-0.9.1.crate) = 0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757
@@ -283,14 +283,14 @@ SHA256 (rust/crates/grass-0.13.4.crate) = f7a68216437ef68f0738e48d6c7bb9e6e6a922
SIZE (rust/crates/grass-0.13.4.crate) = 11009
SHA256 (rust/crates/grass_compiler-0.13.4.crate) = 2d9e3df7f0222ce5184154973d247c591d9aadc28ce7a73c6cd31100c9facff6
SIZE (rust/crates/grass_compiler-0.13.4.crate) = 166416
-SHA256 (rust/crates/h2-0.3.26.crate) = 81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8
-SIZE (rust/crates/h2-0.3.26.crate) = 168315
-SHA256 (rust/crates/h2-0.4.10.crate) = a9421a676d1b147b16b82c9225157dc629087ef8ec4d5e2960f9437a90dac0a5
-SIZE (rust/crates/h2-0.4.10.crate) = 174800
+SHA256 (rust/crates/h2-0.3.27.crate) = 0beca50380b1fc32983fc1cb4587bfa4bb9e78fc259aad4a0032d2080309222d
+SIZE (rust/crates/h2-0.3.27.crate) = 169180
+SHA256 (rust/crates/h2-0.4.12.crate) = f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386
+SIZE (rust/crates/h2-0.4.12.crate) = 176264
SHA256 (rust/crates/hashbrown-0.14.5.crate) = e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1
SIZE (rust/crates/hashbrown-0.14.5.crate) = 141498
-SHA256 (rust/crates/hashbrown-0.15.4.crate) = 5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5
-SIZE (rust/crates/hashbrown-0.15.4.crate) = 140447
+SHA256 (rust/crates/hashbrown-0.15.5.crate) = 9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1
+SIZE (rust/crates/hashbrown-0.15.5.crate) = 140908
SHA256 (rust/crates/headers-0.4.1.crate) = b3314d5adb5d94bcdf56771f2e50dbbc80bb4bdf88967526706205ac9eff24eb
SIZE (rust/crates/headers-0.4.1.crate) = 71105
SHA256 (rust/crates/headers-core-0.3.0.crate) = 54b4a22553d4242c49fddb9ba998a99962b5cc6f22cb5a3482bec22522403ce4
@@ -317,16 +317,16 @@ SHA256 (rust/crates/httparse-1.10.1.crate) = 6dbf3de79e51f3d586ab4cb9d5c3e2c14aa
SIZE (rust/crates/httparse-1.10.1.crate) = 45190
SHA256 (rust/crates/httpdate-1.0.3.crate) = df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9
SIZE (rust/crates/httpdate-1.0.3.crate) = 10639
-SHA256 (rust/crates/hyper-1.6.0.crate) = cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80
-SIZE (rust/crates/hyper-1.6.0.crate) = 153923
+SHA256 (rust/crates/hyper-1.7.0.crate) = eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e
+SIZE (rust/crates/hyper-1.7.0.crate) = 157006
SHA256 (rust/crates/hyper-rustls-0.27.7.crate) = e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58
SIZE (rust/crates/hyper-rustls-0.27.7.crate) = 35435
SHA256 (rust/crates/hyper-tls-0.6.0.crate) = 70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0
SIZE (rust/crates/hyper-tls-0.6.0.crate) = 15052
-SHA256 (rust/crates/hyper-util-0.1.14.crate) = dc2fdfdbff08affe55bb779f33b053aa1fe5dd5b54c257343c17edfa55711bdb
-SIZE (rust/crates/hyper-util-0.1.14.crate) = 101462
-SHA256 (rust/crates/iana-time-zone-0.1.63.crate) = b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8
-SIZE (rust/crates/iana-time-zone-0.1.63.crate) = 32919
+SHA256 (rust/crates/hyper-util-0.1.17.crate) = 3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8
+SIZE (rust/crates/hyper-util-0.1.17.crate) = 100999
+SHA256 (rust/crates/iana-time-zone-0.1.64.crate) = 33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb
+SIZE (rust/crates/iana-time-zone-0.1.64.crate) = 33152
SHA256 (rust/crates/iana-time-zone-haiku-0.1.2.crate) = f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f
SIZE (rust/crates/iana-time-zone-haiku-0.1.2.crate) = 7185
SHA256 (rust/crates/icu_collections-2.0.0.crate) = 200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47
@@ -345,20 +345,22 @@ SHA256 (rust/crates/icu_provider-2.0.0.crate) = 03c80da27b5f4187909049ee2d72f276
SIZE (rust/crates/icu_provider-2.0.0.crate) = 50966
SHA256 (rust/crates/ident_case-1.0.1.crate) = b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39
SIZE (rust/crates/ident_case-1.0.1.crate) = 3492
-SHA256 (rust/crates/idna-1.0.3.crate) = 686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e
-SIZE (rust/crates/idna-1.0.3.crate) = 142515
+SHA256 (rust/crates/idna-1.1.0.crate) = 3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de
+SIZE (rust/crates/idna-1.1.0.crate) = 148747
SHA256 (rust/crates/idna_adapter-1.2.1.crate) = 3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344
SIZE (rust/crates/idna_adapter-1.2.1.crate) = 10389
-SHA256 (rust/crates/if-addrs-0.13.4.crate) = 69b2eeee38fef3aa9b4cc5f1beea8a2444fc00e7377cafae396de3f5c2065e24
-SIZE (rust/crates/if-addrs-0.13.4.crate) = 14570
+SHA256 (rust/crates/if-addrs-0.14.0.crate) = bf39cc0423ee66021dc5eccface85580e4a001e0c5288bae8bea7ecb69225e90
+SIZE (rust/crates/if-addrs-0.14.0.crate) = 16237
SHA256 (rust/crates/ignore-0.4.23.crate) = 6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b
SIZE (rust/crates/ignore-0.4.23.crate) = 55901
SHA256 (rust/crates/impl-more-0.1.9.crate) = e8a5a9a0ff0086c7a148acb942baaabeadf9504d10400b5a05645853729b9cd2
SIZE (rust/crates/impl-more-0.1.9.crate) = 15583
SHA256 (rust/crates/include_sass-0.13.4.crate) = c6090ec145f7cf645ff53998a54d3fc77ae02d71651093ee53806769eb40ea1f
SIZE (rust/crates/include_sass-0.13.4.crate) = 3901
-SHA256 (rust/crates/indexmap-2.9.0.crate) = cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e
-SIZE (rust/crates/indexmap-2.9.0.crate) = 91214
+SHA256 (rust/crates/indexmap-2.11.3.crate) = 92119844f513ffa41556430369ab02c295a3578af21cf945caa3e9e0c2481ac3
+SIZE (rust/crates/indexmap-2.11.3.crate) = 100271
+SHA256 (rust/crates/io-uring-0.7.10.crate) = 046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b
+SIZE (rust/crates/io-uring-0.7.10.crate) = 103070
SHA256 (rust/crates/ipnet-2.11.0.crate) = 469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130
SIZE (rust/crates/ipnet-2.11.0.crate) = 29718
SHA256 (rust/crates/iri-string-0.7.8.crate) = dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2
@@ -367,26 +369,26 @@ SHA256 (rust/crates/is_terminal_polyfill-1.70.1.crate) = 7943c866cc5cd64cbc25b2e
SIZE (rust/crates/is_terminal_polyfill-1.70.1.crate) = 7492
SHA256 (rust/crates/itoa-1.0.15.crate) = 4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c
SIZE (rust/crates/itoa-1.0.15.crate) = 11231
-SHA256 (rust/crates/jobserver-0.1.33.crate) = 38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a
-SIZE (rust/crates/jobserver-0.1.33.crate) = 29136
-SHA256 (rust/crates/js-sys-0.3.77.crate) = 1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f
-SIZE (rust/crates/js-sys-0.3.77.crate) = 55538
+SHA256 (rust/crates/jobserver-0.1.34.crate) = 9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33
+SIZE (rust/crates/jobserver-0.1.34.crate) = 29013
+SHA256 (rust/crates/js-sys-0.3.79.crate) = 6247da8b8658ad4e73a186e747fcc5fc2a29f979d6fe6269127fdb5fd08298d0
+SIZE (rust/crates/js-sys-0.3.79.crate) = 56190
SHA256 (rust/crates/language-tags-0.3.2.crate) = d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388
SIZE (rust/crates/language-tags-0.3.2.crate) = 53420
SHA256 (rust/crates/lasso-0.7.3.crate) = 6e14eda50a3494b3bf7b9ce51c52434a761e383d7238ce1dd5dcec2fbc13e9fb
SIZE (rust/crates/lasso-0.7.3.crate) = 78870
SHA256 (rust/crates/lazy_static-1.5.0.crate) = bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe
SIZE (rust/crates/lazy_static-1.5.0.crate) = 14025
-SHA256 (rust/crates/libc-0.2.174.crate) = 1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776
-SIZE (rust/crates/libc-0.2.174.crate) = 779933
+SHA256 (rust/crates/libc-0.2.175.crate) = 6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543
+SIZE (rust/crates/libc-0.2.175.crate) = 788728
SHA256 (rust/crates/libflate-2.1.0.crate) = 45d9dfdc14ea4ef0900c1cddbc8dcd553fbaacd8a4a282cf4018ae9dd04fb21e
SIZE (rust/crates/libflate-2.1.0.crate) = 43366
SHA256 (rust/crates/libflate_lz77-2.1.0.crate) = e6e0d73b369f386f1c44abd9c570d5318f55ccde816ff4b562fa452e5182863d
SIZE (rust/crates/libflate_lz77-2.1.0.crate) = 5918
-SHA256 (rust/crates/libredox-0.1.3.crate) = c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d
-SIZE (rust/crates/libredox-0.1.3.crate) = 6068
-SHA256 (rust/crates/linux-raw-sys-0.9.4.crate) = cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12
-SIZE (rust/crates/linux-raw-sys-0.9.4.crate) = 2311088
+SHA256 (rust/crates/libredox-0.1.10.crate) = 416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb
+SIZE (rust/crates/libredox-0.1.10.crate) = 7332
+SHA256 (rust/crates/linux-raw-sys-0.11.0.crate) = df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039
+SIZE (rust/crates/linux-raw-sys-0.11.0.crate) = 2659624
SHA256 (rust/crates/litemap-0.8.0.crate) = 241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956
SIZE (rust/crates/litemap-0.8.0.crate) = 34344
SHA256 (rust/crates/local-channel-0.1.5.crate) = b6cbc85e69b8df4b8bb8b89ec634e7189099cea8927a276b7384ce5488e53ec8
@@ -395,8 +397,8 @@ SHA256 (rust/crates/local-waker-0.1.4.crate) = 4d873d7c67ce09b42110d801813efbc93
SIZE (rust/crates/local-waker-0.1.4.crate) = 6730
SHA256 (rust/crates/lock_api-0.4.13.crate) = 96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765
SIZE (rust/crates/lock_api-0.4.13.crate) = 28565
-SHA256 (rust/crates/log-0.4.27.crate) = 13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94
-SIZE (rust/crates/log-0.4.27.crate) = 48120
+SHA256 (rust/crates/log-0.4.28.crate) = 34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432
+SIZE (rust/crates/log-0.4.28.crate) = 51131
SHA256 (rust/crates/lru-0.14.0.crate) = 9f8cc7106155f10bdf99a6f379688f543ad6596a415375b36a59a054ceda1198
SIZE (rust/crates/lru-0.14.0.crate) = 16345
SHA256 (rust/crates/lru-slab-0.1.2.crate) = 112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154
@@ -459,8 +461,8 @@ SHA256 (rust/crates/parking_lot_core-0.9.11.crate) = bc838d2a56b5b1a6c25f55575df
SIZE (rust/crates/parking_lot_core-0.9.11.crate) = 34773
SHA256 (rust/crates/parse-size-1.1.0.crate) = 487f2ccd1e17ce8c1bfab3a65c89525af41cfad4c8659021a1e9a2aacd73b89b
SIZE (rust/crates/parse-size-1.1.0.crate) = 7065
-SHA256 (rust/crates/percent-encoding-2.3.1.crate) = e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e
-SIZE (rust/crates/percent-encoding-2.3.1.crate) = 10235
+SHA256 (rust/crates/percent-encoding-2.3.2.crate) = 9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220
+SIZE (rust/crates/percent-encoding-2.3.2.crate) = 11583
SHA256 (rust/crates/phf-0.10.1.crate) = fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259
SIZE (rust/crates/phf-0.10.1.crate) = 5406
SHA256 (rust/crates/phf-0.11.3.crate) = 1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078
@@ -489,10 +491,10 @@ SHA256 (rust/crates/piper-0.2.4.crate) = 96c8c490f422ef9a4efd2cb5b42b76c8613d7e7
SIZE (rust/crates/piper-0.2.4.crate) = 15950
SHA256 (rust/crates/pkg-config-0.3.32.crate) = 7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c
SIZE (rust/crates/pkg-config-0.3.32.crate) = 21370
-SHA256 (rust/crates/port_check-0.2.1.crate) = 2110609fb863cdb367d4e69d6c43c81ba6a8c7d18e80082fe9f3ef16b23afeed
-SIZE (rust/crates/port_check-0.2.1.crate) = 5082
-SHA256 (rust/crates/potential_utf-0.1.2.crate) = e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585
-SIZE (rust/crates/potential_utf-0.1.2.crate) = 9613
+SHA256 (rust/crates/port_check-0.3.0.crate) = 4c2749dcd0984ec1be3c01001bb1d83623a58c3c0049a99b9afec61464fa98e7
+SIZE (rust/crates/port_check-0.3.0.crate) = 9283
+SHA256 (rust/crates/potential_utf-0.1.3.crate) = 84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a
+SIZE (rust/crates/potential_utf-0.1.3.crate) = 9698
SHA256 (rust/crates/powerfmt-0.2.0.crate) = 439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391
SIZE (rust/crates/powerfmt-0.2.0.crate) = 15165
SHA256 (rust/crates/ppv-lite86-0.2.21.crate) = 85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9
@@ -507,26 +509,26 @@ SHA256 (rust/crates/predicates-tree-1.0.12.crate) = 72dd2d6d381dfb73a193c7fca536
SIZE (rust/crates/predicates-tree-1.0.12.crate) = 8392
SHA256 (rust/crates/pretty_assertions-1.4.1.crate) = 3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d
SIZE (rust/crates/pretty_assertions-1.4.1.crate) = 78952
-SHA256 (rust/crates/proc-macro-crate-3.3.0.crate) = edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35
-SIZE (rust/crates/proc-macro-crate-3.3.0.crate) = 12432
-SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778
-SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820
+SHA256 (rust/crates/proc-macro-crate-3.4.0.crate) = 219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983
+SIZE (rust/crates/proc-macro-crate-3.4.0.crate) = 12690
+SHA256 (rust/crates/proc-macro2-1.0.101.crate) = 89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de
+SIZE (rust/crates/proc-macro2-1.0.101.crate) = 53886
SHA256 (rust/crates/proc-macro2-diagnostics-0.10.1.crate) = af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8
SIZE (rust/crates/proc-macro2-diagnostics-0.10.1.crate) = 12219
-SHA256 (rust/crates/quinn-0.11.8.crate) = 626214629cda6781b6dc1d316ba307189c85ba657213ce642d9c77670f8202c8
-SIZE (rust/crates/quinn-0.11.8.crate) = 79949
-SHA256 (rust/crates/quinn-proto-0.11.12.crate) = 49df843a9161c85bb8aae55f101bc0bac8bcafd637a620d9122fd7e0b2f7422e
-SIZE (rust/crates/quinn-proto-0.11.12.crate) = 235821
-SHA256 (rust/crates/quinn-udp-0.5.13.crate) = fcebb1209ee276352ef14ff8732e24cc2b02bbac986cd74a4c81bcb2f9881970
-SIZE (rust/crates/quinn-udp-0.5.13.crate) = 32621
+SHA256 (rust/crates/quinn-0.11.9.crate) = b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20
+SIZE (rust/crates/quinn-0.11.9.crate) = 83606
+SHA256 (rust/crates/quinn-proto-0.11.13.crate) = f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31
+SIZE (rust/crates/quinn-proto-0.11.13.crate) = 243837
+SHA256 (rust/crates/quinn-udp-0.5.14.crate) = addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd
+SIZE (rust/crates/quinn-udp-0.5.14.crate) = 33436
SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d
SIZE (rust/crates/quote-1.0.40.crate) = 31063
SHA256 (rust/crates/r-efi-5.3.0.crate) = 69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f
SIZE (rust/crates/r-efi-5.3.0.crate) = 64532
SHA256 (rust/crates/rand-0.8.5.crate) = 34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404
SIZE (rust/crates/rand-0.8.5.crate) = 87113
-SHA256 (rust/crates/rand-0.9.1.crate) = 9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97
-SIZE (rust/crates/rand-0.9.1.crate) = 97986
+SHA256 (rust/crates/rand-0.9.2.crate) = 6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1
+SIZE (rust/crates/rand-0.9.2.crate) = 99930
SHA256 (rust/crates/rand_chacha-0.3.1.crate) = e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88
SIZE (rust/crates/rand_chacha-0.3.1.crate) = 15251
SHA256 (rust/crates/rand_chacha-0.9.0.crate) = d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb
@@ -535,76 +537,78 @@ SHA256 (rust/crates/rand_core-0.6.4.crate) = ec0be4795e2f6a28069bec0b5ff3e2ac9ba
SIZE (rust/crates/rand_core-0.6.4.crate) = 22666
SHA256 (rust/crates/rand_core-0.9.3.crate) = 99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38
SIZE (rust/crates/rand_core-0.9.3.crate) = 24543
-SHA256 (rust/crates/redox_syscall-0.5.13.crate) = 0d04b7d0ee6b4a0207a0a7adb104d23ecb0b47d6beae7152d0fa34b692b29fd6
-SIZE (rust/crates/redox_syscall-0.5.13.crate) = 29489
-SHA256 (rust/crates/reflink-copy-0.1.26.crate) = 78c81d000a2c524133cc00d2f92f019d399e57906c3b7119271a2495354fe895
-SIZE (rust/crates/reflink-copy-0.1.26.crate) = 23463
-SHA256 (rust/crates/regex-1.11.1.crate) = b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191
-SIZE (rust/crates/regex-1.11.1.crate) = 254170
-SHA256 (rust/crates/regex-automata-0.4.9.crate) = 809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908
-SIZE (rust/crates/regex-automata-0.4.9.crate) = 618525
-SHA256 (rust/crates/regex-lite-0.1.6.crate) = 53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a
-SIZE (rust/crates/regex-lite-0.1.6.crate) = 95278
-SHA256 (rust/crates/regex-syntax-0.8.5.crate) = 2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c
-SIZE (rust/crates/regex-syntax-0.8.5.crate) = 357541
+SHA256 (rust/crates/redox_syscall-0.5.17.crate) = 5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77
+SIZE (rust/crates/redox_syscall-0.5.17.crate) = 30002
+SHA256 (rust/crates/reflink-copy-0.1.28.crate) = 23bbed272e39c47a095a5242218a67412a220006842558b03fe2935e8f3d7b92
+SIZE (rust/crates/reflink-copy-0.1.28.crate) = 23811
+SHA256 (rust/crates/regex-1.11.2.crate) = 23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912
+SIZE (rust/crates/regex-1.11.2.crate) = 166265
+SHA256 (rust/crates/regex-automata-0.4.10.crate) = 6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6
+SIZE (rust/crates/regex-automata-0.4.10.crate) = 622754
+SHA256 (rust/crates/regex-lite-0.1.7.crate) = 943f41321c63ef1c92fd763bfe054d2668f7f225a5c29f0105903dc2fc04ba30
+SIZE (rust/crates/regex-lite-0.1.7.crate) = 96903
+SHA256 (rust/crates/regex-syntax-0.8.6.crate) = caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001
+SIZE (rust/crates/regex-syntax-0.8.6.crate) = 358808
SHA256 (rust/crates/relative-path-1.9.3.crate) = ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2
SIZE (rust/crates/relative-path-1.9.3.crate) = 22400
-SHA256 (rust/crates/reqwest-0.12.20.crate) = eabf4c97d9130e2bf606614eb937e86edac8292eaa6f422f995d7e8de1eb1813
-SIZE (rust/crates/reqwest-0.12.20.crate) = 199843
-SHA256 (rust/crates/reqwest_dav-0.2.1.crate) = 280c1af39de7c1fb07ab9a036b37cc9b52a411c12a15bee0b520e07500d48d30
-SIZE (rust/crates/reqwest_dav-0.2.1.crate) = 28983
+SHA256 (rust/crates/reqwest-0.12.23.crate) = d429f34c8092b2d42c7c93cec323bb4adeb7c67698f70839adec842ec10c7ceb
+SIZE (rust/crates/reqwest-0.12.23.crate) = 161307
+SHA256 (rust/crates/reqwest_dav-0.2.2.crate) = 18a30b57f293dcb1a54163fc51fbbdbdaa3b622c4dbd8675a1062e0c671fab9a
+SIZE (rust/crates/reqwest_dav-0.2.2.crate) = 29842
SHA256 (rust/crates/ring-0.17.14.crate) = a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7
SIZE (rust/crates/ring-0.17.14.crate) = 1502610
SHA256 (rust/crates/rle-decode-fast-1.0.3.crate) = 3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422
SIZE (rust/crates/rle-decode-fast-1.0.3.crate) = 62086
SHA256 (rust/crates/roff-0.2.2.crate) = 88f8660c1ff60292143c98d08fc6e2f654d722db50410e3f3797d40baaf9d8f3
SIZE (rust/crates/roff-0.2.2.crate) = 11648
-SHA256 (rust/crates/rstest-0.25.0.crate) = 6fc39292f8613e913f7df8fa892b8944ceb47c247b78e1b1ae2f09e019be789d
-SIZE (rust/crates/rstest-0.25.0.crate) = 55273
-SHA256 (rust/crates/rstest_macros-0.25.0.crate) = 1f168d99749d307be9de54d23fd226628d99768225ef08f6ffb52e0182a27746
-SIZE (rust/crates/rstest_macros-0.25.0.crate) = 70557
-SHA256 (rust/crates/rustc-demangle-0.1.25.crate) = 989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f
-SIZE (rust/crates/rustc-demangle-0.1.25.crate) = 29590
+SHA256 (rust/crates/rstest-0.26.1.crate) = f5a3193c063baaa2a95a33f03035c8a72b83d97a54916055ba22d35ed3839d49
+SIZE (rust/crates/rstest-0.26.1.crate) = 56940
+SHA256 (rust/crates/rstest_macros-0.26.1.crate) = 9c845311f0ff7951c5506121a9ad75aec44d083c31583b2ea5a30bcb0b0abba0
+SIZE (rust/crates/rstest_macros-0.26.1.crate) = 68256
+SHA256 (rust/crates/rustc-demangle-0.1.26.crate) = 56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace
+SIZE (rust/crates/rustc-demangle-0.1.26.crate) = 30340
SHA256 (rust/crates/rustc-hash-2.1.1.crate) = 357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d
SIZE (rust/crates/rustc-hash-2.1.1.crate) = 14154
SHA256 (rust/crates/rustc_version-0.4.1.crate) = cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92
SIZE (rust/crates/rustc_version-0.4.1.crate) = 12245
-SHA256 (rust/crates/rustix-1.0.7.crate) = c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266
-SIZE (rust/crates/rustix-1.0.7.crate) = 414500
-SHA256 (rust/crates/rustls-0.23.28.crate) = 7160e3e10bf4535308537f3c4e1641468cd0e485175d6163087c0393c7d46643
-SIZE (rust/crates/rustls-0.23.28.crate) = 365699
+SHA256 (rust/crates/rustix-1.1.2.crate) = cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e
+SIZE (rust/crates/rustix-1.1.2.crate) = 422717
+SHA256 (rust/crates/rustls-0.23.31.crate) = c0ebcbd2f03de0fc1122ad9bb24b127a5a6cd51d72604a3f3c50ac459762b6cc
+SIZE (rust/crates/rustls-0.23.31.crate) = 371259
SHA256 (rust/crates/rustls-pemfile-2.2.0.crate) = dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50
SIZE (rust/crates/rustls-pemfile-2.2.0.crate) = 25849
SHA256 (rust/crates/rustls-pki-types-1.12.0.crate) = 229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79
SIZE (rust/crates/rustls-pki-types-1.12.0.crate) = 64740
-SHA256 (rust/crates/rustls-webpki-0.103.3.crate) = e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435
-SIZE (rust/crates/rustls-webpki-0.103.3.crate) = 81840
-SHA256 (rust/crates/rustversion-1.0.21.crate) = 8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d
-SIZE (rust/crates/rustversion-1.0.21.crate) = 21001
+SHA256 (rust/crates/rustls-webpki-0.103.6.crate) = 8572f3c2cb9934231157b45499fc41e1f58c589fdfb81a844ba873265e80f8eb
+SIZE (rust/crates/rustls-webpki-0.103.6.crate) = 85224
+SHA256 (rust/crates/rustversion-1.0.22.crate) = b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d
+SIZE (rust/crates/rustversion-1.0.22.crate) = 21096
SHA256 (rust/crates/ryu-1.0.20.crate) = 28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f
SIZE (rust/crates/ryu-1.0.20.crate) = 48738
SHA256 (rust/crates/same-file-1.0.6.crate) = 93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502
SIZE (rust/crates/same-file-1.0.6.crate) = 10183
-SHA256 (rust/crates/schannel-0.1.27.crate) = 1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d
-SIZE (rust/crates/schannel-0.1.27.crate) = 42772
+SHA256 (rust/crates/schannel-0.1.28.crate) = 891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1
+SIZE (rust/crates/schannel-0.1.28.crate) = 42312
SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49
SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619
SHA256 (rust/crates/security-framework-2.11.1.crate) = 897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02
SIZE (rust/crates/security-framework-2.11.1.crate) = 80188
-SHA256 (rust/crates/security-framework-sys-2.14.0.crate) = 49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32
-SIZE (rust/crates/security-framework-sys-2.14.0.crate) = 20537
+SHA256 (rust/crates/security-framework-sys-2.15.0.crate) = cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0
+SIZE (rust/crates/security-framework-sys-2.15.0.crate) = 20718
SHA256 (rust/crates/select-0.6.1.crate) = 5910c1d91bd7e6e178c0f8eb9e4ad01f814064b4a1c0ae3c906224a3cbf12879
SIZE (rust/crates/select-0.6.1.crate) = 12520
-SHA256 (rust/crates/semver-1.0.26.crate) = 56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0
-SIZE (rust/crates/semver-1.0.26.crate) = 31303
-SHA256 (rust/crates/serde-1.0.219.crate) = 5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6
-SIZE (rust/crates/serde-1.0.219.crate) = 78983
+SHA256 (rust/crates/semver-1.0.27.crate) = d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2
+SIZE (rust/crates/semver-1.0.27.crate) = 30081
+SHA256 (rust/crates/serde-1.0.225.crate) = fd6c24dee235d0da097043389623fb913daddf92c76e9f5a1db88607a0bcbd1d
+SIZE (rust/crates/serde-1.0.225.crate) = 28467
SHA256 (rust/crates/serde-xml-rs-0.6.0.crate) = fb3aa78ecda1ebc9ec9847d5d3aba7d618823446a049ba2491940506da6e2782
SIZE (rust/crates/serde-xml-rs-0.6.0.crate) = 20677
-SHA256 (rust/crates/serde_derive-1.0.219.crate) = 5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00
-SIZE (rust/crates/serde_derive-1.0.219.crate) = 57798
-SHA256 (rust/crates/serde_json-1.0.140.crate) = 20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373
-SIZE (rust/crates/serde_json-1.0.140.crate) = 154852
+SHA256 (rust/crates/serde_core-1.0.225.crate) = 659356f9a0cb1e529b24c01e43ad2bdf520ec4ceaf83047b83ddcc2251f96383
+SIZE (rust/crates/serde_core-1.0.225.crate) = 63004
+SHA256 (rust/crates/serde_derive-1.0.225.crate) = 0ea936adf78b1f766949a4977b91d2f5595825bd6ec079aa9543ad2685fc4516
+SIZE (rust/crates/serde_derive-1.0.225.crate) = 58560
+SHA256 (rust/crates/serde_json-1.0.145.crate) = 402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c
+SIZE (rust/crates/serde_json-1.0.145.crate) = 155748
SHA256 (rust/crates/serde_plain-1.0.2.crate) = 9ce1fc6db65a611022b23a0dec6975d63fb80a302cb3388835ff02c097258d50
SIZE (rust/crates/serde_plain-1.0.2.crate) = 11183
SHA256 (rust/crates/serde_urlencoded-0.7.1.crate) = d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd
@@ -615,22 +619,24 @@ SHA256 (rust/crates/sha2-0.10.9.crate) = a7507d819769d01a365ab707794a4084392c824
SIZE (rust/crates/sha2-0.10.9.crate) = 29271
SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64
SIZE (rust/crates/shlex-1.3.0.crate) = 18713
-SHA256 (rust/crates/signal-hook-registry-1.4.5.crate) = 9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410
-SIZE (rust/crates/signal-hook-registry-1.4.5.crate) = 19004
+SHA256 (rust/crates/signal-hook-registry-1.4.6.crate) = b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b
+SIZE (rust/crates/signal-hook-registry-1.4.6.crate) = 19277
SHA256 (rust/crates/simplelog-0.12.2.crate) = 16257adbfaef1ee58b1363bdc0664c9b8e1e30aed86049635fb5f147d065a9c0
SIZE (rust/crates/simplelog-0.12.2.crate) = 21548
SHA256 (rust/crates/siphasher-0.3.11.crate) = 38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d
SIZE (rust/crates/siphasher-0.3.11.crate) = 10442
SHA256 (rust/crates/siphasher-1.0.1.crate) = 56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d
SIZE (rust/crates/siphasher-1.0.1.crate) = 10351
-SHA256 (rust/crates/slab-0.4.10.crate) = 04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d
-SIZE (rust/crates/slab-0.4.10.crate) = 17810
+SHA256 (rust/crates/slab-0.4.11.crate) = 7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589
+SIZE (rust/crates/slab-0.4.11.crate) = 18549
SHA256 (rust/crates/slug-0.1.6.crate) = 882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724
SIZE (rust/crates/slug-0.1.6.crate) = 6787
SHA256 (rust/crates/smallvec-1.15.1.crate) = 67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03
SIZE (rust/crates/smallvec-1.15.1.crate) = 38116
SHA256 (rust/crates/socket2-0.5.10.crate) = e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678
SIZE (rust/crates/socket2-0.5.10.crate) = 58169
+SHA256 (rust/crates/socket2-0.6.0.crate) = 233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807
+SIZE (rust/crates/socket2-0.6.0.crate) = 57974
SHA256 (rust/crates/stable_deref_trait-1.2.0.crate) = a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3
SIZE (rust/crates/stable_deref_trait-1.2.0.crate) = 8054
SHA256 (rust/crates/string_cache-0.8.9.crate) = bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f
@@ -639,16 +645,16 @@ SHA256 (rust/crates/string_cache_codegen-0.5.4.crate) = c711928715f1fe0fe509c53b
SIZE (rust/crates/string_cache_codegen-0.5.4.crate) = 9406
SHA256 (rust/crates/strsim-0.11.1.crate) = 7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f
SIZE (rust/crates/strsim-0.11.1.crate) = 14266
-SHA256 (rust/crates/strum-0.27.1.crate) = f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32
-SIZE (rust/crates/strum-0.27.1.crate) = 7467
-SHA256 (rust/crates/strum_macros-0.27.1.crate) = c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8
-SIZE (rust/crates/strum_macros-0.27.1.crate) = 29670
+SHA256 (rust/crates/strum-0.27.2.crate) = af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf
+SIZE (rust/crates/strum-0.27.2.crate) = 8489
+SHA256 (rust/crates/strum_macros-0.27.2.crate) = 7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7
+SIZE (rust/crates/strum_macros-0.27.2.crate) = 30522
SHA256 (rust/crates/subtle-2.6.1.crate) = 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292
SIZE (rust/crates/subtle-2.6.1.crate) = 14562
SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237
SIZE (rust/crates/syn-1.0.109.crate) = 237611
-SHA256 (rust/crates/syn-2.0.104.crate) = 17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40
-SIZE (rust/crates/syn-2.0.104.crate) = 299699
+SHA256 (rust/crates/syn-2.0.106.crate) = ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6
+SIZE (rust/crates/syn-2.0.106.crate) = 301514
SHA256 (rust/crates/sync_wrapper-1.0.2.crate) = 0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263
SIZE (rust/crates/sync_wrapper-1.0.2.crate) = 6958
SHA256 (rust/crates/synstructure-0.13.2.crate) = 728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2
@@ -659,50 +665,52 @@ SHA256 (rust/crates/system-configuration-sys-0.6.0.crate) = 8e1d1b10ced5ca923a1f
SIZE (rust/crates/system-configuration-sys-0.6.0.crate) = 11090
SHA256 (rust/crates/tar-0.4.44.crate) = 1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a
SIZE (rust/crates/tar-0.4.44.crate) = 61020
-SHA256 (rust/crates/tempfile-3.20.0.crate) = e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1
-SIZE (rust/crates/tempfile-3.20.0.crate) = 42306
+SHA256 (rust/crates/tempfile-3.22.0.crate) = 84fa4d11fadde498443cca10fd3ac23c951f0dc59e080e9f4b93d4df4e4eea53
+SIZE (rust/crates/tempfile-3.22.0.crate) = 43044
SHA256 (rust/crates/tendril-0.4.3.crate) = d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0
SIZE (rust/crates/tendril-0.4.3.crate) = 37210
SHA256 (rust/crates/termcolor-1.4.1.crate) = 06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755
SIZE (rust/crates/termcolor-1.4.1.crate) = 18773
-SHA256 (rust/crates/terminal_size-0.4.2.crate) = 45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed
-SIZE (rust/crates/terminal_size-0.4.2.crate) = 9976
+SHA256 (rust/crates/terminal_size-0.4.3.crate) = 60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0
+SIZE (rust/crates/terminal_size-0.4.3.crate) = 10686
SHA256 (rust/crates/termtree-0.5.1.crate) = 8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683
SIZE (rust/crates/termtree-0.5.1.crate) = 8498
SHA256 (rust/crates/thiserror-1.0.69.crate) = b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52
SIZE (rust/crates/thiserror-1.0.69.crate) = 22198
-SHA256 (rust/crates/thiserror-2.0.12.crate) = 567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708
-SIZE (rust/crates/thiserror-2.0.12.crate) = 28693
+SHA256 (rust/crates/thiserror-2.0.16.crate) = 3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0
+SIZE (rust/crates/thiserror-2.0.16.crate) = 29095
SHA256 (rust/crates/thiserror-impl-1.0.69.crate) = 4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1
SIZE (rust/crates/thiserror-impl-1.0.69.crate) = 18365
-SHA256 (rust/crates/thiserror-impl-2.0.12.crate) = 7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d
-SIZE (rust/crates/thiserror-impl-2.0.12.crate) = 21141
-SHA256 (rust/crates/time-0.3.41.crate) = 8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40
-SIZE (rust/crates/time-0.3.41.crate) = 138369
-SHA256 (rust/crates/time-core-0.1.4.crate) = c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c
-SIZE (rust/crates/time-core-0.1.4.crate) = 8422
-SHA256 (rust/crates/time-macros-0.2.22.crate) = 3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49
-SIZE (rust/crates/time-macros-0.2.22.crate) = 24604
+SHA256 (rust/crates/thiserror-impl-2.0.16.crate) = 6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960
+SIZE (rust/crates/thiserror-impl-2.0.16.crate) = 21214
+SHA256 (rust/crates/time-0.3.43.crate) = 83bde6f1ec10e72d583d91623c939f623002284ef622b87de38cfd546cbf2031
+SIZE (rust/crates/time-0.3.43.crate) = 142912
+SHA256 (rust/crates/time-core-0.1.6.crate) = 40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b
+SIZE (rust/crates/time-core-0.1.6.crate) = 9105
+SHA256 (rust/crates/time-macros-0.2.24.crate) = 30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3
+SIZE (rust/crates/time-macros-0.2.24.crate) = 24715
SHA256 (rust/crates/tinystr-0.8.1.crate) = 5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b
SIZE (rust/crates/tinystr-0.8.1.crate) = 23333
-SHA256 (rust/crates/tinyvec-1.9.0.crate) = 09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71
-SIZE (rust/crates/tinyvec-1.9.0.crate) = 54137
+SHA256 (rust/crates/tinyvec-1.10.0.crate) = bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa
+SIZE (rust/crates/tinyvec-1.10.0.crate) = 51996
SHA256 (rust/crates/tinyvec_macros-0.1.1.crate) = 1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20
SIZE (rust/crates/tinyvec_macros-0.1.1.crate) = 5865
-SHA256 (rust/crates/tokio-1.45.1.crate) = 75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779
-SIZE (rust/crates/tokio-1.45.1.crate) = 811787
+SHA256 (rust/crates/tokio-1.47.1.crate) = 89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038
+SIZE (rust/crates/tokio-1.47.1.crate) = 829790
SHA256 (rust/crates/tokio-macros-2.5.0.crate) = 6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8
SIZE (rust/crates/tokio-macros-2.5.0.crate) = 12617
SHA256 (rust/crates/tokio-native-tls-0.3.1.crate) = bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2
SIZE (rust/crates/tokio-native-tls-0.3.1.crate) = 20676
SHA256 (rust/crates/tokio-rustls-0.26.2.crate) = 8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b
SIZE (rust/crates/tokio-rustls-0.26.2.crate) = 31655
-SHA256 (rust/crates/tokio-util-0.7.15.crate) = 66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df
-SIZE (rust/crates/tokio-util-0.7.15.crate) = 124255
-SHA256 (rust/crates/toml_datetime-0.6.11.crate) = 22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c
-SIZE (rust/crates/toml_datetime-0.6.11.crate) = 16125
-SHA256 (rust/crates/toml_edit-0.22.27.crate) = 41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a
-SIZE (rust/crates/toml_edit-0.22.27.crate) = 78602
+SHA256 (rust/crates/tokio-util-0.7.16.crate) = 14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5
+SIZE (rust/crates/tokio-util-0.7.16.crate) = 127775
+SHA256 (rust/crates/toml_datetime-0.7.1.crate) = a197c0ec7d131bfc6f7e82c8442ba1595aeab35da7adbf05b6b73cd06a16b6be
+SIZE (rust/crates/toml_datetime-0.7.1.crate) = 18127
+SHA256 (rust/crates/toml_edit-0.23.5.crate) = c2ad0b7ae9cfeef5605163839cb9221f453399f15cfb5c10be9885fcf56611f9
+SIZE (rust/crates/toml_edit-0.23.5.crate) = 66458
+SHA256 (rust/crates/toml_parser-1.0.2.crate) = b551886f449aa90d4fe2bdaa9f4a2577ad2dde302c61ecf262d80b116db95c10
+SIZE (rust/crates/toml_parser-1.0.2.crate) = 35241
SHA256 (rust/crates/tower-0.5.2.crate) = d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9
SIZE (rust/crates/tower-0.5.2.crate) = 109417
SHA256 (rust/crates/tower-http-0.6.6.crate) = adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2
@@ -725,8 +733,8 @@ SHA256 (rust/crates/typenum-1.18.0.crate) = 1dccffe3ce07af9386bfd29e80c0ab1a8205
SIZE (rust/crates/typenum-1.18.0.crate) = 74871
SHA256 (rust/crates/unicase-2.8.1.crate) = 75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539
SIZE (rust/crates/unicase-2.8.1.crate) = 24088
-SHA256 (rust/crates/unicode-ident-1.0.18.crate) = 5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512
-SIZE (rust/crates/unicode-ident-1.0.18.crate) = 47743
+SHA256 (rust/crates/unicode-ident-1.0.19.crate) = f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d
+SIZE (rust/crates/unicode-ident-1.0.19.crate) = 47480
SHA256 (rust/crates/unicode-normalization-0.1.24.crate) = 5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956
SIZE (rust/crates/unicode-normalization-0.1.24.crate) = 126536
SHA256 (rust/crates/unicode-xid-0.2.6.crate) = ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853
@@ -735,16 +743,16 @@ SHA256 (rust/crates/unicode_categories-0.1.1.crate) = 39ec24b3121d976906ece63c9d
SIZE (rust/crates/unicode_categories-0.1.1.crate) = 87298
SHA256 (rust/crates/untrusted-0.9.0.crate) = 8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1
SIZE (rust/crates/untrusted-0.9.0.crate) = 14447
-SHA256 (rust/crates/url-2.5.4.crate) = 32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60
-SIZE (rust/crates/url-2.5.4.crate) = 81097
+SHA256 (rust/crates/url-2.5.7.crate) = 08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b
+SIZE (rust/crates/url-2.5.7.crate) = 87907
SHA256 (rust/crates/utf-8-0.7.6.crate) = 09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9
SIZE (rust/crates/utf-8-0.7.6.crate) = 10422
SHA256 (rust/crates/utf8_iter-1.0.4.crate) = b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be
SIZE (rust/crates/utf8_iter-1.0.4.crate) = 10437
SHA256 (rust/crates/utf8parse-0.2.2.crate) = 06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821
SIZE (rust/crates/utf8parse-0.2.2.crate) = 13499
-SHA256 (rust/crates/uuid-1.17.0.crate) = 3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d
-SIZE (rust/crates/uuid-1.17.0.crate) = 59014
+SHA256 (rust/crates/uuid-1.18.1.crate) = 2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2
+SIZE (rust/crates/uuid-1.18.1.crate) = 60468
SHA256 (rust/crates/v_htmlescape-0.15.8.crate) = 4e8257fbc510f0a46eb602c10215901938b5c2a7d5e70fc11483b1d3c9b5b18c
SIZE (rust/crates/v_htmlescape-0.15.8.crate) = 10878
SHA256 (rust/crates/vcpkg-0.2.15.crate) = accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426
@@ -759,62 +767,72 @@ SHA256 (rust/crates/want-0.3.1.crate) = bfa7760aed19e106de2c7c0b581b509f2f25d3da
SIZE (rust/crates/want-0.3.1.crate) = 6398
SHA256 (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b
SIZE (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = 28477
-SHA256 (rust/crates/wasi-0.14.2+wasi-0.2.4.crate) = 9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3
-SIZE (rust/crates/wasi-0.14.2+wasi-0.2.4.crate) = 140921
-SHA256 (rust/crates/wasm-bindgen-0.2.100.crate) = 1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5
-SIZE (rust/crates/wasm-bindgen-0.2.100.crate) = 48288
-SHA256 (rust/crates/wasm-bindgen-backend-0.2.100.crate) = 2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6
-SIZE (rust/crates/wasm-bindgen-backend-0.2.100.crate) = 32111
-SHA256 (rust/crates/wasm-bindgen-futures-0.4.50.crate) = 555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61
-SIZE (rust/crates/wasm-bindgen-futures-0.4.50.crate) = 16181
-SHA256 (rust/crates/wasm-bindgen-macro-0.2.100.crate) = 7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407
-SIZE (rust/crates/wasm-bindgen-macro-0.2.100.crate) = 9663
-SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.100.crate) = 8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de
-SIZE (rust/crates/wasm-bindgen-macro-support-0.2.100.crate) = 26243
-SHA256 (rust/crates/wasm-bindgen-shared-0.2.100.crate) = 1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d
-SIZE (rust/crates/wasm-bindgen-shared-0.2.100.crate) = 8570
-SHA256 (rust/crates/web-sys-0.3.77.crate) = 33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2
-SIZE (rust/crates/web-sys-0.3.77.crate) = 638246
+SHA256 (rust/crates/wasi-0.14.7+wasi-0.2.4.crate) = 883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c
+SIZE (rust/crates/wasi-0.14.7+wasi-0.2.4.crate) = 18219
+SHA256 (rust/crates/wasip2-1.0.1+wasi-0.2.4.crate) = 0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7
+SIZE (rust/crates/wasip2-1.0.1+wasi-0.2.4.crate) = 132087
+SHA256 (rust/crates/wasm-bindgen-0.2.102.crate) = 4ad224d2776649cfb4f4471124f8176e54c1cca67a88108e30a0cd98b90e7ad3
+SIZE (rust/crates/wasm-bindgen-0.2.102.crate) = 47295
+SHA256 (rust/crates/wasm-bindgen-backend-0.2.102.crate) = 3a1364104bdcd3c03f22b16a3b1c9620891469f5e9f09bc38b2db121e593e732
+SIZE (rust/crates/wasm-bindgen-backend-0.2.102.crate) = 32232
+SHA256 (rust/crates/wasm-bindgen-futures-0.4.52.crate) = 9c0a08ecf5d99d5604a6666a70b3cde6ab7cc6142f5e641a8ef48fc744ce8854
+SIZE (rust/crates/wasm-bindgen-futures-0.4.52.crate) = 16315
+SHA256 (rust/crates/wasm-bindgen-macro-0.2.102.crate) = 0d7ab4ca3e367bb1ed84ddbd83cc6e41e115f8337ed047239578210214e36c76
+SIZE (rust/crates/wasm-bindgen-macro-0.2.102.crate) = 9382
+SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.102.crate) = 4a518014843a19e2dbbd0ed5dfb6b99b23fb886b14e6192a00803a3e14c552b0
+SIZE (rust/crates/wasm-bindgen-macro-support-0.2.102.crate) = 26414
+SHA256 (rust/crates/wasm-bindgen-shared-0.2.102.crate) = 255eb0aa4cc2eea3662a00c2bbd66e93911b7361d5e0fcd62385acfd7e15dcee
+SIZE (rust/crates/wasm-bindgen-shared-0.2.102.crate) = 9056
+SHA256 (rust/crates/web-sys-0.3.79.crate) = 50462a022f46851b81d5441d1a6f5bac0b21a1d72d64bd4906fbdd4bf7230ec7
+SIZE (rust/crates/web-sys-0.3.79.crate) = 641759
SHA256 (rust/crates/web-time-1.1.0.crate) = 5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb
SIZE (rust/crates/web-time-1.1.0.crate) = 18026
-SHA256 (rust/crates/webpki-roots-1.0.1.crate) = 8782dd5a41a24eed3a4f40b606249b3e236ca61adf1f25ea4d45c73de122b502
-SIZE (rust/crates/webpki-roots-1.0.1.crate) = 247202
-SHA256 (rust/crates/winapi-util-0.1.9.crate) = cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb
-SIZE (rust/crates/winapi-util-0.1.9.crate) = 12464
-SHA256 (rust/crates/windows-0.61.3.crate) = 9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893
-SIZE (rust/crates/windows-0.61.3.crate) = 9372520
-SHA256 (rust/crates/windows-collections-0.2.0.crate) = 3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8
-SIZE (rust/crates/windows-collections-0.2.0.crate) = 13579
-SHA256 (rust/crates/windows-core-0.61.2.crate) = c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3
-SIZE (rust/crates/windows-core-0.61.2.crate) = 36771
-SHA256 (rust/crates/windows-future-0.2.1.crate) = fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e
-SIZE (rust/crates/windows-future-0.2.1.crate) = 17532
+SHA256 (rust/crates/webpki-roots-1.0.2.crate) = 7e8983c3ab33d6fb807cfcdad2491c4ea8cbc8ed839181c7dfd9c67c83e261b2
+SIZE (rust/crates/webpki-roots-1.0.2.crate) = 255109
+SHA256 (rust/crates/winapi-util-0.1.11.crate) = c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22
+SIZE (rust/crates/winapi-util-0.1.11.crate) = 13368
+SHA256 (rust/crates/windows-0.62.0.crate) = 9579d0e6970fd5250aa29aba5994052385ff55cf7b28a059e484bb79ea842e42
+SIZE (rust/crates/windows-0.62.0.crate) = 9361442
+SHA256 (rust/crates/windows-collections-0.3.0.crate) = a90dd7a7b86859ec4cdf864658b311545ef19dbcf17a672b52ab7cefe80c336f
+SIZE (rust/crates/windows-collections-0.3.0.crate) = 13558
+SHA256 (rust/crates/windows-core-0.62.0.crate) = 57fe7168f7de578d2d8a05b07fd61870d2e73b4020e9f49aa00da8471723497c
+SIZE (rust/crates/windows-core-0.62.0.crate) = 36955
+SHA256 (rust/crates/windows-future-0.3.0.crate) = b2194dee901458cb79e1148a4e9aac2b164cc95fa431891e7b296ff0b2f1d8a6
+SIZE (rust/crates/windows-future-0.3.0.crate) = 17988
SHA256 (rust/crates/windows-implement-0.60.0.crate) = a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836
SIZE (rust/crates/windows-implement-0.60.0.crate) = 15073
SHA256 (rust/crates/windows-interface-0.59.1.crate) = bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8
SIZE (rust/crates/windows-interface-0.59.1.crate) = 11735
SHA256 (rust/crates/windows-link-0.1.3.crate) = 5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a
SIZE (rust/crates/windows-link-0.1.3.crate) = 6154
-SHA256 (rust/crates/windows-numerics-0.2.0.crate) = 9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1
-SIZE (rust/crates/windows-numerics-0.2.0.crate) = 9686
+SHA256 (rust/crates/windows-link-0.2.0.crate) = 45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65
+SIZE (rust/crates/windows-link-0.2.0.crate) = 6170
+SHA256 (rust/crates/windows-numerics-0.3.0.crate) = 2ce3498fe0aba81e62e477408383196b4b0363db5e0c27646f932676283b43d8
+SIZE (rust/crates/windows-numerics-0.3.0.crate) = 9786
SHA256 (rust/crates/windows-registry-0.5.3.crate) = 5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e
SIZE (rust/crates/windows-registry-0.5.3.crate) = 13386
SHA256 (rust/crates/windows-result-0.3.4.crate) = 56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6
SIZE (rust/crates/windows-result-0.3.4.crate) = 13418
+SHA256 (rust/crates/windows-result-0.4.0.crate) = 7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f
+SIZE (rust/crates/windows-result-0.4.0.crate) = 13420
SHA256 (rust/crates/windows-strings-0.4.2.crate) = 56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57
SIZE (rust/crates/windows-strings-0.4.2.crate) = 13983
+SHA256 (rust/crates/windows-strings-0.5.0.crate) = 7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda
+SIZE (rust/crates/windows-strings-0.5.0.crate) = 13992
SHA256 (rust/crates/windows-sys-0.52.0.crate) = 282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d
SIZE (rust/crates/windows-sys-0.52.0.crate) = 2576877
SHA256 (rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b
SIZE (rust/crates/windows-sys-0.59.0.crate) = 2387323
SHA256 (rust/crates/windows-sys-0.60.2.crate) = f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb
SIZE (rust/crates/windows-sys-0.60.2.crate) = 2518479
+SHA256 (rust/crates/windows-sys-0.61.0.crate) = e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa
+SIZE (rust/crates/windows-sys-0.61.0.crate) = 2517134
SHA256 (rust/crates/windows-targets-0.52.6.crate) = 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973
SIZE (rust/crates/windows-targets-0.52.6.crate) = 6403
-SHA256 (rust/crates/windows-targets-0.53.2.crate) = c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef
-SIZE (rust/crates/windows-targets-0.53.2.crate) = 7046
-SHA256 (rust/crates/windows-threading-0.1.0.crate) = b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6
-SIZE (rust/crates/windows-threading-0.1.0.crate) = 9085
+SHA256 (rust/crates/windows-targets-0.53.3.crate) = d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91
+SIZE (rust/crates/windows-targets-0.53.3.crate) = 7099
+SHA256 (rust/crates/windows-threading-0.2.0.crate) = ab47f085ad6932defa48855254c758cdd0e2f2d48e62a34118a268d8f345e118
+SIZE (rust/crates/windows-threading-0.2.0.crate) = 9777
SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3
SIZE (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 435718
SHA256 (rust/crates/windows_aarch64_gnullvm-0.53.0.crate) = 86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764
@@ -847,16 +865,16 @@ SHA256 (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 589f6da84c646204747d1270
SIZE (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 832564
SHA256 (rust/crates/windows_x86_64_msvc-0.53.0.crate) = 271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486
SIZE (rust/crates/windows_x86_64_msvc-0.53.0.crate) = 834400
-SHA256 (rust/crates/winnow-0.7.11.crate) = 74c7b26e3480b707944fc872477815d29a8e429d2f93a1ce000f5fa84a15cbcd
-SIZE (rust/crates/winnow-0.7.11.crate) = 174175
-SHA256 (rust/crates/wit-bindgen-rt-0.39.0.crate) = 6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1
-SIZE (rust/crates/wit-bindgen-rt-0.39.0.crate) = 12241
+SHA256 (rust/crates/winnow-0.7.13.crate) = 21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf
+SIZE (rust/crates/winnow-0.7.13.crate) = 174454
+SHA256 (rust/crates/wit-bindgen-0.46.0.crate) = f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59
+SIZE (rust/crates/wit-bindgen-0.46.0.crate) = 60508
SHA256 (rust/crates/writeable-0.6.1.crate) = ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb
SIZE (rust/crates/writeable-0.6.1.crate) = 24068
-SHA256 (rust/crates/xattr-1.5.0.crate) = 0d65cbf2f12c15564212d48f4e3dfb87923d25d611f2aed18f4cb23f0413d89e
-SIZE (rust/crates/xattr-1.5.0.crate) = 14694
-SHA256 (rust/crates/xml-rs-0.8.26.crate) = a62ce76d9b56901b19a74f19431b0d8b3bc7ca4ad685a746dfd78ca8f4fc6bda
-SIZE (rust/crates/xml-rs-0.8.26.crate) = 55115
+SHA256 (rust/crates/xattr-1.5.1.crate) = af3a19837351dc82ba89f8a125e22a3c475f05aba604acc023d62b2739ae2909
+SIZE (rust/crates/xattr-1.5.1.crate) = 14565
+SHA256 (rust/crates/xml-rs-0.8.27.crate) = 6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7
+SIZE (rust/crates/xml-rs-0.8.27.crate) = 55258
SHA256 (rust/crates/xml5ever-0.17.0.crate) = 4034e1d05af98b51ad7214527730626f019682d797ba38b51689212118d8e650
SIZE (rust/crates/xml5ever-0.17.0.crate) = 41208
SHA256 (rust/crates/xmltree-0.11.0.crate) = b619f8c85654798007fb10afa5125590b43b088c225a25fc2fec100a9fad0fc6
@@ -867,10 +885,10 @@ SHA256 (rust/crates/yoke-0.8.0.crate) = 5f41bb01b8226ef4bfd589436a297c53d118f659
SIZE (rust/crates/yoke-0.8.0.crate) = 28726
SHA256 (rust/crates/yoke-derive-0.8.0.crate) = 38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6
SIZE (rust/crates/yoke-derive-0.8.0.crate) = 7521
-SHA256 (rust/crates/zerocopy-0.8.26.crate) = 1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f
-SIZE (rust/crates/zerocopy-0.8.26.crate) = 249223
-SHA256 (rust/crates/zerocopy-derive-0.8.26.crate) = 9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181
-SIZE (rust/crates/zerocopy-derive-0.8.26.crate) = 88080
+SHA256 (rust/crates/zerocopy-0.8.27.crate) = 0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c
+SIZE (rust/crates/zerocopy-0.8.27.crate) = 252663
+SHA256 (rust/crates/zerocopy-derive-0.8.27.crate) = 88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831
+SIZE (rust/crates/zerocopy-derive-0.8.27.crate) = 89827
SHA256 (rust/crates/zerofrom-0.1.6.crate) = 50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5
SIZE (rust/crates/zerofrom-0.1.6.crate) = 5669
SHA256 (rust/crates/zerofrom-derive-0.1.6.crate) = d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502
@@ -879,17 +897,17 @@ SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464
SIZE (rust/crates/zeroize-1.8.1.crate) = 20029
SHA256 (rust/crates/zerotrie-0.2.2.crate) = 36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595
SIZE (rust/crates/zerotrie-0.2.2.crate) = 74423
-SHA256 (rust/crates/zerovec-0.11.2.crate) = 4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428
-SIZE (rust/crates/zerovec-0.11.2.crate) = 124500
+SHA256 (rust/crates/zerovec-0.11.4.crate) = e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b
+SIZE (rust/crates/zerovec-0.11.4.crate) = 125080
SHA256 (rust/crates/zerovec-derive-0.11.1.crate) = 5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f
SIZE (rust/crates/zerovec-derive-0.11.1.crate) = 21294
-SHA256 (rust/crates/zip-4.2.0.crate) = 95ab361742de920c5535880f89bbd611ee62002bf11341d16a5f057bb8ba6899
-SIZE (rust/crates/zip-4.2.0.crate) = 113836
+SHA256 (rust/crates/zip-5.1.1.crate) = 2f852905151ac8d4d06fdca66520a661c09730a74c6d4e2b0f27b436b382e532
+SIZE (rust/crates/zip-5.1.1.crate) = 127991
SHA256 (rust/crates/zstd-0.13.3.crate) = e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a
SIZE (rust/crates/zstd-0.13.3.crate) = 30514
SHA256 (rust/crates/zstd-safe-7.2.4.crate) = 8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d
SIZE (rust/crates/zstd-safe-7.2.4.crate) = 29350
-SHA256 (rust/crates/zstd-sys-2.0.15+zstd.1.5.7.crate) = eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237
-SIZE (rust/crates/zstd-sys-2.0.15+zstd.1.5.7.crate) = 774847
-SHA256 (svenstaro-miniserve-v0.31.0_GH0.tar.gz) = a4773ae5a6fbc45baf15a5dcb54fd6b7e0151f2fde25c26ddafc0f95b7d26c32
-SIZE (svenstaro-miniserve-v0.31.0_GH0.tar.gz) = 183252
+SHA256 (rust/crates/zstd-sys-2.0.16+zstd.1.5.7.crate) = 91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748
+SIZE (rust/crates/zstd-sys-2.0.16+zstd.1.5.7.crate) = 775620
+SHA256 (svenstaro-miniserve-v0.32.0_GH0.tar.gz) = 30cfabd398f0c17c2eff3fdab115b5681e21fb048f363955a064249d14cd5869
+SIZE (svenstaro-miniserve-v0.32.0_GH0.tar.gz) = 187286
diff --git a/www/mod_wsgi/Makefile b/www/mod_wsgi/Makefile
new file mode 100644
index 000000000000..4e2f1f7af825
--- /dev/null
+++ b/www/mod_wsgi/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= mod_wsgi
+DISTVERSION= 5.0.2
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= douglas@douglasthrift.net
+COMMENT= Python WSGI adapter module for Apache
+WWW= https://www.modwsgi.org/
+
+LICENSE= APACHE20
+
+USES= apache cpe gettext python:3.8+
+USE_PYTHON= flavors
+
+CPE_VENDOR= modwsgi
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
+
+SUB_FILES= ${APMOD_FILE}
+APMOD_FILE= 270_${PORTNAME}.conf.sample
+PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
+ ${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
+
+.include <bsd.port.mk>
diff --git a/www/mod_wsgi/distinfo b/www/mod_wsgi/distinfo
new file mode 100644
index 000000000000..4c19d21d8e9b
--- /dev/null
+++ b/www/mod_wsgi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756060194
+SHA256 (mod_wsgi-5.0.2.tar.gz) = 6fe5557c3ef25c184c2c994905fe52be1c06ae5c46235ecafe558e84789e2159
+SIZE (mod_wsgi-5.0.2.tar.gz) = 498627
diff --git a/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in b/www/mod_wsgi/files/270_mod_wsgi.conf.sample.in
index 0177f0a7f668..0177f0a7f668 100644
--- a/www/mod_wsgi4/files/270_mod_wsgi.conf.sample.in
+++ b/www/mod_wsgi/files/270_mod_wsgi.conf.sample.in
diff --git a/www/mod_wsgi/pkg-descr b/www/mod_wsgi/pkg-descr
new file mode 100644
index 000000000000..9ff8186a24d3
--- /dev/null
+++ b/www/mod_wsgi/pkg-descr
@@ -0,0 +1,2 @@
+The mod_wsgi package provides an Apache module that implements a WSGI-compliant
+interface for hosting Python based web applications on top of the Apache web server.
diff --git a/www/mod_wsgi4/pkg-plist b/www/mod_wsgi/pkg-plist
index c2e491134ebe..c2e491134ebe 100644
--- a/www/mod_wsgi4/pkg-plist
+++ b/www/mod_wsgi/pkg-plist
diff --git a/www/mod_wsgi4/Makefile b/www/mod_wsgi4/Makefile
deleted file mode 100644
index bea57e108537..000000000000
--- a/www/mod_wsgi4/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-PORTNAME= mod_wsgi
-DISTVERSION= 4.9.4
-CATEGORIES= www python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= douglas@douglasthrift.net
-COMMENT= Python WSGI adapter module for Apache
-WWW= https://www.modwsgi.org/
-
-LICENSE= APACHE20
-
-USES= apache cpe gettext python
-USE_PYTHON= flavors
-
-CPE_VENDOR= modwsgi
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
-
-SUB_FILES= pkg-message ${APMOD_FILE}
-APMOD_FILE= 270_${PORTNAME}.conf.sample
-PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
-
-pre-everything::
- @${ECHO_MSG} "======================= ATTENTION! ======================"
- @${ECHO_MSG}
- @${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
- @${ECHO_MSG} "Apache and APR include thread support."
- @${ECHO_MSG}
- @${ECHO_MSG} "========================================================="
-
-post-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
- ${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
-
-.include <bsd.port.mk>
diff --git a/www/mod_wsgi4/distinfo b/www/mod_wsgi4/distinfo
deleted file mode 100644
index 0bc7200fd6d2..000000000000
--- a/www/mod_wsgi4/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1737724307
-SHA256 (mod_wsgi-4.9.4.tar.gz) = 8e762662ea5b01afc386bbcfbaa079748eb6203ab1d6d3a3dac9237f5666cfc9
-SIZE (mod_wsgi-4.9.4.tar.gz) = 497531
diff --git a/www/mod_wsgi4/files/pkg-message.in b/www/mod_wsgi4/files/pkg-message.in
deleted file mode 100644
index e6e2be1c1723..000000000000
--- a/www/mod_wsgi4/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-[
-{ type: install
- message: <<EOM
-If you want to use daemon mode you will need to make sure Apache and APR
-include thread support.
-
-For more information, see :
-http://www.modwsgi.org/en/latest/user-guides/quick-configuration-guide.html
-EOM
-}
-]
diff --git a/www/mod_wsgi4/pkg-descr b/www/mod_wsgi4/pkg-descr
deleted file mode 100644
index f0087038e1da..000000000000
--- a/www/mod_wsgi4/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-The mod_wsgi adapter is an Apache module that provides a WSGI compliant
-interface for hosting Python based web applications within Apache. The
-adapter is written completely in C code against the Apache C runtime and
-for hosting WSGI applications within Apache has a lower overhead than using
-existing WSGI adapters for mod_python or CGI.
diff --git a/www/nextcloud-calendar/Makefile b/www/nextcloud-calendar/Makefile
index c024b19897a5..570d38ceb4f2 100644
--- a/www/nextcloud-calendar/Makefile
+++ b/www/nextcloud-calendar/Makefile
@@ -1,5 +1,5 @@
PORTNAME= calendar
-PORTVERSION= 5.5.2
+PORTVERSION= 5.5.4
DISTVERSIONPREFIX= v
CATEGORIES= www
diff --git a/www/nextcloud-calendar/distinfo b/www/nextcloud-calendar/distinfo
index 27e6414baf7f..122118ae9575 100644
--- a/www/nextcloud-calendar/distinfo
+++ b/www/nextcloud-calendar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756904556
-SHA256 (nextcloud/calendar-v5.5.2.tar.gz) = 293d3116d6550729f67d9f3b9dbea13b0f80416ea1eb5ff2b759946c33763d4d
-SIZE (nextcloud/calendar-v5.5.2.tar.gz) = 19770469
+TIMESTAMP = 1758120234
+SHA256 (nextcloud/calendar-v5.5.4.tar.gz) = 775870a7fecff92dad4ff41acb9172a4621afc7d4e18644e297bf56c5f744cbe
+SIZE (nextcloud/calendar-v5.5.4.tar.gz) = 17815282
diff --git a/www/nextcloud-contacts/Makefile b/www/nextcloud-contacts/Makefile
index f40ba1d3f697..d7eea2609e15 100644
--- a/www/nextcloud-contacts/Makefile
+++ b/www/nextcloud-contacts/Makefile
@@ -1,5 +1,5 @@
PORTNAME= contacts
-PORTVERSION= 7.2.6
+PORTVERSION= 7.3.1
DISTVERSIONPREFIX= v
CATEGORIES= www
diff --git a/www/nextcloud-contacts/distinfo b/www/nextcloud-contacts/distinfo
index b0c74cb0dbf3..4cf7429f9fa1 100644
--- a/www/nextcloud-contacts/distinfo
+++ b/www/nextcloud-contacts/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756412333
-SHA256 (nextcloud/contacts-v7.2.6.tar.gz) = 20cb06e3f90dca3dbea1c1edb049d0ff5cbe2a18255894e0d2ce56b2283f5f6a
-SIZE (nextcloud/contacts-v7.2.6.tar.gz) = 4496148
+TIMESTAMP = 1758120331
+SHA256 (nextcloud/contacts-v7.3.1.tar.gz) = f28aeb73831d20771f1d0a8fffa10566bb593fe81a64666a67130b3dda3224a6
+SIZE (nextcloud/contacts-v7.3.1.tar.gz) = 4379345
diff --git a/www/nextcloud/Makefile b/www/nextcloud/Makefile
index 6d6b22b717c6..1f3fd6a07f6f 100644
--- a/www/nextcloud/Makefile
+++ b/www/nextcloud/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nextcloud
-PORTVERSION= 31.0.8
+PORTVERSION= 31.0.9
CATEGORIES= www
MASTER_SITES= https://download.nextcloud.com/server/releases/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
diff --git a/www/nextcloud/distinfo b/www/nextcloud/distinfo
index fa79f19603ed..736de1f68828 100644
--- a/www/nextcloud/distinfo
+++ b/www/nextcloud/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755291954
-SHA256 (nextcloud/nextcloud-31.0.8.tar.bz2) = 62117db783fe775677ce8b680f4b48c13b9591657fed3b508bdc3a32b4115cb0
-SIZE (nextcloud/nextcloud-31.0.8.tar.bz2) = 229388570
+TIMESTAMP = 1757658192
+SHA256 (nextcloud/nextcloud-31.0.9.tar.bz2) = aab8414cc63581ca3a8df472f45eb412b2b843a966b3870275421bad0d670f68
+SIZE (nextcloud/nextcloud-31.0.9.tar.bz2) = 229277439
diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile
index 2c997b38233e..947d50b4e4f2 100644
--- a/www/nghttp2/Makefile
+++ b/www/nghttp2/Makefile
@@ -1,6 +1,5 @@
PORTNAME= nghttp2
-PORTVERSION= 1.66.0
-PORTREVISION= 1
+PORTVERSION= 1.67.0
CATEGORIES= www net
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/
diff --git a/www/nghttp2/distinfo b/www/nghttp2/distinfo
index 0154a1913a99..3ca5fb173452 100644
--- a/www/nghttp2/distinfo
+++ b/www/nghttp2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750188020
-SHA256 (nghttp2-1.66.0.tar.xz) = 00ba1bdf0ba2c74b2a4fe6c8b1069dc9d82f82608af24442d430df97c6f9e631
-SIZE (nghttp2-1.66.0.tar.xz) = 1743992
+TIMESTAMP = 1757120548
+SHA256 (nghttp2-1.67.0.tar.xz) = d21cf317837f5176b76bed7eded54a4e4583dfa378c9f915913329d9d4a1be86
+SIZE (nghttp2-1.67.0.tar.xz) = 1675484
diff --git a/www/node20/Makefile b/www/node20/Makefile
index d921874d4ce5..eacb43db5692 100644
--- a/www/node20/Makefile
+++ b/www/node20/Makefile
@@ -1,5 +1,6 @@
PORTNAME= node
PORTVERSION= ${NODEJS_PORTVERSION}
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/
diff --git a/www/node22/Makefile b/www/node22/Makefile
index 159606d42d9d..18c2e21a039b 100644
--- a/www/node22/Makefile
+++ b/www/node22/Makefile
@@ -1,5 +1,6 @@
PORTNAME= node
PORTVERSION= ${NODEJS_PORTVERSION}
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/
diff --git a/www/node22/Makefile.version b/www/node22/Makefile.version
index 81316500adb5..36ff04455fae 100644
--- a/www/node22/Makefile.version
+++ b/www/node22/Makefile.version
@@ -1 +1 @@
-NODEJS_PORTVERSION= 22.17.1
+NODEJS_PORTVERSION= 22.19.0
diff --git a/www/node22/distinfo b/www/node22/distinfo
index fa6b7ae26589..697813a4253f 100644
--- a/www/node22/distinfo
+++ b/www/node22/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753265710
-SHA256 (node-v22.17.1.tar.xz) = 327415fd76fcebb98133bf56e2d90e3ac048b038fac2676f03b6db91074575b9
-SIZE (node-v22.17.1.tar.xz) = 48453936
+TIMESTAMP = 1757120550
+SHA256 (node-v22.19.0.tar.xz) = 0272acfce50ce9ad060288321b1092719a7f19966f81419835410c59c09daa46
+SIZE (node-v22.19.0.tar.xz) = 48853616
diff --git a/www/node24/Makefile b/www/node24/Makefile
index 159606d42d9d..18c2e21a039b 100644
--- a/www/node24/Makefile
+++ b/www/node24/Makefile
@@ -1,5 +1,6 @@
PORTNAME= node
PORTVERSION= ${NODEJS_PORTVERSION}
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/
diff --git a/www/node24/Makefile.version b/www/node24/Makefile.version
index 5778c22fca49..35040cf27734 100644
--- a/www/node24/Makefile.version
+++ b/www/node24/Makefile.version
@@ -1 +1 @@
-NODEJS_PORTVERSION= 24.4.1
+NODEJS_PORTVERSION= 24.7.0
diff --git a/www/node24/distinfo b/www/node24/distinfo
index f92d33ffd802..0006497a1b93 100644
--- a/www/node24/distinfo
+++ b/www/node24/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753265712
-SHA256 (node-v24.4.1.tar.xz) = adb79ca0987486ed66136213da19ff17ef6724dcb340c320e010c9442101652f
-SIZE (node-v24.4.1.tar.xz) = 50266728
+TIMESTAMP = 1757120552
+SHA256 (node-v24.7.0.tar.xz) = cf74a77753b629ffebd2e38fb153a21001b2b7a3c365c0ec7332b120b98c7251
+SIZE (node-v24.7.0.tar.xz) = 51707840
diff --git a/www/node24/files/patch-common.gypi b/www/node24/files/patch-common.gypi
deleted file mode 100644
index 7a6628dd498e..000000000000
--- a/www/node24/files/patch-common.gypi
+++ /dev/null
@@ -1,20 +0,0 @@
---- common.gypi.orig 2025-05-06 12:36:27 UTC
-+++ common.gypi
-@@ -529,7 +529,7 @@
- 'ldflags': [ '-m64' ],
- }],
- [ 'host_arch=="ppc64" and OS not in "aix os400"', {
-- 'cflags': [ '-m64', '-mminimal-toc' ],
-+ 'cflags': [ '-m64' ],
- 'ldflags': [ '-m64' ],
- }],
- [ 'host_arch=="s390x" and OS=="linux"', {
-@@ -549,7 +549,7 @@
- 'ldflags': [ '-m64' ],
- }],
- [ 'target_arch=="ppc64" and OS not in "aix os400"', {
-- 'cflags': [ '-m64', '-mminimal-toc' ],
-+ 'cflags': [ '-m64' ],
- 'ldflags': [ '-m64' ],
- }],
- [ 'target_arch=="s390x" and OS=="linux"', {
diff --git a/www/onlyoffice-documentserver/Makefile b/www/onlyoffice-documentserver/Makefile
index a41f0027e3d5..c361d98c4336 100644
--- a/www/onlyoffice-documentserver/Makefile
+++ b/www/onlyoffice-documentserver/Makefile
@@ -16,8 +16,10 @@ WWW= https://www.onlyoffice.com/
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BROKEN_SSL= boringssl libressl libressl-devel
+BROKEN_SSL_REASON= Node.js requires OpenSSL
ONLY_FOR_ARCHS= aarch64 amd64
-ONLY_FOR_ARCHS_REASON= "Upstream only supports amd64 and arm64"
+ONLY_FOR_ARCHS_REASON= Upstream only supports amd64 and arm64
# node version used with "npm install @yao-pkg/pkg@6.6.0"
# keep in sync with patch-build__tools_scripts_build__server.py and patch-document-server-package_Makefile
@@ -50,7 +52,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}supervisor>0:sysutils/py-supervisor@${PY_FLA
webfonts>=0:x11-fonts/webfonts
USES= autoreconf:build dos2unix fakeroot gmake gnome iconv localbase pkgconfig \
- python:3.9+,build qt:5 ssl:build trigger
+ python:3.9+,build qt:5 ssl trigger
DOS2UNIX_FILES= document-server-package/common/documentserver/nginx/includes/http-common.conf.m4
@@ -165,7 +167,6 @@ pre-configure:
${WRKSRC}/core/Apple/IWork.pro \
${WRKSRC}/core/Common/3dParty/boost/boost.pri \
${WRKSRC}/core/Common/3dParty/icu/icu.pri \
- ${WRKSRC}/core/Common/3dParty/openssl/openssl.pri \
${WRKSRC}/core/Common/3dParty/v8_89/v8/build/toolchain/gcc_toolchain.gni \
${WRKSRC}/core/Common/3dParty/v8_89/v8/buildtools/third_party/libc++/BUILD.gn \
${WRKSRC}/core/DesktopEditor/fontengine/ApplicationFonts.cpp \
@@ -199,6 +200,8 @@ pre-configure:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' -e 's|%%ETCDIR%%|${ETCDIR}|' \
${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-flush-cache.sh.m4 \
${WRKSRC}/document-server-package/Makefile
+ @${REINPLACE_CMD} 's|%%OPENSSL_LIB%%|${OPENSSLLIB}|' \
+ ${WRKSRC}/core/Common/3dParty/openssl/openssl.pri
@${RM} ${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch.orig
@${RM} ${WRKSRC}/server/Metrics/patches/modern-syslog+1.2.0.patch.orig
diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri
index bdd57c356f17..0d407de32790 100644
--- a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri
+++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri
@@ -6,8 +6,8 @@
} else {
- LIBS += $$OPENSSL_LIBS_DIRECTORY/libssl.a
- LIBS += $$OPENSSL_LIBS_DIRECTORY/libcrypto.a
-+ LIBS += %%LOCALBASE%%/lib/libssl.a
-+ LIBS += %%LOCALBASE%%/lib/libcrypto.a
++ LIBS += %%OPENSSL_LIB%%/libssl.so
++ LIBS += %%OPENSSL_LIB%%/libcrypto.so
}
INCLUDEPATH += $$OPENSSL_LIBS_DIRECTORY/../include
diff --git a/www/otter-browser/Makefile b/www/otter-browser/Makefile
index 4b216b1dfb7a..12bc3eed6d93 100644
--- a/www/otter-browser/Makefile
+++ b/www/otter-browser/Makefile
@@ -23,25 +23,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
USES= cmake compiler:c++11-lib desktop-file-utils qt:5
-USE_QT= concurrent core dbus declarative gui multimedia network printsupport \
- script sql sql-sqlite3 svg widgets xmlpatterns \
+USE_QT= concurrent core dbus declarative gui location multimedia \
+ network printsupport script sql sql-sqlite3 svg \
+ webchannel webengine widgets xmlpatterns \
buildtools:build qmake:build
USE_GITHUB= yes
GH_ACCOUNT= OtterBrowser
# GH_TAGNAME= 22de58d # For intermediate versions only
-OPTIONS_MULTI= BACKEND
-OPTIONS_MULTI_BACKEND= QTWEBENGINE QTWEBKIT
-OPTIONS_DEFAULT= QTWEBENGINE
-
-QTWEBENGINE_DESC= Build QtWebEngine backend
-QTWEBKIT_DESC= Build QtWebKit backend
-
-QTWEBENGINE_USE= qt=declarative,location,webchannel,webengine
-QTWEBENGINE_CMAKE_BOOL= ENABLE_QTWEBENGINE
-
-QTWEBKIT_USE= qt=webkit
-QTWEBKIT_CMAKE_BOOL= ENABLE_QTWEBKIT
+CMAKE_ON= ENABLE_QTWEBENGINE
.include <bsd.port.mk>
diff --git a/www/p5-CGI-Simple/Makefile b/www/p5-CGI-Simple/Makefile
index c0185a180eea..bde1a80345f9 100644
--- a/www/p5-CGI-Simple/Makefile
+++ b/www/p5-CGI-Simple/Makefile
@@ -1,5 +1,5 @@
PORTNAME= CGI-Simple
-PORTVERSION= 1.281
+PORTVERSION= 1.282
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/www/p5-CGI-Simple/distinfo b/www/p5-CGI-Simple/distinfo
index b22de4071af1..92a6df0b3bd6 100644
--- a/www/p5-CGI-Simple/distinfo
+++ b/www/p5-CGI-Simple/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449062
-SHA256 (CGI-Simple-1.281.tar.gz) = 4d58103fdfa5c8e1ed076b15d5cafb7001b2886cb3396f00564a881eb324e5a7
-SIZE (CGI-Simple-1.281.tar.gz) = 87335
+TIMESTAMP = 1757120594
+SHA256 (CGI-Simple-1.282.tar.gz) = c57f0f3e32cdd80612645155c1b829b4ccbe4ced655de833ab93005989c27f2f
+SIZE (CGI-Simple-1.282.tar.gz) = 88078
diff --git a/www/p5-Dancer2/Makefile b/www/p5-Dancer2/Makefile
index 1076ba721a8a..871429663434 100644
--- a/www/p5-Dancer2/Makefile
+++ b/www/p5-Dancer2/Makefile
@@ -1,6 +1,5 @@
PORTNAME= Dancer2
-PORTVERSION= 1.1.2
-PORTREVISION= 1
+PORTVERSION= 2.0.0
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -20,6 +19,7 @@ RUN_DEPENDS= p5-CLI-Osprey>=0:devel/p5-CLI-Osprey \
p5-Clone>=0:devel/p5-Clone \
p5-Crypt-URandom>=0:security/p5-Crypt-URandom \
p5-Config-Any>=0:devel/p5-Config-Any \
+ p5-Data-Censor>=0:devel/p5-Data-Censor \
p5-File-Share>=0:devel/p5-File-Share \
p5-File-Which>=0:sysutils/p5-File-Which \
p5-Hash-Merge-Simple>=0:devel/p5-Hash-Merge-Simple \
@@ -54,6 +54,7 @@ TEST_DEPENDS= p5-AnyEvent>=0:devel/p5-AnyEvent \
p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \
p5-Test-CPAN-Meta>=0:devel/p5-Test-CPAN-Meta \
p5-Test-EOL>=0:devel/p5-Test-EOL \
+ p5-Test-Exception>=0:devel/p5-Test-Exception \
p5-Test-Fatal>=0:devel/p5-Test-Fatal \
p5-Test-Memory-Cycle>=0:devel/p5-Test-Memory-Cycle \
p5-Test-MockTime>=0:devel/p5-Test-MockTime \
diff --git a/www/p5-Dancer2/distinfo b/www/p5-Dancer2/distinfo
index ccbfdb3f9b3f..421e1237a106 100644
--- a/www/p5-Dancer2/distinfo
+++ b/www/p5-Dancer2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734749916
-SHA256 (Dancer2-1.1.2.tar.gz) = c1177fdc7f324430df41d9742f382069619f7a46687ebebb02c7cf98371951cf
-SIZE (Dancer2-1.1.2.tar.gz) = 404292
+TIMESTAMP = 1757979296
+SHA256 (Dancer2-2.0.0.tar.gz) = 2c43e63c18722e20d6d2d9437bca8d14081ef541f033d20459b7410e47f42045
+SIZE (Dancer2-2.0.0.tar.gz) = 388898
diff --git a/www/p5-Dancer2/pkg-plist b/www/p5-Dancer2/pkg-plist
index 195fba20adb7..196798f87381 100644
--- a/www/p5-Dancer2/pkg-plist
+++ b/www/p5-Dancer2/pkg-plist
@@ -3,8 +3,9 @@ bin/dancer2
%%SITE_PERL%%/Dancer2/CLI.pm
%%SITE_PERL%%/Dancer2/CLI/Gen.pm
%%SITE_PERL%%/Dancer2/CLI/Version.pm
-%%SITE_PERL%%/Dancer2/Config.pod
-%%SITE_PERL%%/Dancer2/Cookbook.pod
+%%SITE_PERL%%/Dancer2/ConfigReader.pm
+%%SITE_PERL%%/Dancer2/ConfigReader/Config/Any.pm
+%%SITE_PERL%%/Dancer2/ConfigUtils.pm
%%SITE_PERL%%/Dancer2/Core.pm
%%SITE_PERL%%/Dancer2/Core/App.pm
%%SITE_PERL%%/Dancer2/Core/Cookie.pm
@@ -23,6 +24,8 @@ bin/dancer2
%%SITE_PERL%%/Dancer2/Core/Role/DSL.pm
%%SITE_PERL%%/Dancer2/Core/Role/Engine.pm
%%SITE_PERL%%/Dancer2/Core/Role/Handler.pm
+%%SITE_PERL%%/Dancer2/Core/Role/HasConfig.pm
+%%SITE_PERL%%/Dancer2/Core/Role/HasEnvironment.pm
%%SITE_PERL%%/Dancer2/Core/Role/HasLocation.pm
%%SITE_PERL%%/Dancer2/Core/Role/Hookable.pm
%%SITE_PERL%%/Dancer2/Core/Role/Logger.pm
@@ -48,12 +51,17 @@ bin/dancer2
%%SITE_PERL%%/Dancer2/Logger/Note.pm
%%SITE_PERL%%/Dancer2/Logger/Null.pm
%%SITE_PERL%%/Dancer2/Manual.pod
+%%SITE_PERL%%/Dancer2/Manual/Config.pod
+%%SITE_PERL%%/Dancer2/Manual/Cookbook.pod
%%SITE_PERL%%/Dancer2/Manual/Deployment.pod
+%%SITE_PERL%%/Dancer2/Manual/Extending.pod
%%SITE_PERL%%/Dancer2/Manual/Keywords.pod
%%SITE_PERL%%/Dancer2/Manual/Migration.pod
+%%SITE_PERL%%/Dancer2/Manual/Plugins.pod
+%%SITE_PERL%%/Dancer2/Manual/QuickStart.pod
%%SITE_PERL%%/Dancer2/Manual/Testing.pod
+%%SITE_PERL%%/Dancer2/Manual/Tutorial.pod
%%SITE_PERL%%/Dancer2/Plugin.pm
-%%SITE_PERL%%/Dancer2/Plugins.pod
%%SITE_PERL%%/Dancer2/Policy.pod
%%SITE_PERL%%/Dancer2/Serializer/Dumper.pm
%%SITE_PERL%%/Dancer2/Serializer/JSON.pm
@@ -61,43 +69,71 @@ bin/dancer2
%%SITE_PERL%%/Dancer2/Serializer/YAML.pm
%%SITE_PERL%%/Dancer2/Session/Simple.pm
%%SITE_PERL%%/Dancer2/Session/YAML.pm
-%%SITE_PERL%%/Dancer2/Template/Implementation/ForkedTiny.pm
-%%SITE_PERL%%/Dancer2/Template/Simple.pm
%%SITE_PERL%%/Dancer2/Template/TemplateToolkit.pm
%%SITE_PERL%%/Dancer2/Template/Tiny.pm
%%SITE_PERL%%/Dancer2/Test.pm
-%%SITE_PERL%%/Dancer2/Tutorial.pod
%%SITE_PERL%%/auto/share/dist/Dancer2/docker/Dockerfile
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/.dancer
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/MANIFEST.SKIP
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/Makefile.PL
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/bin/+app.psgi
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/config.yml
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/cpanfile
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/environments/development.yml
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/environments/production.yml
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/lib/AppFile.pm
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/+dispatch.cgi
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/+dispatch.fcgi
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/404.html
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/500.html
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/css/error.css
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/css/style.css
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/favicon.ico
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/images/perldancer-bg.jpg
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/images/perldancer.jpg
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/public/javascripts/jquery.js
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/t/001_base.t
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/t/002_index_route.t
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/views/index.tt
-%%SITE_PERL%%/auto/share/dist/Dancer2/skel/views/layouts/main.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/.dancer
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/MANIFEST.SKIP
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/Makefile.PL
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/bin/+app.psgi
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/config.yml
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/cpanfile
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/environments/development.yml
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/environments/production.yml
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/lib/AppFile.pm
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/+dispatch.cgi
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/+dispatch.fcgi
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/404.html
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/500.html
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/css/error.css
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/css/style.css
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/favicon.ico
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/images/perldancer-bg.jpg
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/public/images/perldancer.jpg
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/t/001_base.t
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/t/002_index_route.t
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/views/index.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/default/views/layouts/main.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/bin/+app.psgi
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/config.yml
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/cpanfile
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/db/blog.db
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/db/entries.sql
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/db/users.sql
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/environments/development.yml
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/environments/production.yml
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/environments/test.yml
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile.pm
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema.pm
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema/Result/Entry.pm
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema/Result/User.pm
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/public/404.html
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/public/500.html
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/public/css/error.css
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/public/css/style.css
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/public/dispatch.cgi
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/public/dispatch.fcgi
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/public/favicon.ico
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/t/001_base.t
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/t/002_index_route.t
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/t/003_login.t
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/t/004_blog.t
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/t/db/test.db
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/views/create_update.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/views/delete.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/views/entry.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/views/index.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/views/layouts/main.tt
+%%SITE_PERL%%/auto/share/dist/Dancer2/skel/tutorial/views/login.tt
%%PERL5_MAN1%%/dancer2.1.gz
%%PERL5_MAN3%%/Dancer2.3.gz
%%PERL5_MAN3%%/Dancer2::CLI.3.gz
%%PERL5_MAN3%%/Dancer2::CLI::Gen.3.gz
%%PERL5_MAN3%%/Dancer2::CLI::Version.3.gz
-%%PERL5_MAN3%%/Dancer2::Config.3.gz
-%%PERL5_MAN3%%/Dancer2::Cookbook.3.gz
+%%PERL5_MAN3%%/Dancer2::ConfigReader.3.gz
+%%PERL5_MAN3%%/Dancer2::ConfigReader::Config::Any.3.gz
+%%PERL5_MAN3%%/Dancer2::ConfigUtils.3.gz
%%PERL5_MAN3%%/Dancer2::Core.3.gz
%%PERL5_MAN3%%/Dancer2::Core::App.3.gz
%%PERL5_MAN3%%/Dancer2::Core::Cookie.3.gz
@@ -116,6 +152,8 @@ bin/dancer2
%%PERL5_MAN3%%/Dancer2::Core::Role::DSL.3.gz
%%PERL5_MAN3%%/Dancer2::Core::Role::Engine.3.gz
%%PERL5_MAN3%%/Dancer2::Core::Role::Handler.3.gz
+%%PERL5_MAN3%%/Dancer2::Core::Role::HasConfig.3.gz
+%%PERL5_MAN3%%/Dancer2::Core::Role::HasEnvironment.3.gz
%%PERL5_MAN3%%/Dancer2::Core::Role::HasLocation.3.gz
%%PERL5_MAN3%%/Dancer2::Core::Role::Hookable.3.gz
%%PERL5_MAN3%%/Dancer2::Core::Role::Logger.3.gz
@@ -141,12 +179,17 @@ bin/dancer2
%%PERL5_MAN3%%/Dancer2::Logger::Note.3.gz
%%PERL5_MAN3%%/Dancer2::Logger::Null.3.gz
%%PERL5_MAN3%%/Dancer2::Manual.3.gz
+%%PERL5_MAN3%%/Dancer2::Manual::Config.3.gz
+%%PERL5_MAN3%%/Dancer2::Manual::Cookbook.3.gz
%%PERL5_MAN3%%/Dancer2::Manual::Deployment.3.gz
+%%PERL5_MAN3%%/Dancer2::Manual::Extending.3.gz
%%PERL5_MAN3%%/Dancer2::Manual::Keywords.3.gz
%%PERL5_MAN3%%/Dancer2::Manual::Migration.3.gz
+%%PERL5_MAN3%%/Dancer2::Manual::Plugins.3.gz
+%%PERL5_MAN3%%/Dancer2::Manual::QuickStart.3.gz
%%PERL5_MAN3%%/Dancer2::Manual::Testing.3.gz
+%%PERL5_MAN3%%/Dancer2::Manual::Tutorial.3.gz
%%PERL5_MAN3%%/Dancer2::Plugin.3.gz
-%%PERL5_MAN3%%/Dancer2::Plugins.3.gz
%%PERL5_MAN3%%/Dancer2::Policy.3.gz
%%PERL5_MAN3%%/Dancer2::Serializer::Dumper.3.gz
%%PERL5_MAN3%%/Dancer2::Serializer::JSON.3.gz
@@ -154,9 +197,6 @@ bin/dancer2
%%PERL5_MAN3%%/Dancer2::Serializer::YAML.3.gz
%%PERL5_MAN3%%/Dancer2::Session::Simple.3.gz
%%PERL5_MAN3%%/Dancer2::Session::YAML.3.gz
-%%PERL5_MAN3%%/Dancer2::Template::Implementation::ForkedTiny.3.gz
-%%PERL5_MAN3%%/Dancer2::Template::Simple.3.gz
%%PERL5_MAN3%%/Dancer2::Template::TemplateToolkit.3.gz
%%PERL5_MAN3%%/Dancer2::Template::Tiny.3.gz
%%PERL5_MAN3%%/Dancer2::Test.3.gz
-%%PERL5_MAN3%%/Dancer2::Tutorial.3.gz
diff --git a/www/phpmyfaq/Makefile b/www/phpmyfaq/Makefile
index 3f35f164c929..a6dc808aba78 100644
--- a/www/phpmyfaq/Makefile
+++ b/www/phpmyfaq/Makefile
@@ -1,5 +1,5 @@
PORTNAME= phpmyfaq
-DISTVERSION= 4.0.9
+DISTVERSION= 4.0.11
CATEGORIES= www
MASTER_SITES= https://download.phpmyfaq.de/files/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
diff --git a/www/phpmyfaq/distinfo b/www/phpmyfaq/distinfo
index 0812463a0ff1..248608edcc82 100644
--- a/www/phpmyfaq/distinfo
+++ b/www/phpmyfaq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752962256
-SHA256 (phpmyfaq-4.0.9.tar.gz) = a31454a2edca0569f8edaaa5567e887ce1e83f6c76ec75c6d89f61f7631e511b
-SIZE (phpmyfaq-4.0.9.tar.gz) = 15487853
+TIMESTAMP = 1758142564
+SHA256 (phpmyfaq-4.0.11.tar.gz) = 540dad41cc7e27097318e0c9da9e7a6fb5c5e1d51b6c0f0da0b6a778e58b3a65
+SIZE (phpmyfaq-4.0.11.tar.gz) = 15520189
diff --git a/www/phpmyfaq/pkg-plist b/www/phpmyfaq/pkg-plist
index 60aae8a2ecf1..012bbf6c9fc8 100644
--- a/www/phpmyfaq/pkg-plist
+++ b/www/phpmyfaq/pkg-plist
@@ -1080,6 +1080,7 @@
%%WWWDIR%%/src/libs/elasticsearch/elasticsearch/src/Endpoints/Snapshot.php
%%WWWDIR%%/src/libs/elasticsearch/elasticsearch/src/Endpoints/Sql.php
%%WWWDIR%%/src/libs/elasticsearch/elasticsearch/src/Endpoints/Ssl.php
+%%WWWDIR%%/src/libs/elasticsearch/elasticsearch/src/Endpoints/Streams.php
%%WWWDIR%%/src/libs/elasticsearch/elasticsearch/src/Endpoints/Synonyms.php
%%WWWDIR%%/src/libs/elasticsearch/elasticsearch/src/Endpoints/Tasks.php
%%WWWDIR%%/src/libs/elasticsearch/elasticsearch/src/Endpoints/TextStructure.php
@@ -1179,6 +1180,7 @@
%%WWWDIR%%/src/libs/guzzlehttp/guzzle/README.md
%%WWWDIR%%/src/libs/guzzlehttp/guzzle/UPGRADING.md
%%WWWDIR%%/src/libs/guzzlehttp/guzzle/composer.json
+%%WWWDIR%%/src/libs/guzzlehttp/guzzle/package-lock.json
%%WWWDIR%%/src/libs/guzzlehttp/guzzle/src/BodySummarizer.php
%%WWWDIR%%/src/libs/guzzlehttp/guzzle/src/BodySummarizerInterface.php
%%WWWDIR%%/src/libs/guzzlehttp/guzzle/src/Client.php
@@ -2017,6 +2019,7 @@
%%WWWDIR%%/src/libs/open-telemetry/context/FiberBoundContextStorageExecutionAwareBC.php
%%WWWDIR%%/src/libs/open-telemetry/context/ImplicitContextKeyedInterface.php
%%WWWDIR%%/src/libs/open-telemetry/context/Propagation/ArrayAccessGetterSetter.php
+%%WWWDIR%%/src/libs/open-telemetry/context/Propagation/EnvironmentGetterSetter.php
%%WWWDIR%%/src/libs/open-telemetry/context/Propagation/ExtendedPropagationGetterInterface.php
%%WWWDIR%%/src/libs/open-telemetry/context/Propagation/MultiTextMapPropagator.php
%%WWWDIR%%/src/libs/open-telemetry/context/Propagation/NoopTextMapPropagator.php
@@ -5748,6 +5751,7 @@
%%WWWDIR%%/translations/language_zh.php
%%WWWDIR%%/ucp.php
%%WWWDIR%%/update/index.php
+%%WWWDIR%%/web.config
@dir %%WWWDIR%%/src/libs/symfony/mime/Resources/bin
@dir(www,www,) %%WWWDIR%%/content/core/config
@dir(www,www,) %%WWWDIR%%/content/core/data
diff --git a/www/plasma6-plasma-browser-integration/distinfo b/www/plasma6-plasma-browser-integration/distinfo
index 70f9bf9a6da6..6e7a832cdc22 100644
--- a/www/plasma6-plasma-browser-integration/distinfo
+++ b/www/plasma6-plasma-browser-integration/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754413480
-SHA256 (KDE/plasma/6.4.4/plasma-browser-integration-6.4.4.tar.xz) = efdd5b9bf1acfbe16edcb31b029c7f91b20616598bbfc6a0959fefd698b638cf
-SIZE (KDE/plasma/6.4.4/plasma-browser-integration-6.4.4.tar.xz) = 235672
+TIMESTAMP = 1757499247
+SHA256 (KDE/plasma/6.4.5/plasma-browser-integration-6.4.5.tar.xz) = ad92f4ec1e31d9fdc57b517bdc2e5ac107c62c02090ad37529eecdee6caf9d8b
+SIZE (KDE/plasma/6.4.5/plasma-browser-integration-6.4.5.tar.xz) = 235700
diff --git a/www/py-adblock/Makefile b/www/py-adblock/Makefile
index 129d91a488bb..aa8e747ff975 100644
--- a/www/py-adblock/Makefile
+++ b/www/py-adblock/Makefile
@@ -1,6 +1,6 @@
PORTNAME= adblock
DISTVERSION= 0.6.0
-PORTREVISION= 38
+PORTREVISION= 39
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-beautifulsoup/Makefile b/www/py-beautifulsoup/Makefile
index 96568abf54e9..680175694692 100644
--- a/www/py-beautifulsoup/Makefile
+++ b/www/py-beautifulsoup/Makefile
@@ -1,6 +1,6 @@
PORTNAME= beautifulsoup
PORTVERSION= 4.13.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}soupsieve>=1.2:www/py-soupsieve@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR}
USES= python
diff --git a/www/py-boto3/Makefile b/www/py-boto3/Makefile
index 32e26d0479d0..11b852814850 100644
--- a/www/py-boto3/Makefile
+++ b/www/py-boto3/Makefile
@@ -1,5 +1,5 @@
PORTNAME= boto3
-PORTVERSION= 1.39.15
+PORTVERSION= 1.40.21
CATEGORIES= www python devel
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=${PORTVERSION}<1.40.0:devel/py-botocore@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=${PORTVERSION}<1.41.0:devel/py-botocore@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1<2.0.0:devel/py-jmespath@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}s3transfer>=0.13.0<0.14.0:net/py-s3transfer@${PY_FLAVOR}
diff --git a/www/py-boto3/distinfo b/www/py-boto3/distinfo
index 9ff29768047e..1b1bf48e0ee6 100644
--- a/www/py-boto3/distinfo
+++ b/www/py-boto3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753796102
-SHA256 (boto3-1.39.15.tar.gz) = b4483625f0d8c35045254dee46cd3c851bbc0450814f20b9b25bee1b5c0d8409
-SIZE (boto3-1.39.15.tar.gz) = 111856
+TIMESTAMP = 1757120850
+SHA256 (boto3-1.40.21.tar.gz) = 876ccc0b25517b992bd27976282510773a11ebc771aa5b836a238ea426c82187
+SIZE (boto3-1.40.21.tar.gz) = 111590
diff --git a/www/py-caldav/Makefile b/www/py-caldav/Makefile
index d0965310bc0b..43c5387c020c 100644
--- a/www/py-caldav/Makefile
+++ b/www/py-caldav/Makefile
@@ -1,6 +1,6 @@
PORTNAME= caldav
PORTVERSION= 2.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPL
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}icalendar>=6.0.0:devel/py-icalendar@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}recurring-ical-events>=2.0.0:devel/py-recurring-ical-events@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
diff --git a/www/py-calibreweb/Makefile b/www/py-calibreweb/Makefile
index e957fa734831..95f17bffc366 100644
--- a/www/py-calibreweb/Makefile
+++ b/www/py-calibreweb/Makefile
@@ -1,5 +1,6 @@
PORTNAME= calibreweb
PORTVERSION= 0.6.25
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}APScheduler>=0:devel/py-apscheduler@${PY_FLA
${PYTHON_PKGNAMEPREFIX}flask_limiter>=0:www/py-flask-limiter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask_wtf>=0:www/py-flask-wtf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}iso-639>=0:textproc/py-iso-639@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netifaces-plus>=0:net/py-netifaces-plus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycountry>=0:textproc/py-pycountry@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pypdf>=0:print/py-pypdf@${PY_FLAVOR} \
diff --git a/www/py-channels/Makefile b/www/py-channels/Makefile
index 0a3f8e0f4964..80ada695f7cc 100644
--- a/www/py-channels/Makefile
+++ b/www/py-channels/Makefile
@@ -1,5 +1,5 @@
PORTNAME= channels
-PORTVERSION= 4.3.0
+PORTVERSION= 4.3.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-channels/distinfo b/www/py-channels/distinfo
index bda9ca7b8bef..00520ddcd18a 100644
--- a/www/py-channels/distinfo
+++ b/www/py-channels/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753796104
-SHA256 (channels-4.3.0.tar.gz) = 7db32c61dcd88eada1647e6c6f6ad2eb724b75d4852eeff26ad1c51ccd1a37f7
-SIZE (channels-4.3.0.tar.gz) = 26816
+TIMESTAMP = 1757120852
+SHA256 (channels-4.3.1.tar.gz) = 97413ffd674542db08e16a9ef09cd86ec0113e5f8125fbd33cf0854adcf27cdb
+SIZE (channels-4.3.1.tar.gz) = 26896
diff --git a/www/py-cinemagoer/Makefile b/www/py-cinemagoer/Makefile
index 9b1cc42d1c57..f1127c4ef9cd 100644
--- a/www/py-cinemagoer/Makefile
+++ b/www/py-cinemagoer/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cinemagoer
PORTVERSION= 2023.5.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=0:databases/py-sqlalchemy20@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-profiling>=0:devel/py-pytest-profiling@${PY_FLAVOR}
diff --git a/www/py-dash/Makefile b/www/py-dash/Makefile
index 1611056751a1..751d5d6d6a17 100644
--- a/www/py-dash/Makefile
+++ b/www/py-dash/Makefile
@@ -1,5 +1,5 @@
PORTNAME= dash
-PORTVERSION= 3.1.1
+PORTVERSION= 3.2.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-dash/distinfo b/www/py-dash/distinfo
index 73cbca061878..6a5d8b578e21 100644
--- a/www/py-dash/distinfo
+++ b/www/py-dash/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751375067
-SHA256 (dash-3.1.1.tar.gz) = 916b31cec46da0a3339da0e9df9f446126aa7f293c0544e07adf9fe4ba060b18
-SIZE (dash-3.1.1.tar.gz) = 7544441
+TIMESTAMP = 1757120854
+SHA256 (dash-3.2.0.tar.gz) = 93300b9b99498f8b8ed267e61c455b4ee1282c7e4d4b518600eec87ce6ddea55
+SIZE (dash-3.2.0.tar.gz) = 7558708
diff --git a/www/py-dj51-channels/Makefile b/www/py-dj51-channels/Makefile
index f2ffbf863657..92518e10eedb 100644
--- a/www/py-dj51-channels/Makefile
+++ b/www/py-dj51-channels/Makefile
@@ -1,5 +1,5 @@
PORTNAME= channels
-PORTVERSION= 4.3.0
+PORTVERSION= 4.3.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51-
diff --git a/www/py-dj51-channels/distinfo b/www/py-dj51-channels/distinfo
index bda9ca7b8bef..948db10aa19c 100644
--- a/www/py-dj51-channels/distinfo
+++ b/www/py-dj51-channels/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753796104
-SHA256 (channels-4.3.0.tar.gz) = 7db32c61dcd88eada1647e6c6f6ad2eb724b75d4852eeff26ad1c51ccd1a37f7
-SIZE (channels-4.3.0.tar.gz) = 26816
+TIMESTAMP = 1757120856
+SHA256 (channels-4.3.1.tar.gz) = 97413ffd674542db08e16a9ef09cd86ec0113e5f8125fbd33cf0854adcf27cdb
+SIZE (channels-4.3.1.tar.gz) = 26896
diff --git a/www/py-dj52-channels/Makefile b/www/py-dj52-channels/Makefile
index d5e332fc9e28..f9ba26678cb7 100644
--- a/www/py-dj52-channels/Makefile
+++ b/www/py-dj52-channels/Makefile
@@ -1,5 +1,5 @@
PORTNAME= channels
-PORTVERSION= 4.3.0
+PORTVERSION= 4.3.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52-
diff --git a/www/py-dj52-channels/distinfo b/www/py-dj52-channels/distinfo
index bda9ca7b8bef..e496b730dccd 100644
--- a/www/py-dj52-channels/distinfo
+++ b/www/py-dj52-channels/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753796104
-SHA256 (channels-4.3.0.tar.gz) = 7db32c61dcd88eada1647e6c6f6ad2eb724b75d4852eeff26ad1c51ccd1a37f7
-SIZE (channels-4.3.0.tar.gz) = 26816
+TIMESTAMP = 1757120858
+SHA256 (channels-4.3.1.tar.gz) = 97413ffd674542db08e16a9ef09cd86ec0113e5f8125fbd33cf0854adcf27cdb
+SIZE (channels-4.3.1.tar.gz) = 26896
diff --git a/www/py-dj52-django-stubs-ext/Makefile b/www/py-dj52-django-stubs-ext/Makefile
index 8dce416590ac..6c90418d499c 100644
--- a/www/py-dj52-django-stubs-ext/Makefile
+++ b/www/py-dj52-django-stubs-ext/Makefile
@@ -1,5 +1,5 @@
PORTNAME= django-stubs-ext
-PORTVERSION= 5.2.2
+PORTVERSION= 5.2.5
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52-
diff --git a/www/py-dj52-django-stubs-ext/distinfo b/www/py-dj52-django-stubs-ext/distinfo
index e797ae2837eb..400c6df11805 100644
--- a/www/py-dj52-django-stubs-ext/distinfo
+++ b/www/py-dj52-django-stubs-ext/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754002125
-SHA256 (django_stubs_ext-5.2.2.tar.gz) = d9d151b919fe2438760f5bd938f03e1cb08c84d0651f9e5917f1313907e42683
-SIZE (django_stubs_ext-5.2.2.tar.gz) = 6244
+TIMESTAMP = 1757827529
+SHA256 (django_stubs_ext-5.2.5.tar.gz) = ecc628df29d36cede638567c4e33ff485dd7a99f1552ad0cece8c60e9c3a8872
+SIZE (django_stubs_ext-5.2.5.tar.gz) = 6489
diff --git a/www/py-django-q2/Makefile b/www/py-django-q2/Makefile
new file mode 100644
index 000000000000..23aa84dbd968
--- /dev/null
+++ b/www/py-django-q2/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= django-q2
+DISTVERSION= 1.8.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= django_q2-${DISTVERSION}
+
+MAINTAINER= einar@isnic.is
+COMMENT= Multiprocessing distributed task queue for Django
+WWW= https://django-q2.readthedocs.io/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-picklefield>=3.1:www/py-django-picklefield@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/www/py-django-q2/distinfo b/www/py-django-q2/distinfo
new file mode 100644
index 000000000000..6bd990797219
--- /dev/null
+++ b/www/py-django-q2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1745593090
+SHA256 (django_q2-1.8.0.tar.gz) = e86b9625c0ce57a5ae31ca8fd7e798d63b9ef91a227c52f8b47536ba50b2b284
+SIZE (django_q2-1.8.0.tar.gz) = 77161
diff --git a/www/py-django-q2/pkg-descr b/www/py-django-q2/pkg-descr
new file mode 100644
index 000000000000..4bbec8bf6b5b
--- /dev/null
+++ b/www/py-django-q2/pkg-descr
@@ -0,0 +1,6 @@
+A multiprocessing distributed task queue for Django
+
+Django Q2 is a fork of Django Q. Big thanks to Ilan Steemers for starting this
+project. Unfortunately, development has stalled since June 2021. Django Q2 is
+the new updated version of Django Q, with dependencies updates, docs updates and
+several bug fixes.
diff --git a/www/py-django-unfold/Makefile b/www/py-django-unfold/Makefile
index 9ef09077d0f8..9d062472e97f 100644
--- a/www/py-django-unfold/Makefile
+++ b/www/py-django-unfold/Makefile
@@ -1,5 +1,5 @@
PORTNAME= django-unfold
-PORTVERSION= 0.63.0
+PORTVERSION= 0.65.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-django-unfold/distinfo b/www/py-django-unfold/distinfo
index 8fa5c4f2a72e..b8a9f48c4dac 100644
--- a/www/py-django-unfold/distinfo
+++ b/www/py-django-unfold/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753369404
-SHA256 (django_unfold-0.63.0.tar.gz) = a32bb7c4a860a2e95a597778ce4f50f1d1a809a6ac06f6551dd0ebd371611cdf
-SIZE (django_unfold-0.63.0.tar.gz) = 1067071
+TIMESTAMP = 1757120860
+SHA256 (django_unfold-0.65.0.tar.gz) = 7960b2f6e18cb883920b6bc03e255bcf8ca94c18c4f6caa770ff65eeb64d8724
+SIZE (django_unfold-0.65.0.tar.gz) = 1070476
diff --git a/www/py-django_compressor/Makefile b/www/py-django_compressor/Makefile
index 2ca476100a9d..c521a8dea964 100644
--- a/www/py-django_compressor/Makefile
+++ b/www/py-django_compressor/Makefile
@@ -1,6 +1,6 @@
PORTNAME= django_compressor
PORTVERSION= 4.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -26,7 +26,7 @@ LXML_DESC= Enable LxmlParser
HTML5LIB_DESC= Enable Html5LibParser
BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR}
-LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR}
+LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}
.include <bsd.port.mk>
diff --git a/www/py-fastapi-sso/Makefile b/www/py-fastapi-sso/Makefile
new file mode 100644
index 000000000000..5d9f42189cb2
--- /dev/null
+++ b/www/py-fastapi-sso/Makefile
@@ -0,0 +1,41 @@
+PORTNAME= fastapi-sso
+DISTVERSION= 0.18.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= FastAPI plugin to enable SSO to most common providers
+WWW= https://tomasvotava.github.io/fastapi-sso/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0.80:www/py-fastapi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}oauthlib>=3.1.0:security/py-oauthlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>=1.8.0:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.10.1<3:www/py-pyjwt@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12.2<5:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.post.mk>
diff --git a/www/py-fastapi-sso/distinfo b/www/py-fastapi-sso/distinfo
new file mode 100644
index 000000000000..8257cc9f32e0
--- /dev/null
+++ b/www/py-fastapi-sso/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757574194
+SHA256 (fastapi_sso-0.18.0.tar.gz) = d8df5a686af7a6a7be248817544b405cf77f7e9ffcd5d0d7d2a196fd071964bc
+SIZE (fastapi_sso-0.18.0.tar.gz) = 16811
diff --git a/www/py-fastapi-sso/pkg-descr b/www/py-fastapi-sso/pkg-descr
new file mode 100644
index 000000000000..42a9b02fd5b7
--- /dev/null
+++ b/www/py-fastapi-sso/pkg-descr
@@ -0,0 +1,7 @@
+FastAPI plugin to enable SSO to most common providers (such as
+Facebook login, Google login and login via Microsoft Office 365
+account).
+
+This allows you to implement the famous Login with
+Google/Facebook/Microsoft buttons functionality on your backend very
+easily.
diff --git a/www/py-feedgen/Makefile b/www/py-feedgen/Makefile
index 124c3c57cb9c..a870a0922ddd 100644
--- a/www/py-feedgen/Makefile
+++ b/www/py-feedgen/Makefile
@@ -1,6 +1,6 @@
PORTNAME= feedgen
DISTVERSION= 1.0.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_COMB= multi
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/license.bsd
LICENSE_FILE_LGPL3+ = ${WRKSRC}/license.lgpl
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR}
USES= python
diff --git a/www/py-feedgenerator/Makefile b/www/py-feedgenerator/Makefile
index 6155157a7e30..2e857b765638 100644
--- a/www/py-feedgenerator/Makefile
+++ b/www/py-feedgenerator/Makefile
@@ -1,7 +1,8 @@
PORTNAME= feedgenerator
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.1
CATEGORIES= www python
-MASTER_SITES= PYPI
+MASTER_SITES= PYPI \
+ https://github.com/getpelican/feedgenerator/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
diff --git a/www/py-feedgenerator/distinfo b/www/py-feedgenerator/distinfo
index f6cc51cede38..672c234ed79c 100644
--- a/www/py-feedgenerator/distinfo
+++ b/www/py-feedgenerator/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752566726
-SHA256 (feedgenerator-2.2.0.tar.gz) = 2976f6ccc5989a967202da343ea145c21aedabbe0035c7088d64ba0aa9725a60
-SIZE (feedgenerator-2.2.0.tar.gz) = 20309
+TIMESTAMP = 1757120862
+SHA256 (feedgenerator-2.2.1.tar.gz) = 0eaa955f1f0bcb5b87ac195af740f06ff9fff4a40ed30b8a7c6bbebb264d4dd1
+SIZE (feedgenerator-2.2.1.tar.gz) = 20872
diff --git a/www/py-flask-limiter/Makefile b/www/py-flask-limiter/Makefile
index 578bd3b6ac95..7affd04be4d8 100644
--- a/www/py-flask-limiter/Makefile
+++ b/www/py-flask-limiter/Makefile
@@ -1,5 +1,5 @@
PORTNAME= flask_limiter
-PORTVERSION= 3.12
+PORTVERSION= 3.13
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-flask-limiter/distinfo b/www/py-flask-limiter/distinfo
index 8868fd146b10..e0af0b96d951 100644
--- a/www/py-flask-limiter/distinfo
+++ b/www/py-flask-limiter/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742131441
-SHA256 (flask_limiter-3.12.tar.gz) = f9e3e3d0c4acd0d1ffbfa729e17198dd1042f4d23c130ae160044fc930e21300
-SIZE (flask_limiter-3.12.tar.gz) = 303162
+TIMESTAMP = 1757936649
+SHA256 (flask_limiter-3.13.tar.gz) = f665ddc6531612c435cc8fabd58d48cf3b86b7985571e1e3644bcd389b802329
+SIZE (flask_limiter-3.13.tar.gz) = 305552
diff --git a/www/py-free-proxy/Makefile b/www/py-free-proxy/Makefile
index b16fc9450a58..f1208542f4e2 100644
--- a/www/py-free-proxy/Makefile
+++ b/www/py-free-proxy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= free-proxy
PORTVERSION= 1.1.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
USES= python
diff --git a/www/py-google-api-python-client/Makefile b/www/py-google-api-python-client/Makefile
index bcd78978e5ff..704c9a3d7123 100644
--- a/www/py-google-api-python-client/Makefile
+++ b/www/py-google-api-python-client/Makefile
@@ -1,5 +1,5 @@
PORTNAME= google-api-python-client
-DISTVERSION= 2.181.0
+DISTVERSION= 2.182.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-google-api-python-client/distinfo b/www/py-google-api-python-client/distinfo
index df96058efcf6..3136a2240949 100644
--- a/www/py-google-api-python-client/distinfo
+++ b/www/py-google-api-python-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756973826
-SHA256 (google_api_python_client-2.181.0.tar.gz) = d7060962a274a16a2c6f8fb4b1569324dbff11bfbca8eb050b88ead1dd32261c
-SIZE (google_api_python_client-2.181.0.tar.gz) = 13545438
+TIMESTAMP = 1758179401
+SHA256 (google_api_python_client-2.182.0.tar.gz) = cb2aa127e33c3a31e89a06f39cf9de982db90a98dee020911b21013afafad35f
+SIZE (google_api_python_client-2.182.0.tar.gz) = 13599318
diff --git a/www/py-google-cloud-compute/Makefile b/www/py-google-cloud-compute/Makefile
index 74424376bf7a..a538d929d58c 100644
--- a/www/py-google-cloud-compute/Makefile
+++ b/www/py-google-cloud-compute/Makefile
@@ -1,5 +1,5 @@
PORTNAME= google-cloud-compute
-PORTVERSION= 1.33.0
+PORTVERSION= 1.35.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-google-cloud-compute/distinfo b/www/py-google-cloud-compute/distinfo
index 2e9cbb821145..297ba4dc7c75 100644
--- a/www/py-google-cloud-compute/distinfo
+++ b/www/py-google-cloud-compute/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753265798
-SHA256 (google_cloud_compute-1.33.0.tar.gz) = 0ffc56bfca9583c2fa5f2b6271b6756a4d6f5cdbefe2656420711297292e42ee
-SIZE (google_cloud_compute-1.33.0.tar.gz) = 4423466
+TIMESTAMP = 1757120864
+SHA256 (google_cloud_compute-1.35.0.tar.gz) = f13946ddbea27ceaa55cc3a32026177d1af6d247a76e9ed4407256067fabdacf
+SIZE (google_cloud_compute-1.35.0.tar.gz) = 4432214
diff --git a/www/py-google-cloud-storage/Makefile b/www/py-google-cloud-storage/Makefile
index b0d1c2f5c88d..012cfe7c9378 100644
--- a/www/py-google-cloud-storage/Makefile
+++ b/www/py-google-cloud-storage/Makefile
@@ -1,5 +1,5 @@
PORTNAME= google-cloud-storage
-PORTVERSION= 3.2.0
+PORTVERSION= 3.3.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-google-cloud-storage/distinfo b/www/py-google-cloud-storage/distinfo
index 13fb0f8cb019..e906312f7893 100644
--- a/www/py-google-cloud-storage/distinfo
+++ b/www/py-google-cloud-storage/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753796126
-SHA256 (google_cloud_storage-3.2.0.tar.gz) = decca843076036f45633198c125d1861ffbf47ebf5c0e3b98dcb9b2db155896c
-SIZE (google_cloud_storage-3.2.0.tar.gz) = 7669611
+TIMESTAMP = 1757120866
+SHA256 (google_cloud_storage-3.3.0.tar.gz) = ae9d891d53e17d9681d7c4ef1ffeea0cde9bdc53d5b64fa6ff6bf30d1911cf61
+SIZE (google_cloud_storage-3.3.0.tar.gz) = 7781974
diff --git a/www/py-html5-parser/Makefile b/www/py-html5-parser/Makefile
index 7b86e641cd32..b669d5ab23fc 100644
--- a/www/py-html5-parser/Makefile
+++ b/www/py-html5-parser/Makefile
@@ -1,6 +1,6 @@
PORTNAME= html5-parser
PORTVERSION= 0.4.12
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,7 @@ WWW= https://html5-parser.readthedocs.io/
LICENSE= APACHE20
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=4.9.2:devel/py-lxml5@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.9.2:devel/py-lxml@${PY_FLAVOR}
USES= gnome pkgconfig python
USE_PYTHON= autoplist distutils
diff --git a/www/py-html5lib-modern/Makefile b/www/py-html5lib-modern/Makefile
index 76148c705e58..10ebb6781118 100644
--- a/www/py-html5lib-modern/Makefile
+++ b/www/py-html5lib-modern/Makefile
@@ -1,6 +1,6 @@
PORTNAME= html5lib-modern
PORTVERSION= 1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -30,6 +30,6 @@ LXML_DESC= Tree building/walking via lxml
CHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=2.2.1,1:textproc/py-chardet@${PY_FLAVOR}
GENSHI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7.1:textproc/py-genshi@${PY_FLAVOR}
-LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=3.4.0:devel/py-lxml5@${PY_FLAVOR}
+LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.4.0:devel/py-lxml@${PY_FLAVOR}
.include <bsd.port.mk>
diff --git a/www/py-htmldate/Makefile b/www/py-htmldate/Makefile
index 2b86a31dc1de..3e36d1d0f88d 100644
--- a/www/py-htmldate/Makefile
+++ b/www/py-htmldate/Makefile
@@ -1,6 +1,6 @@
PORTNAME= htmldate
PORTVERSION= 1.9.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.4.0:textproc/py-charset-normalizer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateparser>=1.1.2:devel/py-dateparser@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=5.3.0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=5.3.0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.9.0:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.26,1<3,1:net/py-urllib3@${PY_FLAVOR}
diff --git a/www/py-httpx_gssapi/Makefile b/www/py-httpx_gssapi/Makefile
index 3f10695f7c2d..2118260eb8d5 100644
--- a/www/py-httpx_gssapi/Makefile
+++ b/www/py-httpx_gssapi/Makefile
@@ -1,6 +1,5 @@
PORTNAME= httpx_gssapi
-PORTVERSION= 0.4
-PORTREVISION= 2
+PORTVERSION= 0.5
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-httpx_gssapi/Makefile.new b/www/py-httpx_gssapi/Makefile.new
deleted file mode 100644
index 16c578311e7e..000000000000
--- a/www/py-httpx_gssapi/Makefile.new
+++ /dev/null
@@ -1,21 +0,0 @@
-PORTNAME= httpx-gssapi
-PORTVERSION= 0.4
-CATEGORIES= www python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= dvl@FreeBSD.org
-COMMENT= Requests GSSAPI for HTTPX
-WWW= https://github.com/pythongssapi/httpx-gssapi
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.16<0.28:www/py-httpx@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= autoplist concurrent distutils
-
-NO_ARCH= yes
-
-.include <bsd.port.mk>
diff --git a/www/py-httpx_gssapi/distinfo b/www/py-httpx_gssapi/distinfo
index 4982ccb85dc4..5a26ac22c2f3 100644
--- a/www/py-httpx_gssapi/distinfo
+++ b/www/py-httpx_gssapi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733321110
-SHA256 (httpx_gssapi-0.4.tar.gz) = 8c9a4fa526484c1323c0a4436ef1198f34c0f1d6dde0973ea38f960d51e16ef0
-SIZE (httpx_gssapi-0.4.tar.gz) = 36237
+TIMESTAMP = 1757419864
+SHA256 (httpx_gssapi-0.5.tar.gz) = d1fe7af4c8544303bbb08e5b1bb51d87c5d3b07a1caa6594096660803e40188d
+SIZE (httpx_gssapi-0.5.tar.gz) = 37064
diff --git a/www/py-hyperkitty/Makefile b/www/py-hyperkitty/Makefile
new file mode 100644
index 000000000000..4e13ee659e9a
--- /dev/null
+++ b/www/py-hyperkitty/Makefile
@@ -0,0 +1,40 @@
+PORTNAME= hyperkitty
+PORTVERSION= 1.3.12
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= einar@isnic.is
+COMMENT= Web interface to access GNU Mailman v3 archives
+WWW= https://gitlab.com/mailman/hyperkitty
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django_compressor>=1.3:www/py-django_compressor@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-extensions>=1.3.7:www/py-django-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-gravatar2>=1.0.6:www/py-django-gravatar2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-haystack>=2.8.0:www/py-django-haystack@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-q2>=1.0.0:www/py-django-q2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-mailman3>=1.3.13:mail/py-django-mailman3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.0.0:www/py-djangorestframework@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}flufl.lock>=4.0:devel/py-flufl.lock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mailmanclient>=3.3.3:mail/py-mailmanclient@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mistune>=3.0:textproc/py-mistune@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}networkx>=2.0:math/py-networkx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.0:devel/py-python-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}robot-detection>=0.3:www/py-robot-detection@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_PYTHON= autoplist concurrent pep517
+
+SHEBANG_FILES= hyperkitty/contrib/check_hk_import \
+ hyperkitty/contrib/cleanarch3
+
+NO_ARCH= yes
+
+post-extract:
+ ${RM} -rf ${WRKSRC}/example_project
+
+.include <bsd.port.mk>
diff --git a/www/py-hyperkitty/distinfo b/www/py-hyperkitty/distinfo
new file mode 100644
index 000000000000..91a628d9d05e
--- /dev/null
+++ b/www/py-hyperkitty/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726946483
+SHA256 (hyperkitty-1.3.12.tar.gz) = deb582937ec5bc9ea9c1d5d86bfb76a4da429b60e1fea6fd6964e7c667cf161d
+SIZE (hyperkitty-1.3.12.tar.gz) = 2231630
diff --git a/www/py-hyperkitty/pkg-descr b/www/py-hyperkitty/pkg-descr
new file mode 100644
index 000000000000..403ba13110fa
--- /dev/null
+++ b/www/py-hyperkitty/pkg-descr
@@ -0,0 +1,2 @@
+HyperKitty is an open source Django application under development. It aims to
+provide a web interface to access GNU Mailman v3 archives.
diff --git a/www/py-inlinestyler/Makefile b/www/py-inlinestyler/Makefile
index 4af3fc82057e..25c4cc98aef9 100644
--- a/www/py-inlinestyler/Makefile
+++ b/www/py-inlinestyler/Makefile
@@ -1,6 +1,6 @@
PORTNAME= inlinestyler
PORTVERSION= 0.2.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssutils>0:www/py-cssutils@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR}
USES= python
diff --git a/www/py-mailman-hyperkitty/Makefile b/www/py-mailman-hyperkitty/Makefile
new file mode 100644
index 000000000000..b8b38bf1dc71
--- /dev/null
+++ b/www/py-mailman-hyperkitty/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= mailman-hyperkitty
+PORTVERSION= 1.2.1
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= einar@isnic.is
+COMMENT= Mailman archiver plugin for HyperKitty
+WWW= https://gitlab.com/mailman/mailman-hyperkitty/
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mailman>0:mail/mailman3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-mailman-hyperkitty/distinfo b/www/py-mailman-hyperkitty/distinfo
new file mode 100644
index 000000000000..ab751a9b85cf
--- /dev/null
+++ b/www/py-mailman-hyperkitty/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725376430
+SHA256 (mailman-hyperkitty-1.2.1.tar.gz) = f8d69dfbc6ccb582896d40a9a69457aa1075cdd6efbc55d34c797024b40bcc38
+SIZE (mailman-hyperkitty-1.2.1.tar.gz) = 22197
diff --git a/www/py-mailman-hyperkitty/pkg-descr b/www/py-mailman-hyperkitty/pkg-descr
new file mode 100644
index 000000000000..0538aa686b71
--- /dev/null
+++ b/www/py-mailman-hyperkitty/pkg-descr
@@ -0,0 +1,4 @@
+Mailman archiver plugin for HyperKitty
+
+This module contains a Mailman archiver plugin which sends emails to HyperKitty,
+the web archiver.
diff --git a/www/py-mechanicalsoup/Makefile b/www/py-mechanicalsoup/Makefile
index 67edeb5bc92e..2c750e50b9d6 100644
--- a/www/py-mechanicalsoup/Makefile
+++ b/www/py-mechanicalsoup/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mechanicalsoup
PORTVERSION= 1.3.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.7:www/py-beautifulsoup@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
diff --git a/www/py-nikola/Makefile b/www/py-nikola/Makefile
new file mode 100644
index 000000000000..16fa95e8bf0e
--- /dev/null
+++ b/www/py-nikola/Makefile
@@ -0,0 +1,72 @@
+PORTNAME= nikola
+DISTVERSION= 8.3.3
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Modular, fast, simple, static website and blog generator
+WWW= https://getnikola.com/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=60.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}installer>=0:devel/py-installer@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=1.3:devel/py-blinker@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}doit>=0.33.1:devel/py-doit@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.2:textproc/py-pygments@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=9.1.0:graphics/py-pillow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}docutils>=0.19:textproc/py-docutils@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mako>=1.0.9:textproc/py-mako@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}markdown>=3.0:textproc/py-markdown@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}unidecode>=0.4.16:converters/py-unidecode@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyrss2gen>=1.1:textproc/py-pyrss2gen@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=4.5.2:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}natsort>=5.1.0:devel/py-natsort@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}piexif>=1.0.3:graphics/py-piexif@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Babel>=2.12.0:devel/py-babel@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}flake8>=3.7.7:devel/py-flake8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}freezegun>=0.3.10:devel/py-freezegun@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.10:textproc/py-feedparser@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydocstyle>=6.3.0:devel/py-pydocstyle@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_PYTHON= autoplist concurrent pep517
+
+SHEBANG_FILES= docs/sphinx/update-modules.sh \
+ scripts/update-npm-assets.sh \
+ scripts/generate_symlinked_list.sh \
+ scripts/baseline.sh \
+ scripts/capty
+
+OPTIONS_DEFINE= EXTRAS
+OPTIONS_DEFAULT=EXTRAS
+EXTRAS_DESC= Install extras modules
+
+EXTRAS_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyphen>=0.9.1:textproc/py-pyphen@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typogrify>=2.0.4:textproc/py-typogrify@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}phpserialize>=1.3:devel/py-phpserialize@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}notebook>=6.0.0:www/py-notebook@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ipykernel>=6.21.2:devel/py-ipykernel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ghp-import>=1.0.0:www/py-ghp-import@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.6:www/py-aiohttp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}watchdog>=2.3.0:devel/py-watchdog@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15.98:devel/py-ruamel.yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}toml>=0.9.2:textproc/py-toml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}html5lib>=1.0.1:www/py-html5lib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hsluv>=5.0.0:graphics/py-hsluv@${PY_FLAVOR}
+
+.include <bsd.port.pre.mk>
+
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.post.mk>
diff --git a/www/py-nikola/distinfo b/www/py-nikola/distinfo
new file mode 100644
index 000000000000..3d377d512315
--- /dev/null
+++ b/www/py-nikola/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757984614
+SHA256 (nikola-8.3.3.tar.gz) = 636d7d6ffc2ab24f4c2649e8695f8bb5604e309153ea4b60b786facae03ab1c7
+SIZE (nikola-8.3.3.tar.gz) = 4569665
diff --git a/www/py-nikola/files/patch-pyproject.toml b/www/py-nikola/files/patch-pyproject.toml
new file mode 100644
index 000000000000..08f80da7de21
--- /dev/null
+++ b/www/py-nikola/files/patch-pyproject.toml
@@ -0,0 +1,20 @@
+--- pyproject.toml.orig 2025-09-16 01:33:40 UTC
++++ pyproject.toml
+@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
+ build-backend = "setuptools.build_meta"
+
+ [project]
+-name = "Nikola"
++name = "nikola"
+ version = "8.3.3"
+ description = "A modular, fast, simple, static website and blog generator"
+ readme = "README.rst"
+@@ -111,7 +111,7 @@ exclude = ["tests", "tests.*"]
+ "docs/theming.rst",
+ "docs/extending.rst"
+ ]
+-"share/man/man1" = ["docs/man/nikola.1.gz"]
++#"share/man/man1" = ["docs/man/nikola.1.gz"]
+
+ [tool.pydocstyle]
+ add-ignore = ["D412", "D413"]
diff --git a/www/py-nikola/pkg-descr b/www/py-nikola/pkg-descr
new file mode 100644
index 000000000000..cbfffba335bd
--- /dev/null
+++ b/www/py-nikola/pkg-descr
@@ -0,0 +1,2 @@
+Nikola is a python framework for modular, fast, simple, static website
+and blog generator.
diff --git a/www/py-niquests/Makefile b/www/py-niquests/Makefile
index 285df8582a47..fe3c2f4e6033 100644
--- a/www/py-niquests/Makefile
+++ b/www/py-niquests/Makefile
@@ -1,5 +1,5 @@
PORTNAME= niquests
-PORTVERSION= 3.15.0
+PORTVERSION= 3.15.2
CATEGORIES= www python
MASTER_SITES= PYPI \
https://github.com/jawah/niquests/releases/download/v${PORTVERSION}/
diff --git a/www/py-niquests/distinfo b/www/py-niquests/distinfo
index 5d2c54a7ca35..25978506343c 100644
--- a/www/py-niquests/distinfo
+++ b/www/py-niquests/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755062584
-SHA256 (niquests-3.15.0.tar.gz) = 6da62be32fc1cb5c3200a749631ab860f5e3c139f1af4505bd8d10cbaa930ef1
-SIZE (niquests-3.15.0.tar.gz) = 973962
+TIMESTAMP = 1757120868
+SHA256 (niquests-3.15.2.tar.gz) = 8076b1d2ff957022d52b2216ca7df92d92ce426d19a7ed63c7fd4fd630ab6c2b
+SIZE (niquests-3.15.2.tar.gz) = 975234
diff --git a/www/py-notebook/Makefile b/www/py-notebook/Makefile
index 53da7ddaf12f..ecd0133567b8 100644
--- a/www/py-notebook/Makefile
+++ b/www/py-notebook/Makefile
@@ -1,5 +1,5 @@
PORTNAME= notebook
-PORTVERSION= 7.4.4
+PORTVERSION= 7.4.5
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,9 +15,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.5:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.11:devel/py-hatchling@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.4.4<4.5:devel/py-jupyterlab@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0.25.0<1.0:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.4.5<4.5:devel/py-jupyterlab@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-server>=2.4.0<3:devel/py-jupyter-server@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.4.4<4.5:devel/py-jupyterlab@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.4.5<4.5:devel/py-jupyterlab@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyterlab-server>=2.27.1<3:devel/py-jupyterlab-server@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}notebook-shim>=0.2<0.3:devel/py-notebook-shim@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tornado>=6.2.0:www/py-tornado@${PY_FLAVOR}
diff --git a/www/py-notebook/distinfo b/www/py-notebook/distinfo
index 4c539255fe24..5557fe50bcfa 100644
--- a/www/py-notebook/distinfo
+++ b/www/py-notebook/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751375131
-SHA256 (notebook-7.4.4.tar.gz) = 392fd501e266f2fb3466c6fcd3331163a2184968cb5c5accf90292e01dfe528c
-SIZE (notebook-7.4.4.tar.gz) = 13883628
+TIMESTAMP = 1757122032
+SHA256 (notebook-7.4.5.tar.gz) = 7c2c4ea245913c3ad8ab3e5d36b34a842c06e524556f5c2e1f5d7d08c986615e
+SIZE (notebook-7.4.5.tar.gz) = 13888993
diff --git a/www/py-pelican/Makefile b/www/py-pelican/Makefile
index 0dc89e18c1d8..1865df11d150 100644
--- a/www/py-pelican/Makefile
+++ b/www/py-pelican/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pelican
DISTVERSION= 4.11.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -31,7 +31,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.9:www/py-beautifulsoup@${P
${PYTHON_PKGNAMEPREFIX}flake8>=3.8:devel/py-flake8@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}invoke>=1.3:devel/py-invoke@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}isort>=5.2:devel/py-isort@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=4.3:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=4.3:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>2.0:devel/py-pytest-xdist@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typogrify>=2.1:textproc/py-typogrify@${PY_FLAVOR} \
diff --git a/www/py-planet-auth/Makefile b/www/py-planet-auth/Makefile
new file mode 100644
index 000000000000..9b23eec25a76
--- /dev/null
+++ b/www/py-planet-auth/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= planet-auth
+PORTVERSION= 2.1.1
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= planet_auth-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Planet auth utility code
+WWW= https://github.com/planetlabs/planet-auth-python
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=0:devel/py-prompt-toolkit@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyqrcode>=0:graphics/py-pyqrcode@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}StrEnum>=0:devel/py-strenum@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-planet-auth/distinfo b/www/py-planet-auth/distinfo
new file mode 100644
index 000000000000..f2156bc7dceb
--- /dev/null
+++ b/www/py-planet-auth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757120474
+SHA256 (planet_auth-2.1.1.tar.gz) = 9c380fdb8659e3c2d2fc97cb3852f5c6f533a23620b452bffa95a4a54b05260a
+SIZE (planet_auth-2.1.1.tar.gz) = 238343
diff --git a/www/py-planet-auth/files/patch-pyproject.toml b/www/py-planet-auth/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b8ec61c41278
--- /dev/null
+++ b/www/py-planet-auth/files/patch-pyproject.toml
@@ -0,0 +1,23 @@
+--- pyproject.toml.orig 2025-08-12 03:59:50 UTC
++++ pyproject.toml
+@@ -12,10 +12,7 @@ authors = [{ name = "Carl Adams", email = "carl.adams@
+ # docs/index.md - front page for ReadTheDocs doc page. Complete developer user documentation.
+ readme = "docs/readme.md"
+ authors = [{ name = "Carl Adams", email = "carl.adams@planet.com" }]
+-license = "Apache-2.0"
+-license-files = [
+- "LICENSE",
+-]
++license = { text = "Apache-2.0" }
+ classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ ]
+@@ -85,7 +82,7 @@ plauth = "planet_auth_utils.commands.cli.main:cmd_plau
+ plauth = "planet_auth_utils.commands.cli.main:cmd_plauth"
+
+ [build-system]
+-requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
++requires = ["setuptools>=61", "setuptools_scm>=8", "wheel"]
+ build-backend = "setuptools.build_meta"
+
+ [tool.setuptools.dynamic]
diff --git a/www/py-planet-auth/pkg-descr b/www/py-planet-auth/pkg-descr
new file mode 100644
index 000000000000..dea5aaba719b
--- /dev/null
+++ b/www/py-planet-auth/pkg-descr
@@ -0,0 +1,7 @@
+The Planet Auth Library provides generic authentication utilities for clients
+and for services. For clients, it provides means to obtain access tokens that
+can be used to access network services. For services, it provides tools to
+validate the same access tokens.
+
+The Planet SDK for Python leverages this library, and is pre-configured for the
+Planet Cloud Service used by customers.
diff --git a/www/py-planet/Makefile b/www/py-planet/Makefile
index cb22132e848d..89158257aace 100644
--- a/www/py-planet/Makefile
+++ b/www/py-planet/Makefile
@@ -1,5 +1,5 @@
PORTNAME= planet
-PORTVERSION= 2.23.1
+PORTVERSION= 3.1.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}geojson>=0:devel/py-geojson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httpx>=0.28.0:www/py-httpx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}planet-auth>=2.1.0:www/py-planet-auth@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyjwt>=2.1:www/py-pyjwt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>=4.56:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
diff --git a/www/py-planet/distinfo b/www/py-planet/distinfo
index 9f4e4987f9f7..51be2beef340 100644
--- a/www/py-planet/distinfo
+++ b/www/py-planet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755062586
-SHA256 (planet-2.23.1.tar.gz) = 1bc008e1c10db31d01ebb73f3c134a3558411d2dbd071102a97a00b42ff8176f
-SIZE (planet-2.23.1.tar.gz) = 3380751
+TIMESTAMP = 1757120870
+SHA256 (planet-3.1.0.tar.gz) = 1674f439644de632f6ae2db6223fd5e54913170894c294683fc8a4cc7c993ac4
+SIZE (planet-3.1.0.tar.gz) = 3408883
diff --git a/www/py-quilt3/Makefile b/www/py-quilt3/Makefile
index e7b93e1c1ce1..d1e765610d28 100644
--- a/www/py-quilt3/Makefile
+++ b/www/py-quilt3/Makefile
@@ -1,5 +1,5 @@
PORTNAME= quilt3
-PORTVERSION= 6.3.1
+PORTVERSION= 7.0.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-quilt3/distinfo b/www/py-quilt3/distinfo
index b0e796f51704..d8dffb35c3bb 100644
--- a/www/py-quilt3/distinfo
+++ b/www/py-quilt3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742070486
-SHA256 (quilt3-6.3.1.tar.gz) = d4f02a67053ce14037583545d8b895b0972f889882ea83a0a40aa6ab42183003
-SIZE (quilt3-6.3.1.tar.gz) = 105432
+TIMESTAMP = 1757120872
+SHA256 (quilt3-7.0.0.tar.gz) = 0a8e2123c6702bd186e747cf63b005ab4a084005c96190c0153b976e4c71d11c
+SIZE (quilt3-7.0.0.tar.gz) = 106106
diff --git a/www/py-readability-lxml/Makefile b/www/py-readability-lxml/Makefile
index d6f57a584bbf..cafe229db717 100644
--- a/www/py-readability-lxml/Makefile
+++ b/www/py-readability-lxml/Makefile
@@ -1,5 +1,6 @@
PORTNAME= readability-lxml
DISTVERSION= 0.8.4.1
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,7 @@ WWW= https://github.com/buriy/python-readability
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}timeout-decorator>0:devel/py-timeout-decorator@${PY_FLAVOR}
USES= python
diff --git a/www/py-requests/Makefile b/www/py-requests/Makefile
index 4135942fe09c..f75e303ab9d2 100644
--- a/www/py-requests/Makefile
+++ b/www/py-requests/Makefile
@@ -1,5 +1,5 @@
PORTNAME= requests
-PORTVERSION= 2.32.4
+PORTVERSION= 2.32.5
CATEGORIES= www python
MASTER_SITES= PYPI \
https://github.com/psf/requests/releases/download/v${PORTVERSION}/
diff --git a/www/py-requests/distinfo b/www/py-requests/distinfo
index 2571fd17db6e..9d0fc3943ec4 100644
--- a/www/py-requests/distinfo
+++ b/www/py-requests/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750188156
-SHA256 (requests-2.32.4.tar.gz) = 27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422
-SIZE (requests-2.32.4.tar.gz) = 135258
+TIMESTAMP = 1757120874
+SHA256 (requests-2.32.5.tar.gz) = dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf
+SIZE (requests-2.32.5.tar.gz) = 134517
diff --git a/www/py-robot-detection/Makefile b/www/py-robot-detection/Makefile
new file mode 100644
index 000000000000..1d225251a46d
--- /dev/null
+++ b/www/py-robot-detection/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= robot-detection
+DISTVERSION= 0.4
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= einar@isnic.is
+COMMENT= Detect if a HTTP User-Agent header is likely to be a bot
+WWW= https://github.com/amandasaurus/robot-detection
+
+LICENSE= GPLv3+
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/www/py-robot-detection/distinfo b/www/py-robot-detection/distinfo
new file mode 100644
index 000000000000..7699a29a34e2
--- /dev/null
+++ b/www/py-robot-detection/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725370739
+SHA256 (robot-detection-0.4.tar.gz) = 3d8fb72ca47164b8ce55e33bdda93742f62c348def7d3cc3b42b0ceb4795a2f5
+SIZE (robot-detection-0.4.tar.gz) = 6387
diff --git a/www/py-robot-detection/pkg-descr b/www/py-robot-detection/pkg-descr
new file mode 100644
index 000000000000..fd974991a39b
--- /dev/null
+++ b/www/py-robot-detection/pkg-descr
@@ -0,0 +1,2 @@
+Library for detecting if a HTTP User Agent header is likely to be a bot.
+It uses the list of registered robots from https://www.robotstxt.org/.
diff --git a/www/py-robot-detection/pkg-message b/www/py-robot-detection/pkg-message
new file mode 100644
index 000000000000..e3e1aed11a1a
--- /dev/null
+++ b/www/py-robot-detection/pkg-message
@@ -0,0 +1,14 @@
+[
+{ type: install
+ message: <<EOM
+You can download a new version of the Robot Database from https://www.robotstxt.org/db/all.txt.
+
+Download the database dump, and run the file robot_detection.py with the file as first argument.
+
+ $ fetch https://www.robotstxt.org/db/all.txt
+ $ python robot_detection.py all.txt
+
+If the database has changed, it'll print out the new version of robot_useragents variable that you need to put into the source code.
+EOM
+}
+]
diff --git a/www/py-scrapy/Makefile b/www/py-scrapy/Makefile
index 8e9e5ddac442..a4fe86a1d9f8 100644
--- a/www/py-scrapy/Makefile
+++ b/www/py-scrapy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= scrapy
DISTVERSION= 2.13.3
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -26,7 +27,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=21.7.0:devel/py-twisted@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}protego>=0.1.15:www/py-protego@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydispatcher>=2.0.5:devel/py-pydispatcher@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}itemadapter>=0.1.0:devel/py-itemadapter@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=4.6.0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=4.6.0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tldextract>0:dns/py-tldextract@${PY_FLAVOR}
USES= cpe python
diff --git a/www/py-seafdav/Makefile b/www/py-seafdav/Makefile
index a3219307ff6c..bbb85f5bcdce 100644
--- a/www/py-seafdav/Makefile
+++ b/www/py-seafdav/Makefile
@@ -2,7 +2,7 @@ PORTNAME= seafdav
DISTVERSIONPREFIX= v
DISTVERSION= ${SEAHUB_VER}
DISTVERSIONSUFFIX= -server
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5:devel/py-defusedxml@${PY_FLA
${PYTHON_PKGNAMEPREFIX}python-pam>=1.8:security/py-python-pam@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.12:devel/py-six@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=0:databases/py-sqlalchemy14@${PY_FLAVOR}
USES= python shebangfix
diff --git a/www/py-searxng-devel/Makefile b/www/py-searxng-devel/Makefile
index a2f8006c78c2..d9b1170265b2 100644
--- a/www/py-searxng-devel/Makefile
+++ b/www/py-searxng-devel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= searxng
DISTVERSION= 20250819
+PORTREVISION= 2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -devel
@@ -23,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}langdetect>=0:textproc/py-langdetect@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown-it-py>=0:textproc/py-markdown-it-py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}msgspec>=0:devel/py-msgspec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
@@ -34,7 +35,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setproctitle>=0:devel/py-setproctitle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} \
+ ${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}typer>=0:devel/py-typer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uvloop>=0:devel/py-uvloop@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}valkey>=0:databases/py-valkey@${PY_FLAVOR} \
diff --git a/www/py-soupsieve/Makefile b/www/py-soupsieve/Makefile
index 3b5252113d70..c55650c541cd 100644
--- a/www/py-soupsieve/Makefile
+++ b/www/py-soupsieve/Makefile
@@ -1,5 +1,6 @@
PORTNAME= soupsieve
PORTVERSION= 2.7
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.1:devel/py-hatchling@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}beautifulsoup>4:www/py-beautifulsoup@${PY_FLAVOR}
USES= python
diff --git a/www/py-splinter/Makefile b/www/py-splinter/Makefile
index e6d30f9b87a3..fe83f43740e1 100644
--- a/www/py-splinter/Makefile
+++ b/www/py-splinter/Makefile
@@ -1,6 +1,6 @@
PORTNAME= splinter
PORTVERSION= 0.21.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.14:net/py-urllib3@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=4.2.4:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.4:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}selenium>=4.1.0:www/py-selenium@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.testbrowser>=5.5.1:devel/py-zope.testbrowser@${PY_FLAVOR}
diff --git a/www/py-spyne/Makefile b/www/py-spyne/Makefile
index bac27c204563..f0727607e9a0 100644
--- a/www/py-spyne/Makefile
+++ b/www/py-spyne/Makefile
@@ -1,6 +1,6 @@
PORTNAME= spyne
PORTVERSION= 2.14.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=3.6:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=3.6:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}msgpack>=1:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.2:devel/py-pyparsing@${PY_FLAVOR} \
diff --git a/www/py-starlette/Makefile b/www/py-starlette/Makefile
index 81486dcb83fa..6982b2c7de79 100644
--- a/www/py-starlette/Makefile
+++ b/www/py-starlette/Makefile
@@ -1,5 +1,5 @@
PORTNAME= starlette
-PORTVERSION= 0.47.2
+PORTVERSION= 0.47.3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -7,7 +7,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Lightweight ASGI framework/toolkit
WWW= https://www.starlette.io/ \
- https://github.com/encode/starlette
+ https://github.com/Kludex/starlette
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
diff --git a/www/py-starlette/distinfo b/www/py-starlette/distinfo
index d14ec4b42cff..0b6ba333ceab 100644
--- a/www/py-starlette/distinfo
+++ b/www/py-starlette/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753265800
-SHA256 (starlette-0.47.2.tar.gz) = 6ae9aa5db235e4846decc1e7b79c4f346adf41e9777aebeb49dfd09bbd7023d8
-SIZE (starlette-0.47.2.tar.gz) = 2583948
+TIMESTAMP = 1757120876
+SHA256 (starlette-0.47.3.tar.gz) = 6bc94f839cc176c4858894f1f8908f0ab79dfec1a6b8402f6da9be26ebea52e9
+SIZE (starlette-0.47.3.tar.gz) = 2584144
diff --git a/www/py-ticketutil/Makefile b/www/py-ticketutil/Makefile
index dca4fd29bea1..f5ab689d64a5 100644
--- a/www/py-ticketutil/Makefile
+++ b/www/py-ticketutil/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ticketutil
-PORTVERSION= 1.8.3
+PORTVERSION= 1.8.4
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-ticketutil/distinfo b/www/py-ticketutil/distinfo
index 1eff2a57784f..3cdce73f0e0b 100644
--- a/www/py-ticketutil/distinfo
+++ b/www/py-ticketutil/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749813124
-SHA256 (ticketutil-1.8.3.tar.gz) = 0360dbd13659eaa8d5d2e155d3505280a5fea4a3cc0ebd160e68d181debe790a
-SIZE (ticketutil-1.8.3.tar.gz) = 34347
+TIMESTAMP = 1757120878
+SHA256 (ticketutil-1.8.4.tar.gz) = ff2234a7e9f923d2f3a2aaf3e3a3e07b794828d61c6c3e6750e6a089d7a651ae
+SIZE (ticketutil-1.8.4.tar.gz) = 34753
diff --git a/www/py-urlwatch/Makefile b/www/py-urlwatch/Makefile
index 1115b42bfaae..f21e2b90c9ca 100644
--- a/www/py-urlwatch/Makefile
+++ b/www/py-urlwatch/Makefile
@@ -1,6 +1,6 @@
PORTNAME= urlwatch
DISTVERSION= 2.29
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}minidb>=2.0.8:databases/py-minidb@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keyring>0:security/py-keyring@${PY_FLAVOR} \
diff --git a/www/py-user_agent/Makefile b/www/py-user_agent/Makefile
index 23239ae34dbb..b193cfc9eb1d 100644
--- a/www/py-user_agent/Makefile
+++ b/www/py-user_agent/Makefile
@@ -1,18 +1,20 @@
PORTNAME= user_agent
-DISTVERSION= 0.1.10
+DISTVERSION= 0.1.14
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= Generates random, valid User-Agent values
-WWW= https://pypi.org/project/user_agent/
+WWW= https://github.com/lorien/user_agent
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
NO_ARCH= yes
USES= python
diff --git a/www/py-user_agent/distinfo b/www/py-user_agent/distinfo
index ab038052d0e6..12489e2cc991 100644
--- a/www/py-user_agent/distinfo
+++ b/www/py-user_agent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754174848
-SHA256 (user_agent-0.1.10.tar.gz) = b86537cb2a9d3bda0e2afcc654ec15b383502836877a67520654acadf73f1723
-SIZE (user_agent-0.1.10.tar.gz) = 20965
+TIMESTAMP = 1757975740
+SHA256 (user_agent-0.1.14.tar.gz) = 5b25bedb43f89dff7d1ab569a96c16bea6f151a2f07b6323d4356ead5a96e4d2
+SIZE (user_agent-0.1.14.tar.gz) = 23404
diff --git a/www/py-user_agent/pkg-descr b/www/py-user_agent/pkg-descr
index ed97fd682f8f..a02c4fda4f80 100644
--- a/www/py-user_agent/pkg-descr
+++ b/www/py-user_agent/pkg-descr
@@ -1,2 +1,4 @@
-This module is for generating random, valid web navigator's configs
-& User-Agent HTTP headers.
+This module is for generating random, valid web user agents:
+
+- content of "User-Agent" HTTP headers
+- content of window.navigator JavaScript object
diff --git a/www/py-wagtail-transfer/Makefile b/www/py-wagtail-transfer/Makefile
index fbed14d9138a..930bd53f0062 100644
--- a/www/py-wagtail-transfer/Makefile
+++ b/www/py-wagtail-transfer/Makefile
@@ -1,7 +1,6 @@
PORTNAME= wagtail-transfer
-PORTVERSION= 0.9.4
+PORTVERSION= 0.10
DISTVERSIONPREFIX= v
-PORTREVISION= 1
CATEGORIES= www python
#MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-wagtail-transfer/distinfo b/www/py-wagtail-transfer/distinfo
index 68e78a79454d..d53b3321d2a2 100644
--- a/www/py-wagtail-transfer/distinfo
+++ b/www/py-wagtail-transfer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712084542
-SHA256 (wagtail-wagtail-transfer-v0.9.4_GH0.tar.gz) = d3f400eb10846179c171505d8610ecbf777fe8f5fa388c750e1dac8eea00830e
-SIZE (wagtail-wagtail-transfer-v0.9.4_GH0.tar.gz) = 320021
+TIMESTAMP = 1757120882
+SHA256 (wagtail-wagtail-transfer-v0.10_GH0.tar.gz) = 94ced9677f74ee7c936c94d649d255582a493154a7fac01409e1c9cdb0106179
+SIZE (wagtail-wagtail-transfer-v0.10_GH0.tar.gz) = 321194
diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile
index e26c2018a975..b89963a4233a 100644
--- a/www/py-wagtail/Makefile
+++ b/www/py-wagtail/Makefile
@@ -1,12 +1,13 @@
PORTNAME= wagtail
-PORTVERSION= 7.1
+PORTVERSION= 7.1.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Django content management system
-WWW= https://wagtail.io/ \
+WWW= https://wagtail.org/ \
+ https://docs.wagtail.org/en/latest/ \
https://github.com/wagtail/wagtail
LICENSE= BSD3CLAUSE
diff --git a/www/py-wagtail/distinfo b/www/py-wagtail/distinfo
index e2f47a4cc15c..41785e126fb0 100644
--- a/www/py-wagtail/distinfo
+++ b/www/py-wagtail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755062588
-SHA256 (wagtail-7.1.tar.gz) = e1de2af82b62cbf4d3b77a93c55779bc67ad7b3179b6b4f824ec4f214d570c01
-SIZE (wagtail-7.1.tar.gz) = 6771177
+TIMESTAMP = 1757120880
+SHA256 (wagtail-7.1.1.tar.gz) = 7bdd1e5b0c345437985c01f0a7f60a617e75d788f37c7d839558f4e6a1251af9
+SIZE (wagtail-7.1.1.tar.gz) = 6822343
diff --git a/www/py-woob/Makefile b/www/py-woob/Makefile
index 7d29c4a2c166..ce630177729f 100644
--- a/www/py-woob/Makefile
+++ b/www/py-woob/Makefile
@@ -1,6 +1,6 @@
PORTNAME= woob
PORTVERSION= 3.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=23.0:devel/py-packaging@${PY_FLAVOR} \
${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
@@ -30,7 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FL
${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=23.0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}prettytable>0:devel/py-prettytable@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \
diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc
new file mode 100644
index 000000000000..7db44ba708cc
--- /dev/null
+++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc
@@ -0,0 +1,18 @@
+--- src/3rdparty/chromium/v8/src/codegen/arm/cpu-arm.cc.orig 2025-09-13 15:19:49 UTC
++++ src/3rdparty/chromium/v8/src/codegen/arm/cpu-arm.cc
+@@ -2,12 +2,15 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+
++#include "include/v8config.h"
++
+ // CPU specific code for arm independent of OS goes here.
+ #ifdef __arm__
+ #ifdef __QNXNTO__
+ #include <sys/mman.h> // for cache flushing.
+ #undef MAP_TYPE
+ #elif V8_OS_FREEBSD
++#include <sys/cdefs.h>
+ #include <machine/sysarch.h> // for cache flushing
+ #include <sys/types.h>
+ #elif V8_OS_STARBOARD
diff --git a/www/redmine60/Makefile b/www/redmine60/Makefile
index 7dd52a612ead..3bb5d52b158a 100644
--- a/www/redmine60/Makefile
+++ b/www/redmine60/Makefile
@@ -1,6 +1,6 @@
PORTNAME= redmine
PORTVERSION= 6.0.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://www.redmine.org/releases/
PKGNAMESUFFIX= 60
diff --git a/www/redmine60/files/patch-Gemfile b/www/redmine60/files/patch-Gemfile
index 201855764eb4..fdb765a46a05 100644
--- a/www/redmine60/files/patch-Gemfile
+++ b/www/redmine60/files/patch-Gemfile
@@ -1,6 +1,11 @@
--- Gemfile.orig 2025-07-07 21:05:05 UTC
+++ Gemfile
-@@ -6,22 +6,22 @@ gem "actionpack-xml_parser"
+@@ -2,26 +2,26 @@ ruby '>= 3.1.0', '< 3.4.0'
+
+ ruby '>= 3.1.0', '< 3.4.0'
+
+-gem 'rails', '7.2.2.1'
++gem 'rails', '~> 7.2.2'
gem 'rouge', '~> 4.5'
gem 'mini_mime', '~> 1.1.0'
gem "actionpack-xml_parser"
@@ -44,7 +49,7 @@
# Optional gem for LDAP authentication
group :ldap do
- gem 'net-ldap', '~> 0.17.0'
-+ gem 'net-ldap', '~> 0.19.0'
++ gem 'net-ldap', '>= 0.19'
end
# Optional gem for exporting the gantt to a PNG file
diff --git a/www/rt60/Makefile b/www/rt60/Makefile
index e0f7525d1a8d..639f597131dd 100644
--- a/www/rt60/Makefile
+++ b/www/rt60/Makefile
@@ -1,5 +1,6 @@
PORTNAME= rt
DISTVERSION= 6.0.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://download.bestpractical.com/pub/rt/release/
PKGNAMESUFFIX= 60
diff --git a/www/rt60/Makefile.cpan b/www/rt60/Makefile.cpan
index 8fae7c99de8c..7d04201d7ece 100644
--- a/www/rt60/Makefile.cpan
+++ b/www/rt60/Makefile.cpan
@@ -249,6 +249,9 @@ REST2_DEPS= p5-Module-Runtime>0:devel/p5-Module-Runtime \
### Try::Tiny
### WWW::Mechanize 1.80
### XML::Simple
+### Markdown::Render
+### Test::Selenium::Remote::Driver
+### HTML::Selector::XPath
DEVELOPER_DEPS= p5-Email-Abstract>0:mail/p5-Email-Abstract \
p5-File-Which>0:sysutils/p5-File-Which \
@@ -272,7 +275,10 @@ DEVELOPER_DEPS= p5-Email-Abstract>0:mail/p5-Email-Abstract \
p5-Test-Warn>0:devel/p5-Test-Warn \
p5-Try-Tiny>0:lang/p5-Try-Tiny \
p5-WWW-Mechanize>=1.80:www/p5-WWW-Mechanize \
- p5-XML-Simple>0:textproc/p5-XML-Simple
+ p5-XML-Simple>0:textproc/p5-XML-Simple \
+ p5-Markdown-Render>0:textproc/p5-Markdown-Render \
+ p5-Selenium-Remote-Driver>0:www/p5-Selenium-Remote-Driver \
+ p5-HTML-Selector-XPath>0:www/p5-HTML-Selector-XPath
### --- FASTCGI ---
### FCGI 0.74
diff --git a/www/rubygem-actioncable71/Makefile b/www/rubygem-actioncable71/Makefile
index 667e29c902e1..ab4ed447158a 100644
--- a/www/rubygem-actioncable71/Makefile
+++ b/www/rubygem-actioncable71/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actioncable
-PORTVERSION= 7.1.5.1
+PORTVERSION= 7.1.5.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 71
diff --git a/www/rubygem-actioncable71/distinfo b/www/rubygem-actioncable71/distinfo
index 3d467b025814..86971b2b063c 100644
--- a/www/rubygem-actioncable71/distinfo
+++ b/www/rubygem-actioncable71/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888822
-SHA256 (rubygem/actioncable-7.1.5.1.gem) = 764637b5b2d97b94e412d562c177bfd16b0fd769d55c98846362f5263e8aaa0d
-SIZE (rubygem/actioncable-7.1.5.1.gem) = 48128
+TIMESTAMP = 1757121968
+SHA256 (rubygem/actioncable-7.1.5.2.gem) = 79dd467dab2351110fe1fc69e25cee0110bf11f0b9f30165b945b574eebd5e37
+SIZE (rubygem/actioncable-7.1.5.2.gem) = 48128
diff --git a/www/rubygem-actioncable72/Makefile b/www/rubygem-actioncable72/Makefile
index 305706f9209f..86c9c5c4fdd7 100644
--- a/www/rubygem-actioncable72/Makefile
+++ b/www/rubygem-actioncable72/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actioncable
-PORTVERSION= 7.2.2.1
+PORTVERSION= 7.2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 72
diff --git a/www/rubygem-actioncable72/distinfo b/www/rubygem-actioncable72/distinfo
index 86ba3a5aa826..bcb5e0d23db1 100644
--- a/www/rubygem-actioncable72/distinfo
+++ b/www/rubygem-actioncable72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888848
-SHA256 (rubygem/actioncable-7.2.2.1.gem) = 5b3b885075a80767d63cbf2b586cbf82466a241675b7985233f957abb01bffb4
-SIZE (rubygem/actioncable-7.2.2.1.gem) = 47616
+TIMESTAMP = 1757121994
+SHA256 (rubygem/actioncable-7.2.2.2.gem) = 3d957adc9d1d2ddb5ac8ed8791dc35b273c722f2dca2644f415bd24ba64c7425
+SIZE (rubygem/actioncable-7.2.2.2.gem) = 47616
diff --git a/www/rubygem-actioncable80/Makefile b/www/rubygem-actioncable80/Makefile
index 641490d84541..4f9c1c9c9f73 100644
--- a/www/rubygem-actioncable80/Makefile
+++ b/www/rubygem-actioncable80/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actioncable
-PORTVERSION= 8.0.2
+PORTVERSION= 8.0.2.1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 80
diff --git a/www/rubygem-actioncable80/distinfo b/www/rubygem-actioncable80/distinfo
index ee77066c431a..61d1dab20666 100644
--- a/www/rubygem-actioncable80/distinfo
+++ b/www/rubygem-actioncable80/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742070796
-SHA256 (rubygem/actioncable-8.0.2.gem) = 7bcce2df62e91a80143592600e16583c273e98aab50ae40a9f6a2604bb3289a0
-SIZE (rubygem/actioncable-8.0.2.gem) = 47104
+TIMESTAMP = 1757122020
+SHA256 (rubygem/actioncable-8.0.2.1.gem) = 6f1cb20db39fba28a93569e8d5dab42b2749d7ddd4baebb5bbecd4217e49d6a2
+SIZE (rubygem/actioncable-8.0.2.1.gem) = 47104
diff --git a/www/rubygem-actionpack71/Makefile b/www/rubygem-actionpack71/Makefile
index 03e593eae62f..e4f6ca0739fd 100644
--- a/www/rubygem-actionpack71/Makefile
+++ b/www/rubygem-actionpack71/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actionpack
-PORTVERSION= 7.1.5.1
+PORTVERSION= 7.1.5.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 71
diff --git a/www/rubygem-actionpack71/distinfo b/www/rubygem-actionpack71/distinfo
index f78deede4ac7..5e7d4db2e766 100644
--- a/www/rubygem-actionpack71/distinfo
+++ b/www/rubygem-actionpack71/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888824
-SHA256 (rubygem/actionpack-7.1.5.1.gem) = 2bc263d9f43f16cc3b3360f59659ab11f140577602f371f1a968e2672b38d718
-SIZE (rubygem/actionpack-7.1.5.1.gem) = 246272
+TIMESTAMP = 1757121970
+SHA256 (rubygem/actionpack-7.1.5.2.gem) = a7bfedc8aaeb260778a358870120321a3146954497be465d534722c8c0d644fd
+SIZE (rubygem/actionpack-7.1.5.2.gem) = 246272
diff --git a/www/rubygem-actionpack72/Makefile b/www/rubygem-actionpack72/Makefile
index f29ad8ea0acc..e714991310f2 100644
--- a/www/rubygem-actionpack72/Makefile
+++ b/www/rubygem-actionpack72/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actionpack
-PORTVERSION= 7.2.2.1
+PORTVERSION= 7.2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 72
diff --git a/www/rubygem-actionpack72/distinfo b/www/rubygem-actionpack72/distinfo
index 3c4b0855cab7..20861edc517b 100644
--- a/www/rubygem-actionpack72/distinfo
+++ b/www/rubygem-actionpack72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888850
-SHA256 (rubygem/actionpack-7.2.2.1.gem) = 17b2160a7bcbd5a569d06b1ae54a4bb5ccc7ba0815d73ff5768100a79dc1f734
-SIZE (rubygem/actionpack-7.2.2.1.gem) = 243200
+TIMESTAMP = 1757121996
+SHA256 (rubygem/actionpack-7.2.2.2.gem) = ccd2f96ffb378060dd02e86318bca3faae1ecf483603a525fabfd84197c86a6e
+SIZE (rubygem/actionpack-7.2.2.2.gem) = 243200
diff --git a/www/rubygem-actionpack80/Makefile b/www/rubygem-actionpack80/Makefile
index 9ac7aee125ff..c0625048f826 100644
--- a/www/rubygem-actionpack80/Makefile
+++ b/www/rubygem-actionpack80/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actionpack
-PORTVERSION= 8.0.2
+PORTVERSION= 8.0.2.1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 80
diff --git a/www/rubygem-actionpack80/distinfo b/www/rubygem-actionpack80/distinfo
index 2d7fecbe4104..903deee112f5 100644
--- a/www/rubygem-actionpack80/distinfo
+++ b/www/rubygem-actionpack80/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742070798
-SHA256 (rubygem/actionpack-8.0.2.gem) = 93e703064f3815295ccf820f57acbca719aec836749597da9262781c9b2f4b78
-SIZE (rubygem/actionpack-8.0.2.gem) = 248832
+TIMESTAMP = 1757122022
+SHA256 (rubygem/actionpack-8.0.2.1.gem) = 61e7e11a31dbe5152ca57221788bdca42ef302c4cc53b4c8993d68dce8982b0a
+SIZE (rubygem/actionpack-8.0.2.1.gem) = 248832
diff --git a/www/rubygem-async-http/Makefile b/www/rubygem-async-http/Makefile
index 3ecafed0173a..702ac6fb89e2 100644
--- a/www/rubygem-async-http/Makefile
+++ b/www/rubygem-async-http/Makefile
@@ -1,5 +1,5 @@
PORTNAME= async-http
-PORTVERSION= 0.89.0
+PORTVERSION= 0.91.0
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -12,7 +12,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/license.md
RUN_DEPENDS= rubygem-async>=2.10.2:devel/rubygem-async \
- rubygem-async-pool>=0.9<1:www/rubygem-async-pool \
+ rubygem-async-pool>=0.11<1:www/rubygem-async-pool \
rubygem-io-endpoint>=0.14<1:devel/rubygem-io-endpoint \
rubygem-io-stream>=0.6<1:devel/rubygem-io-stream \
rubygem-metrics>=0.12<1:devel/rubygem-metrics \
diff --git a/www/rubygem-async-http/distinfo b/www/rubygem-async-http/distinfo
index c15ed41a518f..63722af079d0 100644
--- a/www/rubygem-async-http/distinfo
+++ b/www/rubygem-async-http/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745936428
-SHA256 (rubygem/async-http-0.89.0.gem) = 1a40728cf38ec4c3eff121474bd4f218237ffff177e471ca677b57d7aa436682
-SIZE (rubygem/async-http-0.89.0.gem) = 36864
+TIMESTAMP = 1757121886
+SHA256 (rubygem/async-http-0.91.0.gem) = 6b1326ef328d5c2f21e106b1dfee5146f1cddca9b72b71ba39539bc202dbf55f
+SIZE (rubygem/async-http-0.91.0.gem) = 37376
diff --git a/www/rubygem-ethon/Makefile b/www/rubygem-ethon/Makefile
index 5f677e6da8d3..b5932abf475d 100644
--- a/www/rubygem-ethon/Makefile
+++ b/www/rubygem-ethon/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ethon
-PORTVERSION= 0.16.0
+PORTVERSION= 0.17.0
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-ethon/distinfo b/www/rubygem-ethon/distinfo
index cfd14bd84689..f88bdd76a796 100644
--- a/www/rubygem-ethon/distinfo
+++ b/www/rubygem-ethon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669058423
-SHA256 (rubygem/ethon-0.16.0.gem) = bba0da1cea8ac3e1f5cdd7cb1cb5fc78d7ac562c33736f18f0c3eb2b63053d9e
-SIZE (rubygem/ethon-0.16.0.gem) = 60416
+TIMESTAMP = 1757122078
+SHA256 (rubygem/ethon-0.17.0.gem) = 2a467db7620243af86aaf146aaa5b2cb7228a5646a013d8558cd240f7cf6e3b4
+SIZE (rubygem/ethon-0.17.0.gem) = 39936
diff --git a/www/rubygem-feedjira/Makefile b/www/rubygem-feedjira/Makefile
index f0d3c4170aff..22d324739527 100644
--- a/www/rubygem-feedjira/Makefile
+++ b/www/rubygem-feedjira/Makefile
@@ -1,5 +1,5 @@
PORTNAME= feedjira
-PORTVERSION= 3.2.5
+PORTVERSION= 4.0.0
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -10,7 +10,8 @@ WWW= https://github.com/feedjira/feedjira
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-loofah>=2.3.1<3:textproc/rubygem-loofah \
+RUN_DEPENDS= rubygem-logger>=1.0<2:devel/rubygem-logger \
+ rubygem-loofah>=2.3.1<3:textproc/rubygem-loofah \
rubygem-sax-machine>=1.0<2:textproc/rubygem-sax-machine
USES= gem
diff --git a/www/rubygem-feedjira/distinfo b/www/rubygem-feedjira/distinfo
index 21174d08d9bd..a5eeaf42dca7 100644
--- a/www/rubygem-feedjira/distinfo
+++ b/www/rubygem-feedjira/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745178242
-SHA256 (rubygem/feedjira-3.2.5.gem) = 3e596e866be7a02fc21e7c3ab12e02ddae230e68dc04cad9aecb262c64c539df
-SIZE (rubygem/feedjira-3.2.5.gem) = 415744
+TIMESTAMP = 1757121888
+SHA256 (rubygem/feedjira-4.0.0.gem) = ec036c525e91367afa9cc472a3608f7d813a28b2c7c18f00afb42451b3390dc6
+SIZE (rubygem/feedjira-4.0.0.gem) = 420864
diff --git a/www/rubygem-importmap-rails-rails70/Makefile b/www/rubygem-importmap-rails-rails70/Makefile
index f5e64163932d..b5eeb7a9f681 100644
--- a/www/rubygem-importmap-rails-rails70/Makefile
+++ b/www/rubygem-importmap-rails-rails70/Makefile
@@ -1,5 +1,5 @@
PORTNAME= importmap-rails
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails70
diff --git a/www/rubygem-importmap-rails-rails70/distinfo b/www/rubygem-importmap-rails-rails70/distinfo
index 32ce84f89252..1d82f88590a8 100644
--- a/www/rubygem-importmap-rails-rails70/distinfo
+++ b/www/rubygem-importmap-rails-rails70/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753370268
-SHA256 (rubygem/importmap-rails-2.2.0.gem) = 91bf0067c872dda551999a4fed82b386161d1e21eda04a3fe16ea1e8aba8dd35
-SIZE (rubygem/importmap-rails-2.2.0.gem) = 20480
+TIMESTAMP = 1757121890
+SHA256 (rubygem/importmap-rails-2.2.2.gem) = 729f5b1092f832780829ade1d0b46c7e53d91c556f06da7254da2977e93fe614
+SIZE (rubygem/importmap-rails-2.2.2.gem) = 20992
diff --git a/www/rubygem-importmap-rails-rails71/Makefile b/www/rubygem-importmap-rails-rails71/Makefile
index d4931cb60b91..67c89b94e406 100644
--- a/www/rubygem-importmap-rails-rails71/Makefile
+++ b/www/rubygem-importmap-rails-rails71/Makefile
@@ -1,5 +1,5 @@
PORTNAME= importmap-rails
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails71
diff --git a/www/rubygem-importmap-rails-rails71/distinfo b/www/rubygem-importmap-rails-rails71/distinfo
index 32ce84f89252..1d82f88590a8 100644
--- a/www/rubygem-importmap-rails-rails71/distinfo
+++ b/www/rubygem-importmap-rails-rails71/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753370268
-SHA256 (rubygem/importmap-rails-2.2.0.gem) = 91bf0067c872dda551999a4fed82b386161d1e21eda04a3fe16ea1e8aba8dd35
-SIZE (rubygem/importmap-rails-2.2.0.gem) = 20480
+TIMESTAMP = 1757121890
+SHA256 (rubygem/importmap-rails-2.2.2.gem) = 729f5b1092f832780829ade1d0b46c7e53d91c556f06da7254da2977e93fe614
+SIZE (rubygem/importmap-rails-2.2.2.gem) = 20992
diff --git a/www/rubygem-importmap-rails-rails72/Makefile b/www/rubygem-importmap-rails-rails72/Makefile
index 5d285e120a5e..278e874c68dc 100644
--- a/www/rubygem-importmap-rails-rails72/Makefile
+++ b/www/rubygem-importmap-rails-rails72/Makefile
@@ -1,5 +1,5 @@
PORTNAME= importmap-rails
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails72
diff --git a/www/rubygem-importmap-rails-rails72/distinfo b/www/rubygem-importmap-rails-rails72/distinfo
index 32ce84f89252..1d82f88590a8 100644
--- a/www/rubygem-importmap-rails-rails72/distinfo
+++ b/www/rubygem-importmap-rails-rails72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753370268
-SHA256 (rubygem/importmap-rails-2.2.0.gem) = 91bf0067c872dda551999a4fed82b386161d1e21eda04a3fe16ea1e8aba8dd35
-SIZE (rubygem/importmap-rails-2.2.0.gem) = 20480
+TIMESTAMP = 1757121890
+SHA256 (rubygem/importmap-rails-2.2.2.gem) = 729f5b1092f832780829ade1d0b46c7e53d91c556f06da7254da2977e93fe614
+SIZE (rubygem/importmap-rails-2.2.2.gem) = 20992
diff --git a/www/rubygem-importmap-rails/Makefile b/www/rubygem-importmap-rails/Makefile
index 476536a535d5..15a3001e3fc5 100644
--- a/www/rubygem-importmap-rails/Makefile
+++ b/www/rubygem-importmap-rails/Makefile
@@ -1,5 +1,5 @@
PORTNAME= importmap-rails
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-importmap-rails/distinfo b/www/rubygem-importmap-rails/distinfo
index 32ce84f89252..1d82f88590a8 100644
--- a/www/rubygem-importmap-rails/distinfo
+++ b/www/rubygem-importmap-rails/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753370268
-SHA256 (rubygem/importmap-rails-2.2.0.gem) = 91bf0067c872dda551999a4fed82b386161d1e21eda04a3fe16ea1e8aba8dd35
-SIZE (rubygem/importmap-rails-2.2.0.gem) = 20480
+TIMESTAMP = 1757121890
+SHA256 (rubygem/importmap-rails-2.2.2.gem) = 729f5b1092f832780829ade1d0b46c7e53d91c556f06da7254da2977e93fe614
+SIZE (rubygem/importmap-rails-2.2.2.gem) = 20992
diff --git a/www/rubygem-json-jwt/Makefile b/www/rubygem-json-jwt/Makefile
index 0b991ce22ffc..57064f8b55e5 100644
--- a/www/rubygem-json-jwt/Makefile
+++ b/www/rubygem-json-jwt/Makefile
@@ -1,5 +1,5 @@
PORTNAME= json-jwt
-PORTVERSION= 1.16.7
+PORTVERSION= 1.17.0
CATEGORIES= www devel rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-json-jwt/distinfo b/www/rubygem-json-jwt/distinfo
index d6f32e729117..0b3e641d75bd 100644
--- a/www/rubygem-json-jwt/distinfo
+++ b/www/rubygem-json-jwt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729594532
-SHA256 (rubygem/json-jwt-1.16.7.gem) = ccabff4c6d1a14276b23178e8bebe513ef236399b72a0b886d7ed94800d172a5
-SIZE (rubygem/json-jwt-1.16.7.gem) = 14336
+TIMESTAMP = 1757121892
+SHA256 (rubygem/json-jwt-1.17.0.gem) = 6ff99026b4c54281a9431179f76ceb81faa14772d710ef6169785199caadc4cc
+SIZE (rubygem/json-jwt-1.17.0.gem) = 14848
diff --git a/www/rubygem-jwt29/Makefile b/www/rubygem-jwt29/Makefile
deleted file mode 100644
index a7c90604d343..000000000000
--- a/www/rubygem-jwt29/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-PORTNAME= jwt
-PORTVERSION= 2.9.3
-CATEGORIES= www devel rubygems
-MASTER_SITES= RG
-PKGNAMESUFFIX= 29
-
-MAINTAINER= sunpoet@FreeBSD.org
-COMMENT= JSON Web Token implementation in Ruby
-WWW= https://github.com/jwt/ruby-jwt
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64
-
-USES= gem
-
-NO_ARCH= yes
-
-PORTSCOUT= limit:^2\.9\.
-
-.include <bsd.port.mk>
diff --git a/www/rubygem-jwt29/distinfo b/www/rubygem-jwt29/distinfo
deleted file mode 100644
index e92a60a5802e..000000000000
--- a/www/rubygem-jwt29/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1728632746
-SHA256 (rubygem/jwt-2.9.3.gem) = 55fd07ccdd64c622d36859748f2290fb9c119ce30b482867504e9f12654d6a65
-SIZE (rubygem/jwt-2.9.3.gem) = 49664
diff --git a/www/rubygem-jwt29/pkg-descr b/www/rubygem-jwt29/pkg-descr
deleted file mode 100644
index 37d450887056..000000000000
--- a/www/rubygem-jwt29/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-JWT is a Ruby implementation of JSON Web Token draft 06 [1].
-
-[1] http://self-issued.info/docs/draft-jones-json-web-token-06.html
diff --git a/www/rubygem-protocol-http/Makefile b/www/rubygem-protocol-http/Makefile
index e7c1f7d25de1..df6db674e70f 100644
--- a/www/rubygem-protocol-http/Makefile
+++ b/www/rubygem-protocol-http/Makefile
@@ -1,5 +1,5 @@
PORTNAME= protocol-http
-PORTVERSION= 0.51.0
+PORTVERSION= 0.53.0
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-protocol-http/distinfo b/www/rubygem-protocol-http/distinfo
index 209d808da935..466715491cec 100644
--- a/www/rubygem-protocol-http/distinfo
+++ b/www/rubygem-protocol-http/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751622405
-SHA256 (rubygem/protocol-http-0.51.0.gem) = da1c48c67b6f5bb3477f2475a56665f103ae13a89b77e20c62cc52c28e41ca21
-SIZE (rubygem/protocol-http-0.51.0.gem) = 44544
+TIMESTAMP = 1757121894
+SHA256 (rubygem/protocol-http-0.53.0.gem) = 5f0259699d8f3fe8b04da385852eea9df16b3e911b83a8c3c655fef20a77abe7
+SIZE (rubygem/protocol-http-0.53.0.gem) = 55808
diff --git a/www/rubygem-protocol-http1/Makefile b/www/rubygem-protocol-http1/Makefile
index a4ef690aa9ef..a705c23ab65f 100644
--- a/www/rubygem-protocol-http1/Makefile
+++ b/www/rubygem-protocol-http1/Makefile
@@ -1,5 +1,5 @@
PORTNAME= protocol-http1
-PORTVERSION= 0.34.1
+PORTVERSION= 0.35.0
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-protocol-http1/distinfo b/www/rubygem-protocol-http1/distinfo
index 5b9b683b0c7c..03f4e5ba8237 100644
--- a/www/rubygem-protocol-http1/distinfo
+++ b/www/rubygem-protocol-http1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752566750
-SHA256 (rubygem/protocol-http1-0.34.1.gem) = 146532623e506f3cbe814a69411ca45477c29249dc92c945249ca3222a02eb88
-SIZE (rubygem/protocol-http1-0.34.1.gem) = 21504
+TIMESTAMP = 1757121896
+SHA256 (rubygem/protocol-http1-0.35.0.gem) = 26236cb8e8a956d1b78075c6b824f2eed9ecba7faf7f0e1872c70ef8f90412e8
+SIZE (rubygem/protocol-http1-0.35.0.gem) = 25088
diff --git a/www/rubygem-protocol-rack/Makefile b/www/rubygem-protocol-rack/Makefile
index e53955d5770a..0550e0a2bcc8 100644
--- a/www/rubygem-protocol-rack/Makefile
+++ b/www/rubygem-protocol-rack/Makefile
@@ -1,5 +1,5 @@
PORTNAME= protocol-rack
-PORTVERSION= 0.15.0
+PORTVERSION= 0.16.0
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-protocol-rack/distinfo b/www/rubygem-protocol-rack/distinfo
index 1e155d8d193d..5cbcec5a63b1 100644
--- a/www/rubygem-protocol-rack/distinfo
+++ b/www/rubygem-protocol-rack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751622407
-SHA256 (rubygem/protocol-rack-0.15.0.gem) = 580a6d6a1dab133a369750caedcbfc1b7b41528a2bbec9352016404065a3da9a
-SIZE (rubygem/protocol-rack-0.15.0.gem) = 21504
+TIMESTAMP = 1757121898
+SHA256 (rubygem/protocol-rack-0.16.0.gem) = 773e8d40dc1f01f81a0f44d5352727561c8f21b20d6e015fdc275aa944333bbe
+SIZE (rubygem/protocol-rack-0.16.0.gem) = 21504
diff --git a/www/rubygem-rackup21/Makefile b/www/rubygem-rackup21/Makefile
index fdc874d74d8b..d3633fd1b24d 100644
--- a/www/rubygem-rackup21/Makefile
+++ b/www/rubygem-rackup21/Makefile
@@ -11,6 +11,9 @@ WWW= https://github.com/rack/rackup
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/license.md
+DEPRECATED= No consumers in ports tree
+EXPIRATION_DATE= 2025-09-30
+
RUN_DEPENDS= rubygem-rack>=3,3:www/rubygem-rack \
rubygem-webrick>=1.8<2:www/rubygem-webrick
diff --git a/www/rubygem-rails71/Makefile b/www/rubygem-rails71/Makefile
index 16f4aa82ef8d..a41448790473 100644
--- a/www/rubygem-rails71/Makefile
+++ b/www/rubygem-rails71/Makefile
@@ -1,5 +1,5 @@
PORTNAME= rails
-PORTVERSION= 7.1.5.1
+PORTVERSION= 7.1.5.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 71
diff --git a/www/rubygem-rails71/distinfo b/www/rubygem-rails71/distinfo
index 1ca3ce97bc6c..cfd55ec1efbc 100644
--- a/www/rubygem-rails71/distinfo
+++ b/www/rubygem-rails71/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888826
-SHA256 (rubygem/rails-7.1.5.1.gem) = 05aea2ed7b6392b41ce0fc11455de118455025a431b6ea334a7ac2b101608804
-SIZE (rubygem/rails-7.1.5.1.gem) = 7168
+TIMESTAMP = 1757121972
+SHA256 (rubygem/rails-7.1.5.2.gem) = a292087202c5babf4f4c39a8c37afda732117c481c619986ae1559446e927546
+SIZE (rubygem/rails-7.1.5.2.gem) = 7168
diff --git a/www/rubygem-rails72/Makefile b/www/rubygem-rails72/Makefile
index 59d47f68a79d..d9e787bcd902 100644
--- a/www/rubygem-rails72/Makefile
+++ b/www/rubygem-rails72/Makefile
@@ -1,6 +1,5 @@
PORTNAME= rails
-PORTVERSION= 7.2.2.1
-PORTREVISION= 1
+PORTVERSION= 7.2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 72
diff --git a/www/rubygem-rails72/distinfo b/www/rubygem-rails72/distinfo
index a04eb8e28301..eb96f6c6b3cf 100644
--- a/www/rubygem-rails72/distinfo
+++ b/www/rubygem-rails72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888852
-SHA256 (rubygem/rails-7.2.2.1.gem) = aedb1604b40f4e43b5e8066e5a1aa34dae02c33aa9669b21fd4497d0f8c9bb40
-SIZE (rubygem/rails-7.2.2.1.gem) = 7168
+TIMESTAMP = 1757121998
+SHA256 (rubygem/rails-7.2.2.2.gem) = f38ff86c5e6905e5d30a762575f92ddad5b60346f5acfc282b0e22dbb36eca97
+SIZE (rubygem/rails-7.2.2.2.gem) = 7168
diff --git a/www/rubygem-rails80/Makefile b/www/rubygem-rails80/Makefile
index 15183903014d..e6e996035d35 100644
--- a/www/rubygem-rails80/Makefile
+++ b/www/rubygem-rails80/Makefile
@@ -1,5 +1,5 @@
PORTNAME= rails
-PORTVERSION= 8.0.2
+PORTVERSION= 8.0.2.1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 80
diff --git a/www/rubygem-rails80/distinfo b/www/rubygem-rails80/distinfo
index c76586331e84..3f740e029e05 100644
--- a/www/rubygem-rails80/distinfo
+++ b/www/rubygem-rails80/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742070800
-SHA256 (rubygem/rails-8.0.2.gem) = fdfaa5a83ec0388e02864e88d515959caedc88053b5f701c4deb1652d8f164c6
-SIZE (rubygem/rails-8.0.2.gem) = 7168
+TIMESTAMP = 1757122024
+SHA256 (rubygem/rails-8.0.2.1.gem) = 13ab95615569e74e364384b346b1d83e4795dbde83d9edf584e8768e8049b3ac
+SIZE (rubygem/rails-8.0.2.1.gem) = 7168
diff --git a/www/rubygem-railties71/Makefile b/www/rubygem-railties71/Makefile
index 2ab8072fed5e..8e6e7a6e1a44 100644
--- a/www/rubygem-railties71/Makefile
+++ b/www/rubygem-railties71/Makefile
@@ -1,5 +1,5 @@
PORTNAME= railties
-PORTVERSION= 7.1.5.1
+PORTVERSION= 7.1.5.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 71
diff --git a/www/rubygem-railties71/distinfo b/www/rubygem-railties71/distinfo
index 0650bb7c3d47..bd79803e0c27 100644
--- a/www/rubygem-railties71/distinfo
+++ b/www/rubygem-railties71/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888828
-SHA256 (rubygem/railties-7.1.5.1.gem) = 0be15562e2ded4efdc1b6c30f884b6d838c9ba49573dde042334b752b043e2fb
-SIZE (rubygem/railties-7.1.5.1.gem) = 182272
+TIMESTAMP = 1757121974
+SHA256 (rubygem/railties-7.1.5.2.gem) = af0ac89f0bfbb957c9fd12cc5a5561248b95b8df938758bfb553d6e916a9d621
+SIZE (rubygem/railties-7.1.5.2.gem) = 182272
diff --git a/www/rubygem-railties72/Makefile b/www/rubygem-railties72/Makefile
index f3a84cdd8a97..5f05bbf31363 100644
--- a/www/rubygem-railties72/Makefile
+++ b/www/rubygem-railties72/Makefile
@@ -1,5 +1,5 @@
PORTNAME= railties
-PORTVERSION= 7.2.2.1
+PORTVERSION= 7.2.2.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 72
diff --git a/www/rubygem-railties72/distinfo b/www/rubygem-railties72/distinfo
index e9d8ec7f7fa2..2955d6ce4008 100644
--- a/www/rubygem-railties72/distinfo
+++ b/www/rubygem-railties72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734888854
-SHA256 (rubygem/railties-7.2.2.1.gem) = e3f11bf116dd6d0d874522843ccc70ec0f89fbfed3e9c2ee48a4778cd042fe1f
-SIZE (rubygem/railties-7.2.2.1.gem) = 182784
+TIMESTAMP = 1757122000
+SHA256 (rubygem/railties-7.2.2.2.gem) = 457506d29b7be2c5644b5bd4740edaf42bcefa52b50f9bed519a9b10ec9069e0
+SIZE (rubygem/railties-7.2.2.2.gem) = 182784
diff --git a/www/rubygem-railties80/Makefile b/www/rubygem-railties80/Makefile
index c7302827d2d4..95e9b3184ed8 100644
--- a/www/rubygem-railties80/Makefile
+++ b/www/rubygem-railties80/Makefile
@@ -1,5 +1,5 @@
PORTNAME= railties
-PORTVERSION= 8.0.2
+PORTVERSION= 8.0.2.1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 80
diff --git a/www/rubygem-railties80/distinfo b/www/rubygem-railties80/distinfo
index 9d51f9a225e6..1e62091bd447 100644
--- a/www/rubygem-railties80/distinfo
+++ b/www/rubygem-railties80/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742070802
-SHA256 (rubygem/railties-8.0.2.gem) = 0d7c3f40c49ba74980f1bac1d4bb153a9331c5ee8a9631d89c7bf79db82e5cf9
-SIZE (rubygem/railties-8.0.2.gem) = 197632
+TIMESTAMP = 1757122026
+SHA256 (rubygem/railties-8.0.2.1.gem) = 54e40e1771fc2878f572d5a4e076cddb057ba8d4d471f8b7d9bfc61bc1301d4c
+SIZE (rubygem/railties-8.0.2.1.gem) = 197632
diff --git a/www/rubygem-roda/Makefile b/www/rubygem-roda/Makefile
index 135a4034ae7f..4cc99c6825ce 100644
--- a/www/rubygem-roda/Makefile
+++ b/www/rubygem-roda/Makefile
@@ -1,5 +1,5 @@
PORTNAME= roda
-PORTVERSION= 3.94.0
+PORTVERSION= 3.95.0
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-roda/distinfo b/www/rubygem-roda/distinfo
index 7cb90035c081..09bb87bac5ce 100644
--- a/www/rubygem-roda/distinfo
+++ b/www/rubygem-roda/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752566802
-SHA256 (rubygem/roda-3.94.0.gem) = 161e13e6060cb6fdab05ee29e04d9e71cfbfa687edbb57d8e2da8f1748551fff
-SIZE (rubygem/roda-3.94.0.gem) = 190464
+TIMESTAMP = 1757122080
+SHA256 (rubygem/roda-3.95.0.gem) = 61fbc5f00f234f1b92c3eae7f4195c1310e1c70cb61dcebfe559201b554140d8
+SIZE (rubygem/roda-3.95.0.gem) = 191488
diff --git a/www/rubygem-ruby-openai/Makefile b/www/rubygem-ruby-openai/Makefile
index 3612ccd080e0..695fa45c882d 100644
--- a/www/rubygem-ruby-openai/Makefile
+++ b/www/rubygem-ruby-openai/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ruby-openai
-PORTVERSION= 8.1.0
+PORTVERSION= 8.2.0
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-ruby-openai/distinfo b/www/rubygem-ruby-openai/distinfo
index 6b9344278f51..58d560ab8fc1 100644
--- a/www/rubygem-ruby-openai/distinfo
+++ b/www/rubygem-ruby-openai/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744289360
-SHA256 (rubygem/ruby-openai-8.1.0.gem) = 6f69e7f501b3b039fe21807286230dfd51a91143e160ffb45464af30a20a5e14
-SIZE (rubygem/ruby-openai-8.1.0.gem) = 39424
+TIMESTAMP = 1757121900
+SHA256 (rubygem/ruby-openai-8.2.0.gem) = deca02340619b31e30e7e11f4ddbb44efc5fc1bb9c0f07a32e7391649ba6aa95
+SIZE (rubygem/ruby-openai-8.2.0.gem) = 41472
diff --git a/www/rubygem-selenium-webdriver/Makefile b/www/rubygem-selenium-webdriver/Makefile
index 0021bf929eee..a93282325682 100644
--- a/www/rubygem-selenium-webdriver/Makefile
+++ b/www/rubygem-selenium-webdriver/Makefile
@@ -1,5 +1,5 @@
PORTNAME= selenium-webdriver
-PORTVERSION= 4.34.0
+PORTVERSION= 4.35.0
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-base64>=0.2<1:converters/rubygem-base64 \
rubygem-logger>=1.4<2:devel/rubygem-logger \
rubygem-rexml>=3.2.5<4:textproc/rubygem-rexml \
- rubygem-rubyzip>=1.2.2<3.0:archivers/rubygem-rubyzip \
+ rubygem-rubyzip>=1.2.2<4.0:archivers/rubygem-rubyzip \
rubygem-websocket>=1.0<2:www/rubygem-websocket
USES= gem
diff --git a/www/rubygem-selenium-webdriver/distinfo b/www/rubygem-selenium-webdriver/distinfo
index 83e4c7782c13..8cd1fd7f828d 100644
--- a/www/rubygem-selenium-webdriver/distinfo
+++ b/www/rubygem-selenium-webdriver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751375127
-SHA256 (rubygem/selenium-webdriver-4.34.0.gem) = ec7bb718cbe66fe2b247d8ca5e6ba26caed0976d76579d7cb2fadd8dae8b271e
-SIZE (rubygem/selenium-webdriver-4.34.0.gem) = 8504832
+TIMESTAMP = 1757121902
+SHA256 (rubygem/selenium-webdriver-4.35.0.gem) = 6fc920cec4b9e6263afeb4941289d8deb0853acbc49e0d6f7de91c86986d359b
+SIZE (rubygem/selenium-webdriver-4.35.0.gem) = 8684032
diff --git a/www/rubygem-thruster/Makefile b/www/rubygem-thruster/Makefile
index 971076653eb6..b674589cd401 100644
--- a/www/rubygem-thruster/Makefile
+++ b/www/rubygem-thruster/Makefile
@@ -1,5 +1,5 @@
PORTNAME= thruster
-PORTVERSION= 0.1.14
+PORTVERSION= 0.1.15
CATEGORIES= www rubygems
MASTER_SITES= RG
diff --git a/www/rubygem-thruster/distinfo b/www/rubygem-thruster/distinfo
index 7c8c86bc2903..99d4c8aee332 100644
--- a/www/rubygem-thruster/distinfo
+++ b/www/rubygem-thruster/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750954462
-SHA256 (rubygem/thruster-0.1.14.gem) = 3457167768ef1ad5e5872859a91ed44cedad226a4265f9bd281aad0aafe99074
-SIZE (rubygem/thruster-0.1.14.gem) = 7680
+TIMESTAMP = 1757121904
+SHA256 (rubygem/thruster-0.1.15.gem) = fe3396aa7158c32f499d8b7df07aefc0070050666a171788aec412705b438eab
+SIZE (rubygem/thruster-0.1.15.gem) = 7168
diff --git a/www/smarty/Makefile b/www/smarty/Makefile
index a075c25f8203..5b65c5a7463e 100644
--- a/www/smarty/Makefile
+++ b/www/smarty/Makefile
@@ -1,5 +1,5 @@
PORTNAME= smarty
-PORTVERSION= 5.5.1
+PORTVERSION= 5.5.2
DISTVERSIONPREFIX= v
CATEGORIES= www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
diff --git a/www/smarty/distinfo b/www/smarty/distinfo
index abd070eff283..a56315679700 100644
--- a/www/smarty/distinfo
+++ b/www/smarty/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748495713
-SHA256 (smarty-php-smarty-v5.5.1_GH0.tar.gz) = e6779f37d16c3b8c981af5d4cfd318f7b11a80522ea9dc1040bb65d28260c9ff
-SIZE (smarty-php-smarty-v5.5.1_GH0.tar.gz) = 333115
+TIMESTAMP = 1757120554
+SHA256 (smarty-php-smarty-v5.5.2_GH0.tar.gz) = 18ab510562a03f6e74e16f16bb14952827eb29676cf0bb751a996957aaad949b
+SIZE (smarty-php-smarty-v5.5.2_GH0.tar.gz) = 336484
diff --git a/www/smarty4/Makefile b/www/smarty4/Makefile
index 5afebafb0b97..a25da0b788fe 100644
--- a/www/smarty4/Makefile
+++ b/www/smarty4/Makefile
@@ -1,5 +1,5 @@
PORTNAME= smarty
-PORTVERSION= 4.5.5
+PORTVERSION= 4.5.6
DISTVERSIONPREFIX= v
CATEGORIES= www
PKGNAMESUFFIX= 4${PHP_PKGNAMESUFFIX}
diff --git a/www/smarty4/distinfo b/www/smarty4/distinfo
index de22c714c92b..bddc0bfc56a5 100644
--- a/www/smarty4/distinfo
+++ b/www/smarty4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1732675342
-SHA256 (smarty-php-smarty-v4.5.5_GH0.tar.gz) = cd76029714e03d136fa2c4d98a4e43b919d3bded83c6922bdc38187ed4444450
-SIZE (smarty-php-smarty-v4.5.5_GH0.tar.gz) = 363353
+TIMESTAMP = 1757120556
+SHA256 (smarty-php-smarty-v4.5.6_GH0.tar.gz) = f617b86983b3c7115222c44d63d874630f9d4b4bd88cf1ef603b3ab138c67079
+SIZE (smarty-php-smarty-v4.5.6_GH0.tar.gz) = 364180
diff --git a/www/tdiary/Makefile b/www/tdiary/Makefile
index 727ff2002b39..d9cfc64731f8 100644
--- a/www/tdiary/Makefile
+++ b/www/tdiary/Makefile
@@ -1,6 +1,5 @@
PORTNAME= tdiary
-DISTVERSION= 5.3.0
-PORTREVISION= 2
+DISTVERSION= 5.4.0
CATEGORIES?= www ruby
MASTER_SITES= https://github.com/tdiary/tdiary-core/releases/download/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-full-v${PORTVERSION}
@@ -12,16 +11,17 @@ WWW= https://www.tdiary.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-base64>0:converters/rubygem-base64 \
+RUN_DEPENDS= rubygem-base64>=0.3.0:converters/rubygem-base64 \
rubygem-bundler>=2.0.2:sysutils/rubygem-bundler \
rubygem-emot>=0.0.4:textproc/rubygem-emot \
- rubygem-fastimage>=2.2.6:graphics/rubygem-fastimage \
+ rubygem-fastimage>=2.4.0:graphics/rubygem-fastimage \
rubygem-hikidoc>=0.1.0:textproc/rubygem-hikidoc \
- rubygem-mail>=2.7.1:mail/rubygem-mail \
- rubygem-net-smtp>=0.3.1:mail/rubygem-net-smtp \
- rubygem-rack>=3.0.1,3:www/rubygem-rack \
- rubygem-rackup21>=0.2.3:www/rubygem-rackup21 \
- rubygem-rake>=13.0.6:devel/rubygem-rake
+ rubygem-mail>=2.8.1:mail/rubygem-mail \
+ rubygem-net-smtp>=0.5.1:mail/rubygem-net-smtp \
+ rubygem-rack-session>=2.1.1:www/rubygem-rack-session \
+ rubygem-rack>=3.1.16,3:www/rubygem-rack \
+ rubygem-rackup>=2.2.1:www/rubygem-rackup \
+ rubygem-rake>=13.3.0:devel/rubygem-rake
USES= cpe ruby shebangfix
diff --git a/www/tdiary/distinfo b/www/tdiary/distinfo
index d17ecdc0a40c..4153ab9d0518 100644
--- a/www/tdiary/distinfo
+++ b/www/tdiary/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709192402
-SHA256 (tdiary-full-v5.3.0.tar.gz) = a487ac5ed24c83a126d17eeca5a2b511155045f4bac491fa72f70629f56b4518
-SIZE (tdiary-full-v5.3.0.tar.gz) = 9423063
+TIMESTAMP = 1757313889
+SHA256 (tdiary-full-v5.4.0.tar.gz) = 995bf82611c8b2402a079179e602ca150ce595ca550ec9ea765914d89315b611
+SIZE (tdiary-full-v5.4.0.tar.gz) = 9136172
diff --git a/www/tdiary/files/patch-Gemfile b/www/tdiary/files/patch-Gemfile
index a360a76e13fb..c284435d649b 100644
--- a/www/tdiary/files/patch-Gemfile
+++ b/www/tdiary/files/patch-Gemfile
@@ -1,10 +1,9 @@
---- Gemfile.orig 2024-02-29 06:16:41 UTC
+--- Gemfile.orig 2025-06-13 08:42:45 UTC
+++ Gemfile
-@@ -7,34 +7,4 @@ gem 'rake'
- gem 'emot'
+@@ -9,28 +9,6 @@ gem 'rake'
gem 'mail'
gem 'rake'
--
+
-group :development do
- gem 'pit', require: false
- gem 'racksh', require: false
@@ -21,18 +20,12 @@
- gem 'launchy'
- gem 'sequel'
- gem 'sqlite3'
-- gem 'jasmine', '< 3'
- gem 'simplecov', require: false
-- gem 'coveralls', '~> 0.8', require: false
- gem "rexml"
- gem "webrick"
- end
-end
-
--# https://github.com/redmine/redmine/blob/master/Gemfile#L89
--local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
--if File.exist?(local_gemfile)
-- puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
-- instance_eval File.read(local_gemfile)
--end
-+gem 'base64'
+ # https://github.com/redmine/redmine/blob/master/Gemfile#L89
+ local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
+ if File.exist?(local_gemfile)
diff --git a/www/tdiary/pkg-plist b/www/tdiary/pkg-plist
index efebf46116e5..b45eccf94752 100644
--- a/www/tdiary/pkg-plist
+++ b/www/tdiary/pkg-plist
@@ -27,6 +27,7 @@ bin/%%TDIARY_SCRIPT%%
%%WWWDIR%%/js/preview.js
%%WWWDIR%%/lib/aws/pa_api.rb
%%WWWDIR%%/lib/aws/sig_v4.rb
+%%WWWDIR%%/lib/rack/server.rb
%%WWWDIR%%/lib/tdiary.rb
%%WWWDIR%%/lib/tdiary/admin.rb
%%WWWDIR%%/lib/tdiary/application.rb
@@ -95,7 +96,6 @@ bin/%%TDIARY_SCRIPT%%
%%WWWDIR%%/lib/tdiary/tasks/db.rake
%%WWWDIR%%/lib/tdiary/tasks/doc.rake
%%WWWDIR%%/lib/tdiary/tasks/heroku.rake
-%%WWWDIR%%/lib/tdiary/tasks/jasmine.rake
%%WWWDIR%%/lib/tdiary/tasks/mongodb.rake
%%WWWDIR%%/lib/tdiary/tasks/rdoc.rake
%%WWWDIR%%/lib/tdiary/tasks/release.rake
@@ -246,6 +246,7 @@ bin/%%TDIARY_SCRIPT%%
%%WWWDIR%%/misc/plugin/xmlrpc/README
%%WWWDIR%%/misc/plugin/xmlrpc/xmlrpc.rb
%%WWWDIR%%/misc/templates/Gemfile.local.erb
+%%WWWDIR%%/package-lock.json
%%WWWDIR%%/package.json
%%WWWDIR%%/tdiary.conf.beginner
%%WWWDIR%%/tdiary.conf.sample
diff --git a/www/threejs/Makefile b/www/threejs/Makefile
index 6b55af97300d..4af1ad9f9ea5 100644
--- a/www/threejs/Makefile
+++ b/www/threejs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= three.js
-PORTVERSION= 178
+PORTVERSION= 180
DISTVERSIONPREFIX= r
CATEGORIES= www
diff --git a/www/threejs/distinfo b/www/threejs/distinfo
index cdcda9cf6b0c..dce72d91442e 100644
--- a/www/threejs/distinfo
+++ b/www/threejs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751297287
-SHA256 (mrdoob-three.js-r178_GH0.tar.gz) = cdbbc434cea05c11f2bdeaa2ac1806ca5a0d07df7d8f45de1cb68ce56007692a
-SIZE (mrdoob-three.js-r178_GH0.tar.gz) = 374993894
+TIMESTAMP = 1757959504
+SHA256 (mrdoob-three.js-r180_GH0.tar.gz) = a0a5b7d6cb439e93b17a03fc8300118bf9827cff3fa352fb22730a73c9cde76b
+SIZE (mrdoob-three.js-r180_GH0.tar.gz) = 375668920
diff --git a/www/threejs/pkg-plist b/www/threejs/pkg-plist
index bd6b0b727f54..d13aee217c84 100644
--- a/www/threejs/pkg-plist
+++ b/www/threejs/pkg-plist
@@ -45,6 +45,7 @@
%%WWWDIR%%/core/Raycaster.js
%%WWWDIR%%/core/RenderTarget.js
%%WWWDIR%%/core/RenderTarget3D.js
+%%WWWDIR%%/core/Timer.js
%%WWWDIR%%/core/Uniform.js
%%WWWDIR%%/core/UniformsGroup.js
%%WWWDIR%%/extras/Controls.js
@@ -341,6 +342,7 @@
%%WWWDIR%%/nodes/gpgpu/BarrierNode.js
%%WWWDIR%%/nodes/gpgpu/ComputeBuiltinNode.js
%%WWWDIR%%/nodes/gpgpu/ComputeNode.js
+%%WWWDIR%%/nodes/gpgpu/SubgroupFunctionNode.js
%%WWWDIR%%/nodes/gpgpu/WorkgroupInfoNode.js
%%WWWDIR%%/nodes/lighting/AONode.js
%%WWWDIR%%/nodes/lighting/AmbientLightNode.js
@@ -370,6 +372,7 @@
%%WWWDIR%%/nodes/materialx/lib/mx_hsv.js
%%WWWDIR%%/nodes/materialx/lib/mx_noise.js
%%WWWDIR%%/nodes/materialx/lib/mx_transform_color.js
+%%WWWDIR%%/nodes/math/BitcastNode.js
%%WWWDIR%%/nodes/math/ConditionalNode.js
%%WWWDIR%%/nodes/math/Hash.js
%%WWWDIR%%/nodes/math/MathNode.js
@@ -390,6 +393,7 @@
%%WWWDIR%%/nodes/utils/DebugNode.js
%%WWWDIR%%/nodes/utils/Discard.js
%%WWWDIR%%/nodes/utils/EquirectUV.js
+%%WWWDIR%%/nodes/utils/EventNode.js
%%WWWDIR%%/nodes/utils/FlipNode.js
%%WWWDIR%%/nodes/utils/FunctionOverloadingNode.js
%%WWWDIR%%/nodes/utils/JoinNode.js
@@ -698,6 +702,7 @@
%%WWWDIR%%/textures/DataArrayTexture.js
%%WWWDIR%%/textures/DataTexture.js
%%WWWDIR%%/textures/DepthTexture.js
+%%WWWDIR%%/textures/ExternalTexture.js
%%WWWDIR%%/textures/FramebufferTexture.js
%%WWWDIR%%/textures/Source.js
%%WWWDIR%%/textures/Texture.js
diff --git a/www/tinymce/Makefile b/www/tinymce/Makefile
index f30e75080e6e..1f84591967b8 100644
--- a/www/tinymce/Makefile
+++ b/www/tinymce/Makefile
@@ -1,5 +1,5 @@
PORTNAME= tinymce
-PORTVERSION= 8.0.1
+PORTVERSION= 8.0.2
CATEGORIES= www
MASTER_SITES= http://download.tiny.cloud/tinymce/community/ \
LOCAL/sunpoet
diff --git a/www/tinymce/distinfo b/www/tinymce/distinfo
index 0d0f6d1173a8..bdbf220f1ce3 100644
--- a/www/tinymce/distinfo
+++ b/www/tinymce/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753796024
-SHA256 (tinymce_8.0.1.zip) = e41ca96752bd7c6f757df28fd65e0dfaec5639b6e0b42e41a34c6c57e823d4e6
-SIZE (tinymce_8.0.1.zip) = 1070803
+TIMESTAMP = 1757120558
+SHA256 (tinymce_8.0.2.zip) = 402295c55ef8e0b625e16102abd5a255f00226f994c68f6ae5c44bc1fe2f9393
+SIZE (tinymce_8.0.2.zip) = 1071585
diff --git a/www/tomcat101/Makefile b/www/tomcat101/Makefile
index ac346c70a01b..bd70dd407e66 100644
--- a/www/tomcat101/Makefile
+++ b/www/tomcat101/Makefile
@@ -1,5 +1,5 @@
PORTNAME= tomcat
-DISTVERSION= 10.1.44
+DISTVERSION= 10.1.46
CATEGORIES= www java
MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${DISTVERSION:C/([0-9]+)(.*)/\1/}/v${DISTVERSION}/bin
PKGNAMESUFFIX= 101
diff --git a/www/tomcat101/distinfo b/www/tomcat101/distinfo
index ce2764436425..baba933bfd83 100644
--- a/www/tomcat101/distinfo
+++ b/www/tomcat101/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754520000
-SHA256 (apache-tomcat-10.1.44.tar.gz) = e020c2fa8649f1de9abbc2ddce70dd61e997d0ed161ee02a30de4b221263be9c
-SIZE (apache-tomcat-10.1.44.tar.gz) = 14115940
+TIMESTAMP = 1757700000
+SHA256 (apache-tomcat-10.1.46.tar.gz) = 45e9d5ef561ab46b74c75f40c33b83f49e13e79e99f736dff8e8948557e968da
+SIZE (apache-tomcat-10.1.46.tar.gz) = 14123043
diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile
index c0d58a5566d7..84a4a19ef511 100644
--- a/www/ungoogled-chromium/Makefile
+++ b/www/ungoogled-chromium/Makefile
@@ -1,6 +1,5 @@
PORTNAME= ungoogled-chromium
-PORTVERSION= 137.0.7151.103
-PORTREVISION= 5
+PORTVERSION= 140.0.7339.127
PULSEMV= 16
PULSEV= ${PULSEMV}.1
UGVERSION= ${DISTVERSION}-1
@@ -140,7 +139,6 @@ GN_ARGS+= build_with_tflite_lib=false \
enable_backup_ref_ptr_support=false \
enable_hangout_services_extension=false \
enable_mdns=false \
- enable_nacl=false \
enable_reading_list=false \
enable_remoting=false \
enable_reporting=false \
diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo
index 654cae1eeaa9..09e5d636b57f 100644
--- a/www/ungoogled-chromium/distinfo
+++ b/www/ungoogled-chromium/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1750145170
-SHA256 (chromium-137.0.7151.103.tar.xz) = 31083a39c661942a3617e272787a3927f9b7eeaf2a4e2de1ac3affc8a7f05ef3
-SIZE (chromium-137.0.7151.103.tar.xz) = 7262299176
+TIMESTAMP = 1757783042
+SHA256 (chromium-140.0.7339.127.tar.xz) = c65c8236c1f439a1f483c4bac20e4197ba8d8ac79f6bbcd9304842c98da8a1bc
+SIZE (chromium-140.0.7339.127.tar.xz) = 7422938488
SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
SIZE (pulseaudio-16.1.tar.gz) = 2763111
-SHA256 (chromium-137.0.7151.103-testdata.tar.xz) = e0c77df2a530acfe30eda4da5c908054bec5cf2592e6bb898283dc130a1b8aac
-SIZE (chromium-137.0.7151.103-testdata.tar.xz) = 656736324
-SHA256 (ungoogled-software-ungoogled-chromium-137.0.7151.103-137.0.7151.103-1_GH0.tar.gz) = e5bba1205daee5e1c7a6ff9714b58d88b2257126deef514b3cdcdd16d32d3005
-SIZE (ungoogled-software-ungoogled-chromium-137.0.7151.103-137.0.7151.103-1_GH0.tar.gz) = 636696
+SHA256 (chromium-140.0.7339.127-testdata.tar.xz) = d0a14d77bc15fd2cc4b063a4ff3c410e8486d5259e25b2cc927c5d5a80c6704f
+SIZE (chromium-140.0.7339.127-testdata.tar.xz) = 925215916
+SHA256 (ungoogled-software-ungoogled-chromium-140.0.7339.127-140.0.7339.127-1_GH0.tar.gz) = 471a5ff29e01a8e7092e8ea88391a3d6cce196054db66d44ca70a068e3de3e9b
+SIZE (ungoogled-software-ungoogled-chromium-140.0.7339.127-140.0.7339.127-1_GH0.tar.gz) = 642198
diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn
index a2d240a897d9..33edb8fbd5b1 100644
--- a/www/ungoogled-chromium/files/patch-BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-BUILD.gn
@@ -1,6 +1,6 @@
---- BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ BUILD.gn
-@@ -71,7 +71,7 @@ declare_args() {
+@@ -68,7 +68,7 @@ declare_args() {
root_extra_deps = []
}
@@ -9,7 +9,7 @@
# An official (maximally optimized!) component (optimized for build times)
# build doesn't make sense and usually doesn't work.
assert(!is_component_build)
-@@ -103,7 +103,6 @@ group("gn_all") {
+@@ -101,7 +101,6 @@ group("gn_all") {
"//codelabs",
"//components:components_unittests",
"//components/gwp_asan:gwp_asan_unittests",
@@ -17,7 +17,7 @@
"//net:net_unittests",
"//sandbox:sandbox_unittests",
"//services:services_unittests",
-@@ -449,7 +448,7 @@ group("gn_all") {
+@@ -441,7 +440,7 @@ group("gn_all") {
}
}
@@ -26,7 +26,7 @@
deps += [
"//third_party/breakpad:breakpad_unittests",
"//third_party/breakpad:core-2-minidump",
-@@ -628,6 +627,15 @@ group("gn_all") {
+@@ -599,6 +598,15 @@ group("gn_all") {
}
}
@@ -42,7 +42,7 @@
if (is_mac) {
deps += [
"//third_party/breakpad:dump_syms($host_system_allocator_toolchain)",
-@@ -676,7 +684,7 @@ group("gn_all") {
+@@ -647,7 +655,7 @@ group("gn_all") {
}
}
@@ -51,7 +51,7 @@
# The official builders use this binary from the default toolchain's
# output directory after building in order to upload the symbols of that
# binary. They build the binary like `ninja symupload` which requires the
-@@ -711,7 +719,7 @@ group("gn_all") {
+@@ -682,7 +690,7 @@ group("gn_all") {
]
}
@@ -60,7 +60,7 @@
deps += [
"//third_party/crashpad/crashpad:crashpad_tests",
"//third_party/crashpad/crashpad/handler:crashpad_handler",
-@@ -1120,7 +1128,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1085,7 +1093,7 @@ if (use_blink && !is_cronet_build) {
"//third_party/blink/public:all_blink",
]
@@ -69,7 +69,7 @@
deps += [
":chrome_wpt_tests",
":headless_shell_wpt",
-@@ -1267,7 +1275,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1238,7 +1246,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
}
@@ -78,7 +78,7 @@
# Using the default toolchain for this tool, as it's run during tests not
# during the build. This places a symlink in the root_build_dir for scrips
# to use.
-@@ -1281,7 +1289,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1252,7 +1260,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//third_party/breakpad:dump_syms" ]
}
@@ -87,7 +87,7 @@
# Using the default toolchain for this tool, as it's run during tests not
# during the build. This places a symlink in the root_build_dir for scrips
# to use.
-@@ -1735,7 +1743,7 @@ group("chromium_builder_perf") {
+@@ -1706,7 +1714,7 @@ group("chromium_builder_perf") {
data_deps += [ "//chrome/test:performance_browser_tests" ]
}
diff --git a/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc b/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc
index 5e93da9d4c58..53049b9f5156 100644
--- a/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc
+++ b/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc
@@ -1,6 +1,6 @@
---- ash/display/mirror_window_controller.cc.orig 2024-11-16 12:20:41 UTC
+--- ash/display/mirror_window_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ ash/display/mirror_window_controller.cc
-@@ -295,7 +295,11 @@ void MirrorWindowController::UpdateWindow(
+@@ -283,7 +283,11 @@ void MirrorWindowController::UpdateWindow(
if (!base::Contains(display_info_list, iter->first,
&display::ManagedDisplayInfo::id)) {
CloseAndDeleteHost(iter->second, true);
diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn
index ff7f4229a3ca..cf6b073e8933 100644
--- a/www/ungoogled-chromium/files/patch-base_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn
@@ -1,6 +1,6 @@
---- base/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- base/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ base/BUILD.gn
-@@ -1108,11 +1108,26 @@ component("base") {
+@@ -1110,11 +1110,26 @@ component("base") {
# Needed for <atomic> if using newer C++ library than sysroot, except if
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
@@ -28,7 +28,7 @@
if (use_allocator_shim) {
if (is_apple) {
sources += [ "allocator/early_zone_registration_apple.h" ]
-@@ -1132,7 +1147,7 @@ component("base") {
+@@ -1134,7 +1149,7 @@ component("base") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -37,7 +37,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2166,6 +2181,22 @@ component("base") {
+@@ -2143,6 +2158,22 @@ component("base") {
]
}
@@ -60,7 +60,7 @@
# iOS
if (is_ios) {
sources += [
-@@ -2334,6 +2365,33 @@ component("base") {
+@@ -2317,6 +2348,33 @@ component("base") {
}
}
@@ -94,7 +94,7 @@
if (use_blink) {
sources += [
"files/file_path_watcher.cc",
-@@ -2729,7 +2787,7 @@ buildflag_header("protected_memory_buildflags") {
+@@ -2723,7 +2781,7 @@ buildflag_header("protected_memory_buildflags") {
header = "protected_memory_buildflags.h"
header_dir = "base/memory"
@@ -103,16 +103,16 @@
(is_win || is_linux || is_android || is_mac)
flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ]
-@@ -3236,7 +3294,7 @@ if (is_apple) {
+@@ -3229,7 +3287,7 @@ if (is_apple) {
}
}
--if (!is_nacl && (is_linux || is_chromeos)) {
-+if (!is_nacl && !is_bsd && (is_linux || is_chromeos)) {
+-if (is_linux || is_chromeos) {
++if (!is_bsd && (is_linux || is_chromeos)) {
# This test must compile with -fstack-protector-all
source_set("stack_canary_linux_unittests") {
testonly = true
-@@ -3924,7 +3982,7 @@ test("base_unittests") {
+@@ -3922,7 +3980,7 @@ test("base_unittests") {
]
}
@@ -121,16 +121,16 @@
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3952,7 +4010,7 @@ test("base_unittests") {
+@@ -3946,7 +4004,7 @@ test("base_unittests") {
"posix/file_descriptor_shuffle_unittest.cc",
"posix/unix_domain_socket_unittest.cc",
]
-- if (!is_nacl && !is_apple) {
-+ if (!is_nacl && !is_apple && !is_bsd) {
+- if (!is_apple) {
++ if (!is_apple && !is_bsd) {
sources += [
"profiler/stack_base_address_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3963,7 +4021,7 @@ test("base_unittests") {
+@@ -3957,7 +4015,7 @@ test("base_unittests") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -139,7 +139,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -4151,7 +4209,7 @@ test("base_unittests") {
+@@ -4144,7 +4202,7 @@ test("base_unittests") {
deps += [ ":base_profiler_test_support_library" ]
}
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h
index 6221ff58cc2a..ce6f3dceb93a 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h
@@ -1,6 +1,6 @@
---- base/allocator/dispatcher/tls.h.orig 2025-02-20 09:59:21 UTC
+--- base/allocator/dispatcher/tls.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/dispatcher/tls.h
-@@ -81,7 +81,7 @@ struct BASE_EXPORT MMapAllocator {
+@@ -86,7 +86,7 @@ struct BASE_EXPORT MMapAllocator {
constexpr static size_t AllocationChunkSize = 16384;
#elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS)
constexpr static size_t AllocationChunkSize = 16384;
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc
index 78459e48bb85..a2b63d2d7ac8 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_alloc_features.cc.orig 2025-05-31 17:16:41 UTC
+--- base/allocator/partition_alloc_features.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_alloc_features.cc
-@@ -164,7 +164,7 @@ BASE_FEATURE(kPartitionAllocEventuallyZeroFreedMemory,
+@@ -154,7 +154,7 @@ BASE_FEATURE(kPartitionAllocEventuallyZeroFreedMemory,
// disabled elsewhere (for now). Does not apply to Windows.
BASE_FEATURE(kPartitionAllocFewerMemoryRegions,
"PartitionAllocFewerMemoryRegions",
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
index 44af31a145e2..9a24ebd1bd8a 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
@@ -1,24 +1,15 @@
---- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-05-31 17:16:41 UTC
+--- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/partition_alloc.gni
-@@ -91,7 +91,7 @@ if (is_nacl) {
+@@ -87,7 +87,7 @@ if (current_cpu == "x64" || current_cpu == "arm64" ||
# TODO(crbug.com/329199197): Clean this up when experiments are complete.
use_large_empty_slot_span_ring = true
-has_memory_tagging = current_cpu == "arm64" && is_clang && !is_asan &&
-+has_memory_tagging = current_cpu == "arm64" && is_clang && !is_asan && !is_bsd &&
++has_memory_tagging = current_cpu == "arm64" && !is_bsd && is_clang && !is_asan &&
!is_hwasan && (is_linux || is_android)
declare_args() {
-@@ -350,7 +350,7 @@ declare_args() {
- declare_args() {
- # Shadow metadata is still under development and only supports Linux
- # for now.
-- enable_shadow_metadata = is_linux && has_64_bit_pointers
-+ enable_shadow_metadata = !is_bsd && is_linux && has_64_bit_pointers
- }
-
- declare_args() {
-@@ -493,7 +493,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl
+@@ -490,7 +490,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl
# dependencies that use partition_allocator are compiled in AOSP against a
# version of glibc that does not include pkeys syscall numbers.
is_pkeys_available =
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
index ca3720102527..89160659afc0 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn
-@@ -893,7 +893,7 @@ if (is_clang_or_gcc) {
+@@ -906,7 +906,7 @@ if (is_clang_or_gcc) {
configs -= [ partition_alloc_enable_arc_config ]
}
}
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
index 679fc5da6460..59dd25958bd6 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-07-31 14:19:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h
-@@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) {
+@@ -43,7 +43,7 @@ AslrMask(uintptr_t bits) {
#if PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)
@@ -9,7 +9,7 @@
// We shouldn't allocate system pages at all for sanitizer builds. However,
// we do, and if random hint addresses interfere with address ranges
-@@ -125,7 +125,7 @@ AslrMask(uintptr_t bits) {
+@@ -130,7 +130,7 @@ AslrMask(uintptr_t bits) {
return AslrAddress(0x20000000ULL);
}
#elif PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
index e965dcb89b26..360bf26ec6c0 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2024-08-26 14:40:28 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator.h
-@@ -269,7 +269,7 @@ bool DecommitAndZeroSystemPages(void* address,
+@@ -278,7 +278,7 @@ bool DecommitAndZeroSystemPages(void* address,
// recommitted. Do not assume that this will not change over time.
constexpr PA_COMPONENT_EXPORT(
PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() {
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
index 65e3896e15b3..2500e29d63b2 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2025-02-20 09:59:21 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h
-@@ -26,8 +26,8 @@
+@@ -31,8 +31,8 @@
#define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const))
#elif (PA_BUILDFLAG(IS_ANDROID) && PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)) || \
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
index 35a8c11c6589..26e93cc79b01 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2025-01-25 09:34:31 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc
-@@ -39,7 +39,7 @@ uint32_t SecTaskGetCodeSignStatus(SecTaskRef task) API
+@@ -44,7 +44,7 @@ uint32_t SecTaskGetCodeSignStatus(SecTaskRef task) API
#if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \
(defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && \
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
index abb176e60d46..f0b900a37104 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-05-31 17:16:41 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h
-@@ -317,8 +317,12 @@ bool TryRecommitSystemPagesInternal(
+@@ -322,8 +322,12 @@ bool TryRecommitSystemPagesInternal(
void DiscardSystemPagesInternal(uintptr_t address, size_t length) {
void* ptr = reinterpret_cast<void*>(address);
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
index 29e3d8f9cfad..d3ea0fc2d826 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2024-07-31 14:19:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc
-@@ -13,11 +13,11 @@
+@@ -18,11 +18,11 @@
#include "partition_alloc/partition_alloc_base/posix/eintr_wrapper.h"
#include "partition_alloc/partition_alloc_base/strings/safe_sprintf.h"
@@ -14,7 +14,7 @@
#include <dlfcn.h>
#endif
-@@ -25,7 +25,7 @@ namespace partition_alloc::internal::base::debug {
+@@ -30,7 +30,7 @@ namespace partition_alloc::internal::base::debug {
namespace {
@@ -23,7 +23,7 @@
// On Android the 'open' function has two versions:
// int open(const char *pathname, int flags);
-@@ -369,7 +369,7 @@ void PrintStackTraceInternal(const void** trace, size_
+@@ -374,7 +374,7 @@ void PrintStackTraceInternal(const void** trace, size_
}
#endif // !PA_BUILDFLAG(IS_APPLE)
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
index 8e95c8188cb8..6694d8d89d9a 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2024-07-31 14:19:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc
-@@ -102,6 +102,10 @@ void RandBytes(void* output, size_t output_length) {
+@@ -107,6 +107,10 @@ void RandBytes(void* output, size_t output_length) {
if (getentropy(output, output_length) == 0) {
return;
}
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
index 10707c508246..22651ba84ab0 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2024-07-31 14:19:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h
-@@ -37,6 +37,8 @@ typedef DWORD PlatformThreadId;
+@@ -43,6 +43,8 @@ typedef DWORD PlatformThreadId;
typedef zx_handle_t PlatformThreadId;
#elif PA_BUILDFLAG(IS_APPLE)
typedef mach_port_t PlatformThreadId;
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
index 231679a72fb3..b54f9a81fa45 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2024-07-31 14:19:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h
-@@ -10,7 +10,7 @@
+@@ -15,7 +15,7 @@
namespace partition_alloc::internal::base::internal {
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
index 9341892e0673..3ede2ff74906 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2025-05-06 12:23:00 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc
-@@ -18,7 +18,7 @@
+@@ -23,7 +23,7 @@
#include "partition_alloc/partition_alloc_base/logging.h"
#include "partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h"
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
index 34845e15a632..31e8eaedb8c4 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
@@ -1,15 +1,15 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-11-16 12:20:41 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h
-@@ -170,7 +170,7 @@ constexpr bool kUseLazyCommit = false;
+@@ -169,7 +169,7 @@ constexpr bool kUseLazyCommit = false;
// This may be required on more platforms in the future.
#define PA_CONFIG_HAS_ATFORK_HANDLER() \
(PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_LINUX) || \
- PA_BUILDFLAG(IS_CHROMEOS))
+ PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD))
- // Enable shadow metadata.
- //
-@@ -233,7 +233,7 @@ constexpr bool kUseLazyCommit = false;
+ #if PA_BUILDFLAG(MOVE_METADATA_OUT_OF_GIGACAGE_FOR_64_BITS_POINTERS) && \
+ PA_BUILDFLAG(HAS_64_BIT_POINTERS)
+@@ -226,7 +226,7 @@ constexpr bool kUseLazyCommit = false;
// Also enabled on ARM64 macOS and iOS, as the 16kiB pages on this platform lead
// to larger slot spans.
#if PA_BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
index 850f16384937..eda7ff65f4e1 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-05-31 17:16:41 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
-@@ -312,7 +312,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask);
+@@ -313,7 +313,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask);
// 8GB for each of the glued pools).
#if PA_BUILDFLAG(HAS_64_BIT_POINTERS)
#if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_IOS) || \
@@ -9,7 +9,7 @@
constexpr size_t kPoolMaxSize = 8 * kGiB;
#else
constexpr size_t kPoolMaxSize = 16 * kGiB;
-@@ -429,7 +429,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() {
+@@ -397,7 +397,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() {
// TODO(casey.smalley@arm.com): under 64k pages we can end up in a situation
// where a normal slot span will be large enough to contain multiple items,
// but the address will go over the final partition page after being aligned.
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h
index aa779bc7f124..61817d0513c3 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h
@@ -1,16 +1,16 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_forward.h.orig 2023-12-23 12:33:28 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_forward.h.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_forward.h
-@@ -28,9 +28,13 @@ namespace internal {
+@@ -34,9 +34,13 @@ namespace internal {
// the second one 16. We could technically return something different for
// malloc() and operator new(), but this would complicate things, and most of
// our allocations are presumably coming from operator new() anyway.
+#if defined(__i386__) && defined(OS_FREEBSD)
+constexpr size_t kAlignment = 8;
+#else
- constexpr size_t kAlignment =
+ constexpr inline size_t kAlignment =
std::max(alignof(max_align_t),
static_cast<size_t>(__STDCPP_DEFAULT_NEW_ALIGNMENT__));
+#endif
+ static_assert(base::bits::HasSingleBit(kAlignment),
+ "Alignment must be power of two.");
static_assert(kAlignment <= 16,
- "PartitionAlloc doesn't support a fundamental alignment larger "
- "than 16 bytes.");
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
index 4a844f3647fb..817395cddf39 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
@@ -1,15 +1,15 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-05-31 17:16:41 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc
-@@ -45,7 +45,7 @@
+@@ -51,7 +51,7 @@
#include "wow64apiset.h"
#endif
-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
+#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
#include <pthread.h>
- #if PA_CONFIG(ENABLE_SHADOW_METADATA)
- #include <sys/mman.h>
-@@ -298,7 +298,7 @@ void PartitionAllocMallocInitOnce() {
+ #endif // PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
+
+@@ -300,7 +300,7 @@ void PartitionAllocMallocInitOnce() {
return;
}
@@ -18,7 +18,7 @@
// When fork() is called, only the current thread continues to execute in the
// child process. If the lock is held, but *not* by this thread when fork() is
// called, we have a deadlock.
-@@ -1118,7 +1118,7 @@ void PartitionRoot::Init(PartitionOptions opts) {
+@@ -1006,7 +1006,7 @@ void PartitionRoot::Init(PartitionOptions opts) {
// apple OSes.
PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) ||
(internal::SystemPageSize() == (size_t{1} << 14)));
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h
new file mode 100644
index 000000000000..de43b9688c5b
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h
@@ -0,0 +1,11 @@
+--- base/allocator/partition_allocator/src/partition_alloc/partition_root.h.orig 2025-09-10 13:22:16 UTC
++++ base/allocator/partition_allocator/src/partition_alloc/partition_root.h
+@@ -197,7 +197,7 @@ struct PartitionOptions {
+ // system to configure PartitionAlloc.
+ EnableToggle fewer_memory_regions =
+ #if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_ANDROID) || \
+- PA_BUILDFLAG(IS_CHROMEOS)
++ PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
+ kEnabled;
+ #else
+ kDisabled;
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc
index 21f89708e2df..aca52969fdbb 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2025-05-31 17:16:41 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc
-@@ -19,7 +19,16 @@
+@@ -24,7 +24,16 @@
#endif
#if PA_CONFIG(HAS_LINUX_KERNEL)
@@ -17,7 +17,7 @@
#include <sys/syscall.h>
#include <unistd.h>
-@@ -92,8 +101,16 @@ PA_ALWAYS_INLINE long FutexSyscall(volatile void* ftx,
+@@ -97,8 +106,16 @@ PA_ALWAYS_INLINE long FutexSyscall(volatile void* ftx,
int saved_errno = errno;
errno = 0;
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
index 50d2bcfe6763..15ff3b0ab32e 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2024-07-31 14:19:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc
-@@ -18,6 +18,10 @@
+@@ -23,6 +23,10 @@
#include <pthread.h>
#endif
@@ -11,7 +11,7 @@
#if PA_BUILDFLAG(PA_LIBC_GLIBC)
extern "C" void* __libc_stack_end;
#endif
-@@ -48,6 +52,36 @@ void* GetStackTop() {
+@@ -53,6 +57,36 @@ void* GetStackTop() {
void* GetStackTop() {
return pthread_get_stackaddr_np(pthread_self());
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
index 59c026907df3..577f2cf2527b 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2024-07-31 14:19:23 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2025-09-10 13:22:16 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc
-@@ -16,7 +16,7 @@
+@@ -21,7 +21,7 @@
#include "partition_alloc/partition_alloc_check.h"
#include "partition_alloc/thread_isolation/thread_isolation.h"
diff --git a/www/ungoogled-chromium/files/patch-base_atomicops.h b/www/ungoogled-chromium/files/patch-base_atomicops.h
index 8c50c7410009..b34c7e088927 100644
--- a/www/ungoogled-chromium/files/patch-base_atomicops.h
+++ b/www/ungoogled-chromium/files/patch-base_atomicops.h
@@ -1,6 +1,6 @@
---- base/atomicops.h.orig 2025-02-20 09:59:21 UTC
+--- base/atomicops.h.orig 2025-09-10 13:22:16 UTC
+++ base/atomicops.h
-@@ -74,7 +74,11 @@ typedef intptr_t Atomic64;
+@@ -72,7 +72,11 @@ typedef intptr_t Atomic64;
// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
// Atomic64 routines below, depending on your architecture.
diff --git a/www/ungoogled-chromium/files/patch-base_compiler__specific.h b/www/ungoogled-chromium/files/patch-base_compiler__specific.h
index 2505b6b763ab..1e33bae9bcee 100644
--- a/www/ungoogled-chromium/files/patch-base_compiler__specific.h
+++ b/www/ungoogled-chromium/files/patch-base_compiler__specific.h
@@ -1,6 +1,6 @@
---- base/compiler_specific.h.orig 2025-03-09 21:38:10 UTC
+--- base/compiler_specific.h.orig 2025-09-10 13:22:16 UTC
+++ base/compiler_specific.h
-@@ -729,6 +729,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
+@@ -733,6 +733,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
#if __has_cpp_attribute(clang::preserve_most) && \
(defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
!defined(COMPONENT_BUILD) && \
diff --git a/www/ungoogled-chromium/files/patch-base_debug_debugger__posix.cc b/www/ungoogled-chromium/files/patch-base_debug_debugger__posix.cc
index 5907cba49fc9..05339da1f486 100644
--- a/www/ungoogled-chromium/files/patch-base_debug_debugger__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_debug_debugger__posix.cc
@@ -1,6 +1,6 @@
---- base/debug/debugger_posix.cc.orig 2025-05-31 17:16:41 UTC
+--- base/debug/debugger_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/debug/debugger_posix.cc
-@@ -42,6 +42,10 @@
+@@ -38,6 +38,10 @@
#include <sys/sysctl.h>
#endif
@@ -11,7 +11,7 @@
#if BUILDFLAG(IS_FREEBSD)
#include <sys/user.h>
#endif
-@@ -100,33 +104,52 @@ bool BeingDebugged() {
+@@ -96,33 +100,52 @@ bool BeingDebugged() {
// Caution: struct kinfo_proc is marked __APPLE_API_UNSTABLE. The source and
// binary interfaces may change.
diff --git a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc
index d88bbd639fa0..676cf1b86c8d 100644
--- a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc
@@ -1,4 +1,4 @@
---- base/debug/stack_trace_posix.cc.orig 2025-03-09 21:38:10 UTC
+--- base/debug/stack_trace_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/debug/stack_trace_posix.cc
@@ -51,7 +51,7 @@
// execinfo.h and backtrace(3) are really only present in glibc and in macOS
@@ -21,7 +21,7 @@
#include "base/debug/proc_maps_linux.h"
#endif
-@@ -329,7 +331,7 @@ void PrintToStderr(const char* output) {
+@@ -327,7 +329,7 @@ void PrintToStderr(const char* output) {
std::ignore = HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output)));
}
@@ -30,7 +30,7 @@
void AlarmSignalHandler(int signal, siginfo_t* info, void* void_context) {
// We have seen rare cases on AMD linux where the default signal handler
// either does not run or a thread (Probably an AMD driver thread) prevents
-@@ -346,7 +348,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v
+@@ -344,7 +346,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v
"Warning: Default signal handler failed to terminate process.\n");
PrintToStderr("Calling exit_group() directly to prevent timeout.\n");
// See: https://man7.org/linux/man-pages/man2/exit_group.2.html
@@ -42,7 +42,7 @@
}
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -552,7 +558,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -548,7 +554,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
_exit(EXIT_FAILURE);
}
@@ -51,7 +51,7 @@
// Set an alarm to trigger in case the default handler does not terminate
// the process. See 'AlarmSignalHandler' for more details.
struct sigaction action;
-@@ -577,6 +583,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -573,6 +579,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
// signals that do not re-raise autonomously), such as signals delivered via
// kill() and asynchronous hardware faults such as SEGV_MTEAERR, which would
// otherwise be lost when re-raising the signal via raise().
@@ -59,7 +59,7 @@
long retval = syscall(SYS_rt_tgsigqueueinfo, getpid(), syscall(SYS_gettid),
info->si_signo, info);
if (retval == 0) {
-@@ -591,6 +598,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -587,6 +594,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
if (errno != EPERM) {
_exit(EXIT_FAILURE);
}
@@ -67,7 +67,7 @@
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -783,6 +791,7 @@ class SandboxSymbolizeHelper {
+@@ -779,6 +787,7 @@ class SandboxSymbolizeHelper {
return -1;
}
@@ -75,7 +75,7 @@
// This class is copied from
// third_party/crashpad/crashpad/util/linux/scoped_pr_set_dumpable.h.
// It aims at ensuring the process is dumpable before opening /proc/self/mem.
-@@ -875,11 +884,15 @@ class SandboxSymbolizeHelper {
+@@ -871,11 +880,15 @@ class SandboxSymbolizeHelper {
r.base = cur_base;
}
}
@@ -91,7 +91,7 @@
// Reads /proc/self/maps.
std::string contents;
if (!ReadProcMaps(&contents)) {
-@@ -897,6 +910,7 @@ class SandboxSymbolizeHelper {
+@@ -893,6 +906,7 @@ class SandboxSymbolizeHelper {
is_initialized_ = true;
return true;
diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc
index 16ea957612c8..df17fa97597e 100644
--- a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc
@@ -1,6 +1,6 @@
---- base/files/file_util_posix.cc.orig 2025-05-06 12:23:00 UTC
+--- base/files/file_util_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/files/file_util_posix.cc
-@@ -934,6 +934,7 @@ bool CreateNewTempDirectory(const FilePath::StringType
+@@ -941,6 +941,7 @@ bool CreateNewTempDirectory(const FilePath::StringType
bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) {
ScopedBlockingCall scoped_blocking_call(
FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir().
@@ -8,7 +8,7 @@
// Avoid checking subdirs if directory already exists.
if (DirectoryExists(full_path)) {
-@@ -943,8 +944,8 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
+@@ -950,8 +951,8 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
// Collect a list of all missing directories.
std::vector<FilePath> missing_subpaths({full_path});
FilePath last_path = full_path;
@@ -19,11 +19,11 @@
if (DirectoryExists(path)) {
break;
}
-@@ -962,21 +963,14 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
+@@ -969,21 +970,14 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
}
#endif // BUILDFLAG(IS_CHROMEOS)
-- if (mkdir(subpath.value().c_str(), mode) == 0) {
+- if (File::Mkdir(subpath, mode) == 0) {
- continue;
- }
- // Mkdir failed, but it might have failed with EEXIST, or some other error
diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc
index 31c1a0791ae0..bcc75bd80f87 100644
--- a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc
@@ -1,6 +1,6 @@
---- base/files/file_util_unittest.cc.orig 2025-04-15 08:30:07 UTC
+--- base/files/file_util_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ base/files/file_util_unittest.cc
-@@ -3920,7 +3920,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
+@@ -4101,7 +4101,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
}
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) {
FilePath file_path("/proc/cpuinfo");
std::string data = "temp";
-@@ -4505,6 +4505,19 @@ TEST_F(FileUtilTest, CreateDirectoryOnlyCheckMissingSu
+@@ -4686,6 +4686,19 @@ TEST_F(FileUtilTest, CreateDirectoryOnlyCheckMissingSu
#endif // BUILDFLAG(IS_ANDROID)
@@ -29,7 +29,7 @@
#if BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
defined(ARCH_CPU_32_BITS)
// TODO(crbug.com/327582285): Re-enable these tests. They may be failing due to
-@@ -4671,7 +4684,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
+@@ -4852,7 +4865,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
NULL);
#else
size_t bytes_written =
diff --git a/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc b/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc
index 30109a001a1f..d60be943f0f2 100644
--- a/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc
+++ b/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc
@@ -1,6 +1,6 @@
---- base/i18n/icu_util.cc.orig 2025-05-06 12:23:00 UTC
+--- base/i18n/icu_util.cc.orig 2025-09-10 13:22:16 UTC
+++ base/i18n/icu_util.cc
-@@ -53,7 +53,7 @@
+@@ -52,7 +52,7 @@
#include "third_party/icu/source/common/unicode/unistr.h"
#endif
@@ -9,12 +9,12 @@
BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS))
#include "third_party/icu/source/i18n/unicode/timezone.h"
#endif
-@@ -329,7 +329,7 @@ void InitializeIcuTimeZone() {
+@@ -318,7 +318,7 @@ void InitializeIcuTimeZone() {
FuchsiaIntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization();
icu::TimeZone::adoptDefault(
icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id)));
--#elif BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS))
-+#elif BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_CHROMEOS) || \
++#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) || \
+ (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || BUILDFLAG(IS_ANDROID)
// To respond to the time zone change properly, the default time zone
// cache in ICU has to be populated on starting up.
- // See TimeZoneMonitorLinux::NotifyClientsFromImpl().
diff --git a/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc b/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
index 2e27cf58aba4..040aa40a8ef7 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
@@ -1,6 +1,6 @@
---- base/memory/madv_free_discardable_memory_posix.cc.orig 2025-02-20 09:59:21 UTC
+--- base/memory/madv_free_discardable_memory_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/memory/madv_free_discardable_memory_posix.cc
-@@ -305,6 +305,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
+@@ -298,6 +298,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
bool MadvFreeDiscardableMemoryPosix::IsResident() const {
DFAKE_SCOPED_RECURSIVE_LOCK(thread_collision_warner_);
@@ -11,7 +11,7 @@
#if BUILDFLAG(IS_APPLE)
std::vector<char> vec(allocated_pages_);
#else
-@@ -321,6 +325,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons
+@@ -314,6 +318,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons
}
}
return true;
diff --git a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h
index 50d6618130e7..21cf141c798f 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h
+++ b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h
@@ -1,6 +1,6 @@
---- base/memory/platform_shared_memory_region.h.orig 2025-05-31 17:16:41 UTC
+--- base/memory/platform_shared_memory_region.h.orig 2025-09-10 13:22:16 UTC
+++ base/memory/platform_shared_memory_region.h
-@@ -18,7 +18,7 @@
+@@ -19,7 +19,7 @@
#include "base/unguessable_token.h"
#include "build/build_config.h"
@@ -9,7 +9,7 @@
namespace content {
class SandboxIPCHandler;
}
-@@ -85,7 +85,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+@@ -86,7 +86,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
kMaxValue = GET_SHMEM_TEMP_DIR_FAILURE
};
@@ -18,16 +18,7 @@
// Structure to limit access to executable region creation.
struct ExecutableRegion {
private:
-@@ -217,7 +217,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
- CheckPlatformHandlePermissionsCorrespondToMode);
- static PlatformSharedMemoryRegion Create(Mode mode,
- size_t size
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- ,
- bool executable = false
- #endif
-@@ -236,7 +236,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+@@ -125,7 +125,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
#if BUILDFLAG(IS_FUCHSIA)
kNotVmo,
#endif
@@ -36,3 +27,12 @@
kFcntlFailed,
kReadOnlyFdNotReadOnly,
kUnexpectedReadOnlyFd,
+@@ -256,7 +256,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+ CheckPlatformHandlePermissionsCorrespondToMode);
+ static PlatformSharedMemoryRegion Create(Mode mode,
+ size_t size
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ ,
+ bool executable = false
+ #endif
diff --git a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc
index c4a0d892b230..79b98ea67e3d 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc
@@ -1,6 +1,6 @@
---- base/memory/platform_shared_memory_region_posix.cc.orig 2025-05-31 17:16:41 UTC
+--- base/memory/platform_shared_memory_region_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/memory/platform_shared_memory_region_posix.cc
-@@ -61,7 +61,7 @@ std::optional<FDAccessModeError> CheckFDAccessMode(int
+@@ -59,7 +59,7 @@ std::optional<FDAccessModeError> CheckFDAccessMode(int
} // namespace
@@ -9,7 +9,7 @@
// static
ScopedFD PlatformSharedMemoryRegion::ExecutableRegion::CreateFD(size_t size) {
PlatformSharedMemoryRegion region =
-@@ -183,7 +183,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() {
+@@ -184,7 +184,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() {
// static
PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Create(Mode mode,
size_t size
@@ -18,7 +18,7 @@
,
bool executable
#endif
-@@ -212,7 +212,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion:
+@@ -209,7 +209,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion:
// flag.
FilePath directory;
if (!GetShmemTempDir(
diff --git a/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc
index 82245e77e18e..0946ed2a0e47 100644
--- a/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc
+++ b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc
@@ -1,6 +1,6 @@
---- base/message_loop/message_pump_epoll.cc.orig 2025-03-09 21:38:10 UTC
+--- base/message_loop/message_pump_epoll.cc.orig 2025-09-10 13:22:16 UTC
+++ base/message_loop/message_pump_epoll.cc
-@@ -47,7 +47,7 @@ std::atomic_bool g_use_batched_version = false;
+@@ -49,7 +49,7 @@ std::atomic_bool g_use_batched_version = false;
std::atomic_bool g_use_poll = false;
constexpr std::pair<uint32_t, short int> kEpollToPollEvents[] = {
diff --git a/www/ungoogled-chromium/files/patch-base_posix_unix__domain__socket.cc b/www/ungoogled-chromium/files/patch-base_posix_unix__domain__socket.cc
index 1d3f27d4e3db..f9c3bde5ad98 100644
--- a/www/ungoogled-chromium/files/patch-base_posix_unix__domain__socket.cc
+++ b/www/ungoogled-chromium/files/patch-base_posix_unix__domain__socket.cc
@@ -1,6 +1,14 @@
---- base/posix/unix_domain_socket.cc.orig 2025-02-20 09:59:21 UTC
+--- base/posix/unix_domain_socket.cc.orig 2025-09-10 13:22:16 UTC
+++ base/posix/unix_domain_socket.cc
-@@ -47,7 +47,7 @@ bool CreateSocketPair(ScopedFD* one, ScopedFD* two) {
+@@ -20,6 +20,7 @@
+ #include "base/files/scoped_file.h"
+ #include "base/logging.h"
+ #include "base/notreached.h"
++#include "base/notimplemented.h"
+ #include "base/numerics/safe_conversions.h"
+ #include "base/pickle.h"
+ #include "base/posix/eintr_wrapper.h"
+@@ -47,7 +48,7 @@ bool CreateSocketPair(ScopedFD* one, ScopedFD* two) {
// static
bool UnixDomainSocket::EnableReceiveProcessId(int fd) {
@@ -9,7 +17,7 @@
const int enable = 1;
return setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &enable, sizeof(enable)) == 0;
#else
-@@ -73,7 +73,7 @@ bool UnixDomainSocket::SendMsg(int fd,
+@@ -73,7 +74,7 @@ bool UnixDomainSocket::SendMsg(int fd,
struct cmsghdr* cmsg;
msg.msg_control = control_buffer;
@@ -18,7 +26,7 @@
msg.msg_controllen = checked_cast<socklen_t>(control_len);
#else
msg.msg_controllen = control_len;
-@@ -81,7 +81,7 @@ bool UnixDomainSocket::SendMsg(int fd,
+@@ -81,7 +82,7 @@ bool UnixDomainSocket::SendMsg(int fd,
cmsg = CMSG_FIRSTHDR(&msg);
cmsg->cmsg_level = SOL_SOCKET;
cmsg->cmsg_type = SCM_RIGHTS;
@@ -27,7 +35,7 @@
cmsg->cmsg_len = checked_cast<u_int>(CMSG_LEN(sizeof(int) * fds.size()));
#else
cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size());
-@@ -133,7 +133,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -133,7 +134,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
const size_t kControlBufferSize =
CMSG_SPACE(sizeof(int) * kMaxFileDescriptors)
@@ -36,7 +44,7 @@
// macOS does not support ucred.
// macOS supports xucred, but this structure is insufficient.
+ CMSG_SPACE(sizeof(struct ucred))
-@@ -162,7 +162,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -162,7 +163,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg));
wire_fds_len = payload_len / sizeof(int);
}
@@ -45,7 +53,7 @@
// macOS does not support SCM_CREDENTIALS.
if (cmsg->cmsg_level == SOL_SOCKET &&
cmsg->cmsg_type == SCM_CREDENTIALS) {
-@@ -199,6 +199,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -199,6 +200,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
if (getsockopt(fd, SOL_LOCAL, LOCAL_PEERPID, &pid, &pid_size) != 0) {
pid = -1;
}
diff --git a/www/ungoogled-chromium/files/patch-base_process_internal__linux.h b/www/ungoogled-chromium/files/patch-base_process_internal__linux.h
index 7fbc9e33fa37..567e551c440f 100644
--- a/www/ungoogled-chromium/files/patch-base_process_internal__linux.h
+++ b/www/ungoogled-chromium/files/patch-base_process_internal__linux.h
@@ -1,6 +1,6 @@
---- base/process/internal_linux.h.orig 2025-04-15 08:30:07 UTC
+--- base/process/internal_linux.h.orig 2025-09-10 13:22:16 UTC
+++ base/process/internal_linux.h
-@@ -144,6 +144,9 @@ TimeDelta ClockTicksToTimeDelta(int64_t clock_ticks);
+@@ -146,6 +146,9 @@ TimeDelta ClockTicksToTimeDelta(int64_t clock_ticks);
// arguments to the lambda.
template <typename Lambda>
void ForEachProcessTask(base::ProcessHandle process, Lambda&& lambda) {
@@ -10,7 +10,7 @@
// Iterate through the different threads tracked in /proc/<pid>/task.
FilePath fd_path = GetProcPidDir(process).Append("task");
-@@ -167,6 +170,7 @@ void ForEachProcessTask(base::ProcessHandle process, L
+@@ -169,6 +172,7 @@ void ForEachProcessTask(base::ProcessHandle process, L
FilePath task_path = fd_path.Append(tid_str);
lambda(tid, task_path);
}
diff --git a/www/ungoogled-chromium/files/patch-base_process_launch.h b/www/ungoogled-chromium/files/patch-base_process_launch.h
index b010a5a87921..b42b9f0563a1 100644
--- a/www/ungoogled-chromium/files/patch-base_process_launch.h
+++ b/www/ungoogled-chromium/files/patch-base_process_launch.h
@@ -1,6 +1,6 @@
---- base/process/launch.h.orig 2025-05-31 17:16:41 UTC
+--- base/process/launch.h.orig 2025-09-10 13:22:16 UTC
+++ base/process/launch.h
-@@ -245,7 +245,7 @@ struct BASE_EXPORT LaunchOptions {
+@@ -234,7 +234,7 @@ struct BASE_EXPORT LaunchOptions {
bool clear_environment = false;
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
diff --git a/www/ungoogled-chromium/files/patch-base_process_launch__posix.cc b/www/ungoogled-chromium/files/patch-base_process_launch__posix.cc
deleted file mode 100644
index 6e085b79eb95..000000000000
--- a/www/ungoogled-chromium/files/patch-base_process_launch__posix.cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- base/process/launch_posix.cc.orig 2025-04-15 08:30:07 UTC
-+++ base/process/launch_posix.cc
-@@ -62,6 +62,9 @@
- #error "macOS should use launch_mac.cc"
- #endif
-
-+#if defined(OS_FREEBSD)
-+#pragma weak environ
-+#endif
- extern char** environ;
-
- namespace base {
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__metrics.cc b/www/ungoogled-chromium/files/patch-base_process_process__metrics.cc
index 8e42fa944db1..a72d760a7764 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__metrics.cc
+++ b/www/ungoogled-chromium/files/patch-base_process_process__metrics.cc
@@ -1,4 +1,4 @@
---- base/process/process_metrics.cc.orig 2025-02-20 09:59:21 UTC
+--- base/process/process_metrics.cc.orig 2025-09-10 13:22:16 UTC
+++ base/process/process_metrics.cc
@@ -17,7 +17,7 @@ namespace base {
namespace {
@@ -18,28 +18,17 @@
GetSystemMemoryInfo(&system_metrics.memory_info_);
GetVmStatInfo(&system_metrics.vmstat_info_);
GetSystemDiskInfo(&system_metrics.disk_info_);
-@@ -73,7 +73,7 @@ Value::Dict SystemMetrics::ToDict() const {
- Value::Dict res;
-
- res.Set("committed_memory", static_cast<int>(committed_memory_));
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- Value::Dict meminfo = memory_info_.ToDict();
- meminfo.Merge(vmstat_info_.ToDict());
- res.Set("meminfo", std::move(meminfo));
-@@ -100,7 +100,6 @@ std::unique_ptr<ProcessMetrics> ProcessMetrics::Create
+@@ -79,7 +79,7 @@ std::unique_ptr<ProcessMetrics> ProcessMetrics::Create
#endif // !BUILDFLAG(IS_MAC)
}
-#if !BUILDFLAG(IS_FREEBSD) || !BUILDFLAG(IS_POSIX)
++#if BUILDFLAG(IS_POSIX)
double ProcessMetrics::GetPlatformIndependentCPUUsage(
TimeDelta cumulative_cpu) {
TimeTicks time = TimeTicks::Now();
-@@ -130,10 +129,9 @@ ProcessMetrics::GetPlatformIndependentCPUUsage() {
- return GetPlatformIndependentCPUUsage(cpu_usage);
- });
- }
--#endif
+@@ -112,7 +112,7 @@ ProcessMetrics::GetPlatformIndependentCPUUsage() {
+ #endif
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_AIX)
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__metrics.h b/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
index 6142ef9a2fc9..9a963d2579d6 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
+++ b/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
@@ -1,4 +1,4 @@
---- base/process/process_metrics.h.orig 2025-02-20 09:59:21 UTC
+--- base/process/process_metrics.h.orig 2025-09-10 13:22:16 UTC
+++ base/process/process_metrics.h
@@ -39,7 +39,7 @@
#endif
@@ -68,7 +68,7 @@
// Data about system-wide memory consumption. Values are in KB. Available on
// Windows, Mac, Linux, Android and Chrome OS.
//
-@@ -345,7 +343,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -342,7 +340,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -77,7 +77,7 @@
// This provides an estimate of available memory as described here:
// https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
// NOTE: this is ONLY valid in kernels 3.14 and up. Its value will always
-@@ -360,7 +358,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -357,7 +355,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -86,7 +86,7 @@
int buffers = 0;
int cached = 0;
int active_anon = 0;
-@@ -397,7 +395,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoK
+@@ -394,7 +392,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoK
// BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -95,7 +95,7 @@
// Parse the data found in /proc/<pid>/stat and return the sum of the
// CPU-related ticks. Returns -1 on parse error.
// Exposed for testing.
-@@ -591,7 +589,7 @@ class BASE_EXPORT SystemMetrics {
+@@ -570,7 +568,7 @@ class BASE_EXPORT SystemMetrics {
FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics);
size_t committed_memory_;
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__metrics__freebsd.cc b/www/ungoogled-chromium/files/patch-base_process_process__metrics__freebsd.cc
index 7f2b1023c334..53b989bbdf19 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__metrics__freebsd.cc
+++ b/www/ungoogled-chromium/files/patch-base_process_process__metrics__freebsd.cc
@@ -1,10 +1,10 @@
---- base/process/process_metrics_freebsd.cc.orig 2025-02-20 09:59:21 UTC
+--- base/process/process_metrics_freebsd.cc.orig 2025-09-10 13:22:16 UTC
+++ base/process/process_metrics_freebsd.cc
@@ -3,41 +3,92 @@
// found in the LICENSE file.
#include "base/process/process_metrics.h"
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
#include <stddef.h>
+#include <sys/types.h>
@@ -104,11 +104,10 @@
}
size_t GetSystemCommitCharge() {
-@@ -64,6 +115,176 @@ size_t GetSystemCommitCharge() {
- pagesize = getpagesize();
+@@ -65,5 +116,118 @@ size_t GetSystemCommitCharge() {
return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize);
-+}
+ }
+
+int64_t GetNumberOfThreads(ProcessHandle process) {
+ // Taken from FreeBSD top (usr.bin/top/machine.c)
@@ -222,62 +221,5 @@
+SystemDiskInfo::SystemDiskInfo(const SystemDiskInfo& other) = default;
+
+SystemDiskInfo& SystemDiskInfo::operator=(const SystemDiskInfo&) = default;
-+
-+Value::Dict SystemDiskInfo::ToDict() const {
-+ Value::Dict res;
-+
-+ // Write out uint64_t variables as doubles.
-+ // Note: this may discard some precision, but for JS there's no other option.
-+ res.Set("reads", static_cast<double>(reads));
-+ res.Set("reads_merged", static_cast<double>(reads_merged));
-+ res.Set("sectors_read", static_cast<double>(sectors_read));
-+ res.Set("read_time", static_cast<double>(read_time));
-+ res.Set("writes", static_cast<double>(writes));
-+ res.Set("writes_merged", static_cast<double>(writes_merged));
-+ res.Set("sectors_written", static_cast<double>(sectors_written));
-+ res.Set("write_time", static_cast<double>(write_time));
-+ res.Set("io", static_cast<double>(io));
-+ res.Set("io_time", static_cast<double>(io_time));
-+ res.Set("weighted_io_time", static_cast<double>(weighted_io_time));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict SystemMemoryInfoKB::ToDict() const {
-+ Value::Dict res;
-+ res.Set("total", total);
-+ res.Set("free", free);
-+ res.Set("available", available);
-+ res.Set("buffers", buffers);
-+ res.Set("cached", cached);
-+ res.Set("active_anon", active_anon);
-+ res.Set("inactive_anon", inactive_anon);
-+ res.Set("active_file", active_file);
-+ res.Set("inactive_file", inactive_file);
-+ res.Set("swap_total", swap_total);
-+ res.Set("swap_free", swap_free);
-+ res.Set("swap_used", swap_total - swap_free);
-+ res.Set("dirty", dirty);
-+ res.Set("reclaimable", reclaimable);
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict VmStatInfo::ToDict() const {
-+ Value::Dict res;
-+ // TODO(crbug.com/1334256): Make base::Value able to hold uint64_t and remove
-+ // casts below.
-+ res.Set("pswpin", static_cast<int>(pswpin));
-+ res.Set("pswpout", static_cast<int>(pswpout));
-+ res.Set("pgmajfault", static_cast<int>(pgmajfault));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
- }
} // namespace base
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__metrics__openbsd.cc b/www/ungoogled-chromium/files/patch-base_process_process__metrics__openbsd.cc
index d6bbb5163a77..b29ad1835e5b 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__metrics__openbsd.cc
+++ b/www/ungoogled-chromium/files/patch-base_process_process__metrics__openbsd.cc
@@ -1,4 +1,4 @@
---- base/process/process_metrics_openbsd.cc.orig 2025-02-25 06:59:53 UTC
+--- base/process/process_metrics_openbsd.cc.orig 2025-09-10 13:22:16 UTC
+++ base/process/process_metrics_openbsd.cc
@@ -6,73 +6,85 @@
@@ -14,7 +14,7 @@
#include "base/memory/ptr_util.h"
#include "base/types/expected.h"
+#include "base/values.h"
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
namespace base {
@@ -122,7 +122,7 @@
struct vmtotal vmtotal;
unsigned long mem_total, mem_free, mem_inactive;
size_t len = sizeof(vmtotal);
-@@ -85,9 +97,115 @@ size_t GetSystemCommitCharge() {
+@@ -85,9 +97,60 @@ size_t GetSystemCommitCharge() {
mem_free = vmtotal.t_free;
mem_inactive = vmtotal.t_vm - vmtotal.t_avm;
@@ -130,7 +130,7 @@
+ pagesize = checked_cast<size_t>(getpagesize());
return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize);
-+}
+ }
+
+int ProcessMetrics::GetOpenFdCount() const {
+ return (process_ == getpid()) ? getdtablecount() : -1;
@@ -146,7 +146,7 @@
+}
+
+bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
-+ NOTIMPLEMENTED_LOG_ONCE();
++ NOTIMPLEMENTED();
+ return false;
+}
+
@@ -165,39 +165,6 @@
+ return 0;
+}
+
-+Value::Dict SystemMemoryInfoKB::ToDict() const {
-+ Value::Dict res;
-+ res.Set("total", total);
-+ res.Set("free", free);
-+ res.Set("available", available);
-+ res.Set("buffers", buffers);
-+ res.Set("cached", cached);
-+ res.Set("active_anon", active_anon);
-+ res.Set("inactive_anon", inactive_anon);
-+ res.Set("active_file", active_file);
-+ res.Set("inactive_file", inactive_file);
-+ res.Set("swap_total", swap_total);
-+ res.Set("swap_free", swap_free);
-+ res.Set("swap_used", swap_total - swap_free);
-+ res.Set("dirty", dirty);
-+ res.Set("reclaimable", reclaimable);
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict VmStatInfo::ToDict() const {
-+ Value::Dict res;
-+ res.Set("pswpin", static_cast<int>(pswpin));
-+ res.Set("pswpout", static_cast<int>(pswpout));
-+ res.Set("pgmajfault", static_cast<int>(pgmajfault));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
+SystemDiskInfo::SystemDiskInfo() {
+ reads = 0;
+ reads_merged = 0;
@@ -215,27 +182,5 @@
+SystemDiskInfo::SystemDiskInfo(const SystemDiskInfo&) = default;
+
+SystemDiskInfo& SystemDiskInfo::operator=(const SystemDiskInfo&) = default;
-+
-+Value::Dict SystemDiskInfo::ToDict() const {
-+ Value::Dict res;
-+
-+ // Write out uint64_t variables as doubles.
-+ // Note: this may discard some precision, but for JS there's no other option.
-+ res.Set("reads", static_cast<double>(reads));
-+ res.Set("reads_merged", static_cast<double>(reads_merged));
-+ res.Set("sectors_read", static_cast<double>(sectors_read));
-+ res.Set("read_time", static_cast<double>(read_time));
-+ res.Set("writes", static_cast<double>(writes));
-+ res.Set("writes_merged", static_cast<double>(writes_merged));
-+ res.Set("sectors_written", static_cast<double>(sectors_written));
-+ res.Set("write_time", static_cast<double>(write_time));
-+ res.Set("io", static_cast<double>(io));
-+ res.Set("io_time", static_cast<double>(io_time));
-+ res.Set("weighted_io_time", static_cast<double>(weighted_io_time));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
- }
} // namespace base
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__posix.cc b/www/ungoogled-chromium/files/patch-base_process_process__posix.cc
index 5af035ba240f..ef9e636f24ce 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_process_process__posix.cc
@@ -1,7 +1,7 @@
---- base/process/process_posix.cc.orig 2025-02-20 09:59:21 UTC
+--- base/process/process_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/process/process_posix.cc
-@@ -23,10 +23,15 @@
- #include "base/trace_event/base_tracing.h"
+@@ -25,10 +25,15 @@
+ #include "base/trace_event/trace_event.h"
#include "build/build_config.h"
-#if BUILDFLAG(IS_MAC)
@@ -17,7 +17,7 @@
#if BUILDFLAG(CLANG_PROFILING)
#include "base/test/clang_profiling.h"
#endif
-@@ -100,7 +105,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle,
+@@ -104,7 +109,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle,
}
#endif
@@ -26,7 +26,7 @@
// Using kqueue on Mac so that we can wait on non-child processes.
// We can't use kqueues on child processes because we need to reap
// our own children using wait.
-@@ -379,7 +384,7 @@ bool Process::WaitForExitWithTimeoutImpl(base::Process
+@@ -387,7 +392,7 @@ bool Process::WaitForExitWithTimeoutImpl(base::Process
const bool exited = (parent_pid < 0);
if (!exited && parent_pid != our_pid) {
@@ -35,7 +35,7 @@
// On Mac we can wait on non child processes.
return WaitForSingleNonChildProcess(handle, timeout);
#else
-@@ -416,7 +421,56 @@ void Process::Exited(int exit_code) const {
+@@ -424,7 +429,56 @@ void Process::Exited(int exit_code) const {
int Process::GetOSPriority() const {
DCHECK(IsValid());
diff --git a/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc b/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc
index aae758c07404..5d9df986d748 100644
--- a/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc
@@ -1,15 +1,15 @@
---- base/rand_util_posix.cc.orig 2025-05-06 12:23:00 UTC
+--- base/rand_util_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/rand_util_posix.cc
-@@ -29,7 +29,7 @@
- #include "base/time/time.h"
+@@ -30,7 +30,7 @@
#include "build/build_config.h"
+ #include "third_party/boringssl/src/include/openssl/rand.h"
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_NACL)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
#include "third_party/lss/linux_syscall_support.h"
#elif BUILDFLAG(IS_MAC)
// TODO(crbug.com/40641285): Waiting for this header to appear in the iOS SDK.
-@@ -45,6 +45,7 @@ namespace base {
+@@ -42,6 +42,7 @@ namespace base {
namespace {
@@ -17,28 +17,26 @@
#if BUILDFLAG(IS_AIX)
// AIX has no 64-bit support for O_CLOEXEC.
static constexpr int kOpenFlags = O_RDONLY;
-@@ -69,10 +70,11 @@ class URandomFd {
+@@ -66,8 +67,9 @@ class URandomFd {
private:
const int fd_;
};
+#endif
- #if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_ANDROID)) && \
-- !BUILDFLAG(IS_NACL)
-+ !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) && !BUILDFLAG(IS_BSD)
bool KernelSupportsGetRandom() {
return base::SysInfo::KernelVersionNumber::Current() >=
-@@ -129,6 +131,7 @@ bool UseBoringSSLForRandBytes() {
+@@ -122,6 +124,7 @@ bool UseBoringSSLForRandBytes() {
namespace {
void RandBytesInternal(span<uint8_t> output, bool avoid_allocation) {
+#if !BUILDFLAG(IS_BSD)
- #if !BUILDFLAG(IS_NACL)
// The BoringSSL experiment takes priority over everything else.
if (!avoid_allocation && internal::UseBoringSSLForRandBytes()) {
-@@ -163,6 +166,9 @@ void RandBytesInternal(span<uint8_t> output, bool avoi
+ // BoringSSL's RAND_bytes always returns 1. Any error aborts the program.
+@@ -152,6 +155,9 @@ void RandBytesInternal(span<uint8_t> output, bool avoi
const int urandom_fd = GetUrandomFD();
const bool success = ReadFromFD(urandom_fd, as_writable_chars(output));
CHECK(success);
@@ -48,7 +46,7 @@
}
} // namespace
-@@ -182,9 +188,11 @@ void RandBytes(span<uint8_t> output) {
+@@ -171,9 +177,11 @@ void RandBytes(span<uint8_t> output) {
RandBytesInternal(output, /*avoid_allocation=*/false);
}
diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info.h b/www/ungoogled-chromium/files/patch-base_system_sys__info.h
index 8fc08853b222..4453d2851078 100644
--- a/www/ungoogled-chromium/files/patch-base_system_sys__info.h
+++ b/www/ungoogled-chromium/files/patch-base_system_sys__info.h
@@ -1,6 +1,6 @@
---- base/system/sys_info.h.orig 2025-05-06 12:23:00 UTC
+--- base/system/sys_info.h.orig 2025-09-10 13:22:16 UTC
+++ base/system/sys_info.h
-@@ -355,6 +355,8 @@ class BASE_EXPORT SysInfo {
+@@ -360,6 +360,8 @@ class BASE_EXPORT SysInfo {
static void ResetCpuSecurityMitigationsEnabledForTesting();
#endif
@@ -9,7 +9,7 @@
private:
friend class test::ScopedAmountOfPhysicalMemoryOverride;
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
-@@ -367,7 +369,7 @@ class BASE_EXPORT SysInfo {
+@@ -372,7 +374,7 @@ class BASE_EXPORT SysInfo {
static HardwareInfo GetHardwareInfoSync();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc b/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc
index 608ee0cdabbf..394145735775 100644
--- a/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc
@@ -1,6 +1,6 @@
---- base/system/sys_info_posix.cc.orig 2025-05-06 12:23:00 UTC
+--- base/system/sys_info_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/system/sys_info_posix.cc
-@@ -143,7 +143,7 @@ void GetKernelVersionNumbers(int32_t* major_version,
+@@ -144,7 +144,7 @@ void GetKernelVersionNumbers(int32_t* major_version,
namespace base {
@@ -9,7 +9,7 @@
// static
int SysInfo::NumberOfProcessors() {
#if BUILDFLAG(IS_MAC)
-@@ -199,7 +199,7 @@ int SysInfo::NumberOfProcessors() {
+@@ -200,7 +200,7 @@ int SysInfo::NumberOfProcessors() {
return cached_num_cpus;
}
@@ -18,7 +18,7 @@
// static
uint64_t SysInfo::AmountOfVirtualMemory() {
-@@ -285,6 +285,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
+@@ -286,6 +286,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
arch = "x86";
} else if (arch == "amd64") {
arch = "x86_64";
diff --git a/www/ungoogled-chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc b/www/ungoogled-chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc
index b659e41a07c2..2d4a969bad3a 100644
--- a/www/ungoogled-chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_task_thread__pool_environment__config__unittest.cc
@@ -1,20 +1,20 @@
---- base/task/thread_pool/environment_config_unittest.cc.orig 2025-05-06 12:23:00 UTC
+--- base/task/thread_pool/environment_config_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ base/task/thread_pool/environment_config_unittest.cc
-@@ -21,7 +21,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
- base::FeatureList::IsEnabled(
- FeatureControllingBackgroundPriorityWorkerThreads()));
- #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
+@@ -14,7 +14,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE)
+ EXPECT_TRUE(CanUseBackgroundThreadTypeForWorkerThread());
+ #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
EXPECT_FALSE(CanUseBackgroundThreadTypeForWorkerThread());
#else
#error Platform doesn't match any block
-@@ -30,7 +30,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
+@@ -22,7 +22,7 @@ TEST(ThreadPoolEnvironmentConfig, CanUseBackgroundPrio
+
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_ANDROID)
EXPECT_TRUE(CanUseUtilityThreadTypeForWorkerThread());
- #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
EXPECT_FALSE(CanUseUtilityThreadTypeForWorkerThread());
#else
#error Platform doesn't match any block
diff --git a/www/ungoogled-chromium/files/patch-base_test_test__file__util__linux.cc b/www/ungoogled-chromium/files/patch-base_test_test__file__util__linux.cc
index e721859e4d4e..bb8092a7a28e 100644
--- a/www/ungoogled-chromium/files/patch-base_test_test__file__util__linux.cc
+++ b/www/ungoogled-chromium/files/patch-base_test_test__file__util__linux.cc
@@ -1,6 +1,6 @@
---- base/test/test_file_util_linux.cc.orig 2025-02-20 09:59:21 UTC
+--- base/test/test_file_util_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ base/test/test_file_util_linux.cc
-@@ -56,9 +56,11 @@ bool EvictFileFromSystemCache(const FilePath& file) {
+@@ -57,9 +57,11 @@ bool EvictFileFromSystemCache(const FilePath& file) {
if (fdatasync(fd.get()) != 0) {
return false;
}
diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__internal__posix.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__internal__posix.cc
index ae1a3ca6c089..0036a9f308ca 100644
--- a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__internal__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__internal__posix.cc
@@ -1,11 +1,21 @@
---- base/threading/platform_thread_internal_posix.cc.orig 2025-03-09 21:38:10 UTC
+--- base/threading/platform_thread_internal_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/threading/platform_thread_internal_posix.cc
-@@ -41,7 +41,7 @@ ThreadPriorityForTest NiceValueToThreadPriorityForTest
+@@ -31,6 +31,10 @@ ThreadPriorityForTest NiceValueToThreadPriorityForTest
}
int GetCurrentThreadNiceValue() {
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- NOTIMPLEMENTED();
- return 0;
- #else
++#if BUILDFLAG(IS_BSD)
++ NOTIMPLEMENTED();
++ return 0;
++#else
+ // Need to clear errno before calling getpriority():
+ // http://man7.org/linux/man-pages/man2/getpriority.2.html
+ errno = 0;
+@@ -42,6 +46,7 @@ int GetCurrentThreadNiceValue() {
+ }
+
+ return nice_value;
++#endif
+ }
+
+ } // namespace base::internal
diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.cc
new file mode 100644
index 000000000000..0983208698d0
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.cc
@@ -0,0 +1,11 @@
+--- base/threading/platform_thread_metrics.cc.orig 2025-09-10 13:22:16 UTC
++++ base/threading/platform_thread_metrics.cc
+@@ -26,7 +26,7 @@ PlatformThreadMetrics::CreateForCurrentThread() {
+ }
+
+ #elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+
+ // static
+ std::unique_ptr<PlatformThreadMetrics>
diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.h b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.h
new file mode 100644
index 000000000000..c170493a29ee
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__metrics.h
@@ -0,0 +1,20 @@
+--- base/threading/platform_thread_metrics.h.orig 2025-09-10 13:22:16 UTC
++++ base/threading/platform_thread_metrics.h
+@@ -51,7 +51,7 @@ class BASE_EXPORT PlatformThreadMetrics {
+ PlatformThreadHandle handle);
+ #endif
+
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || \
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) || \
+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+ static std::unique_ptr<PlatformThreadMetrics> CreateFromId(
+ PlatformThreadId tid);
+@@ -93,7 +93,7 @@ class BASE_EXPORT PlatformThreadMetrics {
+
+ PlatformThreadHandle handle_;
+ #elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ explicit PlatformThreadMetrics(PlatformThreadId tid) : tid_(tid) {}
+
+ PlatformThreadId tid_;
diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc
index 3af970da5906..2b6a7aaaafd4 100644
--- a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc
@@ -1,21 +1,23 @@
---- base/threading/platform_thread_posix.cc.orig 2025-04-15 08:30:07 UTC
+--- base/threading/platform_thread_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/threading/platform_thread_posix.cc
-@@ -79,11 +79,11 @@ void* ThreadFunc(void* params) {
+@@ -79,6 +79,7 @@ void* ThreadFunc(void* params) {
base::DisallowSingleton();
}
--#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
-+#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_BSD)
++#if !BUILDFLAG(IS_BSD)
+ #if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
partition_alloc::internal::StackTopRegistry::Get().NotifyThreadCreated();
#endif
+@@ -92,6 +93,7 @@ void* ThreadFunc(void* params) {
+ // where they were created. This explicitly sets the priority of all new
+ // threads.
+ PlatformThread::SetCurrentThreadType(thread_params->thread_type);
++#endif
+ }
+
+ ThreadIdNameManager::GetInstance()->RegisterThread(
+@@ -266,6 +268,8 @@ PlatformThreadId PlatformThreadBase::CurrentId() {
--#if !BUILDFLAG(IS_NACL)
-+#if !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_BSD)
- #if BUILDFLAG(IS_APPLE)
- PlatformThread::SetCurrentThreadRealtimePeriodValue(
- delegate->GetRealtimePeriod());
-@@ -272,6 +272,8 @@ PlatformThreadId PlatformThreadBase::CurrentId() {
- return PlatformThreadId(reinterpret_cast<int32_t>(pthread_self()));
#elif BUILDFLAG(IS_POSIX) && BUILDFLAG(IS_AIX)
return PlatformThreadId(pthread_self());
+#elif BUILDFLAG(IS_BSD)
@@ -23,31 +25,58 @@
#elif BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_AIX)
return PlatformThreadId(reinterpret_cast<int64_t>(pthread_self()));
#endif
-@@ -365,7 +367,7 @@ void PlatformThreadBase::Detach(PlatformThreadHandle t
+@@ -359,6 +363,9 @@ void PlatformThreadBase::Detach(PlatformThreadHandle t
// static
bool PlatformThreadBase::CanChangeThreadType(ThreadType from, ThreadType to) {
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- return false;
- #else
++#if BUILDFLAG(IS_BSD)
++ return false;
++#else
if (from >= to) {
-@@ -386,6 +388,9 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
+ // Decreasing thread priority on POSIX is always allowed.
+ return true;
+@@ -368,12 +375,18 @@ bool PlatformThreadBase::CanChangeThreadType(ThreadTyp
+ }
+
+ return internal::CanLowerNiceTo(internal::ThreadTypeToNiceValue(to));
++#endif
+ }
+
+ namespace internal {
+
+ void SetCurrentThreadTypeImpl(ThreadType thread_type,
MessagePumpType pump_type_hint) {
- #if BUILDFLAG(IS_NACL)
- NOTIMPLEMENTED();
-+// avoid pledge(2) violation
-+#elif BUILDFLAG(IS_BSD)
-+ NOTIMPLEMENTED();
- #else
++#if BUILDFLAG(IS_BSD)
++ // pledge(2) violation
++ NOTIMPLEMENTED();
++ return;
++#else
if (internal::SetCurrentThreadTypeForPlatform(thread_type, pump_type_hint)) {
return;
-@@ -409,7 +414,7 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
+ }
+@@ -389,12 +402,17 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
+ DVPLOG(1) << "Failed to set nice value of thread ("
+ << PlatformThread::CurrentId() << ") to " << nice_setting;
+ }
++#endif
+ }
+
+ } // namespace internal
// static
ThreadPriorityForTest PlatformThreadBase::GetCurrentThreadPriorityForTest() {
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- NOTIMPLEMENTED();
- return ThreadPriorityForTest::kNormal;
- #else
++#if BUILDFLAG(IS_BSD)
++ NOTIMPLEMENTED();
++ return ThreadPriorityForTest::kNormal;
++#else
+ // Mirrors SetCurrentThreadPriority()'s implementation.
+ auto platform_specific_priority =
+ internal::GetCurrentThreadPriorityForPlatformForTest(); // IN-TEST
+@@ -405,6 +423,7 @@ ThreadPriorityForTest PlatformThreadBase::GetCurrentTh
+ int nice_value = internal::GetCurrentThreadNiceValue();
+
+ return internal::NiceValueToThreadPriorityForTest(nice_value); // IN-TEST
++#endif
+ }
+
+ #endif // !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_FUCHSIA)
diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc
index 4d3724b1ec88..67780d74279a 100644
--- a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_unittest.cc.orig 2025-04-15 08:30:07 UTC
+--- base/threading/platform_thread_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ base/threading/platform_thread_unittest.cc
@@ -36,7 +36,7 @@
#include "base/time/time.h"
@@ -18,16 +18,7 @@
// On Ubuntu, RLIMIT_NICE and RLIMIT_RTPRIO are 0 by default, so we won't be
// able to increase priority to any level unless we are root (euid == 0).
bool kCanIncreasePriority = false;
-@@ -435,7 +435,7 @@ TEST(PlatformThreadTest, SetCurrentThreadTypeTest) {
- #if BUILDFLAG(IS_APPLE)
- TestPriorityResultingFromThreadType(ThreadType::kResourceEfficient,
- ThreadPriorityForTest::kUtility);
--#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- TestPriorityResultingFromThreadType(
- ThreadType::kResourceEfficient,
- ThreadPriorityForTest::kResourceEfficient);
-@@ -624,12 +624,16 @@ INSTANTIATE_TEST_SUITE_P(
+@@ -618,12 +618,16 @@ INSTANTIATE_TEST_SUITE_P(
#endif // BUILDFLAG(IS_APPLE)
diff --git a/www/ungoogled-chromium/files/patch-base_time_time__now__posix.cc b/www/ungoogled-chromium/files/patch-base_time_time__now__posix.cc
index 6d99909f684c..a73e728a7005 100644
--- a/www/ungoogled-chromium/files/patch-base_time_time__now__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_time_time__now__posix.cc
@@ -1,11 +1,14 @@
---- base/time/time_now_posix.cc.orig 2025-01-25 09:34:31 UTC
+--- base/time/time_now_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ base/time/time_now_posix.cc
-@@ -27,7 +27,7 @@
- #endif
+@@ -110,7 +110,11 @@ std::optional<TimeTicks> MaybeTimeTicksNowIgnoringOver
+ }
+
+ TimeTicks TimeTicksLowResolutionNowIgnoringOverride() {
++#if BUILDFLAG(IS_BSD)
++ return TimeTicks() + Microseconds(ClockNow(CLOCK_MONOTONIC));
++#else
+ return TimeTicks() + Microseconds(ClockNow(CLOCK_MONOTONIC_COARSE));
++#endif
+ }
+ } // namespace subtle
- // NaCl doesn't support CLOCK_MONOTONIC_COARSE.
--#if BUILDFLAG(IS_NACL)
-+#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
- #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC
- #else
- #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC_COARSE
diff --git a/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc b/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc
index fc64db54ef26..93703965ccdc 100644
--- a/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc
+++ b/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc
@@ -1,4 +1,4 @@
---- base/trace_event/malloc_dump_provider.cc.orig 2025-03-09 21:38:10 UTC
+--- base/trace_event/malloc_dump_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ base/trace_event/malloc_dump_provider.cc
@@ -31,6 +31,8 @@
@@ -18,7 +18,7 @@
void ReportMallinfoStats(ProcessMemoryDump* pmd,
size_t* total_virtual_size,
size_t* resident_size,
-@@ -370,6 +372,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump
+@@ -383,6 +385,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump
&allocated_objects_count);
#elif BUILDFLAG(IS_FUCHSIA)
// TODO(fuchsia): Port, see https://crbug.com/706592.
diff --git a/www/ungoogled-chromium/files/patch-base_trace__event_process__memory__dump.cc b/www/ungoogled-chromium/files/patch-base_trace__event_process__memory__dump.cc
index b6b98d738489..2c68feba7aa1 100644
--- a/www/ungoogled-chromium/files/patch-base_trace__event_process__memory__dump.cc
+++ b/www/ungoogled-chromium/files/patch-base_trace__event_process__memory__dump.cc
@@ -1,6 +1,15 @@
---- base/trace_event/process_memory_dump.cc.orig 2025-03-09 21:38:10 UTC
+--- base/trace_event/process_memory_dump.cc.orig 2025-09-10 13:22:16 UTC
+++ base/trace_event/process_memory_dump.cc
-@@ -119,7 +119,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
+@@ -47,7 +47,7 @@
+ #include <Psapi.h>
+ #endif
+
+-#if BUILDFLAG(IS_FUCHSIA)
++#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ #include <tuple>
+
+ #include "base/notreached.h"
+@@ -116,7 +116,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
#if BUILDFLAG(IS_WIN)
auto vec =
base::HeapArray<PSAPI_WORKING_SET_EX_INFORMATION>::WithSize(max_vec_size);
@@ -9,7 +18,7 @@
auto vec = base::HeapArray<char>::WithSize(max_vec_size);
#elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
auto vec = base::HeapArray<unsigned char>::WithSize(max_vec_size);
-@@ -143,7 +143,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
+@@ -140,7 +140,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident
for (size_t i = 0; i < page_count; i++) {
resident_page_count += vec[i].VirtualAttributes.Valid;
}
diff --git a/www/ungoogled-chromium/files/patch-build_config_BUILD.gn b/www/ungoogled-chromium/files/patch-build_config_BUILD.gn
index 2405d8478c37..cf944c7fcc3d 100644
--- a/www/ungoogled-chromium/files/patch-build_config_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-build_config_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/BUILD.gn.orig 2025-01-25 09:34:31 UTC
+--- build/config/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ build/config/BUILD.gn
-@@ -215,6 +215,10 @@ config("default_libs") {
+@@ -209,6 +209,10 @@ config("default_libs") {
# Targets should choose to explicitly link frameworks they require. Since
# linking can have run-time side effects, nothing should be listed here.
libs = []
diff --git a/www/ungoogled-chromium/files/patch-build_config_BUILDCONFIG.gn b/www/ungoogled-chromium/files/patch-build_config_BUILDCONFIG.gn
index 1301100bc60a..9db9e2990bea 100644
--- a/www/ungoogled-chromium/files/patch-build_config_BUILDCONFIG.gn
+++ b/www/ungoogled-chromium/files/patch-build_config_BUILDCONFIG.gn
@@ -1,4 +1,4 @@
---- build/config/BUILDCONFIG.gn.orig 2025-05-06 12:23:00 UTC
+--- build/config/BUILDCONFIG.gn.orig 2025-09-10 13:22:16 UTC
+++ build/config/BUILDCONFIG.gn
@@ -136,7 +136,8 @@ declare_args() {
is_official_build = false
@@ -10,7 +10,7 @@
(current_cpu != "s390x" && current_cpu != "s390" &&
current_cpu != "ppc64" && current_cpu != "ppc" &&
current_cpu != "mips" && current_cpu != "mips64" &&
-@@ -235,6 +236,10 @@ if (host_toolchain == "") {
+@@ -242,6 +243,10 @@ if (host_toolchain == "") {
host_toolchain = "//build/toolchain/aix:$host_cpu"
} else if (host_os == "zos") {
host_toolchain = "//build/toolchain/zos:$host_cpu"
@@ -21,16 +21,16 @@
} else {
assert(false, "Unsupported host_os: $host_os")
}
-@@ -279,6 +284,8 @@ if (target_os == "android") {
- _default_toolchain = "//build/toolchain/aix:$target_cpu"
- } else if (target_os == "zos") {
- _default_toolchain = "//build/toolchain/zos:$target_cpu"
+@@ -291,6 +296,8 @@ if (target_os == "android") {
+ assert(
+ false,
+ "emscripten is not a supported target_os. It is available only as secondary toolchain.")
+} else if (target_os == "openbsd" || target_os == "freebsd") {
+ _default_toolchain = host_toolchain
} else {
assert(false, "Unsupported target_os: $target_os")
}
-@@ -313,7 +320,11 @@ is_android = current_os == "android"
+@@ -325,7 +332,11 @@ is_android = current_os == "android"
is_chromeos = current_os == "chromeos"
is_fuchsia = current_os == "fuchsia"
is_ios = current_os == "ios"
@@ -41,5 +41,5 @@
+is_freebsd = current_os == "freebsd"
+is_bsd = current_os == "openbsd" || current_os == "freebsd"
is_mac = current_os == "mac"
- is_nacl = current_os == "nacl"
- is_wasm = current_os == "emscripten"
+
+ # TODO(crbug.com/40511454): Remove is_nacl from all build files, then
diff --git a/www/ungoogled-chromium/files/patch-build_config_clang_BUILD.gn b/www/ungoogled-chromium/files/patch-build_config_clang_BUILD.gn
index cba054032aec..5c93cf4542cf 100644
--- a/www/ungoogled-chromium/files/patch-build_config_clang_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-build_config_clang_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/clang/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- build/config/clang/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ build/config/clang/BUILD.gn
-@@ -252,7 +252,12 @@ template("clang_lib") {
+@@ -268,7 +268,12 @@ template("clang_lib") {
# Adds a dependency on the Clang runtime library clang_rt.builtins.
clang_lib("compiler_builtins") {
diff --git a/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn b/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn
index eaade58e5d6a..14a748aefbd0 100644
--- a/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn
@@ -1,15 +1,24 @@
---- build/config/compiler/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- build/config/compiler/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ build/config/compiler/BUILD.gn
-@@ -197,7 +197,7 @@ declare_args() {
+@@ -194,7 +194,7 @@ declare_args() {
# This greatly reduces the size of debug builds, at the cost of
# debugging information which is required by some specialized
# debugging tools.
-- simple_template_names = is_clang && !is_nacl && !is_win && !is_apple
-+ simple_template_names = is_clang && !is_nacl && !is_win && !is_apple && !is_bsd
- }
+- simple_template_names = is_clang && !is_win && !is_apple
++ simple_template_names = is_clang && !is_win && !is_apple && !is_bsd
+
+ # This switch is used to enable -Wexit-time-destructors by default. This
+ # warning serves as a flip switch to allow a gradual migration of targets
+@@ -272,7 +272,7 @@ assert(!(llvm_force_head_revision && use_remoteexec &&
+ # Since this is referenced both when passing the file and when deciding which
+ # warnings to enable, store it in a separate variable here.
+ use_clang_warning_suppression_file =
+- default_toolchain != "//build/toolchain/cros:target" &&
++ !is_bsd && default_toolchain != "//build/toolchain/cros:target" &&
+ !llvm_android_mainline && is_clang && clang_warning_suppression_file != ""
- declare_args() {
-@@ -254,13 +254,16 @@ config("default_include_dirs") {
+ # default_include_dirs ---------------------------------------------------------
+@@ -290,13 +290,16 @@ config("default_include_dirs") {
# Compiler instrumentation can introduce dependencies in DSOs to symbols in
# the executable they are loaded into, so they are unresolved at link-time.
config("no_unresolved_symbols") {
@@ -27,7 +36,7 @@
}
# compiler ---------------------------------------------------------------------
-@@ -509,6 +512,10 @@ config("compiler") {
+@@ -564,6 +567,10 @@ config("compiler") {
}
}
@@ -38,43 +47,52 @@
# Linux-specific compiler flags setup.
# ------------------------------------
if (use_icf && (!is_apple || use_lld)) {
-@@ -569,7 +576,7 @@ config("compiler") {
+@@ -639,7 +646,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
-- if (is_clang && !is_nacl) {
-+ if (is_clang && !is_nacl && !is_bsd) {
+- if (is_clang) {
++ if (is_clang && !is_bsd) {
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
if (save_reproducers_on_lld_crash && use_lld) {
ldflags += [
-@@ -1227,7 +1234,7 @@ config("compiler_cpu_abi") {
- ]
+@@ -1281,7 +1288,7 @@ config("compiler_cpu_abi") {
+ # CPU architecture. We may or may not be doing a cross compile now, so for
+ # simplicity we always explicitly set the architecture.
+ if (current_cpu == "x64") {
+- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) {
+ cflags += [ "--target=x86_64-unknown-linux-gnu" ]
+ ldflags += [ "--target=x86_64-unknown-linux-gnu" ]
+ } else {
+@@ -1290,7 +1297,7 @@ config("compiler_cpu_abi") {
}
+ cflags += [ "-msse3" ]
+ } else if (current_cpu == "x86") {
+- if (is_clang && !is_android && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_chromeos_device && !Is_bsd) {
+ cflags += [ "--target=i386-unknown-linux-gnu" ]
+ ldflags += [ "--target=i386-unknown-linux-gnu" ]
+ } else {
+@@ -1302,7 +1309,7 @@ config("compiler_cpu_abi") {
+ "-msse3",
+ ]
} else if (current_cpu == "arm") {
-- if (is_clang && !is_android && !is_nacl && !is_chromeos_device) {
-+ if (is_clang && !is_android && !is_nacl && !is_chromeos_device && !is_bsd) {
+- if (is_clang && !is_android && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_chromeos_device && !is_bsd) {
cflags += [ "--target=arm-linux-gnueabihf" ]
ldflags += [ "--target=arm-linux-gnueabihf" ]
}
-@@ -1242,7 +1249,7 @@ config("compiler_cpu_abi") {
+@@ -1314,7 +1321,7 @@ config("compiler_cpu_abi") {
+ cflags += [ "-mtune=$arm_tune" ]
}
} else if (current_cpu == "arm64") {
- if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
-- !is_chromeos_device) {
-+ !is_chromeos_device && !is_bsd) {
+- if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_fuchsia && !is_chromeos_device && !is_bsd) {
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
}
-@@ -1576,7 +1583,7 @@ config("compiler_deterministic") {
- # different build directory like "out/feature_a" and "out/feature_b" if
- # we build same files with same compile flag.
- # Other paths are already given in relative, no need to normalize them.
-- if (is_nacl) {
-+ if (is_nacl || is_bsd) {
- # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
- cflags += [
- "-Xclang",
-@@ -1634,7 +1641,7 @@ config("compiler_deterministic") {
+@@ -1713,7 +1720,7 @@ config("compiler_deterministic") {
}
config("clang_revision") {
@@ -83,26 +101,17 @@
current_os != "zos") {
_perform_consistency_checks = current_toolchain == default_toolchain
if (llvm_force_head_revision) {
-@@ -1719,7 +1726,7 @@ config("clang_revision") {
- # e.g. by setting in the the project's .gn file.
- config("clang_warning_suppression") {
- # Some build configs use older versions of clang that don't support WSMs
-- if (!is_nacl && default_toolchain != "//build/toolchain/cros:target" &&
-+ if (!is_bsd && !is_nacl && default_toolchain != "//build/toolchain/cros:target" &&
- !llvm_android_mainline && is_clang &&
- clang_warning_suppression_file != "") {
- from_build_root =
-@@ -2053,9 +2060,6 @@ config("default_warnings") {
+@@ -2134,9 +2141,6 @@ config("default_warnings") {
- # TODO(crbug.com/40284799): Fix and re-enable.
- "-Wno-thread-safety-reference-return",
+ # TODO(crbug.com/40284799): Fix and re-enable.
+ "-Wno-thread-safety-reference-return",
-
-- # TODO(crbug.com/376641662): Fix and re-enable.
-- "-Wno-nontrivial-memcall",
- ]
+- # TODO(crbug.com/376641662): Fix and re-enable.
+- "-Wno-nontrivial-memcall",
+ ]
- cflags_cc += [
-@@ -2837,7 +2841,7 @@ config("afdo_optimize_size") {
+ cflags_cc += [
+@@ -2920,7 +2924,7 @@ config("afdo_optimize_size") {
# There are some targeted places that AFDO regresses, so we provide a separate
# config to allow AFDO to be disabled per-target.
config("afdo") {
@@ -111,7 +120,7 @@
cflags = []
if (clang_emit_debug_info_for_profiling) {
# Add the following flags to generate debug info for profiling.
-@@ -2864,7 +2868,7 @@ config("afdo") {
+@@ -2947,7 +2951,7 @@ config("afdo") {
cflags += [ "-Wno-backend-plugin" ]
inputs = [ _clang_sample_profile ]
}
@@ -120,12 +129,3 @@
cflags = [ "-fauto-profile=${auto_profile_path}" ]
inputs = [ auto_profile_path ]
}
-@@ -3041,7 +3045,7 @@ config("symbols") {
- cflags += [ "-gomit-unreferenced-methods" ]
- }
-
-- if (is_clang && (!is_nacl || is_nacl_saigo)) {
-+ if (is_clang && (!is_nacl || is_nacl_saigo) && !is_bsd) {
- if (is_apple) {
- # TODO(crbug.com/40117949): Investigate missing debug info on mac.
- # Make sure we don't use constructor homing on mac.
diff --git a/www/ungoogled-chromium/files/patch-build_config_rust.gni b/www/ungoogled-chromium/files/patch-build_config_rust.gni
index 2c730c3bddb6..e75d4aede50d 100644
--- a/www/ungoogled-chromium/files/patch-build_config_rust.gni
+++ b/www/ungoogled-chromium/files/patch-build_config_rust.gni
@@ -1,13 +1,15 @@
---- build/config/rust.gni.orig 2025-05-31 17:16:41 UTC
+--- build/config/rust.gni.orig 2025-09-10 13:22:16 UTC
+++ build/config/rust.gni
-@@ -361,6 +361,10 @@ if (is_linux || is_chromeos) {
+@@ -369,7 +369,11 @@ if (is_linux || is_chromeos) {
}
}
+-if (toolchain_has_rust) {
+if (is_bsd) {
+ rust_abi_target = string_replace(rust_abi_target, "linux-gnu", current_os)
+}
+
- assert(!toolchain_has_rust || rust_abi_target != "")
++if (toolchain_has_rust && !is_bsd) {
+ assert(rust_abi_target != "")
- # This variable is passed to the Rust libstd build.
+ _known_rust_target_triples_filepath = "//build/rust/known-target-triples.txt"
diff --git a/www/ungoogled-chromium/files/patch-build_linux_strip__binary.py b/www/ungoogled-chromium/files/patch-build_linux_strip__binary.py
index cf324c1fabd2..e73e7b33307c 100644
--- a/www/ungoogled-chromium/files/patch-build_linux_strip__binary.py
+++ b/www/ungoogled-chromium/files/patch-build_linux_strip__binary.py
@@ -1,10 +1,10 @@
---- build/linux/strip_binary.py.orig 2022-10-01 07:40:07 UTC
+--- build/linux/strip_binary.py.orig 2025-09-10 13:22:16 UTC
+++ build/linux/strip_binary.py
@@ -10,6 +10,7 @@ import sys
- def main():
+ def main() -> int:
+ return 0
- argparser = argparse.ArgumentParser(description='eu-strip binary.')
-
- argparser.add_argument('--eu-strip-binary-path', help='eu-strip path.')
+ parser = argparse.ArgumentParser(description="Strip binary using LLVM tools.")
+ parser.add_argument("--llvm-strip-binary-path",
+ help="Path to llvm-strip executable.")
diff --git a/www/ungoogled-chromium/files/patch-build_nocompile.gni b/www/ungoogled-chromium/files/patch-build_nocompile.gni
deleted file mode 100644
index 87e02640ac1a..000000000000
--- a/www/ungoogled-chromium/files/patch-build_nocompile.gni
+++ /dev/null
@@ -1,11 +0,0 @@
---- build/nocompile.gni.orig 2025-02-20 09:59:21 UTC
-+++ build/nocompile.gni
-@@ -55,7 +55,7 @@ if (is_win) {
- }
-
- declare_args() {
-- enable_nocompile_tests = is_clang && !is_nacl
-+ enable_nocompile_tests = is_clang && !is_nacl && !is_bsd
- }
-
- if (enable_nocompile_tests) {
diff --git a/www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs b/www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs
index 508b657a5761..0a97b7685343 100644
--- a/www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs
+++ b/www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs
@@ -1,17 +1,15 @@
-https://chromium.googlesource.com/chromium/src/+/8393b61ba876c8e1614275c97767f9b06b889f48
-https://chromium.googlesource.com/chromium/src/+/6aae0e2353c857d98980ff677bf304288d7c58de
-
---- build/rust/allocator/lib.rs.orig 2025-06-18 14:17:42.000000000 +0200
-+++ build/rust/allocator/lib.rs 2025-08-24 10:57:12.002293000 +0200
-@@ -89,9 +89,8 @@ mod both_allocators {
- /// As part of rustc's contract for using `#[global_allocator]` without
- /// rustc-generated shims we must define this symbol, since we are opting in
- /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015
-- #[no_mangle]
-- #[linkage = "weak"]
-- static __rust_no_alloc_shim_is_unstable: u8 = 0;
-+ #[rustc_std_internal_symbol]
-+ fn __rust_no_alloc_shim_is_unstable_v2() {}
+--- build/rust/allocator/lib.rs.orig 2025-09-10 13:22:16 UTC
++++ build/rust/allocator/lib.rs
+@@ -90,6 +90,12 @@ mod both_allocators {
+ #[linkage = "weak"]
+ fn __rust_no_alloc_shim_is_unstable_v2() {}
++ // TODO(crbug.com/422538133) Remove after rolling past
++ // https://github.com/rust-lang/rust/pull/141061
++ #[no_mangle]
++ #[linkage = "weak"]
++ static __rust_no_alloc_shim_is_unstable: u8 = 0;
++
// Mangle the symbol name as rustc expects.
#[rustc_std_internal_symbol]
+ #[allow(non_upper_case_globals)]
diff --git a/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni b/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni
index cf41ecf39584..d1ce41457f49 100644
--- a/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni
+++ b/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni
@@ -1,6 +1,6 @@
---- build/toolchain/gcc_toolchain.gni.orig 2025-04-15 08:30:07 UTC
+--- build/toolchain/gcc_toolchain.gni.orig 2025-09-10 13:22:16 UTC
+++ build/toolchain/gcc_toolchain.gni
-@@ -56,6 +56,13 @@ if (enable_resource_allowlist_generation) {
+@@ -49,6 +49,13 @@ if (enable_resource_allowlist_generation) {
"enable_resource_allowlist_generation=true does not work for target_os=$target_os")
}
@@ -14,7 +14,7 @@
# This template defines a toolchain for something that works like gcc
# (including clang).
#
-@@ -896,22 +903,12 @@ template("gcc_toolchain") {
+@@ -893,22 +900,12 @@ template("gcc_toolchain") {
# actually just be doing a native compile.
template("clang_toolchain") {
gcc_toolchain(target_name) {
diff --git a/www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni b/www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni
index 647a75106c5e..966e402e1c04 100644
--- a/www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni
+++ b/www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni
@@ -1,6 +1,6 @@
---- build/toolchain/toolchain.gni.orig 2025-05-06 12:23:00 UTC
+--- build/toolchain/toolchain.gni.orig 2025-09-10 13:22:16 UTC
+++ build/toolchain/toolchain.gni
-@@ -75,7 +75,7 @@ if (host_os == "mac") {
+@@ -63,7 +63,7 @@ if (host_os == "mac") {
host_shlib_extension = ".dylib"
} else if (host_os == "win") {
host_shlib_extension = ".dll"
diff --git a/www/ungoogled-chromium/files/patch-cc_base_features.cc b/www/ungoogled-chromium/files/patch-cc_base_features.cc
index aceab501275c..7946cee3580f 100644
--- a/www/ungoogled-chromium/files/patch-cc_base_features.cc
+++ b/www/ungoogled-chromium/files/patch-cc_base_features.cc
@@ -1,6 +1,6 @@
---- cc/base/features.cc.orig 2025-05-31 17:16:41 UTC
+--- cc/base/features.cc.orig 2025-09-10 13:22:16 UTC
+++ cc/base/features.cc
-@@ -52,7 +52,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr
+@@ -55,7 +55,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr
// be using a separate flag to control the launch on GL.
BASE_FEATURE(kUseDMSAAForTiles,
"UseDMSAAForTiles",
diff --git a/www/ungoogled-chromium/files/patch-chrome_app_chrome__main__delegate.cc b/www/ungoogled-chromium/files/patch-chrome_app_chrome__main__delegate.cc
index d21d704a085e..ce7e814dd002 100644
--- a/www/ungoogled-chromium/files/patch-chrome_app_chrome__main__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_app_chrome__main__delegate.cc
@@ -1,15 +1,6 @@
---- chrome/app/chrome_main_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/app/chrome_main_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/app/chrome_main_delegate.cc
-@@ -147,7 +147,7 @@
- #include "components/webui/about/credit_utils.h"
- #endif
-
--#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-+#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
- #include "components/nacl/common/nacl_paths.h"
- #include "components/nacl/zygote/nacl_fork_delegate_linux.h"
- #endif
-@@ -188,17 +188,17 @@
+@@ -179,17 +179,17 @@
#include "v8/include/v8.h"
#endif
@@ -30,7 +21,7 @@
#include "chrome/browser/policy/policy_path_parser.h"
#include "components/crash/core/app/crashpad.h"
#endif
-@@ -316,7 +316,7 @@ void AdjustLinuxOOMScore(const std::string& process_ty
+@@ -294,7 +294,7 @@ void AdjustLinuxOOMScore(const std::string& process_ty
// and resources loaded.
bool SubprocessNeedsResourceBundle(const std::string& process_type) {
return
@@ -39,7 +30,7 @@
// The zygote process opens the resources for the renderers.
process_type == switches::kZygoteProcess ||
#endif
-@@ -399,7 +399,7 @@ bool HandleVersionSwitches(const base::CommandLine& co
+@@ -373,7 +373,7 @@ bool HandleVersionSwitches(const base::CommandLine& co
return false;
}
@@ -48,7 +39,7 @@
// 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) ||
-@@ -411,7 +411,7 @@ void HandleHelpSwitches(const base::CommandLine& comma
+@@ -385,7 +385,7 @@ void HandleHelpSwitches(const base::CommandLine& comma
}
#endif // BUILDFLAG(IS_LINUX)
@@ -57,7 +48,7 @@
void SIGTERMProfilingShutdown(int signal) {
content::Profiling::Stop();
struct sigaction sigact;
-@@ -493,7 +493,7 @@ std::optional<int> AcquireProcessSingleton(
+@@ -467,7 +467,7 @@ std::optional<int> AcquireProcessSingleton(
// process can be exited.
ChromeProcessSingleton::CreateInstance(user_data_dir);
@@ -66,7 +57,7 @@
// Read the xdg-activation token and set it in the command line for the
// duration of the notification in order to ensure this is propagated to an
// already running browser process if it exists.
-@@ -571,7 +571,7 @@ void InitializeUserDataDir(base::CommandLine* command_
+@@ -545,7 +545,7 @@ void InitializeUserDataDir(base::CommandLine* command_
std::string process_type =
command_line->GetSwitchValueASCII(switches::kProcessType);
@@ -75,7 +66,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.
-@@ -669,7 +669,7 @@ void RecordMainStartupMetrics(const StartupTimestamps&
+@@ -643,7 +643,7 @@ void RecordMainStartupMetrics(const StartupTimestamps&
#endif
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
@@ -84,7 +75,7 @@
// Record the startup process creation time on supported platforms. On Android
// this is recorded in ChromeMainDelegateAndroid.
startup_metric_utils::GetCommon().RecordStartupProcessCreationTime(
-@@ -828,7 +828,7 @@ std::optional<int> ChromeMainDelegate::PostEarlyInitia
+@@ -802,7 +802,7 @@ std::optional<int> ChromeMainDelegate::PostEarlyInitia
#if BUILDFLAG(IS_OZONE)
// Initialize Ozone platform and add required feature flags as per platform's
// properties.
@@ -93,7 +84,7 @@
ui::SetOzonePlatformForLinuxIfNeeded(*base::CommandLine::ForCurrentProcess());
#endif
ui::OzonePlatform::PreEarlyInitialization();
-@@ -983,7 +983,7 @@ void ChromeMainDelegate::CommonEarlyInitialization(Inv
+@@ -957,7 +957,7 @@ void ChromeMainDelegate::CommonEarlyInitialization() {
const bool is_canary_dev = IsCanaryDev();
const bool emit_crashes =
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -102,7 +93,7 @@
is_canary_dev;
#else
false;
-@@ -1131,7 +1131,7 @@ std::optional<int> ChromeMainDelegate::BasicStartupCom
+@@ -1105,7 +1105,7 @@ std::optional<int> ChromeMainDelegate::BasicStartupCom
return 0; // Got a --credits switch; exit with a success error code.
}
@@ -111,16 +102,7 @@
// This will directly exit if the user asked for help.
HandleHelpSwitches(command_line);
#endif
-@@ -1156,7 +1156,7 @@ std::optional<int> ChromeMainDelegate::BasicStartupCom
- ash::RegisterPathProvider();
- chromeos::dbus_paths::RegisterPathProvider();
- #endif
--#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-+#if BUILDFLAG(ENABLE_NACL) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
- nacl::RegisterPathProvider();
- #endif
-
-@@ -1444,7 +1444,7 @@ void ChromeMainDelegate::PreSandboxStartup() {
+@@ -1409,7 +1409,7 @@ void ChromeMainDelegate::PreSandboxStartup() {
CHECK(!loaded_locale.empty()) << "Locale could not be found for " << locale;
}
@@ -129,19 +111,3 @@
// Zygote needs to call InitCrashReporter() in RunZygote().
if (process_type != switches::kZygoteProcess &&
!command_line.HasSwitch(switches::kDisableCrashpadForTesting)) {
-@@ -1532,13 +1532,13 @@ std::variant<int, content::MainFunctionParams> ChromeM
- #else
-
- #if BUILDFLAG(IS_MAC) || (BUILDFLAG(ENABLE_NACL) && !BUILDFLAG(IS_LINUX) && \
-- !BUILDFLAG(IS_CHROMEOS))
-+ !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD))
- static const MainFunction kMainFunctions[] = {
- #if BUILDFLAG(IS_MAC)
- {switches::kRelauncherProcess, mac_relauncher::internal::RelauncherMain},
- {switches::kCodeSignCloneCleanupProcess,
- code_sign_clone_manager::internal::ChromeCodeSignCloneCleanupMain},
--#elif BUILDFLAG(ENABLE_NACL) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(ENABLE_NACL) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD)
- // This entry is not needed on Linux, where the NaCl loader
- // process is launched via nacl_helper instead.
- {switches::kNaClLoaderProcess, NaClMain},
diff --git a/www/ungoogled-chromium/files/patch-chrome_app_settings__strings.grdp b/www/ungoogled-chromium/files/patch-chrome_app_settings__strings.grdp
new file mode 100644
index 000000000000..47a91936aaac
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_app_settings__strings.grdp
@@ -0,0 +1,16 @@
+--- chrome/app/settings_strings.grdp.orig 2025-09-10 13:22:16 UTC
++++ chrome/app/settings_strings.grdp
+@@ -240,11 +240,9 @@
+ <message name="IDS_SETTINGS_RESET_TO_DEFAULT" desc="Name of the control which resets a browser setting back to the default value">
+ Reset to default
+ </message>
+- <if expr="not is_linux">
+- <message name="IDS_SETTINGS_RESET_TO_DEFAULT_THEME" desc="Accessibility label of the button which resets the browser theme back to the default value">
++ <message name="IDS_SETTINGS_RESET_TO_DEFAULT_THEME" desc="Accessibility label of the button which resets the browser theme back to the default value">
+ Reset to default theme
+- </message>
+- </if>
++ </message>
+ <message name="IDS_SETTINGS_CUSTOMIZE_TOOLBAR" desc="Text of the button which allows you to customize your toolbar.">
+ Customize your toolbar
+ </message>
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_BUILD.gn b/www/ungoogled-chromium/files/patch-chrome_browser_BUILD.gn
index b944132e4a46..a1b8204b9f18 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/BUILD.gn.orig 2025-06-17 07:21:45 UTC
+--- chrome/browser/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/BUILD.gn
-@@ -6883,6 +6883,13 @@ static_library("browser") {
+@@ -7008,6 +7008,13 @@ static_library("browser") {
[ "//third_party/webrtc/modules/desktop_capture:pipewire_config" ]
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc b/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc
index 41cd8aac5a4e..0dec178d6282 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc
@@ -1,25 +1,13 @@
---- chrome/browser/about_flags.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/about_flags.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/about_flags.cc
-@@ -263,7 +263,7 @@
- #include "extensions/common/extension_features.h"
+@@ -329,12 +329,12 @@
+ #include "components/stylus_handwriting/win/features.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "base/allocator/buildflags.h"
- #endif
-
-@@ -353,7 +353,7 @@
- #include "device/vr/public/cpp/switches.h"
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "ui/ozone/public/ozone_switches.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-
-@@ -363,7 +363,7 @@
- #include "chrome/browser/win/mica_titlebar.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -27,34 +15,7 @@
#include "chrome/browser/contextual_cueing/contextual_cueing_features.h" // nogncheck
#include "chrome/browser/enterprise/profile_management/profile_management_features.h"
#include "chrome/browser/enterprise/webstore/features.h"
-@@ -375,7 +375,7 @@
- #include "components/user_education/common/user_education_features.h" // nogncheck
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/ui_features.h"
- #include "ui/base/ui_base_features.h"
- #endif
-@@ -427,7 +427,7 @@ const FeatureEntry::Choice kPullToRefreshChoices[] = {
- #endif // USE_AURA
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
-
- const FeatureEntry::FeatureParam kLocalNetworkAccessChecksBlock[] = {
- {"LocalNetworkAccessChecksWarn", "false"}};
-@@ -543,7 +543,7 @@ const FeatureEntry::FeatureVariation kDXGIWaitableSwap
- {"Max 3 Frames", &kDXGIWaitableSwapChain3Frames, 1, nullptr}};
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const FeatureEntry::Choice kOzonePlatformHintRuntimeChoices[] = {
- {flag_descriptions::kOzonePlatformHintChoiceDefault, "", ""},
- {flag_descriptions::kOzonePlatformHintChoiceAuto,
-@@ -900,6 +900,26 @@ const FeatureEntry::FeatureVariation
+@@ -905,6 +905,26 @@ const FeatureEntry::FeatureVariation
std::size(kWebIdentityDigitalIdentityCredentialHighRiskDialogParam),
nullptr}};
@@ -81,16 +42,7 @@
const FeatureEntry::FeatureParam kClipboardMaximumAge60Seconds[] = {
{"UIClipboardMaximumAge", "60"}};
const FeatureEntry::FeatureParam kClipboardMaximumAge90Seconds[] = {
-@@ -1275,7 +1295,7 @@ constexpr FeatureEntry::FeatureVariation
- #endif // !BUILDFLAG(IS_ANDROID)
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- const FeatureEntry::FeatureParam kHistoryEmbeddingsAtKeywordAcceleration[]{
- {"AtKeywordAcceleration", "true"},
- };
-@@ -1313,7 +1333,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada
+@@ -1285,7 +1305,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada
};
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -99,7 +51,7 @@
// A limited number of combinations of the rich autocompletion params.
const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive1[] = {
-@@ -3721,7 +3741,7 @@ const FeatureEntry::FeatureVariation kAndroidThemeModu
+@@ -3921,7 +3941,7 @@ const FeatureEntry::FeatureVariation
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -108,7 +60,7 @@
const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOn[] =
{{"link_capturing_state", "on_by_default"}};
const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOff[] =
-@@ -4180,7 +4200,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari
+@@ -4217,7 +4237,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari
std::size(kSkiaGraphite_DebugLabelsEnabled), nullptr},
};
@@ -117,7 +69,7 @@
const FeatureEntry::FeatureParam kTranslationAPI_SkipLanguagePackLimit[] = {
{"TranslationAPIAcceptLanguagesCheck", "false"},
{"TranslationAPILimitLanguagePackCount", "false"}};
-@@ -4246,7 +4266,7 @@ const FeatureEntry::FeatureVariation
+@@ -4258,7 +4278,7 @@ const FeatureEntry::FeatureVariation
1, nullptr},
};
@@ -126,7 +78,7 @@
const FeatureEntry::FeatureParam kContextualCueingEnabledNoEngagementCap[] = {
{"BackoffTime", "0h"},
{"BackoffMultiplierBase", "0.0"},
-@@ -5184,7 +5204,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -5477,7 +5497,7 @@ const FeatureEntry kFeatureEntries[] = {
},
#endif // BUILDFLAG(IS_WIN)
@@ -135,7 +87,7 @@
{
"fluent-overlay-scrollbars",
flag_descriptions::kFluentOverlayScrollbarsName,
-@@ -5476,7 +5496,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -5776,7 +5796,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kEnableIsolatedWebAppDevModeName,
flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)},
@@ -144,16 +96,16 @@
{"enable-iwa-key-distribution-component",
flag_descriptions::kEnableIwaKeyDistributionComponentName,
flag_descriptions::kEnableIwaKeyDistributionComponentDescription,
-@@ -5698,7 +5718,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(features::kWebShare)},
- #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+@@ -5990,7 +6010,7 @@ const FeatureEntry kFeatureEntries[] = {
+ FEATURE_VALUE_TYPE(media::kUseSCContentSharingPicker)},
+ #endif // BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"pulseaudio-loopback-for-cast",
flag_descriptions::kPulseaudioLoopbackForCastName,
flag_descriptions::kPulseaudioLoopbackForCastDescription, kOsLinux,
-@@ -5739,6 +5759,16 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -6023,6 +6043,16 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kWaylandSessionManagementName,
flag_descriptions::kWaylandSessionManagementDescription, kOsLinux,
FEATURE_VALUE_TYPE(features::kWaylandSessionManagement)},
@@ -170,16 +122,16 @@
#endif // BUILDFLAG(IS_LINUX)
#if BUILDFLAG(ENABLE_VR)
-@@ -6638,7 +6668,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -6924,7 +6954,7 @@ const FeatureEntry kFeatureEntries[] = {
"MlUrlScoring")},
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- {"omnibox-contextual-search-actions-at-top",
- flag_descriptions::kOmniboxContextualSearchActionsAtTopName,
- flag_descriptions::kOmniboxContextualSearchActionsAtTopDescription,
-@@ -6942,7 +6972,7 @@ const FeatureEntry kFeatureEntries[] = {
+ {"contextual-search-box-uses-contextual-search-provider",
+ flag_descriptions::kContextualSearchBoxUsesContextualSearchProviderName,
+ flag_descriptions::
+@@ -7323,7 +7353,7 @@ const FeatureEntry kFeatureEntries[] = {
kNumSrpZpsRelatedSearches,
"PowerTools")},
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -187,26 +139,17 @@
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
{"history-embeddings", flag_descriptions::kHistoryEmbeddingsName,
flag_descriptions::kHistoryEmbeddingsDescription, kOsDesktop,
- FEATURE_WITH_PARAMS_VALUE_TYPE(history_embeddings::kHistoryEmbeddings,
-@@ -7430,7 +7460,7 @@ const FeatureEntry kFeatureEntries[] = {
+ FEATURE_VALUE_TYPE(history_embeddings::kHistoryEmbeddings)},
+@@ -7828,7 +7858,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(printing::features::kAddPrinterViaPrintscanmgr)},
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"cups-ipp-printing-backend",
flag_descriptions::kCupsIppPrintingBackendName,
flag_descriptions::kCupsIppPrintingBackendDescription, kOsDesktop,
-@@ -7700,7 +7730,7 @@ const FeatureEntry kFeatureEntries[] = {
- flag_descriptions::kSupportToolScreenshotDescription, kOsDesktop,
- FEATURE_VALUE_TYPE(features::kSupportToolScreenshot)},
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- {"wasm-tts-component-updater-enabled",
- flag_descriptions::kWasmTtsComponentUpdaterEnabledName,
- flag_descriptions::kWasmTtsComponentUpdaterEnabledDescription, kOsDesktop,
-@@ -8382,7 +8412,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -8789,7 +8819,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(media::kGlobalMediaControlsUpdatedUI)},
#endif // !BUILDFLAG(IS_CHROMEOS)
@@ -215,7 +158,7 @@
{"enable-network-service-sandbox",
flag_descriptions::kEnableNetworkServiceSandboxName,
flag_descriptions::kEnableNetworkServiceSandboxDescription,
-@@ -9046,7 +9076,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -9416,7 +9446,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(ash::features::kWallpaperGooglePhotosSharedAlbums)},
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -224,7 +167,7 @@
{"enable-get-all-screens-media", flag_descriptions::kGetAllScreensMediaName,
flag_descriptions::kGetAllScreensMediaDescription, kOsCrOS | kOsLinux,
FEATURE_VALUE_TYPE(blink::features::kGetAllScreensMedia)},
-@@ -9071,7 +9101,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -9441,7 +9471,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kGlobalVaapiLockDescription, kOsCrOS | kOsLinux,
FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)},
@@ -233,7 +176,7 @@
{
"ui-debug-tools",
flag_descriptions::kUIDebugToolsName,
-@@ -9551,7 +9581,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -9897,7 +9927,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -242,7 +185,16 @@
{"media-session-enter-picture-in-picture",
flag_descriptions::kMediaSessionEnterPictureInPictureName,
flag_descriptions::kMediaSessionEnterPictureInPictureDescription,
-@@ -10223,7 +10253,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -10083,7 +10113,7 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kReduceTransferSizeUpdatedIPCDescription, kOsAll,
+ FEATURE_VALUE_TYPE(network::features::kReduceTransferSizeUpdatedIPC)},
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ {"reduce-user-agent-data-linux-platform-version",
+ flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionName,
+ flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionDescription,
+@@ -10582,7 +10612,7 @@ const FeatureEntry kFeatureEntries[] = {
kOsDesktop | kOsAndroid,
FEATURE_VALUE_TYPE(features::kProcessPerSiteUpToMainFrameThreshold)},
@@ -251,16 +203,16 @@
{"camera-mic-effects", flag_descriptions::kCameraMicEffectsName,
flag_descriptions::kCameraMicEffectsDescription,
static_cast<unsigned short>(kOsMac | kOsWin | kOsLinux),
-@@ -10347,7 +10377,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(chrome::android::kReadAloudTapToSeek)},
- #endif
+@@ -10705,7 +10735,7 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kRcapsDynamicProfileCountryDescription, kOsAll,
+ FEATURE_VALUE_TYPE(switches::kDynamicProfileCountry)},
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
{"third-party-profile-management",
flag_descriptions::kThirdPartyProfileManagementName,
flag_descriptions::kThirdPartyProfileManagementDescription,
-@@ -10376,7 +10406,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -10734,7 +10764,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -269,7 +221,16 @@
{"enable-user-navigation-capturing-pwa",
flag_descriptions::kPwaNavigationCapturingName,
flag_descriptions::kPwaNavigationCapturingDescription,
-@@ -11094,7 +11124,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -11299,7 +11329,7 @@ const FeatureEntry kFeatureEntries[] = {
+ PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootGravedigger")},
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ {"replace-sync-promos-with-sign-in-promos-desktop",
+ flag_descriptions::kReplaceSyncPromosWithSignInPromosName,
+ flag_descriptions::kReplaceSyncPromosWithSignInPromosDescription,
+@@ -11458,7 +11488,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kCanvasHibernationDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kCanvas2DHibernation)},
@@ -278,16 +239,16 @@
{"enable-history-sync-optin",
flag_descriptions::kEnableHistorySyncOptinName,
flag_descriptions::kEnableHistorySyncOptinDescription,
-@@ -11196,7 +11226,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(switches::kForceSupervisedSigninWithCapabilities)},
+@@ -11561,7 +11591,7 @@ const FeatureEntry kFeatureEntries[] = {
+ "HistoryOptInEducationalTipVariations")},
#endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- {"supervised-profile-safe-search",
- flag_descriptions::kSupervisedProfileSafeSearchName,
- flag_descriptions::kSupervisedProfileSafeSearchDescription,
-@@ -11444,7 +11474,7 @@ const FeatureEntry kFeatureEntries[] = {
+ {"supervised-user-local-web-approvals",
+ flag_descriptions::kSupervisedUserLocalWebApprovalsName,
+ flag_descriptions::kSupervisedUserLocalWebApprovalsDescription,
+@@ -11787,7 +11817,7 @@ const FeatureEntry kFeatureEntries[] = {
segmentation_platform::features::kSegmentationSurveyPage)},
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -296,7 +257,7 @@
{"autofill-enable-buy-now-pay-later",
flag_descriptions::kAutofillEnableBuyNowPayLaterName,
flag_descriptions::kAutofillEnableBuyNowPayLaterDescription, kOsDesktop,
-@@ -11545,7 +11575,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -11886,7 +11916,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(
autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)},
@@ -305,7 +266,7 @@
{"translation-api", flag_descriptions::kTranslationAPIName,
flag_descriptions::kTranslationAPIDescription, kOsMac | kOsWin | kOsLinux,
FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kTranslationAPI,
-@@ -11582,7 +11612,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -11920,7 +11950,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(
password_manager::features::kPasswordFormClientsideClassifier)},
@@ -314,7 +275,7 @@
{"contextual-cueing", flag_descriptions::kContextualCueingName,
flag_descriptions::kContextualCueingDescription,
kOsLinux | kOsMac | kOsWin,
-@@ -11913,7 +11943,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12250,7 +12280,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(ui::kUseNewEtc1Encoder)},
#endif // !BUILDFLAG(IS_ANDROID)
@@ -323,7 +284,7 @@
{"automatic-usb-detach", flag_descriptions::kAutomaticUsbDetachName,
flag_descriptions::kAutomaticUsbDetachDescription, kOsAndroid | kOsLinux,
FEATURE_VALUE_TYPE(features::kAutomaticUsbDetach)},
-@@ -11963,7 +11993,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12294,7 +12324,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // !BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -332,8 +293,8 @@
{"autofill-enable-amount-extraction-desktop",
flag_descriptions::kAutofillEnableAmountExtractionDesktopName,
flag_descriptions::kAutofillEnableAmountExtractionDesktopDescription,
-@@ -11983,7 +12013,7 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(blink::features::kClipboardContentsId)},
+@@ -12314,7 +12344,7 @@ const FeatureEntry kFeatureEntries[] = {
+ FEATURE_VALUE_TYPE(blink::features::kClipboardChangeEvent)},
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
@@ -341,7 +302,7 @@
{"autofill-enable-amount-extraction-allowlist-desktop",
flag_descriptions::kAutofillEnableAmountExtractionAllowlistDesktopName,
flag_descriptions::
-@@ -12101,7 +12131,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12446,7 +12476,7 @@ const FeatureEntry kFeatureEntries[] = {
apps::chrome_app_deprecation::kAllowUserInstalledChromeApps)},
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -350,30 +311,75 @@
{"chrome-web-store-navigation-throttle",
flag_descriptions::kChromeWebStoreNavigationThrottleName,
flag_descriptions::kChromeWebStoreNavigationThrottleDescription,
-@@ -12137,7 +12167,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12482,7 +12512,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- {"autofill-enable-amount-extraction-desktop-logging",
- flag_descriptions::kAutofillEnableAmountExtractionDesktopLoggingName,
- flag_descriptions::
-@@ -12160,7 +12190,7 @@ const FeatureEntry kFeatureEntries[] = {
- flag_descriptions::kEnableWebAppUpdateTokenParsingDescription, kOsAll,
- FEATURE_VALUE_TYPE(features::kWebAppEnableUpdateTokenParsing)},
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ {"autofill-enable-amount-extraction-testing",
+ flag_descriptions::kAutofillEnableAmountExtractionTestingName,
+ flag_descriptions::kAutofillEnableAmountExtractionTestingDescription,
+@@ -12497,7 +12527,7 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kEnableWebAppPredictableAppUpdatingDescription, kOsAll,
+ FEATURE_VALUE_TYPE(features::kWebAppPredictableAppUpdating)},
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"root-scrollbar-follows-browser-theme",
flag_descriptions::kRootScrollbarFollowsTheme,
flag_descriptions::kRootScrollbarFollowsThemeDescription,
-@@ -12189,7 +12219,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -12748,7 +12778,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {"tab-group-home", tabs::flag_descriptions::kTabGroupHomeName,
+ tabs::flag_descriptions::kTabGroupHomeDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(tabs::kTabGroupHome)},
+@@ -12834,7 +12864,7 @@ const FeatureEntry kFeatureEntries[] = {
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- {"local-network-access-check",
- flag_descriptions::kLocalNetworkAccessChecksName,
- flag_descriptions::kLocalNetworkAccessChecksDescription, kOsDesktop,
+ {"enable-site-search-allow-user-override-policy",
+ flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyName,
+ flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyDescription,
+@@ -12957,7 +12987,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // !BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ {"lens-search-side-panel-default-width-change",
+ flag_descriptions::kLensSearchSidePanelDefaultWidthChangeName,
+ flag_descriptions::kLensSearchSidePanelDefaultWidthChangeDescription,
+@@ -12981,7 +13011,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {"autofill-enable-buy-now-pay-later-for-klarna",
+ flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaName,
+ flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaDescription,
+@@ -13019,7 +13049,7 @@ const FeatureEntry kFeatureEntries[] = {
+ autofill::features::kAutofillEnableDownstreamCardAwarenessIph)},
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ {"enable-lens-overlay-back-to-page",
+ flag_descriptions::kLensOverlayBackToPageName,
+ flag_descriptions::kLensOverlayBackToPageDescription, kOsDesktop,
+@@ -13068,7 +13098,7 @@ const FeatureEntry kFeatureEntries[] = {
+ #endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {"autofill-enable-buy-now-pay-later-for-externally-linked",
+ flag_descriptions::kAutofillEnableBuyNowPayLaterForExternallyLinkedName,
+ flag_descriptions::
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc b/www/ungoogled-chromium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc
index 9bd280dac2d8..f5494e895789 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_autocomplete_chrome__autocomplete__scheme__classifier.cc
@@ -1,11 +1,11 @@
---- chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc.orig 2024-05-23 20:04:36 UTC
+--- chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
-@@ -89,7 +89,7 @@ ChromeAutocompleteSchemeClassifier::GetInputTypeForSch
+@@ -105,7 +105,7 @@ ChromeAutocompleteSchemeClassifier::GetInputTypeForSch
return metrics::OmniboxInputType::QUERY;
case ExternalProtocolHandler::UNKNOWN: {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Linux impl of GetApplicationNameForScheme doesn't distinguish
// between URL schemes with handers and those without. This will
// make the default behaviour be search on Linux.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc
index b6075f9e96af..00a76e2dcfe1 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_background_extensions_background__mode__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/background/extensions/background_mode_manager.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/background/extensions/background_mode_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/background/extensions/background_mode_manager.cc
-@@ -893,7 +893,7 @@ gfx::ImageSkia GetStatusTrayIcon() {
+@@ -879,7 +879,7 @@ gfx::ImageSkia GetStatusTrayIcon() {
}
return family->CreateExact(size).AsImageSkia();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc b/www/ungoogled-chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc
index c068a22245f4..915bb2c4e746 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_background_glic_glic__status__icon.cc
@@ -1,6 +1,6 @@
---- chrome/browser/background/glic/glic_status_icon.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/background/glic/glic_status_icon.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/background/glic/glic_status_icon.cc
-@@ -86,7 +86,7 @@ GlicStatusIcon::GlicStatusIcon(GlicController* control
+@@ -93,7 +93,7 @@ GlicStatusIcon::GlicStatusIcon(GlicController* control
if (!status_icon_) {
return;
}
@@ -9,7 +9,7 @@
// Set a vector icon for proper themeing on Linux.
status_icon_->SetIcon(
GlicVectorIconManager::GetVectorIcon(IDR_GLIC_BUTTON_VECTOR_ICON));
-@@ -128,7 +128,7 @@ GlicStatusIcon::~GlicStatusIcon() {
+@@ -135,7 +135,7 @@ GlicStatusIcon::~GlicStatusIcon() {
context_menu_ = nullptr;
if (status_icon_) {
@@ -18,7 +18,7 @@
status_icon_->RemoveObserver(this);
#endif
std::unique_ptr<StatusIcon> removed_icon =
-@@ -234,7 +234,7 @@ void GlicStatusIcon::UpdateHotkey(const ui::Accelerato
+@@ -243,7 +243,7 @@ void GlicStatusIcon::UpdateHotkey(const ui::Accelerato
}
void GlicStatusIcon::UpdateVisibilityOfExitInContextMenu() {
@@ -27,7 +27,7 @@
if (context_menu_) {
const bool is_visible = BrowserList::GetInstance()->empty();
const std::optional<size_t> index =
-@@ -284,7 +284,7 @@ std::unique_ptr<StatusIconMenuModel> GlicStatusIcon::C
+@@ -293,7 +293,7 @@ std::unique_ptr<StatusIconMenuModel> GlicStatusIcon::C
menu->AddItem(IDC_GLIC_STATUS_ICON_MENU_SETTINGS,
l10n_util::GetStringUTF16(IDS_GLIC_STATUS_ICON_MENU_SETTINGS));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.cc b/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.cc
index 3a7f59c641fd..ede33a0fb243 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/browser_features.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/browser_features.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/browser_features.cc
-@@ -75,7 +75,7 @@ BASE_FEATURE(kClearUserDataUponProfileDestruction,
+@@ -80,7 +80,7 @@ BASE_FEATURE(kClearUserDataUponProfileDestruction,
"ClearUserDataUponProfileDestruction",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -9,7 +9,7 @@
// Enables usage of os_crypt_async::SecretPortalKeyProvider. Once
// `kSecretPortalKeyProviderUseForEncryption` is enabled, this flag cannot be
// disabled without losing data.
-@@ -94,7 +94,7 @@ BASE_FEATURE(kUseFreedesktopSecretKeyProvider,
+@@ -99,7 +99,7 @@ BASE_FEATURE(kUseFreedesktopSecretKeyProvider,
// the browser exits.
BASE_FEATURE(kDestroyProfileOnBrowserClose,
"DestroyProfileOnBrowserClose",
@@ -18,7 +18,7 @@
base::FEATURE_ENABLED_BY_DEFAULT);
#else
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -227,7 +227,7 @@ BASE_FEATURE(kSandboxExternalProtocolBlockedWarning,
+@@ -241,7 +241,7 @@ BASE_FEATURE(kSandboxExternalProtocolBlockedWarning,
"SandboxExternalProtocolBlockedWarning",
base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.h b/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.h
index d58d0ac2c48a..29c459e068ed 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_browser__features.h
@@ -1,6 +1,6 @@
---- chrome/browser/browser_features.h.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/browser_features.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/browser_features.h
-@@ -38,7 +38,7 @@ BASE_DECLARE_FEATURE(kCertificateTransparencyAskBefore
+@@ -39,7 +39,7 @@ BASE_DECLARE_FEATURE(kCertificateTransparencyAskBefore
BASE_DECLARE_FEATURE(kCertVerificationNetworkTime);
BASE_DECLARE_FEATURE(kClearUserDataUponProfileDestruction);
@@ -9,7 +9,7 @@
BASE_DECLARE_FEATURE(kDbusSecretPortal);
BASE_DECLARE_FEATURE(kUseFreedesktopSecretKeyProvider);
#endif
-@@ -100,7 +100,7 @@ BASE_DECLARE_FEATURE(kRestartNetworkServiceUnsandboxed
+@@ -87,7 +87,7 @@ BASE_DECLARE_FEATURE(kRestartNetworkServiceUnsandboxed
BASE_DECLARE_FEATURE(kSandboxExternalProtocolBlocked);
BASE_DECLARE_FEATURE(kSandboxExternalProtocolBlockedWarning);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.cc
index 786961db18c5..7d802a62ab7f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/browser_process_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/browser_process_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/browser_process_impl.cc
-@@ -262,7 +262,7 @@
+@@ -259,7 +259,7 @@
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/browser_features.h"
#include "components/os_crypt/async/browser/fallback_linux_key_provider.h"
#include "components/os_crypt/async/browser/freedesktop_secret_key_provider.h"
-@@ -274,7 +274,7 @@
+@@ -271,7 +271,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#endif
@@ -18,7 +18,7 @@
// How often to check if the persistent instance of Chrome needs to restart
// to install an update.
static const int kUpdateCheckIntervalHours = 6;
-@@ -1181,7 +1181,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim
+@@ -1184,7 +1184,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySim
GoogleUpdateSettings::GetCollectStatsConsent());
registry->RegisterBooleanPref(prefs::kDevToolsRemoteDebuggingAllowed, true);
@@ -27,7 +27,7 @@
os_crypt_async::SecretPortalKeyProvider::RegisterLocalPrefs(registry);
#endif
}
-@@ -1446,7 +1446,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
+@@ -1449,7 +1449,7 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
local_state())));
#endif // BUILDFLAG(IS_WIN)
@@ -36,7 +36,7 @@
base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
if (cmd_line->GetSwitchValueASCII(password_manager::kPasswordStore) !=
"basic") {
-@@ -1730,7 +1730,7 @@ void BrowserProcessImpl::Unpin() {
+@@ -1729,7 +1729,7 @@ void BrowserProcessImpl::Unpin() {
}
// Mac is currently not supported.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.h b/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.h
index 77d13ff22904..52e757e0b362 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_browser__process__impl.h
@@ -1,6 +1,6 @@
---- chrome/browser/browser_process_impl.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/browser_process_impl.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/browser_process_impl.h
-@@ -413,7 +413,7 @@ class BrowserProcessImpl : public BrowserProcess,
+@@ -411,7 +411,7 @@ class BrowserProcessImpl : public BrowserProcess,
std::unique_ptr<BatteryMetrics> battery_metrics_;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.cc b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.cc
index dfa4a9448c3d..05c3f80048a9 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_field_trials.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/chrome_browser_field_trials.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/chrome_browser_field_trials.cc
-@@ -38,7 +38,7 @@
+@@ -45,7 +45,7 @@
#include "chromeos/ash/services/multidevice_setup/public/cpp/first_run_field_trial.h"
#endif
@@ -9,12 +9,12 @@
#include "base/nix/xdg_util.h"
#include "ui/base/ui_base_features.h"
#endif // BUILDFLAG(IS_LINUX)
-@@ -118,7 +118,7 @@ void ChromeBrowserFieldTrials::RegisterSyntheticTrials
- #endif // BUILDFLAG(IS_ANDROID)
- }
+@@ -101,7 +101,7 @@ void ChromeBrowserFieldTrials::RegisterFeatureOverride
+ base::FeatureList* feature_list) {
+ variations::FeatureOverrides feature_overrides(*feature_list);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // On Linux/Desktop platform variants, such as ozone/wayland, some features
- // might need to be disabled as per OzonePlatform's runtime properties.
- // OzonePlatform selection and initialization, in turn, depend on Chrome flags
+ // On Linux/Desktop platform variants, such as ozone/wayland, some features
+ // might need to be disabled as per OzonePlatform's runtime properties.
+ // OzonePlatform selection and initialization, in turn, depend on Chrome flags
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.h b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.h
deleted file mode 100644
index 7367fe8f22b1..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__field__trials.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/chrome_browser_field_trials.h.orig 2024-11-16 12:20:41 UTC
-+++ chrome/browser/chrome_browser_field_trials.h
-@@ -33,7 +33,7 @@ class ChromeBrowserFieldTrials : public variations::Pl
- const variations::EntropyProviders& entropy_providers,
- base::FeatureList* feature_list) override;
- void RegisterSyntheticTrials() override;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void RegisterFeatureOverrides(base::FeatureList* feature_list) override;
- #endif
-
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc
index 3622e35e3c4b..de72c61b4715 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_interface_binders.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/chrome_browser_interface_binders.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/chrome_browser_interface_binders.cc
-@@ -81,7 +81,7 @@
+@@ -82,7 +82,7 @@
#endif // BUILDFLAG(ENABLE_UNHANDLED_TAP)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/web_applications/sub_apps_service_impl.h"
#endif
-@@ -497,7 +497,7 @@ void PopulateChromeFrameBinders(
+@@ -521,7 +521,7 @@ void PopulateChromeFrameBinders(
#endif // BUILDFLAG(ENABLE_SPEECH_SERVICE)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
index d90d27bd63f7..fa8b2d8f4002 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__interface__binders__webui.cc
@@ -1,13 +1,11 @@
---- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/chrome_browser_interface_binders_webui.cc.orig 2025-09-11 16:30:26 UTC
+++ chrome/browser/chrome_browser_interface_binders_webui.cc
-@@ -48,20 +48,20 @@
- #include "content/public/browser/web_ui_controller_interface_binder.h"
+@@ -51,18 +51,18 @@
+ #include "mojo/public/cpp/bindings/binder_map.h"
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/webui/connectors_internals/connectors_internals.mojom.h"
- #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h"
#include "ui/webui/resources/cr_components/app_management/app_management.mojom.h"
#endif
@@ -24,16 +22,7 @@
#include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h"
#include "chrome/browser/ui/webui/on_device_translation_internals/on_device_translation_internals_ui.h"
#include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin.mojom.h"
-@@ -452,7 +452,7 @@ void PopulateChromeWebUIFrameBinders(
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- RegisterWebUIControllerInterfaceBinder<
- connectors_internals::mojom::PageHandler,
- enterprise_connectors::ConnectorsInternalsUI>(map);
-@@ -463,7 +463,7 @@ void PopulateChromeWebUIFrameBinders(
+@@ -483,7 +483,7 @@ void PopulateChromeWebUIFrameBinders(
policy::DlpInternalsUI>(map);
#endif
@@ -42,7 +31,7 @@
RegisterWebUIControllerInterfaceBinder<
app_management::mojom::PageHandlerFactory, WebAppSettingsUI>(map);
-@@ -593,14 +593,14 @@ void PopulateChromeWebUIFrameBinders(
+@@ -635,14 +635,14 @@ void PopulateChromeWebUIFrameBinders(
HistoryClustersSidePanelUI, NewTabPageUI, BookmarksSidePanelUI>(map);
}
@@ -59,7 +48,7 @@
WhatsNewUI,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
NewTabPageUI>(map);
-@@ -1133,7 +1133,7 @@ void PopulateChromeWebUIFrameBinders(
+@@ -1191,7 +1191,7 @@ void PopulateChromeWebUIFrameBinders(
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main.cc b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main.cc
index ca6f23e29656..326c6a6dfb88 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_main.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/chrome_browser_main.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/chrome_browser_main.cc
-@@ -150,7 +150,7 @@
+@@ -153,7 +153,7 @@
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#include "sql/database.h"
#endif
-@@ -176,11 +176,11 @@
+@@ -179,11 +179,11 @@
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -23,7 +23,7 @@
#include "chrome/browser/headless/headless_mode_metrics.h" // nogncheck
#include "chrome/browser/headless/headless_mode_util.h" // nogncheck
#include "chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker.h"
-@@ -191,7 +191,7 @@
+@@ -194,7 +194,7 @@
#include "ui/gfx/switches.h"
#endif
@@ -32,7 +32,7 @@
#include "chrome/browser/first_run/upgrade_util.h"
#endif
-@@ -269,7 +269,7 @@
+@@ -266,7 +266,7 @@
#include "chrome/browser/chrome_process_singleton.h"
#include "chrome/browser/ui/startup/startup_browser_creator.h"
@@ -41,7 +41,7 @@
#include "base/nix/xdg_util.h"
#endif
#endif // BUILDFLAG(ENABLE_PROCESS_SINGLETON)
-@@ -292,7 +292,7 @@
+@@ -289,7 +289,7 @@
namespace {
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \
@@ -50,7 +50,7 @@
constexpr base::FilePath::CharType kMediaHistoryDatabaseName[] =
FILE_PATH_LITERAL("Media History");
-@@ -443,7 +443,7 @@ void ProcessSingletonNotificationCallbackImpl(
+@@ -440,7 +440,7 @@ void ProcessSingletonNotificationCallbackImpl(
}
#endif
@@ -59,16 +59,16 @@
// Set the global activation token sent as a command line switch by another
// browser process. This also removes the switch after use to prevent any side
// effects of leaving it in the command line after this point.
-@@ -1022,7 +1022,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
- browser_creator_->AddFirstRunTabs(master_prefs_->new_tabs);
- }
+@@ -1008,7 +1008,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
--#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- // Create directory for user-level Native Messaging manifest files. This
- // makes it less likely that the directory will be created by third-party
- // software with incorrect owner or permission. See crbug.com/725513 .
-@@ -1067,7 +1067,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
+ #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \
+ (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_ANDROID))
++ BUILDFLAG(IS_ANDROID)) || BUILDFLAG(IS_BSD)
+ // Create directory for user-level Native Messaging manifest files. This
+ // makes it less likely that the directory will be created by third-party
+ // software with incorrect owner or permission. See crbug.com/725513 .
+@@ -1052,7 +1052,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
#endif // BUILDFLAG(IS_MAC)
@@ -76,8 +76,8 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
metrics::DesktopSessionDurationTracker::Initialize();
ProfileActivityMetricsRecorder::Initialize();
- TouchModeStatsTracker::Initialize(
-@@ -1263,7 +1263,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
+ TouchUIControllerStatsTracker::Initialize(
+@@ -1272,7 +1272,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
#endif // BUILDFLAG(IS_WIN)
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \
@@ -86,7 +86,7 @@
// Delete the media history database if it still exists.
// TODO(crbug.com/40177301): Remove this.
base::ThreadPool::PostTask(
-@@ -1311,7 +1311,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
+@@ -1323,7 +1323,7 @@ void ChromeBrowserMainParts::PostProfileInit(Profile*
*UrlLanguageHistogramFactory::GetForBrowserContext(profile));
#endif
@@ -95,7 +95,7 @@
if (headless::IsHeadlessMode()) {
headless::ReportHeadlessActionMetrics();
}
-@@ -1420,7 +1420,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl(
+@@ -1432,7 +1432,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl(
// In headless mode provide alternate SelectFileDialog factory overriding
// any platform specific SelectFileDialog implementation that may have been
// set.
@@ -104,7 +104,7 @@
if (headless::IsHeadlessMode()) {
headless::HeadlessSelectFileDialogFactory::SetUp();
}
-@@ -1960,7 +1960,7 @@ bool ChromeBrowserMainParts::ProcessSingletonNotificat
+@@ -1961,7 +1961,7 @@ bool ChromeBrowserMainParts::ProcessSingletonNotificat
// Drop the request if headless mode is in effect or the request is from
// a headless Chrome process.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc
deleted file mode 100644
index 650997d0596a..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__browser__main__extra__parts__linux.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/chrome_browser_main_extra_parts_linux.cc.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/chrome_browser_main_extra_parts_linux.cc
-@@ -60,7 +60,7 @@ void ChromeBrowserMainExtraPartsLinux::PostBrowserStar
-
- // static
- void ChromeBrowserMainExtraPartsLinux::InitOzonePlatformHint() {
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::CommandLine* const command_line =
- base::CommandLine::ForCurrentProcess();
- std::unique_ptr<base::Environment> env = base::Environment::Create();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.cc b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.cc
index 23189a88a969..fea4d42ebf5f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_content_browser_client.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/chrome_content_browser_client.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/chrome_content_browser_client.cc
-@@ -505,7 +505,7 @@
+@@ -466,7 +466,7 @@
#include "components/user_manager/user_manager.h"
#include "services/service_manager/public/mojom/interface_provider_spec.mojom.h"
#include "storage/browser/file_system/external_mount_points.h"
@@ -9,39 +9,25 @@
#include "chrome/browser/chrome_browser_main_linux.h"
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h"
#elif BUILDFLAG(IS_ANDROID)
-@@ -620,11 +620,11 @@
+@@ -564,7 +564,7 @@
#include "services/network/public/mojom/permissions_policy/permissions_policy_feature.mojom.h"
#endif // !BUILDFLAG(IS_ANDROID)
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/browser_switcher/browser_switcher_navigation_throttle.h"
- #endif
-
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "components/crash/core/app/crash_switches.h"
#include "components/crash/core/app/crashpad.h"
#endif
-@@ -635,7 +635,7 @@
- #include "chrome/browser/apps/link_capturing/web_app_link_capturing_delegate.h"
+@@ -573,7 +573,7 @@
+ #include "components/crash/content/browser/crash_handler_host_linux.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/chrome_browser_main_extra_parts_enterprise.h"
- #include "chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.h"
- #include "chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.h"
-@@ -646,7 +646,7 @@
#endif
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/enterprise/connectors/device_trust/navigation_throttle.h"
- #include "chrome/browser/enterprise/incognito/incognito_navigation_throttle.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ||
-@@ -656,7 +656,7 @@
+@@ -581,7 +581,7 @@
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h"
#endif
@@ -50,25 +36,16 @@
#include "chrome/browser/chrome_browser_main_extra_parts_linux.h"
#elif BUILDFLAG(IS_OZONE)
#include "chrome/browser/chrome_browser_main_extra_parts_ozone.h"
-@@ -1561,7 +1561,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre
- registry->RegisterBooleanPref(prefs::kDeviceNativeClientForceAllowedCache,
- false);
- #endif // BUILDFLAG(IS_CHROMEOS)
+@@ -1409,7 +1409,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePre
+ registry->RegisterBooleanPref(prefs::kDataURLWhitespacePreservationEnabled,
+ true);
+ registry->RegisterBooleanPref(prefs::kEnableUnsafeSwiftShader, false);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
registry->RegisterBooleanPref(prefs::kOutOfProcessSystemDnsResolutionEnabled,
true);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
-@@ -1654,7 +1654,7 @@ void ChromeContentBrowserClient::RegisterProfilePrefs(
- policy::policy_prefs::kForcePermissionPolicyUnloadDefaultEnabled, false);
-
- #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- registry->RegisterListPref(prefs::kMandatoryExtensionsForIncognitoNavigation);
- #endif
-
-@@ -1778,7 +1778,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+@@ -1631,7 +1631,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
#elif BUILDFLAG(IS_CHROMEOS)
main_parts = std::make_unique<ash::ChromeBrowserMainPartsAsh>(
is_integration_test, &startup_data_);
@@ -77,16 +54,16 @@
main_parts = std::make_unique<ChromeBrowserMainPartsLinux>(
is_integration_test, &startup_data_);
#elif BUILDFLAG(IS_ANDROID)
-@@ -1807,7 +1807,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
- // Construct additional browser parts. Stages are called in the order in
- // which they are added.
+@@ -1662,7 +1662,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+ // Construct additional browser parts. Stages are called in the order in
+ // which they are added.
#if defined(TOOLKIT_VIEWS)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
main_parts->AddParts(
std::make_unique<ChromeBrowserMainExtraPartsViewsLinux>());
#else
-@@ -1824,7 +1824,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+@@ -1679,7 +1679,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsAsh>());
#endif
@@ -95,7 +72,7 @@
main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsLinux>());
#elif BUILDFLAG(IS_OZONE)
main_parts->AddParts(std::make_unique<ChromeBrowserMainExtraPartsOzone>());
-@@ -1843,7 +1843,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
+@@ -1698,7 +1698,7 @@ ChromeContentBrowserClient::CreateBrowserMainParts(boo
chrome::AddMetricsExtraParts(main_parts.get());
@@ -104,7 +81,7 @@
main_parts->AddParts(
std::make_unique<
enterprise_util::ChromeBrowserMainExtraPartsEnterprise>());
-@@ -2747,7 +2747,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial(
+@@ -2706,7 +2706,9 @@ void MaybeAppendBlinkSettingsSwitchForFieldTrial(
void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
base::CommandLine* command_line,
int child_process_id) {
@@ -114,7 +91,7 @@
#if BUILDFLAG(IS_MAC)
std::unique_ptr<metrics::ClientInfo> client_info =
GoogleUpdateSettings::LoadMetricsClientInfo();
-@@ -3102,7 +3104,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin
+@@ -3029,7 +3031,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin
}
}
@@ -123,7 +100,7 @@
// Opt into a hardened stack canary mitigation if it hasn't already been
// force-disabled.
if (!browser_command_line.HasSwitch(switches::kChangeStackGuardOnFork)) {
-@@ -4052,7 +4054,7 @@ bool UpdatePreferredColorScheme(WebPreferences* web_pr
+@@ -4094,7 +4096,7 @@ bool UpdatePreferredColorScheme(WebPreferences* web_pr
return old_preferred_color_scheme != web_prefs->preferred_color_scheme;
}
@@ -132,7 +109,7 @@
// Sets the `root_scrollbar_theme_color` web pref if the user has enabled a
// custom colored frame for the UI.
void UpdateRootScrollbarThemeColor(Profile* profile,
-@@ -4682,7 +4684,7 @@ void ChromeContentBrowserClient::OverrideWebPreference
+@@ -4737,7 +4739,7 @@ void ChromeContentBrowserClient::OverrideWebPreference
UpdatePreferredColorScheme(web_prefs, main_frame_site.GetSiteURL(),
web_contents, GetWebTheme());
@@ -141,7 +118,7 @@
UpdateRootScrollbarThemeColor(profile, web_contents, web_prefs);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-@@ -5002,7 +5004,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst
+@@ -5015,7 +5017,7 @@ void ChromeContentBrowserClient::GetAdditionalFileSyst
}
}
@@ -150,43 +127,7 @@
void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const base::CommandLine& command_line,
int child_process_id,
-@@ -5510,7 +5512,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- &throttles);
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- MaybeAddThrottle(
- WebAppSettingsNavigationThrottle::MaybeCreateThrottleFor(handle),
- &throttles);
-@@ -5534,7 +5536,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- MaybeAddThrottle(enterprise_connectors::DeviceTrustNavigationThrottle::
- MaybeCreateThrottleFor(handle),
- &throttles);
-@@ -5575,7 +5577,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- }
- #endif
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle::
- MaybeCreateThrottleFor(handle),
- &throttles);
-@@ -5697,7 +5699,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigati
- &throttles);
- #endif // BUILDFLAG(IS_CHROMEOS)
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (profile && profile->IsIncognitoProfile() && profile->IsOffTheRecord()) {
- MaybeAddThrottle(enterprise_incognito::IncognitoNavigationThrottle::
- MaybeCreateThrottleFor(handle),
-@@ -7525,7 +7527,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS
+@@ -7159,7 +7161,7 @@ bool ChromeContentBrowserClient::ShouldSandboxNetworkS
bool ChromeContentBrowserClient::ShouldRunOutOfProcessSystemDnsResolution() {
// This enterprise policy is supported on Android, but the feature will not be
// launched there.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.h b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.h
index 51c90372c406..3b1e2732ce11 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client.h
@@ -1,9 +1,9 @@
---- chrome/browser/chrome_content_browser_client.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/chrome_content_browser_client.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/chrome_content_browser_client.h
-@@ -560,7 +560,7 @@ class ChromeContentBrowserClient : public content::Con
- bool IsPluginAllowedToUseDevChannelAPIs(
- content::BrowserContext* browser_context,
- const GURL& url) override;
+@@ -571,7 +571,7 @@ class ChromeContentBrowserClient : public content::Con
+ const GURL& site_url) override;
+ std::unique_ptr<content::TracingDelegate> CreateTracingDelegate() override;
+ bool IsSystemWideTracingEnabled() override;
-#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD)
void GetAdditionalMappedFilesForChildProcess(
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc
new file mode 100644
index 000000000000..6cada7802a81
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_chrome__content__browser__client__navigation__throttles.cc
@@ -0,0 +1,38 @@
+--- chrome/browser/chrome_content_browser_client_navigation_throttles.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/chrome_content_browser_client_navigation_throttles.cc
+@@ -125,7 +125,7 @@
+ #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
+ #endif // BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/browser_switcher/browser_switcher_navigation_throttle.h"
+ #include "chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.h"
+ #include "chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.h"
+@@ -402,7 +402,7 @@ void CreateAndAddChromeThrottlesForNavigation(
+ TypedNavigationUpgradeThrottle::MaybeCreateAndAdd(registry);
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ WebAppSettingsNavigationThrottle::MaybeCreateAndAdd(registry);
+ profile_management::ProfileManagementNavigationThrottle::MaybeCreateAndAdd(
+ registry);
+@@ -420,7 +420,7 @@ void CreateAndAddChromeThrottlesForNavigation(
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ enterprise_connectors::DeviceTrustNavigationThrottle::MaybeCreateAndAdd(
+ registry);
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ||
+@@ -452,7 +452,7 @@ void CreateAndAddChromeThrottlesForNavigation(
+ }
+ #endif // BUILDFLAG(SAFE_BROWSING_AVAILABLE)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ browser_switcher::BrowserSwitcherNavigationThrottle::MaybeCreateAndAdd(
+ registry);
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_registration.cc b/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_registration.cc
index c8129577a39d..77d2d6b269d2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_registration.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_registration.cc
@@ -1,15 +1,15 @@
---- chrome/browser/component_updater/registration.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/component_updater/registration.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/component_updater/registration.cc
-@@ -99,7 +99,7 @@
+@@ -92,7 +92,7 @@
#endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
#include "components/component_updater/installer_policies/amount_extraction_heuristic_regexes_component_installer.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-@@ -112,7 +112,7 @@
+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+@@ -105,7 +105,7 @@
#include "chrome/browser/component_updater/lacros_component_remover.h"
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -18,7 +18,7 @@
#include "chrome/browser/component_updater/wasm_tts_engine_component_installer.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -256,12 +256,12 @@ void RegisterComponentsForUpdate() {
+@@ -240,7 +240,7 @@ void RegisterComponentsForUpdate() {
RegisterCookieReadinessListComponent(cus);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,9 +27,12 @@
RegisterAmountExtractionHeuristicRegexesComponent(cus);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS)
+@@ -252,7 +252,7 @@ void RegisterComponentsForUpdate() {
+ }
+ #endif // BUIDLFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (features::IsWasmTtsComponentUpdaterEnabled()) {
- RegisterWasmTtsEngineComponent(cus);
- }
+ RegisterWasmTtsEngineComponent(cus, g_browser_process->local_state());
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc b/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc
index 903d61472230..49794f178ffc 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_component__updater_wasm__tts__engine__component__installer.cc
@@ -1,7 +1,7 @@
---- chrome/browser/component_updater/wasm_tts_engine_component_installer.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/component_updater/wasm_tts_engine_component_installer.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/component_updater/wasm_tts_engine_component_installer.cc
-@@ -9,7 +9,7 @@
- #include "base/logging.h"
+@@ -11,7 +11,7 @@
+ #include "components/prefs/pref_registry_simple.h"
#include "content/public/browser/browser_thread.h"
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -9,7 +9,16 @@
#include "chrome/browser/accessibility/embedded_a11y_extension_loader.h"
#include "chrome/common/extensions/extension_constants.h"
#include "ui/accessibility/accessibility_features.h"
-@@ -41,7 +41,7 @@ constexpr std::array<uint8_t, 32> kWasmTtsEnginePublic
+@@ -31,7 +31,7 @@ const base::FilePath::CharType kWorkletProcessorJsFile
+ FILE_PATH_LITERAL("streaming_worklet_processor.js");
+ const base::FilePath::CharType kVoicesJsonFileName[] =
+ FILE_PATH_LITERAL("voices.json");
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const base::FilePath::CharType kManifestV3FileName[] =
+ FILE_PATH_LITERAL("wasm_tts_manifest_v3.json");
+ const base::FilePath::CharType kOffscreenHtmlFileName[] =
+@@ -51,7 +51,7 @@ constexpr std::array<uint8_t, 32> kWasmTtsEnginePublic
const char kWasmTtsEngineManifestName[] = "WASM TTS Engine";
@@ -18,16 +27,43 @@
class WasmTTSEngineDirectory {
public:
static WasmTTSEngineDirectory* Get() {
-@@ -111,7 +111,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR
+@@ -103,7 +103,7 @@ WasmTtsEngineComponentInstallerPolicy::WasmTtsEngineCo
+ // static
+ void WasmTtsEngineComponentInstallerPolicy::RegisterPrefs(
+ PrefRegistrySimple* registry) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ registry->RegisterTimePref(prefs::kAccessibilityReadAnythingDateLastOpened,
+ base::Time());
+ registry->RegisterBooleanPref(
+@@ -136,7 +136,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR
VLOG(1) << "Component ready, version " << version.GetString() << " in "
<< install_dir.value();
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (features::IsWasmTtsComponentUpdaterEnabled() &&
- !features::IsWasmTtsEngineAutoInstallDisabled()) {
+ if (!features::IsWasmTtsEngineAutoInstallDisabled()) {
// Instead of installing the component extension as soon as it is ready,
-@@ -166,7 +166,7 @@ void RegisterWasmTtsEngineComponent(ComponentUpdateSer
+ // store the install directory, so that the install can be triggered
+@@ -160,7 +160,7 @@ void WasmTtsEngineComponentInstallerPolicy::ComponentR
+ // be removed the next time Chrome is restarted.
+ void WasmTtsEngineComponentInstallerPolicy::MaybeReinstallTtsEngine(
+ const base::FilePath& install_dir) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const base::Time current_time = base::Time::Now();
+ const base::Time date_last_opened =
+ pref_service_->GetTime(prefs::kAccessibilityReadAnythingDateLastOpened);
+@@ -222,7 +222,7 @@ void WasmTtsEngineComponentInstallerPolicy::MaybeReins
+ bool WasmTtsEngineComponentInstallerPolicy::VerifyInstallation(
+ const base::Value::Dict& /* manifest */,
+ const base::FilePath& install_dir) const {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (features::IsWasmTtsComponentUpdaterV3Enabled()) {
+ return base::PathExists(install_dir.Append(kManifestV3FileName)) &&
+ base::PathExists(install_dir.Append(kBindingsMainWasmFileName)) &&
+@@ -272,7 +272,7 @@ void RegisterWasmTtsEngineComponent(ComponentUpdateSer
void WasmTtsEngineComponentInstallerPolicy::GetWasmTTSEngineDirectory(
base::OnceCallback<void(const base::FilePath&)> callback) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.cc b/www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.cc
deleted file mode 100644
index 8b955d410997..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/devtools/features.cc.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/devtools/features.cc
-@@ -164,7 +164,7 @@ BASE_FEATURE(kDevToolsNewPermissionDialog,
- "DevToolsNewPermissionDialog",
- base::FEATURE_ENABLED_BY_DEFAULT);
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // If enabled, DevTools does not accept remote debugging connections unless
- // using a non-default user data dir via the --user-data-dir switch.
- BASE_FEATURE(kDevToolsDebuggingRestrictions,
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.h b/www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.h
deleted file mode 100644
index f79616c4aece..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_devtools_features.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/devtools/features.h.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/devtools/features.h
-@@ -92,7 +92,7 @@ BASE_DECLARE_FEATURE(kDevToolsAiGeneratedTimelineLabel
-
- BASE_DECLARE_FEATURE(kDevToolsNewPermissionDialog);
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_DECLARE_FEATURE(kDevToolsDebuggingRestrictions);
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.cc b/www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.cc
index 60149d8304f2..a85c6d2cf8c3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.cc
@@ -1,11 +1,29 @@
---- chrome/browser/devtools/remote_debugging_server.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/devtools/remote_debugging_server.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/devtools/remote_debugging_server.cc
-@@ -109,7 +109,7 @@ IsRemoteDebuggingAllowed(const std::optional<bool>& is
+@@ -42,7 +42,7 @@ namespace {
+
+ bool g_tethering_enabled = false;
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool g_enable_default_user_data_dir_check_for_chromium_branding_for_testing =
+ false;
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+@@ -114,7 +114,7 @@ IsRemoteDebuggingAllowed(const std::optional<bool>& is
+ return base::unexpected(
RemoteDebuggingServer::NotStartedReason::kDisabledByPolicy);
}
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ constexpr bool default_user_data_dir_check_enabled = true;
+ #else
+@@ -140,7 +140,7 @@ void RemoteDebuggingServer::EnableTetheringForDebug()
+ g_tethering_enabled = true;
+ }
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (base::FeatureList::IsEnabled(features::kDevToolsDebuggingRestrictions) &&
- is_default_user_data_dir.value_or(true)) {
- return base::unexpected(
+ // static
+ void RemoteDebuggingServer::EnableDefaultUserDataDirCheckForTesting() {
+ g_enable_default_user_data_dir_check_for_chromium_branding_for_testing = true;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.h b/www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.h
new file mode 100644
index 000000000000..ea43d7dfc8ed
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_devtools_remote__debugging__server.h
@@ -0,0 +1,11 @@
+--- chrome/browser/devtools/remote_debugging_server.h.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/devtools/remote_debugging_server.h
+@@ -33,7 +33,7 @@ class RemoteDebuggingServer {
+
+ static void EnableTetheringForDebug();
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Enables the default user data dir check even for non-Chrome branded builds,
+ // for testing.
+ static void EnableDefaultUserDataDirCheckForTesting();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc b/www/ungoogled-chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
index ac549473ac48..23ef2a61aab0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
@@ -1,6 +1,6 @@
---- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/download/chrome_download_manager_delegate.cc
-@@ -1887,7 +1887,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe
+@@ -1942,7 +1942,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe
bool ChromeDownloadManagerDelegate::IsOpenInBrowserPreferredForFile(
const base::FilePath& path) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
if (path.MatchesExtension(FILE_PATH_LITERAL(".pdf"))) {
return !download_prefs_->ShouldOpenPdfInSystemReader();
}
-@@ -1994,7 +1994,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadAllow
+@@ -2049,7 +2049,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadAllow
content::CheckDownloadAllowedCallback check_download_allowed_cb) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -18,7 +18,7 @@
// Don't download pdf if it is a file URL, as that might cause an infinite
// download loop if Chrome is not the system pdf viewer.
if (url.SchemeIsFile() && download_prefs_->ShouldOpenPdfInSystemReader()) {
-@@ -2076,7 +2076,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl
+@@ -2131,7 +2131,7 @@ void ChromeDownloadManagerDelegate::CheckSavePackageAl
DCHECK(download_item->IsSavePackageDownload());
#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_download_download__item__model.cc b/www/ungoogled-chromium/files/patch-chrome_browser_download_download__item__model.cc
index d7ce300c1e7b..3def5a87616d 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_download_download__item__model.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_download_download__item__model.cc
@@ -1,6 +1,6 @@
---- chrome/browser/download/download_item_model.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/download/download_item_model.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/download/download_item_model.cc
-@@ -772,7 +772,7 @@ bool DownloadItemModel::IsCommandChecked(
+@@ -723,7 +723,7 @@ bool DownloadItemModel::IsCommandChecked(
download_crx_util::IsExtensionDownload(*download_);
case DownloadCommands::ALWAYS_OPEN_TYPE:
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
if (download_commands->CanOpenPdfInSystemViewer()) {
DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(profile());
return prefs->ShouldOpenPdfInSystemReader();
-@@ -820,7 +820,7 @@ void DownloadItemModel::ExecuteCommand(DownloadCommand
+@@ -771,7 +771,7 @@ void DownloadItemModel::ExecuteCommand(DownloadCommand
DownloadCommands::ALWAYS_OPEN_TYPE);
DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(profile());
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -18,7 +18,7 @@
if (download_commands->CanOpenPdfInSystemViewer()) {
prefs->SetShouldOpenPdfInSystemReader(!is_checked);
SetShouldPreferOpeningInBrowser(is_checked);
-@@ -1210,7 +1210,7 @@ void DownloadItemModel::DetermineAndSetShouldPreferOpe
+@@ -1174,7 +1174,7 @@ void DownloadItemModel::DetermineAndSetShouldPreferOpe
return;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_download_download__prefs.cc b/www/ungoogled-chromium/files/patch-chrome_browser_download_download__prefs.cc
index 26c9fb9aa129..7d78c1590bc9 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_download_download__prefs.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_download_download__prefs.cc
@@ -1,4 +1,4 @@
---- chrome/browser/download/download_prefs.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/download/download_prefs.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/download/download_prefs.cc
@@ -11,6 +11,7 @@
#include <vector>
@@ -8,7 +8,7 @@
#include "base/feature_list.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
-@@ -61,6 +62,10 @@
+@@ -62,6 +63,10 @@
#include "components/safe_browsing/content/common/file_type_policies.h"
#endif
@@ -19,7 +19,7 @@
using content::BrowserContext;
using content::BrowserThread;
using content::DownloadManager;
-@@ -74,7 +79,7 @@ namespace {
+@@ -75,7 +80,7 @@ namespace {
// Consider downloads 'dangerous' if they go to the home directory on Linux and
// to the desktop on any platform.
bool DownloadPathIsDangerous(const base::FilePath& download_path) {
@@ -28,7 +28,7 @@
base::FilePath home_dir = base::GetHomeDir();
if (download_path == home_dir) {
return true;
-@@ -180,7 +185,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profi
+@@ -181,7 +186,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profi
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -37,7 +37,7 @@
should_open_pdf_in_system_reader_ =
prefs->GetBoolean(prefs::kOpenPdfDownloadInSystemReader);
#endif
-@@ -307,7 +312,7 @@ void DownloadPrefs::RegisterProfilePrefs(
+@@ -308,7 +313,7 @@ void DownloadPrefs::RegisterProfilePrefs(
registry->RegisterFilePathPref(prefs::kSaveFileDefaultDirectory,
default_download_path);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -46,7 +46,7 @@
registry->RegisterBooleanPref(prefs::kOpenPdfDownloadInSystemReader, false);
#endif
#if BUILDFLAG(IS_ANDROID)
-@@ -480,7 +485,7 @@ void DownloadPrefs::DisableAutoOpenByUserBasedOnExtens
+@@ -481,7 +486,7 @@ void DownloadPrefs::DisableAutoOpenByUserBasedOnExtens
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -55,7 +55,7 @@
void DownloadPrefs::SetShouldOpenPdfInSystemReader(bool should_open) {
if (should_open_pdf_in_system_reader_ == should_open)
return;
-@@ -506,7 +511,7 @@ bool DownloadPrefs::ShouldOpenPdfInSystemReader() cons
+@@ -507,7 +512,7 @@ bool DownloadPrefs::ShouldOpenPdfInSystemReader() cons
void DownloadPrefs::ResetAutoOpenByUser() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -64,7 +64,7 @@
SetShouldOpenPdfInSystemReader(false);
#endif
auto_open_by_user_.clear();
-@@ -543,7 +548,7 @@ void DownloadPrefs::SaveAutoOpenState() {
+@@ -544,7 +549,7 @@ void DownloadPrefs::SaveAutoOpenState() {
bool DownloadPrefs::CanPlatformEnableAutoOpenForPdf() const {
#if BUILDFLAG(IS_CHROMEOS)
return false; // There is no UI for auto-open on ChromeOS.
@@ -73,7 +73,7 @@
return ShouldOpenPdfInSystemReader();
#else
return false;
-@@ -625,7 +630,14 @@ base::FilePath DownloadPrefs::SanitizeDownloadTargetPa
+@@ -626,7 +631,14 @@ base::FilePath DownloadPrefs::SanitizeDownloadTargetPa
#else
// If the stored download directory is an absolute path, we presume it's
// correct; there's not really much more validation we can do here.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc
index fc4825a166d0..3efbf0e7aa9f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.cc
@@ -1,4 +1,4 @@
---- chrome/browser/enterprise/browser_management/browser_management_service.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/enterprise/browser_management/browser_management_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/browser_management/browser_management_service.cc
@@ -50,7 +50,7 @@ GetManagementStatusProviders(Profile* profile) {
@@ -9,25 +9,34 @@
base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
FROM_HERE,
base::BindOnce(&BrowserManagementService::UpdateManagementIconForProfile,
-@@ -70,7 +70,7 @@ BrowserManagementService::BrowserManagementService(Pro
+@@ -74,7 +74,7 @@ BrowserManagementService::BrowserManagementService(Pro
}
ui::ImageModel* BrowserManagementService::GetManagementIconForProfile() {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) | BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return management_icon_for_profile_.IsEmpty() ? nullptr
: &management_icon_for_profile_;
#else
-@@ -83,7 +83,7 @@ void BrowserManagementService::TriggerPolicyStatusChan
+@@ -83,7 +83,7 @@ ui::ImageModel* BrowserManagementService::GetManagemen
+ }
+
+ gfx::Image* BrowserManagementService::GetManagementIconForBrowser() {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return management_icon_for_browser_.IsEmpty() ? nullptr
+ : &management_icon_for_browser_;
+ #else
+@@ -96,7 +96,7 @@ void BrowserManagementService::TriggerPolicyStatusChan
OnPolicyStatusChanged();
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void BrowserManagementService::StartListeningToPrefChanges(Profile* profile) {
- pref_change_registrar_.Init(profile->GetPrefs());
- pref_change_registrar_.Add(
-@@ -126,7 +126,7 @@ void BrowserManagementService::SetManagementIconForPro
+ void BrowserManagementService::SetBrowserManagementIconForTesting(
+ const gfx::Image& management_icon) {
+ CHECK_IS_TEST();
+@@ -183,7 +183,7 @@ void BrowserManagementService::SetManagementIconForBro
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
void BrowserManagementService::OnPolicyStatusChanged() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h
index 1a603666d950..45890b2eef75 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_browser__management_browser__management__service.h
@@ -1,6 +1,15 @@
---- chrome/browser/enterprise/browser_management/browser_management_service.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/enterprise/browser_management/browser_management_service.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/browser_management/browser_management_service.h
-@@ -44,7 +44,7 @@ class BrowserManagementService : public ManagementServ
+@@ -41,7 +41,7 @@ class BrowserManagementService : public ManagementServ
+
+ void TriggerPolicyStatusChangedForTesting() override;
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ void SetBrowserManagementIconForTesting(
+ const gfx::Image& management_icon) override;
+ #endif
+@@ -50,7 +50,7 @@ class BrowserManagementService : public ManagementServ
// PolicyStatusProvider::Observer:
void OnPolicyStatusChanged() override;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_common.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_common.cc
index 8913b28c9c82..cd0d7f5a533f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_common.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_common.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/common.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/enterprise/connectors/common.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/connectors/common.cc
-@@ -17,7 +17,7 @@
+@@ -19,7 +19,7 @@
#include "components/user_manager/user.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#include "components/prefs/pref_service.h"
#endif
-@@ -192,7 +192,7 @@ std::string GetProfileEmail(Profile* profile) {
+@@ -235,7 +235,7 @@ std::string GetProfileEmail(Profile* profile) {
std::string email =
GetProfileEmail(IdentityManagerFactory::GetForProfile(profile));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc
index 6069ad484ed2..0e379409cbfc 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_connectors__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/connectors_service.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/enterprise/connectors/connectors_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/connectors/connectors_service.cc
-@@ -475,7 +475,7 @@ policy::PolicyScope ConnectorsService::GetPolicyScope(
+@@ -448,7 +448,7 @@ policy::PolicyScope ConnectorsService::GetPolicyScope(
bool ConnectorsService::ConnectorsEnabled() const {
Profile* profile = Profile::FromBrowserContext(context_);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc
index c0749a140bd0..660c71b648bf 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_crash__reporting__context.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/connectors/reporting/crash_reporting_context.cc
-@@ -24,7 +24,7 @@
+@@ -29,7 +29,7 @@
namespace enterprise_connectors {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc
index bccf86e994bd..fb6b3d5f43ea 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc
-@@ -52,7 +52,7 @@
+@@ -53,7 +53,7 @@
#include "base/strings/utf_string_conversions.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/signals/signals_aggregator_factory.h"
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#include "components/device_signals/core/browser/signals_aggregator.h"
-@@ -157,7 +157,7 @@ void RealtimeReportingClient::ReportPastEvent(const st
+@@ -158,7 +158,7 @@ void RealtimeReportingClient::ReportPastEvent(const st
/*include_profile_user_name=*/false);
}
@@ -18,7 +18,7 @@
void AddCrowdstrikeSignalsToEvent(
base::Value::Dict& event,
-@@ -232,7 +232,7 @@ std::string RealtimeReportingClient::GetBrowserClientI
+@@ -238,7 +238,7 @@ std::string RealtimeReportingClient::GetBrowserClientI
return client_id;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h
index ba5ad477c3ee..a37e4d9dd6a6 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_connectors_reporting_realtime__reporting__client.h
@@ -1,4 +1,4 @@
---- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.h.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.h
@@ -19,7 +19,7 @@
#include "components/keyed_service/core/keyed_service.h"
@@ -9,7 +9,7 @@
#include "components/device_signals/core/browser/signals_types.h"
#endif
-@@ -113,7 +113,7 @@ class RealtimeReportingClient : public RealtimeReporti
+@@ -119,7 +119,7 @@ class RealtimeReportingClient : public RealtimeReporti
const std::string& dm_token) override;
#endif
@@ -18,7 +18,7 @@
// DEPRECATED: Use MaybeCollectDeviceSignalsAndReportEvent(Event, ...).
void MaybeCollectDeviceSignalsAndReportEventDeprecated(
base::Value::Dict event,
-@@ -163,7 +163,7 @@ class RealtimeReportingClient : public RealtimeReporti
+@@ -169,7 +169,7 @@ class RealtimeReportingClient : public RealtimeReporti
base::WeakPtrFactory<RealtimeReportingClient> weak_ptr_factory_{this};
};
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc
deleted file mode 100644
index 4723d3454ac5..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_reporting_cloud__profile__reporting__service__factory.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- chrome/browser/enterprise/reporting/cloud_profile_reporting_service_factory.cc.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/enterprise/reporting/cloud_profile_reporting_service_factory.cc
-@@ -10,7 +10,7 @@
- #include "components/enterprise/browser/reporting/report_scheduler.h"
- #include "services/network/public/cpp/shared_url_loader_factory.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/enterprise/signals/signals_aggregator_factory.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
-
-@@ -47,7 +47,7 @@ CloudProfileReportingServiceFactory::CloudProfileRepor
- ProfileSelections::BuildForRegularProfile()) {
- DependsOn(enterprise::ProfileIdServiceFactory::GetInstance());
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Depends on this service because
- // `CloudProfileReportingService.profile_request_generator_` has a dependency
- // on it.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc
new file mode 100644
index 000000000000..cd0ad7b638dc
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signals_signals__aggregator__factory.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/enterprise/signals/signals_aggregator_factory.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/enterprise/signals/signals_aggregator_factory.cc
+@@ -49,7 +49,7 @@
+ #include "components/device_signals/core/browser/settings_client.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "components/device_signals/core/browser/agent_signals_collector.h"
+ #include "components/device_signals/core/browser/crowdstrike_client.h"
+ #include "components/device_signals/core/browser/detected_agent_client.h"
+@@ -114,7 +114,7 @@ SignalsAggregatorFactory::BuildServiceInstanceForBrows
+ service_host));
+ #endif // !BUILDFLAG(IS_ANDROID)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ collectors.push_back(std::make_unique<device_signals::AgentSignalsCollector>(
+ device_signals::CrowdStrikeClient::Create(),
+ device_signals::DetectedAgentClient::Create()));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc
index 79f5c11fe4de..b976c3c7d30b 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_signin_interstitials_managed__profile__required__page.cc
@@ -1,6 +1,6 @@
---- chrome/browser/enterprise/signin/interstitials/managed_profile_required_page.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/enterprise/signin/interstitials/managed_profile_required_page.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/signin/interstitials/managed_profile_required_page.cc
-@@ -94,7 +94,7 @@ void ManagedProfileRequiredPage::CommandReceived(const
+@@ -95,7 +95,7 @@ void ManagedProfileRequiredPage::CommandReceived(const
switch (cmd) {
case security_interstitials::CMD_DONT_PROCEED:
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc
index 5e6b16a10da5..da10e1f90ea7 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_enterprise_util_managed__browser__utils.cc
@@ -1,6 +1,15 @@
---- chrome/browser/enterprise/util/managed_browser_utils.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/enterprise/util/managed_browser_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/enterprise/util/managed_browser_utils.cc
-@@ -222,7 +222,7 @@ void SetUserAcceptedAccountManagement(Profile* profile
+@@ -220,7 +220,7 @@ void SetUserAcceptedAccountManagement(Profile* profile
+ // The updated consent screen also ask the user for consent to share device
+ // signals.
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ profile->GetPrefs()->SetBoolean(
+ device_signals::prefs::kDeviceSignalsPermanentConsentReceived, accepted);
+ #endif
+@@ -229,7 +229,7 @@ void SetUserAcceptedAccountManagement(Profile* profile
profile_manager->GetProfileAttributesStorage()
.GetProfileAttributesWithPath(profile->GetPath());
if (entry) {
@@ -9,12 +18,21 @@
SetEnterpriseProfileLabel(profile);
#endif
entry->SetUserAcceptedAccountManagement(accepted);
-@@ -341,7 +341,7 @@ bool CanShowEnterpriseProfileUI(Profile* profile) {
+@@ -348,7 +348,7 @@ bool CanShowEnterpriseProfileUI(Profile* profile) {
}
bool CanShowEnterpriseBadgingForNTPFooter(Profile* profile) {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BrowserManagementNoticeState management_notice_state =
+ GetManagementNoticeStateForNTPFooter(profile);
+ switch (management_notice_state) {
+@@ -366,7 +366,7 @@ bool CanShowEnterpriseBadgingForNTPFooter(Profile* pro
- auto* management_service =
- policy::ManagementServiceFactory::GetForProfile(profile);
+ BrowserManagementNoticeState GetManagementNoticeStateForNTPFooter(
+ Profile* profile) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (!policy::ManagementServiceFactory::GetForProfile(profile)
+ ->IsBrowserManaged() ||
+ !g_browser_process->local_state()->GetBoolean(
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_BUILD.gn b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_BUILD.gn
index dab6f39ae8ac..7407ce2e4ec8 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/extensions/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/BUILD.gn
-@@ -1467,6 +1467,10 @@ source_set("extensions") {
+@@ -1515,6 +1515,10 @@ source_set("extensions") {
deps += [ "//chrome/services/printing/public/mojom" ]
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc
index ddd2bd565b49..0d72327fda58 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc
@@ -1,6 +1,15 @@
---- chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc.orig 2023-09-17 07:59:53 UTC
+--- chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc
-@@ -20,6 +20,7 @@ static base::LazyInstance<scoped_refptr<StorageDeviceL
+@@ -9,6 +9,8 @@
+ #include "base/task/thread_pool.h"
+ #include "content/public/browser/browser_thread.h"
+
++#include "base/notimplemented.h"
++
+ namespace extensions {
+
+ // A device list to be returned when testing.
+@@ -20,6 +22,7 @@ static base::LazyInstance<scoped_refptr<StorageDeviceL
void RemovableStorageProvider::GetAllDevices(DeviceListReadyCallback callback) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
@@ -8,7 +17,7 @@
if (g_test_device_list.Get().get() != nullptr) {
base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask(
FROM_HERE,
-@@ -33,6 +34,9 @@ void RemovableStorageProvider::GetAllDevices(DeviceLis
+@@ -33,6 +36,9 @@ void RemovableStorageProvider::GetAllDevices(DeviceLis
base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN},
base::BindOnce(&RemovableStorageProvider::PopulateDeviceList),
std::move(callback));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc
index 9f1cee1ec799..c334566db49c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
-@@ -634,7 +634,7 @@ void PasswordsPrivateDelegateImpl::OnFetchingFamilyMem
+@@ -647,7 +647,7 @@ void PasswordsPrivateDelegateImpl::OnFetchingFamilyMem
}
void PasswordsPrivateDelegateImpl::OsReauthTimeoutCall() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
index 108efe0ddef2..8e032f2249b3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
-@@ -288,7 +288,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor
+@@ -356,7 +356,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor
} else if (strcmp(os, "linux") == 0) {
info->os = extensions::api::runtime::PlatformOs::kLinux;
} else if (strcmp(os, "openbsd") == 0) {
@@ -8,6 +8,6 @@
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
+ } else if (strcmp(os, "freebsd") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
+ } else if (strcmp(os, "android") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kAndroid;
} else {
- NOTREACHED() << "Platform not supported: " << os;
- }
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
index b80dd74723c1..a6170825d099 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/api/settings_private/prefs_util.cc
-@@ -194,7 +194,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
+@@ -195,7 +195,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
(*s_allowlist)[autofill::prefs::kAutofillPaymentCardBenefits] =
settings_api::PrefType::kBoolean;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -8,8 +8,8 @@
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
(*s_allowlist)[autofill::prefs::kAutofillBnplEnabled] =
settings_api::PrefType::kBoolean;
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-@@ -212,7 +212,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
+ (*s_allowlist)[autofill::prefs::kAutofillAiOptInStatus] =
+@@ -215,7 +215,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
(*s_allowlist)[tab_groups::prefs::kAutoPinNewTabGroups] =
settings_api::PrefType::kBoolean;
@@ -18,7 +18,7 @@
(*s_allowlist)[::prefs::kUseCustomChromeFrame] =
settings_api::PrefType::kBoolean;
#endif
-@@ -226,7 +226,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
+@@ -229,7 +229,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist
(*s_allowlist)[::prefs::kCurrentThemeID] = settings_api::PrefType::kString;
(*s_allowlist)[::prefs::kPinnedActions] = settings_api::PrefType::kList;
(*s_allowlist)[::prefs::kPolicyThemeColor] = settings_api::PrefType::kNumber;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc
deleted file mode 100644
index 3155e2fe6330..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/extensions/api/tabs/tabs_api.cc
-@@ -945,7 +945,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio
- // created as minimized.
- // TODO(crbug.com/40254339): Remove this workaround when linux is fixed.
- // TODO(crbug.com/40254339): Find a fix for wayland as well.
--#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
- if (new_window->initial_show_state() ==
- ui::mojom::WindowShowState::kMinimized) {
- new_window->window()->Minimize();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc
new file mode 100644
index 000000000000..c7910e121463
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_tabs_tabs__api__non__android.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/extensions/api/tabs/tabs_api_non_android.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/extensions/api/tabs/tabs_api_non_android.cc
+@@ -756,7 +756,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio
+ // created as minimized.
+ // TODO(crbug.com/40254339): Remove this workaround when linux is fixed.
+ // TODO(crbug.com/40254339): Find a fix for wayland as well.
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
+ if (new_window->initial_show_state() ==
+ ui::mojom::WindowShowState::kMinimized) {
+ new_window->window()->Minimize();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc
index 7a61d512f5f8..13b3a9b8834f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc
@@ -1,29 +1,29 @@
---- chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc.orig 2024-11-16 12:20:41 UTC
+--- chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc
@@ -28,7 +28,7 @@
#include "extensions/browser/process_manager.h"
#include "extensions/common/error_utils.h"
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
#include "extensions/common/permissions/permissions_data.h"
#endif
-@@ -37,7 +37,7 @@ namespace {
+@@ -41,7 +41,7 @@ namespace {
bool CanEnableAudioDebugRecordingsFromExtension(
const extensions::Extension* extension) {
bool enabled_by_permissions = false;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
if (extension) {
enabled_by_permissions =
extension->permissions_data()->active_permissions().HasAPIPermission(
-@@ -575,7 +575,7 @@ void WebrtcLoggingPrivateStartEventLoggingFunction::Fi
+@@ -580,7 +580,7 @@ void WebrtcLoggingPrivateStartEventLoggingFunction::Fi
ExtensionFunction::ResponseAction
WebrtcLoggingPrivateGetLogsDirectoryFunction::Run() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
// Unlike other WebrtcLoggingPrivate functions that take a RequestInfo object,
// this function shouldn't be called by a component extension on behalf of
// some web code. It returns a DirectoryEntry for use directly in the calling
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
index ccb2cad59ad3..01d3f85699e4 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
-@@ -902,7 +902,7 @@ void WebstorePrivateBeginInstallWithManifest3Function:
+@@ -900,7 +900,7 @@ void WebstorePrivateBeginInstallWithManifest3Function:
#if BUILDFLAG(IS_CHROMEOS)
RequestExtensionApproval(contents);
return;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc
index 02b63f158ba2..e9f5c7d4b6b0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_component__extensions__allowlist_allowlist.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/component_extensions_allowlist/allowlist.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/extensions/component_extensions_allowlist/allowlist.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
@@ -47,7 +47,7 @@ bool IsComponentExtensionAllowlisted(const std::string
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
@@ -9,12 +9,3 @@
extension_misc::kTTSEngineExtensionId,
extension_misc::kComponentUpdaterTTSEngineExtensionId,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-@@ -84,7 +84,7 @@ bool IsComponentExtensionAllowlisted(int manifest_reso
- case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST:
- case IDR_NETWORK_SPEECH_SYNTHESIS_MANIFEST_MV3:
- case IDR_READING_MODE_GDOCS_HELPER_MANIFEST:
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- case IDR_TTS_ENGINE_MANIFEST:
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
- case IDR_WEBSTORE_MANIFEST:
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc
index 5eb494721148..2adf6af520b9 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/external_provider_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/extensions/external_provider_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/extensions/external_provider_impl.cc
-@@ -828,7 +828,7 @@ void ExternalProviderImpl::CreateExternalProviders(
+@@ -827,7 +827,7 @@ void ExternalProviderImpl::CreateExternalProviders(
#endif // BUILDFLAG(IS_CHROMEOS)
if (!profile->GetPrefs()->GetBoolean(pref_names::kBlockExternalExtensions)) {
@@ -9,7 +9,7 @@
provider_list->push_back(std::make_unique<ExternalProviderImpl>(
service,
base::MakeRefCounted<ExternalPrefLoader>(
-@@ -856,7 +856,7 @@ void ExternalProviderImpl::CreateExternalProviders(
+@@ -855,7 +855,7 @@ void ExternalProviderImpl::CreateExternalProviders(
bundled_extension_creation_flags));
// Define a per-user source of external extensions.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc b/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc
index cbd91e709415..0f8628cc9380 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_about__system__logs__fetcher.cc
@@ -1,6 +1,6 @@
---- chrome/browser/feedback/system_logs/about_system_logs_fetcher.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/feedback/system_logs/about_system_logs_fetcher.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/feedback/system_logs/about_system_logs_fetcher.cc
-@@ -37,7 +37,7 @@
+@@ -38,7 +38,7 @@
#include "chrome/browser/ash/system_logs/ui_hierarchy_log_source.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/feedback/system_logs/log_sources/ozone_platform_state_dump_source.h"
#endif
-@@ -84,7 +84,7 @@ SystemLogsFetcher* BuildAboutSystemLogsFetcher(content
+@@ -85,7 +85,7 @@ SystemLogsFetcher* BuildAboutSystemLogsFetcher(content
fetcher->AddSource(std::make_unique<KeyboardInfoLogSource>());
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc b/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc
index a48340647d8f..899ace683ba0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_feedback_system__logs_chrome__system__logs__fetcher.cc
@@ -1,6 +1,6 @@
---- chrome/browser/feedback/system_logs/chrome_system_logs_fetcher.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/feedback/system_logs/chrome_system_logs_fetcher.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/feedback/system_logs/chrome_system_logs_fetcher.cc
-@@ -44,7 +44,7 @@
+@@ -45,7 +45,7 @@
#include "services/network/public/cpp/shared_url_loader_factory.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/feedback/system_logs/log_sources/ozone_platform_state_dump_source.h"
#endif
-@@ -101,7 +101,7 @@ SystemLogsFetcher* BuildChromeSystemLogsFetcher(Profil
+@@ -102,7 +102,7 @@ SystemLogsFetcher* BuildChromeSystemLogsFetcher(Profil
fetcher->AddSource(std::make_unique<UiHierarchyLogSource>(scrub_data));
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc b/www/ungoogled-chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc
index e7461b518baf..b33e24f5f640 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_file__system__access_chrome__file__system__access__permission__context.cc
@@ -1,11 +1,11 @@
---- chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc
-@@ -341,7 +341,7 @@ GenerateBlockedPath() {
- FILE_PATH_LITERAL("Library/Mobile Documents/com~apple~CloudDocs"),
- BlockType::kDontBlockChildren},
+@@ -374,7 +374,7 @@ GenerateBlockPaths(bool should_normalize_file_path) {
+ FILE_PATH_LITERAL("Library/Mobile Documents/com~apple~CloudDocs"),
+ BlockType::kDontBlockChildren},
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- // On Linux also block access to devices via /dev.
- {kNoBasePathKey, FILE_PATH_LITERAL("/dev"), BlockType::kBlockAllChildren},
- // And security sensitive data in /proc and /sys.
+ // On Linux also block access to devices via /dev.
+ {kNoBasePathKey, FILE_PATH_LITERAL("/dev"),
+ BlockType::kBlockAllChildren},
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.cc b/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.cc
index 91c32ea1838f..59a8f5381e6c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.cc
@@ -1,6 +1,6 @@
---- chrome/browser/flag_descriptions.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/flag_descriptions.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/flag_descriptions.cc
-@@ -617,7 +617,7 @@ const char kAutofillEnableAllowlistForBmoCardCategoryB
+@@ -667,7 +667,7 @@ const char kAutofillEnableAllowlistForBmoCardCategoryB
"Autofill suggestions on the allowlisted merchant websites.";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,16 +9,25 @@
const char kAutofillEnableAmountExtractionAllowlistDesktopName[] =
"Enable loading and querying the checkout amount extraction allowlist on "
"Chrome Desktop";
-@@ -641,7 +641,7 @@ const char kAutofillEnableAmountExtractionDesktopLoggi
+@@ -685,7 +685,7 @@ const char kAutofillEnableAmountExtractionDesktopDescr
// BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ const char kAutofillEnableAmountExtractionTestingName[] =
+ "Enable amount extraction testing on Chrome desktop and Clank";
+ const char kAutofillEnableAmountExtractionTestingDescription[] =
+@@ -696,7 +696,7 @@ const char kAutofillEnableAmountExtractionTestingDescr
+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const char kAutofillEnableBuyNowPayLaterName[] =
"Enable buy now pay later on Autofill";
const char kAutofillEnableBuyNowPayLaterDescription[] =
-@@ -1064,7 +1064,7 @@ const char kDevicePostureDescription[] =
+@@ -1189,7 +1189,7 @@ const char kDevicePostureDescription[] =
"Enables Device Posture API (foldable devices)";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -27,7 +36,7 @@
const char kDocumentPictureInPictureAnimateResizeName[] =
"Document Picture-in-Picture Animate Resize";
const char kDocumentPictureInPictureAnimateResizeDescription[] =
-@@ -1178,7 +1178,7 @@ const char kContextMenuEmptySpaceDescription[] =
+@@ -1335,7 +1335,7 @@ const char kContextMenuEmptySpaceDescription[] =
"space, a context menu containing page-related items will be shown.";
#endif // BUILDFLAG(IS_ANDROID)
@@ -36,7 +45,7 @@
const char kContextualCueingName[] = "Contextual cueing";
const char kContextualCueingDescription[] =
"Enables the contextual cueing system to support showing actions.";
-@@ -1604,7 +1604,7 @@ const char kEnableIsolatedWebAppDevModeName[] =
+@@ -1686,7 +1686,7 @@ const char kEnableIsolatedWebAppDevModeName[] =
const char kEnableIsolatedWebAppDevModeDescription[] =
"Enables the installation of unverified Isolated Web Apps";
@@ -45,16 +54,33 @@
const char kEnableIwaKeyDistributionComponentName[] =
"Enable the Iwa Key Distribution component";
const char kEnableIwaKeyDistributionComponentDescription[] =
-@@ -3540,7 +3540,7 @@ const char kRetainOmniboxOnFocusDescription[] =
- "exhibit a change in behavior.";
- #endif // BUILDFLAG(IS_ANDROID)
+@@ -3625,14 +3625,14 @@ const char kReduceTransferSizeUpdatedIPCDescription[]
+ "When enabled, the network service will send TransferSizeUpdatedIPC IPC "
+ "only when DevTools is attached or the request is for an ad request.";
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ const char kReduceUserAgentDataLinuxPlatformVersionName[] =
+ "Reduce Linux platform version Client Hint";
+ const char kReduceUserAgentDataLinuxPlatformVersionDescription[] =
+ "Set platform version Client Hint on Linux to empty string.";
+ #endif // BUILDFLAG(IS_LINUX)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ const char kReplaceSyncPromosWithSignInPromosName[] =
+ "Replace all sync-related UI with sign-in ones";
+ const char kReplaceSyncPromosWithSignInPromosDescription[] =
+@@ -3670,7 +3670,7 @@ const char kRobustWindowManagementDescription[] =
+ "experiencing predictable and reliable window behavior similar to desktop "
+ "browsers.";
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
const char kRootScrollbarFollowsTheme[] = "Make scrollbar follow theme";
const char kRootScrollbarFollowsThemeDescription[] =
"If enabled makes the root scrollbar follow the browser's theme color.";
-@@ -3778,7 +3778,7 @@ const char kDefaultSiteInstanceGroupsDescription[] =
+@@ -3920,7 +3920,7 @@ const char kDefaultSiteInstanceGroupsDescription[] =
"SiteInstance.";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -63,25 +89,16 @@
const char kPwaNavigationCapturingName[] = "Desktop PWA Link Capturing";
const char kPwaNavigationCapturingDescription[] =
"Enables opening links from Chrome in an installed PWA. Currently under "
-@@ -3994,7 +3994,7 @@ const char kTranslateForceTriggerOnEnglishDescription[
- "Force the Translate Triggering on English pages experiment to be enabled "
- "with the selected language model active.";
+@@ -4193,7 +4193,7 @@ const char kTouchTextEditingRedesignName[] = "Touch Te
+ const char kTouchTextEditingRedesignDescription[] =
+ "Enables new touch text editing features.";
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
const char kEnableHistorySyncOptinName[] = "History Sync Opt-in";
const char kEnableHistorySyncOptinDescription[] =
"Enables the History Sync Opt-in screen on Desktop platforms. The screen "
-@@ -5654,7 +5654,7 @@ const char kTranslateOpenSettingsDescription[] =
- "Add an option to the translate bubble menu to open language settings.";
- #endif
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- const char kWasmTtsComponentUpdaterEnabledName[] =
- "Enable Wasm TTS Extension Component";
- const char kWasmTtsComponentUpdaterEnabledDescription[] =
-@@ -7685,7 +7685,7 @@ const char kTetheringExperimentalFunctionalityDescript
+@@ -7763,7 +7763,7 @@ const char kTetheringExperimentalFunctionalityDescript
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -90,16 +107,16 @@
const char kGetAllScreensMediaName[] = "GetAllScreensMedia API";
const char kGetAllScreensMediaDescription[] =
"When enabled, the getAllScreensMedia API for capturing multiple screens "
-@@ -7914,7 +7914,7 @@ const char kEnableArmHwdrmDescription[] = "Enable HW b
+@@ -7990,7 +7990,7 @@ const char kEnableArmHwdrmDescription[] = "Enable HW b
// Linux -----------------------------------------------------------------------
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const char kOzonePlatformHintChoiceDefault[] = "Default";
- const char kOzonePlatformHintChoiceAuto[] = "Auto";
- const char kOzonePlatformHintChoiceX11[] = "X11";
-@@ -7964,6 +7964,18 @@ const char kWaylandUiScalingDescription[] =
+
+
+ const char kPulseaudioLoopbackForCastName[] =
+@@ -8028,6 +8028,18 @@ const char kWaylandUiScalingDescription[] =
"Enable experimental support for text scaling in the Wayland backend "
"backed by full UI scaling. Requires #wayland-per-window-scaling to be "
"enabled too.";
@@ -118,34 +135,25 @@
#endif // BUILDFLAG(IS_LINUX)
// Random platform combinations -----------------------------------------------
-@@ -7976,7 +7988,7 @@ const char kZeroCopyVideoCaptureDescription[] =
- #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const char kFollowingFeedSidepanelName[] = "Following feed in the sidepanel";
- const char kFollowingFeedSidepanelDescription[] =
- "Enables the following feed in the sidepanel.";
-@@ -8019,7 +8031,7 @@ const char kGroupPromoPrototypeName[] = "Group Promo P
- const char kGroupPromoPrototypeDescription[] =
- "Enables prototype for group promo.";
+@@ -8077,7 +8089,7 @@ const char kGroupPromoPrototypeCpaDescription[] =
+ "Enables contextual toolbar button for group promo prototype.";
+ #endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const char kEnableNetworkServiceSandboxName[] =
"Enable the network service sandbox.";
const char kEnableNetworkServiceSandboxDescription[] =
-@@ -8047,7 +8059,7 @@ const char kWebBluetoothConfirmPairingSupportDescripti
+@@ -8098,7 +8110,7 @@ const char kWebBluetoothConfirmPairingSupportDescripti
"Bluetooth";
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #if BUILDFLAG(ENABLE_PRINTING)
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_PRINTING)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_PRINTING)
const char kCupsIppPrintingBackendName[] = "CUPS IPP Printing Backend";
const char kCupsIppPrintingBackendDescription[] =
-@@ -8190,7 +8202,7 @@ const char kElementCaptureDescription[] =
+ "Use the CUPS IPP printing backend instead of the original CUPS backend "
+@@ -8234,7 +8246,7 @@ const char kElementCaptureDescription[] =
"media track into a track capturing just a specific DOM element.";
#endif // !BUILDFLAG(IS_ANDROID)
@@ -154,21 +162,21 @@
const char kUIDebugToolsName[] = "Debugging tools for UI";
const char kUIDebugToolsDescription[] =
"Enables additional keyboard shortcuts to help debugging.";
-@@ -8241,7 +8253,7 @@ const char kComposeUpfrontInputModesDescription[] =
- "Enables upfront input modes in the Compose dialog";
- #endif // BUILDFLAG(ENABLE_COMPOSE)
+@@ -8271,7 +8283,7 @@ const char kThirdPartyDisableChromeAutofillSettingsScr
+ "Chrome's Address and Payments Autofill are disabled in third party mode.";
+ #endif // IS_ANDROID
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
const char kThirdPartyProfileManagementName[] =
"Third party profile management";
const char kThirdPartyProfileManagementDescription[] =
-@@ -8379,7 +8391,7 @@ const char kSupervisedUserBlockInterstitialV3Name[] =
+@@ -8394,7 +8406,7 @@ const char kSupervisedUserBlockInterstitialV3Name[] =
const char kSupervisedUserBlockInterstitialV3Description[] =
"Enables URL filter interstitial V3 for Family Link users.";
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- const char kSupervisedProfileHideGuestName[] = "Supervised Profile Hide Guest";
- const char kSupervisedProfileHideGuestDescription[] =
- "Hides Guest Profile entry points for supervised users";
+ const char kSupervisedUserLocalWebApprovalsName[] =
+ "Enable local web approvals feature";
+ const char kSupervisedUserLocalWebApprovalsDescription[] =
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.h b/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.h
index 73913b706dbb..4f4a4b881800 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_flag__descriptions.h
@@ -1,6 +1,6 @@
---- chrome/browser/flag_descriptions.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/flag_descriptions.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/flag_descriptions.h
-@@ -383,7 +383,7 @@ extern const char
+@@ -435,7 +435,7 @@ extern const char
kAutofillEnableAllowlistForBmoCardCategoryBenefitsDescription[];
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,16 +9,24 @@
extern const char kAutofillEnableAmountExtractionAllowlistDesktopName[];
extern const char kAutofillEnableAmountExtractionAllowlistDesktopDescription[];
extern const char kAutofillEnableAmountExtractionDesktopName[];
-@@ -394,7 +394,7 @@ extern const char kAutofillEnableAmountExtractionDeskt
+@@ -444,14 +444,14 @@ extern const char kAutofillEnableAmountExtractionDeskt
// BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ extern const char kAutofillEnableAmountExtractionTestingName[];
+ extern const char kAutofillEnableAmountExtractionTestingDescription[];
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
extern const char kAutofillEnableBuyNowPayLaterName[];
extern const char kAutofillEnableBuyNowPayLaterDescription[];
-@@ -620,7 +620,7 @@ extern const char kContextMenuEmptySpaceName[];
+@@ -714,7 +714,7 @@ extern const char kContextMenuEmptySpaceName[];
extern const char kContextMenuEmptySpaceDescription[];
#endif // BUILDFLAG(IS_ANDROID)
@@ -26,9 +34,9 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const char kContextualCueingName[];
extern const char kContextualCueingDescription[];
- extern const char kGlicZeroStateSuggestionsName[];
-@@ -813,7 +813,7 @@ extern const char kDevicePostureName[];
- extern const char kDevicePostureDescription[];
+ extern const char kGlicActorName[];
+@@ -885,7 +885,7 @@ extern const char kDocumentPatchingName[];
+ extern const char kDocumentPatchingDescription[];
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_CHROMEOS)
@@ -36,7 +44,7 @@
extern const char kDocumentPictureInPictureAnimateResizeName[];
extern const char kDocumentPictureInPictureAnimateResizeDescription[];
-@@ -975,7 +975,7 @@ extern const char kEnableIsolatedWebAppAllowlistDescri
+@@ -1054,7 +1054,7 @@ extern const char kEnableIsolatedWebAppAllowlistDescri
extern const char kEnableIsolatedWebAppDevModeName[];
extern const char kEnableIsolatedWebAppDevModeDescription[];
@@ -45,16 +53,25 @@
extern const char kEnableIwaKeyDistributionComponentName[];
extern const char kEnableIwaKeyDistributionComponentDescription[];
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -2026,7 +2026,7 @@ extern const char kRetainOmniboxOnFocusName[];
- extern const char kRetainOmniboxOnFocusDescription[];
- #endif // BUILDFLAG(IS_ANDROID)
+@@ -2064,7 +2064,7 @@ extern const char kReduceIPAddressChangeNotificationDe
+ #endif // BUILDFLAG(IS_MAC)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ extern const char kReplaceSyncPromosWithSignInPromosName[];
+ extern const char kReplaceSyncPromosWithSignInPromosDescription[];
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ||
+@@ -2078,7 +2078,7 @@ extern const char kRetainOmniboxOnFocusDescription[];
+ extern const char kRobustWindowManagementName[];
+ extern const char kRobustWindowManagementDescription[];
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
extern const char kRootScrollbarFollowsTheme[];
extern const char kRootScrollbarFollowsThemeDescription[];
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
-@@ -2164,7 +2164,7 @@ extern const char kDefaultSiteInstanceGroupsName[];
+@@ -2219,7 +2219,7 @@ extern const char kDefaultSiteInstanceGroupsName[];
extern const char kDefaultSiteInstanceGroupsDescription[];
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -63,25 +80,25 @@
extern const char kPwaNavigationCapturingName[];
extern const char kPwaNavigationCapturingDescription[];
#endif
-@@ -2311,7 +2311,7 @@ extern const char kTouchTextEditingRedesignDescription
- extern const char kTranslateForceTriggerOnEnglishName[];
- extern const char kTranslateForceTriggerOnEnglishDescription[];
+@@ -2395,7 +2395,7 @@ extern const char kTouchSelectionStrategyDirection[];
+ extern const char kTouchTextEditingRedesignName[];
+ extern const char kTouchTextEditingRedesignDescription[];
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
extern const char kEnableHistorySyncOptinName[];
extern const char kEnableHistorySyncOptinDescription[];
-@@ -3316,7 +3316,7 @@ extern const char kTranslateOpenSettingsName[];
- extern const char kTranslateOpenSettingsDescription[];
- #endif
+@@ -2665,7 +2665,7 @@ extern const char kReduceAcceptLanguageDescription[];
+ extern const char kReduceTransferSizeUpdatedIPCName[];
+ extern const char kReduceTransferSizeUpdatedIPCDescription[];
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- extern const char kWasmTtsComponentUpdaterEnabledName[];
- extern const char kWasmTtsComponentUpdaterEnabledDescription[];
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-@@ -4522,7 +4522,7 @@ extern const char kTetheringExperimentalFunctionalityD
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ extern const char kReduceUserAgentDataLinuxPlatformVersionName[];
+ extern const char kReduceUserAgentDataLinuxPlatformVersionDescription[];
+ #endif // #if BUILDFLAG(IS_LINUX)
+@@ -4481,7 +4481,7 @@ extern const char kTetheringExperimentalFunctionalityD
#endif // #if BUILDFLAG(IS_CHROMEOS)
@@ -90,16 +107,16 @@
extern const char kGetAllScreensMediaName[];
extern const char kGetAllScreensMediaDescription[];
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -4657,7 +4657,7 @@ extern const char kEnableArmHwdrmDescription[];
+@@ -4613,7 +4613,7 @@ extern const char kEnableArmHwdrmDescription[];
// Linux ---------------------------------------------------------------------
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- extern const char kOzonePlatformHintChoiceDefault[];
- extern const char kOzonePlatformHintChoiceAuto[];
- extern const char kOzonePlatformHintChoiceX11[];
-@@ -4688,6 +4688,9 @@ extern const char kWaylandTextInputV3Description[];
+
+
+ extern const char kPulseaudioLoopbackForCastName[];
+@@ -4635,6 +4635,9 @@ extern const char kWaylandSessionManagementDescription
extern const char kWaylandUiScalingName[];
extern const char kWaylandUiScalingDescription[];
@@ -109,25 +126,16 @@
#endif // BUILDFLAG(IS_LINUX)
// Random platform combinations -----------------------------------------------
-@@ -4707,7 +4710,7 @@ extern const char kWebBluetoothConfirmPairingSupportNa
+@@ -4649,7 +4652,7 @@ extern const char kWebBluetoothConfirmPairingSupportNa
extern const char kWebBluetoothConfirmPairingSupportDescription[];
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #if BUILDFLAG(ENABLE_PRINTING)
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_PRINTING)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_PRINTING)
extern const char kCupsIppPrintingBackendName[];
extern const char kCupsIppPrintingBackendDescription[];
-@@ -4720,7 +4723,7 @@ extern const char kScreenlockReauthCardDescription[];
- #endif // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- extern const char kFollowingFeedSidepanelName[];
- extern const char kFollowingFeedSidepanelDescription[];
-
-@@ -4737,7 +4740,7 @@ extern const char kTaskManagerDesktopRefreshName[];
+ #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_PRINTING)
+@@ -4673,7 +4676,7 @@ extern const char kTaskManagerDesktopRefreshName[];
extern const char kTaskManagerDesktopRefreshDescription[];
#endif // BUILDFLAG(IS_ANDROID)
@@ -136,7 +144,7 @@
extern const char kEnableNetworkServiceSandboxName[];
extern const char kEnableNetworkServiceSandboxDescription[];
-@@ -4829,7 +4832,7 @@ extern const char kElementCaptureName[];
+@@ -4756,7 +4759,7 @@ extern const char kElementCaptureName[];
extern const char kElementCaptureDescription[];
#endif // !BUILDFLAG(IS_ANDROID)
@@ -145,21 +153,21 @@
extern const char kUIDebugToolsName[];
extern const char kUIDebugToolsDescription[];
#endif
-@@ -4868,7 +4871,7 @@ extern const char kComposeUpfrontInputModesName[];
- extern const char kComposeUpfrontInputModesDescription[];
- #endif // BUILDFLAG(ENABLE_COMPOSE)
+@@ -4784,7 +4787,7 @@ extern const char kThirdPartyDisableChromeAutofillSett
+ extern const char kThirdPartyDisableChromeAutofillSettingsScreenDescription[];
+ #endif // IS_ANDROID
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const char kThirdPartyProfileManagementName[];
extern const char kThirdPartyProfileManagementDescription[];
-@@ -4951,7 +4954,7 @@ extern const char kEnablePolicyPromotionBannerDescript
+@@ -4860,7 +4863,7 @@ extern const char kEnableManagementPromotionBannerDesc
extern const char kSupervisedUserBlockInterstitialV3Name[];
extern const char kSupervisedUserBlockInterstitialV3Description[];
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- extern const char kSupervisedProfileHideGuestName[];
- extern const char kSupervisedProfileHideGuestDescription[];
-
+ extern const char kSupervisedUserLocalWebApprovalsName[];
+ extern const char kSupervisedUserLocalWebApprovalsDescription[];
+ #endif // #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_glic_widget_glic__widget.cc b/www/ungoogled-chromium/files/patch-chrome_browser_glic_widget_glic__widget.cc
new file mode 100644
index 000000000000..1dca70d3935f
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_glic_widget_glic__widget.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/glic/widget/glic_widget.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/glic/widget/glic_widget.cc
+@@ -127,7 +127,7 @@ std::unique_ptr<GlicWidget> GlicWidget::Create(
+ // Don't change this name. This is used by other code to identify the glic
+ // window. See b/404947780.
+ params.name = "GlicWidget";
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ params.wm_class_class = shell_integration_linux::GetProgramClassClass();
+ params.wayland_app_id = params.wm_class_class + "-glic";
+ #endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_global__features.cc b/www/ungoogled-chromium/files/patch-chrome_browser_global__features.cc
index ac165f6428e5..6181ab083c00 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_global__features.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_global__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/global_features.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/global_features.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/global_features.cc
-@@ -23,7 +23,7 @@
+@@ -24,7 +24,7 @@
#include "chrome/browser/glic/host/glic_synthetic_trial_manager.h" // nogncheck
#endif
@@ -9,7 +9,7 @@
// This causes a gn error on Android builds, because gn does not understand
// buildflags, so we include it only on platforms where it is used.
#include "chrome/browser/ui/webui/whats_new/whats_new_registrar.h"
-@@ -62,7 +62,7 @@ void GlobalFeatures::ReplaceGlobalFeaturesForTesting(
+@@ -70,7 +70,7 @@ void GlobalFeatures::ReplaceGlobalFeaturesForTesting(
void GlobalFeatures::Init() {
system_permissions_platform_handle_ = CreateSystemPermissionsPlatformHandle();
@@ -18,7 +18,7 @@
whats_new_registry_ = CreateWhatsNewRegistry();
#endif
-@@ -96,7 +96,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle(
+@@ -119,7 +119,7 @@ GlobalFeatures::CreateSystemPermissionsPlatformHandle(
return system_permission_settings::PlatformHandle::Create();
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_global__features.h b/www/ungoogled-chromium/files/patch-chrome_browser_global__features.h
index b0c6bb40a7a8..af6b212c09e3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_global__features.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_global__features.h
@@ -1,6 +1,6 @@
---- chrome/browser/global_features.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/global_features.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/global_features.h
-@@ -14,7 +14,7 @@
+@@ -15,7 +15,7 @@
namespace system_permission_settings {
class PlatformHandle;
} // namespace system_permission_settings
@@ -9,7 +9,7 @@
namespace whats_new {
class WhatsNewRegistry;
} // namespace whats_new
-@@ -58,7 +58,7 @@ class GlobalFeatures {
+@@ -63,7 +63,7 @@ class GlobalFeatures {
system_permissions_platform_handle() {
return system_permissions_platform_handle_.get();
}
@@ -18,7 +18,7 @@
whats_new::WhatsNewRegistry* whats_new_registry() {
return whats_new_registry_.get();
}
-@@ -91,7 +91,7 @@ class GlobalFeatures {
+@@ -103,7 +103,7 @@ class GlobalFeatures {
virtual std::unique_ptr<system_permission_settings::PlatformHandle>
CreateSystemPermissionsPlatformHandle();
@@ -27,7 +27,7 @@
virtual std::unique_ptr<whats_new::WhatsNewRegistry> CreateWhatsNewRegistry();
#endif
-@@ -101,7 +101,7 @@ class GlobalFeatures {
+@@ -113,7 +113,7 @@ class GlobalFeatures {
std::unique_ptr<system_permission_settings::PlatformHandle>
system_permissions_platform_handle_;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc b/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc
index 789b8da2a7a4..eef27af40533 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc
@@ -1,4 +1,4 @@
---- chrome/browser/headless/headless_mode_util.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/headless/headless_mode_util.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/headless/headless_mode_util.cc
@@ -10,7 +10,7 @@
// New headless mode is available on Linux, Windows and Mac platforms.
@@ -9,16 +9,16 @@
#include "base/base_switches.h"
#include "base/files/file_path.h"
-@@ -20,7 +20,7 @@
+@@ -19,7 +19,7 @@
+ #include "chrome/common/chrome_switches.h"
#include "content/public/common/content_switches.h"
- #include "ui/base/ui_base_switches.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/gl/gl_switches.h" // nogncheck
#include "ui/ozone/public/ozone_switches.h" // nogncheck
#endif // BUILDFLAG(IS_LINUX)
-@@ -95,7 +95,7 @@ class HeadlessModeHandleImpl : public HeadlessModeHand
+@@ -94,7 +94,7 @@ class HeadlessModeHandleImpl : public HeadlessModeHand
}
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
index e11a5c261c37..4a316a617c42 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2024-08-26 14:40:28 UTC
+--- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
-@@ -40,10 +40,12 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
+@@ -39,10 +39,12 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
// Note that this initializes the delegate asynchronously, but since
// the delegate will only be used from the IO thread, it is guaranteed
// to be created before use of it expects it to be there.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc b/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
index 4b30ff5f497b..67939acc8e9d 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media_galleries/media_file_system_registry.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/media_galleries/media_file_system_registry.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media_galleries/media_file_system_registry.cc
-@@ -583,7 +583,12 @@ class MediaFileSystemRegistry::MediaFileSystemContextI
+@@ -582,7 +582,12 @@ class MediaFileSystemRegistry::MediaFileSystemContextI
// Constructor in 'private' section because depends on private class definition.
MediaFileSystemRegistry::MediaFileSystemRegistry()
: file_system_context_(new MediaFileSystemContextImpl) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_BUILD.gn b/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_BUILD.gn
index 987eadf23644..9cab129d95e0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/media/router/discovery/BUILD.gn.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/media/router/discovery/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media/router/discovery/BUILD.gn
-@@ -79,7 +79,7 @@ static_library("discovery") {
+@@ -81,7 +81,7 @@ static_library("discovery") {
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc b/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc
index dd9580bb312f..d34e6166935f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media_router_discovery_discovery__network__list__wifi__linux.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media/router/discovery/discovery_network_list_wifi_linux.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/media/router/discovery/discovery_network_list_wifi_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media/router/discovery/discovery_network_list_wifi_linux.cc
-@@ -9,7 +9,11 @@
+@@ -4,7 +4,11 @@
#include "chrome/browser/media/router/discovery/discovery_network_list_wifi.h"
@@ -12,7 +12,7 @@
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
-@@ -24,6 +28,7 @@ namespace media_router {
+@@ -20,6 +24,7 @@ namespace media_router {
bool MaybeGetWifiSSID(const std::string& if_name, std::string* ssid_out) {
DCHECK(ssid_out);
@@ -20,7 +20,7 @@
base::ScopedFD ioctl_socket(socket(AF_INET, SOCK_DGRAM, 0));
if (!ioctl_socket.is_valid()) {
// AF_INET is for IPv4, so it may fail for IPv6-only hosts even when there
-@@ -46,6 +51,7 @@ bool MaybeGetWifiSSID(const std::string& if_name, std:
+@@ -42,6 +47,7 @@ bool MaybeGetWifiSSID(const std::string& if_name, std:
ssid_out->assign(ssid);
return true;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc
index a94fb9cedc9c..441994517541 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_chrome__screen__enumerator.cc
@@ -1,4 +1,4 @@
---- chrome/browser/media/webrtc/chrome_screen_enumerator.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/media/webrtc/chrome_screen_enumerator.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media/webrtc/chrome_screen_enumerator.cc
@@ -21,7 +21,7 @@
#if BUILDFLAG(IS_CHROMEOS)
@@ -27,7 +27,7 @@
blink::mojom::StreamDevicesSetPtr EnumerateScreens(
blink::mojom::MediaStreamType stream_type) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
-@@ -130,7 +130,7 @@ void ChromeScreenEnumerator::SetRootWindowsForTesting(
+@@ -132,7 +132,7 @@ void ChromeScreenEnumerator::SetRootWindowsForTesting(
root_windows_for_testing_.Get() = std::move(root_windows);
}
@@ -36,7 +36,7 @@
void ChromeScreenEnumerator::SetDesktopCapturerForTesting(
std::unique_ptr<webrtc::DesktopCapturer> capturer) {
g_desktop_capturer_for_testing.Get() = std::move(capturer);
-@@ -143,7 +143,7 @@ void ChromeScreenEnumerator::EnumerateScreens(
+@@ -145,7 +145,7 @@ void ChromeScreenEnumerator::EnumerateScreens(
ScreensCallback screens_callback) const {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc
index 8c62330334d9..b9301c137eff 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_desktop__media__picker__controller.cc
@@ -1,9 +1,9 @@
---- chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2024-06-22 08:49:42 UTC
+--- chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media/webrtc/desktop_media_picker_controller.cc
-@@ -89,7 +89,7 @@ bool DesktopMediaPickerController::IsSystemAudioCaptur
- #if BUILDFLAG(IS_MAC)
- return request_source == Params::RequestSource::kCast ||
- base::FeatureList::IsEnabled(media::kMacLoopbackAudioForScreenShare);
+@@ -99,7 +99,7 @@ bool DesktopMediaPickerController::IsSystemAudioCaptur
+ base::FeatureList::IsEnabled(
+ media::kMacCatapLoopbackAudioForScreenShare));
+ }
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (request_source == Params::RequestSource::kCast) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
index 76d187ba1fb5..c233ba348b57 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media/webrtc/webrtc_log_uploader.cc
-@@ -105,7 +105,7 @@ std::string GetLogUploadProduct() {
+@@ -101,7 +101,7 @@ std::string GetLogUploadProduct() {
const char product[] = "Chrome";
#elif BUILDFLAG(IS_MAC)
const char product[] = "Chrome_Mac";
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc
index 1c9d10e9e6c0..59cdb1799edb 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.cc
@@ -1,33 +1,20 @@
---- chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media/webrtc/webrtc_logging_controller.cc
-@@ -25,10 +25,10 @@
+@@ -25,7 +25,7 @@
#include "components/webrtc_logging/browser/text_log_list.h"
#include "content/public/browser/render_process_host.h"
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
#include "content/public/browser/child_process_security_policy.h"
#include "storage/browser/file_system/isolated_context.h"
--#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
-
- using webrtc_event_logging::WebRtcEventLogManager;
-
-@@ -304,7 +304,7 @@ void WebRtcLoggingController::StartEventLogging(
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
+@@ -305,7 +305,7 @@ void WebRtcLoggingController::StartEventLogging(
web_app_id, callback);
}
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
void WebRtcLoggingController::GetLogsDirectory(
LogsDirectoryCallback callback,
LogsDirectoryErrorCallback error_callback) {
-@@ -350,7 +350,7 @@ void WebRtcLoggingController::GrantLogsDirectoryAccess
- FROM_HERE,
- base::BindOnce(std::move(callback), file_system.id(), registered_name));
- }
--#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
-
- void WebRtcLoggingController::OnRtpPacket(
- base::HeapArray<uint8_t> packet_header,
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h
index 01d95274459d..ad6f5b3a675b 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_media_webrtc_webrtc__logging__controller.h
@@ -1,11 +1,11 @@
---- chrome/browser/media/webrtc/webrtc_logging_controller.h.orig 2024-02-03 15:42:55 UTC
+--- chrome/browser/media/webrtc/webrtc_logging_controller.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/media/webrtc/webrtc_logging_controller.h
@@ -133,7 +133,7 @@ class WebRtcLoggingController
size_t web_app_id,
const StartEventLoggingCallback& callback);
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
// Ensures that the WebRTC Logs directory exists and then grants render
// process access to the 'WebRTC Logs' directory, and invokes |callback| with
// the ids necessary to create a DirectoryEntry object.
@@ -13,8 +13,8 @@
content::BrowserContext* GetBrowserContext() const;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
// Grants the render process access to the 'WebRTC Logs' directory, and
// invokes |callback| with the ids necessary to create a DirectoryEntry
// object. If the |logs_path| couldn't be created or found, |error_callback|
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_memory__details.cc b/www/ungoogled-chromium/files/patch-chrome_browser_memory__details.cc
index b625a2bb8229..fa29181641ae 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_memory__details.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_memory__details.cc
@@ -1,6 +1,6 @@
---- chrome/browser/memory_details.cc.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/memory_details.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/memory_details.cc
-@@ -335,7 +335,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
+@@ -334,7 +334,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
});
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc b/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
index d3432940a8d1..da8dc27b69a5 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
@@ -1,6 +1,6 @@
---- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
-@@ -85,7 +85,7 @@
+@@ -86,7 +86,7 @@
#include "chrome/browser/flags/android/chrome_session_state.h"
#endif // BUILDFLAG(IS_ANDROID)
@@ -9,7 +9,7 @@
#if defined(__GLIBC__)
#include <gnu/libc-version.h>
#endif // defined(__GLIBC__)
-@@ -110,7 +110,7 @@
+@@ -111,7 +111,7 @@
#include "chrome/installer/util/taskbar_util.h"
#endif // BUILDFLAG(IS_WIN)
@@ -18,7 +18,7 @@
#include "chrome/browser/metrics/pressure/pressure_metrics_reporter.h"
#endif // BUILDFLAG(IS_LINUX)
-@@ -119,7 +119,7 @@
+@@ -120,7 +120,7 @@
#include "components/user_manager/user_manager.h"
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -27,7 +27,7 @@
#include "components/power_metrics/system_power_monitor.h"
#endif
-@@ -898,7 +898,7 @@ void RecordStartupMetrics() {
+@@ -900,7 +900,7 @@ void RecordStartupMetrics() {
// Record whether Chrome is the default browser or not.
// Disabled on Linux due to hanging browser tests, see crbug.com/1216328.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc b/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc
index 2b8ea5852d71..d76e020596b7 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_metrics_chrome__metrics__service__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/metrics/chrome_metrics_service_client.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/metrics/chrome_metrics_service_client.cc
-@@ -201,11 +201,11 @@
+@@ -202,11 +202,11 @@
#include "chrome/browser/metrics/google_update_metrics_provider_mac.h"
#endif
@@ -14,16 +14,25 @@
#include "chrome/browser/metrics/chrome_metrics_service_crash_reporter.h"
#endif
-@@ -237,7 +237,7 @@ const int kMaxHistogramGatheringWaitDuration = 60000;
+@@ -224,7 +224,7 @@
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/tabs/tab_metrics_provider.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS)
+@@ -244,7 +244,7 @@ const int kMaxHistogramGatheringWaitDuration = 60000;
// Needs to be kept in sync with the writer in
// third_party/crashpad/crashpad/handler/handler_main.cc.
const char kCrashpadHistogramAllocatorName[] = "CrashpadMetrics";
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::LazyInstance<ChromeMetricsServiceCrashReporter>::Leaky g_crash_reporter =
- LAZY_INSTANCE_INITIALIZER;
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-@@ -541,7 +541,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg
+ ChromeMetricsServiceCrashReporter& GetCrashReporter() {
+ static base::NoDestructor<ChromeMetricsServiceCrashReporter> crash_reporter;
+ return *crash_reporter;
+@@ -554,7 +554,7 @@ void ChromeMetricsServiceClient::RegisterPrefs(PrefReg
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -32,7 +41,7 @@
metrics::structured::StructuredMetricsService::RegisterPrefs(registry);
#if !BUILDFLAG(IS_CHROMEOS)
-@@ -623,7 +623,7 @@ std::string ChromeMetricsServiceClient::GetVersionStri
+@@ -636,7 +636,7 @@ std::string ChromeMetricsServiceClient::GetVersionStri
void ChromeMetricsServiceClient::OnEnvironmentUpdate(std::string* environment) {
// TODO(https://bugs.ch40m1um.qjz9zk/p/crashpad/issues/detail?id=135): call this
// on Mac when the Crashpad API supports it.
@@ -41,7 +50,7 @@
// Register the environment with the crash reporter. Note that there is a
// window from startup to this point during which crash reports will not have
// an environment set.
-@@ -725,7 +725,7 @@ void ChromeMetricsServiceClient::Initialize() {
+@@ -738,7 +738,7 @@ void ChromeMetricsServiceClient::Initialize() {
std::make_unique<metrics::dwa::DwaService>(this, local_state);
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -50,7 +59,7 @@
metrics::structured::Recorder::GetInstance()->SetUiTaskRunner(
base::SequencedTaskRunner::GetCurrentDefault());
#endif
-@@ -785,7 +785,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+@@ -798,7 +798,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
metrics_service_->RegisterMetricsProvider(
std::make_unique<metrics::CPUMetricsProvider>());
@@ -59,7 +68,7 @@
metrics_service_->RegisterMetricsProvider(
std::make_unique<metrics::MotherboardMetricsProvider>());
#endif
-@@ -874,7 +874,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+@@ -886,7 +886,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
std::make_unique<GoogleUpdateMetricsProviderMac>());
#endif
@@ -68,7 +77,16 @@
metrics_service_->RegisterMetricsProvider(
std::make_unique<DesktopPlatformFeaturesMetricsProvider>());
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -978,7 +978,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+@@ -988,7 +988,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
+ std::make_unique<HttpsEngagementMetricsProvider>());
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ metrics_service_->RegisterMetricsProvider(
+ std::make_unique<TabMetricsProvider>(
+ g_browser_process->profile_manager()));
+@@ -1000,7 +1000,7 @@ void ChromeMetricsServiceClient::RegisterMetricsServic
std::make_unique<PowerMetricsProvider>());
#endif
@@ -77,7 +95,7 @@
metrics_service_->RegisterMetricsProvider(
metrics::CreateDesktopSessionMetricsProvider());
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || (BUILDFLAG(IS_LINUX)
-@@ -1169,7 +1169,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve
+@@ -1191,7 +1191,7 @@ bool ChromeMetricsServiceClient::RegisterForProfileEve
}
#endif
@@ -86,7 +104,7 @@
// This creates the DesktopProfileSessionDurationsServices if it didn't exist
// already.
metrics::DesktopProfileSessionDurationsServiceFactory::GetForBrowserContext(
-@@ -1518,7 +1518,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri
+@@ -1540,7 +1540,7 @@ void ChromeMetricsServiceClient::CreateStructuredMetri
recorder =
base::MakeRefCounted<metrics::structured::AshStructuredMetricsRecorder>(
cros_system_profile_provider_.get());
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc b/www/ungoogled-chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc
index 39bb7610c08f..d75977f8c278 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_metrics_power_process__monitor.cc
@@ -1,6 +1,6 @@
---- chrome/browser/metrics/power/process_monitor.cc.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/metrics/power/process_monitor.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/metrics/power/process_monitor.cc
-@@ -65,7 +65,7 @@ ProcessMonitor::Metrics SampleMetrics(base::ProcessMet
+@@ -64,7 +64,7 @@ ProcessMonitor::Metrics SampleMetrics(base::ProcessMet
process_metrics.GetPlatformIndependentCPUUsage());
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
metrics.idle_wakeups = process_metrics.GetIdleWakeupsPerSecond();
#endif
#if BUILDFLAG(IS_MAC)
-@@ -83,7 +83,7 @@ void ScaleMetrics(ProcessMonitor::Metrics* metrics, do
+@@ -82,7 +82,7 @@ void ScaleMetrics(ProcessMonitor::Metrics* metrics, do
}
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -18,7 +18,7 @@
metrics->idle_wakeups *= factor;
#endif
-@@ -157,7 +157,7 @@ ProcessMonitor::Metrics& operator+=(ProcessMonitor::Me
+@@ -156,7 +156,7 @@ ProcessMonitor::Metrics& operator+=(ProcessMonitor::Me
}
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service.cc
index b7f01aaa7b18..974088908f1e 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/net/profile_network_context_service.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/net/profile_network_context_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/net/profile_network_context_service.cc
-@@ -134,7 +134,7 @@
+@@ -136,7 +136,7 @@
#include "extensions/common/constants.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
-@@ -275,7 +275,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet
+@@ -285,7 +285,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet
});
}
@@ -18,7 +18,7 @@
std::unique_ptr<net::ClientCertStore> GetWrappedCertStore(
Profile* profile,
std::unique_ptr<net::ClientCertStore> platform_store) {
-@@ -1223,7 +1223,7 @@ ProfileNetworkContextService::CreateClientCertStore()
+@@ -1288,7 +1288,7 @@ ProfileNetworkContextService::CreateClientCertStore()
std::make_unique<net::ClientCertStoreNSS>(
base::BindRepeating(&CreateCryptoModuleBlockingPasswordDelegate,
kCryptoModulePasswordClientAuth));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc
index a7afe56b7ad9..ff1d10c416da 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_net_profile__network__context__service__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/net/profile_network_context_service_factory.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/net/profile_network_context_service_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/net/profile_network_context_service_factory.cc
-@@ -24,7 +24,7 @@
+@@ -32,7 +32,7 @@
#include "chrome/browser/net/server_certificate_database_service_factory.h" // nogncheck
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#endif
-@@ -68,7 +68,7 @@ ProfileNetworkContextServiceFactory::ProfileNetworkCon
+@@ -76,7 +76,7 @@ ProfileNetworkContextServiceFactory::ProfileNetworkCon
#if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
DependsOn(net::ServerCertificateDatabaseServiceFactory::GetInstance());
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.cc
index 3228fb96aa42..991da0c82d17 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.cc
@@ -1,15 +1,15 @@
---- chrome/browser/net/system_network_context_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/net/system_network_context_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/net/system_network_context_manager.cc
-@@ -135,7 +135,7 @@ SystemNetworkContextManager* g_system_network_context_
- // received a failed launch for a sandboxed network service.
- bool g_previously_failed_to_launch_sandboxed_service = false;
+@@ -142,7 +142,7 @@ enum class NetworkSandboxState {
+ // The global instance of the SystemNetworkContextManager.
+ SystemNetworkContextManager* g_system_network_context_manager = nullptr;
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Whether kerberos library loading will work in the network service due to the
// sandbox.
bool g_network_service_will_allow_gssapi_library_load = false;
-@@ -143,7 +143,7 @@ bool g_network_service_will_allow_gssapi_library_load
+@@ -150,7 +150,7 @@ bool g_network_service_will_allow_gssapi_library_load
const char* kGssapiDesiredPref =
#if BUILDFLAG(IS_CHROMEOS)
prefs::kKerberosEnabled;
@@ -18,7 +18,7 @@
prefs::kReceivedHttpAuthNegotiateHeader;
#endif
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -189,7 +189,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
+@@ -196,7 +196,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
auth_dynamic_params->basic_over_http_enabled =
local_state->GetBoolean(prefs::kBasicAuthOverHttpEnabled);
@@ -27,7 +27,7 @@
auth_dynamic_params->delegate_by_kdc_policy =
local_state->GetBoolean(prefs::kAuthNegotiateDelegateByKdcPolicy);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -204,7 +204,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
+@@ -211,7 +211,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
local_state->GetString(prefs::kAuthAndroidNegotiateAccountType);
#endif // BUILDFLAG(IS_ANDROID)
@@ -36,7 +36,7 @@
auth_dynamic_params->allow_gssapi_library_load =
local_state->GetBoolean(kGssapiDesiredPref);
#endif // BUILDFLAG(IS_CHROMEOS)
-@@ -214,7 +214,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
+@@ -221,7 +221,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut
void OnNewHttpAuthDynamicParams(
network::mojom::HttpAuthDynamicParamsPtr& params) {
@@ -45,9 +45,9 @@
// The kerberos library is incompatible with the network service sandbox, so
// if library loading is now enabled, the network service needs to be
// restarted. It will be restarted unsandboxed because is
-@@ -256,11 +256,11 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
- if (g_previously_failed_to_launch_sandboxed_service) {
- return NetworkSandboxState::kDisabledBecauseOfFailedLaunch;
+@@ -269,11 +269,11 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
+ // it is not always initialized.
+ CHECK_IS_TEST();
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
@@ -59,7 +59,7 @@
// The network service sandbox and the kerberos library are incompatible.
// If kerberos is enabled by policy, disable the network service sandbox.
if (g_network_service_will_allow_gssapi_library_load ||
-@@ -276,7 +276,7 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
+@@ -289,7 +289,7 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal()
}
#endif // BUILDFLAG(IS_WIN)
@@ -68,7 +68,7 @@
if (local_state &&
local_state->HasPrefPath(prefs::kNetworkServiceSandboxEnabled)) {
return local_state->GetBoolean(prefs::kNetworkServiceSandboxEnabled)
-@@ -522,7 +522,7 @@ void SystemNetworkContextManager::DeleteInstance() {
+@@ -594,7 +594,7 @@ void SystemNetworkContextManager::DeleteInstance() {
g_system_network_context_manager = nullptr;
}
@@ -77,7 +77,7 @@
SystemNetworkContextManager::GssapiLibraryLoadObserver::
GssapiLibraryLoadObserver(SystemNetworkContextManager* owner)
: owner_(owner) {}
-@@ -580,7 +580,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
+@@ -652,7 +652,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
pref_change_registrar_.Add(prefs::kAllHttpAuthSchemesAllowedForOrigins,
auth_pref_callback);
@@ -86,7 +86,7 @@
pref_change_registrar_.Add(prefs::kAuthNegotiateDelegateByKdcPolicy,
auth_pref_callback);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -594,7 +594,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
+@@ -666,7 +666,7 @@ SystemNetworkContextManager::SystemNetworkContextManag
auth_pref_callback);
#endif // BUILDFLAG(IS_ANDROID)
@@ -95,7 +95,7 @@
pref_change_registrar_.Add(kGssapiDesiredPref, auth_pref_callback);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -659,7 +659,7 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
+@@ -738,7 +738,7 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
registry->RegisterStringPref(prefs::kAuthNegotiateDelegateAllowlist,
std::string());
@@ -104,7 +104,7 @@
registry->RegisterBooleanPref(prefs::kAuthNegotiateDelegateByKdcPolicy,
false);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -684,11 +684,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
+@@ -763,11 +763,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe
registry->RegisterListPref(prefs::kExplicitlyAllowedNetworkPorts);
@@ -118,7 +118,7 @@
registry->RegisterBooleanPref(prefs::kReceivedHttpAuthNegotiateHeader, false);
#endif // BUILDFLAG(IS_LINUX)
-@@ -739,7 +739,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea
+@@ -821,7 +821,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea
OnNewHttpAuthDynamicParams(http_auth_dynamic_params);
network_service->ConfigureHttpAuthPrefs(std::move(http_auth_dynamic_params));
@@ -127,7 +127,7 @@
gssapi_library_loader_observer_.Install(network_service);
#endif // BUILDFLAG(IS_LINUX)
-@@ -957,7 +957,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab
+@@ -1048,7 +1048,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab
break;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.h b/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.h
index b9385fa8a08e..cf63d4fac114 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_net_system__network__context__manager.h
@@ -1,6 +1,6 @@
---- chrome/browser/net/system_network_context_manager.h.orig 2024-10-27 06:40:35 UTC
+--- chrome/browser/net/system_network_context_manager.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/net/system_network_context_manager.h
-@@ -198,7 +198,7 @@ class SystemNetworkContextManager {
+@@ -212,7 +212,7 @@ class SystemNetworkContextManager {
class URLLoaderFactoryForSystem;
class NetworkProcessLaunchWatcher;
@@ -9,7 +9,7 @@
class GssapiLibraryLoadObserver
: public network::mojom::GssapiLibraryLoadObserver {
public:
-@@ -279,7 +279,7 @@ class SystemNetworkContextManager {
+@@ -295,7 +295,7 @@ class SystemNetworkContextManager {
std::unique_ptr<NetworkAnnotationMonitor> network_annotation_monitor_;
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc
index d4a129865f49..e27d59f432ec 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_modules_file__suggestion_drive__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/new_tab_page/modules/file_suggestion/drive_service.cc.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/new_tab_page/modules/file_suggestion/drive_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/new_tab_page/modules/file_suggestion/drive_service.cc
-@@ -35,7 +35,7 @@
+@@ -36,7 +36,7 @@
#include "services/network/public/cpp/resource_request.h"
namespace {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc b/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc
index 63b42ee9a271..fe7ee91a347e 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_new__tab__page_new__tab__page__util.cc
@@ -1,6 +1,6 @@
---- chrome/browser/new_tab_page/new_tab_page_util.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/new_tab_page/new_tab_page_util.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/new_tab_page/new_tab_page_util.cc
-@@ -28,7 +28,7 @@ bool IsOsSupportedForCart() {
+@@ -32,7 +32,7 @@ bool IsOsSupportedForCart() {
}
bool IsOsSupportedForDrive() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc b/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
index b089a6fbce42..15bf5a82d692 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/password_manager/chrome_password_manager_client.cc
-@@ -664,7 +664,7 @@ void ChromePasswordManagerClient::
+@@ -729,7 +729,7 @@ void ChromePasswordManagerClient::
bool ChromePasswordManagerClient::IsReauthBeforeFillingRequired(
device_reauth::DeviceAuthenticator* authenticator) {
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
if (!GetLocalStatePrefs() || !GetPrefs() || !authenticator) {
return false;
}
-@@ -942,7 +942,7 @@ void ChromePasswordManagerClient::NotifyUserCredential
+@@ -1008,7 +1008,7 @@ void ChromePasswordManagerClient::NotifyUserCredential
}
void ChromePasswordManagerClient::NotifyKeychainError() {
@@ -18,3 +18,21 @@
PasswordsClientUIDelegate* manage_passwords_ui_controller =
PasswordsClientUIDelegateFromWebContents(web_contents());
if (manage_passwords_ui_controller) {
+@@ -2083,7 +2083,7 @@ void ChromePasswordManagerClient::HideFillingUI() {
+ bool ChromePasswordManagerClient::IsPasswordManagementEnabledForCurrentPage(
+ const GURL& url) const {
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (IsPasswordManagerForUrlDisallowedByPolicy(url)) {
+ return false;
+ }
+@@ -2122,7 +2122,7 @@ bool ChromePasswordManagerClient::IsPasswordManagement
+ }
+
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ bool ChromePasswordManagerClient::IsPasswordManagerForUrlDisallowedByPolicy(
+ const GURL& url) const {
+ if (!GetPrefs() || !GetPrefs()->HasPrefPath(
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc
new file mode 100644
index 000000000000..c9d406c00030
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_factories_password__reuse__manager__factory.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/password_manager/factories/password_reuse_manager_factory.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/password_manager/factories/password_reuse_manager_factory.cc
+@@ -128,7 +128,7 @@ PasswordReuseManagerFactory::BuildServiceInstanceForBr
+ // Prepare password hash data for reuse detection.
+ reuse_manager->PreparePasswordHashData(GetSignInStateForMetrics(profile));
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<password_manager::PasswordReuseManagerSigninNotifier>
+ notifier = std::make_unique<
+ password_manager::PasswordReuseManagerSigninNotifierImpl>(
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc
deleted file mode 100644
index b63b7d749774..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_password__manager_password__reuse__manager__factory.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/password_manager/password_reuse_manager_factory.cc.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/password_manager/password_reuse_manager_factory.cc
-@@ -128,7 +128,7 @@ PasswordReuseManagerFactory::BuildServiceInstanceForBr
- // Prepare password hash data for reuse detection.
- reuse_manager->PreparePasswordHashData(GetSignInStateForMetrics(profile));
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- std::unique_ptr<password_manager::PasswordReuseManagerSigninNotifier>
- notifier = std::make_unique<
- password_manager::PasswordReuseManagerSigninNotifierImpl>(
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc b/www/ungoogled-chromium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc
index e2583ac99aa9..36eadcca3c85 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_policy_chrome__browser__cloud__management__controller__desktop.cc
@@ -1,6 +1,6 @@
---- chrome/browser/policy/chrome_browser_cloud_management_controller_desktop.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/policy/chrome_browser_cloud_management_controller_desktop.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/policy/chrome_browser_cloud_management_controller_desktop.cc
-@@ -60,7 +60,7 @@
+@@ -57,7 +57,7 @@
#include "chrome/browser/policy/browser_dm_token_storage_mac.h"
#endif // BUILDFLAG(IS_MAC)
@@ -9,7 +9,7 @@
#include "chrome/browser/policy/browser_dm_token_storage_linux.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -69,7 +69,7 @@
+@@ -66,7 +66,7 @@
#include "chrome/install_static/install_util.h"
#endif // BUILDFLAG(IS_WIN)
@@ -18,7 +18,7 @@
#include "chrome/browser/enterprise/client_certificates/browser_context_delegate.h"
#include "chrome/browser/enterprise/client_certificates/cert_utils.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/browser/device_trust_key_manager_impl.h"
-@@ -115,7 +115,7 @@ void ChromeBrowserCloudManagementControllerDesktop::
+@@ -111,7 +111,7 @@ void ChromeBrowserCloudManagementControllerDesktop::
#if BUILDFLAG(IS_MAC)
storage_delegate = std::make_unique<BrowserDMTokenStorageMac>();
@@ -27,7 +27,7 @@
storage_delegate = std::make_unique<BrowserDMTokenStorageLinux>();
#elif BUILDFLAG(IS_WIN)
storage_delegate = std::make_unique<BrowserDMTokenStorageWin>();
-@@ -286,7 +286,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateC
+@@ -275,7 +275,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateC
std::unique_ptr<enterprise_connectors::DeviceTrustKeyManager>
ChromeBrowserCloudManagementControllerDesktop::CreateDeviceTrustKeyManager() {
@@ -36,7 +36,7 @@
auto* browser_dm_token_storage = BrowserDMTokenStorage::Get();
auto* device_management_service = GetDeviceManagementService();
auto shared_url_loader_factory = GetSharedURLLoaderFactory();
-@@ -308,7 +308,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateD
+@@ -297,7 +297,7 @@ ChromeBrowserCloudManagementControllerDesktop::CreateD
std::unique_ptr<client_certificates::CertificateProvisioningService>
ChromeBrowserCloudManagementControllerDesktop::
CreateCertificateProvisioningService() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc
index b047a49a9b21..49a71d8292f7 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc
@@ -1,45 +1,15 @@
---- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/policy/configuration_policy_handler_list_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/policy/configuration_policy_handler_list_factory.cc
-@@ -253,19 +253,19 @@
+@@ -243,7 +243,7 @@
#include "components/spellcheck/browser/pref_names.h"
#endif // BUILDFLAG(ENABLE_SPELLCHECK)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/browser_switcher/browser_switcher_prefs.h"
#include "chrome/browser/enterprise/idle/action.h"
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
- #include "components/device_signals/core/browser/pref_names.h" // nogncheck due to crbug.com/1125897
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- #include "components/enterprise/idle/idle_timeout_policy_handler.h"
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/privacy_sandbox/privacy_sandbox_policy_handler.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-@@ -279,13 +279,13 @@
- #endif // BUILDFLAG(ENTERPRISE_CLIENT_CERTIFICATES)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/policy/battery_saver_policy_handler.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "components/search_engines/enterprise/search_aggregator_policy_handler.h"
- #include "components/search_engines/enterprise/site_search_policy_handler.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-@@ -579,7 +579,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -565,7 +565,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
prefs::kManagedDefaultSmartCardConnectSetting,
base::Value::Type::INTEGER },
#endif
@@ -48,17 +18,17 @@
{ key::kDeletingUndecryptablePasswordsEnabled,
password_manager::prefs::kDeletingUndecryptablePasswordsEnabled,
base::Value::Type::BOOLEAN },
-@@ -934,7 +934,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
- prefs::kManagedDefaultGeolocationSetting,
- base::Value::Type::INTEGER },
+@@ -927,7 +927,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ base::Value::Type::LIST },
+ #endif // BUILDFLAG(ENABLE_EXTENSIONS_CORE)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) \
- || BUILDFLAG(IS_MAC)
+ || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- { key::kMandatoryExtensionsForIncognitoNavigation,
- prefs::kMandatoryExtensionsForIncognitoNavigation,
- base::Value::Type::LIST },
-@@ -943,7 +943,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ { key::kRequireOnlineRevocationChecksForLocalAnchors,
+ prefs::kCertRevocationCheckingRequiredLocalAnchors,
base::Value::Type::BOOLEAN },
+@@ -936,7 +936,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ base::Value::Type::LIST },
#endif // #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
// || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
@@ -66,7 +36,7 @@
{ key::kFullscreenAllowed,
prefs::kFullscreenAllowed,
base::Value::Type::BOOLEAN },
-@@ -1819,7 +1819,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1806,7 +1806,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::INTEGER},
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -75,16 +45,16 @@
{ key::kGSSAPILibraryName,
prefs::kGSSAPILibraryName,
base::Value::Type::STRING },
-@@ -1878,7 +1878,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1871,7 +1871,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::BOOLEAN },
- #endif // BUILDFLAG(IS_WIN)
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{ key::kNetworkServiceSandboxEnabled,
prefs::kNetworkServiceSandboxEnabled,
base::Value::Type::BOOLEAN },
-@@ -1898,12 +1898,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1891,12 +1891,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
prefs::kTotalMemoryLimitMb,
base::Value::Type::INTEGER },
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
@@ -99,7 +69,7 @@
{ key::kUnmanagedDeviceSignalsConsentFlowEnabled,
device_signals::prefs::kUnmanagedDeviceSignalsConsentFlowEnabled,
base::Value::Type::BOOLEAN },
-@@ -1911,7 +1911,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1907,7 +1907,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
prefs::kLiveTranslateEnabled,
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -108,7 +78,7 @@
{ key::kDefaultBrowserSettingEnabled,
prefs::kDefaultBrowserSettingEnabled,
base::Value::Type::BOOLEAN },
-@@ -1923,7 +1923,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -1919,7 +1919,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) \
@@ -117,7 +87,7 @@
{ key::kAutoplayAllowed,
prefs::kAutoplayAllowed,
base::Value::Type::BOOLEAN },
-@@ -2021,7 +2021,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2020,7 +2020,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::BOOLEAN },
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS)
@@ -126,7 +96,7 @@
{ key::kAlternativeBrowserPath,
browser_switcher::prefs::kAlternativeBrowserPath,
base::Value::Type::STRING },
-@@ -2122,7 +2122,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2125,7 +2125,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -135,17 +105,17 @@
{ key::kAuthNegotiateDelegateByKdcPolicy,
prefs::kAuthNegotiateDelegateByKdcPolicy,
base::Value::Type::BOOLEAN },
-@@ -2193,7 +2193,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2199,7 +2199,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
ash::prefs::kUrlParameterToAutofillSAMLUsername,
base::Value::Type::STRING },
#endif // BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- { key::kTabDiscardingExceptions,
- performance_manager::user_tuning::prefs::kManagedTabDiscardingExceptions,
- base::Value::Type::LIST },
-@@ -2222,7 +2222,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
- prefs::kUiAutomationProviderEnabled,
+ { key::kNTPFooterExtensionAttributionEnabled,
+ prefs::kNTPFooterExtensionAttributionEnabled,
+ base::Value::Type::BOOLEAN },
+@@ -2234,7 +2234,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+ prefs::kRestrictCoreSharingOnRenderer,
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
@@ -153,7 +123,7 @@
{ key::kOutOfProcessSystemDnsResolutionEnabled,
prefs::kOutOfProcessSystemDnsResolutionEnabled,
base::Value::Type::BOOLEAN },
-@@ -2259,7 +2259,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2262,7 +2262,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
base::Value::Type::INTEGER },
#endif
#if BUILDFLAG(ENABLE_EXTENSIONS)
@@ -162,7 +132,7 @@
{ key::kExtensionInstallTypeBlocklist,
extensions::pref_names::kExtensionInstallTypeBlocklist,
base::Value::Type::LIST},
-@@ -2282,7 +2282,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2285,7 +2285,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
{ key::kTabCompareSettings,
optimization_guide::prefs::kProductSpecificationsEnterprisePolicyAllowed,
base::Value::Type::INTEGER},
@@ -171,16 +141,16 @@
{ key::kChromeForTestingAllowed,
prefs::kChromeForTestingAllowed,
base::Value::Type::BOOLEAN },
-@@ -2352,7 +2352,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
+@@ -2361,7 +2361,7 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] =
policy_prefs::kBuiltInAIAPIsEnabled,
base::Value::Type::BOOLEAN },
#endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_FUCHSIA)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- { key::kNTPFooterThemeAttributionEnabled,
- prefs::kNTPFooterThemeAttributionEnabled,
+ { key::kNTPFooterManagementNoticeEnabled,
+ prefs::kNTPFooterManagementNoticeEnabled,
base::Value::Type::BOOLEAN },
-@@ -2485,7 +2485,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -2493,7 +2493,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
// Policies for all platforms - End
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -189,16 +159,7 @@
handlers->AddHandler(std::make_unique<IntRangePolicyHandler>(
key::kMemorySaverModeSavings,
performance_manager::user_tuning::prefs::kMemorySaverModeAggressiveness,
-@@ -2705,7 +2705,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
- #endif // !BUILDFLAG(IS_ANDROID)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- handlers->AddHandler(
- std::make_unique<enterprise_idle::IdleTimeoutPolicyHandler>());
- handlers->AddHandler(
-@@ -2764,7 +2764,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -2772,7 +2772,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
key::kBrowsingDataLifetime, browsing_data::prefs::kBrowsingDataLifetime,
chrome_schema));
@@ -207,7 +168,7 @@
handlers->AddHandler(std::make_unique<GuestModePolicyHandler>());
handlers->AddHandler(std::make_unique<LocalSyncPolicyHandler>());
handlers->AddHandler(std::make_unique<ThemeColorPolicyHandler>());
-@@ -3201,7 +3201,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -3203,7 +3203,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
#endif
#if BUILDFLAG(ENABLE_SPELLCHECK)
@@ -216,7 +177,7 @@
handlers->AddHandler(std::make_unique<SpellcheckLanguagePolicyHandler>());
handlers->AddHandler(
std::make_unique<SpellcheckLanguageBlocklistPolicyHandler>(
-@@ -3209,7 +3209,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -3211,7 +3211,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
#endif // BUILDFLAG(ENABLE_SPELLCHECK)
@@ -225,25 +186,7 @@
handlers->AddHandler(std::make_unique<SimplePolicyHandler>(
key::kAllowSystemNotifications, prefs::kAllowSystemNotifications,
base::Value::Type::BOOLEAN));
-@@ -3227,7 +3227,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
- first_party_sets::FirstPartySetsOverridesPolicyHandler>(
- key::kRelatedWebsiteSetsOverrides, chrome_schema)));
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- handlers->AddHandler(std::make_unique<PrivacySandboxPolicyHandler>());
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-@@ -3250,7 +3250,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
- base::Value::Type::BOOLEAN)));
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- handlers->AddHandler(std::make_unique<BatterySaverPolicyHandler>());
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-@@ -3268,7 +3268,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
+@@ -3264,7 +3264,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildH
std::vector<GenAiDefaultSettingsPolicyHandler::GenAiPolicyDetails>
gen_ai_default_policies;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_prefs_browser__prefs.cc b/www/ungoogled-chromium/files/patch-chrome_browser_prefs_browser__prefs.cc
index c3ea30ac0518..2c86857c6510 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_prefs_browser__prefs.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_prefs_browser__prefs.cc
@@ -1,6 +1,6 @@
---- chrome/browser/prefs/browser_prefs.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/prefs/browser_prefs.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/prefs/browser_prefs.cc
-@@ -320,7 +320,7 @@
+@@ -323,7 +323,7 @@
#include "chrome/browser/devtools/devtools_window.h"
#endif // BUILDFLAG(ENABLE_DEVTOOLS_FRONTEND)
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
#endif
-@@ -491,11 +491,11 @@
+@@ -490,11 +490,11 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -23,7 +23,7 @@
#include "chrome/browser/browser_switcher/browser_switcher_prefs.h"
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#endif
-@@ -523,7 +523,7 @@
+@@ -522,7 +522,7 @@
#include "chrome/browser/sessions/session_service_log.h"
#endif
@@ -32,7 +32,7 @@
#include "ui/color/system_theme.h"
#endif
-@@ -1675,7 +1675,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
+@@ -1701,7 +1701,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
on_device_translation::RegisterLocalStatePrefs(registry);
#endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION)
@@ -41,7 +41,7 @@
WhatsNewUI::RegisterLocalStatePrefs(registry);
#endif
-@@ -1829,7 +1829,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
+@@ -1853,7 +1853,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
#endif // BUILDFLAG(ENABLE_PDF)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -50,7 +50,7 @@
registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true);
#endif
-@@ -2191,12 +2191,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
+@@ -2222,12 +2222,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc
index 52ed4fb445da..546753725a81 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_printing_print__backend__service__manager.cc
@@ -1,4 +1,4 @@
---- chrome/browser/printing/print_backend_service_manager.cc.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/printing/print_backend_service_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/printing/print_backend_service_manager.cc
@@ -36,7 +36,7 @@
#include "printing/printing_context.h"
@@ -7,18 +7,18 @@
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "content/public/common/content_switches.h"
+ #include "ui/linux/linux_ui.h"
#endif
+@@ -886,7 +886,7 @@ PrintBackendServiceManager::GetServiceFromBundle(
+ << remote_id << "`";
-@@ -883,7 +883,7 @@ PrintBackendServiceManager::GetServiceFromBundle(
- host.BindNewPipeAndPassReceiver(),
- content::ServiceProcessHost::Options()
- .WithDisplayName(IDS_UTILITY_PROCESS_PRINT_BACKEND_SERVICE_NAME)
+ std::vector<std::string> extra_switches;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- .WithExtraCommandLineSwitches({switches::kMessageLoopTypeUi})
- #endif
- .Pass());
-@@ -1060,7 +1060,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate
+ if (auto* linux_ui = ui::LinuxUi::instance()) {
+ extra_switches = linux_ui->GetCmdLineFlagsForCopy();
+ }
+@@ -1072,7 +1072,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate
return kNoClientsRegisteredResetOnIdleTimeout;
case ClientType::kQueryWithUi:
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc b/www/ungoogled-chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
index bfcf514075c3..df02dbbe439f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
@@ -1,15 +1,15 @@
---- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
-@@ -360,7 +360,7 @@
+@@ -373,7 +373,7 @@
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/idle/idle_service_factory.h"
+ #include "chrome/browser/enterprise/signals/signals_aggregator_factory.h"
#endif
-
-@@ -402,7 +402,7 @@
+@@ -417,14 +417,14 @@
#endif
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -17,8 +17,7 @@
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_connector_service_factory.h"
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_service_factory.h"
- #include "chrome/browser/enterprise/signals/user_permission_service_factory.h"
-@@ -410,7 +410,7 @@
+ #include "chrome/browser/ui/tabs/saved_tab_groups/collaboration_messaging_observer_factory.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h"
#endif
@@ -27,7 +26,7 @@
#include "chrome/browser/policy/messaging_layer/util/manual_test_heartbeat_event_factory.h"
#endif
-@@ -418,7 +418,7 @@
+@@ -432,7 +432,7 @@
#include "chrome/browser/history_embeddings/history_embeddings_service_factory.h"
#endif
@@ -36,7 +35,7 @@
#include "chrome/browser/browser_switcher/browser_switcher_service_factory.h"
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "chrome/browser/enterprise/client_certificates/certificate_store_factory.h"
-@@ -736,7 +736,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -758,7 +758,7 @@ void ChromeBrowserMainExtraPartsProfiles::
DiceBoundSessionCookieServiceFactory::GetInstance();
#endif
#endif
@@ -45,8 +44,8 @@
browser_switcher::BrowserSwitcherServiceFactory::GetInstance();
#endif
browser_sync::UserEventServiceFactory::GetInstance();
-@@ -791,13 +791,13 @@ void ChromeBrowserMainExtraPartsProfiles::
- collaboration::CollaborationServiceFactory::GetInstance();
+@@ -819,13 +819,13 @@ void ChromeBrowserMainExtraPartsProfiles::
+ collaboration::comments::CommentsServiceFactory::GetInstance();
collaboration::messaging::MessagingBackendServiceFactory::GetInstance();
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
@@ -61,7 +60,7 @@
contextual_cueing::ContextualCueingServiceFactory::GetInstance();
#endif
CookieControlsServiceFactory::GetInstance();
-@@ -856,31 +856,31 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -882,17 +882,17 @@ void ChromeBrowserMainExtraPartsProfiles::
#endif
enterprise_connectors::ConnectorsServiceFactory::GetInstance();
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -80,18 +79,14 @@
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
enterprise_idle::IdleServiceFactory::GetInstance();
+ enterprise_signals::SignalsAggregatorFactory::GetInstance();
#endif
- #if !BUILDFLAG(IS_CHROMEOS)
- enterprise_reporting::CloudProfileReportingServiceFactory::GetInstance();
+@@ -901,10 +901,10 @@ void ChromeBrowserMainExtraPartsProfiles::
#endif
enterprise_reporting::LegacyTechServiceFactory::GetInstance();
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- enterprise_signals::SignalsAggregatorFactory::GetInstance();
- #endif
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
enterprise_signals::UserPermissionServiceFactory::GetInstance();
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -99,7 +94,7 @@
enterprise_signin::EnterpriseSigninServiceFactory::GetInstance();
#endif
#if BUILDFLAG(ENABLE_SESSION_SERVICE)
-@@ -1011,7 +1011,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1040,7 +1040,7 @@ void ChromeBrowserMainExtraPartsProfiles::
#if BUILDFLAG(IS_ANDROID)
MerchantViewerDataManagerFactory::GetInstance();
#endif
@@ -108,7 +103,7 @@
metrics::DesktopProfileSessionDurationsServiceFactory::GetInstance();
#endif
#if !BUILDFLAG(IS_ANDROID)
-@@ -1126,7 +1126,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1166,7 +1166,7 @@ void ChromeBrowserMainExtraPartsProfiles::
#if BUILDFLAG(IS_CHROMEOS)
policy::PolicyCertServiceFactory::GetInstance();
#endif
@@ -117,7 +112,7 @@
policy::ProfileTokenPolicyWebSigninServiceFactory::GetInstance();
policy::UserPolicyOidcSigninServiceFactory::GetInstance();
#endif
-@@ -1165,7 +1165,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1202,7 +1202,7 @@ void ChromeBrowserMainExtraPartsProfiles::
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS)
ProfileStatisticsFactory::GetInstance();
#endif
@@ -126,7 +121,7 @@
ProfileTokenWebSigninInterceptorFactory::GetInstance();
OidcAuthenticationSigninInterceptorFactory::GetInstance();
#endif
-@@ -1185,7 +1185,7 @@ void ChromeBrowserMainExtraPartsProfiles::
+@@ -1222,7 +1222,7 @@ void ChromeBrowserMainExtraPartsProfiles::
ReduceAcceptLanguageFactory::GetInstance();
RendererUpdaterFactory::GetInstance();
regional_capabilities::RegionalCapabilitiesServiceFactory::GetInstance();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profile__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profile__impl.cc
index 7cdc8cbf483e..754de488e341 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profile__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profile__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/profiles/profile_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/profiles/profile_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/profiles/profile_impl.cc
-@@ -269,6 +269,10 @@
+@@ -268,6 +268,10 @@
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#endif
@@ -11,7 +11,7 @@
using bookmarks::BookmarkModel;
using content::BrowserThread;
using content::DownloadManagerDelegate;
-@@ -593,7 +597,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async
+@@ -602,7 +606,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async
policy_provider = GetUserCloudPolicyManagerAsh();
#else // !BUILDFLAG(IS_CHROMEOS)
{
@@ -20,7 +20,7 @@
ProfileManager* profile_manager = g_browser_process->profile_manager();
ProfileAttributesEntry* entry =
profile_manager->GetProfileAttributesStorage()
-@@ -871,7 +875,17 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode)
+@@ -880,7 +884,17 @@ void ProfileImpl::DoFinalInit(CreateMode create_mode)
}
base::FilePath ProfileImpl::last_selected_directory() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profiles__state.cc b/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profiles__state.cc
index 2ca69134d5cf..eaa508a54b24 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profiles__state.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_profiles_profiles__state.cc
@@ -1,6 +1,6 @@
---- chrome/browser/profiles/profiles_state.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/profiles/profiles_state.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/profiles/profiles_state.cc
-@@ -187,7 +187,7 @@ bool IsGuestModeRequested(const base::CommandLine& com
+@@ -190,7 +190,7 @@ bool IsGuestModeRequested(const base::CommandLine& com
PrefService* local_state,
bool show_warning) {
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
@@ -9,7 +9,7 @@
DCHECK(local_state);
// Check if guest mode enforcement commandline switch or policy are provided.
-@@ -223,7 +223,7 @@ bool IsGuestModeEnabled() {
+@@ -226,7 +226,7 @@ bool IsGuestModeEnabled() {
return false;
}
@@ -18,7 +18,7 @@
// If there are any supervised profiles, disable guest mode.
if (std::ranges::any_of(g_browser_process->profile_manager()
->GetProfileAttributesStorage()
-@@ -239,7 +239,7 @@ bool IsGuestModeEnabled() {
+@@ -242,7 +242,7 @@ bool IsGuestModeEnabled() {
}
bool IsGuestModeEnabled(const Profile& profile) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc b/www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc
deleted file mode 100644
index c04de2596278..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__client.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/regional_capabilities/regional_capabilities_service_client.cc.orig 2025-05-06 12:23:00 UTC
-+++ chrome/browser/regional_capabilities/regional_capabilities_service_client.cc
-@@ -107,7 +107,7 @@ void RegionalCapabilitiesServiceClient::FetchCountryId
- base::android::AttachCurrentThread(),
- reinterpret_cast<intptr_t>(heap_callback.release()));
- }
--#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void RegionalCapabilitiesServiceClient::FetchCountryId(
- CountryIdCallback on_country_id_fetched) {
- std::move(on_country_id_fetched).Run(variations_latest_country_id_);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc
new file mode 100644
index 000000000000..fbd29c5499bc
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_regional__capabilities_regional__capabilities__service__factory.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/regional_capabilities/regional_capabilities_service_factory.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/regional_capabilities/regional_capabilities_service_factory.cc
+@@ -21,7 +21,7 @@
+ #include "chrome/browser/regional_capabilities/regional_capabilities_service_client_chromeos.h"
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/regional_capabilities/regional_capabilities_service_client_linux.h"
+ #endif
+
+@@ -72,7 +72,7 @@ RegionalCapabilitiesServiceFactory::BuildServiceInstan
+ #elif BUILDFLAG(IS_CHROMEOS)
+ std::make_unique<RegionalCapabilitiesServiceClientChromeOS>(
+ g_browser_process->variations_service());
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::make_unique<RegionalCapabilitiesServiceClientLinux>(
+ g_browser_process->variations_service());
+ #else
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_renderer__preferences__util.cc b/www/ungoogled-chromium/files/patch-chrome_browser_renderer__preferences__util.cc
index 4ad8927e2a71..2e782ca00259 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_renderer__preferences__util.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_renderer__preferences__util.cc
@@ -1,4 +1,4 @@
---- chrome/browser/renderer_preferences_util.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/renderer_preferences_util.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/renderer_preferences_util.cc
@@ -40,7 +40,7 @@
#include "ui/views/controls/textfield/textfield.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "ui/linux/linux_ui.h"
-@@ -180,7 +180,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
+@@ -185,7 +185,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
prefs->caret_blink_interval = views::Textfield::GetCaretBlinkInterval();
#endif
@@ -18,7 +18,7 @@
auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(profile);
if (linux_ui_theme) {
if (ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme()) {
-@@ -203,7 +203,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
+@@ -208,7 +208,7 @@ void UpdateFromSystemSettings(blink::RendererPreferenc
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc
index 6c9c0abc3fa6..ce74be7a5c02 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_chrome__password__protection__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/safe_browsing/chrome_password_protection_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/safe_browsing/chrome_password_protection_service.cc
-@@ -1268,7 +1268,7 @@ std::string ChromePasswordProtectionService::GetOrgani
+@@ -1260,7 +1260,7 @@ std::string ChromePasswordProtectionService::GetOrgani
ReusedPasswordAccountType password_type) const {
if (base::FeatureList::IsEnabled(
safe_browsing::kEnterprisePasswordReuseUiRefresh)) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
index f3c77506140c..dd0946b9b398 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
-@@ -696,7 +696,7 @@ void IncidentReportingService::OnEnvironmentDataCollec
+@@ -695,7 +695,7 @@ void IncidentReportingService::OnEnvironmentDataCollec
// Process::Current().CreationTime() is missing on some platforms.
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc b/www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc
new file mode 100644
index 000000000000..cbeb5f9fc96e
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__handler__base.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/screen_ai/screen_ai_service_handler_base.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/screen_ai/screen_ai_service_handler_base.cc
+@@ -253,7 +253,7 @@ void ScreenAIServiceHandlerBase::LaunchIfNotRunning()
+ base::FilePath binary_path = state_instance->get_component_binary_path();
+ #if BUILDFLAG(IS_WIN)
+ std::vector<base::FilePath> preload_libraries = {binary_path};
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ std::vector<std::string> extra_switches = {
+ base::StringPrintf("--%s=%s", screen_ai::GetBinaryPathSwitch(),
+ binary_path.MaybeAsASCII().c_str())};
+@@ -268,7 +268,7 @@ void ScreenAIServiceHandlerBase::LaunchIfNotRunning()
+ .WithPreloadedLibraries(
+ preload_libraries,
+ content::ServiceProcessHostPreloadLibraries::GetPassKey())
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ .WithExtraCommandLineSwitches(extra_switches)
+ #endif // BUILDFLAG(IS_WIN)
+ .WithProcessCallback(
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc b/www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc
deleted file mode 100644
index 10cf513889de..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_screen__ai_screen__ai__service__router.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- chrome/browser/screen_ai/screen_ai_service_router.cc.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/screen_ai/screen_ai_service_router.cc
-@@ -405,7 +405,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() {
- base::FilePath binary_path = state_instance->get_component_binary_path();
- #if BUILDFLAG(IS_WIN)
- std::vector<base::FilePath> preload_libraries = {binary_path};
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- std::vector<std::string> extra_switches = {
- base::StringPrintf("--%s=%s", screen_ai::GetBinaryPathSwitch(),
- binary_path.MaybeAsASCII().c_str())};
-@@ -419,7 +419,7 @@ void ScreenAIServiceRouter::LaunchIfNotRunning() {
- .WithPreloadedLibraries(
- preload_libraries,
- content::ServiceProcessHostPreloadLibraries::GetPassKey())
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- .WithExtraCommandLineSwitches(extra_switches)
- #endif // BUILDFLAG(IS_WIN)
- .Pass());
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_sessions_session__restore.cc b/www/ungoogled-chromium/files/patch-chrome_browser_sessions_session__restore.cc
index 0c81a4cbf730..1e613992ce9f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_sessions_session__restore.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_sessions_session__restore.cc
@@ -1,4 +1,4 @@
---- chrome/browser/sessions/session_restore.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/sessions/session_restore.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/sessions/session_restore.cc
@@ -108,7 +108,7 @@
#include "ui/wm/core/scoped_animation_disabler.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_fetcher.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -1117,7 +1117,7 @@ class SessionRestoreImpl : public BrowserListObserver
+@@ -1182,7 +1182,7 @@ class SessionRestoreImpl : public BrowserListObserver
bool is_first_tab = true;
for (const auto& startup_tab : startup_tabs) {
const GURL& url = startup_tab.url;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc b/www/ungoogled-chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc
new file mode 100644
index 000000000000..6e3c08b027e3
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_signin_chrome__signin__client.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/signin/chrome_signin_client.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/signin/chrome_signin_client.cc
+@@ -162,7 +162,7 @@ signin_metrics::ProfileSignout kAlwaysAllowedSignoutSo
+ std::string HatsSurveyTriggerForAccessPoint(
+ signin_metrics::AccessPoint access_point) {
+ switch (access_point) {
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ case signin_metrics::AccessPoint::kAddressBubble:
+ return kHatsSurveyTriggerIdentityAddressBubbleSignin;
+ case signin_metrics::AccessPoint::kAvatarBubbleSignIn:
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__hats__util.cc b/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__hats__util.cc
new file mode 100644
index 000000000000..fda9a67bbc28
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__hats__util.cc
@@ -0,0 +1,29 @@
+--- chrome/browser/signin/signin_hats_util.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/signin/signin_hats_util.cc
+@@ -36,7 +36,7 @@
+
+ namespace {
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ constexpr char kChannel[] = "Channel";
+ constexpr char kChromeVersion[] = "Chrome Version";
+ constexpr char kNumberOfChromeProfiles[] = "Number of Chrome Profiles";
+@@ -153,7 +153,7 @@ SurveyStringData GetSigninSurveyStringData(
+ namespace signin {
+
+ bool IsFeatureEnabledForSigninHatsTrigger(const std::string& trigger) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ for (const auto& entry : kChromeIdentityHatsTriggerFeatureMapping) {
+ if (trigger == entry.trigger) {
+ return base::FeatureList::IsEnabled(*entry.feature);
+@@ -171,7 +171,7 @@ void LaunchSigninHatsSurveyForProfile(const std::strin
+ bool defer_if_no_browser,
+ std::optional<signin_metrics::AccessPoint>
+ access_point_for_data_type_promo) {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (!profile || !IsFeatureEnabledForSigninHatsTrigger(trigger)) {
+ return;
+ }
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.cc b/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.cc
new file mode 100644
index 000000000000..98feaac914e6
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/signin/signin_util.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/signin/signin_util.cc
+@@ -340,7 +340,7 @@ std::string SignedInStateToString(SignedInState state)
+ }
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ bool ShouldShowHistorySyncOptinScreen(Profile& profile) {
+ if (GetSignedInState(IdentityManagerFactory::GetForProfile(&profile)) !=
+ signin_util::SignedInState::kSignedIn) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.h b/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.h
new file mode 100644
index 000000000000..ca9d53bce70b
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_signin_signin__util.h
@@ -0,0 +1,11 @@
+--- chrome/browser/signin/signin_util.h.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/signin/signin_util.h
+@@ -171,7 +171,7 @@ SignedInState GetSignedInState(const signin::IdentityM
+ // Returns a string representation of `SignedInState`.
+ std::string SignedInStateToString(SignedInState state);
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // Returns if the necessary conditions to show the History Sync Optin screen
+ // are met.
+ // This method does not take into account any feature flags related to the above
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc
index d16cdf97b33f..56f7c4791626 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/classify_url_navigation_throttle.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/supervised_user/classify_url_navigation_throttle.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/supervised_user/classify_url_navigation_throttle.cc
-@@ -68,7 +68,7 @@ std::ostream& operator<<(std::ostream& stream,
+@@ -70,7 +70,7 @@ std::ostream& operator<<(std::ostream& stream,
}
}
@@ -9,7 +9,7 @@
bool ShouldShowReAuthInterstitial(
content::NavigationHandle& navigation_handle) {
Profile* profile = Profile::FromBrowserContext(
-@@ -229,7 +229,7 @@ void ClassifyUrlNavigationThrottle::OnInterstitialResu
+@@ -232,7 +232,7 @@ void ClassifyUrlNavigationThrottle::OnInterstitialResu
}
case InterstitialResultCallbackActions::kCancelWithInterstitial: {
CHECK(navigation_handle());
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc
index 5acd2fbf03a1..fbf65d09c5c5 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__delegate__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/supervised_user/supervised_user_extensions_delegate_impl.cc
-@@ -197,7 +197,7 @@ void SupervisedUserExtensionsDelegateImpl::RequestExte
+@@ -205,7 +205,7 @@ void SupervisedUserExtensionsDelegateImpl::RequestExte
return;
}
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc
index f0262112d4cc..e1a48314ba0c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_extensions_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/supervised_user/supervised_user_extensions_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/supervised_user/supervised_user_extensions_manager.cc
-@@ -348,7 +348,7 @@ void SupervisedUserExtensionsManager::
+@@ -350,7 +350,7 @@ void SupervisedUserExtensionsManager::
ActivateManagementPolicyAndUpdateRegistration() {
SetActiveForSupervisedUsers();
UpdateManagementPolicyRegistration();
@@ -9,7 +9,7 @@
MaybeMarkExtensionsLocallyParentApproved();
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
}
-@@ -448,7 +448,7 @@ bool SupervisedUserExtensionsManager::ShouldBlockExten
+@@ -449,7 +449,7 @@ bool SupervisedUserExtensionsManager::ShouldBlockExten
return false;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h
index 33817c8a0c84..0d47d5783ba3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__extensions__manager.h
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_extensions_manager.h.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/supervised_user/supervised_user_extensions_manager.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/supervised_user/supervised_user_extensions_manager.h
-@@ -153,7 +153,7 @@ class SupervisedUserExtensionsManager : public Extensi
+@@ -154,7 +154,7 @@ class SupervisedUserExtensionsManager : public Extensi
// launched.
bool ShouldBlockExtension(const std::string& extension_id) const;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc
index cfe530ce1401..438e28aeecc2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__metrics__service__factory.cc
@@ -1,15 +1,15 @@
---- chrome/browser/supervised_user/supervised_user_metrics_service_factory.cc.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/supervised_user/supervised_user_metrics_service_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/supervised_user/supervised_user_metrics_service_factory.cc
-@@ -14,7 +14,7 @@
- #include "components/supervised_user/core/browser/supervised_user_service.h"
+@@ -15,7 +15,7 @@
#include "content/public/browser/browser_context.h"
+ #include "chrome/browser/supervised_user/metrics_service_accessor_delegate.h"
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "chrome/browser/supervised_user/linux_mac_windows/supervised_user_extensions_metrics_delegate_impl.h"
#endif
-@@ -62,7 +62,7 @@ SupervisedUserMetricsServiceFactory::BuildServiceInsta
+@@ -63,7 +63,7 @@ SupervisedUserMetricsServiceFactory::BuildServiceInsta
std::unique_ptr<supervised_user::SupervisedUserMetricsService ::
SupervisedUserMetricsServiceExtensionDelegate>
extensions_metrics_delegate = nullptr;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc
index c7bf360cb400..e54aaee01ad1 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_supervised__user_supervised__user__navigation__observer.cc
@@ -1,6 +1,6 @@
---- chrome/browser/supervised_user/supervised_user_navigation_observer.cc.orig 2024-02-25 20:22:18 UTC
+--- chrome/browser/supervised_user/supervised_user_navigation_observer.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/supervised_user/supervised_user_navigation_observer.cc
-@@ -47,7 +47,7 @@
+@@ -48,7 +48,7 @@
#include "chrome/browser/supervised_user/android/supervised_user_web_content_handler_impl.h"
#elif BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/supervised_user/chromeos/supervised_user_web_content_handler_impl.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/supervised_user/linux_mac_windows/supervised_user_web_content_handler_impl.h"
#endif
-@@ -67,7 +67,7 @@ std::unique_ptr<supervised_user::WebContentHandler> Cr
+@@ -68,7 +68,7 @@ std::unique_ptr<supervised_user::WebContentHandler> Cr
#elif BUILDFLAG(IS_ANDROID)
return std::make_unique<SupervisedUserWebContentHandlerImpl>(
web_contents, frame_id, navigation_id);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc b/www/ungoogled-chromium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc
index 3ce65ddc0554..a58eb77f6cbb 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_sync_chrome__sync__controller__builder.cc
@@ -1,6 +1,6 @@
---- chrome/browser/sync/chrome_sync_controller_builder.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/sync/chrome_sync_controller_builder.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/sync/chrome_sync_controller_builder.cc
-@@ -280,7 +280,7 @@ ChromeSyncControllerBuilder::Build(syncer::SyncService
+@@ -304,7 +304,7 @@ ChromeSyncControllerBuilder::Build(syncer::SyncService
#if BUILDFLAG(ENABLE_SPELLCHECK)
// Chrome prefers OS provided spell checkers where they exist. So only sync
// the custom dictionary on platforms that typically don't provide one.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_sync_sync__service__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_sync_sync__service__factory.cc
index 6e22fde5aa97..e0df1d7a978a 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_sync_sync__service__factory.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_sync_sync__service__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/sync/sync_service_factory.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/sync/sync_service_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/sync/sync_service_factory.cc
-@@ -110,7 +110,7 @@
+@@ -115,7 +115,7 @@
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_keyed_service.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_service_factory.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h"
-@@ -137,7 +137,7 @@ namespace {
+@@ -142,7 +142,7 @@ namespace {
tab_groups::TabGroupSyncService* GetTabGroupSyncService(Profile* profile) {
CHECK(profile);
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -18,7 +18,7 @@
tab_groups::TabGroupSyncService* service =
tab_groups::SavedTabGroupUtils::GetServiceForProfile(profile);
CHECK(service);
-@@ -381,7 +381,7 @@ std::unique_ptr<KeyedService> BuildSyncService(
+@@ -405,7 +405,7 @@ std::unique_ptr<KeyedService> BuildSyncService(
bool local_sync_backend_enabled = false;
// Only check the local sync backend pref on the supported platforms of
// Windows, Mac and Linux.
@@ -27,7 +27,7 @@
syncer::SyncPrefs prefs(profile->GetPrefs());
local_sync_backend_enabled = prefs.IsLocalSyncEnabled();
base::UmaHistogramBoolean("Sync.Local.Enabled2", local_sync_backend_enabled);
-@@ -520,7 +520,7 @@ SyncServiceFactory::SyncServiceFactory()
+@@ -544,7 +544,7 @@ SyncServiceFactory::SyncServiceFactory()
DependsOn(ProfilePasswordStoreFactory::GetInstance());
DependsOn(PowerBookmarkServiceFactory::GetInstance());
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
index 4a5ac7779f61..c2a2b12ea6dd 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
@@ -1,6 +1,6 @@
---- chrome/browser/task_manager/sampling/task_group.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/task_manager/sampling/task_group.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/task_manager/sampling/task_group.cc
-@@ -36,7 +36,7 @@ const int kBackgroundRefreshTypesMask =
+@@ -32,7 +32,7 @@ const int kBackgroundRefreshTypesMask =
#if BUILDFLAG(IS_WIN)
REFRESH_TYPE_START_TIME | REFRESH_TYPE_CPU_TIME |
#endif // BUILDFLAG(IS_WIN)
@@ -8,17 +8,17 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
REFRESH_TYPE_FD_COUNT |
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
- #if BUILDFLAG(ENABLE_NACL)
-@@ -117,7 +117,7 @@ TaskGroup::TaskGroup(
- #if BUILDFLAG(ENABLE_NACL)
- nacl_debug_stub_port_(nacl::kGdbDebugStubPortUnknown),
- #endif // BUILDFLAG(ENABLE_NACL)
+ REFRESH_TYPE_PRIORITY;
+@@ -100,7 +100,7 @@ TaskGroup::TaskGroup(
+ user_peak_handles_(-1),
+ hard_faults_per_second_(-1),
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
open_fd_count_(-1),
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
idle_wakeups_per_second_(-1),
-@@ -132,7 +132,7 @@ TaskGroup::TaskGroup(
+@@ -115,7 +115,7 @@ TaskGroup::TaskGroup(
weak_ptr_factory_.GetWeakPtr()),
base::BindRepeating(&TaskGroup::OnIdleWakeupsRefreshDone,
weak_ptr_factory_.GetWeakPtr()),
@@ -27,9 +27,9 @@
base::BindRepeating(&TaskGroup::OnOpenFdCountRefreshDone,
weak_ptr_factory_.GetWeakPtr()),
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-@@ -302,7 +302,7 @@ void TaskGroup::OnRefreshNaClDebugStubPortDone(int nac
+@@ -257,7 +257,7 @@ void TaskGroup::RefreshWindowsHandles() {
+ #endif // BUILDFLAG(IS_WIN)
}
- #endif // BUILDFLAG(ENABLE_NACL)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h
index 5c5706c71ffd..b7db117369f6 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h
@@ -1,36 +1,36 @@
---- chrome/browser/task_manager/sampling/task_group.h.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/task_manager/sampling/task_group.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/task_manager/sampling/task_group.h
-@@ -41,7 +41,7 @@ constexpr int kUnsupportedVMRefreshFlags =
+@@ -40,7 +40,7 @@ inline constexpr int kUnsupportedVMRefreshFlags =
REFRESH_TYPE_WEBCACHE_STATS | REFRESH_TYPE_NETWORK_USAGE |
- REFRESH_TYPE_NACL | REFRESH_TYPE_IDLE_WAKEUPS | REFRESH_TYPE_HANDLES |
- REFRESH_TYPE_START_TIME | REFRESH_TYPE_CPU_TIME | REFRESH_TYPE_PRIORITY |
+ REFRESH_TYPE_IDLE_WAKEUPS | REFRESH_TYPE_HANDLES | REFRESH_TYPE_START_TIME |
+ REFRESH_TYPE_CPU_TIME | REFRESH_TYPE_PRIORITY |
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
REFRESH_TYPE_FD_COUNT |
#endif
REFRESH_TYPE_HARD_FAULTS;
-@@ -144,7 +144,7 @@ class TaskGroup {
- }
- #endif // BUILDFLAG(ENABLE_NACL)
+@@ -136,7 +136,7 @@ class TaskGroup {
+ int64_t hard_faults_per_second() const { return hard_faults_per_second_; }
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
int open_fd_count() const { return open_fd_count_; }
void set_open_fd_count(int open_fd_count) { open_fd_count_ = open_fd_count; }
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-@@ -164,7 +164,7 @@ class TaskGroup {
- void RefreshNaClDebugStubPort(int child_process_unique_id);
- void OnRefreshNaClDebugStubPortDone(int port);
- #endif
+@@ -151,7 +151,7 @@ class TaskGroup {
+
+ void RefreshWindowsHandles();
+
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
void OnOpenFdCountRefreshDone(int open_fd_count);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-@@ -235,7 +235,7 @@ class TaskGroup {
- #if BUILDFLAG(ENABLE_NACL)
- int nacl_debug_stub_port_;
- #endif // BUILDFLAG(ENABLE_NACL)
+@@ -219,7 +219,7 @@ class TaskGroup {
+ int64_t user_peak_handles_;
+ int64_t hard_faults_per_second_;
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// The number of file descriptors currently open by the process.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
index faf1daa38076..4017144eba3f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/task_manager/sampling/task_manager_impl.cc
-@@ -235,7 +235,7 @@ void TaskManagerImpl::GetUSERHandles(TaskId task_id,
+@@ -226,7 +226,7 @@ void TaskManagerImpl::GetUSERHandles(TaskId task_id,
}
int TaskManagerImpl::GetOpenFdCount(TaskId task_id) const {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h
index 2ce62c1dc66c..277bc2fdd332 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h
@@ -1,11 +1,11 @@
---- chrome/browser/task_manager/task_manager_observer.h.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/task_manager/task_manager_observer.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/task_manager/task_manager_observer.h
-@@ -46,7 +46,7 @@ enum RefreshType {
+@@ -45,7 +45,7 @@ enum RefreshType {
// or backgrounded.
- REFRESH_TYPE_PRIORITY = 1 << 13,
+ REFRESH_TYPE_PRIORITY = 1 << 12,
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// For observers interested in getting the number of open file descriptors of
// processes.
- REFRESH_TYPE_FD_COUNT = 1 << 14,
+ REFRESH_TYPE_FD_COUNT = 1 << 13,
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service.cc
index 2bd6f55e6169..6f2837011692 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service.cc
@@ -1,4 +1,4 @@
---- chrome/browser/themes/theme_service.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/themes/theme_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/themes/theme_service.cc
@@ -72,7 +72,7 @@
#include "extensions/browser/extension_registry_observer.h"
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#include "ui/ozone/public/ozone_platform.h" // nogncheck
#endif
-@@ -332,7 +332,7 @@ CustomThemeSupplier* ThemeService::GetThemeSupplier()
+@@ -331,7 +331,7 @@ CustomThemeSupplier* ThemeService::GetThemeSupplier()
}
bool ThemeService::ShouldUseCustomFrame() const {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service__factory.cc
index 434a0fefaefc..3acb206f00f0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service__factory.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_themes_theme__service__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/themes/theme_service_factory.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/themes/theme_service_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/themes/theme_service_factory.cc
-@@ -24,7 +24,7 @@
+@@ -25,7 +25,7 @@
#include "chrome/browser/themes/theme_helper_win.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/themes/theme_service_aura_linux.h"
#include "ui/linux/linux_ui_factory.h"
#endif
-@@ -103,7 +103,7 @@ ThemeServiceFactory::~ThemeServiceFactory() = default;
+@@ -105,7 +105,7 @@ ThemeServiceFactory::~ThemeServiceFactory() = default;
std::unique_ptr<KeyedService>
ThemeServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* profile) const {
@@ -18,7 +18,7 @@
using ThemeService = ThemeServiceAuraLinux;
#endif
-@@ -115,7 +115,7 @@ ThemeServiceFactory::BuildServiceInstanceForBrowserCon
+@@ -117,7 +117,7 @@ ThemeServiceFactory::BuildServiceInstanceForBrowserCon
void ThemeServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h
index ffc036031a8d..b88853c8ee71 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_actions_chrome__action__id.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/actions/chrome_action_id.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/actions/chrome_action_id.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/actions/chrome_action_id.h
-@@ -501,7 +501,7 @@
+@@ -508,7 +508,7 @@
#if BUILDFLAG(IS_CHROMEOS)
#define CHROME_PLATFORM_SPECIFIC_ACTION_IDS \
E(kToggleMultitaskMenu, IDC_TOGGLE_MULTITASK_MENU)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc
index 811e33cb603f..29b57945256e 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/autofill/payments/desktop_payments_window_manager.cc
@@ -58,7 +58,7 @@ gfx::Rect GetPopupSizeForBnpl() {
DesktopPaymentsWindowManager::DesktopPaymentsWindowManager(
@@ -9,7 +9,7 @@
scoped_observation_.Observe(BrowserList::GetInstance());
#endif // BUILDFLAG(IS_LINUX)
}
-@@ -144,7 +144,7 @@ void DesktopPaymentsWindowManager::WebContentsDestroye
+@@ -151,7 +151,7 @@ void DesktopPaymentsWindowManager::WebContentsDestroye
}
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h
index 1f6069ca9b60..9df9ec41e835 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_autofill_payments_desktop__payments__window__manager.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/autofill/payments/desktop_payments_window_manager.h
@@ -14,7 +14,7 @@
#include "components/autofill/core/browser/payments/payments_window_manager.h"
@@ -27,7 +27,7 @@
// BrowserListObserver:
void OnBrowserSetLastActive(Browser* browser) override;
#endif // BUILDFLAG(IS_LINUX)
-@@ -165,7 +165,7 @@ class DesktopPaymentsWindowManager : public PaymentsWi
+@@ -130,7 +130,7 @@ class DesktopPaymentsWindowManager : public PaymentsWi
// Used in tests to notify the test infrastructure that the pop-up has closed.
base::RepeatingClosure popup_closed_closure_for_testing_;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser.h
index a5ec284f388e..14bf0eca564d 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser.h.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/browser.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/browser.h
-@@ -302,7 +302,7 @@ class Browser : public TabStripModelObserver,
+@@ -280,7 +280,7 @@ class Browser : public TabStripModelObserver,
std::optional<int64_t> display_id;
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__command__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__command__controller.cc
index 0ffaa5ba47f6..f908aa360bbf 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__command__controller.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__command__controller.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser_command_controller.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/browser_command_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/browser_command_controller.cc
-@@ -126,7 +126,7 @@
+@@ -128,7 +128,7 @@
#include "components/user_manager/user_manager.h"
#endif
@@ -9,7 +9,7 @@
#include "ui/base/ime/text_edit_commands.h"
#include "ui/base/ime/text_input_flags.h"
#include "ui/linux/linux_ui.h"
-@@ -136,7 +136,7 @@
+@@ -138,7 +138,7 @@
#include "ui/ozone/public/ozone_platform.h"
#endif
@@ -18,7 +18,7 @@
#include "chrome/browser/ui/shortcuts/desktop_shortcuts_utils.h"
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-@@ -348,7 +348,7 @@ bool BrowserCommandController::IsReservedCommandOrKey(
+@@ -365,7 +365,7 @@ bool BrowserCommandController::IsReservedCommandOrKey(
#endif
}
@@ -27,7 +27,7 @@
// If this key was registered by the user as a content editing hotkey, then
// it is not reserved.
auto* linux_ui = ui::LinuxUi::instance();
-@@ -611,7 +611,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
+@@ -653,7 +653,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
break;
#endif
@@ -36,7 +36,7 @@
case IDC_MINIMIZE_WINDOW:
browser_->window()->Minimize();
break;
-@@ -828,7 +828,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
+@@ -870,7 +870,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
break;
case IDC_CREATE_SHORTCUT:
base::RecordAction(base::UserMetricsAction("CreateShortcut"));
@@ -45,7 +45,7 @@
chrome::CreateDesktopShortcutForActiveWebContents(browser_);
#else
web_app::CreateWebAppFromCurrentWebContents(
-@@ -994,7 +994,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
+@@ -1043,7 +1043,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
case IDC_CHROME_WHATS_NEW:
#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
@@ -54,7 +54,7 @@
ShowChromeWhatsNew(browser_);
break;
#else
-@@ -1371,7 +1371,7 @@ void BrowserCommandController::InitCommandState() {
+@@ -1420,7 +1420,7 @@ void BrowserCommandController::InitCommandState() {
command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_4, true);
command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_5, true);
#endif
@@ -63,12 +63,12 @@
command_updater_.UpdateCommandEnabled(IDC_MINIMIZE_WINDOW, true);
command_updater_.UpdateCommandEnabled(IDC_MAXIMIZE_WINDOW, true);
command_updater_.UpdateCommandEnabled(IDC_RESTORE_WINDOW, true);
-@@ -1728,7 +1728,7 @@ void BrowserCommandController::UpdateCommandsForTabSta
+@@ -1774,7 +1774,7 @@ void BrowserCommandController::UpdateCommandsForTabSta
bool can_create_web_app = web_app::CanCreateWebApp(browser_);
command_updater_.UpdateCommandEnabled(IDC_INSTALL_PWA, can_create_web_app);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
command_updater_.UpdateCommandEnabled(
- IDC_CREATE_SHORTCUT, shortcuts::CanCreateDesktopShortcut(browser_));
- #else
+ IDC_CREATE_SHORTCUT,
+ shortcuts::CanCreateDesktopShortcut(current_web_contents));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__commands.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__commands.cc
index 34d0c55b1246..a9e5cd461b44 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__commands.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__commands.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser_commands.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/browser_commands.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/browser_commands.cc
-@@ -2084,7 +2084,7 @@ void OpenUpdateChromeDialog(Browser* browser) {
+@@ -2208,7 +2208,7 @@ void OpenUpdateChromeDialog(Browser* browser) {
} else if (UpgradeDetector::GetInstance()->is_outdated_install_no_au()) {
UpgradeDetector::GetInstance()->NotifyOutdatedInstallNoAutoUpdate();
} else {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc
index 4ede5ae48786..8588f5f7b96a 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_browser__ui__prefs.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/browser_ui_prefs.cc
-@@ -64,7 +64,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry
+@@ -84,7 +84,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry
registry->RegisterTimePref(prefs::kPdfInfoBarLastShown, base::Time());
registry->RegisterIntegerPref(prefs::kPdfInfoBarTimesShown, 0);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
@@ -9,7 +9,7 @@
registry->RegisterStringPref(prefs::kEnterpriseCustomLabelForBrowser,
std::string());
registry->RegisterStringPref(prefs::kEnterpriseLogoUrlForBrowser,
-@@ -185,7 +185,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry
+@@ -208,7 +208,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry
registry->RegisterDictionaryPref(prefs::kHttpsUpgradeFallbacks);
registry->RegisterDictionaryPref(prefs::kHttpsUpgradeNavigations);
registry->RegisterBooleanPref(prefs::kHttpsOnlyModeAutoEnabled, false);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.cc
index 33a4b07dca6d..ba3ca2edac64 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/chrome_pages.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/chrome_pages.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/chrome_pages.cc
-@@ -83,7 +83,7 @@
+@@ -84,7 +84,7 @@
#include "components/signin/public/identity_manager/identity_manager.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/web_applications/web_app_utils.h"
#endif
-@@ -380,7 +380,7 @@ void ShowChromeTips(Browser* browser) {
+@@ -392,7 +392,7 @@ void ShowChromeTips(Browser* browser) {
ShowSingletonTab(browser, GURL(kChromeTipsURL));
}
@@ -18,7 +18,7 @@
void ShowChromeWhatsNew(Browser* browser) {
ShowSingletonTab(browser, GURL(kChromeUIWhatsNewURL));
}
-@@ -698,7 +698,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
+@@ -716,7 +716,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
}
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.h
index a234630d37ab..50b398266683 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_chrome__pages.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/chrome_pages.h.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/ui/chrome_pages.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/chrome_pages.h
@@ -39,7 +39,7 @@ namespace signin {
enum class ConsentLevel;
@@ -9,7 +9,7 @@
namespace web_app {
enum class AppSettingsPageEntryPoint;
} // namespace web_app
-@@ -174,7 +174,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
+@@ -177,7 +177,7 @@ void ShowShortcutCustomizationApp(Profile* profile,
const std::string& category);
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_survey__config.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_survey__config.cc
new file mode 100644
index 000000000000..c1e753e7b0a7
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_survey__config.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/hats/survey_config.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/ui/hats/survey_config.cc
+@@ -495,7 +495,7 @@ std::vector<hats::SurveyConfig> GetAllSurveyConfigs()
+ &features::kHappinessTrackingSurveysForWallpaperSearch,
+ kHatsSurveyTriggerWallpaperSearch);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::vector<std::string> identity_string_psd_fields{
+ "Channel", "Chrome Version", "Number of Chrome Profiles",
+ "Number of Google Accounts", "Sign-in Status"};
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc
new file mode 100644
index 000000000000..5c0ff9171f5f
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_hats_trust__safety__sentiment__service__factory.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/hats/trust_safety_sentiment_service_factory.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/ui/hats/trust_safety_sentiment_service_factory.cc
+@@ -59,7 +59,7 @@ TrustSafetySentimentServiceFactory::BuildServiceInstan
+ // TrustSafetySentimentSurvey is conducted only for Windows, MacOS and Linux
+ // currently.
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
+- (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS))
++ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS))
+
+ // TrustSafetySentimentSurvey is conducted only in English currently.
+ const std::string& application_locale =
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc
index a33401176c2f..0a7e8a33934f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_passwords_manage__passwords__ui__controller.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/passwords/manage_passwords_ui_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
-@@ -104,7 +104,7 @@ namespace {
+@@ -113,7 +113,7 @@ namespace {
using Logger = autofill::SavePasswordProgressLogger;
@@ -9,7 +9,7 @@
// Should be kept in sync with constant declared in
// bubble_controllers/relaunch_chrome_bubble_controller.cc.
constexpr int kMaxNumberOfTimesKeychainErrorBubbleIsShown = 3;
-@@ -562,7 +562,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor
+@@ -622,7 +622,7 @@ void ManagePasswordsUIController::OnBiometricAuthBefor
}
void ManagePasswordsUIController::OnKeychainError() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc
index b372ef74be9f..400be3b87b69 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_prefs_prefs__tab__helper.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/prefs/prefs_tab_helper.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/prefs/prefs_tab_helper.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/prefs/prefs_tab_helper.cc
-@@ -66,7 +66,7 @@
- #include <windows.h>
+@@ -68,7 +68,7 @@
#endif
--#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS)
++ BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS) || BUILDFLAG(IS_BSD)
// If a font name in prefs default values starts with a comma, consider it's a
// comma-separated font list and resolve it to the first available font.
#define PREFS_FONT_LIST 1
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc
index 35016fe78c37..f843e79be0b8 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.cc
@@ -1,6 +1,15 @@
---- chrome/browser/ui/signin/signin_view_controller.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/signin/signin_view_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/signin/signin_view_controller.cc
-@@ -434,7 +434,7 @@ void SigninViewController::ShowModalSyncConfirmationDi
+@@ -466,7 +466,7 @@ void SigninViewController::ShowModalSyncConfirmationDi
+ GetOnModalDialogClosedCallback());
+ }
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ void SigninViewController::ShowModalHistorySyncOptInDialog() {
+ CHECK(base::FeatureList::IsEnabled(switches::kEnableHistorySyncOptin));
+ CloseModalSignin();
+@@ -481,7 +481,7 @@ void SigninViewController::ShowModalHistorySyncOptInDi
void SigninViewController::ShowModalManagedUserNoticeDialog(
std::unique_ptr<signin::EnterpriseProfileCreationDialogParams>
create_param) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.h
new file mode 100644
index 000000000000..f9eb99b471df
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller.h
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/signin/signin_view_controller.h.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/ui/signin/signin_view_controller.h
+@@ -169,7 +169,7 @@ class SigninViewController {
+ void ShowModalSyncConfirmationDialog(bool is_signin_intercept,
+ bool is_sync_promo);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Shows the modal history sync opt in dialog as a browser-modal dialog on top
+ // of the `browser_`'s window.
+ void ShowModalHistorySyncOptInDialog();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h
index 3c99a594be86..e9b1fe928803 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_signin_signin__view__controller__delegate.h
@@ -1,6 +1,15 @@
---- chrome/browser/ui/signin/signin_view_controller_delegate.h.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/ui/signin/signin_view_controller_delegate.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/signin/signin_view_controller_delegate.h
-@@ -79,7 +79,7 @@ class SigninViewControllerDelegate {
+@@ -49,7 +49,7 @@ class SigninViewControllerDelegate {
+ SyncConfirmationStyle style,
+ bool is_sync_promo);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Returns a platform-specific SigninViewControllerDelegate instance that
+ // displays the modal history sync opt in dialog. The returned object should
+ // delete itself when the window it's managing is closed.
+@@ -89,7 +89,7 @@ class SigninViewControllerDelegate {
SignoutConfirmationCallback callback);
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
index 4aa02f013698..7bb3ef106dde 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
@@ -1,7 +1,7 @@
---- chrome/browser/ui/startup/bad_flags_prompt.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/startup/bad_flags_prompt.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/startup/bad_flags_prompt.cc
-@@ -94,7 +94,7 @@ const char* const kBadFlags[] = {
- extensions::switches::kExtensionsOnChromeURLs,
+@@ -104,7 +104,7 @@ const char* const kBadFlags[] = {
+ extensions::switches::kExtensionsOnExtensionURLs,
#endif
-#if BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
index 834e85afa3be..c10cb8ec1796 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/startup/startup_browser_creator.cc
@@ -134,7 +134,7 @@
#include "chrome/credential_provider/common/gcp_strings.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/headless/headless_mode_util.h"
#include "chrome/browser/ui/startup/web_app_info_recorder_utils.h"
#include "components/headless/policy/headless_mode_policy.h"
-@@ -978,7 +978,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
+@@ -1019,7 +1019,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
TRACE_EVENT0("startup", "StartupBrowserCreator::ProcessCmdLineImpl");
ComputeAndRecordLaunchMode(command_line);
@@ -18,7 +18,7 @@
if (headless::IsHeadlessMode() &&
headless::HeadlessModePolicy::IsHeadlessModeDisabled(
g_browser_process->local_state())) {
-@@ -1081,7 +1081,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
+@@ -1122,7 +1122,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
silent_launch = true;
}
@@ -27,7 +27,7 @@
// Writes open and installed web apps to the specified file without
// launching a new browser window or tab.
if (base::FeatureList::IsEnabled(features::kListWebAppsSwitch) &&
-@@ -1298,7 +1298,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
+@@ -1339,7 +1339,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
CHECK_EQ(profile_info.mode, StartupProfileMode::kBrowserWindow)
<< "Failed launch with app: couldn't pick a profile";
std::string app_id = command_line.GetSwitchValueASCII(switches::kAppId);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc
index 407f7f1cd8d4..c169faba5602 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/startup/startup_browser_creator_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/startup/startup_browser_creator_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/startup/startup_browser_creator_impl.cc
-@@ -76,7 +76,7 @@
+@@ -80,7 +80,7 @@
#include "components/app_restore/full_restore_utils.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_fetcher.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -208,7 +208,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
+@@ -214,7 +214,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
// at the state of the MessageLoop.
Browser::CreateParams params = Browser::CreateParams(profile_, false);
params.creation_source = Browser::CreationSource::kStartupCreator;
@@ -18,7 +18,7 @@
params.startup_id =
command_line_->GetSwitchValueASCII("desktop-startup-id");
#endif
-@@ -238,7 +238,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
+@@ -244,7 +244,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
continue;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc
index d292babae941..43806c40e162 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_startup__tab__provider.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/startup/startup_tab_provider.cc.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/ui/startup/startup_tab_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/startup/startup_tab_provider.cc
-@@ -62,7 +62,7 @@
+@@ -63,7 +63,7 @@
#include "extensions/browser/extension_registry.h"
#endif // !BUILDFLAG(IS_ANDROID)
@@ -9,7 +9,7 @@
#include "chrome/browser/headless/headless_mode_util.h"
#endif
-@@ -101,7 +101,7 @@ bool ValidateUrl(const GURL& url) {
+@@ -102,7 +102,7 @@ bool ValidateUrl(const GURL& url) {
#endif // BUILDFLAG(IS_CHROMEOS)
bool url_scheme_is_chrome = false;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tab__helpers.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tab__helpers.cc
index 4d920c167a68..b8f4e534f1c2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tab__helpers.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tab__helpers.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/tab_helpers.cc.orig 2025-06-17 07:21:45 UTC
+--- chrome/browser/ui/tab_helpers.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/tab_helpers.cc
-@@ -220,7 +220,7 @@
+@@ -218,7 +218,7 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "chrome/browser/ui/blocked_content/framebust_block_tab_helper.h"
- #include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/hats/hats_helper.h"
-@@ -707,12 +707,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con
+ #include "chrome/browser/ui/performance_controls/performance_controls_hats_service_factory.h"
+@@ -704,12 +704,12 @@ void TabHelpers::AttachTabHelpers(WebContents* web_con
webapps::PreRedirectionURLObserver::CreateForWebContents(web_contents);
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_features.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_features.cc
index 419dc7a56c17..d52d8f61b9ae 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_features.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/tabs/features.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/tabs/features.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/tabs/features.cc
-@@ -51,7 +51,7 @@ bool CanShowTabSearchPositionSetting() {
+@@ -60,7 +60,7 @@ bool CanShowTabSearchPositionSetting() {
}
// Mac and other platforms will always have the tab search position in the
// correct location, cros/linux/win git the user the option to change.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc
index b18d8fc01172..28071185cbba 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__dialog__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/tabs/tab_dialog_manager.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/ui/tabs/tab_dialog_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/tabs/tab_dialog_manager.cc
-@@ -83,7 +83,7 @@ bool SupportsGlobalScreenCoordinates() {
+@@ -88,7 +88,7 @@ bool SupportsGlobalScreenCoordinates() {
}
bool PlatformClipsChildrenToViewport() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc
index e5da9a16a833..40ddba5ea9d4 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_tab__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/tabs/tab_features.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/tabs/tab_features.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/tabs/tab_features.cc
-@@ -311,7 +311,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro
+@@ -356,7 +356,7 @@ void TabFeatures::Init(TabInterface& tab, Profile* pro
task_manager::WebContentsTags::CreateForTabContents(tab.GetContents());
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h
index 434d01160f5c..564bf0fa7137 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/task_manager/task_manager_columns.h.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/ui/task_manager/task_manager_columns.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/task_manager/task_manager_columns.h
-@@ -277,7 +277,7 @@ inline constexpr std::array kColumns = {
+@@ -264,7 +264,7 @@ inline constexpr std::array kColumns = {
.default_visibility = false},
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
index 631dd1ed9d0b..95137dd6c9fb 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/task_manager/task_manager_table_model.cc
-@@ -423,7 +423,7 @@ TaskManagerTableModel::~TaskManagerTableModel() {
+@@ -376,7 +376,7 @@ TaskManagerTableModel::~TaskManagerTableModel() {
// Note: system_total_time_ is used for both since there is no functional
// difference between browser & system (they are essentially the same tab).
// Instead, the data is routed to the platform appropriate bucket.
@@ -9,7 +9,7 @@
task_manager::RecordTabSwitchEvent(CategoryRecord::kBrowser,
system_total_time_);
#elif BUILDFLAG(IS_CHROMEOS)
-@@ -564,7 +564,7 @@ std::u16string TaskManagerTableModel::GetText(size_t r
+@@ -509,7 +509,7 @@ std::u16string TaskManagerTableModel::GetText(size_t r
? stringifier_->backgrounded_string()
: stringifier_->foregrounded_string();
@@ -18,7 +18,7 @@
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: {
const int fd_count = observed_task_manager()->GetOpenFdCount(tasks_[row]);
return fd_count >= 0 ? base::FormatNumber(fd_count)
-@@ -727,7 +727,7 @@ int TaskManagerTableModel::CompareValues(size_t row1,
+@@ -667,7 +667,7 @@ int TaskManagerTableModel::CompareValues(size_t row1,
return BooleanCompare(is_proc1_bg, is_proc2_bg);
}
@@ -27,7 +27,7 @@
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: {
const int proc1_fd_count =
observed_task_manager()->GetOpenFdCount(tasks_[row1]);
-@@ -1044,7 +1044,7 @@ void TaskManagerTableModel::UpdateRefreshTypes(int col
+@@ -979,7 +979,7 @@ void TaskManagerTableModel::UpdateRefreshTypes(int col
type = REFRESH_TYPE_KEEPALIVE_COUNT;
break;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_test_popup__browsertest.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_test_popup__browsertest.cc
index 1d255d82a1e6..c695e17f826f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_test_popup__browsertest.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_test_popup__browsertest.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/test/popup_browsertest.cc.orig 2024-10-01 07:26:23 UTC
+--- chrome/browser/ui/test/popup_browsertest.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/test/popup_browsertest.cc
-@@ -75,7 +75,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenLeftAndTopZeroCo
+@@ -76,7 +76,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenLeftAndTopZeroCo
const display::Display display = GetDisplayNearestBrowser(popup);
gfx::Rect expected(popup->window()->GetBounds().size());
expected.AdjustToFit(display.work_area());
@@ -9,7 +9,7 @@
// TODO(crbug.com/40815883) Desktop Linux window bounds are inaccurate.
expected.Outset(50);
EXPECT_TRUE(expected.Contains(popup->window()->GetBounds()))
-@@ -107,7 +107,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenClampedToCurrent
+@@ -108,7 +108,7 @@ IN_PROC_BROWSER_TEST_F(PopupTest, OpenClampedToCurrent
// The popup should be constrained to the opener's available display space.
EXPECT_EQ(display, GetDisplayNearestBrowser(popup));
gfx::Rect work_area(display.work_area());
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.cc
index c6b7eb9621a1..da690d004cb2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/ui_features.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/ui_features.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/ui_features.cc
-@@ -35,7 +35,7 @@ BASE_FEATURE(kCloseOmniboxPopupOnInactiveAreaClick,
+@@ -38,7 +38,7 @@ BASE_FEATURE(kCloseOmniboxPopupOnInactiveAreaClick,
"CloseOmniboxPopupOnInactiveAreaClick",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -9,7 +9,7 @@
// Enables the feature to remove the last confirmation dialog when relaunching
// to update Chrome.
BASE_FEATURE(kFewerUpdateConfirmations,
-@@ -339,7 +339,7 @@ BASE_FEATURE(kViewsJSAppModalDialog,
+@@ -398,7 +398,7 @@ BASE_FEATURE(kViewsJSAppModalDialog,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.h
index 1c3a9a173c81..ee0b2b070986 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_ui__features.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/ui_features.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/ui_features.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/ui_features.h
@@ -28,7 +28,7 @@ BASE_DECLARE_FEATURE(kAllowEyeDropperWGCScreenCapture)
@@ -9,7 +9,7 @@
BASE_DECLARE_FEATURE(kFewerUpdateConfirmations);
#endif
-@@ -214,7 +214,7 @@ BASE_DECLARE_FEATURE(kViewsFirstRunDialog);
+@@ -292,7 +292,7 @@ BASE_DECLARE_FEATURE(kViewsFirstRunDialog);
BASE_DECLARE_FEATURE(kViewsJSAppModalDialog);
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc
index 3d74bbd92c71..b4770861fe6c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/accelerator_table.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/accelerator_table.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/accelerator_table.cc
-@@ -69,11 +69,11 @@ const AcceleratorMapping kAcceleratorMap[] = {
+@@ -72,11 +72,11 @@ const AcceleratorMapping kAcceleratorMap[] = {
{ui::VKEY_S, ui::EF_PLATFORM_ACCELERATOR, IDC_SAVE_PAGE},
{ui::VKEY_9, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_LAST_TAB},
{ui::VKEY_NUMPAD9, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_LAST_TAB},
@@ -14,7 +14,7 @@
{ui::VKEY_NEXT, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, IDC_MOVE_TAB_NEXT},
{ui::VKEY_PRIOR, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN,
IDC_MOVE_TAB_PREVIOUS},
-@@ -101,7 +101,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
+@@ -104,7 +104,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
{ui::VKEY_NUMPAD7, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_6},
{ui::VKEY_8, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_7},
{ui::VKEY_NUMPAD8, ui::EF_PLATFORM_ACCELERATOR, IDC_SELECT_TAB_7},
@@ -23,7 +23,7 @@
{ui::VKEY_1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0},
{ui::VKEY_NUMPAD1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0},
{ui::VKEY_2, ui::EF_ALT_DOWN, IDC_SELECT_TAB_1},
-@@ -153,7 +153,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
+@@ -155,7 +155,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
IDC_SHOW_AVATAR_MENU},
// Platform-specific key maps.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
index c35c663d108f..f39db4d513cb 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
-@@ -39,7 +39,7 @@
+@@ -36,7 +36,7 @@
#include "ui/wm/core/wm_state.h"
#endif // defined(USE_AURA)
@@ -9,7 +9,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-@@ -143,7 +143,7 @@ void ChromeBrowserMainExtraPartsViews::PreProfileInit(
+@@ -131,7 +131,7 @@ void ChromeBrowserMainExtraPartsViews::PreProfileInit(
return controller;
}));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc
index a894ed200cbf..b415e1c52c65 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate__linux.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/chrome_views_delegate_linux.cc.orig 2024-05-23 20:04:36 UTC
+--- chrome/browser/ui/views/chrome_views_delegate_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/chrome_views_delegate_linux.cc
-@@ -26,7 +26,7 @@ bool IsDesktopEnvironmentUnity() {
+@@ -27,7 +27,7 @@ bool IsDesktopEnvironmentUnity() {
return desktop_env == base::nix::DESKTOP_ENVIRONMENT_UNITY;
}
@@ -9,7 +9,7 @@
int GetWindowIconResourceId() {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
switch (chrome::GetChannel()) {
-@@ -80,7 +80,7 @@ views::NativeWidget* ChromeViewsDelegate::CreateNative
+@@ -85,7 +85,7 @@ views::NativeWidget* ChromeViewsDelegate::CreateNative
delegate);
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
index 60f51993b18a..05cfcae3b5ff 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/browser_frame.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/frame/browser_frame.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/browser_frame.cc
-@@ -52,7 +52,7 @@
+@@ -53,7 +53,7 @@
#include "ui/aura/window.h"
#endif
@@ -9,7 +9,16 @@
#include "ui/display/screen.h"
#include "ui/linux/linux_ui.h"
#endif
-@@ -87,7 +87,7 @@ class ThemeChangedObserver : public views::WidgetObser
+@@ -68,7 +68,7 @@ namespace {
+ constexpr double kTitlePaddingWidthFraction = 0.1;
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // These values are used for Linux/GTK.
+ constexpr int kIconTitleSpacing = 4;
+ constexpr int kCaptionSpacing = 5;
+@@ -98,7 +98,7 @@ class ThemeChangedObserver : public views::WidgetObser
};
bool IsUsingLinuxSystemTheme(Profile* profile) {
@@ -18,7 +27,7 @@
return ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme();
#else
return false;
-@@ -185,7 +185,7 @@ void BrowserFrame::InitBrowserFrame() {
+@@ -196,7 +196,7 @@ void BrowserFrame::InitBrowserFrame() {
Init(std::move(params));
@@ -27,7 +36,7 @@
SelectNativeTheme();
#else
SetNativeTheme(ui::NativeTheme::GetInstanceForNativeUi());
-@@ -371,7 +371,7 @@ void BrowserFrame::OnNativeWidgetWorkspaceChanged() {
+@@ -434,7 +434,7 @@ void BrowserFrame::OnNativeWidgetWorkspaceChanged() {
chrome::SaveWindowWorkspace(browser_view_->browser(), GetWorkspace());
chrome::SaveWindowVisibleOnAllWorkspaces(browser_view_->browser(),
IsVisibleOnAllWorkspaces());
@@ -36,7 +45,7 @@
// If the window was sent to a different workspace, prioritize it if
// it was sent to the current workspace and deprioritize it
// otherwise. This is done by MoveBrowsersInWorkspaceToFront()
-@@ -569,7 +569,7 @@ void BrowserFrame::OnMenuClosed() {
+@@ -633,7 +633,7 @@ void BrowserFrame::OnMenuClosed() {
}
void BrowserFrame::SelectNativeTheme() {
@@ -45,7 +54,7 @@
// Use the regular NativeTheme instance if running incognito mode, regardless
// of system theme (gtk, qt etc).
ui::NativeTheme* native_theme = ui::NativeTheme::GetInstanceForNativeUi();
-@@ -610,7 +610,7 @@ void BrowserFrame::OnTouchUiChanged() {
+@@ -674,7 +674,7 @@ void BrowserFrame::OnTouchUiChanged() {
bool BrowserFrame::RegenerateFrameOnThemeChange(
BrowserThemeChangeType theme_change_type) {
bool need_regenerate = false;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc
index f37cf4fc730e..0d078aa8776e 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__non__client__frame__view__factory__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_views.cc
-@@ -15,7 +15,7 @@
+@@ -17,7 +17,7 @@
#include "chrome/browser/ui/views/frame/browser_frame_view_win.h"
#endif
@@ -9,21 +9,12 @@
#include "chrome/browser/ui/views/frame/browser_frame_view_layout_linux.h"
#include "chrome/browser/ui/views/frame/browser_frame_view_layout_linux_native.h"
#include "chrome/browser/ui/views/frame/browser_frame_view_linux_native.h"
-@@ -33,7 +33,7 @@ namespace {
- std::unique_ptr<OpaqueBrowserFrameView> CreateOpaqueBrowserFrameView(
- BrowserFrame* frame,
- BrowserView* browser_view) {
+@@ -32,7 +32,7 @@ namespace chrome {
+
+ namespace {
+
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- auto* profile = browser_view->browser()->profile();
- auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(profile);
- auto* theme_service_factory = ThemeServiceFactory::GetForProfile(profile);
-@@ -83,7 +83,7 @@ std::unique_ptr<BrowserNonClientFrameView> CreateBrows
+ std::unique_ptr<OpaqueBrowserFrameView> CreateOpaqueBrowserFrameViewLinux(
BrowserFrame* frame,
BrowserView* browser_view) {
- if (browser_view->browser()->is_type_picture_in_picture()) {
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return std::make_unique<PictureInPictureBrowserFrameViewLinux>(
- frame, browser_view);
- #else
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
index 5eae58ae3471..a3736cd80007 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/views/frame/browser_view.cc.orig 2025-06-17 07:21:45 UTC
+--- chrome/browser/ui/views/frame/browser_view.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/browser_view.cc
-@@ -2639,7 +2639,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating
+@@ -2480,7 +2480,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating
}
void BrowserView::TabDraggingStatusChanged(bool is_dragging) {
-#if !BUILDFLAG(IS_LINUX)
+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
- GetContentsWebView()->SetFastResize(is_dragging);
- if (multi_contents_view_) {
- multi_contents_view_->GetInactiveContentsView()->SetFastResize(is_dragging);
-@@ -5969,7 +5969,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() {
+ std::vector<ContentsWebView*> contents_web_views =
+ GetAllVisibleContentsWebViews();
+
+@@ -5966,7 +5966,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() {
}
void BrowserView::MaybeShowSupervisedUserProfileSignInIPH() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
index 3b33e7711af6..d5bc935912f2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -54,7 +54,7 @@
#include "ui/views/window/vector_icons/vector_icons.h"
@@ -9,7 +9,7 @@
#include "ui/views/controls/menu/menu_runner.h"
#endif
-@@ -572,7 +572,7 @@ bool OpaqueBrowserFrameView::EverHasVisibleBackgroundT
+@@ -566,7 +566,7 @@ bool OpaqueBrowserFrameView::EverHasVisibleBackgroundT
OpaqueBrowserFrameView::FrameButtonStyle
OpaqueBrowserFrameView::GetFrameButtonStyle() const {
@@ -18,7 +18,7 @@
return FrameButtonStyle::kMdButton;
#else
return FrameButtonStyle::kImageButton;
-@@ -591,7 +591,7 @@ bool OpaqueBrowserFrameView::ShouldDrawRestoredFrameSh
+@@ -585,7 +585,7 @@ bool OpaqueBrowserFrameView::ShouldDrawRestoredFrameSh
return false;
}
@@ -27,7 +27,7 @@
bool OpaqueBrowserFrameView::IsTiled() const {
return frame()->tiled();
}
-@@ -794,7 +794,7 @@ gfx::Rect OpaqueBrowserFrameView::GetIconBounds() cons
+@@ -788,7 +788,7 @@ gfx::Rect OpaqueBrowserFrameView::GetIconBounds() cons
}
void OpaqueBrowserFrameView::WindowIconPressed() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h
index 618fed9dc296..9d01163085e9 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/opaque_browser_frame_view.h.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view.h
-@@ -110,7 +110,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
+@@ -108,7 +108,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
FrameButtonStyle GetFrameButtonStyle() const override;
void UpdateWindowControlsOverlay(const gfx::Rect& bounding_rect) override;
bool ShouldDrawRestoredFrameShadow() const override;
@@ -9,7 +9,7 @@
bool IsTiled() const override;
#endif
int WebAppButtonHeight() const override;
-@@ -227,7 +227,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
+@@ -225,7 +225,7 @@ class OpaqueBrowserFrameView : public BrowserNonClient
// Background painter for the window frame.
std::unique_ptr<views::FrameBackground> frame_background_;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc
index ade6fd2f03ff..47563bce59a0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_picture__in__picture__browser__frame__view.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc
-@@ -67,7 +67,7 @@
+@@ -74,7 +74,7 @@
// Windows, Mac and CrOS do not clip child widgets to their parents, so we
// don't have to worry about resizing quite as much.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
index 4f979c2bbb17..e3e33c87d551 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/system_menu_model_builder.cc
-@@ -75,7 +75,7 @@ void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuM
+@@ -74,7 +74,7 @@ void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuM
void SystemMenuModelBuilder::BuildSystemMenuForBrowserWindow(
ui::SimpleMenuModel* model) {
@@ -9,7 +9,7 @@
model->AddItemWithStringId(IDC_MINIMIZE_WINDOW, IDS_MINIMIZE_WINDOW_MENU);
model->AddItemWithStringId(IDC_MAXIMIZE_WINDOW, IDS_MAXIMIZE_WINDOW_MENU);
model->AddItemWithStringId(IDC_RESTORE_WINDOW, IDS_RESTORE_WINDOW_MENU);
-@@ -101,7 +101,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser
+@@ -100,7 +100,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser
model->AddSeparator(ui::NORMAL_SEPARATOR);
model->AddItemWithStringId(IDC_TASK_MANAGER_CONTEXT_MENU, IDS_TASK_MANAGER);
}
@@ -18,7 +18,7 @@
model->AddSeparator(ui::NORMAL_SEPARATOR);
bool supports_server_side_decorations = true;
#if BUILDFLAG(IS_OZONE) && !BUILDFLAG(IS_CHROMEOS)
-@@ -175,7 +175,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo
+@@ -174,7 +174,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo
model->AddSeparator(ui::NORMAL_SEPARATOR);
model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
index a16859be6fda..e7288dc36b60 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/frame/system_menu_model_delegate.cc
-@@ -20,7 +20,7 @@
+@@ -21,7 +21,7 @@
#include "chromeos/ui/frame/desks/move_to_desks_menu_model.h"
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "chrome/common/pref_names.h"
- #include "components/prefs/pref_service.h"
#endif
-@@ -39,7 +39,7 @@ SystemMenuModelDelegate::SystemMenuModelDelegate(
+
+@@ -38,7 +38,7 @@ SystemMenuModelDelegate::SystemMenuModelDelegate(
SystemMenuModelDelegate::~SystemMenuModelDelegate() = default;
bool SystemMenuModelDelegate::IsCommandIdChecked(int command_id) const {
@@ -18,7 +18,7 @@
if (command_id == IDC_USE_SYSTEM_TITLE_BAR) {
PrefService* prefs = browser_->profile()->GetPrefs();
return !prefs->GetBoolean(prefs::kUseCustomChromeFrame);
-@@ -65,7 +65,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c
+@@ -64,7 +64,7 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int c
}
bool SystemMenuModelDelegate::IsCommandIdVisible(int command_id) const {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc
new file mode 100644
index 000000000000..3b4abcb88f49
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_new__tab__footer_footer__controller.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/views/new_tab_footer/footer_controller.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/ui/views/new_tab_footer/footer_controller.cc
+@@ -44,7 +44,7 @@ NewTabFooterController::NewTabFooterController(
+ base::BindRepeating(&NewTabFooterController::UpdateFooterVisibilities,
+ weak_factory_.GetWeakPtr(),
+ /*log_on_load_metric=*/false));
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ local_state_pref_change_registrar_.Init(g_browser_process->local_state());
+ local_state_pref_change_registrar_.Add(
+ prefs::kNTPFooterManagementNoticeEnabled,
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc
index 8d813f0feeb6..93b4ffb86e62 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_omnibox_omnibox__view__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/omnibox/omnibox_view_views.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/omnibox/omnibox_view_views.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/omnibox/omnibox_view_views.cc
-@@ -2090,7 +2090,7 @@ void OmniboxViewViews::MaybeAddSendTabToSelfItem(
+@@ -2320,7 +2320,7 @@ void OmniboxViewViews::MaybeAddSendTabToSelfItem(
}
void OmniboxViewViews::OnPopupOpened() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc
index 082dd6951b75..ff93076447d3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_passwords_password__bubble__view__base.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/passwords/password_bubble_view_base.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/ui/views/passwords/password_bubble_view_base.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/passwords/password_bubble_view_base.cc
-@@ -42,7 +42,7 @@
+@@ -43,7 +43,7 @@
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/controls/button/button.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/views/passwords/password_relaunch_chrome_view.h"
#endif
-@@ -175,7 +175,7 @@ PasswordBubbleViewBase* PasswordBubbleViewBase::Create
+@@ -163,7 +163,7 @@ PasswordBubbleViewBase* PasswordBubbleViewBase::Create
} else if (model_state ==
password_manager::ui::NOTIFY_RECEIVED_SHARED_CREDENTIALS) {
view = new SharedPasswordsNotificationView(web_contents, anchor_view);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc
index 5da68016aa08..2dac673fbbcf 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/profiles/avatar_toolbar_button.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/ui/views/profiles/avatar_toolbar_button.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/profiles/avatar_toolbar_button.cc
-@@ -346,7 +346,7 @@ void AvatarToolbarButton::MaybeShowProfileSwitchIPH()
+@@ -406,7 +406,7 @@ void AvatarToolbarButton::MaybeShowProfileSwitchIPH()
}
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h
index bb322b11cab8..e1020e2fede7 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_avatar__toolbar__button.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/profiles/avatar_toolbar_button.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/profiles/avatar_toolbar_button.h
-@@ -88,7 +88,7 @@ class AvatarToolbarButton : public ToolbarButton {
+@@ -96,7 +96,7 @@ class AvatarToolbarButton : public ToolbarButton,
// Attempts showing the In-Produce-Help for profile Switching.
void MaybeShowProfileSwitchIPH();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc
index faaea0f844b4..6859c27ba73f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__coordinator.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/views/profiles/profile_menu_coordinator.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/profiles/profile_menu_coordinator.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/profiles/profile_menu_coordinator.cc
-@@ -52,7 +52,7 @@ void ProfileMenuCoordinator::Show(
- browser.window()->NotifyFeaturePromoFeatureUsed(
- feature_engagement::kIPHProfileSwitchFeature,
- FeaturePromoFeatureUsedAction::kClosePromoIfPresent);
+@@ -55,7 +55,7 @@ void ProfileMenuCoordinator::Show(
+ ->NotifyFeaturePromoFeatureUsed(
+ feature_engagement::kIPHProfileSwitchFeature,
+ FeaturePromoFeatureUsedAction::kClosePromoIfPresent);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- browser.window()->NotifyFeaturePromoFeatureUsed(
- feature_engagement::kIPHSupervisedUserProfileSigninFeature,
- FeaturePromoFeatureUsedAction::kClosePromoIfPresent);
+ BrowserUserEducationInterface::From(GetBrowser())
+ ->NotifyFeaturePromoFeatureUsed(
+ feature_engagement::kIPHSupervisedUserProfileSigninFeature,
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc
index 9a976e038fd2..29d837c1b6fb 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view.cc
@@ -1,20 +1,20 @@
---- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/profiles/profile_menu_view.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/profiles/profile_menu_view.cc
-@@ -91,7 +91,7 @@
- #include "ui/strings/grit/ui_strings.h"
+@@ -101,7 +101,7 @@
#include "ui/views/accessibility/view_accessibility.h"
+ #include "ui/views/widget/widget.h"
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#endif
-@@ -494,7 +494,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() {
+@@ -584,7 +584,7 @@ void ProfileMenuView::SetMenuTitleForAccessibility() {
case signin_util::SignedInState::kSignedOut:
case signin_util::SignedInState::kWebOnlySignedIn: {
std::string profile_user_display_name, profile_user_email;
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- profile_user_display_name = profile->GetPrefs()->GetString(
+ profile_user_display_name = profile().GetPrefs()->GetString(
enterprise_signin::prefs::kProfileUserDisplayName);
- profile_user_email = profile->GetPrefs()->GetString(
+ profile_user_email = profile().GetPrefs()->GetString(
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc
deleted file mode 100644
index 98b4910a65e0..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__menu__view__base.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/ui/views/profiles/profile_menu_view_base.cc.orig 2025-05-31 17:16:41 UTC
-+++ chrome/browser/ui/views/profiles/profile_menu_view_base.cc
-@@ -415,7 +415,7 @@ void ProfileMenuViewBase::SetProfileIdentityInfo(
- kIdentityImageBorder,
- /*has_dotted_ring=*/false);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // crbug.com/1161166: Orca does not read the accessible window title of the
- // bubble, so we duplicate it in the top-level menu item. To be revisited
- // after considering other options, including fixes on the AT side.
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc
index a98e463b07e3..be86ff247545 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_profile__picker__view.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/profiles/profile_picker_view.cc.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/ui/views/profiles/profile_picker_view.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/profiles/profile_picker_view.cc
-@@ -85,7 +85,7 @@
+@@ -81,7 +81,7 @@
#include "chrome/browser/global_keyboard_shortcuts_mac.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/shell_integration_linux.h"
#endif
-@@ -115,7 +115,7 @@ class ProfilePickerWidget : public views::Widget {
+@@ -107,7 +107,7 @@ class ProfilePickerWidget : public views::Widget {
views::Widget::InitParams params(
views::Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET);
params.delegate = profile_picker_view_;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc
index 9e64d9f2594b..7030086e9d3d 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.cc
@@ -1,15 +1,32 @@
---- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.cc
-@@ -66,7 +66,7 @@
+@@ -63,14 +63,14 @@
+ #include "chrome/browser/ui/webui/signin/signout_confirmation/signout_confirmation_ui.h"
+ #endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin_ui.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+
namespace {
const int kModalDialogWidth = 448;
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const int kManagedUserNoticeConfirmationDialogWidth = 512;
- const int kManagedUserNoticeConfirmationDialogHeight = 576;
- const int kManagedUserNoticeConfirmationUpdatedDialogWidth = 780;
-@@ -198,7 +198,7 @@ SigninViewControllerDelegateViews::CreateSignoutConfir
+ const int kManagedUserNoticeConfirmationDialogWidth = 780;
+ const int kManagedUserNoticeConfirmationDialogHeight = 560;
+ #endif
+@@ -137,7 +137,7 @@ SigninViewControllerDelegateViews::CreateSyncConfirmat
+ kSyncConfirmationDialogWidth, InitializeSigninWebDialogUI(true));
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<views::WebView>
+ SigninViewControllerDelegateViews::CreateHistorySyncOptInWebView(
+ Browser* browser,
+@@ -227,7 +227,7 @@ SigninViewControllerDelegateViews::CreateSignoutConfir
}
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
@@ -18,7 +35,7 @@
// static
std::unique_ptr<views::WebView>
SigninViewControllerDelegateViews::CreateManagedUserNoticeConfirmationWebView(
-@@ -383,7 +383,7 @@ SigninViewControllerDelegateViews::SigninViewControlle
+@@ -402,7 +402,7 @@ SigninViewControllerDelegateViews::SigninViewControlle
SetButtons(static_cast<int>(ui::mojom::DialogButton::kNone));
@@ -27,7 +44,7 @@
// On the local profile creation dialog, cancelling the dialog (for instance
// through the VKEY_ESCAPE accelerator) should delete the profile.
if (delete_profile_on_cancel) {
-@@ -475,7 +475,7 @@ void SigninViewControllerDelegateViews::DisplayModal()
+@@ -494,7 +494,7 @@ void SigninViewControllerDelegateViews::DisplayModal()
content_view_->RequestFocus();
}
@@ -36,7 +53,16 @@
void SigninViewControllerDelegateViews::DeleteProfileOnCancel() {
ProfileAttributesEntry* entry =
g_browser_process->profile_manager()
-@@ -556,7 +556,7 @@ SigninViewControllerDelegate::CreateSignoutConfirmatio
+@@ -534,7 +534,7 @@ SigninViewControllerDelegate::CreateSyncConfirmationDe
+ /*animate_on_resize=*/true);
+ }
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // static
+ SigninViewControllerDelegate*
+ SigninViewControllerDelegate::CreateSyncHistoryOptInDelegate(
+@@ -591,7 +591,7 @@ SigninViewControllerDelegate::CreateSignoutConfirmatio
}
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h
index 92def2388a27..b34e32de3e84 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_profiles_signin__view__controller__delegate__views.h
@@ -1,6 +1,15 @@
---- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h
-@@ -73,7 +73,7 @@ class SigninViewControllerDelegateViews
+@@ -58,7 +58,7 @@ class SigninViewControllerDelegateViews
+ SyncConfirmationStyle style,
+ bool is_sync_promo);
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ static std::unique_ptr<views::WebView> CreateHistorySyncOptInWebView(
+ Browser* browser,
+ HistorySyncOptinLaunchContext launch_context);
+@@ -80,7 +80,7 @@ class SigninViewControllerDelegateViews
SignoutConfirmationCallback callback);
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
@@ -9,7 +18,7 @@
static std::unique_ptr<views::WebView>
CreateManagedUserNoticeConfirmationWebView(
Browser* browser,
-@@ -144,7 +144,7 @@ class SigninViewControllerDelegateViews
+@@ -151,7 +151,7 @@ class SigninViewControllerDelegateViews
std::optional<int> dialog_width,
InitializeSigninWebDialogUI initialize_signin_web_dialog_ui);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc
index 6be10d2826fa..6ee6264fe38b 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc
-@@ -190,7 +190,7 @@ bool IsWindowDragUsingSystemDragDropAllowed() {
+@@ -194,7 +194,7 @@ bool IsWindowDragUsingSystemDragDropAllowed() {
void UpdateSystemDnDDragImage(TabDragContext* attached_context,
const gfx::ImageSkia& image) {
@@ -9,7 +9,7 @@
VLOG(1) << __func__ << " image size=" << image.size().ToString();
aura::Window* root_window =
attached_context->GetWidget()->GetNativeWindow()->GetRootWindow();
-@@ -381,7 +381,7 @@ TabDragController::Liveness TabDragController::Init(
+@@ -406,7 +406,7 @@ TabDragController::Liveness TabDragController::Init(
// synchronous on desktop Linux, so use that.
// - ChromeOS Ash
// Releasing capture on Ash cancels gestures so avoid it.
@@ -18,7 +18,7 @@
ref->can_release_capture_ = false;
#endif
ref->start_point_in_screen_ =
-@@ -889,7 +889,7 @@ TabDragController::Liveness TabDragController::DragBro
+@@ -980,7 +980,7 @@ TabDragController::Liveness TabDragController::DragBro
CHECK_EQ(SetCapture(target_context), Liveness::ALIVE);
}
@@ -27,7 +27,7 @@
// EndMoveLoop is going to snap the window back to its original location.
// Hide it so users don't see this. Hiding a window in Linux aura causes
// it to lose capture so skip it.
-@@ -1922,7 +1922,7 @@ void TabDragController::CompleteDrag() {
+@@ -2132,7 +2132,7 @@ void TabDragController::CompleteDrag() {
}
// If source window was maximized - maximize the new window as well.
@@ -36,7 +36,7 @@
// Keeping maximized state breaks snap to Grid on Windows when dragging
// tabs from maximized windows. TODO:(crbug.com/727051) Explore doing this
// for other desktop OS's. kMaximizedStateRetainedOnTabDrag in
-@@ -2339,7 +2339,7 @@ TabDragController::Liveness TabDragController::GetLoca
+@@ -2549,7 +2549,7 @@ TabDragController::Liveness TabDragController::GetLoca
}
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc
index ec8a60289482..0a424d38d8ae 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/tabs/tab.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/tabs/tab.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/tabs/tab.cc
-@@ -645,7 +645,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent&
+@@ -671,7 +671,7 @@ void Tab::MaybeUpdateHoverStatus(const ui::MouseEvent&
return;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc
deleted file mode 100644
index d70bfd5b06b5..000000000000
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip__combo__button.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/ui/views/tabs/tab_strip_combo_button.cc.orig 2025-05-06 12:23:00 UTC
-+++ chrome/browser/ui/views/tabs/tab_strip_combo_button.cc
-@@ -97,7 +97,7 @@ TabStripComboButton::TabStripComboButton(BrowserWindow
- base::BindRepeating(&TabStripComboButton::OnNewTabButtonStateChanged,
- base::Unretained(this))));
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // The New Tab Button can be middle-clicked on Linux.
- new_tab_button->SetTriggerableEventFlags(
- new_tab_button->GetTriggerableEventFlags() | ui::EF_MIDDLE_MOUSE_BUTTON);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc
index 81411f693419..580015cfb4d4 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_tabs_tab__style__views.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/tabs/tab_style_views.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/tabs/tab_style_views.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/tabs/tab_style_views.cc
-@@ -563,7 +563,7 @@ float TabStyleViewsImpl::GetCurrentActiveOpacity() con
+@@ -575,7 +575,7 @@ float TabStyleViewsImpl::GetCurrentActiveOpacity() con
if (!IsHoverAnimationActive()) {
return base_opacity;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
index 208b575738b8..bb3a7ffc596c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/views/user_education/browser_user_education_service.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/user_education/browser_user_education_service.cc
-@@ -1010,7 +1010,7 @@ void MaybeRegisterChromeFeaturePromos(
+@@ -1057,7 +1057,7 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered when a shared tab becomes the active tab.")));
}
@@ -9,7 +9,7 @@
// kIPHSupervisedUserProfileSigninFeature
registry.RegisterFeature(std::move(
FeaturePromoSpecification::CreateForCustomAction(
-@@ -1289,7 +1289,7 @@ void MaybeRegisterChromeFeaturePromos(
+@@ -1304,7 +1304,7 @@ void MaybeRegisterChromeFeaturePromos(
"Triggered to inform users of the availability of the "
"new translate screen feature on the Lens Overlay.")));
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc
index 4d9a90862e5d..20a6f9fde8ec 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_views_web__apps_web__app__integration__test__driver.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc
-@@ -510,7 +510,7 @@ std::string GetFileExtension(FileExtension file_extens
+@@ -516,7 +516,7 @@ std::string GetFileExtension(FileExtension file_extens
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
SiteConfig GetSiteConfigurationFromAppName(const std::string& app_name) {
SiteConfig config;
bool is_app_found = false;
-@@ -2057,7 +2057,7 @@ void WebAppIntegrationTestDriver::DeletePlatformShortc
+@@ -2076,7 +2076,7 @@ void WebAppIntegrationTestDriver::DeletePlatformShortc
if (app_name.empty()) {
app_name = GetSiteConfiguration(site).app_name;
}
@@ -18,7 +18,7 @@
ASSERT_TRUE(override_registration_->test_override().IsShortcutCreated(
profile(), app_id, app_name));
ASSERT_TRUE(
-@@ -3377,7 +3377,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginEna
+@@ -3394,7 +3394,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginEna
app_state->id, app_state->name);
ASSERT_TRUE(icon_color.has_value());
ASSERT_THAT(site_config.icon_color, testing::Eq(icon_color.value()));
@@ -27,7 +27,7 @@
ASSERT_TRUE(override_registration_->test_override().IsRunOnOsLoginEnabled(
profile(), app_state->id, app_state->name));
#endif
-@@ -3392,7 +3392,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
+@@ -3409,7 +3409,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
GetAppBySiteMode(after_state_change_action_state_.get(), profile(), site);
ASSERT_TRUE(app_state);
base::ScopedAllowBlockingForTesting allow_blocking;
@@ -36,7 +36,7 @@
ASSERT_FALSE(override_registration_->test_override().IsRunOnOsLoginEnabled(
profile(), app_state->id, app_state->name));
#endif
-@@ -3402,7 +3402,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
+@@ -3419,7 +3419,7 @@ void WebAppIntegrationTestDriver::CheckRunOnOsLoginDis
void WebAppIntegrationTestDriver::CheckSiteHandlesFile(
Site site,
FileExtension file_extension) {
@@ -45,7 +45,7 @@
if (!BeforeStateCheckAction(__FUNCTION__)) {
return;
}
-@@ -3418,7 +3418,7 @@ void WebAppIntegrationTestDriver::CheckSiteHandlesFile
+@@ -3435,7 +3435,7 @@ void WebAppIntegrationTestDriver::CheckSiteHandlesFile
void WebAppIntegrationTestDriver::CheckSiteNotHandlesFile(
Site site,
FileExtension file_extension) {
@@ -54,7 +54,7 @@
if (!BeforeStateCheckAction(__FUNCTION__)) {
return;
}
-@@ -4243,7 +4243,7 @@ base::FilePath WebAppIntegrationTestDriver::GetShortcu
+@@ -4260,7 +4260,7 @@ base::FilePath WebAppIntegrationTestDriver::GetShortcu
base::FilePath shortcut_dir,
const std::string& app_name,
const webapps::AppId& app_id) {
@@ -63,7 +63,7 @@
return override_registration_->test_override().GetShortcutPath(
profile(), shortcut_dir, app_id, app_name);
#else
-@@ -4443,7 +4443,7 @@ bool WebAppIntegrationTestDriver::IsShortcutAndIconCre
+@@ -4460,7 +4460,7 @@ bool WebAppIntegrationTestDriver::IsShortcutAndIconCre
const webapps::AppId& id) {
base::ScopedAllowBlockingForTesting allow_blocking;
bool is_shortcut_and_icon_correct = false;
@@ -72,7 +72,7 @@
bool is_shortcut_correct =
override_registration_->test_override().IsShortcutCreated(profile, id,
name);
-@@ -4487,7 +4487,7 @@ bool WebAppIntegrationTestDriver::DoIconColorsMatch(Pr
+@@ -4504,7 +4504,7 @@ bool WebAppIntegrationTestDriver::DoIconColorsMatch(Pr
do_icon_colors_match =
(expected_icon_pixel_color == shortcut_pixel_color_apps_folder.value());
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h
index cde46026fea3..132e3825b43c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__dialogs.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/web_applications/web_app_dialogs.h.orig 2025-01-25 09:34:31 UTC
+--- chrome/browser/ui/web_applications/web_app_dialogs.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/web_applications/web_app_dialogs.h
-@@ -21,7 +21,7 @@
+@@ -24,7 +24,7 @@
#include "ui/gfx/native_widget_types.h"
static_assert(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc
index ea87cd6465ce..ea23a896c0ad 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/web_applications/web_app_ui_manager_impl.cc
-@@ -519,7 +519,7 @@ void WebAppUiManagerImpl::MaybeShowIPHPromoForAppsLaun
+@@ -564,7 +564,7 @@ void WebAppUiManagerImpl::MaybeShowIPHPromoForAppsLaun
Browser* browser,
Profile* profile,
const std::string& app_id) {
@@ -9,7 +9,7 @@
WebAppProvider* provider = WebAppProvider::GetForWebApps(profile);
CHECK(provider);
-@@ -748,7 +748,7 @@ void WebAppUiManagerImpl::ClearWebAppSiteDataIfNeeded(
+@@ -793,7 +793,7 @@ void WebAppUiManagerImpl::ClearWebAppSiteDataIfNeeded(
}
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h
index 32a270775c5d..1bca9ab738ff 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_web__applications_web__app__ui__manager__impl.h
@@ -1,11 +1,11 @@
---- chrome/browser/ui/web_applications/web_app_ui_manager_impl.h.orig 2025-04-15 08:30:07 UTC
+--- chrome/browser/ui/web_applications/web_app_ui_manager_impl.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/web_applications/web_app_ui_manager_impl.h
-@@ -225,7 +225,7 @@ class WebAppUiManagerImpl : public BrowserListObserver
+@@ -243,7 +243,7 @@ class WebAppUiManagerImpl : public BrowserListObserver
UninstallCompleteCallback uninstall_complete_callback,
webapps::UninstallResultCode uninstall_code);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void ShowIPHPromoForAppsLaunchedViaLinkCapturing(const Browser* browser,
+ void ShowIPHPromoForAppsLaunchedViaLinkCapturing(Browser* browser,
const webapps::AppId& app_id,
bool is_activated);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc
new file mode 100644
index 000000000000..693b01ce9993
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui__browser_webui__browser__window.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/webui_browser/webui_browser_window.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/ui/webui_browser/webui_browser_window.cc
+@@ -22,7 +22,7 @@ namespace {
+
+ // Copied from chrome/browser/ui/views/frame/browser_frame.cc.
+ bool IsUsingLinuxSystemTheme(Profile* profile) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme();
+ #else
+ return false;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.cc
index 25efa8a79095..3e540c12b1a9 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/webui/about/about_ui.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/ui/webui/about/about_ui.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/about/about_ui.cc
-@@ -496,7 +496,7 @@ std::string ChromeURLs(content::BrowserContext* browse
- return html;
- }
+@@ -415,7 +415,7 @@ using about_ui::AppendHeader;
+
+ namespace {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
std::string AboutLinuxProxyConfig() {
std::string data;
AppendHeader(&data,
-@@ -538,7 +538,7 @@ TermsUIConfig::TermsUIConfig()
+@@ -445,7 +445,7 @@ TermsUIConfig::TermsUIConfig()
: AboutUIConfigBase(chrome::kChromeUITermsHost) {}
#endif
@@ -18,7 +18,7 @@
LinuxProxyConfigUI::LinuxProxyConfigUI()
: AboutUIConfigBase(chrome::kChromeUILinuxProxyConfigHost) {}
#endif
-@@ -590,7 +590,7 @@ void AboutUIHTMLSource::StartDataRequest(
+@@ -495,7 +495,7 @@ void AboutUIHTMLSource::StartDataRequest(
response =
ui::ResourceBundle::GetSharedInstance().LoadDataResourceString(idr);
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.h
index 705865626eef..de71d5d3e6ba 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_about_about__ui.h
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/about/about_ui.h.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/ui/webui/about/about_ui.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/about/about_ui.h
-@@ -55,7 +55,7 @@ class TermsUIConfig : public AboutUIConfigBase {
+@@ -43,7 +43,7 @@ class TermsUIConfig : public AboutUIConfigBase {
};
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc
index 94896ba51498..cb0075f4fe13 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/app_home/app_home_page_handler.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/webui/app_home/app_home_page_handler.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/app_home/app_home_page_handler.cc
-@@ -61,7 +61,7 @@
+@@ -62,7 +62,7 @@
#include "ui/base/window_open_disposition_utils.h"
#include "url/gurl.h"
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h
index 4f241a108bad..bf57bef7d907 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_app__home_app__home__page__handler.h
@@ -1,11 +1,11 @@
---- chrome/browser/ui/webui/app_home/app_home_page_handler.h.orig 2024-07-31 14:19:23 UTC
+--- chrome/browser/ui/webui/app_home/app_home_page_handler.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/app_home/app_home_page_handler.h
-@@ -24,7 +24,7 @@
+@@ -23,7 +23,7 @@
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
-static_assert(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX));
+static_assert(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD));
+ class Browser;
class ExtensionEnableFlow;
-
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
index 7b3fcac5e0d9..9a2d5b7f4eff 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc
-@@ -221,7 +221,7 @@ CertificateManagerPageHandler::GetCertSource(
+@@ -219,7 +219,7 @@ CertificateManagerPageHandler::GetCertSource(
CERTIFICATE_TRUST_TYPE_DISTRUSTED,
profile_, &remote_client_);
break;
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- case certificate_manager_v2::mojom::CertificateSource::
+ case certificate_manager::mojom::CertificateSource::
kProvisionedClientCert:
source_ptr = CreateProvisionedClientCertSource(profile_);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
index e528728e1016..bfbf1d0ba2bb 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc
-@@ -54,7 +54,7 @@
+@@ -55,7 +55,7 @@
#include "net/ssl/client_cert_store_mac.h"
#endif // BUILDFLAG(IS_MAC)
@@ -9,7 +9,16 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
-@@ -177,7 +177,7 @@ class ClientCertStoreFactoryMac : public ClientCertSto
+@@ -130,7 +130,7 @@ class ClientCertStoreLoader {
+ active_requests_;
+ };
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ class ClientCertStoreFactoryNSS : public ClientCertStoreFactory {
+ public:
+ std::unique_ptr<net::ClientCertStore> CreateClientCertStore() override {
+@@ -155,7 +155,7 @@ class ClientCertStoreFactoryMac : public ClientCertSto
};
#endif
@@ -18,7 +27,7 @@
std::unique_ptr<ClientCertStoreLoader> CreatePlatformClientCertLoader(
Profile* profile) {
#if BUILDFLAG(IS_WIN)
-@@ -192,7 +192,7 @@ std::unique_ptr<ClientCertStoreLoader> CreatePlatformC
+@@ -170,7 +170,7 @@ std::unique_ptr<ClientCertStoreLoader> CreatePlatformC
}
#endif
@@ -27,7 +36,7 @@
// ClientCertStore implementation that always returns an empty list. The
// CertificateProvisioningService implementation expects to wrap a platform
// cert store, but here we only want to get results from the provisioning
-@@ -368,7 +368,7 @@ class ClientCertSource : public CertificateManagerPage
+@@ -345,7 +345,7 @@ class ClientCertSource : public CertificateManagerPage
std::optional<net::CertificateList> certs_;
};
@@ -36,8 +45,8 @@
// ChromeOS currently can use either Kcer or NSS for listing client certs, and
// Linux uses NSS only. This interface provides an abstraction to hide that
// from WritableClientCertSource. Currently this class only handles reading
-@@ -1099,7 +1099,7 @@ CreatePlatformClientCertSource(
- mojo::Remote<certificate_manager_v2::mojom::CertificateManagerPage>*
+@@ -1066,7 +1066,7 @@ CreatePlatformClientCertSource(
+ mojo::Remote<certificate_manager::mojom::CertificateManagerPage>*
remote_client,
Profile* profile) {
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
@@ -45,7 +54,7 @@
return std::make_unique<WritableClientCertSource>(remote_client, profile);
#else
return std::make_unique<ClientCertSource>(
-@@ -1107,7 +1107,7 @@ CreatePlatformClientCertSource(
+@@ -1074,7 +1074,7 @@ CreatePlatformClientCertSource(
#endif
}
@@ -54,7 +63,7 @@
std::unique_ptr<CertificateManagerPageHandler::CertSource>
CreateProvisionedClientCertSource(Profile* profile) {
return std::make_unique<ClientCertSource>(
-@@ -1156,7 +1156,7 @@ bool ClientCertManagementAccessControls::IsChangeAllow
+@@ -1124,7 +1124,7 @@ bool ClientCertManagementAccessControls::IsChangeAllow
return client_cert_policy_ == ClientCertificateManagementPermission::kAll;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc
index d603de3391eb..3d1d90dbd40a 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__configs.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/chrome_web_ui_configs.cc
-@@ -141,7 +141,7 @@
+@@ -153,7 +153,7 @@
#include "chrome/browser/ui/webui/conflicts/conflicts_ui.h"
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h"
#include "chrome/browser/ui/webui/browser_switch/browser_switch_ui.h"
#include "chrome/browser/ui/webui/signin/history_sync_optin/history_sync_optin_ui.h"
-@@ -149,19 +149,19 @@
+@@ -161,13 +161,13 @@
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -20,19 +20,12 @@
// BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h"
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
#include "chrome/browser/ui/webui/discards/discards_ui.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
-@@ -189,7 +189,7 @@
+@@ -195,7 +195,7 @@
#include "chrome/browser/ui/webui/signin/signin_error_ui.h"
#endif // !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID)
@@ -41,7 +34,7 @@
#include "chrome/browser/ui/webui/on_device_translation_internals/on_device_translation_internals_ui.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -331,7 +331,7 @@ void RegisterChromeWebUIConfigs() {
+@@ -348,7 +348,7 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<WebUIJsErrorUIConfig>());
#endif // BUILDFLAG(IS_ANDROID)
@@ -50,7 +43,7 @@
map.AddWebUIConfig(std::make_unique<LinuxProxyConfigUI>());
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
// BUILDFLAG(IS_OPENBSD)
-@@ -356,7 +356,7 @@ void RegisterChromeWebUIConfigs() {
+@@ -378,7 +378,7 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<ConflictsUIConfig>());
#endif // BUILDFLAG(IS_WIN)
@@ -59,7 +52,7 @@
map.AddWebUIConfig(std::make_unique<BrowserSwitchUIConfig>());
map.AddWebUIConfig(std::make_unique<HistorySyncOptinUIConfig>());
map.AddWebUIConfig(std::make_unique<OnDeviceTranslationInternalsUIConfig>());
-@@ -365,20 +365,20 @@ void RegisterChromeWebUIConfigs() {
+@@ -387,13 +387,13 @@ void RegisterChromeWebUIConfigs() {
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -70,14 +63,6 @@
// BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- map.AddWebUIConfig(
- std::make_unique<enterprise_connectors::ConnectorsInternalsUIConfig>());
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- // BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
map.AddWebUIConfig(std::make_unique<DiscardsUIConfig>());
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
index aa715bce6a3c..668f85f2d025 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
-@@ -118,16 +118,16 @@
+@@ -116,16 +116,16 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -20,7 +20,7 @@
#include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
#endif
-@@ -411,7 +411,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
+@@ -409,7 +409,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
return NewTabPageUI::GetFaviconResourceBytes(scale_factor);
}
@@ -29,7 +29,7 @@
if (page_url.host_piece() == chrome::kChromeUIWhatsNewHost) {
return WhatsNewUI::GetFaviconResourceBytes(scale_factor);
}
-@@ -450,7 +450,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
+@@ -448,7 +448,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory::
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc
index 9ffdf27fc7d3..aa8c7b913042 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_connectors__internals__page__handler.cc
@@ -1,20 +1,20 @@
---- chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/connectors_internals/connectors_internals_page_handler.cc
-@@ -81,7 +81,7 @@ connectors_internals::mojom::ClientIdentityPtr GetIden
- }
+@@ -85,7 +85,7 @@ connectors_internals::mojom::ClientIdentityPtr GetIden
#endif // BUILDFLAG(ENTERPRISE_CLIENT_CERTIFICATES)
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
std::string GetStringFromTimestamp(base::Time timestamp) {
return (timestamp == base::Time()) ? std::string()
: base::UnlocalizedTimeFormatWithPattern(
-@@ -190,7 +190,7 @@ void ConnectorsInternalsPageHandler::GetClientCertific
-
+@@ -202,7 +202,7 @@ void ConnectorsInternalsPageHandler::GetClientCertific
void ConnectorsInternalsPageHandler::GetSignalsReportingState(
GetSignalsReportingStateCallback callback) {
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
auto* profile_prefs = profile_->GetPrefs();
std::string last_upload_attempt_time_string =
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
index 3deb9ce1bf30..5777f784bd33 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2024-05-23 20:04:36 UTC
+--- chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc
@@ -7,7 +7,7 @@
#include "build/build_config.h"
@@ -9,7 +9,7 @@
#include "base/base64url.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
-@@ -38,7 +38,7 @@ namespace enterprise_connectors::utils {
+@@ -39,7 +39,7 @@ namespace enterprise_connectors::utils {
namespace {
@@ -18,7 +18,7 @@
connectors_internals::mojom::KeyTrustLevel ParseTrustLevel(
BPKUR::KeyTrustLevel trust_level) {
-@@ -173,7 +173,7 @@ connectors_internals::mojom::CertificateMetadataPtr Co
+@@ -176,7 +176,7 @@ connectors_internals::mojom::CertificateMetadataPtr Co
} // namespace
connectors_internals::mojom::KeyInfoPtr GetKeyInfo() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc
index 1887e891213d..e40955f935c2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_interstitials_interstitial__ui.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/interstitials/interstitial_ui.cc
-@@ -77,7 +77,7 @@
+@@ -75,7 +75,7 @@
#include "components/security_interstitials/content/captive_portal_blocking_page.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/supervised_user/supervised_user_verification_controller_client.h"
#include "chrome/browser/supervised_user/supervised_user_verification_page_blocked_sites.h"
#include "chrome/browser/supervised_user/supervised_user_verification_page_youtube.h"
-@@ -424,7 +424,7 @@ std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWa
+@@ -404,7 +404,7 @@ std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWa
}
#endif
@@ -18,7 +18,7 @@
std::unique_ptr<SupervisedUserVerificationPageForYouTube>
CreateSupervisedUserVerificationPageForYouTube(
content::WebContents* web_contents,
-@@ -651,7 +651,7 @@ void InterstitialHTMLSource::StartDataRequest(
+@@ -631,7 +631,7 @@ void InterstitialHTMLSource::StartDataRequest(
interstitial_delegate = CreateInsecureFormPage(web_contents);
} else if (path_without_query == "/https_only") {
interstitial_delegate = CreateHttpsOnlyModePage(web_contents);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc
index 588e163af429..6a16fb00d3d0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/management/management_ui.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/webui/management/management_ui.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/management/management_ui.cc
-@@ -181,11 +181,11 @@ void ManagementUI::GetLocalizedStrings(
+@@ -183,11 +183,11 @@ void ManagementUI::GetLocalizedStrings(
IDS_MANAGEMENT_FILE_TRANSFER_VISIBLE_DATA},
{kManagementReportFileEvents, IDS_MANAGEMENT_REPORT_FILE_EVENTS},
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc
index 4be0064e97aa..79ad743a62c2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/management/management_ui_handler.cc
-@@ -57,7 +57,7 @@
+@@ -67,7 +67,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/webui/web_ui_util.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/enterprise/signals/user_permission_service_factory.h"
#include "components/device_signals/core/browser/user_permission_service.h" // nogncheck
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -358,7 +358,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
+@@ -380,7 +380,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
report_sources->Append(std::move(data));
}
@@ -18,7 +18,7 @@
auto device_signal_data = GetDeviceSignalGrantedMessage();
if (!device_signal_data.empty()) {
report_sources->Append(std::move(device_signal_data));
-@@ -380,7 +380,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
+@@ -402,7 +402,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value
report_sources->Append(std::move(data));
}
@@ -27,7 +27,7 @@
auto device_signal_data = GetDeviceSignalGrantedMessage();
if (!device_signal_data.empty()) {
report_sources->Append(std::move(device_signal_data));
-@@ -566,7 +566,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS
+@@ -588,7 +588,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS
->policy_service();
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h
index 52fe429ffd79..038dc62e2b13 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_management_management__ui__handler.h
@@ -1,15 +1,15 @@
---- chrome/browser/ui/webui/management/management_ui_handler.h.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/ui/webui/management/management_ui_handler.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/management/management_ui_handler.h
-@@ -30,7 +30,7 @@ namespace policy {
- class PolicyService;
- } // namespace policy
+@@ -34,7 +34,7 @@ namespace enterprise_management {
+ class GetUserEligiblePromotionsResponse;
+ } // namespace enterprise_management
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
namespace device_signals {
class UserPermissionService;
} // namespace device_signals
-@@ -71,7 +71,7 @@ class ManagementUIHandler : public content::WebUIMessa
+@@ -91,7 +91,7 @@ class ManagementUIHandler : public content::WebUIMessa
base::Value::List GetManagedWebsitesInfo(Profile* profile) const;
base::Value::List GetApplicationsInfo(Profile* profile) const;
virtual policy::PolicyService* GetPolicyService();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc
index b35fe49343d1..aec128fbafca 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_searchbox_searchbox__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/searchbox/searchbox_handler.cc
-@@ -118,7 +118,7 @@ const char* kMacShareIconResourceName =
+@@ -128,7 +128,7 @@ const char* kMacShareIconResourceName =
#elif BUILDFLAG(IS_WIN)
const char* kWinShareIconResourceName =
"//resources/cr_components/searchbox/icons/win_share.svg";
@@ -9,7 +9,7 @@
const char* kLinuxShareIconResourceName =
"//resources/cr_components/searchbox/icons/share.svg";
#else
-@@ -178,7 +178,7 @@ static void DefineChromeRefreshRealboxIcons() {
+@@ -188,7 +188,7 @@ static void DefineChromeRefreshRealboxIcons() {
#elif BUILDFLAG(IS_WIN)
kWinShareIconResourceName =
"//resources/cr_components/searchbox/icons/win_share_cr23.svg";
@@ -18,7 +18,7 @@
kLinuxShareIconResourceName =
"//resources/cr_components/searchbox/icons/share_cr23.svg";
#else
-@@ -622,7 +622,7 @@ std::string SearchboxHandler::ActionVectorIconToResour
+@@ -656,7 +656,7 @@ std::string SearchboxHandler::ActionVectorIconToResour
icon.name == omnibox::kShareWinChromeRefreshIcon.name) {
return kWinShareIconResourceName;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
index 9e1e48981290..f4f9fa265a8a 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
-@@ -138,7 +138,7 @@
+@@ -136,7 +136,7 @@
#include "chrome/browser/ui/webui/settings/system_handler.h"
#endif
@@ -9,16 +9,16 @@
#include "ui/display/screen.h"
#endif
-@@ -157,7 +157,7 @@
- #include "chrome/browser/ui/webui/certificate_manager_localized_strings_provider.h"
- #endif
+@@ -152,7 +152,7 @@
+ #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/linux/linux_ui_factory.h"
#include "ui/ozone/public/ozone_platform.h"
#endif
-@@ -286,7 +286,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou
+@@ -277,7 +277,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou
{"toastAlertLevelDescription",
IDS_SETTINGS_ACCESSIBILITY_TOAST_FREQUENCY_DESCRIPTION},
#endif
@@ -27,7 +27,7 @@
{"overscrollHistoryNavigationTitle",
IDS_SETTINGS_OVERSCROLL_HISTORY_NAVIGATION_TITLE},
{"overscrollHistoryNavigationSubtitle",
-@@ -577,7 +577,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
+@@ -547,7 +547,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
{"uiFeatureAlignLeft", IDS_SETTINGS_UI_FEATURE_ALIGN_LEFT},
{"uiFeatureAlignRight", IDS_SETTINGS_UI_FEATURE_ALIGN_RIGHT},
{"resetToDefault", IDS_SETTINGS_RESET_TO_DEFAULT},
@@ -36,16 +36,21 @@
{"gtkTheme", IDS_SETTINGS_GTK_THEME},
{"useGtkTheme", IDS_SETTINGS_USE_GTK_THEME},
{"qtTheme", IDS_SETTINGS_QT_THEME},
-@@ -585,7 +585,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
+@@ -555,11 +555,11 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
{"classicTheme", IDS_SETTINGS_CLASSIC_THEME},
{"useClassicTheme", IDS_SETTINGS_USE_CLASSIC_THEME},
#endif
+-#if !BUILDFLAG(IS_LINUX)
++#if !BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME},
+ #endif
+ {"resetToolbarToDefault", IDS_SETTINGS_RESET_TOOLBAR_TO_DEFAULT},
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS},
#endif
#if BUILDFLAG(IS_MAC)
-@@ -607,7 +607,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
+@@ -581,7 +581,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht
html_source->AddBoolean("tabSearchIsRightAlignedAtStartup",
tabs::GetTabSearchTrailingTabstrip(profile));
@@ -54,7 +59,7 @@
bool show_custom_chrome_frame = ui::OzonePlatform::GetInstance()
->GetPlatformRuntimeProperties()
.supports_server_side_window_decorations;
-@@ -1504,7 +1504,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource*
+@@ -1565,7 +1565,7 @@ void AddSignOutDialogStrings(content::WebUIDataSource*
g_browser_process->GetApplicationLocale())
.spec();
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc
new file mode 100644
index 000000000000..f1690b78e190
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.cc.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.cc
+@@ -516,7 +516,7 @@ void CustomizeChromePageHandler::UpdateFooterSettings(
+ side_panel::mojom::ManagementNoticeState::New();
+ management_notice_state->can_be_shown = false;
+ management_notice_state->enabled_by_policy = false;
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ enterprise_util::BrowserManagementNoticeState state =
+ enterprise_util::GetManagementNoticeStateForNTPFooter(profile_);
+ switch (state) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h
new file mode 100644
index 000000000000..9bd8aef45688
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_side__panel_customize__chrome_customize__chrome__page__handler.h
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.h.orig 2025-09-10 13:22:16 UTC
++++ chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.h
+@@ -206,7 +206,7 @@ class CustomizeChromePageHandler
+ // value needs to be requeried by the page.
+ GURL last_source_url_{GURL(chrome::kChromeUINewTabPageURL)};
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ PrefChangeRegistrar browser_pref_change_registrar_;
+ #endif
+ PrefChangeRegistrar pref_change_registrar_;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc
index 22d4ed0b763f..63cb0418c083 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_signin_profile__picker__handler.cc
@@ -1,11 +1,11 @@
---- chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/signin/profile_picker_handler.cc
-@@ -165,7 +165,7 @@ base::Value::Dict CreateProfileEntry(const ProfileAttr
+@@ -168,7 +168,7 @@ base::Value::Dict CreateProfileEntry(const ProfileAttr
IDS_PROFILE_PICKER_PROFILE_CARD_LABEL, local_profile_name);
- if (AccountInfo::IsManaged(entry->GetHostedDomain())) {
+ if (entry->GetIsManaged() == signin::Tribool::kTrue) {
profile_entry.Set("avatarBadge", "cr:domain");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- } else if (base::FeatureList::IsEnabled(
- supervised_user::kShowKiteForSupervisedUsers) &&
- entry->IsSupervised()) {
+ } else if (entry->IsSupervised()) {
+ profileCardButtonLabel = l10n_util::GetStringFUTF16(
+ IDS_PROFILE_PICKER_PROFILE_CARD_LABEL_SUPERVISED, local_profile_name);
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc
index 0a5c57d0074b..239a3f3c6756 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc
-@@ -45,7 +45,7 @@
+@@ -49,7 +49,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/webui/resource_path.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "net/base/url_util.h"
-@@ -85,7 +85,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry(
+@@ -89,7 +89,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry(
}
whats_new::WhatsNewRegistry* GetWhatsNewRegistry() {
@@ -18,7 +18,7 @@
return g_browser_process->GetFeatures()->whats_new_registry();
#else
return nullptr;
-@@ -823,7 +823,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats
+@@ -912,7 +912,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats
}
void UserEducationInternalsPageHandlerImpl::LaunchWhatsNewStaging() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc
index 8f8d049476fc..a7eea6e2319c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_window__sizer_window__sizer.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/window_sizer/window_sizer.cc.orig 2025-02-20 09:59:21 UTC
+--- chrome/browser/ui/window_sizer/window_sizer.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/ui/window_sizer/window_sizer.cc
-@@ -220,7 +220,7 @@ void WindowSizer::GetBrowserWindowBoundsAndShowState(
+@@ -219,7 +219,7 @@ void WindowSizer::GetBrowserWindowBoundsAndShowState(
browser, window_bounds, show_state);
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc
index c0e1556a7613..08c4ef84a3af 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_commands_set__user__display__mode__command.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/commands/set_user_display_mode_command.cc.orig 2024-08-26 14:40:28 UTC
+--- chrome/browser/web_applications/commands/set_user_display_mode_command.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/web_applications/commands/set_user_display_mode_command.cc
-@@ -57,7 +57,7 @@ void SetUserDisplayModeCommand::StartWithLock(
+@@ -56,7 +56,7 @@ void SetUserDisplayModeCommand::StartWithLock(
// OsIntegrationTestOverride can use the xdg install command to detect
// install.
SynchronizeOsOptions options;
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc
index 702bd8f4effb..b91726df1ef0 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_extensions_extension__status__utils.cc
@@ -1,15 +1,6 @@
---- chrome/browser/web_applications/extensions/extension_status_utils.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/web_applications/extensions/extension_status_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/web_applications/extensions/extension_status_utils.cc
-@@ -26,7 +26,7 @@ namespace {
-
- const char* g_preinstalled_app_for_testing = nullptr;
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // TODO(b/268221237): Remove this allow-list.
- const char kDefaultAllowedExtensionIds[] =
- "alhngdkjgnedakdlnamimgfihgkmenbh,"
-@@ -105,7 +105,7 @@ bool IsExternalExtensionUninstalled(content::BrowserCo
+@@ -94,7 +94,7 @@ bool IsExternalExtensionUninstalled(content::BrowserCo
return prefs && prefs->IsExternalExtensionUninstalled(extension_id);
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc
index 1ce23a5d7079..415daa7f160c 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_os__integration__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/os_integration/os_integration_manager.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/web_applications/os_integration/os_integration_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/web_applications/os_integration/os_integration_manager.cc
-@@ -662,7 +662,7 @@ std::unique_ptr<ShortcutInfo> OsIntegrationManager::Bu
+@@ -663,7 +663,7 @@ std::unique_ptr<ShortcutInfo> OsIntegrationManager::Bu
}
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc
index 504976002256..21675c98e601 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_run__on__os__login__sub__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/os_integration/run_on_os_login_sub_manager.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/web_applications/os_integration/run_on_os_login_sub_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/web_applications/os_integration/run_on_os_login_sub_manager.cc
-@@ -54,7 +54,7 @@ proto::os_state::RunOnOsLogin::Mode ConvertWebAppRunOn
+@@ -55,7 +55,7 @@ proto::os_state::RunOnOsLogin::Mode ConvertWebAppRunOn
// different from other platforms, see web_app_run_on_os_login_manager.h for
// more info.
bool DoesRunOnOsLoginRequireExecution() {
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc
index 1506f9e39e26..a5cd61034d69 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_os__integration_shortcut__sub__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/os_integration/shortcut_sub_manager.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/browser/web_applications/os_integration/shortcut_sub_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/web_applications/os_integration/shortcut_sub_manager.cc
-@@ -199,7 +199,7 @@ void ShortcutSubManager::Execute(
+@@ -198,7 +198,7 @@ void ShortcutSubManager::Execute(
return;
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc
index 30047a32057d..06c399580063 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_web__applications_policy_web__app__policy__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/web_applications/policy/web_app_policy_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/web_applications/policy/web_app_policy_manager.cc
-@@ -108,7 +108,7 @@ namespace web_app {
+@@ -136,7 +136,7 @@ namespace web_app {
BASE_FEATURE(kDesktopPWAsForceUnregisterOSIntegration,
"DesktopPWAsForceUnregisterOSIntegration",
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc b/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc
index eb915ea0a7f6..483a0fc1b483 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_chrome__authenticator__request__delegate.cc
@@ -1,6 +1,6 @@
---- chrome/browser/webauthn/chrome_authenticator_request_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/webauthn/chrome_authenticator_request_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/webauthn/chrome_authenticator_request_delegate.cc
-@@ -574,7 +574,7 @@ void ChromeAuthenticatorRequestDelegate::ConfigureDisc
+@@ -549,7 +549,7 @@ void ChromeAuthenticatorRequestDelegate::ConfigureDisc
g_observer->ConfiguringCable(request_type);
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc b/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc
index 7706443af13e..fbc87287fba7 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_enclave__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/webauthn/enclave_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/browser/webauthn/enclave_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/webauthn/enclave_manager.cc
-@@ -686,7 +686,7 @@ base::flat_set<GaiaId> GetGaiaIDs(
+@@ -709,7 +709,7 @@ base::flat_set<GaiaId> GetGaiaIDs(
std::string UserVerifyingLabelToString(crypto::UserVerifyingKeyLabel label) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
return label;
#else
return std::string("placeholder");
-@@ -696,7 +696,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer
+@@ -719,7 +719,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer
std::optional<crypto::UserVerifyingKeyLabel> UserVerifyingKeyLabelFromString(
std::string saved_label) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_password__credential__controller.cc b/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_password__credential__controller.cc
index 9f86f648e356..374677c701a3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_password__credential__controller.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_webauthn_password__credential__controller.cc
@@ -1,8 +1,8 @@
---- chrome/browser/webauthn/password_credential_controller.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/browser/webauthn/password_credential_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/browser/webauthn/password_credential_controller.cc
@@ -46,7 +46,7 @@ password_manager::PasswordManagerClient* GetPasswordMa
- }
+ #if !BUILDFLAG(IS_ANDROID)
std::u16string GetAuthenticationMessage(std::string_view rp_id) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
index 10b9c4ff6d01..68ddd82e50a3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_features.cc.orig 2025-06-17 07:21:45 UTC
+--- chrome/common/chrome_features.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/chrome_features.cc
-@@ -81,7 +81,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims,
+@@ -80,7 +80,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims,
#endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// Enables or disables the Autofill survey triggered by opening a prompt to
// save address info.
BASE_FEATURE(kAutofillAddressSurvey,
-@@ -99,7 +99,7 @@ BASE_FEATURE(kAutofillPasswordSurvey,
+@@ -98,7 +98,7 @@ BASE_FEATURE(kAutofillPasswordSurvey,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
@@ -18,7 +18,7 @@
// Enables the Restart background mode optimization. When all Chrome UI is
// closed and it goes in the background, allows to restart the browser to
// discard memory.
-@@ -231,7 +231,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu,
+@@ -257,7 +257,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu,
BASE_FEATURE(kDesktopPWAsRunOnOsLogin,
"DesktopPWAsRunOnOsLogin",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,7 +27,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -264,7 +264,7 @@ BASE_FEATURE(kDisplayEdgeToEdgeFullscreen,
+@@ -304,7 +304,7 @@ BASE_FEATURE(kEnableFullscreenToAnyScreenAndroid,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
@@ -36,7 +36,7 @@
// Controls whether Chrome Apps are supported. See https://crbug.com/1221251.
// If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome
// Apps will not launch and will be marked in the UI as deprecated.
-@@ -1001,7 +1001,7 @@ BASE_FEATURE(kKAnonymityServiceStorage,
+@@ -1170,7 +1170,7 @@ BASE_FEATURE(kKAnonymityServiceStorage,
"KAnonymityServiceStorage",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -45,7 +45,7 @@
BASE_FEATURE(kLinuxLowMemoryMonitor,
"LinuxLowMemoryMonitor",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -1014,7 +1014,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
+@@ -1183,7 +1183,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
&kLinuxLowMemoryMonitor, "critical_level", 255};
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
index 074a8823b85f..0144fe83c39b 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_features.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/common/chrome_features.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/chrome_features.h
-@@ -50,13 +50,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims);
+@@ -49,13 +49,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims);
#endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -16,7 +16,7 @@
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kBackgroundModeAllowRestart);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -148,7 +148,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPreventClose);
+@@ -153,7 +153,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPreventClose);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kDesktopPWAsTabStripSettings);
@@ -25,7 +25,7 @@
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kShortcutsNotApps);
-@@ -581,7 +581,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests);
+@@ -697,7 +697,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kKAnonymityServiceStorage);
@@ -34,7 +34,7 @@
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor);
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorModerateLevel;
-@@ -589,7 +589,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
+@@ -705,7 +705,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorCriticalLevel;
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.cc b/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.cc
index 5514b73f57b9..b9ef9624ef1e 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_paths.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/common/chrome_paths.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/chrome_paths.cc
-@@ -32,7 +32,7 @@
+@@ -31,7 +31,7 @@
#include "base/apple/foundation_util.h"
#endif
@@ -9,7 +9,7 @@
#include "components/policy/core/common/policy_paths.h"
#endif
-@@ -48,14 +48,14 @@ namespace {
+@@ -47,14 +47,14 @@ namespace {
std::optional<bool> g_override_using_default_data_directory_for_testing;
@@ -27,7 +27,7 @@
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -212,7 +212,7 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -188,7 +188,7 @@ bool PathProvider(int key, base::FilePath* result) {
}
break;
case chrome::DIR_DEFAULT_DOWNLOADS_SAFE:
@@ -36,7 +36,7 @@
if (!GetUserDownloadsDirectorySafe(&cur)) {
return false;
}
-@@ -504,13 +504,13 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -436,13 +436,13 @@ bool PathProvider(int key, base::FilePath* result) {
break;
}
#endif
@@ -52,7 +52,7 @@
(BUILDFLAG(IS_LINUX) && BUILDFLAG(CHROMIUM_BRANDING))
case chrome::DIR_USER_EXTERNAL_EXTENSIONS: {
if (!base::PathService::Get(chrome::DIR_USER_DATA, &cur)) {
-@@ -520,7 +520,7 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -452,7 +452,7 @@ bool PathProvider(int key, base::FilePath* result) {
break;
}
#endif
@@ -61,16 +61,16 @@
case chrome::DIR_STANDALONE_EXTERNAL_EXTENSIONS: {
cur = base::FilePath(kFilepathSinglePrefExtensions);
break;
-@@ -558,7 +558,7 @@ bool PathProvider(int key, base::FilePath* result) {
- break;
+@@ -491,7 +491,7 @@ bool PathProvider(int key, base::FilePath* result) {
- #if BUILDFLAG(ENABLE_EXTENSIONS) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD))
+ #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \
+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_ANDROID))
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
case chrome::DIR_NATIVE_MESSAGING:
#if BUILDFLAG(IS_MAC)
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
-@@ -572,9 +572,12 @@ bool PathProvider(int key, base::FilePath* result) {
+@@ -505,9 +505,12 @@ bool PathProvider(int key, base::FilePath* result) {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
cur = base::FilePath(
FILE_PATH_LITERAL("/etc/opt/chrome/native-messaging-hosts"));
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.h b/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.h
index f7013dc2b79f..15a1a296c234 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__paths.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_paths.h.orig 2025-04-15 08:30:07 UTC
+--- chrome/common/chrome_paths.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/chrome_paths.h
-@@ -56,7 +56,7 @@ enum {
+@@ -58,7 +58,7 @@ enum {
// to set policies for chrome. This directory
// contains subdirectories.
#endif
@@ -9,7 +9,7 @@
(BUILDFLAG(IS_LINUX) && BUILDFLAG(CHROMIUM_BRANDING)) || BUILDFLAG(IS_MAC)
DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
// on Chrome Mac and Chromium Linux.
-@@ -65,7 +65,7 @@ enum {
+@@ -67,7 +67,7 @@ enum {
// create it.
#endif
@@ -19,11 +19,11 @@
// definition manifest files that
// describe extensions which are to be
@@ -112,7 +112,7 @@ enum {
-
#endif
- #if BUILDFLAG(ENABLE_EXTENSIONS) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD))
+ #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) && \
+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_ANDROID))
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
DIR_NATIVE_MESSAGING, // System directory where native messaging host
// manifest files are stored.
DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.cc b/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.cc
index 84eaca91dd9f..54f8aff96e84 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_switches.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/common/chrome_switches.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/chrome_switches.cc
-@@ -884,7 +884,7 @@ const char kAllowNaClSocketAPI[] = "allow-nacl-socket-
+@@ -908,7 +908,7 @@ const char kDebugPrint[] = "debug-print";
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -9,7 +9,7 @@
const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon";
// Causes the browser to launch directly in guest mode.
-@@ -913,7 +913,7 @@ const char kGlicDev[] = "glic-dev";
+@@ -937,7 +937,7 @@ const char kGlicDev[] = "glic-dev";
const char kGlicHostLogging[] = "glic-host-logging";
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.h b/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.h
index b4252967f47f..3c23d5694334 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__switches.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_switches.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/common/chrome_switches.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/chrome_switches.h
-@@ -273,7 +273,7 @@ extern const char kAllowNaClSocketAPI[];
+@@ -275,7 +275,7 @@ extern const char kDebugPrint[];
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -9,7 +9,7 @@
extern const char kEnableNewAppMenuIcon[];
extern const char kGuest[];
extern const char kForceNtpMobilePromo[];
-@@ -291,7 +291,7 @@ extern const char kGlicDev[];
+@@ -293,7 +293,7 @@ extern const char kGlicDev[];
extern const char kGlicHostLogging[];
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_crash__keys.cc b/www/ungoogled-chromium/files/patch-chrome_common_crash__keys.cc
index 69c3ef665408..afe0ddd835ca 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_crash__keys.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_crash__keys.cc
@@ -1,4 +1,4 @@
---- chrome/common/crash_keys.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/common/crash_keys.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/crash_keys.cc
@@ -51,7 +51,9 @@ class CrashKeyWithName {
~CrashKeyWithName() = delete;
@@ -10,7 +10,7 @@
void Clear() { crash_key_.Clear(); }
void Set(std::string_view value) { crash_key_.Set(value); }
-@@ -196,6 +198,7 @@ void AllocateCrashKeyInBrowserAndChildren(std::string_
+@@ -195,6 +197,7 @@ void AllocateCrashKeyInBrowserAndChildren(std::string_
GetCommandLineStringAnnotations().emplace_back(std::string(key)).Set(value);
}
@@ -18,7 +18,7 @@
void AppendStringAnnotationsCommandLineSwitch(base::CommandLine* command_line) {
std::string string_annotations;
for (const auto& crash_key : GetCommandLineStringAnnotations()) {
-@@ -210,6 +213,7 @@ void AppendStringAnnotationsCommandLineSwitch(base::Co
+@@ -209,6 +212,7 @@ void AppendStringAnnotationsCommandLineSwitch(base::Co
}
command_line->AppendSwitchASCII(kStringAnnotationsSwitch, string_annotations);
}
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_extensions_extension__constants.h b/www/ungoogled-chromium/files/patch-chrome_common_extensions_extension__constants.h
index 8e46a74a17c2..49538f75e841 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_extensions_extension__constants.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_extensions_extension__constants.h
@@ -1,6 +1,6 @@
---- chrome/common/extensions/extension_constants.h.orig 2025-04-15 08:30:07 UTC
+--- chrome/common/extensions/extension_constants.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/extensions/extension_constants.h
-@@ -310,7 +310,7 @@ inline constexpr char kReadingModeGDocsHelperExtension
+@@ -313,7 +313,7 @@ inline constexpr char kReadingModeGDocsHelperExtension
inline constexpr base::FilePath::CharType
kReadingModeGDocsHelperManifestFilename[] =
FILE_PATH_LITERAL("reading_mode_gdocs_helper_manifest.json");
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__host__file__path.cc b/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__host__file__path.cc
index 8d26d776b477..636b36d0f52e 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__host__file__path.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__host__file__path.cc
@@ -1,6 +1,6 @@
---- chrome/common/media/cdm_host_file_path.cc.orig 2025-01-25 09:34:31 UTC
+--- chrome/common/media/cdm_host_file_path.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/media/cdm_host_file_path.cc
-@@ -90,7 +90,7 @@ void AddCdmHostFilePaths(
+@@ -91,7 +91,7 @@ void AddCdmHostFilePaths(
cdm_host_file_paths->emplace_back(chrome_framework_path,
chrome_framework_sig_path);
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__registration.cc b/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__registration.cc
index 1256550f4c70..c6dd4983596f 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__registration.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_media_cdm__registration.cc
@@ -1,6 +1,6 @@
---- chrome/common/media/cdm_registration.cc.orig 2025-04-15 08:30:07 UTC
+--- chrome/common/media/cdm_registration.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/media/cdm_registration.cc
-@@ -32,7 +32,7 @@
+@@ -34,7 +34,7 @@
#if BUILDFLAG(ENABLE_WIDEVINE)
#include "components/cdm/common/cdm_manifest.h"
#include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
@@ -9,7 +9,7 @@
#include "base/native_library.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/media/component_widevine_cdm_hint_file_linux.h"
-@@ -51,7 +51,7 @@ using Robustness = content::CdmInfo::Robustness;
+@@ -59,7 +59,7 @@ using Robustness = content::CdmInfo::Robustness;
#if BUILDFLAG(ENABLE_WIDEVINE)
#if (BUILDFLAG(BUNDLE_WIDEVINE_CDM) || \
BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)) && \
@@ -18,7 +18,7 @@
// Create a CdmInfo for a Widevine CDM, using |version|, |cdm_library_path|, and
// |capability|.
std::unique_ptr<content::CdmInfo> CreateWidevineCdmInfo(
-@@ -93,7 +93,7 @@ std::unique_ptr<content::CdmInfo> CreateCdmInfoFromWid
+@@ -101,7 +101,7 @@ std::unique_ptr<content::CdmInfo> CreateCdmInfoFromWid
// BUILDFLAG(IS_CHROMEOS))
#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && \
@@ -27,7 +27,7 @@
// On Linux/ChromeOS we have to preload the CDM since it uses the zygote
// sandbox. On Windows and Mac, CDM registration is handled by Component
// Update (as the CDM can be loaded only when needed).
-@@ -117,7 +117,7 @@ std::unique_ptr<content::CdmInfo> GetBundledWidevine()
+@@ -125,7 +125,7 @@ std::unique_ptr<content::CdmInfo> GetBundledWidevine()
// (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
#if (BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && \
@@ -36,7 +36,7 @@
// This code checks to see if Component Updater picked a version of the Widevine
// CDM to be used last time it ran. (Component Updater may choose the bundled
// CDM if there is not a new version available for download.) If there is one
-@@ -159,7 +159,7 @@ void AddSoftwareSecureWidevine(std::vector<content::Cd
+@@ -167,7 +167,7 @@ void AddSoftwareSecureWidevine(std::vector<content::Cd
/*supports_sub_key_systems=*/false, kWidevineCdmDisplayName,
kWidevineCdmType, base::FilePath());
@@ -45,7 +45,7 @@
// The Widevine CDM on Linux/ChromeOS needs to be registered (and loaded)
// before the zygote is locked down. The CDM can be found from the version
// bundled with Chrome (if BUNDLE_WIDEVINE_CDM = true) and/or the version
-@@ -385,7 +385,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd
+@@ -434,7 +434,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd
}
#if BUILDFLAG(ENABLE_WIDEVINE) && \
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_pref__names.h b/www/ungoogled-chromium/files/patch-chrome_common_pref__names.h
index 0d3fbda5e3ba..1ec463d29060 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_pref__names.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_pref__names.h
@@ -1,15 +1,6 @@
---- chrome/common/pref_names.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/common/pref_names.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/pref_names.h
-@@ -451,7 +451,7 @@ inline constexpr char kPreinstalledAppsInstallState[]
- "default_apps_install_state";
-
- #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // A list of extensions ids that have to be allowed to run in Incognito by the
- // user in order to use Incognito mode.
- inline constexpr char kMandatoryExtensionsForIncognitoNavigation[] =
-@@ -1334,7 +1334,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem
+@@ -1333,7 +1333,7 @@ inline constexpr char kGeminiSettings[] = "browser.gem
inline constexpr char kAllowedDomainsForApps[] =
"settings.allowed_domains_for_apps";
@@ -18,7 +9,7 @@
// Linux specific preference on whether we should match the system theme.
inline constexpr char kSystemTheme[] = "extensions.theme.system_theme";
#endif
-@@ -1511,7 +1511,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] =
+@@ -1503,7 +1503,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] =
"browser.show_update_promotion_info_bar";
#endif
@@ -36,7 +27,7 @@
inline constexpr char kOpenPdfDownloadInSystemReader[] =
"download.open_pdf_in_system_reader";
#endif
-@@ -2651,14 +2651,14 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s
+@@ -2659,7 +2659,7 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s
inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data";
#endif // BUILDFLAG(IS_WIN)
@@ -45,15 +36,16 @@
// A boolean pref to determine whether or not the network service is running
// sandboxed.
inline constexpr char kNetworkServiceSandboxEnabled[] =
- "net.network_service_sandbox";
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+@@ -2673,7 +2673,7 @@ inline constexpr char kNetworkServiceSandboxEnabled[]
+ inline constexpr char kNetworkServiceFailedLaunchMajorVersion[] =
+ "net.network_service_failed_launch_major_version";
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Records whether the user has seen an HTTP auth "negotiate" header.
inline constexpr char kReceivedHttpAuthNegotiateHeader[] =
"net.received_http_auth_negotiate_headers";
-@@ -2750,7 +2750,7 @@ inline constexpr char kIsolatedWebAppInstallForceList[
+@@ -2765,7 +2765,7 @@ inline constexpr char kIsolatedWebAppInstallForceList[
inline constexpr char kIsolatedWebAppPendingInitializationCount[] =
"profile.isolated_web_app.install.pending_initialization_count";
@@ -62,7 +54,7 @@
// Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
// along with kAuthNegotiateDelegateAllowlist.
inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] =
-@@ -3269,7 +3269,7 @@ inline constexpr char kKioskChromeAppsForceAllowed[] =
+@@ -3288,7 +3288,7 @@ inline constexpr char kKioskApplicationLogCollectionEn
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -71,7 +63,7 @@
// Defines administrator-set availability of Chrome for Testing.
inline constexpr char kChromeForTestingAllowed[] = "chrome_for_testing.allowed";
#endif
-@@ -3795,7 +3795,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo
+@@ -3806,7 +3806,7 @@ inline constexpr char kScreenCaptureWithoutGestureAllo
inline constexpr char kSandboxExternalProtocolBlocked[] =
"profile.sandbox_external_protocol_blocked";
@@ -80,7 +72,7 @@
// Boolean that indicates if system notifications are allowed to be used in
// place of Chrome notifications.
inline constexpr char kAllowSystemNotifications[] =
-@@ -3991,7 +3991,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] =
+@@ -3997,7 +3997,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] =
"policy.lens_desktop_ntp_search_enabled";
#endif
@@ -89,7 +81,7 @@
// A dict mapping the edition name with the major version it was shown.
inline constexpr char kWhatsNewEditionUsed[] = "browser.whats_new.edition_used";
// A list containing the features of each module in order of when they
-@@ -4088,7 +4088,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ
+@@ -4094,7 +4094,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ
"printing.oauth2_authorization_servers";
#endif
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_url__constants.h b/www/ungoogled-chromium/files/patch-chrome_common_url__constants.h
index 6f0986d2a68d..69c4d2f9da1b 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_url__constants.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_url__constants.h
@@ -1,6 +1,6 @@
---- chrome/common/url_constants.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/common/url_constants.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/url_constants.h
-@@ -992,7 +992,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] =
+@@ -993,7 +993,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] =
inline constexpr char kPhoneHubPermissionLearnMoreURL[] =
"https://support.9oo91e.qjz9zk/chromebook?p=multidevice";
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.cc b/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.cc
index 1b7d234b86c3..ac5705a2bed6 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.cc
@@ -1,14 +1,9 @@
---- chrome/common/webui_url_constants.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/common/webui_url_constants.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/webui_url_constants.cc
-@@ -193,21 +193,21 @@ base::span<const base::cstring_view> ChromeURLHosts()
+@@ -194,17 +194,17 @@ base::span<const base::cstring_view> ChromeURLHosts()
kChromeUIAssistantOptInHost,
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- kChromeUIConnectorsInternalsHost,
- #endif
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
kChromeUIDiscardsHost,
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.h b/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.h
index 4511ac3534f7..7383cfa89940 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_webui__url__constants.h
@@ -1,16 +1,9 @@
---- chrome/common/webui_url_constants.h.orig 2025-05-31 17:16:41 UTC
+--- chrome/common/webui_url_constants.h.orig 2025-09-10 13:22:16 UTC
+++ chrome/common/webui_url_constants.h
-@@ -524,18 +524,18 @@ inline constexpr char kChromeUIOsUrlAppURL[] = "chrome
+@@ -557,12 +557,12 @@ inline constexpr char kChromeUIOsUrlAppURL[] = "chrome
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- inline constexpr char kChromeUIConnectorsInternalsHost[] =
- "connectors-internals";
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_DESKTOP_ANDROID) || BUILDFLAG(IS_BSD)
inline constexpr char kChromeUIDiscardsHost[] = "discards";
@@ -22,7 +15,7 @@
inline constexpr char kChromeUIWebAppSettingsHost[] = "app-settings";
inline constexpr char kChromeUIWebAppSettingsURL[] = "chrome://app-settings/";
inline constexpr char kChromeUIWhatsNewHost[] = "whats-new";
-@@ -547,11 +547,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[]
+@@ -574,11 +574,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[]
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -36,12 +29,12 @@
inline constexpr char kChromeUIBrowserSwitchHost[] = "browser-switch";
inline constexpr char kChromeUIBrowserSwitchURL[] = "chrome://browser-switch/";
inline constexpr char kChromeUIIntroDefaultBrowserSubPage[] = "default-browser";
-@@ -576,7 +576,7 @@ inline constexpr char kChromeUIHistorySyncOptinURL[] =
+@@ -603,7 +603,7 @@ inline constexpr char kChromeUIHistorySyncOptinURL[] =
"chrome://history-sync-optin/";
#endif
-#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
++#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
defined(TOOLKIT_VIEWS)) || \
defined(USE_AURA)
inline constexpr char kChromeUITabModalConfirmDialogHost[] =
diff --git a/www/ungoogled-chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc b/www/ungoogled-chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc
index 314e0c795959..27f5bd59c5b6 100644
--- a/www/ungoogled-chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_services_printing_print__backend__service__impl.cc
@@ -1,6 +1,6 @@
---- chrome/services/printing/print_backend_service_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/services/printing/print_backend_service_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/services/printing/print_backend_service_impl.cc
-@@ -49,7 +49,7 @@
+@@ -48,7 +48,7 @@
#include "printing/backend/cups_connection_pool.h"
#endif
@@ -9,7 +9,7 @@
#include "base/no_destructor.h"
#include "ui/linux/linux_ui.h"
#include "ui/linux/linux_ui_delegate_stub.h"
-@@ -76,7 +76,7 @@ namespace printing {
+@@ -75,7 +75,7 @@ namespace printing {
namespace {
@@ -18,7 +18,7 @@
void InstantiateLinuxUiDelegate() {
// TODO(crbug.com/40561724) Until a real UI can be used in a utility process,
// need to use the stub version.
-@@ -85,7 +85,7 @@ void InstantiateLinuxUiDelegate() {
+@@ -84,7 +84,7 @@ void InstantiateLinuxUiDelegate() {
#endif
scoped_refptr<base::SequencedTaskRunner> GetPrintingTaskRunner() {
@@ -27,7 +27,7 @@
// Use task runner associated with equivalent of UI thread. Needed for calls
// made through `PrintDialogLinuxInterface` to properly execute.
CHECK(base::SequencedTaskRunner::HasCurrentDefault());
-@@ -468,7 +468,7 @@ void PrintBackendServiceImpl::Init(
+@@ -467,7 +467,7 @@ void PrintBackendServiceImpl::Init(
// `InitCommon()`.
InitializeProcessForPrinting();
print_backend_ = PrintBackend::CreateInstance(locale);
@@ -36,7 +36,7 @@
// Test framework already initializes the UI, so this should not go in
// `InitCommon()`. Additionally, low-level Linux UI is not needed when tests
// are using `TestPrintingContext`.
-@@ -689,7 +689,7 @@ void PrintBackendServiceImpl::UpdatePrintSettings(
+@@ -676,7 +676,7 @@ void PrintBackendServiceImpl::UpdatePrintSettings(
crash_keys_ = std::make_unique<crash_keys::ScopedPrinterInfo>(
*printer_name, print_backend_->GetPrinterDriverInfo(*printer_name));
diff --git a/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_chrome__launcher.cc b/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_chrome__launcher.cc
index 0a914f8feef1..758015d2da3b 100644
--- a/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_chrome__launcher.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_chrome__launcher.cc
@@ -1,6 +1,6 @@
---- chrome/test/chromedriver/chrome_launcher.cc.orig 2023-12-23 12:33:28 UTC
+--- chrome/test/chromedriver/chrome_launcher.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/test/chromedriver/chrome_launcher.cc
-@@ -73,6 +73,7 @@
+@@ -75,6 +75,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc b/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc
index a301b1137c9b..f04107bbe9dc 100644
--- a/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_test_chromedriver_key__converter__unittest.cc
@@ -1,6 +1,6 @@
---- chrome/test/chromedriver/key_converter_unittest.cc.orig 2025-02-20 09:59:21 UTC
+--- chrome/test/chromedriver/key_converter_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/test/chromedriver/key_converter_unittest.cc
-@@ -252,7 +252,7 @@ TEST(KeyConverter, ToggleModifiers) {
+@@ -248,7 +248,7 @@ TEST(KeyConverter, ToggleModifiers) {
CheckEventsReleaseModifiers(keys, key_events);
}
@@ -9,7 +9,7 @@
// Fails on bots: crbug.com/174962
#define MAYBE_AllEnglishKeyboardSymbols DISABLED_AllEnglishKeyboardSymbols
#else
-@@ -310,7 +310,7 @@ TEST(KeyConverter, AllEnglishKeyboardTextChars) {
+@@ -306,7 +306,7 @@ TEST(KeyConverter, AllEnglishKeyboardTextChars) {
TEST(KeyConverter, AllSpecialWebDriverKeysOnEnglishKeyboard) {
ui::ScopedKeyboardLayout keyboard_layout(ui::KEYBOARD_LAYOUT_ENGLISH_US);
const auto kTextForKeys = std::to_array<char>({
diff --git a/www/ungoogled-chromium/files/patch-chrome_updater_app_app__uninstall.cc b/www/ungoogled-chromium/files/patch-chrome_updater_app_app__uninstall.cc
index 26d2d4cd43ea..c7b2c8eee8ef 100644
--- a/www/ungoogled-chromium/files/patch-chrome_updater_app_app__uninstall.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_updater_app_app__uninstall.cc
@@ -1,6 +1,6 @@
---- chrome/updater/app/app_uninstall.cc.orig 2025-05-31 17:16:41 UTC
+--- chrome/updater/app/app_uninstall.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/updater/app/app_uninstall.cc
-@@ -172,7 +172,7 @@ void UninstallInThreadPool(UpdaterScope scope,
+@@ -181,7 +181,7 @@ void UninstallInThreadPool(UpdaterScope scope,
}
if (int result = UninstallOtherVersions(scope);
result != kErrorOk) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_updater_configurator.cc b/www/ungoogled-chromium/files/patch-chrome_updater_configurator.cc
index 3102822e1a67..27b2355cdf0d 100644
--- a/www/ungoogled-chromium/files/patch-chrome_updater_configurator.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_updater_configurator.cc
@@ -1,6 +1,6 @@
---- chrome/updater/configurator.cc.orig 2025-03-09 21:38:10 UTC
+--- chrome/updater/configurator.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/updater/configurator.cc
-@@ -73,7 +73,7 @@ Configurator::Configurator(scoped_refptr<UpdaterPrefs>
+@@ -105,7 +105,7 @@ Configurator::Configurator(scoped_refptr<UpdaterPrefs>
return std::nullopt;
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
}()) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_utility_services.cc b/www/ungoogled-chromium/files/patch-chrome_utility_services.cc
index cc6d15cb6153..0f8aa5a60ae7 100644
--- a/www/ungoogled-chromium/files/patch-chrome_utility_services.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_utility_services.cc
@@ -1,6 +1,6 @@
---- chrome/utility/services.cc.orig 2025-05-06 12:23:00 UTC
+--- chrome/utility/services.cc.orig 2025-09-10 13:22:16 UTC
+++ chrome/utility/services.cc
-@@ -48,7 +48,7 @@
+@@ -50,7 +50,7 @@
#include "chrome/services/system_signals/mac/mac_system_signals_service.h"
#endif // BUILDFLAG(IS_MAC)
@@ -9,7 +9,7 @@
#include "chrome/services/system_signals/linux/linux_system_signals_service.h"
#endif // BUILDFLAG(IS_LINUX)
-@@ -203,7 +203,7 @@ auto RunMacNotificationService(
+@@ -213,7 +213,7 @@ auto RunMacNotificationService(
}
#endif // BUILDFLAG(IS_MAC)
@@ -18,7 +18,7 @@
auto RunSystemSignalsService(
mojo::PendingReceiver<device_signals::mojom::SystemSignalsService>
receiver) {
-@@ -470,7 +470,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
+@@ -481,7 +481,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
services.Add(RunWindowsIconReader);
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/ungoogled-chromium/files/patch-components_BUILD.gn b/www/ungoogled-chromium/files/patch-components_BUILD.gn
index c88bf6e2968b..b61e967a93a7 100644
--- a/www/ungoogled-chromium/files/patch-components_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-components_BUILD.gn
@@ -1,6 +1,6 @@
---- components/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- components/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ components/BUILD.gn
-@@ -210,7 +210,6 @@ test("components_unittests") {
+@@ -216,7 +216,6 @@ test("components_unittests") {
"//components/content_settings/core/browser:unit_tests",
"//components/content_settings/core/common:unit_tests",
"//components/country_codes:unit_tests",
@@ -8,21 +8,21 @@
"//components/cross_device/logging:unit_tests",
"//components/crx_file:unit_tests",
"//components/data_sharing:unit_tests",
-@@ -613,7 +612,7 @@ test("components_unittests") {
- deps += [ "//components/cast:unit_tests" ]
- }
+@@ -624,7 +623,7 @@ test("components_unittests") {
+ "//components/user_data_importer/content:unit_tests",
+ ]
- if (!is_fuchsia) { #!iOS and!Fuchsia
+ if (!is_fuchsia && !is_bsd) { #!iOS and!Fuchsia
deps += [
"//components/crash/content/browser:unit_tests",
"//components/crash/core/app:unit_tests",
-@@ -773,7 +772,7 @@ test("components_unittests") {
+@@ -783,7 +782,7 @@ test("components_unittests") {
deps += [ "//components/constrained_window:unit_tests" ]
}
- if (is_win || is_linux || is_chromeos || is_mac) {
+ if (is_win || (is_linux && !is_bsd) || is_chromeos || is_mac) {
- deps += [ "//components/stability_report:unit_tests" ]
- }
-
+ deps += [
+ "//components/stability_report:unit_tests",
+ "//components/webapps/isolated_web_apps:unit_tests",
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc
index 3aeba03e70ae..8e36322e89d2 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/data_manager/payments/payments_data_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/browser/data_manager/payments/payments_data_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/browser/data_manager/payments/payments_data_manager.cc
-@@ -466,7 +466,7 @@ void PaymentsDataManager::OnWebDataServiceRequestDone(
+@@ -471,7 +471,7 @@ void PaymentsDataManager::OnWebDataServiceRequestDone(
bool PaymentsDataManager::ShouldShowBnplSettings() const {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// Check `kAutofillEnableBuyNowPayLater` only if the user has seen a BNPL
// suggestion before, or there are already linked issuers present, to avoid
// unnecessary feature flag checks. The linked issuer check is due to the fact
-@@ -971,7 +971,7 @@ void PaymentsDataManager::SetPrefService(PrefService*
+@@ -1000,7 +1000,7 @@ void PaymentsDataManager::SetPrefService(PrefService*
&PaymentsDataManager::OnAutofillPaymentsCardBenefitsPrefChange,
base::Unretained(this)));
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -18,7 +18,7 @@
pref_registrar_.Add(
prefs::kAutofillBnplEnabled,
base::BindRepeating(&PaymentsDataManager::OnBnplEnabledPrefChange,
-@@ -1047,7 +1047,7 @@ void PaymentsDataManager::SetAutofillHasSeenIban() {
+@@ -1074,7 +1074,7 @@ void PaymentsDataManager::SetAutofillHasSeenIban() {
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,16 +27,16 @@
bool PaymentsDataManager::IsAutofillHasSeenBnplPrefEnabled() const {
return prefs::HasSeenBnpl(pref_service_);
}
-@@ -2029,7 +2029,7 @@ bool PaymentsDataManager::AreEwalletAccountsSupported(
+@@ -2084,7 +2084,7 @@ bool PaymentsDataManager::AreEwalletAccountsSupported(
bool PaymentsDataManager::AreBnplIssuersSupported() const {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- return app_locale_ == "en-US" && GetCountryCodeForExperimentGroup() == "US" &&
- base::FeatureList::IsEnabled(
- features::kAutofillEnableBuyNowPayLaterSyncing);
-@@ -2062,7 +2062,7 @@ void PaymentsDataManager::ClearAllCreditCardBenefits()
+ return (app_locale_ == "en-US" || app_locale_ == "en-GB" ||
+ app_locale_ == "en-CA") &&
+ GetCountryCodeForExperimentGroup() == "US" &&
+@@ -2119,7 +2119,7 @@ void PaymentsDataManager::ClearAllCreditCardBenefits()
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h
index 9b0bb3499d79..127af6ac768d 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_data__manager_payments_payments__data__manager.h
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/data_manager/payments/payments_data_manager.h.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/browser/data_manager/payments/payments_data_manager.h.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/browser/data_manager/payments/payments_data_manager.h
-@@ -360,7 +360,7 @@ class PaymentsDataManager : public AutofillWebDataServ
+@@ -370,7 +370,7 @@ class PaymentsDataManager : public AutofillWebDataServ
void SetAutofillHasSeenIban();
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// Returns the value of the kAutofillHasSeenBnpl pref.
bool IsAutofillHasSeenBnplPrefEnabled() const;
-@@ -680,7 +680,7 @@ class PaymentsDataManager : public AutofillWebDataServ
+@@ -699,7 +699,7 @@ class PaymentsDataManager : public AutofillWebDataServ
void ClearAllCreditCardBenefits();
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc
index de2f0c65701c..e10b9ebd4297 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_foundations_browser__autofill__manager.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/foundations/browser_autofill_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/browser/foundations/browser_autofill_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/browser/foundations/browser_autofill_manager.cc
-@@ -728,7 +728,7 @@ BrowserAutofillManager::GetCreditCardAccessManager() c
+@@ -779,7 +779,7 @@ BrowserAutofillManager::GetAmountExtractionManager() {
payments::BnplManager* BrowserAutofillManager::GetPaymentsBnplManager() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc
index db9e122e1a0d..8946dfcd8156 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_integrators_optimization__guide_autofill__optimization__guide.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/browser/integrators/optimization_guide/autofill_optimization_guide.cc
-@@ -232,7 +232,7 @@ void AutofillOptimizationGuide::OnDidParseForm(
+@@ -231,7 +231,7 @@ void AutofillOptimizationGuide::OnDidParseForm(
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc
index 23ad36aa3016..5c04dcac0200 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_amount__extraction__manager.cc
@@ -1,38 +1,29 @@
---- components/autofill/core/browser/payments/amount_extraction_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/browser/payments/amount_extraction_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/browser/payments/amount_extraction_manager.cc
-@@ -109,7 +109,7 @@ bool AmountExtractionManager::ShouldTriggerAmountExtra
+@@ -178,7 +178,7 @@ void AmountExtractionManager::OnCheckoutAmountReceived
+ bnpl_manager->OnAmountExtractionReturned(parsed_extracted_amount);
}
-
if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-- BUILDFLAG(IS_CHROMEOS)) {
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) {
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) {
if (base::FeatureList::IsEnabled(
- ::autofill::features::
- kAutofillEnableAmountExtractionDesktopLogging)) {
-@@ -123,7 +123,7 @@ bool AmountExtractionManager::ShouldTriggerAmountExtra
- }
-
- if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-- BUILDFLAG(IS_CHROMEOS)) {
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
- return base::FeatureList::IsEnabled(
- ::autofill::features::kAutofillEnableAmountExtractionDesktop);
- } else {
-@@ -190,7 +190,7 @@ void AmountExtractionManager::OnCheckoutAmountReceived
- bnpl_manager->OnAmountExtractionReturned(parsed_extracted_amount);
+ ::autofill::features::kAutofillEnableAmountExtractionTesting)) {
+ VLOG(3) << "The result of amount extraction on domain "
+@@ -206,7 +206,7 @@ void AmountExtractionManager::OnTimeoutReached() {
}
+ // TODO(crbug.com/378517983): Add BNPL flow action logic here.
if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
-- BUILDFLAG(IS_CHROMEOS)) {
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) {
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) {
if (base::FeatureList::IsEnabled(
- ::autofill::features::
- kAutofillEnableAmountExtractionDesktopLogging)) {
-@@ -214,7 +214,7 @@ void AmountExtractionManager::OnTimeoutReached() {
- autofill_metrics::AmountExtractionResult::kTimeout);
- // TODO(crbug.com/378517983): Add BNPL flow action logic here.
+ ::autofill::features::kAutofillEnableAmountExtractionTesting)) {
+ VLOG(3) << "The amount extraction on domain "
+@@ -225,7 +225,7 @@ AmountExtractionManager::CheckEligibilityForFeaturesRe
+ // Check eligibility of BNPL feature.
+ // Currently, BNPL is only offered for desktop platforms.
if constexpr (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
- BUILDFLAG(IS_CHROMEOS)) {
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) {
- if (base::FeatureList::IsEnabled(
- ::autofill::features::
- kAutofillEnableAmountExtractionDesktopLogging)) {
+ if (BnplManager* bnpl_manager = autofill_manager_->GetPaymentsBnplManager();
+ bnpl_manager && bnpl_manager->IsEligibleForBnpl()) {
+ eligible_features.insert(EligibleFeature::kBnpl);
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc
index ffedcfff6be8..70e6193220b2 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_payments_bnpl__manager.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/browser/payments/bnpl_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/browser/payments/bnpl_manager.cc
-@@ -466,7 +466,7 @@ void BnplManager::MaybeUpdateSuggestionsWithBnpl(
+@@ -497,7 +497,7 @@ void BnplManager::MaybeUpdateSuggestionsWithBnpl(
.OnBnplSuggestionShown();
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc
index 4dd99c4f25b7..f68c4f6c8aac 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_browser_webdata_payments_payments__sync__bridge__util.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/browser/webdata/payments/payments_sync_bridge_util.cc
-@@ -1226,7 +1226,7 @@ bool AreMaskedBankAccountSupported() {
+@@ -1262,7 +1262,7 @@ bool AreMaskedBankAccountSupported() {
bool IsBnplIssuerSupported() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc
index fa41f742fbfe..e2f9eae85369 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__payments__features.cc
@@ -1,7 +1,7 @@
---- components/autofill/core/common/autofill_payments_features.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/common/autofill_payments_features.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/common/autofill_payments_features.cc
-@@ -297,7 +297,7 @@ BASE_FEATURE(kAutofillSyncEwalletAccounts,
- #endif // BUILDFLAG(IS_ANDROID)
+@@ -345,7 +345,7 @@ BASE_FEATURE(kDisableAutofillStrikeSystem,
+ base::FEATURE_DISABLED_BY_DEFAULT);
bool ShouldShowImprovedUserConsentForCreditCardSave() {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.cc b/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.cc
index 7261e4fd8981..8df095057fa9 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.cc
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.cc
@@ -1,6 +1,6 @@
---- components/autofill/core/common/autofill_prefs.cc.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/common/autofill_prefs.cc.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/common/autofill_prefs.cc
-@@ -99,7 +99,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
+@@ -118,7 +118,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
registry->RegisterBooleanPref(
kAutofillBnplEnabled, true,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
-@@ -278,7 +278,7 @@ bool IsFacilitatedPaymentsEwalletEnabled(const PrefSer
+@@ -360,7 +360,7 @@ void SetFacilitatedPaymentsA2ATriggeredOnce(PrefServic
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -18,7 +18,7 @@
void SetAutofillBnplEnabled(PrefService* prefs, bool value) {
prefs->SetBoolean(kAutofillBnplEnabled, value);
}
-@@ -287,7 +287,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
+@@ -369,7 +369,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
bool IsAutofillBnplEnabled(const PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -27,7 +27,7 @@
return prefs->GetBoolean(kAutofillBnplEnabled);
#else
return false;
-@@ -296,7 +296,7 @@ bool IsAutofillBnplEnabled(const PrefService* prefs) {
+@@ -378,7 +378,7 @@ bool IsAutofillBnplEnabled(const PrefService* prefs) {
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.h b/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.h
index f26541037752..97ecaba11750 100644
--- a/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.h
+++ b/www/ungoogled-chromium/files/patch-components_autofill_core_common_autofill__prefs.h
@@ -1,4 +1,4 @@
---- components/autofill/core/common/autofill_prefs.h.orig 2025-05-31 17:16:41 UTC
+--- components/autofill/core/common/autofill_prefs.h.orig 2025-09-10 13:22:16 UTC
+++ components/autofill/core/common/autofill_prefs.h
@@ -32,7 +32,7 @@ inline constexpr std::string_view kAutofillAblationSee
inline constexpr char kAutofillAiOptInStatus[] =
@@ -9,8 +9,8 @@
// Boolean that is true if BNPL on Autofill is enabled.
inline constexpr char kAutofillBnplEnabled[] = "autofill.bnpl_enabled";
// Boolean that is true if the user has ever seen a BNPL suggestion.
-@@ -214,7 +214,7 @@ void SetFacilitatedPaymentsEwallet(PrefService* prefs,
- bool IsFacilitatedPaymentsEwalletEnabled(const PrefService* prefs);
+@@ -247,7 +247,7 @@ bool IsFacilitatedPaymentsA2AEnabled(const PrefService
+ void SetFacilitatedPaymentsA2ATriggeredOnce(PrefService* prefs, bool value);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
@@ -18,7 +18,7 @@
void SetAutofillBnplEnabled(PrefService* prefs, bool value);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -222,7 +222,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
+@@ -255,7 +255,7 @@ void SetAutofillBnplEnabled(PrefService* prefs, bool v
bool IsAutofillBnplEnabled(const PrefService* prefs);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_commerce_core_commerce__feature__list.cc b/www/ungoogled-chromium/files/patch-components_commerce_core_commerce__feature__list.cc
index 0937797e84e4..73edf3f89a7e 100644
--- a/www/ungoogled-chromium/files/patch-components_commerce_core_commerce__feature__list.cc
+++ b/www/ungoogled-chromium/files/patch-components_commerce_core_commerce__feature__list.cc
@@ -1,39 +1,20 @@
---- components/commerce/core/commerce_feature_list.cc.orig 2025-05-06 12:23:00 UTC
+--- components/commerce/core/commerce_feature_list.cc.orig 2025-09-10 13:22:16 UTC
+++ components/commerce/core/commerce_feature_list.cc
-@@ -156,7 +156,8 @@ BASE_FEATURE(kPriceInsights,
- "PriceInsights",
- base::FEATURE_DISABLED_BY_DEFAULT);
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID) || \
-+ BUILDFLAG(IS_BSD)
- BASE_FEATURE(kPriceInsightsRegionLaunched,
- "PriceInsightsRegionLaunched",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -227,7 +228,7 @@ BASE_FEATURE(kEnableDiscountInfoApi,
+@@ -209,7 +209,7 @@ BASE_FEATURE(kShoppingAlternateServer,
const char kDiscountOnShoppyPageParam[] = "discount-on-shoppy-page";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
const base::FeatureParam<bool> kDiscountOnShoppyPage{
&kEnableDiscountInfoApi, kDiscountOnShoppyPageParam, true};
#else
-@@ -236,7 +237,7 @@ const base::FeatureParam<bool> kDiscountOnShoppyPage{
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kEnableDiscountInfoApiRegionLaunched,
- "EnableDiscountInfoApiRegionLaunched",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -251,7 +252,7 @@ const char kMerchantWideBehaviorParam[] = "merchant-wi
+@@ -222,7 +222,7 @@ const char kMerchantWideBehaviorParam[] = "merchant-wi
const char kNonMerchantWideBehaviorParam[] = "non-merchant-wide-behavior";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kDiscountDialogAutoPopupBehaviorSetting,
"DiscountDialogAutoPopupBehaviorSetting",
base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_constrained__window_constrained__window__views.cc b/www/ungoogled-chromium/files/patch-components_constrained__window_constrained__window__views.cc
index 777951adf851..f718cc1bebb4 100644
--- a/www/ungoogled-chromium/files/patch-components_constrained__window_constrained__window__views.cc
+++ b/www/ungoogled-chromium/files/patch-components_constrained__window_constrained__window__views.cc
@@ -1,6 +1,6 @@
---- components/constrained_window/constrained_window_views.cc.orig 2025-05-31 17:16:41 UTC
+--- components/constrained_window/constrained_window_views.cc.orig 2025-09-10 13:22:16 UTC
+++ components/constrained_window/constrained_window_views.cc
-@@ -385,7 +385,7 @@ bool SupportsGlobalScreenCoordinates() {
+@@ -380,7 +380,7 @@ bool SupportsGlobalScreenCoordinates() {
}
bool PlatformClipsChildrenToViewport() {
diff --git a/www/ungoogled-chromium/files/patch-components_crash_core_app_BUILD.gn b/www/ungoogled-chromium/files/patch-components_crash_core_app_BUILD.gn
index 4020853e1566..c675f76c82b6 100644
--- a/www/ungoogled-chromium/files/patch-components_crash_core_app_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-components_crash_core_app_BUILD.gn
@@ -1,4 +1,4 @@
---- components/crash/core/app/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- components/crash/core/app/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ components/crash/core/app/BUILD.gn
@@ -70,6 +70,10 @@ static_library("app") {
]
@@ -29,7 +29,7 @@
deps += [
"//base:base_static",
"//components/crash/core/common",
-@@ -237,11 +241,6 @@ if (is_mac || is_android || is_linux || is_chromeos) {
+@@ -241,11 +245,6 @@ if (is_mac || is_android || is_linux || is_chromeos) {
# define custom UserStreamDataSources.
executable("chrome_crashpad_handler") {
sources = [ "chrome_crashpad_handler.cc" ]
diff --git a/www/ungoogled-chromium/files/patch-components_device__signals_core_browser_browser__utils.h b/www/ungoogled-chromium/files/patch-components_device__signals_core_browser_browser__utils.h
index 72d5ee8cb5e3..cea6447fbae0 100644
--- a/www/ungoogled-chromium/files/patch-components_device__signals_core_browser_browser__utils.h
+++ b/www/ungoogled-chromium/files/patch-components_device__signals_core_browser_browser__utils.h
@@ -1,15 +1,15 @@
---- components/device_signals/core/browser/browser_utils.h.orig 2025-05-31 17:16:41 UTC
+--- components/device_signals/core/browser/browser_utils.h.orig 2025-09-10 13:22:16 UTC
+++ components/device_signals/core/browser/browser_utils.h
-@@ -29,7 +29,7 @@ bool GetSiteIsolationEnabled();
- // Returns the hostname of the current machine.
+@@ -31,7 +31,7 @@ bool GetSiteIsolationEnabled();
std::string GetHostName();
+ #endif // !BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Returns the hostname of the current machine.
std::vector<std::string> GetSystemDnsServers();
-@@ -37,7 +37,7 @@ std::vector<std::string> GetSystemDnsServers();
+@@ -39,7 +39,7 @@ std::vector<std::string> GetSystemDnsServers();
SettingValue GetOSFirewall();
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc b/www/ungoogled-chromium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc
new file mode 100644
index 000000000000..94f9d42ab437
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_device__signals_core_browser_desktop_desktop__os__signals__collector.cc
@@ -0,0 +1,11 @@
+--- components/device_signals/core/browser/desktop/desktop_os_signals_collector.cc.orig 2025-09-10 13:22:16 UTC
++++ components/device_signals/core/browser/desktop/desktop_os_signals_collector.cc
+@@ -43,7 +43,7 @@ std::unique_ptr<OsSignalsResponse> AddAsyncOsSignals(
+ os_signals_response->disk_encryption = device_signals::GetDiskEncrypted();
+ os_signals_response->os_firewall = device_signals::GetOSFirewall();
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ os_signals_response->distribution_version =
+ device_signals::GetDistributionVersion();
+ #endif // BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc
index 3cb759466241..c05be729c0dc 100644
--- a/www/ungoogled-chromium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc
+++ b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_linux_platform__utils__linux.cc
@@ -1,4 +1,4 @@
---- components/device_signals/core/common/linux/platform_utils_linux.cc.orig 2025-05-31 17:16:41 UTC
+--- components/device_signals/core/common/linux/platform_utils_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ components/device_signals/core/common/linux/platform_utils_linux.cc
@@ -4,12 +4,23 @@
@@ -24,7 +24,7 @@
#include <algorithm>
#include <optional>
#include <string>
-@@ -98,6 +109,7 @@ SettingValue GetScreenlockSecured() {
+@@ -111,6 +122,7 @@ SettingValue GetScreenlockSecured() {
// Implements the logic from the native host installation script. First find the
// root device identifier, then locate its parent and get its type.
SettingValue GetDiskEncrypted() {
@@ -32,7 +32,7 @@
struct stat info;
// First figure out the device identifier. Fail fast if this fails.
if (stat("/", &info) != 0) {
-@@ -120,11 +132,35 @@ SettingValue GetDiskEncrypted() {
+@@ -133,11 +145,35 @@ SettingValue GetDiskEncrypted() {
}
return SettingValue::UNKNOWN;
}
@@ -40,7 +40,7 @@
return SettingValue::DISABLED;
}
- std::vector<std::string> GetMacAddresses() {
+ std::vector<std::string> internal::GetMacAddressesImpl() {
std::vector<std::string> result;
+#if BUILDFLAG(IS_BSD)
+ struct ifaddrs* ifa = nullptr;
@@ -68,7 +68,7 @@
base::DirReaderPosix reader("/sys/class/net");
if (!reader.IsValid()) {
return result;
-@@ -149,6 +185,7 @@ std::vector<std::string> GetMacAddresses() {
+@@ -162,6 +198,7 @@ std::vector<std::string> internal::GetMacAddressesImpl
&address);
result.push_back(address);
}
diff --git a/www/ungoogled-chromium/files/patch-components_device__signals_core_common_platform__utils.h b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_platform__utils.h
new file mode 100644
index 000000000000..c123a6b90f10
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_platform__utils.h
@@ -0,0 +1,11 @@
+--- components/device_signals/core/common/platform_utils.h.orig 2025-09-10 13:22:16 UTC
++++ components/device_signals/core/common/platform_utils.h
+@@ -57,7 +57,7 @@ SettingValue GetSecureBootEnabled();
+ std::optional<std::string> GetWindowsMachineDomain();
+ #endif // BUILDFLAG(IS_WIN)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Return the distribution VERSION_ID contained in
+ // /etc/os-release, if it exists.
+ std::optional<std::string> GetDistributionVersion();
diff --git a/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.cc b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.cc
index 18d6f7b0b785..89b15e761a65 100644
--- a/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.cc
+++ b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.cc
@@ -1,6 +1,6 @@
---- components/device_signals/core/common/signals_features.cc.orig 2025-05-31 17:16:41 UTC
+--- components/device_signals/core/common/signals_features.cc.orig 2025-09-10 13:22:16 UTC
+++ components/device_signals/core/common/signals_features.cc
-@@ -43,7 +43,7 @@ bool IsBrowserSignalsReportingEnabled() {
+@@ -55,7 +55,7 @@ bool IsDetectedAgentSignalCollectionEnabled() {
}
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
diff --git a/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.h b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.h
index a67e2b5cadbb..2939a687bb02 100644
--- a/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.h
+++ b/www/ungoogled-chromium/files/patch-components_device__signals_core_common_signals__features.h
@@ -1,7 +1,7 @@
---- components/device_signals/core/common/signals_features.h.orig 2025-05-31 17:16:41 UTC
+--- components/device_signals/core/common/signals_features.h.orig 2025-09-10 13:22:16 UTC
+++ components/device_signals/core/common/signals_features.h
-@@ -29,7 +29,7 @@ bool IsProfileSignalsReportingEnabled();
- bool IsBrowserSignalsReportingEnabled();
+@@ -33,7 +33,7 @@ bool IsBrowserSignalsReportingEnabled();
+ bool IsDetectedAgentSignalCollectionEnabled();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils.cc b/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils.cc
index 3bad002f3c2a..897f318d602c 100644
--- a/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils.cc
+++ b/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils.cc
@@ -1,6 +1,6 @@
---- components/embedder_support/user_agent_utils.cc.orig 2025-05-31 17:16:41 UTC
+--- components/embedder_support/user_agent_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ components/embedder_support/user_agent_utils.cc
-@@ -322,7 +322,7 @@ std::string GetUserAgentPlatform() {
+@@ -321,7 +321,7 @@ std::string GetUserAgentPlatform() {
return "";
#elif BUILDFLAG(IS_MAC)
return "Macintosh; ";
@@ -9,16 +9,34 @@
return "X11; "; // strange, but that's what Firefox uses
#elif BUILDFLAG(IS_ANDROID)
return "Linux; ";
-@@ -348,7 +348,7 @@ std::string GetUnifiedPlatform() {
+@@ -337,7 +337,7 @@ std::string GetUserAgentPlatform() {
+ }
+
+ std::string GetUnifiedPlatform() {
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // This constant is only used on Android (desktop) and Linux.
+ constexpr char kUnifiedPlatformLinuxX64[] = "X11; Linux x86_64";
+ #endif
+@@ -357,7 +357,7 @@ std::string GetUnifiedPlatform() {
return "Windows NT 10.0; Win64; x64";
#elif BUILDFLAG(IS_FUCHSIA)
return "Fuchsia";
-#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return "X11; Linux x86_64";
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return kUnifiedPlatformLinuxX64;
#elif BUILDFLAG(IS_IOS)
if (ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET) {
-@@ -605,6 +605,9 @@ std::string GetPlatformForUAMetadata() {
+@@ -619,7 +619,7 @@ bool GetMobileBitForUAMetadata() {
+ }
+
+ std::string GetPlatformVersion() {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // TODO(crbug.com/40245146): Remove this Blink feature
+ if (base::FeatureList::IsEnabled(
+ blink::features::kReduceUserAgentDataLinuxPlatformVersion)) {
+@@ -665,6 +665,9 @@ std::string GetPlatformForUAMetadata() {
#else
return "Chromium OS";
#endif
@@ -28,16 +46,7 @@
#else
return std::string(version_info::GetOSType());
#endif
-@@ -666,7 +669,7 @@ blink::UserAgentMetadata GetUserAgentMetadata(const Pr
- base::StringPrintf("%d.%d.%d", major, minor, bugfix);
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/40245146): Remove this Blink feature
- if (base::FeatureList::IsEnabled(
- blink::features::kReduceUserAgentDataLinuxPlatformVersion)) {
-@@ -827,6 +830,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons
+@@ -879,6 +882,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons
"Android %s", os_version.c_str()
#elif BUILDFLAG(IS_FUCHSIA)
"Fuchsia"
diff --git a/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc b/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc
index 3dd2232254e9..20294aae4dce 100644
--- a/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-components_embedder__support_user__agent__utils__unittest.cc
@@ -1,6 +1,6 @@
---- components/embedder_support/user_agent_utils_unittest.cc.orig 2025-05-31 17:16:41 UTC
+--- components/embedder_support/user_agent_utils_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ components/embedder_support/user_agent_utils_unittest.cc
-@@ -148,7 +148,7 @@ void CheckUserAgentStringOrdering(bool mobile_device)
+@@ -152,7 +152,7 @@ void CheckUserAgentStringOrdering(bool mobile_device)
ASSERT_EQ("CrOS", pieces[0]);
ASSERT_EQ("x86_64", pieces[1]);
ASSERT_EQ("14541.0.0", pieces[2]);
@@ -9,7 +9,7 @@
// Post-UA Reduction there is a single <unifiedPlatform> value for Linux:
// X11; Linux x86_64
ASSERT_EQ(2u, pieces.size());
-@@ -336,7 +336,7 @@ class UserAgentUtilsTest : public testing::Test,
+@@ -340,7 +340,7 @@ class UserAgentUtilsTest : public testing::Test,
"X11; CrOS x86_64 14541.0.0";
#elif BUILDFLAG(IS_FUCHSIA)
"Fuchsia";
@@ -18,7 +18,7 @@
"X11; Linux x86_64";
#elif BUILDFLAG(IS_MAC)
"Macintosh; Intel Mac OS X 10_15_7";
-@@ -716,7 +716,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) {
+@@ -720,7 +720,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMetadata) {
#endif
#elif BUILDFLAG(IS_ANDROID)
EXPECT_EQ(metadata.platform, "Android");
diff --git a/www/ungoogled-chromium/files/patch-components_enterprise_browser_reporting_report__util.cc b/www/ungoogled-chromium/files/patch-components_enterprise_browser_reporting_report__util.cc
new file mode 100644
index 000000000000..2ef48830fdb3
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_enterprise_browser_reporting_report__util.cc
@@ -0,0 +1,11 @@
+--- components/enterprise/browser/reporting/report_util.cc.orig 2025-09-10 13:22:16 UTC
++++ components/enterprise/browser/reporting/report_util.cc
+@@ -168,7 +168,7 @@ std::string GetSecuritySignalsInReport(
+ signals_dict.Set("antivirus_info", std::move(anti_virus_list));
+
+ signals_dict.Set("hotfixes", RepeatedFieldptrToList(os_report.hotfixes()));
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (os_report.has_distribution_version()) {
+ signals_dict.Set("distribution_version",
+ os_report.distribution_version());
diff --git a/www/ungoogled-chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc b/www/ungoogled-chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc
index 3addd9d49efd..5cee0ceb98c9 100644
--- a/www/ungoogled-chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc
+++ b/www/ungoogled-chromium/files/patch-components_enterprise_connectors_core_realtime__reporting__client__base.cc
@@ -1,7 +1,7 @@
---- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2025-05-31 17:16:41 UTC
+--- components/enterprise/connectors/core/realtime_reporting_client_base.cc.orig 2025-09-10 13:22:16 UTC
+++ components/enterprise/connectors/core/realtime_reporting_client_base.cc
@@ -191,7 +191,7 @@ void RealtimeReportingClientBase::ReportEvent(
- event.mutable_time()->set_nanos((timestamp_millis % 1000) * 1000000);
+ *event.mutable_time() = ToProtoTimestamp(base::Time::Now());
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.cc b/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.cc
new file mode 100644
index 000000000000..8d80b4775ca5
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.cc
@@ -0,0 +1,11 @@
+--- components/enterprise/data_controls/core/browser/features.cc.orig 2025-09-10 13:22:16 UTC
++++ components/enterprise/data_controls/core/browser/features.cc
+@@ -13,7 +13,7 @@ BASE_FEATURE(kEnableClipboardDataControlsAndroid,
+ #endif
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kEnableDownloadDataControlsDesktop,
+ "EnableDownloadDataControlsDesktop",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.h b/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.h
new file mode 100644
index 000000000000..a5e69474dd1b
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_features.h
@@ -0,0 +1,11 @@
+--- components/enterprise/data_controls/core/browser/features.h.orig 2025-09-10 13:22:16 UTC
++++ components/enterprise/data_controls/core/browser/features.h
+@@ -16,7 +16,7 @@ BASE_DECLARE_FEATURE(kEnableClipboardDataControlsAndro
+ #endif
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Controls enabling Data Controls rules for downloads on desktop
+ BASE_DECLARE_FEATURE(kEnableDownloadDataControlsDesktop);
+ #endif
diff --git a/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc b/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc
new file mode 100644
index 000000000000..34b453e9c8ee
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_enterprise_data__controls_core_browser_rule.cc
@@ -0,0 +1,29 @@
+--- components/enterprise/data_controls/core/browser/rule.cc.orig 2025-09-10 13:22:16 UTC
++++ components/enterprise/data_controls/core/browser/rule.cc
+@@ -105,7 +105,7 @@ policy::PolicyErrorPath CreateErrorPath(
+ // a type of restriction should be applied or not, check it here.
+ bool IgnoreRestriction(Rule::Restriction restriction) {
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (restriction == Rule::Restriction::kFileDownload) {
+ return !base::FeatureList::IsEnabled(kEnableDownloadDataControlsDesktop);
+ }
+@@ -538,7 +538,7 @@ bool Rule::AddUnsupportedAttributeErrors(
+ },
+ },
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {
+ Restriction::kFileDownload,
+ {
+@@ -617,7 +617,7 @@ bool Rule::AddUnsupportedRestrictionErrors(
+ },
+ #endif // BUILDFLAG(ENTERPRISE_SCREENSHOT_PROTECTION)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ {
+ Restriction::kFileDownload,
+ {
diff --git a/www/ungoogled-chromium/files/patch-components_enterprise_watermarking_watermark.cc b/www/ungoogled-chromium/files/patch-components_enterprise_watermarking_watermark.cc
index 8ea37f970d2f..29869e9dcbd3 100644
--- a/www/ungoogled-chromium/files/patch-components_enterprise_watermarking_watermark.cc
+++ b/www/ungoogled-chromium/files/patch-components_enterprise_watermarking_watermark.cc
@@ -1,6 +1,6 @@
---- components/enterprise/watermarking/watermark.cc.orig 2025-02-20 09:59:21 UTC
+--- components/enterprise/watermarking/watermark.cc.orig 2025-09-10 13:22:16 UTC
+++ components/enterprise/watermarking/watermark.cc
-@@ -31,7 +31,7 @@ gfx::Font WatermarkFont() {
+@@ -29,7 +29,7 @@ gfx::Font WatermarkFont(int font_size) {
"Segoe UI",
#elif BUILDFLAG(IS_MAC)
"SF Pro Text",
@@ -9,7 +9,7 @@
"Ubuntu",
#elif BUILDFLAG(IS_CHROMEOS)
"Google Sans",
-@@ -47,7 +47,7 @@ const gfx::FontList& WatermarkFontList() {
+@@ -40,7 +40,7 @@ gfx::Font WatermarkFont(int font_size) {
}
gfx::Font::Weight WatermarkFontWeight() {
diff --git a/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view.cc b/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view.cc
index d81bd659aa84..e40dc687fdc0 100644
--- a/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view.cc
+++ b/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view.cc
@@ -1,6 +1,6 @@
---- components/eye_dropper/eye_dropper_view.cc.orig 2025-05-31 17:16:41 UTC
+--- components/eye_dropper/eye_dropper_view.cc.orig 2025-09-10 13:22:16 UTC
+++ components/eye_dropper/eye_dropper_view.cc
-@@ -206,7 +206,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent,
+@@ -215,7 +215,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent,
// EyeDropper/WidgetDelegate.
set_owned_by_client(OwnedByClientPassKey());
SetPreferredSize(GetSize());
diff --git a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__configurations.cc b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__configurations.cc
index b253bc60e0cc..1848a9a49d2d 100644
--- a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__configurations.cc
+++ b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__configurations.cc
@@ -1,4 +1,4 @@
---- components/feature_engagement/public/feature_configurations.cc.orig 2025-05-31 17:16:41 UTC
+--- components/feature_engagement/public/feature_configurations.cc.orig 2025-09-10 13:22:16 UTC
+++ components/feature_engagement/public/feature_configurations.cc
@@ -100,7 +100,7 @@ std::optional<FeatureConfig> CreateNewUserGestureInPro
@@ -18,7 +18,7 @@
if (kIPHPasswordsManagementBubbleAfterSaveFeature.name == feature->name) {
FeatureConfig config;
config.valid = true;
-@@ -1851,7 +1851,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi
+@@ -1956,7 +1956,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.cc b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.cc
index cdf52c249530..38f547c47a9f 100644
--- a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.cc
+++ b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.cc
@@ -1,7 +1,7 @@
---- components/feature_engagement/public/feature_constants.cc.orig 2025-05-31 17:16:41 UTC
+--- components/feature_engagement/public/feature_constants.cc.orig 2025-09-10 13:22:16 UTC
+++ components/feature_engagement/public/feature_constants.cc
-@@ -19,7 +19,7 @@ BASE_FEATURE(kIPHDemoMode, "IPH_DemoMode", base::FEATU
- BASE_FEATURE(kIPHDummyFeature, "IPH_Dummy", base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -34,7 +34,7 @@ bool IsOnDeviceStorageEnabled() {
+ }
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
BASE_FEATURE(kEsbDownloadRowPromoFeature,
"EsbDownloadRowPromo",
-@@ -759,7 +759,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment,
+@@ -829,7 +829,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment,
#endif // BUILDFLAG(IS_IOS)
@@ -18,7 +18,7 @@
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
BASE_FEATURE(kIPHAutofillBnplAffirmOrZipSuggestionFeature,
"IPH_AutofillBnplAffirmOrZipSuggestion",
-@@ -909,7 +909,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature,
+@@ -985,7 +985,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
diff --git a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.h b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.h
index b6b8f07ffcd9..83c101d43273 100644
--- a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.h
+++ b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__constants.h
@@ -1,6 +1,6 @@
---- components/feature_engagement/public/feature_constants.h.orig 2025-05-31 17:16:41 UTC
+--- components/feature_engagement/public/feature_constants.h.orig 2025-09-10 13:22:16 UTC
+++ components/feature_engagement/public/feature_constants.h
-@@ -27,7 +27,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDemoMode);
+@@ -31,7 +31,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDemoMode);
FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDummyFeature);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
FEATURE_CONSTANTS_DECLARE_FEATURE(kEsbDownloadRowPromoFeature);
#endif
-@@ -336,7 +336,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefaultBrowserTrigg
+@@ -371,7 +371,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefaultBrowserTrigg
#endif // BUILDFLAG(IS_IOS)
@@ -18,7 +18,7 @@
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHAutofillBnplAffirmOrZipSuggestionFeature);
FEATURE_CONSTANTS_DECLARE_FEATURE(
-@@ -397,7 +397,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphHelpA
+@@ -435,7 +435,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphHelpA
FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphGamingFeature);
#endif
diff --git a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.cc b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.cc
index ff393bc05983..870b9b5076aa 100644
--- a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.cc
+++ b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.cc
@@ -1,7 +1,7 @@
---- components/feature_engagement/public/feature_list.cc.orig 2025-05-31 17:16:41 UTC
+--- components/feature_engagement/public/feature_list.cc.orig 2025-09-10 13:22:16 UTC
+++ components/feature_engagement/public/feature_list.cc
-@@ -186,7 +186,7 @@ const base::Feature* const kAllFeatures[] = {
- &kIPHiOSWelcomeBackFeature,
+@@ -198,7 +198,7 @@ const base::Feature* const kAllFeatures[] = {
+ &kIPHiOSHomepageCustomizationNewBadge,
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
&kEsbDownloadRowPromoFeature,
#endif
-@@ -261,7 +261,7 @@ const base::Feature* const kAllFeatures[] = {
+@@ -271,7 +271,7 @@ const base::Feature* const kAllFeatures[] = {
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -18,7 +18,7 @@
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
&kIPHAutofillAiOptInFeature,
&kIPHAutofillBnplAffirmOrZipSuggestionFeature,
-@@ -316,7 +316,7 @@ const base::Feature* const kAllFeatures[] = {
+@@ -328,7 +328,7 @@ const base::Feature* const kAllFeatures[] = {
&kIPHScalableIphGamingFeature,
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.h b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.h
index 75c40182c784..1ab0b0008454 100644
--- a/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.h
+++ b/www/ungoogled-chromium/files/patch-components_feature__engagement_public_feature__list.h
@@ -1,6 +1,6 @@
---- components/feature_engagement/public/feature_list.h.orig 2025-05-31 17:16:41 UTC
+--- components/feature_engagement/public/feature_list.h.orig 2025-09-10 13:22:16 UTC
+++ components/feature_engagement/public/feature_list.h
-@@ -332,7 +332,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSWelcomeBackFeature, "IPH
+@@ -353,7 +353,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSHomepageCustomizationNew
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
DEFINE_VARIATION_PARAM(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo");
#endif
-@@ -453,7 +453,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF
+@@ -471,7 +471,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSharedTabFeedbackF
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -19,7 +19,7 @@
DEFINE_VARIATION_PARAM(kIPHAutofillAiOptInFeature, "IPH_AutofillAiOptIn");
DEFINE_VARIATION_PARAM(kIPHAutofillBnplAffirmOrZipSuggestionFeature,
"IPH_AutofillBnplAffirmOrZipSuggestion");
-@@ -549,7 +550,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHelpAppBasedTenF
+@@ -571,7 +572,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHelpAppBasedTenF
DEFINE_VARIATION_PARAM(kIPHScalableIphGamingFeature, "IPH_ScalableIphGaming");
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -28,16 +28,16 @@
DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunch,
"IPH_DesktopPWAsLinkCapturingLaunch");
DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunchAppInTab,
-@@ -735,7 +736,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
- VARIATION_ENTRY(kIPHiOSDownloadAutoDeletionFeature),
- VARIATION_ENTRY(kIPHiOSWelcomeBackFeature),
+@@ -765,7 +766,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
+ VARIATION_ENTRY(kIPHiOSSafariImportFeature),
+ VARIATION_ENTRY(kIPHIOSPageActionMenu),
#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- VARIATION_ENTRY(kIPHAutofillEnableLoyaltyCardsFeature),
VARIATION_ENTRY(kIPHBatterySaverModeFeature),
VARIATION_ENTRY(kIPHCompanionSidePanelFeature),
-@@ -798,7 +799,8 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
+ VARIATION_ENTRY(kIPHCompanionSidePanelRegionSearchFeature),
+@@ -825,7 +826,8 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -47,7 +47,7 @@
VARIATION_ENTRY(kIPHAutofillAiOptInFeature),
VARIATION_ENTRY(kIPHAutofillCreditCardBenefitFeature),
VARIATION_ENTRY(kIPHAutofillCardInfoRetrievalSuggestionFeature),
-@@ -851,7 +853,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
+@@ -879,7 +881,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat
VARIATION_ENTRY(kIPHScalableIphGamingFeature),
#endif // BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc b/www/ungoogled-chromium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc
index 13a93fb938bc..bf1a13733217 100644
--- a/www/ungoogled-chromium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-components_feed_core_v2_feed__network__impl__unittest.cc
@@ -1,6 +1,6 @@
---- components/feed/core/v2/feed_network_impl_unittest.cc.orig 2024-10-01 07:26:23 UTC
+--- components/feed/core/v2/feed_network_impl_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ components/feed/core/v2/feed_network_impl_unittest.cc
-@@ -747,8 +747,8 @@ TEST_F(FeedNetworkTest, SendApiRequest_DecodesClientIn
+@@ -746,8 +746,8 @@ TEST_F(FeedNetworkTest, SendApiRequest_DecodesClientIn
EXPECT_EQ(feedwire::ClientInfo::CHROME_ANDROID, client_info.app_type());
EXPECT_EQ(feedwire::Version::RELEASE, client_info.app_version().build_type());
diff --git a/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util.cc b/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util.cc
index 7cade5d1fd2e..f468154a5180 100644
--- a/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util.cc
+++ b/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util.cc
@@ -1,6 +1,6 @@
---- components/feed/core/v2/proto_util.cc.orig 2023-07-21 09:49:17 UTC
+--- components/feed/core/v2/proto_util.cc.orig 2025-09-10 13:22:16 UTC
+++ components/feed/core/v2/proto_util.cc
-@@ -93,8 +93,8 @@ feedwire::Version GetPlatformVersionMessage() {
+@@ -92,8 +92,8 @@ feedwire::Version GetPlatformVersionMessage() {
int32_t major, minor, revision;
base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &revision);
@@ -11,7 +11,7 @@
result.set_revision(revision);
#if BUILDFLAG(IS_ANDROID)
result.set_api_version(base::android::BuildInfo::GetInstance()->sdk_int());
-@@ -109,8 +109,8 @@ feedwire::Version GetAppVersionMessage(const ChromeInf
+@@ -108,8 +108,8 @@ feedwire::Version GetAppVersionMessage(const ChromeInf
// Chrome's version is in the format: MAJOR,MINOR,BUILD,PATCH.
const std::vector<uint32_t>& numbers = chrome_info.version.components();
if (numbers.size() > 3) {
diff --git a/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util__unittest.cc b/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util__unittest.cc
index 29fb009ffd31..600d4dc6f5c5 100644
--- a/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-components_feed_core_v2_proto__util__unittest.cc
@@ -1,6 +1,6 @@
---- components/feed/core/v2/proto_util_unittest.cc.orig 2024-08-26 14:40:28 UTC
+--- components/feed/core/v2/proto_util_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ components/feed/core/v2/proto_util_unittest.cc
-@@ -43,8 +43,8 @@ TEST(ProtoUtilTest, CreateClientInfo) {
+@@ -42,8 +42,8 @@ TEST(ProtoUtilTest, CreateClientInfo) {
feedwire::ClientInfo result = CreateClientInfo(request_metadata);
EXPECT_EQ(feedwire::ClientInfo::CHROME_ANDROID, result.app_type());
EXPECT_EQ(feedwire::Version::RELEASE, result.app_version().build_type());
diff --git a/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan.cc b/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan.cc
index 2f99e0f47c9d..4d9eeafa5390 100644
--- a/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan.cc
+++ b/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan.cc
@@ -1,6 +1,6 @@
---- components/gwp_asan/client/gwp_asan.cc.orig 2025-05-06 12:23:00 UTC
+--- components/gwp_asan/client/gwp_asan.cc.orig 2025-09-10 13:22:16 UTC
+++ components/gwp_asan/client/gwp_asan.cc
-@@ -76,7 +76,7 @@ namespace {
+@@ -81,7 +81,7 @@ namespace {
// ProcessSamplingBoost is the multiplier to increase the
// ProcessSamplingProbability in scenarios where we want to perform additional
// testing (e.g., on canary/dev builds).
diff --git a/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan__features.cc b/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan__features.cc
index 4d6141f7f61b..a1e3853f6c26 100644
--- a/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan__features.cc
+++ b/www/ungoogled-chromium/files/patch-components_gwp__asan_client_gwp__asan__features.cc
@@ -1,4 +1,4 @@
---- components/gwp_asan/client/gwp_asan_features.cc.orig 2024-02-03 15:42:55 UTC
+--- components/gwp_asan/client/gwp_asan_features.cc.orig 2025-09-10 13:22:16 UTC
+++ components/gwp_asan/client/gwp_asan_features.cc
@@ -9,7 +9,7 @@
namespace gwp_asan::internal {
@@ -9,3 +9,12 @@
(BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS))
constexpr base::FeatureState kDefaultEnabled = base::FEATURE_ENABLED_BY_DEFAULT;
#else
+@@ -72,7 +72,7 @@ GWP_ASAN_EXPORT extern const base::FeatureParam<int>
+ kGwpAsanMallocGpuAllocationSamplingRange{&kGwpAsanMalloc,
+ "GpuAllocationSamplingRange", 16};
+
+-#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+
+ // Browser reservation params.
+ GWP_ASAN_EXPORT extern const base::FeatureParam<int>
diff --git a/www/ungoogled-chromium/files/patch-components_media__router_common_media__source.cc b/www/ungoogled-chromium/files/patch-components_media__router_common_media__source.cc
index 1a3700223500..bd680a6e754a 100644
--- a/www/ungoogled-chromium/files/patch-components_media__router_common_media__source.cc
+++ b/www/ungoogled-chromium/files/patch-components_media__router_common_media__source.cc
@@ -1,11 +1,11 @@
---- components/media_router/common/media_source.cc.orig 2025-05-31 17:16:41 UTC
+--- components/media_router/common/media_source.cc.orig 2025-09-10 13:22:16 UTC
+++ components/media_router/common/media_source.cc
-@@ -58,7 +58,7 @@ bool IsSystemAudioCaptureSupported() {
- if (!media::IsSystemLoopbackCaptureSupported()) {
- return false;
- }
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+@@ -62,7 +62,7 @@ bool IsSystemAudioCaptureSupported() {
+ #if BUILDFLAG(IS_MAC)
+ return media::IsMacSckSystemLoopbackCaptureSupported() ||
+ base::FeatureList::IsEnabled(media::kMacCatapLoopbackAudioForCast);
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return base::FeatureList::IsEnabled(media::kPulseaudioLoopbackForCast);
#else
return true;
diff --git a/www/ungoogled-chromium/files/patch-components_metrics_dwa_dwa__service.cc b/www/ungoogled-chromium/files/patch-components_metrics_dwa_dwa__service.cc
index 04a8a5f8cf8d..44f5d09fc9a5 100644
--- a/www/ungoogled-chromium/files/patch-components_metrics_dwa_dwa__service.cc
+++ b/www/ungoogled-chromium/files/patch-components_metrics_dwa_dwa__service.cc
@@ -1,6 +1,6 @@
---- components/metrics/dwa/dwa_service.cc.orig 2025-04-15 08:30:07 UTC
+--- components/metrics/dwa/dwa_service.cc.orig 2025-09-10 13:22:16 UTC
+++ components/metrics/dwa/dwa_service.cc
-@@ -162,7 +162,7 @@ void DwaService::RecordCoarseSystemInformation(
+@@ -187,7 +187,7 @@ void DwaService::RecordCoarseSystemInformation(
coarse_system_info->set_platform(::dwa::CoarseSystemInfo::PLATFORM_WINDOWS);
#elif BUILDFLAG(IS_MAC)
coarse_system_info->set_platform(::dwa::CoarseSystemInfo::PLATFORM_MACOS);
diff --git a/www/ungoogled-chromium/files/patch-components_metrics_metrics__log.cc b/www/ungoogled-chromium/files/patch-components_metrics_metrics__log.cc
index a80e7d59fb38..36fc3d7b99f3 100644
--- a/www/ungoogled-chromium/files/patch-components_metrics_metrics__log.cc
+++ b/www/ungoogled-chromium/files/patch-components_metrics_metrics__log.cc
@@ -1,6 +1,6 @@
---- components/metrics/metrics_log.cc.orig 2025-05-06 12:23:00 UTC
+--- components/metrics/metrics_log.cc.orig 2025-09-10 13:22:16 UTC
+++ components/metrics/metrics_log.cc
-@@ -62,7 +62,7 @@
+@@ -58,7 +58,7 @@
#include "base/win/current_module.h"
#endif
@@ -9,7 +9,7 @@
#include "base/environment.h"
#include "base/nix/xdg_util.h"
#endif
-@@ -158,7 +158,7 @@ void RecordCurrentTime(
+@@ -154,7 +154,7 @@ void RecordCurrentTime(
}
}
@@ -18,7 +18,7 @@
metrics::SystemProfileProto::OS::XdgSessionType ToProtoSessionType(
base::nix::SessionType session_type) {
switch (session_type) {
-@@ -441,7 +441,7 @@ void MetricsLog::RecordCoreSystemProfile(
+@@ -439,7 +439,7 @@ void MetricsLog::RecordCoreSystemProfile(
// OperatingSystemVersion refers to the ChromeOS release version.
#if BUILDFLAG(IS_CHROMEOS)
os->set_kernel_version(base::SysInfo::KernelVersion());
@@ -27,7 +27,7 @@
// Linux operating system version is copied over into kernel version to be
// consistent.
os->set_kernel_version(base::SysInfo::OperatingSystemVersion());
-@@ -458,7 +458,7 @@ void MetricsLog::RecordCoreSystemProfile(
+@@ -456,7 +456,7 @@ void MetricsLog::RecordCoreSystemProfile(
os->set_build_number(base::SysInfo::GetIOSBuildNumber());
#endif
diff --git a/www/ungoogled-chromium/files/patch-components_optimization__guide_core_optimization__guide__features.cc b/www/ungoogled-chromium/files/patch-components_optimization__guide_core_optimization__guide__features.cc
index ecc103c970b8..7199b7eb9d15 100644
--- a/www/ungoogled-chromium/files/patch-components_optimization__guide_core_optimization__guide__features.cc
+++ b/www/ungoogled-chromium/files/patch-components_optimization__guide_core_optimization__guide__features.cc
@@ -1,11 +1,11 @@
---- components/optimization_guide/core/optimization_guide_features.cc.orig 2025-02-20 09:59:21 UTC
+--- components/optimization_guide/core/optimization_guide_features.cc.orig 2025-09-10 13:22:16 UTC
+++ components/optimization_guide/core/optimization_guide_features.cc
-@@ -136,7 +136,7 @@ BASE_FEATURE(kOptimizationGuideModelExecution,
- // Whether to use the on device model service in optimization guide.
+@@ -119,7 +119,7 @@ BASE_FEATURE(kOptimizationGuideModelExecution,
BASE_FEATURE(kOptimizationGuideOnDeviceModel,
"OptimizationGuideOnDeviceModel",
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT);
#else
base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_os__crypt_sync_os__crypt.h b/www/ungoogled-chromium/files/patch-components_os__crypt_sync_os__crypt.h
index 7da6ac5a80f9..40a89d3d7fc1 100644
--- a/www/ungoogled-chromium/files/patch-components_os__crypt_sync_os__crypt.h
+++ b/www/ungoogled-chromium/files/patch-components_os__crypt_sync_os__crypt.h
@@ -1,15 +1,15 @@
---- components/os_crypt/sync/os_crypt.h.orig 2025-04-15 08:30:07 UTC
+--- components/os_crypt/sync/os_crypt.h.orig 2025-09-10 13:22:16 UTC
+++ components/os_crypt/sync/os_crypt.h
-@@ -16,7 +16,7 @@
- #include "build/chromecast_buildflags.h"
- #include "crypto/subtle_passkey.h"
+@@ -23,7 +23,7 @@ class Keychain;
+ }
+ #endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
class KeyStorageLinux;
#endif // BUILDFLAG(IS_LINUX)
-@@ -32,7 +32,7 @@ struct Config;
+@@ -39,7 +39,7 @@ struct Config;
// Temporary interface due to OSCrypt refactor. See OSCryptImpl for descriptions
// of what each function does.
namespace OSCrypt {
@@ -18,7 +18,7 @@
COMPONENT_EXPORT(OS_CRYPT)
void SetConfig(std::unique_ptr<os_crypt::Config> config);
#endif // BUILDFLAG(IS_LINUX)
-@@ -77,7 +77,7 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockKeyForTesting(b
+@@ -84,7 +84,7 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockKeyForTesting(b
COMPONENT_EXPORT(OS_CRYPT) void SetLegacyEncryptionForTesting(bool legacy);
COMPONENT_EXPORT(OS_CRYPT) void ResetStateForTesting();
#endif // BUILDFLAG(IS_WIN)
@@ -27,7 +27,7 @@
COMPONENT_EXPORT(OS_CRYPT)
void UseMockKeyStorageForTesting(
base::OnceCallback<std::unique_ptr<KeyStorageLinux>()>
-@@ -111,7 +111,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
+@@ -118,7 +118,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
// Returns singleton instance of OSCryptImpl.
static OSCryptImpl* GetInstance();
@@ -36,7 +36,7 @@
// Set the configuration of OSCryptImpl.
// This method, or SetRawEncryptionKey(), must be called before using
// EncryptString() and DecryptString().
-@@ -207,7 +207,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
+@@ -214,7 +214,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
void ResetStateForTesting();
#endif
@@ -45,7 +45,7 @@
// For unit testing purposes, inject methods to be used.
// |storage_provider_factory| provides the desired |KeyStorage|
// implementation. If the provider returns |nullptr|, a hardcoded password
-@@ -231,13 +231,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
+@@ -241,13 +241,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl {
bool DeriveKey();
#endif // BUILDFLAG(IS_APPLE)
diff --git a/www/ungoogled-chromium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc b/www/ungoogled-chromium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc
index 871e53829153..5a81b338f724 100644
--- a/www/ungoogled-chromium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-components_paint__preview_browser_paint__preview__client__unittest.cc
@@ -1,6 +1,6 @@
---- components/paint_preview/browser/paint_preview_client_unittest.cc.orig 2024-02-03 15:42:55 UTC
+--- components/paint_preview/browser/paint_preview_client_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ components/paint_preview/browser/paint_preview_client_unittest.cc
-@@ -174,8 +174,8 @@ TEST_P(PaintPreviewClientRenderViewHostTest, CaptureMa
+@@ -172,8 +172,8 @@ TEST_P(PaintPreviewClientRenderViewHostTest, CaptureMa
metadata->set_version(kPaintPreviewVersion);
auto* chromeVersion = metadata->mutable_chrome_version();
const auto& current_chrome_version = version_info::GetVersion();
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.cc
index bcb1fd0ebe86..5e71a9fcfee4 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/features/password_features.cc.orig 2025-05-31 17:16:41 UTC
+--- components/password_manager/core/browser/features/password_features.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/features/password_features.cc
-@@ -40,7 +40,7 @@ BASE_FEATURE(kClearUndecryptablePasswords,
+@@ -62,7 +62,7 @@ BASE_FEATURE(kClearUndecryptablePasswords,
BASE_FEATURE(kClearUndecryptablePasswordsOnSync,
"ClearUndecryptablePasswordsInSync",
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \
@@ -9,7 +9,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -116,7 +116,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPasswordHashes,
+@@ -131,7 +131,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPasswordHashes,
"ReuseDetectionBasedOnPasswordHashes",
base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.h b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.h
index ed2ff70dfa7b..dc42dda833ac 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.h
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_features_password__features.h
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/features/password_features.h.orig 2025-05-31 17:16:41 UTC
+--- components/password_manager/core/browser/features/password_features.h.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/features/password_features.h
-@@ -114,7 +114,7 @@ BASE_DECLARE_FEATURE(kPostponeOnLoginSuccessful);
+@@ -131,7 +131,7 @@ BASE_DECLARE_FEATURE(kPasswordManagerLogToTerminal);
// Detects password reuse based on hashed password values.
BASE_DECLARE_FEATURE(kReuseDetectionBasedOnPasswordHashes);
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc
new file mode 100644
index 000000000000..77d1778e6eaf
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.cc
@@ -0,0 +1,20 @@
+--- components/password_manager/core/browser/password_autofill_manager.cc.orig 2025-09-10 13:22:16 UTC
++++ components/password_manager/core/browser/password_autofill_manager.cc
+@@ -308,7 +308,7 @@ void PasswordAutofillManager::DidAcceptSuggestion(
+ weak_ptr_factory_.GetWeakPtr(), *password_credential);
+ if (password_credential->is_grouped_affiliation) {
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ cross_domain_confirmation_controller_ =
+ password_client_->ShowCrossDomainConfirmationPopup(
+ last_popup_open_args_.element_bounds,
+@@ -538,7 +538,7 @@ void PasswordAutofillManager::DidNavigateMainFrame() {
+ manual_fallback_metrics_recorder_ =
+ std::make_unique<PasswordManualFallbackMetricsRecorder>();
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ cross_domain_confirmation_controller_.reset();
+ #endif
+ wait_for_passkeys_timer_.Stop();
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.h b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.h
new file mode 100644
index 000000000000..be74530d342b
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__autofill__manager.h
@@ -0,0 +1,11 @@
+--- components/password_manager/core/browser/password_autofill_manager.h.orig 2025-09-10 13:22:16 UTC
++++ components/password_manager/core/browser/password_autofill_manager.h
+@@ -285,7 +285,7 @@ class PasswordAutofillManager : public autofill::Autof
+
+ // Stores the controller of warning popup UI on cross domain filling.
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<PasswordCrossDomainConfirmationPopupController>
+ cross_domain_confirmation_controller_;
+ #endif
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc
index 82e8d914847e..5fe735230e36 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__filling.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_form_filling.cc.orig 2025-05-31 17:16:41 UTC
+--- components/password_manager/core/browser/password_form_filling.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_form_filling.cc
-@@ -165,7 +165,7 @@ LikelyFormFilling SendFillInformationToRenderer(
+@@ -178,7 +178,7 @@ LikelyFormFilling SendFillInformationToRenderer(
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc
index 1564edf65d76..afbbabe184c8 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__form__manager.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_form_manager.cc.orig 2025-05-06 12:23:00 UTC
+--- components/password_manager/core/browser/password_form_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_form_manager.cc
-@@ -64,7 +64,7 @@
+@@ -66,7 +66,7 @@
#include "components/webauthn/android/webauthn_cred_man_delegate.h"
#endif // BUILDFLAG(IS_ANDROID)
@@ -9,7 +9,7 @@
#include "components/os_crypt/sync/os_crypt.h"
#endif
-@@ -240,7 +240,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest
+@@ -233,7 +233,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest
return false;
}
@@ -18,7 +18,7 @@
bool ShouldShowKeychainErrorBubble(
std::optional<PasswordStoreBackendError> backend_error) {
if (!backend_error.has_value()) {
-@@ -913,7 +913,7 @@ void PasswordFormManager::OnFetchCompleted() {
+@@ -931,7 +931,7 @@ void PasswordFormManager::OnFetchCompleted() {
error.value().type);
}
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager.cc
index efc68b1d2582..9ba733bdc9ef 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_manager.cc.orig 2025-05-31 17:16:41 UTC
+--- components/password_manager/core/browser/password_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_manager.cc
-@@ -509,7 +509,7 @@ void PasswordManager::RegisterProfilePrefs(
+@@ -586,7 +586,7 @@ void PasswordManager::RegisterProfilePrefs(
prefs::kAutofillableCredentialsAccountStoreLoginDatabase, false);
#endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
registry->RegisterBooleanPref(prefs::kPasswordSharingEnabled, true);
@@ -9,7 +9,7 @@
registry->RegisterIntegerPref(prefs::kRelaunchChromeBubbleDismissedCounter,
0);
#endif
-@@ -522,7 +522,7 @@ void PasswordManager::RegisterProfilePrefs(
+@@ -599,7 +599,7 @@ void PasswordManager::RegisterProfilePrefs(
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager__client.h b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager__client.h
index 54b1f695d9a3..fd98ed1a8d74 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager__client.h
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manager__client.h
@@ -1,4 +1,4 @@
---- components/password_manager/core/browser/password_manager_client.h.orig 2025-05-06 12:23:00 UTC
+--- components/password_manager/core/browser/password_manager_client.h.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_manager_client.h
@@ -31,7 +31,7 @@
#include "net/cert/cert_status_flags.h"
@@ -9,7 +9,7 @@
#include "base/i18n/rtl.h"
#include "components/password_manager/core/browser/password_cross_domain_confirmation_popup_controller.h"
#include "ui/gfx/geometry/rect_f.h"
-@@ -533,7 +533,7 @@ class PasswordManagerClient {
+@@ -545,7 +545,7 @@ class PasswordManagerClient {
virtual void TriggerSignIn(signin_metrics::AccessPoint access_point) const;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc
index d97512352c44..ad21f5d64840 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.cc
@@ -1,4 +1,4 @@
---- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2025-05-31 17:16:41 UTC
+--- components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_manual_fallback_flow.cc
@@ -46,7 +46,7 @@ std::u16string GetUsernameFromLabel(const std::u16stri
}
@@ -9,7 +9,7 @@
// Returns the password form corresponding to the `payload` data. In most
// cases there is only one such form stored, but having more than one or no
// forms is also possible. If there is more than one form, showing any of them
-@@ -297,7 +297,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion(
+@@ -300,7 +300,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion(
}
case autofill::SuggestionType::kViewPasswordDetails: {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -18,12 +18,12 @@
std::optional<password_manager::PasswordForm> credentials =
GetCorrespondingPasswordForm(
suggestion.GetPayload<Suggestion::PasswordSuggestionDetails>(),
-@@ -427,7 +427,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass
+@@ -436,7 +436,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass
const Suggestion::PasswordSuggestionDetails& payload,
base::OnceClosure on_allowed) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
if (payload.is_cross_domain) {
+ CHECK(payload.display_signon_realm);
cross_domain_confirmation_popup_controller_ =
- password_client_->ShowCrossDomainConfirmationPopup(
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h
index c0427ad5c7bc..e947083b8329 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__manual__fallback__flow.h
@@ -1,4 +1,4 @@
---- components/password_manager/core/browser/password_manual_fallback_flow.h.orig 2025-05-06 12:23:00 UTC
+--- components/password_manager/core/browser/password_manual_fallback_flow.h.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_manual_fallback_flow.h
@@ -19,7 +19,7 @@
#include "components/password_manager/core/browser/ui/saved_passwords_presenter.h"
@@ -9,7 +9,7 @@
#include "components/password_manager/core/browser/password_cross_domain_confirmation_popup_controller.h"
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -180,7 +180,7 @@ class PasswordManualFallbackFlow : public autofill::Au
+@@ -183,7 +183,7 @@ class PasswordManualFallbackFlow : public autofill::Au
std::unique_ptr<device_reauth::DeviceAuthenticator> authenticator_;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc
index 84a6d3ce2725..76daeab8af47 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store__factory__util.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_store_factory_util.cc.orig 2024-10-27 06:40:35 UTC
+--- components/password_manager/core/browser/password_store_factory_util.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_store_factory_util.cc
-@@ -29,7 +29,7 @@ namespace {
+@@ -30,7 +30,7 @@ namespace {
LoginDatabase::DeletingUndecryptablePasswordsEnabled GetPolicyFromPrefs(
PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc
index 9895885e9365..7037fa40bc20 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_store/login_database.cc.orig 2025-05-06 12:23:00 UTC
+--- components/password_manager/core/browser/password_store/login_database.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_store/login_database.cc
-@@ -1030,7 +1030,7 @@ bool ShouldDeleteUndecryptablePasswords(
+@@ -1036,7 +1036,7 @@ bool ShouldDeleteUndecryptablePasswords(
bool is_user_data_dir_policy_set,
bool is_enabled_by_policy,
IsAccountStore is_account_store) {
@@ -9,7 +9,7 @@
std::unique_ptr<base::Environment> environment(base::Environment::Create());
// On Linux user data directory ca be specified using an env variable. If it
// exists, passwords shouldn't be deleted.
-@@ -1048,7 +1048,7 @@ bool ShouldDeleteUndecryptablePasswords(
+@@ -1054,7 +1054,7 @@ bool ShouldDeleteUndecryptablePasswords(
return false;
}
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc
index 4d456cb4961e..996bc93fabf6 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_browser_password__store_login__database__unittest.cc
@@ -1,6 +1,6 @@
---- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2025-05-31 17:16:41 UTC
+--- components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/browser/password_store/login_database_unittest.cc
-@@ -2303,7 +2303,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent,
+@@ -2305,7 +2305,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCurrent,
testing::Bool()));
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \
diff --git a/www/ungoogled-chromium/files/patch-components_password__manager_core_common_password__manager__pref__names.h b/www/ungoogled-chromium/files/patch-components_password__manager_core_common_password__manager__pref__names.h
index 74d6acbc8ffc..0f8d50e51a4c 100644
--- a/www/ungoogled-chromium/files/patch-components_password__manager_core_common_password__manager__pref__names.h
+++ b/www/ungoogled-chromium/files/patch-components_password__manager_core_common_password__manager__pref__names.h
@@ -1,4 +1,4 @@
---- components/password_manager/core/common/password_manager_pref_names.h.orig 2025-05-31 17:16:41 UTC
+--- components/password_manager/core/common/password_manager_pref_names.h.orig 2025-09-10 13:22:16 UTC
+++ components/password_manager/core/common/password_manager_pref_names.h
@@ -59,7 +59,7 @@ inline constexpr char kCredentialProviderEnabledOnStar
#endif
@@ -9,7 +9,7 @@
// Boolean pref controlled by the DeletingUndecryptablePasswordsEnabled policy.
// If set to false it blocks deleting undecryptable passwords, otherwise the
// deletion can happen.
-@@ -350,7 +350,7 @@ inline constexpr char kAutofillableCredentialsAccountS
+@@ -285,7 +285,7 @@ inline constexpr char kAutofillableCredentialsAccountS
inline constexpr char kPasswordSharingEnabled[] =
"password_manager.password_sharing_enabled";
diff --git a/www/ungoogled-chromium/files/patch-components_permissions_prediction__service_prediction__common.cc b/www/ungoogled-chromium/files/patch-components_permissions_prediction__service_prediction__common.cc
index 236d3b74a381..91c7a99f9e7f 100644
--- a/www/ungoogled-chromium/files/patch-components_permissions_prediction__service_prediction__common.cc
+++ b/www/ungoogled-chromium/files/patch-components_permissions_prediction__service_prediction__common.cc
@@ -1,6 +1,6 @@
---- components/permissions/prediction_service/prediction_common.cc.orig 2025-04-15 08:30:07 UTC
+--- components/permissions/prediction_service/prediction_common.cc.orig 2025-09-10 13:22:16 UTC
+++ components/permissions/prediction_service/prediction_common.cc
-@@ -34,7 +34,7 @@ int BucketizeValue(int count) {
+@@ -36,7 +36,7 @@ int BucketizeValue(int count) {
ClientFeatures_Platform GetCurrentPlatformProto() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -9,7 +9,7 @@
return permissions::ClientFeatures_Platform_PLATFORM_DESKTOP;
#elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
return permissions::ClientFeatures_Platform_PLATFORM_MOBILE;
-@@ -45,7 +45,7 @@ ClientFeatures_Platform GetCurrentPlatformProto() {
+@@ -47,7 +47,7 @@ ClientFeatures_Platform GetCurrentPlatformProto() {
ClientFeatures_PlatformEnum GetCurrentPlatformEnumProto() {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/ungoogled-chromium/files/patch-components_policy_core_browser_url__blocklist__manager.cc b/www/ungoogled-chromium/files/patch-components_policy_core_browser_url__blocklist__manager.cc
new file mode 100644
index 000000000000..75fdd49fbe73
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_policy_core_browser_url__blocklist__manager.cc
@@ -0,0 +1,11 @@
+--- components/policy/core/browser/url_blocklist_manager.cc.orig 2025-09-10 13:22:16 UTC
++++ components/policy/core/browser/url_blocklist_manager.cc
+@@ -377,7 +377,7 @@ void URLBlocklistManager::RegisterProfilePrefs(
+ policy_prefs::kSafeSitesFilterBehavior,
+ static_cast<int>(SafeSitesFilterBehavior::kSafeSitesFilterDisabled));
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ registry->RegisterListPref(policy_prefs::kPasswordManagerBlocklist);
+ #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
+ // BUILDFLAG(IS_MAC)
diff --git a/www/ungoogled-chromium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc b/www/ungoogled-chromium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc
index fd18814e9aed..420f07aa342b 100644
--- a/www/ungoogled-chromium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc
+++ b/www/ungoogled-chromium/files/patch-components_policy_core_common_cloud_cloud__policy__client.cc
@@ -1,6 +1,6 @@
---- components/policy/core/common/cloud/cloud_policy_client.cc.orig 2025-05-06 12:23:00 UTC
+--- components/policy/core/common/cloud/cloud_policy_client.cc.orig 2025-09-10 13:22:16 UTC
+++ components/policy/core/common/cloud/cloud_policy_client.cc
-@@ -742,7 +742,7 @@ void CloudPolicyClient::FetchPolicy(PolicyFetchReason
+@@ -756,7 +756,7 @@ void CloudPolicyClient::FetchPolicy(PolicyFetchReason
fetch_request->set_invalidation_payload(invalidation_payload_);
}
}
diff --git a/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__loader__common.cc b/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__loader__common.cc
index 244e5614e94d..d6515b8e7ad3 100644
--- a/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__loader__common.cc
+++ b/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__loader__common.cc
@@ -1,4 +1,4 @@
---- components/policy/core/common/policy_loader_common.cc.orig 2025-01-25 09:34:31 UTC
+--- components/policy/core/common/policy_loader_common.cc.orig 2025-09-10 13:22:16 UTC
+++ components/policy/core/common/policy_loader_common.cc
@@ -46,7 +46,7 @@ const char* kSensitivePolicies[] = {
key::kDefaultSearchProviderEnabled,
@@ -16,5 +16,5 @@
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
key::kCommandLineFlagSecurityWarningsEnabled,
- #endif
- #if !BUILDFLAG(IS_IOS)
+ key::kEnterpriseCustomLabelForBrowser,
+ key::kEnterpriseLogoUrlForBrowser,
diff --git a/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.cc b/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.cc
new file mode 100644
index 000000000000..3f9d3f0bc787
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.cc
@@ -0,0 +1,11 @@
+--- components/policy/core/common/policy_pref_names.cc.orig 2025-09-10 13:22:16 UTC
++++ components/policy/core/common/policy_pref_names.cc
+@@ -199,7 +199,7 @@ const char kFloatingWorkspaceEnabled[] = "ash.floating
+ // A boolean value indicating whether the built-in AI APIs are enabled.
+ const char kBuiltInAIAPIsEnabled[] = "policy.built_in_ai_apis_enabled";
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ // List of urls for which password manager is disabled/blocked.
+ const char kPasswordManagerBlocklist[] = "policy.password_manager_blocklist";
+ #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
diff --git a/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.h b/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.h
new file mode 100644
index 000000000000..7b2e2ee8d737
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_policy_core_common_policy__pref__names.h
@@ -0,0 +1,11 @@
+--- components/policy/core/common/policy_pref_names.h.orig 2025-09-10 13:22:16 UTC
++++ components/policy/core/common/policy_pref_names.h
+@@ -94,7 +94,7 @@ extern const char kFloatingWorkspaceEnabled[];
+ #endif
+ extern const char kBuiltInAIAPIsEnabled[];
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ extern const char kPasswordManagerBlocklist[];
+ #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
diff --git a/www/ungoogled-chromium/files/patch-components_power__metrics_energy__metrics__provider.cc b/www/ungoogled-chromium/files/patch-components_power__metrics_energy__metrics__provider.cc
index af62a8a42205..7e2d11c0ec4b 100644
--- a/www/ungoogled-chromium/files/patch-components_power__metrics_energy__metrics__provider.cc
+++ b/www/ungoogled-chromium/files/patch-components_power__metrics_energy__metrics__provider.cc
@@ -1,11 +1,11 @@
---- components/power_metrics/energy_metrics_provider.cc.orig 2023-08-18 10:26:52 UTC
+--- components/power_metrics/energy_metrics_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ components/power_metrics/energy_metrics_provider.cc
@@ -9,6 +9,8 @@
#include "components/power_metrics/energy_metrics_provider_win.h"
#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#include "components/power_metrics/energy_metrics_provider_linux.h"
+#elif BUILDFLAG(IS_BSD)
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
#endif // BUILDFLAG(IS_WIN)
namespace power_metrics {
diff --git a/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc b/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc
deleted file mode 100644
index f51b5ca787f9..000000000000
--- a/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__service.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- components/regional_capabilities/regional_capabilities_service.cc.orig 2025-05-31 17:16:41 UTC
-+++ components/regional_capabilities/regional_capabilities_service.cc
-@@ -235,7 +235,7 @@ std::optional<CountryId> RegionalCapabilitiesService::
- return persisted_country_id;
- }
-
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (base::FeatureList::IsEnabled(switches::kClearPrefForUnknownCountry)) {
- profile_prefs_->ClearPref(country_codes::kCountryIDAtInstall);
- base::UmaHistogramEnumeration(kUnknownCountryIdStored,
diff --git a/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc b/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc
index 35c2c92bd5d8..dd44849cbdba 100644
--- a/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc
+++ b/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.cc
@@ -1,11 +1,11 @@
---- components/regional_capabilities/regional_capabilities_switches.cc.orig 2025-05-06 12:23:00 UTC
+--- components/regional_capabilities/regional_capabilities_switches.cc.orig 2025-09-10 13:22:16 UTC
+++ components/regional_capabilities/regional_capabilities_switches.cc
-@@ -6,7 +6,7 @@
+@@ -18,7 +18,7 @@ BASE_FEATURE(kMitigateLegacySearchEnginePromoOverlap,
+ base::FEATURE_DISABLED_BY_DEFAULT);
+ #endif
- namespace switches {
-
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kClearPrefForUnknownCountry,
- "ClearCountryPrefForStoredUnknownCountry",
- base::FEATURE_ENABLED_BY_DEFAULT);
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kUseFinchPermanentCountryForFetchCountryId,
+ "UseFinchPermanentCountyForFetchCountryId",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.h b/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.h
index f86426bd5762..8add3a4c8b17 100644
--- a/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.h
+++ b/www/ungoogled-chromium/files/patch-components_regional__capabilities_regional__capabilities__switches.h
@@ -1,11 +1,11 @@
---- components/regional_capabilities/regional_capabilities_switches.h.orig 2025-05-06 12:23:00 UTC
+--- components/regional_capabilities/regional_capabilities_switches.h.orig 2025-09-10 13:22:16 UTC
+++ components/regional_capabilities/regional_capabilities_switches.h
-@@ -25,7 +25,7 @@ inline constexpr char kSearchEngineChoiceCountry[] =
- inline constexpr char kDefaultListCountryOverride[] = "DEFAULT_EEA";
- inline constexpr char kEeaListCountryOverride[] = "EEA_ALL";
+@@ -33,7 +33,7 @@ inline constexpr char kEeaListCountryOverride[] = "EEA
+ BASE_DECLARE_FEATURE(kMitigateLegacySearchEnginePromoOverlap);
+ #endif
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // When an invalid `country_codes::CountryId` is stored in prefs and this
- // feature is enabled the pref will be cleared allowing a valid country to be
- // set again.
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Use finch permanent country instead of finch latest country for fetching
+ // country ID.
+ BASE_DECLARE_FEATURE(kUseFinchPermanentCountryForFetchCountryId);
diff --git a/www/ungoogled-chromium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc b/www/ungoogled-chromium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
index 09906f9ea066..fcdcc8eef3ba 100644
--- a/www/ungoogled-chromium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
+++ b/www/ungoogled-chromium/files/patch-components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
@@ -1,6 +1,6 @@
---- components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-05-31 17:16:41 UTC
+--- components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-09-10 13:22:16 UTC
+++ components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc
-@@ -112,7 +112,7 @@ RTLookupRequest::OSType GetRTLookupRequestOSType() {
+@@ -111,7 +111,7 @@ RTLookupRequest::OSType GetRTLookupRequestOSType() {
return RTLookupRequest::OS_TYPE_CHROME_OS;
#elif BUILDFLAG(IS_IOS)
return RTLookupRequest::OS_TYPE_IOS;
diff --git a/www/ungoogled-chromium/files/patch-components_search__engines_template__url__service.cc b/www/ungoogled-chromium/files/patch-components_search__engines_template__url__service.cc
index c650d8515017..a10dd3be58b7 100644
--- a/www/ungoogled-chromium/files/patch-components_search__engines_template__url__service.cc
+++ b/www/ungoogled-chromium/files/patch-components_search__engines_template__url__service.cc
@@ -1,6 +1,6 @@
---- components/search_engines/template_url_service.cc.orig 2025-05-31 17:16:41 UTC
+--- components/search_engines/template_url_service.cc.orig 2025-09-10 13:22:16 UTC
+++ components/search_engines/template_url_service.cc
-@@ -3572,7 +3572,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider(
+@@ -3606,7 +3606,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider(
std::unique_ptr<EnterpriseSearchManager>
TemplateURLService::GetEnterpriseSearchManager(PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.cc b/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.cc
index 61b57e31b3a9..97a4c23ad0c6 100644
--- a/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.cc
+++ b/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.cc
@@ -1,7 +1,7 @@
---- components/signin/public/base/signin_switches.cc.orig 2025-05-31 17:16:41 UTC
+--- components/signin/public/base/signin_switches.cc.orig 2025-09-10 13:22:16 UTC
+++ components/signin/public/base/signin_switches.cc
-@@ -61,7 +61,7 @@ BASE_FEATURE(kUseHostedDomainForManagementCheckOnSigni
- base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -72,7 +72,7 @@ BASE_FEATURE(kSmartEmailLineBreaking,
+ base::FEATURE_ENABLED_BY_DEFAULT);
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -9,3 +9,12 @@
// Enables the History Sync Opt-in on Desktop.
BASE_FEATURE(kEnableHistorySyncOptin,
"EnableHistorySyncOptin",
+@@ -281,7 +281,7 @@ BASE_FEATURE(kSyncEnableBookmarksInTransportMode,
+ #endif // BUILDFLAG(IS_IOS)
+ );
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kSignInPromoMaterialNextUI,
+ "SignInPromoMaterialNextUI",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.h b/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.h
index fa71d2b20fa4..50e10aba9d11 100644
--- a/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.h
+++ b/www/ungoogled-chromium/files/patch-components_signin_public_base_signin__switches.h
@@ -1,11 +1,20 @@
---- components/signin/public/base/signin_switches.h.orig 2025-05-31 17:16:41 UTC
+--- components/signin/public/base/signin_switches.h.orig 2025-09-10 13:22:16 UTC
+++ components/signin/public/base/signin_switches.h
-@@ -55,7 +55,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES)
- BASE_DECLARE_FEATURE(kUseHostedDomainForManagementCheckOnSignin);
+@@ -61,7 +61,7 @@ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+ BASE_DECLARE_FEATURE(kSmartEmailLineBreaking);
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(SIGNIN_SWITCHES)
BASE_DECLARE_FEATURE(kEnableHistorySyncOptin);
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+@@ -222,7 +222,7 @@ BASE_DECLARE_FEATURE(kSyncEnableBookmarksInTransportMo
+ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+ bool IsExtensionsExplicitBrowserSigninEnabled();
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Uses the Material Next theme for the signin promo.
+ COMPONENT_EXPORT(SIGNIN_SWITCHES)
+ BASE_DECLARE_FEATURE(kSignInPromoMaterialNextUI);
diff --git a/www/ungoogled-chromium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc b/www/ungoogled-chromium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc
index 9982d73f4793..206840c6ba20 100644
--- a/www/ungoogled-chromium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc
+++ b/www/ungoogled-chromium/files/patch-components_startup__metric__utils_common_startup__metric__utils.cc
@@ -1,6 +1,6 @@
---- components/startup_metric_utils/common/startup_metric_utils.cc.orig 2024-08-26 14:40:28 UTC
+--- components/startup_metric_utils/common/startup_metric_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ components/startup_metric_utils/common/startup_metric_utils.cc
-@@ -94,7 +94,7 @@ base::TimeTicks CommonStartupMetricRecorder::StartupTi
+@@ -95,7 +95,7 @@ base::TimeTicks CommonStartupMetricRecorder::StartupTi
// Enabling this logic on OS X causes a significant performance regression.
// TODO(crbug.com/40464036): Remove IS_APPLE ifdef once utility processes
// set their desired main thread priority.
diff --git a/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_child__account__service.cc b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_child__account__service.cc
new file mode 100644
index 000000000000..7ed49a727253
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_child__account__service.cc
@@ -0,0 +1,11 @@
+--- components/supervised_user/core/browser/child_account_service.cc.orig 2025-09-10 13:22:16 UTC
++++ components/supervised_user/core/browser/child_account_service.cc
+@@ -170,7 +170,7 @@ void ChildAccountService::OnPrimaryAccountChanged(
+ void ChildAccountService::UpdateForceGoogleSafeSearch() {
+ // On platforms without web sign-out (where the primary account is always
+ // authenticated), there's no need to force SafeSearch.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ bool is_subject_to_parental_controls =
+ IsPrimaryAccountSubjectToParentalControls(identity_manager_) ==
+ signin::Tribool::kTrue;
diff --git a/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc
new file mode 100644
index 000000000000..6bf9d6d55301
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_kids__chrome__management__url__checker__client.cc
@@ -0,0 +1,11 @@
+--- components/supervised_user/core/browser/kids_chrome_management_url_checker_client.cc.orig 2025-09-10 13:22:16 UTC
++++ components/supervised_user/core/browser/kids_chrome_management_url_checker_client.cc
+@@ -66,7 +66,7 @@ void OnResponse(
+ }
+
+ FetcherConfig GetFetcherConfig(bool is_subject_to_parental_controls) {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // Supervised users on these platforms might get into a state where their
+ // credentials are not available, so best-effort access mode is a graceful
+ // fallback here.
diff --git a/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc
index bcedb6fb5ebe..00b6404bad75 100644
--- a/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc
+++ b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__metrics__service.cc
@@ -1,9 +1,9 @@
---- components/supervised_user/core/browser/supervised_user_metrics_service.cc.orig 2024-07-31 14:19:23 UTC
+--- components/supervised_user/core/browser/supervised_user_metrics_service.cc.orig 2025-09-10 13:22:16 UTC
+++ components/supervised_user/core/browser/supervised_user_metrics_service.cc
-@@ -47,7 +47,7 @@ SupervisedUserMetricsService::SupervisedUserMetricsSer
- extensions_metrics_delegate_(std::move(extensions_metrics_delegate)) {
+@@ -103,7 +103,7 @@ SupervisedUserMetricsService::SupervisedUserMetricsSer
+ std::move(metrics_service_accessor_delegate)) {
DCHECK(pref_service_);
- DCHECK(url_filter_);
+ supervised_user_service_observation_.Observe(&supervised_user_service);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
CHECK(extensions_metrics_delegate_)
diff --git a/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc
index 1be04444c84d..9fd3b3f1a293 100644
--- a/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc
+++ b/www/ungoogled-chromium/files/patch-components_supervised__user_core_browser_supervised__user__preferences.cc
@@ -1,6 +1,6 @@
---- components/supervised_user/core/browser/supervised_user_preferences.cc.orig 2025-05-06 12:23:00 UTC
+--- components/supervised_user/core/browser/supervised_user_preferences.cc.orig 2025-09-10 13:22:16 UTC
+++ components/supervised_user/core/browser/supervised_user_preferences.cc
-@@ -147,7 +147,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry
+@@ -153,7 +153,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry
registry->RegisterBooleanPref(prefs::kChildAccountStatusKnown, false);
registry->RegisterStringPref(prefs::kFamilyLinkUserMemberRole, std::string());
#if BUILDFLAG(ENABLE_EXTENSIONS) && \
diff --git a/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.cc b/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.cc
index 9b03524bc7fe..4f1b590d3cec 100644
--- a/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.cc
+++ b/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.cc
@@ -1,54 +1,38 @@
---- components/supervised_user/core/common/features.cc.orig 2025-05-31 17:16:41 UTC
+--- components/supervised_user/core/common/features.cc.orig 2025-09-10 13:22:16 UTC
+++ components/supervised_user/core/common/features.cc
-@@ -37,7 +37,7 @@ BASE_FEATURE(kAllowSubframeLocalWebApprovals,
+@@ -35,7 +35,7 @@ BASE_FEATURE(kAllowSubframeLocalWebApprovals,
#endif
#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
const int kLocalWebApprovalBottomSheetLoadTimeoutDefaultValueMs = 5000;
const base::FeatureParam<int> kLocalWebApprovalBottomSheetLoadTimeoutMs{
-@@ -46,7 +46,7 @@ const base::FeatureParam<int> kLocalWebApprovalBottomS
+@@ -44,7 +44,7 @@ const base::FeatureParam<int> kLocalWebApprovalBottomS
#endif // BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kEnableLocalWebApprovalErrorDialog,
"EnableLocalWebApprovalErrorDialog",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -89,7 +89,7 @@ bool IsLocalWebApprovalsEnabledForSubframes() {
- return base::FeatureList::IsEnabled(kAllowSubframeLocalWebApprovals);
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kCustomProfileStringsForSupervisedUsers,
- "CustomProfileStringsForSupervisedUsers",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -101,13 +101,13 @@ BASE_FEATURE(kShowKiteForSupervisedUsers,
-
- BASE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers,
- "ForceSafeSearchForUnauthenticatedSupervisedUsers",
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+@@ -58,7 +58,7 @@ BASE_FEATURE(kLocalWebApprovalsWidgetSupportsUrlPayloa
+ BASE_FEATURE(kSupervisedUserBlockInterstitialV3,
+ "SupervisedUserBlockInterstitialV3",
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_IOS)
++ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT);
#else
base::FEATURE_DISABLED_BY_DEFAULT);
- #endif
+@@ -94,7 +94,7 @@ bool IsLocalWebApprovalsEnabledForSubframes() {
+ return base::FeatureList::IsEnabled(kAllowSubframeLocalWebApprovals);
+ }
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog,
"EnableSupervisedUserVersionSignOutDialog",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -119,7 +119,7 @@ BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog
- // platform #defines.
- BASE_FEATURE(kUncredentialedFilteringFallbackForSupervisedUsers,
- "UncredentialedFilteringFallbackForSupervisedUsers",
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- base::FEATURE_ENABLED_BY_DEFAULT);
- #else
- base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.h b/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.h
index 4679c15a31cf..c6c997316ec9 100644
--- a/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.h
+++ b/www/ungoogled-chromium/files/patch-components_supervised__user_core_common_features.h
@@ -1,17 +1,17 @@
---- components/supervised_user/core/common/features.h.orig 2025-05-31 17:16:41 UTC
+--- components/supervised_user/core/common/features.h.orig 2025-09-10 13:22:16 UTC
+++ components/supervised_user/core/common/features.h
@@ -20,12 +20,12 @@ BASE_DECLARE_FEATURE(kLocalWebApprovals);
BASE_DECLARE_FEATURE(kAllowSubframeLocalWebApprovals);
#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const base::FeatureParam<int> kLocalWebApprovalBottomSheetLoadTimeoutMs;
#endif // BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// Whether we show an error screen in case of failure of a local web approval.
BASE_DECLARE_FEATURE(kEnableLocalWebApprovalErrorDialog);
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
@@ -20,16 +20,7 @@
BASE_DECLARE_FEATURE(kSupervisedUserBlockInterstitialV3);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- // Enable different web sign in interception behaviour for supervised users:
- //
- // 1. Supervised user signs in to existing signed out Profile: show modal
-@@ -55,7 +55,7 @@ BASE_DECLARE_FEATURE(kShowKiteForSupervisedUsers);
- // unauthenticated (e.g. signed out of the content area) account.
- BASE_DECLARE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers);
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// Uses supervised user strings on the signout dialog.
BASE_DECLARE_FEATURE(kEnableSupervisedUserVersionSignOutDialog);
#endif
diff --git a/www/ungoogled-chromium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc b/www/ungoogled-chromium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc
index 91136cc8b3b9..3c8bea973f49 100644
--- a/www/ungoogled-chromium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc
+++ b/www/ungoogled-chromium/files/patch-components_sync__preferences_common__syncable__prefs__database.cc
@@ -1,7 +1,7 @@
---- components/sync_preferences/common_syncable_prefs_database.cc.orig 2025-05-31 17:16:41 UTC
+--- components/sync_preferences/common_syncable_prefs_database.cc.orig 2025-09-10 13:22:16 UTC
+++ components/sync_preferences/common_syncable_prefs_database.cc
-@@ -326,7 +326,7 @@ constexpr auto kCommonSyncablePrefsAllowlist =
- PrefSensitivity::kNone, MergeBehavior::kNone}},
+@@ -324,7 +324,7 @@ constexpr auto kCommonSyncablePrefsAllowlist =
+ syncer::PREFERENCES, PrefSensitivity::kNone, MergeBehavior::kNone}},
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-components_system__cpu_cpu__probe.cc b/www/ungoogled-chromium/files/patch-components_system__cpu_cpu__probe.cc
index 7b01b9202548..6e6a25348c82 100644
--- a/www/ungoogled-chromium/files/patch-components_system__cpu_cpu__probe.cc
+++ b/www/ungoogled-chromium/files/patch-components_system__cpu_cpu__probe.cc
@@ -1,6 +1,17 @@
---- components/system_cpu/cpu_probe.cc.orig 2024-02-25 20:22:18 UTC
+--- components/system_cpu/cpu_probe.cc.orig 2025-09-10 13:22:16 UTC
+++ components/system_cpu/cpu_probe.cc
-@@ -30,6 +30,9 @@ std::unique_ptr<CpuProbe> CpuProbe::Create() {
+@@ -20,6 +20,10 @@
+ #include "components/system_cpu/cpu_probe_mac.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+
++#if BUILDFLAG(IS_BSD)
++#include "base/notimplemented.h"
++#endif
++
+ namespace system_cpu {
+
+ // static
+@@ -30,6 +34,9 @@ std::unique_ptr<CpuProbe> CpuProbe::Create() {
return CpuProbeWin::Create();
#elif BUILDFLAG(IS_MAC)
return CpuProbeMac::Create();
diff --git a/www/ungoogled-chromium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc b/www/ungoogled-chromium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc
index b015ae9bedee..a91d4849aaaf 100644
--- a/www/ungoogled-chromium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc
+++ b/www/ungoogled-chromium/files/patch-components_trusted__vault_trusted__vault__connection__impl.cc
@@ -1,6 +1,6 @@
---- components/trusted_vault/trusted_vault_connection_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- components/trusted_vault/trusted_vault_connection_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ components/trusted_vault/trusted_vault_connection_impl.cc
-@@ -103,7 +103,7 @@ GetLocalPhysicalDeviceType() {
+@@ -105,7 +105,7 @@ GetLocalPhysicalDeviceType() {
// currently used or even built on all platforms.
#if BUILDFLAG(IS_CHROMEOS)
return trusted_vault_pb::PhysicalDeviceMetadata::DEVICE_TYPE_CHROMEOS;
diff --git a/www/ungoogled-chromium/files/patch-components_user__education_views_help__bubble__view.cc b/www/ungoogled-chromium/files/patch-components_user__education_views_help__bubble__view.cc
index d1b739f4933a..2809363aebc0 100644
--- a/www/ungoogled-chromium/files/patch-components_user__education_views_help__bubble__view.cc
+++ b/www/ungoogled-chromium/files/patch-components_user__education_views_help__bubble__view.cc
@@ -1,6 +1,6 @@
---- components/user_education/views/help_bubble_view.cc.orig 2025-05-06 12:23:00 UTC
+--- components/user_education/views/help_bubble_view.cc.orig 2025-09-10 13:22:16 UTC
+++ components/user_education/views/help_bubble_view.cc
-@@ -268,7 +268,7 @@ DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(HelpBubbleView,
+@@ -269,7 +269,7 @@ DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(HelpBubbleView,
// TODO(https://crbug.com/382611284): Temporarily handle the case when the
// primary window is minimized by closing the help bubble. Remove this code when
// the issue is solved at the Views framework level.
@@ -9,7 +9,7 @@
class HelpBubbleView::PrimaryWidgetObserver : public views::WidgetObserver {
public:
explicit PrimaryWidgetObserver(HelpBubbleView& help_bubble)
-@@ -743,7 +743,7 @@ HelpBubbleView::HelpBubbleView(
+@@ -733,7 +733,7 @@ HelpBubbleView::HelpBubbleView(
event_relay_->Init(this);
}
@@ -18,7 +18,7 @@
primary_widget_observer_ = std::make_unique<PrimaryWidgetObserver>(*this);
#endif
-@@ -855,7 +855,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const {
+@@ -845,7 +845,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const {
void HelpBubbleView::OnBeforeBubbleWidgetInit(views::Widget::InitParams* params,
views::Widget* widget) const {
BubbleDialogDelegateView::OnBeforeBubbleWidgetInit(params, widget);
diff --git a/www/ungoogled-chromium/files/patch-components_variations_net_variations__command__line.cc b/www/ungoogled-chromium/files/patch-components_variations_net_variations__command__line.cc
deleted file mode 100644
index 9c1bcb32525b..000000000000
--- a/www/ungoogled-chromium/files/patch-components_variations_net_variations__command__line.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- components/variations/net/variations_command_line.cc.orig 2025-05-31 17:16:41 UTC
-+++ components/variations/net/variations_command_line.cc
-@@ -50,7 +50,7 @@ void ExitWithMessage(const std::string& message) {
- namespace variations {
-
- #if !BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kFeedbackIncludeVariations,
- "FeedbackIncludeVariations",
- base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-components_variations_service_variations__service.cc b/www/ungoogled-chromium/files/patch-components_variations_service_variations__service.cc
index 5d2d2ee6182b..ee4a906b731e 100644
--- a/www/ungoogled-chromium/files/patch-components_variations_service_variations__service.cc
+++ b/www/ungoogled-chromium/files/patch-components_variations_service_variations__service.cc
@@ -1,6 +1,6 @@
---- components/variations/service/variations_service.cc.orig 2025-03-09 21:38:10 UTC
+--- components/variations/service/variations_service.cc.orig 2025-09-10 13:22:16 UTC
+++ components/variations/service/variations_service.cc
-@@ -100,7 +100,7 @@ std::string GetPlatformString() {
+@@ -99,7 +99,7 @@ std::string GetPlatformString() {
return "android";
#elif BUILDFLAG(IS_FUCHSIA)
return "fuchsia";
diff --git a/www/ungoogled-chromium/files/patch-components_viz_host_host__display__client.cc b/www/ungoogled-chromium/files/patch-components_viz_host_host__display__client.cc
index f03c036bf452..9097f1695ff0 100644
--- a/www/ungoogled-chromium/files/patch-components_viz_host_host__display__client.cc
+++ b/www/ungoogled-chromium/files/patch-components_viz_host_host__display__client.cc
@@ -1,11 +1,14 @@
---- components/viz/host/host_display_client.cc.orig 2024-05-23 20:04:36 UTC
+--- components/viz/host/host_display_client.cc.orig 2025-09-10 13:22:16 UTC
+++ components/viz/host/host_display_client.cc
-@@ -65,7 +65,7 @@ void HostDisplayClient::AddChildWindowToBrowser(
+@@ -66,9 +66,9 @@ void HostDisplayClient::AddChildWindowToBrowser(
}
#endif
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
void HostDisplayClient::DidCompleteSwapWithNewSize(const gfx::Size& size) {
- NOTIMPLEMENTED();
+- NOTIMPLEMENTED();
++ NOTREACHED();
}
+ #endif // BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+
diff --git a/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc b/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc
index 03568af7a14c..9d2753c86c67 100644
--- a/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc
+++ b/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_skia__output__surface__impl.cc
@@ -1,6 +1,6 @@
---- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ components/viz/service/display_embedder/skia_output_surface_impl.cc
-@@ -1500,7 +1500,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor
+@@ -1498,7 +1498,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor
->GetVulkanPhysicalDevice(),
VK_IMAGE_TILING_OPTIMAL, vk_format,
si_format, yuv_color_space, ycbcr_info);
diff --git a/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_software__output__surface.h b/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_software__output__surface.h
index 1baec71c56e0..245b8e0ced86 100644
--- a/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_software__output__surface.h
+++ b/www/ungoogled-chromium/files/patch-components_viz_service_display__embedder_software__output__surface.h
@@ -1,6 +1,6 @@
---- components/viz/service/display_embedder/software_output_surface.h.orig 2025-02-20 09:59:21 UTC
+--- components/viz/service/display_embedder/software_output_surface.h.orig 2025-09-10 13:22:16 UTC
+++ components/viz/service/display_embedder/software_output_surface.h
-@@ -41,7 +41,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
+@@ -40,7 +40,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
UpdateVSyncParametersCallback callback) override;
void SetDisplayTransformHint(gfx::OverlayTransform transform) override {}
gfx::OverlayTransform GetDisplayTransform() override;
@@ -9,7 +9,7 @@
void SetNeedsSwapSizeNotifications(
bool needs_swap_size_notifications) override;
#endif
-@@ -59,7 +59,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
+@@ -58,7 +58,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi
base::TimeTicks refresh_timebase_;
base::TimeDelta refresh_interval_ = BeginFrameArgs::DefaultInterval();
diff --git a/www/ungoogled-chromium/files/patch-components_viz_service_display_skia__renderer.cc b/www/ungoogled-chromium/files/patch-components_viz_service_display_skia__renderer.cc
index 41db9dac86c1..9f3562a3a85c 100644
--- a/www/ungoogled-chromium/files/patch-components_viz_service_display_skia__renderer.cc
+++ b/www/ungoogled-chromium/files/patch-components_viz_service_display_skia__renderer.cc
@@ -1,6 +1,6 @@
---- components/viz/service/display/skia_renderer.cc.orig 2025-05-31 17:16:41 UTC
+--- components/viz/service/display/skia_renderer.cc.orig 2025-09-10 13:22:16 UTC
+++ components/viz/service/display/skia_renderer.cc
-@@ -1384,7 +1384,7 @@ void SkiaRenderer::ClearFramebuffer() {
+@@ -1380,7 +1380,7 @@ void SkiaRenderer::ClearFramebuffer() {
if (current_frame()->current_render_pass->has_transparent_background) {
ClearCanvas(SkColors::kTransparent);
} else {
diff --git a/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc b/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
index b7be54342e50..a11f32c20caf 100644
--- a/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
+++ b/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
@@ -1,6 +1,6 @@
---- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc
-@@ -141,7 +141,7 @@ RootCompositorFrameSinkImpl::Create(
+@@ -142,7 +142,7 @@ RootCompositorFrameSinkImpl::Create(
output_surface->SetNeedsSwapSizeNotifications(
params->send_swap_size_notifications);
@@ -9,7 +9,7 @@
// For X11, we need notify client about swap completion after resizing, so the
// client can use it for synchronize with X11 WM.
output_surface->SetNeedsSwapSizeNotifications(true);
-@@ -934,7 +934,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw
+@@ -902,7 +902,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw
if (display_client_ && enable_swap_completion_callback_) {
display_client_->DidCompleteSwapWithSize(pixel_size);
}
diff --git a/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h b/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
index a4040e5c6948..d47330ce0d0a 100644
--- a/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
+++ b/www/ungoogled-chromium/files/patch-components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
@@ -1,8 +1,8 @@
---- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-05-31 17:16:41 UTC
+--- components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-09-10 13:22:16 UTC
+++ components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h
-@@ -234,7 +234,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl
- base::TimeDelta preferred_frame_interval_ =
- FrameRateDecider::UnspecifiedFrameInterval();
+@@ -223,7 +223,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl
+ base::TimeDelta display_frame_interval_ = BeginFrameArgs::DefaultInterval();
+ base::TimeDelta preferred_frame_interval_;
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
diff --git a/www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc b/www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc
new file mode 100644
index 000000000000..6e703c567f54
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.cc
@@ -0,0 +1,20 @@
+--- components/viz/service/gl/gpu_service_impl.cc.orig 2025-09-10 13:22:16 UTC
++++ components/viz/service/gl/gpu_service_impl.cc
+@@ -501,7 +501,7 @@ void GpuServiceImpl::InitializeWithHostInternal(
+
+ mojo::Remote<mojom::GpuHost> gpu_host(std::move(pending_gpu_host));
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ gpu_extra_info_.is_gmb_nv12_supported = IsGMBNV12Supported();
+ #endif
+
+@@ -1266,7 +1266,7 @@ bool GpuServiceImpl::OnBeginFrameDerivedImpl(const Beg
+ return true;
+ }
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool GpuServiceImpl::IsGMBNV12Supported() {
+ CHECK(main_runner_->BelongsToCurrentThread());
+
diff --git a/www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.h b/www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.h
new file mode 100644
index 000000000000..2ff97661fccf
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_viz_service_gl_gpu__service__impl.h
@@ -0,0 +1,11 @@
+--- components/viz/service/gl/gpu_service_impl.h.orig 2025-09-10 13:22:16 UTC
++++ components/viz/service/gl/gpu_service_impl.h
+@@ -450,7 +450,7 @@ class VIZ_SERVICE_EXPORT GpuServiceImpl
+
+ void OnBeginFrameOnIO(const BeginFrameArgs& args);
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool IsGMBNV12Supported();
+ #endif
+
diff --git a/www/ungoogled-chromium/files/patch-content_app_BUILD.gn b/www/ungoogled-chromium/files/patch-content_app_BUILD.gn
index fd1566ad8463..070e58eabbe0 100644
--- a/www/ungoogled-chromium/files/patch-content_app_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-content_app_BUILD.gn
@@ -1,6 +1,6 @@
---- content/app/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- content/app/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ content/app/BUILD.gn
-@@ -90,9 +90,9 @@ source_set("content_main_runner_app") {
+@@ -91,9 +91,9 @@ source_set("content_main_runner_app") {
"//third_party/tflite:buildflags",
"//tools/v8_context_snapshot:buildflags",
]
@@ -12,4 +12,4 @@
+# }
}
- source_set("app") {
+ if (is_android && enable_javaless_renderers) {
diff --git a/www/ungoogled-chromium/files/patch-content_app_content__main.cc b/www/ungoogled-chromium/files/patch-content_app_content__main.cc
index 7a5dad6e534b..35c896403708 100644
--- a/www/ungoogled-chromium/files/patch-content_app_content__main.cc
+++ b/www/ungoogled-chromium/files/patch-content_app_content__main.cc
@@ -1,6 +1,6 @@
---- content/app/content_main.cc.orig 2025-04-15 08:30:07 UTC
+--- content/app/content_main.cc.orig 2025-09-10 13:22:16 UTC
+++ content/app/content_main.cc
-@@ -227,7 +227,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
+@@ -225,7 +225,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
base::EnableTerminationOnOutOfMemory();
logging::RegisterAbslAbortHook();
@@ -9,7 +9,7 @@
// The various desktop environments set this environment variable that
// allows the dbus client library to connect directly to the bus. When this
// variable is not set (test environments like xvfb-run), the dbus client
-@@ -317,7 +317,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
+@@ -319,7 +319,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
#endif
#endif
diff --git a/www/ungoogled-chromium/files/patch-content_app_content__main__runner__impl.cc b/www/ungoogled-chromium/files/patch-content_app_content__main__runner__impl.cc
index e5799371ebb4..2c2fc3dcc921 100644
--- a/www/ungoogled-chromium/files/patch-content_app_content__main__runner__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_app_content__main__runner__impl.cc
@@ -1,6 +1,6 @@
---- content/app/content_main_runner_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- content/app/content_main_runner_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/app/content_main_runner_impl.cc
-@@ -148,18 +148,20 @@
+@@ -150,18 +150,20 @@
#include "content/browser/posix_file_descriptor_info_impl.h"
#include "content/public/common/content_descriptors.h"
@@ -23,7 +23,7 @@
#include "third_party/boringssl/src/include/openssl/crypto.h"
#include "third_party/webrtc_overrides/init_webrtc.h" // nogncheck
-@@ -188,6 +190,10 @@
+@@ -185,6 +187,10 @@
#include "media/base/media_switches.h"
#endif
@@ -34,16 +34,16 @@
#if BUILDFLAG(IS_ANDROID)
#include "base/system/sys_info.h"
#include "content/browser/android/battery_metrics.h"
-@@ -386,7 +392,7 @@ void InitializeZygoteSandboxForBrowserProcess(
+@@ -381,7 +387,7 @@ void InitializeZygoteSandboxForBrowserProcess(
}
#endif // BUILDFLAG(USE_ZYGOTE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #if BUILDFLAG(ENABLE_PPAPI)
- // Loads the (native) libraries but does not initialize them (i.e., does not
-@@ -424,7 +430,10 @@ void PreloadLibraryCdms() {
+ #if BUILDFLAG(ENABLE_LIBRARY_CDMS)
+ // Loads registered library CDMs but does not initialize them. This is needed by
+@@ -400,7 +406,10 @@ void PreloadLibraryCdms() {
void PreSandboxInit() {
// Ensure the /dev/urandom is opened.
@@ -54,7 +54,7 @@
// May use sysinfo(), sched_getaffinity(), and open various /sys/ and /proc/
// files.
-@@ -436,9 +445,16 @@ void PreSandboxInit() {
+@@ -412,9 +421,16 @@ void PreSandboxInit() {
// https://boringssl.9oo91esource.qjz9zk/boringssl/+/HEAD/SANDBOXING.md
CRYPTO_pre_sandbox_init();
@@ -69,18 +69,27 @@
base::GetMaxNumberOfInotifyWatches();
+#endif
- #if BUILDFLAG(ENABLE_PPAPI)
- // Ensure access to the Pepper plugins before the sandbox is turned on.
-@@ -752,7 +768,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain(
+ #if BUILDFLAG(ENABLE_LIBRARY_CDMS)
+ // Ensure access to the library CDMs before the sandbox is turned on.
+@@ -634,7 +650,7 @@ NO_STACK_PROTECTOR int RunZygote(ContentMainDelegate*
+
+ // Once Zygote forks and feature list initializes we can start a thread to
+ // begin tracing immediately.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (process_type == switches::kGpuProcess) {
+ tracing::InitTracingPostFeatureList(/*enable_consumer=*/false,
+ /*will_trace_thread_restart=*/true);
+@@ -733,7 +749,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain(
+ base::HangWatcher::CreateHangWatcherInstance();
unregister_thread_closure = base::HangWatcher::RegisterThread(
base::HangWatcher::ThreadType::kMainThread);
- bool start_hang_watcher_now;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// On Linux/ChromeOS, the HangWatcher can't start until after the sandbox is
// initialized, because the sandbox can't be started with multiple threads.
// TODO(mpdenton): start the HangWatcher after the sandbox is initialized.
-@@ -865,11 +881,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
+@@ -851,11 +867,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
base::GlobalDescriptors::kBaseDescriptor);
#endif // !BUILDFLAG(IS_ANDROID)
@@ -94,7 +103,16 @@
#endif // !BUILDFLAG(IS_WIN)
-@@ -1050,10 +1065,22 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
+@@ -1007,7 +1022,7 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
+ // SeatbeltExecServer.
+ CHECK(sandbox::Seatbelt::IsSandboxed());
+ }
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // In sandboxed processes and zygotes, certain resource should be pre-warmed
+ // as they cannot be initialized under a sandbox. In addition, loading these
+ // resources in zygotes (including the unsandboxed zygote) allows them to be
+@@ -1017,10 +1032,22 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam
process_type == switches::kZygoteProcess) {
PreSandboxInit();
}
@@ -117,7 +135,7 @@
delegate_->SandboxInitialized(process_type);
#if BUILDFLAG(USE_ZYGOTE)
-@@ -1150,6 +1177,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() {
+@@ -1122,6 +1149,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() {
content_main_params_.reset();
RegisterMainThreadFactories();
diff --git a/www/ungoogled-chromium/files/patch-content_browser_BUILD.gn b/www/ungoogled-chromium/files/patch-content_browser_BUILD.gn
index e8b5d7d37fd8..c79032e5e6ed 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-content_browser_BUILD.gn
@@ -1,6 +1,6 @@
---- content/browser/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- content/browser/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ content/browser/BUILD.gn
-@@ -2572,6 +2572,14 @@ source_set("browser") {
+@@ -2600,6 +2600,14 @@ source_set("browser") {
]
}
@@ -15,7 +15,7 @@
if (is_linux || is_chromeos) {
sources -=
[ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ]
-@@ -2617,6 +2625,15 @@ source_set("browser") {
+@@ -2648,6 +2656,15 @@ source_set("browser") {
if (allow_oop_video_decoder) {
sources += [ "media/oop_video_decoder_factory.cc" ]
deps += [ "//media/mojo/mojom" ]
diff --git a/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc b/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc
index 9379b5bfb8fa..a23c7936813e 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- content/browser/accessibility/browser_accessibility_state_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/accessibility/browser_accessibility_state_impl.cc
-@@ -181,7 +181,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta
+@@ -296,7 +296,7 @@ BrowserAccessibilityStateImpl* BrowserAccessibilitySta
// On Android, Mac, Windows and Linux there are platform-specific subclasses.
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_MAC) && \
diff --git a/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc b/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc
index a5648d07b660..7b8983d08627 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_accessibility_browser__accessibility__state__impl__auralinux.cc
@@ -1,18 +1,14 @@
---- content/browser/accessibility/browser_accessibility_state_impl_auralinux.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/accessibility/browser_accessibility_state_impl_auralinux.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/accessibility/browser_accessibility_state_impl_auralinux.cc
-@@ -32,7 +32,11 @@ bool CheckCmdlineForOrca(const std::string& cmdline_al
- std::string cmdline;
- std::stringstream ss(cmdline_all);
- while (std::getline(ss, cmdline, '\0')) {
-+#if BUILDFLAG(IS_BSD)
-+ re2::RE2 orca_regex(R"((^|/)(usr/)?(local/)?bin/orca(\s|$))");
-+#else
- re2::RE2 orca_regex(R"((^|/)(usr/)?bin/orca(\s|$))");
-+#endif
- if (re2::RE2::PartialMatch(cmdline, orca_regex)) {
- return true; // Orca was found
- }
-@@ -42,6 +46,10 @@ bool CheckCmdlineForOrca(const std::string& cmdline_al
+@@ -12,6 +12,7 @@
+ #include <sstream>
+ #include <string>
+
++#include "base/notimplemented.h"
+ #include "base/debug/crash_logging.h"
+ #include "base/metrics/histogram_macros.h"
+ #include "base/task/thread_pool.h"
+@@ -43,6 +44,10 @@ bool CheckCmdlineForOrca(const std::string& cmdline_al
// Returns true if Orca is active.
bool DiscoverOrca() {
@@ -23,7 +19,7 @@
// NOTE: this method is run from another thread to reduce jank, since
// there's no guarantee these system calls will return quickly.
std::unique_ptr<DIR, decltype(&CloseDir)> proc_dir(opendir("/proc"),
-@@ -79,6 +87,7 @@ bool DiscoverOrca() {
+@@ -80,6 +85,7 @@ bool DiscoverOrca() {
}
return is_orca_active;
diff --git a/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.cc b/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.cc
index 2a10eced5328..1471a5de3862 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/browser_child_process_host_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- content/browser/browser_child_process_host_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/browser_child_process_host_impl.cc
-@@ -327,6 +327,7 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo
+@@ -297,6 +297,7 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo
switches::kLogBestEffortTasks,
switches::kPerfettoDisableInterning,
switches::kTraceToConsole,
@@ -8,7 +8,7 @@
};
cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches);
-@@ -697,7 +698,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched()
+@@ -650,7 +651,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched()
->child_process());
#endif
diff --git a/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.h b/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.h
index 0194ea0f8547..4dd0ec961aef 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.h
+++ b/www/ungoogled-chromium/files/patch-content_browser_browser__child__process__host__impl.h
@@ -1,4 +1,4 @@
---- content/browser/browser_child_process_host_impl.h.orig 2025-03-09 21:38:10 UTC
+--- content/browser/browser_child_process_host_impl.h.orig 2025-09-10 13:22:16 UTC
+++ content/browser/browser_child_process_host_impl.h
@@ -36,7 +36,7 @@
#include "base/win/object_watcher.h"
@@ -9,7 +9,7 @@
#include "content/browser/child_thread_type_switcher_linux.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -287,7 +287,7 @@ class BrowserChildProcessHostImpl
+@@ -276,7 +276,7 @@ class BrowserChildProcessHostImpl
std::unique_ptr<tracing::SystemTracingService> system_tracing_service_;
#endif
diff --git a/www/ungoogled-chromium/files/patch-content_browser_browser__interface__binders.cc b/www/ungoogled-chromium/files/patch-content_browser_browser__interface__binders.cc
new file mode 100644
index 000000000000..8d65c7f95821
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-content_browser_browser__interface__binders.cc
@@ -0,0 +1,20 @@
+--- content/browser/browser_interface_binders.cc.orig 2025-09-10 13:22:16 UTC
++++ content/browser/browser_interface_binders.cc
+@@ -234,7 +234,7 @@
+ #include "content/browser/xr/webxr_internals/webxr_internals_ui.h"
+ #endif
+
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #include "content/public/browser/service_process_host.h"
+ #else
+ #include "content/browser/gpu/gpu_process_host.h"
+@@ -271,7 +271,7 @@ shape_detection::mojom::ShapeDetectionService* GetShap
+ mojo::Remote<shape_detection::mojom::ShapeDetectionService>>
+ remote;
+ if (!*remote) {
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ ServiceProcessHost::Launch<shape_detection::mojom::ShapeDetectionService>(
+ remote->BindNewPipeAndPassReceiver(),
+ ServiceProcessHost::Options()
diff --git a/www/ungoogled-chromium/files/patch-content_browser_browser__main__loop.cc b/www/ungoogled-chromium/files/patch-content_browser_browser__main__loop.cc
index aad063681942..8f9aa53a191c 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_browser__main__loop.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_browser__main__loop.cc
@@ -1,6 +1,6 @@
---- content/browser/browser_main_loop.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/browser_main_loop.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/browser_main_loop.cc
-@@ -249,6 +249,12 @@
+@@ -251,6 +251,12 @@
#include "mojo/public/cpp/bindings/lib/test_random_mojo_delays.h"
#endif
@@ -13,7 +13,7 @@
// One of the linux specific headers defines this as a macro.
#ifdef DestroyAll
#undef DestroyAll
-@@ -543,6 +549,12 @@ int BrowserMainLoop::EarlyInitialization() {
+@@ -551,6 +557,12 @@ int BrowserMainLoop::EarlyInitialization() {
// by now since a thread to start the ServiceManager has been created
// before the browser main loop starts.
DCHECK(SandboxHostLinux::GetInstance()->IsInitialized());
@@ -26,7 +26,7 @@
#endif
// GLib's spawning of new processes is buggy, so it's important that at this
-@@ -575,7 +587,7 @@ int BrowserMainLoop::EarlyInitialization() {
+@@ -583,7 +595,7 @@ int BrowserMainLoop::EarlyInitialization() {
base::ThreadType::kDisplayCritical);
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper.h b/www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper.h
deleted file mode 100644
index db95cc0d5fea..000000000000
--- a/www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- content/browser/child_process_launcher_helper.h.orig 2025-03-09 21:38:10 UTC
-+++ content/browser/child_process_launcher_helper.h
-@@ -308,7 +308,7 @@ class ChildProcessLauncherHelper
- std::optional<base::ProcessId> process_id_ = std::nullopt;
- #endif // BUILDFLAG(IS_CHROMEOS)
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // The priority of the process. The state is stored to avoid changing the
- // setting repeatedly.
- std::optional<base::Process::Priority> priority_;
diff --git a/www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc b/www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc
index ff3dbe28c569..97b957f24fdc 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc
@@ -1,4 +1,4 @@
---- content/browser/child_process_launcher_helper_linux.cc.orig 2024-06-22 08:49:42 UTC
+--- content/browser/child_process_launcher_helper_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/child_process_launcher_helper_linux.cc
@@ -22,7 +22,9 @@
#include "content/public/common/result_codes.h"
@@ -109,7 +109,7 @@
}
void ChildProcessLauncherHelper::SetProcessPriorityOnLauncherThread(
-@@ -182,11 +202,13 @@ void ChildProcessLauncherHelper::SetProcessPriorityOnL
+@@ -181,11 +201,13 @@ void ChildProcessLauncherHelper::SetProcessPriorityOnL
}
}
diff --git a/www/ungoogled-chromium/files/patch-content_browser_child__thread__type__switcher__linux.cc b/www/ungoogled-chromium/files/patch-content_browser_child__thread__type__switcher__linux.cc
index 54be1a55c441..0bf8ee24cb03 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_child__thread__type__switcher__linux.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_child__thread__type__switcher__linux.cc
@@ -1,6 +1,14 @@
---- content/browser/child_thread_type_switcher_linux.cc.orig 2025-04-15 08:30:07 UTC
+--- content/browser/child_thread_type_switcher_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/child_thread_type_switcher_linux.cc
-@@ -20,6 +20,9 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
+@@ -6,6 +6,7 @@
+
+ #include "base/linux_util.h"
+ #include "base/logging.h"
++#include "base/notimplemented.h"
+ #include "base/process/process_handle.h"
+ #include "base/task/single_thread_task_runner.h"
+ #include "base/threading/platform_thread.h"
+@@ -20,6 +21,9 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
base::ThreadType thread_type) {
DCHECK(CurrentlyOnProcessLauncherTaskRunner());
@@ -10,7 +18,7 @@
bool ns_pid_supported = false;
pid_t peer_tid =
base::FindThreadID(peer_pid, ns_tid.raw(), &ns_pid_supported);
-@@ -41,6 +44,7 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
+@@ -42,6 +46,7 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
base::PlatformThread::SetThreadType(peer_pid,
base::PlatformThreadId(peer_tid),
thread_type, base::IsViaIPC(true));
@@ -18,7 +26,7 @@
}
} // namespace
-@@ -69,7 +73,7 @@ void ChildThreadTypeSwitcher::SetPid(base::ProcessId c
+@@ -70,7 +75,7 @@ void ChildThreadTypeSwitcher::SetPid(base::ProcessId c
}
}
diff --git a/www/ungoogled-chromium/files/patch-content_browser_compositor_viz__process__transport__factory.cc b/www/ungoogled-chromium/files/patch-content_browser_compositor_viz__process__transport__factory.cc
index 06172f1f158a..63d2475211dc 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_compositor_viz__process__transport__factory.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_compositor_viz__process__transport__factory.cc
@@ -1,6 +1,6 @@
---- content/browser/compositor/viz_process_transport_factory.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/compositor/viz_process_transport_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/compositor/viz_process_transport_factory.cc
-@@ -105,7 +105,7 @@ class HostDisplayClient : public viz::HostDisplayClien
+@@ -103,7 +103,7 @@ class HostDisplayClient : public viz::HostDisplayClien
HostDisplayClient& operator=(const HostDisplayClient&) = delete;
// viz::HostDisplayClient:
diff --git a/www/ungoogled-chromium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc b/www/ungoogled-chromium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc
index 241b06784d6c..940be842bd58 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_devtools_devtools__frontend__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/devtools/devtools_frontend_host_impl.cc.orig 2025-02-20 09:59:21 UTC
+--- content/browser/devtools/devtools_frontend_host_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/devtools/devtools_frontend_host_impl.cc
-@@ -24,7 +24,7 @@
+@@ -25,7 +25,7 @@
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"
#include "ui/base/webui/resource_path.h"
@@ -9,7 +9,7 @@
#include "components/crash/content/browser/error_reporting/javascript_error_report.h" // nogncheck
#include "components/crash/content/browser/error_reporting/js_error_report_processor.h" // nogncheck
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -36,7 +36,7 @@ const char kCompatibilityScriptSourceURL[] =
+@@ -37,7 +37,7 @@ const char kCompatibilityScriptSourceURL[] =
"\n//# "
"sourceURL=devtools://devtools/bundled/devtools_compatibility.js";
@@ -18,7 +18,7 @@
// Remove the pieces of the URL we don't want to send back with the error
// reports. In particular, do not send query or fragments as those can have
// privacy-sensitive information in them.
-@@ -106,7 +106,7 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl(
+@@ -107,7 +107,7 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl(
const HandleMessageCallback& handle_message_callback)
: web_contents_(WebContents::FromRenderFrameHost(frame_host)),
handle_message_callback_(handle_message_callback) {
@@ -27,7 +27,7 @@
Observe(web_contents_);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
mojo::AssociatedRemote<blink::mojom::DevToolsFrontend> frontend;
-@@ -131,7 +131,7 @@ void DevToolsFrontendHostImpl::DispatchEmbedderMessage
+@@ -132,7 +132,7 @@ void DevToolsFrontendHostImpl::DispatchEmbedderMessage
handle_message_callback_.Run(std::move(message));
}
diff --git a/www/ungoogled-chromium/files/patch-content_browser_gpu_compositor__util.cc b/www/ungoogled-chromium/files/patch-content_browser_gpu_compositor__util.cc
index 5a93489ed499..1ecbf220c883 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_gpu_compositor__util.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_gpu_compositor__util.cc
@@ -1,6 +1,6 @@
---- content/browser/gpu/compositor_util.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/gpu/compositor_util.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/gpu/compositor_util.cc
-@@ -142,7 +142,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
+@@ -143,7 +143,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
"video_decode",
SafeGetFeatureStatus(
gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
@@ -9,7 +9,7 @@
!base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) ||
#endif // BUILDFLAG(IS_LINUX)
command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)),
-@@ -154,7 +154,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
+@@ -155,7 +155,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
"video_encode",
SafeGetFeatureStatus(
gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE,
diff --git a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl.h b/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl.h
index 93de1465289c..27776b92916d 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl.h
+++ b/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl.h
@@ -1,11 +1,11 @@
---- content/browser/gpu/gpu_data_manager_impl.h.orig 2025-05-06 12:23:00 UTC
+--- content/browser/gpu/gpu_data_manager_impl.h.orig 2025-09-10 13:22:16 UTC
+++ content/browser/gpu/gpu_data_manager_impl.h
-@@ -225,7 +225,7 @@ class CONTENT_EXPORT GpuDataManagerImpl : public GpuDa
+@@ -224,7 +224,7 @@ class CONTENT_EXPORT GpuDataManagerImpl : public GpuDa
void OnDisplayMetricsChanged(const display::Display& display,
uint32_t changed_metrics) override;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool IsGpuMemoryBufferNV12Supported();
- void SetGpuMemoryBufferNV12Supported(bool supported);
#endif // BUILDFLAG(IS_LINUX)
+
diff --git a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc b/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
index 738ad34633bd..0ff79478a929 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
@@ -1,11 +1,11 @@
---- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-05-31 17:16:41 UTC
+--- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/gpu/gpu_data_manager_impl_private.cc
-@@ -1697,7 +1697,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode(
+@@ -1705,7 +1705,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode(
UMA_HISTOGRAM_ENUMERATION("GPU.CompositingMode", compositing_mode);
}
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool GpuDataManagerImplPrivate::IsGpuMemoryBufferNV12Supported() {
- return is_gpu_memory_buffer_NV12_supported_;
+ return gpu_extra_info_.is_gmb_nv12_supported;
}
diff --git a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h b/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
index f3db2ccc056d..1a7e4764430a 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
+++ b/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
@@ -1,4 +1,4 @@
---- content/browser/gpu/gpu_data_manager_impl_private.h.orig 2025-05-06 12:23:00 UTC
+--- content/browser/gpu/gpu_data_manager_impl_private.h.orig 2025-09-10 13:22:16 UTC
+++ content/browser/gpu/gpu_data_manager_impl_private.h
@@ -149,7 +149,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
void OnDisplayMetricsChanged(const display::Display& display,
@@ -7,9 +7,9 @@
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool IsGpuMemoryBufferNV12Supported();
- void SetGpuMemoryBufferNV12Supported(bool supported);
#endif // BUILDFLAG(IS_LINUX)
-@@ -313,7 +313,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
+
+@@ -312,7 +312,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
bool application_is_visible_ = true;
bool disable_gpu_compositing_ = false;
diff --git a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc b/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
deleted file mode 100644
index d6f194cd7aeb..000000000000
--- a/www/ungoogled-chromium/files/patch-content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- content/browser/gpu/gpu_memory_buffer_manager_singleton.cc.orig 2025-01-25 09:34:31 UTC
-+++ content/browser/gpu/gpu_memory_buffer_manager_singleton.cc
-@@ -46,7 +46,7 @@ scoped_refptr<base::SingleThreadTaskRunner> GetTaskRun
- #endif
- }
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- bool IsGpuMemoryBufferNV12Supported() {
- static bool is_computed = false;
- static bool supported = false;
-@@ -111,7 +111,7 @@ void GpuMemoryBufferManagerSingleton::RemoveObserver(
- }
-
- void GpuMemoryBufferManagerSingleton::OnGpuExtraInfoUpdate() {
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Dynamic check whether the NV12 format is supported as it may be
- // inconsistent between the system GBM (Generic Buffer Management) and
- // chromium miniGBM.
diff --git a/www/ungoogled-chromium/files/patch-content_browser_network__service__instance__impl.cc b/www/ungoogled-chromium/files/patch-content_browser_network__service__instance__impl.cc
index d8a2c201ce0b..a27b03f9c1f8 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_network__service__instance__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_network__service__instance__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/network_service_instance_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- content/browser/network_service_instance_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/network_service_instance_impl.cc
-@@ -85,7 +85,7 @@
+@@ -87,7 +87,7 @@
#include "content/browser/network/network_service_process_tracker_win.h"
#endif
@@ -9,7 +9,7 @@
#include "content/browser/system_dns_resolution/system_dns_resolver.h"
#include "services/network/public/mojom/system_dns_resolution.mojom-forward.h"
#endif
-@@ -343,7 +343,7 @@ void CreateInProcessNetworkService(
+@@ -327,7 +327,7 @@ void CreateInProcessNetworkService(
std::move(receiver)));
}
@@ -18,7 +18,7 @@
// Runs a self-owned SystemDnsResolverMojoImpl. This is meant to run on a
// high-priority thread pool.
void RunSystemDnsResolverOnThreadPool(
-@@ -411,7 +411,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS
+@@ -394,7 +394,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS
}
#endif // BUILDFLAG(IS_POSIX)
diff --git a/www/ungoogled-chromium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc b/www/ungoogled-chromium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc
deleted file mode 100644
index a6e4517fa15b..000000000000
--- a/www/ungoogled-chromium/files/patch-content_browser_ppapi__plugin__process__host__receiver__bindings.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- content/browser/ppapi_plugin_process_host_receiver_bindings.cc.orig 2022-10-01 07:40:07 UTC
-+++ content/browser/ppapi_plugin_process_host_receiver_bindings.cc
-@@ -8,7 +8,7 @@
-
- #include "build/build_config.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
- #include "content/browser/font_service.h" // nogncheck
- #endif
-@@ -17,7 +17,7 @@ namespace content {
-
- void PpapiPluginProcessHost::BindHostReceiver(
- mojo::GenericPendingReceiver receiver) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (auto font_receiver = receiver.As<font_service::mojom::FontService>())
- ConnectToFontService(std::move(font_receiver));
- #endif
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_delegated__frame__host.cc b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_delegated__frame__host.cc
index cdf547f3c0a4..d31c4528d064 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_delegated__frame__host.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_delegated__frame__host.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/delegated_frame_host.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/renderer_host/delegated_frame_host.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/delegated_frame_host.cc
-@@ -333,7 +333,7 @@ void DelegatedFrameHost::EmbedSurface(
+@@ -334,7 +334,7 @@ void DelegatedFrameHost::EmbedSurface(
if (!primary_surface_id ||
primary_surface_id->local_surface_id() != local_surface_id_) {
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc
index f5cf6dc6ba3f..78bd3334d03c 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_media_service__video__capture__device__launcher.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/media/service_video_capture_device_launcher.cc.orig 2025-03-09 21:38:10 UTC
+--- content/browser/renderer_host/media/service_video_capture_device_launcher.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/media/service_video_capture_device_launcher.cc
-@@ -26,7 +26,7 @@
+@@ -29,7 +29,7 @@
#include "media/base/media_switches.h"
#endif
@@ -9,7 +9,7 @@
#include "content/browser/gpu/gpu_data_manager_impl.h"
#endif
-@@ -183,7 +183,7 @@ void ServiceVideoCaptureDeviceLauncher::LaunchDeviceAs
+@@ -188,7 +188,7 @@ void ServiceVideoCaptureDeviceLauncher::LaunchDeviceAs
}
#else
if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled()) {
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
index a89c7ca96337..25350e61f935 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/render_process_host_impl.cc
-@@ -223,7 +223,7 @@
+@@ -225,7 +225,7 @@
#include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h"
#endif
@@ -9,7 +9,7 @@
#include <sys/resource.h>
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
-@@ -1121,7 +1121,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
+@@ -1115,7 +1115,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
// to indicate failure and std::numeric_limits<size_t>::max() to indicate
// unlimited.
size_t GetPlatformProcessLimit() {
@@ -18,7 +18,7 @@
struct rlimit limit;
if (getrlimit(RLIMIT_NPROC, &limit) != 0)
return kUnknownPlatformProcessLimit;
-@@ -1328,7 +1328,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost
+@@ -1322,7 +1322,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost
void RenderProcessHostImpl::IOThreadHostImpl::SetPid(
base::ProcessId child_pid) {
@@ -27,7 +27,7 @@
child_thread_type_switcher_.SetPid(child_pid);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
}
-@@ -3409,7 +3409,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
+@@ -3417,7 +3417,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
base::TimeTicks::UnixEpoch().since_origin().InMicroseconds()));
}
@@ -36,15 +36,15 @@
// Append `kDisableVideoCaptureUseGpuMemoryBuffer` flag if there is no support
// for NV12 GPU memory buffer.
if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled() &&
-@@ -3464,6 +3464,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
+@@ -3473,6 +3473,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
+ switches::kDisableSkiaRuntimeOpts,
switches::kDisableSpeechAPI,
switches::kDisableThreadedCompositing,
- switches::kDisableTouchDragDrop,
+ switches::kDisableUnveil,
switches::kDisableV8IdleTasks,
switches::kDisableVideoCaptureUseGpuMemoryBuffer,
switches::kDisableWebGLImageChromium,
-@@ -5317,7 +5318,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr
+@@ -5354,7 +5355,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr
// - Win: https://crbug.com/707022 .
uint64_t total_size = 0;
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.h b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.h
index aa3ebc6ef1bf..054a4be88a0e 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.h
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.h
@@ -1,4 +1,4 @@
---- content/browser/renderer_host/render_process_host_impl.h.orig 2025-05-31 17:16:41 UTC
+--- content/browser/renderer_host/render_process_host_impl.h.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/render_process_host_impl.h
@@ -101,7 +101,7 @@
#include "media/fuchsia_media_codec_provider_impl.h"
@@ -9,16 +9,16 @@
#include "content/browser/child_thread_type_switcher_linux.h"
#include "media/mojo/mojom/video_encode_accelerator.mojom.h"
#endif
-@@ -985,7 +985,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
- std::unique_ptr<service_manager::BinderRegistry> binders_;
- mojo::Receiver<mojom::ChildProcessHost> receiver_{this};
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+@@ -997,7 +997,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
mojo::Remote<media::mojom::VideoEncodeAcceleratorProviderFactory>
video_encode_accelerator_factory_remote_;
+ #endif
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
ChildThreadTypeSwitcher child_thread_type_switcher_;
-@@ -1230,7 +1230,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
+ #endif
+ };
+@@ -1240,7 +1240,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
// if the request isn't handled on the IO thread.
void OnBindHostReceiver(mojo::GenericPendingReceiver receiver);
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc
index b5c2e80966c2..01da297f8d3d 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-05-31 17:16:41 UTC
+--- content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc
-@@ -50,7 +50,7 @@
+@@ -52,7 +52,7 @@
#include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h"
#endif
@@ -8,8 +8,8 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
#include "content/browser/font_service.h" // nogncheck
- #include "content/browser/media/video_encode_accelerator_provider_launcher.h"
-@@ -332,7 +332,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost
+ #endif
+@@ -348,7 +348,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost
}
#endif
@@ -18,3 +18,12 @@
if (auto font_receiver = receiver.As<font_service::mojom::FontService>()) {
ConnectToFontService(std::move(font_receiver));
return;
+@@ -376,7 +376,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost
+ }
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (auto r = receiver.As<mojom::ThreadTypeSwitcher>()) {
+ child_thread_type_switcher_.Bind(std::move(r));
+ return;
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
index 68e449399c1c..ba71c3664ab6 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_view_host_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- content/browser/renderer_host/render_view_host_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/render_view_host_impl.cc
-@@ -273,7 +273,7 @@ void RenderViewHostImpl::GetPlatformSpecificPrefs(
+@@ -275,7 +275,7 @@ void RenderViewHostImpl::GetPlatformSpecificPrefs(
display::win::GetScreenWin()->GetSystemMetricsInDIP(SM_CYVSCROLL);
prefs->arrow_bitmap_width_horizontal_scroll_bar_in_dips =
display::win::GetScreenWin()->GetSystemMetricsInDIP(SM_CXHSCROLL);
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
index e4ac9a5f760e..56aa2fc41428 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/render_widget_host_view_aura.cc
-@@ -121,7 +121,7 @@
+@@ -122,7 +122,7 @@
#include "ui/gfx/gdi_util.h"
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
#include "ui/accessibility/platform/browser_accessibility_auralinux.h"
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/text_input_flags.h"
-@@ -478,7 +478,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge
+@@ -479,7 +479,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge
return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot())
->GetCOM();
@@ -18,7 +18,7 @@
ui::BrowserAccessibilityManager* manager =
host()->GetOrCreateRootBrowserAccessibilityManager();
if (manager && manager->GetBrowserAccessibilityRoot())
-@@ -1882,7 +1882,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() {
+@@ -1883,7 +1883,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() {
return host() && host()->delegate() && host()->delegate()->ShouldDoLearning();
}
@@ -27,7 +27,7 @@
bool RenderWidgetHostViewAura::SetCompositionFromExistingText(
const gfx::Range& range,
const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) {
-@@ -2858,7 +2858,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() {
+@@ -2866,7 +2866,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() {
}
bool RenderWidgetHostViewAura::NeedsMouseCapture() {
@@ -36,7 +36,7 @@
return NeedsInputGrab();
#else
return false;
-@@ -3042,7 +3042,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit
+@@ -3050,7 +3050,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit
if (!target_host)
return;
diff --git a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
index 5922176c8e1e..d6402eb11e7b 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2024-08-26 14:40:28 UTC
+--- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/renderer_host/render_widget_host_view_event_handler.cc
-@@ -602,7 +602,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand
+@@ -618,7 +618,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand
if (event->type() == ui::EventType::kMouseExited) {
if (mouse_locked || selection_popup)
return false;
diff --git a/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__process__host.cc b/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__process__host.cc
index f90fa1cf27cc..dd08998729d5 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__process__host.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__process__host.cc
@@ -1,4 +1,4 @@
---- content/browser/service_host/utility_process_host.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/service_host/utility_process_host.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/service_host/utility_process_host.cc
@@ -68,7 +68,7 @@
#include "content/browser/v8_snapshot_files.h"
@@ -9,7 +9,7 @@
#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/pickle.h"
-@@ -96,7 +96,7 @@ namespace content {
+@@ -97,7 +97,7 @@ namespace content {
namespace {
@@ -18,21 +18,21 @@
base::ScopedFD PassNetworkContextParentDirs(
std::vector<base::FilePath> network_context_parent_dirs) {
base::Pickle pickle;
-@@ -427,7 +427,7 @@ bool UtilityProcessHost::StartProcess() {
- file_data_->files_to_preload.merge(GetV8SnapshotFilesToPreload(*cmd_line));
+@@ -494,7 +494,7 @@ bool UtilityProcessHost::StartProcess() {
+ GetV8SnapshotFilesToPreload(*cmd_line));
#endif // BUILDFLAG(IS_POSIX)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // The network service should have access to the parent directories
- // necessary for its usage.
- if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) {
-@@ -444,7 +444,7 @@ bool UtilityProcessHost::StartProcess() {
- if (metrics_name_ == video_capture::mojom::VideoCaptureService::Name_) {
- bool pass_gpu_buffer_flag =
- switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
+ // The network service should have access to the parent directories
+ // necessary for its usage.
+ if (options_.sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) {
+@@ -512,7 +512,7 @@ bool UtilityProcessHost::StartProcess() {
+ video_capture::mojom::VideoCaptureService::Name_) {
+ bool pass_gpu_buffer_flag =
+ switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Check if NV12 GPU memory buffer supported at the same time.
- pass_gpu_buffer_flag =
- pass_gpu_buffer_flag &&
+ // Check if NV12 GPU memory buffer supported at the same time.
+ pass_gpu_buffer_flag =
+ pass_gpu_buffer_flag &&
diff --git a/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc b/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc
index 60cfaa1eb9fe..50dbc658f2a4 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_service__host_utility__sandbox__delegate.cc
@@ -1,15 +1,24 @@
---- content/browser/service_host/utility_sandbox_delegate.cc.orig 2025-04-15 08:30:07 UTC
+--- content/browser/service_host/utility_sandbox_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/service_host/utility_sandbox_delegate.cc
-@@ -77,7 +77,7 @@ UtilitySandboxedProcessLauncherDelegate::
+@@ -28,7 +28,7 @@
+ #include "chromeos/ash/components/assistant/buildflags.h"
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "media/gpu/buildflags.h"
+ #include "media/media_buildflags.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+@@ -79,7 +79,7 @@ UtilitySandboxedProcessLauncherDelegate::
#if BUILDFLAG(IS_FUCHSIA)
sandbox_type_ == sandbox::mojom::Sandbox::kVideoCapture ||
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kShapeDetection ||
+ #if BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -90,14 +90,14 @@ UtilitySandboxedProcessLauncherDelegate::
+@@ -97,14 +97,14 @@ UtilitySandboxedProcessLauncherDelegate::
#endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -27,18 +36,14 @@
sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceTranslation ||
#endif
sandbox_type_ == sandbox::mojom::Sandbox::kAudio ||
-@@ -144,7 +144,7 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe
- // process upon startup.
- if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork ||
- sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceModelExecution ||
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -158,11 +158,11 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe
+@@ -164,15 +164,15 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe
+ #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
#endif // BUILDFLAG(IS_CHROMEOS)
sandbox_type_ == sandbox::mojom::Sandbox::kAudio ||
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kShapeDetection ||
+ #endif
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-content_browser_v8__snapshot__files.cc b/www/ungoogled-chromium/files/patch-content_browser_v8__snapshot__files.cc
index 273da85f6b28..22c8a0067503 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_v8__snapshot__files.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_v8__snapshot__files.cc
@@ -1,6 +1,6 @@
---- content/browser/v8_snapshot_files.cc.orig 2025-05-06 12:23:00 UTC
+--- content/browser/v8_snapshot_files.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/v8_snapshot_files.cc
-@@ -19,7 +19,7 @@ namespace content {
+@@ -35,7 +35,7 @@ void registerContextSnapshotAndroid(
std::map<std::string, std::variant<base::FilePath, base::ScopedFD>>
GetV8SnapshotFilesToPreload(base::CommandLine& process_command_line) {
std::map<std::string, std::variant<base::FilePath, base::ScopedFD>> files;
diff --git a/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc b/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc
index 34bc8a8d0850..34dfefa0a707 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura.cc
@@ -1,6 +1,6 @@
---- content/browser/web_contents/web_contents_view_aura.cc.orig 2025-03-09 21:38:10 UTC
+--- content/browser/web_contents/web_contents_view_aura.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/web_contents/web_contents_view_aura.cc
-@@ -173,7 +173,7 @@ class WebDragSourceAura : public content::WebContentsO
+@@ -175,7 +175,7 @@ class WebDragSourceAura : public content::WebContentsO
raw_ptr<aura::Window> window_;
};
@@ -9,7 +9,7 @@
// Fill out the OSExchangeData with a file contents, synthesizing a name if
// necessary.
void PrepareDragForFileContents(const DropData& drop_data,
-@@ -258,7 +258,7 @@ void PrepareDragData(const DropData& drop_data,
+@@ -260,7 +260,7 @@ void PrepareDragData(const DropData& drop_data,
if (!drop_data.download_metadata.empty())
PrepareDragForDownload(drop_data, provider, web_contents);
#endif
@@ -18,7 +18,7 @@
// We set the file contents before the URL because the URL also sets file
// contents (to a .URL shortcut). We want to prefer file content data over
// a shortcut so we add it first.
-@@ -1327,7 +1327,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent*
+@@ -1326,7 +1326,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent*
// Linux window managers like to handle raise-on-click themselves. If we
// raise-on-click manually, this may override user settings that prevent
// focus-stealing.
diff --git a/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc b/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc
index 8fde5cd4c320..b9a261886bc1 100644
--- a/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-content_browser_web__contents_web__contents__view__aura__unittest.cc
@@ -1,6 +1,6 @@
---- content/browser/web_contents/web_contents_view_aura_unittest.cc.orig 2025-04-15 08:30:07 UTC
+--- content/browser/web_contents/web_contents_view_aura_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ content/browser/web_contents/web_contents_view_aura_unittest.cc
-@@ -40,7 +40,7 @@
+@@ -41,7 +41,7 @@
#include "ui/base/dragdrop/os_exchange_data_provider_win.h"
#endif
@@ -9,7 +9,7 @@
#include "ui/base/x/selection_utils.h"
#include "ui/base/x/x11_os_exchange_data_provider.h"
#include "ui/gfx/x/atom_cache.h"
-@@ -96,7 +96,7 @@ class TestDragDropClient : public aura::client::DragDr
+@@ -97,7 +97,7 @@ class TestDragDropClient : public aura::client::DragDr
drag_drop_data_ = std::move(data);
return DragOperation::kCopy;
}
@@ -18,7 +18,7 @@
void UpdateDragImage(const gfx::ImageSkia& image,
const gfx::Vector2d& offset) override {}
#endif
-@@ -231,7 +231,7 @@ TEST_F(WebContentsViewAuraTest, WebContentsDestroyedDu
+@@ -232,7 +232,7 @@ TEST_F(WebContentsViewAuraTest, WebContentsDestroyedDu
ui::EF_LEFT_MOUSE_BUTTON, 0);
ui::EventHandler* event_handler = GetView();
event_handler->OnMouseEvent(&mouse_event);
@@ -27,7 +27,7 @@
// The web-content is not activated during mouse-press on Linux.
// See comment in WebContentsViewAura::OnMouseEvent() for more details.
EXPECT_NE(web_contents(), nullptr);
-@@ -297,7 +297,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
+@@ -298,7 +298,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
view->OnDragEntered(event);
ASSERT_NE(nullptr, view->current_drag_data_);
@@ -36,7 +36,7 @@
// By design, Linux implementations return an empty string if file data
// is also present.
EXPECT_TRUE(!view->current_drag_data_->text ||
-@@ -337,7 +337,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
+@@ -338,7 +338,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFiles) {
CheckDropData(view);
@@ -45,7 +45,7 @@
// By design, Linux implementations returns an empty string if file data
// is also present.
EXPECT_TRUE(!drop_complete_data_->drop_data.text ||
-@@ -395,7 +395,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
+@@ -396,7 +396,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
view->OnDragEntered(event);
ASSERT_NE(nullptr, view->current_drag_data_);
@@ -54,7 +54,7 @@
// By design, Linux implementations return an empty string if file data
// is also present.
EXPECT_TRUE(!view->current_drag_data_->text ||
-@@ -427,7 +427,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
+@@ -428,7 +428,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropFilesOri
CheckDropData(view);
@@ -63,7 +63,7 @@
// By design, Linux implementations returns an empty string if file data is
// also present.
EXPECT_TRUE(!drop_complete_data_->drop_data.text ||
-@@ -458,7 +458,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropImageFro
+@@ -459,7 +459,7 @@ TEST_F(WebContentsViewAuraTest, MAYBE_DragDropImageFro
auto data = std::make_unique<ui::OSExchangeData>();
diff --git a/www/ungoogled-chromium/files/patch-content_child_child__process.cc b/www/ungoogled-chromium/files/patch-content_child_child__process.cc
index 3345e5f33128..e05fb356abff 100644
--- a/www/ungoogled-chromium/files/patch-content_child_child__process.cc
+++ b/www/ungoogled-chromium/files/patch-content_child_child__process.cc
@@ -1,6 +1,6 @@
---- content/child/child_process.cc.orig 2025-04-15 08:30:07 UTC
+--- content/child/child_process.cc.orig 2025-09-10 13:22:16 UTC
+++ content/child/child_process.cc
-@@ -31,7 +31,7 @@
+@@ -34,7 +34,7 @@
#include "content/common/android/cpu_time_metrics.h"
#endif
@@ -9,7 +9,7 @@
#include "content/child/sandboxed_process_thread_type_handler.h"
#endif
-@@ -177,7 +177,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th
+@@ -192,7 +192,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th
main_thread_.reset(thread);
}
diff --git a/www/ungoogled-chromium/files/patch-content_common_BUILD.gn b/www/ungoogled-chromium/files/patch-content_common_BUILD.gn
index f301e9df9341..ba2b0ebfa81c 100644
--- a/www/ungoogled-chromium/files/patch-content_common_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-content_common_BUILD.gn
@@ -1,6 +1,6 @@
---- content/common/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- content/common/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ content/common/BUILD.gn
-@@ -382,19 +382,28 @@ source_set("common") {
+@@ -367,19 +367,28 @@ source_set("common") {
}
if (is_linux || is_chromeos) {
diff --git a/www/ungoogled-chromium/files/patch-content_common_features.cc b/www/ungoogled-chromium/files/patch-content_common_features.cc
index 3b19f33cc587..246cf0bf6ef0 100644
--- a/www/ungoogled-chromium/files/patch-content_common_features.cc
+++ b/www/ungoogled-chromium/files/patch-content_common_features.cc
@@ -1,6 +1,6 @@
---- content/common/features.cc.orig 2025-05-31 17:16:41 UTC
+--- content/common/features.cc.orig 2025-09-10 13:22:16 UTC
+++ content/common/features.cc
-@@ -163,7 +163,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn,
+@@ -170,7 +170,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn,
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables error reporting for JS errors inside DevTools frontend host
diff --git a/www/ungoogled-chromium/files/patch-content_common_features.h b/www/ungoogled-chromium/files/patch-content_common_features.h
index 1f26ffc7970d..9fbf3b2b787b 100644
--- a/www/ungoogled-chromium/files/patch-content_common_features.h
+++ b/www/ungoogled-chromium/files/patch-content_common_features.h
@@ -1,6 +1,6 @@
---- content/common/features.h.orig 2025-05-31 17:16:41 UTC
+--- content/common/features.h.orig 2025-09-10 13:22:16 UTC
+++ content/common/features.h
-@@ -59,7 +59,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginEn
+@@ -60,7 +60,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginEn
CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginTracking);
CONTENT_EXPORT BASE_DECLARE_FEATURE(kCriticalClientHint);
CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNegotiation);
@@ -8,4 +8,4 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableDevToolsJsErrorReporting);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kEmbeddingRequiresOptIn);
+ CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnforceSameDocumentOriginInvariants);
diff --git a/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc b/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc
index a00e00a051fd..d498297f83b1 100644
--- a/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc
+++ b/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__bsd.cc
@@ -1,4 +1,4 @@
---- content/common/gpu_pre_sandbox_hook_bsd.cc.orig 2024-04-23 07:42:17 UTC
+--- content/common/gpu_pre_sandbox_hook_bsd.cc.orig 2025-09-10 13:22:16 UTC
+++ content/common/gpu_pre_sandbox_hook_bsd.cc
@@ -0,0 +1,68 @@
+// Copyright 2023 The Chromium Authors
@@ -49,6 +49,8 @@
+ }
+}
+
++} // namespace
++
+bool LoadLibrariesForGpu(
+ const sandbox::policy::SandboxSeccompBPF::Options& options) {
+ LoadVulkanLibraries();
@@ -56,8 +58,6 @@
+ return true;
+}
+
-+} // namespace
-+
+bool GpuPreSandboxHook(sandbox::policy::SandboxLinux::Options options) {
+ if (!LoadLibrariesForGpu(options))
+ return false;
diff --git a/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h b/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h
index a72daae8156e..76c7ae308e0c 100644
--- a/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h
+++ b/www/ungoogled-chromium/files/patch-content_common_gpu__pre__sandbox__hook__linux.h
@@ -1,16 +1,18 @@
---- content/common/gpu_pre_sandbox_hook_linux.h.orig 2024-04-23 07:42:17 UTC
+--- content/common/gpu_pre_sandbox_hook_linux.h.orig 2025-09-10 13:22:16 UTC
+++ content/common/gpu_pre_sandbox_hook_linux.h
-@@ -5,8 +5,13 @@
- #ifndef CONTENT_COMMON_GPU_PRE_SANDBOX_HOOK_LINUX_H_
- #define CONTENT_COMMON_GPU_PRE_SANDBOX_HOOK_LINUX_H_
+@@ -7,7 +7,15 @@
+
+ #include <vector>
+#include "build/build_config.h"
- #include "base/component_export.h"
++
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
++#include "sandbox/linux/syscall_broker/broker_command.h"
++#include "sandbox/linux/syscall_broker/broker_file_permission.h"
+#else
#include "sandbox/policy/linux/sandbox_linux.h"
+#endif
- namespace content {
-
+ namespace sandbox::syscall_broker {
+ class BrokerFilePermission;
diff --git a/www/ungoogled-chromium/files/patch-content_gpu_gpu__child__thread.cc b/www/ungoogled-chromium/files/patch-content_gpu_gpu__child__thread.cc
index e73a0130eb81..d6eda94fe215 100644
--- a/www/ungoogled-chromium/files/patch-content_gpu_gpu__child__thread.cc
+++ b/www/ungoogled-chromium/files/patch-content_gpu_gpu__child__thread.cc
@@ -1,6 +1,6 @@
---- content/gpu/gpu_child_thread.cc.orig 2025-02-20 09:59:21 UTC
+--- content/gpu/gpu_child_thread.cc.orig 2025-09-10 13:22:16 UTC
+++ content/gpu/gpu_child_thread.cc
-@@ -57,7 +57,7 @@
+@@ -56,7 +56,7 @@
#include "third_party/skia/include/ports/SkFontConfigInterface.h"
#endif
@@ -9,7 +9,7 @@
#include "content/child/sandboxed_process_thread_type_handler.h"
#endif
-@@ -147,7 +147,8 @@ void GpuChildThread::Init(const base::TimeTicks& proce
+@@ -146,7 +146,8 @@ void GpuChildThread::Init(const base::TimeTicks& proce
viz_main_.gpu_service()->set_start_time(process_start_time);
diff --git a/www/ungoogled-chromium/files/patch-content_gpu_gpu__main.cc b/www/ungoogled-chromium/files/patch-content_gpu_gpu__main.cc
index 1f139c1f642c..86b1f58e8ed4 100644
--- a/www/ungoogled-chromium/files/patch-content_gpu_gpu__main.cc
+++ b/www/ungoogled-chromium/files/patch-content_gpu_gpu__main.cc
@@ -1,6 +1,6 @@
---- content/gpu/gpu_main.cc.orig 2025-05-31 17:16:41 UTC
+--- content/gpu/gpu_main.cc.orig 2025-09-10 13:22:16 UTC
+++ content/gpu/gpu_main.cc
-@@ -95,10 +95,14 @@
+@@ -107,10 +107,14 @@
#include "sandbox/win/src/sandbox.h"
#endif
@@ -16,7 +16,7 @@
#include "sandbox/policy/sandbox_type.h"
#endif
-@@ -116,7 +120,7 @@ namespace content {
+@@ -128,7 +132,7 @@ namespace content {
namespace {
@@ -25,16 +25,16 @@
bool StartSandboxLinux(gpu::GpuWatchdogThread*,
const gpu::GPUInfo*,
const gpu::GpuPreferences&);
-@@ -176,7 +180,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel
+@@ -190,7 +194,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) override {
- GPU_STARTUP_TRACE_EVENT("gpu_main::EnsureSandboxInitialized");
+ TRACE_EVENT("gpu,startup", "gpu_main::EnsureSandboxInitialized");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs);
#elif BUILDFLAG(IS_WIN)
return StartSandboxWindows(sandbox_info_);
-@@ -289,7 +293,7 @@ int GpuMain(MainFunctionParams parameters) {
+@@ -306,7 +310,7 @@ int GpuMain(MainFunctionParams parameters) {
std::make_unique<base::SingleThreadTaskExecutor>(
gpu_preferences.message_pump_type);
}
@@ -43,7 +43,7 @@
#error "Unsupported Linux platform."
#elif BUILDFLAG(IS_MAC)
// Cross-process CoreAnimation requires a CFRunLoop to function at all, and
-@@ -315,7 +319,8 @@ int GpuMain(MainFunctionParams parameters) {
+@@ -331,7 +335,8 @@ int GpuMain(MainFunctionParams parameters) {
base::PlatformThread::SetName("CrGpuMain");
mojo::InterfaceEndpointClient::SetThreadNameSuffixForMetrics("GpuMain");
@@ -53,7 +53,7 @@
// Thread type delegate of the process should be registered before
// thread type change below for the main thread and for thread pool in
// ChildProcess constructor.
-@@ -448,7 +453,7 @@ int GpuMain(MainFunctionParams parameters) {
+@@ -479,7 +484,7 @@ int GpuMain(MainFunctionParams parameters) {
namespace {
@@ -62,7 +62,7 @@
bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread,
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) {
-@@ -488,7 +493,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo
+@@ -527,7 +532,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo
sandbox_options.accelerated_video_encode_enabled =
!gpu_prefs.disable_accelerated_video_encode;
diff --git a/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc b/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc
deleted file mode 100644
index 28ea0f00789e..000000000000
--- a/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- content/ppapi_plugin/ppapi_blink_platform_impl.cc.orig 2024-02-25 20:22:18 UTC
-+++ content/ppapi_plugin/ppapi_blink_platform_impl.cc
-@@ -21,7 +21,7 @@
-
- #if BUILDFLAG(IS_MAC)
- #include "content/child/child_process_sandbox_support_impl_mac.h"
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "content/child/child_process_sandbox_support_impl_linux.h"
- #include "mojo/public/cpp/bindings/pending_remote.h"
- #endif
-@@ -36,7 +36,7 @@ typedef struct CGFont* CGFontRef;
- namespace content {
-
- PpapiBlinkPlatformImpl::PpapiBlinkPlatformImpl() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- mojo::PendingRemote<font_service::mojom::FontService> font_service;
- ChildThread::Get()->BindHostReceiver(
- font_service.InitWithNewPipeAndPassReceiver());
-@@ -55,7 +55,7 @@ PpapiBlinkPlatformImpl::~PpapiBlinkPlatformImpl() {
- void PpapiBlinkPlatformImpl::Shutdown() {}
-
- blink::WebSandboxSupport* PpapiBlinkPlatformImpl::GetSandboxSupport() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- return sandbox_support_.get();
- #else
- return nullptr;
diff --git a/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h b/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h
deleted file mode 100644
index 2db6b8de7444..000000000000
--- a/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__blink__platform__impl.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- content/ppapi_plugin/ppapi_blink_platform_impl.h.orig 2024-07-31 14:19:23 UTC
-+++ content/ppapi_plugin/ppapi_blink_platform_impl.h
-@@ -36,7 +36,7 @@ class PpapiBlinkPlatformImpl : public BlinkPlatformImp
- blink::WebString DefaultLocale() override;
-
- private:
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- std::unique_ptr<blink::WebSandboxSupport> sandbox_support_;
- #endif
- };
diff --git a/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc b/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc
deleted file mode 100644
index 66ed08720485..000000000000
--- a/www/ungoogled-chromium/files/patch-content_ppapi__plugin_ppapi__plugin__main.cc
+++ /dev/null
@@ -1,23 +0,0 @@
---- content/ppapi_plugin/ppapi_plugin_main.cc.orig 2025-03-09 21:38:10 UTC
-+++ content/ppapi_plugin/ppapi_plugin_main.cc
-@@ -52,6 +52,11 @@
- #include "gin/v8_initializer.h"
- #endif
-
-+#if BUILDFLAG(IS_BSD)
-+#include "sandbox/policy/sandbox.h"
-+#include "sandbox/policy/sandbox_type.h"
-+#endif
-+
- #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID)
- #include <stdlib.h>
- #endif
-@@ -139,7 +144,7 @@ int PpapiPluginMain(MainFunctionParams parameters) {
- gin::V8Initializer::LoadV8Snapshot();
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD)
- sandbox::policy::SandboxLinux::GetInstance()->InitializeSandbox(
- sandbox::policy::SandboxTypeFromCommandLine(command_line),
- sandbox::policy::SandboxLinux::PreSandboxHook(),
diff --git a/www/ungoogled-chromium/files/patch-content_public_common_content__features.cc b/www/ungoogled-chromium/files/patch-content_public_common_content__features.cc
index 336c83abc060..15b469e028f7 100644
--- a/www/ungoogled-chromium/files/patch-content_public_common_content__features.cc
+++ b/www/ungoogled-chromium/files/patch-content_public_common_content__features.cc
@@ -1,6 +1,6 @@
---- content/public/common/content_features.cc.orig 2025-05-31 17:16:41 UTC
+--- content/public/common/content_features.cc.orig 2025-09-10 13:22:16 UTC
+++ content/public/common/content_features.cc
-@@ -80,7 +80,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup,
+@@ -103,7 +103,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup,
// Runs the audio service in a separate process.
BASE_FEATURE(kAudioServiceOutOfProcess,
"AudioServiceOutOfProcess",
@@ -9,7 +9,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -1275,9 +1275,9 @@ BASE_FEATURE(kWebAssemblyTiering,
+@@ -1394,9 +1394,9 @@ BASE_FEATURE(kWebAssemblyTiering,
BASE_FEATURE(kWebAssemblyTrapHandler,
"WebAssemblyTrapHandler",
#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
@@ -21,7 +21,7 @@
defined(ARCH_CPU_ARM64))
base::FEATURE_ENABLED_BY_DEFAULT
#else
-@@ -1334,7 +1334,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExtended,
+@@ -1453,7 +1453,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExtended,
// Controls whether the WebUSB API is enabled:
// https://wicg.github.io/webusb
@@ -31,5 +31,5 @@
BASE_FEATURE(kWebUsb, "WebUSB", base::FEATURE_ENABLED_BY_DEFAULT);
+#endif
- // Controls whether the WebXR Device API is enabled.
- BASE_FEATURE(kWebXr, "WebXR", base::FEATURE_ENABLED_BY_DEFAULT);
+ // Apply `PrefetchPriority::kHighest` for Webview Prefetch API.
+ BASE_FEATURE(kWebViewPrefetchHighestPrefetchPriority,
diff --git a/www/ungoogled-chromium/files/patch-content_public_common_content__switches.cc b/www/ungoogled-chromium/files/patch-content_public_common_content__switches.cc
index fa7d88f89f89..06696d262c5f 100644
--- a/www/ungoogled-chromium/files/patch-content_public_common_content__switches.cc
+++ b/www/ungoogled-chromium/files/patch-content_public_common_content__switches.cc
@@ -1,6 +1,6 @@
---- content/public/common/content_switches.cc.orig 2025-05-31 17:16:41 UTC
+--- content/public/common/content_switches.cc.orig 2025-09-10 13:22:16 UTC
+++ content/public/common/content_switches.cc
-@@ -345,6 +345,8 @@ const char kEnableIsolatedWebAppsInRenderer[] =
+@@ -347,6 +347,8 @@ const char kEnableIsolatedWebAppsInRenderer[] =
// builds.
const char kEnableLogging[] = "enable-logging";
@@ -9,7 +9,7 @@
// Enables the type, downlinkMax attributes of the NetInfo API. Also, enables
// triggering of change attribute of the NetInfo API when there is a change in
// the connection type.
-@@ -952,7 +954,7 @@ const char kPreventResizingContentsForTesting[] =
+@@ -946,7 +948,7 @@ const char kPreventResizingContentsForTesting[] =
"prevent-resizing-contents-for-testing";
#endif
diff --git a/www/ungoogled-chromium/files/patch-content_public_common_content__switches.h b/www/ungoogled-chromium/files/patch-content_public_common_content__switches.h
index db3bb84483e1..f587cb3c657d 100644
--- a/www/ungoogled-chromium/files/patch-content_public_common_content__switches.h
+++ b/www/ungoogled-chromium/files/patch-content_public_common_content__switches.h
@@ -1,4 +1,4 @@
---- content/public/common/content_switches.h.orig 2025-05-31 17:16:41 UTC
+--- content/public/common/content_switches.h.orig 2025-09-10 13:22:16 UTC
+++ content/public/common/content_switches.h
@@ -108,6 +108,7 @@ CONTENT_EXPORT extern const char kEnableGpuMemoryBuffe
CONTENT_EXPORT extern const char kEnableIsolatedWebAppsInRenderer[];
@@ -8,7 +8,7 @@
CONTENT_EXPORT extern const char kEnableNetworkInformationDownlinkMax[];
CONTENT_EXPORT extern const char kEnableCanvas2DLayers[];
CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[];
-@@ -259,7 +260,7 @@ CONTENT_EXPORT extern const char kRendererWaitForJavaD
+@@ -257,7 +258,7 @@ CONTENT_EXPORT extern const char kRendererWaitForJavaD
CONTENT_EXPORT extern const char kPreventResizingContentsForTesting[];
#endif
diff --git a/www/ungoogled-chromium/files/patch-content_renderer_render__thread__impl.cc b/www/ungoogled-chromium/files/patch-content_renderer_render__thread__impl.cc
index dc2fdf143513..9f5d95417a9d 100644
--- a/www/ungoogled-chromium/files/patch-content_renderer_render__thread__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_renderer_render__thread__impl.cc
@@ -1,6 +1,6 @@
---- content/renderer/render_thread_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- content/renderer/render_thread_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/renderer/render_thread_impl.cc
-@@ -207,6 +207,8 @@
+@@ -203,6 +203,8 @@
#if BUILDFLAG(IS_APPLE)
#include <malloc/malloc.h>
@@ -9,7 +9,7 @@
#else
#include <malloc.h>
#endif
-@@ -1069,7 +1071,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
+@@ -1026,7 +1028,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
kGpuStreamIdMedia, kGpuStreamPriorityMedia);
const bool enable_video_decode_accelerator =
@@ -18,7 +18,7 @@
base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) &&
#endif // BUILDFLAG(IS_LINUX)
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode) &&
-@@ -1078,7 +1080,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
+@@ -1035,7 +1037,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl:
gpu::kGpuFeatureStatusEnabled);
const bool enable_video_encode_accelerator =
@@ -27,7 +27,7 @@
base::FeatureList::IsEnabled(media::kAcceleratedVideoEncodeLinux) &&
#else
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoEncode) &&
-@@ -1870,7 +1872,7 @@ RenderThreadImpl::CreateMediaMojoCodecFactory(
+@@ -1809,7 +1811,7 @@ RenderThreadImpl::CreateMediaMojoCodecFactory(
bool enable_video_encode_accelerator) {
mojo::PendingRemote<media::mojom::VideoEncodeAcceleratorProvider>
vea_provider;
diff --git a/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc b/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc
index d62bba2a0752..2b4d8fc027be 100644
--- a/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc
+++ b/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc
@@ -1,4 +1,4 @@
---- content/renderer/renderer_blink_platform_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- content/renderer/renderer_blink_platform_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ content/renderer/renderer_blink_platform_impl.cc
@@ -124,7 +124,7 @@
@@ -9,7 +9,7 @@
#include "content/child/child_process_sandbox_support_impl_linux.h"
#include "content/child/sandboxed_process_thread_type_handler.h"
#endif
-@@ -192,13 +192,13 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
+@@ -193,13 +193,13 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
is_locked_to_site_(false),
main_thread_scheduler_(main_thread_scheduler),
next_frame_sink_id_(uint32_t{std::numeric_limits<int32_t>::max()} + 1) {
@@ -25,7 +25,7 @@
mojo::PendingRemote<font_service::mojom::FontService> font_service;
RenderThreadImpl::current()->BindHostReceiver(
font_service.InitWithNewPipeAndPassReceiver());
-@@ -223,7 +223,7 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
+@@ -224,7 +224,7 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl(
}
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -34,7 +34,7 @@
if (sandboxEnabled()) {
#if BUILDFLAG(IS_MAC)
sandbox_support_ = std::make_unique<WebSandboxSupportMac>();
-@@ -296,7 +296,7 @@ RendererBlinkPlatformImpl::GetWebUIBundledCodeCacheRes
+@@ -297,7 +297,7 @@ RendererBlinkPlatformImpl::GetWebUIBundledCodeCacheRes
blink::WebSandboxSupport* RendererBlinkPlatformImpl::GetSandboxSupport() {
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
diff --git a/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.h b/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.h
index 554841fc009c..bd734be2aca0 100644
--- a/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.h
+++ b/www/ungoogled-chromium/files/patch-content_renderer_renderer__blink__platform__impl.h
@@ -1,6 +1,6 @@
---- content/renderer/renderer_blink_platform_impl.h.orig 2025-05-31 17:16:41 UTC
+--- content/renderer/renderer_blink_platform_impl.h.orig 2025-09-10 13:22:16 UTC
+++ content/renderer/renderer_blink_platform_impl.h
-@@ -266,7 +266,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi
+@@ -273,7 +273,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi
const gpu::GPUInfo& gpu_info) const;
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
diff --git a/www/ungoogled-chromium/files/patch-content_shell_BUILD.gn b/www/ungoogled-chromium/files/patch-content_shell_BUILD.gn
index 437d682bebf2..e9dbaa691449 100644
--- a/www/ungoogled-chromium/files/patch-content_shell_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-content_shell_BUILD.gn
@@ -1,6 +1,6 @@
---- content/shell/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- content/shell/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ content/shell/BUILD.gn
-@@ -1107,7 +1107,7 @@ group("content_shell_crash_test") {
+@@ -1098,7 +1098,7 @@ group("content_shell_crash_test") {
if (is_win) {
data_deps += [ "//build/win:copy_cdb_to_output" ]
}
diff --git a/www/ungoogled-chromium/files/patch-content_shell_app_shell__main__delegate.cc b/www/ungoogled-chromium/files/patch-content_shell_app_shell__main__delegate.cc
index 0e6e118a04e8..8b8d25f60da4 100644
--- a/www/ungoogled-chromium/files/patch-content_shell_app_shell__main__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-content_shell_app_shell__main__delegate.cc
@@ -1,6 +1,6 @@
---- content/shell/app/shell_main_delegate.cc.orig 2024-11-16 12:20:41 UTC
+--- content/shell/app/shell_main_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ content/shell/app/shell_main_delegate.cc
-@@ -269,7 +269,7 @@ void ShellMainDelegate::PreSandboxStartup() {
+@@ -289,7 +289,7 @@ void ShellMainDelegate::PreSandboxStartup() {
// Reporting for sub-processes will be initialized in ZygoteForked.
if (process_type != switches::kZygoteProcess) {
crash_reporter::InitializeCrashpad(process_type.empty(), process_type);
diff --git a/www/ungoogled-chromium/files/patch-content_shell_browser_shell__paths.cc b/www/ungoogled-chromium/files/patch-content_shell_browser_shell__paths.cc
deleted file mode 100644
index 3d3d8ff2ebb8..000000000000
--- a/www/ungoogled-chromium/files/patch-content_shell_browser_shell__paths.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- content/shell/browser/shell_paths.cc.orig 2022-10-01 07:40:07 UTC
-+++ content/shell/browser/shell_paths.cc
-@@ -13,7 +13,7 @@
-
- #if BUILDFLAG(IS_FUCHSIA)
- #include "base/fuchsia/file_utils.h"
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "base/nix/xdg_util.h"
- #endif
-
-@@ -25,7 +25,7 @@ bool GetDefaultUserDataDirectory(base::FilePath* resul
- #if BUILDFLAG(IS_WIN)
- CHECK(base::PathService::Get(base::DIR_LOCAL_APP_DATA, result));
- *result = result->Append(std::wstring(L"content_shell"));
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- std::unique_ptr<base::Environment> env(base::Environment::Create());
- base::FilePath config_dir(base::nix::GetXDGDirectory(
- env.get(), base::nix::kXdgConfigHomeEnvVar, base::nix::kDotConfigDir));
diff --git a/www/ungoogled-chromium/files/patch-content_shell_renderer_shell__content__renderer__client.cc b/www/ungoogled-chromium/files/patch-content_shell_renderer_shell__content__renderer__client.cc
index 1f2e389feffb..83574c903971 100644
--- a/www/ungoogled-chromium/files/patch-content_shell_renderer_shell__content__renderer__client.cc
+++ b/www/ungoogled-chromium/files/patch-content_shell_renderer_shell__content__renderer__client.cc
@@ -1,6 +1,6 @@
---- content/shell/renderer/shell_content_renderer_client.cc.orig 2025-02-20 09:59:21 UTC
+--- content/shell/renderer/shell_content_renderer_client.cc.orig 2025-09-10 13:22:16 UTC
+++ content/shell/renderer/shell_content_renderer_client.cc
-@@ -55,7 +55,7 @@
+@@ -50,7 +50,7 @@
#include "media/base/media_switches.h"
#endif
diff --git a/www/ungoogled-chromium/files/patch-content_shell_utility_shell__content__utility__client.cc b/www/ungoogled-chromium/files/patch-content_shell_utility_shell__content__utility__client.cc
index 0029a404952e..8b8d00924ce3 100644
--- a/www/ungoogled-chromium/files/patch-content_shell_utility_shell__content__utility__client.cc
+++ b/www/ungoogled-chromium/files/patch-content_shell_utility_shell__content__utility__client.cc
@@ -1,4 +1,4 @@
---- content/shell/utility/shell_content_utility_client.cc.orig 2025-03-09 21:38:10 UTC
+--- content/shell/utility/shell_content_utility_client.cc.orig 2025-09-10 13:22:16 UTC
+++ content/shell/utility/shell_content_utility_client.cc
@@ -43,7 +43,7 @@
#include "sandbox/policy/sandbox.h"
@@ -11,7 +11,7 @@
@@ -192,7 +192,7 @@ void ShellContentUtilityClient::ExposeInterfacesToBrow
binders->Add<mojom::PowerMonitorTest>(
- base::BindRepeating(&PowerMonitorTestImpl::MakeSelfOwnedReceiver),
+ &PowerMonitorTestImpl::MakeSelfOwnedReceiver,
base::SingleThreadTaskRunner::GetCurrentDefault());
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc b/www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc
new file mode 100644
index 000000000000..d205ffc7028c
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.cc
@@ -0,0 +1,84 @@
+--- content/utility/on_device_model/on_device_model_sandbox_init.cc.orig 2025-09-10 13:22:16 UTC
++++ content/utility/on_device_model/on_device_model_sandbox_init.cc
+@@ -17,16 +17,20 @@
+ #include "services/on_device_model/ml/gpu_blocklist.h" // nogncheck
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include <errno.h>
+
+ #include "content/common/gpu_pre_sandbox_hook_linux.h"
+ #include "gpu/config/gpu_info_collector.h" // nogncheck
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#else
+ #include "sandbox/policy/linux/sandbox_linux.h"
+ #endif
++#endif
+
+ #if !BUILDFLAG(IS_FUCHSIA) && \
+- !(BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_CAST_RECEIVER))
++ !((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_CAST_RECEIVER))
+ #include "base/feature_list.h"
+ #include "third_party/dawn/include/dawn/dawn_proc.h" // nogncheck
+ #include "third_party/dawn/include/dawn/native/DawnNative.h" // nogncheck
+@@ -37,7 +41,7 @@ namespace on_device_model {
+
+ namespace {
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ constexpr uint32_t kVendorIdAMD = 0x1002;
+ constexpr uint32_t kVendorIdIntel = 0x8086;
+ constexpr uint32_t kVendorIdNVIDIA = 0x10DE;
+@@ -66,13 +70,13 @@ void UpdateSandboxOptionsForGpu(
+ #endif
+
+ #if !BUILDFLAG(IS_FUCHSIA) && \
+- !(BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_CAST_RECEIVER))
++ !((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_CAST_RECEIVER))
+ // If this feature is enabled, a WebGPU device is created for each valid
+ // adapter. This makes sure any relevant drivers or other libs are loaded before
+ // enabling the sandbox.
+ BASE_FEATURE(kOnDeviceModelWarmDrivers,
+ "OnDeviceModelWarmDrivers",
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
+@@ -101,7 +105,7 @@ bool PreSandboxInit() {
+ #endif
+
+ #if !BUILDFLAG(IS_FUCHSIA) && \
+- !(BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_CAST_RECEIVER))
++ !((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_CAST_RECEIVER))
+ if (base::FeatureList::IsEnabled(kOnDeviceModelWarmDrivers)
+ #if defined(ENABLE_ML_INTERNAL)
+ && !ml::IsGpuBlocked(ml::ChromeML::Get()->api(), /*log_histogram=*/false)
+@@ -141,7 +145,7 @@ bool PreSandboxInit() {
+ return true;
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void AddSandboxLinuxOptions(sandbox::policy::SandboxLinux::Options& options) {
+ // Make sure any necessary vendor-specific options are set.
+ gpu::GPUInfo info;
+@@ -153,6 +157,7 @@ void AddSandboxLinuxOptions(sandbox::policy::SandboxLi
+ }
+
+ bool PreSandboxHook(sandbox::policy::SandboxLinux::Options options) {
++#if !BUILDFLAG(IS_BSD)
+ std::vector<sandbox::syscall_broker::BrokerFilePermission> file_permissions =
+ content::FilePermissionsForGpu(options);
+ file_permissions.push_back(
+@@ -161,6 +166,7 @@ bool PreSandboxHook(sandbox::policy::SandboxLinux::Opt
+
+ sandbox::policy::SandboxLinux::GetInstance()->StartBrokerProcess(
+ content::CommandSetForGPU(options), file_permissions, options);
++#endif
+
+ if (!content::LoadLibrariesForGpu(options)) {
+ return false;
diff --git a/www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h b/www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h
new file mode 100644
index 000000000000..067e0ecc8669
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-content_utility_on__device__model_on__device__model__sandbox__init.h
@@ -0,0 +1,22 @@
+--- content/utility/on_device_model/on_device_model_sandbox_init.h.orig 2025-09-10 13:22:16 UTC
++++ content/utility/on_device_model/on_device_model_sandbox_init.h
+@@ -11,6 +11,10 @@
+ #include "sandbox/policy/linux/sandbox_linux.h"
+ #endif
+
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#endif
++
+ namespace on_device_model {
+
+ // Must be called in the service's process before sandbox initialization.
+@@ -21,7 +25,7 @@ namespace on_device_model {
+ // Must be called in the service's process after the run loop finished.
+ [[nodiscard]] bool Shutdown();
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void AddSandboxLinuxOptions(sandbox::policy::SandboxLinux::Options& options);
+
+ [[nodiscard]] bool PreSandboxHook(
diff --git a/www/ungoogled-chromium/files/patch-content_utility_services.cc b/www/ungoogled-chromium/files/patch-content_utility_services.cc
index ebb0b933c815..4435a8c7d2f7 100644
--- a/www/ungoogled-chromium/files/patch-content_utility_services.cc
+++ b/www/ungoogled-chromium/files/patch-content_utility_services.cc
@@ -1,24 +1,22 @@
---- content/utility/services.cc.orig 2025-05-06 12:23:00 UTC
+--- content/utility/services.cc.orig 2025-09-10 13:22:16 UTC
+++ content/utility/services.cc
-@@ -73,7 +73,7 @@
+@@ -74,13 +74,13 @@
extern sandbox::TargetServices* g_utility_target_services;
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "media/mojo/services/mojo_video_encode_accelerator_provider_factory.h"
#include "sandbox/linux/services/libc_interceptor.h"
#include "sandbox/policy/mojom/sandbox.mojom.h"
-@@ -101,7 +101,7 @@ extern sandbox::TargetServices* g_utility_target_servi
- #endif // BUILDFLAG(IS_CHROMEOS) && (BUILDFLAG(USE_VAAPI) ||
- // BUILDFLAG(USE_V4L2_CODEC))
+ #include "sandbox/policy/sandbox_type.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
- (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- #include "content/common/features.h"
- #include "media/mojo/services/oop_video_decoder_factory_process_service.h" // nogncheck
-@@ -237,7 +237,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #include "services/shape_detection/public/mojom/shape_detection_service.mojom.h" // nogncheck
+ #include "services/shape_detection/shape_detection_service.h" // nogncheck
+ #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) && BUILDFLAG(IS_CHROMEOS)
+@@ -235,7 +235,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi
<< "task_policy_set TASK_QOS_POLICY";
#endif
@@ -27,39 +25,21 @@
auto* command_line = base::CommandLine::ForCurrentProcess();
if (sandbox::policy::SandboxTypeFromCommandLine(*command_line) ==
sandbox::mojom::Sandbox::kNoSandbox) {
-@@ -381,7 +381,7 @@ auto RunOOPArcVideoAcceleratorFactoryService(
- #endif // BUILDFLAG(IS_CHROMEOS) && \
- // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
- (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- auto RunOOPVideoDecoderFactoryProcessService(
- mojo::PendingReceiver<media::mojom::VideoDecoderFactoryProcess> receiver) {
-@@ -391,7 +391,7 @@ auto RunOOPVideoDecoderFactoryProcessService(
- #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) &&
- // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- auto RunVideoEncodeAcceleratorProviderFactory(
- mojo::PendingReceiver<media::mojom::VideoEncodeAcceleratorProviderFactory>
+@@ -257,7 +257,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi
+ return audio::CreateStandaloneService(std::move(receiver));
+ }
+
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ auto RunShapeDetectionService(
+ mojo::PendingReceiver<shape_detection::mojom::ShapeDetectionService>
receiver) {
-@@ -414,7 +414,7 @@ void RegisterIOThreadServices(mojo::ServiceFactory& se
- // loop of type IO that can get notified when pipes have data.
- services.Add(RunNetworkService);
+@@ -432,7 +432,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
+ services.Add(RunOnDeviceModel);
+ }
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \
- (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- services.Add(RunOOPVideoDecoderFactoryProcessService);
- #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) &&
-@@ -467,7 +467,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory&
- #endif // BUILDFLAG(IS_CHROMEOS) && \
- // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- services.Add(RunVideoEncodeAcceleratorProviderFactory);
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ services.Add(RunShapeDetectionService);
+ #endif
diff --git a/www/ungoogled-chromium/files/patch-content_utility_utility__main.cc b/www/ungoogled-chromium/files/patch-content_utility_utility__main.cc
index 037cf07e4035..0ee7efe220b0 100644
--- a/www/ungoogled-chromium/files/patch-content_utility_utility__main.cc
+++ b/www/ungoogled-chromium/files/patch-content_utility_utility__main.cc
@@ -1,6 +1,6 @@
---- content/utility/utility_main.cc.orig 2025-05-06 12:23:00 UTC
+--- content/utility/utility_main.cc.orig 2025-09-10 13:22:16 UTC
+++ content/utility/utility_main.cc
-@@ -36,18 +36,22 @@
+@@ -39,17 +39,21 @@
#include "services/tracing/public/cpp/trace_startup.h"
#include "services/video_effects/public/cpp/buildflags.h"
@@ -10,35 +10,34 @@
#include "base/files/file_util.h"
#include "base/pickle.h"
#include "content/child/sandboxed_process_thread_type_handler.h"
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
++#if !BUILDFLAG(IS_BSD)
#include "content/common/gpu_pre_sandbox_hook_linux.h"
+#endif
#include "content/public/common/content_descriptor_keys.h"
#include "content/utility/speech/speech_recognition_sandbox_hook_linux.h"
- #include "gpu/config/gpu_info_collector.h"
- #include "media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h"
- #include "media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h"
+ #include "media/gpu/buildflags.h"
+ #include "media/media_buildflags.h"
+#if !BUILDFLAG(IS_BSD)
#include "sandbox/policy/linux/sandbox_linux.h"
+#endif
#include "services/audio/audio_sandbox_hook_linux.h"
#include "services/network/network_sandbox_hook_linux.h"
#include "services/screen_ai/buildflags/buildflags.h"
-@@ -66,7 +70,12 @@
+@@ -84,7 +88,12 @@
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX)
+-#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
+#include "content/common/gpu_pre_sandbox_hook_bsd.h"
+#endif
+
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
#include "services/video_effects/video_effects_sandbox_hook_linux.h" // nogncheck
#endif // BUILDFLAG(IS_LINUX)
-@@ -101,7 +110,7 @@
+@@ -121,7 +130,7 @@
sandbox::TargetServices* g_utility_target_services = nullptr;
#endif // BUILDFLAG(IS_WIN)
@@ -47,7 +46,7 @@
#include "components/services/on_device_translation/sandbox_hook.h"
#endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX)
-@@ -109,7 +118,7 @@ namespace content {
+@@ -129,7 +138,7 @@ namespace content {
namespace {
@@ -56,26 +55,27 @@
std::vector<std::string> GetNetworkContextsParentDirectories() {
base::MemoryMappedFile::Region region;
base::ScopedFD read_pipe_fd = base::FileDescriptorStore::GetInstance().TakeFD(
-@@ -247,7 +256,8 @@ int UtilityMain(MainFunctionParams parameters) {
- CHECK(on_device_model::OnDeviceModelService::PreSandboxInit());
+@@ -284,7 +293,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ CHECK(on_device_model::PreSandboxInit());
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+// XXX BSD
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
- // Thread type delegate of the process should be registered before first
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+
+ #if BUILDFLAG(USE_LINUX_VIDEO_ACCELERATION) && BUILDFLAG(USE_VAAPI)
+ // Regardless of the sandbox status, the VaapiWrapper needs to be initialized
+@@ -299,7 +308,10 @@ int UtilityMain(MainFunctionParams parameters) {
// thread type change in ChildProcess constructor. It also needs to be
// registered before the process has multiple threads, which may race with
-@@ -255,7 +265,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ // application of the sandbox.
++// XXX BSD
++#if !BUILDFLAG(IS_BSD)
SandboxedProcessThreadTypeHandler::Create();
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Initializes the sandbox before any threads are created.
// TODO(jorgelo): move this after GTK initialization when we enable a strict
- // Seccomp-BPF policy.
-@@ -287,7 +297,7 @@ int UtilityMain(MainFunctionParams parameters) {
+@@ -331,7 +343,7 @@ int UtilityMain(MainFunctionParams parameters) {
pre_sandbox_hook =
base::BindOnce(&speech::SpeechRecognitionPreSandboxHook);
break;
@@ -84,23 +84,25 @@
case sandbox::mojom::Sandbox::kOnDeviceTranslation:
pre_sandbox_hook = base::BindOnce(
&on_device_translation::OnDeviceTranslationSandboxHook);
-@@ -303,13 +313,13 @@ int UtilityMain(MainFunctionParams parameters) {
+@@ -347,7 +359,7 @@ int UtilityMain(MainFunctionParams parameters) {
#else
NOTREACHED();
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
case sandbox::mojom::Sandbox::kVideoEffects:
+ #if BUILDFLAG(ENABLE_VIDEO_EFFECTS)
pre_sandbox_hook =
- base::BindOnce(&video_effects::VideoEffectsPreSandboxHook);
+@@ -355,7 +367,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ #endif
break;
#endif // BUILDFLAG(IS_LINUX)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- case sandbox::mojom::Sandbox::kHardwareVideoDecoding:
+ case sandbox::mojom::Sandbox::kShapeDetection:
pre_sandbox_hook =
- base::BindOnce(&media::HardwareVideoDecodingPreSandboxHook);
-@@ -336,6 +346,7 @@ int UtilityMain(MainFunctionParams parameters) {
+ base::BindOnce(&shape_detection::ShapeDetectionPreSandboxHook);
+@@ -390,6 +402,7 @@ int UtilityMain(MainFunctionParams parameters) {
default:
break;
}
@@ -108,7 +110,7 @@
if (!sandbox::policy::IsUnsandboxedSandboxType(sandbox_type) &&
(parameters.zygote_child || !pre_sandbox_hook.is_null())) {
sandbox_options.use_amd_specific_policies =
-@@ -343,6 +354,11 @@ int UtilityMain(MainFunctionParams parameters) {
+@@ -397,6 +410,11 @@ int UtilityMain(MainFunctionParams parameters) {
sandbox::policy::Sandbox::Initialize(
sandbox_type, std::move(pre_sandbox_hook), sandbox_options);
}
@@ -118,5 +120,5 @@
+ sandbox::policy::SandboxLinux::Options());
+#endif
- // Start the HangWatcher now that the sandbox is engaged, if it hasn't
- // already been started.
+ // Startup tracing creates a tracing thread, which is incompatible on
+ // platforms that require single-threaded sandbox initialization. In these
diff --git a/www/ungoogled-chromium/files/patch-content_zygote_BUILD.gn b/www/ungoogled-chromium/files/patch-content_zygote_BUILD.gn
index 8f58e8f649ca..ad2118221f27 100644
--- a/www/ungoogled-chromium/files/patch-content_zygote_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-content_zygote_BUILD.gn
@@ -1,7 +1,7 @@
---- content/zygote/BUILD.gn.orig 2022-10-01 07:40:07 UTC
+--- content/zygote/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ content/zygote/BUILD.gn
-@@ -5,7 +5,7 @@
- import("//build/config/nacl/config.gni")
+@@ -4,7 +4,7 @@
+
import("//content/public/common/zygote/features.gni")
-if (is_linux || is_chromeos) {
diff --git a/www/ungoogled-chromium/files/patch-device_bluetooth_bluetooth__adapter.cc b/www/ungoogled-chromium/files/patch-device_bluetooth_bluetooth__adapter.cc
index bc5fd91d2008..73d705781d95 100644
--- a/www/ungoogled-chromium/files/patch-device_bluetooth_bluetooth__adapter.cc
+++ b/www/ungoogled-chromium/files/patch-device_bluetooth_bluetooth__adapter.cc
@@ -1,6 +1,6 @@
---- device/bluetooth/bluetooth_adapter.cc.orig 2024-03-22 14:16:19 UTC
+--- device/bluetooth/bluetooth_adapter.cc.orig 2025-09-10 13:22:16 UTC
+++ device/bluetooth/bluetooth_adapter.cc
-@@ -32,7 +32,7 @@ namespace device {
+@@ -33,7 +33,7 @@ namespace device {
BluetoothAdapter::ServiceOptions::ServiceOptions() = default;
BluetoothAdapter::ServiceOptions::~ServiceOptions() = default;
diff --git a/www/ungoogled-chromium/files/patch-device_bluetooth_cast__bluetooth.gni b/www/ungoogled-chromium/files/patch-device_bluetooth_cast__bluetooth.gni
index 9a157ebf79c6..dd5c59530231 100644
--- a/www/ungoogled-chromium/files/patch-device_bluetooth_cast__bluetooth.gni
+++ b/www/ungoogled-chromium/files/patch-device_bluetooth_cast__bluetooth.gni
@@ -1,6 +1,6 @@
---- device/bluetooth/cast_bluetooth.gni.orig 2022-10-01 07:40:07 UTC
+--- device/bluetooth/cast_bluetooth.gni.orig 2025-09-10 13:22:16 UTC
+++ device/bluetooth/cast_bluetooth.gni
-@@ -2,5 +2,5 @@ import("//build/config/features.gni")
+@@ -6,5 +6,5 @@ import("//build/config/features.gni")
declare_args() {
force_cast_bluetooth = false
diff --git a/www/ungoogled-chromium/files/patch-device_gamepad_gamepad__provider.cc b/www/ungoogled-chromium/files/patch-device_gamepad_gamepad__provider.cc
index 9cdee289e9d8..ef8d29991027 100644
--- a/www/ungoogled-chromium/files/patch-device_gamepad_gamepad__provider.cc
+++ b/www/ungoogled-chromium/files/patch-device_gamepad_gamepad__provider.cc
@@ -1,6 +1,6 @@
---- device/gamepad/gamepad_provider.cc.orig 2025-02-20 09:59:21 UTC
+--- device/gamepad/gamepad_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ device/gamepad/gamepad_provider.cc
-@@ -159,7 +159,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep
+@@ -155,7 +155,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep
if (!polling_thread_)
polling_thread_ = std::make_unique<base::Thread>("Gamepad polling thread");
diff --git a/www/ungoogled-chromium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc b/www/ungoogled-chromium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc
index 6999f1048eb8..956ddb43dcf5 100644
--- a/www/ungoogled-chromium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc
+++ b/www/ungoogled-chromium/files/patch-extensions_browser_api_api__browser__context__keyed__service__factories.cc
@@ -1,6 +1,6 @@
---- extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-05-06 12:23:00 UTC
+--- extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-09-10 13:22:16 UTC
+++ extensions/browser/api/api_browser_context_keyed_service_factories.cc
-@@ -120,7 +120,7 @@ void EnsureApiBrowserContextKeyedServiceFactoriesBuilt
+@@ -121,7 +121,7 @@ void EnsureApiBrowserContextKeyedServiceFactoriesBuilt
MediaPerceptionAPIManager::GetFactoryInstance();
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
diff --git a/www/ungoogled-chromium/files/patch-extensions_browser_api_messaging_message__service.cc b/www/ungoogled-chromium/files/patch-extensions_browser_api_messaging_message__service.cc
index c8bb0e021cee..93a7af78fb9e 100644
--- a/www/ungoogled-chromium/files/patch-extensions_browser_api_messaging_message__service.cc
+++ b/www/ungoogled-chromium/files/patch-extensions_browser_api_messaging_message__service.cc
@@ -1,20 +1,20 @@
---- extensions/browser/api/messaging/message_service.cc.orig 2025-05-06 12:23:00 UTC
+--- extensions/browser/api/messaging/message_service.cc.orig 2025-09-10 13:22:16 UTC
+++ extensions/browser/api/messaging/message_service.cc
-@@ -81,7 +81,7 @@ namespace {
+@@ -82,7 +82,7 @@ namespace {
const char kReceivingEndDoesntExistError[] =
"Could not establish connection. Receiving end does not exist.";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
const char kMissingPermissionError[] =
"Access to native messaging requires nativeMessaging permission.";
const char kProhibitedByPoliciesError[] =
-@@ -673,7 +673,7 @@ void MessageService::OpenChannelToNativeAppImpl(
+@@ -675,7 +675,7 @@ void MessageService::OpenChannelToNativeAppImpl(
return;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
bool has_permission = extension->permissions_data()->HasAPIPermission(
mojom::APIPermissionID::kNativeMessaging);
if (!has_permission) {
diff --git a/www/ungoogled-chromium/files/patch-extensions_common_api___permission__features.json b/www/ungoogled-chromium/files/patch-extensions_common_api___permission__features.json
index d649e1f098ed..70eb11da4344 100644
--- a/www/ungoogled-chromium/files/patch-extensions_common_api___permission__features.json
+++ b/www/ungoogled-chromium/files/patch-extensions_common_api___permission__features.json
@@ -1,6 +1,40 @@
---- extensions/common/api/_permission_features.json.orig 2025-04-15 08:30:07 UTC
+--- extensions/common/api/_permission_features.json.orig 2025-09-10 13:22:16 UTC
+++ extensions/common/api/_permission_features.json
-@@ -134,7 +134,7 @@
+@@ -61,7 +61,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "app.window.ime": {
+ "channel": "stable",
+@@ -77,7 +77,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "audio": [
+ {
+@@ -98,13 +98,13 @@
+ "channel": "dev",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
+ "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
+@@ -142,7 +142,7 @@
{
"channel": "stable",
"extension_types": ["platform_app"],
@@ -9,21 +43,145 @@
"allowlist": [
"1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/387169
"A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/387169
-@@ -419,7 +419,7 @@
- }, {
+@@ -217,7 +217,7 @@
+ "extension_types": ["extension", "legacy_packaged_app"],
+ "max_manifest_version": 2,
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "diagnostics": [
+ {
+@@ -262,7 +262,7 @@
+ "channel": "stable",
+ "extension_types": ["extension", "platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "7910EAFDAF64B947E1CB31B333A9BD14CA556B6C", // Feedback UI.
+ "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683
+@@ -284,12 +284,12 @@
+ "extension_types": ["platform_app"],
+ "default_parent": true,
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },{
+ "channel": "stable",
+ "extension_types": ["extension"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice
+ "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal
+@@ -326,13 +326,13 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["extension"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": [
+ "D7CD4B3956B1F6E970E4AFCBCD4094B1EF4D07B9", // http://crbug.com/710541
+ "D4EFCCC0CC612380762758BB96C7997224BD6395", // http://crbug.com/710541
+@@ -441,7 +441,7 @@
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
-- "platforms": ["chromeos", "mac", "win", "linux", "fuchsia"],
-+ "platforms": ["chromeos", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "mac", "win", "linux"],
++ "platforms": ["chromeos", "mac", "win", "linux", "openbsd", "freebsd"],
"allowlist": [
"0DE0F05680A4A056BCEC864ED8DDA84296F82B40", // http://crbug.com/434651
"1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683
-@@ -463,7 +463,7 @@
- "networkingPrivate": {
+@@ -486,7 +486,7 @@
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
-- "platforms": ["chromeos", "mac", "win", "linux", "fuchsia"],
-+ "platforms": ["chromeos", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "mac", "win", "linux"],
++ "platforms": ["chromeos", "mac", "win", "linux", "openbsd", "freebsd"],
"allowlist": [
// DO NOT ADD ANY MORE ENTRIES HERE.
// networkingPrivate is being migrated to networking.onc.
+@@ -566,7 +566,7 @@
+ "channel": "stable",
+ "extension_types": ["extension", "platform_app" ],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ // Note: runtime is not actually a permission, but some systems check these
+ // values to verify restrictions.
+@@ -578,13 +578,13 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "socket": {
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "storage": [
+ {
+@@ -672,13 +672,13 @@
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+@@ -687,13 +687,13 @@
+ "channel": "stable",
+ "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "stable",
+ "extension_types": ["hosted_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"],
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"],
+ "allowlist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
+ }
+ ],
+@@ -721,7 +721,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ {
+ "channel": "dev",
+@@ -807,7 +807,7 @@
+ "channel": "stable",
+ "extension_types": ["platform_app"],
+ // "desktop_android" is not supported.
+- "platforms": ["chromeos", "linux", "mac", "win"]
++ "platforms": ["chromeos", "linux", "mac", "win", "openbsd", "freebsd"]
+ },
+ "webRequest": [
+ {
diff --git a/www/ungoogled-chromium/files/patch-extensions_common_command.cc b/www/ungoogled-chromium/files/patch-extensions_common_command.cc
index 01a86cc74f55..a6a7924ffd5c 100644
--- a/www/ungoogled-chromium/files/patch-extensions_common_command.cc
+++ b/www/ungoogled-chromium/files/patch-extensions_common_command.cc
@@ -1,11 +1,11 @@
---- extensions/common/command.cc.orig 2025-03-09 21:38:10 UTC
+--- extensions/common/command.cc.orig 2025-09-10 13:22:16 UTC
+++ extensions/common/command.cc
-@@ -116,7 +116,7 @@ std::string Command::CommandPlatform() {
+@@ -117,7 +117,7 @@ std::string Command::CommandPlatform() {
return ui::kKeybindingPlatformMac;
#elif BUILDFLAG(IS_CHROMEOS)
return ui::kKeybindingPlatformChromeOs;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return ui::kKeybindingPlatformLinux;
- #elif BUILDFLAG(IS_FUCHSIA)
- // TODO(crbug.com/40220501): Change this once we decide what string should be
+ #elif BUILDFLAG(IS_DESKTOP_ANDROID)
+ // For now, we use linux keybindings on desktop android.
diff --git a/www/ungoogled-chromium/files/patch-extensions_common_features_feature.cc b/www/ungoogled-chromium/files/patch-extensions_common_features_feature.cc
index 04edbe5a4bd6..9cae1cdd8f97 100644
--- a/www/ungoogled-chromium/files/patch-extensions_common_features_feature.cc
+++ b/www/ungoogled-chromium/files/patch-extensions_common_features_feature.cc
@@ -1,9 +1,9 @@
---- extensions/common/features/feature.cc.orig 2025-01-25 09:34:31 UTC
+--- extensions/common/features/feature.cc.orig 2025-09-10 13:22:16 UTC
+++ extensions/common/features/feature.cc
-@@ -29,6 +29,8 @@ Feature::Platform Feature::GetCurrentPlatform() {
+@@ -30,6 +30,8 @@ Feature::Platform Feature::GetCurrentPlatform() {
return WIN_PLATFORM;
- #elif BUILDFLAG(IS_FUCHSIA)
- return FUCHSIA_PLATFORM;
+ #elif BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS)
+ return DESKTOP_ANDROID_PLATFORM;
+#elif BUILDFLAG(IS_BSD)
+ return LINUX_PLATFORM;
#else
diff --git a/www/ungoogled-chromium/files/patch-extensions_shell_app_shell__main__delegate.cc b/www/ungoogled-chromium/files/patch-extensions_shell_app_shell__main__delegate.cc
index ae3ed551aa51..7d707d576d69 100644
--- a/www/ungoogled-chromium/files/patch-extensions_shell_app_shell__main__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-extensions_shell_app_shell__main__delegate.cc
@@ -1,6 +1,6 @@
---- extensions/shell/app/shell_main_delegate.cc.orig 2025-01-25 09:34:31 UTC
+--- extensions/shell/app/shell_main_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ extensions/shell/app/shell_main_delegate.cc
-@@ -40,7 +40,7 @@
+@@ -31,7 +31,7 @@
#if BUILDFLAG(IS_WIN)
#include "base/base_paths_win.h"
#include "base/process/process_info.h"
@@ -9,7 +9,7 @@
#include "base/nix/xdg_util.h"
#elif BUILDFLAG(IS_MAC)
#include "base/base_paths_mac.h"
-@@ -60,7 +60,7 @@ base::FilePath GetDataPath() {
+@@ -51,7 +51,7 @@ base::FilePath GetDataPath() {
}
base::FilePath data_dir;
diff --git a/www/ungoogled-chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc b/www/ungoogled-chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc
index 1612bff56229..cc88b197ae3a 100644
--- a/www/ungoogled-chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc
+++ b/www/ungoogled-chromium/files/patch-extensions_shell_browser_shell__browser__main__parts.cc
@@ -1,6 +1,6 @@
---- extensions/shell/browser/shell_browser_main_parts.cc.orig 2025-01-25 09:34:31 UTC
+--- extensions/shell/browser/shell_browser_main_parts.cc.orig 2025-09-10 13:22:16 UTC
+++ extensions/shell/browser/shell_browser_main_parts.cc
-@@ -137,7 +137,7 @@ void ShellBrowserMainParts::PostCreateMainMessageLoop(
+@@ -126,7 +126,7 @@ void ShellBrowserMainParts::PostCreateMainMessageLoop(
switches::kAppShellAllowRoaming)) {
network_controller_->SetCellularAllowRoaming(true);
}
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc
new file mode 100644
index 000000000000..de5cff834dda
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.cc
@@ -0,0 +1,20 @@
+--- gpu/command_buffer/client/test_shared_image_interface.cc.orig 2025-09-10 13:22:16 UTC
++++ gpu/command_buffer/client/test_shared_image_interface.cc
+@@ -30,7 +30,7 @@
+ #include "ui/gfx/gpu_fence.h"
+ #include "ui/gfx/gpu_memory_buffer_handle.h"
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include <fcntl.h>
+ #endif
+
+@@ -154,7 +154,7 @@ TestSharedImageInterface::TestSharedImageInterface() {
+ TestSharedImageInterface::~TestSharedImageInterface() = default;
+
+ // static
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ gfx::GpuMemoryBufferHandle TestSharedImageInterface::CreatePixmapHandle(
+ const gfx::Size& size,
+ gfx::BufferFormat format) {
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h b/www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h
new file mode 100644
index 000000000000..9f741a44d619
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_client_test__shared__image__interface.h
@@ -0,0 +1,11 @@
+--- gpu/command_buffer/client/test_shared_image_interface.h.orig 2025-09-10 13:22:16 UTC
++++ gpu/command_buffer/client/test_shared_image_interface.h
+@@ -37,7 +37,7 @@ class TestSharedImageInterface : public SharedImageInt
+ public:
+ TestSharedImageInterface();
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // TODO(blundell): Fold this inside of a TestSII::CreateSI() variant and have
+ // test clients that need the handle grab it from the created SI.
+ static gfx::GpuMemoryBufferHandle CreatePixmapHandle(
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc
index f96be0eedc9c..59c5f367fad5 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_dawn__context__provider.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/dawn_context_provider.cc.orig 2025-05-31 17:16:41 UTC
+--- gpu/command_buffer/service/dawn_context_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/dawn_context_provider.cc
-@@ -383,7 +383,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke
+@@ -402,7 +402,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke
return base::FeatureList::IsEnabled(features::kSkiaGraphiteDawnUseD3D12)
? wgpu::BackendType::D3D12
: wgpu::BackendType::D3D11;
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
index 6a3c72e56d15..9b478ebfb341 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-05-31 17:16:41 UTC
+--- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/gles2_cmd_decoder.cc
-@@ -2863,7 +2863,7 @@ GLES2Decoder* GLES2Decoder::Create(
+@@ -2851,7 +2851,7 @@ GLES2Decoder* GLES2Decoder::Create(
}
// Allow linux to run fuzzers.
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.cc
index ea5dcea0b705..fe9e25c53675 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_context_state.cc.orig 2025-05-31 17:16:41 UTC
+--- gpu/command_buffer/service/shared_context_state.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/shared_context_state.cc
-@@ -64,7 +64,7 @@
+@@ -65,7 +65,7 @@
#include "gpu/vulkan/vulkan_implementation.h"
#include "gpu/vulkan/vulkan_util.h"
@@ -9,7 +9,7 @@
#include "gpu/command_buffer/service/external_semaphore_pool.h"
#endif
-@@ -348,7 +348,7 @@ SharedContextState::SharedContextState(
+@@ -304,7 +304,7 @@ SharedContextState::SharedContextState(
if (gr_context_type_ == GrContextType::kVulkan) {
if (vk_context_provider_) {
#if BUILDFLAG(ENABLE_VULKAN) && \
@@ -18,7 +18,7 @@
external_semaphore_pool_ = std::make_unique<ExternalSemaphorePool>(this);
#endif
use_virtualized_gl_contexts_ = false;
-@@ -385,7 +385,7 @@ SharedContextState::~SharedContextState() {
+@@ -341,7 +341,7 @@ SharedContextState::~SharedContextState() {
}
#if BUILDFLAG(ENABLE_VULKAN) && \
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.h b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.h
index ec60cc5fbe31..9070a5d91a6b 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.h
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__context__state.h
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_context_state.h.orig 2025-05-31 17:16:41 UTC
+--- gpu/command_buffer/service/shared_context_state.h.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/shared_context_state.h
-@@ -238,7 +238,7 @@ class GPU_GLES2_EXPORT SharedContextState
+@@ -236,7 +236,7 @@ class GPU_GLES2_EXPORT SharedContextState
return &memory_type_tracker_;
}
#if BUILDFLAG(ENABLE_VULKAN) && \
@@ -9,7 +9,7 @@
ExternalSemaphorePool* external_semaphore_pool() {
return external_semaphore_pool_.get();
}
-@@ -455,7 +455,7 @@ class GPU_GLES2_EXPORT SharedContextState
+@@ -401,7 +401,7 @@ class GPU_GLES2_EXPORT SharedContextState
bool disable_check_reset_status_throttling_for_test_ = false;
#if BUILDFLAG(ENABLE_VULKAN) && \
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc
index 103e47f31b11..0010678c44ef 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2025-01-25 09:34:31 UTC
+--- gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/shared_image/external_vk_image_backing.cc
-@@ -57,7 +57,7 @@
+@@ -56,7 +56,7 @@
#include "ui/gl/gl_version_info.h"
#include "ui/gl/scoped_binders.h"
@@ -9,7 +9,7 @@
#include "gpu/command_buffer/service/shared_image/external_vk_image_dawn_representation.h"
#if BUILDFLAG(DAWN_ENABLE_BACKEND_OPENGLES)
#include "gpu/command_buffer/service/shared_image/dawn_gl_texture_representation.h"
-@@ -702,7 +702,7 @@ std::unique_ptr<DawnImageRepresentation> ExternalVkIma
+@@ -696,7 +696,7 @@ std::unique_ptr<DawnImageRepresentation> ExternalVkIma
wgpu::BackendType backend_type,
std::vector<wgpu::TextureFormat> view_formats,
scoped_refptr<SharedContextState> context_state) {
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
index d5f6205b271e..b05a901950e8 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2025-04-15 08:30:07 UTC
+--- gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc
-@@ -143,7 +143,7 @@ bool IsFormatSupported(viz::SharedImageFormat format,
+@@ -140,7 +140,7 @@ bool IsFormatSupported(viz::SharedImageFormat format,
SharedImageUsageSet SupportedUsage() {
SharedImageUsageSet supported_usage =
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc
index c34f3a755f7f..4551ab5f490c 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__factory.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2025-05-06 12:23:00 UTC
+--- gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/shared_image/shared_image_factory.cc
-@@ -48,7 +48,7 @@
+@@ -50,7 +50,7 @@
#include "gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.h"
#include "gpu/vulkan/vulkan_device_queue.h"
@@ -9,7 +9,7 @@
#include "gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.h"
#endif
-@@ -102,7 +102,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t
+@@ -104,7 +104,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t
case gfx::IO_SURFACE_BUFFER:
return "platform";
#endif
@@ -18,7 +18,7 @@
case gfx::NATIVE_PIXMAP:
return "platform";
#endif
-@@ -123,7 +123,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() {
+@@ -125,7 +125,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() {
return gfx::GpuMemoryBufferType::IO_SURFACE_BUFFER;
#elif BUILDFLAG(IS_ANDROID)
return gfx::GpuMemoryBufferType::ANDROID_HARDWARE_BUFFER;
@@ -27,7 +27,7 @@
return gfx::GpuMemoryBufferType::NATIVE_PIXMAP;
#elif BUILDFLAG(IS_WIN)
return gfx::GpuMemoryBufferType::DXGI_SHARED_HANDLE;
-@@ -326,7 +326,7 @@ SharedImageFactory::SharedImageFactory(
+@@ -297,7 +297,7 @@ SharedImageFactory::SharedImageFactory(
context_state_, workarounds_);
factories_.push_back(std::move(ozone_factory));
}
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc
index e5fcd4ac7527..4bc109dd89a4 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_shared__image_shared__image__manager.cc
@@ -1,6 +1,6 @@
---- gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig 2025-04-15 08:30:07 UTC
+--- gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/shared_image/shared_image_manager.cc
-@@ -756,7 +756,7 @@ bool SharedImageManager::SupportsScanoutImages() {
+@@ -760,7 +760,7 @@ bool SharedImageManager::SupportsScanoutImages() {
return true;
#elif BUILDFLAG(IS_ANDROID)
return base::AndroidHardwareBufferCompat::IsSupportAvailable();
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
index 5f25a100384e..0b8de7aa6c04 100644
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
@@ -1,15 +1,15 @@
---- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-05-31 17:16:41 UTC
+--- gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/command_buffer/service/webgpu_decoder_impl.cc
-@@ -1787,7 +1787,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte
+@@ -1741,7 +1741,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte
backend_types = {wgpu::BackendType::D3D12};
- #elif BUILDFLAG(IS_MAC)
+ #elif BUILDFLAG(IS_APPLE)
backend_types = {wgpu::BackendType::Metal};
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (shared_context_state_->GrContextIsVulkan() ||
shared_context_state_->IsGraphiteDawnVulkan()) {
backend_types = {wgpu::BackendType::Vulkan};
-@@ -2029,7 +2029,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn(
+@@ -1986,7 +1986,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn(
}
#if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_APPLE) && \
diff --git a/www/ungoogled-chromium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc b/www/ungoogled-chromium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc
deleted file mode 100644
index 1a70dcd04455..000000000000
--- a/www/ungoogled-chromium/files/patch-gpu_command__buffer_tests_gl__gpu__memory__buffer__unittest.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc.orig 2025-05-31 17:16:41 UTC
-+++ gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc
-@@ -33,7 +33,7 @@
- #include "ui/gfx/half_float.h"
- #include "ui/gl/test/gl_test_support.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "gpu/ipc/common/gpu_memory_buffer_impl_native_pixmap.h"
- #include "ui/gfx/linux/client_native_pixmap_factory_dmabuf.h"
- #endif
-@@ -76,7 +76,7 @@ class GpuMemoryBufferTest : public testing::TestWithPa
- GLManager gl_;
- };
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- class GpuMemoryBufferTestEGL : public testing::Test,
- public gpu::GpuCommandBufferTestEGL {
- public:
diff --git a/www/ungoogled-chromium/files/patch-gpu_config_gpu__control__list.cc b/www/ungoogled-chromium/files/patch-gpu_config_gpu__control__list.cc
index 79d2c691be64..3b1e04e00cfd 100644
--- a/www/ungoogled-chromium/files/patch-gpu_config_gpu__control__list.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_config_gpu__control__list.cc
@@ -1,6 +1,6 @@
---- gpu/config/gpu_control_list.cc.orig 2025-02-20 09:59:21 UTC
+--- gpu/config/gpu_control_list.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/config/gpu_control_list.cc
-@@ -831,7 +831,7 @@ GpuControlList::OsType GpuControlList::GetOsType() {
+@@ -843,7 +843,7 @@ GpuControlList::OsType GpuControlList::GetOsType() {
return kOsAndroid;
#elif BUILDFLAG(IS_FUCHSIA)
return kOsFuchsia;
diff --git a/www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc b/www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc
index b56a5c4cedb5..2bca274ae8cc 100644
--- a/www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc
@@ -1,6 +1,6 @@
---- gpu/config/gpu_finch_features.cc.orig 2025-04-15 08:30:07 UTC
+--- gpu/config/gpu_finch_features.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/config/gpu_finch_features.cc
-@@ -155,7 +155,8 @@ BASE_FEATURE(kAllowHardwareBufferUsageFlagsFromVulkanF
+@@ -156,7 +156,8 @@ BASE_FEATURE(kAllowHardwareBufferUsageFlagsFromVulkanF
BASE_FEATURE(kDefaultEnableGpuRasterization,
"DefaultEnableGpuRasterization",
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/ungoogled-chromium/files/patch-gpu_config_gpu__info__collector.cc b/www/ungoogled-chromium/files/patch-gpu_config_gpu__info__collector.cc
index bf531ff3d418..dae4e3f04362 100644
--- a/www/ungoogled-chromium/files/patch-gpu_config_gpu__info__collector.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_config_gpu__info__collector.cc
@@ -1,6 +1,6 @@
---- gpu/config/gpu_info_collector.cc.orig 2025-05-31 17:16:41 UTC
+--- gpu/config/gpu_info_collector.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/config/gpu_info_collector.cc
-@@ -364,7 +364,7 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance
+@@ -363,7 +363,7 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance
void ReportWebGPUSupportMetrics(dawn::native::Instance* instance) {
static BASE_FEATURE(kCollectWebGPUSupportMetrics,
"CollectWebGPUSupportMetrics",
diff --git a/www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc b/www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc
deleted file mode 100644
index 556e7438a1f6..000000000000
--- a/www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpu/ipc/common/gpu_memory_buffer_support.cc.orig 2024-10-27 06:40:35 UTC
-+++ gpu/ipc/common/gpu_memory_buffer_support.cc
-@@ -26,7 +26,7 @@
- #include "ui/ozone/public/ozone_platform.h"
- #endif
-
--#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "gpu/ipc/common/gpu_memory_buffer_impl_native_pixmap.h"
- #endif
-
-@@ -55,7 +55,7 @@ GpuMemoryBufferSupport::GetNativeGpuMemoryBufferType()
- return gfx::IO_SURFACE_BUFFER;
- #elif BUILDFLAG(IS_ANDROID)
- return gfx::ANDROID_HARDWARE_BUFFER;
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
- return gfx::NATIVE_PIXMAP;
- #elif BUILDFLAG(IS_WIN)
- return gfx::DXGI_SHARED_HANDLE;
diff --git a/www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h b/www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h
deleted file mode 100644
index ce9c560e9de2..000000000000
--- a/www/ungoogled-chromium/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- gpu/ipc/common/gpu_memory_buffer_support.h.orig 2023-08-18 10:26:52 UTC
-+++ gpu/ipc/common/gpu_memory_buffer_support.h
-@@ -21,7 +21,7 @@
- #include "ui/gfx/geometry/size.h"
- #include "ui/gfx/gpu_memory_buffer.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
- namespace gfx {
- class ClientNativePixmapFactory;
- } // namespace gfx
diff --git a/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__init.cc b/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__init.cc
index 20b3542f552d..8d7aa25a8e09 100644
--- a/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__init.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__init.cc
@@ -1,6 +1,6 @@
---- gpu/ipc/service/gpu_init.cc.orig 2025-05-31 17:16:41 UTC
+--- gpu/ipc/service/gpu_init.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/ipc/service/gpu_init.cc
-@@ -153,7 +153,7 @@ void InitializePlatformOverlaySettings(GPUInfo* gpu_in
+@@ -155,7 +155,7 @@ void InitializePlatformOverlaySettings(GPUInfo* gpu_in
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CASTOS)
bool CanAccessDeviceFile(const GPUInfo& gpu_info) {
@@ -9,7 +9,7 @@
if (gpu_info.gpu.vendor_id != 0x10de || // NVIDIA
gpu_info.gpu.driver_vendor != "NVIDIA")
return true;
-@@ -389,7 +389,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -417,7 +417,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
enable_watchdog = false;
#endif
@@ -18,7 +18,7 @@
bool gpu_sandbox_start_early = gpu_preferences_.gpu_sandbox_start_early;
#else // !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
// For some reasons MacOSX's VideoToolbox might crash when called after
-@@ -427,7 +427,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -455,7 +455,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
}
bool attempted_startsandbox = false;
@@ -27,7 +27,7 @@
// On Chrome OS ARM Mali, GPU driver userspace creates threads when
// initializing a GL context, so start the sandbox early.
// TODO(zmo): Need to collect OS version before this.
-@@ -524,7 +524,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -552,7 +552,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
gpu_preferences_.gr_context_type = GrContextType::kGL;
}
@@ -36,7 +36,7 @@
// The ContentSandboxHelper is currently the only one implementation of
// GpuSandboxHelper and it has no dependency. Except on Linux where
// VaapiWrapper checks the GL implementation to determine which display
-@@ -582,7 +582,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -610,7 +610,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
command_line, gpu_feature_info_,
gpu_preferences_.disable_software_rasterizer, false);
if (gl_use_swiftshader_) {
@@ -45,7 +45,7 @@
VLOG(1) << "Quit GPU process launch to fallback to SwiftShader cleanly "
<< "on Linux";
return false;
-@@ -750,7 +750,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -778,7 +778,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
->GetSupportedFormatsForGLNativePixmapImport();
#endif // BUILDFLAG(IS_OZONE)
@@ -54,7 +54,7 @@
// Driver may create a compatibility profile context when collect graphics
// information on Linux platform. Try to collect graphics information
// based on core profile context after disabling platform extensions.
-@@ -802,7 +802,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
+@@ -830,7 +830,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL
}
}
}
@@ -63,7 +63,7 @@
(BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE))
if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) {
// https://rr-project.org/ is a Linux-only record-and-replay debugger that
-@@ -1004,7 +1004,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
+@@ -1032,7 +1032,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
}
bool gl_disabled = gl::GetGLImplementation() == gl::kGLImplementationDisabled;
@@ -72,7 +72,7 @@
(BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE))
if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) {
// https://rr-project.org/ is a Linux-only record-and-replay debugger that
-@@ -1059,7 +1059,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
+@@ -1088,7 +1088,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c
}
}
diff --git a/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc b/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc
index 0d152e1f9344..86097e563340 100644
--- a/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_ipc_service_gpu__memory__buffer__factory.cc
@@ -1,4 +1,4 @@
---- gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2024-10-27 06:40:35 UTC
+--- gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/ipc/service/gpu_memory_buffer_factory.cc
@@ -14,7 +14,7 @@
#include "gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h"
@@ -9,7 +9,7 @@
#include "gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.h"
#endif
-@@ -71,7 +71,7 @@ GpuMemoryBufferFactory::CreateNativeType(
+@@ -65,7 +65,7 @@ GpuMemoryBufferFactory::CreateNativeType(
// to have a factory that vends invalid GMB handles rather than having no
// factory at all.
return std::make_unique<GpuMemoryBufferFactoryStub>();
diff --git a/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__device__queue.h b/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__device__queue.h
index a9b84758e477..abca656685a6 100644
--- a/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__device__queue.h
+++ b/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__device__queue.h
@@ -1,6 +1,6 @@
---- gpu/vulkan/vulkan_device_queue.h.orig 2025-03-09 21:38:10 UTC
+--- gpu/vulkan/vulkan_device_queue.h.orig 2025-09-10 13:22:16 UTC
+++ gpu/vulkan/vulkan_device_queue.h
-@@ -182,7 +182,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDeviceQueue
+@@ -188,7 +188,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDeviceQueue
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__image.h b/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__image.h
index 1e619804f0ab..b1b869db7782 100644
--- a/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__image.h
+++ b/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__image.h
@@ -1,6 +1,6 @@
---- gpu/vulkan/vulkan_image.h.orig 2023-02-11 09:11:04 UTC
+--- gpu/vulkan/vulkan_image.h.orig 2025-09-10 13:22:16 UTC
+++ gpu/vulkan/vulkan_image.h
-@@ -87,7 +87,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
+@@ -86,7 +86,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
VkImageUsageFlags usage,
VkImageCreateFlags flags);
@@ -9,7 +9,7 @@
static std::unique_ptr<VulkanImage> CreateWithExternalMemoryAndModifiers(
VulkanDeviceQueue* device_queue,
const gfx::Size& size,
-@@ -199,7 +199,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
+@@ -198,7 +198,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
VkImageTiling image_tiling,
uint32_t queue_family_index);
diff --git a/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__util.cc b/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__util.cc
index 3623665b7a34..038d7f6dbfaa 100644
--- a/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__util.cc
+++ b/www/ungoogled-chromium/files/patch-gpu_vulkan_vulkan__util.cc
@@ -1,6 +1,6 @@
---- gpu/vulkan/vulkan_util.cc.orig 2025-04-15 08:30:07 UTC
+--- gpu/vulkan/vulkan_util.cc.orig 2025-09-10 13:22:16 UTC
+++ gpu/vulkan/vulkan_util.cc
-@@ -467,7 +467,7 @@ bool CheckVulkanCompatibilities(
+@@ -476,7 +476,7 @@ bool CheckVulkanCompatibilities(
}
}
diff --git a/www/ungoogled-chromium/files/patch-headless_BUILD.gn b/www/ungoogled-chromium/files/patch-headless_BUILD.gn
index 6a83631d2bc9..2bfe55b60c4b 100644
--- a/www/ungoogled-chromium/files/patch-headless_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-headless_BUILD.gn
@@ -1,6 +1,6 @@
---- headless/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- headless/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ headless/BUILD.gn
-@@ -475,7 +475,7 @@ component("headless_non_renderer") {
+@@ -478,7 +478,7 @@ component("headless_non_renderer") {
}
}
diff --git a/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.cc b/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.cc
index 5312fbc0f53f..7df59bde58a7 100644
--- a/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.cc
+++ b/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.cc
@@ -1,6 +1,6 @@
---- headless/lib/browser/headless_content_browser_client.cc.orig 2025-04-15 08:30:07 UTC
+--- headless/lib/browser/headless_content_browser_client.cc.orig 2025-09-10 13:22:16 UTC
+++ headless/lib/browser/headless_content_browser_client.cc
-@@ -58,7 +58,7 @@
+@@ -59,7 +59,7 @@
#include "content/public/common/content_descriptors.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -9,7 +9,7 @@
#include "components/os_crypt/sync/os_crypt.h" // nogncheck
#include "content/public/browser/network_service_util.h"
#endif
-@@ -520,7 +520,7 @@ void HeadlessContentBrowserClient::HandleExplicitlyAll
+@@ -557,7 +557,7 @@ void HeadlessContentBrowserClient::HandleExplicitlyAll
void HeadlessContentBrowserClient::SetEncryptionKey(
::network::mojom::NetworkService* network_service) {
diff --git a/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.h b/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.h
index aaf72971ac06..33927ac185d0 100644
--- a/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.h
+++ b/www/ungoogled-chromium/files/patch-headless_lib_browser_headless__content__browser__client.h
@@ -1,6 +1,6 @@
---- headless/lib/browser/headless_content_browser_client.h.orig 2025-04-15 08:30:07 UTC
+--- headless/lib/browser/headless_content_browser_client.h.orig 2025-09-10 13:22:16 UTC
+++ headless/lib/browser/headless_content_browser_client.h
-@@ -47,7 +47,7 @@ class HeadlessContentBrowserClient : public content::C
+@@ -48,7 +48,7 @@ class HeadlessContentBrowserClient : public content::C
CreateDevToolsManagerDelegate() override;
content::GeneratedCodeCacheSettings GetGeneratedCodeCacheSettings(
content::BrowserContext* context) override;
diff --git a/www/ungoogled-chromium/files/patch-headless_lib_headless__content__main__delegate.cc b/www/ungoogled-chromium/files/patch-headless_lib_headless__content__main__delegate.cc
index 7874c1c7cd29..52508640ccde 100644
--- a/www/ungoogled-chromium/files/patch-headless_lib_headless__content__main__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-headless_lib_headless__content__main__delegate.cc
@@ -1,6 +1,6 @@
---- headless/lib/headless_content_main_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- headless/lib/headless_content_main_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ headless/lib/headless_content_main_delegate.cc
-@@ -406,7 +406,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
+@@ -411,7 +411,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
if (process_type != ::switches::kZygoteProcess) {
g_headless_crash_client.Pointer()->set_crash_dumps_dir(
command_line.GetSwitchValuePath(switches::kCrashDumpsDir));
diff --git a/www/ungoogled-chromium/files/patch-ipc_ipc__channel.h b/www/ungoogled-chromium/files/patch-ipc_ipc__channel.h
index ebe427cfc30e..92fa98cdd93c 100644
--- a/www/ungoogled-chromium/files/patch-ipc_ipc__channel.h
+++ b/www/ungoogled-chromium/files/patch-ipc_ipc__channel.h
@@ -1,8 +1,8 @@
---- ipc/ipc_channel.h.orig 2024-06-22 08:49:42 UTC
+--- ipc/ipc_channel.h.orig 2025-09-10 13:22:16 UTC
+++ ipc/ipc_channel.h
-@@ -218,7 +218,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
+@@ -199,7 +199,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
+ // Generates a channel ID that's non-predictable and unique.
static std::string GenerateUniqueRandomChannelID();
- #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-ipc_ipc__channel__mojo.cc b/www/ungoogled-chromium/files/patch-ipc_ipc__channel__mojo.cc
index 3d9e4414b682..aec3a673b554 100644
--- a/www/ungoogled-chromium/files/patch-ipc_ipc__channel__mojo.cc
+++ b/www/ungoogled-chromium/files/patch-ipc_ipc__channel__mojo.cc
@@ -1,6 +1,6 @@
---- ipc/ipc_channel_mojo.cc.orig 2023-02-11 09:11:04 UTC
+--- ipc/ipc_channel_mojo.cc.orig 2025-09-10 13:22:16 UTC
+++ ipc/ipc_channel_mojo.cc
-@@ -105,7 +105,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe
+@@ -104,7 +104,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe
};
base::ProcessId GetSelfPID() {
diff --git a/www/ungoogled-chromium/files/patch-ipc_ipc__message__utils.h b/www/ungoogled-chromium/files/patch-ipc_ipc__message__utils.h
index b3cbea09ed4f..2f5f22c4714d 100644
--- a/www/ungoogled-chromium/files/patch-ipc_ipc__message__utils.h
+++ b/www/ungoogled-chromium/files/patch-ipc_ipc__message__utils.h
@@ -1,6 +1,6 @@
---- ipc/ipc_message_utils.h.orig 2025-05-06 12:23:00 UTC
+--- ipc/ipc_message_utils.h.orig 2025-09-10 13:22:16 UTC
+++ ipc/ipc_message_utils.h
-@@ -216,7 +216,7 @@ struct ParamTraits<unsigned int> {
+@@ -211,7 +211,7 @@ struct ParamTraits<unsigned int> {
// Since we want to support Android 32<>64 bit IPC, as long as we don't have
// these traits for 32 bit ARM then that'll catch any errors.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/ungoogled-chromium/files/patch-media_BUILD.gn b/www/ungoogled-chromium/files/patch-media_BUILD.gn
index 0c367931c10d..e6b21cd4f17d 100644
--- a/www/ungoogled-chromium/files/patch-media_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-media_BUILD.gn
@@ -1,6 +1,6 @@
---- media/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- media/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ media/BUILD.gn
-@@ -105,6 +105,9 @@ config("media_config") {
+@@ -107,6 +107,9 @@ config("media_config") {
defines += [ "DLOPEN_PULSEAUDIO" ]
}
}
diff --git a/www/ungoogled-chromium/files/patch-media_audio_BUILD.gn b/www/ungoogled-chromium/files/patch-media_audio_BUILD.gn
index b9329b1da15d..010f56d78683 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-media_audio_BUILD.gn
@@ -1,6 +1,6 @@
---- media/audio/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- media/audio/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ media/audio/BUILD.gn
-@@ -275,9 +275,23 @@ source_set("audio") {
+@@ -289,9 +289,23 @@ source_set("audio") {
deps += [ "//media/base/android:media_jni_headers" ]
}
diff --git a/www/ungoogled-chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc b/www/ungoogled-chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc
index 5b95ad01901e..bf1e1c5f4c9f 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc
+++ b/www/ungoogled-chromium/files/patch-media_audio_alsa_audio__manager__alsa.cc
@@ -1,6 +1,6 @@
---- media/audio/alsa/audio_manager_alsa.cc.orig 2025-05-31 17:16:41 UTC
+--- media/audio/alsa/audio_manager_alsa.cc.orig 2025-09-10 13:22:16 UTC
+++ media/audio/alsa/audio_manager_alsa.cc
-@@ -106,7 +106,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
+@@ -103,7 +103,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
int card = -1;
// Loop through the physical sound cards to get ALSA device hints.
@@ -10,7 +10,7 @@
void** hints = nullptr;
int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
if (!error) {
-@@ -118,7 +120,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
+@@ -115,7 +117,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType
DLOG(WARNING) << "GetAlsaAudioDevices: unable to get device hints: "
<< wrapper_->StrError(error);
}
@@ -20,19 +20,19 @@
}
void AudioManagerAlsa::GetAlsaDevicesInfo(AudioManagerAlsa::StreamType type,
-@@ -202,7 +206,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable(
+@@ -199,7 +203,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable(AudioMana
// goes through software conversion if needed (e.g. incompatible
// sample rate).
// TODO(joi): Should we prefer "hw" instead?
+#if BUILDFLAG(IS_BSD)
-+ static const char kDeviceTypeDesired[] = "plug";
++ static constexpr std::string_view kDeviceTypeDesired = "plug";
+#else
- static const char kDeviceTypeDesired[] = "plughw";
+ static constexpr std::string_view kDeviceTypeDesired = "plughw";
+#endif
- return strncmp(kDeviceTypeDesired, device_name,
- std::size(kDeviceTypeDesired) - 1) == 0;
+ return device_name.starts_with(kDeviceTypeDesired);
}
-@@ -254,7 +262,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice(
+
+@@ -250,7 +258,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice(
// Loop through the sound cards.
// Don't use snd_device_name_hint(-1,..) since there is an access violation
// inside this ALSA API with libasound.so.2.0.0.
@@ -41,7 +41,7 @@
+#endif
int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
if (!error) {
- for (void** hint_iter = hints; *hint_iter != nullptr; hint_iter++) {
+ const std::string_view unwanted_type =
@@ -279,7 +289,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice(
DLOG(WARNING) << "HasAnyAudioDevice: unable to get device hints: "
<< wrapper_->StrError(error);
diff --git a/www/ungoogled-chromium/files/patch-media_audio_audio__input__device.cc b/www/ungoogled-chromium/files/patch-media_audio_audio__input__device.cc
index 94df86b06255..a890b351ce59 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_audio__input__device.cc
+++ b/www/ungoogled-chromium/files/patch-media_audio_audio__input__device.cc
@@ -1,6 +1,6 @@
---- media/audio/audio_input_device.cc.orig 2025-02-20 09:59:21 UTC
+--- media/audio/audio_input_device.cc.orig 2025-09-10 13:22:16 UTC
+++ media/audio/audio_input_device.cc
-@@ -275,7 +275,7 @@ void AudioInputDevice::OnStreamCreated(
+@@ -271,7 +271,7 @@ void AudioInputDevice::OnStreamCreated(
// here. See comments in AliveChecker and PowerObserverHelper for details and
// todos.
if (detect_dead_stream_ == DeadStreamDetection::kEnabled) {
diff --git a/www/ungoogled-chromium/files/patch-media_audio_pulse_pulse__util.cc b/www/ungoogled-chromium/files/patch-media_audio_pulse_pulse__util.cc
index 3ae851d32c8e..6f508f46eda1 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_pulse_pulse__util.cc
+++ b/www/ungoogled-chromium/files/patch-media_audio_pulse_pulse__util.cc
@@ -1,6 +1,6 @@
---- media/audio/pulse/pulse_util.cc.orig 2024-10-01 07:26:23 UTC
+--- media/audio/pulse/pulse_util.cc.orig 2025-09-10 13:22:16 UTC
+++ media/audio/pulse/pulse_util.cc
-@@ -50,7 +50,11 @@ constexpr char kBrowserDisplayName[] = "chromium-brows
+@@ -45,7 +45,11 @@ constexpr char kBrowserDisplayName[] = "chromium-brows
#if defined(DLOPEN_PULSEAUDIO)
static const base::FilePath::CharType kPulseLib[] =
diff --git a/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc b/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc
index a268febeec12..893ec8c52597 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc
+++ b/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc
@@ -1,6 +1,6 @@
---- media/audio/sndio/audio_manager_sndio.cc.orig 2024-07-31 14:19:23 UTC
+--- media/audio/sndio/audio_manager_sndio.cc.orig 2025-09-10 13:22:16 UTC
+++ media/audio/sndio/audio_manager_sndio.cc
-@@ -0,0 +1,213 @@
+@@ -0,0 +1,215 @@
+// 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.
@@ -9,6 +9,8 @@
+#include "base/metrics/histogram_macros.h"
+#include "base/memory/ptr_util.h"
+
++#include "base/logging.h"
++
+#include "media/audio/sndio/audio_manager_sndio.h"
+
+#include "media/audio/audio_device_description.h"
@@ -62,7 +64,7 @@
+}
+
+#if defined(USE_SNDIO)
-+const char* AudioManagerSndio::GetName() {
++const std::string_view AudioManagerSndio::GetName() {
+ return "SNDIO";
+}
+#endif
diff --git a/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.h b/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.h
index e791d42538e1..0b7f6fe5185a 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.h
+++ b/www/ungoogled-chromium/files/patch-media_audio_sndio_audio__manager__sndio.h
@@ -1,4 +1,4 @@
---- media/audio/sndio/audio_manager_sndio.h.orig 2022-10-01 07:40:07 UTC
+--- media/audio/sndio/audio_manager_sndio.h.orig 2025-09-10 13:22:16 UTC
+++ media/audio/sndio/audio_manager_sndio.h
@@ -0,0 +1,66 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
@@ -34,7 +34,7 @@
+ void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override;
+ AudioParameters GetInputStreamParameters(
+ const std::string& device_id) override;
-+ const char* GetName() override;
++ const std::string_view GetName() override;
+
+ // Implementation of AudioManagerBase.
+ AudioOutputStream* MakeLinearOutputStream(
diff --git a/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__input.cc b/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__input.cc
index 445ce5cd16d7..b6362074ff0d 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__input.cc
+++ b/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__input.cc
@@ -1,11 +1,12 @@
---- media/audio/sndio/sndio_input.cc.orig 2023-05-05 12:12:41 UTC
+--- media/audio/sndio/sndio_input.cc.orig 2025-09-10 13:22:16 UTC
+++ media/audio/sndio/sndio_input.cc
-@@ -0,0 +1,200 @@
+@@ -0,0 +1,201 @@
+// Copyright 2013 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.
+
+#include "base/logging.h"
++#include "media/base/audio_sample_types.h"
+#include "media/base/audio_timestamp_helper.h"
+#include "media/audio/sndio/audio_manager_sndio.h"
+#include "media/audio/audio_manager.h"
diff --git a/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__output.cc b/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__output.cc
index dc09c7d4ecab..e9dd3609d15a 100644
--- a/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__output.cc
+++ b/www/ungoogled-chromium/files/patch-media_audio_sndio_sndio__output.cc
@@ -1,6 +1,6 @@
---- media/audio/sndio/sndio_output.cc.orig 2023-02-11 09:11:04 UTC
+--- media/audio/sndio/sndio_output.cc.orig 2025-09-10 13:22:16 UTC
+++ media/audio/sndio/sndio_output.cc
-@@ -0,0 +1,187 @@
+@@ -0,0 +1,188 @@
+// 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.
@@ -9,6 +9,7 @@
+#include "base/time/time.h"
+#include "base/time/default_tick_clock.h"
+#include "media/audio/audio_manager_base.h"
++#include "media/base/audio_sample_types.h"
+#include "media/base/audio_timestamp_helper.h"
+#include "media/audio/sndio/sndio_output.h"
+
diff --git a/www/ungoogled-chromium/files/patch-media_base_audio__latency.cc b/www/ungoogled-chromium/files/patch-media_base_audio__latency.cc
index 7f5f10923dd8..5d7ccc22fd08 100644
--- a/www/ungoogled-chromium/files/patch-media_base_audio__latency.cc
+++ b/www/ungoogled-chromium/files/patch-media_base_audio__latency.cc
@@ -1,6 +1,6 @@
---- media/base/audio_latency.cc.orig 2025-04-15 08:30:07 UTC
+--- media/base/audio_latency.cc.orig 2025-09-10 13:22:16 UTC
+++ media/base/audio_latency.cc
-@@ -147,7 +147,7 @@ int AudioLatency::GetRtcBufferSize(int sample_rate, in
+@@ -143,7 +143,7 @@ int AudioLatency::GetRtcBufferSize(int sample_rate, in
}
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \
diff --git a/www/ungoogled-chromium/files/patch-media_base_media__switches.cc b/www/ungoogled-chromium/files/patch-media_base_media__switches.cc
index ecdebb290982..1316ecd78a94 100644
--- a/www/ungoogled-chromium/files/patch-media_base_media__switches.cc
+++ b/www/ungoogled-chromium/files/patch-media_base_media__switches.cc
@@ -1,4 +1,4 @@
---- media/base/media_switches.cc.orig 2025-05-31 17:16:41 UTC
+--- media/base/media_switches.cc.orig 2025-09-10 13:22:16 UTC
+++ media/base/media_switches.cc
@@ -19,7 +19,7 @@
#include "ui/gl/gl_features.h"
@@ -9,7 +9,7 @@
#include "base/cpu.h"
#endif
-@@ -366,8 +366,8 @@ BASE_FEATURE(kUseSCContentSharingPicker,
+@@ -380,8 +380,8 @@ BASE_FEATURE(kUseSCContentSharingPicker,
"UseSCContentSharingPicker",
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_MAC)
@@ -20,7 +20,7 @@
// Enables system audio mirroring using pulseaudio.
BASE_FEATURE(kPulseaudioLoopbackForCast,
"PulseaudioLoopbackForCast",
-@@ -377,6 +377,28 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
+@@ -391,6 +391,28 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
BASE_FEATURE(kPulseaudioLoopbackForScreenShare,
"PulseaudioLoopbackForScreenShare",
base::FEATURE_DISABLED_BY_DEFAULT);
@@ -49,7 +49,7 @@
#endif // BUILDFLAG(IS_LINUX)
// When enabled, MediaCapabilities will check with GPU Video Accelerator
-@@ -658,7 +680,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInPicture,
+@@ -705,7 +727,7 @@ BASE_FEATURE(kFileDialogsTuckPictureInPicture,
// Show toolbar button that opens dialog for controlling media sessions.
BASE_FEATURE(kGlobalMediaControls,
"GlobalMediaControls",
@@ -58,7 +58,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -681,7 +703,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI,
+@@ -728,7 +750,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI,
// If enabled, users can request Media Remoting without fullscreen-in-tab.
BASE_FEATURE(kMediaRemotingWithoutFullscreen,
"MediaRemotingWithoutFullscreen",
@@ -67,7 +67,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -693,7 +715,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen,
+@@ -740,7 +762,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen,
BASE_FEATURE(kGlobalMediaControlsPictureInPicture,
"GlobalMediaControlsPictureInPicture",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -76,7 +76,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -722,7 +744,7 @@ BASE_FEATURE(kUnifiedAutoplay,
+@@ -775,7 +797,7 @@ BASE_FEATURE(kUnifiedAutoplay,
"UnifiedAutoplay",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -85,7 +85,7 @@
// Enable vaapi/v4l2 video decoding on linux. This is already enabled by default
// on chromeos, but needs an experiment on linux.
BASE_FEATURE(kAcceleratedVideoDecodeLinux,
-@@ -795,7 +817,7 @@ BASE_FEATURE(kVSyncMjpegDecoding,
+@@ -848,7 +870,7 @@ BASE_FEATURE(kVSyncMjpegDecoding,
"VSyncMjpegDecoding",
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
@@ -94,7 +94,7 @@
// Enable H264 temporal layer encoding with V4L2 HW encoder on ChromeOS.
BASE_FEATURE(kV4L2H264TemporalLayerHWEncoding,
"V4L2H264TemporalLayerHWEncoding",
-@@ -1340,7 +1362,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding,
+@@ -1444,7 +1466,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecoding,
);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
@@ -103,7 +103,7 @@
// Spawn utility processes to perform hardware encode acceleration instead of
// using the GPU process.
BASE_FEATURE(kUseOutOfProcessVideoEncoding,
-@@ -1422,7 +1444,7 @@ BASE_FEATURE(kRecordWebAudioEngagement,
+@@ -1526,7 +1548,7 @@ BASE_FEATURE(kRecordWebAudioEngagement,
"RecordWebAudioEngagement",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -112,3 +112,12 @@
// Reduces the number of buffers needed in the output video frame pool to
// populate the Renderer pipeline for hardware accelerated VideoDecoder in
// non-low latency scenarios.
+@@ -1843,7 +1865,7 @@ bool IsSystemLoopbackCaptureSupported() {
+ #elif BUILDFLAG(IS_MAC)
+ return (IsMacSckSystemLoopbackCaptureSupported() ||
+ IsMacCatapSystemLoopbackCaptureSupported());
+-#elif BUILDFLAG(IS_LINUX) && defined(USE_PULSEAUDIO)
++#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(USE_PULSEAUDIO)
+ return true;
+ #else
+ return false;
diff --git a/www/ungoogled-chromium/files/patch-media_base_media__switches.h b/www/ungoogled-chromium/files/patch-media_base_media__switches.h
index 313aa1c7a307..d1ce71bf3d65 100644
--- a/www/ungoogled-chromium/files/patch-media_base_media__switches.h
+++ b/www/ungoogled-chromium/files/patch-media_base_media__switches.h
@@ -1,6 +1,6 @@
---- media/base/media_switches.h.orig 2025-05-31 17:16:41 UTC
+--- media/base/media_switches.h.orig 2025-09-10 13:22:16 UTC
+++ media/base/media_switches.h
-@@ -334,13 +334,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaRecorderHEVCSu
+@@ -338,13 +338,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaRecorderHEVCSu
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlaybackSpeedButton);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMediaEngagementData);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMetadataSuspend);
@@ -28,16 +28,16 @@
MEDIA_EXPORT BASE_DECLARE_FEATURE(kReduceHardwareVideoDecoderBuffers);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
MEDIA_EXPORT BASE_DECLARE_FEATURE(kResumeBackgroundVideo);
-@@ -354,7 +366,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kSuspendMutedAudio);
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay);
+@@ -363,7 +375,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseAndroidOverlayForSecureOnly);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMediaStream);
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMediaStreamAccurateDroppedFrameCount);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinux);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinuxGL);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoEncodeLinux);
-@@ -370,7 +382,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiAV1TemporalLay
+@@ -379,7 +391,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiAV1TemporalLay
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVp9SModeHWEncoding);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVSyncMjpegDecoding);
#endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
@@ -46,7 +46,7 @@
MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2H264TemporalLayerHWEncoding);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVideoBlitColorAccuracy);
-@@ -490,7 +502,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kBackgroundListening
+@@ -497,7 +509,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kBackgroundListening
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVideoDecoding);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
diff --git a/www/ungoogled-chromium/files/patch-media_base_video__frame.cc b/www/ungoogled-chromium/files/patch-media_base_video__frame.cc
index 6e95b1801758..4bd34ff6e6f5 100644
--- a/www/ungoogled-chromium/files/patch-media_base_video__frame.cc
+++ b/www/ungoogled-chromium/files/patch-media_base_video__frame.cc
@@ -1,6 +1,6 @@
---- media/base/video_frame.cc.orig 2025-05-31 17:16:41 UTC
+--- media/base/video_frame.cc.orig 2025-09-10 13:22:16 UTC
+++ media/base/video_frame.cc
-@@ -92,7 +92,7 @@ std::string VideoFrame::StorageTypeToString(
+@@ -87,7 +87,7 @@ std::string VideoFrame::StorageTypeToString(
return "OWNED_MEMORY";
case VideoFrame::STORAGE_SHMEM:
return "SHMEM";
@@ -9,7 +9,7 @@
case VideoFrame::STORAGE_DMABUFS:
return "DMABUFS";
#endif
-@@ -106,7 +106,7 @@ std::string VideoFrame::StorageTypeToString(
+@@ -101,7 +101,7 @@ std::string VideoFrame::StorageTypeToString(
// static
bool VideoFrame::IsStorageTypeMappable(VideoFrame::StorageType storage_type) {
return
@@ -18,25 +18,25 @@
// This is not strictly needed but makes explicit that, at VideoFrame
// level, DmaBufs are not mappable from userspace.
storage_type != VideoFrame::STORAGE_DMABUFS &&
-@@ -420,7 +420,7 @@ VideoFrame::CreateFrameForGpuMemoryBufferOrMappableSII
+@@ -396,7 +396,7 @@ scoped_refptr<VideoFrame> VideoFrame::CreateFrameForMa
plane_size.width() * VideoFrame::BytesPerElement(*format, plane);
}
uint64_t modifier = gfx::NativePixmapHandle::kNoModifier;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- bool is_native_buffer =
- gpu_memory_buffer
- ? (gpu_memory_buffer->GetType() != gfx::SHARED_MEMORY_BUFFER)
-@@ -890,7 +890,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM
- return frame;
+ bool is_native_buffer = !shared_image->IsSharedMemoryForVideoFrame();
+ if (is_native_buffer) {
+ const auto gmb_handle = shared_image->CloneGpuMemoryBufferHandle();
+@@ -861,7 +861,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM
}
+ #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// static
scoped_refptr<VideoFrame> VideoFrame::WrapExternalDmabufs(
const VideoFrameLayout& layout,
-@@ -1577,7 +1577,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar
+@@ -1535,7 +1535,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar
return wrapped_frame_ ? wrapped_frame_->shared_image() : shared_image_;
}
diff --git a/www/ungoogled-chromium/files/patch-media_base_video__frame.h b/www/ungoogled-chromium/files/patch-media_base_video__frame.h
index 5d617f871f07..3d3212455560 100644
--- a/www/ungoogled-chromium/files/patch-media_base_video__frame.h
+++ b/www/ungoogled-chromium/files/patch-media_base_video__frame.h
@@ -1,6 +1,6 @@
---- media/base/video_frame.h.orig 2025-05-31 17:16:41 UTC
+--- media/base/video_frame.h.orig 2025-09-10 13:22:16 UTC
+++ media/base/video_frame.h
-@@ -42,7 +42,7 @@
+@@ -41,7 +41,7 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/hdr_metadata.h"
@@ -9,7 +9,7 @@
#include "base/files/scoped_file.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -88,7 +88,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
+@@ -95,7 +95,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
STORAGE_UNOWNED_MEMORY = 2, // External, non owned data pointers.
STORAGE_OWNED_MEMORY = 3, // VideoFrame has allocated its own data buffer.
STORAGE_SHMEM = 4, // Backed by read-only shared memory.
@@ -18,16 +18,16 @@
STORAGE_DMABUFS = 5, // Each plane is stored into a DmaBuf.
#endif
STORAGE_GPU_MEMORY_BUFFER = 6,
-@@ -420,7 +420,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
- ReleaseMailboxAndGpuMemoryBufferCB mailbox_holder_and_gmb_release_cb,
+@@ -370,7 +370,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
base::TimeDelta timestamp);
+ #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Wraps provided dmabufs
// (https://www.kernel.org/doc/html/latest/driver-api/dma-buf.html) with a
// VideoFrame. The frame will take ownership of |dmabuf_fds|, and will
-@@ -733,7 +733,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
+@@ -692,7 +692,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
// wait for the included sync point.
scoped_refptr<gpu::ClientSharedImage> shared_image() const;
@@ -36,7 +36,7 @@
// The number of DmaBufs will be equal or less than the number of planes of
// the frame. If there are less, this means that the last FD contains the
// remaining planes. Should be > 0 for STORAGE_DMABUFS.
-@@ -973,7 +973,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
+@@ -927,7 +927,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
// GpuMemoryBuffers. Clients will set this flag while creating a VideoFrame.
bool is_mappable_si_enabled_ = false;
diff --git a/www/ungoogled-chromium/files/patch-media_capture_video_create__video__capture__device__factory.cc b/www/ungoogled-chromium/files/patch-media_capture_video_create__video__capture__device__factory.cc
index d7c238e7c584..26c523147115 100644
--- a/www/ungoogled-chromium/files/patch-media_capture_video_create__video__capture__device__factory.cc
+++ b/www/ungoogled-chromium/files/patch-media_capture_video_create__video__capture__device__factory.cc
@@ -1,6 +1,6 @@
---- media/capture/video/create_video_capture_device_factory.cc.orig 2025-04-15 08:30:07 UTC
+--- media/capture/video/create_video_capture_device_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ media/capture/video/create_video_capture_device_factory.cc
-@@ -12,7 +12,7 @@
+@@ -13,7 +13,7 @@
#include "media/capture/video/fake_video_capture_device_factory.h"
#include "media/capture/video/file_video_capture_device_factory.h"
@@ -9,7 +9,7 @@
#include "media/capture/video/linux/video_capture_device_factory_linux.h"
#elif BUILDFLAG(IS_CHROMEOS)
#include "media/capture/video/chromeos/public/cros_features.h"
-@@ -55,7 +55,7 @@ CreateFakeVideoCaptureDeviceFactory() {
+@@ -56,7 +56,7 @@ CreateFakeVideoCaptureDeviceFactory() {
std::unique_ptr<VideoCaptureDeviceFactory>
CreatePlatformSpecificVideoCaptureDeviceFactory(
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
diff --git a/www/ungoogled-chromium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc b/www/ungoogled-chromium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc
index b2ddac062a8c..338d71b1c704 100644
--- a/www/ungoogled-chromium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc
+++ b/www/ungoogled-chromium/files/patch-media_capture_video_linux_fake__v4l2__impl.cc
@@ -1,6 +1,6 @@
---- media/capture/video/linux/fake_v4l2_impl.cc.orig 2025-03-09 21:38:10 UTC
+--- media/capture/video/linux/fake_v4l2_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ media/capture/video/linux/fake_v4l2_impl.cc
-@@ -569,7 +569,7 @@ int FakeV4L2Impl::close(int fd) {
+@@ -570,7 +570,7 @@ int FakeV4L2Impl::close(int fd) {
return kSuccessReturnValue;
}
diff --git a/www/ungoogled-chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc b/www/ungoogled-chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
index 4e1df633590f..68a26f76a9e8 100644
--- a/www/ungoogled-chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
@@ -1,4 +1,4 @@
---- media/capture/video/linux/v4l2_capture_delegate.cc.orig 2025-03-09 21:38:10 UTC
+--- media/capture/video/linux/v4l2_capture_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ media/capture/video/linux/v4l2_capture_delegate.cc
@@ -10,8 +10,10 @@
#include "media/capture/video/linux/v4l2_capture_delegate.h"
@@ -11,7 +11,7 @@
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-@@ -34,17 +36,19 @@
+@@ -35,17 +37,19 @@
#include "media/capture/video/blob_utils.h"
#include "media/capture/video/linux/video_capture_device_linux.h"
@@ -32,7 +32,7 @@
// TODO(aleksandar.stojiljkovic): Wrap this with kernel version check once the
// format is introduced to kernel.
-@@ -54,6 +58,14 @@ using media::mojom::MeteringMode;
+@@ -55,6 +59,14 @@ using media::mojom::MeteringMode;
#define V4L2_PIX_FMT_INVZ v4l2_fourcc('I', 'N', 'V', 'Z')
#endif
@@ -47,7 +47,7 @@
namespace media {
namespace {
-@@ -273,7 +285,7 @@ bool V4L2CaptureDelegate::IsBlockedControl(int control
+@@ -274,7 +286,7 @@ bool V4L2CaptureDelegate::IsBlockedControl(int control
// static
bool V4L2CaptureDelegate::IsControllableControl(
int control_id,
@@ -56,7 +56,7 @@
const int special_control_id = GetControllingSpecialControl(control_id);
if (!special_control_id) {
// The control is not controlled by a special control thus the control is
-@@ -329,7 +341,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate(
+@@ -330,7 +342,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate(
is_capturing_(false),
timeout_count_(0),
rotation_(rotation) {
@@ -65,7 +65,7 @@
use_gpu_buffer_ = switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
#endif // BUILDFLAG(IS_LINUX)
}
-@@ -456,7 +468,7 @@ void V4L2CaptureDelegate::AllocateAndStart(
+@@ -457,7 +469,7 @@ void V4L2CaptureDelegate::AllocateAndStart(
client_->OnStarted();
@@ -74,7 +74,7 @@
if (use_gpu_buffer_) {
v4l2_gpu_helper_ = std::make_unique<V4L2CaptureDelegateGpuHelper>();
}
-@@ -800,7 +812,7 @@ base::WeakPtr<V4L2CaptureDelegate> V4L2CaptureDelegate
+@@ -801,7 +813,7 @@ base::WeakPtr<V4L2CaptureDelegate> V4L2CaptureDelegate
V4L2CaptureDelegate::~V4L2CaptureDelegate() = default;
@@ -83,7 +83,7 @@
int num_retries = 0;
for (; DoIoctl(request, argp) < 0 && num_retries < kMaxIOCtrlRetries;
++num_retries) {
-@@ -810,7 +822,7 @@ bool V4L2CaptureDelegate::RunIoctl(int request, void*
+@@ -811,7 +823,7 @@ bool V4L2CaptureDelegate::RunIoctl(int request, void*
return num_retries != kMaxIOCtrlRetries;
}
@@ -92,7 +92,7 @@
return HANDLE_EINTR(v4l2_->ioctl(device_fd_.get(), request, argp));
}
-@@ -821,6 +833,7 @@ bool V4L2CaptureDelegate::IsControllableControl(int co
+@@ -822,6 +834,7 @@ bool V4L2CaptureDelegate::IsControllableControl(int co
}
void V4L2CaptureDelegate::ReplaceControlEventSubscriptions() {
@@ -100,7 +100,7 @@
constexpr uint32_t kControlIds[] = {V4L2_CID_AUTO_EXPOSURE_BIAS,
V4L2_CID_AUTO_WHITE_BALANCE,
V4L2_CID_BRIGHTNESS,
-@@ -848,6 +861,7 @@ void V4L2CaptureDelegate::ReplaceControlEventSubscript
+@@ -849,6 +862,7 @@ void V4L2CaptureDelegate::ReplaceControlEventSubscript
<< ", {type = V4L2_EVENT_CTRL, id = " << control_id << "}";
}
}
@@ -108,7 +108,7 @@
}
mojom::RangePtr V4L2CaptureDelegate::RetrieveUserControlRange(int control_id) {
-@@ -1028,7 +1042,11 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1029,7 +1043,11 @@ void V4L2CaptureDelegate::DoCapture() {
pollfd device_pfd = {};
device_pfd.fd = device_fd_.get();
@@ -120,7 +120,7 @@
const int result =
HANDLE_EINTR(v4l2_->poll(&device_pfd, 1, kCaptureTimeoutMs));
-@@ -1066,6 +1084,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1067,6 +1085,7 @@ void V4L2CaptureDelegate::DoCapture() {
timeout_count_ = 0;
}
@@ -128,7 +128,7 @@
// Dequeue events if the driver has filled in some.
if (device_pfd.revents & POLLPRI) {
bool controls_changed = false;
-@@ -1099,6 +1118,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1100,6 +1119,7 @@ void V4L2CaptureDelegate::DoCapture() {
client_->OnCaptureConfigurationChanged();
}
}
@@ -136,7 +136,7 @@
// Deenqueue, send and reenqueue a buffer if the driver has filled one in.
if (device_pfd.revents & POLLIN) {
-@@ -1152,7 +1172,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1153,7 +1173,7 @@ void V4L2CaptureDelegate::DoCapture() {
// workable on Linux.
// See http://crbug.com/959919.
@@ -145,7 +145,7 @@
if (use_gpu_buffer_) {
v4l2_gpu_helper_->OnIncomingCapturedData(
client_.get(), buffer_tracker->start(),
-@@ -1226,7 +1246,7 @@ void V4L2CaptureDelegate::SetErrorState(VideoCaptureEr
+@@ -1227,7 +1247,7 @@ void V4L2CaptureDelegate::SetErrorState(VideoCaptureEr
client_->OnError(error, from_here, reason);
}
diff --git a/www/ungoogled-chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc b/www/ungoogled-chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc
index 893aa101ccd4..d5b422ea5eaa 100644
--- a/www/ungoogled-chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc
+++ b/www/ungoogled-chromium/files/patch-media_capture_video_linux_video__capture__device__factory__v4l2.cc
@@ -1,6 +1,6 @@
---- media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2025-03-09 21:38:10 UTC
+--- media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2025-09-10 13:22:16 UTC
+++ media/capture/video/linux/video_capture_device_factory_v4l2.cc
-@@ -43,6 +43,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf
+@@ -44,6 +44,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf
return a.descriptor < b.descriptor;
}
@@ -8,7 +8,7 @@
// USB VID and PID are both 4 bytes long.
const size_t kVidPidSize = 4;
const size_t kMaxInterfaceNameSize = 256;
-@@ -75,11 +76,24 @@ std::string ExtractFileNameFromDeviceId(const std::str
+@@ -76,11 +77,24 @@ std::string ExtractFileNameFromDeviceId(const std::str
DCHECK(base::StartsWith(device_id, kDevDir, base::CompareCase::SENSITIVE));
return device_id.substr(strlen(kDevDir), device_id.length());
}
@@ -33,7 +33,7 @@
const base::FilePath path("/dev/");
base::FileEnumerator enumerator(path, false, base::FileEnumerator::FILES,
"video*");
-@@ -87,9 +101,13 @@ class DevVideoFilePathsDeviceProvider
+@@ -88,9 +102,13 @@ class DevVideoFilePathsDeviceProvider
const base::FileEnumerator::FileInfo info = enumerator.GetInfo();
target_container->emplace_back(path.value() + info.GetName().value());
}
@@ -47,7 +47,7 @@
const std::string file_name = ExtractFileNameFromDeviceId(device_id);
std::string usb_id;
const std::string vid_path =
-@@ -106,9 +124,13 @@ class DevVideoFilePathsDeviceProvider
+@@ -107,9 +125,13 @@ class DevVideoFilePathsDeviceProvider
}
return usb_id;
@@ -61,7 +61,7 @@
const std::string file_name = ExtractFileNameFromDeviceId(device_id);
const std::string interface_path =
base::StringPrintf(kInterfacePathTemplate, file_name.c_str());
-@@ -119,6 +141,7 @@ class DevVideoFilePathsDeviceProvider
+@@ -120,6 +142,7 @@ class DevVideoFilePathsDeviceProvider
return std::string();
}
return display_name;
@@ -69,7 +69,7 @@
}
};
-@@ -224,7 +247,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo(
+@@ -225,7 +248,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo(
std::move(callback).Run(std::move(devices_info));
}
diff --git a/www/ungoogled-chromium/files/patch-media_capture_video_video__capture__device__client.cc b/www/ungoogled-chromium/files/patch-media_capture_video_video__capture__device__client.cc
index 8125498cd84f..e9826fb8795b 100644
--- a/www/ungoogled-chromium/files/patch-media_capture_video_video__capture__device__client.cc
+++ b/www/ungoogled-chromium/files/patch-media_capture_video_video__capture__device__client.cc
@@ -1,6 +1,6 @@
---- media/capture/video/video_capture_device_client.cc.orig 2025-04-15 08:30:07 UTC
+--- media/capture/video/video_capture_device_client.cc.orig 2025-09-10 13:22:16 UTC
+++ media/capture/video/video_capture_device_client.cc
-@@ -172,7 +172,7 @@ FourccAndFlip GetFourccAndFlipFromPixelFormat(
+@@ -173,7 +173,7 @@ FourccAndFlip GetFourccAndFlipFromPixelFormat(
CHECK(!is_width_odd && !is_height_odd);
return {libyuv::FOURCC_UYVY};
case media::PIXEL_FORMAT_RGB24:
diff --git a/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py b/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py
index 1a43065ed0f8..4e1635bbc4e9 100644
--- a/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py
+++ b/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_build__ffmpeg.py
@@ -1,4 +1,4 @@
---- media/ffmpeg/scripts/build_ffmpeg.py.orig 2024-07-31 14:19:23 UTC
+--- media/ffmpeg/scripts/build_ffmpeg.py.orig 2025-09-10 13:22:16 UTC
+++ media/ffmpeg/scripts/build_ffmpeg.py
@@ -33,7 +33,7 @@ NDK_ROOT_DIR = os.path.abspath(
SUCCESS_TOKEN = 'THIS_BUILD_WORKED'
@@ -12,13 +12,13 @@
@@ -43,6 +43,8 @@ BRANDINGS = [
ARCH_MAP = {
'android': ['ia32', 'x64', 'arm-neon', 'arm64'],
- 'linux': ['ia32', 'x64', 'noasm-x64', 'arm', 'arm-neon', 'arm64'],
+ 'linux': ['ia32', 'x64', 'noasm-x64', 'arm', 'arm-neon', 'arm64', 'riscv64'],
+ 'openbsd': ['x64', 'arm64', 'ia32'],
+ 'freebsd': ['x64', 'arm64', 'ia32'],
'mac': ['x64', 'arm64'],
'win': ['ia32', 'x64', 'arm64'],
}
-@@ -122,7 +124,7 @@ def PrintAndCheckCall(argv, *args, **kwargs):
+@@ -124,7 +126,7 @@ def PrintAndCheckCall(argv, *args, **kwargs):
def GetDsoName(target_os, dso_name, dso_version):
diff --git a/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_robo__lib_config.py b/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_robo__lib_config.py
index 8f037c11e821..8956067a4bde 100644
--- a/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_robo__lib_config.py
+++ b/www/ungoogled-chromium/files/patch-media_ffmpeg_scripts_robo__lib_config.py
@@ -1,4 +1,4 @@
---- media/ffmpeg/scripts/robo_lib/config.py.orig 2025-02-20 09:59:21 UTC
+--- media/ffmpeg/scripts/robo_lib/config.py.orig 2025-09-10 13:22:16 UTC
+++ media/ffmpeg/scripts/robo_lib/config.py
@@ -56,19 +56,13 @@ class RoboConfiguration:
self._llvm_path = os.path.join(self.chrome_src(), "third_party",
@@ -32,7 +32,7 @@
self._host_architecture = "arm64"
elif platform.machine() == "mips32":
self._host_architecture = "mipsel"
-@@ -224,6 +218,10 @@ class RoboConfiguration:
+@@ -230,6 +224,10 @@ class RoboConfiguration:
elif platform.system() == "Windows" or "CYGWIN_NT" in platform.system(
):
self._host_operating_system = "win"
@@ -43,7 +43,7 @@
else:
raise ValueError(f"Unsupported platform: {platform.system()}")
-@@ -232,8 +230,8 @@ class RoboConfiguration:
+@@ -238,8 +236,8 @@ class RoboConfiguration:
wd = os.getcwd()
# Walk up the tree until we find src/AUTHORS
while wd != "/":
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc b/www/ungoogled-chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
index f77ead67c04a..306d3c4d98c1 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
@@ -1,11 +1,11 @@
---- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2025-05-06 12:23:00 UTC
+--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/chromeos/mailbox_video_frame_converter.cc
-@@ -68,7 +68,7 @@ viz::SharedImageFormat GetSharedImageFormat(gfx::Buffe
- << static_cast<int>(buffer_format);
- NOTREACHED();
+@@ -321,7 +321,7 @@ bool MailboxVideoFrameConverter::GenerateSharedImage(
+ VideoPixelFormatToString(origin_frame->format()));
+ return false;
}
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// If format is true multiplanar format, we prefer external sampler on
// ChromeOS and Linux.
- if (format.is_multi_plane()) {
+ if (si_format->is_multi_plane()) {
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc b/www/ungoogled-chromium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc
index c6195d6838cd..a34aae2f821c 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_chromeos_platform__video__frame__utils.cc
@@ -1,6 +1,6 @@
---- media/gpu/chromeos/platform_video_frame_utils.cc.orig 2025-04-15 08:30:07 UTC
+--- media/gpu/chromeos/platform_video_frame_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/chromeos/platform_video_frame_utils.cc
-@@ -68,7 +68,7 @@ static std::unique_ptr<ui::GbmDevice> CreateGbmDevice(
+@@ -71,7 +71,7 @@ static std::unique_ptr<ui::GbmDevice> CreateGbmDevice(
const base::FilePath dev_path(FILE_PATH_LITERAL(
base::StrCat({drm_node_file_prefix, base::NumberToString(i)})));
@@ -9,7 +9,7 @@
const bool is_render_node = base::Contains(drm_node_file_prefix, "render");
// TODO(b/313513760): don't guard base::File::FLAG_WRITE behind
-@@ -193,7 +193,7 @@ class GbmDeviceWrapper {
+@@ -192,7 +192,7 @@ class GbmDeviceWrapper {
const base::FilePath dev_path(
base::CommandLine::ForCurrentProcess()->GetSwitchValuePath(
switches::kRenderNodeOverride));
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc b/www/ungoogled-chromium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc
index 3e61a33b6310..6997fda8bdd6 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc
@@ -1,6 +1,6 @@
---- media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2025-05-06 12:23:00 UTC
+--- media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/gpu_video_encode_accelerator_factory.cc
-@@ -160,7 +160,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
+@@ -162,7 +162,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
}
#if BUILDFLAG(USE_VAAPI)
@@ -9,7 +9,7 @@
if (base::FeatureList::IsEnabled(kAcceleratedVideoEncodeLinux)) {
vea_factory_functions->push_back(base::BindRepeating(&CreateVaapiVEA));
}
-@@ -168,7 +168,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
+@@ -170,7 +170,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
vea_factory_functions->push_back(base::BindRepeating(&CreateVaapiVEA));
#endif
#elif BUILDFLAG(USE_V4L2_CODEC)
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc b/www/ungoogled-chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
index 7fbe38c2344e..ce07cb5ccb36 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
@@ -1,4 +1,4 @@
---- media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2025-04-15 08:30:07 UTC
+--- media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc
@@ -17,7 +17,9 @@
#include "media/gpu/vaapi/vaapi_wrapper.h"
@@ -18,7 +18,7 @@
void AllowAccessToRenderNodes(std::vector<BrokerFilePermission>& permissions,
bool include_sys_dev_char,
bool read_write) {
-@@ -189,6 +192,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
+@@ -180,6 +183,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
NOTREACHED();
#endif // BUILDFLAG(USE_V4L2_CODEC)
}
@@ -26,7 +26,7 @@
} // namespace
-@@ -204,6 +208,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
+@@ -195,6 +199,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2(
// (at least).
bool HardwareVideoDecodingPreSandboxHook(
sandbox::policy::SandboxLinux::Options options) {
@@ -34,7 +34,7 @@
using HardwareVideoDecodingProcessPolicy =
sandbox::policy::HardwareVideoDecodingProcessPolicy;
using PolicyType =
-@@ -249,6 +254,7 @@ bool HardwareVideoDecodingPreSandboxHook(
+@@ -240,6 +245,7 @@ bool HardwareVideoDecodingPreSandboxHook(
// |permissions| is empty?
sandbox::policy::SandboxLinux::GetInstance()->StartBrokerProcess(
command_set, permissions, options);
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__helpers.cc b/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__helpers.cc
index 36f7a3850591..c41e9eb53ed5 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__helpers.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__helpers.cc
@@ -1,8 +1,8 @@
---- media/gpu/test/video_frame_helpers.cc.orig 2025-04-15 08:30:07 UTC
+--- media/gpu/test/video_frame_helpers.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/test/video_frame_helpers.cc
@@ -23,7 +23,7 @@
#include "ui/gfx/buffer_format_util.h"
- #include "ui/gfx/gpu_memory_buffer.h"
+ #include "ui/gfx/gpu_memory_buffer_handle.h"
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__validator.cc b/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__validator.cc
index c7d7e0e085b2..09a2b75b446b 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__validator.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_test_video__frame__validator.cc
@@ -1,8 +1,8 @@
---- media/gpu/test/video_frame_validator.cc.orig 2025-04-15 08:30:07 UTC
+--- media/gpu/test/video_frame_validator.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/test/video_frame_validator.cc
-@@ -34,7 +34,7 @@
+@@ -29,7 +29,7 @@
+ #include "media/media_buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"
- #include "ui/gfx/gpu_memory_buffer.h"
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc b/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc
index b7d80eb60bdd..5e0e08bc3027 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc
@@ -1,6 +1,6 @@
---- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2025-05-06 12:23:00 UTC
+--- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/vaapi/vaapi_video_decoder.cc
-@@ -784,7 +784,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree
+@@ -787,7 +787,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree
const gfx::Size decoder_natural_size =
aspect_ratio_.GetNaturalSize(decoder_visible_rect);
diff --git a/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc b/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
index ec3707cf46a8..2d52472316e0 100644
--- a/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
+++ b/www/ungoogled-chromium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
@@ -1,6 +1,6 @@
---- media/gpu/vaapi/vaapi_wrapper.cc.orig 2025-05-31 17:16:41 UTC
+--- media/gpu/vaapi/vaapi_wrapper.cc.orig 2025-09-10 13:22:16 UTC
+++ media/gpu/vaapi/vaapi_wrapper.cc
-@@ -82,7 +82,7 @@
+@@ -83,7 +83,7 @@
using media_gpu_vaapi::kModuleVa_prot;
#endif
diff --git a/www/ungoogled-chromium/files/patch-media_media__options.gni b/www/ungoogled-chromium/files/patch-media_media__options.gni
index 7e8ecb3acf54..5769179e1434 100644
--- a/www/ungoogled-chromium/files/patch-media_media__options.gni
+++ b/www/ungoogled-chromium/files/patch-media_media__options.gni
@@ -1,6 +1,6 @@
---- media/media_options.gni.orig 2025-04-15 08:30:07 UTC
+--- media/media_options.gni.orig 2025-09-10 13:22:16 UTC
+++ media/media_options.gni
-@@ -201,12 +201,15 @@ declare_args() {
+@@ -206,12 +206,15 @@ declare_args() {
# Enables runtime selection of ALSA library for audio.
use_alsa = false
diff --git a/www/ungoogled-chromium/files/patch-media_mojo_mojom_BUILD.gn b/www/ungoogled-chromium/files/patch-media_mojo_mojom_BUILD.gn
index 0b2386c92552..5dfed8687e6b 100644
--- a/www/ungoogled-chromium/files/patch-media_mojo_mojom_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-media_mojo_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- media/mojo/mojom/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- media/mojo/mojom/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ media/mojo/mojom/BUILD.gn
-@@ -971,7 +971,7 @@ source_set("test_support") {
+@@ -962,7 +962,7 @@ source_set("test_support") {
sources = []
deps = []
diff --git a/www/ungoogled-chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc b/www/ungoogled-chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc
index c0cccf6c9d10..890426e3dad9 100644
--- a/www/ungoogled-chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc
+++ b/www/ungoogled-chromium/files/patch-media_mojo_mojom_video__frame__mojom__traits.cc
@@ -1,6 +1,6 @@
---- media/mojo/mojom/video_frame_mojom_traits.cc.orig 2025-05-06 12:23:00 UTC
+--- media/mojo/mojom/video_frame_mojom_traits.cc.orig 2025-09-10 13:22:16 UTC
+++ media/mojo/mojom/video_frame_mojom_traits.cc
-@@ -24,7 +24,7 @@
+@@ -21,7 +21,7 @@
#include "ui/gfx/mojom/color_space_mojom_traits.h"
#include "ui/gfx/mojom/hdr_metadata_mojom_traits.h"
@@ -9,7 +9,7 @@
#include "base/posix/eintr_wrapper.h"
#include "media/gpu/buffer_validation.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -166,7 +166,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
+@@ -188,7 +188,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
media::mojom::OpaqueVideoFrameData::New());
}
@@ -18,7 +18,7 @@
if (input->storage_type() == media::VideoFrame::STORAGE_DMABUFS) {
// Duplicates the DMA buffer FDs to a new vector since this cannot take
// ownership of the FDs in |input| due to constness.
-@@ -197,7 +197,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
+@@ -219,7 +219,7 @@ media::mojom::VideoFrameDataPtr MakeVideoFrameData(
} // namespace
@@ -27,7 +27,7 @@
// static
bool StructTraits<
media::mojom::ColorPlaneLayoutDataView,
-@@ -436,7 +436,7 @@ bool StructTraits<media::mojom::VideoFrameDataView,
+@@ -442,7 +442,7 @@ bool StructTraits<media::mojom::VideoFrameDataView,
frame = media::VideoFrame::WrapTrackingToken(
format, *metadata.tracking_token, coded_size, visible_rect,
natural_size, timestamp);
diff --git a/www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.cc b/www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.cc
deleted file mode 100644
index 309a340d55c9..000000000000
--- a/www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- media/video/fake_gpu_memory_buffer.cc.orig 2025-05-31 17:16:41 UTC
-+++ media/video/fake_gpu_memory_buffer.cc
-@@ -15,7 +15,7 @@
- #include "media/base/format_utils.h"
- #include "media/base/video_frame.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include <fcntl.h>
- #include <sys/stat.h>
- #include <sys/types.h>
-@@ -30,7 +30,7 @@ namespace media {
-
- namespace {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- base::ScopedFD GetDummyFD() {
- base::ScopedFD fd(open("/dev/zero", O_RDWR));
- DCHECK(fd.is_valid());
-@@ -74,7 +74,7 @@ static base::AtomicSequenceNumber buffer_id_generator;
-
- } // namespace
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- gfx::GpuMemoryBufferHandle CreatePixmapHandleForTesting(
- const gfx::Size& size,
- gfx::BufferFormat format,
diff --git a/www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.h b/www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.h
deleted file mode 100644
index 94d1e5cf5b1b..000000000000
--- a/www/ungoogled-chromium/files/patch-media_video_fake__gpu__memory__buffer.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- media/video/fake_gpu_memory_buffer.h.orig 2025-05-31 17:16:41 UTC
-+++ media/video/fake_gpu_memory_buffer.h
-@@ -12,7 +12,7 @@
-
- namespace media {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // This method is used by tests to create a fake pixmap handle instead of
- // creating a FakeGpuMemoryBuffer. Once all tests are converted to use it,
- // FakeGpuMemoryBuffer will be removed and this file will be renamed
diff --git a/www/ungoogled-chromium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc b/www/ungoogled-chromium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc
index 990f8ae0e232..25a4f11c8889 100644
--- a/www/ungoogled-chromium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc
+++ b/www/ungoogled-chromium/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc
@@ -1,6 +1,6 @@
---- media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2025-05-06 12:23:00 UTC
+--- media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2025-09-10 13:22:16 UTC
+++ media/video/gpu_memory_buffer_video_frame_pool.cc
-@@ -647,7 +647,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHa
+@@ -651,7 +651,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHa
}
bool is_software_backed_video_frame = !video_frame->HasSharedImage();
@@ -9,16 +9,16 @@
is_software_backed_video_frame &= !video_frame->HasDmaBufs();
#endif
-@@ -1057,7 +1057,7 @@ scoped_refptr<VideoFrame> GpuMemoryBufferVideoFramePoo
- media::IOSurfaceIsWebGPUCompatible(handle.io_surface.get());
+@@ -1052,7 +1052,7 @@ scoped_refptr<VideoFrame> GpuMemoryBufferVideoFramePoo
+ media::IOSurfaceIsWebGPUCompatible(handle.io_surface().get());
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
is_webgpu_compatible =
- handle.native_pixmap_handle.supports_zero_copy_webgpu_import;
- #endif
-@@ -1228,7 +1228,7 @@ GpuMemoryBufferVideoFramePool::PoolImpl::GetOrCreateFr
+ handle.type == gfx::NATIVE_PIXMAP &&
+ handle.native_pixmap_handle().supports_zero_copy_webgpu_import;
+@@ -1220,7 +1220,7 @@ GpuMemoryBufferVideoFramePool::PoolImpl::GetOrCreateFr
si_usage |= gpu::SHARED_IMAGE_USAGE_SCANOUT;
}
diff --git a/www/ungoogled-chromium/files/patch-media_video_video__encode__accelerator__adapter.cc b/www/ungoogled-chromium/files/patch-media_video_video__encode__accelerator__adapter.cc
index 397534a78801..765a2f1e0d89 100644
--- a/www/ungoogled-chromium/files/patch-media_video_video__encode__accelerator__adapter.cc
+++ b/www/ungoogled-chromium/files/patch-media_video_video__encode__accelerator__adapter.cc
@@ -1,6 +1,6 @@
---- media/video/video_encode_accelerator_adapter.cc.orig 2025-05-06 12:23:00 UTC
+--- media/video/video_encode_accelerator_adapter.cc.orig 2025-09-10 13:22:16 UTC
+++ media/video/video_encode_accelerator_adapter.cc
-@@ -468,7 +468,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele
+@@ -467,7 +467,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele
auto format = PIXEL_FORMAT_I420;
auto storage_type = VideoEncodeAccelerator::Config::StorageType::kShmem;
diff --git a/www/ungoogled-chromium/files/patch-media_webrtc_audio__processor.cc b/www/ungoogled-chromium/files/patch-media_webrtc_audio__processor.cc
index 068574946c4f..09a22d93b650 100644
--- a/www/ungoogled-chromium/files/patch-media_webrtc_audio__processor.cc
+++ b/www/ungoogled-chromium/files/patch-media_webrtc_audio__processor.cc
@@ -1,6 +1,6 @@
---- media/webrtc/audio_processor.cc.orig 2025-05-31 17:16:41 UTC
+--- media/webrtc/audio_processor.cc.orig 2025-09-10 13:22:16 UTC
+++ media/webrtc/audio_processor.cc
-@@ -512,7 +512,7 @@ std::optional<double> AudioProcessor::ProcessData(
+@@ -510,7 +510,7 @@ std::optional<double> AudioProcessor::ProcessData(
// controller.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
DCHECK_LE(volume, 1.0);
diff --git a/www/ungoogled-chromium/files/patch-media_webrtc_helpers__unittests.cc b/www/ungoogled-chromium/files/patch-media_webrtc_helpers__unittests.cc
index 2718449e6671..f9bb1296536e 100644
--- a/www/ungoogled-chromium/files/patch-media_webrtc_helpers__unittests.cc
+++ b/www/ungoogled-chromium/files/patch-media_webrtc_helpers__unittests.cc
@@ -1,6 +1,6 @@
---- media/webrtc/helpers_unittests.cc.orig 2025-02-20 09:59:21 UTC
+--- media/webrtc/helpers_unittests.cc.orig 2025-09-10 13:22:16 UTC
+++ media/webrtc/helpers_unittests.cc
-@@ -39,7 +39,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest, CheckDefau
+@@ -38,7 +38,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest, CheckDefau
EXPECT_TRUE(config.echo_canceller.enabled);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
EXPECT_FALSE(config.gain_controller1.enabled);
EXPECT_TRUE(config.gain_controller2.enabled);
#elif BUILDFLAG(IS_CASTOS) || BUILDFLAG(IS_CAST_ANDROID)
-@@ -66,7 +66,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
+@@ -65,7 +65,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -18,7 +18,7 @@
TEST(CreateWebRtcAudioProcessingModuleTest,
InputVolumeAdjustmentEnabledWithAgc2) {
::base::test::ScopedFeatureList feature_list;
-@@ -82,7 +82,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
+@@ -81,7 +81,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -27,7 +27,7 @@
TEST(CreateWebRtcAudioProcessingModuleTest,
CanDisableInputVolumeAdjustmentWithAgc2) {
::base::test::ScopedFeatureList feature_list;
-@@ -99,7 +99,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
+@@ -98,7 +98,7 @@ TEST(CreateWebRtcAudioProcessingModuleTest,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-mojo_core_BUILD.gn b/www/ungoogled-chromium/files/patch-mojo_core_BUILD.gn
index f298ab06789b..73e9b3001841 100644
--- a/www/ungoogled-chromium/files/patch-mojo_core_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-mojo_core_BUILD.gn
@@ -1,11 +1,11 @@
---- mojo/core/BUILD.gn.orig 2025-01-25 09:34:31 UTC
+--- mojo/core/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ mojo/core/BUILD.gn
-@@ -163,7 +163,7 @@ source_set("impl_for_embedder") {
- ]
- }
+@@ -161,7 +161,7 @@ source_set("impl_for_embedder") {
+ "channel_posix.h",
+ ]
-- if ((is_linux || is_chromeos || is_android) && !is_nacl) {
-+ if ((is_linux || is_chromeos || is_android) && !is_nacl && !is_bsd) {
+- if (is_linux || is_chromeos || is_android) {
++ if ((is_linux || is_chromeos || is_android) && !is_bsd) {
sources += [
"channel_linux.cc",
"channel_linux.h",
diff --git a/www/ungoogled-chromium/files/patch-mojo_core_channel.cc b/www/ungoogled-chromium/files/patch-mojo_core_channel.cc
index 62a857bddb2f..4f48fac93970 100644
--- a/www/ungoogled-chromium/files/patch-mojo_core_channel.cc
+++ b/www/ungoogled-chromium/files/patch-mojo_core_channel.cc
@@ -1,6 +1,6 @@
---- mojo/core/channel.cc.orig 2025-01-25 09:34:31 UTC
+--- mojo/core/channel.cc.orig 2025-09-10 13:22:16 UTC
+++ mojo/core/channel.cc
-@@ -83,7 +83,11 @@ const size_t kMaxAttachedHandles = 64;
+@@ -80,7 +80,11 @@ const size_t kMaxAttachedHandles = 64;
const size_t kMaxAttachedHandles = 253;
#endif // BUILDFLAG(IS_FUCHSIA)
@@ -12,3 +12,12 @@
Channel::AlignedBuffer MakeAlignedBuffer(size_t size) {
// Generic allocators (such as malloc) return a pointer that is suitably
// aligned for storing any type of object with a fundamental alignment
+@@ -1162,7 +1166,7 @@ void Channel::LogHistogramForIPCMetrics(MessageType ty
+ }
+
+ // Currently only CrOs, Linux, and Android support upgrades.
+-#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID))
++#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
+ // static
+ MOJO_SYSTEM_IMPL_EXPORT bool Channel::SupportsChannelUpgrade() {
+ return false;
diff --git a/www/ungoogled-chromium/files/patch-mojo_core_embedder_features.h b/www/ungoogled-chromium/files/patch-mojo_core_embedder_features.h
index ee84f21cd3fd..038a85d8452f 100644
--- a/www/ungoogled-chromium/files/patch-mojo_core_embedder_features.h
+++ b/www/ungoogled-chromium/files/patch-mojo_core_embedder_features.h
@@ -1,9 +1,9 @@
---- mojo/core/embedder/features.h.orig 2023-05-05 12:12:41 UTC
+--- mojo/core/embedder/features.h.orig 2025-09-10 13:22:16 UTC
+++ mojo/core/embedder/features.h
-@@ -16,7 +16,7 @@ namespace core {
+@@ -15,7 +15,7 @@ namespace mojo {
+ namespace core {
- #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && \
- !BUILDFLAG(MOJO_USE_APPLE_CHANNEL)
+ #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(MOJO_USE_APPLE_CHANNEL)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(MOJO_CORE_EMBEDDER_FEATURES)
diff --git a/www/ungoogled-chromium/files/patch-mojo_public_tools_bindings_mojom.gni b/www/ungoogled-chromium/files/patch-mojo_public_tools_bindings_mojom.gni
index 2c4c084993d9..f411f144e56d 100644
--- a/www/ungoogled-chromium/files/patch-mojo_public_tools_bindings_mojom.gni
+++ b/www/ungoogled-chromium/files/patch-mojo_public_tools_bindings_mojom.gni
@@ -1,6 +1,6 @@
---- mojo/public/tools/bindings/mojom.gni.orig 2025-05-06 12:23:00 UTC
+--- mojo/public/tools/bindings/mojom.gni.orig 2025-09-10 13:22:16 UTC
+++ mojo/public/tools/bindings/mojom.gni
-@@ -774,6 +774,16 @@ template("mojom") {
+@@ -762,6 +762,16 @@ template("mojom") {
enabled_features += [ "is_apple" ]
}
diff --git a/www/ungoogled-chromium/files/patch-net_BUILD.gn b/www/ungoogled-chromium/files/patch-net_BUILD.gn
index 4bfc385294ff..f03c3599d4fe 100644
--- a/www/ungoogled-chromium/files/patch-net_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-net_BUILD.gn
@@ -1,4 +1,4 @@
---- net/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- net/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ net/BUILD.gn
@@ -126,7 +126,7 @@ net_configs = [
"//build/config/compiler:wexit_time_destructors",
@@ -9,7 +9,7 @@
net_configs += [ "//build/config/linux:libresolv" ]
}
-@@ -1336,6 +1336,19 @@ component("net") {
+@@ -1358,6 +1358,19 @@ component("net") {
]
}
@@ -29,7 +29,7 @@
if (is_mac) {
sources += [
"base/network_notification_thread_mac.cc",
-@@ -1499,7 +1512,7 @@ component("net") {
+@@ -1521,7 +1534,7 @@ component("net") {
}
# Use getifaddrs() on POSIX platforms, except Linux.
@@ -38,7 +38,7 @@
sources += [
"base/network_interfaces_getifaddrs.cc",
"base/network_interfaces_getifaddrs.h",
-@@ -2209,7 +2222,7 @@ static_library("test_support") {
+@@ -2254,7 +2267,7 @@ static_library("test_support") {
]
}
@@ -47,7 +47,7 @@
sources += [
"base/address_tracker_linux_test_util.cc",
"base/address_tracker_linux_test_util.h",
-@@ -3032,14 +3045,14 @@ target(_test_target_type, "net_unittests") {
+@@ -3052,14 +3065,14 @@ target(_test_target_type, "net_unittests") {
]
}
@@ -64,7 +64,7 @@
sources += [
"base/address_tracker_linux_unittest.cc",
"base/network_interfaces_linux_unittest.cc",
-@@ -3137,6 +3150,10 @@ target(_test_target_type, "net_unittests") {
+@@ -3160,6 +3173,10 @@ target(_test_target_type, "net_unittests") {
]
}
@@ -75,16 +75,16 @@
if (enable_websockets) {
sources += [
"server/http_connection_unittest.cc",
-@@ -3202,7 +3219,7 @@ target(_test_target_type, "net_unittests") {
- ]
- }
+@@ -3216,7 +3233,7 @@ target(_test_target_type, "net_unittests") {
+ ]
+ data_deps = [ "//testing/buildbot/filters:net_unittests_filters" ]
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !is_bsd) {
sources += [ "tools/quic/quic_simple_server_test.cc" ]
}
-@@ -3341,7 +3358,7 @@ target(_test_target_type, "net_unittests") {
+@@ -3346,7 +3363,7 @@ target(_test_target_type, "net_unittests") {
}
# Use getifaddrs() on POSIX platforms, except Linux.
diff --git a/www/ungoogled-chromium/files/patch-net_base_features.cc b/www/ungoogled-chromium/files/patch-net_base_features.cc
index 90556d8a4408..02d8ead14046 100644
--- a/www/ungoogled-chromium/files/patch-net_base_features.cc
+++ b/www/ungoogled-chromium/files/patch-net_base_features.cc
@@ -1,6 +1,6 @@
---- net/base/features.cc.orig 2025-05-31 17:16:41 UTC
+--- net/base/features.cc.orig 2025-09-10 13:22:16 UTC
+++ net/base/features.cc
-@@ -29,7 +29,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin,
+@@ -34,7 +34,7 @@ BASE_FEATURE(kCapReferrerToOriginOnCrossOrigin,
BASE_FEATURE(kAsyncDns,
"AsyncDns",
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) || \
@@ -9,3 +9,12 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
+@@ -713,7 +713,7 @@ BASE_FEATURE(kReportingApiEnableEnterpriseCookieIssues
+
+ BASE_FEATURE(kSimdutfBase64Support,
+ "SimdutfBase64Support",
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
diff --git a/www/ungoogled-chromium/files/patch-net_base_sockaddr__util__posix.cc b/www/ungoogled-chromium/files/patch-net_base_sockaddr__util__posix.cc
index cf41208287a3..1b3be1e31565 100644
--- a/www/ungoogled-chromium/files/patch-net_base_sockaddr__util__posix.cc
+++ b/www/ungoogled-chromium/files/patch-net_base_sockaddr__util__posix.cc
@@ -1,6 +1,6 @@
---- net/base/sockaddr_util_posix.cc.orig 2025-03-09 21:38:10 UTC
+--- net/base/sockaddr_util_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ net/base/sockaddr_util_posix.cc
-@@ -45,7 +45,8 @@ bool FillUnixAddress(const std::string& socket_path,
+@@ -60,7 +60,8 @@ bool FillUnixAddress(const std::string& socket_path,
return true;
}
diff --git a/www/ungoogled-chromium/files/patch-net_disk__cache_backend__experiment.h b/www/ungoogled-chromium/files/patch-net_disk__cache_backend__experiment.h
index a14c4c97a938..c003446a0159 100644
--- a/www/ungoogled-chromium/files/patch-net_disk__cache_backend__experiment.h
+++ b/www/ungoogled-chromium/files/patch-net_disk__cache_backend__experiment.h
@@ -1,6 +1,6 @@
---- net/disk_cache/backend_experiment.h.orig 2024-11-16 12:20:41 UTC
+--- net/disk_cache/backend_experiment.h.orig 2025-09-10 13:22:16 UTC
+++ net/disk_cache/backend_experiment.h
-@@ -14,7 +14,7 @@ namespace disk_cache {
+@@ -15,7 +15,7 @@ namespace disk_cache {
// default.
constexpr bool IsSimpleBackendEnabledByDefaultPlatform() {
return BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) ||
diff --git a/www/ungoogled-chromium/files/patch-net_disk__cache_simple_simple__file__tracker.cc b/www/ungoogled-chromium/files/patch-net_disk__cache_simple_simple__file__tracker.cc
index cffadde7d08d..eeb48e7cd56b 100644
--- a/www/ungoogled-chromium/files/patch-net_disk__cache_simple_simple__file__tracker.cc
+++ b/www/ungoogled-chromium/files/patch-net_disk__cache_simple_simple__file__tracker.cc
@@ -1,6 +1,6 @@
---- net/disk_cache/simple/simple_file_tracker.cc.orig 2025-03-09 21:38:10 UTC
+--- net/disk_cache/simple/simple_file_tracker.cc.orig 2025-09-10 13:22:16 UTC
+++ net/disk_cache/simple/simple_file_tracker.cc
-@@ -37,7 +37,17 @@ bool SimpleFileTracker::TrackedFiles::InLRUList() cons
+@@ -36,7 +36,17 @@ bool SimpleFileTracker::TrackedFiles::InLRUList() cons
}
SimpleFileTracker::SimpleFileTracker(int file_limit)
diff --git a/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn b/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn
index e1fd322aea84..84798fd4ddf2 100644
--- a/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn
@@ -1,6 +1,6 @@
---- net/dns/BUILD.gn.orig 2025-03-29 00:50:57 UTC
+--- net/dns/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ net/dns/BUILD.gn
-@@ -138,7 +138,7 @@ source_set("dns") {
+@@ -140,7 +140,7 @@ source_set("dns") {
"dns_config_service_android.cc",
"dns_config_service_android.h",
]
@@ -9,25 +9,23 @@
sources += [
"dns_config_service_linux.cc",
"dns_config_service_linux.h",
-@@ -172,6 +172,9 @@ source_set("dns") {
+@@ -174,6 +174,7 @@ source_set("dns") {
}
deps = [ "//net:net_deps" ]
-+ if (is_bsd) {
-+ deps += [ "//services/screen_ai/buildflags" ]
-+ }
++ deps += [ "//services/screen_ai/buildflags" ]
public_deps = [
":dns_client",
-@@ -179,6 +182,7 @@ source_set("dns") {
+@@ -181,6 +182,7 @@ source_set("dns") {
":host_resolver_manager",
":mdns_client",
"//net:net_public_deps",
+ "//printing/buildflags",
]
- allow_circular_includes_from = [
-@@ -447,9 +451,9 @@ source_set("tests") {
+ if (enable_mdns) {
+@@ -454,9 +456,9 @@ source_set("tests") {
if (is_android) {
sources += [ "dns_config_service_android_unittest.cc" ]
diff --git a/www/ungoogled-chromium/files/patch-net_dns_address__info.cc b/www/ungoogled-chromium/files/patch-net_dns_address__info.cc
index 2620fcebc3a7..c05201567cff 100644
--- a/www/ungoogled-chromium/files/patch-net_dns_address__info.cc
+++ b/www/ungoogled-chromium/files/patch-net_dns_address__info.cc
@@ -1,6 +1,6 @@
---- net/dns/address_info.cc.orig 2024-07-31 14:19:23 UTC
+--- net/dns/address_info.cc.orig 2025-09-10 13:22:16 UTC
+++ net/dns/address_info.cc
-@@ -83,8 +83,12 @@ AddressInfo::AddressInfoAndResult AddressInfo::Get(
+@@ -78,8 +78,12 @@ AddressInfo::AddressInfoAndResult AddressInfo::Get(
// error.
// http://crbug.com/134142
err = ERR_NAME_NOT_RESOLVED;
diff --git a/www/ungoogled-chromium/files/patch-net_dns_address__sorter__posix.cc b/www/ungoogled-chromium/files/patch-net_dns_address__sorter__posix.cc
index 317b589c4f4f..408362e09404 100644
--- a/www/ungoogled-chromium/files/patch-net_dns_address__sorter__posix.cc
+++ b/www/ungoogled-chromium/files/patch-net_dns_address__sorter__posix.cc
@@ -1,6 +1,6 @@
---- net/dns/address_sorter_posix.cc.orig 2024-07-31 14:19:23 UTC
+--- net/dns/address_sorter_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ net/dns/address_sorter_posix.cc
-@@ -32,6 +32,7 @@
+@@ -33,6 +33,7 @@
#include "net/dns/netinet_in_var_ios.h"
#else
#include <netinet/in_var.h>
diff --git a/www/ungoogled-chromium/files/patch-net_dns_public_resolv__reader.cc b/www/ungoogled-chromium/files/patch-net_dns_public_resolv__reader.cc
new file mode 100644
index 000000000000..e22d04ee7759
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-net_dns_public_resolv__reader.cc
@@ -0,0 +1,11 @@
+--- net/dns/public/resolv_reader.cc.orig 2025-09-10 13:22:16 UTC
++++ net/dns/public/resolv_reader.cc
+@@ -34,7 +34,7 @@ std::unique_ptr<ScopedResState> ResolvReader::GetResSt
+ }
+
+ bool ResolvReader::IsLikelySystemdResolved() {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
+ // Look for a single 127.0.0.53:53 nameserver endpoint. The only known
+ // significant usage of such a configuration is the systemd-resolved local
+ // resolver, so it is then a fairly safe assumption that any DNS queries to
diff --git a/www/ungoogled-chromium/files/patch-net_http_http__network__session.cc b/www/ungoogled-chromium/files/patch-net_http_http__network__session.cc
index cd02be689bbc..16d9fd10460b 100644
--- a/www/ungoogled-chromium/files/patch-net_http_http__network__session.cc
+++ b/www/ungoogled-chromium/files/patch-net_http_http__network__session.cc
@@ -1,6 +1,6 @@
---- net/http/http_network_session.cc.orig 2024-10-01 07:26:23 UTC
+--- net/http/http_network_session.cc.orig 2025-09-10 13:22:16 UTC
+++ net/http/http_network_session.cc
-@@ -20,7 +20,9 @@
+@@ -21,7 +21,9 @@
#include "build/build_config.h"
#include "net/base/features.h"
#include "net/dns/host_resolver.h"
diff --git a/www/ungoogled-chromium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc b/www/ungoogled-chromium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc
index 8b324a33e2b1..b6221a1186e3 100644
--- a/www/ungoogled-chromium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc
+++ b/www/ungoogled-chromium/files/patch-net_proxy__resolution_proxy__config__service__linux.cc
@@ -1,4 +1,4 @@
---- net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-05-31 17:16:41 UTC
+--- net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ net/proxy_resolution/proxy_config_service_linux.cc
@@ -11,7 +11,9 @@
@@ -26,7 +26,7 @@
} // namespace
-@@ -1258,9 +1262,11 @@ ProxyConfigServiceLinux::Delegate::Delegate(
+@@ -1259,9 +1263,11 @@ ProxyConfigServiceLinux::Delegate::Delegate(
case base::nix::DESKTOP_ENVIRONMENT_KDE4:
case base::nix::DESKTOP_ENVIRONMENT_KDE5:
case base::nix::DESKTOP_ENVIRONMENT_KDE6:
diff --git a/www/ungoogled-chromium/files/patch-net_quic_quic__network__transaction__unittest.cc b/www/ungoogled-chromium/files/patch-net_quic_quic__network__transaction__unittest.cc
deleted file mode 100644
index 84acd771d657..000000000000
--- a/www/ungoogled-chromium/files/patch-net_quic_quic__network__transaction__unittest.cc
+++ /dev/null
@@ -1,28 +0,0 @@
---- net/quic/quic_network_transaction_unittest.cc.orig 2025-04-15 08:30:07 UTC
-+++ net/quic/quic_network_transaction_unittest.cc
-@@ -5202,10 +5202,10 @@ TEST_P(QuicNetworkTransactionTest, RstStreamBeforeHead
-
- TEST_P(QuicNetworkTransactionTest, BrokenAlternateProtocol) {
- // Alternate-protocol job
-- std::unique_ptr<quic::QuicEncryptedPacket> close(
-+ std::unique_ptr<quic::QuicEncryptedPacket> test_close(
- ConstructServerConnectionClosePacket(1));
- MockRead quic_reads[] = {
-- MockRead(ASYNC, close->data(), close->length()),
-+ MockRead(ASYNC, test_close->data(), test_close->length()),
- MockRead(ASYNC, ERR_IO_PENDING), // No more data to read
- MockRead(ASYNC, OK), // EOF
- };
-@@ -5248,10 +5248,10 @@ TEST_P(QuicNetworkTransactionTest,
- http_server_properties_ = std::make_unique<HttpServerProperties>();
-
- // Alternate-protocol job
-- std::unique_ptr<quic::QuicEncryptedPacket> close(
-+ std::unique_ptr<quic::QuicEncryptedPacket> test_close(
- ConstructServerConnectionClosePacket(1));
- MockRead quic_reads[] = {
-- MockRead(ASYNC, close->data(), close->length()),
-+ MockRead(ASYNC, test_close->data(), test_close->length()),
- MockRead(ASYNC, ERR_IO_PENDING), // No more data to read
- MockRead(ASYNC, OK), // EOF
- };
diff --git a/www/ungoogled-chromium/files/patch-net_socket_udp__socket__posix.cc b/www/ungoogled-chromium/files/patch-net_socket_udp__socket__posix.cc
index 74caa00a4502..ad46805ffec3 100644
--- a/www/ungoogled-chromium/files/patch-net_socket_udp__socket__posix.cc
+++ b/www/ungoogled-chromium/files/patch-net_socket_udp__socket__posix.cc
@@ -1,6 +1,6 @@
---- net/socket/udp_socket_posix.cc.orig 2025-05-31 17:16:41 UTC
+--- net/socket/udp_socket_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ net/socket/udp_socket_posix.cc
-@@ -530,12 +530,17 @@ int UDPSocketPosix::SetRecvTos() {
+@@ -524,12 +524,17 @@ int UDPSocketPosix::SetRecvTos() {
#endif // BUILDFLAG(IS_APPLE)
}
@@ -19,7 +19,7 @@
if (confirm) {
sendto_flags_ |= MSG_CONFIRM;
} else {
-@@ -556,7 +561,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) {
+@@ -550,7 +555,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) {
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
int value = broadcast ? 1 : 0;
int rv;
diff --git a/www/ungoogled-chromium/files/patch-net_socket_udp__socket__unittest.cc b/www/ungoogled-chromium/files/patch-net_socket_udp__socket__unittest.cc
index 88a374702952..e7ddca286c9a 100644
--- a/www/ungoogled-chromium/files/patch-net_socket_udp__socket__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-net_socket_udp__socket__unittest.cc
@@ -1,6 +1,6 @@
---- net/socket/udp_socket_unittest.cc.orig 2025-05-31 17:16:41 UTC
+--- net/socket/udp_socket_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ net/socket/udp_socket_unittest.cc
-@@ -392,7 +392,7 @@ TEST_F(UDPSocketTest, PartialRecv) {
+@@ -397,7 +397,7 @@ TEST_F(UDPSocketTest, PartialRecv) {
EXPECT_EQ(second_packet, received);
}
@@ -9,7 +9,7 @@
// - MacOS: requires root permissions on OSX 10.7+.
// - Android: devices attached to testbots don't have default network, so
// broadcasting to 255.255.255.255 returns error -109 (Address not reachable).
-@@ -703,7 +703,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFragment) {
+@@ -708,7 +708,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFragment) {
EXPECT_THAT(rv, IsOk());
rv = client.SetDoNotFragment();
@@ -18,7 +18,7 @@
// TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia.
EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED));
#else
-@@ -725,7 +725,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFragment) {
+@@ -730,7 +730,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFragment) {
EXPECT_THAT(rv, IsOk());
rv = server.SetDoNotFragment();
@@ -27,7 +27,7 @@
// TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia.
EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED));
#else
-@@ -791,7 +791,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup) {
+@@ -796,7 +796,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup) {
// TODO(crbug.com/40620614): failing on device on iOS 12.2.
// TODO(crbug.com/40189274): flaky on Mac 11.
@@ -36,7 +36,7 @@
#define MAYBE_SharedMulticastAddress DISABLED_SharedMulticastAddress
#else
#define MAYBE_SharedMulticastAddress SharedMulticastAddress
-@@ -845,7 +845,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMulticastAddress) {
+@@ -850,7 +850,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMulticastAddress) {
NetLogSource());
ASSERT_THAT(client_socket.Connect(send_address), IsOk());
diff --git a/www/ungoogled-chromium/files/patch-net_url__request_url__request__context.cc b/www/ungoogled-chromium/files/patch-net_url__request_url__request__context.cc
index 3237f09ad08b..a6cf6760c81d 100644
--- a/www/ungoogled-chromium/files/patch-net_url__request_url__request__context.cc
+++ b/www/ungoogled-chromium/files/patch-net_url__request_url__request__context.cc
@@ -1,6 +1,6 @@
---- net/url_request/url_request_context.cc.orig 2025-04-15 08:30:07 UTC
+--- net/url_request/url_request_context.cc.orig 2025-09-10 13:22:16 UTC
+++ net/url_request/url_request_context.cc
-@@ -119,7 +119,7 @@ const HttpNetworkSessionContext* URLRequestContext::Ge
+@@ -128,7 +128,7 @@ const HttpNetworkSessionContext* URLRequestContext::Ge
return &network_session->context();
}
diff --git a/www/ungoogled-chromium/files/patch-net_url__request_url__request__context__builder.cc b/www/ungoogled-chromium/files/patch-net_url__request_url__request__context__builder.cc
index c570a4fe6b92..77c7fa0a7a36 100644
--- a/www/ungoogled-chromium/files/patch-net_url__request_url__request__context__builder.cc
+++ b/www/ungoogled-chromium/files/patch-net_url__request_url__request__context__builder.cc
@@ -1,6 +1,6 @@
---- net/url_request/url_request_context_builder.cc.orig 2025-05-31 17:16:41 UTC
+--- net/url_request/url_request_context_builder.cc.orig 2025-09-10 13:22:16 UTC
+++ net/url_request/url_request_context_builder.cc
-@@ -445,7 +445,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu
+@@ -447,7 +447,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu
}
if (!proxy_resolution_service_) {
diff --git a/www/ungoogled-chromium/files/patch-pdf_pdfium_pdfium__engine.cc b/www/ungoogled-chromium/files/patch-pdf_pdfium_pdfium__engine.cc
index 63f739692f14..d853ecfdc861 100644
--- a/www/ungoogled-chromium/files/patch-pdf_pdfium_pdfium__engine.cc
+++ b/www/ungoogled-chromium/files/patch-pdf_pdfium_pdfium__engine.cc
@@ -1,6 +1,6 @@
---- pdf/pdfium/pdfium_engine.cc.orig 2025-05-31 17:16:41 UTC
+--- pdf/pdfium/pdfium_engine.cc.orig 2025-09-10 13:22:16 UTC
+++ pdf/pdfium/pdfium_engine.cc
-@@ -112,7 +112,7 @@
+@@ -113,7 +113,7 @@
#include "ui/accessibility/ax_features.mojom-features.h"
#endif
@@ -9,7 +9,7 @@
#include "pdf/pdfium/pdfium_font_linux.h"
#endif
-@@ -568,7 +568,7 @@ void InitializeSDK(bool enable_v8,
+@@ -565,7 +565,7 @@ void InitializeSDK(bool enable_v8,
FPDF_InitLibraryWithConfig(&config);
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_cups__helper.cc b/www/ungoogled-chromium/files/patch-printing_backend_cups__helper.cc
new file mode 100644
index 000000000000..9b9fe5d40212
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_cups__helper.cc
@@ -0,0 +1,52 @@
+--- printing/backend/cups_helper.cc.orig 2025-09-10 13:22:16 UTC
++++ printing/backend/cups_helper.cc
+@@ -13,7 +13,7 @@
+ #include "base/time/time.h"
+ #include "build/build_config.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include <cups/ppd.h>
+ #include <stddef.h>
+ #include <stdio.h>
+@@ -43,11 +43,11 @@
+ #include "url/gurl.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ using base::EqualsCaseInsensitiveASCII;
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -60,7 +60,7 @@ namespace {
+ // able to start and respond on all systems within this duration.
+ constexpr base::TimeDelta kCupsTimeout = base::Seconds(5);
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // CUPS default max copies value (parsed from kCupsMaxCopies PPD attribute).
+ constexpr int32_t kDefaultMaxCopies = 9999;
+ constexpr char kCupsMaxCopies[] = "cupsMaxCopies";
+@@ -766,7 +766,7 @@ const int kDefaultIPPServerPort = 631;
+
+ } // namespace
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Helper wrapper around http_t structure, with connection and cleanup
+ // functionality.
+ HttpConnectionCUPS::HttpConnectionCUPS(const GURL& print_server_url,
+@@ -971,7 +971,7 @@ ScopedHttpPtr HttpConnect2(const char* host,
+ int blocking,
+ int msec,
+ int* cancel) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ ScopedHttpPtr http;
+ if (httpConnect2) {
+ http.reset(httpConnect2(host, port,
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_cups__helper.h b/www/ungoogled-chromium/files/patch-printing_backend_cups__helper.h
new file mode 100644
index 000000000000..746321a8ef3a
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_cups__helper.h
@@ -0,0 +1,11 @@
+--- printing/backend/cups_helper.h.orig 2025-09-10 13:22:16 UTC
++++ printing/backend/cups_helper.h
+@@ -32,7 +32,7 @@ constexpr int kCupsTimeoutMs = 3000;
+ constexpr cups_ptype_t kDestinationsFilterMask =
+ CUPS_PRINTER_FAX | CUPS_PRINTER_SCANNER | CUPS_PRINTER_DISCOVERED;
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Helper wrapper around http_t structure, with connection and cleanup
+ // functionality.
+ class COMPONENT_EXPORT(PRINT_BACKEND) HttpConnectionCUPS {
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc b/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc
index e92b45dbc360..a3ee51373a6b 100644
--- a/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc
+++ b/www/ungoogled-chromium/files/patch-printing_backend_cups__ipp__helper.cc
@@ -1,6 +1,6 @@
---- printing/backend/cups_ipp_helper.cc.orig 2025-03-09 21:38:10 UTC
+--- printing/backend/cups_ipp_helper.cc.orig 2025-09-10 13:22:16 UTC
+++ printing/backend/cups_ipp_helper.cc
-@@ -201,7 +201,7 @@ void ExtractResolutions(const CupsOptionProvider& prin
+@@ -202,7 +202,7 @@ void ExtractResolutions(const CupsOptionProvider& prin
// Provide a default DPI if no valid DPI is found.
#if BUILDFLAG(IS_MAC)
constexpr gfx::Size kDefaultMissingDpi(kDefaultMacDpi, kDefaultMacDpi);
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_cups__jobs.cc b/www/ungoogled-chromium/files/patch-printing_backend_cups__jobs.cc
new file mode 100644
index 000000000000..7b901e141a09
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_cups__jobs.cc
@@ -0,0 +1,11 @@
+--- printing/backend/cups_jobs.cc.orig 2025-09-10 13:22:16 UTC
++++ printing/backend/cups_jobs.cc
+@@ -31,7 +31,7 @@
+ #include "printing/backend/cups_ipp_helper.h"
+ #include "printing/printer_status.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_cups__printer.cc b/www/ungoogled-chromium/files/patch-printing_backend_cups__printer.cc
new file mode 100644
index 000000000000..d749af0445bd
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_cups__printer.cc
@@ -0,0 +1,11 @@
+--- printing/backend/cups_printer.cc.orig 2025-09-10 13:22:16 UTC
++++ printing/backend/cups_printer.cc
+@@ -24,7 +24,7 @@
+ #include "printing/print_job_constants.h"
+ #include "url/gurl.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_cups__weak__functions.h b/www/ungoogled-chromium/files/patch-printing_backend_cups__weak__functions.h
new file mode 100644
index 000000000000..0da284674d3d
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_cups__weak__functions.h
@@ -0,0 +1,11 @@
+--- printing/backend/cups_weak_functions.h.orig 2025-09-10 13:22:16 UTC
++++ printing/backend/cups_weak_functions.h
+@@ -6,7 +6,7 @@
+
+ #include "build/build_config.h"
+
+-static_assert(BUILDFLAG(IS_LINUX));
++static_assert(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD));
+
+ // Function availability can be tested by checking whether its address is not
+ // nullptr. Weak symbols remove the need for platform specific build flags and
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.cc b/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.cc
deleted file mode 100644
index 61760741f669..000000000000
--- a/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- printing/backend/print_backend_cups.cc.orig 2025-04-15 08:30:07 UTC
-+++ printing/backend/print_backend_cups.cc
-@@ -29,7 +29,7 @@
- #include "printing/mojom/print.mojom.h"
- #include "url/gurl.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- #include "base/feature_list.h"
- #include "printing/backend/cups_connection.h"
- #include "printing/backend/print_backend_cups_ipp.h"
-@@ -59,7 +59,7 @@ int CaptureCupsDestCallback(void* data, unsigned flags
- return 1; // Keep going.
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- // This may be removed when Amazon Linux 2 reaches EOL (30 Jun 2025).
- bool AreNewerCupsFunctionsAvailable() {
- return cupsFindDestDefault && cupsFindDestSupported && cupsUserAgent &&
-@@ -286,7 +286,7 @@ bool PrintBackendCUPS::IsValidPrinter(const std::strin
- #if !BUILDFLAG(IS_CHROMEOS)
- scoped_refptr<PrintBackend> PrintBackend::CreateInstanceImpl(
- const std::string& locale) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- if (AreNewerCupsFunctionsAvailable() &&
- base::FeatureList::IsEnabled(features::kCupsIppPrintingBackend)) {
- return base::MakeRefCounted<PrintBackendCupsIpp>(CupsConnection::Create());
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.h b/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.h
new file mode 100644
index 000000000000..acb5718024ff
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups.h
@@ -0,0 +1,11 @@
+--- printing/backend/print_backend_cups.h.orig 2025-09-10 13:22:16 UTC
++++ printing/backend/print_backend_cups.h
+@@ -17,7 +17,7 @@
+ #include "printing/mojom/print.mojom.h"
+ #include "url/gurl.h"
+
+-static_assert(BUILDFLAG(IS_LINUX));
++static_assert(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD));
+
+ namespace printing {
+
diff --git a/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups__ipp.cc b/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups__ipp.cc
new file mode 100644
index 000000000000..0cd184ad55c8
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-printing_backend_print__backend__cups__ipp.cc
@@ -0,0 +1,11 @@
+--- printing/backend/print_backend_cups_ipp.cc.orig 2025-09-10 13:22:16 UTC
++++ printing/backend/print_backend_cups_ipp.cc
+@@ -21,7 +21,7 @@
+ #include "printing/mojom/print.mojom.h"
+ #include "printing/units.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "printing/backend/cups_weak_functions.h"
+ #endif
+
diff --git a/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits.cc b/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits.cc
index 082d133c6aeb..d5a7851efbac 100644
--- a/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits.cc
+++ b/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits.cc
@@ -1,4 +1,4 @@
---- printing/mojom/printing_context_mojom_traits.cc.orig 2025-05-31 17:16:41 UTC
+--- printing/mojom/printing_context_mojom_traits.cc.orig 2025-09-10 13:22:16 UTC
+++ printing/mojom/printing_context_mojom_traits.cc
@@ -19,7 +19,7 @@
#include "base/numerics/safe_conversions.h"
@@ -9,7 +9,7 @@
#include "mojo/public/mojom/base/values.mojom.h"
#endif
-@@ -162,7 +162,7 @@ bool StructTraits<
+@@ -217,7 +217,7 @@ bool StructTraits<
}
out->set_pages_per_sheet(data.pages_per_sheet());
@@ -18,7 +18,7 @@
DCHECK(out->advanced_settings().empty());
if (!data.ReadAdvancedSettings(&out->advanced_settings()))
return false;
-@@ -239,7 +239,7 @@ bool StructTraits<
+@@ -294,7 +294,7 @@ bool StructTraits<
if (system_print_dialog_data.size() != dictionary_entries) {
return false;
}
diff --git a/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc b/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc
index 913fbf8ed87e..d2e7f404274e 100644
--- a/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-printing_mojom_printing__context__mojom__traits__unittest.cc
@@ -1,6 +1,6 @@
---- printing/mojom/printing_context_mojom_traits_unittest.cc.orig 2025-05-31 17:16:41 UTC
+--- printing/mojom/printing_context_mojom_traits_unittest.cc.orig 2025-09-10 13:22:16 UTC
+++ printing/mojom/printing_context_mojom_traits_unittest.cc
-@@ -79,7 +79,7 @@ base::Value::Dict GenerateSampleSystemPrintDialogData(
+@@ -80,7 +80,7 @@ base::Value::Dict GenerateSampleSystemPrintDialogData(
data.Set(kMacSystemPrintDialogDataDestinationLocation, "/foo/bar.pdf");
}
@@ -9,7 +9,7 @@
data.Set(kLinuxSystemPrintDialogDataPrinter, "printer-name");
data.Set(kLinuxSystemPrintDialogDataPrintSettings, "print-settings-foo");
data.Set(kLinuxSystemPrintDialogDataPageSetup, "page-setup-bar");
-@@ -116,7 +116,7 @@ const PageMargins kPrintSettingsCustomMarginsInMicrons
+@@ -117,7 +117,7 @@ const PageMargins kPrintSettingsCustomMarginsInMicrons
/*top=*/10583,
/*bottom=*/12347);
@@ -18,7 +18,7 @@
PrintSettings::AdvancedSettings GenerateSampleAdvancedSettings() {
PrintSettings::AdvancedSettings advanced_settings;
advanced_settings.emplace("advanced-setting-A", base::Value("setting-A"));
-@@ -209,7 +209,7 @@ PrintSettings GenerateSamplePrintSettingsCommon() {
+@@ -210,7 +210,7 @@ PrintSettings GenerateSamplePrintSettingsCommon() {
settings.set_device_name(kPrintSettingsDeviceName);
settings.set_requested_media(kPrintSettingsRequestedMedia);
@@ -27,7 +27,7 @@
PrintSettings::AdvancedSettings& advanced_settings =
settings.advanced_settings();
for (const auto& item : kPrintSettingsAdvancedSettings)
-@@ -547,7 +547,7 @@ TEST(PrintingContextMojomTraitsTest,
+@@ -548,7 +548,7 @@ TEST(PrintingContextMojomTraitsTest,
EXPECT_EQ(output.pages_per_sheet(), kPrintSettingsPagesPerSheet1);
@@ -36,7 +36,7 @@
EXPECT_EQ(output.advanced_settings(), kPrintSettingsAdvancedSettings);
#endif
-@@ -600,7 +600,7 @@ TEST(PrintingContextMojomTraitsTest,
+@@ -601,7 +601,7 @@ TEST(PrintingContextMojomTraitsTest,
kPrintSettingsCustomMarginsInMicrons));
EXPECT_EQ(output.pages_per_sheet(), kPrintSettingsPagesPerSheet2);
@@ -45,7 +45,7 @@
EXPECT_EQ(output.advanced_settings(), kPrintSettingsAdvancedSettings);
#endif
-@@ -639,7 +639,7 @@ TEST(PrintingContextMojomTraitsTest,
+@@ -674,7 +674,7 @@ TEST(PrintingContextMojomTraitsTest,
EXPECT_EQ(output.page_setup_device_units(), kInput.page_setup_device_units());
}
@@ -54,7 +54,7 @@
TEST(PrintingContextMojomTraitsTest,
TestSerializeAndDeserializePrintSettingsEmptyAdvancedSettings) {
PrintSettings input = GenerateSamplePrintSettingsDefaultMargins();
-@@ -837,7 +837,7 @@ TEST(
+@@ -872,7 +872,7 @@ TEST(
}
#endif // BUILDFLAG(IS_MAC)
diff --git a/www/ungoogled-chromium/files/patch-printing_print__settings.h b/www/ungoogled-chromium/files/patch-printing_print__settings.h
index 70567dcdffdf..d9e60f2cd34a 100644
--- a/www/ungoogled-chromium/files/patch-printing_print__settings.h
+++ b/www/ungoogled-chromium/files/patch-printing_print__settings.h
@@ -1,4 +1,4 @@
---- printing/print_settings.h.orig 2025-05-31 17:16:41 UTC
+--- printing/print_settings.h.orig 2025-09-10 13:22:16 UTC
+++ printing/print_settings.h
@@ -25,7 +25,7 @@
#include "base/values.h"
@@ -9,7 +9,7 @@
#include <map>
#include "base/values.h"
-@@ -51,7 +51,7 @@ inline constexpr char kMacSystemPrintDialogDataPrintSe
+@@ -52,7 +52,7 @@ inline constexpr char kMacSystemPrintDialogDataPrintSe
"print_settings";
#endif // BUILDFLAG(IS_MAC)
@@ -18,7 +18,7 @@
inline constexpr char kLinuxSystemPrintDialogDataPrinter[] = "printer_name";
inline constexpr char kLinuxSystemPrintDialogDataPrintSettings[] =
"print_settings";
-@@ -101,7 +101,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
+@@ -102,7 +102,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
std::string vendor_id;
};
@@ -27,7 +27,7 @@
using AdvancedSettings = std::map<std::string, base::Value>;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -276,7 +276,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
+@@ -290,7 +290,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
pages_per_sheet_ = pages_per_sheet;
}
@@ -36,7 +36,7 @@
AdvancedSettings& advanced_settings() { return advanced_settings_; }
const AdvancedSettings& advanced_settings() const {
return advanced_settings_;
-@@ -434,7 +434,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
+@@ -451,7 +451,7 @@ class COMPONENT_EXPORT(PRINTING_SETTINGS) PrintSetting
// Number of pages per sheet.
int pages_per_sheet_;
diff --git a/www/ungoogled-chromium/files/patch-printing_printing__features.cc b/www/ungoogled-chromium/files/patch-printing_printing__features.cc
index e1061b42f81c..8d6630914d05 100644
--- a/www/ungoogled-chromium/files/patch-printing_printing__features.cc
+++ b/www/ungoogled-chromium/files/patch-printing_printing__features.cc
@@ -1,21 +1,15 @@
---- printing/printing_features.cc.orig 2025-05-06 12:23:00 UTC
+--- printing/printing_features.cc.orig 2025-09-10 13:22:16 UTC
+++ printing/printing_features.cc
-@@ -26,12 +26,12 @@ BASE_FEATURE(kApiPrintingMarginsAndScale,
+@@ -26,7 +26,7 @@ BASE_FEATURE(kApiPrintingMarginsAndScale,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Use the CUPS IPP printing backend instead of the original CUPS backend that
// calls the deprecated PPD API.
BASE_FEATURE(kCupsIppPrintingBackend,
- "CupsIppPrintingBackend",
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::FEATURE_DISABLED_BY_DEFAULT
- #else
- base::FEATURE_ENABLED_BY_DEFAULT
-@@ -81,7 +81,7 @@ BASE_FEATURE(kUseXpsForPrintingFromPdf,
+@@ -70,7 +70,7 @@ BASE_FEATURE(kUseXpsForPrintingFromPdf,
// out-of-process.
BASE_FEATURE(kEnableOopPrintDrivers,
"EnableOopPrintDrivers",
diff --git a/www/ungoogled-chromium/files/patch-printing_printing__features.h b/www/ungoogled-chromium/files/patch-printing_printing__features.h
index d122be42d31b..3e81b6617424 100644
--- a/www/ungoogled-chromium/files/patch-printing_printing__features.h
+++ b/www/ungoogled-chromium/files/patch-printing_printing__features.h
@@ -1,11 +1,11 @@
---- printing/printing_features.h.orig 2025-05-06 12:23:00 UTC
+--- printing/printing_features.h.orig 2025-09-10 13:22:16 UTC
+++ printing/printing_features.h
@@ -24,7 +24,7 @@ COMPONENT_EXPORT(PRINTING_BASE)
BASE_DECLARE_FEATURE(kApiPrintingMarginsAndScale);
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(PRINTING_BASE) BASE_DECLARE_FEATURE(kCupsIppPrintingBackend);
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
+ #endif // BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-remoting_base_chromoting__event.cc b/www/ungoogled-chromium/files/patch-remoting_base_chromoting__event.cc
deleted file mode 100644
index 896946738d0b..000000000000
--- a/www/ungoogled-chromium/files/patch-remoting_base_chromoting__event.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- remoting/base/chromoting_event.cc.orig 2025-03-09 21:38:10 UTC
-+++ remoting/base/chromoting_event.cc
-@@ -191,7 +191,7 @@ void ChromotingEvent::AddSystemInfo() {
- SetString(kCpuKey, base::SysInfo::OperatingSystemArchitecture());
- SetString(kOsVersionKey, base::SysInfo::OperatingSystemVersion());
- SetString(kWebAppVersionKey, STRINGIZE(VERSION));
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- Os os = Os::CHROMOTING_LINUX;
- #elif BUILDFLAG(IS_CHROMEOS)
- Os os = Os::CHROMOTING_CHROMEOS;
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host.cc b/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host.cc
index c3fe87c18e71..14e0a4ac2028 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host.cc
@@ -1,6 +1,6 @@
---- remoting/host/chromoting_host.cc.orig 2025-05-06 12:23:00 UTC
+--- remoting/host/chromoting_host.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/chromoting_host.cc
-@@ -137,7 +137,7 @@ void ChromotingHost::Start(const std::string& host_own
+@@ -138,7 +138,7 @@ void ChromotingHost::Start(const std::string& host_own
&ChromotingHost::OnIncomingSession, base::Unretained(this)));
}
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host__services__client.cc b/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host__services__client.cc
index 4a19789fdb15..769ea2a39d5b 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host__services__client.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_chromoting__host__services__client.cc
@@ -1,6 +1,6 @@
---- remoting/host/chromoting_host_services_client.cc.orig 2025-05-31 17:16:41 UTC
+--- remoting/host/chromoting_host_services_client.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/chromoting_host_services_client.cc
-@@ -134,7 +134,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic
+@@ -139,7 +139,7 @@ bool ChromotingHostServicesClient::EnsureSessionServic
if (session_services_remote_.is_bound()) {
return true;
}
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc b/www/ungoogled-chromium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc
new file mode 100644
index 000000000000..dd643246f662
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-remoting_host_create__desktop__interaction__strategy__factory.cc
@@ -0,0 +1,20 @@
+--- remoting/host/create_desktop_interaction_strategy_factory.cc.orig 2025-09-10 13:22:16 UTC
++++ remoting/host/create_desktop_interaction_strategy_factory.cc
+@@ -13,7 +13,7 @@
+ #include "remoting/host/desktop_interaction_strategy.h"
+ #include "remoting/host/legacy_interaction_strategy.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/host/linux/gnome_interaction_strategy.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -25,7 +25,7 @@ CreateDesktopInteractionStrategyFactory(
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> input_task_runner) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch("enable-wayland")) {
+ return std::make_unique<GnomeInteractionStrategyFactory>(ui_task_runner);
+ }
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_host__main.cc b/www/ungoogled-chromium/files/patch-remoting_host_host__main.cc
index 00185ff2821a..e78bfecda2ab 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_host__main.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_host__main.cc
@@ -1,6 +1,6 @@
---- remoting/host/host_main.cc.orig 2025-03-09 21:38:10 UTC
+--- remoting/host/host_main.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/host_main.cc
-@@ -55,7 +55,7 @@ int FileChooserMain();
+@@ -57,7 +57,7 @@ int FileChooserMain();
int RdpDesktopSessionMain();
int UrlForwarderConfiguratorMain();
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
int XSessionChooserMain();
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -68,7 +68,7 @@ const char kUsageMessage[] =
+@@ -70,7 +70,7 @@ const char kUsageMessage[] =
"\n"
"Options:\n"
@@ -18,7 +18,7 @@
" --audio-pipe-name=<pipe> - Sets the pipe name to capture audio on "
"Linux.\n"
#endif // BUILDFLAG(IS_LINUX)
-@@ -161,7 +161,7 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
+@@ -163,7 +163,7 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
} else if (process_type == kProcessTypeUrlForwarderConfigurator) {
main_routine = &UrlForwarderConfiguratorMain;
#endif // BUILDFLAG(IS_WIN)
@@ -27,12 +27,12 @@
} else if (process_type == kProcessTypeXSessionChooser) {
main_routine = &XSessionChooserMain;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -229,7 +229,7 @@ int HostMain(int argc, char** argv) {
+@@ -231,7 +231,7 @@ int HostMain(int argc, char** argv) {
// Note that we enable crash reporting only if the user has opted in to having
// the crash reports uploaded.
if (IsUsageStatsAllowed()) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- InitializeCrashReporting();
+ InitializeCrashpadReporting();
#elif BUILDFLAG(IS_WIN)
// TODO: joedow - Enable crash reporting for the RDP process.
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc b/www/ungoogled-chromium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc
index ff469567ab8c..1b1961596a4d 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_it2me_it2me__native__messaging__host__main.cc
@@ -1,6 +1,6 @@
---- remoting/host/it2me/it2me_native_messaging_host_main.cc.orig 2025-04-15 08:30:07 UTC
+--- remoting/host/it2me/it2me_native_messaging_host_main.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/it2me/it2me_native_messaging_host_main.cc
-@@ -30,7 +30,7 @@
+@@ -29,7 +29,7 @@
#include "remoting/host/resources.h"
#include "remoting/host/usage_stats_consent.h"
@@ -9,7 +9,16 @@
#if defined(REMOTING_USE_X11)
#include <gtk/gtk.h>
#include "base/linux_util.h"
-@@ -75,7 +75,7 @@ bool CurrentProcessHasUiAccess() {
+@@ -43,7 +43,7 @@
+ #include "remoting/host/mac/permission_utils.h"
+ #endif // BUILDFLAG(IS_APPLE)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -79,7 +79,7 @@ bool CurrentProcessHasUiAccess() {
// Creates a It2MeNativeMessagingHost instance, attaches it to stdin/stdout and
// runs the task executor until It2MeNativeMessagingHost signals shutdown.
int It2MeNativeMessagingHostMain(int argc, char** argv) {
@@ -18,7 +27,16 @@
// Initialize Xlib for multi-threaded use, allowing non-Chromium code to
// use X11 safely (such as the WebRTC capturer, GTK ...)
x11::InitXlib();
-@@ -121,7 +121,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+@@ -104,7 +104,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+ // needs to be initialized first, so that the preference for crash-reporting
+ // can be looked up in the config file.
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
+@@ -129,7 +129,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
remoting::LoadResources("");
@@ -27,7 +45,7 @@
// Required for any calls into GTK functions, such as the Disconnect and
// Continue windows. Calling with nullptr arguments because we don't have
// any command line arguments for gtk to consume.
-@@ -249,7 +249,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+@@ -257,7 +257,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
PolicyWatcher::CreateWithTaskRunner(context->file_task_runner(),
context->management_service());
@@ -36,7 +54,7 @@
scoped_refptr<AutoThreadTaskRunner> input_task_runner;
// Create an X11EventSource on all UI threads, so the global X11 connection
// (x11::Connection::Get()) can dispatch X events.
-@@ -273,7 +273,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
+@@ -281,7 +281,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv
// Run the loop until channel is alive.
run_loop.Run();
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_me2me__desktop__environment.cc b/www/ungoogled-chromium/files/patch-remoting_host_me2me__desktop__environment.cc
index 11271c2f5dff..23fbed601b12 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_me2me__desktop__environment.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_me2me__desktop__environment.cc
@@ -1,6 +1,6 @@
---- remoting/host/me2me_desktop_environment.cc.orig 2025-04-15 08:30:07 UTC
+--- remoting/host/me2me_desktop_environment.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/me2me_desktop_environment.cc
-@@ -112,7 +112,7 @@ std::string Me2MeDesktopEnvironment::GetCapabilities()
+@@ -113,7 +113,7 @@ std::string Me2MeDesktopEnvironment::GetCapabilities()
capabilities += protocol::kRemoteWebAuthnCapability;
}
@@ -8,8 +8,8 @@
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(REMOTING_USE_X11)
capabilities += " ";
capabilities += protocol::kMultiStreamCapability;
-
-@@ -150,7 +150,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
+ capabilities += " ";
+@@ -158,7 +158,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
// properly under Xvfb.
mutable_desktop_capture_options()->set_use_update_notifications(true);
@@ -18,7 +18,7 @@
// Setting this option to false means that the capture differ wrapper will not
// be used when the X11 capturer is selected. This reduces the X11 capture
// time by a few milliseconds per frame and is safe because we can rely on
-@@ -178,7 +178,7 @@ bool Me2MeDesktopEnvironment::InitializeSecurity(
+@@ -185,7 +185,7 @@ bool Me2MeDesktopEnvironment::InitializeSecurity(
// Otherwise, if the session is shared with the local user start monitoring
// the local input and create the in-session UI.
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_policy__watcher.cc b/www/ungoogled-chromium/files/patch-remoting_host_policy__watcher.cc
index 77eee563d8b5..f9cc088c93cd 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_policy__watcher.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_policy__watcher.cc
@@ -1,6 +1,6 @@
---- remoting/host/policy_watcher.cc.orig 2025-05-31 17:16:41 UTC
+--- remoting/host/policy_watcher.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/policy_watcher.cc
-@@ -182,7 +182,7 @@ base::Value::Dict PolicyWatcher::GetDefaultPolicies()
+@@ -183,7 +183,7 @@ base::Value::Dict PolicyWatcher::GetDefaultPolicies()
result.Set(key::kRemoteAccessHostAllowEnterpriseFileTransfer, false);
result.Set(key::kClassManagementEnabled, "disabled");
#endif
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc b/www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc
new file mode 100644
index 000000000000..51ffa97877f1
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_remote__open__url__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/remote_open_url/remote_open_url_main.cc.orig 2025-09-10 13:22:16 UTC
++++ remoting/host/remote_open_url/remote_open_url_main.cc
+@@ -27,7 +27,7 @@
+ #include "remoting/host/usage_stats_consent.h"
+ #include "ui/base/l10n/l10n_util.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -51,7 +51,7 @@ int RemoteOpenUrlMain(int argc, char** argv) {
+
+ #if defined(REMOTING_ENABLE_CRASH_REPORTING)
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc b/www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc
index 384fb7e01b42..2f94c7e82d51 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_remote__open__url_url__forwarder__configurator.cc
@@ -1,6 +1,6 @@
---- remoting/host/remote_open_url/url_forwarder_configurator.cc.orig 2022-10-01 07:40:07 UTC
+--- remoting/host/remote_open_url/url_forwarder_configurator.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/remote_open_url/url_forwarder_configurator.cc
-@@ -12,7 +12,7 @@ UrlForwarderConfigurator::UrlForwarderConfigurator() =
+@@ -13,7 +13,7 @@ UrlForwarderConfigurator::UrlForwarderConfigurator() =
UrlForwarderConfigurator::~UrlForwarderConfigurator() = default;
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_remoting__me2me__host.cc b/www/ungoogled-chromium/files/patch-remoting_host_remoting__me2me__host.cc
index 93a589932a10..50af082cf458 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_remoting__me2me__host.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_remoting__me2me__host.cc
@@ -1,6 +1,6 @@
---- remoting/host/remoting_me2me_host.cc.orig 2025-05-31 17:16:41 UTC
+--- remoting/host/remoting_me2me_host.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/remoting_me2me_host.cc
-@@ -140,7 +140,7 @@
+@@ -139,7 +139,7 @@
#include "remoting/host/mac/permission_utils.h"
#endif // BUILDFLAG(IS_APPLE)
@@ -9,7 +9,7 @@
#if defined(REMOTING_USE_X11)
#include <gtk/gtk.h>
-@@ -150,7 +150,7 @@
+@@ -149,7 +149,7 @@
#endif // defined(REMOTING_USE_X11)
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -18,15 +18,15 @@
#include "base/linux_util.h"
#include "remoting/host/linux/audio_capturer_linux.h"
#include "remoting/host/linux/certificate_watcher.h"
-@@ -165,7 +165,7 @@
+@@ -164,7 +164,7 @@
#include "remoting/host/pairing_registry_delegate_win.h"
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
#include "remoting/host/host_wtmpdb_logger.h"
#endif // BUILDFLAG(IS_LINUX)
-
@@ -198,7 +198,7 @@ const char kApplicationName[] = "chromoting";
const char kStdinConfigPath[] = "-";
#endif // !defined(REMOTING_MULTI_PROCESS)
@@ -36,7 +36,7 @@
// The command line switch used to pass name of the pipe to capture audio on
// linux.
const char kAudioPipeSwitchName[] = "audio-pipe-name";
-@@ -447,7 +447,7 @@ class HostProcess : public ConfigWatcher::Delegate,
+@@ -446,7 +446,7 @@ class HostProcess : public ConfigWatcher::Delegate,
std::unique_ptr<AgentProcessBrokerClient> agent_process_broker_client_;
#endif
@@ -45,7 +45,7 @@
// Watch for certificate changes and kill the host when changes occur
std::unique_ptr<CertificateWatcher> cert_watcher_;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -512,7 +512,7 @@ class HostProcess : public ConfigWatcher::Delegate,
+@@ -508,7 +508,7 @@ class HostProcess : public ConfigWatcher::Delegate,
std::unique_ptr<FtlEchoMessageListener> ftl_echo_message_listener_;
std::unique_ptr<HostEventLogger> host_event_logger_;
@@ -54,7 +54,7 @@
std::unique_ptr<HostWtmpdbLogger> host_wtmpdb_logger_;
#endif
std::unique_ptr<HostPowerSaveBlocker> power_save_blocker_;
-@@ -839,7 +839,7 @@ void HostProcess::StartOnNetworkThread() {
+@@ -835,7 +835,7 @@ void HostProcess::StartOnNetworkThread() {
void HostProcess::ShutdownOnNetworkThread() {
DCHECK(context_->network_task_runner()->BelongsToCurrentThread());
config_watcher_.reset();
@@ -63,7 +63,7 @@
cert_watcher_.reset();
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
}
-@@ -916,7 +916,7 @@ void HostProcess::CreateAuthenticatorFactory() {
+@@ -912,7 +912,7 @@ void HostProcess::CreateAuthenticatorFactory() {
context_->create_client_cert_store_callback(),
service_account_email_, oauth_refresh_token_));
@@ -72,7 +72,7 @@
if (!cert_watcher_) {
cert_watcher_ = std::make_unique<CertificateWatcher>(
base::BindRepeating(&HostProcess::ShutdownHost,
-@@ -1058,7 +1058,7 @@ void HostProcess::StartOnUiThread() {
+@@ -1050,7 +1050,7 @@ void HostProcess::StartOnUiThread() {
base::BindRepeating(&HostProcess::OnPolicyUpdate, base::Unretained(this)),
base::BindRepeating(&HostProcess::OnPolicyError, base::Unretained(this)));
@@ -81,7 +81,7 @@
// If an audio pipe is specific on the command-line then initialize
// AudioCapturerLinux to capture from it.
base::FilePath audio_pipe_name =
-@@ -1137,7 +1137,7 @@ void HostProcess::ShutdownOnUiThread() {
+@@ -1129,7 +1129,7 @@ void HostProcess::ShutdownOnUiThread() {
// It is now safe for the HostProcess to be deleted.
self_ = nullptr;
@@ -90,7 +90,7 @@
// Cause the global AudioPipeReader to be freed, otherwise the audio
// thread will remain in-use and prevent the process from exiting.
// TODO(wez): DesktopEnvironmentFactory should own the pipe reader.
-@@ -1145,7 +1145,7 @@ void HostProcess::ShutdownOnUiThread() {
+@@ -1137,7 +1137,7 @@ void HostProcess::ShutdownOnUiThread() {
AudioCapturerLinux::InitializePipeReader(nullptr, base::FilePath());
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -99,7 +99,7 @@
context_->input_task_runner()->PostTask(
FROM_HERE,
base::BindOnce([]() { delete ui::X11EventSource::GetInstance(); }));
-@@ -1928,7 +1928,7 @@ void HostProcess::StartHost() {
+@@ -1908,7 +1908,7 @@ void HostProcess::StartHost() {
host_->AddExtension(std::make_unique<TestEchoExtension>());
@@ -108,7 +108,7 @@
const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
if (cmd_line->HasSwitch(kEnableWtmpdb)) {
host_wtmpdb_logger_ =
-@@ -1964,7 +1964,7 @@ void HostProcess::StartHost() {
+@@ -1944,7 +1944,7 @@ void HostProcess::StartHost() {
// addresses.
host_->Start(*host_owner_emails_.begin());
@@ -117,7 +117,7 @@
// For Windows and Mac, ChromotingHostServices connections are handled by
// another process, then the message pipe is forwarded to the network process.
host_->StartChromotingHostServices();
-@@ -2109,7 +2109,7 @@ int HostProcessMain() {
+@@ -2089,7 +2089,7 @@ int HostProcessMain() {
HOST_LOG << "Starting host process: version " << STRINGIZE(VERSION);
const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
@@ -126,7 +126,16 @@
#if defined(REMOTING_USE_X11)
// Initialize Xlib for multi-threaded use, allowing non-Chromium code to
// use X11 safely (such as the WebRTC capturer, GTK ...)
-@@ -2172,7 +2172,7 @@ int HostProcessMain() {
+@@ -2134,7 +2134,7 @@ int HostProcessMain() {
+ return kInitializationFailed;
+ }
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Log and cleanup the crash database. We do this after a short delay so that
+ // the crash database has a chance to be updated properly if we just got
+ // relaunched after a crash.
+@@ -2154,7 +2154,7 @@ int HostProcessMain() {
std::unique_ptr<net::NetworkChangeNotifier> network_change_notifier(
net::NetworkChangeNotifier::CreateIfNeeded());
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc b/www/ungoogled-chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc
new file mode 100644
index 000000000000..5fcae1a43ef5
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-remoting_host_security__key_remote__security__key__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/security_key/remote_security_key_main.cc.orig 2025-09-10 13:22:16 UTC
++++ remoting/host/security_key/remote_security_key_main.cc
+@@ -24,7 +24,7 @@
+ #include "remoting/host/security_key/security_key_message_handler.h"
+ #include "remoting/host/usage_stats_consent.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -96,7 +96,7 @@ int RemoteSecurityKeyMain(int argc, char** argv) {
+
+ #if defined(REMOTING_ENABLE_CRASH_REPORTING)
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc b/www/ungoogled-chromium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc
new file mode 100644
index 000000000000..87804cfa1e66
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-remoting_host_setup_me2me__native__messaging__host__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/setup/me2me_native_messaging_host_main.cc.orig 2025-09-10 13:22:16 UTC
++++ remoting/host/setup/me2me_native_messaging_host_main.cc
+@@ -41,7 +41,7 @@
+ #include "base/apple/scoped_nsautorelease_pool.h"
+ #endif // BUILDFLAG(IS_APPLE)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -99,7 +99,7 @@ int Me2MeNativeMessagingHostMain(int argc, char** argv
+ // needs to be initialized first, so that the preference for crash-reporting
+ // can be looked up in the config file.
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_setup_start__host__main.cc b/www/ungoogled-chromium/files/patch-remoting_host_setup_start__host__main.cc
index e6efc2e185b5..5752cf11da74 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_setup_start__host__main.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_setup_start__host__main.cc
@@ -1,15 +1,15 @@
---- remoting/host/setup/start_host_main.cc.orig 2025-04-15 08:30:07 UTC
+--- remoting/host/setup/start_host_main.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/setup/start_host_main.cc
-@@ -45,7 +45,7 @@
+@@ -44,7 +44,7 @@
#include <unistd.h>
#endif // BUILDFLAG(IS_POSIX)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
#include "remoting/host/setup/daemon_controller_delegate_linux.h"
#include "remoting/host/setup/start_host_as_root.h"
- #endif // BUILDFLAG(IS_LINUX)
-@@ -369,7 +369,7 @@ bool InitializeCloudMachineParams(HostStarter::Params&
+@@ -370,7 +370,7 @@ bool InitializeCloudMachineParams(HostStarter::Params&
} // namespace
int StartHostMain(int argc, char** argv) {
@@ -18,7 +18,7 @@
// Minimize the amount of code that runs as root on Posix systems.
if (getuid() == 0) {
return remoting::StartHostAsRoot(argc, argv);
-@@ -394,7 +394,7 @@ int StartHostMain(int argc, char** argv) {
+@@ -395,7 +395,7 @@ int StartHostMain(int argc, char** argv) {
mojo::core::Init();
@@ -27,3 +27,12 @@
if (command_line->HasSwitch("no-start")) {
// On Linux, registering the host with systemd and starting it is the only
// reason start_host requires root. The --no-start options skips that final
+@@ -445,7 +445,7 @@ int StartHostMain(int argc, char** argv) {
+ // We don't have a config file yet so we can't use IsUsageStatsAllowed(),
+ // instead we can just check the command line parameter.
+ if (params.enable_crash_reporting) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc b/www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
index 8024080fa1a3..5823a2ac4aff 100644
--- a/www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
@@ -1,6 +1,6 @@
---- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2025-05-31 17:16:41 UTC
+--- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/host/webauthn/remote_webauthn_extension_notifier.cc
-@@ -31,7 +31,7 @@
+@@ -27,7 +27,7 @@
#include "base/task/thread_pool.h"
#include "build/build_config.h"
@@ -9,7 +9,7 @@
#include "base/environment.h"
#include "base/nix/xdg_util.h"
#include "base/strings/string_util.h"
-@@ -76,14 +76,14 @@ static constexpr char kExtensionWakeupFileContent[] =
+@@ -72,14 +72,14 @@ static constexpr char kExtensionWakeupFileContent[] =
// Caller should check if the directory exists before writing files to it. A
// directory only exists if the corresponding Chrome version is installed.
std::vector<base::FilePath> GetRemoteStateChangeDirPaths() {
diff --git a/www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc b/www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc
new file mode 100644
index 000000000000..5be4f7c3d06a
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-remoting_host_webauthn_remote__webauthn__main.cc
@@ -0,0 +1,20 @@
+--- remoting/host/webauthn/remote_webauthn_main.cc.orig 2025-09-10 13:22:16 UTC
++++ remoting/host/webauthn/remote_webauthn_main.cc
+@@ -27,7 +27,7 @@
+ #include "remoting/host/webauthn/remote_webauthn_caller_security_utils.h"
+ #include "remoting/host/webauthn/remote_webauthn_native_messaging_host.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/base/crash/crash_reporting_crashpad.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -50,7 +50,7 @@ int RemoteWebAuthnMain(int argc, char** argv) {
+
+ #if defined(REMOTING_ENABLE_CRASH_REPORTING)
+ if (IsUsageStatsAllowed()) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ InitializeCrashpadReporting();
+ #elif BUILDFLAG(IS_WIN)
+ InitializeBreakpadReporting();
diff --git a/www/ungoogled-chromium/files/patch-remoting_protocol_webrtc__video__stream.cc b/www/ungoogled-chromium/files/patch-remoting_protocol_webrtc__video__stream.cc
index 888f415428f7..da759400dbb5 100644
--- a/www/ungoogled-chromium/files/patch-remoting_protocol_webrtc__video__stream.cc
+++ b/www/ungoogled-chromium/files/patch-remoting_protocol_webrtc__video__stream.cc
@@ -1,6 +1,6 @@
---- remoting/protocol/webrtc_video_stream.cc.orig 2025-03-09 21:38:10 UTC
+--- remoting/protocol/webrtc_video_stream.cc.orig 2025-09-10 13:22:16 UTC
+++ remoting/protocol/webrtc_video_stream.cc
-@@ -267,7 +267,7 @@ WebrtcVideoStream::WebrtcVideoStream(const SessionOpti
+@@ -271,7 +271,7 @@ WebrtcVideoStream::WebrtcVideoStream(const SessionOpti
: session_options_(session_options) {
// TODO(joedow): Dig into the threading model on other platforms to see if they
// can also be updated to run on a dedicated thread.
diff --git a/www/ungoogled-chromium/files/patch-sandbox_linux_BUILD.gn b/www/ungoogled-chromium/files/patch-sandbox_linux_BUILD.gn
index 9a3cd197d85b..61131d82f9eb 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_linux_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-sandbox_linux_BUILD.gn
@@ -1,6 +1,6 @@
---- sandbox/linux/BUILD.gn.orig 2025-05-06 12:23:00 UTC
+--- sandbox/linux/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ sandbox/linux/BUILD.gn
-@@ -12,11 +12,11 @@ if (is_android) {
+@@ -11,11 +11,11 @@ if (is_android) {
}
declare_args() {
@@ -15,7 +15,7 @@
# On Android, use plain GTest.
use_base_test_suite = is_linux || is_chromeos
-@@ -377,6 +377,17 @@ component("sandbox_services") {
+@@ -381,6 +381,17 @@ component("sandbox_services") {
"services/libc_interceptor.h",
]
}
diff --git a/www/ungoogled-chromium/files/patch-sandbox_linux_services_init__process__reaper.cc b/www/ungoogled-chromium/files/patch-sandbox_linux_services_init__process__reaper.cc
index f53e8f4c2e5e..aab3c3765194 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_linux_services_init__process__reaper.cc
+++ b/www/ungoogled-chromium/files/patch-sandbox_linux_services_init__process__reaper.cc
@@ -1,14 +1,14 @@
---- sandbox/linux/services/init_process_reaper.cc.orig 2025-03-09 21:38:10 UTC
+--- sandbox/linux/services/init_process_reaper.cc.orig 2025-09-10 13:22:16 UTC
+++ sandbox/linux/services/init_process_reaper.cc
-@@ -7,6 +7,7 @@
- #pragma allow_unsafe_libc_calls
- #endif
+@@ -2,6 +2,7 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+#if 0
#include "sandbox/linux/services/init_process_reaper.h"
#include <signal.h>
-@@ -105,3 +106,4 @@ bool CreateInitProcessReaper(base::OnceClosure post_fo
+@@ -101,3 +102,4 @@ bool CreateInitProcessReaper(base::OnceClosure post_fo
}
} // namespace sandbox.
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_BUILD.gn b/www/ungoogled-chromium/files/patch-sandbox_policy_BUILD.gn
index f2b067c7c290..6a23c9924e0c 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_BUILD.gn
@@ -1,6 +1,6 @@
---- sandbox/policy/BUILD.gn.orig 2025-04-15 08:30:07 UTC
+--- sandbox/policy/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/BUILD.gn
-@@ -43,7 +43,7 @@ component("policy") {
+@@ -45,7 +45,7 @@ component("policy") {
"//third_party/jni_zero",
]
}
@@ -9,7 +9,7 @@
sources += [
"linux/bpf_audio_policy_linux.cc",
"linux/bpf_audio_policy_linux.h",
-@@ -112,6 +112,27 @@ component("policy") {
+@@ -113,6 +113,27 @@ component("policy") {
"//sandbox/linux:sandbox_services",
"//sandbox/linux:seccomp_bpf",
"//sandbox/linux:suid_sandbox_client",
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc b/www/ungoogled-chromium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc
index a72200b667d8..561dd42e24a8 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_freebsd_sandbox__freebsd.cc
@@ -1,6 +1,6 @@
---- sandbox/policy/freebsd/sandbox_freebsd.cc.orig 2024-11-16 12:20:41 UTC
+--- sandbox/policy/freebsd/sandbox_freebsd.cc.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/freebsd/sandbox_freebsd.cc
-@@ -0,0 +1,211 @@
+@@ -0,0 +1,210 @@
+// 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.
@@ -37,7 +37,6 @@
+#include "base/time/time.h"
+#include "build/build_config.h"
+#include "crypto/crypto_buildflags.h"
-+#include "ppapi/buildflags/buildflags.h"
+#include "sandbox/constants.h"
+#include "sandbox/linux/services/credentials.h"
+#include "sandbox/linux/services/namespace_sandbox.h"
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_mojom_sandbox.mojom b/www/ungoogled-chromium/files/patch-sandbox_policy_mojom_sandbox.mojom
index 96283d19f782..d2339169253d 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_mojom_sandbox.mojom
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_mojom_sandbox.mojom
@@ -1,6 +1,6 @@
---- sandbox/policy/mojom/sandbox.mojom.orig 2025-02-20 09:59:21 UTC
+--- sandbox/policy/mojom/sandbox.mojom.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/mojom/sandbox.mojom
-@@ -74,6 +74,12 @@ enum Sandbox {
+@@ -71,6 +71,12 @@ enum Sandbox {
// Minimally privileged sandbox on Fuchsia.
[EnableIf=is_fuchsia] kVideoCapture,
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc b/www/ungoogled-chromium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
index 6bbdac2476f3..5ad9c05f4d35 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
@@ -1,6 +1,6 @@
---- sandbox/policy/openbsd/sandbox_openbsd.cc.orig 2024-11-16 12:20:41 UTC
+--- sandbox/policy/openbsd/sandbox_openbsd.cc.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/openbsd/sandbox_openbsd.cc
-@@ -0,0 +1,392 @@
+@@ -0,0 +1,393 @@
+// 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.
@@ -38,7 +38,6 @@
+#include "base/time/time.h"
+#include "build/build_config.h"
+#include "crypto/crypto_buildflags.h"
-+#include "ppapi/buildflags/buildflags.h"
+#include "sandbox/constants.h"
+#include "sandbox/linux/services/credentials.h"
+#include "sandbox/linux/services/namespace_sandbox.h"
@@ -194,6 +193,7 @@
+bool SandboxLinux::SetUnveil(const std::string process_type, sandbox::mojom::Sandbox sandbox_type) {
+ FILE *fp;
+ char *s = NULL, *cp = NULL, *home = NULL, **ap, *tokens[MAXTOKENS];
++ char *xdg_var = NULL;
+ char path[PATH_MAX];
+ const char *ufile;
+ size_t len = 0, lineno = 0;
@@ -258,6 +258,13 @@
+ strncpy(path, home, sizeof(path) - 1);
+ path[sizeof(path) - 1] = '\0';
+ strncat(path, tokens[0], sizeof(path) - 1 - strlen(path));
++ } else if (strncmp(tokens[0], "XDG_", 4) == 0) {
++ if ((xdg_var = getenv(tokens[0])) == NULL || *xdg_var == '\0') {
++ LOG(ERROR) << "failed to get " << tokens[0];
++ continue;
++ }
++ strncpy(path, xdg_var, sizeof(path) - 1);
++ path[sizeof(path) - 1] = '\0';
+ } else {
+ strncpy(path, tokens[0], sizeof(path) - 1);
+ path[sizeof(path) - 1] = '\0';
@@ -333,14 +340,8 @@
+ break;
+ case sandbox::mojom::Sandbox::kGpu:
+ case sandbox::mojom::Sandbox::kOnDeviceModelExecution:
-+ SetPledge("stdio drm rpath flock cpath wpath prot_exec recvfd sendfd tmppath", NULL);
++ SetPledge("stdio drm inet rpath flock cpath wpath prot_exec recvfd sendfd tmppath unix", NULL);
+ break;
-+#if BUILDFLAG(ENABLE_PPAPI)
-+ case sandbox::mojom::Sandbox::kPpapi:
-+ // prot_exec needed by v8
-+ SetPledge("stdio rpath prot_exec recvfd sendfd", NULL);
-+ break;
-+#endif
+ case sandbox::mojom::Sandbox::kAudio:
+ SetPledge(NULL, "/etc/ungoogled-chromium/pledge.utility_audio");
+ break;
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox.cc b/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox.cc
index 2d87f14514f4..cbf2d7ed9342 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox.cc
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox.cc
@@ -1,4 +1,4 @@
---- sandbox/policy/sandbox.cc.orig 2024-04-23 07:42:17 UTC
+--- sandbox/policy/sandbox.cc.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/sandbox.cc
@@ -18,6 +18,10 @@
#include "sandbox/policy/linux/sandbox_linux.h"
@@ -11,7 +11,7 @@
#if BUILDFLAG(IS_MAC)
#include "sandbox/mac/seatbelt.h"
#endif // BUILDFLAG(IS_MAC)
-@@ -32,7 +36,7 @@
+@@ -34,7 +38,7 @@
namespace sandbox {
namespace policy {
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox__type.cc b/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox__type.cc
index bdbc1a453723..b6fb9e4e0069 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox__type.cc
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_sandbox__type.cc
@@ -1,7 +1,16 @@
---- sandbox/policy/sandbox_type.cc.orig 2025-04-15 08:30:07 UTC
+--- sandbox/policy/sandbox_type.cc.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/sandbox_type.cc
-@@ -38,7 +38,7 @@ constexpr char kPpapiSandbox[] = "ppapi";
+@@ -16,7 +16,7 @@
+ #include "chromeos/ash/components/assistant/buildflags.h"
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "media/gpu/buildflags.h" // nogncheck
+ #include "media/media_buildflags.h" // nogncheck
#endif
+@@ -38,7 +38,7 @@ constexpr char kServiceSandboxWithJit[] = "service_wit
+ constexpr char kSpeechRecognitionSandbox[] = "speech_recognition";
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN)
@@ -25,10 +34,10 @@
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- constexpr char kHardwareVideoDecodingSandbox[] = "hardware_video_decoding";
- constexpr char kHardwareVideoEncodingSandbox[] = "hardware_video_encoding";
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -78,7 +78,7 @@ constexpr char kLibassistantSandbox[] = "libassistant"
+ constexpr char kShapeDetectionSandbox[] = "shape_detection";
+ // USE_LINUX_VIDEO_ACCELERATION implies IS_LINUX || IS_CHROMEOS, so this double
+ // #if is redundant, however, we cannot include "media/gpu/buildflags.h" on all
+@@ -85,7 +85,7 @@ constexpr char kLibassistantSandbox[] = "libassistant"
#endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -37,7 +46,7 @@
constexpr char kOnDeviceTranslationSandbox[] = "on_device_translation";
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
-@@ -140,7 +140,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -135,7 +135,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
case Sandbox::kCdm:
case Sandbox::kPrintCompositor:
case Sandbox::kAudio:
@@ -46,16 +55,16 @@
case Sandbox::kVideoCapture:
#endif
#if BUILDFLAG(IS_WIN)
-@@ -151,7 +151,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -146,7 +146,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
case Sandbox::kMediaFoundationCdm:
case Sandbox::kWindowsSystemProxyResolver:
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ case Sandbox::kShapeDetection:
+ #if BUILDFLAG(USE_LINUX_VIDEO_ACCELERATION)
case Sandbox::kHardwareVideoDecoding:
- case Sandbox::kHardwareVideoEncoding:
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -167,15 +167,15 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -165,15 +165,15 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
case Sandbox::kMirroring:
#endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -74,17 +83,17 @@
case Sandbox::kOnDeviceTranslation:
#endif
DCHECK(command_line->GetSwitchValueASCII(switches::kProcessType) ==
-@@ -185,7 +185,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
+@@ -183,7 +183,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi
switches::kServiceSandboxType,
StringFromUtilitySandboxType(sandbox_type));
- break;
+ return;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
case Sandbox::kZygoteIntermediateSandbox:
- break;
+ return;
#endif
-@@ -225,7 +225,7 @@ sandbox::mojom::Sandbox SandboxTypeFromCommandLine(
- return Sandbox::kUtility;
+@@ -214,7 +214,7 @@ sandbox::mojom::Sandbox SandboxTypeFromCommandLine(
+ return Sandbox::kGpu;
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -92,7 +101,7 @@
// Intermediate process gains a sandbox later.
if (process_type == switches::kZygoteProcessType)
return Sandbox::kZygoteIntermediateSandbox;
-@@ -267,7 +267,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
+@@ -252,7 +252,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
return kUtilitySandbox;
case Sandbox::kAudio:
return kAudioSandbox;
@@ -101,7 +110,7 @@
case Sandbox::kVideoCapture:
return kVideoCaptureSandbox;
#endif
-@@ -278,17 +278,17 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
+@@ -263,17 +263,17 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
case Sandbox::kSpeechRecognition:
return kSpeechRecognitionSandbox;
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -122,25 +131,16 @@
case Sandbox::kOnDeviceTranslation:
return kOnDeviceTranslationSandbox;
#endif
-@@ -308,7 +308,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
+@@ -293,7 +293,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
case Sandbox::kMirroring:
return kMirroringSandbox;
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- case Sandbox::kHardwareVideoDecoding:
- return kHardwareVideoDecodingSandbox;
- case Sandbox::kHardwareVideoEncoding:
-@@ -329,7 +329,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb
- // The following are not utility processes so should not occur.
- case Sandbox::kRenderer:
- case Sandbox::kGpu:
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- case Sandbox::kZygoteIntermediateSandbox:
- #endif
- NOTREACHED();
-@@ -407,7 +407,7 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
+ case Sandbox::kShapeDetection:
+ return kShapeDetectionSandbox;
+ #if BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
+@@ -394,7 +394,7 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
return Sandbox::kSpeechRecognition;
}
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -149,7 +149,7 @@
if (sandbox_string == kPrintBackendSandbox) {
return Sandbox::kPrintBackend;
}
-@@ -415,7 +415,7 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
+@@ -402,22 +402,22 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
return Sandbox::kScreenAI;
}
#endif
@@ -158,7 +158,10 @@
if (sandbox_string == kVideoEffectsSandbox) {
return Sandbox::kVideoEffects;
}
-@@ -425,12 +425,12 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString(
+ #endif
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ if (sandbox_string == kOnDeviceTranslationSandbox) {
return Sandbox::kOnDeviceTranslation;
}
#endif
@@ -170,6 +173,6 @@
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (sandbox_string == kHardwareVideoDecodingSandbox) {
- return Sandbox::kHardwareVideoDecoding;
+ if (sandbox_string == kShapeDetectionSandbox) {
+ return Sandbox::kShapeDetection;
}
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_switches.cc b/www/ungoogled-chromium/files/patch-sandbox_policy_switches.cc
index 012920b6f181..bb8dfe13998a 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_switches.cc
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_switches.cc
@@ -1,6 +1,6 @@
---- sandbox/policy/switches.cc.orig 2025-04-15 08:30:07 UTC
+--- sandbox/policy/switches.cc.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/switches.cc
-@@ -37,7 +37,9 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f
+@@ -40,7 +40,9 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f
// Meant to be used as a browser-level switch for testing purposes only.
const char kNoSandbox[] = "no-sandbox";
diff --git a/www/ungoogled-chromium/files/patch-sandbox_policy_switches.h b/www/ungoogled-chromium/files/patch-sandbox_policy_switches.h
index b772b3366658..168a518b0c5d 100644
--- a/www/ungoogled-chromium/files/patch-sandbox_policy_switches.h
+++ b/www/ungoogled-chromium/files/patch-sandbox_policy_switches.h
@@ -1,6 +1,6 @@
---- sandbox/policy/switches.h.orig 2025-02-20 09:59:21 UTC
+--- sandbox/policy/switches.h.orig 2025-09-10 13:22:16 UTC
+++ sandbox/policy/switches.h
-@@ -23,7 +23,8 @@ SANDBOX_POLICY_EXPORT extern const char kDisableSetuid
+@@ -24,7 +24,8 @@ SANDBOX_POLICY_EXPORT extern const char kDisableSetuid
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxAllowSysVShm[];
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxFailuresFatal[];
SANDBOX_POLICY_EXPORT extern const char kNoSandbox[];
diff --git a/www/ungoogled-chromium/files/patch-services_device_public_cpp_device__features.cc b/www/ungoogled-chromium/files/patch-services_device_public_cpp_device__features.cc
index b1ed4e28a465..0a0215cbd365 100644
--- a/www/ungoogled-chromium/files/patch-services_device_public_cpp_device__features.cc
+++ b/www/ungoogled-chromium/files/patch-services_device_public_cpp_device__features.cc
@@ -1,11 +1,11 @@
---- services/device/public/cpp/device_features.cc.orig 2025-05-31 17:16:41 UTC
+--- services/device/public/cpp/device_features.cc.orig 2025-09-10 13:22:16 UTC
+++ services/device/public/cpp/device_features.cc
-@@ -140,7 +140,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
-
- // Controls whether Chrome will try to automatically detach kernel drivers when
- // a USB interface is busy.
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+@@ -144,7 +144,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
+ BASE_FEATURE(kAutomaticUsbDetach,
+ "AutomaticUsbDetach",
+ base::FEATURE_ENABLED_BY_DEFAULT);
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kAutomaticUsbDetach,
"AutomaticUsbDetach",
base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-services_device_public_mojom_BUILD.gn b/www/ungoogled-chromium/files/patch-services_device_public_mojom_BUILD.gn
index 11e0a875ba46..893119ef5972 100644
--- a/www/ungoogled-chromium/files/patch-services_device_public_mojom_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-services_device_public_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- services/device/public/mojom/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- services/device/public/mojom/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ services/device/public/mojom/BUILD.gn
-@@ -98,7 +98,7 @@ mojom("device_service") {
+@@ -95,7 +95,7 @@ mojom("device_service") {
enable_js_fuzzing = false
enabled_features = []
diff --git a/www/ungoogled-chromium/files/patch-services_device_serial_serial__device__enumerator.cc b/www/ungoogled-chromium/files/patch-services_device_serial_serial__device__enumerator.cc
index c915c335b250..277b6aadee44 100644
--- a/www/ungoogled-chromium/files/patch-services_device_serial_serial__device__enumerator.cc
+++ b/www/ungoogled-chromium/files/patch-services_device_serial_serial__device__enumerator.cc
@@ -1,6 +1,6 @@
---- services/device/serial/serial_device_enumerator.cc.orig 2025-04-15 08:30:07 UTC
+--- services/device/serial/serial_device_enumerator.cc.orig 2025-09-10 13:22:16 UTC
+++ services/device/serial/serial_device_enumerator.cc
-@@ -13,7 +13,7 @@
+@@ -12,7 +12,7 @@
#include "build/build_config.h"
#include "components/device_event_log/device_event_log.h"
@@ -9,7 +9,7 @@
#include "services/device/serial/serial_device_enumerator_linux.h"
#elif BUILDFLAG(IS_MAC)
#include "services/device/serial/serial_device_enumerator_mac.h"
-@@ -28,7 +28,7 @@ namespace device {
+@@ -27,7 +27,7 @@ namespace device {
// static
std::unique_ptr<SerialDeviceEnumerator> SerialDeviceEnumerator::Create(
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
diff --git a/www/ungoogled-chromium/files/patch-services_device_serial_serial__io__handler__posix.cc b/www/ungoogled-chromium/files/patch-services_device_serial_serial__io__handler__posix.cc
index 85862cb79856..852bb664eb69 100644
--- a/www/ungoogled-chromium/files/patch-services_device_serial_serial__io__handler__posix.cc
+++ b/www/ungoogled-chromium/files/patch-services_device_serial_serial__io__handler__posix.cc
@@ -1,6 +1,6 @@
---- services/device/serial/serial_io_handler_posix.cc.orig 2024-08-26 14:40:28 UTC
+--- services/device/serial/serial_io_handler_posix.cc.orig 2025-09-10 13:22:16 UTC
+++ services/device/serial/serial_io_handler_posix.cc
-@@ -73,7 +73,7 @@ bool BitrateToSpeedConstant(int bitrate, speed_t* spee
+@@ -74,7 +74,7 @@ bool BitrateToSpeedConstant(int bitrate, speed_t* spee
BITRATE_TO_SPEED_CASE(9600)
BITRATE_TO_SPEED_CASE(19200)
BITRATE_TO_SPEED_CASE(38400)
diff --git a/www/ungoogled-chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc b/www/ungoogled-chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc
index c9dd3f901b57..c1b2834bcae8 100644
--- a/www/ungoogled-chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc
+++ b/www/ungoogled-chromium/files/patch-services_device_usb_usb__device__handle__usbfs.cc
@@ -1,15 +1,24 @@
---- services/device/usb/usb_device_handle_usbfs.cc.orig 2025-05-06 12:23:00 UTC
+--- services/device/usb/usb_device_handle_usbfs.cc.orig 2025-09-10 13:22:16 UTC
+++ services/device/usb/usb_device_handle_usbfs.cc
-@@ -39,7 +39,7 @@
+@@ -38,7 +38,7 @@
#include "chromeos/dbus/permission_broker/permission_broker_client.h"
#endif
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "base/metrics/histogram_macros.h"
#include "services/device/public/cpp/device_features.h"
#include "services/device/usb/usb_interface_detach_allowlist.h"
- #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-@@ -271,7 +271,7 @@ bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::R
+@@ -55,7 +55,7 @@ using mojom::UsbTransferType;
+
+ namespace {
+
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Outcome of detaching a kernel driver before ClaimInterface().
+ // These values are persisted to logs. Entries should not be renumbered and
+ // numeric values should never be reused.
+@@ -297,7 +297,7 @@ bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::R
return true;
}
@@ -18,7 +27,7 @@
bool UsbDeviceHandleUsbfs::BlockingTaskRunnerHelper::DetachInterface(
int interface_number,
const CombinedInterfaceInfo& interface_info) {
-@@ -599,7 +599,7 @@ void UsbDeviceHandleUsbfs::ClaimInterface(int interfac
+@@ -633,7 +633,7 @@ void UsbDeviceHandleUsbfs::ClaimInterface(int interfac
return;
}
#endif
@@ -27,7 +36,7 @@
if (base::FeatureList::IsEnabled(features::kAutomaticUsbDetach)) {
const mojom::UsbConfigurationInfo* config =
device_->GetActiveConfiguration();
-@@ -945,7 +945,7 @@ void UsbDeviceHandleUsbfs::ReleaseInterfaceComplete(in
+@@ -979,7 +979,7 @@ void UsbDeviceHandleUsbfs::ReleaseInterfaceComplete(in
return;
}
#endif
diff --git a/www/ungoogled-chromium/files/patch-services_device_usb_usb__service.cc b/www/ungoogled-chromium/files/patch-services_device_usb_usb__service.cc
index b5b45f581e09..be8c99ddf17c 100644
--- a/www/ungoogled-chromium/files/patch-services_device_usb_usb__service.cc
+++ b/www/ungoogled-chromium/files/patch-services_device_usb_usb__service.cc
@@ -1,6 +1,6 @@
---- services/device/usb/usb_service.cc.orig 2024-08-26 14:40:28 UTC
+--- services/device/usb/usb_service.cc.orig 2025-09-10 13:22:16 UTC
+++ services/device/usb/usb_service.cc
-@@ -21,12 +21,16 @@
+@@ -20,12 +20,16 @@
#if BUILDFLAG(IS_ANDROID)
#include "services/device/usb/usb_service_android.h"
@@ -18,7 +18,7 @@
#endif
namespace device {
-@@ -49,11 +53,13 @@ constexpr base::TaskTraits UsbService::kBlockingTaskTr
+@@ -48,11 +52,13 @@ constexpr base::TaskTraits UsbService::kBlockingTaskTr
std::unique_ptr<UsbService> UsbService::Create() {
#if BUILDFLAG(IS_ANDROID)
return base::WrapUnique(new UsbServiceAndroid());
diff --git a/www/ungoogled-chromium/files/patch-services_device_usb_usb__service__fake.cc b/www/ungoogled-chromium/files/patch-services_device_usb_usb__service__fake.cc
index d4e42133b5e9..ae741f54ccae 100644
--- a/www/ungoogled-chromium/files/patch-services_device_usb_usb__service__fake.cc
+++ b/www/ungoogled-chromium/files/patch-services_device_usb_usb__service__fake.cc
@@ -1,6 +1,6 @@
---- services/device/usb/usb_service_fake.cc.orig 2023-03-10 11:01:21 UTC
+--- services/device/usb/usb_service_fake.cc.orig 2025-09-10 13:22:16 UTC
+++ services/device/usb/usb_service_fake.cc
-@@ -0,0 +1,49 @@
+@@ -0,0 +1,50 @@
+// Copyright 2014 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
@@ -17,6 +17,7 @@
+#include "base/barrier_closure.h"
+#include "base/containers/contains.h"
+#include "base/location.h"
++#include "base/notimplemented.h"
+#include "base/memory/ref_counted_memory.h"
+#include "base/memory/weak_ptr.h"
+#include "base/strings/string_number_conversions.h"
diff --git a/www/ungoogled-chromium/files/patch-services_network_BUILD.gn b/www/ungoogled-chromium/files/patch-services_network_BUILD.gn
index df7ed1243bff..cb4f849469ed 100644
--- a/www/ungoogled-chromium/files/patch-services_network_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-services_network_BUILD.gn
@@ -1,10 +1,10 @@
---- services/network/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- services/network/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ services/network/BUILD.gn
-@@ -413,7 +413,6 @@ if (is_linux || is_chromeos) {
+@@ -421,7 +421,6 @@ if (is_linux || is_chromeos) {
]
deps = [
- "//base:base",
+ "//base",
- "//sandbox/linux:sandbox_services",
- "//sandbox/policy:policy",
+ "//sandbox/policy",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
diff --git a/www/ungoogled-chromium/files/patch-services_network_network__context.cc b/www/ungoogled-chromium/files/patch-services_network_network__context.cc
index 46b20fca07a7..9318191f9462 100644
--- a/www/ungoogled-chromium/files/patch-services_network_network__context.cc
+++ b/www/ungoogled-chromium/files/patch-services_network_network__context.cc
@@ -1,6 +1,6 @@
---- services/network/network_context.cc.orig 2025-05-31 17:16:41 UTC
+--- services/network/network_context.cc.orig 2025-09-10 13:22:16 UTC
+++ services/network/network_context.cc
-@@ -612,7 +612,7 @@ NetworkContext::NetworkContextHttpAuthPreferences::
+@@ -629,7 +629,7 @@ NetworkContext::NetworkContextHttpAuthPreferences::
NetworkContext::NetworkContextHttpAuthPreferences::
~NetworkContextHttpAuthPreferences() = default;
@@ -9,7 +9,7 @@
bool NetworkContext::NetworkContextHttpAuthPreferences::AllowGssapiLibraryLoad()
const {
if (network_service_) {
-@@ -2543,7 +2543,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged(
+@@ -2598,7 +2598,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged(
http_auth_dynamic_network_service_params->android_negotiate_account_type);
#endif // BUILDFLAG(IS_ANDROID)
diff --git a/www/ungoogled-chromium/files/patch-services_network_network__context.h b/www/ungoogled-chromium/files/patch-services_network_network__context.h
index cc0b4443a5d4..957beb786473 100644
--- a/www/ungoogled-chromium/files/patch-services_network_network__context.h
+++ b/www/ungoogled-chromium/files/patch-services_network_network__context.h
@@ -1,6 +1,6 @@
---- services/network/network_context.h.orig 2025-05-31 17:16:41 UTC
+--- services/network/network_context.h.orig 2025-09-10 13:22:16 UTC
+++ services/network/network_context.h
-@@ -723,7 +723,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext
+@@ -738,7 +738,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext
public:
explicit NetworkContextHttpAuthPreferences(NetworkService* network_service);
~NetworkContextHttpAuthPreferences() override;
diff --git a/www/ungoogled-chromium/files/patch-services_network_network__service.cc b/www/ungoogled-chromium/files/patch-services_network_network__service.cc
index 6d1e5059879f..470d447a21de 100644
--- a/www/ungoogled-chromium/files/patch-services_network_network__service.cc
+++ b/www/ungoogled-chromium/files/patch-services_network_network__service.cc
@@ -1,6 +1,6 @@
---- services/network/network_service.cc.orig 2025-05-31 17:16:41 UTC
+--- services/network/network_service.cc.orig 2025-09-10 13:22:16 UTC
+++ services/network/network_service.cc
-@@ -103,11 +103,11 @@
+@@ -107,11 +107,11 @@
#include "third_party/boringssl/src/include/openssl/cpu.h"
#endif
@@ -14,7 +14,7 @@
#include "services/network/network_change_notifier_passive_factory.h"
#endif
-@@ -1043,7 +1043,7 @@ void NetworkService::SetExplicitlyAllowedPorts(
+@@ -1035,7 +1035,7 @@ void NetworkService::SetExplicitlyAllowedPorts(
net::SetExplicitlyAllowedPorts(ports);
}
@@ -23,7 +23,7 @@
void NetworkService::SetGssapiLibraryLoadObserver(
mojo::PendingRemote<mojom::GssapiLibraryLoadObserver>
gssapi_library_load_observer) {
-@@ -1143,7 +1143,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo
+@@ -1174,7 +1174,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo
);
}
diff --git a/www/ungoogled-chromium/files/patch-services_network_network__service.h b/www/ungoogled-chromium/files/patch-services_network_network__service.h
index 6e1d87b76338..56ba9c81e4aa 100644
--- a/www/ungoogled-chromium/files/patch-services_network_network__service.h
+++ b/www/ungoogled-chromium/files/patch-services_network_network__service.h
@@ -1,6 +1,6 @@
---- services/network/network_service.h.orig 2025-05-31 17:16:41 UTC
+--- services/network/network_service.h.orig 2025-09-10 13:22:16 UTC
+++ services/network/network_service.h
-@@ -251,7 +251,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService
+@@ -243,7 +243,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService
const std::vector<ContentSettingPatternSource>& settings) override;
void SetExplicitlyAllowedPorts(const std::vector<uint16_t>& ports) override;
diff --git a/www/ungoogled-chromium/files/patch-services_network_public_cpp_BUILD.gn b/www/ungoogled-chromium/files/patch-services_network_public_cpp_BUILD.gn
index 96e2976e25ba..60080edf72fa 100644
--- a/www/ungoogled-chromium/files/patch-services_network_public_cpp_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-services_network_public_cpp_BUILD.gn
@@ -1,6 +1,6 @@
---- services/network/public/cpp/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- services/network/public/cpp/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ services/network/public/cpp/BUILD.gn
-@@ -641,7 +641,7 @@ component("cpp_base") {
+@@ -701,7 +701,7 @@ component("cpp_base") {
sources += [ "transferable_directory_fuchsia.cc" ]
}
diff --git a/www/ungoogled-chromium/files/patch-services_network_public_cpp_features.cc b/www/ungoogled-chromium/files/patch-services_network_public_cpp_features.cc
index e4e3148cc7f7..25587109f20b 100644
--- a/www/ungoogled-chromium/files/patch-services_network_public_cpp_features.cc
+++ b/www/ungoogled-chromium/files/patch-services_network_public_cpp_features.cc
@@ -1,6 +1,6 @@
---- services/network/public/cpp/features.cc.orig 2025-05-31 17:16:41 UTC
+--- services/network/public/cpp/features.cc.orig 2025-09-10 13:22:16 UTC
+++ services/network/public/cpp/features.cc
-@@ -380,7 +380,7 @@ BASE_FEATURE(kAvoidResourceRequestCopies,
+@@ -381,7 +381,7 @@ BASE_FEATURE(kAvoidResourceRequestCopies,
BASE_FEATURE(kDocumentIsolationPolicy,
"DocumentIsolationPolicy",
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn b/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn
index 141011edc2e1..b7194bc8bd8e 100644
--- a/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-services_network_public_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- services/network/public/mojom/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- services/network/public/mojom/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ services/network/public/mojom/BUILD.gn
-@@ -675,11 +675,11 @@ mojom("url_loader_base") {
+@@ -690,11 +690,11 @@ mojom("url_loader_base") {
}
enabled_features = []
@@ -14,7 +14,16 @@
# TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does
# not include lacros.
enabled_features += [ "use_network_interface_change_listener" ]
-@@ -1795,7 +1795,7 @@ mojom("mojom") {
+@@ -1007,7 +1007,7 @@ mojom("url_loader_base") {
+ },
+ ]
+
+- if (is_linux) {
++ if (is_linux && !is_bsd) {
+ cpp_typemaps += [
+ {
+ types = [
+@@ -1797,7 +1797,7 @@ mojom("mojom") {
}
}
diff --git a/www/ungoogled-chromium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h b/www/ungoogled-chromium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h
index edfa6d49a8e9..2c4c44d286bd 100644
--- a/www/ungoogled-chromium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h
+++ b/www/ungoogled-chromium/files/patch-services_network_shared__dictionary_shared__dictionary__writer__in__memory.h
@@ -1,4 +1,4 @@
---- services/network/shared_dictionary/shared_dictionary_writer_in_memory.h.orig 2023-08-18 10:26:52 UTC
+--- services/network/shared_dictionary/shared_dictionary_writer_in_memory.h.orig 2025-09-10 13:22:16 UTC
+++ services/network/shared_dictionary/shared_dictionary_writer_in_memory.h
@@ -9,6 +9,8 @@
#include <string>
@@ -8,4 +8,4 @@
+
#include "base/component_export.h"
#include "base/functional/callback.h"
- #include "crypto/secure_hash.h"
+ #include "crypto/hash.h"
diff --git a/www/ungoogled-chromium/files/patch-services_on__device__model_on__device__model__service.h b/www/ungoogled-chromium/files/patch-services_on__device__model_on__device__model__service.h
deleted file mode 100644
index 5d4b5f4757ba..000000000000
--- a/www/ungoogled-chromium/files/patch-services_on__device__model_on__device__model__service.h
+++ /dev/null
@@ -1,22 +0,0 @@
---- services/on_device_model/on_device_model_service.h.orig 2024-11-16 12:20:41 UTC
-+++ services/on_device_model/on_device_model_service.h
-@@ -31,6 +31,10 @@ class OnDeviceModelInternalImpl;
- class TsHolder;
- }
-
-+#if BUILDFLAG(IS_BSD)
-+#include "sandbox/policy/sandbox.h"
-+#endif
-+
- namespace on_device_model {
-
- class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelService
-@@ -44,7 +48,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelS
- // Must be called in the service's process after the run loop finished.
- [[nodiscard]] static bool Shutdown();
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- static void AddSandboxLinuxOptions(
- sandbox::policy::SandboxLinux::Options& options);
- #endif
diff --git a/www/ungoogled-chromium/files/patch-services_on__device__model_pre__sandbox__init.cc b/www/ungoogled-chromium/files/patch-services_on__device__model_pre__sandbox__init.cc
deleted file mode 100644
index 74c837b82294..000000000000
--- a/www/ungoogled-chromium/files/patch-services_on__device__model_pre__sandbox__init.cc
+++ /dev/null
@@ -1,38 +0,0 @@
---- services/on_device_model/pre_sandbox_init.cc.orig 2025-01-25 09:34:31 UTC
-+++ services/on_device_model/pre_sandbox_init.cc
-@@ -14,7 +14,7 @@
- #include "services/on_device_model/ml/chrome_ml.h" // nogncheck
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "gpu/config/gpu_info_collector.h" // nogncheck
- #include "third_party/dawn/include/dawn/dawn_proc.h" // nogncheck
- #include "third_party/dawn/include/dawn/native/DawnNative.h" // nogncheck
-@@ -25,7 +25,7 @@ namespace on_device_model {
-
- namespace {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- constexpr uint32_t kVendorIdAMD = 0x1002;
- constexpr uint32_t kVendorIdIntel = 0x8086;
- constexpr uint32_t kVendorIdNVIDIA = 0x10DE;
-@@ -74,7 +74,7 @@ bool OnDeviceModelService::PreSandboxInit() {
- }
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Warm any relevant drivers before attempting to bring up the sandbox. For
- // good measure we initialize a device instance for any adapter with an
- // appropriate backend on top of any integrated or discrete GPU.
-@@ -102,7 +102,7 @@ bool OnDeviceModelService::PreSandboxInit() {
- return true;
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // static
- void OnDeviceModelService::AddSandboxLinuxOptions(
- sandbox::policy::SandboxLinux::Options& options) {
diff --git a/www/ungoogled-chromium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc b/www/ungoogled-chromium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
index 742a6293d20f..43745379a88e 100644
--- a/www/ungoogled-chromium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
+++ b/www/ungoogled-chromium/files/patch-services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
@@ -1,6 +1,6 @@
---- services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-06-17 07:21:45 UTC
+--- services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-09-10 13:22:16 UTC
+++ services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc
-@@ -54,7 +54,7 @@ uint32_t CalculatePrivateFootprintKb(const mojom::RawO
+@@ -55,7 +55,7 @@ uint32_t CalculatePrivateFootprintKb(const mojom::RawO
uint32_t shared_resident_kb) {
DCHECK(os_dump.platform_private_footprint);
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -9,7 +9,7 @@
uint64_t rss_anon_bytes = os_dump.platform_private_footprint->rss_anon_bytes;
uint64_t vm_swap_bytes = os_dump.platform_private_footprint->vm_swap_bytes;
return (rss_anon_bytes + vm_swap_bytes) / 1024;
-@@ -83,7 +83,7 @@ memory_instrumentation::mojom::OSMemDumpPtr CreatePubl
+@@ -84,7 +84,7 @@ memory_instrumentation::mojom::OSMemDumpPtr CreatePubl
os_dump->is_peak_rss_resettable = internal_os_dump.is_peak_rss_resettable;
os_dump->private_footprint_kb =
CalculatePrivateFootprintKb(internal_os_dump, shared_resident_kb);
@@ -18,7 +18,7 @@
os_dump->private_footprint_swap_kb =
internal_os_dump.platform_private_footprint->vm_swap_bytes / 1024;
os_dump->mappings_count = internal_os_dump.mappings_count;
-@@ -222,7 +222,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
+@@ -223,7 +223,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
// On most platforms each process can dump data about their own process
// so ask each process to do so Linux is special see below.
@@ -27,7 +27,7 @@
request->pending_responses.insert({client_info.pid, ResponseType::kOSDump});
client->RequestOSMemoryDump(
request->memory_map_option(), request->memory_dump_flags(),
-@@ -237,7 +237,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
+@@ -238,7 +238,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch(
// In some cases, OS stats can only be dumped from a privileged process to
// get around to sandboxing/selinux restrictions (see crbug.com/461788).
@@ -36,7 +36,7 @@
std::vector<base::ProcessId> pids;
mojom::ClientProcess* browser_client = nullptr;
base::ProcessId browser_client_pid = base::kNullProcessId;
-@@ -284,7 +284,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion
+@@ -285,7 +285,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion
const OsCallback& os_callback) {
// On Linux, OS stats can only be dumped from a privileged process to
// get around to sandboxing/selinux restrictions (see crbug.com/461788).
@@ -45,7 +45,7 @@
mojom::ClientProcess* browser_client = nullptr;
base::ProcessId browser_client_pid = 0;
for (const auto& client_info : clients) {
-@@ -334,7 +334,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest(
+@@ -335,7 +335,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest(
// each client process provides 1 OS dump, % the case where the client is
// disconnected mid dump.
OSMemDumpMap& extra_os_dumps = response.second.os_dumps;
@@ -54,7 +54,7 @@
for (auto& kv : extra_os_dumps) {
auto pid = kv.first == base::kNullProcessId ? original_pid : kv.first;
DCHECK(results.find(pid) == results.end());
-@@ -395,7 +395,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest*
+@@ -396,7 +396,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest*
// crash). In the latter case (OS_LINUX) we expect the full map to come
// from the browser process response.
OSMemDumpMap& extra_os_dumps = response.second.os_dumps;
diff --git a/www/ungoogled-chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc b/www/ungoogled-chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc
index 9ffd7f36ba44..fb494ab5ace9 100644
--- a/www/ungoogled-chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc
+++ b/www/ungoogled-chromium/files/patch-services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc
@@ -1,12 +1,14 @@
---- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2025-06-17 07:21:45 UTC
+--- services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2025-09-10 13:22:16 UTC
+++ services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc
-@@ -0,0 +1,59 @@
+@@ -0,0 +1,61 @@
+// Copyright 2022 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.
+
+#include "services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h"
+
++#include "base/notimplemented.h"
++
+#include "base/memory/page_size.h"
+#include "base/process/process.h"
+#include "base/process/process_handle.h"
diff --git a/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc b/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc
index 3538ed75dd55..dfc0276f9c00 100644
--- a/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc
+++ b/www/ungoogled-chromium/files/patch-services_screen__ai_public_cpp_utilities.cc
@@ -1,15 +1,15 @@
---- services/screen_ai/public/cpp/utilities.cc.orig 2024-08-26 14:40:28 UTC
+--- services/screen_ai/public/cpp/utilities.cc.orig 2025-09-10 13:22:16 UTC
+++ services/screen_ai/public/cpp/utilities.cc
-@@ -18,7 +18,7 @@ namespace screen_ai {
-
- namespace {
+@@ -21,7 +21,7 @@ namespace {
+ // The maximum image dimension which is processed without downsampling by OCR.
+ constexpr uint32_t kMaxImageDimensionForOcr = 2048;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
constexpr char kBinaryPathSwitch[] = "screen-ai-binary";
#endif
-@@ -39,7 +39,7 @@ constexpr char kScreenAIDlcRootPath[] =
+@@ -42,7 +42,7 @@ constexpr char kScreenAIDlcRootPath[] =
#endif
#if BUILDFLAG(ENABLE_SCREEN_AI_BROWSERTESTS)
@@ -18,7 +18,7 @@
constexpr base::FilePath::CharType kScreenAIResourcePathForTests[] =
FILE_PATH_LITERAL("third_party/screen-ai/linux/resources");
#elif BUILDFLAG(IS_MAC)
-@@ -128,7 +128,7 @@ base::FilePath GetComponentBinaryPathForTests() {
+@@ -131,7 +131,7 @@ base::FilePath GetComponentBinaryPathForTests() {
const char* GetBinaryPathSwitch() {
// This is only used on Linux and ChromeOS.
diff --git a/www/ungoogled-chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc b/www/ungoogled-chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc
index 1568d9c179f7..a14dbe27de04 100644
--- a/www/ungoogled-chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc
+++ b/www/ungoogled-chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc
@@ -1,6 +1,6 @@
---- services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2025-03-09 21:38:10 UTC
+--- services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc
-@@ -58,6 +58,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
+@@ -70,6 +70,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
}
}
@@ -8,7 +8,7 @@
auto* instance = sandbox::policy::SandboxLinux::GetInstance();
std::vector<BrokerFilePermission> permissions{
-@@ -79,6 +80,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
+@@ -91,6 +92,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path
sandbox::syscall_broker::COMMAND_OPEN}),
permissions, options);
instance->EngageNamespaceSandboxIfPossible();
diff --git a/www/ungoogled-chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc b/www/ungoogled-chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc
new file mode 100644
index 000000000000..8ec17428fb73
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-services_screen__ai_screen__ai__service__impl.cc
@@ -0,0 +1,20 @@
+--- services/screen_ai/screen_ai_service_impl.cc.orig 2025-09-10 13:22:16 UTC
++++ services/screen_ai/screen_ai_service_impl.cc
+@@ -38,7 +38,7 @@
+ #include "ui/accessibility/ax_tree_id.h"
+ #include "ui/gfx/geometry/rect_f.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "partition_alloc/buildflags.h"
+
+ #if PA_BUILDFLAG( \
+@@ -266,7 +266,7 @@ ScreenAIService::ScreenAIService(
+ : factory_receiver_(this, std::move(receiver)),
+ ocr_receiver_(this),
+ main_content_extraction_receiver_(this) {
+-#if BUILDFLAG(IS_LINUX) && \
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && \
+ PA_BUILDFLAG( \
+ ENABLE_ALLOCATOR_SHIM_PARTITION_ALLOC_DISPATCH_WITH_ADVANCED_CHECKS_SUPPORT)
+ // TODO(crbug.com/418199684): Remove when the bug is fixed.
diff --git a/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc b/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc
new file mode 100644
index 000000000000..aa735bded8e7
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.cc
@@ -0,0 +1,13 @@
+--- services/shape_detection/shape_detection_sandbox_hook.cc.orig 2025-09-10 13:22:16 UTC
++++ services/shape_detection/shape_detection_sandbox_hook.cc
+@@ -31,8 +31,10 @@ bool ShapeDetectionPreSandboxHook(
+ DVLOG(1) << "Successfully opened Chrome Shape Detection shared library.";
+ }
+ #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
++#if !BUILDFLAG(IS_BSD)
+ auto* instance = sandbox::policy::SandboxLinux::GetInstance();
+ instance->EngageNamespaceSandboxIfPossible();
++#endif
+ return true;
+ }
+
diff --git a/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h b/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h
new file mode 100644
index 000000000000..af100f0c6002
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__sandbox__hook.h
@@ -0,0 +1,16 @@
+--- services/shape_detection/shape_detection_sandbox_hook.h.orig 2025-09-10 13:22:16 UTC
++++ services/shape_detection/shape_detection_sandbox_hook.h
+@@ -5,7 +5,13 @@
+ #ifndef SERVICES_SHAPE_DETECTION_SHAPE_DETECTION_SANDBOX_HOOK_H_
+ #define SERVICES_SHAPE_DETECTION_SHAPE_DETECTION_SANDBOX_HOOK_H_
+
++#include "build/build_config.h"
++
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#else
+ #include "sandbox/policy/linux/sandbox_linux.h"
++#endif
+
+ namespace shape_detection {
+
diff --git a/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__service.cc b/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__service.cc
new file mode 100644
index 000000000000..73d56e980589
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-services_shape__detection_shape__detection__service.cc
@@ -0,0 +1,20 @@
+--- services/shape_detection/shape_detection_service.cc.orig 2025-09-10 13:22:16 UTC
++++ services/shape_detection/shape_detection_service.cc
+@@ -22,7 +22,7 @@
+ #elif BUILDFLAG(IS_ANDROID)
+ // No C++ code, barcode detection comes from Java.
+ #elif BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
+ #include "services/shape_detection/barcode_detection_provider_chrome.h"
+ #else
+ #include "services/shape_detection/barcode_detection_provider_impl.h"
+@@ -56,7 +56,7 @@ void ShapeDetectionService::BindBarcodeDetectionProvid
+ #elif BUILDFLAG(IS_MAC)
+ BarcodeDetectionProviderMac::Create(std::move(receiver));
+ #elif BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
+ BarcodeDetectionProviderChrome::Create(std::move(receiver));
+ #else
+ BarcodeDetectionProviderImpl::Create(std::move(receiver));
diff --git a/www/ungoogled-chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc b/www/ungoogled-chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc
new file mode 100644
index 000000000000..6d4629f71db7
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-services_tracing_public_cpp_perfetto_track__name__recorder.cc
@@ -0,0 +1,11 @@
+--- services/tracing/public/cpp/perfetto/track_name_recorder.cc.orig 2025-09-10 13:22:16 UTC
++++ services/tracing/public/cpp/perfetto/track_name_recorder.cc
+@@ -51,7 +51,7 @@ void FillThreadTrack(const perfetto::ThreadTrack& trac
+ if (thread_type != ChromeThreadDescriptor::THREAD_UNSPECIFIED) {
+ desc.mutable_chrome_thread()->set_thread_type(thread_type);
+ }
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
+ if (base::GetCurrentProcId() !=
+ base::trace_event::TraceLog::GetInstance()->process_id()) {
+ desc.mutable_chrome_thread()->set_is_sandboxed_tid(true);
diff --git a/www/ungoogled-chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc b/www/ungoogled-chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc
index 8393a9ee8cdf..4f78384d0591 100644
--- a/www/ungoogled-chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc
+++ b/www/ungoogled-chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc
@@ -1,11 +1,38 @@
---- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2024-02-03 15:42:55 UTC
+--- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2025-09-10 13:22:16 UTC
+++ services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
-@@ -38,7 +38,7 @@
+@@ -39,7 +39,7 @@
#include "third_party/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.h"
--#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE)
++#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
#include "base/profiler/thread_delegate_posix.h"
#define INITIALIZE_THREAD_DELEGATE_POSIX 1
- #else // BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_APPLE)
+ #else // BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE)
+@@ -261,7 +261,7 @@ struct FrameDetails {
+ ANDROID_ARM64_UNWINDING_SUPPORTED || ANDROID_CFI_UNWINDING_SUPPORTED || \
+ (BUILDFLAG(IS_CHROMEOS) && \
+ (defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64))) || \
+- BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Returns whether stack sampling is supported on the current platform.
+ bool IsStackSamplingSupported() {
+ return base::StackSamplingProfiler::IsSupportedForCurrentPlatform();
+@@ -379,7 +379,7 @@ void TracingSamplerProfiler::TracingProfileBuilder::Wr
+ thread_descriptor->set_reference_timestamp_us(
+ last_timestamp_.since_origin().InMicroseconds());
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
+ if (base::GetCurrentProcId() !=
+ base::trace_event::TraceLog::GetInstance()->process_id()) {
+ auto* chrome_thread = track_descriptor->set_chrome_thread();
+@@ -651,7 +651,7 @@ bool TracingSamplerProfiler::IsStackUnwindingSupported
+ ANDROID_ARM64_UNWINDING_SUPPORTED || ANDROID_CFI_UNWINDING_SUPPORTED || \
+ (BUILDFLAG(IS_CHROMEOS) && \
+ (defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64))) || \
+- BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return IsStackSamplingSupported();
+ #else
+ return false;
diff --git a/www/ungoogled-chromium/files/patch-services_viz_public_mojom_BUILD.gn b/www/ungoogled-chromium/files/patch-services_viz_public_mojom_BUILD.gn
index a0b196256824..9d6b567ff699 100644
--- a/www/ungoogled-chromium/files/patch-services_viz_public_mojom_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-services_viz_public_mojom_BUILD.gn
@@ -1,6 +1,6 @@
---- services/viz/public/mojom/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- services/viz/public/mojom/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ services/viz/public/mojom/BUILD.gn
-@@ -57,7 +57,7 @@ mojom("mojom") {
+@@ -51,7 +51,7 @@ mojom("mojom") {
# Used in thread.mojom
enabled_features = []
diff --git a/www/ungoogled-chromium/files/patch-skia_ext_font__utils.cc b/www/ungoogled-chromium/files/patch-skia_ext_font__utils.cc
index add310d05a4b..19828fafe306 100644
--- a/www/ungoogled-chromium/files/patch-skia_ext_font__utils.cc
+++ b/www/ungoogled-chromium/files/patch-skia_ext_font__utils.cc
@@ -1,4 +1,4 @@
---- skia/ext/font_utils.cc.orig 2025-05-06 12:23:00 UTC
+--- skia/ext/font_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ skia/ext/font_utils.cc
@@ -21,7 +21,7 @@
#include "third_party/skia/include/ports/SkFontMgr_mac_ct.h"
@@ -9,12 +9,12 @@
#include "third_party/skia/include/ports/SkFontConfigInterface.h"
#include "third_party/skia/include/ports/SkFontMgr_FontConfigInterface.h"
#include "third_party/skia/include/ports/SkFontScanner_Fontations.h"
-@@ -67,7 +67,7 @@ static sk_sp<SkFontMgr> fontmgr_factory() {
- }
+@@ -64,7 +64,7 @@ static sk_sp<SkFontMgr> fontmgr_factory() {
+ return SkFontMgr_New_Android(nullptr, SkFontScanner_Make_Fontations());
#elif BUILDFLAG(IS_APPLE)
return SkFontMgr_New_CoreText(nullptr);
-#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
sk_sp<SkFontConfigInterface> fci(SkFontConfigInterface::RefGlobal());
- if (base::FeatureList::IsEnabled(skia::kFontationsLinuxSystemFonts)) {
- return fci ? SkFontMgr_New_FCI(std::move(fci),
+ return fci ? SkFontMgr_New_FCI(std::move(fci),
+ SkFontScanner_Make_Fontations())
diff --git a/www/ungoogled-chromium/files/patch-third__party_angle_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_angle_BUILD.gn
index b60c702430de..a62f0a092dc2 100644
--- a/www/ungoogled-chromium/files/patch-third__party_angle_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_angle_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/angle/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- third_party/angle/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ third_party/angle/BUILD.gn
-@@ -360,7 +360,6 @@ config("extra_warnings") {
+@@ -367,7 +367,6 @@ config("extra_warnings") {
"-Wtautological-type-limit-compare",
"-Wundefined-reinterpret-cast",
"-Wunneeded-internal-declaration",
@@ -8,7 +8,7 @@
"-Wsuggest-destructor-override",
"-Wsuggest-override",
-@@ -537,7 +536,7 @@ template("angle_common_lib") {
+@@ -544,7 +543,7 @@ template("angle_common_lib") {
all_dependent_configs = [ ":angle_disable_pool_alloc" ]
}
@@ -17,7 +17,7 @@
libs = [ "dl" ]
}
-@@ -692,6 +691,9 @@ angle_static_library("angle_gpu_info_util") {
+@@ -707,6 +706,9 @@ angle_static_library("angle_gpu_info_util") {
"Xi",
"Xext",
]
diff --git a/www/ungoogled-chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp b/www/ungoogled-chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp
index 6fa5d5a5364d..e4806850238c 100644
--- a/www/ungoogled-chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp
+++ b/www/ungoogled-chromium/files/patch-third__party_angle_src_libANGLE_Display.cpp
@@ -1,4 +1,4 @@
---- third_party/angle/src/libANGLE/Display.cpp.orig 2025-05-31 17:16:41 UTC
+--- third_party/angle/src/libANGLE/Display.cpp.orig 2025-09-10 13:22:16 UTC
+++ third_party/angle/src/libANGLE/Display.cpp
@@ -58,7 +58,7 @@
# include "libANGLE/renderer/gl/wgl/DisplayWGL.h"
@@ -15,19 +15,19 @@
-# elif defined(ANGLE_PLATFORM_LINUX)
+# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)
- # if defined(ANGLE_USE_GBM)
+ # if defined(ANGLE_USE_GBM) || defined(ANGLE_USE_WAYLAND)
if (platformType == 0)
{
-@@ -468,7 +468,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
+@@ -473,7 +473,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
#if defined(ANGLE_ENABLE_OPENGL)
# if defined(ANGLE_PLATFORM_WINDOWS)
impl = new rx::DisplayWGL(state);
-# elif defined(ANGLE_PLATFORM_LINUX)
+# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)
- # if defined(ANGLE_USE_GBM)
+ # if defined(ANGLE_USE_GBM) || defined(ANGLE_USE_WAYLAND)
if (platformType == 0)
{
-@@ -519,7 +519,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
+@@ -529,7 +529,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di
impl = rx::CreateVulkanWin32Display(state);
}
break;
@@ -36,7 +36,7 @@
# if defined(ANGLE_USE_GBM)
if (platformType == EGL_PLATFORM_GBM_KHR && rx::IsVulkanGbmDisplayAvailable())
{
-@@ -2136,7 +2136,7 @@ static ClientExtensions GenerateClientExtensions()
+@@ -2146,7 +2146,7 @@ static ClientExtensions GenerateClientExtensions()
extensions.platformWaylandEXT = true;
#endif
@@ -45,7 +45,7 @@
extensions.platformSurfacelessMESA = true;
#endif
-@@ -2183,7 +2183,7 @@ static ClientExtensions GenerateClientExtensions()
+@@ -2193,7 +2193,7 @@ static ClientExtensions GenerateClientExtensions()
extensions.x11Visual = true;
#endif
diff --git a/www/ungoogled-chromium/files/patch-third__party_angle_util_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_angle_util_BUILD.gn
index d6af1c857327..980020db3774 100644
--- a/www/ungoogled-chromium/files/patch-third__party_angle_util_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_angle_util_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/angle/util/BUILD.gn.orig 2025-04-15 08:30:07 UTC
+--- third_party/angle/util/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ third_party/angle/util/BUILD.gn
-@@ -332,7 +332,7 @@ foreach(is_shared_library,
+@@ -334,7 +334,7 @@ foreach(is_shared_library,
]
libs = []
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_common_features.cc b/www/ungoogled-chromium/files/patch-third__party_blink_common_features.cc
new file mode 100644
index 000000000000..06417dd0b78a
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_common_features.cc
@@ -0,0 +1,11 @@
+--- third_party/blink/common/features.cc.orig 2025-09-10 13:22:16 UTC
++++ third_party/blink/common/features.cc
+@@ -692,7 +692,7 @@ BASE_FEATURE(kDevToolsImprovedNetworkError,
+
+ BASE_FEATURE(kDirectCompositorThreadIpc,
+ "DirectCompositorThreadIpc",
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc b/www/ungoogled-chromium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc
index 94fb20e842fd..828f6093a76a 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc
@@ -1,6 +1,6 @@
---- third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc.orig 2025-02-20 09:59:21 UTC
+--- third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc
-@@ -77,7 +77,7 @@ bool StructTraits<blink::mojom::RendererPreferencesDat
+@@ -78,7 +78,7 @@ bool StructTraits<blink::mojom::RendererPreferencesDat
out->send_subresource_notification = data.send_subresource_notification();
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h b/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h
index 1ffc55051a6f..397c8534e972 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences.h
@@ -1,6 +1,6 @@
---- third_party/blink/public/common/renderer_preferences/renderer_preferences.h.orig 2025-02-20 09:59:21 UTC
+--- third_party/blink/public/common/renderer_preferences/renderer_preferences.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/public/common/renderer_preferences/renderer_preferences.h
-@@ -65,7 +65,7 @@ struct BLINK_COMMON_EXPORT RendererPreferences {
+@@ -66,7 +66,7 @@ struct BLINK_COMMON_EXPORT RendererPreferences {
UserAgentOverride user_agent_override;
std::string accept_languages;
bool send_subresource_notification{false};
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h b/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h
index 99a9ca085526..e95dbeff8579 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h
@@ -1,6 +1,6 @@
---- third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h.orig 2025-02-20 09:59:21 UTC
+--- third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h
-@@ -180,7 +180,7 @@ struct BLINK_COMMON_EXPORT
+@@ -185,7 +185,7 @@ struct BLINK_COMMON_EXPORT
return data.send_subresource_notification;
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_public_platform_platform.h b/www/ungoogled-chromium/files/patch-third__party_blink_public_platform_platform.h
index f4ffc42900b4..1dbdcc6f17b2 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_public_platform_platform.h
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_public_platform_platform.h
@@ -1,6 +1,6 @@
---- third_party/blink/public/platform/platform.h.orig 2025-04-15 08:30:07 UTC
+--- third_party/blink/public/platform/platform.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/public/platform/platform.h
-@@ -372,7 +372,7 @@ class BLINK_PLATFORM_EXPORT Platform {
+@@ -376,7 +376,7 @@ class BLINK_PLATFORM_EXPORT Platform {
return nullptr;
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc
index 2e246ddea21e..f068a2d809ca 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_exported_web__view__impl.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/exported/web_view_impl.cc
-@@ -429,7 +429,7 @@ void RecordPrerenderActivationSignalDelay(const String
+@@ -421,7 +421,7 @@ void RecordPrerenderActivationSignalDelay(const String
#if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_WIN)
SkFontHinting RendererPreferencesToSkiaHinting(
const blink::RendererPreferences& prefs) {
@@ -9,7 +9,7 @@
if (!prefs.should_antialias_text) {
// When anti-aliasing is off, GTK maps all non-zero hinting settings to
// 'Normal' hinting so we do the same. Otherwise, folks who have 'Slight'
-@@ -3421,7 +3421,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs
+@@ -3441,7 +3441,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs
gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE);
WebFontRenderStyle::SetSubpixelPositioning(
renderer_preferences_.use_subpixel_positioning);
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc
index e7a1aa1ded10..96dd4c9559b8 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_frame_web__frame__test.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/frame/web_frame_test.cc.orig 2025-04-15 08:30:07 UTC
+--- third_party/blink/renderer/core/frame/web_frame_test.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/frame/web_frame_test.cc
-@@ -6471,7 +6471,7 @@ TEST_F(WebFrameTest, DISABLED_PositionForPointTest) {
+@@ -6473,7 +6473,7 @@ TEST_F(WebFrameTest, DISABLED_PositionForPointTest) {
}
#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// TODO(crbug.com/1090246): Fix these tests on Fuchsia and re-enable.
// TODO(crbug.com/1317375): Build these tests on all platforms.
#define MAYBE_SelectRangeStaysHorizontallyAlignedWhenMoved \
-@@ -6880,7 +6880,7 @@ TEST_F(CompositedSelectionBoundsTest, LargeSelectionSc
+@@ -6882,7 +6882,7 @@ TEST_F(CompositedSelectionBoundsTest, LargeSelectionSc
TEST_F(CompositedSelectionBoundsTest, LargeSelectionNoScroll) {
RunTest("composited_selection_bounds_large_selection_noscroll.html");
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc
index 6e696e7932a9..86510400ab9f 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc
-@@ -51,7 +51,7 @@ constexpr base::TimeDelta kEncodeRowSlackBeforeDeadlin
+@@ -52,7 +52,7 @@ constexpr base::TimeDelta kEncodeRowSlackBeforeDeadlin
/* The value is based on user statistics on Nov 2017. */
#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc
index 8ff4088d1d29..d0b5e6c6a677 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_layout_layout__view.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/layout/layout_view.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/blink/renderer/core/layout/layout_view.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/layout/layout_view.cc
-@@ -74,7 +74,7 @@
+@@ -75,7 +75,7 @@
#include "ui/display/screen_info.h"
#include "ui/gfx/geometry/quad_f.h"
@@ -9,7 +9,7 @@
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#endif
-@@ -785,7 +785,7 @@ void LayoutView::LayoutRoot() {
+@@ -790,7 +790,7 @@ void LayoutView::LayoutRoot() {
intrinsic_logical_widths_ = LogicalWidth();
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc
index 1f8eba516592..5be9314afbde 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_loader_mixed__content__checker.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/loader/mixed_content_checker.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/blink/renderer/core/loader/mixed_content_checker.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/loader/mixed_content_checker.cc
-@@ -485,7 +485,7 @@ bool MixedContentChecker::ShouldBlockFetch(
+@@ -510,7 +510,7 @@ bool MixedContentChecker::ShouldBlockFetch(
switch (context_type) {
case mojom::blink::MixedContentContextType::kOptionallyBlockable:
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc
index bde62193348a..1df0a680dc4a 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_origin__trials_origin__trial__context.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/origin_trials/origin_trial_context.cc.orig 2025-04-15 08:30:07 UTC
+--- third_party/blink/renderer/core/origin_trials/origin_trial_context.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/origin_trials/origin_trial_context.cc
-@@ -573,7 +573,7 @@ bool OriginTrialContext::CanEnableTrialFromName(const
+@@ -568,7 +568,7 @@ bool OriginTrialContext::CanEnableTrialFromName(const
}
if (trial_name == "TranslationAPI") {
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc
index af5817f40876..5b5dba446b45 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_page_context__menu__controller.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/page/context_menu_controller.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/blink/renderer/core/page/context_menu_controller.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/page/context_menu_controller.cc
-@@ -641,7 +641,7 @@ bool ContextMenuController::ShowContextMenu(LocalFrame
+@@ -649,7 +649,7 @@ bool ContextMenuController::ShowContextMenu(LocalFrame
if (potential_image_node != nullptr &&
IsA<HTMLCanvasElement>(potential_image_node)) {
data.media_type = mojom::blink::ContextMenuDataMediaType::kCanvas;
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc
index cc4cc1c5db56..b8f9fa4e6e83 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_core_paint_paint__layer.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/core/paint/paint_layer.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/blink/renderer/core/paint/paint_layer.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/core/paint/paint_layer.cc
-@@ -124,7 +124,7 @@ namespace blink {
+@@ -125,7 +125,7 @@ namespace blink {
namespace {
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
index 98572d548dff..467c5349b209 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2024-11-16 12:20:41 UTC
+--- third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc
-@@ -542,6 +542,7 @@ void RTCDataChannel::send(Blob* data, ExceptionState&
+@@ -538,6 +538,7 @@ void RTCDataChannel::send(Blob* data, ExceptionState&
pending_messages_.push_back(message);
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc
index 98bb2d1e3a5d..6878f0996429 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc
-@@ -383,7 +383,7 @@ TEST_F(WebRtcAudioRendererTest, DISABLED_VerifySinkPar
+@@ -384,7 +384,7 @@ TEST_F(WebRtcAudioRendererTest, DISABLED_VerifySinkPar
SetupRenderer(kDefaultOutputDeviceId);
renderer_proxy_->Start();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc
index ed1eea02f20c..4b7c0763e394 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
-@@ -6338,7 +6338,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid
+@@ -6585,7 +6585,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid
// unmultiply has been requested or we need to never premultiply for Image
// creation from a VideoFrame.
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc
index d0be9c7558de..e231e7d93aee 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__canvas__context.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/modules/webgpu/gpu_canvas_context.cc
-@@ -218,7 +218,7 @@ bool GPUCanvasContext::PaintRenderingResultsToCanvas(
+@@ -250,7 +250,7 @@ CanvasResourceProvider* GPUCanvasContext::PaintRenderi
scoped_refptr<WebGPUMailboxTexture> front_buffer_texture;
if (source_buffer == kFrontBuffer) {
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc
index f39a57a3cf68..55b6f3ddebc2 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_modules_webgpu_gpu__queue.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/modules/webgpu/gpu_queue.cc
-@@ -814,7 +814,7 @@ bool GPUQueue::CopyFromCanvasSourceImage(
+@@ -829,7 +829,7 @@ bool GPUQueue::CopyFromCanvasSourceImage(
// on linux platform.
// TODO(crbug.com/1424119): using a webgpu mailbox texture on the OpenGLES
// backend is failing for unknown reasons.
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn
index bd8d7ad33081..5d4dc45cbab6 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- third_party/blink/renderer/platform/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/BUILD.gn
-@@ -2063,7 +2063,7 @@ static_library("test_support") {
+@@ -2064,7 +2064,7 @@ static_library("test_support") {
]
# fuzzed_data_provider may not work with a custom toolchain.
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc
index 059319284c0e..31ece9b71b4c 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.cc
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2025-02-20 09:59:21 UTC
+--- third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/fonts/font_cache.cc
@@ -82,7 +82,7 @@ extern const char kNotoColorEmojiCompat[] = "Noto Colo
@@ -9,7 +9,7 @@
float FontCache::device_scale_factor_ = 1.0;
#endif
-@@ -133,7 +133,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD
+@@ -136,7 +136,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD
const FontDescription& font_description) {
const AtomicString& family = FontCache::SystemFontFamily();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h
index ecb3459f1877..e467c9fe3fdc 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__cache.h
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/fonts/font_cache.h.orig 2024-10-01 07:26:23 UTC
+--- third_party/blink/renderer/platform/fonts/font_cache.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/fonts/font_cache.h
@@ -55,7 +55,7 @@
#include "third_party/skia/include/core/SkFontMgr.h"
@@ -9,7 +9,7 @@
#include "ui/gfx/font_fallback_linux.h"
#endif
-@@ -167,7 +167,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -171,7 +171,7 @@ class PLATFORM_EXPORT FontCache final {
static void MaybePreloadSystemFonts();
@@ -18,7 +18,7 @@
// These are needed for calling QueryRenderStyleForStrike, since
// gfx::GetFontRenderParams makes distinctions based on DSF.
static float DeviceScaleFactor() { return device_scale_factor_; }
-@@ -243,7 +243,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -247,7 +247,7 @@ class PLATFORM_EXPORT FontCache final {
const char* locale_family_name);
#endif // BUILDFLAG(IS_ANDROID)
@@ -27,16 +27,16 @@
static bool GetFontForCharacter(UChar32,
const char* preferred_locale,
gfx::FallbackFontData*);
-@@ -316,7 +316,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -320,7 +320,7 @@ class PLATFORM_EXPORT FontCache final {
const FontFaceCreationParams&,
std::string& name);
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- static AtomicString GetFamilyNameForCharacter(SkFontMgr*,
- UChar32,
- const FontDescription&,
-@@ -353,7 +353,7 @@ class PLATFORM_EXPORT FontCache final {
+ static const FontPlatformData* CreateFontPlatformDataForCharacter(
+ SkFontMgr*,
+ UChar32,
+@@ -358,7 +358,7 @@ class PLATFORM_EXPORT FontCache final {
bool is_test_font_mgr_ = false;
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc
index 31852a8cc873..e3909193f97f 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_font__description.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/fonts/font_description.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/blink/renderer/platform/fonts/font_description.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/fonts/font_description.cc
-@@ -41,7 +41,7 @@
+@@ -44,7 +44,7 @@
#include "third_party/blink/renderer/platform/wtf/text/string_hash.h"
#include "third_party/blink/renderer/platform/wtf/text/string_hasher.h"
@@ -9,7 +9,7 @@
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#endif
-@@ -280,7 +280,7 @@ FontCacheKey FontDescription::CacheKey(
+@@ -314,7 +314,7 @@ FontCacheKey FontDescription::CacheKey(
static_cast<unsigned>(fields_.orientation_) << 1 | // bit 2-3
static_cast<unsigned>(fields_.subpixel_text_position_); // bit 1
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
index 80bbeec213fe..76f03e30c55f 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2025-02-20 09:59:21 UTC
+--- third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc
@@ -65,7 +65,7 @@ AtomicString ToAtomicString(const SkString& str) {
return AtomicString::FromUTF8(std::string_view(str.begin(), str.end()));
@@ -9,7 +9,7 @@
// This function is called on android or when we are emulating android fonts on
// linux and the embedder has overriden the default fontManager with
// WebFontRendering::setSkiaFontMgr.
-@@ -246,7 +246,7 @@ const FontPlatformData* FontCache::CreateFontPlatformD
+@@ -260,7 +260,7 @@ const FontPlatformData* FontCache::CreateFontPlatformD
std::string name;
sk_sp<SkTypeface> typeface;
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
index c70b5e1e1e94..ff38016a9a4d 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/graphics/video_frame_submitter.cc
-@@ -407,7 +407,7 @@ void VideoFrameSubmitter::OnBeginFrame(
+@@ -380,7 +380,7 @@ void VideoFrameSubmitter::OnBeginFrame(
auto& details = timing_details.find(frame_token)->value;
auto& feedback = details.presentation_feedback;
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc
index b25920f87de8..cfafdcb13d41 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc
@@ -1,4 +1,4 @@
---- third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc.orig 2024-04-23 07:42:17 UTC
+--- third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc
@@ -14,7 +14,9 @@
@@ -18,7 +18,7 @@
using base::trace_event::MemoryDumpLevelOfDetail;
MemoryDumpLevelOfDetail level_of_detail = args.level_of_detail;
-@@ -49,6 +52,7 @@ bool PartitionAllocMemoryDumpProvider::OnMemoryDump(
+@@ -48,6 +51,7 @@ bool PartitionAllocMemoryDumpProvider::OnMemoryDump(
"size", "bytes", partition_stats_dumper.total_active_bytes());
memory_dump->AddOwnershipEdge(allocated_objects_dump->guid(),
partitions_dump->guid());
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5 b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
index 40feaf9b4d5a..f01dcf5680ca 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
@@ -1,6 +1,42 @@
---- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-06-17 07:21:45 UTC
+--- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/runtime_enabled_features.json5
-@@ -484,7 +484,7 @@
+@@ -324,7 +324,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIPromptAPIMultimodalInput",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ implied_by: ["AIPromptAPIMultimodalInput"],
+ },
+@@ -354,7 +354,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIPromptAPIMultimodalInput",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ base_feature_status: "enabled",
+ copied_from_base_feature_if: "overridden",
+@@ -379,7 +379,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIRewriterAPI",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ base_feature_status: "enabled",
+ copied_from_base_feature_if: "overridden",
+@@ -412,7 +412,7 @@
+ "default": "",
+ },
+ origin_trial_feature_name: "AIWriterAPI",
+- origin_trial_os: ["win", "mac", "linux"],
++ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"],
+ origin_trial_allows_third_party: true,
+ base_feature_status: "enabled",
+ copied_from_base_feature_if: "overridden",
+@@ -516,7 +516,7 @@
name: "AppTitle",
status: "experimental",
origin_trial_feature_name: "AppTitle",
@@ -9,7 +45,16 @@
base_feature: "WebAppEnableAppTitle",
},
{
-@@ -1777,7 +1777,7 @@
+@@ -1720,7 +1720,7 @@
+ {
+ name: "DeviceBoundSessionCredentials",
+ origin_trial_feature_name: "DeviceBoundSessionCredentials",
+- origin_trial_os: ["win", "linux", "mac"],
++ origin_trial_os: ["win", "linux", "mac", "openbsd", "freebsd"],
+ status: "experimental",
+ // Killswitch is net::features::kDeviceBoundSessions
+ base_feature: "none",
+@@ -1859,7 +1859,7 @@
name: "DocumentIsolationPolicy",
status: "experimental",
origin_trial_feature_name: "DocumentIsolationPolicy",
@@ -18,7 +63,7 @@
base_feature: "none",
},
{
-@@ -2017,7 +2017,7 @@
+@@ -2119,7 +2119,7 @@
base_feature: "none",
public: true,
origin_trial_feature_name: "FedCmMultipleIdentityProviders",
@@ -27,7 +72,7 @@
origin_trial_allows_third_party: true,
},
{
-@@ -3443,7 +3443,7 @@
+@@ -3624,7 +3624,7 @@
// Tracking bug for the implementation: https://crbug.com/1462930
name: "PermissionElement",
origin_trial_feature_name: "PermissionElement",
@@ -36,16 +81,7 @@
status: "experimental",
public: true,
base_feature_status: "enabled",
-@@ -3601,7 +3601,7 @@
- {
- name: "PrivateNetworkAccessPermissionPrompt",
- origin_trial_feature_name: "PrivateNetworkAccessPermissionPrompt",
-- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos"],
-+ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "openbsd", "freebsd"],
- status: "stable",
- public: true,
- base_feature: "none",
-@@ -4820,7 +4820,7 @@
+@@ -5166,7 +5166,7 @@
name: "UnrestrictedSharedArrayBuffer",
base_feature: "none",
origin_trial_feature_name: "UnrestrictedSharedArrayBuffer",
@@ -54,7 +90,7 @@
},
// Enables using policy-controlled feature "usb-unrestricted" to allow
// isolated context to access protected USB interface classes and to
-@@ -5006,7 +5006,7 @@
+@@ -5364,7 +5364,7 @@
{
name: "WebAppScopeExtensions",
origin_trial_feature_name: "WebAppScopeExtensions",
@@ -63,7 +99,16 @@
status: "experimental",
base_feature: "none",
},
-@@ -5274,7 +5274,7 @@
+@@ -5466,7 +5466,7 @@
+ {
+ name: "WebAuthenticationImmediateGet",
+ origin_trial_feature_name: "WebAuthenticationImmediateGet",
+- origin_trial_os: ["win", "mac", "linux", "chromeos"],
++ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"],
+ base_feature: "none",
+ public: true,
+ },
+@@ -5619,7 +5619,7 @@
{
name: "WebIdentityDigitalCredentials",
origin_trial_feature_name: "WebIdentityDigitalCredentials",
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc
index 88c1836df344..680d4f4e465c 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_scheduler_common_thread.cc
@@ -1,8 +1,8 @@
---- third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2024-11-16 12:20:41 UTC
+--- third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/scheduler/common/thread.cc
-@@ -87,7 +87,7 @@ void Thread::CreateAndSetCompositorThread() {
- "Compositor");
- }));
+@@ -95,7 +95,7 @@ void Thread::CreateAndSetCompositorThread() {
+ // the program's lifetime once assigned.
+ base::Unretained(compositor_thread.get())));
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_OPENBSD)
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h
index 1c1525c4db52..20bbf1269ddd 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_math__extras.h
@@ -1,6 +1,6 @@
---- third_party/blink/renderer/platform/wtf/math_extras.h.orig 2022-10-01 07:40:07 UTC
+--- third_party/blink/renderer/platform/wtf/math_extras.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/wtf/math_extras.h
-@@ -128,6 +128,10 @@ constexpr float Grad2turn(float g) {
+@@ -130,6 +130,10 @@ constexpr float Grad2turn(float g) {
return g * (1.0f / 400.0f);
}
@@ -11,7 +11,7 @@
constexpr double RoundHalfTowardsPositiveInfinity(double value) {
return std::floor(value + 0.5);
}
-@@ -135,6 +139,9 @@ constexpr double RoundHalfTowardsPositiveInfinity(doub
+@@ -137,6 +141,9 @@ constexpr double RoundHalfTowardsPositiveInfinity(doub
constexpr float RoundHalfTowardsPositiveInfinity(float value) {
return std::floor(value + 0.5f);
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc
index d206a2125ab2..0982ec06722d 100644
--- a/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_wtf_stack__util.cc
@@ -1,7 +1,7 @@
---- third_party/blink/renderer/platform/wtf/stack_util.cc.orig 2025-01-25 09:34:31 UTC
+--- third_party/blink/renderer/platform/wtf/stack_util.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/blink/renderer/platform/wtf/stack_util.cc
-@@ -23,6 +23,11 @@
- extern "C" void* __libc_stack_end; // NOLINT
+@@ -27,6 +27,11 @@ extern "C" void* __libc_stack_end; // NOLINT
+ #include <sanitizer/asan_interface.h>
#endif
+#if BUILDFLAG(IS_BSD)
@@ -9,10 +9,10 @@
+#include <pthread_np.h>
+#endif
+
- namespace WTF {
+ namespace blink {
size_t GetUnderestimatedStackSize() {
-@@ -67,6 +72,8 @@ size_t GetUnderestimatedStackSize() {
+@@ -71,6 +76,8 @@ size_t GetUnderestimatedStackSize() {
// low as 512k.
//
return 512 * 1024;
@@ -21,7 +21,7 @@
#elif BUILDFLAG(IS_APPLE)
// pthread_get_stacksize_np() returns too low a value for the main thread on
// OSX 10.9,
-@@ -152,6 +159,13 @@ void* GetStackStart() {
+@@ -161,6 +168,13 @@ void* GetStackStartImpl() {
::GetCurrentThreadStackLimits(&lowLimit, &highLimit);
return reinterpret_cast<void*>(highLimit);
#endif
diff --git a/www/ungoogled-chromium/files/patch-third__party_cpuinfo_cpuinfo.gni b/www/ungoogled-chromium/files/patch-third__party_cpuinfo_cpuinfo.gni
index b5ff79d79ffb..101de65bfa81 100644
--- a/www/ungoogled-chromium/files/patch-third__party_cpuinfo_cpuinfo.gni
+++ b/www/ungoogled-chromium/files/patch-third__party_cpuinfo_cpuinfo.gni
@@ -1,8 +1,8 @@
---- third_party/cpuinfo/cpuinfo.gni.orig 2024-03-22 14:16:19 UTC
+--- third_party/cpuinfo/cpuinfo.gni.orig 2025-09-10 13:22:16 UTC
+++ third_party/cpuinfo/cpuinfo.gni
-@@ -8,7 +8,7 @@ use_cpuinfo =
+@@ -7,7 +7,7 @@ use_cpuinfo =
+ current_cpu != "ppc64" && current_cpu != "ppc64le" &&
current_cpu != "s390" && current_cpu != "s390x" &&
- current_cpu != "riscv64" &&
# cpuinfo is not supported on fuchsia.
- !is_fuchsia &&
+ !is_fuchsia && !is_bsd &&
diff --git a/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn
index fe3415491ac3..9d74f9dcab4d 100644
--- a/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_client_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/crashpad/crashpad/client/BUILD.gn.orig 2025-04-15 08:30:07 UTC
+--- third_party/crashpad/crashpad/client/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ third_party/crashpad/crashpad/client/BUILD.gn
-@@ -134,6 +134,13 @@ static_library("common") {
+@@ -148,6 +148,13 @@ static_library("common") {
if (crashpad_is_win) {
sources += [ "crash_report_database_win.cc" ]
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h b/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h
index 38908069fc2a..d355f2ed4c70 100644
--- a/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h
+++ b/www/ungoogled-chromium/files/patch-third__party_crashpad_crashpad_util_misc_capture__context.h
@@ -1,6 +1,6 @@
---- third_party/crashpad/crashpad/util/misc/capture_context.h.orig 2023-09-17 07:59:53 UTC
+--- third_party/crashpad/crashpad/util/misc/capture_context.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/crashpad/crashpad/util/misc/capture_context.h
-@@ -21,7 +21,8 @@
+@@ -21,8 +21,11 @@
#include <mach/mach.h>
#elif BUILDFLAG(IS_WIN)
#include <windows.h>
@@ -8,9 +8,12 @@
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
+ BUILDFLAG(IS_FREEBSD)
#include <ucontext.h>
++#elif BUILDFLAG(IS_OPENBSD)
++#include <sys/signal.h>
#endif // BUILDFLAG(IS_APPLE)
-@@ -35,7 +36,8 @@ using NativeCPUContext = arm_unified_thread_state;
+ namespace crashpad {
+@@ -35,7 +38,8 @@ using NativeCPUContext = arm_unified_thread_state;
#endif
#elif BUILDFLAG(IS_WIN)
using NativeCPUContext = CONTEXT;
diff --git a/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure b/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure
index ad7682855de7..5e9c4f7d2dae 100644
--- a/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure
+++ b/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure
@@ -1,6 +1,6 @@
---- third_party/ffmpeg/configure.orig 2025-05-31 17:16:41 UTC
+--- third_party/ffmpeg/configure.orig 2025-09-10 13:22:16 UTC
+++ third_party/ffmpeg/configure
-@@ -6873,8 +6873,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en
+@@ -6914,8 +6914,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en
if enabled pthread_np_h; then
hdrs="$hdrs pthread_np.h"
fi
diff --git a/www/ungoogled-chromium/files/patch-third__party_fontconfig_include_config.h b/www/ungoogled-chromium/files/patch-third__party_fontconfig_include_config.h
deleted file mode 100644
index ebbea3fa3f60..000000000000
--- a/www/ungoogled-chromium/files/patch-third__party_fontconfig_include_config.h
+++ /dev/null
@@ -1,49 +0,0 @@
---- third_party/fontconfig/include/config.h.orig 2024-03-22 14:16:19 UTC
-+++ third_party/fontconfig/include/config.h
-@@ -13,7 +13,7 @@
-
- #define FC_CACHEDIR "/var/cache/fontconfig"
-
--#define FC_DEFAULT_FONTS "\t<dir>/usr/share/fonts</dir>\n\t<dir>/usr/local/share/fonts</dir>\n"
-+#define FC_DEFAULT_FONTS "\t<dir>/usr/X11R6/lib/X11/fonts</dir>"
-
- #define FC_FONTPATH ""
-
-@@ -66,7 +66,7 @@
-
- #define HAVE_MMAP 1
-
--#define HAVE_POSIX_FADVISE 1
-+#define HAVE_POSIX_FADVISE 0
-
- #define HAVE_PTHREAD 1
-
-@@ -74,10 +74,13 @@
-
- #define HAVE_RANDOM 1
-
--#define HAVE_RANDOM_R 1
-+/* #undef HAVE_RANDOM_R */
-
- #define HAVE_RAND_R 1
-
-+/* Define to 1 if you have the `arc4_random' function. */
-+#define HAVE_ARC4RANDOM 1
-+
- #define HAVE_READLINK 1
-
- #define HAVE_STDATOMIC_PRIMITIVES 1
-@@ -92,11 +95,11 @@
-
- #define HAVE_SYS_PARAM_H 1
-
--#define HAVE_SYS_STATFS_H 1
-+/* #undef HAVE_SYS_STATFS_H */
-
- #define HAVE_SYS_STATVFS_H 1
-
--#define HAVE_SYS_VFS_H 1
-+/* #undef HAVE_SYS_VFS_H */
-
- #define HAVE_UNISTD_H 1
-
diff --git a/www/ungoogled-chromium/files/patch-third__party_fontconfig_include_meson-config.h b/www/ungoogled-chromium/files/patch-third__party_fontconfig_include_meson-config.h
new file mode 100644
index 000000000000..21bb226879b8
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_fontconfig_include_meson-config.h
@@ -0,0 +1,44 @@
+--- third_party/fontconfig/include/meson-config.h.orig 2025-09-10 13:22:16 UTC
++++ third_party/fontconfig/include/meson-config.h
+@@ -17,7 +17,7 @@
+
+ #define FC_CACHEDIR "/var/cache/fontconfig"
+
+-#define FC_DEFAULT_FONTS "\t<dir>/usr/share/fonts</dir>\n\t<dir>/usr/local/share/fonts</dir>\n"
++#define FC_DEFAULT_FONTS "\t<dir>/usr/X11R6/lib/X11/fonts</dir>\n"
+
+ #define FC_FONTPATH ""
+
+@@ -98,10 +98,13 @@
+
+ #define HAVE_RANDOM 1
+
+-#define HAVE_RANDOM_R 1
++/* #undef HAVE_RANDOM_R */
+
+ #define HAVE_RAND_R 1
+
++/* Define to 1 if you have the `arc4_random' function. */
++#define HAVE_ARC4RANDOM 1
++
+ #define HAVE_READLINK 1
+
+ #define HAVE_STDATOMIC_PRIMITIVES 1
+@@ -128,7 +131,7 @@
+
+ #define HAVE_SYS_PARAM_H 1
+
+-#define HAVE_SYS_STATFS_H 1
++/* #undef HAVE_SYS_STATFS_H */
+
+ #define HAVE_SYS_STATVFS_H 1
+
+@@ -136,7 +139,7 @@
+
+ #define HAVE_SYS_TYPES_H 1
+
+-#define HAVE_SYS_VFS_H 1
++/* #undef HAVE_SYS_VFS_H */
+
+ #define HAVE_TIME_H 1
+
diff --git a/www/ungoogled-chromium/files/patch-third__party_fontconfig_src_src_fccompat.c b/www/ungoogled-chromium/files/patch-third__party_fontconfig_src_src_fccompat.c
index cce362810121..ec5c75930f5c 100644
--- a/www/ungoogled-chromium/files/patch-third__party_fontconfig_src_src_fccompat.c
+++ b/www/ungoogled-chromium/files/patch-third__party_fontconfig_src_src_fccompat.c
@@ -1,6 +1,6 @@
---- third_party/fontconfig/src/src/fccompat.c.orig 2023-04-08 11:38:38 UTC
+--- third_party/fontconfig/src/src/fccompat.c.orig 2025-09-10 13:22:16 UTC
+++ third_party/fontconfig/src/src/fccompat.c
-@@ -184,7 +184,9 @@ FcRandom(void)
+@@ -175,7 +175,9 @@ FcRandom (void)
{
int32_t result;
@@ -9,5 +9,5 @@
+ result = arc4random() & 0x7fffffff;
+#elif HAVE_RANDOM_R
static struct random_data fcrandbuf;
- static char statebuf[256];
- static FcBool initialized = FcFalse;
+ static char statebuf[256];
+ static FcBool initialized = FcFalse;
diff --git a/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc b/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
index eaa561e5bd99..50ee9f44b764 100644
--- a/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
@@ -1,6 +1,6 @@
---- third_party/ipcz/src/reference_drivers/random.cc.orig 2025-04-15 08:30:07 UTC
+--- third_party/ipcz/src/reference_drivers/random.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/ipcz/src/reference_drivers/random.cc
-@@ -55,7 +55,7 @@ decltype(&ProcessPrng) GetProcessPrng() {
+@@ -53,7 +53,7 @@ decltype(&ProcessPrng) GetProcessPrng() {
}
#endif
@@ -9,7 +9,7 @@
void RandomBytesFromDevUrandom(absl::Span<uint8_t> destination) {
static int urandom_fd = [] {
for (;;) {
-@@ -99,7 +99,7 @@ void RandomBytes(absl::Span<uint8_t> destination) {
+@@ -97,7 +97,7 @@ void RandomBytes(absl::Span<uint8_t> destination) {
return;
}
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_leveldatabase_env__chromium.cc b/www/ungoogled-chromium/files/patch-third__party_leveldatabase_env__chromium.cc
index cdbb8ebe5e37..15a848a48c7f 100644
--- a/www/ungoogled-chromium/files/patch-third__party_leveldatabase_env__chromium.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_leveldatabase_env__chromium.cc
@@ -1,6 +1,6 @@
---- third_party/leveldatabase/env_chromium.cc.orig 2024-10-27 06:40:35 UTC
+--- third_party/leveldatabase/env_chromium.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/leveldatabase/env_chromium.cc
-@@ -329,7 +329,8 @@ ChromiumWritableFile::ChromiumWritableFile(const std::
+@@ -330,7 +330,8 @@ ChromiumWritableFile::ChromiumWritableFile(const std::
Status ChromiumWritableFile::SyncParent() {
TRACE_EVENT0("leveldb", "SyncParent");
diff --git a/www/ungoogled-chromium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp b/www/ungoogled-chromium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp
index 0736ad959298..f474e1e1fae8 100644
--- a/www/ungoogled-chromium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp
+++ b/www/ungoogled-chromium/files/patch-third__party_libc++_src_src_filesystem_filesystem__clock.cpp
@@ -1,6 +1,6 @@
---- third_party/libc++/src/src/filesystem/filesystem_clock.cpp.orig 2025-02-20 09:59:21 UTC
+--- third_party/libc++/src/src/filesystem/filesystem_clock.cpp.orig 2025-09-10 13:22:16 UTC
+++ third_party/libc++/src/src/filesystem/filesystem_clock.cpp
-@@ -35,7 +35,7 @@
+@@ -37,7 +37,7 @@
#endif
#if defined(__APPLE__) || defined(__gnu_hurd__) || defined(__AMDGPU__) || defined(__NVPTX__) || \
diff --git a/www/ungoogled-chromium/files/patch-third__party_node_check__version.py b/www/ungoogled-chromium/files/patch-third__party_node_check__version.py
new file mode 100644
index 000000000000..c6e01339049a
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_node_check__version.py
@@ -0,0 +1,14 @@
+--- third_party/node/check_version.py.orig 2025-09-10 13:22:16 UTC
++++ third_party/node/check_version.py
+@@ -17,11 +17,6 @@ def main(argv):
+ parser.add_argument('--out_file', required=True)
+ args = parser.parse_args(argv)
+
+- node.RunNode([
+- os.path.join(_HERE_PATH, 'check_version.js'),
+- '--expected_version_file', args.expected_version_file,
+- ])
+-
+ # If the above script succeeded, write a dummy output file, since Ninja
+ # requires every target to have an output.
+ with open(args.out_file, "w") as file:
diff --git a/www/ungoogled-chromium/files/patch-third__party_node_node.gni b/www/ungoogled-chromium/files/patch-third__party_node_node.gni
index 75af050680b9..e52cbbc96270 100644
--- a/www/ungoogled-chromium/files/patch-third__party_node_node.gni
+++ b/www/ungoogled-chromium/files/patch-third__party_node_node.gni
@@ -1,4 +1,4 @@
---- third_party/node/node.gni.orig 2025-05-06 12:23:00 UTC
+--- third_party/node/node.gni.orig 2025-09-10 13:22:16 UTC
+++ third_party/node/node.gni
@@ -22,7 +22,7 @@ template("node") {
@@ -9,21 +9,3 @@
inputs += [ "//third_party/node/linux/node-linux-x64/bin/node" ]
}
if (is_win && host_os == "win") {
-@@ -34,17 +34,6 @@ template("node") {
- } else {
- inputs += [ "//third_party/node/mac/node-darwin-x64/bin/node" ]
- }
-- }
--
-- # Automatically add a dependency to ":check_version" to ensure NodeJS is
-- # always running the expected version, except when the ':check_version'
-- # target itself is running in which case it shouldn't depend on itself.
-- if (get_label_info(":" + target_name, "label_no_toolchain") !=
-- "//third_party/node:check_version") {
-- if (!defined(deps)) {
-- deps = []
-- }
-- deps += [ "//third_party/node:check_version" ]
- }
- }
- }
diff --git a/www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp b/www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp
deleted file mode 100644
index 827aedc58843..000000000000
--- a/www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxcodec_png_png__decoder.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- third_party/pdfium/core/fxcodec/png/png_decoder.cpp.orig 2025-05-31 17:16:41 UTC
-+++ third_party/pdfium/core/fxcodec/png/png_decoder.cpp
-@@ -52,8 +52,8 @@ void _png_load_bmp_attribute(png_structp png_ptr,
- CFX_DIBAttribute* pAttribute) {
- if (pAttribute) {
- #if defined(PNG_pHYs_SUPPORTED)
-- pAttribute->xdpi_ = png_get_x_pixels_per_meter(png_ptr, info_ptr);
-- pAttribute->ydpi_ = png_get_y_pixels_per_meter(png_ptr, info_ptr);
-+ pAttribute->x_dpi_ = png_get_x_pixels_per_meter(png_ptr, info_ptr);
-+ pAttribute->y_dpi_ = png_get_y_pixels_per_meter(png_ptr, info_ptr);
- png_uint_32 res_x, res_y;
- int unit_type;
- png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type);
diff --git a/www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp b/www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
index 8b9525b2a0d7..15257765035f 100644
--- a/www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
+++ b/www/ungoogled-chromium/files/patch-third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
@@ -1,6 +1,6 @@
---- third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2025-05-31 17:16:41 UTC
+--- third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2025-09-10 13:22:16 UTC
+++ third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp
-@@ -20,7 +20,7 @@
+@@ -19,7 +19,7 @@
#include "core/fxge/fx_font.h"
#include "core/fxge/systemfontinfo_iface.h"
@@ -9,7 +9,7 @@
#error "Included on the wrong platform"
#endif
-@@ -180,9 +180,8 @@ class CLinuxPlatform : public CFX_GEModule::PlatformIf
+@@ -179,9 +179,8 @@ class CLinuxPlatform : public CFX_GEModule::PlatformIf
std::unique_ptr<SystemFontInfoIface> CreateDefaultSystemFontInfo() override {
auto pInfo = std::make_unique<CFX_LinuxFontInfo>();
if (!pInfo->ParseFontCfg(CFX_GEModule::Get()->GetUserFontPaths())) {
diff --git a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_event__fd.cc b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_event__fd.cc
index f5f221d4da9f..cba0cabbdb2e 100644
--- a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_event__fd.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_event__fd.cc
@@ -1,6 +1,6 @@
---- third_party/perfetto/src/base/event_fd.cc.orig 2025-02-20 09:59:21 UTC
+--- third_party/perfetto/src/base/event_fd.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/perfetto/src/base/event_fd.cc
-@@ -24,7 +24,8 @@
+@@ -25,7 +25,8 @@
#include <synchapi.h>
#elif PERFETTO_BUILDFLAG(PERFETTO_OS_QNX)
#include <unistd.h>
@@ -10,7 +10,7 @@
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
#include <sys/eventfd.h>
#include <unistd.h>
-@@ -59,7 +60,8 @@ void EventFd::Clear() {
+@@ -60,7 +61,8 @@ void EventFd::Clear() {
PERFETTO_DFATAL("EventFd::Clear()");
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc
new file mode 100644
index 000000000000..8050f7bc379f
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_scoped__sched__boost.cc
@@ -0,0 +1,26 @@
+--- third_party/perfetto/src/base/scoped_sched_boost.cc.orig 2025-09-10 13:22:16 UTC
++++ third_party/perfetto/src/base/scoped_sched_boost.cc
+@@ -18,8 +18,9 @@
+
+ #include "perfetto/ext/base/status_macros.h"
+
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
+ #include <sched.h> // for 'SCHED_' macros and 'sched_' functions
+ #include <sys/resource.h> // for 'setpriority', 'getpriority', 'PRIO_PROCESS'
+ #include <sys/types.h> // for 'pid_t'
+@@ -31,8 +32,9 @@
+
+ namespace perfetto::base {
+
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
+
+ namespace {
+ constexpr pid_t kCurrentPid = 0;
diff --git a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_string__utils.cc b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_string__utils.cc
index 5a785a629a6b..0094bec14ba5 100644
--- a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_string__utils.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_string__utils.cc
@@ -1,7 +1,7 @@
---- third_party/perfetto/src/base/string_utils.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/perfetto/src/base/string_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/perfetto/src/base/string_utils.cc
@@ -39,7 +39,8 @@ namespace base {
- // Locale-independant as possible version of strtod.
+ // Locale-independent as possible version of strtod.
double StrToD(const char* nptr, char** endptr) {
#if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
diff --git a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc
index ce05ede74ace..2211dc436324 100644
--- a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_test_vm__test__utils.cc
@@ -1,6 +1,6 @@
---- third_party/perfetto/src/base/test/vm_test_utils.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/perfetto/src/base/test/vm_test_utils.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/perfetto/src/base/test/vm_test_utils.cc
-@@ -93,7 +93,7 @@ bool IsMapped(void* start, size_t size) {
+@@ -92,7 +92,7 @@ bool IsMapped(void* start, size_t size) {
// Fuchsia doesn't yet support paging (b/119503290).
ignore_result(page_size);
return true;
diff --git a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_utils.cc b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_utils.cc
index bc3d7085c858..3150d340f63c 100644
--- a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_utils.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_base_utils.cc
@@ -1,4 +1,4 @@
---- third_party/perfetto/src/base/utils.cc.orig 2025-04-15 08:30:07 UTC
+--- third_party/perfetto/src/base/utils.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/perfetto/src/base/utils.cc
@@ -38,7 +38,8 @@
#include <mach/vm_page_size.h>
@@ -10,7 +10,7 @@
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
#include <sys/prctl.h>
-@@ -279,14 +280,22 @@ void Daemonize(std::function<int()> parent_cb) {
+@@ -280,14 +281,22 @@ void Daemonize(std::function<int()> parent_cb) {
std::string GetCurExecutablePath() {
std::string self_path;
@@ -35,7 +35,7 @@
#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)
uint32_t size = 0;
PERFETTO_CHECK(_NSGetExecutablePath(nullptr, &size));
-@@ -338,7 +347,8 @@ void AlignedFree(void* ptr) {
+@@ -339,7 +348,8 @@ void AlignedFree(void* ptr) {
}
bool IsSyncMemoryTaggingEnabled() {
diff --git a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
index 4268a0a788c7..e97c17c36eb9 100644
--- a/www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
@@ -1,6 +1,6 @@
---- third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc.orig 2025-02-20 09:59:21 UTC
+--- third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc
-@@ -62,7 +62,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -59,7 +59,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kV4l2QbufFieldNumber: {
V4l2QbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -9,7 +9,7 @@
evt.index = pb_evt.index();
evt.type = pb_evt.type();
evt.bytesused = pb_evt.bytesused();
-@@ -103,7 +103,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -100,7 +100,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kV4l2DqbufFieldNumber: {
V4l2DqbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -18,7 +18,7 @@
evt.index = pb_evt.index();
evt.type = pb_evt.type();
evt.bytesused = pb_evt.bytesused();
-@@ -149,7 +149,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -146,7 +146,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2BufQueueFieldNumber: {
Vb2V4l2BufQueueFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -27,7 +27,7 @@
evt.index = std::nullopt;
evt.type = std::nullopt;
evt.bytesused = std::nullopt;
-@@ -180,7 +180,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -177,7 +177,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2BufDoneFieldNumber: {
Vb2V4l2BufDoneFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -36,7 +36,7 @@
evt.index = std::nullopt;
evt.type = std::nullopt;
evt.bytesused = std::nullopt;
-@@ -211,7 +211,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -208,7 +208,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2QbufFieldNumber: {
Vb2V4l2QbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
@@ -45,7 +45,7 @@
evt.index = std::nullopt;
evt.type = std::nullopt;
evt.bytesused = std::nullopt;
-@@ -242,7 +242,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
+@@ -239,7 +239,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id,
case FtraceEvent::kVb2V4l2DqbufFieldNumber: {
Vb2V4l2DqbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
diff --git a/www/ungoogled-chromium/files/patch-third__party_protobuf_proto__library.gni b/www/ungoogled-chromium/files/patch-third__party_protobuf_proto__library.gni
new file mode 100644
index 000000000000..a52565fc2019
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_protobuf_proto__library.gni
@@ -0,0 +1,19 @@
+--- third_party/protobuf/proto_library.gni.orig 2025-09-10 13:22:16 UTC
++++ third_party/protobuf/proto_library.gni
+@@ -260,7 +260,15 @@ _protoc_gen_ts_runtime_deps = [
+
+ # When use_remoteexec=true, node actions may run on remote
+ # Linux worker. So it should include linux node binary in inputs.
+-if (is_linux || is_chromeos || use_remoteexec) {
++if (is_openbsd) {
++ _protoc_gen_ts_runtime_deps +=
++ [ "//third_party/node/openbsd/node-openbsd/bin/node" ]
++}
++if (is_freebsd) {
++ _protoc_gen_ts_runtime_deps +=
++ [ "//third_party/node/freebsd/node-freebsd/bin/node" ]
++}
++if (!is_bsd && (is_linux || is_chromeos || use_remoteexec)) {
+ _protoc_gen_ts_runtime_deps +=
+ [ "//third_party/node/linux/node-linux-x64/bin/node" ]
+ }
diff --git a/www/ungoogled-chromium/files/patch-third__party_rust_qr__code_v2_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_rust_qr__code_v2_BUILD.gn
new file mode 100644
index 000000000000..951b3149bee9
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_rust_qr__code_v2_BUILD.gn
@@ -0,0 +1,13 @@
+--- third_party/rust/qr_code/v2/BUILD.gn.orig 2025-09-10 13:22:16 UTC
++++ third_party/rust/qr_code/v2/BUILD.gn
+@@ -40,6 +40,10 @@ cargo_crate("lib") {
+ cargo_pkg_repository = "https://github.com/RCasatta/qr_code"
+ cargo_pkg_version = "2.0.0"
+
++ rustflags = [
++ "--cap-lints=allow",
++ ]
++
+ allow_unsafe = false
+
+ #####################################################################
diff --git a/www/ungoogled-chromium/files/patch-third__party_speech-dispatcher_libspeechd__version.h b/www/ungoogled-chromium/files/patch-third__party_speech-dispatcher_libspeechd__version.h
index bb3b86cf4f6d..99f55e91a416 100644
--- a/www/ungoogled-chromium/files/patch-third__party_speech-dispatcher_libspeechd__version.h
+++ b/www/ungoogled-chromium/files/patch-third__party_speech-dispatcher_libspeechd__version.h
@@ -1,4 +1,4 @@
---- third_party/speech-dispatcher/libspeechd_version.h.orig 2025-05-31 17:16:41 UTC
+--- third_party/speech-dispatcher/libspeechd_version.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/speech-dispatcher/libspeechd_version.h
@@ -0,0 +1,29 @@
+/*
@@ -19,7 +19,7 @@
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
-+ * $Id: patch-third_party_speech-dispatcher_libspeechd_version_h,v 1.18 2025/05/31 13:44:44 robert Exp $
++ * $Id: patch-third_party_speech-dispatcher_libspeechd_version_h,v 1.21 2025/09/09 18:16:08 robert Exp $
+ */
+
+#ifndef _LIBSPEECHD_VERSION_H
diff --git a/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c b/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c
index 1bedf1f20c97..4465f416d75f 100644
--- a/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c
+++ b/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c
@@ -1,6 +1,6 @@
---- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2025-05-08 07:58:41 UTC
+--- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2025-09-10 13:22:16 UTC
+++ third_party/sqlite/src/amalgamation_dev/sqlite3.c
-@@ -14486,7 +14486,7 @@ struct fts5_api {
+@@ -14552,7 +14552,7 @@ struct fts5_api {
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
** it.
*/
diff --git a/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c b/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c
index b3a019404b16..b212ec4972eb 100644
--- a/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c
+++ b/www/ungoogled-chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c
@@ -1,6 +1,6 @@
---- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2025-05-08 07:58:41 UTC
+--- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2025-09-10 13:22:16 UTC
+++ third_party/sqlite/src/amalgamation/sqlite3.c
-@@ -14486,7 +14486,7 @@ struct fts5_api {
+@@ -14552,7 +14552,7 @@ struct fts5_api {
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
** it.
*/
@@ -9,7 +9,7 @@
# define _XOPEN_SOURCE 600
#endif
-@@ -45387,7 +45387,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
+@@ -45644,7 +45644,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
memset(zBuf, 0, nBuf);
randomnessPid = osGetpid(0);
#if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS)
@@ -22,7 +22,7 @@
int fd, got;
fd = robust_open("/dev/urandom", O_RDONLY, 0);
if( fd<0 ){
-@@ -45402,6 +45407,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
+@@ -45659,6 +45664,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
robust_close(0, fd, __LINE__);
}
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
index 6281fc87b7e7..1f6ba23ef4e8 100644
--- a/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/test_fonts/fontconfig/BUILD.gn.orig 2025-01-25 09:34:31 UTC
+--- third_party/test_fonts/fontconfig/BUILD.gn.orig 2025-09-11 16:30:26 UTC
+++ third_party/test_fonts/fontconfig/BUILD.gn
@@ -26,7 +26,11 @@ if (is_linux || is_chromeos) {
@@ -24,5 +24,5 @@
+ inputs = [ "$root_out_dir/etc/fonts/fonts.conf" ]
+ }
outputs = [
- "$root_out_dir/fontconfig_caches/fb5c91b2895aa445d23aebf7f9e2189c-le64.cache-9",
+ "$root_out_dir/fontconfig_caches/fb5c91b2895aa445d23aebf7f9e2189c-le64.cache-reindex1-10",
"$root_out_dir/fontconfig_caches/CACHEDIR.TAG",
diff --git a/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc b/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
index 1b2c9435861f..ea9f2aa9c257 100644
--- a/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc
@@ -1,11 +1,11 @@
---- third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2023-04-08 11:38:38 UTC
+--- third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2025-09-11 16:30:26 UTC
+++ third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc
@@ -56,7 +56,7 @@ int main() {
FcFini();
// Check existence of intended fontconfig cache file.
-- auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-9";
-+ auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-" + FC_CACHE_VERSION;
+- auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-reindex1-10";
++ auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-reindex1-" + FC_CACHE_VERSION;
bool cache_exists = access(cache.c_str(), F_OK) == 0;
return !cache_exists;
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_webrtc_BUILD.gn
index e4aeaf44c537..1234e24ceccb 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/webrtc/BUILD.gn.orig 2025-04-15 08:30:07 UTC
+--- third_party/webrtc/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/BUILD.gn
-@@ -219,6 +219,9 @@ config("common_inherited_config") {
+@@ -220,6 +220,9 @@ config("common_inherited_config") {
if (is_linux || is_chromeos) {
defines += [ "WEBRTC_LINUX" ]
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
index 6f43abd97b09..806ddbaed835 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/webrtc/modules/audio_device/BUILD.gn.orig 2024-10-27 06:40:35 UTC
+--- third_party/webrtc/modules/audio_device/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/modules/audio_device/BUILD.gn
-@@ -330,7 +330,7 @@ rtc_library("audio_device_impl") {
+@@ -329,7 +329,7 @@ rtc_library("audio_device_impl") {
if (rtc_use_dummy_audio_file_devices) {
defines += [ "WEBRTC_DUMMY_FILE_DEVICES" ]
} else {
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc
index 4fd12d3b8ee5..43926ca6899c 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc
@@ -1,12 +1,12 @@
---- third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc.orig 2025-05-06 12:23:00 UTC
+--- third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc
-@@ -11,7 +11,9 @@
- #include "modules/desktop_capture/linux/wayland/egl_dmabuf.h"
-
- #include <EGL/eglext.h>
+@@ -15,7 +15,9 @@
+ #include <EGL/eglplatform.h>
+ #include <GL/gl.h>
+ #include <GL/glext.h>
+#if !defined(WEBRTC_BSD)
#include <asm/ioctl.h>
+#endif
#include <dlfcn.h>
#include <fcntl.h>
- #include <libdrm/drm_fourcc.h>
+ #include <gbm.h>
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc
index c5ab5505ad8b..21f7f764e972 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc
@@ -1,6 +1,6 @@
---- third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc.orig 2024-05-23 20:04:36 UTC
+--- third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc
-@@ -203,6 +203,12 @@ bool XServerPixelBuffer::Init(XAtomCache* cache, Windo
+@@ -212,6 +212,12 @@ bool XServerPixelBuffer::Init(XAtomCache* cache, Windo
void XServerPixelBuffer::InitShm(const XWindowAttributes& attributes) {
Visual* default_visual = attributes.visual;
int default_depth = attributes.depth;
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h
new file mode 100644
index 000000000000..b6ac0e4168e2
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_portal_pipewire__utils.h
@@ -0,0 +1,12 @@
+--- third_party/webrtc/modules/portal/pipewire_utils.h.orig 2025-09-10 13:22:16 UTC
++++ third_party/webrtc/modules/portal/pipewire_utils.h
+@@ -11,7 +11,9 @@
+ #ifndef MODULES_PORTAL_PIPEWIRE_UTILS_H_
+ #define MODULES_PORTAL_PIPEWIRE_UTILS_H_
+
++#if defined(__linux__)
+ #include <asm-generic/ioctl.h>
++#endif
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_byte__order.h b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_byte__order.h
index 62d43b2ebef8..39e3c596d6b8 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_byte__order.h
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_byte__order.h
@@ -1,6 +1,6 @@
---- third_party/webrtc/rtc_base/byte_order.h.orig 2023-02-11 09:11:04 UTC
+--- third_party/webrtc/rtc_base/byte_order.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/rtc_base/byte_order.h
-@@ -90,6 +90,8 @@
+@@ -82,6 +82,8 @@
#error WEBRTC_ARCH_BIG_ENDIAN or WEBRTC_ARCH_LITTLE_ENDIAN must be defined.
#endif // defined(WEBRTC_ARCH_LITTLE_ENDIAN)
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc
new file mode 100644
index 000000000000..346118f74f7f
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc
@@ -0,0 +1,24 @@
+--- third_party/webrtc/rtc_base/cpu_info.cc.orig 2025-09-10 13:22:16 UTC
++++ third_party/webrtc/rtc_base/cpu_info.cc
+@@ -37,7 +37,9 @@
+ #include <intrin.h>
+ #endif
+ #if defined(WEBRTC_ARCH_ARM_FAMILY) && defined(WEBRTC_LINUX)
++#if !defined(WEBRTC_BSD)
+ #include <asm/hwcap.h>
++#endif
+ #include <sys/auxv.h>
+ #endif
+
+@@ -178,7 +180,11 @@ bool Supports(ISA instruction_set_architecture) {
+ return 0 != (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON);
+ #elif defined(WEBRTC_LINUX)
+ uint64_t hwcap = 0;
++#if defined(WEBRTC_BSD)
++ elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap));
++#else
+ hwcap = getauxval(AT_HWCAP);
++#endif
+ #if defined(__aarch64__)
+ if ((hwcap & HWCAP_ASIMD) != 0) {
+ return true;
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_ip__address.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_ip__address.cc
index 72d7809070da..95be751fd833 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_ip__address.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_ip__address.cc
@@ -1,12 +1,12 @@
---- third_party/webrtc/rtc_base/ip_address.cc.orig 2024-10-27 06:40:35 UTC
+--- third_party/webrtc/rtc_base/ip_address.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/rtc_base/ip_address.cc
-@@ -14,7 +14,8 @@
- #include <cstring>
- #include <string>
+@@ -22,7 +22,8 @@
+ #include "rtc_base/string_utils.h"
+
#if defined(WEBRTC_POSIX)
-#ifdef OPENBSD
+#if defined(WEBRTC_BSD)
+#include <sys/types.h>
#include <netinet/in_systm.h>
#endif
- #ifndef __native_client__
+ #include <netdb.h>
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc
index 19beb360d911..d0e0e82b0d04 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_net__helpers.cc
@@ -1,10 +1,10 @@
---- third_party/webrtc/rtc_base/net_helpers.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/webrtc/rtc_base/net_helpers.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/rtc_base/net_helpers.cc
-@@ -21,6 +21,7 @@
+@@ -20,6 +20,7 @@
#endif
- #if defined(WEBRTC_POSIX) && !defined(__native_client__)
+ #if defined(WEBRTC_POSIX)
#include <arpa/inet.h>
+#include <sys/socket.h>
- #endif // defined(WEBRTC_POSIX) && !defined(__native_client__)
+ #endif // defined(WEBRTC_POSIX)
namespace webrtc {
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_network.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_network.cc
index 77166d5b5eb8..4a37bfc73dd2 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_network.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_network.cc
@@ -1,6 +1,6 @@
---- third_party/webrtc/rtc_base/network.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/webrtc/rtc_base/network.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/rtc_base/network.cc
-@@ -316,7 +316,12 @@ AdapterType GetAdapterTypeFromName(absl::string_view n
+@@ -303,7 +303,12 @@ AdapterType GetAdapterTypeFromName(absl::string_view n
}
#endif
@@ -8,7 +8,7 @@
+ // Treat all other network interface names as ethernet on BSD
+ return webrtc::ADAPTER_TYPE_ETHERNET;
+#else
- return webrtc::ADAPTER_TYPE_UNKNOWN;
+ return ADAPTER_TYPE_UNKNOWN;
+#endif
}
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
index 34de482b2a55..948c0e560d36 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.cc
@@ -1,24 +1,24 @@
---- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/rtc_base/physical_socket_server.cc
-@@ -65,7 +65,7 @@
- #include "rtc_base/synchronization/mutex.h"
- #include "rtc_base/time_utils.h"
+@@ -61,7 +61,7 @@
+ #undef SetPort
+ #endif
-#if defined(WEBRTC_LINUX)
+#if defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD)
+ #include <asm-generic/socket.h>
#include <linux/sockios.h>
- #endif
-
-@@ -85,7 +85,7 @@ typedef void* SockOptArg;
-
+ #include <sys/epoll.h>
+@@ -78,7 +78,7 @@
+ typedef void* SockOptArg;
#endif // WEBRTC_POSIX
--#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__)
-+#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__) && !defined(WEBRTC_BSD)
-
+-#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC)
++#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(WEBRTC_BSD)
int64_t GetSocketRecvTimestamp(int socket) {
struct timeval tv_ioctl;
-@@ -341,7 +341,7 @@ int PhysicalSocket::GetOption(Option opt, int* value)
+ int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
+@@ -331,7 +331,7 @@ int PhysicalSocket::GetOption(Option opt, int* value)
return -1;
}
if (opt == OPT_DONTFRAGMENT) {
@@ -27,7 +27,7 @@
*value = (*value != IP_PMTUDISC_DONT) ? 1 : 0;
#endif
} else if (opt == OPT_DSCP) {
-@@ -370,7 +370,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
+@@ -360,7 +360,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
if (TranslateOption(opt, &slevel, &sopt) == -1)
return -1;
if (opt == OPT_DONTFRAGMENT) {
@@ -36,7 +36,7 @@
value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
#endif
} else if (opt == OPT_DSCP) {
-@@ -401,7 +401,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
+@@ -391,7 +391,7 @@ int PhysicalSocket::SetOption(Option opt, int value) {
int PhysicalSocket::Send(const void* pv, size_t cb) {
int sent = DoSend(
s_, reinterpret_cast<const char*>(pv), static_cast<int>(cb),
@@ -45,7 +45,7 @@
// Suppress SIGPIPE. Without this, attempting to send on a socket whose
// other end is closed will result in a SIGPIPE signal being raised to
// our process, which by default will terminate the process, which we
-@@ -430,7 +430,7 @@ int PhysicalSocket::SendTo(const void* buffer,
+@@ -420,7 +420,7 @@ int PhysicalSocket::SendTo(const void* buffer,
size_t len = addr.ToSockAddrStorage(&saddr);
int sent =
DoSendTo(s_, static_cast<const char*>(buffer), static_cast<int>(length),
@@ -54,16 +54,16 @@
// Suppress SIGPIPE. See above for explanation.
MSG_NOSIGNAL,
#else
-@@ -708,7 +708,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -698,7 +698,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
*slevel = IPPROTO_IP;
*sopt = IP_DONTFRAGMENT;
break;
--#elif defined(WEBRTC_MAC) || defined(BSD) || defined(__native_client__)
-+#elif defined(WEBRTC_MAC) || defined(WEBRTC_BSD) || defined(__native_client__)
+-#elif defined(WEBRTC_MAC) || defined(BSD)
++#elif defined(WEBRTC_MAC) || defined(WEBRTC_BSD)
RTC_LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported.";
return -1;
#elif defined(WEBRTC_POSIX)
-@@ -757,7 +757,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -747,7 +747,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
return -1;
#endif
case OPT_RECV_ECN:
@@ -72,7 +72,7 @@
if (family_ == AF_INET6) {
*slevel = IPPROTO_IPV6;
*sopt = IPV6_RECVTCLASS;
-@@ -777,10 +777,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -767,10 +767,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
*sopt = SO_KEEPALIVE;
break;
case OPT_TCP_KEEPCNT:
@@ -92,7 +92,7 @@
*slevel = IPPROTO_TCP;
#if !defined(WEBRTC_MAC)
*sopt = TCP_KEEPIDLE;
-@@ -788,12 +797,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
+@@ -778,12 +787,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s
*sopt = TCP_KEEPALIVE;
#endif
break;
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h
index 54c2e7740f41..50164a300fa0 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_physical__socket__server.h
@@ -1,6 +1,6 @@
---- third_party/webrtc/rtc_base/physical_socket_server.h.orig 2025-05-31 17:16:41 UTC
+--- third_party/webrtc/rtc_base/physical_socket_server.h.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/rtc_base/physical_socket_server.h
-@@ -21,7 +21,7 @@
+@@ -22,7 +22,7 @@
#include "rtc_base/third_party/sigslot/sigslot.h"
#if defined(WEBRTC_POSIX)
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc
index 844208d06dac..c5ea765a5f5d 100644
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_webrtc_rtc__base_platform__thread__types.cc
@@ -1,16 +1,21 @@
---- third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2025-05-31 17:16:41 UTC
+--- third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2025-09-10 13:22:16 UTC
+++ third_party/webrtc/rtc_base/platform_thread_types.cc
-@@ -12,7 +12,9 @@
+@@ -12,11 +12,13 @@
// IWYU pragma: begin_keep
#if defined(WEBRTC_LINUX)
+#if !defined(WEBRTC_BSD)
+ #include <linux/prctl.h>
#include <sys/prctl.h>
+#endif
#include <sys/syscall.h>
- #endif
-@@ -46,6 +48,8 @@ PlatformThreadId CurrentThreadId() {
+-#if !defined(WEBRTC_ARCH_ARM) && !defined(WEBRTC_ARCH_ARM64)
++#if !defined(WEBRTC_ARCH_ARM) && !defined(WEBRTC_ARCH_ARM64) && !defined(WEBRTC_BSD)
+ #include <asm/unistd_64.h>
+ #endif
+ #endif
+@@ -50,6 +52,8 @@ PlatformThreadId CurrentThreadId() {
return gettid();
#elif defined(WEBRTC_FUCHSIA)
return zx_thread_self();
@@ -19,7 +24,7 @@
#elif defined(WEBRTC_LINUX)
return syscall(__NR_gettid);
#elif defined(__EMSCRIPTEN__)
-@@ -76,6 +80,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons
+@@ -80,6 +84,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons
}
void SetCurrentThreadName(const char* name) {
@@ -27,7 +32,7 @@
#if defined(WEBRTC_WIN)
// The SetThreadDescription API works even if no debugger is attached.
// The names set with this API also show up in ETW traces. Very handy.
-@@ -122,6 +127,7 @@ void SetCurrentThreadName(const char* name) {
+@@ -126,6 +131,7 @@ void SetCurrentThreadName(const char* name) {
zx_status_t status = zx_object_set_property(zx_thread_self(), ZX_PROP_NAME,
name, strlen(name));
RTC_DCHECK_EQ(status, ZX_OK);
diff --git a/www/ungoogled-chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
deleted file mode 100644
index 3b73fd60d5a0..000000000000
--- a/www/ungoogled-chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/webrtc/system_wrappers/BUILD.gn.orig 2024-10-27 06:40:35 UTC
-+++ third_party/webrtc/system_wrappers/BUILD.gn
-@@ -62,8 +62,6 @@ rtc_library("system_wrappers") {
- if (!build_with_chromium) {
- sources += [ "source/cpu_features_linux.cc" ]
- }
--
-- libs += [ "rt" ]
- }
-
- if (is_win) {
diff --git a/www/ungoogled-chromium/files/patch-third__party_zlib_BUILD.gn b/www/ungoogled-chromium/files/patch-third__party_zlib_BUILD.gn
index 5b89b280453e..4bd6c1fcd26b 100644
--- a/www/ungoogled-chromium/files/patch-third__party_zlib_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-third__party_zlib_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/zlib/BUILD.gn.orig 2024-07-31 14:19:23 UTC
+--- third_party/zlib/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ third_party/zlib/BUILD.gn
@@ -128,7 +128,7 @@ if (use_arm_neon_optimizations) {
defines = [ "CRC32_ARMV8_CRC32" ]
@@ -20,12 +20,12 @@
} else {
assert(false, "Unsupported ARM OS")
}
-@@ -413,7 +417,7 @@ static_library("minizip") {
+@@ -419,7 +423,7 @@ static_library("minizip") {
]
}
-- if (is_apple || is_android || is_nacl) {
-+ if (is_apple || is_android || is_nacl || is_bsd) {
+- if (is_apple || is_android) {
++ if (is_apple || is_android || is_bsd) {
# Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We
# use fopen, ftell, and fseek instead on these systems.
defines = [ "USE_FILE32API" ]
diff --git a/www/ungoogled-chromium/files/patch-tools_gn_build_gen.py b/www/ungoogled-chromium/files/patch-tools_gn_build_gen.py
index 3b86fbfee9c7..8d26507018b2 100644
--- a/www/ungoogled-chromium/files/patch-tools_gn_build_gen.py
+++ b/www/ungoogled-chromium/files/patch-tools_gn_build_gen.py
@@ -1,4 +1,4 @@
---- tools/gn/build/gen.py.orig 2025-05-31 17:16:41 UTC
+--- tools/gn/build/gen.py.orig 2025-09-10 13:22:16 UTC
+++ tools/gn/build/gen.py
@@ -94,6 +94,12 @@ class Platform(object):
def is_solaris(self):
@@ -22,7 +22,7 @@
'haiku': 'build_haiku.ninja.template',
'solaris': 'build_linux.ninja.template',
'netbsd': 'build_linux.ninja.template',
-@@ -551,6 +557,9 @@ def WriteGNNinja(path, platform, host, options, args_l
+@@ -552,6 +558,9 @@ def WriteGNNinja(path, platform, host, options, args_l
if platform.is_posix() and not platform.is_haiku():
ldflags.append('-pthread')
diff --git a/www/ungoogled-chromium/files/patch-tools_grit_grit_node_base.py b/www/ungoogled-chromium/files/patch-tools_grit_grit_node_base.py
index f026d48f5971..00c793551671 100644
--- a/www/ungoogled-chromium/files/patch-tools_grit_grit_node_base.py
+++ b/www/ungoogled-chromium/files/patch-tools_grit_grit_node_base.py
@@ -1,6 +1,6 @@
---- tools/grit/grit/node/base.py.orig 2025-05-31 17:16:41 UTC
+--- tools/grit/grit/node/base.py.orig 2025-09-10 13:22:16 UTC
+++ tools/grit/grit/node/base.py
-@@ -497,7 +497,8 @@ class Node:
+@@ -491,7 +491,8 @@ class Node:
value = defs
elif name == 'is_linux':
diff --git a/www/ungoogled-chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py b/www/ungoogled-chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
index 74adab888556..34115d1106e9 100644
--- a/www/ungoogled-chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
+++ b/www/ungoogled-chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
@@ -1,8 +1,8 @@
---- tools/json_schema_compiler/cpp_bundle_generator.py.orig 2025-04-15 08:30:07 UTC
+--- tools/json_schema_compiler/cpp_bundle_generator.py.orig 2025-09-10 13:22:16 UTC
+++ tools/json_schema_compiler/cpp_bundle_generator.py
@@ -140,7 +140,7 @@ class CppBundleGenerator(object):
- elif platform == Platforms.FUCHSIA:
- ifdefs.append('BUILDFLAG(IS_FUCHSIA)')
+ elif platform == Platforms.DESKTOP_ANDROID:
+ ifdefs.append('BUILDFLAG(IS_DESKTOP_ANDROID)')
elif platform == Platforms.LINUX:
- ifdefs.append('BUILDFLAG(IS_LINUX)')
+ ifdefs.append('BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)')
diff --git a/www/ungoogled-chromium/files/patch-tools_protoc__wrapper_protoc__wrapper.py b/www/ungoogled-chromium/files/patch-tools_protoc__wrapper_protoc__wrapper.py
index f876117ad5de..afb22680d998 100644
--- a/www/ungoogled-chromium/files/patch-tools_protoc__wrapper_protoc__wrapper.py
+++ b/www/ungoogled-chromium/files/patch-tools_protoc__wrapper_protoc__wrapper.py
@@ -1,6 +1,6 @@
---- tools/protoc_wrapper/protoc_wrapper.py.orig 2025-05-31 17:16:41 UTC
+--- tools/protoc_wrapper/protoc_wrapper.py.orig 2025-09-10 13:22:16 UTC
+++ tools/protoc_wrapper/protoc_wrapper.py
-@@ -188,15 +188,19 @@ def main(argv):
+@@ -227,15 +227,19 @@ def main(argv):
if not options.exclude_imports:
protoc_cmd += ["--include_imports"]
diff --git a/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.cc b/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.cc
index ab6cffb76a86..1255b4e518bf 100644
--- a/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.cc
+++ b/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.cc
@@ -1,11 +1,20 @@
---- ui/accessibility/accessibility_features.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/accessibility/accessibility_features.cc.orig 2025-09-11 16:30:26 UTC
+++ ui/accessibility/accessibility_features.cc
-@@ -473,7 +473,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled
+@@ -516,7 +516,7 @@ bool IsScreenAITestModeEnabled() {
+ return base::FeatureList::IsEnabled(::features::kScreenAITestMode);
+ }
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kScreenAIPartitionAllocAdvancedChecksEnabled,
+ "ScreenAIPartitionAllocAdvancedChecksEnabled",
+ base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -558,7 +558,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled
}
#endif // BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kWasmTtsComponentUpdaterEnabled,
- "WasmTtsComponentUpdaterEnabled",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ BASE_FEATURE(kWasmTtsComponentUpdaterV3Enabled,
+ "WasmTtsComponentUpdaterV3Enabled",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.h b/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.h
index 453f6705c7c8..40b0b8447b21 100644
--- a/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.h
+++ b/www/ungoogled-chromium/files/patch-ui_accessibility_accessibility__features.h
@@ -1,11 +1,20 @@
---- ui/accessibility/accessibility_features.h.orig 2025-05-31 17:16:41 UTC
+--- ui/accessibility/accessibility_features.h.orig 2025-09-11 16:30:26 UTC
+++ ui/accessibility/accessibility_features.h
-@@ -322,7 +322,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc
+@@ -345,7 +345,7 @@ AX_BASE_EXPORT bool IsScreenAIOCREnabled();
+ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kScreenAITestMode);
+ AX_BASE_EXPORT bool IsScreenAITestModeEnabled();
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Enables advanced partition allocation checks in ScreenAI service.
+ // TODO(crbug.com/418199684): Remove when the bug is fixed.
+ AX_BASE_EXPORT BASE_DECLARE_FEATURE(
+@@ -372,7 +372,7 @@ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kBlockRootWindowAc
AX_BASE_EXPORT bool IsBlockRootWindowAccessibleNameChangeEventEnabled();
#endif // BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Enable the component updater to download the wasm tts engine component.
- AX_BASE_EXPORT BASE_DECLARE_FEATURE(kWasmTtsComponentUpdaterEnabled);
- AX_BASE_EXPORT bool IsWasmTtsComponentUpdaterEnabled();
+ // Use the v3 version of the wasm tts engine component.
+ AX_BASE_EXPORT BASE_DECLARE_FEATURE(kWasmTtsComponentUpdaterV3Enabled);
+ AX_BASE_EXPORT bool IsWasmTtsComponentUpdaterV3Enabled();
diff --git a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.cc b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.cc
index 6fc6b44444d6..12379a4da1ba 100644
--- a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.cc
+++ b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.cc
@@ -1,20 +1,20 @@
---- ui/accessibility/ax_node.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/accessibility/ax_node.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/accessibility/ax_node.cc
-@@ -1553,7 +1553,7 @@ AXNode::GetExtraMacNodes() const {
+@@ -1547,7 +1547,7 @@ AXNode::GetExtraMacNodes() const {
return &table_info->extra_mac_nodes;
}
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
AXNode* AXNode::GetExtraAnnouncementNode(
ax::mojom::AriaNotificationPriority priority_property) const {
if (!tree_->extra_announcement_nodes()) {
-@@ -1581,7 +1581,7 @@ bool AXNode::IsGenerated() const {
+@@ -1575,7 +1575,7 @@ bool AXNode::IsGenerated() const {
GetRole() == ax::mojom::Role::kColumn ||
GetRole() == ax::mojom::Role::kTableHeaderContainer;
DCHECK_EQ(is_generated_node, is_extra_mac_node_role);
--#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // On Linux, generated nodes are always children of the root.
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // On Linux and Windows, generated nodes are always children of the root, but
+ // not necessarily the root tree.
if (GetParent() && GetParent()->GetManager()) {
- DCHECK(GetParent()->GetManager()->IsRoot());
diff --git a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.h b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.h
index f157577df320..87ebeb2e3080 100644
--- a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.h
+++ b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__node.h
@@ -1,11 +1,11 @@
---- ui/accessibility/ax_node.h.orig 2025-05-06 12:23:00 UTC
+--- ui/accessibility/ax_node.h.orig 2025-09-10 13:22:16 UTC
+++ ui/accessibility/ax_node.h
-@@ -587,7 +587,7 @@ class AX_EXPORT AXNode final {
+@@ -582,7 +582,7 @@ class AX_EXPORT AXNode final {
const std::vector<raw_ptr<AXNode, VectorExperimental>>* GetExtraMacNodes()
const;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
AXNode* GetExtraAnnouncementNode(
ax::mojom::AriaNotificationPriority priority_property) const;
- #endif // BUILDFLAG(IS_LINUX)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
diff --git a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.cc b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.cc
index 106242ab1739..3967a19e2e76 100644
--- a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.cc
+++ b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.cc
@@ -1,38 +1,56 @@
---- ui/accessibility/ax_tree.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/accessibility/ax_tree.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/accessibility/ax_tree.cc
-@@ -824,7 +824,7 @@ bool AXTree::ComputeNodeIsIgnoredChanged(
+@@ -700,7 +700,7 @@ struct AXTreeUpdateState {
+ // (crrev.com/c/2892259).
+ const raw_ref<const AXTreeUpdate> pending_tree_update;
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ bool should_clear_extra_announcement_nodes = false;
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+
+@@ -855,7 +855,7 @@ bool AXTree::ComputeNodeIsIgnoredChanged(
return old_node_is_ignored != new_node_is_ignored;
}
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
ExtraAnnouncementNodes::ExtraAnnouncementNodes(AXNode* root) {
assertive_node_ = CreateNode("assertive", root);
polite_node_ = CreateNode("polite", root);
-@@ -917,7 +917,7 @@ AXNode* AXTree::GetFromId(AXNodeID id) const {
+@@ -948,7 +948,7 @@ AXNode* AXTree::GetFromId(AXNodeID id) const {
void AXTree::Destroy() {
base::ElapsedThreadTimer timer;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
ClearExtraAnnouncementNodes();
- #endif // BUILDFLAG(IS_LINUX)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+
+@@ -1600,7 +1600,7 @@ bool AXTree::Unserialize(const AXTreeUpdate& update) {
+ observers_.Notify(&AXTreeObserver::OnAtomicUpdateFinished, this,
+ root_->id() != old_root_id, changes);
-@@ -2109,7 +2109,7 @@ void AXTree::NotifyNodeAttributesWillChange(
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ if (update_state.should_clear_extra_announcement_nodes) {
+ ClearExtraAnnouncementNodes();
+ }
+@@ -2186,7 +2186,7 @@ void AXTree::NotifyNodeAttributesWillChange(
new_data);
}
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
void AXTree::ClearExtraAnnouncementNodes() {
if (!extra_announcement_nodes_) {
return;
-@@ -2498,7 +2498,7 @@ bool AXTree::CreateNewChildVector(
+@@ -2596,7 +2596,7 @@ bool AXTree::CreateNewChildVector(
AXTreeUpdateState* update_state) {
DCHECK(GetTreeUpdateInProgressState());
bool success = true;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// If the root node has children added, clear the extra announcement nodes,
// which should always have their indices as the last two children of the root
// node. They will be recreated if needed, and given the correct indices.
diff --git a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.h b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.h
index 5d0219f9f423..9b46da290714 100644
--- a/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.h
+++ b/www/ungoogled-chromium/files/patch-ui_accessibility_ax__tree.h
@@ -1,29 +1,29 @@
---- ui/accessibility/ax_tree.h.orig 2025-05-06 12:23:00 UTC
+--- ui/accessibility/ax_tree.h.orig 2025-09-10 13:22:16 UTC
+++ ui/accessibility/ax_tree.h
-@@ -62,7 +62,7 @@ enum class AXTreeUnserializeError {
+@@ -64,7 +64,7 @@ enum class AXTreeUnserializeError {
};
// LINT.ThenChange(/tools/metrics/histograms/metadata/accessibility/enums.xml:AccessibilityTreeUnserializeError)
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// To support AriaNotify on older versions of ATK, we need to use the ATK
// signal "Text::text-insert". This signal requires a node that is a
// text type, and it needs to have aria-live properties set in order for
-@@ -287,7 +287,7 @@ class AX_EXPORT AXTree {
+@@ -289,7 +289,7 @@ class AX_EXPORT AXTree {
void NotifyChildTreeConnectionChanged(AXNode* node, AXTree* child_tree);
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
void ClearExtraAnnouncementNodes();
void CreateExtraAnnouncementNodes();
ExtraAnnouncementNodes* extra_announcement_nodes() const {
-@@ -544,7 +544,7 @@ class AX_EXPORT AXTree {
+@@ -548,7 +548,7 @@ class AX_EXPORT AXTree {
std::unique_ptr<AXEvent> event_data_;
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
std::unique_ptr<ExtraAnnouncementNodes> extra_announcement_nodes_ = nullptr;
- #endif // BUILDFLAG(IS_LINUX)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
};
diff --git a/www/ungoogled-chromium/files/patch-ui_base_accelerators_accelerator.cc b/www/ungoogled-chromium/files/patch-ui_base_accelerators_accelerator.cc
index 7cfa97614429..2018df94898b 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_accelerators_accelerator.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_accelerators_accelerator.cc
@@ -1,6 +1,6 @@
---- ui/base/accelerators/accelerator.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/base/accelerators/accelerator.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/accelerators/accelerator.cc
-@@ -331,7 +331,7 @@ std::vector<std::u16string> Accelerator::GetLongFormMo
+@@ -335,7 +335,7 @@ std::vector<std::u16string> Accelerator::GetLongFormMo
modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_SEARCH_KEY));
#elif BUILDFLAG(IS_WIN)
modifiers.push_back(l10n_util::GetStringUTF16(IDS_APP_WINDOWS_KEY));
diff --git a/www/ungoogled-chromium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc b/www/ungoogled-chromium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc
index cb06b6b1b35d..1ff0936e70f0 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc
@@ -1,4 +1,4 @@
---- ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc.orig 2025-03-09 21:38:10 UTC
+--- ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc
@@ -12,7 +12,7 @@
#include "ui/base/accelerators/accelerator.h"
@@ -6,10 +6,10 @@
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS)
+ #include "base/environment.h"
#include "base/feature_list.h"
- #include "ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_linux.h"
- #endif
-@@ -20,7 +20,7 @@
+ #include "build/branding_buildflags.h"
+@@ -22,7 +22,7 @@
using content::BrowserThread;
namespace {
@@ -18,7 +18,7 @@
BASE_FEATURE(kGlobalShortcutsPortal,
"GlobalShortcutsPortal",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -38,7 +38,7 @@ GlobalAcceleratorListener* GlobalAcceleratorListener::
+@@ -74,7 +74,7 @@ GlobalAcceleratorListener* GlobalAcceleratorListener::
return instance->get();
}
@@ -26,4 +26,4 @@
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS)
if (base::FeatureList::IsEnabled(kGlobalShortcutsPortal)) {
static GlobalAcceleratorListenerLinux* const linux_instance =
- new GlobalAcceleratorListenerLinux(nullptr);
+ new GlobalAcceleratorListenerLinux(nullptr, GetSessionName());
diff --git a/www/ungoogled-chromium/files/patch-ui_base_cursor_cursor__factory.cc b/www/ungoogled-chromium/files/patch-ui_base_cursor_cursor__factory.cc
index 51636747a033..ed69ec5233df 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_cursor_cursor__factory.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_cursor_cursor__factory.cc
@@ -1,6 +1,6 @@
---- ui/base/cursor/cursor_factory.cc.orig 2024-11-16 12:20:41 UTC
+--- ui/base/cursor/cursor_factory.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/cursor/cursor_factory.cc
-@@ -96,7 +96,7 @@ void CursorFactory::ObserveThemeChanges() {
+@@ -97,7 +97,7 @@ void CursorFactory::ObserveThemeChanges() {
NOTIMPLEMENTED();
}
diff --git a/www/ungoogled-chromium/files/patch-ui_base_resource_resource__bundle.cc b/www/ungoogled-chromium/files/patch-ui_base_resource_resource__bundle.cc
index 7dd8cbf0c5c4..7f73b187ade0 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_resource_resource__bundle.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_resource_resource__bundle.cc
@@ -1,6 +1,6 @@
---- ui/base/resource/resource_bundle.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/base/resource/resource_bundle.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/resource/resource_bundle.cc
-@@ -929,7 +929,7 @@ void ResourceBundle::ReloadFonts() {
+@@ -1002,7 +1002,7 @@ void ResourceBundle::ReloadFonts() {
}
ResourceScaleFactor ResourceBundle::GetMaxResourceScaleFactor() const {
diff --git a/www/ungoogled-chromium/files/patch-ui_base_test_skia__gold__pixel__diff.cc b/www/ungoogled-chromium/files/patch-ui_base_test_skia__gold__pixel__diff.cc
index cf4609db4891..02b937d35f2f 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_test_skia__gold__pixel__diff.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_test_skia__gold__pixel__diff.cc
@@ -1,6 +1,6 @@
---- ui/base/test/skia_gold_pixel_diff.cc.orig 2025-03-09 21:38:10 UTC
+--- ui/base/test/skia_gold_pixel_diff.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/test/skia_gold_pixel_diff.cc
-@@ -117,7 +117,7 @@ const char* GetPlatformName() {
+@@ -121,7 +121,7 @@ const char* GetPlatformName() {
return "windows";
#elif BUILDFLAG(IS_APPLE)
return "macOS";
diff --git a/www/ungoogled-chromium/files/patch-ui_base_ui__base__features.cc b/www/ungoogled-chromium/files/patch-ui_base_ui__base__features.cc
index 16aa9d2f1296..a3935e42dae5 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_ui__base__features.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_ui__base__features.cc
@@ -1,6 +1,6 @@
---- ui/base/ui_base_features.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/base/ui_base_features.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/ui_base_features.cc
-@@ -119,7 +119,7 @@ BASE_FEATURE(kWaylandLinuxDrmSyncobj,
+@@ -113,7 +113,7 @@ BASE_FEATURE(kWaylandLinuxDrmSyncobj,
// Controls whether support for Wayland's per-surface scaling is enabled.
BASE_FEATURE(kWaylandPerSurfaceScale,
"WaylandPerSurfaceScale",
@@ -9,16 +9,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -143,7 +143,7 @@ BASE_FEATURE(kWaylandSessionManagement,
- base::FEATURE_DISABLED_BY_DEFAULT);
- #endif // BUILDFLAG(IS_OZONE)
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // If this feature is enabled, users not specify --ozone-platform-hint switch
- // will get --ozone-platform-hint=auto treatment. https://crbug.com/40250220.
- COMPONENT_EXPORT(UI_BASE_FEATURES)
-@@ -231,7 +231,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists,
+@@ -195,7 +195,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists,
// native apps on Windows.
BASE_FEATURE(kExperimentalFlingAnimation,
"ExperimentalFlingAnimation",
@@ -27,7 +18,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -307,7 +307,7 @@ bool IsForcedColorsEnabled() {
+@@ -293,7 +293,7 @@ bool IsForcedColorsEnabled() {
BASE_FEATURE(kEyeDropper,
"EyeDropper",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/www/ungoogled-chromium/files/patch-ui_base_ui__base__features.h b/www/ungoogled-chromium/files/patch-ui_base_ui__base__features.h
deleted file mode 100644
index ac7fc8c6edb3..000000000000
--- a/www/ungoogled-chromium/files/patch-ui_base_ui__base__features.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/base/ui_base_features.h.orig 2025-05-06 12:23:00 UTC
-+++ ui/base/ui_base_features.h
-@@ -126,7 +126,7 @@ COMPONENT_EXPORT(UI_BASE_FEATURES)
- BASE_DECLARE_FEATURE(kWaylandSessionManagement);
- #endif // BUILDFLAG(IS_OZONE)
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- COMPONENT_EXPORT(UI_BASE_FEATURES)
- BASE_DECLARE_FEATURE(kOverrideDefaultOzonePlatformHintToAuto);
- #endif // BUILDFLAG(IS_LINUX)
diff --git a/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.cc b/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.cc
index dee08fe20b83..c077ba380536 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.cc
@@ -1,4 +1,4 @@
---- ui/base/ui_base_switches.cc.orig 2025-01-25 09:34:31 UTC
+--- ui/base/ui_base_switches.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/ui_base_switches.cc
@@ -24,13 +24,13 @@ const char kDisableModalAnimations[] = "disable-modal-
const char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
@@ -15,4 +15,4 @@
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Specify the toolkit used to construct the Linux GUI.
const char kUiToolkitFlag[] = "ui-toolkit";
- // Disables GTK IME integration.
+ // Specify the GTK version to be loaded.
diff --git a/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h b/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h
index 27e4aa2646ff..f708bcbff660 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h
+++ b/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h
@@ -1,4 +1,4 @@
---- ui/base/ui_base_switches.h.orig 2025-01-25 09:34:31 UTC
+--- ui/base/ui_base_switches.h.orig 2025-09-10 13:22:16 UTC
+++ ui/base/ui_base_switches.h
@@ -22,11 +22,11 @@ COMPONENT_EXPORT(UI_BASE) extern const char kDisableMo
COMPONENT_EXPORT(UI_BASE) extern const char kShowMacOverlayBorders[];
@@ -12,5 +12,5 @@
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(UI_BASE) extern const char kUiToolkitFlag[];
- COMPONENT_EXPORT(UI_BASE) extern const char kDisableGtkIme[];
- #endif
+ COMPONENT_EXPORT(UI_BASE) extern const char kGtkVersionFlag[];
+ COMPONENT_EXPORT(UI_BASE) extern const char kQtVersionFlag[];
diff --git a/www/ungoogled-chromium/files/patch-ui_base_webui_web__ui__util.cc b/www/ungoogled-chromium/files/patch-ui_base_webui_web__ui__util.cc
index 781c7c53085b..62e03a6852af 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_webui_web__ui__util.cc
+++ b/www/ungoogled-chromium/files/patch-ui_base_webui_web__ui__util.cc
@@ -1,6 +1,6 @@
---- ui/base/webui/web_ui_util.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/base/webui/web_ui_util.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/base/webui/web_ui_util.cc
-@@ -46,7 +46,7 @@ namespace {
+@@ -42,7 +42,7 @@ namespace {
constexpr float kMaxScaleFactor = 1000.0f;
std::string GetFontFamilyMd() {
@@ -9,7 +9,7 @@
return "Roboto, " + GetFontFamily();
#else
return GetFontFamily();
-@@ -221,7 +221,7 @@ void AppendWebUiCssTextDefaults(std::string* html) {
+@@ -217,7 +217,7 @@ void AppendWebUiCssTextDefaults(std::string* html) {
std::string GetFontFamily() {
std::string font_family = l10n_util::GetStringUTF8(IDS_WEB_FONT_FAMILY);
diff --git a/www/ungoogled-chromium/files/patch-ui_color_color__id.h b/www/ungoogled-chromium/files/patch-ui_color_color__id.h
index 9e89f3dc2c8a..e55b0001d16f 100644
--- a/www/ungoogled-chromium/files/patch-ui_color_color__id.h
+++ b/www/ungoogled-chromium/files/patch-ui_color_color__id.h
@@ -1,6 +1,6 @@
---- ui/color/color_id.h.orig 2025-05-31 17:16:41 UTC
+--- ui/color/color_id.h.orig 2025-09-10 13:22:16 UTC
+++ ui/color/color_id.h
-@@ -627,7 +627,7 @@
+@@ -648,7 +648,7 @@
E_CPONLY(kColorCrosSysPositive) \
E_CPONLY(kColorCrosSysComplementVariant) \
E_CPONLY(kColorCrosSysInputFieldOnBase)
diff --git a/www/ungoogled-chromium/files/patch-ui_compositor_compositor.cc b/www/ungoogled-chromium/files/patch-ui_compositor_compositor.cc
index d5d3f40e77f7..cff833118415 100644
--- a/www/ungoogled-chromium/files/patch-ui_compositor_compositor.cc
+++ b/www/ungoogled-chromium/files/patch-ui_compositor_compositor.cc
@@ -1,6 +1,6 @@
---- ui/compositor/compositor.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/compositor/compositor.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/compositor/compositor.cc
-@@ -983,7 +983,7 @@ void Compositor::OnResume() {
+@@ -979,7 +979,7 @@ void Compositor::OnResume() {
obs.ResetIfActive();
}
diff --git a/www/ungoogled-chromium/files/patch-ui_compositor_compositor.h b/www/ungoogled-chromium/files/patch-ui_compositor_compositor.h
index 503f764c46ca..1e76ab4731d0 100644
--- a/www/ungoogled-chromium/files/patch-ui_compositor_compositor.h
+++ b/www/ungoogled-chromium/files/patch-ui_compositor_compositor.h
@@ -1,6 +1,6 @@
---- ui/compositor/compositor.h.orig 2025-05-06 12:23:00 UTC
+--- ui/compositor/compositor.h.orig 2025-09-10 13:22:16 UTC
+++ ui/compositor/compositor.h
-@@ -463,7 +463,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe
+@@ -462,7 +462,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe
// base::PowerSuspendObserver:
void OnResume() override;
diff --git a/www/ungoogled-chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc b/www/ungoogled-chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc
deleted file mode 100644
index a3cbfcc8b6aa..000000000000
--- a/www/ungoogled-chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- ui/events/devices/x11/device_data_manager_x11.cc.orig 2025-05-31 17:16:41 UTC
-+++ ui/events/devices/x11/device_data_manager_x11.cc
-@@ -850,6 +850,7 @@ void DeviceDataManagerX11::SetDisabledKeyboardAllowedK
- }
-
- void DeviceDataManagerX11::DisableDevice(x11::Input::DeviceId deviceid) {
-+ NOTIMPLEMENTED();
- blocked_devices_.set(static_cast<uint32_t>(deviceid), true);
- // TODO(rsadam@): Support blocking touchscreen devices.
- std::vector<KeyboardDevice> keyboards = GetKeyboardDevices();
diff --git a/www/ungoogled-chromium/files/patch-ui_events_event.cc b/www/ungoogled-chromium/files/patch-ui_events_event.cc
index 50186fbb1e84..c30533ea705c 100644
--- a/www/ungoogled-chromium/files/patch-ui_events_event.cc
+++ b/www/ungoogled-chromium/files/patch-ui_events_event.cc
@@ -1,6 +1,6 @@
---- ui/events/event.cc.orig 2025-01-25 09:34:31 UTC
+--- ui/events/event.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/events/event.cc
-@@ -373,7 +373,7 @@ std::string LocatedEvent::ToString() const {
+@@ -375,7 +375,7 @@ std::string LocatedEvent::ToString() const {
MouseEvent::MouseEvent(const PlatformEvent& native_event)
: LocatedEvent(native_event),
changed_button_flags_(GetChangedMouseButtonFlagsFromNative(native_event)),
@@ -9,7 +9,7 @@
movement_(GetMouseMovementFromNative(native_event)),
#endif
pointer_details_(GetMousePointerDetailsFromNative(native_event)) {
-@@ -629,7 +629,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const
+@@ -631,7 +631,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const
return std::make_unique<MouseWheelEvent>(*this);
}
@@ -18,9 +18,9 @@
// This value matches Windows, Fuchsia WHEEL_DELTA, and (roughly) Firefox on
// Linux.
// static
-@@ -889,7 +889,7 @@ void KeyEvent::InitializeNative() {
- if (synthesize_key_repeat_enabled_ && IsRepeated(GetLastKeyEvent()))
+@@ -894,7 +894,7 @@ void KeyEvent::InitializeNative() {
SetFlags(flags() | EF_IS_REPEAT);
+ }
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn b/www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn
index 2ddf4e26c5f4..b3f902fdef52 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/gfx/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- ui/gfx/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/BUILD.gn
-@@ -663,7 +663,7 @@ source_set("memory_buffer_sources") {
+@@ -659,7 +659,7 @@ source_set("memory_buffer_sources") {
deps += [ "//build/config/linux/libdrm" ]
}
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_font__fallback__linux.cc b/www/ungoogled-chromium/files/patch-ui_gfx_font__fallback__linux.cc
index 1474d2770c87..78d8d392e06c 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_font__fallback__linux.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_font__fallback__linux.cc
@@ -1,6 +1,6 @@
---- ui/gfx/font_fallback_linux.cc.orig 2024-10-01 07:26:23 UTC
+--- ui/gfx/font_fallback_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/font_fallback_linux.cc
-@@ -32,6 +32,8 @@
+@@ -28,6 +28,8 @@
#include "ui/gfx/linux/fontconfig_util.h"
#include "ui/gfx/platform_font.h"
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_font__render__params__linux.cc b/www/ungoogled-chromium/files/patch-ui_gfx_font__render__params__linux.cc
index 8b96d9593a83..f04030482a89 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_font__render__params__linux.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_font__render__params__linux.cc
@@ -1,4 +1,4 @@
---- ui/gfx/font_render_params_linux.cc.orig 2025-03-09 21:38:10 UTC
+--- ui/gfx/font_render_params_linux.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/font_render_params_linux.cc
@@ -24,7 +24,7 @@
#include "ui/gfx/linux/fontconfig_util.h"
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#endif
-@@ -222,7 +222,7 @@ FontRenderParams GetFontRenderParams(const FontRenderP
+@@ -224,7 +224,7 @@ FontRenderParams GetFontRenderParams(const FontRenderP
// Start with the delegate's settings, but let Fontconfig have the final say.
FontRenderParams params;
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_gpu__extra__info.h b/www/ungoogled-chromium/files/patch-ui_gfx_gpu__extra__info.h
new file mode 100644
index 000000000000..6bc14bcee00a
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_gpu__extra__info.h
@@ -0,0 +1,11 @@
+--- ui/gfx/gpu_extra_info.h.orig 2025-09-10 13:22:16 UTC
++++ ui/gfx/gpu_extra_info.h
+@@ -51,7 +51,7 @@ struct COMPONENT_EXPORT(GFX) GpuExtraInfo {
+ std::vector<gfx::BufferUsageAndFormat> gpu_memory_buffer_support_x11;
+ #endif // BUILDFLAG(IS_OZONE_X11)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool is_gmb_nv12_supported = false;
+ #endif
+ };
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.cc b/www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.cc
deleted file mode 100644
index 60a708f9307d..000000000000
--- a/www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/gfx/gpu_memory_buffer.cc.orig 2025-05-31 17:16:41 UTC
-+++ ui/gfx/gpu_memory_buffer.cc
-@@ -131,7 +131,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c
- handle.id = id;
- handle.offset = offset;
- handle.stride = stride;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- handle.native_pixmap_handle = CloneHandleForIPC(native_pixmap_handle);
- #elif BUILDFLAG(IS_APPLE)
- handle.io_surface = io_surface;
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.h b/www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.h
deleted file mode 100644
index e0d504a323cd..000000000000
--- a/www/ungoogled-chromium/files/patch-ui_gfx_gpu__memory__buffer.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- ui/gfx/gpu_memory_buffer.h.orig 2025-05-31 17:16:41 UTC
-+++ ui/gfx/gpu_memory_buffer.h
-@@ -17,7 +17,7 @@
- #include "ui/gfx/generic_shared_memory_id.h"
- #include "ui/gfx/geometry/rect.h"
-
--#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "ui/gfx/native_pixmap_handle.h"
- #elif BUILDFLAG(IS_APPLE)
- #include "ui/gfx/mac/io_surface.h"
-@@ -58,7 +58,7 @@ enum GpuMemoryBufferType {
- #if BUILDFLAG(IS_APPLE)
- IO_SURFACE_BUFFER,
- #endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- NATIVE_PIXMAP,
- #endif
- #if BUILDFLAG(IS_WIN)
-@@ -210,7 +210,7 @@ struct COMPONENT_EXPORT(GFX) GpuMemoryBufferHandle {
-
- uint32_t offset = 0;
- uint32_t stride = 0;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- NativePixmapHandle native_pixmap_handle;
- #elif BUILDFLAG(IS_APPLE)
- ScopedIOSurface io_surface;
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc b/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc
index b0dc1f04f9a7..31b7e3e9d460 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.cc
@@ -1,4 +1,4 @@
---- ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/mojom/native_handle_types_mojom_traits.cc
@@ -14,7 +14,7 @@
#include "ui/gfx/mac/io_surface.h"
@@ -41,21 +41,21 @@
out->modifier = data.modifier();
out->supports_zero_copy_webgpu_import =
data.supports_zero_copy_webgpu_import();
-@@ -187,7 +187,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandleDataView::Tag
+@@ -211,7 +211,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandleDataView::Tag
case gfx::IO_SURFACE_BUFFER:
- return Tag::kMachPort;
+ return Tag::kIoSurfaceHandle;
#endif // BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
case gfx::NATIVE_PIXMAP:
return Tag::kNativePixmapHandle;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-@@ -251,7 +251,7 @@ bool UnionTraits<gfx::mojom::GpuMemoryBufferPlatformHa
- }
+@@ -292,7 +292,7 @@ bool UnionTraits<gfx::mojom::GpuMemoryBufferPlatformHa
+ #endif
return true;
#endif // BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
case Tag::kNativePixmapHandle:
- handle->type = gfx::NATIVE_PIXMAP;
- return data.ReadNativePixmapHandle(&handle->native_pixmap_handle);
+ gmb_handle->type = gfx::NATIVE_PIXMAP;
+ return data.ReadNativePixmapHandle(&gmb_handle->native_pixmap_handle_);
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h b/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
index 1d0700ed26a6..1e15718b2cd7 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_mojom_native__handle__types__mojom__traits.h
@@ -1,7 +1,7 @@
---- ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2025-03-09 21:38:10 UTC
+--- ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/mojom/native_handle_types_mojom_traits.h
@@ -18,7 +18,7 @@
- #include "ui/gfx/gpu_memory_buffer.h"
+ #include "ui/gfx/gpu_memory_buffer_handle.h"
#include "ui/gfx/mojom/native_handle_types.mojom-shared.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
@@ -9,7 +9,7 @@
#include "ui/gfx/native_pixmap_handle.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-@@ -46,7 +46,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
+@@ -49,7 +49,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
};
#endif // BUILDFLAG(IS_ANDROID)
@@ -18,7 +18,7 @@
template <>
struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED_MOJOM_TRAITS)
StructTraits<gfx::mojom::NativePixmapPlaneDataView,
-@@ -74,13 +74,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
+@@ -77,13 +77,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
return pixmap_handle.planes;
}
@@ -34,12 +34,12 @@
static bool supports_zero_copy_webgpu_import(
const gfx::NativePixmapHandle& pixmap_handle) {
return pixmap_handle.supports_zero_copy_webgpu_import;
-@@ -159,7 +159,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
- static PlatformHandle mach_port(gfx::GpuMemoryBufferHandle& handle);
+@@ -207,7 +207,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED
+ static IOSurfaceHandle io_surface_handle(gfx::GpuMemoryBufferHandle& handle);
#endif // BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
static gfx::NativePixmapHandle& native_pixmap_handle(
gfx::GpuMemoryBufferHandle& handle) {
- return handle.native_pixmap_handle;
+ return handle.native_pixmap_handle_;
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_platform__font__skia.cc b/www/ungoogled-chromium/files/patch-ui_gfx_platform__font__skia.cc
index 5a37f6de4597..4daecbee5a3e 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_platform__font__skia.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_platform__font__skia.cc
@@ -1,4 +1,4 @@
---- ui/gfx/platform_font_skia.cc.orig 2024-08-26 14:40:28 UTC
+--- ui/gfx/platform_font_skia.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/platform_font_skia.cc
@@ -29,7 +29,7 @@
#include "ui/gfx/system_fonts_win.h"
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#endif
-@@ -167,7 +167,7 @@ void PlatformFontSkia::EnsuresDefaultFontIsInitialized
+@@ -170,7 +170,7 @@ void PlatformFontSkia::EnsuresDefaultFontIsInitialized
weight = system_font.GetWeight();
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_switches.cc b/www/ungoogled-chromium/files/patch-ui_gfx_switches.cc
index 3fe3b8d2390d..a7868665e8b0 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_switches.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_switches.cc
@@ -1,8 +1,8 @@
---- ui/gfx/switches.cc.orig 2024-04-23 07:42:17 UTC
+--- ui/gfx/switches.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/switches.cc
-@@ -32,7 +32,7 @@ const char kForcePrefersNoReducedMotion[] = "force-pre
- // Run in headless mode, i.e., without a UI or display server dependencies.
- const char kHeadless[] = "headless";
+@@ -36,7 +36,7 @@ const char kHeadless[] = "headless";
+ // See //components/headless/screen_info/README.md for more details.
+ const char kScreenInfo[] = "screen-info";
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-ui_gfx_switches.h b/www/ungoogled-chromium/files/patch-ui_gfx_switches.h
index 038f768c6d84..94b6168fe64a 100644
--- a/www/ungoogled-chromium/files/patch-ui_gfx_switches.h
+++ b/www/ungoogled-chromium/files/patch-ui_gfx_switches.h
@@ -1,8 +1,8 @@
---- ui/gfx/switches.h.orig 2025-01-25 09:34:31 UTC
+--- ui/gfx/switches.h.orig 2025-09-10 13:22:16 UTC
+++ ui/gfx/switches.h
-@@ -18,7 +18,7 @@ GFX_SWITCHES_EXPORT extern const char kForcePrefersRed
- GFX_SWITCHES_EXPORT extern const char kForcePrefersNoReducedMotion[];
+@@ -19,7 +19,7 @@ GFX_SWITCHES_EXPORT extern const char kForcePrefersNoR
GFX_SWITCHES_EXPORT extern const char kHeadless[];
+ GFX_SWITCHES_EXPORT extern const char kScreenInfo[];
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn b/www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn
deleted file mode 100644
index 40c6a58c5579..000000000000
--- a/www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn
+++ /dev/null
@@ -1,26 +0,0 @@
---- ui/gl/BUILD.gn.orig 2025-05-06 12:23:00 UTC
-+++ ui/gl/BUILD.gn
-@@ -174,7 +174,6 @@ component("gl") {
- public_deps = [
- ":gl_enums",
- "//base",
-- "//third_party/mesa_headers",
- "//ui/events/platform",
- "//ui/gfx",
- "//ui/gfx/geometry",
-@@ -328,7 +327,6 @@ component("gl") {
- data_deps += [
- "//third_party/angle:libEGL",
- "//third_party/angle:libGLESv2",
-- "//third_party/mesa_headers",
- ]
- if (enable_swiftshader) {
- data_deps += [
-@@ -554,7 +552,6 @@ test("gl_unittests") {
-
- data_deps = [
- "//testing/buildbot/filters:gl_unittests_filters",
-- "//third_party/mesa_headers",
- ]
-
- if (is_win) {
diff --git a/www/ungoogled-chromium/files/patch-ui_gl_gl__context.cc b/www/ungoogled-chromium/files/patch-ui_gl_gl__context.cc
index 960b48056786..141cfbe975bc 100644
--- a/www/ungoogled-chromium/files/patch-ui_gl_gl__context.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gl_gl__context.cc
@@ -1,6 +1,15 @@
---- ui/gl/gl_context.cc.orig 2025-01-25 09:34:31 UTC
+--- ui/gl/gl_context.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gl/gl_context.cc
-@@ -516,7 +516,7 @@ bool GLContext::MakeVirtuallyCurrent(
+@@ -159,7 +159,7 @@ bool GLContext::MakeCurrent(GLSurface* surface) {
+ recorded_max_gles_version_if_feasible = true;
+ }
+ #elif (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN))
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD))
+ static bool recorded_emulated_gles_version = false;
+ if (!recorded_emulated_gles_version) {
+ base::UmaHistogramBoolean("GPU.ANGLECanEmulateGLES3",
+@@ -526,7 +526,7 @@ bool GLContext::MakeVirtuallyCurrent(
DCHECK(virtual_context->IsCurrent(surface));
if (switched_real_contexts || virtual_context != current_virtual_context_) {
diff --git a/www/ungoogled-chromium/files/patch-ui_gl_gl__fence.cc b/www/ungoogled-chromium/files/patch-ui_gl_gl__fence.cc
index 04f0979293c1..3348da464cf0 100644
--- a/www/ungoogled-chromium/files/patch-ui_gl_gl__fence.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gl_gl__fence.cc
@@ -1,6 +1,6 @@
---- ui/gl/gl_fence.cc.orig 2024-08-26 14:40:28 UTC
+--- ui/gl/gl_fence.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gl/gl_fence.cc
-@@ -17,7 +17,7 @@
+@@ -18,7 +18,7 @@
#include "ui/gl/gl_surface_egl.h"
#include "ui/gl/gl_version_info.h"
diff --git a/www/ungoogled-chromium/files/patch-ui_gl_gl__implementation.cc b/www/ungoogled-chromium/files/patch-ui_gl_gl__implementation.cc
index b4083842deb7..b68d5a0ca421 100644
--- a/www/ungoogled-chromium/files/patch-ui_gl_gl__implementation.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gl_gl__implementation.cc
@@ -1,6 +1,6 @@
---- ui/gl/gl_implementation.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/gl/gl_implementation.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gl/gl_implementation.cc
-@@ -286,7 +286,7 @@ GetRequestedGLImplementationFromCommandLine(
+@@ -304,7 +304,7 @@ GetRequestedGLImplementationFromCommandLine(
const base::CommandLine* command_line) {
bool overrideUseSoftwareGL =
command_line->HasSwitch(switches::kOverrideUseSoftwareGLForTests);
diff --git a/www/ungoogled-chromium/files/patch-ui_gl_gl__switches.cc b/www/ungoogled-chromium/files/patch-ui_gl_gl__switches.cc
index 01c054e2df5e..6a720f6c5c7a 100644
--- a/www/ungoogled-chromium/files/patch-ui_gl_gl__switches.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gl_gl__switches.cc
@@ -1,24 +1,24 @@
---- ui/gl/gl_switches.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/gl/gl_switches.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gl/gl_switches.cc
-@@ -13,7 +13,7 @@
- #include "base/android/build_info.h"
+@@ -15,7 +15,7 @@
#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(ENABLE_VULKAN) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
#include <vulkan/vulkan_core.h>
#include "third_party/angle/src/gpu_info_util/SystemInfo.h" // nogncheck
- #endif
-@@ -319,7 +319,7 @@ bool IsDefaultANGLEVulkan() {
- return false;
+ #endif // BUILDFLAG(ENABLE_VULKAN) && (BUILDFLAG(IS_LINUX) ||
+@@ -328,7 +328,7 @@ bool IsDefaultANGLEVulkan() {
}
#endif // BUILDFLAG(IS_ANDROID)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(ENABLE_VULKAN) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
angle::SystemInfo system_info;
{
- GPU_STARTUP_TRACE_EVENT("angle::GetSystemInfoVulkan");
-@@ -388,7 +388,7 @@ bool IsDefaultANGLEVulkan() {
+ TRACE_EVENT("gpu,startup", "angle::GetSystemInfoVulkan");
+@@ -410,7 +410,7 @@ bool IsDefaultANGLEVulkan() {
}
#endif // BUILDFLAG(IS_ANDROID)
diff --git a/www/ungoogled-chromium/files/patch-ui_gtk_gtk__compat.cc b/www/ungoogled-chromium/files/patch-ui_gtk_gtk__compat.cc
index 27079dba2e62..4babcad77294 100644
--- a/www/ungoogled-chromium/files/patch-ui_gtk_gtk__compat.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gtk_gtk__compat.cc
@@ -1,6 +1,6 @@
---- ui/gtk/gtk_compat.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/gtk/gtk_compat.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gtk/gtk_compat.cc
-@@ -65,27 +65,47 @@ auto DlCast(void* symbol) {
+@@ -64,27 +64,47 @@ auto DlCast(void* symbol) {
}
void* GetLibGio() {
diff --git a/www/ungoogled-chromium/files/patch-ui_gtk_printing_print__dialog__gtk.cc b/www/ungoogled-chromium/files/patch-ui_gtk_printing_print__dialog__gtk.cc
index 5e2c11a6b43c..e55de7e5b8b6 100644
--- a/www/ungoogled-chromium/files/patch-ui_gtk_printing_print__dialog__gtk.cc
+++ b/www/ungoogled-chromium/files/patch-ui_gtk_printing_print__dialog__gtk.cc
@@ -1,6 +1,6 @@
---- ui/gtk/printing/print_dialog_gtk.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/gtk/printing/print_dialog_gtk.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/gtk/printing/print_dialog_gtk.cc
-@@ -456,7 +456,7 @@ void PrintDialogGtk::ShowDialog(
+@@ -446,7 +446,7 @@ void PrintDialogGtk::ShowDialog(
GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>(
GTK_PRINT_CAPABILITY_GENERATE_PDF | GTK_PRINT_CAPABILITY_PAGE_SET |
GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE |
diff --git a/www/ungoogled-chromium/files/patch-ui_message__center_views_message__popup__view.cc b/www/ungoogled-chromium/files/patch-ui_message__center_views_message__popup__view.cc
index d7dd2e1efa88..e51bd3fef883 100644
--- a/www/ungoogled-chromium/files/patch-ui_message__center_views_message__popup__view.cc
+++ b/www/ungoogled-chromium/files/patch-ui_message__center_views_message__popup__view.cc
@@ -1,6 +1,6 @@
---- ui/message_center/views/message_popup_view.cc.orig 2025-01-25 09:34:31 UTC
+--- ui/message_center/views/message_popup_view.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/message_center/views/message_popup_view.cc
-@@ -153,7 +153,7 @@ std::unique_ptr<views::Widget> MessagePopupView::Show(
+@@ -164,7 +164,7 @@ std::unique_ptr<views::Widget> MessagePopupView::Show(
views::Widget::InitParams::CLIENT_OWNS_WIDGET,
views::Widget::InitParams::TYPE_POPUP);
params.z_order = ui::ZOrderLevel::kFloatingWindow;
diff --git a/www/ungoogled-chromium/files/patch-ui_native__theme_features_native__theme__features.cc b/www/ungoogled-chromium/files/patch-ui_native__theme_features_native__theme__features.cc
index a7c97f0b75ed..e4d98d371845 100644
--- a/www/ungoogled-chromium/files/patch-ui_native__theme_features_native__theme__features.cc
+++ b/www/ungoogled-chromium/files/patch-ui_native__theme_features_native__theme__features.cc
@@ -1,6 +1,6 @@
---- ui/native_theme/features/native_theme_features.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/native_theme/features/native_theme_features.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/native_theme/features/native_theme_features.cc
-@@ -59,7 +59,7 @@ namespace ui {
+@@ -54,7 +54,7 @@ namespace ui {
bool IsFluentOverlayScrollbarEnabled() {
// Fluent scrollbars are only used for some OSes due to UI design guidelines.
@@ -9,7 +9,7 @@
return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar);
#else
return false;
-@@ -68,7 +68,7 @@ bool IsFluentOverlayScrollbarEnabled() {
+@@ -63,7 +63,7 @@ bool IsFluentOverlayScrollbarEnabled() {
bool IsFluentScrollbarEnabled() {
// Fluent scrollbars are only used for some OSes due to UI design guidelines.
diff --git a/www/ungoogled-chromium/files/patch-ui_native__theme_native__theme__base.cc b/www/ungoogled-chromium/files/patch-ui_native__theme_native__theme__base.cc
index 676224a4fd06..9a124e3ea328 100644
--- a/www/ungoogled-chromium/files/patch-ui_native__theme_native__theme__base.cc
+++ b/www/ungoogled-chromium/files/patch-ui_native__theme_native__theme__base.cc
@@ -1,6 +1,6 @@
---- ui/native_theme/native_theme_base.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/native_theme/native_theme_base.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/native_theme/native_theme_base.cc
-@@ -240,7 +240,7 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas,
+@@ -242,7 +242,7 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas,
std::get<ButtonExtraParams>(extra), color_scheme,
accent_color_opaque);
break;
diff --git a/www/ungoogled-chromium/files/patch-ui_ozone_common_egl__util.cc b/www/ungoogled-chromium/files/patch-ui_ozone_common_egl__util.cc
index ace71b76a4bc..779077c0046d 100644
--- a/www/ungoogled-chromium/files/patch-ui_ozone_common_egl__util.cc
+++ b/www/ungoogled-chromium/files/patch-ui_ozone_common_egl__util.cc
@@ -1,6 +1,6 @@
---- ui/ozone/common/egl_util.cc.orig 2025-02-20 09:59:21 UTC
+--- ui/ozone/common/egl_util.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/ozone/common/egl_util.cc
-@@ -27,9 +27,9 @@ const base::FilePath::CharType kDefaultGlesSoname[] =
+@@ -35,9 +35,9 @@ const base::FilePath::CharType kDefaultGlesSoname[] =
FILE_PATH_LITERAL("libGLESv2.so");
#else // BUILDFLAG(IS_FUCHSIA)
const base::FilePath::CharType kDefaultEglSoname[] =
@@ -10,5 +10,5 @@
- FILE_PATH_LITERAL("libGLESv2.so.2");
+ FILE_PATH_LITERAL("libGLESv2.so");
#endif
+ #if !BUILDFLAG(USE_STATIC_ANGLE)
const base::FilePath::CharType kAngleEglSoname[] =
- FILE_PATH_LITERAL("libEGL.so");
diff --git a/www/ungoogled-chromium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc b/www/ungoogled-chromium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc
index 35f38eb5ec0c..262af667d936 100644
--- a/www/ungoogled-chromium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc
+++ b/www/ungoogled-chromium/files/patch-ui_ozone_platform_headless_vulkan__implementation__headless.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/headless/vulkan_implementation_headless.cc.orig 2025-01-25 09:34:31 UTC
+--- ui/ozone/platform/headless/vulkan_implementation_headless.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/ozone/platform/headless/vulkan_implementation_headless.cc
-@@ -116,7 +116,7 @@ VulkanImplementationHeadless::ExportVkFenceToGpuFence(
+@@ -117,7 +117,7 @@ VulkanImplementationHeadless::ExportVkFenceToGpuFence(
VkExternalSemaphoreHandleTypeFlagBits
VulkanImplementationHeadless::GetExternalSemaphoreHandleType() {
@@ -9,7 +9,7 @@
return VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT;
#else
return VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT;
-@@ -126,7 +126,7 @@ VulkanImplementationHeadless::GetExternalSemaphoreHand
+@@ -127,7 +127,7 @@ VulkanImplementationHeadless::GetExternalSemaphoreHand
bool VulkanImplementationHeadless::CanImportGpuMemoryBuffer(
gpu::VulkanDeviceQueue* device_queue,
gfx::GpuMemoryBufferType memory_buffer_type) {
@@ -18,12 +18,12 @@
const auto& enabled_extensions = device_queue->enabled_extensions();
return gfx::HasExtension(enabled_extensions,
VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME) &&
-@@ -149,7 +149,7 @@ VulkanImplementationHeadless::CreateImageFromGpuMemory
+@@ -150,7 +150,7 @@ VulkanImplementationHeadless::CreateImageFromGpuMemory
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT |
VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT;
auto tiling = VK_IMAGE_TILING_OPTIMAL;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (gmb_handle.native_pixmap_handle.modifier !=
+ if (gmb_handle.native_pixmap_handle().modifier !=
gfx::NativePixmapHandle::kNoModifier) {
tiling = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT;
diff --git a/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc b/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc
index f344c475e8ec..5c54ea3349c8 100644
--- a/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc
+++ b/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_common_wayland__util.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/wayland/common/wayland_util.cc.orig 2025-04-15 08:30:07 UTC
+--- ui/ozone/platform/wayland/common/wayland_util.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/ozone/platform/wayland/common/wayland_util.cc
-@@ -424,6 +424,7 @@ void RecordConnectionMetrics(wl_display* display) {
+@@ -421,6 +421,7 @@ void RecordConnectionMetrics(wl_display* display) {
{"weston", WaylandCompositor::kWeston},
};
@@ -8,7 +8,7 @@
const int fd = wl_display_get_fd(display);
if (fd == -1) {
return WaylandCompositor::kUnknown;
-@@ -449,6 +450,7 @@ void RecordConnectionMetrics(wl_display* display) {
+@@ -446,6 +447,7 @@ void RecordConnectionMetrics(wl_display* display) {
return compositor;
}
}
diff --git a/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc b/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc
index 564e8a335dd4..b86122ecc49f 100644
--- a/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc
+++ b/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc.orig 2022-10-01 07:40:07 UTC
+--- ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc
-@@ -38,7 +38,11 @@ bool VulkanImplementationWayland::InitializeVulkanInst
+@@ -39,7 +39,11 @@ bool VulkanImplementationWayland::InitializeVulkanInst
path = path.Append("libvk_swiftshader.so");
} else {
diff --git a/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc b/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
index e106ca3408e3..2a31658a9e29 100644
--- a/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
+++ b/www/ungoogled-chromium/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig 2025-05-13 08:59:54 UTC
+--- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/ozone/platform/wayland/host/wayland_frame_manager.cc
-@@ -461,8 +461,10 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
+@@ -460,8 +460,10 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
surface->UpdateBufferDamageRegion(
gfx::ToEnclosingRectIgnoringError(surface_damage));
diff --git a/www/ungoogled-chromium/files/patch-ui_ozone_platform_x11_x11__window.cc b/www/ungoogled-chromium/files/patch-ui_ozone_platform_x11_x11__window.cc
index f59b32b50b5b..b49c8ddf35e4 100644
--- a/www/ungoogled-chromium/files/patch-ui_ozone_platform_x11_x11__window.cc
+++ b/www/ungoogled-chromium/files/patch-ui_ozone_platform_x11_x11__window.cc
@@ -1,6 +1,6 @@
---- ui/ozone/platform/x11/x11_window.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/ozone/platform/x11/x11_window.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/ozone/platform/x11/x11_window.cc
-@@ -1459,7 +1459,7 @@ void X11Window::OnXWindowStateChanged() {
+@@ -1508,7 +1508,7 @@ void X11Window::OnXWindowStateChanged() {
WindowTiledEdges tiled_state = GetTiledState();
if (tiled_state != tiled_state_) {
tiled_state_ = tiled_state;
diff --git a/www/ungoogled-chromium/files/patch-ui_views_BUILD.gn b/www/ungoogled-chromium/files/patch-ui_views_BUILD.gn
index fe355765eb83..037dab531b57 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-ui_views_BUILD.gn
@@ -1,8 +1,8 @@
---- ui/views/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- ui/views/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ ui/views/BUILD.gn
-@@ -833,7 +833,6 @@ component("views") {
- sources += [ "accessibility/widget_ax_tree_id_map.cc" ]
- }
+@@ -835,7 +835,6 @@ component("views") {
+ "windows_stationarity_monitor_aura.cc",
+ ]
deps += [
- "//components/crash/core/common:crash_key",
"//ui/aura",
diff --git a/www/ungoogled-chromium/files/patch-ui_views_controls_prefix__selector.cc b/www/ungoogled-chromium/files/patch-ui_views_controls_prefix__selector.cc
index f47eb7027107..88986ca13a70 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_controls_prefix__selector.cc
+++ b/www/ungoogled-chromium/files/patch-ui_views_controls_prefix__selector.cc
@@ -1,6 +1,6 @@
---- ui/views/controls/prefix_selector.cc.orig 2025-01-25 09:34:31 UTC
+--- ui/views/controls/prefix_selector.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/views/controls/prefix_selector.cc
-@@ -192,7 +192,7 @@ bool PrefixSelector::ShouldDoLearning() {
+@@ -193,7 +193,7 @@ bool PrefixSelector::ShouldDoLearning() {
return false;
}
diff --git a/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc b/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc
index accd6c4d10ce..15e7fade43b3 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc
+++ b/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.cc
@@ -1,6 +1,6 @@
---- ui/views/controls/textfield/textfield.cc.orig 2025-05-06 12:23:00 UTC
+--- ui/views/controls/textfield/textfield.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/views/controls/textfield/textfield.cc
-@@ -87,7 +87,7 @@
+@@ -86,7 +86,7 @@
#include "base/win/win_util.h"
#endif
@@ -9,7 +9,7 @@
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/text_input_flags.h"
#include "ui/linux/linux_ui.h"
-@@ -184,7 +184,7 @@ bool IsControlKeyModifier(int flags) {
+@@ -183,7 +183,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
@@ -36,7 +36,7 @@
// Skip any accelerator handling that conflicts with custom keybindings.
if (auto* linux_ui = ui::LinuxUi::instance()) {
if (IsTextEditCommandEnabled(linux_ui->GetTextEditCommandForEvent(
-@@ -2062,7 +2062,7 @@ bool Textfield::ShouldDoLearning() {
+@@ -2065,7 +2065,7 @@ bool Textfield::ShouldDoLearning() {
return false;
}
@@ -45,7 +45,7 @@
// TODO(crbug.com/41452689): Implement this method to support Korean IME
// reconversion feature on native text fields (e.g. find bar).
bool Textfield::SetCompositionFromExistingText(
-@@ -2580,7 +2580,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
+@@ -2581,7 +2581,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
#endif
return ui::TextEditCommand::DELETE_BACKWARD;
}
@@ -54,7 +54,7 @@
// Only erase by line break on Linux and ChromeOS.
if (shift) {
return ui::TextEditCommand::DELETE_TO_BEGINNING_OF_LINE;
-@@ -2588,7 +2588,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
+@@ -2589,7 +2589,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
#endif
return ui::TextEditCommand::DELETE_WORD_BACKWARD;
case ui::VKEY_DELETE:
diff --git a/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.h b/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.h
index 78b09db1bdca..5ea1654c0ab0 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.h
+++ b/www/ungoogled-chromium/files/patch-ui_views_controls_textfield_textfield.h
@@ -1,4 +1,4 @@
---- ui/views/controls/textfield/textfield.h.orig 2025-04-15 08:30:07 UTC
+--- ui/views/controls/textfield/textfield.h.orig 2025-09-10 13:22:16 UTC
+++ ui/views/controls/textfield/textfield.h
@@ -48,7 +48,7 @@
#include "ui/views/view_observer.h"
@@ -9,7 +9,7 @@
#include <vector>
#endif
-@@ -475,7 +475,7 @@ class VIEWS_EXPORT Textfield : public View,
+@@ -478,7 +478,7 @@ class VIEWS_EXPORT Textfield : public View,
// Set whether the text should be used to improve typing suggestions.
void SetShouldDoLearning(bool value) { should_do_learning_ = value; }
diff --git a/www/ungoogled-chromium/files/patch-ui_views_corewm_tooltip__aura.cc b/www/ungoogled-chromium/files/patch-ui_views_corewm_tooltip__aura.cc
deleted file mode 100644
index c3eb92b1b7f7..000000000000
--- a/www/ungoogled-chromium/files/patch-ui_views_corewm_tooltip__aura.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/views/corewm/tooltip_aura.cc.orig 2025-05-06 12:23:00 UTC
-+++ ui/views/corewm/tooltip_aura.cc
-@@ -42,7 +42,7 @@ static constexpr int kTooltipMaxWidth = 800;
-
- // TODO(varkha): Update if native widget can be transparent on Linux.
- bool CanUseTranslucentTooltipWidget() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- return false;
- #else
- return true;
diff --git a/www/ungoogled-chromium/files/patch-ui_views_views__delegate.cc b/www/ungoogled-chromium/files/patch-ui_views_views__delegate.cc
index d546e86d02a9..b3dd9c25a5ec 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_views__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-ui_views_views__delegate.cc
@@ -1,6 +1,6 @@
---- ui/views/views_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/views/views_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/views/views_delegate.cc
-@@ -91,7 +91,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow
+@@ -92,7 +92,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow
return false;
}
#elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \
diff --git a/www/ungoogled-chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/www/ungoogled-chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc
index 5b1c0f92f77e..a09b9929730c 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc
+++ b/www/ungoogled-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 2025-05-31 17:16:41 UTC
+--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
-@@ -50,7 +50,7 @@
+@@ -51,7 +51,7 @@
#include "ui/wm/core/window_util.h"
#include "ui/wm/public/window_move_client.h"
@@ -9,7 +9,7 @@
#include "ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h"
#endif
-@@ -356,7 +356,7 @@ std::unique_ptr<aura::client::DragDropClient>
+@@ -358,7 +358,7 @@ std::unique_ptr<aura::client::DragDropClient>
DesktopWindowTreeHostPlatform::CreateDragDropClient() {
ui::WmDragHandler* drag_handler = ui::GetWmDragHandler(*(platform_window()));
std::unique_ptr<DesktopDragDropClientOzone> drag_drop_client =
@@ -18,7 +18,7 @@
std::make_unique<DesktopDragDropClientOzoneLinux>(window(), drag_handler);
#else
std::make_unique<DesktopDragDropClientOzone>(window(), drag_handler);
-@@ -1188,7 +1188,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg
+@@ -1190,7 +1190,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg
// DesktopWindowTreeHost:
// Linux subclasses this host and adds some Linux specific bits.
diff --git a/www/ungoogled-chromium/files/patch-ui_views_widget_widget.cc b/www/ungoogled-chromium/files/patch-ui_views_widget_widget.cc
index 0321c68eb909..f6eee35e3e82 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_widget_widget.cc
+++ b/www/ungoogled-chromium/files/patch-ui_views_widget_widget.cc
@@ -1,7 +1,7 @@
---- ui/views/widget/widget.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/views/widget/widget.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/views/widget/widget.cc
@@ -63,7 +63,7 @@
- #include "ui/views/window/custom_frame_view.h"
+ #include "ui/views/widget/widget_removals_observer.h"
#include "ui/views/window/dialog_delegate.h"
-#if BUILDFLAG(IS_LINUX)
@@ -9,7 +9,7 @@
#include "ui/linux/linux_ui.h"
#endif
-@@ -2464,7 +2464,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const
+@@ -2498,7 +2498,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const
return parent_->GetNativeTheme();
}
diff --git a/www/ungoogled-chromium/files/patch-ui_views_widget_widget.h b/www/ungoogled-chromium/files/patch-ui_views_widget_widget.h
index 1865a479d173..1dd84d870b0d 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_widget_widget.h
+++ b/www/ungoogled-chromium/files/patch-ui_views_widget_widget.h
@@ -1,6 +1,6 @@
---- ui/views/widget/widget.h.orig 2025-05-06 12:23:00 UTC
+--- ui/views/widget/widget.h.orig 2025-09-10 13:22:16 UTC
+++ ui/views/widget/widget.h
-@@ -487,7 +487,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid
+@@ -493,7 +493,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid
bool force_system_menu_for_frameless = false;
#endif // BUILDFLAG(IS_WIN)
diff --git a/www/ungoogled-chromium/files/patch-ui_views_window_custom__frame__view.cc b/www/ungoogled-chromium/files/patch-ui_views_window_custom__frame__view.cc
deleted file mode 100644
index e192f3a0a945..000000000000
--- a/www/ungoogled-chromium/files/patch-ui_views_window_custom__frame__view.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- ui/views/window/custom_frame_view.cc.orig 2025-02-20 09:59:21 UTC
-+++ ui/views/window/custom_frame_view.cc
-@@ -279,7 +279,7 @@ int CustomFrameView::NonClientTopBorderHeight() const
- int CustomFrameView::CaptionButtonY() const {
- // Maximized buttons start at window top so that even if their images aren't
- // drawn flush with the screen edge, they still obey Fitts' Law.
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return FrameBorderThickness();
- #else
- return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
diff --git a/www/ungoogled-chromium/files/patch-ui_views_window_default__frame__view.cc b/www/ungoogled-chromium/files/patch-ui_views_window_default__frame__view.cc
new file mode 100644
index 000000000000..c1bbf49c3f5c
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-ui_views_window_default__frame__view.cc
@@ -0,0 +1,11 @@
+--- ui/views/window/default_frame_view.cc.orig 2025-09-10 13:22:16 UTC
++++ ui/views/window/default_frame_view.cc
+@@ -285,7 +285,7 @@ int DefaultFrameView::NonClientTopBorderHeight() const
+ int DefaultFrameView::CaptionButtonY() const {
+ // Maximized buttons start at window top so that even if their images aren't
+ // drawn flush with the screen edge, they still obey Fitts' Law.
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return FrameBorderThickness();
+ #else
+ return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
diff --git a/www/ungoogled-chromium/files/patch-ui_views_window_dialog__delegate.cc b/www/ungoogled-chromium/files/patch-ui_views_window_dialog__delegate.cc
index 3085517f6a00..076b3b18836f 100644
--- a/www/ungoogled-chromium/files/patch-ui_views_window_dialog__delegate.cc
+++ b/www/ungoogled-chromium/files/patch-ui_views_window_dialog__delegate.cc
@@ -1,6 +1,6 @@
---- ui/views/window/dialog_delegate.cc.orig 2025-05-31 17:16:41 UTC
+--- ui/views/window/dialog_delegate.cc.orig 2025-09-10 13:22:16 UTC
+++ ui/views/window/dialog_delegate.cc
-@@ -107,7 +107,7 @@ Widget* DialogDelegate::CreateDialogWidget(
+@@ -108,7 +108,7 @@ Widget* DialogDelegate::CreateDialogWidget(
// static
bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) {
diff --git a/www/ungoogled-chromium/files/patch-v8_BUILD.gn b/www/ungoogled-chromium/files/patch-v8_BUILD.gn
index b6d26d60abce..bf8c7342ae10 100644
--- a/www/ungoogled-chromium/files/patch-v8_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-v8_BUILD.gn
@@ -1,6 +1,6 @@
---- v8/BUILD.gn.orig 2025-05-31 17:16:41 UTC
+--- v8/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+++ v8/BUILD.gn
-@@ -999,6 +999,8 @@ external_v8_defines = [
+@@ -976,6 +976,8 @@ external_v8_defines = [
"V8_TARGET_OS_MACOS",
"V8_TARGET_OS_WIN",
"V8_TARGET_OS_CHROMEOS",
@@ -9,7 +9,7 @@
]
enabled_external_v8_defines = [
-@@ -1075,6 +1077,12 @@ if (target_os == "android") {
+@@ -1050,6 +1052,12 @@ if (target_os == "android") {
} else if (target_os == "chromeos") {
enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ]
enabled_external_v8_defines += [ "V8_TARGET_OS_CHROMEOS" ]
@@ -22,7 +22,7 @@
}
disabled_external_v8_defines = external_v8_defines - enabled_external_v8_defines
-@@ -2545,6 +2553,12 @@ template("run_mksnapshot") {
+@@ -2574,6 +2582,12 @@ template("run_mksnapshot") {
if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) {
args += [ "--reorder-builtins" ]
}
@@ -34,8 +34,8 @@
+ }
}
- if (v8_enable_turboshaft_csa) {
-@@ -6658,7 +6672,7 @@ v8_component("v8_libbase") {
+ # This is needed to distinguish between generating code for the simulator
+@@ -6770,7 +6784,7 @@ v8_component("v8_libbase") {
}
}
@@ -44,7 +44,7 @@
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
-@@ -6669,6 +6683,18 @@ v8_component("v8_libbase") {
+@@ -6781,6 +6795,18 @@ v8_component("v8_libbase") {
"dl",
"rt",
]
diff --git a/www/ungoogled-chromium/files/patch-v8_include_v8config.h b/www/ungoogled-chromium/files/patch-v8_include_v8config.h
index ea1a9ae03cd1..c1c958976487 100644
--- a/www/ungoogled-chromium/files/patch-v8_include_v8config.h
+++ b/www/ungoogled-chromium/files/patch-v8_include_v8config.h
@@ -1,24 +1,24 @@
---- v8/include/v8config.h.orig 2025-05-06 12:23:00 UTC
+--- v8/include/v8config.h.orig 2025-09-10 13:22:16 UTC
+++ v8/include/v8config.h
-@@ -201,6 +201,8 @@ path. Add it with -I<path> to the command line
- && !defined(V8_TARGET_OS_FUCHSIA) \
+@@ -207,6 +207,8 @@ path. Add it with -I<path> to the command line
&& !defined(V8_TARGET_OS_IOS) \
+ && !defined(V8_TARGET_OS_TVOS) \
&& !defined(V8_TARGET_OS_LINUX) \
+ && !defined(V8_TARGET_OS_OPENBSD) \
+ && !defined(V8_TARGET_OS_FREEBSD) \
&& !defined(V8_TARGET_OS_MACOS) \
&& !defined(V8_TARGET_OS_WIN) \
&& !defined(V8_TARGET_OS_CHROMEOS)
-@@ -213,6 +215,8 @@ path. Add it with -I<path> to the command line
- || defined(V8_TARGET_OS_FUCHSIA) \
+@@ -220,6 +222,8 @@ path. Add it with -I<path> to the command line
|| defined(V8_TARGET_OS_IOS) \
+ || defined(V8_TARGET_OS_TVOS) \
|| defined(V8_TARGET_OS_LINUX) \
+ || defined(V8_TARGET_OS_OPENBSD) \
+ || defined(V8_TARGET_OS_FREEBSD) \
|| defined(V8_TARGET_OS_MACOS) \
|| defined(V8_TARGET_OS_WIN) \
|| defined(V8_TARGET_OS_CHROMEOS)
-@@ -236,6 +240,16 @@ path. Add it with -I<path> to the command line
+@@ -247,6 +251,16 @@ path. Add it with -I<path> to the command line
# define V8_TARGET_OS_LINUX
#endif
@@ -35,7 +35,7 @@
#ifdef V8_OS_MACOS
# define V8_TARGET_OS_MACOS
#endif
-@@ -383,6 +397,7 @@ path. Add it with -I<path> to the command line
+@@ -395,6 +409,7 @@ path. Add it with -I<path> to the command line
#if (defined(_M_X64) || defined(__x86_64__) /* x64 (everywhere) */ \
|| ((defined(__AARCH64EL__) || defined(_M_ARM64)) /* arm64, but ... */ \
&& !defined(_WIN32))) /* not on windows */ \
diff --git a/www/ungoogled-chromium/files/patch-v8_src_api_api.cc b/www/ungoogled-chromium/files/patch-v8_src_api_api.cc
index 5e74d0d774c7..6dbe8d29ae81 100644
--- a/www/ungoogled-chromium/files/patch-v8_src_api_api.cc
+++ b/www/ungoogled-chromium/files/patch-v8_src_api_api.cc
@@ -1,6 +1,6 @@
---- v8/src/api/api.cc.orig 2025-05-31 17:16:41 UTC
+--- v8/src/api/api.cc.orig 2025-09-10 13:22:16 UTC
+++ v8/src/api/api.cc
-@@ -158,7 +158,7 @@
+@@ -159,7 +159,7 @@
#include "src/objects/intl-objects.h"
#endif // V8_INTL_SUPPORT
@@ -9,7 +9,7 @@
#include <signal.h>
#include <unistd.h>
-@@ -6472,7 +6472,7 @@ bool v8::V8::Initialize(const int build_config) {
+@@ -6454,7 +6454,7 @@ bool v8::V8::Initialize(const int build_config) {
return true;
}
diff --git a/www/ungoogled-chromium/files/patch-v8_src_base_platform_platform-posix.cc b/www/ungoogled-chromium/files/patch-v8_src_base_platform_platform-posix.cc
index 21e9c0934722..8add409420f4 100644
--- a/www/ungoogled-chromium/files/patch-v8_src_base_platform_platform-posix.cc
+++ b/www/ungoogled-chromium/files/patch-v8_src_base_platform_platform-posix.cc
@@ -1,6 +1,6 @@
---- v8/src/base/platform/platform-posix.cc.orig 2025-04-15 08:30:07 UTC
+--- v8/src/base/platform/platform-posix.cc.orig 2025-09-10 13:22:16 UTC
+++ v8/src/base/platform/platform-posix.cc
-@@ -76,7 +76,7 @@
+@@ -78,7 +78,7 @@
#include <sys/syscall.h>
#endif
@@ -9,7 +9,7 @@
#define MAP_ANONYMOUS MAP_ANON
#endif
-@@ -315,8 +315,15 @@ void OS::SetRandomMmapSeed(int64_t seed) {
+@@ -353,8 +353,15 @@ void OS::SetRandomMmapSeed(int64_t seed) {
}
}
@@ -25,7 +25,7 @@
uintptr_t raw_addr;
{
MutexGuard guard(rng_mutex.Pointer());
-@@ -413,6 +420,7 @@ void* OS::GetRandomMmapAddr() {
+@@ -451,6 +458,7 @@ void* OS::GetRandomMmapAddr() {
#endif
return reinterpret_cast<void*>(raw_addr);
}
@@ -33,7 +33,7 @@
// TODO(bbudge) Move Cygwin and Fuchsia stuff into platform-specific files.
#if !V8_OS_CYGWIN && !V8_OS_FUCHSIA
-@@ -701,7 +709,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor
+@@ -739,7 +747,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor
#if !V8_OS_ZOS
// static
bool OS::HasLazyCommits() {
@@ -42,7 +42,7 @@
return true;
#else
// TODO(bbudge) Return true for all POSIX platforms.
-@@ -1346,7 +1354,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void*
+@@ -1388,7 +1396,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void*
// keep this version in POSIX as most Linux-compatible derivatives will
// support it. MacOS and FreeBSD are different here.
#if !defined(V8_OS_FREEBSD) && !defined(V8_OS_DARWIN) && !defined(_AIX) && \
diff --git a/www/ungoogled-chromium/files/patch-v8_src_execution_isolate.cc b/www/ungoogled-chromium/files/patch-v8_src_execution_isolate.cc
index c95284918686..e162b12be106 100644
--- a/www/ungoogled-chromium/files/patch-v8_src_execution_isolate.cc
+++ b/www/ungoogled-chromium/files/patch-v8_src_execution_isolate.cc
@@ -1,6 +1,6 @@
---- v8/src/execution/isolate.cc.orig 2025-05-31 17:16:41 UTC
+--- v8/src/execution/isolate.cc.orig 2025-09-10 13:22:16 UTC
+++ v8/src/execution/isolate.cc
-@@ -173,6 +173,10 @@
+@@ -174,6 +174,10 @@
#include "src/execution/simulator-base.h"
#endif
@@ -11,7 +11,7 @@
extern "C" const uint8_t v8_Default_embedded_blob_code_[];
extern "C" uint32_t v8_Default_embedded_blob_code_size_;
extern "C" const uint8_t v8_Default_embedded_blob_data_[];
-@@ -5110,6 +5114,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() {
+@@ -5223,6 +5227,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() {
uint32_t code_size = DefaultEmbeddedBlobCodeSize();
const uint8_t* data = DefaultEmbeddedBlobData();
uint32_t data_size = DefaultEmbeddedBlobDataSize();
diff --git a/www/ungoogled-chromium/files/patch-v8_src_flags_flags.cc b/www/ungoogled-chromium/files/patch-v8_src_flags_flags.cc
index 9c3101c04cfc..78e80a306bbd 100644
--- a/www/ungoogled-chromium/files/patch-v8_src_flags_flags.cc
+++ b/www/ungoogled-chromium/files/patch-v8_src_flags_flags.cc
@@ -1,4 +1,4 @@
---- v8/src/flags/flags.cc.orig 2025-03-09 21:38:10 UTC
+--- v8/src/flags/flags.cc.orig 2025-09-10 13:22:16 UTC
+++ v8/src/flags/flags.cc
@@ -16,6 +16,10 @@
#include <set>
@@ -8,10 +8,10 @@
+#include <sys/mman.h>
+#endif
+
+ #include "src/base/fpu.h"
#include "src/base/hashing.h"
#include "src/base/lazy-instance.h"
- #include "src/base/platform/platform.h"
-@@ -823,6 +827,10 @@ void FlagList::FreezeFlags() {
+@@ -827,6 +831,10 @@ void FlagList::FreezeFlags() {
// Note that for string flags we only protect the pointer itself, but not the
// string storage. TODO(12887): Fix this.
base::OS::SetDataReadOnly(&v8_flags, sizeof(v8_flags));
diff --git a/www/ungoogled-chromium/files/patch-v8_src_libsampler_sampler.cc b/www/ungoogled-chromium/files/patch-v8_src_libsampler_sampler.cc
index 748d99235f5c..7a823b0d61d7 100644
--- a/www/ungoogled-chromium/files/patch-v8_src_libsampler_sampler.cc
+++ b/www/ungoogled-chromium/files/patch-v8_src_libsampler_sampler.cc
@@ -1,6 +1,6 @@
---- v8/src/libsampler/sampler.cc.orig 2025-04-15 08:30:07 UTC
+--- v8/src/libsampler/sampler.cc.orig 2025-09-10 13:22:16 UTC
+++ v8/src/libsampler/sampler.cc
-@@ -520,6 +520,16 @@ void SignalHandler::FillRegisterState(void* context, R
+@@ -527,6 +527,16 @@ void SignalHandler::FillRegisterState(void* context, R
state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
diff --git a/www/ungoogled-chromium/files/patch-v8_src_trap-handler_handler-inside-posix.cc b/www/ungoogled-chromium/files/patch-v8_src_trap-handler_handler-inside-posix.cc
index ab19b6c6662c..ec6471a43772 100644
--- a/www/ungoogled-chromium/files/patch-v8_src_trap-handler_handler-inside-posix.cc
+++ b/www/ungoogled-chromium/files/patch-v8_src_trap-handler_handler-inside-posix.cc
@@ -1,6 +1,6 @@
---- v8/src/trap-handler/handler-inside-posix.cc.orig 2024-04-23 07:42:17 UTC
+--- v8/src/trap-handler/handler-inside-posix.cc.orig 2025-09-10 13:22:16 UTC
+++ v8/src/trap-handler/handler-inside-posix.cc
-@@ -61,6 +61,8 @@ namespace trap_handler {
+@@ -62,6 +62,8 @@ namespace trap_handler {
#define CONTEXT_REG(reg, REG) &uc->uc_mcontext->__ss.__##reg
#elif V8_OS_FREEBSD
#define CONTEXT_REG(reg, REG) &uc->uc_mcontext.mc_##reg
@@ -9,7 +9,7 @@
#else
#error "Unsupported platform."
#endif
-@@ -80,8 +82,12 @@ bool IsKernelGeneratedSignal(siginfo_t* info) {
+@@ -81,8 +83,12 @@ bool IsKernelGeneratedSignal(siginfo_t* info) {
// si_code at its default of 0 for signals that don’t originate in hardware.
// The other conditions are only relevant for Linux.
return info->si_code > 0 && info->si_code != SI_USER &&
diff --git a/www/ungoogled-chromium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h b/www/ungoogled-chromium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h
deleted file mode 100644
index 7c5b8d93db06..000000000000
--- a/www/ungoogled-chromium/files/patch-v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h
+++ /dev/null
@@ -1,128 +0,0 @@
---- v8/src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h.orig 2025-05-06 12:23:00 UTC
-+++ v8/src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h
-@@ -579,7 +579,7 @@ void LiftoffAssembler::StoreTaggedPointer(Register dst
- }
-
- void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LoadType type, uint32_t* protected_load_pc,
- bool /* is_load_mem */, bool /* i64_offset */,
- bool needs_shift) {
-@@ -659,7 +659,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Regis
- }
-
- void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister src,
-+ uintptr_t offset_imm, LiftoffRegister src,
- StoreType type, LiftoffRegList pinned,
- uint32_t* protected_store_pc,
- bool /* is_store_mem */, bool /* i64_offset */) {
-@@ -738,7 +738,7 @@ void LiftoffAssembler::Store(Register dst_addr, Regist
- }
-
- void LiftoffAssembler::AtomicLoad(LiftoffRegister dst, Register src_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LoadType type, LiftoffRegList /* pinned */,
- bool /* i64_offset */) {
- if (type.value() != LoadType::kI64Load) {
-@@ -756,7 +756,7 @@ void LiftoffAssembler::AtomicLoad(LiftoffRegister dst,
- }
-
- void LiftoffAssembler::AtomicStore(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister src,
-+ uintptr_t offset_imm, LiftoffRegister src,
- StoreType type, LiftoffRegList pinned,
- bool /* i64_offset */) {
- DCHECK_LE(offset_imm, std::numeric_limits<int32_t>::max());
-@@ -826,7 +826,7 @@ enum Binop { kAdd, kSub, kAnd, kOr, kXor, kExchange };
-
- inline void AtomicAddOrSubOrExchange32(LiftoffAssembler* lasm, Binop binop,
- Register dst_addr, Register offset_reg,
-- uint32_t offset_imm,
-+ uintptr_t offset_imm,
- LiftoffRegister value,
- LiftoffRegister result, StoreType type) {
- DCHECK_EQ(value, result);
-@@ -894,7 +894,7 @@ inline void AtomicAddOrSubOrExchange32(LiftoffAssemble
- }
-
- inline void AtomicBinop32(LiftoffAssembler* lasm, Binop op, Register dst_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LiftoffRegister value, LiftoffRegister result,
- StoreType type) {
- DCHECK_EQ(value, result);
-@@ -1009,7 +1009,7 @@ inline void AtomicBinop32(LiftoffAssembler* lasm, Bino
- }
-
- inline void AtomicBinop64(LiftoffAssembler* lasm, Binop op, Register dst_addr,
-- Register offset_reg, uint32_t offset_imm,
-+ Register offset_reg, uintptr_t offset_imm,
- LiftoffRegister value, LiftoffRegister result) {
- // We need {ebx} here, which is the root register. As the root register it
- // needs special treatment. As we use {ebx} directly in the code below, we
-@@ -1105,7 +1105,7 @@ inline void AtomicBinop64(LiftoffAssembler* lasm, Bino
- } // namespace liftoff
-
- void LiftoffAssembler::AtomicAdd(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1119,7 +1119,7 @@ void LiftoffAssembler::AtomicAdd(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicSub(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1132,7 +1132,7 @@ void LiftoffAssembler::AtomicSub(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicAnd(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1146,7 +1146,7 @@ void LiftoffAssembler::AtomicAnd(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicOr(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1160,7 +1160,7 @@ void LiftoffAssembler::AtomicOr(Register dst_addr, Reg
- }
-
- void LiftoffAssembler::AtomicXor(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm, LiftoffRegister value,
-+ uintptr_t offset_imm, LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
- if (type.value() == StoreType::kI64Store) {
-@@ -1174,7 +1174,7 @@ void LiftoffAssembler::AtomicXor(Register dst_addr, Re
- }
-
- void LiftoffAssembler::AtomicExchange(Register dst_addr, Register offset_reg,
-- uint32_t offset_imm,
-+ uintptr_t offset_imm,
- LiftoffRegister value,
- LiftoffRegister result, StoreType type,
- bool /* i64_offset */) {
-@@ -1189,7 +1189,7 @@ void LiftoffAssembler::AtomicExchange(Register dst_add
- }
-
- void LiftoffAssembler::AtomicCompareExchange(
-- Register dst_addr, Register offset_reg, uint32_t offset_imm,
-+ Register dst_addr, Register offset_reg, uintptr_t offset_imm,
- LiftoffRegister expected, LiftoffRegister new_value, LiftoffRegister result,
- StoreType type, bool /* i64_offset */) {
- // We expect that the offset has already been added to {dst_addr}, and no
diff --git a/www/ungoogled-chromium/pkg-plist b/www/ungoogled-chromium/pkg-plist
index 0b62fc2db62d..f83be2ea9af7 100644
--- a/www/ungoogled-chromium/pkg-plist
+++ b/www/ungoogled-chromium/pkg-plist
@@ -10,172 +10,660 @@ bin/ungoogled-chromium
%%DATADIR%%/libvulkan.so
%%DATADIR%%/locales/af.pak
%%DATADIR%%/locales/af.pak.info
+%%DATADIR%%/locales/af_FEMININE.pak
+%%DATADIR%%/locales/af_FEMININE.pak.info
+%%DATADIR%%/locales/af_MASCULINE.pak
+%%DATADIR%%/locales/af_MASCULINE.pak.info
+%%DATADIR%%/locales/af_NEUTER.pak
+%%DATADIR%%/locales/af_NEUTER.pak.info
%%DATADIR%%/locales/am.pak
%%DATADIR%%/locales/am.pak.info
+%%DATADIR%%/locales/am_FEMININE.pak
+%%DATADIR%%/locales/am_FEMININE.pak.info
+%%DATADIR%%/locales/am_MASCULINE.pak
+%%DATADIR%%/locales/am_MASCULINE.pak.info
+%%DATADIR%%/locales/am_NEUTER.pak
+%%DATADIR%%/locales/am_NEUTER.pak.info
%%DATADIR%%/locales/ar.pak
%%DATADIR%%/locales/ar.pak.info
-%%DEBUG%%%%DATADIR%%/locales/ar-XB.pak
-%%DEBUG%%%%DATADIR%%/locales/ar-XB.pak.info
+%%DATADIR%%/locales/ar_FEMININE.pak
+%%DATADIR%%/locales/ar_FEMININE.pak.info
+%%DATADIR%%/locales/ar_MASCULINE.pak
+%%DATADIR%%/locales/ar_MASCULINE.pak.info
+%%DATADIR%%/locales/ar_NEUTER.pak
+%%DATADIR%%/locales/ar_NEUTER.pak.info
%%DATADIR%%/locales/as.pak
%%DATADIR%%/locales/as.pak.info
+%%DATADIR%%/locales/as_FEMININE.pak
+%%DATADIR%%/locales/as_FEMININE.pak.info
+%%DATADIR%%/locales/as_MASCULINE.pak
+%%DATADIR%%/locales/as_MASCULINE.pak.info
+%%DATADIR%%/locales/as_NEUTER.pak
+%%DATADIR%%/locales/as_NEUTER.pak.info
%%DATADIR%%/locales/az.pak
%%DATADIR%%/locales/az.pak.info
+%%DATADIR%%/locales/az_FEMININE.pak
+%%DATADIR%%/locales/az_FEMININE.pak.info
+%%DATADIR%%/locales/az_MASCULINE.pak
+%%DATADIR%%/locales/az_MASCULINE.pak.info
+%%DATADIR%%/locales/az_NEUTER.pak
+%%DATADIR%%/locales/az_NEUTER.pak.info
%%DATADIR%%/locales/be.pak
%%DATADIR%%/locales/be.pak.info
+%%DATADIR%%/locales/be_FEMININE.pak
+%%DATADIR%%/locales/be_FEMININE.pak.info
+%%DATADIR%%/locales/be_MASCULINE.pak
+%%DATADIR%%/locales/be_MASCULINE.pak.info
+%%DATADIR%%/locales/be_NEUTER.pak
+%%DATADIR%%/locales/be_NEUTER.pak.info
%%DATADIR%%/locales/bg.pak
%%DATADIR%%/locales/bg.pak.info
+%%DATADIR%%/locales/bg_FEMININE.pak
+%%DATADIR%%/locales/bg_FEMININE.pak.info
+%%DATADIR%%/locales/bg_MASCULINE.pak
+%%DATADIR%%/locales/bg_MASCULINE.pak.info
+%%DATADIR%%/locales/bg_NEUTER.pak
+%%DATADIR%%/locales/bg_NEUTER.pak.info
%%DATADIR%%/locales/bn.pak
%%DATADIR%%/locales/bn.pak.info
+%%DATADIR%%/locales/bn_FEMININE.pak
+%%DATADIR%%/locales/bn_FEMININE.pak.info
+%%DATADIR%%/locales/bn_MASCULINE.pak
+%%DATADIR%%/locales/bn_MASCULINE.pak.info
+%%DATADIR%%/locales/bn_NEUTER.pak
+%%DATADIR%%/locales/bn_NEUTER.pak.info
%%DATADIR%%/locales/bs.pak
%%DATADIR%%/locales/bs.pak.info
+%%DATADIR%%/locales/bs_FEMININE.pak
+%%DATADIR%%/locales/bs_FEMININE.pak.info
+%%DATADIR%%/locales/bs_MASCULINE.pak
+%%DATADIR%%/locales/bs_MASCULINE.pak.info
+%%DATADIR%%/locales/bs_NEUTER.pak
+%%DATADIR%%/locales/bs_NEUTER.pak.info
%%DATADIR%%/locales/ca.pak
%%DATADIR%%/locales/ca.pak.info
+%%DATADIR%%/locales/ca_FEMININE.pak
+%%DATADIR%%/locales/ca_FEMININE.pak.info
+%%DATADIR%%/locales/ca_MASCULINE.pak
+%%DATADIR%%/locales/ca_MASCULINE.pak.info
+%%DATADIR%%/locales/ca_NEUTER.pak
+%%DATADIR%%/locales/ca_NEUTER.pak.info
%%DATADIR%%/locales/cs.pak
%%DATADIR%%/locales/cs.pak.info
+%%DATADIR%%/locales/cs_FEMININE.pak
+%%DATADIR%%/locales/cs_FEMININE.pak.info
+%%DATADIR%%/locales/cs_MASCULINE.pak
+%%DATADIR%%/locales/cs_MASCULINE.pak.info
+%%DATADIR%%/locales/cs_NEUTER.pak
+%%DATADIR%%/locales/cs_NEUTER.pak.info
%%DATADIR%%/locales/cy.pak
%%DATADIR%%/locales/cy.pak.info
+%%DATADIR%%/locales/cy_FEMININE.pak
+%%DATADIR%%/locales/cy_FEMININE.pak.info
+%%DATADIR%%/locales/cy_MASCULINE.pak
+%%DATADIR%%/locales/cy_MASCULINE.pak.info
+%%DATADIR%%/locales/cy_NEUTER.pak
+%%DATADIR%%/locales/cy_NEUTER.pak.info
%%DATADIR%%/locales/da.pak
%%DATADIR%%/locales/da.pak.info
+%%DATADIR%%/locales/da_FEMININE.pak
+%%DATADIR%%/locales/da_FEMININE.pak.info
+%%DATADIR%%/locales/da_MASCULINE.pak
+%%DATADIR%%/locales/da_MASCULINE.pak.info
+%%DATADIR%%/locales/da_NEUTER.pak
+%%DATADIR%%/locales/da_NEUTER.pak.info
%%DATADIR%%/locales/de.pak
%%DATADIR%%/locales/de.pak.info
+%%DATADIR%%/locales/de_FEMININE.pak
+%%DATADIR%%/locales/de_FEMININE.pak.info
+%%DATADIR%%/locales/de_MASCULINE.pak
+%%DATADIR%%/locales/de_MASCULINE.pak.info
+%%DATADIR%%/locales/de_NEUTER.pak
+%%DATADIR%%/locales/de_NEUTER.pak.info
%%DATADIR%%/locales/el.pak
%%DATADIR%%/locales/el.pak.info
+%%DATADIR%%/locales/el_FEMININE.pak
+%%DATADIR%%/locales/el_FEMININE.pak.info
+%%DATADIR%%/locales/el_MASCULINE.pak
+%%DATADIR%%/locales/el_MASCULINE.pak.info
+%%DATADIR%%/locales/el_NEUTER.pak
+%%DATADIR%%/locales/el_NEUTER.pak.info
%%DATADIR%%/locales/en-GB.pak
%%DATADIR%%/locales/en-GB.pak.info
+%%DATADIR%%/locales/en-GB_FEMININE.pak
+%%DATADIR%%/locales/en-GB_FEMININE.pak.info
+%%DATADIR%%/locales/en-GB_MASCULINE.pak
+%%DATADIR%%/locales/en-GB_MASCULINE.pak.info
+%%DATADIR%%/locales/en-GB_NEUTER.pak
+%%DATADIR%%/locales/en-GB_NEUTER.pak.info
%%DATADIR%%/locales/en-US.pak
%%DATADIR%%/locales/en-US.pak.info
-%%DEBUG%%%%DATADIR%%/locales/en-XA.pak
-%%DEBUG%%%%DATADIR%%/locales/en-XA.pak.info
+%%DATADIR%%/locales/en-US_FEMININE.pak
+%%DATADIR%%/locales/en-US_FEMININE.pak.info
+%%DATADIR%%/locales/en-US_MASCULINE.pak
+%%DATADIR%%/locales/en-US_MASCULINE.pak.info
+%%DATADIR%%/locales/en-US_NEUTER.pak
+%%DATADIR%%/locales/en-US_NEUTER.pak.info
%%DATADIR%%/locales/es-419.pak
%%DATADIR%%/locales/es-419.pak.info
+%%DATADIR%%/locales/es-419_FEMININE.pak
+%%DATADIR%%/locales/es-419_FEMININE.pak.info
+%%DATADIR%%/locales/es-419_MASCULINE.pak
+%%DATADIR%%/locales/es-419_MASCULINE.pak.info
+%%DATADIR%%/locales/es-419_NEUTER.pak
+%%DATADIR%%/locales/es-419_NEUTER.pak.info
%%DATADIR%%/locales/es.pak
%%DATADIR%%/locales/es.pak.info
+%%DATADIR%%/locales/es_FEMININE.pak
+%%DATADIR%%/locales/es_FEMININE.pak.info
+%%DATADIR%%/locales/es_MASCULINE.pak
+%%DATADIR%%/locales/es_MASCULINE.pak.info
+%%DATADIR%%/locales/es_NEUTER.pak
+%%DATADIR%%/locales/es_NEUTER.pak.info
%%DATADIR%%/locales/et.pak
%%DATADIR%%/locales/et.pak.info
+%%DATADIR%%/locales/et_FEMININE.pak
+%%DATADIR%%/locales/et_FEMININE.pak.info
+%%DATADIR%%/locales/et_MASCULINE.pak
+%%DATADIR%%/locales/et_MASCULINE.pak.info
+%%DATADIR%%/locales/et_NEUTER.pak
+%%DATADIR%%/locales/et_NEUTER.pak.info
%%DATADIR%%/locales/eu.pak
%%DATADIR%%/locales/eu.pak.info
+%%DATADIR%%/locales/eu_FEMININE.pak
+%%DATADIR%%/locales/eu_FEMININE.pak.info
+%%DATADIR%%/locales/eu_MASCULINE.pak
+%%DATADIR%%/locales/eu_MASCULINE.pak.info
+%%DATADIR%%/locales/eu_NEUTER.pak
+%%DATADIR%%/locales/eu_NEUTER.pak.info
%%DATADIR%%/locales/fa.pak
%%DATADIR%%/locales/fa.pak.info
+%%DATADIR%%/locales/fa_FEMININE.pak
+%%DATADIR%%/locales/fa_FEMININE.pak.info
+%%DATADIR%%/locales/fa_MASCULINE.pak
+%%DATADIR%%/locales/fa_MASCULINE.pak.info
+%%DATADIR%%/locales/fa_NEUTER.pak
+%%DATADIR%%/locales/fa_NEUTER.pak.info
%%DATADIR%%/locales/fi.pak
%%DATADIR%%/locales/fi.pak.info
+%%DATADIR%%/locales/fi_FEMININE.pak
+%%DATADIR%%/locales/fi_FEMININE.pak.info
+%%DATADIR%%/locales/fi_MASCULINE.pak
+%%DATADIR%%/locales/fi_MASCULINE.pak.info
+%%DATADIR%%/locales/fi_NEUTER.pak
+%%DATADIR%%/locales/fi_NEUTER.pak.info
%%DATADIR%%/locales/fil.pak
%%DATADIR%%/locales/fil.pak.info
+%%DATADIR%%/locales/fil_FEMININE.pak
+%%DATADIR%%/locales/fil_FEMININE.pak.info
+%%DATADIR%%/locales/fil_MASCULINE.pak
+%%DATADIR%%/locales/fil_MASCULINE.pak.info
+%%DATADIR%%/locales/fil_NEUTER.pak
+%%DATADIR%%/locales/fil_NEUTER.pak.info
%%DATADIR%%/locales/fr-CA.pak
%%DATADIR%%/locales/fr-CA.pak.info
+%%DATADIR%%/locales/fr-CA_FEMININE.pak
+%%DATADIR%%/locales/fr-CA_FEMININE.pak.info
+%%DATADIR%%/locales/fr-CA_MASCULINE.pak
+%%DATADIR%%/locales/fr-CA_MASCULINE.pak.info
+%%DATADIR%%/locales/fr-CA_NEUTER.pak
+%%DATADIR%%/locales/fr-CA_NEUTER.pak.info
%%DATADIR%%/locales/fr.pak
%%DATADIR%%/locales/fr.pak.info
+%%DATADIR%%/locales/fr_FEMININE.pak
+%%DATADIR%%/locales/fr_FEMININE.pak.info
+%%DATADIR%%/locales/fr_MASCULINE.pak
+%%DATADIR%%/locales/fr_MASCULINE.pak.info
+%%DATADIR%%/locales/fr_NEUTER.pak
+%%DATADIR%%/locales/fr_NEUTER.pak.info
%%DATADIR%%/locales/gl.pak
%%DATADIR%%/locales/gl.pak.info
+%%DATADIR%%/locales/gl_FEMININE.pak
+%%DATADIR%%/locales/gl_FEMININE.pak.info
+%%DATADIR%%/locales/gl_MASCULINE.pak
+%%DATADIR%%/locales/gl_MASCULINE.pak.info
+%%DATADIR%%/locales/gl_NEUTER.pak
+%%DATADIR%%/locales/gl_NEUTER.pak.info
%%DATADIR%%/locales/gu.pak
%%DATADIR%%/locales/gu.pak.info
+%%DATADIR%%/locales/gu_FEMININE.pak
+%%DATADIR%%/locales/gu_FEMININE.pak.info
+%%DATADIR%%/locales/gu_MASCULINE.pak
+%%DATADIR%%/locales/gu_MASCULINE.pak.info
+%%DATADIR%%/locales/gu_NEUTER.pak
+%%DATADIR%%/locales/gu_NEUTER.pak.info
%%DATADIR%%/locales/he.pak
%%DATADIR%%/locales/he.pak.info
+%%DATADIR%%/locales/he_FEMININE.pak
+%%DATADIR%%/locales/he_FEMININE.pak.info
+%%DATADIR%%/locales/he_MASCULINE.pak
+%%DATADIR%%/locales/he_MASCULINE.pak.info
+%%DATADIR%%/locales/he_NEUTER.pak
+%%DATADIR%%/locales/he_NEUTER.pak.info
%%DATADIR%%/locales/hi.pak
%%DATADIR%%/locales/hi.pak.info
+%%DATADIR%%/locales/hi_FEMININE.pak
+%%DATADIR%%/locales/hi_FEMININE.pak.info
+%%DATADIR%%/locales/hi_MASCULINE.pak
+%%DATADIR%%/locales/hi_MASCULINE.pak.info
+%%DATADIR%%/locales/hi_NEUTER.pak
+%%DATADIR%%/locales/hi_NEUTER.pak.info
%%DATADIR%%/locales/hr.pak
%%DATADIR%%/locales/hr.pak.info
+%%DATADIR%%/locales/hr_FEMININE.pak
+%%DATADIR%%/locales/hr_FEMININE.pak.info
+%%DATADIR%%/locales/hr_MASCULINE.pak
+%%DATADIR%%/locales/hr_MASCULINE.pak.info
+%%DATADIR%%/locales/hr_NEUTER.pak
+%%DATADIR%%/locales/hr_NEUTER.pak.info
%%DATADIR%%/locales/hu.pak
%%DATADIR%%/locales/hu.pak.info
+%%DATADIR%%/locales/hu_FEMININE.pak
+%%DATADIR%%/locales/hu_FEMININE.pak.info
+%%DATADIR%%/locales/hu_MASCULINE.pak
+%%DATADIR%%/locales/hu_MASCULINE.pak.info
+%%DATADIR%%/locales/hu_NEUTER.pak
+%%DATADIR%%/locales/hu_NEUTER.pak.info
%%DATADIR%%/locales/hy.pak
%%DATADIR%%/locales/hy.pak.info
+%%DATADIR%%/locales/hy_FEMININE.pak
+%%DATADIR%%/locales/hy_FEMININE.pak.info
+%%DATADIR%%/locales/hy_MASCULINE.pak
+%%DATADIR%%/locales/hy_MASCULINE.pak.info
+%%DATADIR%%/locales/hy_NEUTER.pak
+%%DATADIR%%/locales/hy_NEUTER.pak.info
%%DATADIR%%/locales/id.pak
%%DATADIR%%/locales/id.pak.info
+%%DATADIR%%/locales/id_FEMININE.pak
+%%DATADIR%%/locales/id_FEMININE.pak.info
+%%DATADIR%%/locales/id_MASCULINE.pak
+%%DATADIR%%/locales/id_MASCULINE.pak.info
+%%DATADIR%%/locales/id_NEUTER.pak
+%%DATADIR%%/locales/id_NEUTER.pak.info
%%DATADIR%%/locales/is.pak
%%DATADIR%%/locales/is.pak.info
+%%DATADIR%%/locales/is_FEMININE.pak
+%%DATADIR%%/locales/is_FEMININE.pak.info
+%%DATADIR%%/locales/is_MASCULINE.pak
+%%DATADIR%%/locales/is_MASCULINE.pak.info
+%%DATADIR%%/locales/is_NEUTER.pak
+%%DATADIR%%/locales/is_NEUTER.pak.info
%%DATADIR%%/locales/it.pak
%%DATADIR%%/locales/it.pak.info
+%%DATADIR%%/locales/it_FEMININE.pak
+%%DATADIR%%/locales/it_FEMININE.pak.info
+%%DATADIR%%/locales/it_MASCULINE.pak
+%%DATADIR%%/locales/it_MASCULINE.pak.info
+%%DATADIR%%/locales/it_NEUTER.pak
+%%DATADIR%%/locales/it_NEUTER.pak.info
%%DATADIR%%/locales/ja.pak
%%DATADIR%%/locales/ja.pak.info
+%%DATADIR%%/locales/ja_FEMININE.pak
+%%DATADIR%%/locales/ja_FEMININE.pak.info
+%%DATADIR%%/locales/ja_MASCULINE.pak
+%%DATADIR%%/locales/ja_MASCULINE.pak.info
+%%DATADIR%%/locales/ja_NEUTER.pak
+%%DATADIR%%/locales/ja_NEUTER.pak.info
%%DATADIR%%/locales/ka.pak
%%DATADIR%%/locales/ka.pak.info
+%%DATADIR%%/locales/ka_FEMININE.pak
+%%DATADIR%%/locales/ka_FEMININE.pak.info
+%%DATADIR%%/locales/ka_MASCULINE.pak
+%%DATADIR%%/locales/ka_MASCULINE.pak.info
+%%DATADIR%%/locales/ka_NEUTER.pak
+%%DATADIR%%/locales/ka_NEUTER.pak.info
%%DATADIR%%/locales/kk.pak
%%DATADIR%%/locales/kk.pak.info
+%%DATADIR%%/locales/kk_FEMININE.pak
+%%DATADIR%%/locales/kk_FEMININE.pak.info
+%%DATADIR%%/locales/kk_MASCULINE.pak
+%%DATADIR%%/locales/kk_MASCULINE.pak.info
+%%DATADIR%%/locales/kk_NEUTER.pak
+%%DATADIR%%/locales/kk_NEUTER.pak.info
%%DATADIR%%/locales/km.pak
%%DATADIR%%/locales/km.pak.info
+%%DATADIR%%/locales/km_FEMININE.pak
+%%DATADIR%%/locales/km_FEMININE.pak.info
+%%DATADIR%%/locales/km_MASCULINE.pak
+%%DATADIR%%/locales/km_MASCULINE.pak.info
+%%DATADIR%%/locales/km_NEUTER.pak
+%%DATADIR%%/locales/km_NEUTER.pak.info
%%DATADIR%%/locales/kn.pak
%%DATADIR%%/locales/kn.pak.info
+%%DATADIR%%/locales/kn_FEMININE.pak
+%%DATADIR%%/locales/kn_FEMININE.pak.info
+%%DATADIR%%/locales/kn_MASCULINE.pak
+%%DATADIR%%/locales/kn_MASCULINE.pak.info
+%%DATADIR%%/locales/kn_NEUTER.pak
+%%DATADIR%%/locales/kn_NEUTER.pak.info
%%DATADIR%%/locales/ko.pak
%%DATADIR%%/locales/ko.pak.info
+%%DATADIR%%/locales/ko_FEMININE.pak
+%%DATADIR%%/locales/ko_FEMININE.pak.info
+%%DATADIR%%/locales/ko_MASCULINE.pak
+%%DATADIR%%/locales/ko_MASCULINE.pak.info
+%%DATADIR%%/locales/ko_NEUTER.pak
+%%DATADIR%%/locales/ko_NEUTER.pak.info
%%DATADIR%%/locales/ky.pak
%%DATADIR%%/locales/ky.pak.info
+%%DATADIR%%/locales/ky_FEMININE.pak
+%%DATADIR%%/locales/ky_FEMININE.pak.info
+%%DATADIR%%/locales/ky_MASCULINE.pak
+%%DATADIR%%/locales/ky_MASCULINE.pak.info
+%%DATADIR%%/locales/ky_NEUTER.pak
+%%DATADIR%%/locales/ky_NEUTER.pak.info
%%DATADIR%%/locales/lo.pak
%%DATADIR%%/locales/lo.pak.info
+%%DATADIR%%/locales/lo_FEMININE.pak
+%%DATADIR%%/locales/lo_FEMININE.pak.info
+%%DATADIR%%/locales/lo_MASCULINE.pak
+%%DATADIR%%/locales/lo_MASCULINE.pak.info
+%%DATADIR%%/locales/lo_NEUTER.pak
+%%DATADIR%%/locales/lo_NEUTER.pak.info
%%DATADIR%%/locales/lt.pak
%%DATADIR%%/locales/lt.pak.info
+%%DATADIR%%/locales/lt_FEMININE.pak
+%%DATADIR%%/locales/lt_FEMININE.pak.info
+%%DATADIR%%/locales/lt_MASCULINE.pak
+%%DATADIR%%/locales/lt_MASCULINE.pak.info
+%%DATADIR%%/locales/lt_NEUTER.pak
+%%DATADIR%%/locales/lt_NEUTER.pak.info
%%DATADIR%%/locales/lv.pak
%%DATADIR%%/locales/lv.pak.info
+%%DATADIR%%/locales/lv_FEMININE.pak
+%%DATADIR%%/locales/lv_FEMININE.pak.info
+%%DATADIR%%/locales/lv_MASCULINE.pak
+%%DATADIR%%/locales/lv_MASCULINE.pak.info
+%%DATADIR%%/locales/lv_NEUTER.pak
+%%DATADIR%%/locales/lv_NEUTER.pak.info
%%DATADIR%%/locales/mk.pak
%%DATADIR%%/locales/mk.pak.info
+%%DATADIR%%/locales/mk_FEMININE.pak
+%%DATADIR%%/locales/mk_FEMININE.pak.info
+%%DATADIR%%/locales/mk_MASCULINE.pak
+%%DATADIR%%/locales/mk_MASCULINE.pak.info
+%%DATADIR%%/locales/mk_NEUTER.pak
+%%DATADIR%%/locales/mk_NEUTER.pak.info
%%DATADIR%%/locales/ml.pak
%%DATADIR%%/locales/ml.pak.info
+%%DATADIR%%/locales/ml_FEMININE.pak
+%%DATADIR%%/locales/ml_FEMININE.pak.info
+%%DATADIR%%/locales/ml_MASCULINE.pak
+%%DATADIR%%/locales/ml_MASCULINE.pak.info
+%%DATADIR%%/locales/ml_NEUTER.pak
+%%DATADIR%%/locales/ml_NEUTER.pak.info
%%DATADIR%%/locales/mn.pak
%%DATADIR%%/locales/mn.pak.info
+%%DATADIR%%/locales/mn_FEMININE.pak
+%%DATADIR%%/locales/mn_FEMININE.pak.info
+%%DATADIR%%/locales/mn_MASCULINE.pak
+%%DATADIR%%/locales/mn_MASCULINE.pak.info
+%%DATADIR%%/locales/mn_NEUTER.pak
+%%DATADIR%%/locales/mn_NEUTER.pak.info
%%DATADIR%%/locales/mr.pak
%%DATADIR%%/locales/mr.pak.info
+%%DATADIR%%/locales/mr_FEMININE.pak
+%%DATADIR%%/locales/mr_FEMININE.pak.info
+%%DATADIR%%/locales/mr_MASCULINE.pak
+%%DATADIR%%/locales/mr_MASCULINE.pak.info
+%%DATADIR%%/locales/mr_NEUTER.pak
+%%DATADIR%%/locales/mr_NEUTER.pak.info
%%DATADIR%%/locales/ms.pak
%%DATADIR%%/locales/ms.pak.info
+%%DATADIR%%/locales/ms_FEMININE.pak
+%%DATADIR%%/locales/ms_FEMININE.pak.info
+%%DATADIR%%/locales/ms_MASCULINE.pak
+%%DATADIR%%/locales/ms_MASCULINE.pak.info
+%%DATADIR%%/locales/ms_NEUTER.pak
+%%DATADIR%%/locales/ms_NEUTER.pak.info
%%DATADIR%%/locales/my.pak
%%DATADIR%%/locales/my.pak.info
+%%DATADIR%%/locales/my_FEMININE.pak
+%%DATADIR%%/locales/my_FEMININE.pak.info
+%%DATADIR%%/locales/my_MASCULINE.pak
+%%DATADIR%%/locales/my_MASCULINE.pak.info
+%%DATADIR%%/locales/my_NEUTER.pak
+%%DATADIR%%/locales/my_NEUTER.pak.info
%%DATADIR%%/locales/nb.pak
%%DATADIR%%/locales/nb.pak.info
+%%DATADIR%%/locales/nb_FEMININE.pak
+%%DATADIR%%/locales/nb_FEMININE.pak.info
+%%DATADIR%%/locales/nb_MASCULINE.pak
+%%DATADIR%%/locales/nb_MASCULINE.pak.info
+%%DATADIR%%/locales/nb_NEUTER.pak
+%%DATADIR%%/locales/nb_NEUTER.pak.info
%%DATADIR%%/locales/ne.pak
%%DATADIR%%/locales/ne.pak.info
+%%DATADIR%%/locales/ne_FEMININE.pak
+%%DATADIR%%/locales/ne_FEMININE.pak.info
+%%DATADIR%%/locales/ne_MASCULINE.pak
+%%DATADIR%%/locales/ne_MASCULINE.pak.info
+%%DATADIR%%/locales/ne_NEUTER.pak
+%%DATADIR%%/locales/ne_NEUTER.pak.info
%%DATADIR%%/locales/nl.pak
%%DATADIR%%/locales/nl.pak.info
+%%DATADIR%%/locales/nl_FEMININE.pak
+%%DATADIR%%/locales/nl_FEMININE.pak.info
+%%DATADIR%%/locales/nl_MASCULINE.pak
+%%DATADIR%%/locales/nl_MASCULINE.pak.info
+%%DATADIR%%/locales/nl_NEUTER.pak
+%%DATADIR%%/locales/nl_NEUTER.pak.info
%%DATADIR%%/locales/or.pak
%%DATADIR%%/locales/or.pak.info
+%%DATADIR%%/locales/or_FEMININE.pak
+%%DATADIR%%/locales/or_FEMININE.pak.info
+%%DATADIR%%/locales/or_MASCULINE.pak
+%%DATADIR%%/locales/or_MASCULINE.pak.info
+%%DATADIR%%/locales/or_NEUTER.pak
+%%DATADIR%%/locales/or_NEUTER.pak.info
%%DATADIR%%/locales/pa.pak
%%DATADIR%%/locales/pa.pak.info
+%%DATADIR%%/locales/pa_FEMININE.pak
+%%DATADIR%%/locales/pa_FEMININE.pak.info
+%%DATADIR%%/locales/pa_MASCULINE.pak
+%%DATADIR%%/locales/pa_MASCULINE.pak.info
+%%DATADIR%%/locales/pa_NEUTER.pak
+%%DATADIR%%/locales/pa_NEUTER.pak.info
%%DATADIR%%/locales/pl.pak
%%DATADIR%%/locales/pl.pak.info
+%%DATADIR%%/locales/pl_FEMININE.pak
+%%DATADIR%%/locales/pl_FEMININE.pak.info
+%%DATADIR%%/locales/pl_MASCULINE.pak
+%%DATADIR%%/locales/pl_MASCULINE.pak.info
+%%DATADIR%%/locales/pl_NEUTER.pak
+%%DATADIR%%/locales/pl_NEUTER.pak.info
%%DATADIR%%/locales/pt-BR.pak
%%DATADIR%%/locales/pt-BR.pak.info
+%%DATADIR%%/locales/pt-BR_FEMININE.pak
+%%DATADIR%%/locales/pt-BR_FEMININE.pak.info
+%%DATADIR%%/locales/pt-BR_MASCULINE.pak
+%%DATADIR%%/locales/pt-BR_MASCULINE.pak.info
+%%DATADIR%%/locales/pt-BR_NEUTER.pak
+%%DATADIR%%/locales/pt-BR_NEUTER.pak.info
%%DATADIR%%/locales/pt-PT.pak
%%DATADIR%%/locales/pt-PT.pak.info
+%%DATADIR%%/locales/pt-PT_FEMININE.pak
+%%DATADIR%%/locales/pt-PT_FEMININE.pak.info
+%%DATADIR%%/locales/pt-PT_MASCULINE.pak
+%%DATADIR%%/locales/pt-PT_MASCULINE.pak.info
+%%DATADIR%%/locales/pt-PT_NEUTER.pak
+%%DATADIR%%/locales/pt-PT_NEUTER.pak.info
%%DATADIR%%/locales/ro.pak
%%DATADIR%%/locales/ro.pak.info
+%%DATADIR%%/locales/ro_FEMININE.pak
+%%DATADIR%%/locales/ro_FEMININE.pak.info
+%%DATADIR%%/locales/ro_MASCULINE.pak
+%%DATADIR%%/locales/ro_MASCULINE.pak.info
+%%DATADIR%%/locales/ro_NEUTER.pak
+%%DATADIR%%/locales/ro_NEUTER.pak.info
%%DATADIR%%/locales/ru.pak
%%DATADIR%%/locales/ru.pak.info
+%%DATADIR%%/locales/ru_FEMININE.pak
+%%DATADIR%%/locales/ru_FEMININE.pak.info
+%%DATADIR%%/locales/ru_MASCULINE.pak
+%%DATADIR%%/locales/ru_MASCULINE.pak.info
+%%DATADIR%%/locales/ru_NEUTER.pak
+%%DATADIR%%/locales/ru_NEUTER.pak.info
%%DATADIR%%/locales/si.pak
%%DATADIR%%/locales/si.pak.info
+%%DATADIR%%/locales/si_FEMININE.pak
+%%DATADIR%%/locales/si_FEMININE.pak.info
+%%DATADIR%%/locales/si_MASCULINE.pak
+%%DATADIR%%/locales/si_MASCULINE.pak.info
+%%DATADIR%%/locales/si_NEUTER.pak
+%%DATADIR%%/locales/si_NEUTER.pak.info
%%DATADIR%%/locales/sk.pak
%%DATADIR%%/locales/sk.pak.info
+%%DATADIR%%/locales/sk_FEMININE.pak
+%%DATADIR%%/locales/sk_FEMININE.pak.info
+%%DATADIR%%/locales/sk_MASCULINE.pak
+%%DATADIR%%/locales/sk_MASCULINE.pak.info
+%%DATADIR%%/locales/sk_NEUTER.pak
+%%DATADIR%%/locales/sk_NEUTER.pak.info
%%DATADIR%%/locales/sl.pak
%%DATADIR%%/locales/sl.pak.info
+%%DATADIR%%/locales/sl_FEMININE.pak
+%%DATADIR%%/locales/sl_FEMININE.pak.info
+%%DATADIR%%/locales/sl_MASCULINE.pak
+%%DATADIR%%/locales/sl_MASCULINE.pak.info
+%%DATADIR%%/locales/sl_NEUTER.pak
+%%DATADIR%%/locales/sl_NEUTER.pak.info
%%DATADIR%%/locales/sq.pak
%%DATADIR%%/locales/sq.pak.info
+%%DATADIR%%/locales/sq_FEMININE.pak
+%%DATADIR%%/locales/sq_FEMININE.pak.info
+%%DATADIR%%/locales/sq_MASCULINE.pak
+%%DATADIR%%/locales/sq_MASCULINE.pak.info
+%%DATADIR%%/locales/sq_NEUTER.pak
+%%DATADIR%%/locales/sq_NEUTER.pak.info
%%DATADIR%%/locales/sr-Latn.pak
%%DATADIR%%/locales/sr-Latn.pak.info
+%%DATADIR%%/locales/sr-Latn_FEMININE.pak
+%%DATADIR%%/locales/sr-Latn_FEMININE.pak.info
+%%DATADIR%%/locales/sr-Latn_MASCULINE.pak
+%%DATADIR%%/locales/sr-Latn_MASCULINE.pak.info
+%%DATADIR%%/locales/sr-Latn_NEUTER.pak
+%%DATADIR%%/locales/sr-Latn_NEUTER.pak.info
%%DATADIR%%/locales/sr.pak
%%DATADIR%%/locales/sr.pak.info
+%%DATADIR%%/locales/sr_FEMININE.pak
+%%DATADIR%%/locales/sr_FEMININE.pak.info
+%%DATADIR%%/locales/sr_MASCULINE.pak
+%%DATADIR%%/locales/sr_MASCULINE.pak.info
+%%DATADIR%%/locales/sr_NEUTER.pak
+%%DATADIR%%/locales/sr_NEUTER.pak.info
%%DATADIR%%/locales/sv.pak
%%DATADIR%%/locales/sv.pak.info
+%%DATADIR%%/locales/sv_FEMININE.pak
+%%DATADIR%%/locales/sv_FEMININE.pak.info
+%%DATADIR%%/locales/sv_MASCULINE.pak
+%%DATADIR%%/locales/sv_MASCULINE.pak.info
+%%DATADIR%%/locales/sv_NEUTER.pak
+%%DATADIR%%/locales/sv_NEUTER.pak.info
%%DATADIR%%/locales/sw.pak
%%DATADIR%%/locales/sw.pak.info
+%%DATADIR%%/locales/sw_FEMININE.pak
+%%DATADIR%%/locales/sw_FEMININE.pak.info
+%%DATADIR%%/locales/sw_MASCULINE.pak
+%%DATADIR%%/locales/sw_MASCULINE.pak.info
+%%DATADIR%%/locales/sw_NEUTER.pak
+%%DATADIR%%/locales/sw_NEUTER.pak.info
%%DATADIR%%/locales/ta.pak
%%DATADIR%%/locales/ta.pak.info
+%%DATADIR%%/locales/ta_FEMININE.pak
+%%DATADIR%%/locales/ta_FEMININE.pak.info
+%%DATADIR%%/locales/ta_MASCULINE.pak
+%%DATADIR%%/locales/ta_MASCULINE.pak.info
+%%DATADIR%%/locales/ta_NEUTER.pak
+%%DATADIR%%/locales/ta_NEUTER.pak.info
%%DATADIR%%/locales/te.pak
%%DATADIR%%/locales/te.pak.info
+%%DATADIR%%/locales/te_FEMININE.pak
+%%DATADIR%%/locales/te_FEMININE.pak.info
+%%DATADIR%%/locales/te_MASCULINE.pak
+%%DATADIR%%/locales/te_MASCULINE.pak.info
+%%DATADIR%%/locales/te_NEUTER.pak
+%%DATADIR%%/locales/te_NEUTER.pak.info
%%DATADIR%%/locales/th.pak
%%DATADIR%%/locales/th.pak.info
+%%DATADIR%%/locales/th_FEMININE.pak
+%%DATADIR%%/locales/th_FEMININE.pak.info
+%%DATADIR%%/locales/th_MASCULINE.pak
+%%DATADIR%%/locales/th_MASCULINE.pak.info
+%%DATADIR%%/locales/th_NEUTER.pak
+%%DATADIR%%/locales/th_NEUTER.pak.info
%%DATADIR%%/locales/tr.pak
%%DATADIR%%/locales/tr.pak.info
+%%DATADIR%%/locales/tr_FEMININE.pak
+%%DATADIR%%/locales/tr_FEMININE.pak.info
+%%DATADIR%%/locales/tr_MASCULINE.pak
+%%DATADIR%%/locales/tr_MASCULINE.pak.info
+%%DATADIR%%/locales/tr_NEUTER.pak
+%%DATADIR%%/locales/tr_NEUTER.pak.info
%%DATADIR%%/locales/uk.pak
%%DATADIR%%/locales/uk.pak.info
+%%DATADIR%%/locales/uk_FEMININE.pak
+%%DATADIR%%/locales/uk_FEMININE.pak.info
+%%DATADIR%%/locales/uk_MASCULINE.pak
+%%DATADIR%%/locales/uk_MASCULINE.pak.info
+%%DATADIR%%/locales/uk_NEUTER.pak
+%%DATADIR%%/locales/uk_NEUTER.pak.info
%%DATADIR%%/locales/ur.pak
%%DATADIR%%/locales/ur.pak.info
+%%DATADIR%%/locales/ur_FEMININE.pak
+%%DATADIR%%/locales/ur_FEMININE.pak.info
+%%DATADIR%%/locales/ur_MASCULINE.pak
+%%DATADIR%%/locales/ur_MASCULINE.pak.info
+%%DATADIR%%/locales/ur_NEUTER.pak
+%%DATADIR%%/locales/ur_NEUTER.pak.info
%%DATADIR%%/locales/uz.pak
%%DATADIR%%/locales/uz.pak.info
+%%DATADIR%%/locales/uz_FEMININE.pak
+%%DATADIR%%/locales/uz_FEMININE.pak.info
+%%DATADIR%%/locales/uz_MASCULINE.pak
+%%DATADIR%%/locales/uz_MASCULINE.pak.info
+%%DATADIR%%/locales/uz_NEUTER.pak
+%%DATADIR%%/locales/uz_NEUTER.pak.info
%%DATADIR%%/locales/vi.pak
%%DATADIR%%/locales/vi.pak.info
+%%DATADIR%%/locales/vi_FEMININE.pak
+%%DATADIR%%/locales/vi_FEMININE.pak.info
+%%DATADIR%%/locales/vi_MASCULINE.pak
+%%DATADIR%%/locales/vi_MASCULINE.pak.info
+%%DATADIR%%/locales/vi_NEUTER.pak
+%%DATADIR%%/locales/vi_NEUTER.pak.info
%%DATADIR%%/locales/zh-CN.pak
%%DATADIR%%/locales/zh-CN.pak.info
+%%DATADIR%%/locales/zh-CN_FEMININE.pak
+%%DATADIR%%/locales/zh-CN_FEMININE.pak.info
+%%DATADIR%%/locales/zh-CN_MASCULINE.pak
+%%DATADIR%%/locales/zh-CN_MASCULINE.pak.info
+%%DATADIR%%/locales/zh-CN_NEUTER.pak
+%%DATADIR%%/locales/zh-CN_NEUTER.pak.info
%%DATADIR%%/locales/zh-HK.pak
%%DATADIR%%/locales/zh-HK.pak.info
+%%DATADIR%%/locales/zh-HK_FEMININE.pak
+%%DATADIR%%/locales/zh-HK_FEMININE.pak.info
+%%DATADIR%%/locales/zh-HK_MASCULINE.pak
+%%DATADIR%%/locales/zh-HK_MASCULINE.pak.info
+%%DATADIR%%/locales/zh-HK_NEUTER.pak
+%%DATADIR%%/locales/zh-HK_NEUTER.pak.info
%%DATADIR%%/locales/zh-TW.pak
%%DATADIR%%/locales/zh-TW.pak.info
+%%DATADIR%%/locales/zh-TW_FEMININE.pak
+%%DATADIR%%/locales/zh-TW_FEMININE.pak.info
+%%DATADIR%%/locales/zh-TW_MASCULINE.pak
+%%DATADIR%%/locales/zh-TW_MASCULINE.pak.info
+%%DATADIR%%/locales/zh-TW_NEUTER.pak
+%%DATADIR%%/locales/zh-TW_NEUTER.pak.info
%%DATADIR%%/locales/zu.pak
%%DATADIR%%/locales/zu.pak.info
+%%DATADIR%%/locales/zu_FEMININE.pak
+%%DATADIR%%/locales/zu_FEMININE.pak.info
+%%DATADIR%%/locales/zu_MASCULINE.pak
+%%DATADIR%%/locales/zu_MASCULINE.pak.info
+%%DATADIR%%/locales/zu_NEUTER.pak
+%%DATADIR%%/locales/zu_NEUTER.pak.info
%%DATADIR%%/mksnapshot
%%DATADIR%%/product_logo_48.png
%%DATADIR%%/protoc
diff --git a/www/unit-java/Makefile b/www/unit-java/Makefile
index 3e6ba7263eb7..59d883bd6be5 100644
--- a/www/unit-java/Makefile
+++ b/www/unit-java/Makefile
@@ -39,10 +39,10 @@ COMMENT= Java module for NGINX Unit
RUN_DEPENDS= unitd:www/unit
UNIT_MODNAME= java${JAVA_PORT_VERSION}
-CLASSGRAPH_VERSION= 4.8.179
+CLASSGRAPH_VERSION= 4.8.181
ECJ_VERSION= 3.26.0
-JETTY_VERSION= 9.4.56.v20240826
-TOMCAT_VERSION= 9.0.98
+JETTY_VERSION= 9.4.58.v20250814
+TOMCAT_VERSION= 9.0.108
PLIST_FILES= %%JAVAJARDIR%%/classgraph-${CLASSGRAPH_VERSION}.jar \
%%JAVAJARDIR%%/ecj-${ECJ_VERSION}.jar \
diff --git a/www/unit-java/distinfo b/www/unit-java/distinfo
index bb42721054d1..eea6cc64f96c 100644
--- a/www/unit-java/distinfo
+++ b/www/unit-java/distinfo
@@ -1,33 +1,31 @@
-TIMESTAMP = 1756784428
-SHA256 (unit-1.34.2.tar.gz) = 49ffb49d7ead1b9e64602f07f8b615839c099a9324943dedad40d057ce109504
-SIZE (unit-1.34.2.tar.gz) = 1054961
-SHA256 (classgraph-4.8.179.jar) = 16558357f234052370109127a45d69a9bd6d8646925594792634486dc48b159d
-SIZE (classgraph-4.8.179.jar) = 576120
+TIMESTAMP = 1757870226
+SHA256 (unit-1.35.0.tar.gz) = 20bb921b8128ff046c3d7a52b93ab2d94ae46c3b5a85d479b6b5ee9928e89c87
+SIZE (unit-1.35.0.tar.gz) = 1066376
+SHA256 (classgraph-4.8.181.jar) = 62a6436d69710ef5fab6ec243781ce4c5b299047ed1841b5f92746ae852ce545
+SIZE (classgraph-4.8.181.jar) = 572869
SHA256 (ecj-3.26.0.jar) = ac0ba5876eaf7ebb47749a0d1be179c51f194b9dd0b875d1c09e1b530f5a2db5
SIZE (ecj-3.26.0.jar) = 3133846
-SHA256 (jetty-http-9.4.56.v20240826.jar) = 203bb49644f2be0aea6a6adb320e64808156588b854ff231a756f65847fcd493
-SIZE (jetty-http-9.4.56.v20240826.jar) = 249063
-SHA256 (jetty-server-9.4.56.v20240826.jar) = afb44ddcd73a6f31f518af69c4ca6af0f0d43a8f3bf67b842ff954891ca77e65
-SIZE (jetty-server-9.4.56.v20240826.jar) = 739465
-SHA256 (jetty-util-9.4.56.v20240826.jar) = 08d10469827064960b00807963a0d221f1b706054c4559bca9c74c92f8906aaa
-SIZE (jetty-util-9.4.56.v20240826.jar) = 588923
-SHA256 (tomcat-api-9.0.98.jar) = aceb51aa60ec00156a471010fe413ae3e517c3c04cd2515e1b629f744a12e7cd
-SIZE (tomcat-api-9.0.98.jar) = 11647
-SHA256 (tomcat-el-api-9.0.98.jar) = ff543f3000f31ba32e31369fd9bb93dab7fcea2352a1388a3635149e40617cd0
-SIZE (tomcat-el-api-9.0.98.jar) = 89778
-SHA256 (tomcat-jsp-api-9.0.98.jar) = e5b9202bdb53f1f36a1263a8697ca27e7aa2dfd5bca0e1e8c4f18f2e62e6f3fd
-SIZE (tomcat-jsp-api-9.0.98.jar) = 73914
-SHA256 (tomcat-jasper-9.0.98.jar) = 27570e826e3fa49ddcc87272195d8ee4547ab7a24234026a818e9a292e5c1d92
-SIZE (tomcat-jasper-9.0.98.jar) = 577041
-SHA256 (tomcat-jasper-el-9.0.98.jar) = ec424c2a5df8ebe6df74a991b9f6ecec9d3edd64e967393a2d2384ef820be0b9
-SIZE (tomcat-jasper-el-9.0.98.jar) = 175874
-SHA256 (tomcat-juli-9.0.98.jar) = 40994df9c4741eefe7f38701be3c59e563bff89f030ca68b625a57e8ce149092
-SIZE (tomcat-juli-9.0.98.jar) = 49607
-SHA256 (tomcat-servlet-api-9.0.98.jar) = 18085e7d8ad007c28bc50018437828fb6b88f65fabd774a1e4e6e8fbd2b7d757
-SIZE (tomcat-servlet-api-9.0.98.jar) = 285735
-SHA256 (tomcat-util-9.0.98.jar) = 53b1cc1957bf977a6c148d1616e2db98cf61fb457104e83a28c8c5b76317d810
-SIZE (tomcat-util-9.0.98.jar) = 234073
-SHA256 (tomcat-util-scan-9.0.98.jar) = e913f286446c267c92923b1432f248a052cf3fef4138db05e0108795b8f2cf69
-SIZE (tomcat-util-scan-9.0.98.jar) = 228085
-SHA256 (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 70dc6605efec0fa228230655944f7c2b12ad549602985120853e2dfe17112a1f
-SIZE (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 1694
+SHA256 (jetty-http-9.4.58.v20250814.jar) = 8f49b8583fc8dbbfe3a0ba80a04c97df64ebabca2981b56ee403c989aba9d4da
+SIZE (jetty-http-9.4.58.v20250814.jar) = 253267
+SHA256 (jetty-server-9.4.58.v20250814.jar) = 608dbd3e1c4184374f02c70704e5d1c9daaded45e6a31d07824f40dac6083ba9
+SIZE (jetty-server-9.4.58.v20250814.jar) = 749129
+SHA256 (jetty-util-9.4.58.v20250814.jar) = 8d591679d318d20c8fb2b1e83900562b3c4571ff7a189696be700293e0204146
+SIZE (jetty-util-9.4.58.v20250814.jar) = 595403
+SHA256 (tomcat-api-9.0.108.jar) = 284db236721d6920285514fce267de3e73b22e855f56a86a775592df6559f882
+SIZE (tomcat-api-9.0.108.jar) = 11676
+SHA256 (tomcat-el-api-9.0.108.jar) = d763ac51b930b4e499f861d28fa3ddb32b9ef850eee8ea609519c1283b255de4
+SIZE (tomcat-el-api-9.0.108.jar) = 88888
+SHA256 (tomcat-jsp-api-9.0.108.jar) = c14610100a0558f30526de76ab5f399393eb5f45472806d56c97ca9526a6c8bd
+SIZE (tomcat-jsp-api-9.0.108.jar) = 74431
+SHA256 (tomcat-jasper-9.0.108.jar) = e565b95ea88d4e05a2a4f1cfda59697c134d526d4ddfc2dc3de3b19e842df90e
+SIZE (tomcat-jasper-9.0.108.jar) = 563935
+SHA256 (tomcat-jasper-el-9.0.108.jar) = 253d238394b7b8fc64acfb2417e4fa59a85bcf321120205a6ae335d1c5b871d5
+SIZE (tomcat-jasper-el-9.0.108.jar) = 178453
+SHA256 (tomcat-juli-9.0.108.jar) = 24565b26c8f7c63a3be04a7b8b3b500bc11edf90d96a6c68826142def66ae5cb
+SIZE (tomcat-juli-9.0.108.jar) = 52627
+SHA256 (tomcat-servlet-api-9.0.108.jar) = 9e7d56f78ff591fddbf2292f11de7cd60030b1da445632b2f6b06ca7ce658883
+SIZE (tomcat-servlet-api-9.0.108.jar) = 285900
+SHA256 (tomcat-util-9.0.108.jar) = 7700971f0aae9c7c85eca017205b07f030b0c94b2ca5abe3eb6c7ea76a8d811e
+SIZE (tomcat-util-9.0.108.jar) = 240429
+SHA256 (tomcat-util-scan-9.0.108.jar) = b2539ad3ee3022016abe6609e8b0c9daf46732c3a8fbe0d9746ddd24ca24b5e9
+SIZE (tomcat-util-scan-9.0.108.jar) = 226135
diff --git a/www/unit/Makefile b/www/unit/Makefile
index bc95e8aa24db..4544f45f4acd 100644
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -1,13 +1,9 @@
PORTNAME= unit
PORTVERSION= ${UNIT_VERSION}
-PORTREVISION= 3
CATEGORIES= www
MASTER_SITES?= https://unit.nginx.org/download/
DISTFILES?= ${PORTNAME}-${PORTVERSION}.tar.gz
-PATCH_SITES= https://github.com/nginx/unit/commit/
-PATCHFILES= 08e552581d2f56d56ad369a222497138a4e41eff.patch:-p1
-
MAINTAINER= osa@FreeBSD.org
COMMENT?= Dynamic web application server
WWW= https://unit.nginx.org
diff --git a/www/unit/distinfo b/www/unit/distinfo
index 3cba21e77207..62c97096598d 100644
--- a/www/unit/distinfo
+++ b/www/unit/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1756603194
-SHA256 (unit-1.34.2.tar.gz) = 49ffb49d7ead1b9e64602f07f8b615839c099a9324943dedad40d057ce109504
-SIZE (unit-1.34.2.tar.gz) = 1054961
-SHA256 (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 70dc6605efec0fa228230655944f7c2b12ad549602985120853e2dfe17112a1f
-SIZE (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 1694
+TIMESTAMP = 1757870545
+SHA256 (unit-1.35.0.tar.gz) = 20bb921b8128ff046c3d7a52b93ab2d94ae46c3b5a85d479b6b5ee9928e89c87
+SIZE (unit-1.35.0.tar.gz) = 1066376
diff --git a/www/unit/files/patch-auto_njs b/www/unit/files/patch-auto_njs
deleted file mode 100644
index a4cbc6ec8d3c..000000000000
--- a/www/unit/files/patch-auto_njs
+++ /dev/null
@@ -1,22 +0,0 @@
---- auto/njs.orig 2025-02-27 22:02:21 UTC
-+++ auto/njs
-@@ -25,8 +25,8 @@ nxt_feature_test="#include <njs.h>
- nxt_feature_libs="$NXT_NJS_LIBS $NXT_NJS_AUX_LIBS"
- nxt_feature_test="#include <njs.h>
-
-- #if NJS_VERSION_NUMBER < 0x000803
-- # error njs < 0.8.3 is not supported.
-+ #if NJS_VERSION_NUMBER < 0x000900
-+ # error njs < 0.9.0 is not supported.
- #endif
-
- int main(void) {
-@@ -44,7 +44,7 @@ if [ $nxt_found = no ]; then
-
- if [ $nxt_found = no ]; then
- $echo
-- $echo $0: error: no njs library \>= 0.8.3 found.
-+ $echo $0: error: no njs library \>= 0.9.0 found.
- $echo
- exit 1;
- fi
diff --git a/www/unit/files/patch-src_nxt__http__js.c b/www/unit/files/patch-src_nxt__http__js.c
deleted file mode 100644
index 41a2a39a1c56..000000000000
--- a/www/unit/files/patch-src_nxt__http__js.c
+++ /dev/null
@@ -1,139 +0,0 @@
---- src/nxt_http_js.c.orig 2025-02-27 22:02:21 UTC
-+++ src/nxt_http_js.c
-@@ -9,27 +9,31 @@ static njs_int_t nxt_http_js_ext_uri(njs_vm_t *vm, njs
-
-
- static njs_int_t nxt_http_js_ext_uri(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval);
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
-+ njs_value_t *retval);
- static njs_int_t nxt_http_js_ext_host(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval);
--static njs_int_t nxt_http_js_ext_remote_addr(njs_vm_t *vm,
-- njs_object_prop_t *prop, njs_value_t *value, njs_value_t *setval,
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
- njs_value_t *retval);
-+static njs_int_t nxt_http_js_ext_remote_addr(njs_vm_t *vm,
-+ njs_object_prop_t *prop, uint32_t atom_id, njs_value_t *value,
-+ njs_value_t *setval, njs_value_t *retval);
- static njs_int_t nxt_http_js_ext_get_args(njs_vm_t *vm,
-- njs_object_prop_t *prop, njs_value_t *value, njs_value_t *setval,
-- njs_value_t *retval);
-+ njs_object_prop_t *prop, uint32_t atom_id, njs_value_t *value,
-+ njs_value_t *setval, njs_value_t *retval);
- static njs_int_t nxt_http_js_ext_get_header(njs_vm_t *vm,
-- njs_object_prop_t *prop, njs_value_t *value, njs_value_t *setval,
-- njs_value_t *retval);
-+ njs_object_prop_t *prop, uint32_t atom_id, njs_value_t *value,
-+ njs_value_t *setval, njs_value_t *retval);
- static njs_int_t nxt_http_js_ext_keys_header(njs_vm_t *vm,
- njs_value_t *value, njs_value_t *keys);
- static njs_int_t nxt_http_js_ext_get_cookie(njs_vm_t *vm,
-- njs_object_prop_t *prop, njs_value_t *value, njs_value_t *setval,
-+ njs_object_prop_t *prop, uint32_t atom_id, njs_value_t *value,
-+ njs_value_t *setval,
- njs_value_t *retval);
- static njs_int_t nxt_http_js_ext_keys_cookie(njs_vm_t *vm, njs_value_t *value,
- njs_value_t *keys);
- static njs_int_t nxt_http_js_ext_get_var(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval);
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
-+ njs_value_t *retval);
-
-
- static njs_external_t nxt_http_js_proto[] = {
-@@ -109,7 +113,7 @@ static njs_int_t
-
-
- static njs_int_t
--nxt_http_js_ext_uri(njs_vm_t *vm, njs_object_prop_t *prop,
-+nxt_http_js_ext_uri(njs_vm_t *vm, njs_object_prop_t *prop, uint32_t atom_id,
- njs_value_t *value, njs_value_t *setval, njs_value_t *retval)
- {
- nxt_http_request_t *r;
-@@ -126,7 +130,7 @@ static njs_int_t
-
-
- static njs_int_t
--nxt_http_js_ext_host(njs_vm_t *vm, njs_object_prop_t *prop,
-+nxt_http_js_ext_host(njs_vm_t *vm, njs_object_prop_t *prop, uint32_t atom_id,
- njs_value_t *value, njs_value_t *setval, njs_value_t *retval)
- {
- nxt_http_request_t *r;
-@@ -144,7 +148,8 @@ nxt_http_js_ext_remote_addr(njs_vm_t *vm, njs_object_p
-
- static njs_int_t
- nxt_http_js_ext_remote_addr(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval)
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
-+ njs_value_t *retval)
- {
- nxt_http_request_t *r;
-
-@@ -162,7 +167,8 @@ nxt_http_js_ext_get_args(njs_vm_t *vm, njs_object_prop
-
- static njs_int_t
- nxt_http_js_ext_get_args(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval)
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
-+ njs_value_t *retval)
- {
- u_char *start;
- njs_int_t ret;
-@@ -193,7 +199,8 @@ nxt_http_js_ext_get_header(njs_vm_t *vm, njs_object_pr
-
- static njs_int_t
- nxt_http_js_ext_get_header(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval)
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
-+ njs_value_t *retval)
- {
- njs_int_t rc;
- njs_str_t key;
-@@ -206,7 +213,7 @@ nxt_http_js_ext_get_header(njs_vm_t *vm, njs_object_pr
- return NJS_DECLINED;
- }
-
-- rc = njs_vm_prop_name(vm, prop, &key);
-+ rc = njs_vm_prop_name(vm, atom_id, &key);
- if (rc != NJS_OK) {
- njs_value_undefined_set(retval);
- return NJS_DECLINED;
-@@ -266,7 +273,8 @@ nxt_http_js_ext_get_cookie(njs_vm_t *vm, njs_object_pr
-
- static njs_int_t
- nxt_http_js_ext_get_cookie(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval)
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
-+ njs_value_t *retval)
- {
- njs_int_t rc;
- njs_str_t key;
-@@ -280,7 +288,7 @@ nxt_http_js_ext_get_cookie(njs_vm_t *vm, njs_object_pr
- return NJS_DECLINED;
- }
-
-- rc = njs_vm_prop_name(vm, prop, &key);
-+ rc = njs_vm_prop_name(vm, atom_id, &key);
- if (rc != NJS_OK) {
- njs_value_undefined_set(retval);
- return NJS_DECLINED;
-@@ -355,7 +363,8 @@ nxt_http_js_ext_get_var(njs_vm_t *vm, njs_object_prop_
-
- static njs_int_t
- nxt_http_js_ext_get_var(njs_vm_t *vm, njs_object_prop_t *prop,
-- njs_value_t *value, njs_value_t *setval, njs_value_t *retval)
-+ uint32_t atom_id, njs_value_t *value, njs_value_t *setval,
-+ njs_value_t *retval)
- {
- njs_int_t rc;
- njs_str_t key;
-@@ -369,7 +378,7 @@ nxt_http_js_ext_get_var(njs_vm_t *vm, njs_object_prop_
- return NJS_DECLINED;
- }
-
-- rc = njs_vm_prop_name(vm, prop, &key);
-+ rc = njs_vm_prop_name(vm, atom_id, &key);
- if (rc != NJS_OK) {
- njs_value_undefined_set(retval);
- return NJS_DECLINED;
diff --git a/www/unit/version.mk b/www/unit/version.mk
index 1364ab43adc7..b47ec048a5c5 100644
--- a/www/unit/version.mk
+++ b/www/unit/version.mk
@@ -2,6 +2,6 @@
UNITVERSION_MK= defined
# Define NGINX Unit's version.
-UNIT_VERSION= 1.34.2
+UNIT_VERSION= 1.35.0
.endif # UNITVERSION_MK
diff --git a/www/waterfox/Makefile b/www/waterfox/Makefile
index 1fe7e3c65761..ae3c2ae7b48e 100644
--- a/www/waterfox/Makefile
+++ b/www/waterfox/Makefile
@@ -1,6 +1,5 @@
PORTNAME= waterfox
-DISTVERSION= 6.6.2
-PORTREVISION= 1
+DISTVERSION= 6.6.3
PORTEPOCH= 1
CATEGORIES= www
diff --git a/www/waterfox/distinfo b/www/waterfox/distinfo
index 033a8be82fe8..e1c1b4d089a7 100644
--- a/www/waterfox/distinfo
+++ b/www/waterfox/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1756464808
-SHA256 (BrowserWorks-waterfox-6.6.2_GH0.tar.gz) = 2492b86359d433b800d2f4786619037679202cafefb1295897edd58f56ef9db5
-SIZE (BrowserWorks-waterfox-6.6.2_GH0.tar.gz) = 919738463
+TIMESTAMP = 1757593056
+SHA256 (BrowserWorks-waterfox-6.6.3_GH0.tar.gz) = 5a5cac40a23e0a4a0f3f0a6086ef6b4665dc5dc2b4416718558a36d95285cf15
+SIZE (BrowserWorks-waterfox-6.6.3_GH0.tar.gz) = 919750321
SHA256 (BrowserWorks-l10n-394dfec_GH0.tar.gz) = 79f5f995c918f9768c7f7d6c38bbd131e1faa631575f18fcc862bc1bdb119ed6
SIZE (BrowserWorks-l10n-394dfec_GH0.tar.gz) = 23704241
diff --git a/www/waterfox/files/patch-bug1874059 b/www/waterfox/files/patch-bug1874059
deleted file mode 100644
index 3fa954ef9def..000000000000
--- a/www/waterfox/files/patch-bug1874059
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 56c888446600991803fd92d668349101ad4bf160
-Author: Christoph Moench-Tegeder <cmt@burggraben.net>
-Date: Tue Feb 6 22:51:27 2024 +0100
-
- switch to -fvisibility flags
-
- this fixes linkage with llvm18 (which does not like the former
- approach via the #pragma in gcc_hidden.h
-
- PR: 276746
- Submitted by: dim@
-
-diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure
-index d08b748db250..4696f69153f6 100644
---- build/moz.configure/toolchain.configure
-+++ build/moz.configure/toolchain.configure
-@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi)
- @depends(target, build_environment)
- def visibility_flags(target, env):
- if target.os != "WINNT":
-- if target.kernel == "Darwin":
-+ if target.kernel == "Darwin" or target.kernel == "FreeBSD":
- return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
- return (
- "-I%s/system_wrappers" % os.path.join(env.dist),
diff --git a/www/websocketd/Makefile b/www/websocketd/Makefile
index 7e0322ca86e0..64e907ae321a 100644
--- a/www/websocketd/Makefile
+++ b/www/websocketd/Makefile
@@ -1,7 +1,7 @@
PORTNAME= websocketd
PORTVERSION= 0.4.1
DISTVERSIONPREFIX= v
-PORTREVISION= 30
+PORTREVISION= 31
CATEGORIES= www
MAINTAINER= sunpoet@FreeBSD.org
@@ -20,6 +20,6 @@ PLIST_FILES= bin/websocketd
USE_GITHUB= yes
GH_ACCOUNT= joewalnes
-GH_TUPLE= gorilla:websocket:v1.4.0:gorilla_websocket/vendor/github.com/gorilla/websocket
+GH_TUPLE= gorilla:websocket:v1.5.3:gorilla_websocket/vendor/github.com/gorilla/websocket
.include <bsd.port.mk>
diff --git a/www/websocketd/distinfo b/www/websocketd/distinfo
index da328b0369b4..c9b7901df2e1 100644
--- a/www/websocketd/distinfo
+++ b/www/websocketd/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1729240328
+TIMESTAMP = 1757120560
SHA256 (joewalnes-websocketd-v0.4.1_GH0.tar.gz) = 6b8fe0fad586d794e002340ee597059b2cfc734ba7579933263aef4743138fe5
SIZE (joewalnes-websocketd-v0.4.1_GH0.tar.gz) = 46366
-SHA256 (gorilla-websocket-v1.4.0_GH0.tar.gz) = 2b5743c72bd0930c5a80e49c0138b5b7d27fa7c085efd0c86805cccfa7220c9d
-SIZE (gorilla-websocket-v1.4.0_GH0.tar.gz) = 50228
+SHA256 (gorilla-websocket-v1.5.3_GH0.tar.gz) = 707f217e9a46c516c289b71c45a4e51b11b5e0fcec54c1fbfecde47b8a001799
+SIZE (gorilla-websocket-v1.5.3_GH0.tar.gz) = 54884
diff --git a/www/xist/Makefile b/www/xist/Makefile
index 5e3156b332d3..8b72d8deb609 100644
--- a/www/xist/Makefile
+++ b/www/xist/Makefile
@@ -1,6 +1,6 @@
PORTNAME= xist
PORTVERSION= 5.34
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www python
MASTER_SITES= PYPI \
http://ftp.livinglogic.de/xist/
@@ -14,7 +14,7 @@ WWW= http://www.livinglogic.de/Python/xist/
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssutils>=1.0,1:www/py-cssutils@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml5>=3.4:devel/py-lxml5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=3.4:devel/py-lxml@${PY_FLAVOR} \
${PY_PILLOW}
USES= python tar:bzip2
diff --git a/www/yourls/Makefile b/www/yourls/Makefile
index 681073633c89..3f96ec534deb 100644
--- a/www/yourls/Makefile
+++ b/www/yourls/Makefile
@@ -1,5 +1,5 @@
PORTNAME= yourls
-PORTVERSION= 1.10.1
+PORTVERSION= 1.10.2
CATEGORIES= www
MAINTAINER= sunpoet@FreeBSD.org
diff --git a/www/yourls/distinfo b/www/yourls/distinfo
index 517a8bd9c637..35c7dd681d19 100644
--- a/www/yourls/distinfo
+++ b/www/yourls/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745936050
-SHA256 (YOURLS-YOURLS-1.10.1_GH0.tar.gz) = ec21841af21194c8ef06a8eaaea5bf26d329741f9d09e04b32685a2d8ac4027e
-SIZE (YOURLS-YOURLS-1.10.1_GH0.tar.gz) = 5884813
+TIMESTAMP = 1757120562
+SHA256 (YOURLS-YOURLS-1.10.2_GH0.tar.gz) = c1a5c35d4f47c322d29adffb1a89642544e609808561cf340dc046af58a900e8
+SIZE (YOURLS-YOURLS-1.10.2_GH0.tar.gz) = 6194988