summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/Makefile5
-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/chromium/files/patch-build_rust_allocator_lib.rs15
-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/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/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/minio/Makefile5
-rw-r--r--www/minio/distinfo10
-rw-r--r--www/mod_wsgi/Makefile (renamed from www/mod_wsgi4/Makefile)14
-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/distinfo3
-rw-r--r--www/mod_wsgi4/files/pkg-message.in11
-rw-r--r--www/mod_wsgi4/pkg-descr5
-rw-r--r--www/nghttp2/Makefile3
-rw-r--r--www/nghttp2/distinfo6
-rw-r--r--www/node22/Makefile.version2
-rw-r--r--www/node22/distinfo6
-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/otter-browser/Makefile18
-rw-r--r--www/p5-CGI-Simple/Makefile2
-rw-r--r--www/p5-CGI-Simple/distinfo6
-rw-r--r--www/py-adblock/Makefile2
-rw-r--r--www/py-boto3/Makefile4
-rw-r--r--www/py-boto3/distinfo6
-rw-r--r--www/py-channels/Makefile2
-rw-r--r--www/py-channels/distinfo6
-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-django-unfold/Makefile2
-rw-r--r--www/py-django-unfold/distinfo6
-rw-r--r--www/py-feedgenerator/Makefile5
-rw-r--r--www/py-feedgenerator/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-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-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-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-requests/Makefile2
-rw-r--r--www/py-requests/distinfo6
-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-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/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/tinymce/Makefile2
-rw-r--r--www/tinymce/distinfo6
-rw-r--r--www/websocketd/Makefile4
-rw-r--r--www/websocketd/distinfo6
-rw-r--r--www/yourls/Makefile2
-rw-r--r--www/yourls/distinfo6
165 files changed, 3314 insertions, 6473 deletions
diff --git a/www/Makefile b/www/Makefile
index 5d9ca2a97e52..9e93adab5a2e 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
@@ -450,7 +451,7 @@
SUBDIR += mod_umask
SUBDIR += mod_webauth
SUBDIR += mod_webkit
- SUBDIR += mod_wsgi4
+ SUBDIR += mod_wsgi
SUBDIR += mod_xsendfile
SUBDIR += mohawk
SUBDIR += moin2
@@ -1860,6 +1861,7 @@
SUBDIR += py-pecan
SUBDIR += py-pelican
SUBDIR += py-planet
+ SUBDIR += py-planet-auth
SUBDIR += py-playwright
SUBDIR += py-postorius
SUBDIR += py-praw
@@ -2222,7 +2224,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/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/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/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..7f24d213ae79 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,6 +1,5 @@
PORTNAME= firefox
-DISTVERSION= 142.0.1
-PORTREVISION= 2
+DISTVERSION= 143.0
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..35f0021fc411 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 = 1757364068
+SHA256 (firefox-143.0.source.tar.xz) = 6c45ca38091820c2c9925a85c80c04120de0ced98589065358c34d257e1edf83
+SIZE (firefox-143.0.source.tar.xz) = 645597188
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/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/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/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/mod_wsgi4/Makefile b/www/mod_wsgi/Makefile
index bea57e108537..4e2f1f7af825 100644
--- a/www/mod_wsgi4/Makefile
+++ b/www/mod_wsgi/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mod_wsgi
-DISTVERSION= 4.9.4
+DISTVERSION= 5.0.2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +10,7 @@ WWW= https://www.modwsgi.org/
LICENSE= APACHE20
-USES= apache cpe gettext python
+USES= apache cpe gettext python:3.8+
USE_PYTHON= flavors
CPE_VENDOR= modwsgi
@@ -18,18 +18,10 @@ CPE_VENDOR= modwsgi
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
-SUB_FILES= pkg-message ${APMOD_FILE}
+SUB_FILES= ${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
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/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/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/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.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/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/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-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-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-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-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-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-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-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-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-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-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-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-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/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/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/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/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