aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile4
-rw-r--r--mail/abook/Makefile2
-rw-r--r--mail/aerc/Makefile1
-rw-r--r--mail/astroid/Makefile2
-rw-r--r--mail/cone/Makefile3
-rw-r--r--mail/cone/distinfo6
-rw-r--r--mail/cone/files/patch-libs_rfc2045_rfc2045.h11
-rw-r--r--mail/cone/files/patch-libs_rfc2045_testsuitecpp.C11
-rw-r--r--mail/cone/files/patch-libs_rfc2045_testsuitecpp2.C29
-rw-r--r--mail/courier-imap/Makefile2
-rw-r--r--mail/courier-imap/distinfo6
-rw-r--r--mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h11
-rw-r--r--mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C11
-rw-r--r--mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C29
-rw-r--r--mail/courier/Makefile319
-rw-r--r--mail/courier/distinfo6
-rw-r--r--mail/courier/files/courier.in2
-rw-r--r--mail/courier/files/extra-patch-libs__sqwebmail__folder.c (renamed from mail/courier/files/extra-patch-webmail__folder.c)38
-rw-r--r--mail/courier/files/extra-patch-libs__sqwebmail__images__sqwebmail.css (renamed from mail/courier/files/extra-patch-webmail__images__sqwebmail.css)0
-rw-r--r--mail/courier/files/extra-patch-libs__sqwebmail__maildir.c (renamed from mail/courier/files/extra-patch-webmail__maildir.c)0
-rw-r--r--mail/courier/files/extra-patch-libs__sqwebmail__maildir.h (renamed from mail/courier/files/extra-patch-webmail__maildir.h)0
-rw-r--r--mail/courier/files/extra-patch-libs__sqwebmail__msg2html.c (renamed from mail/courier/files/extra-patch-webmail__msg2html.c)0
-rw-r--r--mail/courier/files/patch-courier__Makefile.in32
-rw-r--r--mail/courier/files/patch-courier__filters__Makefile.in11
-rw-r--r--mail/courier/files/patch-courier__module.esmtp__Makefile.in21
-rw-r--r--mail/courier/files/patch-courier__module.uucp__Makefile.in11
-rw-r--r--mail/courier/files/patch-courier__submit.C54
-rw-r--r--mail/courier/files/patch-libs__rfc2045__rfc2045.h11
-rw-r--r--mail/courier/files/patch-libs__rfc2045__testsuitecpp.C11
-rw-r--r--mail/courier/files/patch-libs__rfc2045__testsuitecpp2.C29
-rw-r--r--mail/courier/files/pkg-install.in6
-rw-r--r--mail/courier/files/pkg-message.in8
-rw-r--r--mail/courier/pkg-plist58
-rw-r--r--mail/fetchmail/Makefile4
-rw-r--r--mail/fetchmail/distinfo6
-rw-r--r--mail/fetchmail/pkg-plist1
-rw-r--r--mail/gnumail/Makefile41
-rw-r--r--mail/gnumail/pkg-descr2
-rw-r--r--mail/gnumail/pkg-plist6
-rw-r--r--mail/hydroxide/Makefile2
-rw-r--r--mail/imap-tools/Makefile2
-rw-r--r--mail/imap-tools/Makefile.crates75
-rw-r--r--mail/imap-tools/distinfo156
-rw-r--r--mail/imapsync/Makefile2
-rw-r--r--mail/imapsync/distinfo6
-rw-r--r--mail/maildrop/Makefile2
-rw-r--r--mail/maildrop/distinfo6
-rw-r--r--mail/maildrop/files/patch-libs_rfc2045_rfc2045.h11
-rw-r--r--mail/maildrop/files/patch-libs_rfc2045_testsuitecpp.C11
-rw-r--r--mail/maildrop/files/patch-libs_rfc2045_testsuitecpp2.C29
-rw-r--r--mail/mailfromd/Makefile13
-rw-r--r--mail/mailfromd/pkg-plist4
-rw-r--r--mail/mailhog/Makefile2
-rw-r--r--mail/mailio/Makefile4
-rw-r--r--mail/mailman3/Makefile2
-rw-r--r--mail/mailpit/Makefile2
-rw-r--r--mail/mailpit/distinfo14
-rw-r--r--mail/mailpit/files/patch-package-lock.json410
-rw-r--r--mail/mailslurper/Makefile2
-rw-r--r--mail/mew-devel/Makefile4
-rw-r--r--mail/mew-devel/distinfo6
-rw-r--r--mail/msmtp/Makefile2
-rw-r--r--mail/msmtp/distinfo6
-rw-r--r--mail/mu/Makefile52
-rw-r--r--mail/mu/distinfo8
-rw-r--r--mail/mu/files/mu-ask4
-rw-r--r--mail/mu/files/patch-configure.ac18
-rw-r--r--mail/mu/files/patch-lib_utils_mu-lang-detector.cc13
-rw-r--r--mail/mu/pkg-descr13
-rw-r--r--mail/mu/pkg-plist130
-rw-r--r--mail/mu4e-maildirs/Makefile10
-rw-r--r--mail/mu4e/Makefile50
-rw-r--r--mail/mu4e/distinfo3
-rw-r--r--mail/mu4e/files/byte-compile.mk17
-rw-r--r--mail/mu4e/files/patch-configure.ac133
-rw-r--r--mail/mu4e/files/patch-mu4e_Makefile.am11
-rw-r--r--mail/mu4e/pkg-descr2
-rw-r--r--mail/mu4e/pkg-plist51
-rw-r--r--mail/nextcloud-mail/Makefile2
-rw-r--r--mail/nextcloud-mail/distinfo6
-rw-r--r--mail/opensmtpd-filter-rspamd/Makefile2
-rw-r--r--mail/opensmtpd-filter-senderscore/Makefile2
-rw-r--r--mail/pantomime/Makefile26
-rw-r--r--mail/pantomime/pkg-descr6
-rw-r--r--mail/pecl-mailparse/Makefile14
-rw-r--r--mail/pecl-mailparse/distinfo6
-rw-r--r--mail/phpmailer6/Makefile2
-rw-r--r--mail/phpmailer6/distinfo6
-rw-r--r--mail/phpmailer6/pkg-plist2
-rw-r--r--mail/phpmailer7/Makefile43
-rw-r--r--mail/phpmailer7/distinfo3
-rw-r--r--mail/phpmailer7/files/pkg-message.in12
-rw-r--r--mail/phpmailer7/pkg-descr4
-rw-r--r--mail/phpmailer7/pkg-plist61
-rw-r--r--mail/pizauth/Makefile2
-rw-r--r--mail/postfix-current/Makefile2
-rw-r--r--mail/postfix-current/distinfo6
-rw-r--r--mail/postfix/Makefile2
-rw-r--r--mail/postfix/distinfo6
-rw-r--r--mail/py-afew/Makefile2
-rw-r--r--mail/py-checkdmarc/Makefile5
-rw-r--r--mail/py-checkdmarc/distinfo6
-rw-r--r--mail/py-exchangelib/Makefile40
-rw-r--r--mail/py-exchangelib/distinfo3
-rw-r--r--mail/py-exchangelib/files/patch-pyproject.toml12
-rw-r--r--mail/py-exchangelib/pkg-descr13
-rw-r--r--mail/py-offlineimap3/Makefile22
-rw-r--r--mail/py-offlineimap3/distinfo6
-rw-r--r--mail/py-offlineimap3/files/patch-test_tests_test__01__basic.py59
-rw-r--r--mail/py-resend/Makefile36
-rw-r--r--mail/py-resend/distinfo3
-rw-r--r--mail/py-resend/files/requirements.txt2
-rw-r--r--mail/py-resend/pkg-descr4
-rw-r--r--mail/roundcube-thunderbird_labels/Makefile2
-rw-r--r--mail/roundcube-thunderbird_labels/distinfo6
-rw-r--r--mail/roundcube-thunderbird_labels/pkg-plist2
-rw-r--r--mail/rspamd/Makefile2
-rw-r--r--mail/rspamd/distinfo6
-rw-r--r--mail/rspamd/pkg-plist17
-rw-r--r--mail/rubygem-actionmailbox80/Makefile2
-rw-r--r--mail/rubygem-actionmailbox80/distinfo6
-rw-r--r--mail/rubygem-actionmailer80/Makefile2
-rw-r--r--mail/rubygem-actionmailer80/distinfo6
-rw-r--r--mail/rubygem-gitlab-mail_room/Makefile5
-rw-r--r--mail/rubygem-net-imap/Makefile2
-rw-r--r--mail/rubygem-net-imap/distinfo6
-rw-r--r--mail/rubygem-roadie-rails-rails52/Makefile4
-rw-r--r--mail/rubygem-roadie-rails-rails52/distinfo6
-rw-r--r--mail/rubygem-roadie-rails-rails61/Makefile4
-rw-r--r--mail/rubygem-roadie-rails-rails61/distinfo6
-rw-r--r--mail/rubygem-roadie-rails-rails72/Makefile4
-rw-r--r--mail/rubygem-roadie-rails-rails72/distinfo6
-rw-r--r--mail/sendmail-devel/Makefile4
-rw-r--r--mail/sendmail-devel/distinfo6
-rw-r--r--mail/sendmail-devel/files/patch-mail.local.c8
-rw-r--r--mail/sendmail-devel/files/patch-readcf.c8
-rw-r--r--mail/sendmail-devel/files/patch-sendmail.h4
-rw-r--r--mail/sendmail-devel/files/patch-srvrsmtp.c24
-rw-r--r--mail/sendmail-devel/files/patch-usersmtp.c6
-rw-r--r--mail/smtprelay/Makefile2
-rw-r--r--mail/spamassassin-devel/Makefile6
-rw-r--r--mail/spamassassin-devel/distinfo6
-rw-r--r--mail/spamassassin/Makefile7
-rw-r--r--mail/spamassassin/distinfo6
-rw-r--r--mail/spamassassin/pkg-plist15
-rw-r--r--mail/sqwebmail/Makefile7
-rw-r--r--mail/sqwebmail/distinfo6
-rw-r--r--mail/sqwebmail/files/patch-Makefile.in6
-rw-r--r--mail/sqwebmail/files/patch-libs_rfc2045_rfc2045.h11
-rw-r--r--mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp.C11
-rw-r--r--mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp2.C29
-rw-r--r--mail/stalwart/Makefile83
-rw-r--r--mail/stalwart/Makefile.crates891
-rw-r--r--mail/stalwart/distinfo1785
-rw-r--r--mail/stalwart/files/patch-crates_cli_Cargo.toml19
-rw-r--r--mail/stalwart/files/patch-crates_main_Cargo.toml11
-rw-r--r--mail/stalwart/files/patch-crates_main_src_main.rs15
-rw-r--r--mail/stalwart/files/patch-tests_Cargo.toml9
-rw-r--r--mail/stalwart/files/patch-tests_src_lib.rs17
-rw-r--r--mail/stalwart/files/stalwart.in70
-rw-r--r--mail/stalwart/pkg-descr4
-rw-r--r--mail/stalwart/pkg-message17
-rw-r--r--mail/stalwart/pkg-plist6
-rw-r--r--mail/thunderbird-esr/Makefile5
-rw-r--r--mail/thunderbird-esr/distinfo6
-rw-r--r--mail/thunderbird-esr/files/patch-memory_mozalloc_throw__gcc.h69
-rw-r--r--mail/thunderbird-esr/files/patch-rust-1.89.018
-rw-r--r--mail/thunderbird/Makefile6
-rw-r--r--mail/thunderbird/distinfo6
-rw-r--r--mail/thunderbird/files/patch-libwebrtc-generated19184
-rw-r--r--mail/thunderbird/files/patch-memory_mozalloc_throw__gcc.h69
-rw-r--r--mail/thunderbird/files/patch-python_sites_mach.txt2
-rw-r--r--mail/thunderbird/files/patch-rust-1.89.018
-rw-r--r--mail/thunderbird/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn63
-rw-r--r--mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc21
175 files changed, 18832 insertions, 6349 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 092979a16662..10ba11914772 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -256,7 +256,6 @@
SUBDIR += msglint
SUBDIR += msmtp
SUBDIR += mu
- SUBDIR += mu4e
SUBDIR += mu4e-maildirs
SUBDIR += mulberry
SUBDIR += mutt
@@ -479,6 +478,7 @@
SUBDIR += phplist
SUBDIR += phpmailer
SUBDIR += phpmailer6
+ SUBDIR += phpmailer7
SUBDIR += pine-pgp-filters
SUBDIR += pizauth
SUBDIR += pm-lib
@@ -519,6 +519,7 @@
SUBDIR += py-dkimpy-milter
SUBDIR += py-email-reply-parser
SUBDIR += py-email-validator
+ SUBDIR += py-exchangelib
SUBDIR += py-flanker
SUBDIR += py-flask-mail
SUBDIR += py-flufl.bounce
@@ -543,6 +544,7 @@
SUBDIR += py-pyspf
SUBDIR += py-python-slimta
SUBDIR += py-pyzmail
+ SUBDIR += py-resend
SUBDIR += py-rfc6555
SUBDIR += py-spf-engine
SUBDIR += py-tlsrpt-reporter
diff --git a/mail/abook/Makefile b/mail/abook/Makefile
index 538c1e38c60f..c35c03754f85 100644
--- a/mail/abook/Makefile
+++ b/mail/abook/Makefile
@@ -4,7 +4,7 @@ PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://abook.sourceforge.net/devel/
-MAINTAINER= bapt@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Addressbook program with mutt mail client support
WWW= http://abook.sourceforge.net/
diff --git a/mail/aerc/Makefile b/mail/aerc/Makefile
index cbe36ac3b28b..2a4e56f03709 100644
--- a/mail/aerc/Makefile
+++ b/mail/aerc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= aerc
DISTVERSION= 0.21.0
+PORTREVISION= 3
CATEGORIES= mail
MAINTAINER= iamsleepy@ryuki.me
diff --git a/mail/astroid/Makefile b/mail/astroid/Makefile
index d8ddefa3e8d4..c70f709326ba 100644
--- a/mail/astroid/Makefile
+++ b/mail/astroid/Makefile
@@ -1,7 +1,7 @@
PORTNAME= astroid
DISTVERSIONPREFIX= v
DISTVERSION= 0.17
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MAINTAINER= mylan.connolly@gmail.com
diff --git a/mail/cone/Makefile b/mail/cone/Makefile
index fa4eaa2fe81f..4e0d80f44bf8 100644
--- a/mail/cone/Makefile
+++ b/mail/cone/Makefile
@@ -1,6 +1,5 @@
PORTNAME= cone
-DISTVERSION= 1.15
-PORTREVISION= 1
+DISTVERSION= 1.17
CATEGORIES= mail
# This is for beta versions, leave it in please:
#MASTER_SITES= http://www.courier-mta.org/beta/${PORTNAME}/ \
diff --git a/mail/cone/distinfo b/mail/cone/distinfo
index 183cf75b363a..db07eaa36c7d 100644
--- a/mail/cone/distinfo
+++ b/mail/cone/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744142689
-SHA256 (cone-1.15.tar.bz2) = 8678ef250e722a24e841f55d3b867c21ce483569d1dcaadb2b05965ca9825f66
-SIZE (cone-1.15.tar.bz2) = 4010664
+TIMESTAMP = 1761471250
+SHA256 (cone-1.17.tar.bz2) = d51e2548ed98d5824a5f94fe66ed563fb8c4b57fddc6634d5c557aa13bf329ec
+SIZE (cone-1.17.tar.bz2) = 4275564
diff --git a/mail/cone/files/patch-libs_rfc2045_rfc2045.h b/mail/cone/files/patch-libs_rfc2045_rfc2045.h
new file mode 100644
index 000000000000..af387f7e7dd7
--- /dev/null
+++ b/mail/cone/files/patch-libs_rfc2045_rfc2045.h
@@ -0,0 +1,11 @@
+--- libs/rfc2045/rfc2045.h.orig 2025-10-06 09:00:02 UTC
++++ libs/rfc2045/rfc2045.h
+@@ -3224,7 +3224,7 @@ void rfc822::mime_decoder<out_iter, src_type>::decode(
+
+ if (decode_header)
+ {
+- typename rfc2045::entity::line_iter<crlf>::headers<
++ typename rfc2045::entity::line_iter<crlf>::template headers<
+ src_type> parser{e, src };
+
+ parser.name_lc=header_name_lc;
diff --git a/mail/cone/files/patch-libs_rfc2045_testsuitecpp.C b/mail/cone/files/patch-libs_rfc2045_testsuitecpp.C
new file mode 100644
index 000000000000..649fadc8ea79
--- /dev/null
+++ b/mail/cone/files/patch-libs_rfc2045_testsuitecpp.C
@@ -0,0 +1,11 @@
+--- libs/rfc2045/testsuitecpp.C.orig 2025-10-04 09:00:06 UTC
++++ libs/rfc2045/testsuitecpp.C
+@@ -19,7 +19,7 @@ void testrfc2045line_iter_testset(int &testnum, test_t
+ auto b=s.begin();
+ auto e=s.end();
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::string_view::iterator,
+ std::string_view::iterator
+ >
diff --git a/mail/cone/files/patch-libs_rfc2045_testsuitecpp2.C b/mail/cone/files/patch-libs_rfc2045_testsuitecpp2.C
new file mode 100644
index 000000000000..353465b17a71
--- /dev/null
+++ b/mail/cone/files/patch-libs_rfc2045_testsuitecpp2.C
@@ -0,0 +1,29 @@
+--- libs/rfc2045/testsuitecpp2.C.orig 2025-09-10 09:00:05 UTC
++++ libs/rfc2045/testsuitecpp2.C
+@@ -217,7 +217,7 @@ void test3()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -310,7 +310,7 @@ void test4()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -488,7 +488,7 @@ void test5()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 89e4c2a26574..5d085458ae4d 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,5 +1,5 @@
PORTNAME= courier-imap
-PORTVERSION= 5.2.11
+PORTVERSION= 5.3.1
PORTEPOCH= 2
CATEGORIES= mail
MASTER_SITES= SF/courier/imap/${PORTVERSION}
diff --git a/mail/courier-imap/distinfo b/mail/courier-imap/distinfo
index fb0b026e5857..e1b9ff11335e 100644
--- a/mail/courier-imap/distinfo
+++ b/mail/courier-imap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744019947
-SHA256 (courier-imap-5.2.11.tar.bz2) = 49fd73f7f056f4525aba4767cf912999d69f2f5efd757094159e4fc38c783122
-SIZE (courier-imap-5.2.11.tar.bz2) = 3418726
+TIMESTAMP = 1761325457
+SHA256 (courier-imap-5.3.1.tar.bz2) = 7c6f02b437c4dcc1b3e137ab543b5cc9f9e54f01bc74d6ca0509a3efb41ddaa6
+SIZE (courier-imap-5.3.1.tar.bz2) = 3732996
diff --git a/mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h b/mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h
new file mode 100644
index 000000000000..af387f7e7dd7
--- /dev/null
+++ b/mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h
@@ -0,0 +1,11 @@
+--- libs/rfc2045/rfc2045.h.orig 2025-10-06 09:00:02 UTC
++++ libs/rfc2045/rfc2045.h
+@@ -3224,7 +3224,7 @@ void rfc822::mime_decoder<out_iter, src_type>::decode(
+
+ if (decode_header)
+ {
+- typename rfc2045::entity::line_iter<crlf>::headers<
++ typename rfc2045::entity::line_iter<crlf>::template headers<
+ src_type> parser{e, src };
+
+ parser.name_lc=header_name_lc;
diff --git a/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C
new file mode 100644
index 000000000000..649fadc8ea79
--- /dev/null
+++ b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C
@@ -0,0 +1,11 @@
+--- libs/rfc2045/testsuitecpp.C.orig 2025-10-04 09:00:06 UTC
++++ libs/rfc2045/testsuitecpp.C
+@@ -19,7 +19,7 @@ void testrfc2045line_iter_testset(int &testnum, test_t
+ auto b=s.begin();
+ auto e=s.end();
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::string_view::iterator,
+ std::string_view::iterator
+ >
diff --git a/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C
new file mode 100644
index 000000000000..353465b17a71
--- /dev/null
+++ b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C
@@ -0,0 +1,29 @@
+--- libs/rfc2045/testsuitecpp2.C.orig 2025-09-10 09:00:05 UTC
++++ libs/rfc2045/testsuitecpp2.C
+@@ -217,7 +217,7 @@ void test3()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -310,7 +310,7 @@ void test4()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -488,7 +488,7 @@ void test5()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
diff --git a/mail/courier/Makefile b/mail/courier/Makefile
index 95c855d8e014..1e41ddcfb362 100644
--- a/mail/courier/Makefile
+++ b/mail/courier/Makefile
@@ -1,6 +1,5 @@
PORTNAME= courier
-PORTVERSION= 1.1.11
-PORTREVISION= 4
+PORTVERSION= 1.5.1
CATEGORIES= mail
MASTER_SITES= SF
@@ -12,25 +11,18 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
BUILD_DEPENDS= courierauthconfig:security/courier-authlib-base \
+ gpg2:security/gnupg \
wget:ftp/wget
-LIB_DEPENDS= libidn.so:dns/libidn \
- libpcre.so:devel/pcre \
+LIB_DEPENDS= libcourier-unicode.so:devel/courier-unicode \
libgdbm.so:databases/gdbm \
- libcourier-unicode.so:devel/courier-unicode \
+ libidn2.so:dns/libidn2 \
libpcre2-8.so:devel/pcre2
-RUN_DEPENDS= courierauthconfig:security/courier-authlib-base \
+RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support \
${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool \
- ${LOCALBASE}/etc/mime.types:misc/mime-support \
- p5-Net-CIDR>=0:net-mgmt/p5-Net-CIDR \
ca_root_nss>=3.*:security/ca_root_nss \
- ${LOCALBASE}/bin/wget:ftp/wget
-CONFLICTS= courier-imap-2.* couriermlm-0.* \
- exim-4.* maildrop-1.* \
- panda-imap-201* postfix-1.* postfix-2.* \
- qmail-*-1.* qmail-1.* \
- sendmail-*-8.* sendmail-8.* \
- smail-3.* sqwebmail-3.* \
- zmailer-2.*
+ courierauthconfig:security/courier-authlib-base \
+ p5-Net-CIDR>=0:net-mgmt/p5-Net-CIDR \
+ wget:ftp/wget
#
# User-serviceable variables
@@ -43,9 +35,9 @@ CONFLICTS= courier-imap-2.* couriermlm-0.* \
# recomended values are: /var/mail, ./Mailbox or ./Maildir
#
-IMAGEURL?= /webmail
-CACHEOWN?= pop
-MAILDROPDEFAULT?=./Maildir
+IMAGEURL?= /webmail
+CACHEOWN?= pop
+MAILDROPDEFAULT?= ./Maildir
# End of user-serviceable variables
@@ -53,7 +45,6 @@ MAILOWN?= courier
MAILGRP?= courier
MAILUID?= 465
MAILGID?= 465
-ETCDIR= ${PREFIX}/etc
SYSCONFDIR= ${ETCDIR}/courier
LIBEXECDIR= ${PREFIX}/libexec
LOCALSTATEDIR= /var/spool/courier
@@ -62,215 +53,147 @@ CALENDIR= /var/spool/calendar
MIMETYPES= ${LOCALBASE}/etc/mime.types
WITH_TRANSPORT= local esmtp dsn
-USES= fam gettext gmake libtool perl5 pkgconfig tar:bzip2 ssl shebangfix
-USE_SUBMAKE= yes
+USES= fam gettext gmake libtool localbase perl5 pkgconfig shebangfix \
+ ssl tar:bzip2
USE_RC_SUBR= courier
+USE_SUBMAKE= yes
SHEBANG_FILES= courier/filters/perlfilter/perlfilter-ratelimit.pl \
courier/filters/perlfilter/perlfilter-wrapper.pl
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS= --disable-root-check \
- --with-db=gdbm \
- --enable-syslog=1 --enable-use-flock \
- --program-transform-name=s,^,, \
- --enable-utf7-folder-encoding \
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+CONFIGURE_ARGS= --datadir=${DATADIR} \
+ --disable-root-check \
+ --enable-imageurl=${IMAGEURL} \
+ --enable-mimetypes=${MIMETYPES} \
+ --enable-syslog=1 \
--enable-unicode \
- --with-mailuser=${MAILOWN} \
- --with-mailgroup=${MAILGRP} \
- --with-mailuid=${MAILUID} \
- --with-mailgid=${MAILGID} \
- --with-etcdir=${ETCDIR} \
- --sysconfdir=${SYSCONFDIR} \
- --datadir=${DATADIR} \
+ --enable-use-flock \
+ --enable-utf7-folder-encoding \
+ --enable-workarounds-for-imap-client-bugs \
--libexecdir=${LIBEXECDIR} \
--localstatedir=${LOCALSTATEDIR} \
- --enable-mimetypes=${MIMETYPES} \
- --enable-imageurl=${IMAGEURL} \
+ --program-transform-name=s,^,, \
+ --sysconfdir=${SYSCONFDIR} \
--with-cachedir=${CACHEDIR} \
--with-cacheowner=${CACHEOWN} \
--with-calendardir=${CALENDIR} \
- --with-mydatadir=${SYSCONFDIR} \
- --with-transport='${WITH_TRANSPORT}' \
+ --with-db=gdbm \
--with-default-maildrop=${MAILDROPDEFAULT} \
+ --with-etcdir=${ETCDIR} \
+ --with-mailgid=${MAILGID} \
+ --with-mailgroup=${MAILGRP} \
+ --with-mailuid=${MAILUID} \
+ --with-mailuser=${MAILOWN} \
+ --with-mydatadir=${SYSCONFDIR} \
+ --with-notice=unicode \
--with-paranoid-smtpext \
- --enable-workarounds-for-imap-client-bugs \
- --with-notice=unicode
-
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
-
+ --with-transport='${WITH_TRANSPORT}'
INSTALL_TARGET= install-strip install-perms
-PLIST_SUB+= BINOWN="${BINOWN}" BINGRP="${BINGRP}" \
- CACHEOWN="${CACHEOWN}" CACHEDIR="${CACHEDIR}" \
- CALENDIR="${CALENDIR}" LOCALSTATEDIR="${LOCALSTATEDIR}" \
- MAILOWN="${MAILOWN}" MAILGRP="${MAILGRP}" \
- MAILUID="${MAILUID}" MAILGID="${MAILGID}" \
- SHAREOWN="${SHAREOWN}" SHAREGRP="${SHAREGRP}"
+CONFLICTS= courier-imap-2.* couriermlm-0.* exim-4.* maildrop-1.* \
+ panda-imap-201* postfix-1.* postfix-2.* qmail-*-1.* qmail-1.* \
+ sendmail-*-8.* sendmail-8.* smail-3.* sqwebmail-3.* zmailer-2.*
+ETCDIR= ${PREFIX}/etc
+SUB_FILES+= crontab pkg-message sharedindexupdate
SUB_LIST:= ${PLIST_SUB}
-SUB_FILES+= pkg-message crontab sharedindexupdate
-OPTIONS_DEFINE= LDAP PROCMAIL SENDFAX UUCP IPV6 DOCS CERTSDIR
-OPTIONS_GROUP= WEBMAIL
-OPTIONS_GROUP_WEBMAIL= GNUPG WEBMAILRSENT WEBMAILFLAGS WEBMAILXFACE
-OPTIONS_RADIO= ALIASES SPELL
-OPTIONS_RADIO_ALIASES= SYSTEMALIASES EMPTYALIASES
+PLIST_SUB+= BINGRP="${BINGRP}" \
+ BINOWN="${BINOWN}" \
+ CACHEDIR="${CACHEDIR}" \
+ CACHEOWN="${CACHEOWN}" \
+ CALENDIR="${CALENDIR}" \
+ LOCALSTATEDIR="${LOCALSTATEDIR}" \
+ MAILGID="${MAILGID}" \
+ MAILGRP="${MAILGRP}" \
+ MAILOWN="${MAILOWN}" \
+ MAILUID="${MAILUID}" \
+ SHAREGRP="${SHAREGRP}" \
+ SHAREOWN="${SHAREOWN}"
+
+OPTIONS_DEFINE= CERTSDIR DOCS IPV6 LDAP MAILCONF PROCMAIL SENDFAX UUCP
+OPTIONS_DEFAULT= SYSTEMALIASES WEBMAILRSENT
+OPTIONS_GROUP= WEBMAIL
+OPTIONS_GROUP_WEBMAIL= GNUPG WEBMAILFLAGS WEBMAILRSENT WEBMAILXFACE
+OPTIONS_RADIO= ALIASES SPELL
+OPTIONS_RADIO_ALIASES= EMPTYALIASES SYSTEMALIASES
OPTIONS_RADIO_SPELL= ASPELL ISPELL
-OPTIONS_DEFAULT=WEBMAILRSENT SYSTEMALIASES
-
-LDAP_DESC= LDAP-based mail aliasing support
-GNUPG_DESC= GNU Privacy Guard support for WebMail
-ASPELL_DESC= ASpell support for WebMail
-ISPELL_DESC= ISpell support for WebMail
-PROCMAIL_DESC= Procmail local delivery support
-SENDFAX_DESC= mgetty+sendfax support
-UUCP_DESC= UUCP support
-CERTSDIR_DESC= separate .pem directory for certificates
-WEBMAILRSENT_DESC= enable Autorename Sent folder
+OPTIONS_SUB= yes
+
+ASPELL_DESC= ASpell support for WebMail
+ISPELL_DESC= ISpell support for WebMail
+CERTSDIR_DESC= separate .pem directory for certificates
+EMPTYALIASES_DESC= create empty aliases file
+GNUPG_DESC= GNU Privacy Guard support for WebMail
+LDAP_DESC= LDAP-based mail aliasing support
+MAILCONF_DESC= modify mailer.conf to use courier instead of sendmail
+PROCMAIL_DESC= Procmail local delivery support
+SENDFAX_DESC= mgetty+sendfax support
+SYSTEMALIASES_DESC= symlink system /etc/aliases
+UUCP_DESC= UUCP support
WEBMAILFLAGS_DESC= webmail show flags patch
+WEBMAILRSENT_DESC= enable Autorename Sent folder
WEBMAILXFACE_DESC= experimental webmail X-Face patch
-SYSTEMALIASES_DESC= symlink system /etc/aliases
-EMPTYALIASES_DESC= create empty aliases file
-RCCONF_DESC= modify rc.conf to enable courier/disable sendmail
-MAILCONF_DESC= modify mailer.conf to use courier instead of sendmail
-PERIODIC_DESC= modify/create periodic.conf
-.include <bsd.port.options.mk>
+ASPELL_BUILD_DEPENDS= aspell:textproc/aspell
+ASPELL_RUN_DEPENDS= aspell:textproc/aspell
+ASPELL_CONFIGURE_ON= --with-ispell=${LOCALBASE}/bin/aspell
-.include "${.CURDIR}/Makefile.doc"
+ISPELL_BUILD_DEPENDS= ispell:textproc/aspell-ispell
+ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell
+ISPELL_CONFIGURE_ON= --with-ispell=${LOCALBASE}/bin/ispell
-.if ${PORT_OPTIONS:MLDAP}
-USES+= ldap
-WITH_AUTH_LDAP= yes
-RUN_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthldap.so:net/courier-authlib-ldap
-CONFIGURE_ARGS+=--with-ldapaliasd
-PLIST_SUB+= WITHLDAP=""
-SUB_LIST+= WITHLDAP=""
-.else
-CONFIGURE_ARGS+=--without-ldapaliasd
-PLIST_SUB+= WITHLDAP="@comment "
-SUB_LIST+= WITHLDAP="@comment "
-.endif
+CERTSDIR_CONFIGURE_ON= --with-certsdir=${SYSCONFDIR}/.pem
+CERTSDIR_CONFIGURE_OFF= --with-certsdir=${SYSCONFDIR}
+CERTSDIR_SUB_LIST= CERTSDIRPATH="${SYSCONFDIR}/.pem"
+CERTSDIR_SUB_LIST_OFF= CERTSDIRPATH="${SYSCONFDIR}"
-.if ${PORT_OPTIONS:MSYSTEMALIASES}
-PLIST_SUB+= WITHSYSTEMALIASES=""
-SUB_LIST+= WITHSYSTEMALIASES=""
-.else
-PLIST_SUB+= WITHSYSTEMALIASES="@comment "
-SUB_LIST+= WITHSYSTEMALIASES="@comment "
-.endif
+GNUPG_RUN_DEPENDS= gpg2:security/gnupg
+GNUPG_CONFIGURE_ENV= GPG="${LOCALBASE}/bin/gpg2"
-.if ${PORT_OPTIONS:MEMPTYALIASES}
-PLIST_SUB+= WITHEMPTYALIASES=""
-SUB_LIST+= WITHEMPTYALIASES=""
-.else
-PLIST_SUB+= WITHEMPTYALIASES="@comment "
-SUB_LIST+= WITHEMPTYALIASES="@comment "
-.endif
+IPV6_CONFIGURE_WITH= ipv6
-.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
-.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
-.endif
+LDAP_RUN_DEPENDS= ${LOCALBASE}/lib/courier-authlib/libauthldap.so:net/courier-authlib-ldap
+LDAP_USES= ldap
+LDAP_CONFIGURE_WITH= ldapaliasd
-.if ${PORT_OPTIONS:MGNUPG}
-BUILD_DEPENDS+= gpg:security/gnupg
-RUN_DEPENDS+= gpg:security/gnupg
-.else
-# This is a hack! But works well (at least partially) for me...
-CONFIGURE_ENV+= GPG="${WRKSRC}/fakegpg"
-.endif
+MAILCONF_SUB_LIST= MAILCONFACT="y"
+MAILCONF_SUB_LIST_OFF= MAILCONFACT="n"
-.if ${PORT_OPTIONS:MASPELL}
-BUILD_DEPENDS+= aspell:textproc/aspell
-RUN_DEPENDS+= aspell:textproc/aspell
-CONFIGURE_ARGS+=--with-ispell=${LOCALBASE}/bin/aspell
-.elif ${PORT_OPTIONS:MISPELL}
-BUILD_DEPENDS+= ispell:textproc/aspell-ispell
-RUN_DEPENDS+= ispell:textproc/aspell-ispell
-CONFIGURE_ARGS+=--with-ispell=${LOCALBASE}/bin/ispell
-.else
-CONFIGURE_ARGS+=--without-ispell
-.endif
+PROCMAIL_BUILD_DEPENDS= procmail:mail/procmail
+PROCMAIL_RUN_DEPENDS= procmail:mail/procmail
-.if ${PORT_OPTIONS:MPROCMAIL}
-BUILD_DEPENDS+= procmail:mail/procmail
-RUN_DEPENDS+= procmail:mail/procmail
-.endif
+SENDFAX_BUILD_DEPENDS= pnmscale:graphics/netpbm \
+ sendfax:comms/mgetty+sendfax
+SENDFAX_RUN_DEPENDS= pnmscale:graphics/netpbm \
+ sendfax:comms/mgetty+sendfax
+SENDFAX_USES= ghostscript
+SENDFAX_VARS= WITH_TRANSPORT+=fax
-.if ${PORT_OPTIONS:MSENDFAX}
-USES+= ghostscript
-SENDFAX_DEPENDS=sendfax:comms/mgetty+sendfax \
- pnmscale:graphics/netpbm
-BUILD_DEPENDS+= ${SENDFAX_DEPENDS}
-RUN_DEPENDS+= ${SENDFAX_DEPENDS}
-WITH_TRANSPORT+=fax
-PLIST_SUB+= WITHFAX=""
-SUB_LIST+= WITHFAX=""
-.else
-PLIST_SUB+= WITHFAX="@comment "
-SUB_LIST+= WITHFAX="@comment "
-.endif
+UUCP_BUILD_DEPENDS= uux:net/freebsd-uucp
+UUCP_RUN_DEPENDS= uux:net/freebsd-uucp
+UUCP_VARS= WITH_TRANSPORT+=uucp
-.if ${PORT_OPTIONS:MUUCP}
-.if !exists(/usr/bin/uux)
-BUILD_DEPENDS+= uux:net/freebsd-uucp
-RUN_DEPENDS+= uux:net/freebsd-uucp
-.endif
-WITH_TRANSPORT+=uucp
-PLIST_SUB+= WITHUUCP=""
-.else
-PLIST_SUB+= WITHUUCP="@comment "
-.endif
+WEBMAILFLAGS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-libs__sqwebmail__folder.c \
+ ${FILESDIR}/extra-patch-libs__sqwebmail__maildir.c \
+ ${FILESDIR}/extra-patch-libs__sqwebmail__maildir.h \
+ ${FILESDIR}/extra-patch-libs__sqwebmail__images__sqwebmail.css
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=--with-ipv6
-.else
-CONFIGURE_ARGS+=--without-ipv6
-.endif
+WEBMAILRSENT_CONFIGURE_ENABLE= autorenamesent
-.if ${PORT_OPTIONS:MWEBMAILXFACE}
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libs__sqwebmail__msg2html.c
-.endif
+WEBMAILXFACE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-libs__sqwebmail__msg2html.c
-.if ${PORT_OPTIONS:MWEBMAILFLAGS}
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libs__sqwebmail__folder.c ${FILESDIR}/extra-patch-libs__sqwebmail__maildir.c
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libs__sqwebmail__maildir.h ${FILESDIR}/extra-patch-libs__sqwebmail__images__sqwebmail.css
-.endif
-
-.if ${PORT_OPTIONS:MWEBMAILRSENT}
-CONFIGURE_ARGS+=--enable-autorenamesent
-.else
-CONFIGURE_ARGS+=--disable-autorenamesent
-.endif
-
-.if ${PORT_OPTIONS:MMAILCONF}
-SUB_LIST+= MAILCONF="y"
-.else
-SUB_LIST+= MAILCONF="n"
-.endif
+.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MRCCONF}
-SUB_LIST+= RCCONF="y"
-.else
-SUB_LIST+= RCCONF="n"
+.if !${PORT_OPTIONS:MASPELL} && !${PORT_OPTIONS:MISPELL}
+CONFIGURE_ARGS+= --without-ispell
.endif
-.if ${PORT_OPTIONS:MPERIODIC}
-SUB_LIST+= PERIODIC="y"
-.else
-SUB_LIST+= PERIODIC="n"
-.endif
+.include "${.CURDIR}/Makefile.doc"
-.if ${PORT_OPTIONS:MCERTSDIR}
-CONFIGURE_ARGS+=--with-certsdir=${SYSCONFDIR}/.pem
-PLIST_SUB+= WITHCERTSDIR=""
-SUB_LIST+= CERTSDIR="${SYSCONFDIR}/.pem"
-.else
-CONFIGURE_ARGS+=--with-certsdir=${SYSCONFDIR}
-PLIST_SUB+= WITHCERTSDIR="@comment "
-SUB_LIST+= CERTSDIR="${SYSCONFDIR}"
+.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
+.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
.endif
_CNFFILES= esmtpd.cnf \
@@ -293,11 +216,6 @@ _DISTEXFILES= courierd.dist \
sqwebmaild.dist \
webmlmrc.dist
-pre-everything::
- @${ECHO_MSG} "===> --------------------------------------------------------"
- @${ECHO_MSG} "===> Run 'make config' to (re)configure ${PKGNAME}"
- @${ECHO_MSG} "===> --------------------------------------------------------"
-
pre-patch:
${CP} ${TEMPLATES}/config.guess ${TEMPLATES}/config.sub ${WRKSRC}
@@ -339,11 +257,6 @@ post-patch:
${FIND} ${WRKSRC} -name configure -exec ${REINPLACE_CMD} \
-i .c++20 '/^version.*cat/s,/version,&.txt,' {} +
-pre-configure:
-# This is a hack! But works well (at least partially) for me...
- touch ${WRKSRC}/fakegpg
- chmod +x ${WRKSRC}/fakegpg
-
post-build:
${PERL} -pi -e 's|^(auth)\s+(required).*|$$1\t\t$$2\tpam_unix.so\ttry_first_pass|g;' \
-e 's|^(account)\s+(required).*|$$1 \t$$2\tpam_unix.so|g;' \
@@ -384,12 +297,12 @@ post-install:
.endfor
${INSTALL_DATA} ${STAGEDIR}${DATADIR}/htmldoc/* ${STAGEDIR}${DOCSDIR}/html
.endif
-.if ${PORT_OPTIONS:MCERTSDIR}
- ${MKDIR} ${STAGEDIR}${SYSCONFDIR}/.pem
-.endif
${RM} -r ${STAGEDIR}${DATADIR}/htmldoc
${CHMOD} -R a+r ${STAGEDIR}${DATADIR}/courierwebadmin
${CHMOD} -R a-w ${STAGEDIR}${DATADIR} ${STAGEDIR}${LIBEXECDIR}/courier
${CHMOD} 550 ${STAGEDIR}${LIBEXECDIR}/courier/modules/esmtp/courieresmtp*
+post-install-CERTSDIR-on:
+ ${MKDIR} ${STAGEDIR}${SYSCONFDIR}/.pem
+
.include <bsd.port.mk>
diff --git a/mail/courier/distinfo b/mail/courier/distinfo
index af6d59963b10..68fe9c312e25 100644
--- a/mail/courier/distinfo
+++ b/mail/courier/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686226592
-SHA256 (courier-1.1.11.tar.bz2) = 4fe3b73e7da159351ab973b52044996aa0006076f2effdcc4c004be087c5f777
-SIZE (courier-1.1.11.tar.bz2) = 7895772
+TIMESTAMP = 1761292733
+SHA256 (courier-1.5.1.tar.bz2) = 521d1dcbb5038ff635d8e264eee2c45d4638b05a8551c3107d47b227df41a162
+SIZE (courier-1.5.1.tar.bz2) = 8470196
diff --git a/mail/courier/files/courier.in b/mail/courier/files/courier.in
index 45a3e5a54bf5..4de6995efeba 100644
--- a/mail/courier/files/courier.in
+++ b/mail/courier/files/courier.in
@@ -13,7 +13,7 @@
prefix="%%PREFIX%%"
exec_prefix="${prefix}"
sysconfdir="${prefix}/etc/courier"
-certsdir="%%CERTSDIR%%"
+certsdir="%%CERTSDIRPATH%%"
sbindir="${exec_prefix}/sbin"
bindir="${exec_prefix}/bin"
libexecdir="${prefix}/libexec"
diff --git a/mail/courier/files/extra-patch-webmail__folder.c b/mail/courier/files/extra-patch-libs__sqwebmail__folder.c
index d62fbc5703e3..57e46767947c 100644
--- a/mail/courier/files/extra-patch-webmail__folder.c
+++ b/mail/courier/files/extra-patch-libs__sqwebmail__folder.c
@@ -1,7 +1,7 @@
---- libs/sqwebmail/folder.c.orig 2008-07-20 19:00:33.000000000 +0200
-+++ libs/sqwebmail/folder.c 2009-06-04 08:32:54.000000000 +0200
-@@ -331,6 +331,18 @@
- return rc ? "quota":"";
+--- libs/sqwebmail/folder.c.orig 2025-05-12 00:23:26 UTC
++++ libs/sqwebmail/folder.c
+@@ -251,6 +251,18 @@ static int groupmove(const char *folder, const char *f
+ return (maildir_msgmovefile(folder, file, cgi("moveto"), pos));
}
+static int groupmark(const char *folder, const char *file, size_t pos)
@@ -16,12 +16,12 @@
+ return (0);
+}
+
- void folder_delmsgs(const char *dir, size_t pos)
+ static const char *do_folder_delmsgs(const char *dir, size_t pos)
{
- const char *status=do_folder_delmsgs(dir, pos);
-@@ -392,6 +404,16 @@
- }
- fclose(fp);
+ int rc=0;
+@@ -320,6 +332,16 @@ static const char *do_folder_delmsgs(const char *dir,
+ rc=group_movedel( dir, &groupmove );
+ maildir_savefoldermsgs(dir);
}
+ else if (*cgi("cmdmark"))
+ {
@@ -32,11 +32,11 @@
+ {
+ rc=group_movedel( dir, &groupunmark );
+ maildir_savefoldermsgs(dir);
-+ }
++ }
+
+ maildir_cleanup();
- fprintf(ofp, "%s\n%s\n", maildir, path);
- fclose(ofp);
-@@ -510,7 +532,7 @@
+@@ -505,7 +527,7 @@ unsigned long *last_message_searched_ptr=NULL;
folder_navigate(dir, pos, highend, morebefore, moreafter,
last_message_searched_ptr);
@@ -45,7 +45,7 @@
getarg("NUM"),
getarg("DATE"),
(strncmp(dir, INBOX "." SENT, sizeof(INBOX)+sizeof(SENT)-1) &&
-@@ -531,9 +553,9 @@
+@@ -526,9 +548,9 @@ unsigned long *last_message_searched_ptr=NULL;
if (found)
{
@@ -58,7 +58,7 @@
puts("<script type=\"text/javascript\">");
puts("/* <![CDATA[ */");
-@@ -565,7 +587,7 @@
+@@ -560,7 +582,7 @@ unsigned long *last_message_searched_ptr=NULL;
}
if (!found && nomsg)
{
@@ -67,7 +67,7 @@
puts(nomsg);
puts("<br /></p></td></tr>");
printf("</table>\n");
-@@ -630,12 +652,13 @@
+@@ -625,12 +647,13 @@ static void show_msg(const char *dir,
if ((q=strrchr(p, '/')) != 0)
p=q+1;
@@ -78,11 +78,11 @@
folder_index_entry_start,
(long)(msgnum+1),
folder_index_entry_end,
-+ maildirfile_flag(MSGINFO_FILENAME(contents[i])) ? "<font color=\"red\">!</font>" : "",
++ maildirfile_flag(MSGINFO_FILENAME(msg)) ? "<font color=\"red\">!</font>" : "",
(long) (msgnum),
(long) (msgnum));
printf("\" onchange=\"setsel('MOVE-%ld', 'row%d', 'folder-index-bg-%d');\"%s /><input type=\"hidden\" name=\"MOVEFILE-%ld\" value=\"",
-@@ -643,7 +666,7 @@
+@@ -638,7 +661,7 @@ static void show_msg(const char *dir,
(type[0] == MSGTYPE_DELETED ? " disabled=\"disabled\"":""),
(long)(msgnum));
output_attrencoded(p);
@@ -91,7 +91,7 @@
folder_index_entry_start,
type,
folder_index_entry_end,
-@@ -3645,7 +3668,7 @@
+@@ -3640,7 +3663,7 @@ void folder_showtransfer()
if ((strcmp(sqwebmail_folder, INBOX "." TRASH) == 0) && (strlen(getarg("PURGEALL"))))
printf("<input type=\"submit\" name=\"cmdpurgeall\" value=\"%s\" onclick=\"javascript: return deleteAll();\" />",
getarg("PURGEALL"));
diff --git a/mail/courier/files/extra-patch-webmail__images__sqwebmail.css b/mail/courier/files/extra-patch-libs__sqwebmail__images__sqwebmail.css
index de75c1143f8f..de75c1143f8f 100644
--- a/mail/courier/files/extra-patch-webmail__images__sqwebmail.css
+++ b/mail/courier/files/extra-patch-libs__sqwebmail__images__sqwebmail.css
diff --git a/mail/courier/files/extra-patch-webmail__maildir.c b/mail/courier/files/extra-patch-libs__sqwebmail__maildir.c
index a6b96b375296..a6b96b375296 100644
--- a/mail/courier/files/extra-patch-webmail__maildir.c
+++ b/mail/courier/files/extra-patch-libs__sqwebmail__maildir.c
diff --git a/mail/courier/files/extra-patch-webmail__maildir.h b/mail/courier/files/extra-patch-libs__sqwebmail__maildir.h
index 6dff5f0ff87d..6dff5f0ff87d 100644
--- a/mail/courier/files/extra-patch-webmail__maildir.h
+++ b/mail/courier/files/extra-patch-libs__sqwebmail__maildir.h
diff --git a/mail/courier/files/extra-patch-webmail__msg2html.c b/mail/courier/files/extra-patch-libs__sqwebmail__msg2html.c
index 5e310aad1bad..5e310aad1bad 100644
--- a/mail/courier/files/extra-patch-webmail__msg2html.c
+++ b/mail/courier/files/extra-patch-libs__sqwebmail__msg2html.c
diff --git a/mail/courier/files/patch-courier__Makefile.in b/mail/courier/files/patch-courier__Makefile.in
index 392829115f58..8be18d04d16b 100644
--- a/mail/courier/files/patch-courier__Makefile.in
+++ b/mail/courier/files/patch-courier__Makefile.in
@@ -1,6 +1,6 @@
--- courier/Makefile.in.orig 2010-02-15 18:58:00.000000000 +0100
+++ courier/Makefile.in 2010-02-15 19:11:12.000000000 +0100
-@@ -441,6 +441,7 @@
+@@ -626,6 +626,7 @@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
@@ -8,3 +8,33 @@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
+@@ -2478,21 +2479,21 @@
+ $(INSTALL_SCRIPT) imapd.rc $(DESTDIR)$(datadir)/imapd
+ $(INSTALL_SCRIPT) imapd-ssl.rc $(DESTDIR)$(datadir)/imapd-ssl
+ rm -f $(DESTDIR)$(sbindir)/imapd
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/imapd` $(DESTDIR)$(sbindir)/imapd
++ $(LN_S) $(datadir)/imapd $(DESTDIR)$(sbindir)/imapd
+ rm -f $(DESTDIR)$(sbindir)/imapd-ssl
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/imapd-ssl` $(DESTDIR)$(sbindir)/imapd-ssl
++ $(LN_S) $(datadir)/imapd-ssl $(DESTDIR)$(sbindir)/imapd-ssl
+ rm -f $(DESTDIR)$(sbindir)/mkdhparams
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/mkdhparams` $(DESTDIR)$(sbindir)/mkdhparams
++ $(LN_S) $(datadir)/mkdhparams $(DESTDIR)$(sbindir)/mkdhparams
+ rm -f $(DESTDIR)$(sbindir)/mkimapdcert
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/mkimapdcert` $(DESTDIR)$(sbindir)/mkimapdcert
++ $(LN_S) $(datadir)/mkimapdcert $(DESTDIR)$(sbindir)/mkimapdcert
+ rm -f $(DESTDIR)$(sbindir)/mkpop3dcert
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/mkpop3dcert` $(DESTDIR)$(sbindir)/mkpop3dcert
++ $(LN_S) $(datadir)/mkpop3dcert $(DESTDIR)$(sbindir)/mkpop3dcert
+ rm -f $(DESTDIR)$(bindir)/makedat
+- $(LN_S) `realpath -m --relative-to $(bindir) $(datadir)/makedat` $(DESTDIR)$(bindir)/makedat
++ $(LN_S) $(datadir)/makedat $(DESTDIR)$(bindir)/makedat
+ for f in makealiases makehosteddomains makeimapaccess pop3d pop3d-ssl \
+ ; do rm -f $(DESTDIR)$(sbindir)/$$f ; \
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/$$f` $(DESTDIR)$(sbindir)/$$f ; done
+- rm -f $(DESTDIR)$(sbindir)/webgpg ; $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/sqwebmail/webgpg` $(DESTDIR)$(sbindir)/webgpg
++ $(LN_S) $(datadir)/$$f $(DESTDIR)$(sbindir)/$$f ; done
++ rm -f $(DESTDIR)$(sbindir)/webgpg ; $(LN_S) $(datadir)/sqwebmail/webgpg $(DESTDIR)$(sbindir)/webgpg
+ $(INSTALL_PROGRAM) ../webadmin/webadmin $(DESTDIR)$(webmaildir)/webadmin
+ mkdir -p $(DESTDIR)$(sysconfdir)/shared
+ chmod 755 $(DESTDIR)$(sysconfdir)/shared
diff --git a/mail/courier/files/patch-courier__filters__Makefile.in b/mail/courier/files/patch-courier__filters__Makefile.in
new file mode 100644
index 000000000000..0aa5fecd839a
--- /dev/null
+++ b/mail/courier/files/patch-courier__filters__Makefile.in
@@ -0,0 +1,11 @@
+--- courier/filters/Makefile.in.orig 2025-05-10 16:36:14.144694000 +0200
++++ courier/filters/Makefile.in 2025-05-10 16:36:42.732908000 +0200
+@@ -1441,7 +1441,7 @@
+ -$(mkinstalldirs) $(DESTDIR)$(bindir)
+ chmod 500 $(DESTDIR)$(datadir)/filterctl
+ rm -f $(DESTDIR)$(sbindir)/filterctl
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/filterctl` $(DESTDIR)$(sbindir)/filterctl
++ $(LN_S) $(datadir)/filterctl $(DESTDIR)$(sbindir)/filterctl
+ chmod 755 $(DESTDIR)$(filterbindir)
+ chmod 750 $(DESTDIR)$(filtersocketdir)
+ chmod 750 $(DESTDIR)$(allfiltersocketdir)
diff --git a/mail/courier/files/patch-courier__module.esmtp__Makefile.in b/mail/courier/files/patch-courier__module.esmtp__Makefile.in
new file mode 100644
index 000000000000..53d73b7bf5e2
--- /dev/null
+++ b/mail/courier/files/patch-courier__module.esmtp__Makefile.in
@@ -0,0 +1,21 @@
+--- courier/module.esmtp/Makefile.in.orig 2025-05-10 16:15:59.314380000 +0200
++++ courier/module.esmtp/Makefile.in 2025-05-10 16:18:34.251641000 +0200
+@@ -1239,15 +1239,15 @@
+ test `id -u` = 0 || exit 0 ; cd $(DESTDIR)$(moduledir) || exit 1 ; chown @mailuser@ . ; chgrp @mailgroup@ .
+
+ install-data-local:
+- test -f $(DESTDIR)$(sbindir)/courieresmtpd && exit 0; $(mkinstalldirs) $(DESTDIR)$(sbindir) || :; rm -f $(DESTDIR)$(sbindir)/courieresmtpd && $(LN_S) `realpath --relative-to $(sbindir) -m $(moduledir)/courieresmtpd` $(DESTDIR)$(sbindir)/courieresmtpd
++ test -f $(DESTDIR)$(sbindir)/courieresmtpd && exit 0; $(mkinstalldirs) $(DESTDIR)$(sbindir) || :; rm -f $(DESTDIR)$(sbindir)/courieresmtpd && $(LN_S) $(moduledir)/courieresmtpd $(DESTDIR)$(sbindir)/courieresmtpd
+ -$(mkinstalldirs) $(DESTDIR)$(bindir)
+- test -f $(DESTDIR)$(bindir)/addcr && exit 0; rm -f $(DESTDIR)$(bindir)/addcr && $(LN_S) `realpath -m --relative-to $(bindir) $(moduledir)/addcr` $(DESTDIR)$(bindir)/addcr
++ test -f $(DESTDIR)$(bindir)/addcr && exit 0; rm -f $(DESTDIR)$(bindir)/addcr && $(LN_S) $(moduledir)/addcr $(DESTDIR)$(bindir)/addcr
+ -$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/esmtpacceptmailfor.dir
+ -$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/esmtppercentrelay.dir
+ -$(mkinstalldirs) $(DESTDIR)$(sbindir)
+ for f in $(databin_SCRIPTS) ; do \
+ rm -f $(DESTDIR)$(sbindir)/$$f ; \
+- $(LN_S) `realpath -m --relative-to $(sbindir) $(datadir)/$$f` $(DESTDIR)$(sbindir)/$$f ; done
++ $(LN_S) $(datadir)/$$f $(DESTDIR)$(sbindir)/$$f ; done
+ cat </dev/null >>$(DESTDIR)$(sysconfdir)/esmtpauthclient
+ chmod 600 $(DESTDIR)$(sysconfdir)/esmtpauthclient
+ test `id -u` = 0 || exit 0; \
diff --git a/mail/courier/files/patch-courier__module.uucp__Makefile.in b/mail/courier/files/patch-courier__module.uucp__Makefile.in
new file mode 100644
index 000000000000..259a5315202c
--- /dev/null
+++ b/mail/courier/files/patch-courier__module.uucp__Makefile.in
@@ -0,0 +1,11 @@
+--- courier/module.uucp/Makefile.in.orig 2025-05-10 16:20:56.345335000 +0200
++++ courier/module.uucp/Makefile.in 2025-05-10 16:21:12.492588000 +0200
+@@ -1145,7 +1145,7 @@
+ chmod 755 $(DESTDIR)$(moduledir)
+ @test `id -u` = 0 || exit 0 ; cd $(DESTDIR)$(moduledir) || exit 1 ; chown @mailuser@ . ; chgrp @mailgroup@ .
+ rm -f $(DESTDIR)$(sbindir)/makeuucpneighbors ; \
+- $(LN_S) `realpath --relative-to $(sbindir) -m $(datadir)/makeuucpneighbors` \
++ $(LN_S) $(datadir)/makeuucpneighbors \
+ $(DESTDIR)$(sbindir)/makeuucpneighbors
+
+ rm -f $(DESTDIR)$(man8dir)/makeuucpneighbors.8
diff --git a/mail/courier/files/patch-courier__submit.C b/mail/courier/files/patch-courier__submit.C
deleted file mode 100644
index ad3ac19f74b0..000000000000
--- a/mail/courier/files/patch-courier__submit.C
+++ /dev/null
@@ -1,54 +0,0 @@
---- courier/submit.C.orig Fri Apr 22 21:38:00 2005
-+++ courier/submit.C Fri Apr 22 21:38:00 2005
-@@ -531,6 +531,7 @@
- (*hdrOut) += str;
- (*hdrOut) += " (";
- (*hdrOut) += errmsg_buf;
-+/*
- (*hdrOut) += ")\n SPF=";
- (*hdrOut) += checkname;
- (*hdrOut) += ";\n";
-@@ -550,6 +551,43 @@
- (*hdrOut) += v ? v:strerror(errno);
- (*hdrOut) += ";\n";
- }
-+*/
-+ (*hdrOut) += ")\n ";
-+ (*hdrOut) += checkname;
-+ {
-+ char *v=strdup(values[0] ? values[0] : "");
-+
-+ for (q=v; q && *q; q++)
-+ if (*q < ' ' || *q >= 127)
-+ *q='?';
-+ else if (*q == ';')
-+ *q=' ';
-+ (*hdrOut) += " ";
-+ (*hdrOut) += v ? v:strerror(errno);
-+ }
-+ {
-+ char *v=strdup(values[2] ? values[2] : "");
-+
-+ for (q=v; q && *q; q++)
-+ if (*q < ' ' || *q >= 127)
-+ *q='?';
-+ else if (*q == ';')
-+ *q=' ';
-+ (*hdrOut) += " (";
-+ (*hdrOut) += v ? v:strerror(errno);
-+ }
-+ {
-+ char *v=strdup(values[1] ? values[1] : "");
-+
-+ for (q=v; q && *q; q++)
-+ if (*q < ' ' || *q >= 127)
-+ *q='?';
-+ else if (*q == ';')
-+ *q=' ';
-+ (*hdrOut) += " [";
-+ (*hdrOut) += v ? v:strerror(errno);
-+ }
-+ (*hdrOut) += "]);\n";
- return str;
- }
-
diff --git a/mail/courier/files/patch-libs__rfc2045__rfc2045.h b/mail/courier/files/patch-libs__rfc2045__rfc2045.h
new file mode 100644
index 000000000000..2f6eec155b20
--- /dev/null
+++ b/mail/courier/files/patch-libs__rfc2045__rfc2045.h
@@ -0,0 +1,11 @@
+--- libs/rfc2045/rfc2045.h.orig 2025-10-05 18:47:55.000000000 +0200
++++ libs/rfc2045/rfc2045.h 2025-10-24 13:26:29.985150000 +0200
+@@ -3224,7 +3224,7 @@
+
+ if (decode_header)
+ {
+- typename rfc2045::entity::line_iter<crlf>::headers<
++ typename rfc2045::entity::line_iter<crlf>::template headers<
+ src_type> parser{e, src };
+
+ parser.name_lc=header_name_lc;
diff --git a/mail/courier/files/patch-libs__rfc2045__testsuitecpp.C b/mail/courier/files/patch-libs__rfc2045__testsuitecpp.C
new file mode 100644
index 000000000000..e6d63464db48
--- /dev/null
+++ b/mail/courier/files/patch-libs__rfc2045__testsuitecpp.C
@@ -0,0 +1,11 @@
+--- libs/rfc2045/testsuitecpp.C.orig 2025-10-03 19:53:41.000000000 +0200
++++ libs/rfc2045/testsuitecpp.C 2025-10-24 14:00:53.643970000 +0200
+@@ -19,7 +19,7 @@
+ auto b=s.begin();
+ auto e=s.end();
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::string_view::iterator,
+ std::string_view::iterator
+ >
diff --git a/mail/courier/files/patch-libs__rfc2045__testsuitecpp2.C b/mail/courier/files/patch-libs__rfc2045__testsuitecpp2.C
new file mode 100644
index 000000000000..a59cd8a1d70a
--- /dev/null
+++ b/mail/courier/files/patch-libs__rfc2045__testsuitecpp2.C
@@ -0,0 +1,29 @@
+--- libs/rfc2045/testsuitecpp2.C.orig 2025-09-10 11:00:08.000000000 +0200
++++ libs/rfc2045/testsuitecpp2.C 2025-10-24 14:02:10.528663000 +0200
+@@ -217,7 +217,7 @@
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -310,7 +310,7 @@
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -488,7 +488,7 @@
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
diff --git a/mail/courier/files/pkg-install.in b/mail/courier/files/pkg-install.in
index d1321bf6521a..d64eda646153 100644
--- a/mail/courier/files/pkg-install.in
+++ b/mail/courier/files/pkg-install.in
@@ -6,7 +6,7 @@ USER=%%MAILOWN%%; UID=%%MAILUID%%
GROUP=%%MAILGRP%%; GID=%%MAILGID%%
if [ ":$2" = ":POST-INSTALL" ]; then
- if [ "%%MAILCONF%%" = "y" ]; then
+ if [ "%%MAILCONFACT%%" = "y" ]; then
mv -f /etc/mail/mailer.conf /etc/mail/mailer.conf.old
echo "# created by courier's pkg-install" > /etc/mail/mailer.conf
echo -n "# Execute the Courier sendmail program" >> /etc/mail/mailer.conf
@@ -18,8 +18,4 @@ if [ ":$2" = ":POST-INSTALL" ]; then
echo "newaliases ${PKG_PREFIX}/sbin/makealiases" >> /etc/mail/mailer.conf
echo "Done."
fi
- if [ "%%RCCONF%%" = "y" ]; then
- fi
- if [ "%%PERIODIC%%" = "y" ]; then
- fi
fi
diff --git a/mail/courier/files/pkg-message.in b/mail/courier/files/pkg-message.in
index 0636aaa9be92..eed537a65475 100644
--- a/mail/courier/files/pkg-message.in
+++ b/mail/courier/files/pkg-message.in
@@ -9,13 +9,13 @@ Check and/or modify the following configuration files to suit your needs:
%%PREFIX%%/etc/courier/esmtpd
%%PREFIX%%/etc/courier/esmtpd-msa
%%PREFIX%%/etc/courier/esmtpd-ssl
-%%WITHFAX%% %%PREFIX%%/etc/courier/faxcoverpage.tr
-%%WITHFAX%% %%PREFIX%%/etc/courier/faxnotifyrc
-%%WITHFAX%% %%PREFIX%%/etc/courier/faxrc
+%%SENDFAX%% %%PREFIX%%/etc/courier/faxcoverpage.tr
+%%SENDFAX%% %%PREFIX%%/etc/courier/faxnotifyrc
+%%SENDFAX%% %%PREFIX%%/etc/courier/faxrc
%%PREFIX%%/etc/courier/imapd
%%PREFIX%%/etc/courier/imapd-ssl
%%PREFIX%%/etc/courier/ldapaddressbook
-%%WITHLDAP%% %%PREFIX%%/etc/courier/ldapaliasrc
+%%LDAP%% %%PREFIX%%/etc/courier/ldapaliasrc
%%PREFIX%%/etc/courier/pop3d
%%PREFIX%%/etc/courier/pop3d-ssl
diff --git a/mail/courier/pkg-plist b/mail/courier/pkg-plist
index 972121ac4e28..8c4220d0cfc2 100644
--- a/mail/courier/pkg-plist
+++ b/mail/courier/pkg-plist
@@ -27,8 +27,8 @@ bin/verifysmtp
bin/webmlmd
bin/webmlmd.rc
etc/courier/aliases/system
-%%WITHSYSTEMALIASES%%@postexec [ -e /etc/aliases ] && ln -sf /etc/aliases %D/etc/courier/aliases/system
-%%WITHEMPTYALIASES%%@postexec true > %D/etc/courier/aliases/system
+%%SYSTEMALIASES%%@postexec [ -e /etc/aliases ] && ln -sf /etc/aliases %D/etc/courier/aliases/system
+%%EMPTYALIASES%%@postexec true > %D/etc/courier/aliases/system
@sample etc/courier/courierd.sample
etc/courier/crontab
etc/courier/dsndelayed.txt
@@ -46,23 +46,23 @@ etc/courier/esmtp.authpam
@sample etc/courier/esmtpd-ssl.sample
@sample etc/courier/esmtpd.cnf.sample
@sample etc/courier/esmtpd.sample
-%%WITHFAX%%@sample etc/courier/faxcoverpage.tr.sample
-%%WITHFAX%%@sample etc/courier/faxnotifyrc.sample
-%%WITHFAX%%@sample etc/courier/faxrc.sample
+%%SENDFAX%%@sample etc/courier/faxcoverpage.tr.sample
+%%SENDFAX%%@sample etc/courier/faxnotifyrc.sample
+%%SENDFAX%%@sample etc/courier/faxrc.sample
@sample etc/courier/imapd-ssl.sample
etc/courier/imapd.authpam
@sample etc/courier/imapd.cnf.sample
@sample etc/courier/imapd.sample
@sample etc/courier/ldapaddressbook.sample
-%%WITHLDAP%%@sample etc/courier/ldapaliasrc.sample
+%%LDAP%%@sample etc/courier/ldapaliasrc.sample
etc/courier/locallowercase
etc/courier/maildrop
etc/courier/maildropfilter
etc/courier/module.dsn
etc/courier/module.esmtp
-%%WITHFAX%%etc/courier/module.fax
+%%SENDFAX%%etc/courier/module.fax
etc/courier/module.local
-%%WITHUUCP%%etc/courier/module.uucp
+%%UUCP%%etc/courier/module.uucp
@sample etc/courier/pop3d-ssl.sample
etc/courier/pop3d.authpam
@sample etc/courier/pop3d.cnf.sample
@@ -85,10 +85,10 @@ libexec/courier/makedatprog
@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/esmtp/addcr
@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/esmtp/courieresmtp
@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/esmtp/courieresmtpd
-%%WITHFAX%%@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/fax/courierfax
+%%SENDFAX%%@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/fax/courierfax
@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/local/courierdeliver
@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/local/courierlocal
-%%WITHUUCP%%@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/uucp/courieruucp
+%%UUCP%%@(%%MAILOWN%%,%%MAILGRP%%,) libexec/courier/modules/uucp/courieruucp
libexec/courier/pcpd
libexec/courier/sqwebmaild
@(%%MAILOWN%%,%%MAILGRP%%,2555) libexec/courier/sqwebpasswd
@@ -134,11 +134,13 @@ share/man/man7/maildropfilter.7.gz
share/man/man7/maildropgdbm.7.gz
share/man/man8/aliaslookup.8.gz
share/man/man8/courier.8.gz
+%%SENDFAX%%share/man/man8/courierfax.8.gz
share/man/man8/courierfilter.8.gz
-%%WITHLDAP%%share/man/man8/courierldapaliasd.8.gz
+%%LDAP%%share/man/man8/courierldapaliasd.8.gz
share/man/man8/courierperlfilter.8.gz
share/man/man8/courierpop3d.8.gz
share/man/man8/courierpop3login.8.gz
+%%UUCP%%share/man/man8/courieruucp.8.gz
share/man/man8/deliverquota.8.gz
share/man/man8/dupfilter.8.gz
share/man/man8/esmtpd-msa.8.gz
@@ -152,6 +154,7 @@ share/man/man8/makeimapaccess.8.gz
share/man/man8/makepercentrelay.8.gz
share/man/man8/makesmtpaccess-msa.8.gz
share/man/man8/makesmtpaccess.8.gz
+%%UUCP%%share/man/man8/makeuucpneighbors.8.gz
share/man/man8/mkdhparams.8.gz
share/man/man8/mkesmtpdcert.8.gz
share/man/man8/mkimapdcert.8.gz
@@ -166,7 +169,7 @@ sbin/aliaslookup
sbin/courier
sbin/courieresmtpd
sbin/courierfilter
-%%WITHLDAP%%sbin/courierldapaliasd
+%%LDAP%%sbin/courierldapaliasd
sbin/couriertcpd
sbin/esmtpd
sbin/esmtpd-msa
@@ -181,7 +184,7 @@ sbin/makeimapaccess
sbin/makepercentrelay
sbin/makesmtpaccess
sbin/makesmtpaccess-msa
-%%WITHUUCP%%sbin/makeuucpneighbors
+%%UUCP%%sbin/makeuucpneighbors
sbin/mkdhparams
sbin/mkesmtpdcert
sbin/mkimapdcert
@@ -298,15 +301,15 @@ sbin/webmaild
%%DATADIR%%/courierwebadmin/webadmin.pm
%%DATADIR%%/esmtpd
%%DATADIR%%/esmtpd-ssl
-%%WITHFAX%%%%DATADIR%%/faxmail/application-pdf.filter
-%%WITHFAX%%%%DATADIR%%/faxmail/application-postscript.filter
-%%WITHFAX%%%%DATADIR%%/faxmail/coverpage
-%%WITHFAX%%%%DATADIR%%/faxmail/image-gif.filter
-%%WITHFAX%%%%DATADIR%%/faxmail/image-jpeg.filter
-%%WITHFAX%%%%DATADIR%%/faxmail/image-png.filter
-%%WITHFAX%%%%DATADIR%%/faxmail/init
-%%WITHFAX%%%%DATADIR%%/faxmail/new_fax
-%%WITHFAX%%%%DATADIR%%/faxmail/text-plain.filter
+%%SENDFAX%%%%DATADIR%%/faxmail/application-pdf.filter
+%%SENDFAX%%%%DATADIR%%/faxmail/application-postscript.filter
+%%SENDFAX%%%%DATADIR%%/faxmail/coverpage
+%%SENDFAX%%%%DATADIR%%/faxmail/image-gif.filter
+%%SENDFAX%%%%DATADIR%%/faxmail/image-jpeg.filter
+%%SENDFAX%%%%DATADIR%%/faxmail/image-png.filter
+%%SENDFAX%%%%DATADIR%%/faxmail/init
+%%SENDFAX%%%%DATADIR%%/faxmail/new_fax
+%%SENDFAX%%%%DATADIR%%/faxmail/text-plain.filter
%%DATADIR%%/filterctl
%%DATADIR%%/imapd
%%DATADIR%%/imapd-ssl
@@ -317,7 +320,7 @@ sbin/webmaild
%%DATADIR%%/makeimapaccess
%%DATADIR%%/makepercentrelay
%%DATADIR%%/makesmtpaccess
-%%WITHUUCP%%%%DATADIR%%/makeuucpneighbors
+%%UUCP%%%%DATADIR%%/makeuucpneighbors
%%DATADIR%%/mkdhparams
%%DATADIR%%/mkesmtpdcert
%%DATADIR%%/mkimapdcert
@@ -470,15 +473,15 @@ sbin/webmaild
%%PORTDOCS%%%%DOCSDIR%%/html/courier.html
%%PORTDOCS%%%%DOCSDIR%%/html/courierd.html
%%PORTDOCS%%%%DOCSDIR%%/html/courierdsn.html
-%%WITHFAX%%%%PORTDOCS%%%%DOCSDIR%%/html/courierfax.html
+%%SENDFAX%%%%PORTDOCS%%%%DOCSDIR%%/html/courierfax.html
%%PORTDOCS%%%%DOCSDIR%%/html/courierfilter.html
-%%WITHLDAP%%%%PORTDOCS%%%%DOCSDIR%%/html/courierldapaliasd.html
+%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/html/courierldapaliasd.html
%%PORTDOCS%%%%DOCSDIR%%/html/couriermlm.html
%%PORTDOCS%%%%DOCSDIR%%/html/courierperlfilter.html
%%PORTDOCS%%%%DOCSDIR%%/html/courierpop3d.html
%%PORTDOCS%%%%DOCSDIR%%/html/couriertcpd.html
%%PORTDOCS%%%%DOCSDIR%%/html/couriertls.html
-%%WITHUUCP%%%%PORTDOCS%%%%DOCSDIR%%/html/courieruucp.html
+%%UUCP%%%%PORTDOCS%%%%DOCSDIR%%/html/courieruucp.html
%%PORTDOCS%%%%DOCSDIR%%/html/deliverquota.html
%%PORTDOCS%%%%DOCSDIR%%/html/documentation.html
%%PORTDOCS%%%%DOCSDIR%%/html/dot-courier.html
@@ -546,7 +549,7 @@ sbin/webmaild
%%PORTDOCS%%%%DOCSDIR%%/html/testmxlookup.html
%%PORTDOCS%%%%DOCSDIR%%/html/verifyfilter.html
%%PORTDOCS%%%%DOCSDIR%%/html/webmlmd.html
-%%WITHCERTSDIR%%@dir(%%MAILOWN%%,%%MAILGRP%%,) etc/courier/.pem
+%%CERTSDIR%%@dir(%%MAILOWN%%,%%MAILGRP%%,) etc/courier/.pem
@dir(%%MAILOWN%%,%%MAILGRP%%,) etc/courier/aliasdir
@dir(%%MAILOWN%%,%%MAILGRP%%,) etc/courier/aliases
@dir etc/courier/esmtpacceptmailfor.dir
@@ -573,4 +576,5 @@ etc/courier/webadmin/restartauthcmd
@dir(%%MAILOWN%%,%%MAILGRP%%,770) %%LOCALSTATEDIR%%/tmp
@dir(%%MAILOWN%%,%%MAILGRP%%,755) %%LOCALSTATEDIR%%/track
@dir %%LOCALSTATEDIR%%
+%%SENDFAX%%@dir %%LOCALSTATEDIR%%/faxtmp
@dir %%CACHEDIR%%
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 85db96d4e5f1..431bcebc674d 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,10 +1,10 @@
PORTNAME?= fetchmail
-DISTVERSION= 6.5.6
+DISTVERSION= 6.6.0
PORTREVISION?= 0
CATEGORIES= mail
# The next line is inherited by the fetchmailconf dependent port,
# do NOT replace fetchmail by ${PORTNAME}
-MASTER_SITES= SF/fetchmail/branch_6.5/
+MASTER_SITES= SF/fetchmail/branch_6.6/
MAINTAINER= chalpin@cs.wisc.edu
COMMENT?= Batch mail retrieval utility for IMAP/POP3/ETRN/ODMR
diff --git a/mail/fetchmail/distinfo b/mail/fetchmail/distinfo
index aac30a3bab80..8e66681039c4 100644
--- a/mail/fetchmail/distinfo
+++ b/mail/fetchmail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759500530
-SHA256 (fetchmail-6.5.6.tar.xz) = ec10e0e0eaa417313559379ede76c74614766d838b39470b66474863aa690dab
-SIZE (fetchmail-6.5.6.tar.xz) = 1061804
+TIMESTAMP = 1761609473
+SHA256 (fetchmail-6.6.0.tar.xz) = 7b9c19e6683e827d556751aa5db5d44b961e87be8b3087535b4909ba1b59321c
+SIZE (fetchmail-6.6.0.tar.xz) = 1093180
diff --git a/mail/fetchmail/pkg-plist b/mail/fetchmail/pkg-plist
index da6a0834dac3..e0f64ae0d4ef 100644
--- a/mail/fetchmail/pkg-plist
+++ b/mail/fetchmail/pkg-plist
@@ -5,6 +5,7 @@ share/man/man1/fetchmail.1.gz
%%NLS%%share/locale/eo/LC_MESSAGES/fetchmail.mo
%%NLS%%share/locale/es/LC_MESSAGES/fetchmail.mo
%%NLS%%share/locale/fr/LC_MESSAGES/fetchmail.mo
+%%NLS%%share/locale/it/LC_MESSAGES/fetchmail.mo
%%NLS%%share/locale/ja/LC_MESSAGES/fetchmail.mo
%%NLS%%share/locale/pl/LC_MESSAGES/fetchmail.mo
%%NLS%%share/locale/ro/LC_MESSAGES/fetchmail.mo
diff --git a/mail/gnumail/Makefile b/mail/gnumail/Makefile
index 102768e6b9f8..ecf8f8f6ccd0 100644
--- a/mail/gnumail/Makefile
+++ b/mail/gnumail/Makefile
@@ -1,45 +1,30 @@
PORTNAME= gnumail
DISTVERSION= 1.4.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail gnustep
MASTER_SITES= SAVANNAH/gnustep-nonfsf/
-DISTNAME= GNUMail-${PORTVERSION}
+DISTNAME= GNUMail-${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mew14930xvi@inbox.lv
COMMENT= GNUstep mail client
WWW= https://www.nongnu.org/gnustep-nonfsf/gnumail/
LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/Documentation/COPYING
-LIB_DEPENDS= libPantomime.so:mail/pantomime \
- libAddresses.so:mail/addresses
+LIB_DEPENDS= libAddresses.so:mail/addresses \
+ libPantomime.so:mail/pantomime
USES= cpe gnustep
CPE_VENDOR= gnu
-USE_GNUSTEP= back build gui base
+USE_GNUSTEP= back base build gui
USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD
-CFLAGS+= -Wno-error=int-conversion
-.endif
-
-post-stage:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/1/libGNUMail.so.1.4.0
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Colors.prefs/Colors
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Import.bundle/Import
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/PGP.bundle/PGP
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Fonts.prefs/Fonts
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Compose.prefs/Compose
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Filtering.prefs/Filtering
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Viewing.prefs/Viewing
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Sending.prefs/Sending
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Receiving.prefs/Receiving
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Emoticon.bundle/Emoticon
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Advanced.prefs/Advanced
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/MIME.prefs/MIME
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/Account.prefs/Account
+post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GNUMail.app/GNUMail
+.for i in Account Advanced Colors Compose Emoticon Filtering Fonts Import MIME PGP Receiving Sending Viewing
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/ApplicationSupport/GNUMail/${i}.*/${i}
+.endfor
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/${DISTVERSION:R:R}/libGNUMail.so.${DISTVERSION}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/gnumail/pkg-descr b/mail/gnumail/pkg-descr
index 5d6b99584704..828d11ece8fc 100644
--- a/mail/gnumail/pkg-descr
+++ b/mail/gnumail/pkg-descr
@@ -6,5 +6,3 @@ are available.
GNUMail.app was written mostly from scratch though it does use some
code from elm and mpack/munpack.
-
-LICENSE: GPL2 or later
diff --git a/mail/gnumail/pkg-plist b/mail/gnumail/pkg-plist
index f6e76074c6a5..b92bb52a3fda 100644
--- a/mail/gnumail/pkg-plist
+++ b/mail/gnumail/pkg-plist
@@ -1,4 +1,4 @@
-@dir GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/1/Headers
+@dir GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/%%MAJORVERSION%%/Headers
GNUstep/System/Applications/GNUMail.app/GNUMail
GNUstep/System/Applications/GNUMail.app/Resources/AddressBook_32.tiff
GNUstep/System/Applications/GNUMail.app/Resources/AddressManager_32.tiff
@@ -278,11 +278,11 @@ GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/%%MAJORVERSION%%/GN
GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/%%MAJORVERSION%%/Resources/Info-gnustep.plist
GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/%%MAJORVERSION%%/libGNUMail.so
GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/%%MAJORVERSION%%/libGNUMail.so.%%MAJORVERSION%%
-GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/%%MAJORVERSION%%/libGNUMail.so.1.4.0
+GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/%%MAJORVERSION%%/libGNUMail.so.%%VERSION%%
GNUstep/System/Library/Frameworks/GNUMail.framework/Versions/Current
GNUstep/System/Library/Frameworks/GNUMail.framework/libGNUMail.so
GNUstep/System/Library/Headers/GNUMail
GNUstep/System/Library/Libraries/libGNUMail.so
GNUstep/System/Library/Libraries/libGNUMail.so.%%MAJORVERSION%%
-GNUstep/System/Library/Libraries/libGNUMail.so.1.4.0
+GNUstep/System/Library/Libraries/libGNUMail.so.%%VERSION%%
GNUstep/System/Tools/GNUMail
diff --git a/mail/hydroxide/Makefile b/mail/hydroxide/Makefile
index c40b4c8a6166..75c2e607e1c3 100644
--- a/mail/hydroxide/Makefile
+++ b/mail/hydroxide/Makefile
@@ -1,7 +1,7 @@
PORTNAME= hydroxide
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.30
-PORTREVISION= 2
+PORTREVISION= 5
CATEGORIES= mail
MAINTAINER= nxjoseph@protonmail.com
diff --git a/mail/imap-tools/Makefile b/mail/imap-tools/Makefile
index 20f39d9721f9..0031aab3cd61 100644
--- a/mail/imap-tools/Makefile
+++ b/mail/imap-tools/Makefile
@@ -1,5 +1,5 @@
PORTNAME= imap-tools
-DISTVERSION= 1.7.1
+DISTVERSION= 1.7.3
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= CRATESIO
diff --git a/mail/imap-tools/Makefile.crates b/mail/imap-tools/Makefile.crates
index ddbb6923f317..cbe2976efa89 100644
--- a/mail/imap-tools/Makefile.crates
+++ b/mail/imap-tools/Makefile.crates
@@ -1,23 +1,23 @@
-CARGO_CRATES= addr2line-0.24.2 \
+CARGO_CRATES= addr2line-0.25.1 \
adler2-2.0.1 \
aho-corasick-1.1.3 \
aliasable-0.1.3 \
allocator-api2-0.2.21 \
android_system_properties-0.1.5 \
- anstream-0.6.20 \
- anstyle-1.0.11 \
+ anstream-0.6.21 \
+ anstyle-1.0.13 \
anstyle-parse-0.2.7 \
anstyle-query-1.1.4 \
anstyle-wincon-3.0.10 \
autocfg-1.5.0 \
- backtrace-0.3.75 \
+ backtrace-0.3.76 \
base64-0.22.1 \
bitflags-2.9.4 \
bufstream-0.1.4 \
bumpalo-3.19.0 \
cassowary-0.3.0 \
castaway-0.2.4 \
- cc-1.2.37 \
+ cc-1.2.40 \
cfg-if-1.0.3 \
chrono-0.4.42 \
clap-4.5.48 \
@@ -44,14 +44,14 @@ CARGO_CRATES= addr2line-0.24.2 \
failure-0.1.8 \
failure_derive-0.1.8 \
fastrand-2.3.0 \
- find-msvc-tools-0.1.1 \
+ find-msvc-tools-0.1.3 \
fnv-1.0.7 \
foldhash-0.1.5 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
getrandom-0.2.16 \
getrandom-0.3.3 \
- gimli-0.31.1 \
+ gimli-0.32.3 \
hashbrown-0.15.5 \
heck-0.4.1 \
heck-0.5.0 \
@@ -59,7 +59,7 @@ CARGO_CRATES= addr2line-0.24.2 \
iana-time-zone-haiku-0.1.2 \
ident_case-1.0.1 \
imap-3.0.0-alpha.15 \
- imap-proto-0.16.5 \
+ imap-proto-0.16.6 \
indenter-0.3.4 \
indicatif-0.18.0 \
indoc-2.0.6 \
@@ -68,17 +68,17 @@ CARGO_CRATES= addr2line-0.24.2 \
is_terminal_polyfill-1.70.1 \
itertools-0.13.0 \
itoa-1.0.15 \
- js-sys-0.3.78 \
+ js-sys-0.3.81 \
lazy_static-1.5.0 \
- libc-0.2.175 \
+ libc-0.2.176 \
linked-hash-map-0.5.6 \
linux-raw-sys-0.4.15 \
linux-raw-sys-0.11.0 \
- lock_api-0.4.13 \
+ lock_api-0.4.14 \
log-0.4.28 \
lru-0.12.5 \
matchers-0.2.0 \
- memchr-2.7.5 \
+ memchr-2.7.6 \
minimal-lexical-0.2.1 \
miniz_oxide-0.8.9 \
mio-1.0.4 \
@@ -86,7 +86,7 @@ CARGO_CRATES= addr2line-0.24.2 \
nom-7.1.3 \
nu-ansi-term-0.50.1 \
num-traits-0.2.19 \
- object-0.36.7 \
+ object-0.37.3 \
once_cell-1.21.3 \
once_cell_polyfill-1.70.1 \
openssl-0.10.73 \
@@ -96,20 +96,20 @@ CARGO_CRATES= addr2line-0.24.2 \
ordered-float-2.10.1 \
ouroboros-0.18.5 \
ouroboros_macro-0.18.5 \
- parking_lot-0.12.4 \
- parking_lot_core-0.9.11 \
+ parking_lot-0.12.5 \
+ parking_lot_core-0.9.12 \
paste-1.0.15 \
pin-project-lite-0.2.16 \
pkg-config-0.3.32 \
portable-atomic-1.11.1 \
proc-macro2-1.0.101 \
proc-macro2-diagnostics-0.10.1 \
- quote-1.0.40 \
+ quote-1.0.41 \
r-efi-5.3.0 \
ratatui-0.29.0 \
- redox_syscall-0.5.17 \
- regex-1.11.2 \
- regex-automata-0.4.10 \
+ redox_syscall-0.5.18 \
+ regex-1.11.3 \
+ regex-automata-0.4.11 \
regex-syntax-0.8.6 \
ring-0.17.14 \
rustc-demangle-0.1.26 \
@@ -127,11 +127,11 @@ CARGO_CRATES= addr2line-0.24.2 \
scopeguard-1.2.0 \
security-framework-2.11.1 \
security-framework-sys-2.15.0 \
- serde-1.0.225 \
+ serde-1.0.228 \
serde-value-0.7.0 \
serde_any-0.5.0 \
- serde_core-1.0.225 \
- serde_derive-1.0.225 \
+ serde_core-1.0.228 \
+ serde_derive-1.0.228 \
serde_json-1.0.145 \
serde_yaml-0.7.5 \
sharded-slab-0.1.7 \
@@ -152,7 +152,7 @@ CARGO_CRATES= addr2line-0.24.2 \
syn-1.0.109 \
syn-2.0.106 \
synstructure-0.12.6 \
- tempfile-3.22.0 \
+ tempfile-3.23.0 \
thread_local-1.1.9 \
toml-0.4.10 \
tracing-0.1.41 \
@@ -173,30 +173,29 @@ CARGO_CRATES= addr2line-0.24.2 \
vcpkg-0.2.15 \
version_check-0.9.5 \
wasi-0.11.1+wasi-snapshot-preview1 \
- wasi-0.14.5+wasi-0.2.4 \
- wasip2-1.0.0+wasi-0.2.4 \
- wasm-bindgen-0.2.101 \
- wasm-bindgen-backend-0.2.101 \
- wasm-bindgen-macro-0.2.101 \
- wasm-bindgen-macro-support-0.2.101 \
- wasm-bindgen-shared-0.2.101 \
+ wasi-0.14.7+wasi-0.2.4 \
+ wasip2-1.0.1+wasi-0.2.4 \
+ wasm-bindgen-0.2.104 \
+ wasm-bindgen-backend-0.2.104 \
+ wasm-bindgen-macro-0.2.104 \
+ wasm-bindgen-macro-support-0.2.104 \
+ wasm-bindgen-shared-0.2.104 \
web-time-1.1.0 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
- windows-core-0.62.0 \
- windows-implement-0.60.0 \
- windows-interface-0.59.1 \
- windows-link-0.1.3 \
+ windows-core-0.62.1 \
+ windows-implement-0.60.1 \
+ windows-interface-0.59.2 \
windows-link-0.2.0 \
windows-result-0.4.0 \
windows-strings-0.5.0 \
windows-sys-0.52.0 \
windows-sys-0.59.0 \
windows-sys-0.60.2 \
- windows-sys-0.61.0 \
+ windows-sys-0.61.1 \
windows-targets-0.52.6 \
- windows-targets-0.53.3 \
+ windows-targets-0.53.4 \
windows_aarch64_gnullvm-0.52.6 \
windows_aarch64_gnullvm-0.53.0 \
windows_aarch64_msvc-0.52.6 \
@@ -213,7 +212,7 @@ CARGO_CRATES= addr2line-0.24.2 \
windows_x86_64_gnullvm-0.53.0 \
windows_x86_64_msvc-0.52.6 \
windows_x86_64_msvc-0.53.0 \
- wit-bindgen-0.45.1 \
+ wit-bindgen-0.46.0 \
yaml-rust-0.4.5 \
yansi-1.0.1 \
- zeroize-1.8.1
+ zeroize-1.8.2
diff --git a/mail/imap-tools/distinfo b/mail/imap-tools/distinfo
index e48b25361351..116314666c3c 100644
--- a/mail/imap-tools/distinfo
+++ b/mail/imap-tools/distinfo
@@ -1,8 +1,8 @@
-TIMESTAMP = 1758351542
-SHA256 (rust/crates/imap-tools-1.7.1.crate) = 87cb748fb2ff36cd05bc2b24c2233a0f62846fefb54b2282bbfdc29dc603e4b0
-SIZE (rust/crates/imap-tools-1.7.1.crate) = 44388
-SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1
-SIZE (rust/crates/addr2line-0.24.2.crate) = 39015
+TIMESTAMP = 1760033283
+SHA256 (rust/crates/imap-tools-1.7.3.crate) = b3ebe727f6a7452d3aa9e7bc8d18647de10046c6fe6d97133e82a4c81c00b403
+SIZE (rust/crates/imap-tools-1.7.3.crate) = 44912
+SHA256 (rust/crates/addr2line-0.25.1.crate) = 1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b
+SIZE (rust/crates/addr2line-0.25.1.crate) = 43134
SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
SIZE (rust/crates/adler2-2.0.1.crate) = 13366
SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
@@ -13,10 +13,10 @@ SHA256 (rust/crates/allocator-api2-0.2.21.crate) = 683d7910e743518b0e34f1186f924
SIZE (rust/crates/allocator-api2-0.2.21.crate) = 63622
SHA256 (rust/crates/android_system_properties-0.1.5.crate) = 819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311
SIZE (rust/crates/android_system_properties-0.1.5.crate) = 5243
-SHA256 (rust/crates/anstream-0.6.20.crate) = 3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192
-SIZE (rust/crates/anstream-0.6.20.crate) = 28797
-SHA256 (rust/crates/anstyle-1.0.11.crate) = 862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd
-SIZE (rust/crates/anstyle-1.0.11.crate) = 15880
+SHA256 (rust/crates/anstream-0.6.21.crate) = 43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a
+SIZE (rust/crates/anstream-0.6.21.crate) = 29516
+SHA256 (rust/crates/anstyle-1.0.13.crate) = 5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78
+SIZE (rust/crates/anstyle-1.0.13.crate) = 17651
SHA256 (rust/crates/anstyle-parse-0.2.7.crate) = 4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
SIZE (rust/crates/anstyle-parse-0.2.7.crate) = 21707
SHA256 (rust/crates/anstyle-query-1.1.4.crate) = 9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2
@@ -25,8 +25,8 @@ SHA256 (rust/crates/anstyle-wincon-3.0.10.crate) = 3e0633414522a32ffaac8ac6cc8f7
SIZE (rust/crates/anstyle-wincon-3.0.10.crate) = 12558
SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8
SIZE (rust/crates/autocfg-1.5.0.crate) = 18729
-SHA256 (rust/crates/backtrace-0.3.75.crate) = 6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002
-SIZE (rust/crates/backtrace-0.3.75.crate) = 92665
+SHA256 (rust/crates/backtrace-0.3.76.crate) = bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6
+SIZE (rust/crates/backtrace-0.3.76.crate) = 89458
SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6
SIZE (rust/crates/base64-0.22.1.crate) = 81597
SHA256 (rust/crates/bitflags-2.9.4.crate) = 2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394
@@ -39,8 +39,8 @@ SHA256 (rust/crates/cassowary-0.3.0.crate) = df8670b8c7b9dae1793364eafadf7239c40
SIZE (rust/crates/cassowary-0.3.0.crate) = 22876
SHA256 (rust/crates/castaway-0.2.4.crate) = dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a
SIZE (rust/crates/castaway-0.2.4.crate) = 12546
-SHA256 (rust/crates/cc-1.2.37.crate) = 65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44
-SIZE (rust/crates/cc-1.2.37.crate) = 90111
+SHA256 (rust/crates/cc-1.2.40.crate) = e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb
+SIZE (rust/crates/cc-1.2.40.crate) = 91094
SHA256 (rust/crates/cfg-if-1.0.3.crate) = 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9
SIZE (rust/crates/cfg-if-1.0.3.crate) = 8719
SHA256 (rust/crates/chrono-0.4.42.crate) = 145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2
@@ -93,8 +93,8 @@ SHA256 (rust/crates/failure_derive-0.1.8.crate) = aa4da3c766cd7a0db8242e326e9e4e
SIZE (rust/crates/failure_derive-0.1.8.crate) = 4950
SHA256 (rust/crates/fastrand-2.3.0.crate) = 37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be
SIZE (rust/crates/fastrand-2.3.0.crate) = 15076
-SHA256 (rust/crates/find-msvc-tools-0.1.1.crate) = 7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d
-SIZE (rust/crates/find-msvc-tools-0.1.1.crate) = 30228
+SHA256 (rust/crates/find-msvc-tools-0.1.3.crate) = 0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3
+SIZE (rust/crates/find-msvc-tools-0.1.3.crate) = 30486
SHA256 (rust/crates/fnv-1.0.7.crate) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1
SIZE (rust/crates/fnv-1.0.7.crate) = 11266
SHA256 (rust/crates/foldhash-0.1.5.crate) = d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2
@@ -107,8 +107,8 @@ SHA256 (rust/crates/getrandom-0.2.16.crate) = 335ff9f135e4384c8150d6f27c6daed433
SIZE (rust/crates/getrandom-0.2.16.crate) = 40163
SHA256 (rust/crates/getrandom-0.3.3.crate) = 26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4
SIZE (rust/crates/getrandom-0.3.3.crate) = 49493
-SHA256 (rust/crates/gimli-0.31.1.crate) = 07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f
-SIZE (rust/crates/gimli-0.31.1.crate) = 279515
+SHA256 (rust/crates/gimli-0.32.3.crate) = e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7
+SIZE (rust/crates/gimli-0.32.3.crate) = 289789
SHA256 (rust/crates/hashbrown-0.15.5.crate) = 9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1
SIZE (rust/crates/hashbrown-0.15.5.crate) = 140908
SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
@@ -123,8 +123,8 @@ SHA256 (rust/crates/ident_case-1.0.1.crate) = b9e0384b61958566e926dc50660321d121
SIZE (rust/crates/ident_case-1.0.1.crate) = 3492
SHA256 (rust/crates/imap-3.0.0-alpha.15.crate) = 25b81eb9a89c9a40e9d6c670d9b3c4cda734573592bd49b7cd906152c95d9af2
SIZE (rust/crates/imap-3.0.0-alpha.15.crate) = 96039
-SHA256 (rust/crates/imap-proto-0.16.5.crate) = de555d9526462b6f9ece826a26fb7c67eca9a0245bd9ff84fa91972a5d5d8856
-SIZE (rust/crates/imap-proto-0.16.5.crate) = 35791
+SHA256 (rust/crates/imap-proto-0.16.6.crate) = ba1f9b30846c3d04371159ef3a0413ce7c1ae0a8c619cd255c60b3d902553f22
+SIZE (rust/crates/imap-proto-0.16.6.crate) = 36291
SHA256 (rust/crates/indenter-0.3.4.crate) = 964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5
SIZE (rust/crates/indenter-0.3.4.crate) = 11101
SHA256 (rust/crates/indicatif-0.18.0.crate) = 70a646d946d06bedbbc4cac4c218acf4bbf2d87757a784857025f4d447e4e1cd
@@ -141,28 +141,28 @@ SHA256 (rust/crates/itertools-0.13.0.crate) = 413ee7dfc52ee1a4949ceeb7dbc8a33f2d
SIZE (rust/crates/itertools-0.13.0.crate) = 146261
SHA256 (rust/crates/itoa-1.0.15.crate) = 4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c
SIZE (rust/crates/itoa-1.0.15.crate) = 11231
-SHA256 (rust/crates/js-sys-0.3.78.crate) = 0c0b063578492ceec17683ef2f8c5e89121fbd0b172cbc280635ab7567db2738
-SIZE (rust/crates/js-sys-0.3.78.crate) = 56010
+SHA256 (rust/crates/js-sys-0.3.81.crate) = ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305
+SIZE (rust/crates/js-sys-0.3.81.crate) = 56399
SHA256 (rust/crates/lazy_static-1.5.0.crate) = bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe
SIZE (rust/crates/lazy_static-1.5.0.crate) = 14025
-SHA256 (rust/crates/libc-0.2.175.crate) = 6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543
-SIZE (rust/crates/libc-0.2.175.crate) = 788728
+SHA256 (rust/crates/libc-0.2.176.crate) = 58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174
+SIZE (rust/crates/libc-0.2.176.crate) = 790040
SHA256 (rust/crates/linked-hash-map-0.5.6.crate) = 0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f
SIZE (rust/crates/linked-hash-map-0.5.6.crate) = 15049
SHA256 (rust/crates/linux-raw-sys-0.4.15.crate) = d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab
SIZE (rust/crates/linux-raw-sys-0.4.15.crate) = 2150898
SHA256 (rust/crates/linux-raw-sys-0.11.0.crate) = df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039
SIZE (rust/crates/linux-raw-sys-0.11.0.crate) = 2659624
-SHA256 (rust/crates/lock_api-0.4.13.crate) = 96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765
-SIZE (rust/crates/lock_api-0.4.13.crate) = 28565
+SHA256 (rust/crates/lock_api-0.4.14.crate) = 224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965
+SIZE (rust/crates/lock_api-0.4.14.crate) = 29249
SHA256 (rust/crates/log-0.4.28.crate) = 34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432
SIZE (rust/crates/log-0.4.28.crate) = 51131
SHA256 (rust/crates/lru-0.12.5.crate) = 234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38
SIZE (rust/crates/lru-0.12.5.crate) = 16047
SHA256 (rust/crates/matchers-0.2.0.crate) = d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9
SIZE (rust/crates/matchers-0.2.0.crate) = 7075
-SHA256 (rust/crates/memchr-2.7.5.crate) = 32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0
-SIZE (rust/crates/memchr-2.7.5.crate) = 97603
+SHA256 (rust/crates/memchr-2.7.6.crate) = f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273
+SIZE (rust/crates/memchr-2.7.6.crate) = 97616
SHA256 (rust/crates/minimal-lexical-0.2.1.crate) = 68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a
SIZE (rust/crates/minimal-lexical-0.2.1.crate) = 94841
SHA256 (rust/crates/miniz_oxide-0.8.9.crate) = 1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316
@@ -177,8 +177,8 @@ SHA256 (rust/crates/nu-ansi-term-0.50.1.crate) = d4a28e057d01f97e61255210fcff094
SIZE (rust/crates/nu-ansi-term-0.50.1.crate) = 28536
SHA256 (rust/crates/num-traits-0.2.19.crate) = 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841
SIZE (rust/crates/num-traits-0.2.19.crate) = 51631
-SHA256 (rust/crates/object-0.36.7.crate) = 62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87
-SIZE (rust/crates/object-0.36.7.crate) = 329938
+SHA256 (rust/crates/object-0.37.3.crate) = ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe
+SIZE (rust/crates/object-0.37.3.crate) = 344032
SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d
SIZE (rust/crates/once_cell-1.21.3.crate) = 34534
SHA256 (rust/crates/once_cell_polyfill-1.70.1.crate) = a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad
@@ -197,10 +197,10 @@ SHA256 (rust/crates/ouroboros-0.18.5.crate) = 1e0f050db9c44b97a94723127e6be766ac
SIZE (rust/crates/ouroboros-0.18.5.crate) = 11678
SHA256 (rust/crates/ouroboros_macro-0.18.5.crate) = 3c7028bdd3d43083f6d8d4d5187680d0d3560d54df4cc9d752005268b41e64d0
SIZE (rust/crates/ouroboros_macro-0.18.5.crate) = 22021
-SHA256 (rust/crates/parking_lot-0.12.4.crate) = 70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13
-SIZE (rust/crates/parking_lot-0.12.4.crate) = 46779
-SHA256 (rust/crates/parking_lot_core-0.9.11.crate) = bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5
-SIZE (rust/crates/parking_lot_core-0.9.11.crate) = 34773
+SHA256 (rust/crates/parking_lot-0.12.5.crate) = 93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a
+SIZE (rust/crates/parking_lot-0.12.5.crate) = 46735
+SHA256 (rust/crates/parking_lot_core-0.9.12.crate) = 2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1
+SIZE (rust/crates/parking_lot_core-0.9.12.crate) = 34110
SHA256 (rust/crates/paste-1.0.15.crate) = 57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a
SIZE (rust/crates/paste-1.0.15.crate) = 18374
SHA256 (rust/crates/pin-project-lite-0.2.16.crate) = 3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b
@@ -213,18 +213,18 @@ SHA256 (rust/crates/proc-macro2-1.0.101.crate) = 89ae43fd86e4158d6db51ad8e2b80f3
SIZE (rust/crates/proc-macro2-1.0.101.crate) = 53886
SHA256 (rust/crates/proc-macro2-diagnostics-0.10.1.crate) = af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8
SIZE (rust/crates/proc-macro2-diagnostics-0.10.1.crate) = 12219
-SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d
-SIZE (rust/crates/quote-1.0.40.crate) = 31063
+SHA256 (rust/crates/quote-1.0.41.crate) = ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1
+SIZE (rust/crates/quote-1.0.41.crate) = 31408
SHA256 (rust/crates/r-efi-5.3.0.crate) = 69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f
SIZE (rust/crates/r-efi-5.3.0.crate) = 64532
SHA256 (rust/crates/ratatui-0.29.0.crate) = eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b
SIZE (rust/crates/ratatui-0.29.0.crate) = 543514
-SHA256 (rust/crates/redox_syscall-0.5.17.crate) = 5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77
-SIZE (rust/crates/redox_syscall-0.5.17.crate) = 30002
-SHA256 (rust/crates/regex-1.11.2.crate) = 23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912
-SIZE (rust/crates/regex-1.11.2.crate) = 166265
-SHA256 (rust/crates/regex-automata-0.4.10.crate) = 6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6
-SIZE (rust/crates/regex-automata-0.4.10.crate) = 622754
+SHA256 (rust/crates/redox_syscall-0.5.18.crate) = ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d
+SIZE (rust/crates/redox_syscall-0.5.18.crate) = 30747
+SHA256 (rust/crates/regex-1.11.3.crate) = 8b5288124840bee7b386bc413c487869b360b2b4ec421ea56425128692f2a82c
+SIZE (rust/crates/regex-1.11.3.crate) = 163275
+SHA256 (rust/crates/regex-automata-0.4.11.crate) = 833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad
+SIZE (rust/crates/regex-automata-0.4.11.crate) = 622880
SHA256 (rust/crates/regex-syntax-0.8.6.crate) = caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001
SIZE (rust/crates/regex-syntax-0.8.6.crate) = 358808
SHA256 (rust/crates/ring-0.17.14.crate) = a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7
@@ -259,16 +259,16 @@ SHA256 (rust/crates/security-framework-2.11.1.crate) = 897b2245f0b511c87893af39b
SIZE (rust/crates/security-framework-2.11.1.crate) = 80188
SHA256 (rust/crates/security-framework-sys-2.15.0.crate) = cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0
SIZE (rust/crates/security-framework-sys-2.15.0.crate) = 20718
-SHA256 (rust/crates/serde-1.0.225.crate) = fd6c24dee235d0da097043389623fb913daddf92c76e9f5a1db88607a0bcbd1d
-SIZE (rust/crates/serde-1.0.225.crate) = 28467
+SHA256 (rust/crates/serde-1.0.228.crate) = 9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e
+SIZE (rust/crates/serde-1.0.228.crate) = 83652
SHA256 (rust/crates/serde-value-0.7.0.crate) = f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c
SIZE (rust/crates/serde-value-0.7.0.crate) = 10249
SHA256 (rust/crates/serde_any-0.5.0.crate) = 38cb506febacc2cf6533279947bd37b69ce91782af1aedf31c7e6181a77d46ee
SIZE (rust/crates/serde_any-0.5.0.crate) = 18042
-SHA256 (rust/crates/serde_core-1.0.225.crate) = 659356f9a0cb1e529b24c01e43ad2bdf520ec4ceaf83047b83ddcc2251f96383
-SIZE (rust/crates/serde_core-1.0.225.crate) = 63004
-SHA256 (rust/crates/serde_derive-1.0.225.crate) = 0ea936adf78b1f766949a4977b91d2f5595825bd6ec079aa9543ad2685fc4516
-SIZE (rust/crates/serde_derive-1.0.225.crate) = 58560
+SHA256 (rust/crates/serde_core-1.0.228.crate) = 41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad
+SIZE (rust/crates/serde_core-1.0.228.crate) = 63111
+SHA256 (rust/crates/serde_derive-1.0.228.crate) = d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79
+SIZE (rust/crates/serde_derive-1.0.228.crate) = 59605
SHA256 (rust/crates/serde_json-1.0.145.crate) = 402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c
SIZE (rust/crates/serde_json-1.0.145.crate) = 155748
SHA256 (rust/crates/serde_yaml-0.7.5.crate) = ef8099d3df28273c99a1728190c7a9f19d444c941044f64adf986bee7ec53051
@@ -309,8 +309,8 @@ SHA256 (rust/crates/syn-2.0.106.crate) = ede7c438028d4436d71104916910f5bb611972c
SIZE (rust/crates/syn-2.0.106.crate) = 301514
SHA256 (rust/crates/synstructure-0.12.6.crate) = f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f
SIZE (rust/crates/synstructure-0.12.6.crate) = 18429
-SHA256 (rust/crates/tempfile-3.22.0.crate) = 84fa4d11fadde498443cca10fd3ac23c951f0dc59e080e9f4b93d4df4e4eea53
-SIZE (rust/crates/tempfile-3.22.0.crate) = 43044
+SHA256 (rust/crates/tempfile-3.23.0.crate) = 2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16
+SIZE (rust/crates/tempfile-3.23.0.crate) = 43063
SHA256 (rust/crates/thread_local-1.1.9.crate) = f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185
SIZE (rust/crates/thread_local-1.1.9.crate) = 19315
SHA256 (rust/crates/toml-0.4.10.crate) = 758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f
@@ -351,20 +351,20 @@ SHA256 (rust/crates/version_check-0.9.5.crate) = 0b928f33d975fc6ad9f86c8f283853a
SIZE (rust/crates/version_check-0.9.5.crate) = 15554
SHA256 (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b
SIZE (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = 28477
-SHA256 (rust/crates/wasi-0.14.5+wasi-0.2.4.crate) = a4494f6290a82f5fe584817a676a34b9d6763e8d9d18204009fb31dceca98fd4
-SIZE (rust/crates/wasi-0.14.5+wasi-0.2.4.crate) = 18092
-SHA256 (rust/crates/wasip2-1.0.0+wasi-0.2.4.crate) = 03fa2761397e5bd52002cd7e73110c71af2109aca4e521a9f40473fe685b0a24
-SIZE (rust/crates/wasip2-1.0.0+wasi-0.2.4.crate) = 132019
-SHA256 (rust/crates/wasm-bindgen-0.2.101.crate) = 7e14915cadd45b529bb8d1f343c4ed0ac1de926144b746e2710f9cd05df6603b
-SIZE (rust/crates/wasm-bindgen-0.2.101.crate) = 47841
-SHA256 (rust/crates/wasm-bindgen-backend-0.2.101.crate) = e28d1ba982ca7923fd01448d5c30c6864d0a14109560296a162f80f305fb93bb
-SIZE (rust/crates/wasm-bindgen-backend-0.2.101.crate) = 32331
-SHA256 (rust/crates/wasm-bindgen-macro-0.2.101.crate) = 7c3d463ae3eff775b0c45df9da45d68837702ac35af998361e2c84e7c5ec1b0d
-SIZE (rust/crates/wasm-bindgen-macro-0.2.101.crate) = 9804
-SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.101.crate) = 7bb4ce89b08211f923caf51d527662b75bdc9c9c7aab40f86dcb9fb85ac552aa
-SIZE (rust/crates/wasm-bindgen-macro-support-0.2.101.crate) = 26415
-SHA256 (rust/crates/wasm-bindgen-shared-0.2.101.crate) = f143854a3b13752c6950862c906306adb27c7e839f7414cec8fea35beab624c1
-SIZE (rust/crates/wasm-bindgen-shared-0.2.101.crate) = 9055
+SHA256 (rust/crates/wasi-0.14.7+wasi-0.2.4.crate) = 883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c
+SIZE (rust/crates/wasi-0.14.7+wasi-0.2.4.crate) = 18219
+SHA256 (rust/crates/wasip2-1.0.1+wasi-0.2.4.crate) = 0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7
+SIZE (rust/crates/wasip2-1.0.1+wasi-0.2.4.crate) = 132087
+SHA256 (rust/crates/wasm-bindgen-0.2.104.crate) = c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d
+SIZE (rust/crates/wasm-bindgen-0.2.104.crate) = 47345
+SHA256 (rust/crates/wasm-bindgen-backend-0.2.104.crate) = 671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19
+SIZE (rust/crates/wasm-bindgen-backend-0.2.104.crate) = 32230
+SHA256 (rust/crates/wasm-bindgen-macro-0.2.104.crate) = 7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119
+SIZE (rust/crates/wasm-bindgen-macro-0.2.104.crate) = 9390
+SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.104.crate) = 9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7
+SIZE (rust/crates/wasm-bindgen-macro-support-0.2.104.crate) = 26411
+SHA256 (rust/crates/wasm-bindgen-shared-0.2.104.crate) = bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1
+SIZE (rust/crates/wasm-bindgen-shared-0.2.104.crate) = 9057
SHA256 (rust/crates/web-time-1.1.0.crate) = 5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb
SIZE (rust/crates/web-time-1.1.0.crate) = 18026
SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
@@ -373,14 +373,12 @@ SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
-SHA256 (rust/crates/windows-core-0.62.0.crate) = 57fe7168f7de578d2d8a05b07fd61870d2e73b4020e9f49aa00da8471723497c
-SIZE (rust/crates/windows-core-0.62.0.crate) = 36955
-SHA256 (rust/crates/windows-implement-0.60.0.crate) = a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836
-SIZE (rust/crates/windows-implement-0.60.0.crate) = 15073
-SHA256 (rust/crates/windows-interface-0.59.1.crate) = bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8
-SIZE (rust/crates/windows-interface-0.59.1.crate) = 11735
-SHA256 (rust/crates/windows-link-0.1.3.crate) = 5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a
-SIZE (rust/crates/windows-link-0.1.3.crate) = 6154
+SHA256 (rust/crates/windows-core-0.62.1.crate) = 6844ee5416b285084d3d3fffd743b925a6c9385455f64f6d4fa3031c4c2749a9
+SIZE (rust/crates/windows-core-0.62.1.crate) = 36948
+SHA256 (rust/crates/windows-implement-0.60.1.crate) = edb307e42a74fb6de9bf3a02d9712678b22399c87e6fa869d6dfcd8c1b7754e0
+SIZE (rust/crates/windows-implement-0.60.1.crate) = 15257
+SHA256 (rust/crates/windows-interface-0.59.2.crate) = c0abd1ddbc6964ac14db11c7213d6532ef34bd9aa042c2e5935f59d7908b46a5
+SIZE (rust/crates/windows-interface-0.59.2.crate) = 11735
SHA256 (rust/crates/windows-link-0.2.0.crate) = 45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65
SIZE (rust/crates/windows-link-0.2.0.crate) = 6170
SHA256 (rust/crates/windows-result-0.4.0.crate) = 7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f
@@ -393,12 +391,12 @@ SHA256 (rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b3
SIZE (rust/crates/windows-sys-0.59.0.crate) = 2387323
SHA256 (rust/crates/windows-sys-0.60.2.crate) = f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb
SIZE (rust/crates/windows-sys-0.60.2.crate) = 2518479
-SHA256 (rust/crates/windows-sys-0.61.0.crate) = e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa
-SIZE (rust/crates/windows-sys-0.61.0.crate) = 2517134
+SHA256 (rust/crates/windows-sys-0.61.1.crate) = 6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f
+SIZE (rust/crates/windows-sys-0.61.1.crate) = 2517255
SHA256 (rust/crates/windows-targets-0.52.6.crate) = 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973
SIZE (rust/crates/windows-targets-0.52.6.crate) = 6403
-SHA256 (rust/crates/windows-targets-0.53.3.crate) = d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91
-SIZE (rust/crates/windows-targets-0.53.3.crate) = 7099
+SHA256 (rust/crates/windows-targets-0.53.4.crate) = 2d42b7b7f66d2a06854650af09cfdf8713e427a439c97ad65a6375318033ac4b
+SIZE (rust/crates/windows-targets-0.53.4.crate) = 7161
SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3
SIZE (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 435718
SHA256 (rust/crates/windows_aarch64_gnullvm-0.53.0.crate) = 86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764
@@ -431,11 +429,11 @@ SHA256 (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 589f6da84c646204747d1270
SIZE (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 832564
SHA256 (rust/crates/windows_x86_64_msvc-0.53.0.crate) = 271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486
SIZE (rust/crates/windows_x86_64_msvc-0.53.0.crate) = 834400
-SHA256 (rust/crates/wit-bindgen-0.45.1.crate) = 5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36
-SIZE (rust/crates/wit-bindgen-0.45.1.crate) = 60395
+SHA256 (rust/crates/wit-bindgen-0.46.0.crate) = f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59
+SIZE (rust/crates/wit-bindgen-0.46.0.crate) = 60508
SHA256 (rust/crates/yaml-rust-0.4.5.crate) = 56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85
SIZE (rust/crates/yaml-rust-0.4.5.crate) = 47783
SHA256 (rust/crates/yansi-1.0.1.crate) = cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049
SIZE (rust/crates/yansi-1.0.1.crate) = 75497
-SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde
-SIZE (rust/crates/zeroize-1.8.1.crate) = 20029
+SHA256 (rust/crates/zeroize-1.8.2.crate) = b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0
+SIZE (rust/crates/zeroize-1.8.2.crate) = 20907
diff --git a/mail/imapsync/Makefile b/mail/imapsync/Makefile
index 3f190a51e069..afa2d9b87e8b 100644
--- a/mail/imapsync/Makefile
+++ b/mail/imapsync/Makefile
@@ -1,5 +1,5 @@
PORTNAME= imapsync
-PORTVERSION= 2.290
+PORTVERSION= 2.314
CATEGORIES= mail perl5
MASTER_SITES= https://imapsync.lamiral.info/dist/
diff --git a/mail/imapsync/distinfo b/mail/imapsync/distinfo
index db104032ff34..3fa696fd1abe 100644
--- a/mail/imapsync/distinfo
+++ b/mail/imapsync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736154483
-SHA256 (imapsync-2.290.tgz) = b85853c676940cfefdde2b1fa45ffb4fc7780275c32f8b8deb353c8a063e1051
-SIZE (imapsync-2.290.tgz) = 18497869
+TIMESTAMP = 1758905447
+SHA256 (imapsync-2.314.tgz) = 34e1715c6584889ff3bd9c0acc2fab254446282beda90c8e5a71a83b3a59dbca
+SIZE (imapsync-2.314.tgz) = 19033775
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index b3d3a97b9531..10b9408ca9c6 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -13,7 +13,7 @@
# MAILDROP_MBOX_DIR=<dir> Specify DEFAULT mailbox location
PORTNAME= maildrop
-PORTVERSION= 3.1.8
+PORTVERSION= 3.2.1
CATEGORIES= mail
MASTER_SITES= SF/courier/${PORTNAME}/${PORTVERSION}
diff --git a/mail/maildrop/distinfo b/mail/maildrop/distinfo
index 7716020f4d44..c3695d4cbb05 100644
--- a/mail/maildrop/distinfo
+++ b/mail/maildrop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722950932
-SHA256 (maildrop-3.1.8.tar.bz2) = 7e826c031917444f1b7ab71c1fcd90383595644846e2b3b260e352b1ce03e950
-SIZE (maildrop-3.1.8.tar.bz2) = 2156016
+TIMESTAMP = 1761325678
+SHA256 (maildrop-3.2.1.tar.bz2) = 3c5890f4d43322d4e63f3e80c3a609cde605f72966d6234fc886418d949d24b9
+SIZE (maildrop-3.2.1.tar.bz2) = 2392200
diff --git a/mail/maildrop/files/patch-libs_rfc2045_rfc2045.h b/mail/maildrop/files/patch-libs_rfc2045_rfc2045.h
new file mode 100644
index 000000000000..36c6fd96cfb4
--- /dev/null
+++ b/mail/maildrop/files/patch-libs_rfc2045_rfc2045.h
@@ -0,0 +1,11 @@
+--- libs/rfc2045/rfc2045.h.orig 2025-10-06 09:00:04 UTC
++++ libs/rfc2045/rfc2045.h
+@@ -3224,7 +3224,7 @@ void rfc822::mime_decoder<out_iter, src_type>::decode(
+
+ if (decode_header)
+ {
+- typename rfc2045::entity::line_iter<crlf>::headers<
++ typename rfc2045::entity::line_iter<crlf>::template headers<
+ src_type> parser{e, src };
+
+ parser.name_lc=header_name_lc;
diff --git a/mail/maildrop/files/patch-libs_rfc2045_testsuitecpp.C b/mail/maildrop/files/patch-libs_rfc2045_testsuitecpp.C
new file mode 100644
index 000000000000..fedab998a0fa
--- /dev/null
+++ b/mail/maildrop/files/patch-libs_rfc2045_testsuitecpp.C
@@ -0,0 +1,11 @@
+--- libs/rfc2045/testsuitecpp.C.orig 2025-10-17 22:49:54 UTC
++++ libs/rfc2045/testsuitecpp.C
+@@ -19,7 +19,7 @@ void testrfc2045line_iter_testset(int &testnum, test_t
+ auto b=s.begin();
+ auto e=s.end();
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::string_view::iterator,
+ std::string_view::iterator
+ >
diff --git a/mail/maildrop/files/patch-libs_rfc2045_testsuitecpp2.C b/mail/maildrop/files/patch-libs_rfc2045_testsuitecpp2.C
new file mode 100644
index 000000000000..ef489dd14fe0
--- /dev/null
+++ b/mail/maildrop/files/patch-libs_rfc2045_testsuitecpp2.C
@@ -0,0 +1,29 @@
+--- libs/rfc2045/testsuitecpp2.C.orig 2025-09-10 03:08:09 UTC
++++ libs/rfc2045/testsuitecpp2.C
+@@ -217,7 +217,7 @@ void test3()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -310,7 +310,7 @@ void test4()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -488,7 +488,7 @@ void test5()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
diff --git a/mail/mailfromd/Makefile b/mail/mailfromd/Makefile
index c6edb94e8481..d3824621804a 100644
--- a/mail/mailfromd/Makefile
+++ b/mail/mailfromd/Makefile
@@ -36,19 +36,18 @@ SUB_LIST+= MFD_RUN_DIR=${MFD_RUN_DIR}
INFO= ${PORTNAME}
PORTDOCS= AUTHORS ChangeLog NEWS README THANKS TODO
-OPTIONS_DEFINE= DOCS DSPAM NLS
+OPTIONS_DEFINE= DOCS EMACS NLS
OPTIONS_DEFAULT= GDBM
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= BDB GDBM
OPTIONS_SUB= yes
-BDB_DESC= Berkeley DB v4.8 support (last working one)
+BDB_DESC= Berkeley DB v4.8 (last working one) support
DB_DESC= Database configuration
-DSPAM_DESC= DSPAM spam filter library support
-DSPAM_LIB_DEPENDS= libdspam.so:mail/dspam
-DSPAM_USES= pkgconfig
-DSPAM_CONFIGURE_WITH= dspam
+EMACS_DESC= Install Emacs Lisp *-mode files
+EMACS_CONFIGURE_ENV_OFF=ac_cv_prog_EMACS=no
+EMACS_USES= emacs:build
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
@@ -66,6 +65,8 @@ CONFIGURE_ARGS+= --enable-debug
.endif
post-patch:
+ @${REINPLACE_CMD} -e '/^install-lispLISP:/s,lisp_LISP,&) $$(&:.el=.elc,' \
+ ${WRKSRC}/elisp/Makefile.in
@${REINPLACE_CMD} -e '/^mfmodnew_LDADD =/s,),& $$(INTLLIBS),' \
${WRKSRC}/mfmod/Makefile.in
diff --git a/mail/mailfromd/pkg-plist b/mail/mailfromd/pkg-plist
index d75857c53106..c747490b1322 100644
--- a/mail/mailfromd/pkg-plist
+++ b/mail/mailfromd/pkg-plist
@@ -7,6 +7,10 @@ include/mailfromd/mfmod.h
sbin/calloutd
sbin/mailfromd
share/aclocal/mfmod.m4
+%%EMACS%%%%EMACS_SITE_LISPDIR%%/mfl-mode.el
+%%EMACS%%%%EMACS_SITE_LISPDIR%%/mfl-mode.elc
+%%EMACS%%%%EMACS_SITE_LISPDIR%%/obfemail-mode.el
+%%EMACS%%%%EMACS_SITE_LISPDIR%%/obfemail-mode.elc
%%NLS%%share/locale/da/LC_MESSAGES/mailfromd.mo
%%NLS%%share/locale/fr/LC_MESSAGES/mailfromd.mo
%%NLS%%share/locale/id/LC_MESSAGES/mailfromd.mo
diff --git a/mail/mailhog/Makefile b/mail/mailhog/Makefile
index e0d5bfe09e00..8002d2505887 100644
--- a/mail/mailhog/Makefile
+++ b/mail/mailhog/Makefile
@@ -1,7 +1,7 @@
PORTNAME= mailhog
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1
-PORTREVISION= 29
+PORTREVISION= 32
CATEGORIES= mail devel
MAINTAINER= mops@punkt.de
diff --git a/mail/mailio/Makefile b/mail/mailio/Makefile
index 55fc55d4209c..2d403cbfc8a4 100644
--- a/mail/mailio/Makefile
+++ b/mail/mailio/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mailio
DISTVERSION= 0.25.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail devel
MAINTAINER= yuri@FreeBSD.org
@@ -10,7 +10,7 @@ WWW= https://github.com/karastojko/mailio
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libboost_system.so:devel/boost-libs
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USES= cmake:testing compiler:c++17-lang ssl
USE_LDCONFIG= yes
diff --git a/mail/mailman3/Makefile b/mail/mailman3/Makefile
index fbfd120c49cb..b85400fbf4b9 100644
--- a/mail/mailman3/Makefile
+++ b/mail/mailman3/Makefile
@@ -36,7 +36,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosmtpd>=1.4.3:mail/py-aiosmtpd@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}zope.event>0:devel/py-zope.event@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>=5.0:devel/py-zope.interface@${PY_FLAVOR}
-USES= cpe python:3.9+
+USES= cpe python
CPE_VENDOR= gnu
USE_PYTHON= autoplist concurrent pep517
diff --git a/mail/mailpit/Makefile b/mail/mailpit/Makefile
index 0c29956fd21b..095cfdfb6f5b 100644
--- a/mail/mailpit/Makefile
+++ b/mail/mailpit/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mailpit
DISTVERSIONPREFIX= v
-DISTVERSION= 1.27.9
+DISTVERSION= 1.27.11
CATEGORIES= mail devel
MASTER_SITES= https://www.madpilot.net/mailpit/:npmcache \
LOCAL/madpilot/mailpit:npmcache
diff --git a/mail/mailpit/distinfo b/mail/mailpit/distinfo
index c9c150430349..45d2907a8e49 100644
--- a/mail/mailpit/distinfo
+++ b/mail/mailpit/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1759128979
-SHA256 (go/mail_mailpit/mailpit-v1.27.9/mailpit-npm-cache-1.27.9.tar.zst) = dc260aea44a0fb5096d2ddfc452ea429fe3a2867e6d98695a69bc1dcc6879402
-SIZE (go/mail_mailpit/mailpit-v1.27.9/mailpit-npm-cache-1.27.9.tar.zst) = 38028128
-SHA256 (go/mail_mailpit/mailpit-v1.27.9/v1.27.9.mod) = 5269476d5eb30c0c903f069d8b4375e083e413e08249341fa108661ebbd0aeb2
-SIZE (go/mail_mailpit/mailpit-v1.27.9/v1.27.9.mod) = 3202
-SHA256 (go/mail_mailpit/mailpit-v1.27.9/v1.27.9.zip) = 4e2d48c32aa3986cfd263929c4e281e308d3061738866c6cbab087c718d02779
-SIZE (go/mail_mailpit/mailpit-v1.27.9/v1.27.9.zip) = 586854
+TIMESTAMP = 1762681484
+SHA256 (go/mail_mailpit/mailpit-v1.27.11/mailpit-npm-cache-1.27.11.tar.zst) = aa56ba3f386e800cb20f0d9e380d258adb509b68861ff978c00d2f4f1d60bbee
+SIZE (go/mail_mailpit/mailpit-v1.27.11/mailpit-npm-cache-1.27.11.tar.zst) = 38050430
+SHA256 (go/mail_mailpit/mailpit-v1.27.11/v1.27.11.mod) = f8e7cb9a2582fcfbed4d4d061be4a72310df7d9aea0852284946c3af8b0dc390
+SIZE (go/mail_mailpit/mailpit-v1.27.11/v1.27.11.mod) = 3512
+SHA256 (go/mail_mailpit/mailpit-v1.27.11/v1.27.11.zip) = b89116ad8cb09ea7706e6a7d7311de88ec3769bc96f7a497ead170b82a9aab37
+SIZE (go/mail_mailpit/mailpit-v1.27.11/v1.27.11.zip) = 587724
diff --git a/mail/mailpit/files/patch-package-lock.json b/mail/mailpit/files/patch-package-lock.json
index 7e4c09e2c404..061bd9422b87 100644
--- a/mail/mailpit/files/patch-package-lock.json
+++ b/mail/mailpit/files/patch-package-lock.json
@@ -17,17 +17,17 @@
}
},
- "node_modules/@bufbuild/protobuf": {
-- "version": "2.9.0",
-- "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.9.0.tgz",
-- "integrity": "sha512-rnJenoStJ8nvmt9Gzye8nkYd6V22xUAnu4086ER7h1zJ508vStko4pMvDeQ446ilDTFpV5wnoc5YS7XvMwwMqA==",
+- "version": "2.10.0",
+- "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.10.0.tgz",
+- "integrity": "sha512-fdRs9PSrBF7QUntpZpq6BTw58fhgGJojgg39m9oFOJGZT+nip9b0so5cYY1oWl5pvemDLr0cPPsH46vwThEbpQ==",
- "dev": true,
- "license": "(Apache-2.0 AND BSD-3-Clause)",
- "peer": true
- },
- "node_modules/@esbuild/aix-ppc64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.10.tgz",
-- "integrity": "sha512-0NFWnA+7l41irNuaSVlLfgNT12caWJVLzp5eAVhZ0z1qpxbockccEt3s+149rE64VUI3Ml2zt8Nv5JVc4QXTsw==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz",
+- "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==",
- "cpu": [
- "ppc64"
- ],
@@ -42,9 +42,9 @@
- }
- },
- "node_modules/@esbuild/android-arm": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.10.tgz",
-- "integrity": "sha512-dQAxF1dW1C3zpeCDc5KqIYuZ1tgAdRXNoZP7vkBIRtKZPYe2xVr/d3SkirklCHudW1B45tGiUlz2pUWDfbDD4w==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz",
+- "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==",
- "cpu": [
- "arm"
- ],
@@ -59,9 +59,9 @@
- }
- },
- "node_modules/@esbuild/android-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.10.tgz",
-- "integrity": "sha512-LSQa7eDahypv/VO6WKohZGPSJDq5OVOo3UoFR1E4t4Gj1W7zEQMUhI+lo81H+DtB+kP+tDgBp+M4oNCwp6kffg==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz",
+- "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==",
- "cpu": [
- "arm64"
- ],
@@ -76,9 +76,9 @@
- }
- },
- "node_modules/@esbuild/android-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.10.tgz",
-- "integrity": "sha512-MiC9CWdPrfhibcXwr39p9ha1x0lZJ9KaVfvzA0Wxwz9ETX4v5CHfF09bx935nHlhi+MxhA63dKRRQLiVgSUtEg==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz",
+- "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==",
- "cpu": [
- "x64"
- ],
@@ -93,9 +93,9 @@
- }
- },
- "node_modules/@esbuild/darwin-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.10.tgz",
-- "integrity": "sha512-JC74bdXcQEpW9KkV326WpZZjLguSZ3DfS8wrrvPMHgQOIEIG/sPXEN/V8IssoJhbefLRcRqw6RQH2NnpdprtMA==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz",
+- "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==",
- "cpu": [
- "arm64"
- ],
@@ -110,9 +110,9 @@
- }
- },
- "node_modules/@esbuild/darwin-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.10.tgz",
-- "integrity": "sha512-tguWg1olF6DGqzws97pKZ8G2L7Ig1vjDmGTwcTuYHbuU6TTjJe5FXbgs5C1BBzHbJ2bo1m3WkQDbWO2PvamRcg==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz",
+- "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==",
- "cpu": [
- "x64"
- ],
@@ -127,9 +127,9 @@
- }
- },
- "node_modules/@esbuild/freebsd-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.10.tgz",
-- "integrity": "sha512-3ZioSQSg1HT2N05YxeJWYR+Libe3bREVSdWhEEgExWaDtyFbbXWb49QgPvFH8u03vUPX10JhJPcz7s9t9+boWg==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz",
+- "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==",
- "cpu": [
- "arm64"
- ],
@@ -144,9 +144,9 @@
- }
- },
- "node_modules/@esbuild/freebsd-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.10.tgz",
-- "integrity": "sha512-LLgJfHJk014Aa4anGDbh8bmI5Lk+QidDmGzuC2D+vP7mv/GeSN+H39zOf7pN5N8p059FcOfs2bVlrRr4SK9WxA==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz",
+- "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==",
- "cpu": [
- "x64"
- ],
@@ -161,9 +161,9 @@
- }
- },
- "node_modules/@esbuild/linux-arm": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.10.tgz",
-- "integrity": "sha512-oR31GtBTFYCqEBALI9r6WxoU/ZofZl962pouZRTEYECvNF/dtXKku8YXcJkhgK/beU+zedXfIzHijSRapJY3vg==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz",
+- "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==",
- "cpu": [
- "arm"
- ],
@@ -178,9 +178,9 @@
- }
- },
- "node_modules/@esbuild/linux-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.10.tgz",
-- "integrity": "sha512-5luJWN6YKBsawd5f9i4+c+geYiVEw20FVW5x0v1kEMWNq8UctFjDiMATBxLvmmHA4bf7F6hTRaJgtghFr9iziQ==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz",
+- "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==",
- "cpu": [
- "arm64"
- ],
@@ -195,9 +195,9 @@
- }
- },
- "node_modules/@esbuild/linux-ia32": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.10.tgz",
-- "integrity": "sha512-NrSCx2Kim3EnnWgS4Txn0QGt0Xipoumb6z6sUtl5bOEZIVKhzfyp/Lyw4C1DIYvzeW/5mWYPBFJU3a/8Yr75DQ==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz",
+- "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==",
- "cpu": [
- "ia32"
- ],
@@ -212,9 +212,9 @@
- }
- },
- "node_modules/@esbuild/linux-loong64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.10.tgz",
-- "integrity": "sha512-xoSphrd4AZda8+rUDDfD9J6FUMjrkTz8itpTITM4/xgerAZZcFW7Dv+sun7333IfKxGG8gAq+3NbfEMJfiY+Eg==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz",
+- "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==",
- "cpu": [
- "loong64"
- ],
@@ -229,9 +229,9 @@
- }
- },
- "node_modules/@esbuild/linux-mips64el": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.10.tgz",
-- "integrity": "sha512-ab6eiuCwoMmYDyTnyptoKkVS3k8fy/1Uvq7Dj5czXI6DF2GqD2ToInBI0SHOp5/X1BdZ26RKc5+qjQNGRBelRA==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz",
+- "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==",
- "cpu": [
- "mips64el"
- ],
@@ -246,9 +246,9 @@
- }
- },
- "node_modules/@esbuild/linux-ppc64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.10.tgz",
-- "integrity": "sha512-NLinzzOgZQsGpsTkEbdJTCanwA5/wozN9dSgEl12haXJBzMTpssebuXR42bthOF3z7zXFWH1AmvWunUCkBE4EA==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz",
+- "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==",
- "cpu": [
- "ppc64"
- ],
@@ -263,9 +263,9 @@
- }
- },
- "node_modules/@esbuild/linux-riscv64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.10.tgz",
-- "integrity": "sha512-FE557XdZDrtX8NMIeA8LBJX3dC2M8VGXwfrQWU7LB5SLOajfJIxmSdyL/gU1m64Zs9CBKvm4UAuBp5aJ8OgnrA==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz",
+- "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==",
- "cpu": [
- "riscv64"
- ],
@@ -280,9 +280,9 @@
- }
- },
- "node_modules/@esbuild/linux-s390x": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.10.tgz",
-- "integrity": "sha512-3BBSbgzuB9ajLoVZk0mGu+EHlBwkusRmeNYdqmznmMc9zGASFjSsxgkNsqmXugpPk00gJ0JNKh/97nxmjctdew==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz",
+- "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==",
- "cpu": [
- "s390x"
- ],
@@ -297,9 +297,9 @@
- }
- },
- "node_modules/@esbuild/linux-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.10.tgz",
-- "integrity": "sha512-QSX81KhFoZGwenVyPoberggdW1nrQZSvfVDAIUXr3WqLRZGZqWk/P4T8p2SP+de2Sr5HPcvjhcJzEiulKgnxtA==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz",
+- "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==",
- "cpu": [
- "x64"
- ],
@@ -314,9 +314,9 @@
- }
- },
- "node_modules/@esbuild/netbsd-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.10.tgz",
-- "integrity": "sha512-AKQM3gfYfSW8XRk8DdMCzaLUFB15dTrZfnX8WXQoOUpUBQ+NaAFCP1kPS/ykbbGYz7rxn0WS48/81l9hFl3u4A==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz",
+- "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==",
- "cpu": [
- "arm64"
- ],
@@ -331,9 +331,9 @@
- }
- },
- "node_modules/@esbuild/netbsd-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.10.tgz",
-- "integrity": "sha512-7RTytDPGU6fek/hWuN9qQpeGPBZFfB4zZgcz2VK2Z5VpdUxEI8JKYsg3JfO0n/Z1E/6l05n0unDCNc4HnhQGig==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz",
+- "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==",
- "cpu": [
- "x64"
- ],
@@ -348,9 +348,9 @@
- }
- },
- "node_modules/@esbuild/openbsd-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.10.tgz",
-- "integrity": "sha512-5Se0VM9Wtq797YFn+dLimf2Zx6McttsH2olUBsDml+lm0GOCRVebRWUvDtkY4BWYv/3NgzS8b/UM3jQNh5hYyw==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz",
+- "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==",
- "cpu": [
- "arm64"
- ],
@@ -365,9 +365,9 @@
- }
- },
- "node_modules/@esbuild/openbsd-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.10.tgz",
-- "integrity": "sha512-XkA4frq1TLj4bEMB+2HnI0+4RnjbuGZfet2gs/LNs5Hc7D89ZQBHQ0gL2ND6Lzu1+QVkjp3x1gIcPKzRNP8bXw==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz",
+- "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==",
- "cpu": [
- "x64"
- ],
@@ -382,9 +382,9 @@
- }
- },
- "node_modules/@esbuild/openharmony-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.10.tgz",
-- "integrity": "sha512-AVTSBhTX8Y/Fz6OmIVBip9tJzZEUcY8WLh7I59+upa5/GPhh2/aM6bvOMQySspnCCHvFi79kMtdJS1w0DXAeag==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz",
+- "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==",
- "cpu": [
- "arm64"
- ],
@@ -399,9 +399,9 @@
- }
- },
- "node_modules/@esbuild/sunos-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.10.tgz",
-- "integrity": "sha512-fswk3XT0Uf2pGJmOpDB7yknqhVkJQkAQOcW/ccVOtfx05LkbWOaRAtn5SaqXypeKQra1QaEa841PgrSL9ubSPQ==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz",
+- "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==",
- "cpu": [
- "x64"
- ],
@@ -416,9 +416,9 @@
- }
- },
- "node_modules/@esbuild/win32-arm64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.10.tgz",
-- "integrity": "sha512-ah+9b59KDTSfpaCg6VdJoOQvKjI33nTaQr4UluQwW7aEwZQsbMCfTmfEO4VyewOxx4RaDT/xCy9ra2GPWmO7Kw==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz",
+- "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==",
- "cpu": [
- "arm64"
- ],
@@ -433,9 +433,9 @@
- }
- },
- "node_modules/@esbuild/win32-ia32": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.10.tgz",
-- "integrity": "sha512-QHPDbKkrGO8/cz9LKVnJU22HOi4pxZnZhhA2HYHez5Pz4JeffhDjf85E57Oyco163GnzNCVkZK0b/n4Y0UHcSw==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz",
+- "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==",
- "cpu": [
- "ia32"
- ],
@@ -450,9 +450,9 @@
- }
- },
- "node_modules/@esbuild/win32-x64": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.10.tgz",
-- "integrity": "sha512-9KpxSVFCu0iK1owoez6aC/s/EdUQLDN3adTxGCqxMVhrPDj6bt5dbrHDXUuq+Bs2vATFBBrQS5vdQ/Ed2P+nbw==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+- "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
- "cpu": [
- "x64"
- ],
@@ -469,7 +469,7 @@
"node_modules/@eslint-community/eslint-utils": {
"version": "4.9.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz",
-@@ -1119,6 +669,7 @@
+@@ -1109,6 +659,7 @@
"version": "2.11.8",
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
"integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
@@ -477,7 +477,7 @@
"license": "MIT",
"funding": {
"type": "opencollective",
-@@ -2091,14 +1642,6 @@
+@@ -2081,14 +1632,6 @@
"ieee754": "^1.2.1"
}
},
@@ -492,7 +492,7 @@
"node_modules/call-bind-apply-helpers": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
-@@ -2181,14 +1724,6 @@
+@@ -2171,14 +1714,6 @@
"dev": true,
"license": "MIT"
},
@@ -507,14 +507,14 @@
"node_modules/combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
-@@ -2412,48 +1947,6 @@
+@@ -2402,48 +1937,6 @@
"node": ">= 0.4"
}
},
- "node_modules/esbuild": {
-- "version": "0.25.10",
-- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.10.tgz",
-- "integrity": "sha512-9RiGKvCwaqxO2owP61uQ4BgNborAQskMR6QusfWzQqv7AZOg5oGehdY2pRJMTKuwxd1IDBP4rSbI5lHzU7SMsQ==",
+- "version": "0.25.12",
+- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+- "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
@@ -525,45 +525,45 @@
- "node": ">=18"
- },
- "optionalDependencies": {
-- "@esbuild/aix-ppc64": "0.25.10",
-- "@esbuild/android-arm": "0.25.10",
-- "@esbuild/android-arm64": "0.25.10",
-- "@esbuild/android-x64": "0.25.10",
-- "@esbuild/darwin-arm64": "0.25.10",
-- "@esbuild/darwin-x64": "0.25.10",
-- "@esbuild/freebsd-arm64": "0.25.10",
-- "@esbuild/freebsd-x64": "0.25.10",
-- "@esbuild/linux-arm": "0.25.10",
-- "@esbuild/linux-arm64": "0.25.10",
-- "@esbuild/linux-ia32": "0.25.10",
-- "@esbuild/linux-loong64": "0.25.10",
-- "@esbuild/linux-mips64el": "0.25.10",
-- "@esbuild/linux-ppc64": "0.25.10",
-- "@esbuild/linux-riscv64": "0.25.10",
-- "@esbuild/linux-s390x": "0.25.10",
-- "@esbuild/linux-x64": "0.25.10",
-- "@esbuild/netbsd-arm64": "0.25.10",
-- "@esbuild/netbsd-x64": "0.25.10",
-- "@esbuild/openbsd-arm64": "0.25.10",
-- "@esbuild/openbsd-x64": "0.25.10",
-- "@esbuild/openharmony-arm64": "0.25.10",
-- "@esbuild/sunos-x64": "0.25.10",
-- "@esbuild/win32-arm64": "0.25.10",
-- "@esbuild/win32-ia32": "0.25.10",
-- "@esbuild/win32-x64": "0.25.10"
+- "@esbuild/aix-ppc64": "0.25.12",
+- "@esbuild/android-arm": "0.25.12",
+- "@esbuild/android-arm64": "0.25.12",
+- "@esbuild/android-x64": "0.25.12",
+- "@esbuild/darwin-arm64": "0.25.12",
+- "@esbuild/darwin-x64": "0.25.12",
+- "@esbuild/freebsd-arm64": "0.25.12",
+- "@esbuild/freebsd-x64": "0.25.12",
+- "@esbuild/linux-arm": "0.25.12",
+- "@esbuild/linux-arm64": "0.25.12",
+- "@esbuild/linux-ia32": "0.25.12",
+- "@esbuild/linux-loong64": "0.25.12",
+- "@esbuild/linux-mips64el": "0.25.12",
+- "@esbuild/linux-ppc64": "0.25.12",
+- "@esbuild/linux-riscv64": "0.25.12",
+- "@esbuild/linux-s390x": "0.25.12",
+- "@esbuild/linux-x64": "0.25.12",
+- "@esbuild/netbsd-arm64": "0.25.12",
+- "@esbuild/netbsd-x64": "0.25.12",
+- "@esbuild/openbsd-arm64": "0.25.12",
+- "@esbuild/openbsd-x64": "0.25.12",
+- "@esbuild/openharmony-arm64": "0.25.12",
+- "@esbuild/sunos-x64": "0.25.12",
+- "@esbuild/win32-arm64": "0.25.12",
+- "@esbuild/win32-ia32": "0.25.12",
+- "@esbuild/win32-x64": "0.25.12"
- }
- },
"node_modules/esbuild-plugin-vue-next": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/esbuild-plugin-vue-next/-/esbuild-plugin-vue-next-0.1.4.tgz",
-@@ -2484,6 +1977,19 @@
+@@ -2474,6 +1967,19 @@
"sass-embedded": "^1.71.1"
}
},
+ "node_modules/esbuild-wasm": {
-+ "version": "0.25.10",
-+ "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.25.10.tgz",
-+ "integrity": "sha512-IyyfrTA2iiOh/uhlaJj0aUDgW42lFhr29ZeKouVNOz/8mLyuqWbEuVst+B4RBH18pb3AcOHnaOgyskAbsVOe3A==",
++ "version": "0.25.12",
++ "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.25.12.tgz",
++ "integrity": "sha512-rZqkjL3Y6FwLpSHzLnaEy8Ps6veCNo1kZa9EOfJvmWtBq5dJH4iVjfmOO6Mlkv9B0tt9WFPFmb/VxlgJOnueNg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
@@ -576,7 +576,7 @@
"node_modules/escape-string-regexp": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
-@@ -3817,17 +3323,6 @@
+@@ -3793,17 +3299,6 @@
"node": ">=4"
}
},
@@ -594,14 +594,14 @@
"node_modules/safe-identifier": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/safe-identifier/-/safe-identifier-0.4.2.tgz",
-@@ -3856,391 +3351,6 @@
+@@ -3832,391 +3327,6 @@
"@parcel/watcher": "^2.4.1"
}
},
- "node_modules/sass-embedded": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded/-/sass-embedded-1.93.2.tgz",
-- "integrity": "sha512-FvQdkn2dZ8DGiLgi0Uf4zsj7r/BsiLImNa5QJ10eZalY6NfZyjrmWGFcuCN5jNwlDlXFJnftauv+UtvBKLvepQ==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded/-/sass-embedded-1.93.3.tgz",
+- "integrity": "sha512-+VUy01yfDqNmIVMd/LLKl2TTtY0ovZN0rTonh+FhKr65mFwIYgU9WzgIZKS7U9/SPCQvWTsTGx9jyt+qRm/XFw==",
- "dev": true,
- "license": "MIT",
- "peer": true,
@@ -622,30 +622,30 @@
- "node": ">=16.0.0"
- },
- "optionalDependencies": {
-- "sass-embedded-all-unknown": "1.93.2",
-- "sass-embedded-android-arm": "1.93.2",
-- "sass-embedded-android-arm64": "1.93.2",
-- "sass-embedded-android-riscv64": "1.93.2",
-- "sass-embedded-android-x64": "1.93.2",
-- "sass-embedded-darwin-arm64": "1.93.2",
-- "sass-embedded-darwin-x64": "1.93.2",
-- "sass-embedded-linux-arm": "1.93.2",
-- "sass-embedded-linux-arm64": "1.93.2",
-- "sass-embedded-linux-musl-arm": "1.93.2",
-- "sass-embedded-linux-musl-arm64": "1.93.2",
-- "sass-embedded-linux-musl-riscv64": "1.93.2",
-- "sass-embedded-linux-musl-x64": "1.93.2",
-- "sass-embedded-linux-riscv64": "1.93.2",
-- "sass-embedded-linux-x64": "1.93.2",
-- "sass-embedded-unknown-all": "1.93.2",
-- "sass-embedded-win32-arm64": "1.93.2",
-- "sass-embedded-win32-x64": "1.93.2"
+- "sass-embedded-all-unknown": "1.93.3",
+- "sass-embedded-android-arm": "1.93.3",
+- "sass-embedded-android-arm64": "1.93.3",
+- "sass-embedded-android-riscv64": "1.93.3",
+- "sass-embedded-android-x64": "1.93.3",
+- "sass-embedded-darwin-arm64": "1.93.3",
+- "sass-embedded-darwin-x64": "1.93.3",
+- "sass-embedded-linux-arm": "1.93.3",
+- "sass-embedded-linux-arm64": "1.93.3",
+- "sass-embedded-linux-musl-arm": "1.93.3",
+- "sass-embedded-linux-musl-arm64": "1.93.3",
+- "sass-embedded-linux-musl-riscv64": "1.93.3",
+- "sass-embedded-linux-musl-x64": "1.93.3",
+- "sass-embedded-linux-riscv64": "1.93.3",
+- "sass-embedded-linux-x64": "1.93.3",
+- "sass-embedded-unknown-all": "1.93.3",
+- "sass-embedded-win32-arm64": "1.93.3",
+- "sass-embedded-win32-x64": "1.93.3"
- }
- },
- "node_modules/sass-embedded-all-unknown": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-all-unknown/-/sass-embedded-all-unknown-1.93.2.tgz",
-- "integrity": "sha512-GdEuPXIzmhRS5J7UKAwEvtk8YyHQuFZRcpnEnkA3rwRUI27kwjyXkNeIj38XjUQ3DzrfMe8HcKFaqWGHvblS7Q==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-all-unknown/-/sass-embedded-all-unknown-1.93.3.tgz",
+- "integrity": "sha512-3okGgnE41eg+CPLtAPletu6nQ4N0ij7AeW+Sl5Km4j29XcmqZQeFwYjHe1AlKTEgLi/UAONk1O8i8/lupeKMbw==",
- "cpu": [
- "!arm",
- "!arm64",
@@ -657,13 +657,13 @@
- "optional": true,
- "peer": true,
- "dependencies": {
-- "sass": "1.93.2"
+- "sass": "1.93.3"
- }
- },
- "node_modules/sass-embedded-android-arm": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-android-arm/-/sass-embedded-android-arm-1.93.2.tgz",
-- "integrity": "sha512-I8bpO8meZNo5FvFx5FIiE7DGPVOYft0WjuwcCCdeJ6duwfkl6tZdatex1GrSigvTsuz9L0m4ngDcX/Tj/8yMow==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-android-arm/-/sass-embedded-android-arm-1.93.3.tgz",
+- "integrity": "sha512-8xOw9bywfOD6Wv24BgCmgjkk6tMrsOTTHcb28KDxeJtFtoxiUyMbxo0vChpPAfp2Hyg2tFFKS60s0s4JYk+Raw==",
- "cpu": [
- "arm"
- ],
@@ -679,9 +679,9 @@
- }
- },
- "node_modules/sass-embedded-android-arm64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.93.2.tgz",
-- "integrity": "sha512-346f4iVGAPGcNP6V6IOOFkN5qnArAoXNTPr5eA/rmNpeGwomdb7kJyQ717r9rbJXxOG8OAAUado6J0qLsjnjXQ==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.93.3.tgz",
+- "integrity": "sha512-uqUl3Kt1IqdGVAcAdbmC+NwuUJy8tM+2ZnB7/zrt6WxWVShVCRdFnWR9LT8HJr7eJN7AU8kSXxaVX/gedanPsg==",
- "cpu": [
- "arm64"
- ],
@@ -697,9 +697,9 @@
- }
- },
- "node_modules/sass-embedded-android-riscv64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.93.2.tgz",
-- "integrity": "sha512-hSMW1s4yJf5guT9mrdkumluqrwh7BjbZ4MbBW9tmi1DRDdlw1Wh9Oy1HnnmOG8x9XcI1qkojtPL6LUuEJmsiDg==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.93.3.tgz",
+- "integrity": "sha512-2jNJDmo+3qLocjWqYbXiBDnfgwrUeZgZFHJIwAefU7Fn66Ot7rsXl+XPwlokaCbTpj7eMFIqsRAZ/uDueXNCJg==",
- "cpu": [
- "riscv64"
- ],
@@ -715,9 +715,9 @@
- }
- },
- "node_modules/sass-embedded-android-x64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-android-x64/-/sass-embedded-android-x64-1.93.2.tgz",
-- "integrity": "sha512-JqktiHZduvn+ldGBosE40ALgQ//tGCVNAObgcQ6UIZznEJbsHegqStqhRo8UW3x2cgOO2XYJcrInH6cc7wdKbw==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-android-x64/-/sass-embedded-android-x64-1.93.3.tgz",
+- "integrity": "sha512-y0RoAU6ZenQFcjM9PjQd3cRqRTjqwSbtWLL/p68y2oFyh0QGN0+LQ826fc0ZvU/AbqCsAizkqjzOn6cRZJxTTQ==",
- "cpu": [
- "x64"
- ],
@@ -733,9 +733,9 @@
- }
- },
- "node_modules/sass-embedded-darwin-arm64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.93.2.tgz",
-- "integrity": "sha512-qI1X16qKNeBJp+M/5BNW7v/JHCDYWr1/mdoJ7+UMHmP0b5AVudIZtimtK0hnjrLnBECURifd6IkulybR+h+4UA==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.93.3.tgz",
+- "integrity": "sha512-7zb/hpdMOdKteK17BOyyypemglVURd1Hdz6QGsggy60aUFfptTLQftLRg8r/xh1RbQAUKWFbYTNaM47J9yPxYg==",
- "cpu": [
- "arm64"
- ],
@@ -751,9 +751,9 @@
- }
- },
- "node_modules/sass-embedded-darwin-x64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.93.2.tgz",
-- "integrity": "sha512-4KeAvlkQ0m0enKUnDGQJZwpovYw99iiMb8CTZRSsQm8Eh7halbJZVmx67f4heFY/zISgVOCcxNg19GrM5NTwtA==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.93.3.tgz",
+- "integrity": "sha512-Ek1Vp8ZDQEe327Lz0b7h3hjvWH3u9XjJiQzveq74RPpJQ2q6d9LfWpjiRRohM4qK6o4XOHw1X10OMWPXJtdtWg==",
- "cpu": [
- "x64"
- ],
@@ -769,9 +769,9 @@
- }
- },
- "node_modules/sass-embedded-linux-arm": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.93.2.tgz",
-- "integrity": "sha512-N3+D/ToHtzwLDO+lSH05Wo6/KRxFBPnbjVHASOlHzqJnK+g5cqex7IFAp6ozzlRStySk61Rp6d+YGrqZ6/P0PA==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.93.3.tgz",
+- "integrity": "sha512-yeiv2y+dp8B4wNpd3+JsHYD0mvpXSfov7IGyQ1tMIR40qv+ROkRqYiqQvAOXf76Qwh4Y9OaYZtLpnsPjfeq6mA==",
- "cpu": [
- "arm"
- ],
@@ -787,9 +787,9 @@
- }
- },
- "node_modules/sass-embedded-linux-arm64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.93.2.tgz",
-- "integrity": "sha512-9ftX6nd5CsShJqJ2WRg+ptaYvUW+spqZfJ88FbcKQBNFQm6L87luj3UI1rB6cP5EWrLwHA754OKxRJyzWiaN6g==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.93.3.tgz",
+- "integrity": "sha512-RBrHWgfd8Dd8w4fbmdRVXRrhh8oBAPyeWDTKAWw8ZEmuXfVl4ytjDuyxaVilh6rR1xTRTNpbaA/YWApBlLrrNw==",
- "cpu": [
- "arm64"
- ],
@@ -805,9 +805,9 @@
- }
- },
- "node_modules/sass-embedded-linux-musl-arm": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.93.2.tgz",
-- "integrity": "sha512-XBTvx66yRenvEsp3VaJCb3HQSyqCsUh7R+pbxcN5TuzueybZi0LXvn9zneksdXcmjACMlMpIVXi6LyHPQkYc8A==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.93.3.tgz",
+- "integrity": "sha512-fU0fwAwbp7sBE3h5DVU5UPzvaLg7a4yONfFWkkcCp6ZrOiPuGRHXXYriWQ0TUnWy4wE+svsVuWhwWgvlb/tkKg==",
- "cpu": [
- "arm"
- ],
@@ -823,9 +823,9 @@
- }
- },
- "node_modules/sass-embedded-linux-musl-arm64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.93.2.tgz",
-- "integrity": "sha512-+3EHuDPkMiAX5kytsjEC1bKZCawB9J6pm2eBIzzLMPWbf5xdx++vO1DpT7hD4bm4ZGn0eVHgSOKIfP6CVz6tVg==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.93.3.tgz",
+- "integrity": "sha512-PS829l+eUng+9W4PFclXGb4uA2+965NHV3/Sa5U7qTywjeeUUYTZg70dJHSqvhrBEfCc2XJABeW3adLJbyQYkw==",
- "cpu": [
- "arm64"
- ],
@@ -841,9 +841,9 @@
- }
- },
- "node_modules/sass-embedded-linux-musl-riscv64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.93.2.tgz",
-- "integrity": "sha512-0sB5kmVZDKTYzmCSlTUnjh6mzOhzmQiW/NNI5g8JS4JiHw2sDNTvt1dsFTuqFkUHyEOY3ESTsfHHBQV8Ip4bEA==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.93.3.tgz",
+- "integrity": "sha512-cK1oBY+FWQquaIGEeQ5H74KTO8cWsSWwXb/WaildOO9U6wmUypTgUYKQ0o5o/29nZbWWlM1PHuwVYTSnT23Jjg==",
- "cpu": [
- "riscv64"
- ],
@@ -859,9 +859,9 @@
- }
- },
- "node_modules/sass-embedded-linux-musl-x64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.93.2.tgz",
-- "integrity": "sha512-t3ejQ+1LEVuHy7JHBI2tWHhoMfhedUNDjGJR2FKaLgrtJntGnyD1RyX0xb3nuqL/UXiEAtmTmZY+Uh3SLUe1Hg==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.93.3.tgz",
+- "integrity": "sha512-A7wkrsHu2/I4Zpa0NMuPGkWDVV7QGGytxGyUq3opSXgAexHo/vBPlGoDXoRlSdex0cV+aTMRPjoGIfdmNlHwyg==",
- "cpu": [
- "x64"
- ],
@@ -877,9 +877,9 @@
- }
- },
- "node_modules/sass-embedded-linux-riscv64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.93.2.tgz",
-- "integrity": "sha512-e7AndEwAbFtXaLy6on4BfNGTr3wtGZQmypUgYpSNVcYDO+CWxatKVY4cxbehMPhxG9g5ru+eaMfynvhZt7fLaA==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.93.3.tgz",
+- "integrity": "sha512-vWkW1+HTF5qcaHa6hO80gx/QfB6GGjJUP0xLbnAoY4pwEnw5ulGv6RM8qYr8IDhWfVt/KH+lhJ2ZFxnJareisQ==",
- "cpu": [
- "riscv64"
- ],
@@ -895,9 +895,9 @@
- }
- },
- "node_modules/sass-embedded-linux-x64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.93.2.tgz",
-- "integrity": "sha512-U3EIUZQL11DU0xDDHXexd4PYPHQaSQa2hzc4EzmhHqrAj+TyfYO94htjWOd+DdTPtSwmLp+9cTWwPZBODzC96w==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.93.3.tgz",
+- "integrity": "sha512-k6uFxs+e5jSuk1Y0niCwuq42F9ZC5UEP7P+RIOurIm8w/5QFa0+YqeW+BPWEW5M1FqVOsNZH3qGn4ahqvAEjPA==",
- "cpu": [
- "x64"
- ],
@@ -913,9 +913,9 @@
- }
- },
- "node_modules/sass-embedded-unknown-all": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-unknown-all/-/sass-embedded-unknown-all-1.93.2.tgz",
-- "integrity": "sha512-7VnaOmyewcXohiuoFagJ3SK5ddP9yXpU0rzz+pZQmS1/+5O6vzyFCUoEt3HDRaLctH4GT3nUGoK1jg0ae62IfQ==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-unknown-all/-/sass-embedded-unknown-all-1.93.3.tgz",
+- "integrity": "sha512-o5wj2rLpXH0C+GJKt/VpWp6AnMsCCbfFmnMAttcrsa+U3yrs/guhZ3x55KAqqUsE8F47e3frbsDL+1OuQM5DAA==",
- "dev": true,
- "license": "MIT",
- "optional": true,
@@ -927,13 +927,13 @@
- ],
- "peer": true,
- "dependencies": {
-- "sass": "1.93.2"
+- "sass": "1.93.3"
- }
- },
- "node_modules/sass-embedded-win32-arm64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.93.2.tgz",
-- "integrity": "sha512-Y90DZDbQvtv4Bt0GTXKlcT9pn4pz8AObEjFF8eyul+/boXwyptPZ/A1EyziAeNaIEIfxyy87z78PUgCeGHsx3Q==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.93.3.tgz",
+- "integrity": "sha512-0dOfT9moy9YmBolodwYYXtLwNr4jL4HQC9rBfv6mVrD7ud8ue2kDbn+GVzj1hEJxvEexVSmDCf7MHUTLcGs9xQ==",
- "cpu": [
- "arm64"
- ],
@@ -949,9 +949,9 @@
- }
- },
- "node_modules/sass-embedded-win32-x64": {
-- "version": "1.93.2",
-- "resolved": "https://registry.npmjs.org/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.93.2.tgz",
-- "integrity": "sha512-BbSucRP6PVRZGIwlEBkp+6VQl2GWdkWFMN+9EuOTPrLxCJZoq+yhzmbjspd3PeM8+7WJ7AdFu/uRYdO8tor1iQ==",
+- "version": "1.93.3",
+- "resolved": "https://registry.npmjs.org/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.93.3.tgz",
+- "integrity": "sha512-wHFVfxiS9hU/sNk7KReD+lJWRp3R0SLQEX4zfOnRP2zlvI2X4IQR5aZr9GNcuMP6TmNpX0nQPZTegS8+h9RrEg==",
- "cpu": [
- "x64"
- ],
@@ -984,9 +984,9 @@
- }
- },
"node_modules/semver": {
- "version": "7.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
-@@ -4361,31 +3471,6 @@
+ "version": "7.7.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
+@@ -4337,31 +3447,6 @@
"ramda-adjunct": "^5.1.0"
}
},
@@ -1018,7 +1018,7 @@
"node_modules/timezones-list": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/timezones-list/-/timezones-list-3.1.0.tgz",
-@@ -4470,14 +3555,6 @@
+@@ -4446,14 +3531,6 @@
"integrity": "sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==",
"license": "Apache-2.0"
},
@@ -1033,7 +1033,7 @@
"node_modules/type-check": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
-@@ -4523,14 +3600,6 @@
+@@ -4499,14 +3576,6 @@
"dev": true,
"license": "MIT"
},
@@ -1046,9 +1046,9 @@
- "peer": true
- },
"node_modules/vue": {
- "version": "3.5.22",
- "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.22.tgz",
-@@ -4559,31 +3628,6 @@
+ "version": "3.5.24",
+ "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.24.tgz",
+@@ -4535,31 +3604,6 @@
"license": "MIT",
"peerDependencies": {
"vue": "^3"
diff --git a/mail/mailslurper/Makefile b/mail/mailslurper/Makefile
index b6c486480bf9..9ed7167cf3a5 100644
--- a/mail/mailslurper/Makefile
+++ b/mail/mailslurper/Makefile
@@ -1,7 +1,7 @@
PORTNAME= mailslurper
DISTVERSIONPREFIX= release-
DISTVERSION= 1.15.0
-PORTREVISION= 3
+PORTREVISION= 6
CATEGORIES= mail
MAINTAINER= einar@isnic.is
diff --git a/mail/mew-devel/Makefile b/mail/mew-devel/Makefile
index 62d1ebb4390e..e46b057eb36b 100644
--- a/mail/mew-devel/Makefile
+++ b/mail/mew-devel/Makefile
@@ -1,7 +1,7 @@
PORTNAME= mew
DISTVERSIONPREFIX= v
-DISTVERSION= 6.10-27
-DISTVERSIONSUFFIX= -g595ba2e
+DISTVERSION= 6.10-46
+DISTVERSIONSUFFIX= -g8b710a0
CATEGORIES= mail elisp
PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX}
diff --git a/mail/mew-devel/distinfo b/mail/mew-devel/distinfo
index 0906c0fc5e4e..7211d99c8817 100644
--- a/mail/mew-devel/distinfo
+++ b/mail/mew-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759323945
-SHA256 (kazu-yamamoto-Mew-v6.10-27-g595ba2e_GH0.tar.gz) = ac826412aa242dc8120229391549bc95a1985beea521644f28646d1be5be2846
-SIZE (kazu-yamamoto-Mew-v6.10-27-g595ba2e_GH0.tar.gz) = 1021877
+TIMESTAMP = 1761523817
+SHA256 (kazu-yamamoto-Mew-v6.10-46-g8b710a0_GH0.tar.gz) = b20a637b5f2808093e43cf69b86f7cc0aabfeff2171e228e8f514bbf132add31
+SIZE (kazu-yamamoto-Mew-v6.10-46-g8b710a0_GH0.tar.gz) = 1022010
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 85ceb645669f..f88ef950d2eb 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -1,5 +1,5 @@
PORTNAME= msmtp
-PORTVERSION= 1.8.31
+PORTVERSION= 1.8.32
CATEGORIES= mail
MASTER_SITES= https://marlam.de/msmtp/releases/
diff --git a/mail/msmtp/distinfo b/mail/msmtp/distinfo
index aae37628e473..fce1ba8fec57 100644
--- a/mail/msmtp/distinfo
+++ b/mail/msmtp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757225396
-SHA256 (msmtp-1.8.31.tar.xz) = c262b11762d8582a3c6d6ca8d8b2cca2b1605497324ca27cc57fdc145a27119f
-SIZE (msmtp-1.8.31.tar.xz) = 455820
+TIMESTAMP = 1760543755
+SHA256 (msmtp-1.8.32.tar.xz) = 20cd58b58dd007acf7b937fa1a1e21f3afb3e9ef5bbcfb8b4f5650deadc64db4
+SIZE (msmtp-1.8.32.tar.xz) = 456960
diff --git a/mail/mu/Makefile b/mail/mu/Makefile
index ac6aecbee224..8005d3e08766 100644
--- a/mail/mu/Makefile
+++ b/mail/mu/Makefile
@@ -1,10 +1,12 @@
PORTNAME= mu
-PORTVERSION= 1.8.13
-PORTREVISION= 4
-DISTVERSIONPREFIX= v
+DISTVERSION= 1.12.13
CATEGORIES= mail
+MASTER_SITES= https://github.com/djcb/${PORTNAME}/releases/download/v${DISTVERSION}/
-MAINTAINER= hrs@FreeBSD.org
+PATCH_SITES= https://github.com/djcb/mu/commit/
+PATCHFILES= 0a4fabbf446d15b538600dfe7d879cad70ce941e.patch:-p1
+
+MAINTAINER= rwn@mailo.com
COMMENT= Mail searching frontend for Xapian
WWW= https://www.djcbsoftware.nl/code/mu/
@@ -12,36 +14,30 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxapian.so:databases/xapian-core \
- libgmime-3.0.so:mail/gmime30 \
- libgc-threaded.so:devel/boehm-gc-threaded \
- libjson-glib-1.0.so:devel/json-glib
-
-USES= autoreconf compiler:c++14-lang gettext-runtime gmake gnome \
- libtool makeinfo pkgconfig
-USE_GITHUB= yes
-GH_ACCOUNT= djcb
-USE_GNOME= glib20
+ libfmt.so:devel/libfmt \
+ libgmime-3.0.so:mail/gmime30
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS= --disable-mu4e
-INSTALL_TARGET= install-strip
+USES= compiler:c++17-lang gnome meson pkgconfig python:build \
+ readline shebangfix tar:xz
+SHEBANG_FILES= build-aux/date.py
+USE_GNOME= glib20
-OPTIONS_DEFINE= DOCS GUILE
-OPTIONS_DEFAULT= DOCS GUILE
+OPTIONS_DEFINE= CLD2 DOCS GUILE MANPAGES MU4E
+OPTIONS_DEFAULT= MANPAGES MU4E
OPTIONS_SUB= yes
+CLD2_DESC= Install CL2 support
+GUILE_DESC= Install guile support
+MU4E_DESC= Install mu4e e-mail client for emacs
+
+CLD2_LIB_DEPENDS= libcld2.so:devel/cld2
+CLD2_MESON_ENABLED= cld2
+
GUILE_USES= guile:3.0
-GUILE_USE= ldconfig=yes
-GUILE_CONFIGURE_ENABLE= guile
-GUILE_INFO= mu-guile
+GUILE_MESON_ENABLED= guile
-post-install:
- cd ${FILESDIR} && ${INSTALL_SCRIPT} mu-ask \
- ${STAGEDIR}${PREFIX}/bin
+MANPAGES_BUILD_DEPENDS= emacs:editors/emacs@nox
-post-install-GUILE-on:
- ${FIND} ${STAGEDIR}${PREFIX}/lib -name "*.so.*" -type f | \
- ${XARGS} ${STRIP_CMD}
+MU4E_RUN_DEPENDS= emacs:editors/emacs
.include <bsd.port.mk>
diff --git a/mail/mu/distinfo b/mail/mu/distinfo
index 2ce3ca9bf865..06bf7dc8d329 100644
--- a/mail/mu/distinfo
+++ b/mail/mu/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1672749076
-SHA256 (djcb-mu-v1.8.13_GH0.tar.gz) = bb95143f6b153637c3d2551b81d82a04fea0227aa470df863abfa4e2b6474e7e
-SIZE (djcb-mu-v1.8.13_GH0.tar.gz) = 734397
+TIMESTAMP = 1761521692
+SHA256 (mu-1.12.13.tar.xz) = 7908078c5cc90afc7c038d4372b33b404f7fddfe466a27994413dc06f993a445
+SIZE (mu-1.12.13.tar.xz) = 775148
+SHA256 (0a4fabbf446d15b538600dfe7d879cad70ce941e.patch) = 24b385afcc508550e6edb745c03d320c2de37905128b15da348455814b2a7327
+SIZE (0a4fabbf446d15b538600dfe7d879cad70ce941e.patch) = 931
diff --git a/mail/mu/files/mu-ask b/mail/mu/files/mu-ask
deleted file mode 100644
index 708d2b177851..000000000000
--- a/mail/mu/files/mu-ask
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-read -p "Query: " query
-exec mu find "$@" $query
diff --git a/mail/mu/files/patch-configure.ac b/mail/mu/files/patch-configure.ac
deleted file mode 100644
index 19771e805d8c..000000000000
--- a/mail/mu/files/patch-configure.ac
+++ /dev/null
@@ -1,18 +0,0 @@
---- configure.ac.orig 2022-12-06 08:23:41 UTC
-+++ configure.ac
-@@ -134,13 +134,13 @@ PKG_PROG_PKG_CONFIG(0.28) # latest version in buildroo
- m4_ifndef([PKG_PROG_PKG_CONFIG],
- [m4_fatal([please install pkg-config >= 0.28 before running autoconf/autogen])])
- PKG_PROG_PKG_CONFIG(0.28) # latest version in buildroot
--AS_IF([test -z "$PKG_CONFIG"],
-+AS_IF([test -z "$PKG_CONFIG"],[
- AC_MSG_ERROR([
- *** pkg-config with version >= 0.28 could not be found.
- ***
- *** Make sure it is in your path, or set the PKG_CONFIG environment variable
- *** to the full path to pkg-config.])
--)
-+])
-
- # glib2?
- PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.58 gobject-2.0 gio-2.0)
diff --git a/mail/mu/files/patch-lib_utils_mu-lang-detector.cc b/mail/mu/files/patch-lib_utils_mu-lang-detector.cc
new file mode 100644
index 000000000000..9c4664d23af9
--- /dev/null
+++ b/mail/mu/files/patch-lib_utils_mu-lang-detector.cc
@@ -0,0 +1,13 @@
+--- lib/utils/mu-lang-detector.cc.orig 2025-09-29 18:02:55 UTC
++++ lib/utils/mu-lang-detector.cc
+@@ -25,8 +25,8 @@ Option<Language> Mu::detect_language(const std::string
+ // Dummy implementation
+ Option<Language> Mu::detect_language(const std::string& txt) { return Nothing; }
+ #else
+-#include <cld2/public/compact_lang_det.h>
+-#include <cld2/public/encodings.h>
++#include <cld/public/compact_lang_det.h>
++#include <cld/public/encodings.h>
+
+ Option<Language>
+ Mu::detect_language(const std::string& txt)
diff --git a/mail/mu/pkg-descr b/mail/mu/pkg-descr
index 0720c6a41268..c53ca570b63e 100644
--- a/mail/mu/pkg-descr
+++ b/mail/mu/pkg-descr
@@ -1,4 +1,9 @@
-mu is a tool for dealing with e-mail messages stored in the
-Maildir-format, on Unix-like systems. mu's main purpose is to help you
-to find the messages you need, quickly; in addition, it allows you to
-view messages, extract attachments, create new maildirs, ...
+mu is a set of command-line tools for dealing with e-mail messages
+stored in the Maildir-format. mu's goal is to help you to quickly find
+the messages you need, view them, extract attachments, create new
+maildirs, and so on.
+
+Built on top of mu are some extensions (included in this package):
+
+- mu4e: a full-featured e-mail client that runs inside emacs
+- mu-scm: bindings for the Guile/Scheme programming language
diff --git a/mail/mu/pkg-plist b/mail/mu/pkg-plist
index 42480f689446..c1de3dc2ec5c 100644
--- a/mail/mu/pkg-plist
+++ b/mail/mu/pkg-plist
@@ -1,36 +1,102 @@
bin/mu
-bin/mu-ask
-%%GUILE%%lib/libguile-mu.so
-%%GUILE%%lib/libguile-mu.so.0
-%%GUILE%%lib/libguile-mu.so.0.0.0
+%%MANPAGES%%share/man/man1/mu-add.1.gz
+%%MANPAGES%%share/man/man1/mu-cfind.1.gz
+%%MANPAGES%%share/man/man1/mu-extract.1.gz
+%%MANPAGES%%share/man/man1/mu-find.1.gz
+%%MANPAGES%%share/man/man1/mu-help.1.gz
+%%MANPAGES%%share/man/man1/mu-index.1.gz
+%%MANPAGES%%share/man/man1/mu-info.1.gz
+%%MANPAGES%%share/man/man1/mu-init.1.gz
+%%MANPAGES%%share/man/man1/mu-labels.1.gz
+%%MANPAGES%%share/man/man1/mu-mkdir.1.gz
+%%MANPAGES%%share/man/man1/mu-move.1.gz
+%%MANPAGES%%share/man/man1/mu-remove.1.gz
+%%MANPAGES%%share/man/man1/mu-scm.1.gz
+%%MANPAGES%%share/man/man1/mu-server.1.gz
+%%MANPAGES%%share/man/man1/mu-verify.1.gz
+%%MANPAGES%%share/man/man1/mu-view.1.gz
+%%MANPAGES%%share/man/man1/mu.1.gz
+%%MANPAGES%%share/man/man5/mu-bookmarks.5.gz
+%%MANPAGES%%share/man/man7/mu-easy.7.gz
+%%MANPAGES%%share/man/man7/mu-query.7.gz
+%%PORTDOCS%%%%DOCSDIR%%/IDEAS.org
%%PORTDOCS%%%%DOCSDIR%%/NEWS.org
-%%GUILE%%share/guile/site/3.0/mu.scm
-%%GUILE%%share/guile/site/3.0/mu/plot.scm
-%%GUILE%%share/guile/site/3.0/mu/script.scm
-%%GUILE%%share/guile/site/3.0/mu/stats.scm
-share/man/man1/mu-add.1.gz
-share/man/man1/mu-cfind.1.gz
-share/man/man1/mu-easy.1.gz
-share/man/man1/mu-extract.1.gz
-share/man/man1/mu-fields.1.gz
-share/man/man1/mu-find.1.gz
-share/man/man1/mu-help.1.gz
-share/man/man1/mu-index.1.gz
-share/man/man1/mu-info.1.gz
-share/man/man1/mu-init.1.gz
-share/man/man1/mu-mkdir.1.gz
-share/man/man1/mu-remove.1.gz
-share/man/man1/mu-script.1.gz
-share/man/man1/mu-server.1.gz
-share/man/man1/mu-verify.1.gz
-share/man/man1/mu-view.1.gz
-share/man/man1/mu.1.gz
-share/man/man5/mu-bookmarks.5.gz
-share/man/man7/mu-query.7.gz
+%%PORTDOCS%%%%DOCSDIR%%/mu4e-about.org
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-actions.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-actions.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-autoloads.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-bookmarks.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-bookmarks.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-compose.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-compose.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-config.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-contacts.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-contacts.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-context.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-context.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-contrib.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-contrib.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-draft.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-draft.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-folders.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-folders.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-headers.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-headers.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-helpers.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-helpers.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-icalendar.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-icalendar.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-labels.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-labels.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-lists.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-lists.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-main.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-main.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-mark.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-mark.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-message.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-message.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-mime-parts.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-mime-parts.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-modeline.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-modeline.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-notification.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-notification.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-obsolete.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-obsolete.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-org.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-org.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-pkg.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-query-items.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-query-items.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-search.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-search.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-server.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-server.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-speedbar.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-speedbar.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-thread.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-thread.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-transient.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-transient.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-update.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-update.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-vars.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-vars.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-view.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-view.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-window.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e-window.elc
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e.el
+%%MU4E%%share/emacs/site-lisp/mu4e/mu4e.elc
+%%GUILE%%lib/guile/%%GUILE_VER%%/extensions/libguile-mu.so
+%%GUILE%%%%GUILE_SITE%%/mu.scm
+%%GUILE%%%%GUILE_SITE%%/mu/message.scm
+%%GUILE%%%%GUILE_SITE%%/mu/plot.scm
+%%GUILE%%%%GUILE_SITE%%/mu/script.scm
+%%GUILE%%%%GUILE_SITE%%/mu/stats.scm
+%%GUILE%%%%DATADIR%%/scm/mu-scm-repl.scm
+%%GUILE%%%%DATADIR%%/scm/mu-scm.scm
%%GUILE%%%%DATADIR%%/scripts/find-dups.scm
+%%GUILE%%%%DATADIR%%/scripts/histogram.scm
%%GUILE%%%%DATADIR%%/scripts/msgs-count.scm
-%%GUILE%%%%DATADIR%%/scripts/msgs-per-day.scm
-%%GUILE%%%%DATADIR%%/scripts/msgs-per-hour.scm
-%%GUILE%%%%DATADIR%%/scripts/msgs-per-month.scm
-%%GUILE%%%%DATADIR%%/scripts/msgs-per-year.scm
-%%GUILE%%%%DATADIR%%/scripts/msgs-per-year-month.scm
diff --git a/mail/mu4e-maildirs/Makefile b/mail/mu4e-maildirs/Makefile
index 2ada2cee5391..e6d45dd48ba8 100644
--- a/mail/mu4e-maildirs/Makefile
+++ b/mail/mu4e-maildirs/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mu4e-maildirs
PORTVERSION= 0.8.20201028
-PORTREVISION= 18
+PORTREVISION= 19
CATEGORIES= mail
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
@@ -10,10 +10,14 @@ WWW= https://github.com/agpchil/mu4e-maildirs-extension
LICENSE= GPLv3
+DEPRECATED= Upstream discourages using this software and recommends feature now integrated into mail/mu
+EXPIRATION_DATE= 2025-11-30
+BROKEN= does not build with recent version of mail/mu: Cannot open load file: No such file or directory, mu4e-config
+
BUILD_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>0:devel/dash.el@${EMACS_FLAVOR} \
- mu4e${EMACS_PKGNAMESUFFIX}>0:mail/mu4e@${EMACS_FLAVOR}
+ mu>0:mail/mu
RUN_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>0:devel/dash.el@${EMACS_FLAVOR} \
- mu4e${EMACS_PKGNAMESUFFIX}>0:mail/mu4e@${EMACS_FLAVOR}
+ mu>0:mail/mu
USES= emacs
USE_GITHUB= yes
diff --git a/mail/mu4e/Makefile b/mail/mu4e/Makefile
deleted file mode 100644
index 5ba88a110e77..000000000000
--- a/mail/mu4e/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-PORTNAME= mu4e
-PORTVERSION= 1.8.13
-PORTREVISION= 12
-DISTVERSIONPREFIX= v
-CATEGORIES= mail
-PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
-
-MAINTAINER= hrs@FreeBSD.org
-COMMENT= Emacs frontend for Mu
-WWW= https://www.djcbsoftware.nl/code/mu/
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-RUN_DEPENDS= mu:mail/mu
-
-USES= autoreconf emacs makeinfo pkgconfig
-USE_GITHUB= yes
-GH_PROJECT= mu
-GH_ACCOUNT= djcb
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-guile \
- --disable-readline \
- --docdir="${DOCSDIR}" \
- --enable-mu4e
-INFO= ${PORTNAME}
-BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
-INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}
-INSTALL_TARGET= install-strip
-
-MAKE_JOBS_UNSAFE= yes
-
-OPTIONS_DEFINE= DOCS
-OPTIONS_SUB= yes
-
-post-extract:
- ${INSTALL_DATA} ${WRKSRC}/mu4e/obsolete/org-mu4e.el \
- ${WRKSRC}/mu4e/org-mu4e.el
-
-post-configure:
- ${REINPLACE_CMD} -e '/.el.elc/,/^$$/d' ${BUILD_WRKSRC}/Makefile && \
- ${ECHO_CMD} '.include "${FILESDIR}/byte-compile.mk"' \
- >> ${BUILD_WRKSRC}/Makefile
-
-post-install:
- cd ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/mu4e && \
- ${GZIP_CMD} *.el
-
-.include <bsd.port.mk>
diff --git a/mail/mu4e/distinfo b/mail/mu4e/distinfo
deleted file mode 100644
index d673f70428d6..000000000000
--- a/mail/mu4e/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1672775272
-SHA256 (djcb-mu-v1.8.13_GH0.tar.gz) = bb95143f6b153637c3d2551b81d82a04fea0227aa470df863abfa4e2b6474e7e
-SIZE (djcb-mu-v1.8.13_GH0.tar.gz) = 734397
diff --git a/mail/mu4e/files/byte-compile.mk b/mail/mu4e/files/byte-compile.mk
deleted file mode 100644
index 134dc98e9f46..000000000000
--- a/mail/mu4e/files/byte-compile.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-.el.elc:
- if test '$(EMACS)' != no; then \
- am__dir=. am__subdir_includes=''; \
- case $@ in */*) \
- am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \
- am__subdir_includes="-L $$am__dir -L $(srcdir)/$$am__dir"; \
- esac; \
- test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
- $(EMACS) --batch \
- $(AM_ELCFLAGS) $(ELCFLAGS) \
- $$am__subdir_includes -L $(builddir) -L $(srcdir) \
- --eval '(setq byte-compile-dest-file-function (lambda (_) "/tmp/$@"))' \
- -f batch-byte-compile '$<'; \
- if [ -f "/tmp/$@" ]; then \
- cp /tmp/$@ $@ && rm -f /tmp/$@; \
- fi; \
- else :; fi
diff --git a/mail/mu4e/files/patch-configure.ac b/mail/mu4e/files/patch-configure.ac
deleted file mode 100644
index 55d9363fc128..000000000000
--- a/mail/mu4e/files/patch-configure.ac
+++ /dev/null
@@ -1,133 +0,0 @@
---- configure.ac.orig 2022-12-06 08:23:41 UTC
-+++ configure.ac
-@@ -34,11 +34,11 @@ AC_SUBST(prefix)
-
- # AC_PROG_CXX *before* AC_PROG_CC, otherwise configure won't error out
- # when a c++ compiler is not found. Weird, huh?
--AC_PROG_CXX
--AC_PROG_CC
--AC_PROG_CPP
-+#AC_PROG_CXX
-+#AC_PROG_CC
-+#AC_PROG_CPP
- AC_PROG_INSTALL
--AC_CHECK_INCLUDES_DEFAULT
-+#AC_CHECK_INCLUDES_DEFAULT
- AC_PROG_EGREP
-
-
-@@ -49,22 +49,22 @@ extra_flags="-Wformat-security \
- -Wno-bad-function-cast \
- -Wno-switch-enum"
-
--AX_CXX_COMPILE_STDCXX_17
--AX_COMPILER_FLAGS_CXXFLAGS([],[],[${extra_cflags}])
--AX_APPEND_COMPILE_FLAGS([-Wno-inline],[CXXFLAGS])
--AX_VALGRIND_CHECK
-+#AX_CXX_COMPILE_STDCXX_17
-+#AX_COMPILER_FLAGS_CXXFLAGS([],[],[${extra_cflags}])
-+#AX_APPEND_COMPILE_FLAGS([-Wno-inline],[CXXFLAGS])
-+#AX_VALGRIND_CHECK
-
--LT_INIT
-+#LT_INIT
-
- AX_CODE_COVERAGE
-
- AC_PROG_AWK
- AC_CHECK_PROG(SORT,sort,sort)
-
--AC_CHECK_HEADERS([wordexp.h])
-+#AC_CHECK_HEADERS([wordexp.h])
-
- # use the 64-bit versions
--AC_SYS_LARGEFILE
-+#AC_SYS_LARGEFILE
-
- # asan is somewhat similar to valgrind, but has low enough overhead so it
- # can be used during normal operation.
-@@ -134,52 +134,22 @@ PKG_PROG_PKG_CONFIG(0.28) # latest version in buildroo
- m4_ifndef([PKG_PROG_PKG_CONFIG],
- [m4_fatal([please install pkg-config >= 0.28 before running autoconf/autogen])])
- PKG_PROG_PKG_CONFIG(0.28) # latest version in buildroot
--AS_IF([test -z "$PKG_CONFIG"],
-+AS_IF([test -z "$PKG_CONFIG"],[
- AC_MSG_ERROR([
- *** pkg-config with version >= 0.28 could not be found.
- ***
- *** Make sure it is in your path, or set the PKG_CONFIG environment variable
- *** to the full path to pkg-config.])
--)
-+])
-
- # glib2?
--PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.58 gobject-2.0 gio-2.0)
--glib_version="$($PKG_CONFIG --modversion glib-2.0)"
-+# PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.58 gobject-2.0 gio-2.0)
-+# glib_version="$($PKG_CONFIG --modversion glib-2.0)"
-
- # gmime, version 3.0 or higher
--PKG_CHECK_MODULES(GMIME,gmime-3.0)
--gmime_version="$($PKG_CONFIG --modversion gmime-3.0)"
-+# PKG_CHECK_MODULES(GMIME,gmime-3.0)
-+# gmime_version="$($PKG_CONFIG --modversion gmime-3.0)"
-
--# xapian checking - we need 1.4 at least
--PKG_CHECK_MODULES(XAPIAN,xapian-core >= 1.4,[
-- have_xapian=yes
-- xapian_version=$($PKG_CONFIG xapian-core --modversion)
-- AC_SUBST(XAPIAN_CXXFLAGS,${XAPIAN_CFLAGS})
--],[
-- # fall back to the xapian-config script. Not sure if there are cases where the
-- # pkgconfig does not work, but xapian-config does, so keep this for now.
-- AC_MSG_NOTICE([falling back to xapian-config])
-- AC_CHECK_PROG(XAPIAN_CONFIG,xapian-config,xapian-config,no)
-- AS_IF([test "x$XAPIAN_CONFIG" = "xno"],[
-- AC_MSG_ERROR([
-- *** xapian could not be found; please install it
-- *** e.g., in debian/ubuntu the package would be 'libxapian-dev'
-- *** If you compiled it yourself, you should ensure that xapian-config
-- *** is in your PATH.])],
-- [xapian_version=$($XAPIAN_CONFIG --version | sed -e 's/.* //')])
--
-- AS_CASE([$xapian_version],
-- [1.[[4-9]].[[0-9]]*],
-- [AC_MSG_NOTICE([xapian $xapian_version found.])],
-- [AC_MSG_ERROR([*** xapian version >= 1.4 needed, but version $xapian_version found.])])
--
-- XAPIAN_CXXFLAGS="$($XAPIAN_CONFIG --cxxflags)"
-- XAPIAN_LIBS="$($XAPIAN_CONFIG --libs)"
-- have_xapian="yes"
--
-- AC_SUBST(XAPIAN_CXXFLAGS)
-- AC_SUBST(XAPIAN_LIBS)
--])
- ###############################################################################
- # we set the set the version of the MuStore (Xapian database) layout
- # here; it will become part of the db name, so we can automatically
-@@ -247,24 +217,10 @@ Makefile
-
- AC_CONFIG_FILES([
- Makefile
--mu/Makefile
--lib/Makefile
--lib/doxyfile
--lib/thirdparty/Makefile
--lib/utils/Makefile
--lib/message/Makefile
--lib/index/Makefile
- mu4e/Makefile
- mu4e/mu4e-config.el
--guile/Makefile
--guile/mu/Makefile
--guile/examples/Makefile
--guile/scripts/Makefile
--man/Makefile
--m4/Makefile
--contrib/Makefile
- ])
--AC_CONFIG_FILES([mu/mu-memcheck], [chmod +x mu/mu-memcheck])
-+# AC_CONFIG_FILES([mu/mu-memcheck], [chmod +x mu/mu-memcheck])
-
- AC_OUTPUT
-
diff --git a/mail/mu4e/files/patch-mu4e_Makefile.am b/mail/mu4e/files/patch-mu4e_Makefile.am
deleted file mode 100644
index caae4391af09..000000000000
--- a/mail/mu4e/files/patch-mu4e_Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- mu4e/Makefile.am.orig 2021-08-21 13:27:15 UTC
-+++ mu4e/Makefile.am
-@@ -44,7 +44,7 @@ dist_lisp_LISP= \
- mu4e-view-gnus.el \
- mu4e-view-old.el \
- mu4e.el \
-- obsolete/org-mu4e.el
-+ org-mu4e.el
-
-
- EXTRA_DIST= \
diff --git a/mail/mu4e/pkg-descr b/mail/mu4e/pkg-descr
deleted file mode 100644
index d96ff2835bc5..000000000000
--- a/mail/mu4e/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-mu4e is an Emacs frontend for mu, a tool for dealing with e-mail
-messages stored in the Maildir-format, on Unix-like systems.
diff --git a/mail/mu4e/pkg-plist b/mail/mu4e/pkg-plist
deleted file mode 100644
index e4e363322331..000000000000
--- a/mail/mu4e/pkg-plist
+++ /dev/null
@@ -1,51 +0,0 @@
-%%PORTDOCS%%%%DOCSDIR%%/mu4e-about.org
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-actions.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-actions.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-bookmarks.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-bookmarks.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-compose.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-compose.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-config.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-config.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-contacts.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-contacts.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-context.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-context.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-contrib.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-contrib.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-draft.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-draft.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-folders.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-folders.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-headers.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-headers.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-helpers.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-helpers.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-icalendar.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-icalendar.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-lists.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-lists.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-main.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-main.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-mark.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-mark.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-message.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-message.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-org.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-org.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-search.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-search.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-server.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-server.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-speedbar.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-speedbar.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-update.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-update.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-vars.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-vars.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-view.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e-view.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/mu4e.elc
-%%EMACS_SITE_LISPDIR%%/mu4e/org-mu4e.el.gz
-%%EMACS_SITE_LISPDIR%%/mu4e/org-mu4e.elc
diff --git a/mail/nextcloud-mail/Makefile b/mail/nextcloud-mail/Makefile
index a33251999240..e7228c0b8e45 100644
--- a/mail/nextcloud-mail/Makefile
+++ b/mail/nextcloud-mail/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mail
-PORTVERSION= 5.5.6
+PORTVERSION= 5.5.14
DISTVERSIONPREFIX= v
CATEGORIES= mail
diff --git a/mail/nextcloud-mail/distinfo b/mail/nextcloud-mail/distinfo
index e127c29c33dd..e464315ceffd 100644
--- a/mail/nextcloud-mail/distinfo
+++ b/mail/nextcloud-mail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759139711
-SHA256 (nextcloud/mail-v5.5.6.tar.gz) = eeab958388cd4edd51fab1fafc3de50d538bfa2fa2f81400198834cf990b6a91
-SIZE (nextcloud/mail-v5.5.6.tar.gz) = 29045153
+TIMESTAMP = 1762932348
+SHA256 (nextcloud/mail-v5.5.14.tar.gz) = 23fd6f41f5901cba29f5e706172602e9e53bf643d08666deb3eaae859af5c2e4
+SIZE (nextcloud/mail-v5.5.14.tar.gz) = 29263588
diff --git a/mail/opensmtpd-filter-rspamd/Makefile b/mail/opensmtpd-filter-rspamd/Makefile
index 68813bbeb041..a4630076f593 100644
--- a/mail/opensmtpd-filter-rspamd/Makefile
+++ b/mail/opensmtpd-filter-rspamd/Makefile
@@ -1,7 +1,7 @@
PORTNAME= opensmtpd-filter-rspamd
PORTVERSION= 0.1.8
DISTVERSIONPREFIX= v
-PORTREVISION= 16
+PORTREVISION= 19
CATEGORIES= mail
MAINTAINER= manu@FreeBSD.Org
diff --git a/mail/opensmtpd-filter-senderscore/Makefile b/mail/opensmtpd-filter-senderscore/Makefile
index be6dba77d71e..7d55e0b0ad22 100644
--- a/mail/opensmtpd-filter-senderscore/Makefile
+++ b/mail/opensmtpd-filter-senderscore/Makefile
@@ -1,6 +1,6 @@
PORTNAME= opensmtpd-filter-senderscore
PORTVERSION= 0.1.2
-PORTREVISION= 29
+PORTREVISION= 32
CATEGORIES= mail
MAINTAINER= manu@FreeBSD.Org
diff --git a/mail/pantomime/Makefile b/mail/pantomime/Makefile
index 7fa6d998db63..2d91f5783ae1 100644
--- a/mail/pantomime/Makefile
+++ b/mail/pantomime/Makefile
@@ -1,31 +1,27 @@
PORTNAME= pantomime
DISTVERSION= 1.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail gnustep
MASTER_SITES= SAVANNAH/gnustep-nonfsf/
DISTNAME= Pantomime-${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mew14930xvi@inbox.lv
COMMENT= Mail/MIME handling library for GNUstep
-WWW= http://www.collaboration-world.com/cgi-bin/project/index.cgi?pid=3
+WWW= https://www.nongnu.org/gnustep-nonfsf/gnumail/
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/Documentation/LICENSE
USES= gnustep iconv ssl
-# The use of libiconv shouldn't be necessary, but a build dependency installs
-# it and we end up picking up the header.
-USE_GNUSTEP= back build
-USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
-
-MAKE_ARGS+= LIBRARIES_DEPEND_UPON='${ICONV_LIB} -lssl'
-
+USE_GNUSTEP= back build
DEFAULT_LIBVERSION= ${DISTVERSION:R}
-.include <bsd.port.pre.mk>
+USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
+
+MAKE_ARGS+= LIBRARIES_DEPEND_UPON='-lssl'
-.if ${OPSYS} == FreeBSD
-CFLAGS+= -Wno-error=int-conversion
-.endif
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Frameworks/Pantomime.framework/Versions/${DISTVERSION:R}/libPantomime.so.${DISTVERSION}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/pantomime/pkg-descr b/mail/pantomime/pkg-descr
index 13e3f55972fc..e2a1822d8406 100644
--- a/mail/pantomime/pkg-descr
+++ b/mail/pantomime/pkg-descr
@@ -1,3 +1,5 @@
Mail/MIME handling library for GNUstep.
-
-LICENSE: LGPL2 or later
+The Pantomime framework supports the major mail protocols: POP3, IMAP,
+and SMTP.
+Pantomime provides a set of Objective-C classes that model a mail
+system.
diff --git a/mail/pecl-mailparse/Makefile b/mail/pecl-mailparse/Makefile
index 609dc326ecfa..8ade581a6b90 100644
--- a/mail/pecl-mailparse/Makefile
+++ b/mail/pecl-mailparse/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mailparse
-DISTVERSION= 3.1.8
+DISTVERSION= 3.1.9
CATEGORIES= mail www
MAINTAINER= dbaio@FreeBSD.org
@@ -12,14 +12,4 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:pecl
USE_PHP= mbstring:build
-.include <bsd.port.pre.mk>
-
-post-patch:
-.if ${PHP_VER} >= 85
- @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string|Zend/zend_smart_string|' \
- ${WRKSRC}/php_mailparse_mime.h \
- ${WRKSRC}/php_mailparse_rfc822.c \
- ${WRKSRC}/php_mailparse_rfc822.re
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/pecl-mailparse/distinfo b/mail/pecl-mailparse/distinfo
index 64174437048a..d2a80a740924 100644
--- a/mail/pecl-mailparse/distinfo
+++ b/mail/pecl-mailparse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1732794055
-SHA256 (PECL/mailparse-3.1.8.tgz) = 59beab4ef851770c495ba7a0726ab40e098135469a11d9c8e665b089c96efc2f
-SIZE (PECL/mailparse-3.1.8.tgz) = 945958
+TIMESTAMP = 1761263252
+SHA256 (PECL/mailparse-3.1.9.tgz) = ecb3d3c9dc9f7ce034182d478b724ac3cb02098efc69a39c03534f0b1920922b
+SIZE (PECL/mailparse-3.1.9.tgz) = 947138
diff --git a/mail/phpmailer6/Makefile b/mail/phpmailer6/Makefile
index 46dad542056f..bc5abfc75d2b 100644
--- a/mail/phpmailer6/Makefile
+++ b/mail/phpmailer6/Makefile
@@ -1,5 +1,5 @@
PORTNAME= phpmailer
-PORTVERSION= 6.9.1
+PORTVERSION= 6.12.0
DISTVERSIONPREFIX= v
CATEGORIES= mail
PKGNAMESUFFIX= 6
diff --git a/mail/phpmailer6/distinfo b/mail/phpmailer6/distinfo
index edb1660a8113..5da1581e2f0b 100644
--- a/mail/phpmailer6/distinfo
+++ b/mail/phpmailer6/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707156357
-SHA256 (PHPMailer-PHPMailer-v6.9.1_GH0.tar.gz) = 54f28f9aad8f3352eb8e6f249052d56f1688758ee57c4c1d84a741f751cd2a86
-SIZE (PHPMailer-PHPMailer-v6.9.1_GH0.tar.gz) = 109263
+TIMESTAMP = 1762788253
+SHA256 (PHPMailer-PHPMailer-v6.12.0_GH0.tar.gz) = 98d870b51f4a286a6c6cf149ffe2edf58b4a1dc46c85daf371d95085ba3bf36a
+SIZE (PHPMailer-PHPMailer-v6.12.0_GH0.tar.gz) = 115265
diff --git a/mail/phpmailer6/pkg-plist b/mail/phpmailer6/pkg-plist
index 27bd0d656bad..7dd953c3c6b2 100644
--- a/mail/phpmailer6/pkg-plist
+++ b/mail/phpmailer6/pkg-plist
@@ -33,6 +33,7 @@
%%DATADIR%%/language/phpmailer.lang-ja.php
%%DATADIR%%/language/phpmailer.lang-ka.php
%%DATADIR%%/language/phpmailer.lang-ko.php
+%%DATADIR%%/language/phpmailer.lang-ku.php
%%DATADIR%%/language/phpmailer.lang-lt.php
%%DATADIR%%/language/phpmailer.lang-lv.php
%%DATADIR%%/language/phpmailer.lang-mg.php
@@ -54,6 +55,7 @@
%%DATADIR%%/language/phpmailer.lang-tl.php
%%DATADIR%%/language/phpmailer.lang-tr.php
%%DATADIR%%/language/phpmailer.lang-uk.php
+%%DATADIR%%/language/phpmailer.lang-ur.php
%%DATADIR%%/language/phpmailer.lang-vi.php
%%DATADIR%%/language/phpmailer.lang-zh.php
%%DATADIR%%/language/phpmailer.lang-zh_cn.php
diff --git a/mail/phpmailer7/Makefile b/mail/phpmailer7/Makefile
new file mode 100644
index 000000000000..460053892673
--- /dev/null
+++ b/mail/phpmailer7/Makefile
@@ -0,0 +1,43 @@
+PORTNAME= phpmailer
+PORTVERSION= 7.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= mail
+PKGNAMESUFFIX= 7
+
+MAINTAINER= joneum@FreeBSD.org
+COMMENT= Full Featured Email Transfer Class for PHP
+WWW= https://github.com/PHPMailer/PHPMailer
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cpe php
+
+CONFLICTS_INSTALL= phpmailer
+
+PORTSCOUT= limit:^7\.
+
+CPE_VENDOR= phpmailer_project
+
+USE_GITHUB= yes
+GH_ACCOUNT= PHPMailer
+GH_PROJECT= PHPMailer
+
+NO_BUILD= yes
+NO_ARCH= yes
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+.for f in Exception.php PHPMailer.php POP3.php SMTP.php
+ ${INSTALL_DATA} ${WRKSRC}/src/$f ${STAGEDIR}${DATADIR}
+.endfor
+
+post-install-NLS-on:
+ @${MKDIR} ${STAGEDIR}${DATADIR}/language
+ ${INSTALL_DATA} ${WRKSRC}/language/* ${STAGEDIR}${DATADIR}/language
+
+.include <bsd.port.mk>
diff --git a/mail/phpmailer7/distinfo b/mail/phpmailer7/distinfo
new file mode 100644
index 000000000000..cfd0098f6a5c
--- /dev/null
+++ b/mail/phpmailer7/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1762788749
+SHA256 (PHPMailer-PHPMailer-v7.0.0_GH0.tar.gz) = a40f813626b770ae77e0028e2ec88d57f523c656977bf3ff92589b539d8a1602
+SIZE (PHPMailer-PHPMailer-v7.0.0_GH0.tar.gz) = 117133
diff --git a/mail/phpmailer7/files/pkg-message.in b/mail/phpmailer7/files/pkg-message.in
new file mode 100644
index 000000000000..3725f4d49abb
--- /dev/null
+++ b/mail/phpmailer7/files/pkg-message.in
@@ -0,0 +1,12 @@
+[
+{ type: install
+ message: <<EOM
+You need to adjust php's include_path to contain `%%DATADIR%%'!
+For example, insert
+
+ include_path = ".:%%DATADIR%%"
+
+into `%%LOCALBASE%%/etc/php.ini'.
+EOM
+}
+]
diff --git a/mail/phpmailer7/pkg-descr b/mail/phpmailer7/pkg-descr
new file mode 100644
index 000000000000..099989623275
--- /dev/null
+++ b/mail/phpmailer7/pkg-descr
@@ -0,0 +1,4 @@
+PHP email transport class featuring multiple file attachments, SMTP
+servers, CCs, BCCs, HTML messages, and word wrap, and more. It can
+send email via sendmail, PHP mail(), or with SMTP. Methods are based
+on the popular AspEmail active server component.
diff --git a/mail/phpmailer7/pkg-plist b/mail/phpmailer7/pkg-plist
new file mode 100644
index 000000000000..7dd953c3c6b2
--- /dev/null
+++ b/mail/phpmailer7/pkg-plist
@@ -0,0 +1,61 @@
+%%DATADIR%%/Exception.php
+%%DATADIR%%/PHPMailer.php
+%%DATADIR%%/POP3.php
+%%DATADIR%%/SMTP.php
+%%DATADIR%%/language/phpmailer.lang-af.php
+%%DATADIR%%/language/phpmailer.lang-ar.php
+%%DATADIR%%/language/phpmailer.lang-as.php
+%%DATADIR%%/language/phpmailer.lang-az.php
+%%DATADIR%%/language/phpmailer.lang-ba.php
+%%DATADIR%%/language/phpmailer.lang-be.php
+%%DATADIR%%/language/phpmailer.lang-bg.php
+%%DATADIR%%/language/phpmailer.lang-bn.php
+%%DATADIR%%/language/phpmailer.lang-ca.php
+%%DATADIR%%/language/phpmailer.lang-cs.php
+%%DATADIR%%/language/phpmailer.lang-da.php
+%%DATADIR%%/language/phpmailer.lang-de.php
+%%DATADIR%%/language/phpmailer.lang-el.php
+%%DATADIR%%/language/phpmailer.lang-eo.php
+%%DATADIR%%/language/phpmailer.lang-es.php
+%%DATADIR%%/language/phpmailer.lang-et.php
+%%DATADIR%%/language/phpmailer.lang-fa.php
+%%DATADIR%%/language/phpmailer.lang-fi.php
+%%DATADIR%%/language/phpmailer.lang-fo.php
+%%DATADIR%%/language/phpmailer.lang-fr.php
+%%DATADIR%%/language/phpmailer.lang-gl.php
+%%DATADIR%%/language/phpmailer.lang-he.php
+%%DATADIR%%/language/phpmailer.lang-hi.php
+%%DATADIR%%/language/phpmailer.lang-hr.php
+%%DATADIR%%/language/phpmailer.lang-hu.php
+%%DATADIR%%/language/phpmailer.lang-hy.php
+%%DATADIR%%/language/phpmailer.lang-id.php
+%%DATADIR%%/language/phpmailer.lang-it.php
+%%DATADIR%%/language/phpmailer.lang-ja.php
+%%DATADIR%%/language/phpmailer.lang-ka.php
+%%DATADIR%%/language/phpmailer.lang-ko.php
+%%DATADIR%%/language/phpmailer.lang-ku.php
+%%DATADIR%%/language/phpmailer.lang-lt.php
+%%DATADIR%%/language/phpmailer.lang-lv.php
+%%DATADIR%%/language/phpmailer.lang-mg.php
+%%DATADIR%%/language/phpmailer.lang-mn.php
+%%DATADIR%%/language/phpmailer.lang-ms.php
+%%DATADIR%%/language/phpmailer.lang-nb.php
+%%DATADIR%%/language/phpmailer.lang-nl.php
+%%DATADIR%%/language/phpmailer.lang-pl.php
+%%DATADIR%%/language/phpmailer.lang-pt.php
+%%DATADIR%%/language/phpmailer.lang-pt_br.php
+%%DATADIR%%/language/phpmailer.lang-ro.php
+%%DATADIR%%/language/phpmailer.lang-ru.php
+%%DATADIR%%/language/phpmailer.lang-si.php
+%%DATADIR%%/language/phpmailer.lang-sk.php
+%%DATADIR%%/language/phpmailer.lang-sl.php
+%%DATADIR%%/language/phpmailer.lang-sr.php
+%%DATADIR%%/language/phpmailer.lang-sr_latn.php
+%%DATADIR%%/language/phpmailer.lang-sv.php
+%%DATADIR%%/language/phpmailer.lang-tl.php
+%%DATADIR%%/language/phpmailer.lang-tr.php
+%%DATADIR%%/language/phpmailer.lang-uk.php
+%%DATADIR%%/language/phpmailer.lang-ur.php
+%%DATADIR%%/language/phpmailer.lang-vi.php
+%%DATADIR%%/language/phpmailer.lang-zh.php
+%%DATADIR%%/language/phpmailer.lang-zh_cn.php
diff --git a/mail/pizauth/Makefile b/mail/pizauth/Makefile
index 09c33b495f70..a9be820414d8 100644
--- a/mail/pizauth/Makefile
+++ b/mail/pizauth/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pizauth
DISTVERSION= 1.0.7
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MAINTAINER= nivit@FreeBSD.org
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 86e745b3b4dc..ce6c44d03e7d 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -1,5 +1,5 @@
PORTNAME= postfix
-DISTVERSION= 3.11-20250928
+DISTVERSION= 3.11-20251030
PORTREVISION?= 0
PORTEPOCH= 6
CATEGORIES= mail
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
index 692c27318e30..60b031365dcb 100644
--- a/mail/postfix-current/distinfo
+++ b/mail/postfix-current/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759477012
-SHA256 (postfix/postfix-3.11-20250928.tar.gz) = 22e2ef531e31455eec5c9c532d0697b2752b78f23c85a4623af93b4593a2da38
-SIZE (postfix/postfix-3.11-20250928.tar.gz) = 5083596
+TIMESTAMP = 1761854497
+SHA256 (postfix/postfix-3.11-20251030.tar.gz) = a19478e6683173f129a2815881cf0568fcf640bfd9abc97cf668e93a98299577
+SIZE (postfix/postfix-3.11-20251030.tar.gz) = 5090494
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 2c3f6ed8e996..e6f6d32f2787 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,5 +1,5 @@
PORTNAME= postfix
-DISTVERSION= 3.10.4
+DISTVERSION= 3.10.5
PORTREVISION?= 0
PORTEPOCH= 1
CATEGORIES= mail
diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo
index 412279367876..81edd411bc4c 100644
--- a/mail/postfix/distinfo
+++ b/mail/postfix/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755703493
-SHA256 (postfix/postfix-3.10.4.tar.gz) = cfb66861fe8f964787ddaeab15f3ca3e7ef3de730f97171afc4a5eca338ca444
-SIZE (postfix/postfix-3.10.4.tar.gz) = 5050100
+TIMESTAMP = 1761853525
+SHA256 (postfix/postfix-3.10.5.tar.gz) = 6a926bf702173861b08e49bcb51fca3a2f269f9a337f72ef159bf46052087e35
+SIZE (postfix/postfix-3.10.5.tar.gz) = 5039523
diff --git a/mail/py-afew/Makefile b/mail/py-afew/Makefile
index 67b7a2bb84a3..3bc246d34842 100644
--- a/mail/py-afew/Makefile
+++ b/mail/py-afew/Makefile
@@ -5,7 +5,7 @@ CATEGORIES= mail python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= dbaio@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Initial tagging script for Notmuch mail
WWW= https://github.com/afewmail/afew
diff --git a/mail/py-checkdmarc/Makefile b/mail/py-checkdmarc/Makefile
index bea992b3380f..f5b8e259d2a1 100644
--- a/mail/py-checkdmarc/Makefile
+++ b/mail/py-checkdmarc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= checkdmarc
-PORTVERSION= 5.10.5
+PORTVERSION= 5.12.25
+PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=2.0.0,1:dns/py-dnspython@${PY_FLA
${PYTHON_PKGNAMEPREFIX}pem>=23.1.0:security/py-pem@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}publicsuffixlist>=0.10.0:dns/py-publicsuffixlist@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyleri>=1.3.2:devel/py-pyleri@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}openssl>=24.2.1,1:security/py-openssl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyopenssl>=24.2.1,1:security/py-pyopenssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}timeout-decorator>=0.4.1:devel/py-timeout-decorator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmltodict>=0.14.2:devel/py-xmltodict@${PY_FLAVOR}
diff --git a/mail/py-checkdmarc/distinfo b/mail/py-checkdmarc/distinfo
index cd364857010d..2bc1c4a9e5fd 100644
--- a/mail/py-checkdmarc/distinfo
+++ b/mail/py-checkdmarc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757436533
-SHA256 (checkdmarc-5.10.5.tar.gz) = f7c1a1d87df2a522e174665c8e662065af39030fcd34364e35b5078ddc75cadc
-SIZE (checkdmarc-5.10.5.tar.gz) = 50206
+TIMESTAMP = 1762586864
+SHA256 (checkdmarc-5.12.25.tar.gz) = bad9bdcf838383598f915dcd6e20162f7c412e912163191074018defd3f11e8d
+SIZE (checkdmarc-5.12.25.tar.gz) = 54441
diff --git a/mail/py-exchangelib/Makefile b/mail/py-exchangelib/Makefile
new file mode 100644
index 000000000000..268afd31fb55
--- /dev/null
+++ b/mail/py-exchangelib/Makefile
@@ -0,0 +1,40 @@
+PORTNAME= exchangelib
+DISTVERSIONPREFIX= v
+DISTVERSION= 5.6.0
+CATEGORIES= mail python
+#MASTER_SITES= PYPI # no tests
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Client for Microsoft Exchange Web Services (EWS)
+WWW= https://github.com/ecederstrand/exchangelib
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>0:devel/py-cached-property@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.6.0:devel/py-defusedxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dnspython>=2.2.0:dns/py-dnspython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}isodate>0:devel/py-isodate@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>3.0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests_ntlm>=0.2.0:www/py-requests_ntlm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>0:www/py-requests-oauthlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tzdata>0:devel/py-tzdata@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+USE_GITHUB= yes
+GH_ACCOUNT= ecederstrand
+
+NO_ARCH= yes
+
+# tests as of 5.6.0: 62 passed, 435 skipped in 8.62s
+
+.include <bsd.port.mk>
diff --git a/mail/py-exchangelib/distinfo b/mail/py-exchangelib/distinfo
new file mode 100644
index 000000000000..458116e1627d
--- /dev/null
+++ b/mail/py-exchangelib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760468833
+SHA256 (ecederstrand-exchangelib-v5.6.0_GH0.tar.gz) = d969b1857bab6318a78cb54a809464cbf8ed2c37e1375200b1fca0f947053d2c
+SIZE (ecederstrand-exchangelib-v5.6.0_GH0.tar.gz) = 3049641
diff --git a/mail/py-exchangelib/files/patch-pyproject.toml b/mail/py-exchangelib/files/patch-pyproject.toml
new file mode 100644
index 000000000000..66b9465d43e5
--- /dev/null
+++ b/mail/py-exchangelib/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig 2024-10-10 01:50:58 UTC
++++ pyproject.toml
+@@ -24,8 +24,7 @@ description = "Client for Microsoft Exchange Web Serv
+ description = "Client for Microsoft Exchange Web Services (EWS)"
+ readme = {file = "README.md", content-type = "text/markdown"}
+ requires-python = ">=3.10"
+-license = "BSD-2-Clause"
+-license-files = ["LICENSE"]
++license = {text = "BSD-2-Clause"}
+ keywords = [
+ "autodiscover",
+ "ews",
diff --git a/mail/py-exchangelib/pkg-descr b/mail/py-exchangelib/pkg-descr
new file mode 100644
index 000000000000..19904c33aa26
--- /dev/null
+++ b/mail/py-exchangelib/pkg-descr
@@ -0,0 +1,13 @@
+Exchangelib is a Python client for Microsoft Exchange Web Services (EWS).
+It allows to access and manage mailbox items such as email, calendar, contacts,
+and tasks.
+
+With exchangelib, you can:
+* Search, create, update, and delete items in your mailbox.
+* Send and receive email messages.
+* Manage calendar events and appointments.
+* Access and modify contacts and distribution lists.
+* Work with tasks and other mailbox items.
+
+Exchangelib is compatible with Exchange Server 2007 and later, as well
+as Office 365.
diff --git a/mail/py-offlineimap3/Makefile b/mail/py-offlineimap3/Makefile
index 8f89e12ca98c..3b2f5da1bba7 100644
--- a/mail/py-offlineimap3/Makefile
+++ b/mail/py-offlineimap3/Makefile
@@ -1,8 +1,6 @@
PORTNAME= offlineimap3
DISTVERSIONPREFIX= v
-DISTVERSION= 8.0.0-70
-PORTREVISION= 1
-DISTVERSIONSUFFIX= -g${GH_TAGNAME}
+DISTVERSION= 8.0.1
CATEGORIES= mail python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,14 +11,10 @@ WWW= https://github.com/OfflineIMAP/offlineimap3
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-# setup.py requires these during build time. Possible move to setup/install_requires:
-# https://github.com/OfflineIMAP/offlineimap3/issues/110
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distro>=0:sysutils/py-distro@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}imaplib2>=3.5:mail/py-imaplib2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}rfc6555>=0:mail/py-rfc6555@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2020.6.20:security/py-certifi@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}distro>=0:sysutils/py-distro@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaplib2>=3.5:mail/py-imaplib2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distro>=0:sysutils/py-distro@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}imaplib2>=3.5:mail/py-imaplib2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keyring>0:security/py-keyring@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rfc6555>=0:mail/py-rfc6555@${PY_FLAVOR} \
@@ -33,9 +27,9 @@ USES= python
# https://github.com/OfflineIMAP/offlineimap3/issues/111
USE_GITHUB= yes
GH_ACCOUNT= OfflineIMAP
-GH_TAGNAME= 93f358dee9d7cf800d11679ee4e9c61abfc0c5f6
USE_PYTHON= autoplist concurrent distutils pytest
+TEST_ARGS= "-k not TestBasicFunctions or test_01_MappedImap"
CONFLICTS_INSTALL= mail/py-offlineimap
@@ -49,7 +43,9 @@ OPTIONS_DEFAULT= KEYRING MANPAGES
KEYRING_DESC= GNOME keyring support
-COMMON_BUILD_DEPENDS= a2x:textproc/asciidoc \
+COMMON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rfc6555>=0:mail/py-rfc6555@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
+ a2x:textproc/asciidoc \
gmake:devel/gmake
DOCS_BUILD_DEPENDS= ${COMMON_BUILD_DEPENDS} \
diff --git a/mail/py-offlineimap3/distinfo b/mail/py-offlineimap3/distinfo
index dc778f115eb7..1b7f4c5ea08f 100644
--- a/mail/py-offlineimap3/distinfo
+++ b/mail/py-offlineimap3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724613974
-SHA256 (OfflineIMAP-offlineimap3-v8.0.0-70-g93f358dee9d7cf800d11679ee4e9c61abfc0c5f6-93f358dee9d7cf800d11679ee4e9c61abfc0c5f6_GH0.tar.gz) = 4bf5ab02923d9b7de186ed5f54e2ec267d4541be47833c079cc7495cfaeeea4e
-SIZE (OfflineIMAP-offlineimap3-v8.0.0-70-g93f358dee9d7cf800d11679ee4e9c61abfc0c5f6-93f358dee9d7cf800d11679ee4e9c61abfc0c5f6_GH0.tar.gz) = 705645
+TIMESTAMP = 1761725040
+SHA256 (OfflineIMAP-offlineimap3-v8.0.1_GH0.tar.gz) = 82ce54136465ea1cce62f4e961e8c155ac3eee2149fa812763629448902d7d69
+SIZE (OfflineIMAP-offlineimap3-v8.0.1_GH0.tar.gz) = 706574
diff --git a/mail/py-offlineimap3/files/patch-test_tests_test__01__basic.py b/mail/py-offlineimap3/files/patch-test_tests_test__01__basic.py
deleted file mode 100644
index 615492c8fe8d..000000000000
--- a/mail/py-offlineimap3/files/patch-test_tests_test__01__basic.py
+++ /dev/null
@@ -1,59 +0,0 @@
---- test/tests/test_01_basic.py.orig 2022-03-04 03:43:46 UTC
-+++ test/tests/test_01_basic.py
-@@ -17,6 +17,8 @@ import unittest
- import logging
- from test.OLItest import OLITestLib
-
-+import pytest
-+
- # Things need to be setup first, usually setup.py initializes everything.
- # but if e.g. called from command line, we take care of default values here:
- if not OLITestLib.cred_file:
-@@ -47,6 +49,7 @@ class TestBasicFunctions(unittest.TestCase):
- def tearDown(self):
- OLITestLib.delete_remote_testfolders()
-
-+ @pytest.mark.skip(reason="skpping test needs remote auth")
- def test_01_olistartup(self):
- """Tests if OLI can be invoked without exceptions
-
-@@ -60,6 +63,7 @@ class TestBasicFunctions(unittest.TestCase):
- "mails, but sync led to {0} folders and {1} mails"
- .format(boxes, mails))
-
-+ @pytest.mark.skip(reason="skpping test needs remote auth")
- def test_02_createdir(self):
- """Create local 'OLItest 1', sync"""
- OLITestLib.delete_maildir('') # Delete all local maildir folders
-@@ -71,6 +75,7 @@ class TestBasicFunctions(unittest.TestCase):
- "mails, but sync led to {0} folders and {1} mails"
- .format(boxes, mails))
-
-+ @pytest.mark.skip(reason="skpping test needs remote auth")
- def test_03_createdir_quote(self):
- """Create local 'OLItest "1"' maildir, sync
-
-@@ -87,6 +92,7 @@ class TestBasicFunctions(unittest.TestCase):
- "mails, but sync led to {0} folders and {1} mails"
- .format(boxes, mails))
-
-+ @pytest.mark.skip(reason="skpping test needs remote auth")
- def test_04_nametransmismatch(self):
- """Create mismatching remote and local nametrans rules
-
-@@ -108,6 +114,7 @@ class TestBasicFunctions(unittest.TestCase):
- # Write out default config file again
- OLITestLib.write_config_file()
-
-+ @pytest.mark.skip(reason="skpping test needs remote auth")
- def test_05_createmail(self):
- """Create mail in OLItest 1, sync, wipe folder sync
-
-@@ -133,6 +140,7 @@ class TestBasicFunctions(unittest.TestCase):
- "assigned the IMAP's UID number, but {0} messages had no valid ID "
- .format(len([None for x in uids if x is None])))
-
-+ @pytest.mark.skip(reason="skpping test needs remote auth")
- def test_06_createfolders(self):
- """Test if createfolders works as expected
-
diff --git a/mail/py-resend/Makefile b/mail/py-resend/Makefile
new file mode 100644
index 000000000000..fae088640d85
--- /dev/null
+++ b/mail/py-resend/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= resend
+DISTVERSION= 2.19.0
+CATEGORIES= mail python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Resend Python SDK
+WWW= https://github.com/resend/resend-python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+BR_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0:devel/py-typing-extensions@${PY_FLAVOR}
+BUILD_DEPENDS= ${BR_DEPENDS}
+RUN_DEPENDS= ${BR_DEPENDS}
+
+USES= python
+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-extract:
+ @${CP} ${FILESDIR}/requirements.txt ${WRKSRC}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/mail/py-resend/distinfo b/mail/py-resend/distinfo
new file mode 100644
index 000000000000..f15bbc26f095
--- /dev/null
+++ b/mail/py-resend/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1761939005
+SHA256 (resend-2.19.0.tar.gz) = b11191561cdb0ed7aa193212b7c8865bf635013c4d11bd81caf471d1b362be02
+SIZE (resend-2.19.0.tar.gz) = 30604
diff --git a/mail/py-resend/files/requirements.txt b/mail/py-resend/files/requirements.txt
new file mode 100644
index 000000000000..935af601a213
--- /dev/null
+++ b/mail/py-resend/files/requirements.txt
@@ -0,0 +1,2 @@
+requests>=2.31.0
+typing_extensions>=4.4.0
diff --git a/mail/py-resend/pkg-descr b/mail/py-resend/pkg-descr
new file mode 100644
index 000000000000..f1206c34f721
--- /dev/null
+++ b/mail/py-resend/pkg-descr
@@ -0,0 +1,4 @@
+Resend is the email API for developers.
+
+The best way to reach humans instead of spam folders. Deliver
+transactional and marketing emails at scale.
diff --git a/mail/roundcube-thunderbird_labels/Makefile b/mail/roundcube-thunderbird_labels/Makefile
index ee0c751b1529..354656d6c278 100644
--- a/mail/roundcube-thunderbird_labels/Makefile
+++ b/mail/roundcube-thunderbird_labels/Makefile
@@ -1,6 +1,6 @@
PORTNAME= thunderbird_labels
DISTVERSIONPREFIX= v
-DISTVERSION= 1.6.1
+DISTVERSION= 1.6.2
CATEGORIES= mail
PKGNAMEPREFIX= roundcube-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
diff --git a/mail/roundcube-thunderbird_labels/distinfo b/mail/roundcube-thunderbird_labels/distinfo
index ce2b75c03e58..61a47d201f6f 100644
--- a/mail/roundcube-thunderbird_labels/distinfo
+++ b/mail/roundcube-thunderbird_labels/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675345895
-SHA256 (mike-kfed-roundcube-thunderbird_labels-v1.6.1_GH0.tar.gz) = db3546a083303bece0deffcc66619dbdced0cab732c9fe87b9ad1f45cedec2e5
-SIZE (mike-kfed-roundcube-thunderbird_labels-v1.6.1_GH0.tar.gz) = 189498
+TIMESTAMP = 1763044828
+SHA256 (mike-kfed-roundcube-thunderbird_labels-v1.6.2_GH0.tar.gz) = 4099f2556a70de9cb1d9fc92fa6c68aeccf3c2127645089b96ca4a772dbb5b53
+SIZE (mike-kfed-roundcube-thunderbird_labels-v1.6.2_GH0.tar.gz) = 191646
diff --git a/mail/roundcube-thunderbird_labels/pkg-plist b/mail/roundcube-thunderbird_labels/pkg-plist
index 60101e2aeddb..7ae98b6d058a 100644
--- a/mail/roundcube-thunderbird_labels/pkg-plist
+++ b/mail/roundcube-thunderbird_labels/pkg-plist
@@ -5,6 +5,7 @@
@sample %%PLUGINDIR_REL%%/config.inc.php.sample
%%PORTDOCS%%%%PLUGINDIR_REL%%/docs/README.md
%%PORTDOCS%%%%PLUGINDIR_REL%%/docs/screenshot.png
+%%PLUGINDIR_REL%%/localization/ar.inc
%%PLUGINDIR_REL%%/localization/bg_BG.inc
%%PLUGINDIR_REL%%/localization/ca_ES.inc
%%PLUGINDIR_REL%%/localization/cs_CZ.inc
@@ -23,6 +24,7 @@
%%PLUGINDIR_REL%%/localization/pt_PT.inc
%%PLUGINDIR_REL%%/localization/ru_RU.inc
%%PLUGINDIR_REL%%/localization/sk_SK.inc
+%%PLUGINDIR_REL%%/localization/sv_SE.inc
%%PLUGINDIR_REL%%/localization/uk_UA.inc
%%PLUGINDIR_REL%%/skins/classic/includes/toolbar.html
%%PLUGINDIR_REL%%/skins/classic/tb_label.css
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 4ae611365f92..2dd46b1b30ea 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -1,5 +1,5 @@
PORTNAME= rspamd
-PORTVERSION= 3.13.1
+PORTVERSION= 3.14.0
CATEGORIES= mail
MAINTAINER= vsevolod@FreeBSD.org
diff --git a/mail/rspamd/distinfo b/mail/rspamd/distinfo
index 631b829197f1..dccc7440247f 100644
--- a/mail/rspamd/distinfo
+++ b/mail/rspamd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759310252
-SHA256 (rspamd-rspamd-3.13.1_GH0.tar.gz) = 85f69e00804b3303f9a6d01225dd6eba89aa28fbffd2b0ffef542d9381d53f47
-SIZE (rspamd-rspamd-3.13.1_GH0.tar.gz) = 6614373
+TIMESTAMP = 1762795167
+SHA256 (rspamd-rspamd-3.14.0_GH0.tar.gz) = 3a396de76c237c96a2afebd433cf6a2e96d261b239ffb55f4103aa36044bf860
+SIZE (rspamd-rspamd-3.14.0_GH0.tar.gz) = 6720727
diff --git a/mail/rspamd/pkg-plist b/mail/rspamd/pkg-plist
index a91c84c40914..83f18ce1a90c 100644
--- a/mail/rspamd/pkg-plist
+++ b/mail/rspamd/pkg-plist
@@ -12,6 +12,7 @@ etc/newsyslog.conf.d/rspamd.newsyslog.conf
%%ETCDIR%%/composites.conf
%%ETCDIR%%/groups.conf
%%ETCDIR%%/lang_detection.inc
+%%ETCDIR%%/local.d/antivirus.conf.example
%%ETCDIR%%/local.d/module.conf.example
%%ETCDIR%%/logging.inc
%%ETCDIR%%/lua.local.d/module.lua.example
@@ -25,6 +26,7 @@ etc/newsyslog.conf.d/rspamd.newsyslog.conf
%%ETCDIR%%/maps.d/surbl-whitelist.inc
%%ETCDIR%%/metrics.conf
%%ETCDIR%%/modules.conf
+%%ETCDIR%%/modules.d/aliases.conf
%%ETCDIR%%/modules.d/antivirus.conf
%%ETCDIR%%/modules.d/arc.conf
%%ETCDIR%%/modules.d/asn.conf
@@ -162,7 +164,10 @@ share/man/man8/rspamd.8.gz
%%DATADIR%%/lualib/fun.lua
%%DATADIR%%/lualib/global_functions.lua
%%DATADIR%%/lualib/llm_common.lua
+%%DATADIR%%/lualib/llm_context.lua
+%%DATADIR%%/lualib/llm_search_context.lua
%%DATADIR%%/lualib/lpegre.lua
+%%DATADIR%%/lualib/lua_aliases.lua
%%DATADIR%%/lualib/lua_auth_results.lua
%%DATADIR%%/lualib/lua_aws.lua
%%DATADIR%%/lualib/lua_bayes_learn.lua
@@ -183,6 +188,7 @@ share/man/man8/rspamd.8.gz
%%DATADIR%%/lualib/lua_ffi/linalg.lua
%%DATADIR%%/lualib/lua_ffi/spf.lua
%%DATADIR%%/lualib/lua_fuzzy.lua
+%%DATADIR%%/lualib/lua_fuzzy_html.lua
%%DATADIR%%/lualib/lua_lexer.lua
%%DATADIR%%/lualib/lua_magic/heuristics.lua
%%DATADIR%%/lualib/lua_magic/init.lua
@@ -204,6 +210,7 @@ share/man/man8/rspamd.8.gz
%%DATADIR%%/lualib/lua_scanners/init.lua
%%DATADIR%%/lualib/lua_scanners/kaspersky_av.lua
%%DATADIR%%/lualib/lua_scanners/kaspersky_se.lua
+%%DATADIR%%/lualib/lua_scanners/metadefender.lua
%%DATADIR%%/lualib/lua_scanners/oletools.lua
%%DATADIR%%/lualib/lua_scanners/p0f.lua
%%DATADIR%%/lualib/lua_scanners/pyzor.lua
@@ -270,6 +277,7 @@ share/man/man8/rspamd.8.gz
%%DATADIR%%/lualib/rspamadm/template.lua
%%DATADIR%%/lualib/rspamadm/vault.lua
%%DATADIR%%/lualib/tableshape.lua
+%%DATADIR%%/plugins/aliases.lua
%%DATADIR%%/plugins/antivirus.lua
%%DATADIR%%/plugins/arc.lua
%%DATADIR%%/plugins/asn.lua
@@ -332,6 +340,7 @@ share/man/man8/rspamd.8.gz
%%DATADIR%%/rules/controller/neural.lua
%%DATADIR%%/rules/controller/selectors.lua
%%DATADIR%%/rules/forwarding.lua
+%%DATADIR%%/rules/fuzzy_html_phishing.lua
%%DATADIR%%/rules/headers_checks.lua
%%DATADIR%%/rules/html.lua
%%DATADIR%%/rules/mid.lua
@@ -347,12 +356,11 @@ share/man/man8/rspamd.8.gz
%%DATADIR%%/www/README.md
%%DATADIR%%/www/apple-touch-icon.png
%%DATADIR%%/www/browserconfig.xml
-%%DATADIR%%/www/css/FooTable.Glyphicons.css
+%%DATADIR%%/www/css/FooTable.FontAwesome.css
%%DATADIR%%/www/css/bootstrap.min.css
%%DATADIR%%/www/css/codejar-linenumbers.css
%%DATADIR%%/www/css/d3evolution.css
%%DATADIR%%/www/css/d3pie.css
-%%DATADIR%%/www/css/font-glyphicons.css
%%DATADIR%%/www/css/footable.standalone.min.css
%%DATADIR%%/www/css/nprogress.css
%%DATADIR%%/www/css/prism.css
@@ -361,16 +369,15 @@ share/man/man8/rspamd.8.gz
%%DATADIR%%/www/favicon-16x16.png
%%DATADIR%%/www/favicon-32x32.png
%%DATADIR%%/www/favicon.ico
-%%DATADIR%%/www/fonts/glyphicons-halflings-regular.ttf
-%%DATADIR%%/www/fonts/glyphicons-halflings-regular.woff
-%%DATADIR%%/www/fonts/glyphicons-halflings-regular.woff2
%%DATADIR%%/www/img/asc.png
%%DATADIR%%/www/img/desc.png
%%DATADIR%%/www/img/drop-area.svg
%%DATADIR%%/www/img/rspamd_logo_navbar.png
+%%DATADIR%%/www/img/rspamd_logo_navbar_dark.png
%%DATADIR%%/www/index.html
%%DATADIR%%/www/js/app/common.js
%%DATADIR%%/www/js/app/config.js
+%%DATADIR%%/www/js/app/footable-fontawesome.js
%%DATADIR%%/www/js/app/graph.js
%%DATADIR%%/www/js/app/history.js
%%DATADIR%%/www/js/app/libft.js
diff --git a/mail/rubygem-actionmailbox80/Makefile b/mail/rubygem-actionmailbox80/Makefile
index cde414f6371f..e68f9ada84fc 100644
--- a/mail/rubygem-actionmailbox80/Makefile
+++ b/mail/rubygem-actionmailbox80/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actionmailbox
-PORTVERSION= 8.0.2.1
+PORTVERSION= 8.0.4
CATEGORIES= mail rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 80
diff --git a/mail/rubygem-actionmailbox80/distinfo b/mail/rubygem-actionmailbox80/distinfo
index a1ddd9c5a2db..d95d282903a4 100644
--- a/mail/rubygem-actionmailbox80/distinfo
+++ b/mail/rubygem-actionmailbox80/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757122012
-SHA256 (rubygem/actionmailbox-8.0.2.1.gem) = 8ea8c6e31e448961c06fc1d6282775b32aff1c009f232d4564e07e54850a6cad
-SIZE (rubygem/actionmailbox-8.0.2.1.gem) = 22016
+TIMESTAMP = 1762587508
+SHA256 (rubygem/actionmailbox-8.0.4.gem) = ed0b634a502fb63d1ba01ae025772e9d0261b7ba12e66389c736fcf4635cd80f
+SIZE (rubygem/actionmailbox-8.0.4.gem) = 22016
diff --git a/mail/rubygem-actionmailer80/Makefile b/mail/rubygem-actionmailer80/Makefile
index a5fd3baa0713..fa8a0b2004b0 100644
--- a/mail/rubygem-actionmailer80/Makefile
+++ b/mail/rubygem-actionmailer80/Makefile
@@ -1,5 +1,5 @@
PORTNAME= actionmailer
-PORTVERSION= 8.0.2.1
+PORTVERSION= 8.0.4
CATEGORIES= mail rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 80
diff --git a/mail/rubygem-actionmailer80/distinfo b/mail/rubygem-actionmailer80/distinfo
index 6cc3163e6087..91144e4f6cfc 100644
--- a/mail/rubygem-actionmailer80/distinfo
+++ b/mail/rubygem-actionmailer80/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757122014
-SHA256 (rubygem/actionmailer-8.0.2.1.gem) = 0de14d8d04541eab130858cb2f0697266be42de1afe1104bc43d7998137ddb9c
-SIZE (rubygem/actionmailer-8.0.2.1.gem) = 32256
+TIMESTAMP = 1762587510
+SHA256 (rubygem/actionmailer-8.0.4.gem) = 3b9270d8e19f0afb534b11c52f439937dc30028adcbbae2b244f3383ce75de4b
+SIZE (rubygem/actionmailer-8.0.4.gem) = 32256
diff --git a/mail/rubygem-gitlab-mail_room/Makefile b/mail/rubygem-gitlab-mail_room/Makefile
index 03f95cd1e342..009cdaf82117 100644
--- a/mail/rubygem-gitlab-mail_room/Makefile
+++ b/mail/rubygem-gitlab-mail_room/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gitlab-mail_room
PORTVERSION= 0.0.27
+PORTREVISION= 1
CATEGORIES= mail rubygems
MASTER_SITES= RG
@@ -13,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-jwt>=2.0:www/rubygem-jwt \
rubygem-net-imap>=0.2.1:mail/rubygem-net-imap \
rubygem-oauth2-gitlab>=1.4.4<3:net/rubygem-oauth2-gitlab \
- rubygem-redis>=5<6:databases/rubygem-redis \
- rubygem-redis-namespace110>=1.8.2:databases/rubygem-redis-namespace110
+ rubygem-redis-gitlab>=5<6:databases/rubygem-redis-gitlab \
+ rubygem-redis-namespace-gitlab>=1.8.2:databases/rubygem-redis-namespace-gitlab
USES= gem
diff --git a/mail/rubygem-net-imap/Makefile b/mail/rubygem-net-imap/Makefile
index 152c22ca3b8f..26701e4e2501 100644
--- a/mail/rubygem-net-imap/Makefile
+++ b/mail/rubygem-net-imap/Makefile
@@ -1,5 +1,5 @@
PORTNAME= net-imap
-PORTVERSION= 0.5.10
+PORTVERSION= 0.5.12
CATEGORIES= mail rubygems
MASTER_SITES= RG
diff --git a/mail/rubygem-net-imap/distinfo b/mail/rubygem-net-imap/distinfo
index b3a5071ea3eb..d0604f1fd397 100644
--- a/mail/rubygem-net-imap/distinfo
+++ b/mail/rubygem-net-imap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757121824
-SHA256 (rubygem/net-imap-0.5.10.gem) = f84d206a296bff48a3a10507567fc38b050d2a40c92ea0d448164f64e60d6205
-SIZE (rubygem/net-imap-0.5.10.gem) = 179712
+TIMESTAMP = 1759774897
+SHA256 (rubygem/net-imap-0.5.12.gem) = cb8cd05bd353fcc19b6cbc530a9cb06b577a969ea10b7ddb0f37787f74be4444
+SIZE (rubygem/net-imap-0.5.12.gem) = 180224
diff --git a/mail/rubygem-roadie-rails-rails52/Makefile b/mail/rubygem-roadie-rails-rails52/Makefile
index 5276c2b2d3f9..a48e4a4f0f5f 100644
--- a/mail/rubygem-roadie-rails-rails52/Makefile
+++ b/mail/rubygem-roadie-rails-rails52/Makefile
@@ -1,5 +1,5 @@
PORTNAME= roadie-rails
-PORTVERSION= 3.3.0
+PORTVERSION= 3.4.0
CATEGORIES= mail rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails52
@@ -11,7 +11,7 @@ WWW= https://github.com/Mange/roadie-rails
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= rubygem-railties52>=5.1<8.1:www/rubygem-railties52 \
+RUN_DEPENDS= rubygem-railties52>=5.1<8.2:www/rubygem-railties52 \
rubygem-roadie>=5.0<6:mail/rubygem-roadie
USES= gem shebangfix
diff --git a/mail/rubygem-roadie-rails-rails52/distinfo b/mail/rubygem-roadie-rails-rails52/distinfo
index 4307f52a12c0..cfe1cd6a5ae0 100644
--- a/mail/rubygem-roadie-rails-rails52/distinfo
+++ b/mail/rubygem-roadie-rails-rails52/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745936392
-SHA256 (rubygem/roadie-rails-3.3.0.gem) = 4080f67a635962fb3df77ed42b2992ff41ee6502b60b5f4609a9fb9eb06c0a5e
-SIZE (rubygem/roadie-rails-3.3.0.gem) = 17408
+TIMESTAMP = 1762587434
+SHA256 (rubygem/roadie-rails-3.4.0.gem) = f7b02bd3b74051eaa51ebb636049c4c9fc54cf2a68234eafc5a5fb78ad1f9aa9
+SIZE (rubygem/roadie-rails-3.4.0.gem) = 17920
diff --git a/mail/rubygem-roadie-rails-rails61/Makefile b/mail/rubygem-roadie-rails-rails61/Makefile
index f798133f9e30..9e5a14c43b2f 100644
--- a/mail/rubygem-roadie-rails-rails61/Makefile
+++ b/mail/rubygem-roadie-rails-rails61/Makefile
@@ -1,5 +1,5 @@
PORTNAME= roadie-rails
-PORTVERSION= 3.3.0
+PORTVERSION= 3.4.0
CATEGORIES= mail rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails61
@@ -11,7 +11,7 @@ WWW= https://github.com/Mange/roadie-rails
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= rubygem-railties61>=5.1<8.1:www/rubygem-railties61 \
+RUN_DEPENDS= rubygem-railties61>=5.1<8.2:www/rubygem-railties61 \
rubygem-roadie>=5.0<6:mail/rubygem-roadie
USES= gem shebangfix
diff --git a/mail/rubygem-roadie-rails-rails61/distinfo b/mail/rubygem-roadie-rails-rails61/distinfo
index 9192ca2322f4..cfe1cd6a5ae0 100644
--- a/mail/rubygem-roadie-rails-rails61/distinfo
+++ b/mail/rubygem-roadie-rails-rails61/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745936394
-SHA256 (rubygem/roadie-rails-3.3.0.gem) = 4080f67a635962fb3df77ed42b2992ff41ee6502b60b5f4609a9fb9eb06c0a5e
-SIZE (rubygem/roadie-rails-3.3.0.gem) = 17408
+TIMESTAMP = 1762587434
+SHA256 (rubygem/roadie-rails-3.4.0.gem) = f7b02bd3b74051eaa51ebb636049c4c9fc54cf2a68234eafc5a5fb78ad1f9aa9
+SIZE (rubygem/roadie-rails-3.4.0.gem) = 17920
diff --git a/mail/rubygem-roadie-rails-rails72/Makefile b/mail/rubygem-roadie-rails-rails72/Makefile
index 2627c5b3b35d..54fb5bc86387 100644
--- a/mail/rubygem-roadie-rails-rails72/Makefile
+++ b/mail/rubygem-roadie-rails-rails72/Makefile
@@ -1,5 +1,5 @@
PORTNAME= roadie-rails
-PORTVERSION= 3.3.0
+PORTVERSION= 3.4.0
CATEGORIES= mail rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails72
@@ -11,7 +11,7 @@ WWW= https://github.com/Mange/roadie-rails
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= rubygem-railties72>=5.1<8.1:www/rubygem-railties72 \
+RUN_DEPENDS= rubygem-railties72>=5.1<8.2:www/rubygem-railties72 \
rubygem-roadie>=5.0<6:mail/rubygem-roadie
USES= gem shebangfix
diff --git a/mail/rubygem-roadie-rails-rails72/distinfo b/mail/rubygem-roadie-rails-rails72/distinfo
index b3452f80a75f..cfe1cd6a5ae0 100644
--- a/mail/rubygem-roadie-rails-rails72/distinfo
+++ b/mail/rubygem-roadie-rails-rails72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738534630
-SHA256 (rubygem/roadie-rails-3.3.0.gem) = 4080f67a635962fb3df77ed42b2992ff41ee6502b60b5f4609a9fb9eb06c0a5e
-SIZE (rubygem/roadie-rails-3.3.0.gem) = 17408
+TIMESTAMP = 1762587434
+SHA256 (rubygem/roadie-rails-3.4.0.gem) = f7b02bd3b74051eaa51ebb636049c4c9fc54cf2a68234eafc5a5fb78ad1f9aa9
+SIZE (rubygem/roadie-rails-3.4.0.gem) = 17920
diff --git a/mail/sendmail-devel/Makefile b/mail/sendmail-devel/Makefile
index 8fe7d586bbc9..10f2a6e9c4c4 100644
--- a/mail/sendmail-devel/Makefile
+++ b/mail/sendmail-devel/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sendmail
-PORTVERSION= 8.18.1.10
-PORTREVISION= 1
+PORTVERSION= 8.18.1.15
+PORTREVISION= 0
CATEGORIES= mail
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/snapshots/
PKGNAMESUFFIX?= -devel${PKGNAMESUFFIX2}
diff --git a/mail/sendmail-devel/distinfo b/mail/sendmail-devel/distinfo
index 58b4aa4e6209..65d0b40d5eec 100644
--- a/mail/sendmail-devel/distinfo
+++ b/mail/sendmail-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745169764
-SHA256 (sendmail.8.18.1.10.tar.gz) = cecedf5e9595ef4b869ffa8546a587e7eb35da575c1d3f70e9aa1297e7566cdc
-SIZE (sendmail.8.18.1.10.tar.gz) = 2367668
+TIMESTAMP = 1762105184
+SHA256 (sendmail.8.18.1.15.tar.gz) = 5dc6b67adfd04d564b4fe631d666d8237f12291f91b18efcc8b86619fd38f506
+SIZE (sendmail.8.18.1.15.tar.gz) = 2371839
diff --git a/mail/sendmail-devel/files/patch-mail.local.c b/mail/sendmail-devel/files/patch-mail.local.c
index 191f53fb637d..d9aabc7cc080 100644
--- a/mail/sendmail-devel/files/patch-mail.local.c
+++ b/mail/sendmail-devel/files/patch-mail.local.c
@@ -1,4 +1,4 @@
---- mail.local/mail.local.c.orig 2023-04-27 10:39:42 UTC
+--- mail.local/mail.local.c.orig 2025-06-27 17:57:30 UTC
+++ mail.local/mail.local.c
@@ -154,6 +154,8 @@ bool BounceQuota = false; /* permanent error when ove
bool HoldErrs = false; /* Hold errors in ErrBuf */
@@ -83,8 +83,8 @@
notifybiff(biffmsg);
if (
-@@ -1618,9 +1630,9 @@ usage()
- ExitVal = EX_USAGE;
+@@ -1617,9 +1629,9 @@ usage()
+ {
/* XXX add U to options for USE_EAI */
#if _FFR_SPOOL_PATH
- mailerr(NULL, "usage: mail.local [-7] [-b] [-d] [-l] [-f from|-r from] [-h filename] [-p path] user ...");
@@ -93,5 +93,5 @@
- mailerr(NULL, "usage: mail.local [-7] [-b] [-d] [-l] [-f from|-r from] [-h filename] user ...");
+ mailerr(NULL, "usage: mail.local [-7] [-b] [-B] [-d] [-l] [-f from|-r from] [-h filename] user ...");
#endif
- sm_exit(ExitVal);
+ sm_exit(EX_USAGE);
}
diff --git a/mail/sendmail-devel/files/patch-readcf.c b/mail/sendmail-devel/files/patch-readcf.c
index 8fb1dbefc2c8..f388cec6b827 100644
--- a/mail/sendmail-devel/files/patch-readcf.c
+++ b/mail/sendmail-devel/files/patch-readcf.c
@@ -1,7 +1,7 @@
---- sendmail/readcf.c.orig 2025-04-09 08:39:43 UTC
+--- sendmail/readcf.c.orig 2025-10-23 19:33:31 UTC
+++ sendmail/readcf.c
-@@ -3206,6 +3206,10 @@ static struct optioninfo
- { "CipherSuites", O_CIPHERSUITES, OI_NONE },
+@@ -3213,6 +3213,10 @@ static struct optioninfo
+ { "SameDomainOnly", O_SAMEDOMAINONLY, OI_NONE },
#endif
+#if USE_BLACKLIST
@@ -11,7 +11,7 @@
{ NULL, '\0', OI_NONE }
};
-@@ -4941,6 +4945,12 @@ setoption(opt, val, safe, sticky, e)
+@@ -4944,6 +4948,12 @@ setoption(opt, val, safe, sticky, e)
#if _FFR_MTA_STS
case O_MTASTS:
StrictTransportSecurity = atobool(val);
diff --git a/mail/sendmail-devel/files/patch-sendmail.h b/mail/sendmail-devel/files/patch-sendmail.h
index 28ed8ba7b790..5f47cd90fcbb 100644
--- a/mail/sendmail-devel/files/patch-sendmail.h
+++ b/mail/sendmail-devel/files/patch-sendmail.h
@@ -1,4 +1,4 @@
---- sendmail/sendmail.h.orig 2025-02-05 18:32:59 UTC
+--- sendmail/sendmail.h.orig 2025-10-23 19:33:31 UTC
+++ sendmail/sendmail.h
@@ -73,6 +73,10 @@ SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.
#endif
@@ -11,7 +11,7 @@
#include "timers.h"
#include <sm/exc.h>
#include <sm/gen.h>
-@@ -2781,6 +2785,10 @@ EXTERN int ConnectionRateWindowSize;
+@@ -2807,6 +2811,10 @@ EXTERN int ConnectionRateWindowSize;
#endif
EXTERN int ConnectionRateWindowSize;
diff --git a/mail/sendmail-devel/files/patch-srvrsmtp.c b/mail/sendmail-devel/files/patch-srvrsmtp.c
index 0516f9b40ca7..96f217110007 100644
--- a/mail/sendmail-devel/files/patch-srvrsmtp.c
+++ b/mail/sendmail-devel/files/patch-srvrsmtp.c
@@ -1,6 +1,6 @@
---- sendmail/srvrsmtp.c.orig 2025-04-09 08:39:43 UTC
+--- sendmail/srvrsmtp.c.orig 2025-10-20 19:09:43 UTC
+++ sendmail/srvrsmtp.c
-@@ -972,6 +972,9 @@ do \
+@@ -953,6 +953,9 @@ do \
# define SHOWCMDINREPLY(inp) inp
# define SHOWSHRTCMDINREPLY(inp) shortenstring(inp, MAXSHORTSTR)
#endif
@@ -10,7 +10,7 @@
void
smtp(nullserver, d_flags, e)
-@@ -1562,6 +1565,8 @@ smtp(nullserver, d_flags, e)
+@@ -1546,6 +1549,8 @@ smtp(nullserver, d_flags, e)
/* check if data is on the socket during the pause */
if ((tp = channel_readable(InChannel, msecs)) != NULL)
{
@@ -19,7 +19,7 @@
greetcode = "554";
nullserver = "Command rejected";
sm_syslog(LOG_INFO, e->e_id,
-@@ -1571,6 +1576,8 @@ smtp(nullserver, d_flags, e)
+@@ -1555,6 +1560,8 @@ smtp(nullserver, d_flags, e)
(int) tp->tv_sec +
(tp->tv_usec >= 500000 ? 1 : 0)
);
@@ -28,7 +28,7 @@
}
}
}
-@@ -1690,6 +1697,10 @@ smtp(nullserver, d_flags, e)
+@@ -1674,6 +1681,10 @@ smtp(nullserver, d_flags, e)
SmtpPhase = "server cmd read";
sm_setproctitle(true, e, "server %s cmd read", CurSmtpClient);
@@ -39,7 +39,7 @@
/* handle errors */
if (sm_io_error(OutChannel) ||
(p = sfgets(inp, sizeof(inp), InChannel,
-@@ -2005,8 +2016,11 @@ smtp(nullserver, d_flags, e)
+@@ -1989,8 +2000,11 @@ smtp(nullserver, d_flags, e)
#define LOGAUTHFAIL \
do \
{ \
@@ -51,7 +51,7 @@
if (LogLevel >= 9) \
sm_syslog(LOG_WARNING, e->e_id, \
"AUTH failure (%s): %s (%d) %s%s%.*s, relay=%.100s", \
-@@ -2105,6 +2119,13 @@ smtp(nullserver, d_flags, e)
+@@ -2089,6 +2103,13 @@ smtp(nullserver, d_flags, e)
case CMDEHLO:
case CMDNOOP:
case CMDRSET:
@@ -65,7 +65,7 @@
case CMDERROR:
/* process normally */
break;
-@@ -2132,6 +2153,11 @@ smtp(nullserver, d_flags, e)
+@@ -2116,6 +2137,11 @@ smtp(nullserver, d_flags, e)
#endif /* MAXBADCOMMANDS > 0 */
if (nullserver != NULL)
{
@@ -77,7 +77,7 @@
if (ISSMTPREPLY(nullserver))
{
/* Can't use ("%s", ...) due to usrerr() requirements */
-@@ -2156,6 +2182,9 @@ smtp(nullserver, d_flags, e)
+@@ -2140,6 +2166,9 @@ smtp(nullserver, d_flags, e)
DELAY_CONN("AUTH");
if (!sasl_ok || n_mechs <= 0)
{
@@ -87,7 +87,7 @@
message("503 5.3.3 AUTH not available");
break;
}
-@@ -3908,10 +3937,17 @@ smtp(nullserver, d_flags, e)
+@@ -3929,10 +3958,17 @@ smtp(nullserver, d_flags, e)
** timeouts for the same connection.
*/
@@ -105,7 +105,7 @@
if (tTd(93, 100))
{
/* return to handle next connection */
-@@ -3993,7 +4029,10 @@ smtp(nullserver, d_flags, e)
+@@ -4014,7 +4050,10 @@ smtp(nullserver, d_flags, e)
#if MAXBADCOMMANDS > 0
if (++n_badcmds > MAXBADCOMMANDS)
{
@@ -116,7 +116,7 @@
message("421 4.7.0 %s Too many bad commands; closing connection",
MyHostName);
-@@ -4047,6 +4086,9 @@ smtp(nullserver, d_flags, e)
+@@ -4068,6 +4107,9 @@ smtp(nullserver, d_flags, e)
}
#if SASL
}
diff --git a/mail/sendmail-devel/files/patch-usersmtp.c b/mail/sendmail-devel/files/patch-usersmtp.c
index c4d44cd62aed..f875ed25b342 100644
--- a/mail/sendmail-devel/files/patch-usersmtp.c
+++ b/mail/sendmail-devel/files/patch-usersmtp.c
@@ -1,6 +1,6 @@
---- sendmail/usersmtp.c.orig 2025-02-05 06:35:18 UTC
+--- sendmail/usersmtp.c.orig 2025-10-27 17:06:50 UTC
+++ sendmail/usersmtp.c
-@@ -1896,6 +1896,9 @@ attemptauth(m, mci, e, sai)
+@@ -1946,6 +1946,9 @@ attemptauth(m, mci, e, sai)
if (saslresult != SASL_OK && saslresult != SASL_CONTINUE)
{
@@ -10,7 +10,7 @@
if (tTd(95, 5))
sm_dprintf("AUTH FAIL=%s (%d)\n",
sasl_errstring(saslresult, NULL, NULL),
-@@ -2041,9 +2044,11 @@ smtpauth(m, mci, e)
+@@ -2091,9 +2094,11 @@ smtpauth(m, mci, e)
do
{
result = attemptauth(m, mci, e, &(mci->mci_sai));
diff --git a/mail/smtprelay/Makefile b/mail/smtprelay/Makefile
index 762eeec76374..b12dd8888cc6 100644
--- a/mail/smtprelay/Makefile
+++ b/mail/smtprelay/Makefile
@@ -1,7 +1,7 @@
PORTNAME= smtprelay
DISTVERSIONPREFIX=v
DISTVERSION= 1.12.0
-PORTREVISION= 4
+PORTREVISION= 7
CATEGORIES= mail
MAINTAINER= decke@FreeBSD.org
diff --git a/mail/spamassassin-devel/Makefile b/mail/spamassassin-devel/Makefile
index d1e18eeb6566..beb6bd4dd8d5 100644
--- a/mail/spamassassin-devel/Makefile
+++ b/mail/spamassassin-devel/Makefile
@@ -10,8 +10,8 @@ WWW= https://spamassassin.apache.org/
USE_GITHUB= yes
GH_ACCOUNT= apache
-GH_TAGNAME= f2a0189c2
-SA_COMMIT_DATE= 2025.09.24
+GH_TAGNAME= 775c93607
+SA_COMMIT_DATE= 2025.10.14
LICENSE= APACHE20
@@ -61,7 +61,7 @@ OPTIONS_GROUP_DATABASE= MYSQL PGSQL
OPTIONS_GROUP_PLUGINS= DCC DKIM DMARC PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY
OPTIONS_SINGLE= GPG
OPTIONS_SINGLE_GPG= GNUPG_NONE GNUPG GNUPG2
-OPTIONS_DEFAULT= AS_ROOT DKIM GNUPG SSL SPF_QUERY
+OPTIONS_DEFAULT= AS_ROOT DKIM GNUPG2 SSL SPF_QUERY
AS_ROOT_DESC= Run spamd as root (recommended)
diff --git a/mail/spamassassin-devel/distinfo b/mail/spamassassin-devel/distinfo
index 7e2bf3ad7dbe..2b640247639f 100644
--- a/mail/spamassassin-devel/distinfo
+++ b/mail/spamassassin-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758739616
-SHA256 (apache-spamassassin-2025.09.24-f2a0189c2_GH0.tar.gz) = 894aef72442d6af45fb30b487486ca955280090d03c81f174c60843df62b15f9
-SIZE (apache-spamassassin-2025.09.24-f2a0189c2_GH0.tar.gz) = 8425943
+TIMESTAMP = 1760452021
+SHA256 (apache-spamassassin-2025.10.14-775c93607_GH0.tar.gz) = 0f3cc6668ff3757eb124016de9d23c85469acba0ab3f14ae85e608f705840e44
+SIZE (apache-spamassassin-2025.10.14-775c93607_GH0.tar.gz) = 8427629
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index a9371193350d..609d5ddc400a 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,6 +1,6 @@
PORTNAME= spamassassin
-PORTVERSION= 4.0.1
-PORTREVISION= 2
+PORTVERSION= 4.0.2
+PORTREVISION= 1
CATEGORIES?= mail perl5
MASTER_SITES= https://archive.apache.org/dist/${PORTNAME}/source/ CPAN/Mail
DISTNAME= Mail-SpamAssassin-${PORTVERSION}
@@ -57,7 +57,7 @@ OPTIONS_GROUP_DATABASE= MYSQL PGSQL
OPTIONS_GROUP_PLUGINS= DCC DKIM DMARC PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY
OPTIONS_SINGLE= GPG
OPTIONS_SINGLE_GPG= GNUPG_NONE GNUPG GNUPG2
-OPTIONS_DEFAULT= AS_ROOT DKIM GNUPG SSL SPF_QUERY
+OPTIONS_DEFAULT= AS_ROOT DKIM GNUPG2 SSL SPF_QUERY
AS_ROOT_DESC= Run spamd as root (recommended)
@@ -182,6 +182,7 @@ post-patch::
-e 's,B_CONFDIR)/v343.pre,B_CONFDIR)/v343.pre.sample,g' \
-e 's,B_CONFDIR)/v400.pre,B_CONFDIR)/v400.pre.sample,g' \
-e 's,B_CONFDIR)/v401.pre,B_CONFDIR)/v401.pre.sample,g' \
+ -e 's,B_CONFDIR)/v402.pre,B_CONFDIR)/v402.pre.sample,g' \
-e 's/require DBI/0/' \
${WRKSRC}/Makefile.PL
${REINPLACE_CMD} -e '/^CC =/d; \
diff --git a/mail/spamassassin/distinfo b/mail/spamassassin/distinfo
index f211a38125fa..d3cbd94a64e3 100644
--- a/mail/spamassassin/distinfo
+++ b/mail/spamassassin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711824814
-SHA256 (Mail-SpamAssassin-4.0.1.tar.gz) = 5c6bb222e18405f1a276816d04e1ffc5cc90785e1265714b4506c2b541d6d5e5
-SIZE (Mail-SpamAssassin-4.0.1.tar.gz) = 6789832
+TIMESTAMP = 1760425913
+SHA256 (Mail-SpamAssassin-4.0.2.tar.gz) = c521be978cef3d49b1e139477ca60a0bd498345fc98274796e44161fae49a17f
+SIZE (Mail-SpamAssassin-4.0.2.tar.gz) = 6833828
diff --git a/mail/spamassassin/pkg-plist b/mail/spamassassin/pkg-plist
index 6838abe7a893..eb65edf38ea9 100644
--- a/mail/spamassassin/pkg-plist
+++ b/mail/spamassassin/pkg-plist
@@ -18,6 +18,7 @@ bin/spamd
@sample %%ETCDIR%%/v343.pre.sample
@sample %%ETCDIR%%/v400.pre.sample
@sample %%ETCDIR%%/v401.pre.sample
+@sample %%ETCDIR%%/v402.pre.sample
include/libspamc.h
lib/libspamc.so
lib/libspamc.so.0
@@ -50,6 +51,9 @@ lib/libspamc.so.0
%%SITE_PERL%%/Mail/SpamAssassin/DnsResolver.pm
%%SITE_PERL%%/Mail/SpamAssassin/GeoDB.pm
%%SITE_PERL%%/Mail/SpamAssassin/HTML.pm
+%%SITE_PERL%%/Mail/SpamAssassin/HTML/Color.pm
+%%SITE_PERL%%/Mail/SpamAssassin/Header.pm
+%%SITE_PERL%%/Mail/SpamAssassin/Header/ParameterHeader.pm
%%SITE_PERL%%/Mail/SpamAssassin/Locales.pm
%%SITE_PERL%%/Mail/SpamAssassin/Locker.pm
%%SITE_PERL%%/Mail/SpamAssassin/Locker/Flock.pm
@@ -82,9 +86,9 @@ lib/libspamc.so.0
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Check.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DCC.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DKIM.pm
+%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DMARC.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DNSEval.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DecodeShortURLs.pm
-%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DMARC.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/ExtractText.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/FreeMail.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/FromNameSpoof.pm
@@ -102,6 +106,7 @@ lib/libspamc.so.0
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Phishing.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Pyzor.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Razor2.pm
+%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Redirectors.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/RelayCountry.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/RelayEval.pm
%%SITE_PERL%%/Mail/SpamAssassin/Plugin/ReplaceTags.pm
@@ -168,6 +173,9 @@ lib/libspamc.so.0
%%PERL5_MAN3%%/Mail::SpamAssassin::Conf::SQL.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::DnsResolver.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::GeoDB.3.gz
+%%PERL5_MAN3%%/Mail::SpamAssassin::HTML::Color.3.gz
+%%PERL5_MAN3%%/Mail::SpamAssassin::Header.3.gz
+%%PERL5_MAN3%%/Mail::SpamAssassin::Header::ParameterHeader.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Logger.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Logger::File.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Logger::Stderr.3.gz
@@ -191,13 +199,14 @@ lib/libspamc.so.0
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Check.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DCC.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DKIM.3.gz
+%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DMARC.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DNSEval.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DecodeShortURLs.3.gz
-%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::DMARC.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::ExtractText.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::FreeMail.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::FromNameSpoof.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::HashBL.3.gz
+%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::HeaderEval.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::MIMEEval.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::MIMEHeader.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::OLEVBMacro.3.gz
@@ -207,6 +216,7 @@ lib/libspamc.so.0
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Phishing.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Pyzor.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Razor2.3.gz
+%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::Redirectors.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::RelayCountry.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::ReplaceTags.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::ResourceLimits.3.gz
@@ -222,6 +232,7 @@ lib/libspamc.so.0
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::URIDetail.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::URILocalBL.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::VBounce.3.gz
+%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::WLBLEval.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Plugin::WelcomeListSubject.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::PluginHandler.3.gz
%%PERL5_MAN3%%/Mail::SpamAssassin::Pyzor.3.gz
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 7e5cd224148c..88774d14c777 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -1,12 +1,11 @@
PORTNAME= sqwebmail
-PORTVERSION= 6.2.4
-PORTREVISION= 1
+PORTVERSION= 6.3.0
CATEGORIES= mail www
MASTER_SITES= SF/courier/webmail/${PORTVERSION}
MAINTAINER= oliver@FreeBSD.org
COMMENT= CGI Webmail client for Maildirs
-WWW= https://inter7.com/sqwebmail/
+WWW= https://www.courier-mta.org/sqwebmail/
LICENSE= GPLv3
@@ -59,7 +58,7 @@ MAILGRP?= courier
#
# End of user variables
-USES= compiler:c++11-lang gettext gmake iconv perl5 tar:bzip2 pkgconfig
+USES= compiler:c++17-lang gettext gmake iconv perl5 tar:bzip2 pkgconfig
USE_RC_SUBR= sqwebmail-sqwebmaild
GNU_CONFIGURE= yes
diff --git a/mail/sqwebmail/distinfo b/mail/sqwebmail/distinfo
index 1f83e5e25456..046a1b9b4299 100644
--- a/mail/sqwebmail/distinfo
+++ b/mail/sqwebmail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1697149887
-SHA256 (sqwebmail-6.2.4.tar.bz2) = 0e9fe042413b64e81aea3abeea180648e7b0a71912ca37b0c7d30cb0d0299942
-SIZE (sqwebmail-6.2.4.tar.bz2) = 3748078
+TIMESTAMP = 1760884299
+SHA256 (sqwebmail-6.3.0.tar.bz2) = e6548e4c974024f02b629d8a5090af3c7000faf2d52b28b87b11d48ae3a61be3
+SIZE (sqwebmail-6.3.0.tar.bz2) = 4087972
diff --git a/mail/sqwebmail/files/patch-Makefile.in b/mail/sqwebmail/files/patch-Makefile.in
index 18a54190064a..4e691ae3b813 100644
--- a/mail/sqwebmail/files/patch-Makefile.in
+++ b/mail/sqwebmail/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig 2023-08-28 12:32:30 UTC
+--- Makefile.in.orig 2025-10-14 23:45:13 UTC
+++ Makefile.in
-@@ -404,13 +404,13 @@ EXTRA_DIST = INSTALL.html README NEWS README.html READ
+@@ -413,13 +413,13 @@ scriptbin_SCRIPTS = \
packaging/debian/sqwebmail-apache2.lintian-overrides
scriptbindir = $(sbindir)
scriptbin_SCRIPTS = \
@@ -16,7 +16,7 @@
WWW = $$HOME/www/hostrocket/courier-mta.org
@HAVE_HTMLPAGES_TRUE@NEWS_SOURCE = html/index.html
-@@ -1068,11 +1068,11 @@ reformime: libs/rfc2045/reformime
+@@ -1071,11 +1071,11 @@ makemime: libs/rfc2045/makemime
makemime: libs/rfc2045/makemime
cp libs/rfc2045/makemime .
diff --git a/mail/sqwebmail/files/patch-libs_rfc2045_rfc2045.h b/mail/sqwebmail/files/patch-libs_rfc2045_rfc2045.h
new file mode 100644
index 000000000000..36c6fd96cfb4
--- /dev/null
+++ b/mail/sqwebmail/files/patch-libs_rfc2045_rfc2045.h
@@ -0,0 +1,11 @@
+--- libs/rfc2045/rfc2045.h.orig 2025-10-06 09:00:04 UTC
++++ libs/rfc2045/rfc2045.h
+@@ -3224,7 +3224,7 @@ void rfc822::mime_decoder<out_iter, src_type>::decode(
+
+ if (decode_header)
+ {
+- typename rfc2045::entity::line_iter<crlf>::headers<
++ typename rfc2045::entity::line_iter<crlf>::template headers<
+ src_type> parser{e, src };
+
+ parser.name_lc=header_name_lc;
diff --git a/mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp.C b/mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp.C
new file mode 100644
index 000000000000..5d1494f61819
--- /dev/null
+++ b/mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp.C
@@ -0,0 +1,11 @@
+--- libs/rfc2045/testsuitecpp.C.orig 2025-10-04 09:00:12 UTC
++++ libs/rfc2045/testsuitecpp.C
+@@ -19,7 +19,7 @@ void testrfc2045line_iter_testset(int &testnum, test_t
+ auto b=s.begin();
+ auto e=s.end();
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::string_view::iterator,
+ std::string_view::iterator
+ >
diff --git a/mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp2.C b/mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp2.C
new file mode 100644
index 000000000000..bd49c3117802
--- /dev/null
+++ b/mail/sqwebmail/files/patch-libs_rfc2045_testsuitecpp2.C
@@ -0,0 +1,29 @@
+--- libs/rfc2045/testsuitecpp2.C.orig 2025-09-10 09:00:12 UTC
++++ libs/rfc2045/testsuitecpp2.C
+@@ -217,7 +217,7 @@ void test3()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -310,7 +310,7 @@ void test4()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -488,7 +488,7 @@ void test5()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
diff --git a/mail/stalwart/Makefile b/mail/stalwart/Makefile
new file mode 100644
index 000000000000..423e85077d2a
--- /dev/null
+++ b/mail/stalwart/Makefile
@@ -0,0 +1,83 @@
+PORTNAME= stalwart
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.13.4
+CATEGORIES= mail
+
+MAINTAINER= orville@anislet.dev
+COMMENT= Stalwart Mail Server
+WWW= https://stalw.art/
+
+LICENSE= AGPLv3 SELv1
+LICENSE_COMB= multi
+LICENSE_NAME_SELv1= Stalwart Enterprise License 1.0
+LICENSE_FILE_AGPLv3= ${WRKSRC}/LICENSES/AGPL-3.0-only.txt
+LICENSE_FILE_SELv1= ${WRKSRC}/LICENSES/LicenseRef-SEL.txt
+LICENSE_PERMS_SELv1= pkg-mirror auto-accept
+
+NOT_FOR_ARCHS= powerpc powerpc64 powerpc64le riscv64
+NOT_FOR_ARCHS_REASON= ring-v0.16.20 does not support this arch.
+
+LIB_DEPENDS= libzstd.so:archivers/zstd
+
+USES= cpe cargo
+USE_GITHUB= yes
+GH_ACCOUNT= stalwartlabs
+GH_PROJECT= stalwart
+USE_RC_SUBR= stalwart
+
+SUB_LIST= USERS=${USERS} \
+ GROUPS=${GROUPS}
+
+CARGO_FEATURES= --no-default-features
+
+CARGO_INSTALL_PATH= crates/main crates/cli
+
+OPTIONS_DEFINE= ENTERPRISE
+OPTIONS_DEFAULT= SQLITE POSTGRES MYSQL ROCKSDB S3 REDIS
+OPTIONS_MULTI= BACKENDS
+OPTIONS_MULTI_BACKENDS= SQLITE FOUNDATIONDB POSTGRES MYSQL ROCKSDB ELASTIC S3 REDIS AZURE
+OPTIONS_EXCLUDE_powerpc= ROCKSDB
+OPTIONS_EXCLUDE_armv6= ROCKSDB
+OPTIONS_EXCLUDE_armv7= ROCKSDB
+OPTIONS_EXCLUDE_i386= ROCKSDB
+
+BACKEND_DESC= Database and storage backends
+AZURE_DESC= Enable Azure storage backend
+ELASTIC_DESC= Enable ElasticSearch backend
+ENTERPRISE_DESC= Enable Enterprise features (require license)
+FOUNDATIONDB_DESC= Enable FoundationDB backend
+MYSQL_DESC= Enable MySQL backend
+POSTGRES_DESC= Enable PostgreSQL backend
+REDIS_DESC= Enable Redis backend
+ROCKSDB_DESC= Enable RocksDB backend
+S3_DESC= Enable S3 storage backend
+SQLITE_DESC= Enable SQLite backend
+
+AZURE_VARS= CARGO_FEATURES+=azure
+ELASTIC_VARS= CARGO_FEATURES+=elastic
+ENTERPRISE_VARS= CARGO_FEATURES+=enterprise
+FOUNDATIONDB_LIB_DEPENDS= libfdb_c.so:databases/foundationdb73-client
+FOUNDATIONDB_VARS= CARGO_FEATURES+=foundationdb
+MYSQL_VARS= CARGO_FEATURES+=mysql
+POSTGRES_VARS= CARGO_FEATURES+=postgres
+REDIS_VARS= CARGO_FEATURES+=redis
+ROCKSDB_BUILD_DEPENDS= ${LOCALBASE}/llvm21/lib/libclang.so:devel/llvm21
+ROCKSDB_LIB_DEPENDS= librocksdb.so:databases/rocksdb
+ROCKSDB_VARS= CARGO_FEATURES+=rocks
+S3_VARS= CARGO_FEATURES+=s3
+SQLITE_VARS= CARGO_FEATURES+=sqlite
+
+.include <bsd.port.options.mk>
+
+USERS= stalwart
+GROUPS= stalwart
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/resources/config/config.toml \
+ ${STAGEDIR}${ETCDIR}/config.toml.sample
+
+ @${MKDIR} ${STAGEDIR}/var/db/stalwart
+ @${MKDIR} ${STAGEDIR}/var/db/stalwart/data
+
+.include <bsd.port.mk>
diff --git a/mail/stalwart/Makefile.crates b/mail/stalwart/Makefile.crates
new file mode 100644
index 000000000000..cf57f4f67b26
--- /dev/null
+++ b/mail/stalwart/Makefile.crates
@@ -0,0 +1,891 @@
+CARGO_CRATES= RustyXML-0.3.0 \
+ addr2line-0.25.1 \
+ adler2-2.0.1 \
+ adler32-1.2.0 \
+ aead-0.5.2 \
+ aes-0.8.4 \
+ aes-gcm-0.10.3 \
+ aes-gcm-siv-0.11.1 \
+ ahash-0.8.12 \
+ aho-corasick-1.1.3 \
+ allocator-api2-0.2.21 \
+ android_system_properties-0.1.5 \
+ anstream-0.6.20 \
+ anstyle-1.0.12 \
+ anstyle-parse-0.2.7 \
+ anstyle-query-1.1.4 \
+ anstyle-wincon-3.0.10 \
+ anyhow-1.0.100 \
+ arbitrary-1.4.2 \
+ arc-swap-1.7.1 \
+ argon2-0.5.3 \
+ array-init-2.1.0 \
+ arrayref-0.3.9 \
+ arrayvec-0.7.6 \
+ ascii-canvas-3.0.0 \
+ asn1-rs-0.5.2 \
+ asn1-rs-0.6.2 \
+ asn1-rs-0.7.1 \
+ asn1-rs-derive-0.4.0 \
+ asn1-rs-derive-0.5.1 \
+ asn1-rs-derive-0.6.0 \
+ asn1-rs-impl-0.1.0 \
+ asn1-rs-impl-0.2.0 \
+ async-channel-1.9.0 \
+ async-compression-0.4.32 \
+ async-lock-3.4.1 \
+ async-nats-0.42.0 \
+ async-recursion-1.1.1 \
+ async-stream-0.3.6 \
+ async-stream-impl-0.3.6 \
+ async-trait-0.1.89 \
+ atomic-waker-1.1.2 \
+ attohttpc-0.28.5 \
+ autocfg-1.5.0 \
+ aws-creds-0.37.0 \
+ aws-region-0.25.5 \
+ azure_core-0.21.0 \
+ azure_storage-0.21.0 \
+ azure_storage_blobs-0.21.0 \
+ azure_svc_blobstorage-0.21.0 \
+ backtrace-0.3.76 \
+ base16ct-0.2.0 \
+ base32-0.5.1 \
+ base64-0.11.0 \
+ base64-0.13.1 \
+ base64-0.21.7 \
+ base64-0.22.1 \
+ base64ct-1.8.0 \
+ bincode-1.3.3 \
+ bincode-2.0.1 \
+ bincode_derive-2.0.1 \
+ bindgen-0.70.1 \
+ bindgen-0.72.1 \
+ biscuit-0.7.0 \
+ bit-set-0.5.3 \
+ bit-set-0.8.0 \
+ bit-vec-0.6.3 \
+ bit-vec-0.8.0 \
+ bitflags-1.3.2 \
+ bitflags-2.9.4 \
+ bitpacking-0.9.2 \
+ bitvec-1.0.1 \
+ bitvec-nom2-0.2.1 \
+ blake2-0.10.6 \
+ blake3-1.8.2 \
+ block-buffer-0.9.0 \
+ block-buffer-0.10.4 \
+ block-padding-0.3.3 \
+ blowfish-0.7.0 \
+ blowfish-0.9.1 \
+ btoi-0.4.3 \
+ buffered-reader-1.4.0 \
+ bumpalo-3.19.0 \
+ bytecheck-0.8.2 \
+ bytecheck_derive-0.8.2 \
+ bytemuck-1.23.2 \
+ byteorder-1.5.0 \
+ bytes-1.10.1 \
+ bzip2-0.6.0 \
+ bzip2-sys-0.1.13+1.0.8 \
+ calcard-0.1.3 \
+ camellia-0.1.0 \
+ cast5-0.11.1 \
+ castaway-0.2.4 \
+ cbc-0.1.2 \
+ cc-1.2.39 \
+ cedarwood-0.4.6 \
+ cesu8-1.1.0 \
+ cexpr-0.6.0 \
+ cfb-0.7.3 \
+ cfb-mode-0.8.2 \
+ cfg-if-1.0.3 \
+ cfg_aliases-0.2.1 \
+ chrono-0.4.42 \
+ chrono-tz-0.10.4 \
+ cipher-0.2.5 \
+ cipher-0.4.4 \
+ clang-sys-1.8.1 \
+ clap-4.5.48 \
+ clap_builder-4.5.48 \
+ clap_derive-4.5.47 \
+ clap_lex-0.7.5 \
+ cmac-0.7.2 \
+ cmake-0.1.54 \
+ colorchoice-1.0.4 \
+ combine-4.6.7 \
+ compact_str-0.9.0 \
+ compression-codecs-0.4.31 \
+ compression-core-0.4.29 \
+ concurrent-queue-2.5.0 \
+ console-0.15.11 \
+ const-oid-0.9.6 \
+ const-random-0.1.18 \
+ const-random-macro-0.1.16 \
+ const_format-0.2.34 \
+ const_format_proc_macros-0.2.34 \
+ const_panic-0.2.15 \
+ constant_time_eq-0.3.1 \
+ core-foundation-0.9.4 \
+ core-foundation-0.10.1 \
+ core-foundation-sys-0.8.7 \
+ core2-0.4.0 \
+ cpufeatures-0.2.17 \
+ crc-3.3.0 \
+ crc-catalog-2.4.0 \
+ crc16-0.4.0 \
+ crc32fast-1.5.0 \
+ critical-section-1.2.0 \
+ crossbeam-0.8.4 \
+ crossbeam-channel-0.5.15 \
+ crossbeam-deque-0.8.6 \
+ crossbeam-epoch-0.9.18 \
+ crossbeam-queue-0.3.12 \
+ crossbeam-utils-0.8.21 \
+ crunchy-0.2.4 \
+ crypto-bigint-0.5.5 \
+ crypto-common-0.1.6 \
+ crypto-mac-0.10.0 \
+ csv-1.3.1 \
+ csv-core-0.1.12 \
+ ctr-0.9.2 \
+ curve25519-dalek-4.1.3 \
+ curve25519-dalek-derive-0.1.1 \
+ darling-0.13.4 \
+ darling-0.20.11 \
+ darling-0.21.3 \
+ darling_core-0.13.4 \
+ darling_core-0.20.11 \
+ darling_core-0.21.3 \
+ darling_macro-0.13.4 \
+ darling_macro-0.20.11 \
+ darling_macro-0.21.3 \
+ dary_heap-0.3.8 \
+ data-encoding-2.9.0 \
+ dbl-0.3.2 \
+ deadpool-0.10.0 \
+ deadpool-0.12.3 \
+ deadpool-postgres-0.14.1 \
+ deadpool-runtime-0.1.4 \
+ decancer-3.3.3 \
+ deflate64-0.1.9 \
+ der-0.7.10 \
+ der-parser-8.2.0 \
+ der-parser-9.0.0 \
+ der-parser-10.0.0 \
+ deranged-0.5.4 \
+ derive_arbitrary-1.4.2 \
+ des-0.8.1 \
+ digest-0.9.0 \
+ digest-0.10.7 \
+ dirs-6.0.0 \
+ dirs-next-2.0.0 \
+ dirs-sys-0.5.0 \
+ dirs-sys-next-0.1.2 \
+ displaydoc-0.2.5 \
+ dlv-list-0.5.2 \
+ dns-update-0.1.5 \
+ doc-comment-0.3.3 \
+ dsa-0.6.3 \
+ dyn-clone-1.0.20 \
+ eax-0.5.0 \
+ ecb-0.1.2 \
+ ecdsa-0.16.9 \
+ ece-2.3.1 \
+ ed25519-2.2.3 \
+ ed25519-dalek-2.2.0 \
+ either-1.15.0 \
+ elasticsearch-8.5.0-alpha.1 \
+ elliptic-curve-0.13.8 \
+ ena-0.14.3 \
+ encode_unicode-1.0.0 \
+ encoding_rs-0.8.35 \
+ endian-type-0.1.2 \
+ enum-as-inner-0.6.1 \
+ equivalent-1.0.2 \
+ errno-0.3.14 \
+ event-listener-2.5.3 \
+ event-listener-5.4.1 \
+ event-listener-strategy-0.5.4 \
+ fallible-iterator-0.2.0 \
+ fallible-iterator-0.3.0 \
+ fallible-streaming-iterator-0.1.9 \
+ fancy-regex-0.14.0 \
+ farmhash-1.1.5 \
+ fast-float-0.2.0 \
+ fastbloom-0.14.0 \
+ fastrand-1.9.0 \
+ fastrand-2.3.0 \
+ ff-0.13.1 \
+ fiat-crypto-0.2.9 \
+ find-msvc-tools-0.1.2 \
+ fixedbitset-0.4.2 \
+ flate2-1.1.2 \
+ flume-0.11.1 \
+ fnv-1.0.7 \
+ foldhash-0.1.5 \
+ foreign-types-0.3.2 \
+ foreign-types-shared-0.1.1 \
+ form-data-0.6.0 \
+ form_urlencoded-1.2.2 \
+ foundationdb-0.9.2 \
+ foundationdb-gen-0.9.2 \
+ foundationdb-macros-0.3.2 \
+ foundationdb-sys-0.9.1 \
+ foundationdb-tuple-0.9.1 \
+ funty-2.0.0 \
+ futures-0.3.31 \
+ futures-channel-0.3.31 \
+ futures-core-0.3.31 \
+ futures-executor-0.3.31 \
+ futures-io-0.3.31 \
+ futures-lite-1.13.0 \
+ futures-macro-0.3.31 \
+ futures-sink-0.3.31 \
+ futures-task-0.3.31 \
+ futures-util-0.3.31 \
+ generic-array-0.14.7 \
+ generic-array-1.2.0 \
+ gethostname-1.0.2 \
+ getrandom-0.1.16 \
+ getrandom-0.2.16 \
+ getrandom-0.3.3 \
+ ghash-0.5.1 \
+ gimli-0.32.3 \
+ git-version-0.3.9 \
+ git-version-macro-0.3.9 \
+ glob-0.3.3 \
+ group-0.13.0 \
+ h2-0.3.27 \
+ h2-0.4.12 \
+ hashbrown-0.12.3 \
+ hashbrown-0.14.5 \
+ hashbrown-0.15.5 \
+ hashbrown-0.16.0 \
+ hashify-0.2.7 \
+ hashlink-0.10.0 \
+ heck-0.4.1 \
+ heck-0.5.0 \
+ hermit-abi-0.5.2 \
+ hex-0.4.3 \
+ hickory-client-0.24.4 \
+ hickory-proto-0.24.4 \
+ hickory-proto-0.26.0-alpha.1 \
+ hickory-resolver-0.26.0-alpha.1 \
+ hkdf-0.12.4 \
+ hmac-0.10.1 \
+ hmac-0.12.1 \
+ home-0.5.11 \
+ hostname-0.4.1 \
+ http-0.2.12 \
+ http-1.3.1 \
+ http-body-0.4.6 \
+ http-body-1.0.1 \
+ http-body-util-0.1.3 \
+ http-types-2.12.0 \
+ httparse-1.10.1 \
+ httpdate-1.0.3 \
+ human-size-0.4.3 \
+ humantime-2.3.0 \
+ hyper-0.14.32 \
+ hyper-1.7.0 \
+ hyper-rustls-0.24.2 \
+ hyper-rustls-0.27.7 \
+ hyper-timeout-0.5.2 \
+ hyper-util-0.1.17 \
+ iana-time-zone-0.1.64 \
+ iana-time-zone-haiku-0.1.2 \
+ icu_collections-2.0.0 \
+ icu_locale_core-2.0.0 \
+ icu_normalizer-2.0.0 \
+ icu_normalizer_data-2.0.0 \
+ icu_properties-2.0.1 \
+ icu_properties_data-2.0.1 \
+ icu_provider-2.0.0 \
+ idea-0.5.1 \
+ ident_case-1.0.1 \
+ idna-1.1.0 \
+ idna_adapter-1.2.1 \
+ imagesize-0.14.0 \
+ include-flate-0.3.1 \
+ include-flate-codegen-0.3.1 \
+ include-flate-compress-0.3.1 \
+ indexmap-1.9.3 \
+ indexmap-2.11.4 \
+ indicatif-0.17.11 \
+ infer-0.2.3 \
+ infer-0.19.0 \
+ inout-0.1.4 \
+ instant-0.1.13 \
+ io-uring-0.7.10 \
+ ipconfig-0.3.2 \
+ ipnet-2.11.0 \
+ ipnetwork-0.20.0 \
+ iri-string-0.7.8 \
+ is-terminal-0.4.16 \
+ is_terminal_polyfill-1.70.1 \
+ itertools-0.10.5 \
+ itertools-0.11.0 \
+ itertools-0.13.0 \
+ itertools-0.14.0 \
+ itoa-1.0.15 \
+ jemalloc-sys-0.5.4+5.3.0-patched \
+ jemallocator-0.5.4 \
+ jieba-macros-0.8.1 \
+ jieba-rs-0.8.1 \
+ jmap-client-0.3.3 \
+ jmap-tools-0.1.2 \
+ jni-0.21.1 \
+ jni-sys-0.3.0 \
+ jobserver-0.1.34 \
+ js-sys-0.3.81 \
+ json5-0.4.1 \
+ keccak-0.1.5 \
+ keyed-set-1.1.0 \
+ keyed_priority_queue-0.4.2 \
+ konst-0.3.16 \
+ konst_kernel-0.3.15 \
+ lalrpop-0.20.2 \
+ lalrpop-util-0.20.2 \
+ lazy_static-1.5.0 \
+ lber-0.4.2 \
+ ldap3-0.11.5 \
+ libbz2-rs-sys-0.2.2 \
+ libc-0.2.176 \
+ libflate-2.1.0 \
+ libflate_lz77-2.1.0 \
+ libloading-0.8.9 \
+ liblzma-0.4.5 \
+ liblzma-sys-0.4.4 \
+ libm-0.2.15 \
+ libredox-0.1.10 \
+ librocksdb-sys-0.17.3+10.4.2 \
+ libsqlite3-sys-0.35.0 \
+ libz-rs-sys-0.5.2 \
+ libz-sys-1.1.22 \
+ linked-hash-map-0.5.6 \
+ linux-raw-sys-0.11.0 \
+ litemap-0.8.0 \
+ lock_api-0.4.13 \
+ log-0.4.28 \
+ lru-0.14.0 \
+ lru-cache-0.1.2 \
+ lru-slab-0.1.2 \
+ lz4-sys-1.11.1+lz4-1.10.0 \
+ lz4_flex-0.11.5 \
+ lzma-rust2-0.13.0 \
+ mail-auth-0.7.2 \
+ mail-builder-0.4.4 \
+ mail-parser-0.11.1 \
+ mail-send-0.5.2 \
+ maplit-1.0.2 \
+ matchers-0.2.0 \
+ maybe-async-0.2.10 \
+ md-5-0.9.1 \
+ md-5-0.10.6 \
+ md5-0.7.0 \
+ md5-0.8.0 \
+ memchr-2.7.6 \
+ memory-stats-1.2.0 \
+ memsec-0.7.0 \
+ mime-0.3.17 \
+ mime_guess-2.0.5 \
+ minimal-lexical-0.2.1 \
+ miniz_oxide-0.8.9 \
+ mio-1.0.4 \
+ moka-0.12.11 \
+ munge-0.4.7 \
+ munge_macro-0.4.7 \
+ mysql-common-derive-0.32.1 \
+ mysql_async-0.36.1 \
+ mysql_common-0.35.5 \
+ nanorand-0.7.0 \
+ new_debug_unreachable-1.0.6 \
+ nibble_vec-0.1.0 \
+ nix-0.30.1 \
+ nkeys-0.4.5 \
+ no-std-net-0.6.0 \
+ nohash-0.2.0 \
+ nom-7.1.3 \
+ nonempty-collections-0.3.1 \
+ nu-ansi-term-0.50.1 \
+ nuid-0.5.0 \
+ num-bigint-0.4.6 \
+ num-bigint-dig-0.8.4 \
+ num-conv-0.1.0 \
+ num-integer-0.1.46 \
+ num-iter-0.1.45 \
+ num-traits-0.2.19 \
+ num_cpus-1.17.0 \
+ num_enum-0.7.4 \
+ num_enum_derive-0.7.4 \
+ number_prefix-0.4.0 \
+ object-0.37.3 \
+ ocb3-0.1.0 \
+ oid-registry-0.6.1 \
+ oid-registry-0.7.1 \
+ oid-registry-0.8.1 \
+ once_cell-1.21.3 \
+ once_cell_polyfill-1.70.1 \
+ opaque-debug-0.3.1 \
+ openssl-0.10.73 \
+ openssl-macros-0.1.1 \
+ openssl-probe-0.1.6 \
+ openssl-sys-0.9.109 \
+ opentelemetry-0.29.1 \
+ opentelemetry-http-0.29.0 \
+ opentelemetry-otlp-0.29.0 \
+ opentelemetry-proto-0.29.0 \
+ opentelemetry-semantic-conventions-0.29.0 \
+ opentelemetry_sdk-0.29.0 \
+ option-ext-0.2.0 \
+ ordered-multimap-0.7.3 \
+ p256-0.13.2 \
+ p384-0.13.1 \
+ p521-0.13.3 \
+ parking-2.2.1 \
+ parking_lot-0.12.4 \
+ parking_lot_core-0.9.11 \
+ password-hash-0.5.0 \
+ paste-1.0.15 \
+ pbkdf2-0.12.2 \
+ pem-3.0.5 \
+ pem-rfc7468-0.7.0 \
+ percent-encoding-2.3.2 \
+ pest-2.8.2 \
+ pest_derive-2.8.2 \
+ pest_generator-2.8.2 \
+ pest_meta-2.8.2 \
+ petgraph-0.6.5 \
+ phf-0.11.3 \
+ phf-0.12.1 \
+ phf-0.13.1 \
+ phf_codegen-0.13.1 \
+ phf_generator-0.11.3 \
+ phf_generator-0.13.1 \
+ phf_macros-0.11.3 \
+ phf_shared-0.11.3 \
+ phf_shared-0.12.1 \
+ phf_shared-0.13.1 \
+ pin-project-1.1.10 \
+ pin-project-internal-1.1.10 \
+ pin-project-lite-0.2.16 \
+ pin-utils-0.1.0 \
+ pkcs1-0.7.5 \
+ pkcs8-0.10.2 \
+ pkg-config-0.3.32 \
+ pnet_base-0.35.0 \
+ pnet_datalink-0.35.0 \
+ pnet_sys-0.35.0 \
+ polyval-0.6.2 \
+ portable-atomic-1.11.1 \
+ postgres-protocol-0.6.9 \
+ postgres-types-0.2.10 \
+ potential_utf-0.1.3 \
+ powerfmt-0.2.0 \
+ ppmd-rust-1.2.1 \
+ ppv-lite86-0.2.21 \
+ precomputed-hash-0.1.1 \
+ prettyplease-0.2.37 \
+ prettytable-rs-0.10.0 \
+ primeorder-0.13.6 \
+ privdrop-0.5.6 \
+ proc-macro-crate-3.4.0 \
+ proc-macro-error-1.0.4 \
+ proc-macro-error-attr-1.0.4 \
+ proc-macro-error-attr2-2.0.0 \
+ proc-macro-error2-2.0.1 \
+ proc-macro2-1.0.101 \
+ prometheus-0.14.0 \
+ prost-0.13.5 \
+ prost-derive-0.13.5 \
+ proxy-header-0.1.2 \
+ psl-2.1.145 \
+ psl-types-2.0.11 \
+ ptr_meta-0.3.1 \
+ ptr_meta_derive-0.3.1 \
+ pure-rust-locales-0.8.1 \
+ pwhash-1.0.0 \
+ quick-xml-0.31.0 \
+ quick-xml-0.32.0 \
+ quick-xml-0.38.3 \
+ quick_cache-0.6.16 \
+ quinn-0.11.9 \
+ quinn-proto-0.11.13 \
+ quinn-udp-0.5.14 \
+ quote-1.0.41 \
+ r-efi-5.3.0 \
+ r2d2-0.8.10 \
+ radium-0.7.0 \
+ radix_trie-0.2.1 \
+ rancor-0.1.1 \
+ rand-0.7.3 \
+ rand-0.8.5 \
+ rand-0.9.2 \
+ rand_chacha-0.2.2 \
+ rand_chacha-0.3.1 \
+ rand_chacha-0.9.0 \
+ rand_core-0.5.1 \
+ rand_core-0.6.4 \
+ rand_core-0.9.3 \
+ rand_hc-0.2.0 \
+ rasn-0.10.6 \
+ rasn-cms-0.10.6 \
+ rasn-derive-0.10.6 \
+ rasn-pkix-0.10.6 \
+ rayon-1.11.0 \
+ rayon-core-1.13.0 \
+ rcgen-0.12.1 \
+ rcgen-0.13.2 \
+ rdkafka-0.38.0 \
+ rdkafka-sys-4.9.0+2.10.0 \
+ redis-0.32.6 \
+ redox_syscall-0.5.17 \
+ redox_users-0.4.6 \
+ redox_users-0.5.2 \
+ ref-cast-1.0.25 \
+ ref-cast-impl-1.0.25 \
+ regex-1.11.3 \
+ regex-automata-0.4.11 \
+ regex-syntax-0.8.6 \
+ rend-0.5.3 \
+ reqwest-0.11.27 \
+ reqwest-0.12.23 \
+ resolv-conf-0.7.5 \
+ rev_lines-0.3.0 \
+ rfc6979-0.4.0 \
+ ring-0.16.20 \
+ ring-0.17.14 \
+ ringbuffer-spsc-0.1.15 \
+ ripemd-0.1.3 \
+ rkyv-0.8.12 \
+ rkyv_derive-0.8.12 \
+ rle-decode-fast-1.0.3 \
+ roaring-0.11.2 \
+ rocksdb-0.24.0 \
+ ron-0.8.1 \
+ rpassword-7.4.0 \
+ rsa-0.9.8 \
+ rtoolbox-0.0.3 \
+ rtrb-0.3.2 \
+ rusqlite-0.37.0 \
+ rust-ini-0.21.3 \
+ rust-s3-0.35.1 \
+ rust-stemmers-1.2.0 \
+ rustc-demangle-0.1.26 \
+ rustc-hash-1.1.0 \
+ rustc-hash-2.1.1 \
+ rustc_version-0.2.3 \
+ rustc_version-0.4.1 \
+ rusticata-macros-4.1.0 \
+ rustix-1.1.2 \
+ rustls-0.21.12 \
+ rustls-0.23.32 \
+ rustls-native-certs-0.6.3 \
+ rustls-native-certs-0.7.3 \
+ rustls-native-certs-0.8.1 \
+ rustls-pemfile-1.0.4 \
+ rustls-pemfile-2.2.0 \
+ rustls-pki-types-1.12.0 \
+ rustls-platform-verifier-0.6.1 \
+ rustls-platform-verifier-android-0.1.1 \
+ rustls-webpki-0.101.7 \
+ rustls-webpki-0.102.8 \
+ rustls-webpki-0.103.6 \
+ rustversion-1.0.22 \
+ ryu-1.0.20 \
+ salsa20-0.10.2 \
+ same-file-1.0.6 \
+ saturating-0.1.0 \
+ scc-2.4.0 \
+ schannel-0.1.28 \
+ scheduled-thread-pool-0.2.7 \
+ schemars-0.8.22 \
+ schemars-0.9.0 \
+ schemars-1.0.4 \
+ schemars_derive-0.8.22 \
+ scopeguard-1.2.0 \
+ scrypt-0.11.0 \
+ sct-0.7.1 \
+ sdd-3.0.10 \
+ sec1-0.7.3 \
+ secrecy-0.8.0 \
+ security-framework-2.11.1 \
+ security-framework-3.5.1 \
+ security-framework-sys-2.15.0 \
+ semver-0.9.0 \
+ semver-1.0.27 \
+ semver-parser-0.7.0 \
+ sequoia-openpgp-2.0.0 \
+ serde-1.0.228 \
+ serde_bytes-0.11.19 \
+ serde_core-1.0.228 \
+ serde_derive-1.0.228 \
+ serde_derive_internals-0.29.1 \
+ serde_json-1.0.145 \
+ serde_nanos-0.1.4 \
+ serde_qs-0.8.5 \
+ serde_repr-0.1.20 \
+ serde_urlencoded-0.7.1 \
+ serde_with-1.14.0 \
+ serde_with-3.14.1 \
+ serde_with_macros-1.5.2 \
+ serde_with_macros-3.14.1 \
+ serde_yaml-0.9.34+deprecated \
+ serial_test-3.2.0 \
+ serial_test_derive-3.2.0 \
+ sha-1-0.9.8 \
+ sha1-0.10.6 \
+ sha1_smol-1.0.1 \
+ sha1collisiondetection-0.3.4 \
+ sha2-0.9.9 \
+ sha2-0.10.9 \
+ sha3-0.10.8 \
+ sharded-slab-0.1.7 \
+ shellexpand-3.1.1 \
+ shlex-1.3.0 \
+ sieve-rs-0.7.0 \
+ signal-hook-registry-1.4.6 \
+ signatory-0.27.1 \
+ signature-2.2.0 \
+ simd-adler32-0.3.7 \
+ simdutf8-0.1.5 \
+ siphasher-1.0.1 \
+ slab-0.4.11 \
+ smallvec-1.15.1 \
+ smtp-proto-0.2.0 \
+ snafu-0.7.5 \
+ snafu-derive-0.7.5 \
+ socket2-0.5.10 \
+ socket2-0.6.0 \
+ spin-0.5.2 \
+ spin-0.9.8 \
+ spin-0.10.0 \
+ spki-0.7.3 \
+ stable_deref_trait-1.2.0 \
+ static_assertions-1.1.0 \
+ string_cache-0.8.9 \
+ stringprep-0.1.5 \
+ strsim-0.10.0 \
+ strsim-0.11.1 \
+ subtle-2.6.1 \
+ syn-1.0.109 \
+ syn-2.0.106 \
+ sync_wrapper-0.1.2 \
+ sync_wrapper-1.0.2 \
+ synstructure-0.12.6 \
+ synstructure-0.13.2 \
+ system-configuration-0.5.1 \
+ system-configuration-sys-0.5.0 \
+ tagptr-0.2.0 \
+ tap-1.0.1 \
+ term-0.7.0 \
+ termcolor-1.4.1 \
+ thiserror-1.0.69 \
+ thiserror-2.0.17 \
+ thiserror-impl-1.0.69 \
+ thiserror-impl-2.0.17 \
+ thread_local-1.1.9 \
+ time-0.3.44 \
+ time-core-0.1.6 \
+ time-macros-0.2.24 \
+ tiny-keccak-2.0.2 \
+ tinystr-0.8.1 \
+ tinyvec-1.10.0 \
+ tinyvec_macros-0.1.1 \
+ tls-listener-0.11.0 \
+ token-cell-2.0.0 \
+ tokio-1.47.1 \
+ tokio-macros-2.5.0 \
+ tokio-postgres-0.7.14 \
+ tokio-rustls-0.24.1 \
+ tokio-rustls-0.26.4 \
+ tokio-stream-0.1.17 \
+ tokio-tungstenite-0.28.0 \
+ tokio-util-0.7.16 \
+ tokio-websockets-0.10.1 \
+ toml_datetime-0.7.2 \
+ toml_edit-0.23.6 \
+ toml_parser-1.0.3 \
+ tonic-0.12.3 \
+ totp-rs-5.7.0 \
+ tower-0.4.13 \
+ tower-0.5.2 \
+ tower-http-0.6.6 \
+ tower-layer-0.3.3 \
+ tower-service-0.3.3 \
+ tracing-0.1.41 \
+ tracing-attributes-0.1.30 \
+ tracing-core-0.1.34 \
+ tracing-log-0.2.0 \
+ tracing-serde-0.2.0 \
+ tracing-subscriber-0.3.20 \
+ try-lock-0.2.5 \
+ try_map-0.3.1 \
+ tryhard-0.5.2 \
+ tungstenite-0.28.0 \
+ twofish-0.7.1 \
+ twox-hash-2.1.2 \
+ typenum-1.18.0 \
+ typewit-1.14.2 \
+ typewit_proc_macros-1.8.1 \
+ ucd-trie-0.1.7 \
+ uhlc-0.8.1 \
+ unicase-2.8.1 \
+ unicode-bidi-0.3.18 \
+ unicode-ident-1.0.19 \
+ unicode-normalization-0.1.24 \
+ unicode-properties-0.1.3 \
+ unicode-script-0.5.7 \
+ unicode-security-0.1.2 \
+ unicode-width-0.1.14 \
+ unicode-width-0.2.1 \
+ unicode-xid-0.2.6 \
+ universal-hash-0.5.1 \
+ unsafe-libyaml-0.2.11 \
+ untrusted-0.7.1 \
+ untrusted-0.9.0 \
+ unty-0.0.4 \
+ unzip-n-0.1.2 \
+ url-2.5.7 \
+ urlencoding-2.1.3 \
+ utf-8-0.7.6 \
+ utf8_iter-1.0.4 \
+ utf8parse-0.2.2 \
+ uuid-1.18.1 \
+ validated_struct-2.2.0 \
+ validated_struct_macros-2.2.0 \
+ valuable-0.1.1 \
+ vcpkg-0.2.15 \
+ vec_map-0.8.2 \
+ version_check-0.9.5 \
+ virtue-0.0.18 \
+ void-1.0.2 \
+ waker-fn-1.2.0 \
+ walkdir-2.5.0 \
+ want-0.3.1 \
+ wasi-0.9.0+wasi-snapshot-preview1 \
+ wasi-0.11.1+wasi-snapshot-preview1 \
+ wasi-0.14.7+wasi-0.2.4 \
+ wasip2-1.0.1+wasi-0.2.4 \
+ wasite-0.1.0 \
+ wasm-bindgen-0.2.104 \
+ wasm-bindgen-backend-0.2.104 \
+ wasm-bindgen-futures-0.4.54 \
+ wasm-bindgen-macro-0.2.104 \
+ wasm-bindgen-macro-support-0.2.104 \
+ wasm-bindgen-shared-0.2.104 \
+ wasm-streams-0.4.2 \
+ web-sys-0.3.81 \
+ web-time-1.1.0 \
+ webpki-root-certs-1.0.2 \
+ webpki-roots-0.25.4 \
+ webpki-roots-0.26.11 \
+ webpki-roots-1.0.2 \
+ whatlang-0.16.4 \
+ whoami-1.6.1 \
+ widestring-1.2.0 \
+ winapi-0.3.9 \
+ winapi-i686-pc-windows-gnu-0.4.0 \
+ winapi-util-0.1.11 \
+ winapi-x86_64-pc-windows-gnu-0.4.0 \
+ windows-core-0.62.1 \
+ windows-implement-0.60.1 \
+ windows-interface-0.59.2 \
+ windows-link-0.1.3 \
+ windows-link-0.2.0 \
+ windows-result-0.4.0 \
+ windows-strings-0.5.0 \
+ windows-sys-0.45.0 \
+ windows-sys-0.48.0 \
+ windows-sys-0.52.0 \
+ windows-sys-0.59.0 \
+ windows-sys-0.60.2 \
+ windows-sys-0.61.1 \
+ windows-targets-0.42.2 \
+ windows-targets-0.48.5 \
+ windows-targets-0.52.6 \
+ windows-targets-0.53.4 \
+ windows_aarch64_gnullvm-0.42.2 \
+ windows_aarch64_gnullvm-0.48.5 \
+ windows_aarch64_gnullvm-0.52.6 \
+ windows_aarch64_gnullvm-0.53.0 \
+ windows_aarch64_msvc-0.42.2 \
+ windows_aarch64_msvc-0.48.5 \
+ windows_aarch64_msvc-0.52.6 \
+ windows_aarch64_msvc-0.53.0 \
+ windows_i686_gnu-0.42.2 \
+ windows_i686_gnu-0.48.5 \
+ windows_i686_gnu-0.52.6 \
+ windows_i686_gnu-0.53.0 \
+ windows_i686_gnullvm-0.52.6 \
+ windows_i686_gnullvm-0.53.0 \
+ windows_i686_msvc-0.42.2 \
+ windows_i686_msvc-0.48.5 \
+ windows_i686_msvc-0.52.6 \
+ windows_i686_msvc-0.53.0 \
+ windows_x86_64_gnu-0.42.2 \
+ windows_x86_64_gnu-0.48.5 \
+ windows_x86_64_gnu-0.52.6 \
+ windows_x86_64_gnu-0.53.0 \
+ windows_x86_64_gnullvm-0.42.2 \
+ windows_x86_64_gnullvm-0.48.5 \
+ windows_x86_64_gnullvm-0.52.6 \
+ windows_x86_64_gnullvm-0.53.0 \
+ windows_x86_64_msvc-0.42.2 \
+ windows_x86_64_msvc-0.48.5 \
+ windows_x86_64_msvc-0.52.6 \
+ windows_x86_64_msvc-0.53.0 \
+ winnow-0.7.13 \
+ winreg-0.50.0 \
+ wit-bindgen-0.46.0 \
+ writeable-0.6.1 \
+ wyz-0.5.1 \
+ x25519-dalek-2.0.1 \
+ x509-parser-0.15.1 \
+ x509-parser-0.16.0 \
+ x509-parser-0.17.0 \
+ xml-rs-0.8.27 \
+ xxhash-rust-0.8.15 \
+ yasna-0.5.2 \
+ yoke-0.8.0 \
+ yoke-derive-0.8.0 \
+ zenoh-1.5.1 \
+ zenoh-buffers-1.5.1 \
+ zenoh-codec-1.5.1 \
+ zenoh-collections-1.5.1 \
+ zenoh-config-1.5.1 \
+ zenoh-core-1.5.1 \
+ zenoh-crypto-1.5.1 \
+ zenoh-keyexpr-1.5.1 \
+ zenoh-link-1.5.1 \
+ zenoh-link-commons-1.5.1 \
+ zenoh-link-quic-1.5.1 \
+ zenoh-link-tcp-1.5.1 \
+ zenoh-link-tls-1.5.1 \
+ zenoh-link-udp-1.5.1 \
+ zenoh-macros-1.5.1 \
+ zenoh-plugin-trait-1.5.1 \
+ zenoh-protocol-1.5.1 \
+ zenoh-result-1.5.1 \
+ zenoh-runtime-1.5.1 \
+ zenoh-sync-1.5.1 \
+ zenoh-task-1.5.1 \
+ zenoh-transport-1.5.1 \
+ zenoh-util-1.5.1 \
+ zerocopy-0.8.27 \
+ zerocopy-derive-0.8.27 \
+ zerofrom-0.1.6 \
+ zerofrom-derive-0.1.6 \
+ zeroize-1.8.1 \
+ zeroize_derive-1.4.2 \
+ zerotrie-0.2.2 \
+ zerovec-0.11.4 \
+ zerovec-derive-0.11.1 \
+ zip-4.6.1 \
+ zip-5.1.1 \
+ zlib-rs-0.5.2 \
+ zopfli-0.8.2 \
+ zstd-0.13.3 \
+ zstd-safe-7.2.4 \
+ zstd-sys-2.0.16+zstd.1.5.7
diff --git a/mail/stalwart/distinfo b/mail/stalwart/distinfo
new file mode 100644
index 000000000000..0b512d76051f
--- /dev/null
+++ b/mail/stalwart/distinfo
@@ -0,0 +1,1785 @@
+TIMESTAMP = 1761088551
+SHA256 (rust/crates/RustyXML-0.3.0.crate) = 8b5ace29ee3216de37c0546865ad08edef58b0f9e76838ed8959a84a990e58c5
+SIZE (rust/crates/RustyXML-0.3.0.crate) = 17517
+SHA256 (rust/crates/addr2line-0.25.1.crate) = 1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b
+SIZE (rust/crates/addr2line-0.25.1.crate) = 43134
+SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
+SIZE (rust/crates/adler2-2.0.1.crate) = 13366
+SHA256 (rust/crates/adler32-1.2.0.crate) = aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234
+SIZE (rust/crates/adler32-1.2.0.crate) = 6411
+SHA256 (rust/crates/aead-0.5.2.crate) = d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0
+SIZE (rust/crates/aead-0.5.2.crate) = 15509
+SHA256 (rust/crates/aes-0.8.4.crate) = b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0
+SIZE (rust/crates/aes-0.8.4.crate) = 124812
+SHA256 (rust/crates/aes-gcm-0.10.3.crate) = 831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1
+SIZE (rust/crates/aes-gcm-0.10.3.crate) = 148991
+SHA256 (rust/crates/aes-gcm-siv-0.11.1.crate) = ae0784134ba9375416d469ec31e7c5f9fa94405049cf08c5ce5b4698be673e0d
+SIZE (rust/crates/aes-gcm-siv-0.11.1.crate) = 26633
+SHA256 (rust/crates/ahash-0.8.12.crate) = 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75
+SIZE (rust/crates/ahash-0.8.12.crate) = 43413
+SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
+SIZE (rust/crates/aho-corasick-1.1.3.crate) = 183311
+SHA256 (rust/crates/allocator-api2-0.2.21.crate) = 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923
+SIZE (rust/crates/allocator-api2-0.2.21.crate) = 63622
+SHA256 (rust/crates/android_system_properties-0.1.5.crate) = 819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311
+SIZE (rust/crates/android_system_properties-0.1.5.crate) = 5243
+SHA256 (rust/crates/anstream-0.6.20.crate) = 3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192
+SIZE (rust/crates/anstream-0.6.20.crate) = 28797
+SHA256 (rust/crates/anstyle-1.0.12.crate) = c900954614442c827787a2ffcd8c0602eb53ff7b95a8fbfcdaf5e406197bf3be
+SIZE (rust/crates/anstyle-1.0.12.crate) = 17667
+SHA256 (rust/crates/anstyle-parse-0.2.7.crate) = 4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
+SIZE (rust/crates/anstyle-parse-0.2.7.crate) = 21707
+SHA256 (rust/crates/anstyle-query-1.1.4.crate) = 9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2
+SIZE (rust/crates/anstyle-query-1.1.4.crate) = 10192
+SHA256 (rust/crates/anstyle-wincon-3.0.10.crate) = 3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a
+SIZE (rust/crates/anstyle-wincon-3.0.10.crate) = 12558
+SHA256 (rust/crates/anyhow-1.0.100.crate) = a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61
+SIZE (rust/crates/anyhow-1.0.100.crate) = 54059
+SHA256 (rust/crates/arbitrary-1.4.2.crate) = c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1
+SIZE (rust/crates/arbitrary-1.4.2.crate) = 38307
+SHA256 (rust/crates/arc-swap-1.7.1.crate) = 69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457
+SIZE (rust/crates/arc-swap-1.7.1.crate) = 68512
+SHA256 (rust/crates/argon2-0.5.3.crate) = 3c3610892ee6e0cbce8ae2700349fcf8f98adb0dbfbee85aec3c9179d29cc072
+SIZE (rust/crates/argon2-0.5.3.crate) = 28795
+SHA256 (rust/crates/array-init-2.1.0.crate) = 3d62b7694a562cdf5a74227903507c56ab2cc8bdd1f781ed5cb4cf9c9f810bfc
+SIZE (rust/crates/array-init-2.1.0.crate) = 11927
+SHA256 (rust/crates/arrayref-0.3.9.crate) = 76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb
+SIZE (rust/crates/arrayref-0.3.9.crate) = 9186
+SHA256 (rust/crates/arrayvec-0.7.6.crate) = 7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50
+SIZE (rust/crates/arrayvec-0.7.6.crate) = 31237
+SHA256 (rust/crates/ascii-canvas-3.0.0.crate) = 8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6
+SIZE (rust/crates/ascii-canvas-3.0.0.crate) = 10575
+SHA256 (rust/crates/asn1-rs-0.5.2.crate) = 7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0
+SIZE (rust/crates/asn1-rs-0.5.2.crate) = 82934
+SHA256 (rust/crates/asn1-rs-0.6.2.crate) = 5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048
+SIZE (rust/crates/asn1-rs-0.6.2.crate) = 90647
+SHA256 (rust/crates/asn1-rs-0.7.1.crate) = 56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60
+SIZE (rust/crates/asn1-rs-0.7.1.crate) = 92118
+SHA256 (rust/crates/asn1-rs-derive-0.4.0.crate) = 726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c
+SIZE (rust/crates/asn1-rs-derive-0.4.0.crate) = 5220
+SHA256 (rust/crates/asn1-rs-derive-0.5.1.crate) = 965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490
+SIZE (rust/crates/asn1-rs-derive-0.5.1.crate) = 9692
+SHA256 (rust/crates/asn1-rs-derive-0.6.0.crate) = 3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c
+SIZE (rust/crates/asn1-rs-derive-0.6.0.crate) = 11337
+SHA256 (rust/crates/asn1-rs-impl-0.1.0.crate) = 2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed
+SIZE (rust/crates/asn1-rs-impl-0.1.0.crate) = 2256
+SHA256 (rust/crates/asn1-rs-impl-0.2.0.crate) = 7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7
+SIZE (rust/crates/asn1-rs-impl-0.2.0.crate) = 2261
+SHA256 (rust/crates/async-channel-1.9.0.crate) = 81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35
+SIZE (rust/crates/async-channel-1.9.0.crate) = 13664
+SHA256 (rust/crates/async-compression-0.4.32.crate) = 5a89bce6054c720275ac2432fbba080a66a2106a44a1b804553930ca6909f4e0
+SIZE (rust/crates/async-compression-0.4.32.crate) = 98949
+SHA256 (rust/crates/async-lock-3.4.1.crate) = 5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc
+SIZE (rust/crates/async-lock-3.4.1.crate) = 40981
+SHA256 (rust/crates/async-nats-0.42.0.crate) = 08f6da6d49a956424ca4e28fe93656f790d748b469eaccbc7488fec545315180
+SIZE (rust/crates/async-nats-0.42.0.crate) = 320970
+SHA256 (rust/crates/async-recursion-1.1.1.crate) = 3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11
+SIZE (rust/crates/async-recursion-1.1.1.crate) = 14874
+SHA256 (rust/crates/async-stream-0.3.6.crate) = 0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476
+SIZE (rust/crates/async-stream-0.3.6.crate) = 13823
+SHA256 (rust/crates/async-stream-impl-0.3.6.crate) = c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d
+SIZE (rust/crates/async-stream-impl-0.3.6.crate) = 4312
+SHA256 (rust/crates/async-trait-0.1.89.crate) = 9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb
+SIZE (rust/crates/async-trait-0.1.89.crate) = 32171
+SHA256 (rust/crates/atomic-waker-1.1.2.crate) = 1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0
+SIZE (rust/crates/atomic-waker-1.1.2.crate) = 12422
+SHA256 (rust/crates/attohttpc-0.28.5.crate) = 07a9b245ba0739fc90935094c29adbaee3f977218b5fb95e822e261cda7f56a3
+SIZE (rust/crates/attohttpc-0.28.5.crate) = 62117
+SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8
+SIZE (rust/crates/autocfg-1.5.0.crate) = 18729
+SHA256 (rust/crates/aws-creds-0.37.0.crate) = 7f84143206b9c72b3c5cb65415de60c7539c79cd1559290fddec657939131be0
+SIZE (rust/crates/aws-creds-0.37.0.crate) = 6130
+SHA256 (rust/crates/aws-region-0.25.5.crate) = e9aed3f9c7eac9be28662fdb3b0f4d1951e812f7c64fed4f0327ba702f459b3b
+SIZE (rust/crates/aws-region-0.25.5.crate) = 3987
+SHA256 (rust/crates/azure_core-0.21.0.crate) = 7b552ad43a45a746461ec3d3a51dfb6466b4759209414b439c165eb6a6b7729e
+SIZE (rust/crates/azure_core-0.21.0.crate) = 50658
+SHA256 (rust/crates/azure_storage-0.21.0.crate) = 59f838159f4d29cb400a14d9d757578ba495ae64feb07a7516bf9e4415127126
+SIZE (rust/crates/azure_storage-0.21.0.crate) = 21224
+SHA256 (rust/crates/azure_storage_blobs-0.21.0.crate) = 97e83c3636ae86d9a6a7962b2112e3b19eb3903915c50ce06ff54ff0a2e6a7e4
+SIZE (rust/crates/azure_storage_blobs-0.21.0.crate) = 69676
+SHA256 (rust/crates/azure_svc_blobstorage-0.21.0.crate) = 4e6c6f20c5611b885ba94c7bae5e02849a267381aecb8aee577e8c35ff4064c6
+SIZE (rust/crates/azure_svc_blobstorage-0.21.0.crate) = 374140
+SHA256 (rust/crates/backtrace-0.3.76.crate) = bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6
+SIZE (rust/crates/backtrace-0.3.76.crate) = 89458
+SHA256 (rust/crates/base16ct-0.2.0.crate) = 4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf
+SIZE (rust/crates/base16ct-0.2.0.crate) = 10240
+SHA256 (rust/crates/base32-0.5.1.crate) = 022dfe9eb35f19ebbcb51e0b40a5ab759f46ad60cadf7297e0bd085afb50e076
+SIZE (rust/crates/base32-0.5.1.crate) = 9238
+SHA256 (rust/crates/base64-0.11.0.crate) = b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7
+SIZE (rust/crates/base64-0.11.0.crate) = 48362
+SHA256 (rust/crates/base64-0.13.1.crate) = 9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8
+SIZE (rust/crates/base64-0.13.1.crate) = 61002
+SHA256 (rust/crates/base64-0.21.7.crate) = 9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567
+SIZE (rust/crates/base64-0.21.7.crate) = 82576
+SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6
+SIZE (rust/crates/base64-0.22.1.crate) = 81597
+SHA256 (rust/crates/base64ct-1.8.0.crate) = 55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba
+SIZE (rust/crates/base64ct-1.8.0.crate) = 31211
+SHA256 (rust/crates/bincode-1.3.3.crate) = b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad
+SIZE (rust/crates/bincode-1.3.3.crate) = 28958
+SHA256 (rust/crates/bincode-2.0.1.crate) = 36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740
+SIZE (rust/crates/bincode-2.0.1.crate) = 70469
+SHA256 (rust/crates/bincode_derive-2.0.1.crate) = bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09
+SIZE (rust/crates/bincode_derive-2.0.1.crate) = 7404
+SHA256 (rust/crates/bindgen-0.70.1.crate) = f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f
+SIZE (rust/crates/bindgen-0.70.1.crate) = 226363
+SHA256 (rust/crates/bindgen-0.72.1.crate) = 993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895
+SIZE (rust/crates/bindgen-0.72.1.crate) = 246071
+SHA256 (rust/crates/biscuit-0.7.0.crate) = 7e28fc7c56c61743a01d0d1b73e4fed68b8a4f032ea3a2d4bb8c6520a33fc05a
+SIZE (rust/crates/biscuit-0.7.0.crate) = 73064
+SHA256 (rust/crates/bit-set-0.5.3.crate) = 0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1
+SIZE (rust/crates/bit-set-0.5.3.crate) = 14470
+SHA256 (rust/crates/bit-set-0.8.0.crate) = 08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3
+SIZE (rust/crates/bit-set-0.8.0.crate) = 16289
+SHA256 (rust/crates/bit-vec-0.6.3.crate) = 349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb
+SIZE (rust/crates/bit-vec-0.6.3.crate) = 19927
+SHA256 (rust/crates/bit-vec-0.8.0.crate) = 5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7
+SIZE (rust/crates/bit-vec-0.8.0.crate) = 24132
+SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
+SIZE (rust/crates/bitflags-1.3.2.crate) = 23021
+SHA256 (rust/crates/bitflags-2.9.4.crate) = 2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394
+SIZE (rust/crates/bitflags-2.9.4.crate) = 47950
+SHA256 (rust/crates/bitpacking-0.9.2.crate) = 4c1d3e2bfd8d06048a179f7b17afc3188effa10385e7b00dc65af6aae732ea92
+SIZE (rust/crates/bitpacking-0.9.2.crate) = 23049
+SHA256 (rust/crates/bitvec-1.0.1.crate) = 1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c
+SIZE (rust/crates/bitvec-1.0.1.crate) = 224375
+SHA256 (rust/crates/bitvec-nom2-0.2.1.crate) = d988fcc40055ceaa85edc55875a08f8abd29018582647fd82ad6128dba14a5f0
+SIZE (rust/crates/bitvec-nom2-0.2.1.crate) = 6875
+SHA256 (rust/crates/blake2-0.10.6.crate) = 46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe
+SIZE (rust/crates/blake2-0.10.6.crate) = 47234
+SHA256 (rust/crates/blake3-1.8.2.crate) = 3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0
+SIZE (rust/crates/blake3-1.8.2.crate) = 205967
+SHA256 (rust/crates/block-buffer-0.9.0.crate) = 4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4
+SIZE (rust/crates/block-buffer-0.9.0.crate) = 7108
+SHA256 (rust/crates/block-buffer-0.10.4.crate) = 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71
+SIZE (rust/crates/block-buffer-0.10.4.crate) = 10538
+SHA256 (rust/crates/block-padding-0.3.3.crate) = a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93
+SIZE (rust/crates/block-padding-0.3.3.crate) = 8504
+SHA256 (rust/crates/blowfish-0.7.0.crate) = 32fa6a061124e37baba002e496d203e23ba3d7b73750be82dbfbc92913048a5b
+SIZE (rust/crates/blowfish-0.7.0.crate) = 16275
+SHA256 (rust/crates/blowfish-0.9.1.crate) = e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7
+SIZE (rust/crates/blowfish-0.9.1.crate) = 16734
+SHA256 (rust/crates/btoi-0.4.3.crate) = 9dd6407f73a9b8b6162d8a2ef999fe6afd7cc15902ebf42c5cd296addf17e0ad
+SIZE (rust/crates/btoi-0.4.3.crate) = 10007
+SHA256 (rust/crates/buffered-reader-1.4.0.crate) = db26bf1f092fd5e05b5ab3be2f290915aeb6f3f20c4e9f86ce0f07f336c2412f
+SIZE (rust/crates/buffered-reader-1.4.0.crate) = 64475
+SHA256 (rust/crates/bumpalo-3.19.0.crate) = 46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43
+SIZE (rust/crates/bumpalo-3.19.0.crate) = 96414
+SHA256 (rust/crates/bytecheck-0.8.2.crate) = 0caa33a2c0edca0419d15ac723dff03f1956f7978329b1e3b5fdaaaed9d3ca8b
+SIZE (rust/crates/bytecheck-0.8.2.crate) = 12642
+SHA256 (rust/crates/bytecheck_derive-0.8.2.crate) = 89385e82b5d1821d2219e0b095efa2cc1f246cbf99080f3be46a1a85c0d392d9
+SIZE (rust/crates/bytecheck_derive-0.8.2.crate) = 8933
+SHA256 (rust/crates/bytemuck-1.23.2.crate) = 3995eaeebcdf32f91f980d360f78732ddc061097ab4e39991ae7a6ace9194677
+SIZE (rust/crates/bytemuck-1.23.2.crate) = 53021
+SHA256 (rust/crates/byteorder-1.5.0.crate) = 1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b
+SIZE (rust/crates/byteorder-1.5.0.crate) = 23288
+SHA256 (rust/crates/bytes-1.10.1.crate) = d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a
+SIZE (rust/crates/bytes-1.10.1.crate) = 76779
+SHA256 (rust/crates/bzip2-0.6.0.crate) = bea8dcd42434048e4f7a304411d9273a411f647446c1234a65ce0554923f4cff
+SIZE (rust/crates/bzip2-0.6.0.crate) = 38148
+SHA256 (rust/crates/bzip2-sys-0.1.13+1.0.8.crate) = 225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14
+SIZE (rust/crates/bzip2-sys-0.1.13+1.0.8.crate) = 633818
+SHA256 (rust/crates/calcard-0.1.3.crate) = 720e412adf25f179f643b0753108cb308b812f82e1d34131c06b015c806e3f3c
+SIZE (rust/crates/calcard-0.1.3.crate) = 817223
+SHA256 (rust/crates/camellia-0.1.0.crate) = 3264e2574e9ef2b53ce6f536dea83a69ac0bc600b762d1523ff83fe07230ce30
+SIZE (rust/crates/camellia-0.1.0.crate) = 89085
+SHA256 (rust/crates/cast5-0.11.1.crate) = 26b07d673db1ccf000e90f54b819db9e75a8348d6eb056e9b8ab53231b7a9911
+SIZE (rust/crates/cast5-0.11.1.crate) = 37018
+SHA256 (rust/crates/castaway-0.2.4.crate) = dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a
+SIZE (rust/crates/castaway-0.2.4.crate) = 12546
+SHA256 (rust/crates/cbc-0.1.2.crate) = 26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6
+SIZE (rust/crates/cbc-0.1.2.crate) = 23501
+SHA256 (rust/crates/cc-1.2.39.crate) = e1354349954c6fc9cb0deab020f27f783cf0b604e8bb754dc4658ecf0d29c35f
+SIZE (rust/crates/cc-1.2.39.crate) = 90774
+SHA256 (rust/crates/cedarwood-0.4.6.crate) = 6d910bedd62c24733263d0bed247460853c9d22e8956bd4cd964302095e04e90
+SIZE (rust/crates/cedarwood-0.4.6.crate) = 12726
+SHA256 (rust/crates/cesu8-1.1.0.crate) = 6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c
+SIZE (rust/crates/cesu8-1.1.0.crate) = 10555
+SHA256 (rust/crates/cexpr-0.6.0.crate) = 6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766
+SIZE (rust/crates/cexpr-0.6.0.crate) = 17966
+SHA256 (rust/crates/cfb-0.7.3.crate) = d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f
+SIZE (rust/crates/cfb-0.7.3.crate) = 63277
+SHA256 (rust/crates/cfb-mode-0.8.2.crate) = 738b8d467867f80a71351933f70461f5b56f24d5c93e0cf216e59229c968d330
+SIZE (rust/crates/cfb-mode-0.8.2.crate) = 25334
+SHA256 (rust/crates/cfg-if-1.0.3.crate) = 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9
+SIZE (rust/crates/cfg-if-1.0.3.crate) = 8719
+SHA256 (rust/crates/cfg_aliases-0.2.1.crate) = 613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724
+SIZE (rust/crates/cfg_aliases-0.2.1.crate) = 6355
+SHA256 (rust/crates/chrono-0.4.42.crate) = 145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2
+SIZE (rust/crates/chrono-0.4.42.crate) = 238174
+SHA256 (rust/crates/chrono-tz-0.10.4.crate) = a6139a8597ed92cf816dfb33f5dd6cf0bb93a6adc938f11039f371bc5bcd26c3
+SIZE (rust/crates/chrono-tz-0.10.4.crate) = 794377
+SHA256 (rust/crates/cipher-0.2.5.crate) = 12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801
+SIZE (rust/crates/cipher-0.2.5.crate) = 13099
+SHA256 (rust/crates/cipher-0.4.4.crate) = 773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad
+SIZE (rust/crates/cipher-0.4.4.crate) = 19073
+SHA256 (rust/crates/clang-sys-1.8.1.crate) = 0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4
+SIZE (rust/crates/clang-sys-1.8.1.crate) = 44009
+SHA256 (rust/crates/clap-4.5.48.crate) = e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae
+SIZE (rust/crates/clap-4.5.48.crate) = 61935
+SHA256 (rust/crates/clap_builder-4.5.48.crate) = c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9
+SIZE (rust/crates/clap_builder-4.5.48.crate) = 170133
+SHA256 (rust/crates/clap_derive-4.5.47.crate) = bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c
+SIZE (rust/crates/clap_derive-4.5.47.crate) = 33550
+SHA256 (rust/crates/clap_lex-0.7.5.crate) = b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675
+SIZE (rust/crates/clap_lex-0.7.5.crate) = 13469
+SHA256 (rust/crates/cmac-0.7.2.crate) = 8543454e3c3f5126effff9cd44d562af4e31fb8ce1cc0d3dcd8f084515dbc1aa
+SIZE (rust/crates/cmac-0.7.2.crate) = 44847
+SHA256 (rust/crates/cmake-0.1.54.crate) = e7caa3f9de89ddbe2c607f4101924c5abec803763ae9534e4f4d7d8f84aa81f0
+SIZE (rust/crates/cmake-0.1.54.crate) = 18955
+SHA256 (rust/crates/colorchoice-1.0.4.crate) = b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75
+SIZE (rust/crates/colorchoice-1.0.4.crate) = 8196
+SHA256 (rust/crates/combine-4.6.7.crate) = ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd
+SIZE (rust/crates/combine-4.6.7.crate) = 134808
+SHA256 (rust/crates/compact_str-0.9.0.crate) = 3fdb1325a1cece981e8a296ab8f0f9b63ae357bd0784a9faaf548cc7b480707a
+SIZE (rust/crates/compact_str-0.9.0.crate) = 72135
+SHA256 (rust/crates/compression-codecs-0.4.31.crate) = ef8a506ec4b81c460798f572caead636d57d3d7e940f998160f52bd254bf2d23
+SIZE (rust/crates/compression-codecs-0.4.31.crate) = 22694
+SHA256 (rust/crates/compression-core-0.4.29.crate) = e47641d3deaf41fb1538ac1f54735925e275eaf3bf4d55c81b137fba797e5cbb
+SIZE (rust/crates/compression-core-0.4.29.crate) = 4321
+SHA256 (rust/crates/concurrent-queue-2.5.0.crate) = 4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973
+SIZE (rust/crates/concurrent-queue-2.5.0.crate) = 22654
+SHA256 (rust/crates/console-0.15.11.crate) = 054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8
+SIZE (rust/crates/console-0.15.11.crate) = 37822
+SHA256 (rust/crates/const-oid-0.9.6.crate) = c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8
+SIZE (rust/crates/const-oid-0.9.6.crate) = 45382
+SHA256 (rust/crates/const-random-0.1.18.crate) = 87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359
+SIZE (rust/crates/const-random-0.1.18.crate) = 6646
+SHA256 (rust/crates/const-random-macro-0.1.16.crate) = f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e
+SIZE (rust/crates/const-random-macro-0.1.16.crate) = 6657
+SHA256 (rust/crates/const_format-0.2.34.crate) = 126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd
+SIZE (rust/crates/const_format-0.2.34.crate) = 78068
+SHA256 (rust/crates/const_format_proc_macros-0.2.34.crate) = 1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744
+SIZE (rust/crates/const_format_proc_macros-0.2.34.crate) = 24396
+SHA256 (rust/crates/const_panic-0.2.15.crate) = e262cdaac42494e3ae34c43969f9cdeb7da178bdb4b66fa6a1ea2edb4c8ae652
+SIZE (rust/crates/const_panic-0.2.15.crate) = 54384
+SHA256 (rust/crates/constant_time_eq-0.3.1.crate) = 7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6
+SIZE (rust/crates/constant_time_eq-0.3.1.crate) = 11561
+SHA256 (rust/crates/core-foundation-0.9.4.crate) = 91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f
+SIZE (rust/crates/core-foundation-0.9.4.crate) = 27743
+SHA256 (rust/crates/core-foundation-0.10.1.crate) = b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6
+SIZE (rust/crates/core-foundation-0.10.1.crate) = 28886
+SHA256 (rust/crates/core-foundation-sys-0.8.7.crate) = 773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b
+SIZE (rust/crates/core-foundation-sys-0.8.7.crate) = 37712
+SHA256 (rust/crates/core2-0.4.0.crate) = b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505
+SIZE (rust/crates/core2-0.4.0.crate) = 37075
+SHA256 (rust/crates/cpufeatures-0.2.17.crate) = 59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280
+SIZE (rust/crates/cpufeatures-0.2.17.crate) = 13466
+SHA256 (rust/crates/crc-3.3.0.crate) = 9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675
+SIZE (rust/crates/crc-3.3.0.crate) = 13905
+SHA256 (rust/crates/crc-catalog-2.4.0.crate) = 19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5
+SIZE (rust/crates/crc-catalog-2.4.0.crate) = 10155
+SHA256 (rust/crates/crc16-0.4.0.crate) = 338089f42c427b86394a5ee60ff321da23a5c89c9d89514c829687b26359fcff
+SIZE (rust/crates/crc16-0.4.0.crate) = 9571
+SHA256 (rust/crates/crc32fast-1.5.0.crate) = 9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511
+SIZE (rust/crates/crc32fast-1.5.0.crate) = 40723
+SHA256 (rust/crates/critical-section-1.2.0.crate) = 790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b
+SIZE (rust/crates/critical-section-1.2.0.crate) = 19133
+SHA256 (rust/crates/crossbeam-0.8.4.crate) = 1137cd7e7fc0fb5d3c5a8678be38ec56e819125d8d7907411fe24ccb943faca8
+SIZE (rust/crates/crossbeam-0.8.4.crate) = 10500
+SHA256 (rust/crates/crossbeam-channel-0.5.15.crate) = 82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2
+SIZE (rust/crates/crossbeam-channel-0.5.15.crate) = 92716
+SHA256 (rust/crates/crossbeam-deque-0.8.6.crate) = 9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51
+SIZE (rust/crates/crossbeam-deque-0.8.6.crate) = 22471
+SHA256 (rust/crates/crossbeam-epoch-0.9.18.crate) = 5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e
+SIZE (rust/crates/crossbeam-epoch-0.9.18.crate) = 46875
+SHA256 (rust/crates/crossbeam-queue-0.3.12.crate) = 0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115
+SIZE (rust/crates/crossbeam-queue-0.3.12.crate) = 16270
+SHA256 (rust/crates/crossbeam-utils-0.8.21.crate) = d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28
+SIZE (rust/crates/crossbeam-utils-0.8.21.crate) = 42691
+SHA256 (rust/crates/crunchy-0.2.4.crate) = 460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5
+SIZE (rust/crates/crunchy-0.2.4.crate) = 3887
+SHA256 (rust/crates/crypto-bigint-0.5.5.crate) = 0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76
+SIZE (rust/crates/crypto-bigint-0.5.5.crate) = 83384
+SHA256 (rust/crates/crypto-common-0.1.6.crate) = 1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3
+SIZE (rust/crates/crypto-common-0.1.6.crate) = 8760
+SHA256 (rust/crates/crypto-mac-0.10.0.crate) = 4857fd85a0c34b3c3297875b747c1e02e06b6a0ea32dd892d8192b9ce0813ea6
+SIZE (rust/crates/crypto-mac-0.10.0.crate) = 9476
+SHA256 (rust/crates/csv-1.3.1.crate) = acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf
+SIZE (rust/crates/csv-1.3.1.crate) = 888542
+SHA256 (rust/crates/csv-core-0.1.12.crate) = 7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d
+SIZE (rust/crates/csv-core-0.1.12.crate) = 26298
+SHA256 (rust/crates/ctr-0.9.2.crate) = 0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835
+SIZE (rust/crates/ctr-0.9.2.crate) = 18344
+SHA256 (rust/crates/curve25519-dalek-4.1.3.crate) = 97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be
+SIZE (rust/crates/curve25519-dalek-4.1.3.crate) = 306017
+SHA256 (rust/crates/curve25519-dalek-derive-0.1.1.crate) = f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3
+SIZE (rust/crates/curve25519-dalek-derive-0.1.1.crate) = 11723
+SHA256 (rust/crates/darling-0.13.4.crate) = a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c
+SIZE (rust/crates/darling-0.13.4.crate) = 20895
+SHA256 (rust/crates/darling-0.20.11.crate) = fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee
+SIZE (rust/crates/darling-0.20.11.crate) = 37614
+SHA256 (rust/crates/darling-0.21.3.crate) = 9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0
+SIZE (rust/crates/darling-0.21.3.crate) = 41398
+SHA256 (rust/crates/darling_core-0.13.4.crate) = 859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610
+SIZE (rust/crates/darling_core-0.13.4.crate) = 52937
+SHA256 (rust/crates/darling_core-0.20.11.crate) = 0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e
+SIZE (rust/crates/darling_core-0.20.11.crate) = 68006
+SHA256 (rust/crates/darling_core-0.21.3.crate) = 1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4
+SIZE (rust/crates/darling_core-0.21.3.crate) = 74471
+SHA256 (rust/crates/darling_macro-0.13.4.crate) = 9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835
+SIZE (rust/crates/darling_macro-0.13.4.crate) = 1910
+SHA256 (rust/crates/darling_macro-0.20.11.crate) = fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead
+SIZE (rust/crates/darling_macro-0.20.11.crate) = 2532
+SHA256 (rust/crates/darling_macro-0.21.3.crate) = d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81
+SIZE (rust/crates/darling_macro-0.21.3.crate) = 2535
+SHA256 (rust/crates/dary_heap-0.3.8.crate) = 06d2e3287df1c007e74221c49ca10a95d557349e54b3a75dc2fb14712c751f04
+SIZE (rust/crates/dary_heap-0.3.8.crate) = 26544
+SHA256 (rust/crates/data-encoding-2.9.0.crate) = 2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476
+SIZE (rust/crates/data-encoding-2.9.0.crate) = 21564
+SHA256 (rust/crates/dbl-0.3.2.crate) = bd2735a791158376708f9347fe8faba9667589d82427ef3aed6794a8981de3d9
+SIZE (rust/crates/dbl-0.3.2.crate) = 6336
+SHA256 (rust/crates/deadpool-0.10.0.crate) = fb84100978c1c7b37f09ed3ce3e5f843af02c2a2c431bae5b19230dad2c1b490
+SIZE (rust/crates/deadpool-0.10.0.crate) = 31997
+SHA256 (rust/crates/deadpool-0.12.3.crate) = 0be2b1d1d6ec8d846f05e137292d0b89133caf95ef33695424c09568bdd39b1b
+SIZE (rust/crates/deadpool-0.12.3.crate) = 45380
+SHA256 (rust/crates/deadpool-postgres-0.14.1.crate) = 3d697d376cbfa018c23eb4caab1fd1883dd9c906a8c034e8d9a3cb06a7e0bef9
+SIZE (rust/crates/deadpool-postgres-0.14.1.crate) = 22351
+SHA256 (rust/crates/deadpool-runtime-0.1.4.crate) = 092966b41edc516079bdf31ec78a2e0588d1d0c08f78b91d8307215928642b2b
+SIZE (rust/crates/deadpool-runtime-0.1.4.crate) = 7664
+SHA256 (rust/crates/decancer-3.3.3.crate) = a9244323129647178bf41ac861a2cdb9d9c81b9b09d3d0d1de9cd302b33b8a1d
+SIZE (rust/crates/decancer-3.3.3.crate) = 69275
+SHA256 (rust/crates/deflate64-0.1.9.crate) = da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b
+SIZE (rust/crates/deflate64-0.1.9.crate) = 15104
+SHA256 (rust/crates/der-0.7.10.crate) = e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb
+SIZE (rust/crates/der-0.7.10.crate) = 90111
+SHA256 (rust/crates/der-parser-8.2.0.crate) = dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e
+SIZE (rust/crates/der-parser-8.2.0.crate) = 63495
+SHA256 (rust/crates/der-parser-9.0.0.crate) = 5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553
+SIZE (rust/crates/der-parser-9.0.0.crate) = 63191
+SHA256 (rust/crates/der-parser-10.0.0.crate) = 07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6
+SIZE (rust/crates/der-parser-10.0.0.crate) = 66186
+SHA256 (rust/crates/deranged-0.5.4.crate) = a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071
+SIZE (rust/crates/deranged-0.5.4.crate) = 24461
+SHA256 (rust/crates/derive_arbitrary-1.4.2.crate) = 1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a
+SIZE (rust/crates/derive_arbitrary-1.4.2.crate) = 12290
+SHA256 (rust/crates/des-0.8.1.crate) = ffdd80ce8ce993de27e9f063a444a4d53ce8e8db4c1f00cc03af5ad5a9867a1e
+SIZE (rust/crates/des-0.8.1.crate) = 38783
+SHA256 (rust/crates/digest-0.9.0.crate) = d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066
+SIZE (rust/crates/digest-0.9.0.crate) = 13247
+SHA256 (rust/crates/digest-0.10.7.crate) = 9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292
+SIZE (rust/crates/digest-0.10.7.crate) = 19557
+SHA256 (rust/crates/dirs-6.0.0.crate) = c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e
+SIZE (rust/crates/dirs-6.0.0.crate) = 14190
+SHA256 (rust/crates/dirs-next-2.0.0.crate) = b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1
+SIZE (rust/crates/dirs-next-2.0.0.crate) = 11689
+SHA256 (rust/crates/dirs-sys-0.5.0.crate) = e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab
+SIZE (rust/crates/dirs-sys-0.5.0.crate) = 10157
+SHA256 (rust/crates/dirs-sys-next-0.1.2.crate) = 4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d
+SIZE (rust/crates/dirs-sys-next-0.1.2.crate) = 10681
+SHA256 (rust/crates/displaydoc-0.2.5.crate) = 97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0
+SIZE (rust/crates/displaydoc-0.2.5.crate) = 24219
+SHA256 (rust/crates/dlv-list-0.5.2.crate) = 442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f
+SIZE (rust/crates/dlv-list-0.5.2.crate) = 22373
+SHA256 (rust/crates/dns-update-0.1.5.crate) = 42788b21a1231c646c46508c406db9bf628342a781c24888bf60e1a29396deb2
+SIZE (rust/crates/dns-update-0.1.5.crate) = 31606
+SHA256 (rust/crates/doc-comment-0.3.3.crate) = fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10
+SIZE (rust/crates/doc-comment-0.3.3.crate) = 4123
+SHA256 (rust/crates/dsa-0.6.3.crate) = 48bc224a9084ad760195584ce5abb3c2c34a225fa312a128ad245a6b412b7689
+SIZE (rust/crates/dsa-0.6.3.crate) = 25991
+SHA256 (rust/crates/dyn-clone-1.0.20.crate) = d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555
+SIZE (rust/crates/dyn-clone-1.0.20.crate) = 13134
+SHA256 (rust/crates/eax-0.5.0.crate) = 9954fabd903b82b9d7a68f65f97dc96dd9ad368e40ccc907a7c19d53e6bfac28
+SIZE (rust/crates/eax-0.5.0.crate) = 14882
+SHA256 (rust/crates/ecb-0.1.2.crate) = 1a8bfa975b1aec2145850fcaa1c6fe269a16578c44705a532ae3edc92b8881c7
+SIZE (rust/crates/ecb-0.1.2.crate) = 6210
+SHA256 (rust/crates/ecdsa-0.16.9.crate) = ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca
+SIZE (rust/crates/ecdsa-0.16.9.crate) = 31406
+SHA256 (rust/crates/ece-2.3.1.crate) = c2ea1d2f2cc974957a4e2575d8e5bb494549bab66338d6320c2789abcfff5746
+SIZE (rust/crates/ece-2.3.1.crate) = 29553
+SHA256 (rust/crates/ed25519-2.2.3.crate) = 115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53
+SIZE (rust/crates/ed25519-2.2.3.crate) = 17802
+SHA256 (rust/crates/ed25519-dalek-2.2.0.crate) = 70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9
+SIZE (rust/crates/ed25519-dalek-2.2.0.crate) = 98034
+SHA256 (rust/crates/either-1.15.0.crate) = 48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719
+SIZE (rust/crates/either-1.15.0.crate) = 20114
+SHA256 (rust/crates/elasticsearch-8.5.0-alpha.1.crate) = 40d9bd57d914cc66ce878f098f63ed7b5d5b64c30644a5adb950b008f874a6c6
+SIZE (rust/crates/elasticsearch-8.5.0-alpha.1.crate) = 235614
+SHA256 (rust/crates/elliptic-curve-0.13.8.crate) = b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47
+SIZE (rust/crates/elliptic-curve-0.13.8.crate) = 63198
+SHA256 (rust/crates/ena-0.14.3.crate) = 3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5
+SIZE (rust/crates/ena-0.14.3.crate) = 22986
+SHA256 (rust/crates/encode_unicode-1.0.0.crate) = 34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0
+SIZE (rust/crates/encode_unicode-1.0.0.crate) = 56986
+SHA256 (rust/crates/encoding_rs-0.8.35.crate) = 75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3
+SIZE (rust/crates/encoding_rs-0.8.35.crate) = 1381050
+SHA256 (rust/crates/endian-type-0.1.2.crate) = c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d
+SIZE (rust/crates/endian-type-0.1.2.crate) = 2340
+SHA256 (rust/crates/enum-as-inner-0.6.1.crate) = a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc
+SIZE (rust/crates/enum-as-inner-0.6.1.crate) = 12190
+SHA256 (rust/crates/equivalent-1.0.2.crate) = 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f
+SIZE (rust/crates/equivalent-1.0.2.crate) = 7419
+SHA256 (rust/crates/errno-0.3.14.crate) = 39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb
+SIZE (rust/crates/errno-0.3.14.crate) = 12002
+SHA256 (rust/crates/event-listener-2.5.3.crate) = 0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0
+SIZE (rust/crates/event-listener-2.5.3.crate) = 15392
+SHA256 (rust/crates/event-listener-5.4.1.crate) = e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab
+SIZE (rust/crates/event-listener-5.4.1.crate) = 43782
+SHA256 (rust/crates/event-listener-strategy-0.5.4.crate) = 8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93
+SIZE (rust/crates/event-listener-strategy-0.5.4.crate) = 16179
+SHA256 (rust/crates/fallible-iterator-0.2.0.crate) = 4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7
+SIZE (rust/crates/fallible-iterator-0.2.0.crate) = 18509
+SHA256 (rust/crates/fallible-iterator-0.3.0.crate) = 2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649
+SIZE (rust/crates/fallible-iterator-0.3.0.crate) = 19639
+SHA256 (rust/crates/fallible-streaming-iterator-0.1.9.crate) = 7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a
+SIZE (rust/crates/fallible-streaming-iterator-0.1.9.crate) = 9249
+SHA256 (rust/crates/fancy-regex-0.14.0.crate) = 6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298
+SIZE (rust/crates/fancy-regex-0.14.0.crate) = 86969
+SHA256 (rust/crates/farmhash-1.1.5.crate) = f35ce9c8fb9891c75ceadbc330752951a4e369b50af10775955aeb9af3eee34b
+SIZE (rust/crates/farmhash-1.1.5.crate) = 1822795
+SHA256 (rust/crates/fast-float-0.2.0.crate) = 95765f67b4b18863968b4a1bd5bb576f732b29a4a28c7cd84c09fa3e2875f33c
+SIZE (rust/crates/fast-float-0.2.0.crate) = 41609
+SHA256 (rust/crates/fastbloom-0.14.0.crate) = 18c1ddb9231d8554c2d6bdf4cfaabf0c59251658c68b6c95cd52dd0c513a912a
+SIZE (rust/crates/fastbloom-0.14.0.crate) = 23827
+SHA256 (rust/crates/fastrand-1.9.0.crate) = e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be
+SIZE (rust/crates/fastrand-1.9.0.crate) = 11910
+SHA256 (rust/crates/fastrand-2.3.0.crate) = 37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be
+SIZE (rust/crates/fastrand-2.3.0.crate) = 15076
+SHA256 (rust/crates/ff-0.13.1.crate) = c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393
+SIZE (rust/crates/ff-0.13.1.crate) = 18607
+SHA256 (rust/crates/fiat-crypto-0.2.9.crate) = 28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d
+SIZE (rust/crates/fiat-crypto-0.2.9.crate) = 495390
+SHA256 (rust/crates/find-msvc-tools-0.1.2.crate) = 1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959
+SIZE (rust/crates/find-msvc-tools-0.1.2.crate) = 30461
+SHA256 (rust/crates/fixedbitset-0.4.2.crate) = 0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80
+SIZE (rust/crates/fixedbitset-0.4.2.crate) = 15954
+SHA256 (rust/crates/flate2-1.1.2.crate) = 4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d
+SIZE (rust/crates/flate2-1.1.2.crate) = 76495
+SHA256 (rust/crates/flume-0.11.1.crate) = da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095
+SIZE (rust/crates/flume-0.11.1.crate) = 67947
+SHA256 (rust/crates/fnv-1.0.7.crate) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1
+SIZE (rust/crates/fnv-1.0.7.crate) = 11266
+SHA256 (rust/crates/foldhash-0.1.5.crate) = d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2
+SIZE (rust/crates/foldhash-0.1.5.crate) = 21901
+SHA256 (rust/crates/foreign-types-0.3.2.crate) = f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1
+SIZE (rust/crates/foreign-types-0.3.2.crate) = 7504
+SHA256 (rust/crates/foreign-types-shared-0.1.1.crate) = 00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b
+SIZE (rust/crates/foreign-types-shared-0.1.1.crate) = 5672
+SHA256 (rust/crates/form-data-0.6.0.crate) = 3757d8523a60f4d3516a018e767cd3bea0829a43045d290ace16dcc92ac4f4cd
+SIZE (rust/crates/form-data-0.6.0.crate) = 24817
+SHA256 (rust/crates/form_urlencoded-1.2.2.crate) = cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf
+SIZE (rust/crates/form_urlencoded-1.2.2.crate) = 9347
+SHA256 (rust/crates/foundationdb-0.9.2.crate) = 514aeffe12bbcf2f64a746793cc1c2602006c705d3fc6285df024303d008cccf
+SIZE (rust/crates/foundationdb-0.9.2.crate) = 81753
+SHA256 (rust/crates/foundationdb-gen-0.9.2.crate) = ef9d854866df33e1f4099769e2b9fa8bf8cf3bca707029ae6298d0e61bcae358
+SIZE (rust/crates/foundationdb-gen-0.9.2.crate) = 60584
+SHA256 (rust/crates/foundationdb-macros-0.3.2.crate) = 9be610412e5a92d89855fb15b099a57792b7dbdcf8ac74c5a0e24d9b7b1b6f7f
+SIZE (rust/crates/foundationdb-macros-0.3.2.crate) = 3565
+SHA256 (rust/crates/foundationdb-sys-0.9.1.crate) = 3bae14dba30b8dcc4905a9189ebb18bc9db9744ef0ad8f2b94ef00d21e176964
+SIZE (rust/crates/foundationdb-sys-0.9.1.crate) = 99244
+SHA256 (rust/crates/foundationdb-tuple-0.9.1.crate) = af1832c1fbe592de718893f7c3b48179a47757f8974d1498fece997454c2b0fa
+SIZE (rust/crates/foundationdb-tuple-0.9.1.crate) = 14730
+SHA256 (rust/crates/funty-2.0.0.crate) = e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c
+SIZE (rust/crates/funty-2.0.0.crate) = 13160
+SHA256 (rust/crates/futures-0.3.31.crate) = 65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876
+SIZE (rust/crates/futures-0.3.31.crate) = 54953
+SHA256 (rust/crates/futures-channel-0.3.31.crate) = 2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10
+SIZE (rust/crates/futures-channel-0.3.31.crate) = 31971
+SHA256 (rust/crates/futures-core-0.3.31.crate) = 05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e
+SIZE (rust/crates/futures-core-0.3.31.crate) = 14318
+SHA256 (rust/crates/futures-executor-0.3.31.crate) = 1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f
+SIZE (rust/crates/futures-executor-0.3.31.crate) = 17965
+SHA256 (rust/crates/futures-io-0.3.31.crate) = 9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6
+SIZE (rust/crates/futures-io-0.3.31.crate) = 9047
+SHA256 (rust/crates/futures-lite-1.13.0.crate) = 49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce
+SIZE (rust/crates/futures-lite-1.13.0.crate) = 37058
+SHA256 (rust/crates/futures-macro-0.3.31.crate) = 162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650
+SIZE (rust/crates/futures-macro-0.3.31.crate) = 11341
+SHA256 (rust/crates/futures-sink-0.3.31.crate) = e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7
+SIZE (rust/crates/futures-sink-0.3.31.crate) = 7958
+SHA256 (rust/crates/futures-task-0.3.31.crate) = f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988
+SIZE (rust/crates/futures-task-0.3.31.crate) = 11217
+SHA256 (rust/crates/futures-util-0.3.31.crate) = 9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81
+SIZE (rust/crates/futures-util-0.3.31.crate) = 162124
+SHA256 (rust/crates/generic-array-0.14.7.crate) = 85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a
+SIZE (rust/crates/generic-array-0.14.7.crate) = 15950
+SHA256 (rust/crates/generic-array-1.2.0.crate) = e8c8444bc9d71b935156cc0ccab7f622180808af7867b1daae6547d773591703
+SIZE (rust/crates/generic-array-1.2.0.crate) = 33886
+SHA256 (rust/crates/gethostname-1.0.2.crate) = fc257fdb4038301ce4b9cd1b3b51704509692bb3ff716a410cbd07925d9dae55
+SIZE (rust/crates/gethostname-1.0.2.crate) = 9914
+SHA256 (rust/crates/getrandom-0.1.16.crate) = 8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce
+SIZE (rust/crates/getrandom-0.1.16.crate) = 25077
+SHA256 (rust/crates/getrandom-0.2.16.crate) = 335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592
+SIZE (rust/crates/getrandom-0.2.16.crate) = 40163
+SHA256 (rust/crates/getrandom-0.3.3.crate) = 26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4
+SIZE (rust/crates/getrandom-0.3.3.crate) = 49493
+SHA256 (rust/crates/ghash-0.5.1.crate) = f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1
+SIZE (rust/crates/ghash-0.5.1.crate) = 9482
+SHA256 (rust/crates/gimli-0.32.3.crate) = e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7
+SIZE (rust/crates/gimli-0.32.3.crate) = 289789
+SHA256 (rust/crates/git-version-0.3.9.crate) = 1ad568aa3db0fcbc81f2f116137f263d7304f512a1209b35b85150d3ef88ad19
+SIZE (rust/crates/git-version-0.3.9.crate) = 3087
+SHA256 (rust/crates/git-version-macro-0.3.9.crate) = 53010ccb100b96a67bc32c0175f0ed1426b31b655d562898e57325f81c023ac0
+SIZE (rust/crates/git-version-macro-0.3.9.crate) = 5622
+SHA256 (rust/crates/glob-0.3.3.crate) = 0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280
+SIZE (rust/crates/glob-0.3.3.crate) = 22861
+SHA256 (rust/crates/group-0.13.0.crate) = f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63
+SIZE (rust/crates/group-0.13.0.crate) = 16526
+SHA256 (rust/crates/h2-0.3.27.crate) = 0beca50380b1fc32983fc1cb4587bfa4bb9e78fc259aad4a0032d2080309222d
+SIZE (rust/crates/h2-0.3.27.crate) = 169180
+SHA256 (rust/crates/h2-0.4.12.crate) = f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386
+SIZE (rust/crates/h2-0.4.12.crate) = 176264
+SHA256 (rust/crates/hashbrown-0.12.3.crate) = 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888
+SIZE (rust/crates/hashbrown-0.12.3.crate) = 102968
+SHA256 (rust/crates/hashbrown-0.14.5.crate) = e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1
+SIZE (rust/crates/hashbrown-0.14.5.crate) = 141498
+SHA256 (rust/crates/hashbrown-0.15.5.crate) = 9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1
+SIZE (rust/crates/hashbrown-0.15.5.crate) = 140908
+SHA256 (rust/crates/hashbrown-0.16.0.crate) = 5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d
+SIZE (rust/crates/hashbrown-0.16.0.crate) = 141708
+SHA256 (rust/crates/hashify-0.2.7.crate) = 149e3ea90eb5a26ad354cfe3cb7f7401b9329032d0235f2687d03a35f30e5d4c
+SIZE (rust/crates/hashify-0.2.7.crate) = 78732
+SHA256 (rust/crates/hashlink-0.10.0.crate) = 7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1
+SIZE (rust/crates/hashlink-0.10.0.crate) = 29402
+SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
+SIZE (rust/crates/heck-0.4.1.crate) = 11567
+SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
+SIZE (rust/crates/heck-0.5.0.crate) = 11517
+SHA256 (rust/crates/hermit-abi-0.5.2.crate) = fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c
+SIZE (rust/crates/hermit-abi-0.5.2.crate) = 17435
+SHA256 (rust/crates/hex-0.4.3.crate) = 7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70
+SIZE (rust/crates/hex-0.4.3.crate) = 13299
+SHA256 (rust/crates/hickory-client-0.24.4.crate) = 156579a5cd8d1fc6f0df87cc21b6ee870db978a163a1ba484acd98a4eff5a6de
+SIZE (rust/crates/hickory-client-0.24.4.crate) = 49394
+SHA256 (rust/crates/hickory-proto-0.24.4.crate) = 92652067c9ce6f66ce53cc38d1169daa36e6e7eb7dd3b63b5103bd9d97117248
+SIZE (rust/crates/hickory-proto-0.24.4.crate) = 383461
+SHA256 (rust/crates/hickory-proto-0.26.0-alpha.1.crate) = a62d7684f766b0f96344be88c023f9b6650039aea09d526b4974cce302eb61b1
+SIZE (rust/crates/hickory-proto-0.26.0-alpha.1.crate) = 414562
+SHA256 (rust/crates/hickory-resolver-0.26.0-alpha.1.crate) = bbab5e26a7f82341145ba1fbd1f1858d0490624fcc46270db2d3c4a101f763f4
+SIZE (rust/crates/hickory-resolver-0.26.0-alpha.1.crate) = 87957
+SHA256 (rust/crates/hkdf-0.12.4.crate) = 7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7
+SIZE (rust/crates/hkdf-0.12.4.crate) = 171163
+SHA256 (rust/crates/hmac-0.10.1.crate) = c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15
+SIZE (rust/crates/hmac-0.10.1.crate) = 11120
+SHA256 (rust/crates/hmac-0.12.1.crate) = 6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e
+SIZE (rust/crates/hmac-0.12.1.crate) = 42657
+SHA256 (rust/crates/home-0.5.11.crate) = 589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf
+SIZE (rust/crates/home-0.5.11.crate) = 9926
+SHA256 (rust/crates/hostname-0.4.1.crate) = a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65
+SIZE (rust/crates/hostname-0.4.1.crate) = 13819
+SHA256 (rust/crates/http-0.2.12.crate) = 601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1
+SIZE (rust/crates/http-0.2.12.crate) = 101964
+SHA256 (rust/crates/http-1.3.1.crate) = f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565
+SIZE (rust/crates/http-1.3.1.crate) = 106063
+SHA256 (rust/crates/http-body-0.4.6.crate) = 7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2
+SIZE (rust/crates/http-body-0.4.6.crate) = 10773
+SHA256 (rust/crates/http-body-1.0.1.crate) = 1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184
+SIZE (rust/crates/http-body-1.0.1.crate) = 6125
+SHA256 (rust/crates/http-body-util-0.1.3.crate) = b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a
+SIZE (rust/crates/http-body-util-0.1.3.crate) = 16975
+SHA256 (rust/crates/http-types-2.12.0.crate) = 6e9b187a72d63adbfba487f48095306ac823049cb504ee195541e91c7775f5ad
+SIZE (rust/crates/http-types-2.12.0.crate) = 1193808
+SHA256 (rust/crates/httparse-1.10.1.crate) = 6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87
+SIZE (rust/crates/httparse-1.10.1.crate) = 45190
+SHA256 (rust/crates/httpdate-1.0.3.crate) = df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9
+SIZE (rust/crates/httpdate-1.0.3.crate) = 10639
+SHA256 (rust/crates/human-size-0.4.3.crate) = 9994b79e8c1a39b3166c63ae7823bb2b00831e2a96a31399c50fe69df408eaeb
+SIZE (rust/crates/human-size-0.4.3.crate) = 14757
+SHA256 (rust/crates/humantime-2.3.0.crate) = 135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424
+SIZE (rust/crates/humantime-2.3.0.crate) = 23242
+SHA256 (rust/crates/hyper-0.14.32.crate) = 41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7
+SIZE (rust/crates/hyper-0.14.32.crate) = 199622
+SHA256 (rust/crates/hyper-1.7.0.crate) = eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e
+SIZE (rust/crates/hyper-1.7.0.crate) = 157006
+SHA256 (rust/crates/hyper-rustls-0.24.2.crate) = ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590
+SIZE (rust/crates/hyper-rustls-0.24.2.crate) = 30195
+SHA256 (rust/crates/hyper-rustls-0.27.7.crate) = e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58
+SIZE (rust/crates/hyper-rustls-0.27.7.crate) = 35435
+SHA256 (rust/crates/hyper-timeout-0.5.2.crate) = 2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0
+SIZE (rust/crates/hyper-timeout-0.5.2.crate) = 19222
+SHA256 (rust/crates/hyper-util-0.1.17.crate) = 3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8
+SIZE (rust/crates/hyper-util-0.1.17.crate) = 100999
+SHA256 (rust/crates/iana-time-zone-0.1.64.crate) = 33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb
+SIZE (rust/crates/iana-time-zone-0.1.64.crate) = 33152
+SHA256 (rust/crates/iana-time-zone-haiku-0.1.2.crate) = f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f
+SIZE (rust/crates/iana-time-zone-haiku-0.1.2.crate) = 7185
+SHA256 (rust/crates/icu_collections-2.0.0.crate) = 200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47
+SIZE (rust/crates/icu_collections-2.0.0.crate) = 83033
+SHA256 (rust/crates/icu_locale_core-2.0.0.crate) = 0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a
+SIZE (rust/crates/icu_locale_core-2.0.0.crate) = 74430
+SHA256 (rust/crates/icu_normalizer-2.0.0.crate) = 436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979
+SIZE (rust/crates/icu_normalizer-2.0.0.crate) = 61543
+SHA256 (rust/crates/icu_normalizer_data-2.0.0.crate) = 00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3
+SIZE (rust/crates/icu_normalizer_data-2.0.0.crate) = 68101
+SHA256 (rust/crates/icu_properties-2.0.1.crate) = 016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b
+SIZE (rust/crates/icu_properties-2.0.1.crate) = 58165
+SHA256 (rust/crates/icu_properties_data-2.0.1.crate) = 298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632
+SIZE (rust/crates/icu_properties_data-2.0.1.crate) = 159735
+SHA256 (rust/crates/icu_provider-2.0.0.crate) = 03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af
+SIZE (rust/crates/icu_provider-2.0.0.crate) = 50966
+SHA256 (rust/crates/idea-0.5.1.crate) = 075557004419d7f2031b8bb7f44bb43e55a83ca7b63076a8fb8fe75753836477
+SIZE (rust/crates/idea-0.5.1.crate) = 23243
+SHA256 (rust/crates/ident_case-1.0.1.crate) = b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39
+SIZE (rust/crates/ident_case-1.0.1.crate) = 3492
+SHA256 (rust/crates/idna-1.1.0.crate) = 3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de
+SIZE (rust/crates/idna-1.1.0.crate) = 148747
+SHA256 (rust/crates/idna_adapter-1.2.1.crate) = 3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344
+SIZE (rust/crates/idna_adapter-1.2.1.crate) = 10389
+SHA256 (rust/crates/imagesize-0.14.0.crate) = 09e54e57b4c48b40f7aec75635392b12b3421fa26fe8b4332e63138ed278459c
+SIZE (rust/crates/imagesize-0.14.0.crate) = 22706
+SHA256 (rust/crates/include-flate-0.3.1.crate) = e01b7cb6ca682a621e7cda1c358c9724b53a7b4409be9be1dd443b7f3a26f998
+SIZE (rust/crates/include-flate-0.3.1.crate) = 10464
+SHA256 (rust/crates/include-flate-codegen-0.3.1.crate) = 4f49bf5274aebe468d6e6eba14a977eaf1efa481dc173f361020de70c1c48050
+SIZE (rust/crates/include-flate-codegen-0.3.1.crate) = 5756
+SHA256 (rust/crates/include-flate-compress-0.3.1.crate) = eae6a40e716bcd5931f5dbb79cd921512a4f647e2e9413fded3171fca3824dbc
+SIZE (rust/crates/include-flate-compress-0.3.1.crate) = 4807
+SHA256 (rust/crates/indexmap-1.9.3.crate) = bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99
+SIZE (rust/crates/indexmap-1.9.3.crate) = 54653
+SHA256 (rust/crates/indexmap-2.11.4.crate) = 4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5
+SIZE (rust/crates/indexmap-2.11.4.crate) = 100302
+SHA256 (rust/crates/indicatif-0.17.11.crate) = 183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235
+SIZE (rust/crates/indicatif-0.17.11.crate) = 66577
+SHA256 (rust/crates/infer-0.2.3.crate) = 64e9829a50b42bb782c1df523f78d332fe371b10c661e78b7a3c34b0198e9fac
+SIZE (rust/crates/infer-0.2.3.crate) = 12401
+SHA256 (rust/crates/infer-0.19.0.crate) = a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7
+SIZE (rust/crates/infer-0.19.0.crate) = 19091
+SHA256 (rust/crates/inout-0.1.4.crate) = 879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01
+SIZE (rust/crates/inout-0.1.4.crate) = 11280
+SHA256 (rust/crates/instant-0.1.13.crate) = e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222
+SIZE (rust/crates/instant-0.1.13.crate) = 6305
+SHA256 (rust/crates/io-uring-0.7.10.crate) = 046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b
+SIZE (rust/crates/io-uring-0.7.10.crate) = 103070
+SHA256 (rust/crates/ipconfig-0.3.2.crate) = b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f
+SIZE (rust/crates/ipconfig-0.3.2.crate) = 24468
+SHA256 (rust/crates/ipnet-2.11.0.crate) = 469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130
+SIZE (rust/crates/ipnet-2.11.0.crate) = 29718
+SHA256 (rust/crates/ipnetwork-0.20.0.crate) = bf466541e9d546596ee94f9f69590f89473455f88372423e0008fc1a7daf100e
+SIZE (rust/crates/ipnetwork-0.20.0.crate) = 16556
+SHA256 (rust/crates/iri-string-0.7.8.crate) = dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2
+SIZE (rust/crates/iri-string-0.7.8.crate) = 141493
+SHA256 (rust/crates/is-terminal-0.4.16.crate) = e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9
+SIZE (rust/crates/is-terminal-0.4.16.crate) = 7811
+SHA256 (rust/crates/is_terminal_polyfill-1.70.1.crate) = 7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf
+SIZE (rust/crates/is_terminal_polyfill-1.70.1.crate) = 7492
+SHA256 (rust/crates/itertools-0.10.5.crate) = b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473
+SIZE (rust/crates/itertools-0.10.5.crate) = 115354
+SHA256 (rust/crates/itertools-0.11.0.crate) = b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57
+SIZE (rust/crates/itertools-0.11.0.crate) = 125074
+SHA256 (rust/crates/itertools-0.13.0.crate) = 413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186
+SIZE (rust/crates/itertools-0.13.0.crate) = 146261
+SHA256 (rust/crates/itertools-0.14.0.crate) = 2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285
+SIZE (rust/crates/itertools-0.14.0.crate) = 152715
+SHA256 (rust/crates/itoa-1.0.15.crate) = 4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c
+SIZE (rust/crates/itoa-1.0.15.crate) = 11231
+SHA256 (rust/crates/jemalloc-sys-0.5.4+5.3.0-patched.crate) = ac6c1946e1cea1788cbfde01c993b52a10e2da07f4bac608228d1bed20bfebf2
+SIZE (rust/crates/jemalloc-sys-0.5.4+5.3.0-patched.crate) = 884321
+SHA256 (rust/crates/jemallocator-0.5.4.crate) = a0de374a9f8e63150e6f5e8a60cc14c668226d7a347d8aee1a45766e3c4dd3bc
+SIZE (rust/crates/jemallocator-0.5.4.crate) = 13088
+SHA256 (rust/crates/jieba-macros-0.8.1.crate) = 348294e44ee7e3c42685da656490f8febc7359632544019621588902216da95c
+SIZE (rust/crates/jieba-macros-0.8.1.crate) = 204637
+SHA256 (rust/crates/jieba-rs-0.8.1.crate) = 766bd7012aa5ba49411ebdf4e93bddd59b182d2918e085d58dec5bb9b54b7105
+SIZE (rust/crates/jieba-rs-0.8.1.crate) = 4104466
+SHA256 (rust/crates/jmap-client-0.3.3.crate) = c99dea3753873e0017ea5eecc09b1f06ac6a96d180d1ff5c9f38be83b85eb1ee
+SIZE (rust/crates/jmap-client-0.3.3.crate) = 77910
+SHA256 (rust/crates/jmap-tools-0.1.2.crate) = 91222e1ff860c06e6a48a317b67ffe6012ae08d40a5e8c6bf75987ae7644b4b1
+SIZE (rust/crates/jmap-tools-0.1.2.crate) = 25915
+SHA256 (rust/crates/jni-0.21.1.crate) = 1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97
+SIZE (rust/crates/jni-0.21.1.crate) = 105028
+SHA256 (rust/crates/jni-sys-0.3.0.crate) = 8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130
+SIZE (rust/crates/jni-sys-0.3.0.crate) = 10232
+SHA256 (rust/crates/jobserver-0.1.34.crate) = 9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33
+SIZE (rust/crates/jobserver-0.1.34.crate) = 29013
+SHA256 (rust/crates/js-sys-0.3.81.crate) = ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305
+SIZE (rust/crates/js-sys-0.3.81.crate) = 56399
+SHA256 (rust/crates/json5-0.4.1.crate) = 96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1
+SIZE (rust/crates/json5-0.4.1.crate) = 15678
+SHA256 (rust/crates/keccak-0.1.5.crate) = ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654
+SIZE (rust/crates/keccak-0.1.5.crate) = 13120
+SHA256 (rust/crates/keyed-set-1.1.0.crate) = 89d255a6b6ecd77bb93ce91de984d7039bff7503f500eb4851a1269732f22baf
+SIZE (rust/crates/keyed-set-1.1.0.crate) = 5886
+SHA256 (rust/crates/keyed_priority_queue-0.4.2.crate) = 4ee7893dab2e44ae5f9d0173f26ff4aa327c10b01b06a72b52dd9405b628640d
+SIZE (rust/crates/keyed_priority_queue-0.4.2.crate) = 16016
+SHA256 (rust/crates/konst-0.3.16.crate) = 4381b9b00c55f251f2ebe9473aef7c117e96828def1a7cb3bd3f0f903c6894e9
+SIZE (rust/crates/konst-0.3.16.crate) = 89219
+SHA256 (rust/crates/konst_kernel-0.3.15.crate) = e4b1eb7788f3824c629b1116a7a9060d6e898c358ebff59070093d51103dcc3c
+SIZE (rust/crates/konst_kernel-0.3.15.crate) = 22461
+SHA256 (rust/crates/lalrpop-0.20.2.crate) = 55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca
+SIZE (rust/crates/lalrpop-0.20.2.crate) = 240370
+SHA256 (rust/crates/lalrpop-util-0.20.2.crate) = 507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553
+SIZE (rust/crates/lalrpop-util-0.20.2.crate) = 15064
+SHA256 (rust/crates/lazy_static-1.5.0.crate) = bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe
+SIZE (rust/crates/lazy_static-1.5.0.crate) = 14025
+SHA256 (rust/crates/lber-0.4.2.crate) = 2df7f9fd9f64cf8f59e1a4a0753fe7d575a5b38d3d7ac5758dcee9357d83ef0a
+SIZE (rust/crates/lber-0.4.2.crate) = 8107
+SHA256 (rust/crates/ldap3-0.11.5.crate) = 166199a8207874a275144c8a94ff6eed5fcbf5c52303e4d9b4d53a0c7ac76554
+SIZE (rust/crates/ldap3-0.11.5.crate) = 118725
+SHA256 (rust/crates/libbz2-rs-sys-0.2.2.crate) = 2c4a545a15244c7d945065b5d392b2d2d7f21526fba56ce51467b06ed445e8f7
+SIZE (rust/crates/libbz2-rs-sys-0.2.2.crate) = 50880
+SHA256 (rust/crates/libc-0.2.176.crate) = 58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174
+SIZE (rust/crates/libc-0.2.176.crate) = 790040
+SHA256 (rust/crates/libflate-2.1.0.crate) = 45d9dfdc14ea4ef0900c1cddbc8dcd553fbaacd8a4a282cf4018ae9dd04fb21e
+SIZE (rust/crates/libflate-2.1.0.crate) = 43366
+SHA256 (rust/crates/libflate_lz77-2.1.0.crate) = e6e0d73b369f386f1c44abd9c570d5318f55ccde816ff4b562fa452e5182863d
+SIZE (rust/crates/libflate_lz77-2.1.0.crate) = 5918
+SHA256 (rust/crates/libloading-0.8.9.crate) = d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55
+SIZE (rust/crates/libloading-0.8.9.crate) = 30222
+SHA256 (rust/crates/liblzma-0.4.5.crate) = 73c36d08cad03a3fbe2c4e7bb3a9e84c57e4ee4135ed0b065cade3d98480c648
+SIZE (rust/crates/liblzma-0.4.5.crate) = 36363
+SHA256 (rust/crates/liblzma-sys-0.4.4.crate) = 01b9596486f6d60c3bbe644c0e1be1aa6ccc472ad630fe8927b456973d7cb736
+SIZE (rust/crates/liblzma-sys-0.4.4.crate) = 1503677
+SHA256 (rust/crates/libm-0.2.15.crate) = f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de
+SIZE (rust/crates/libm-0.2.15.crate) = 156108
+SHA256 (rust/crates/libredox-0.1.10.crate) = 416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb
+SIZE (rust/crates/libredox-0.1.10.crate) = 7332
+SHA256 (rust/crates/librocksdb-sys-0.17.3+10.4.2.crate) = cef2a00ee60fe526157c9023edab23943fae1ce2ab6f4abb2a807c1746835de9
+SIZE (rust/crates/librocksdb-sys-0.17.3+10.4.2.crate) = 7074228
+SHA256 (rust/crates/libsqlite3-sys-0.35.0.crate) = 133c182a6a2c87864fe97778797e46c7e999672690dc9fa3ee8e241aa4a9c13f
+SIZE (rust/crates/libsqlite3-sys-0.35.0.crate) = 5200364
+SHA256 (rust/crates/libz-rs-sys-0.5.2.crate) = 840db8cf39d9ec4dd794376f38acc40d0fc65eec2a8f484f7fd375b84602becd
+SIZE (rust/crates/libz-rs-sys-0.5.2.crate) = 46524
+SHA256 (rust/crates/libz-sys-1.1.22.crate) = 8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d
+SIZE (rust/crates/libz-sys-1.1.22.crate) = 841053
+SHA256 (rust/crates/linked-hash-map-0.5.6.crate) = 0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f
+SIZE (rust/crates/linked-hash-map-0.5.6.crate) = 15049
+SHA256 (rust/crates/linux-raw-sys-0.11.0.crate) = df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039
+SIZE (rust/crates/linux-raw-sys-0.11.0.crate) = 2659624
+SHA256 (rust/crates/litemap-0.8.0.crate) = 241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956
+SIZE (rust/crates/litemap-0.8.0.crate) = 34344
+SHA256 (rust/crates/lock_api-0.4.13.crate) = 96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765
+SIZE (rust/crates/lock_api-0.4.13.crate) = 28565
+SHA256 (rust/crates/log-0.4.28.crate) = 34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432
+SIZE (rust/crates/log-0.4.28.crate) = 51131
+SHA256 (rust/crates/lru-0.14.0.crate) = 9f8cc7106155f10bdf99a6f379688f543ad6596a415375b36a59a054ceda1198
+SIZE (rust/crates/lru-0.14.0.crate) = 16345
+SHA256 (rust/crates/lru-cache-0.1.2.crate) = 31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c
+SIZE (rust/crates/lru-cache-0.1.2.crate) = 9307
+SHA256 (rust/crates/lru-slab-0.1.2.crate) = 112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154
+SIZE (rust/crates/lru-slab-0.1.2.crate) = 9090
+SHA256 (rust/crates/lz4-sys-1.11.1+lz4-1.10.0.crate) = 6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6
+SIZE (rust/crates/lz4-sys-1.11.1+lz4-1.10.0.crate) = 391317
+SHA256 (rust/crates/lz4_flex-0.11.5.crate) = 08ab2867e3eeeca90e844d1940eab391c9dc5228783db2ed999acbc0a9ed375a
+SIZE (rust/crates/lz4_flex-0.11.5.crate) = 41977
+SHA256 (rust/crates/lzma-rust2-0.13.0.crate) = c60a23ffb90d527e23192f1246b14746e2f7f071cb84476dd879071696c18a4a
+SIZE (rust/crates/lzma-rust2-0.13.0.crate) = 252392
+SHA256 (rust/crates/mail-auth-0.7.2.crate) = 94cf926be0f7007993709797fcb467b16b0d22acea729af7543c8b4eed5a8bb7
+SIZE (rust/crates/mail-auth-0.7.2.crate) = 170153
+SHA256 (rust/crates/mail-builder-0.4.4.crate) = 900998f307338c4013a28ab14d760b784067324b164448c6d98a89e44810473b
+SIZE (rust/crates/mail-builder-0.4.4.crate) = 25022
+SHA256 (rust/crates/mail-parser-0.11.1.crate) = dcf4390741c4e6fa330bdeccdfb580815dbb462952de91838b723357985119a3
+SIZE (rust/crates/mail-parser-0.11.1.crate) = 515768
+SHA256 (rust/crates/mail-send-0.5.2.crate) = 114a4e27f3cfaf8918783e8fa4149b820c813b1bedc7755e20e12eff4518331e
+SIZE (rust/crates/mail-send-0.5.2.crate) = 40391
+SHA256 (rust/crates/maplit-1.0.2.crate) = 3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d
+SIZE (rust/crates/maplit-1.0.2.crate) = 8871
+SHA256 (rust/crates/matchers-0.2.0.crate) = d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9
+SIZE (rust/crates/matchers-0.2.0.crate) = 7075
+SHA256 (rust/crates/maybe-async-0.2.10.crate) = 5cf92c10c7e361d6b99666ec1c6f9805b0bea2c3bd8c78dc6fe98ac5bd78db11
+SIZE (rust/crates/maybe-async-0.2.10.crate) = 22107
+SHA256 (rust/crates/md-5-0.9.1.crate) = 7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15
+SIZE (rust/crates/md-5-0.9.1.crate) = 15494
+SHA256 (rust/crates/md-5-0.10.6.crate) = d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf
+SIZE (rust/crates/md-5-0.10.6.crate) = 16161
+SHA256 (rust/crates/md5-0.7.0.crate) = 490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771
+SIZE (rust/crates/md5-0.7.0.crate) = 6671
+SHA256 (rust/crates/md5-0.8.0.crate) = ae960838283323069879657ca3de837e9f7bbb4c7bf6ea7f1b290d5e9476d2e0
+SIZE (rust/crates/md5-0.8.0.crate) = 6984
+SHA256 (rust/crates/memchr-2.7.6.crate) = f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273
+SIZE (rust/crates/memchr-2.7.6.crate) = 97616
+SHA256 (rust/crates/memory-stats-1.2.0.crate) = c73f5c649995a115e1a0220b35e4df0a1294500477f97a91d0660fb5abeb574a
+SIZE (rust/crates/memory-stats-1.2.0.crate) = 11060
+SHA256 (rust/crates/memsec-0.7.0.crate) = c797b9d6bb23aab2fc369c65f871be49214f5c759af65bde26ffaaa2b646b492
+SIZE (rust/crates/memsec-0.7.0.crate) = 6532
+SHA256 (rust/crates/mime-0.3.17.crate) = 6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a
+SIZE (rust/crates/mime-0.3.17.crate) = 15712
+SHA256 (rust/crates/mime_guess-2.0.5.crate) = f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e
+SIZE (rust/crates/mime_guess-2.0.5.crate) = 27166
+SHA256 (rust/crates/minimal-lexical-0.2.1.crate) = 68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a
+SIZE (rust/crates/minimal-lexical-0.2.1.crate) = 94841
+SHA256 (rust/crates/miniz_oxide-0.8.9.crate) = 1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316
+SIZE (rust/crates/miniz_oxide-0.8.9.crate) = 67132
+SHA256 (rust/crates/mio-1.0.4.crate) = 78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c
+SIZE (rust/crates/mio-1.0.4.crate) = 104212
+SHA256 (rust/crates/moka-0.12.11.crate) = 8261cd88c312e0004c1d51baad2980c66528dfdb2bee62003e643a4d8f86b077
+SIZE (rust/crates/moka-0.12.11.crate) = 257466
+SHA256 (rust/crates/munge-0.4.7.crate) = 5e17401f259eba956ca16491461b6e8f72913a0a114e39736ce404410f915a0c
+SIZE (rust/crates/munge-0.4.7.crate) = 12463
+SHA256 (rust/crates/munge_macro-0.4.7.crate) = 4568f25ccbd45ab5d5603dc34318c1ec56b117531781260002151b8530a9f931
+SIZE (rust/crates/munge_macro-0.4.7.crate) = 6090
+SHA256 (rust/crates/mysql-common-derive-0.32.1.crate) = 66f62cad7623a9cb6f8f64037f0c4f69c8db8e82914334a83c9788201c2c1bfa
+SIZE (rust/crates/mysql-common-derive-0.32.1.crate) = 15155
+SHA256 (rust/crates/mysql_async-0.36.1.crate) = 277ce2f2459b2af4cc6d0a0b7892381f80800832f57c533f03e2845f4ea331ea
+SIZE (rust/crates/mysql_async-0.36.1.crate) = 123381
+SHA256 (rust/crates/mysql_common-0.35.5.crate) = fbb9f371618ce723f095c61fbcdc36e8936956d2b62832f9c7648689b338e052
+SIZE (rust/crates/mysql_common-0.35.5.crate) = 199787
+SHA256 (rust/crates/nanorand-0.7.0.crate) = 6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3
+SIZE (rust/crates/nanorand-0.7.0.crate) = 18437
+SHA256 (rust/crates/new_debug_unreachable-1.0.6.crate) = 650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086
+SIZE (rust/crates/new_debug_unreachable-1.0.6.crate) = 2582
+SHA256 (rust/crates/nibble_vec-0.1.0.crate) = 77a5d83df9f36fe23f0c3648c6bbb8b0298bb5f1939c8f2704431371f4b84d43
+SIZE (rust/crates/nibble_vec-0.1.0.crate) = 11796
+SHA256 (rust/crates/nix-0.30.1.crate) = 74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6
+SIZE (rust/crates/nix-0.30.1.crate) = 342015
+SHA256 (rust/crates/nkeys-0.4.5.crate) = 879011babc47a1c7fdf5a935ae3cfe94f34645ca0cac1c7f6424b36fc743d1bf
+SIZE (rust/crates/nkeys-0.4.5.crate) = 26818
+SHA256 (rust/crates/no-std-net-0.6.0.crate) = 43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65
+SIZE (rust/crates/no-std-net-0.6.0.crate) = 30191
+SHA256 (rust/crates/nohash-0.2.0.crate) = a0f889fb66f7acdf83442c35775764b51fed3c606ab9cee51500dbde2cf528ca
+SIZE (rust/crates/nohash-0.2.0.crate) = 8204
+SHA256 (rust/crates/nom-7.1.3.crate) = d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a
+SIZE (rust/crates/nom-7.1.3.crate) = 117570
+SHA256 (rust/crates/nonempty-collections-0.3.1.crate) = e216d0e8cf9d54fa66e5780f6e1d5dc96d1c1b3c25aeba3b6758548bcbbd8b9d
+SIZE (rust/crates/nonempty-collections-0.3.1.crate) = 41211
+SHA256 (rust/crates/nu-ansi-term-0.50.1.crate) = d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399
+SIZE (rust/crates/nu-ansi-term-0.50.1.crate) = 28536
+SHA256 (rust/crates/nuid-0.5.0.crate) = fc895af95856f929163a0aa20c26a78d26bfdc839f51b9d5aa7a5b79e52b7e83
+SIZE (rust/crates/nuid-0.5.0.crate) = 10064
+SHA256 (rust/crates/num-bigint-0.4.6.crate) = a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9
+SIZE (rust/crates/num-bigint-0.4.6.crate) = 102801
+SHA256 (rust/crates/num-bigint-dig-0.8.4.crate) = dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151
+SIZE (rust/crates/num-bigint-dig-0.8.4.crate) = 123825
+SHA256 (rust/crates/num-conv-0.1.0.crate) = 51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9
+SIZE (rust/crates/num-conv-0.1.0.crate) = 7444
+SHA256 (rust/crates/num-integer-0.1.46.crate) = 7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f
+SIZE (rust/crates/num-integer-0.1.46.crate) = 22331
+SHA256 (rust/crates/num-iter-0.1.45.crate) = 1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf
+SIZE (rust/crates/num-iter-0.1.45.crate) = 10320
+SHA256 (rust/crates/num-traits-0.2.19.crate) = 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841
+SIZE (rust/crates/num-traits-0.2.19.crate) = 51631
+SHA256 (rust/crates/num_cpus-1.17.0.crate) = 91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b
+SIZE (rust/crates/num_cpus-1.17.0.crate) = 15874
+SHA256 (rust/crates/num_enum-0.7.4.crate) = a973b4e44ce6cad84ce69d797acf9a044532e4184c4f267913d1b546a0727b7a
+SIZE (rust/crates/num_enum-0.7.4.crate) = 21553
+SHA256 (rust/crates/num_enum_derive-0.7.4.crate) = 77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d
+SIZE (rust/crates/num_enum_derive-0.7.4.crate) = 18167
+SHA256 (rust/crates/number_prefix-0.4.0.crate) = 830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3
+SIZE (rust/crates/number_prefix-0.4.0.crate) = 6922
+SHA256 (rust/crates/object-0.37.3.crate) = ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe
+SIZE (rust/crates/object-0.37.3.crate) = 344032
+SHA256 (rust/crates/ocb3-0.1.0.crate) = c196e0276c471c843dd5777e7543a36a298a4be942a2a688d8111cd43390dedb
+SIZE (rust/crates/ocb3-0.1.0.crate) = 14025
+SHA256 (rust/crates/oid-registry-0.6.1.crate) = 9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff
+SIZE (rust/crates/oid-registry-0.6.1.crate) = 15068
+SHA256 (rust/crates/oid-registry-0.7.1.crate) = a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9
+SIZE (rust/crates/oid-registry-0.7.1.crate) = 15220
+SHA256 (rust/crates/oid-registry-0.8.1.crate) = 12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7
+SIZE (rust/crates/oid-registry-0.8.1.crate) = 16668
+SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d
+SIZE (rust/crates/once_cell-1.21.3.crate) = 34534
+SHA256 (rust/crates/once_cell_polyfill-1.70.1.crate) = a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad
+SIZE (rust/crates/once_cell_polyfill-1.70.1.crate) = 7510
+SHA256 (rust/crates/opaque-debug-0.3.1.crate) = c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381
+SIZE (rust/crates/opaque-debug-0.3.1.crate) = 7066
+SHA256 (rust/crates/openssl-0.10.73.crate) = 8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8
+SIZE (rust/crates/openssl-0.10.73.crate) = 283994
+SHA256 (rust/crates/openssl-macros-0.1.1.crate) = a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c
+SIZE (rust/crates/openssl-macros-0.1.1.crate) = 5601
+SHA256 (rust/crates/openssl-probe-0.1.6.crate) = d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e
+SIZE (rust/crates/openssl-probe-0.1.6.crate) = 8128
+SHA256 (rust/crates/openssl-sys-0.9.109.crate) = 90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571
+SIZE (rust/crates/openssl-sys-0.9.109.crate) = 78247
+SHA256 (rust/crates/opentelemetry-0.29.1.crate) = 9e87237e2775f74896f9ad219d26a2081751187eb7c9f5c58dde20a23b95d16c
+SIZE (rust/crates/opentelemetry-0.29.1.crate) = 87644
+SHA256 (rust/crates/opentelemetry-http-0.29.0.crate) = 46d7ab32b827b5b495bd90fa95a6cb65ccc293555dcc3199ae2937d2d237c8ed
+SIZE (rust/crates/opentelemetry-http-0.29.0.crate) = 9899
+SHA256 (rust/crates/opentelemetry-otlp-0.29.0.crate) = d899720fe06916ccba71c01d04ecd77312734e2de3467fd30d9d580c8ce85656
+SIZE (rust/crates/opentelemetry-otlp-0.29.0.crate) = 34601
+SHA256 (rust/crates/opentelemetry-proto-0.29.0.crate) = 8c40da242381435e18570d5b9d50aca2a4f4f4d8e146231adb4e7768023309b3
+SIZE (rust/crates/opentelemetry-proto-0.29.0.crate) = 166952
+SHA256 (rust/crates/opentelemetry-semantic-conventions-0.29.0.crate) = 84b29a9f89f1a954936d5aa92f19b2feec3c8f3971d3e96206640db7f9706ae3
+SIZE (rust/crates/opentelemetry-semantic-conventions-0.29.0.crate) = 83575
+SHA256 (rust/crates/opentelemetry_sdk-0.29.0.crate) = afdefb21d1d47394abc1ba6c57363ab141be19e27cc70d0e422b7f303e4d290b
+SIZE (rust/crates/opentelemetry_sdk-0.29.0.crate) = 202883
+SHA256 (rust/crates/option-ext-0.2.0.crate) = 04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d
+SIZE (rust/crates/option-ext-0.2.0.crate) = 7345
+SHA256 (rust/crates/ordered-multimap-0.7.3.crate) = 49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79
+SIZE (rust/crates/ordered-multimap-0.7.3.crate) = 23265
+SHA256 (rust/crates/p256-0.13.2.crate) = c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b
+SIZE (rust/crates/p256-0.13.2.crate) = 63434
+SHA256 (rust/crates/p384-0.13.1.crate) = fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6
+SIZE (rust/crates/p384-0.13.1.crate) = 193022
+SHA256 (rust/crates/p521-0.13.3.crate) = 0fc9e2161f1f215afdfce23677034ae137bbd45016a880c2eb3ba8eb95f085b2
+SIZE (rust/crates/p521-0.13.3.crate) = 138499
+SHA256 (rust/crates/parking-2.2.1.crate) = f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba
+SIZE (rust/crates/parking-2.2.1.crate) = 10685
+SHA256 (rust/crates/parking_lot-0.12.4.crate) = 70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13
+SIZE (rust/crates/parking_lot-0.12.4.crate) = 46779
+SHA256 (rust/crates/parking_lot_core-0.9.11.crate) = bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5
+SIZE (rust/crates/parking_lot_core-0.9.11.crate) = 34773
+SHA256 (rust/crates/password-hash-0.5.0.crate) = 346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166
+SIZE (rust/crates/password-hash-0.5.0.crate) = 26884
+SHA256 (rust/crates/paste-1.0.15.crate) = 57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a
+SIZE (rust/crates/paste-1.0.15.crate) = 18374
+SHA256 (rust/crates/pbkdf2-0.12.2.crate) = f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2
+SIZE (rust/crates/pbkdf2-0.12.2.crate) = 13906
+SHA256 (rust/crates/pem-3.0.5.crate) = 38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3
+SIZE (rust/crates/pem-3.0.5.crate) = 18140
+SHA256 (rust/crates/pem-rfc7468-0.7.0.crate) = 88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412
+SIZE (rust/crates/pem-rfc7468-0.7.0.crate) = 24159
+SHA256 (rust/crates/percent-encoding-2.3.2.crate) = 9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220
+SIZE (rust/crates/percent-encoding-2.3.2.crate) = 11583
+SHA256 (rust/crates/pest-2.8.2.crate) = 21e0a3a33733faeaf8651dfee72dd0f388f0c8e5ad496a3478fa5a922f49cfa8
+SIZE (rust/crates/pest-2.8.2.crate) = 130430
+SHA256 (rust/crates/pest_derive-2.8.2.crate) = bc58706f770acb1dbd0973e6530a3cff4746fb721207feb3a8a6064cd0b6c663
+SIZE (rust/crates/pest_derive-2.8.2.crate) = 42335
+SHA256 (rust/crates/pest_generator-2.8.2.crate) = 6d4f36811dfe07f7b8573462465d5cb8965fffc2e71ae377a33aecf14c2c9a2f
+SIZE (rust/crates/pest_generator-2.8.2.crate) = 18669
+SHA256 (rust/crates/pest_meta-2.8.2.crate) = 42919b05089acbd0a5dcd5405fb304d17d1053847b81163d09c4ad18ce8e8420
+SIZE (rust/crates/pest_meta-2.8.2.crate) = 42952
+SHA256 (rust/crates/petgraph-0.6.5.crate) = b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db
+SIZE (rust/crates/petgraph-0.6.5.crate) = 710970
+SHA256 (rust/crates/phf-0.11.3.crate) = 1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078
+SIZE (rust/crates/phf-0.11.3.crate) = 23231
+SHA256 (rust/crates/phf-0.12.1.crate) = 913273894cec178f401a31ec4b656318d95473527be05c0752cc41cdc32be8b7
+SIZE (rust/crates/phf-0.12.1.crate) = 23768
+SHA256 (rust/crates/phf-0.13.1.crate) = c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf
+SIZE (rust/crates/phf-0.13.1.crate) = 24786
+SHA256 (rust/crates/phf_codegen-0.13.1.crate) = 49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1
+SIZE (rust/crates/phf_codegen-0.13.1.crate) = 14774
+SHA256 (rust/crates/phf_generator-0.11.3.crate) = 3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d
+SIZE (rust/crates/phf_generator-0.11.3.crate) = 15431
+SHA256 (rust/crates/phf_generator-0.13.1.crate) = 135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737
+SIZE (rust/crates/phf_generator-0.13.1.crate) = 15952
+SHA256 (rust/crates/phf_macros-0.11.3.crate) = f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216
+SIZE (rust/crates/phf_macros-0.11.3.crate) = 18436
+SHA256 (rust/crates/phf_shared-0.11.3.crate) = 67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5
+SIZE (rust/crates/phf_shared-0.11.3.crate) = 15199
+SHA256 (rust/crates/phf_shared-0.12.1.crate) = 06005508882fb681fd97892ecff4b7fd0fee13ef1aa569f8695dae7ab9099981
+SIZE (rust/crates/phf_shared-0.12.1.crate) = 15568
+SHA256 (rust/crates/phf_shared-0.13.1.crate) = e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266
+SIZE (rust/crates/phf_shared-0.13.1.crate) = 16141
+SHA256 (rust/crates/pin-project-1.1.10.crate) = 677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a
+SIZE (rust/crates/pin-project-1.1.10.crate) = 56348
+SHA256 (rust/crates/pin-project-internal-1.1.10.crate) = 6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861
+SIZE (rust/crates/pin-project-internal-1.1.10.crate) = 29162
+SHA256 (rust/crates/pin-project-lite-0.2.16.crate) = 3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b
+SIZE (rust/crates/pin-project-lite-0.2.16.crate) = 30504
+SHA256 (rust/crates/pin-utils-0.1.0.crate) = 8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184
+SIZE (rust/crates/pin-utils-0.1.0.crate) = 7580
+SHA256 (rust/crates/pkcs1-0.7.5.crate) = c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f
+SIZE (rust/crates/pkcs1-0.7.5.crate) = 35790
+SHA256 (rust/crates/pkcs8-0.10.2.crate) = f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7
+SIZE (rust/crates/pkcs8-0.10.2.crate) = 26360
+SHA256 (rust/crates/pkg-config-0.3.32.crate) = 7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c
+SIZE (rust/crates/pkg-config-0.3.32.crate) = 21370
+SHA256 (rust/crates/pnet_base-0.35.0.crate) = ffc190d4067df16af3aba49b3b74c469e611cad6314676eaf1157f31aa0fb2f7
+SIZE (rust/crates/pnet_base-0.35.0.crate) = 10245
+SHA256 (rust/crates/pnet_datalink-0.35.0.crate) = e79e70ec0be163102a332e1d2d5586d362ad76b01cec86f830241f2b6452a7b7
+SIZE (rust/crates/pnet_datalink-0.35.0.crate) = 28780
+SHA256 (rust/crates/pnet_sys-0.35.0.crate) = 7d4643d3d4db6b08741050c2f3afa9a892c4244c085a72fcda93c9c2c9a00f4b
+SIZE (rust/crates/pnet_sys-0.35.0.crate) = 11628
+SHA256 (rust/crates/polyval-0.6.2.crate) = 9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25
+SIZE (rust/crates/polyval-0.6.2.crate) = 18425
+SHA256 (rust/crates/portable-atomic-1.11.1.crate) = f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483
+SIZE (rust/crates/portable-atomic-1.11.1.crate) = 185506
+SHA256 (rust/crates/postgres-protocol-0.6.9.crate) = fbef655056b916eb868048276cfd5d6a7dea4f81560dfd047f97c8c6fe3fcfd4
+SIZE (rust/crates/postgres-protocol-0.6.9.crate) = 28986
+SHA256 (rust/crates/postgres-types-0.2.10.crate) = 77a120daaabfcb0e324d5bf6e411e9222994cb3795c79943a0ef28ed27ea76e4
+SIZE (rust/crates/postgres-types-0.2.10.crate) = 40458
+SHA256 (rust/crates/potential_utf-0.1.3.crate) = 84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a
+SIZE (rust/crates/potential_utf-0.1.3.crate) = 9698
+SHA256 (rust/crates/powerfmt-0.2.0.crate) = 439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391
+SIZE (rust/crates/powerfmt-0.2.0.crate) = 15165
+SHA256 (rust/crates/ppmd-rust-1.2.1.crate) = c834641d8ad1b348c9ee86dec3b9840d805acd5f24daa5f90c788951a52ff59b
+SIZE (rust/crates/ppmd-rust-1.2.1.crate) = 34457
+SHA256 (rust/crates/ppv-lite86-0.2.21.crate) = 85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9
+SIZE (rust/crates/ppv-lite86-0.2.21.crate) = 22522
+SHA256 (rust/crates/precomputed-hash-0.1.1.crate) = 925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c
+SIZE (rust/crates/precomputed-hash-0.1.1.crate) = 1640
+SHA256 (rust/crates/prettyplease-0.2.37.crate) = 479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b
+SIZE (rust/crates/prettyplease-0.2.37.crate) = 72033
+SHA256 (rust/crates/prettytable-rs-0.10.0.crate) = eea25e07510aa6ab6547308ebe3c036016d162b8da920dbb079e3ba8acf3d95a
+SIZE (rust/crates/prettytable-rs-0.10.0.crate) = 35474
+SHA256 (rust/crates/primeorder-0.13.6.crate) = 353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6
+SIZE (rust/crates/primeorder-0.13.6.crate) = 21296
+SHA256 (rust/crates/privdrop-0.5.6.crate) = 70722a5a3728c9603c8d9469b64b8d1ee54dae6d74e24146da7f501b4c76540f
+SIZE (rust/crates/privdrop-0.5.6.crate) = 11898
+SHA256 (rust/crates/proc-macro-crate-3.4.0.crate) = 219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983
+SIZE (rust/crates/proc-macro-crate-3.4.0.crate) = 12690
+SHA256 (rust/crates/proc-macro-error-1.0.4.crate) = da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c
+SIZE (rust/crates/proc-macro-error-1.0.4.crate) = 25293
+SHA256 (rust/crates/proc-macro-error-attr-1.0.4.crate) = a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869
+SIZE (rust/crates/proc-macro-error-attr-1.0.4.crate) = 7971
+SHA256 (rust/crates/proc-macro-error-attr2-2.0.0.crate) = 96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5
+SIZE (rust/crates/proc-macro-error-attr2-2.0.0.crate) = 7745
+SHA256 (rust/crates/proc-macro-error2-2.0.1.crate) = 11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802
+SIZE (rust/crates/proc-macro-error2-2.0.1.crate) = 24807
+SHA256 (rust/crates/proc-macro2-1.0.101.crate) = 89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de
+SIZE (rust/crates/proc-macro2-1.0.101.crate) = 53886
+SHA256 (rust/crates/prometheus-0.14.0.crate) = 3ca5326d8d0b950a9acd87e6a3f94745394f62e4dae1b1ee22b2bc0c394af43a
+SIZE (rust/crates/prometheus-0.14.0.crate) = 90035
+SHA256 (rust/crates/prost-0.13.5.crate) = 2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5
+SIZE (rust/crates/prost-0.13.5.crate) = 32469
+SHA256 (rust/crates/prost-derive-0.13.5.crate) = 8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d
+SIZE (rust/crates/prost-derive-0.13.5.crate) = 20600
+SHA256 (rust/crates/proxy-header-0.1.2.crate) = dc1493f63ddddfba840c3169e997c2905d09538ace72d64e84af6324c6e0e065
+SIZE (rust/crates/proxy-header-0.1.2.crate) = 17073
+SHA256 (rust/crates/psl-2.1.145.crate) = f9bc7bed4cdf5168c58514ad64f37615f6683882209e2b6ba345cda0c6b8d949
+SIZE (rust/crates/psl-2.1.145.crate) = 197006
+SHA256 (rust/crates/psl-types-2.0.11.crate) = 33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac
+SIZE (rust/crates/psl-types-2.0.11.crate) = 7959
+SHA256 (rust/crates/ptr_meta-0.3.1.crate) = 0b9a0cf95a1196af61d4f1cbdab967179516d9a4a4312af1f31948f8f6224a79
+SIZE (rust/crates/ptr_meta-0.3.1.crate) = 7717
+SHA256 (rust/crates/ptr_meta_derive-0.3.1.crate) = 7347867d0a7e1208d93b46767be83e2b8f978c3dad35f775ac8d8847551d6fe1
+SIZE (rust/crates/ptr_meta_derive-0.3.1.crate) = 4693
+SHA256 (rust/crates/pure-rust-locales-0.8.1.crate) = 1190fd18ae6ce9e137184f207593877e70f39b015040156b1e05081cdfe3733a
+SIZE (rust/crates/pure-rust-locales-0.8.1.crate) = 178758
+SHA256 (rust/crates/pwhash-1.0.0.crate) = 419a3ad8fa9f9d445e69d9b185a24878ae6e6f55c96e4512f4a0e28cd3bc5c56
+SIZE (rust/crates/pwhash-1.0.0.crate) = 24361
+SHA256 (rust/crates/quick-xml-0.31.0.crate) = 1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33
+SIZE (rust/crates/quick-xml-0.31.0.crate) = 172236
+SHA256 (rust/crates/quick-xml-0.32.0.crate) = 1d3a6e5838b60e0e8fa7a43f22ade549a37d61f8bdbe636d0d7816191de969c2
+SIZE (rust/crates/quick-xml-0.32.0.crate) = 184149
+SHA256 (rust/crates/quick-xml-0.38.3.crate) = 42a232e7487fc2ef313d96dde7948e7a3c05101870d8985e4fd8d26aedd27b89
+SIZE (rust/crates/quick-xml-0.38.3.crate) = 204498
+SHA256 (rust/crates/quick_cache-0.6.16.crate) = 9ad6644cb07b7f3488b9f3d2fde3b4c0a7fa367cafefb39dff93a659f76eb786
+SIZE (rust/crates/quick_cache-0.6.16.crate) = 47488
+SHA256 (rust/crates/quinn-0.11.9.crate) = b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20
+SIZE (rust/crates/quinn-0.11.9.crate) = 83606
+SHA256 (rust/crates/quinn-proto-0.11.13.crate) = f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31
+SIZE (rust/crates/quinn-proto-0.11.13.crate) = 243837
+SHA256 (rust/crates/quinn-udp-0.5.14.crate) = addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd
+SIZE (rust/crates/quinn-udp-0.5.14.crate) = 33436
+SHA256 (rust/crates/quote-1.0.41.crate) = ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1
+SIZE (rust/crates/quote-1.0.41.crate) = 31408
+SHA256 (rust/crates/r-efi-5.3.0.crate) = 69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f
+SIZE (rust/crates/r-efi-5.3.0.crate) = 64532
+SHA256 (rust/crates/r2d2-0.8.10.crate) = 51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93
+SIZE (rust/crates/r2d2-0.8.10.crate) = 17888
+SHA256 (rust/crates/radium-0.7.0.crate) = dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09
+SIZE (rust/crates/radium-0.7.0.crate) = 10906
+SHA256 (rust/crates/radix_trie-0.2.1.crate) = c069c179fcdc6a2fe24d8d18305cf085fdbd4f922c041943e203685d6a1c58fd
+SIZE (rust/crates/radix_trie-0.2.1.crate) = 251366
+SHA256 (rust/crates/rancor-0.1.1.crate) = a063ea72381527c2a0561da9c80000ef822bdd7c3241b1cc1b12100e3df081ee
+SIZE (rust/crates/rancor-0.1.1.crate) = 10558
+SHA256 (rust/crates/rand-0.7.3.crate) = 6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03
+SIZE (rust/crates/rand-0.7.3.crate) = 112246
+SHA256 (rust/crates/rand-0.8.5.crate) = 34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404
+SIZE (rust/crates/rand-0.8.5.crate) = 87113
+SHA256 (rust/crates/rand-0.9.2.crate) = 6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1
+SIZE (rust/crates/rand-0.9.2.crate) = 99930
+SHA256 (rust/crates/rand_chacha-0.2.2.crate) = f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402
+SIZE (rust/crates/rand_chacha-0.2.2.crate) = 13267
+SHA256 (rust/crates/rand_chacha-0.3.1.crate) = e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88
+SIZE (rust/crates/rand_chacha-0.3.1.crate) = 15251
+SHA256 (rust/crates/rand_chacha-0.9.0.crate) = d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb
+SIZE (rust/crates/rand_chacha-0.9.0.crate) = 18258
+SHA256 (rust/crates/rand_core-0.5.1.crate) = 90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19
+SIZE (rust/crates/rand_core-0.5.1.crate) = 21116
+SHA256 (rust/crates/rand_core-0.6.4.crate) = ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c
+SIZE (rust/crates/rand_core-0.6.4.crate) = 22666
+SHA256 (rust/crates/rand_core-0.9.3.crate) = 99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38
+SIZE (rust/crates/rand_core-0.9.3.crate) = 24543
+SHA256 (rust/crates/rand_hc-0.2.0.crate) = ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c
+SIZE (rust/crates/rand_hc-0.2.0.crate) = 11670
+SHA256 (rust/crates/rasn-0.10.6.crate) = 76def3a472085e40dae01e4eeb106f2ed70f8c7dabe041faed1668a00ee143ef
+SIZE (rust/crates/rasn-0.10.6.crate) = 102589
+SHA256 (rust/crates/rasn-cms-0.10.6.crate) = 09d45b1b6c0bfb41d1023246a3853a82d158d7e6690698ad4acac009f2f09380
+SIZE (rust/crates/rasn-cms-0.10.6.crate) = 18227
+SHA256 (rust/crates/rasn-derive-0.10.6.crate) = 48d1fd02e16232e942b5e7ce305b447c550d09a9146255a3e8a2cf62a0e2ac2d
+SIZE (rust/crates/rasn-derive-0.10.6.crate) = 18180
+SHA256 (rust/crates/rasn-pkix-0.10.6.crate) = 6c825c4183e8f4db9bd772206d7d0fa10f3df35b6ed5bcb8f6cb50fd1166f8e9
+SIZE (rust/crates/rasn-pkix-0.10.6.crate) = 19640
+SHA256 (rust/crates/rayon-1.11.0.crate) = 368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f
+SIZE (rust/crates/rayon-1.11.0.crate) = 182470
+SHA256 (rust/crates/rayon-core-1.13.0.crate) = 22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91
+SIZE (rust/crates/rayon-core-1.13.0.crate) = 73151
+SHA256 (rust/crates/rcgen-0.12.1.crate) = 48406db8ac1f3cbc7dcdb56ec355343817958a356ff430259bb07baf7607e1e1
+SIZE (rust/crates/rcgen-0.12.1.crate) = 63815
+SHA256 (rust/crates/rcgen-0.13.2.crate) = 75e669e5202259b5314d1ea5397316ad400819437857b90861765f24c4cf80a2
+SIZE (rust/crates/rcgen-0.13.2.crate) = 77836
+SHA256 (rust/crates/rdkafka-0.38.0.crate) = 5f1856d72dbbbea0d2a5b2eaf6af7fb3847ef2746e883b11781446a51dbc85c0
+SIZE (rust/crates/rdkafka-0.38.0.crate) = 134944
+SHA256 (rust/crates/rdkafka-sys-4.9.0+2.10.0.crate) = 5230dca48bc354d718269f3e4353280e188b610f7af7e2fcf54b7a79d5802872
+SIZE (rust/crates/rdkafka-sys-4.9.0+2.10.0.crate) = 4821375
+SHA256 (rust/crates/redis-0.32.6.crate) = 15965fbccb975c38a08a68beca6bdb57da9081cd0859417c5975a160d968c3cb
+SIZE (rust/crates/redis-0.32.6.crate) = 345215
+SHA256 (rust/crates/redox_syscall-0.5.17.crate) = 5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77
+SIZE (rust/crates/redox_syscall-0.5.17.crate) = 30002
+SHA256 (rust/crates/redox_users-0.4.6.crate) = ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43
+SIZE (rust/crates/redox_users-0.4.6.crate) = 15585
+SHA256 (rust/crates/redox_users-0.5.2.crate) = a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac
+SIZE (rust/crates/redox_users-0.5.2.crate) = 17280
+SHA256 (rust/crates/ref-cast-1.0.25.crate) = f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d
+SIZE (rust/crates/ref-cast-1.0.25.crate) = 15192
+SHA256 (rust/crates/ref-cast-impl-1.0.25.crate) = b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da
+SIZE (rust/crates/ref-cast-impl-1.0.25.crate) = 10167
+SHA256 (rust/crates/regex-1.11.3.crate) = 8b5288124840bee7b386bc413c487869b360b2b4ec421ea56425128692f2a82c
+SIZE (rust/crates/regex-1.11.3.crate) = 163275
+SHA256 (rust/crates/regex-automata-0.4.11.crate) = 833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad
+SIZE (rust/crates/regex-automata-0.4.11.crate) = 622880
+SHA256 (rust/crates/regex-syntax-0.8.6.crate) = caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001
+SIZE (rust/crates/regex-syntax-0.8.6.crate) = 358808
+SHA256 (rust/crates/rend-0.5.3.crate) = cadadef317c2f20755a64d7fdc48f9e7178ee6b0e1f7fce33fa60f1d68a276e6
+SIZE (rust/crates/rend-0.5.3.crate) = 15823
+SHA256 (rust/crates/reqwest-0.11.27.crate) = dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62
+SIZE (rust/crates/reqwest-0.11.27.crate) = 163155
+SHA256 (rust/crates/reqwest-0.12.23.crate) = d429f34c8092b2d42c7c93cec323bb4adeb7c67698f70839adec842ec10c7ceb
+SIZE (rust/crates/reqwest-0.12.23.crate) = 161307
+SHA256 (rust/crates/resolv-conf-0.7.5.crate) = 6b3789b30bd25ba102de4beabd95d21ac45b69b1be7d14522bab988c526d6799
+SIZE (rust/crates/resolv-conf-0.7.5.crate) = 17512
+SHA256 (rust/crates/rev_lines-0.3.0.crate) = ed62916ac7a5ccbf13fa5e1d303029ff015600fee841756dfc134a1ac62bf05f
+SIZE (rust/crates/rev_lines-0.3.0.crate) = 10409
+SHA256 (rust/crates/rfc6979-0.4.0.crate) = f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2
+SIZE (rust/crates/rfc6979-0.4.0.crate) = 9140
+SHA256 (rust/crates/ring-0.16.20.crate) = 3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc
+SIZE (rust/crates/ring-0.16.20.crate) = 5082615
+SHA256 (rust/crates/ring-0.17.14.crate) = a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7
+SIZE (rust/crates/ring-0.17.14.crate) = 1502610
+SHA256 (rust/crates/ringbuffer-spsc-0.1.15.crate) = 8d3e7aa0a681b232e7cd7f856a53b10603df88ca74b79a8d8088845185492e35
+SIZE (rust/crates/ringbuffer-spsc-0.1.15.crate) = 12245
+SHA256 (rust/crates/ripemd-0.1.3.crate) = bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f
+SIZE (rust/crates/ripemd-0.1.3.crate) = 16601
+SHA256 (rust/crates/rkyv-0.8.12.crate) = 35a640b26f007713818e9a9b65d34da1cf58538207b052916a83d80e43f3ffa4
+SIZE (rust/crates/rkyv-0.8.12.crate) = 169611
+SHA256 (rust/crates/rkyv_derive-0.8.12.crate) = bd83f5f173ff41e00337d97f6572e416d022ef8a19f371817259ae960324c482
+SIZE (rust/crates/rkyv_derive-0.8.12.crate) = 22719
+SHA256 (rust/crates/rle-decode-fast-1.0.3.crate) = 3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422
+SIZE (rust/crates/rle-decode-fast-1.0.3.crate) = 62086
+SHA256 (rust/crates/roaring-0.11.2.crate) = f08d6a905edb32d74a5d5737a0c9d7e950c312f3c46cb0ca0a2ca09ea11878a0
+SIZE (rust/crates/roaring-0.11.2.crate) = 127098
+SHA256 (rust/crates/rocksdb-0.24.0.crate) = ddb7af00d2b17dbd07d82c0063e25411959748ff03e8d4f96134c2ff41fce34f
+SIZE (rust/crates/rocksdb-0.24.0.crate) = 165037
+SHA256 (rust/crates/ron-0.8.1.crate) = b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94
+SIZE (rust/crates/ron-0.8.1.crate) = 63251
+SHA256 (rust/crates/rpassword-7.4.0.crate) = 66d4c8b64f049c6721ec8ccec37ddfc3d641c4a7fca57e8f2a89de509c73df39
+SIZE (rust/crates/rpassword-7.4.0.crate) = 123730
+SHA256 (rust/crates/rsa-0.9.8.crate) = 78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b
+SIZE (rust/crates/rsa-0.9.8.crate) = 85741
+SHA256 (rust/crates/rtoolbox-0.0.3.crate) = a7cc970b249fbe527d6e02e0a227762c9108b2f49d81094fe357ffc6d14d7f6f
+SIZE (rust/crates/rtoolbox-0.0.3.crate) = 10149
+SHA256 (rust/crates/rtrb-0.3.2.crate) = ad8388ea1a9e0ea807e442e8263a699e7edcb320ecbcd21b4fa8ff859acce3ba
+SIZE (rust/crates/rtrb-0.3.2.crate) = 27066
+SHA256 (rust/crates/rusqlite-0.37.0.crate) = 165ca6e57b20e1351573e3729b958bc62f0e48025386970b6e4d29e7a7e71f3f
+SIZE (rust/crates/rusqlite-0.37.0.crate) = 169975
+SHA256 (rust/crates/rust-ini-0.21.3.crate) = 796e8d2b6696392a43bea58116b667fb4c29727dc5abd27d6acf338bb4f688c7
+SIZE (rust/crates/rust-ini-0.21.3.crate) = 22939
+SHA256 (rust/crates/rust-s3-0.35.1.crate) = c3df3f353b1f4209dcf437d777cda90279c397ab15a0cd6fd06bd32c88591533
+SIZE (rust/crates/rust-s3-0.35.1.crate) = 67213
+SHA256 (rust/crates/rust-stemmers-1.2.0.crate) = e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54
+SIZE (rust/crates/rust-stemmers-1.2.0.crate) = 2351301
+SHA256 (rust/crates/rustc-demangle-0.1.26.crate) = 56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace
+SIZE (rust/crates/rustc-demangle-0.1.26.crate) = 30340
+SHA256 (rust/crates/rustc-hash-1.1.0.crate) = 08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2
+SIZE (rust/crates/rustc-hash-1.1.0.crate) = 9331
+SHA256 (rust/crates/rustc-hash-2.1.1.crate) = 357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d
+SIZE (rust/crates/rustc-hash-2.1.1.crate) = 14154
+SHA256 (rust/crates/rustc_version-0.2.3.crate) = 138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a
+SIZE (rust/crates/rustc_version-0.2.3.crate) = 10210
+SHA256 (rust/crates/rustc_version-0.4.1.crate) = cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92
+SIZE (rust/crates/rustc_version-0.4.1.crate) = 12245
+SHA256 (rust/crates/rusticata-macros-4.1.0.crate) = faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632
+SIZE (rust/crates/rusticata-macros-4.1.0.crate) = 11746
+SHA256 (rust/crates/rustix-1.1.2.crate) = cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e
+SIZE (rust/crates/rustix-1.1.2.crate) = 422717
+SHA256 (rust/crates/rustls-0.21.12.crate) = 3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e
+SIZE (rust/crates/rustls-0.21.12.crate) = 285674
+SHA256 (rust/crates/rustls-0.23.32.crate) = cd3c25631629d034ce7cd9940adc9d45762d46de2b0f57193c4443b92c6d4d40
+SIZE (rust/crates/rustls-0.23.32.crate) = 372459
+SHA256 (rust/crates/rustls-native-certs-0.6.3.crate) = a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00
+SIZE (rust/crates/rustls-native-certs-0.6.3.crate) = 24438
+SHA256 (rust/crates/rustls-native-certs-0.7.3.crate) = e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5
+SIZE (rust/crates/rustls-native-certs-0.7.3.crate) = 31564
+SHA256 (rust/crates/rustls-native-certs-0.8.1.crate) = 7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3
+SIZE (rust/crates/rustls-native-certs-0.8.1.crate) = 31129
+SHA256 (rust/crates/rustls-pemfile-1.0.4.crate) = 1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c
+SIZE (rust/crates/rustls-pemfile-1.0.4.crate) = 22092
+SHA256 (rust/crates/rustls-pemfile-2.2.0.crate) = dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50
+SIZE (rust/crates/rustls-pemfile-2.2.0.crate) = 25849
+SHA256 (rust/crates/rustls-pki-types-1.12.0.crate) = 229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79
+SIZE (rust/crates/rustls-pki-types-1.12.0.crate) = 64740
+SHA256 (rust/crates/rustls-platform-verifier-0.6.1.crate) = be59af91596cac372a6942530653ad0c3a246cdd491aaa9dcaee47f88d67d5a0
+SIZE (rust/crates/rustls-platform-verifier-0.6.1.crate) = 60142
+SHA256 (rust/crates/rustls-platform-verifier-android-0.1.1.crate) = f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f
+SIZE (rust/crates/rustls-platform-verifier-android-0.1.1.crate) = 13919
+SHA256 (rust/crates/rustls-webpki-0.101.7.crate) = 8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765
+SIZE (rust/crates/rustls-webpki-0.101.7.crate) = 168808
+SHA256 (rust/crates/rustls-webpki-0.102.8.crate) = 64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9
+SIZE (rust/crates/rustls-webpki-0.102.8.crate) = 204327
+SHA256 (rust/crates/rustls-webpki-0.103.6.crate) = 8572f3c2cb9934231157b45499fc41e1f58c589fdfb81a844ba873265e80f8eb
+SIZE (rust/crates/rustls-webpki-0.103.6.crate) = 85224
+SHA256 (rust/crates/rustversion-1.0.22.crate) = b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d
+SIZE (rust/crates/rustversion-1.0.22.crate) = 21096
+SHA256 (rust/crates/ryu-1.0.20.crate) = 28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f
+SIZE (rust/crates/ryu-1.0.20.crate) = 48738
+SHA256 (rust/crates/salsa20-0.10.2.crate) = 97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213
+SIZE (rust/crates/salsa20-0.10.2.crate) = 12780
+SHA256 (rust/crates/same-file-1.0.6.crate) = 93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502
+SIZE (rust/crates/same-file-1.0.6.crate) = 10183
+SHA256 (rust/crates/saturating-0.1.0.crate) = ece8e78b2f38ec51c51f5d475df0a7187ba5111b2a28bdc761ee05b075d40a71
+SIZE (rust/crates/saturating-0.1.0.crate) = 2904
+SHA256 (rust/crates/scc-2.4.0.crate) = 46e6f046b7fef48e2660c57ed794263155d713de679057f2d0c169bfc6e756cc
+SIZE (rust/crates/scc-2.4.0.crate) = 145014
+SHA256 (rust/crates/schannel-0.1.28.crate) = 891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1
+SIZE (rust/crates/schannel-0.1.28.crate) = 42312
+SHA256 (rust/crates/scheduled-thread-pool-0.2.7.crate) = 3cbc66816425a074528352f5789333ecff06ca41b36b0b0efdfbb29edc391a19
+SIZE (rust/crates/scheduled-thread-pool-0.2.7.crate) = 10554
+SHA256 (rust/crates/schemars-0.8.22.crate) = 3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615
+SIZE (rust/crates/schemars-0.8.22.crate) = 59214
+SHA256 (rust/crates/schemars-0.9.0.crate) = 4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f
+SIZE (rust/crates/schemars-0.9.0.crate) = 80032
+SHA256 (rust/crates/schemars-1.0.4.crate) = 82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0
+SIZE (rust/crates/schemars-1.0.4.crate) = 88282
+SHA256 (rust/crates/schemars_derive-0.8.22.crate) = 32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d
+SIZE (rust/crates/schemars_derive-0.8.22.crate) = 19542
+SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49
+SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619
+SHA256 (rust/crates/scrypt-0.11.0.crate) = 0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f
+SIZE (rust/crates/scrypt-0.11.0.crate) = 13440
+SHA256 (rust/crates/sct-0.7.1.crate) = da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414
+SIZE (rust/crates/sct-0.7.1.crate) = 27501
+SHA256 (rust/crates/sdd-3.0.10.crate) = 490dcfcbfef26be6800d11870ff2df8774fa6e86d047e3e8c8a76b25655e41ca
+SIZE (rust/crates/sdd-3.0.10.crate) = 32748
+SHA256 (rust/crates/sec1-0.7.3.crate) = d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc
+SIZE (rust/crates/sec1-0.7.3.crate) = 17979
+SHA256 (rust/crates/secrecy-0.8.0.crate) = 9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e
+SIZE (rust/crates/secrecy-0.8.0.crate) = 11916
+SHA256 (rust/crates/security-framework-2.11.1.crate) = 897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02
+SIZE (rust/crates/security-framework-2.11.1.crate) = 80188
+SHA256 (rust/crates/security-framework-3.5.1.crate) = b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef
+SIZE (rust/crates/security-framework-3.5.1.crate) = 89937
+SHA256 (rust/crates/security-framework-sys-2.15.0.crate) = cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0
+SIZE (rust/crates/security-framework-sys-2.15.0.crate) = 20718
+SHA256 (rust/crates/semver-0.9.0.crate) = 1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403
+SIZE (rust/crates/semver-0.9.0.crate) = 17344
+SHA256 (rust/crates/semver-1.0.27.crate) = d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2
+SIZE (rust/crates/semver-1.0.27.crate) = 30081
+SHA256 (rust/crates/semver-parser-0.7.0.crate) = 388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3
+SIZE (rust/crates/semver-parser-0.7.0.crate) = 10268
+SHA256 (rust/crates/sequoia-openpgp-2.0.0.crate) = 015e5fc3d023418b9db98ca9a7f3e90b305872eeafe5ca45c5c32b5eb335c1e8
+SIZE (rust/crates/sequoia-openpgp-2.0.0.crate) = 3049067
+SHA256 (rust/crates/serde-1.0.228.crate) = 9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e
+SIZE (rust/crates/serde-1.0.228.crate) = 83652
+SHA256 (rust/crates/serde_bytes-0.11.19.crate) = a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8
+SIZE (rust/crates/serde_bytes-0.11.19.crate) = 13427
+SHA256 (rust/crates/serde_core-1.0.228.crate) = 41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad
+SIZE (rust/crates/serde_core-1.0.228.crate) = 63111
+SHA256 (rust/crates/serde_derive-1.0.228.crate) = d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79
+SIZE (rust/crates/serde_derive-1.0.228.crate) = 59605
+SHA256 (rust/crates/serde_derive_internals-0.29.1.crate) = 18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711
+SIZE (rust/crates/serde_derive_internals-0.29.1.crate) = 26189
+SHA256 (rust/crates/serde_json-1.0.145.crate) = 402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c
+SIZE (rust/crates/serde_json-1.0.145.crate) = 155748
+SHA256 (rust/crates/serde_nanos-0.1.4.crate) = a93142f0367a4cc53ae0fead1bcda39e85beccfad3dcd717656cacab94b12985
+SIZE (rust/crates/serde_nanos-0.1.4.crate) = 7565
+SHA256 (rust/crates/serde_qs-0.8.5.crate) = c7715380eec75f029a4ef7de39a9200e0a63823176b759d055b613f5a87df6a6
+SIZE (rust/crates/serde_qs-0.8.5.crate) = 44854
+SHA256 (rust/crates/serde_repr-0.1.20.crate) = 175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c
+SIZE (rust/crates/serde_repr-0.1.20.crate) = 12627
+SHA256 (rust/crates/serde_urlencoded-0.7.1.crate) = d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd
+SIZE (rust/crates/serde_urlencoded-0.7.1.crate) = 12822
+SHA256 (rust/crates/serde_with-1.14.0.crate) = 678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff
+SIZE (rust/crates/serde_with-1.14.0.crate) = 114325
+SHA256 (rust/crates/serde_with-3.14.1.crate) = c522100790450cf78eeac1507263d0a350d4d5b30df0c8e1fe051a10c22b376e
+SIZE (rust/crates/serde_with-3.14.1.crate) = 193025
+SHA256 (rust/crates/serde_with_macros-1.5.2.crate) = e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082
+SIZE (rust/crates/serde_with_macros-1.5.2.crate) = 21426
+SHA256 (rust/crates/serde_with_macros-3.14.1.crate) = 327ada00f7d64abaac1e55a6911e90cf665aa051b9a561c7006c157f4633135e
+SIZE (rust/crates/serde_with_macros-3.14.1.crate) = 39432
+SHA256 (rust/crates/serde_yaml-0.9.34+deprecated.crate) = 6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47
+SIZE (rust/crates/serde_yaml-0.9.34+deprecated.crate) = 65290
+SHA256 (rust/crates/serial_test-3.2.0.crate) = 1b258109f244e1d6891bf1053a55d63a5cd4f8f4c30cf9a1280989f80e7a1fa9
+SIZE (rust/crates/serial_test-3.2.0.crate) = 9232
+SHA256 (rust/crates/serial_test_derive-3.2.0.crate) = 5d69265a08751de7844521fd15003ae0a888e035773ba05695c5c759a6f89eef
+SIZE (rust/crates/serial_test_derive-3.2.0.crate) = 6992
+SHA256 (rust/crates/sha-1-0.9.8.crate) = 99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6
+SIZE (rust/crates/sha-1-0.9.8.crate) = 14029
+SHA256 (rust/crates/sha1-0.10.6.crate) = e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba
+SIZE (rust/crates/sha1-0.10.6.crate) = 13517
+SHA256 (rust/crates/sha1_smol-1.0.1.crate) = bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d
+SIZE (rust/crates/sha1_smol-1.0.1.crate) = 9809
+SHA256 (rust/crates/sha1collisiondetection-0.3.4.crate) = 1f606421e4a6012877e893c399822a4ed4b089164c5969424e1b9d1e66e6964b
+SIZE (rust/crates/sha1collisiondetection-0.3.4.crate) = 799321
+SHA256 (rust/crates/sha2-0.9.9.crate) = 4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800
+SIZE (rust/crates/sha2-0.9.9.crate) = 22247
+SHA256 (rust/crates/sha2-0.10.9.crate) = a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283
+SIZE (rust/crates/sha2-0.10.9.crate) = 29271
+SHA256 (rust/crates/sha3-0.10.8.crate) = 75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60
+SIZE (rust/crates/sha3-0.10.8.crate) = 858216
+SHA256 (rust/crates/sharded-slab-0.1.7.crate) = f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6
+SIZE (rust/crates/sharded-slab-0.1.7.crate) = 58227
+SHA256 (rust/crates/shellexpand-3.1.1.crate) = 8b1fdf65dd6331831494dd616b30351c38e96e45921a27745cf98490458b90bb
+SIZE (rust/crates/shellexpand-3.1.1.crate) = 25904
+SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64
+SIZE (rust/crates/shlex-1.3.0.crate) = 18713
+SHA256 (rust/crates/sieve-rs-0.7.0.crate) = 9ada516ead6adf4f915e69fcb123640bcf23a9b29fc4b537145487e91af7a594
+SIZE (rust/crates/sieve-rs-0.7.0.crate) = 218139
+SHA256 (rust/crates/signal-hook-registry-1.4.6.crate) = b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b
+SIZE (rust/crates/signal-hook-registry-1.4.6.crate) = 19277
+SHA256 (rust/crates/signatory-0.27.1.crate) = c1e303f8205714074f6068773f0e29527e0453937fe837c9717d066635b65f31
+SIZE (rust/crates/signatory-0.27.1.crate) = 126464
+SHA256 (rust/crates/signature-2.2.0.crate) = 77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de
+SIZE (rust/crates/signature-2.2.0.crate) = 15531
+SHA256 (rust/crates/simd-adler32-0.3.7.crate) = d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe
+SIZE (rust/crates/simd-adler32-0.3.7.crate) = 12086
+SHA256 (rust/crates/simdutf8-0.1.5.crate) = e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e
+SIZE (rust/crates/simdutf8-0.1.5.crate) = 28488
+SHA256 (rust/crates/siphasher-1.0.1.crate) = 56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d
+SIZE (rust/crates/siphasher-1.0.1.crate) = 10351
+SHA256 (rust/crates/slab-0.4.11.crate) = 7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589
+SIZE (rust/crates/slab-0.4.11.crate) = 18549
+SHA256 (rust/crates/smallvec-1.15.1.crate) = 67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03
+SIZE (rust/crates/smallvec-1.15.1.crate) = 38116
+SHA256 (rust/crates/smtp-proto-0.2.0.crate) = d55cc1c74d3b758d7dd1fa4dc4cf694cad2732cac14f304228477c2b0ce6233a
+SIZE (rust/crates/smtp-proto-0.2.0.crate) = 38162
+SHA256 (rust/crates/snafu-0.7.5.crate) = e4de37ad025c587a29e8f3f5605c00f70b98715ef90b9061a815b9e59e9042d6
+SIZE (rust/crates/snafu-0.7.5.crate) = 65229
+SHA256 (rust/crates/snafu-derive-0.7.5.crate) = 990079665f075b699031e9c08fd3ab99be5029b96f3b78dc0709e8f77e4efebf
+SIZE (rust/crates/snafu-derive-0.7.5.crate) = 28208
+SHA256 (rust/crates/socket2-0.5.10.crate) = e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678
+SIZE (rust/crates/socket2-0.5.10.crate) = 58169
+SHA256 (rust/crates/socket2-0.6.0.crate) = 233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807
+SIZE (rust/crates/socket2-0.6.0.crate) = 57974
+SHA256 (rust/crates/spin-0.5.2.crate) = 6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d
+SIZE (rust/crates/spin-0.5.2.crate) = 12004
+SHA256 (rust/crates/spin-0.9.8.crate) = 6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67
+SIZE (rust/crates/spin-0.9.8.crate) = 38958
+SHA256 (rust/crates/spin-0.10.0.crate) = d5fe4ccb98d9c292d56fec89a5e07da7fc4cf0dc11e156b41793132775d3e591
+SIZE (rust/crates/spin-0.10.0.crate) = 39654
+SHA256 (rust/crates/spki-0.7.3.crate) = d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d
+SIZE (rust/crates/spki-0.7.3.crate) = 16409
+SHA256 (rust/crates/stable_deref_trait-1.2.0.crate) = a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3
+SIZE (rust/crates/stable_deref_trait-1.2.0.crate) = 8054
+SHA256 (rust/crates/static_assertions-1.1.0.crate) = a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f
+SIZE (rust/crates/static_assertions-1.1.0.crate) = 18480
+SHA256 (rust/crates/string_cache-0.8.9.crate) = bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f
+SIZE (rust/crates/string_cache-0.8.9.crate) = 17408
+SHA256 (rust/crates/stringprep-0.1.5.crate) = 7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1
+SIZE (rust/crates/stringprep-0.1.5.crate) = 23573
+SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623
+SIZE (rust/crates/strsim-0.10.0.crate) = 11355
+SHA256 (rust/crates/strsim-0.11.1.crate) = 7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f
+SIZE (rust/crates/strsim-0.11.1.crate) = 14266
+SHA256 (rust/crates/subtle-2.6.1.crate) = 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292
+SIZE (rust/crates/subtle-2.6.1.crate) = 14562
+SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237
+SIZE (rust/crates/syn-1.0.109.crate) = 237611
+SHA256 (rust/crates/syn-2.0.106.crate) = ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6
+SIZE (rust/crates/syn-2.0.106.crate) = 301514
+SHA256 (rust/crates/sync_wrapper-0.1.2.crate) = 2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160
+SIZE (rust/crates/sync_wrapper-0.1.2.crate) = 6933
+SHA256 (rust/crates/sync_wrapper-1.0.2.crate) = 0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263
+SIZE (rust/crates/sync_wrapper-1.0.2.crate) = 6958
+SHA256 (rust/crates/synstructure-0.12.6.crate) = f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f
+SIZE (rust/crates/synstructure-0.12.6.crate) = 18429
+SHA256 (rust/crates/synstructure-0.13.2.crate) = 728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2
+SIZE (rust/crates/synstructure-0.13.2.crate) = 18950
+SHA256 (rust/crates/system-configuration-0.5.1.crate) = ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7
+SIZE (rust/crates/system-configuration-0.5.1.crate) = 12618
+SHA256 (rust/crates/system-configuration-sys-0.5.0.crate) = a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9
+SIZE (rust/crates/system-configuration-sys-0.5.0.crate) = 6730
+SHA256 (rust/crates/tagptr-0.2.0.crate) = 7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417
+SIZE (rust/crates/tagptr-0.2.0.crate) = 13320
+SHA256 (rust/crates/tap-1.0.1.crate) = 55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369
+SIZE (rust/crates/tap-1.0.1.crate) = 11316
+SHA256 (rust/crates/term-0.7.0.crate) = c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f
+SIZE (rust/crates/term-0.7.0.crate) = 37082
+SHA256 (rust/crates/termcolor-1.4.1.crate) = 06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755
+SIZE (rust/crates/termcolor-1.4.1.crate) = 18773
+SHA256 (rust/crates/thiserror-1.0.69.crate) = b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52
+SIZE (rust/crates/thiserror-1.0.69.crate) = 22198
+SHA256 (rust/crates/thiserror-2.0.17.crate) = f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8
+SIZE (rust/crates/thiserror-2.0.17.crate) = 28857
+SHA256 (rust/crates/thiserror-impl-1.0.69.crate) = 4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1
+SIZE (rust/crates/thiserror-impl-1.0.69.crate) = 18365
+SHA256 (rust/crates/thiserror-impl-2.0.17.crate) = 3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913
+SIZE (rust/crates/thiserror-impl-2.0.17.crate) = 21344
+SHA256 (rust/crates/thread_local-1.1.9.crate) = f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185
+SIZE (rust/crates/thread_local-1.1.9.crate) = 19315
+SHA256 (rust/crates/time-0.3.44.crate) = 91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d
+SIZE (rust/crates/time-0.3.44.crate) = 143200
+SHA256 (rust/crates/time-core-0.1.6.crate) = 40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b
+SIZE (rust/crates/time-core-0.1.6.crate) = 9105
+SHA256 (rust/crates/time-macros-0.2.24.crate) = 30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3
+SIZE (rust/crates/time-macros-0.2.24.crate) = 24715
+SHA256 (rust/crates/tiny-keccak-2.0.2.crate) = 2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237
+SIZE (rust/crates/tiny-keccak-2.0.2.crate) = 20129
+SHA256 (rust/crates/tinystr-0.8.1.crate) = 5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b
+SIZE (rust/crates/tinystr-0.8.1.crate) = 23333
+SHA256 (rust/crates/tinyvec-1.10.0.crate) = bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa
+SIZE (rust/crates/tinyvec-1.10.0.crate) = 51996
+SHA256 (rust/crates/tinyvec_macros-0.1.1.crate) = 1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20
+SIZE (rust/crates/tinyvec_macros-0.1.1.crate) = 5865
+SHA256 (rust/crates/tls-listener-0.11.0.crate) = ab41256c16d6fc2b3021545f20bf77a73200b18bd54040ac656dddfca6205bfa
+SIZE (rust/crates/tls-listener-0.11.0.crate) = 48235
+SHA256 (rust/crates/token-cell-2.0.0.crate) = e9c7b0772e96c7fa6646b16c116753b3d1db503400209237230aa992c9e3a269
+SIZE (rust/crates/token-cell-2.0.0.crate) = 7385
+SHA256 (rust/crates/tokio-1.47.1.crate) = 89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038
+SIZE (rust/crates/tokio-1.47.1.crate) = 829790
+SHA256 (rust/crates/tokio-macros-2.5.0.crate) = 6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8
+SIZE (rust/crates/tokio-macros-2.5.0.crate) = 12617
+SHA256 (rust/crates/tokio-postgres-0.7.14.crate) = a156efe7fff213168257853e1dfde202eed5f487522cbbbf7d219941d753d853
+SIZE (rust/crates/tokio-postgres-0.7.14.crate) = 95956
+SHA256 (rust/crates/tokio-rustls-0.24.1.crate) = c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081
+SIZE (rust/crates/tokio-rustls-0.24.1.crate) = 33049
+SHA256 (rust/crates/tokio-rustls-0.26.4.crate) = 1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61
+SIZE (rust/crates/tokio-rustls-0.26.4.crate) = 35430
+SHA256 (rust/crates/tokio-stream-0.1.17.crate) = eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047
+SIZE (rust/crates/tokio-stream-0.1.17.crate) = 38477
+SHA256 (rust/crates/tokio-tungstenite-0.28.0.crate) = d25a406cddcc431a75d3d9afc6a7c0f7428d4891dd973e4d54c56b46127bf857
+SIZE (rust/crates/tokio-tungstenite-0.28.0.crate) = 29876
+SHA256 (rust/crates/tokio-util-0.7.16.crate) = 14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5
+SIZE (rust/crates/tokio-util-0.7.16.crate) = 127775
+SHA256 (rust/crates/tokio-websockets-0.10.1.crate) = f591660438b3038dd04d16c938271c79e7e06260ad2ea2885a4861bfb238605d
+SIZE (rust/crates/tokio-websockets-0.10.1.crate) = 153370
+SHA256 (rust/crates/toml_datetime-0.7.2.crate) = 32f1085dec27c2b6632b04c80b3bb1b4300d6495d1e129693bdda7d91e72eec1
+SIZE (rust/crates/toml_datetime-0.7.2.crate) = 17859
+SHA256 (rust/crates/toml_edit-0.23.6.crate) = f3effe7c0e86fdff4f69cdd2ccc1b96f933e24811c5441d44904e8683e27184b
+SIZE (rust/crates/toml_edit-0.23.6.crate) = 65753
+SHA256 (rust/crates/toml_parser-1.0.3.crate) = 4cf893c33be71572e0e9aa6dd15e6677937abd686b066eac3f8cd3531688a627
+SIZE (rust/crates/toml_parser-1.0.3.crate) = 34982
+SHA256 (rust/crates/tonic-0.12.3.crate) = 877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52
+SIZE (rust/crates/tonic-0.12.3.crate) = 99380
+SHA256 (rust/crates/totp-rs-5.7.0.crate) = f124352108f58ef88299e909f6e9470f1cdc8d2a1397963901b4a6366206bf72
+SIZE (rust/crates/totp-rs-5.7.0.crate) = 27499
+SHA256 (rust/crates/tower-0.4.13.crate) = b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c
+SIZE (rust/crates/tower-0.4.13.crate) = 106906
+SHA256 (rust/crates/tower-0.5.2.crate) = d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9
+SIZE (rust/crates/tower-0.5.2.crate) = 109417
+SHA256 (rust/crates/tower-http-0.6.6.crate) = adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2
+SIZE (rust/crates/tower-http-0.6.6.crate) = 133515
+SHA256 (rust/crates/tower-layer-0.3.3.crate) = 121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e
+SIZE (rust/crates/tower-layer-0.3.3.crate) = 6180
+SHA256 (rust/crates/tower-service-0.3.3.crate) = 8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3
+SIZE (rust/crates/tower-service-0.3.3.crate) = 6950
+SHA256 (rust/crates/tracing-0.1.41.crate) = 784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0
+SIZE (rust/crates/tracing-0.1.41.crate) = 82448
+SHA256 (rust/crates/tracing-attributes-0.1.30.crate) = 81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903
+SIZE (rust/crates/tracing-attributes-0.1.30.crate) = 39142
+SHA256 (rust/crates/tracing-core-0.1.34.crate) = b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678
+SIZE (rust/crates/tracing-core-0.1.34.crate) = 63760
+SHA256 (rust/crates/tracing-log-0.2.0.crate) = ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3
+SIZE (rust/crates/tracing-log-0.2.0.crate) = 17561
+SHA256 (rust/crates/tracing-serde-0.2.0.crate) = 704b1aeb7be0d0a84fc9828cae51dab5970fee5088f83d1dd7ee6f6246fc6ff1
+SIZE (rust/crates/tracing-serde-0.2.0.crate) = 7755
+SHA256 (rust/crates/tracing-subscriber-0.3.20.crate) = 2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5
+SIZE (rust/crates/tracing-subscriber-0.3.20.crate) = 212274
+SHA256 (rust/crates/try-lock-0.2.5.crate) = e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b
+SIZE (rust/crates/try-lock-0.2.5.crate) = 4314
+SHA256 (rust/crates/try_map-0.3.1.crate) = fb1626d07cb5c1bb2cf17d94c0be4852e8a7c02b041acec9a8c5bdda99f9d580
+SIZE (rust/crates/try_map-0.3.1.crate) = 7002
+SHA256 (rust/crates/tryhard-0.5.2.crate) = 9fe58ebd5edd976e0fe0f8a14d2a04b7c81ef153ea9a54eebc42e67c2c23b4e5
+SIZE (rust/crates/tryhard-0.5.2.crate) = 22608
+SHA256 (rust/crates/tungstenite-0.28.0.crate) = 8628dcc84e5a09eb3d8423d6cb682965dea9133204e8fb3efee74c2a0c259442
+SIZE (rust/crates/tungstenite-0.28.0.crate) = 67629
+SHA256 (rust/crates/twofish-0.7.1.crate) = a78e83a30223c757c3947cd144a31014ff04298d8719ae10d03c31c0448c8013
+SIZE (rust/crates/twofish-0.7.1.crate) = 12156
+SHA256 (rust/crates/twox-hash-2.1.2.crate) = 9ea3136b675547379c4bd395ca6b938e5ad3c3d20fad76e7fe85f9e0d011419c
+SIZE (rust/crates/twox-hash-2.1.2.crate) = 35641
+SHA256 (rust/crates/typenum-1.18.0.crate) = 1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f
+SIZE (rust/crates/typenum-1.18.0.crate) = 74871
+SHA256 (rust/crates/typewit-1.14.2.crate) = f8c1ae7cc0fdb8b842d65d127cb981574b0d2b249b74d1c7a2986863dc134f71
+SIZE (rust/crates/typewit-1.14.2.crate) = 74482
+SHA256 (rust/crates/typewit_proc_macros-1.8.1.crate) = e36a83ea2b3c704935a01b4642946aadd445cea40b10935e3f8bd8052b8193d6
+SIZE (rust/crates/typewit_proc_macros-1.8.1.crate) = 1944
+SHA256 (rust/crates/ucd-trie-0.1.7.crate) = 2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971
+SIZE (rust/crates/ucd-trie-0.1.7.crate) = 46795
+SHA256 (rust/crates/uhlc-0.8.1.crate) = 66bbb93b0c2258fe1e81a84d8de5391f2577b039decabf75a6441ea1ebbf4cb5
+SIZE (rust/crates/uhlc-0.8.1.crate) = 29480
+SHA256 (rust/crates/unicase-2.8.1.crate) = 75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539
+SIZE (rust/crates/unicase-2.8.1.crate) = 24088
+SHA256 (rust/crates/unicode-bidi-0.3.18.crate) = 5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5
+SIZE (rust/crates/unicode-bidi-0.3.18.crate) = 58300
+SHA256 (rust/crates/unicode-ident-1.0.19.crate) = f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d
+SIZE (rust/crates/unicode-ident-1.0.19.crate) = 47480
+SHA256 (rust/crates/unicode-normalization-0.1.24.crate) = 5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956
+SIZE (rust/crates/unicode-normalization-0.1.24.crate) = 126536
+SHA256 (rust/crates/unicode-properties-0.1.3.crate) = e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0
+SIZE (rust/crates/unicode-properties-0.1.3.crate) = 42252
+SHA256 (rust/crates/unicode-script-0.5.7.crate) = 9fb421b350c9aff471779e262955939f565ec18b86c15364e6bdf0d662ca7c1f
+SIZE (rust/crates/unicode-script-0.5.7.crate) = 47080
+SHA256 (rust/crates/unicode-security-0.1.2.crate) = 2e4ddba1535dd35ed8b61c52166b7155d7f4e4b8847cec6f48e71dc66d8b5e50
+SIZE (rust/crates/unicode-security-0.1.2.crate) = 76517
+SHA256 (rust/crates/unicode-width-0.1.14.crate) = 7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af
+SIZE (rust/crates/unicode-width-0.1.14.crate) = 271615
+SHA256 (rust/crates/unicode-width-0.2.1.crate) = 4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c
+SIZE (rust/crates/unicode-width-0.2.1.crate) = 279344
+SHA256 (rust/crates/unicode-xid-0.2.6.crate) = ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853
+SIZE (rust/crates/unicode-xid-0.2.6.crate) = 15744
+SHA256 (rust/crates/universal-hash-0.5.1.crate) = fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea
+SIZE (rust/crates/universal-hash-0.5.1.crate) = 9146
+SHA256 (rust/crates/unsafe-libyaml-0.2.11.crate) = 673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861
+SIZE (rust/crates/unsafe-libyaml-0.2.11.crate) = 62101
+SHA256 (rust/crates/untrusted-0.7.1.crate) = a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a
+SIZE (rust/crates/untrusted-0.7.1.crate) = 7924
+SHA256 (rust/crates/untrusted-0.9.0.crate) = 8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1
+SIZE (rust/crates/untrusted-0.9.0.crate) = 14447
+SHA256 (rust/crates/unty-0.0.4.crate) = 6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae
+SIZE (rust/crates/unty-0.0.4.crate) = 7200
+SHA256 (rust/crates/unzip-n-0.1.2.crate) = c2e7e85a0596447f0f2ac090e16bc4c516c6fe91771fb0c0ccf7fa3dae896b9c
+SIZE (rust/crates/unzip-n-0.1.2.crate) = 7756
+SHA256 (rust/crates/url-2.5.7.crate) = 08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b
+SIZE (rust/crates/url-2.5.7.crate) = 87907
+SHA256 (rust/crates/urlencoding-2.1.3.crate) = daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da
+SIZE (rust/crates/urlencoding-2.1.3.crate) = 6538
+SHA256 (rust/crates/utf-8-0.7.6.crate) = 09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9
+SIZE (rust/crates/utf-8-0.7.6.crate) = 10422
+SHA256 (rust/crates/utf8_iter-1.0.4.crate) = b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be
+SIZE (rust/crates/utf8_iter-1.0.4.crate) = 10437
+SHA256 (rust/crates/utf8parse-0.2.2.crate) = 06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821
+SIZE (rust/crates/utf8parse-0.2.2.crate) = 13499
+SHA256 (rust/crates/uuid-1.18.1.crate) = 2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2
+SIZE (rust/crates/uuid-1.18.1.crate) = 60468
+SHA256 (rust/crates/validated_struct-2.2.0.crate) = 869a93e8a7286e339e1128630051d82babbcd75d585975af07b9f3327220e60e
+SIZE (rust/crates/validated_struct-2.2.0.crate) = 5025
+SHA256 (rust/crates/validated_struct_macros-2.2.0.crate) = 8c44ce98e7227a04eeb4cf9c784109a5c9710e54849ceb4f09f8597247897f1e
+SIZE (rust/crates/validated_struct_macros-2.2.0.crate) = 5651
+SHA256 (rust/crates/valuable-0.1.1.crate) = ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65
+SIZE (rust/crates/valuable-0.1.1.crate) = 28679
+SHA256 (rust/crates/vcpkg-0.2.15.crate) = accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426
+SIZE (rust/crates/vcpkg-0.2.15.crate) = 228735
+SHA256 (rust/crates/vec_map-0.8.2.crate) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191
+SIZE (rust/crates/vec_map-0.8.2.crate) = 14466
+SHA256 (rust/crates/version_check-0.9.5.crate) = 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a
+SIZE (rust/crates/version_check-0.9.5.crate) = 15554
+SHA256 (rust/crates/virtue-0.0.18.crate) = 051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1
+SIZE (rust/crates/virtue-0.0.18.crate) = 33545
+SHA256 (rust/crates/void-1.0.2.crate) = 6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d
+SIZE (rust/crates/void-1.0.2.crate) = 2356
+SHA256 (rust/crates/waker-fn-1.2.0.crate) = 317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7
+SIZE (rust/crates/waker-fn-1.2.0.crate) = 6685
+SHA256 (rust/crates/walkdir-2.5.0.crate) = 29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b
+SIZE (rust/crates/walkdir-2.5.0.crate) = 23951
+SHA256 (rust/crates/want-0.3.1.crate) = bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e
+SIZE (rust/crates/want-0.3.1.crate) = 6398
+SHA256 (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.crate) = cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519
+SIZE (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.crate) = 31521
+SHA256 (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b
+SIZE (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = 28477
+SHA256 (rust/crates/wasi-0.14.7+wasi-0.2.4.crate) = 883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c
+SIZE (rust/crates/wasi-0.14.7+wasi-0.2.4.crate) = 18219
+SHA256 (rust/crates/wasip2-1.0.1+wasi-0.2.4.crate) = 0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7
+SIZE (rust/crates/wasip2-1.0.1+wasi-0.2.4.crate) = 132087
+SHA256 (rust/crates/wasite-0.1.0.crate) = b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b
+SIZE (rust/crates/wasite-0.1.0.crate) = 2346
+SHA256 (rust/crates/wasm-bindgen-0.2.104.crate) = c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d
+SIZE (rust/crates/wasm-bindgen-0.2.104.crate) = 47345
+SHA256 (rust/crates/wasm-bindgen-backend-0.2.104.crate) = 671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19
+SIZE (rust/crates/wasm-bindgen-backend-0.2.104.crate) = 32230
+SHA256 (rust/crates/wasm-bindgen-futures-0.4.54.crate) = 7e038d41e478cc73bae0ff9b36c60cff1c98b8f38f8d7e8061e79ee63608ac5c
+SIZE (rust/crates/wasm-bindgen-futures-0.4.54.crate) = 16381
+SHA256 (rust/crates/wasm-bindgen-macro-0.2.104.crate) = 7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119
+SIZE (rust/crates/wasm-bindgen-macro-0.2.104.crate) = 9390
+SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.104.crate) = 9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7
+SIZE (rust/crates/wasm-bindgen-macro-support-0.2.104.crate) = 26411
+SHA256 (rust/crates/wasm-bindgen-shared-0.2.104.crate) = bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1
+SIZE (rust/crates/wasm-bindgen-shared-0.2.104.crate) = 9057
+SHA256 (rust/crates/wasm-streams-0.4.2.crate) = 15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65
+SIZE (rust/crates/wasm-streams-0.4.2.crate) = 36773
+SHA256 (rust/crates/web-sys-0.3.81.crate) = 9367c417a924a74cae129e6a2ae3b47fabb1f8995595ab474029da749a8be120
+SIZE (rust/crates/web-sys-0.3.81.crate) = 641812
+SHA256 (rust/crates/web-time-1.1.0.crate) = 5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb
+SIZE (rust/crates/web-time-1.1.0.crate) = 18026
+SHA256 (rust/crates/webpki-root-certs-1.0.2.crate) = 4e4ffd8df1c57e87c325000a3d6ef93db75279dc3a231125aac571650f22b12a
+SIZE (rust/crates/webpki-root-certs-1.0.2.crate) = 173652
+SHA256 (rust/crates/webpki-roots-0.25.4.crate) = 5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1
+SIZE (rust/crates/webpki-roots-0.25.4.crate) = 253559
+SHA256 (rust/crates/webpki-roots-0.26.11.crate) = 521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9
+SIZE (rust/crates/webpki-roots-0.26.11.crate) = 15557
+SHA256 (rust/crates/webpki-roots-1.0.2.crate) = 7e8983c3ab33d6fb807cfcdad2491c4ea8cbc8ed839181c7dfd9c67c83e261b2
+SIZE (rust/crates/webpki-roots-1.0.2.crate) = 255109
+SHA256 (rust/crates/whatlang-0.16.4.crate) = 471d1c1645d361eb782a1650b1786a8fb58dd625e681a04c09f5ff7c8764a7b0
+SIZE (rust/crates/whatlang-0.16.4.crate) = 82482
+SHA256 (rust/crates/whoami-1.6.1.crate) = 5d4a4db5077702ca3015d3d02d74974948aba2ad9e12ab7df718ee64ccd7e97d
+SIZE (rust/crates/whoami-1.6.1.crate) = 24975
+SHA256 (rust/crates/widestring-1.2.0.crate) = dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d
+SIZE (rust/crates/widestring-1.2.0.crate) = 89105
+SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
+SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
+SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
+SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
+SHA256 (rust/crates/winapi-util-0.1.11.crate) = c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22
+SIZE (rust/crates/winapi-util-0.1.11.crate) = 13368
+SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
+SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
+SHA256 (rust/crates/windows-core-0.62.1.crate) = 6844ee5416b285084d3d3fffd743b925a6c9385455f64f6d4fa3031c4c2749a9
+SIZE (rust/crates/windows-core-0.62.1.crate) = 36948
+SHA256 (rust/crates/windows-implement-0.60.1.crate) = edb307e42a74fb6de9bf3a02d9712678b22399c87e6fa869d6dfcd8c1b7754e0
+SIZE (rust/crates/windows-implement-0.60.1.crate) = 15257
+SHA256 (rust/crates/windows-interface-0.59.2.crate) = c0abd1ddbc6964ac14db11c7213d6532ef34bd9aa042c2e5935f59d7908b46a5
+SIZE (rust/crates/windows-interface-0.59.2.crate) = 11735
+SHA256 (rust/crates/windows-link-0.1.3.crate) = 5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a
+SIZE (rust/crates/windows-link-0.1.3.crate) = 6154
+SHA256 (rust/crates/windows-link-0.2.0.crate) = 45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65
+SIZE (rust/crates/windows-link-0.2.0.crate) = 6170
+SHA256 (rust/crates/windows-result-0.4.0.crate) = 7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f
+SIZE (rust/crates/windows-result-0.4.0.crate) = 13420
+SHA256 (rust/crates/windows-strings-0.5.0.crate) = 7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda
+SIZE (rust/crates/windows-strings-0.5.0.crate) = 13992
+SHA256 (rust/crates/windows-sys-0.45.0.crate) = 75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0
+SIZE (rust/crates/windows-sys-0.45.0.crate) = 2568659
+SHA256 (rust/crates/windows-sys-0.48.0.crate) = 677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9
+SIZE (rust/crates/windows-sys-0.48.0.crate) = 2628884
+SHA256 (rust/crates/windows-sys-0.52.0.crate) = 282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d
+SIZE (rust/crates/windows-sys-0.52.0.crate) = 2576877
+SHA256 (rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b
+SIZE (rust/crates/windows-sys-0.59.0.crate) = 2387323
+SHA256 (rust/crates/windows-sys-0.60.2.crate) = f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb
+SIZE (rust/crates/windows-sys-0.60.2.crate) = 2518479
+SHA256 (rust/crates/windows-sys-0.61.1.crate) = 6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f
+SIZE (rust/crates/windows-sys-0.61.1.crate) = 2517255
+SHA256 (rust/crates/windows-targets-0.42.2.crate) = 8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071
+SIZE (rust/crates/windows-targets-0.42.2.crate) = 5492
+SHA256 (rust/crates/windows-targets-0.48.5.crate) = 9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c
+SIZE (rust/crates/windows-targets-0.48.5.crate) = 6904
+SHA256 (rust/crates/windows-targets-0.52.6.crate) = 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973
+SIZE (rust/crates/windows-targets-0.52.6.crate) = 6403
+SHA256 (rust/crates/windows-targets-0.53.4.crate) = 2d42b7b7f66d2a06854650af09cfdf8713e427a439c97ad65a6375318033ac4b
+SIZE (rust/crates/windows-targets-0.53.4.crate) = 7161
+SHA256 (rust/crates/windows_aarch64_gnullvm-0.42.2.crate) = 597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8
+SIZE (rust/crates/windows_aarch64_gnullvm-0.42.2.crate) = 364071
+SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8
+SIZE (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 418492
+SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3
+SIZE (rust/crates/windows_aarch64_gnullvm-0.52.6.crate) = 435718
+SHA256 (rust/crates/windows_aarch64_gnullvm-0.53.0.crate) = 86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764
+SIZE (rust/crates/windows_aarch64_gnullvm-0.53.0.crate) = 782443
+SHA256 (rust/crates/windows_aarch64_msvc-0.42.2.crate) = e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43
+SIZE (rust/crates/windows_aarch64_msvc-0.42.2.crate) = 666981
+SHA256 (rust/crates/windows_aarch64_msvc-0.48.5.crate) = dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc
+SIZE (rust/crates/windows_aarch64_msvc-0.48.5.crate) = 798483
+SHA256 (rust/crates/windows_aarch64_msvc-0.52.6.crate) = 09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469
+SIZE (rust/crates/windows_aarch64_msvc-0.52.6.crate) = 832615
+SHA256 (rust/crates/windows_aarch64_msvc-0.53.0.crate) = c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c
+SIZE (rust/crates/windows_aarch64_msvc-0.53.0.crate) = 834446
+SHA256 (rust/crates/windows_i686_gnu-0.42.2.crate) = c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f
+SIZE (rust/crates/windows_i686_gnu-0.42.2.crate) = 736236
+SHA256 (rust/crates/windows_i686_gnu-0.48.5.crate) = a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e
+SIZE (rust/crates/windows_i686_gnu-0.48.5.crate) = 844891
+SHA256 (rust/crates/windows_i686_gnu-0.52.6.crate) = 8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b
+SIZE (rust/crates/windows_i686_gnu-0.52.6.crate) = 880402
+SHA256 (rust/crates/windows_i686_gnu-0.53.0.crate) = c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3
+SIZE (rust/crates/windows_i686_gnu-0.53.0.crate) = 936973
+SHA256 (rust/crates/windows_i686_gnullvm-0.52.6.crate) = 0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66
+SIZE (rust/crates/windows_i686_gnullvm-0.52.6.crate) = 475940
+SHA256 (rust/crates/windows_i686_gnullvm-0.53.0.crate) = 9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11
+SIZE (rust/crates/windows_i686_gnullvm-0.53.0.crate) = 854056
+SHA256 (rust/crates/windows_i686_msvc-0.42.2.crate) = 44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060
+SIZE (rust/crates/windows_i686_msvc-0.42.2.crate) = 724951
+SHA256 (rust/crates/windows_i686_msvc-0.48.5.crate) = 8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406
+SIZE (rust/crates/windows_i686_msvc-0.48.5.crate) = 864300
+SHA256 (rust/crates/windows_i686_msvc-0.52.6.crate) = 240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66
+SIZE (rust/crates/windows_i686_msvc-0.52.6.crate) = 901163
+SHA256 (rust/crates/windows_i686_msvc-0.53.0.crate) = 581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d
+SIZE (rust/crates/windows_i686_msvc-0.53.0.crate) = 903450
+SHA256 (rust/crates/windows_x86_64_gnu-0.42.2.crate) = 8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36
+SIZE (rust/crates/windows_x86_64_gnu-0.42.2.crate) = 699373
+SHA256 (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e
+SIZE (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 801619
+SHA256 (rust/crates/windows_x86_64_gnu-0.52.6.crate) = 147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78
+SIZE (rust/crates/windows_x86_64_gnu-0.52.6.crate) = 836363
+SHA256 (rust/crates/windows_x86_64_gnu-0.53.0.crate) = 2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba
+SIZE (rust/crates/windows_x86_64_gnu-0.53.0.crate) = 902585
+SHA256 (rust/crates/windows_x86_64_gnullvm-0.42.2.crate) = 26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3
+SIZE (rust/crates/windows_x86_64_gnullvm-0.42.2.crate) = 364068
+SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc
+SIZE (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 418486
+SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d
+SIZE (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 435707
+SHA256 (rust/crates/windows_x86_64_gnullvm-0.53.0.crate) = 0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57
+SIZE (rust/crates/windows_x86_64_gnullvm-0.53.0.crate) = 782434
+SHA256 (rust/crates/windows_x86_64_msvc-0.42.2.crate) = 9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0
+SIZE (rust/crates/windows_x86_64_msvc-0.42.2.crate) = 666936
+SHA256 (rust/crates/windows_x86_64_msvc-0.48.5.crate) = ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538
+SIZE (rust/crates/windows_x86_64_msvc-0.48.5.crate) = 798412
+SHA256 (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec
+SIZE (rust/crates/windows_x86_64_msvc-0.52.6.crate) = 832564
+SHA256 (rust/crates/windows_x86_64_msvc-0.53.0.crate) = 271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486
+SIZE (rust/crates/windows_x86_64_msvc-0.53.0.crate) = 834400
+SHA256 (rust/crates/winnow-0.7.13.crate) = 21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf
+SIZE (rust/crates/winnow-0.7.13.crate) = 174454
+SHA256 (rust/crates/winreg-0.50.0.crate) = 524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1
+SIZE (rust/crates/winreg-0.50.0.crate) = 29703
+SHA256 (rust/crates/wit-bindgen-0.46.0.crate) = f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59
+SIZE (rust/crates/wit-bindgen-0.46.0.crate) = 60508
+SHA256 (rust/crates/writeable-0.6.1.crate) = ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb
+SIZE (rust/crates/writeable-0.6.1.crate) = 24068
+SHA256 (rust/crates/wyz-0.5.1.crate) = 05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed
+SIZE (rust/crates/wyz-0.5.1.crate) = 18790
+SHA256 (rust/crates/x25519-dalek-2.0.1.crate) = c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277
+SIZE (rust/crates/x25519-dalek-2.0.1.crate) = 87820
+SHA256 (rust/crates/x509-parser-0.15.1.crate) = 7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da
+SIZE (rust/crates/x509-parser-0.15.1.crate) = 91123
+SHA256 (rust/crates/x509-parser-0.16.0.crate) = fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69
+SIZE (rust/crates/x509-parser-0.16.0.crate) = 92925
+SHA256 (rust/crates/x509-parser-0.17.0.crate) = 4569f339c0c402346d4a75a9e39cf8dad310e287eef1ff56d4c68e5067f53460
+SIZE (rust/crates/x509-parser-0.17.0.crate) = 97419
+SHA256 (rust/crates/xml-rs-0.8.27.crate) = 6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7
+SIZE (rust/crates/xml-rs-0.8.27.crate) = 55258
+SHA256 (rust/crates/xxhash-rust-0.8.15.crate) = fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3
+SIZE (rust/crates/xxhash-rust-0.8.15.crate) = 21515
+SHA256 (rust/crates/yasna-0.5.2.crate) = e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd
+SIZE (rust/crates/yasna-0.5.2.crate) = 34859
+SHA256 (rust/crates/yoke-0.8.0.crate) = 5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc
+SIZE (rust/crates/yoke-0.8.0.crate) = 28726
+SHA256 (rust/crates/yoke-derive-0.8.0.crate) = 38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6
+SIZE (rust/crates/yoke-derive-0.8.0.crate) = 7521
+SHA256 (rust/crates/zenoh-1.5.1.crate) = 3427f6680d4de3f71bd823e49df91c43d97a90475bed4ace0e6fc60c93a82401
+SIZE (rust/crates/zenoh-1.5.1.crate) = 312158
+SHA256 (rust/crates/zenoh-buffers-1.5.1.crate) = 9acc6037e456d7baf880a7379f7a0cbcf637cc64ec6a2cf9ee26914823e91738
+SIZE (rust/crates/zenoh-buffers-1.5.1.crate) = 14255
+SHA256 (rust/crates/zenoh-codec-1.5.1.crate) = 61054e59ad67c2cc8002de54a1797accc9a52c305bd50ed7a4589a33e698f345
+SIZE (rust/crates/zenoh-codec-1.5.1.crate) = 43758
+SHA256 (rust/crates/zenoh-collections-1.5.1.crate) = 959ea6f76c697adb778eefc358fb77a140add8ad800d08bd92b2ad19eb088017
+SIZE (rust/crates/zenoh-collections-1.5.1.crate) = 7890
+SHA256 (rust/crates/zenoh-config-1.5.1.crate) = 9f41025fbb26212dc2b94815aef1591f4a7fd223e25dc8f63042e6d192752cc7
+SIZE (rust/crates/zenoh-config-1.5.1.crate) = 37968
+SHA256 (rust/crates/zenoh-core-1.5.1.crate) = 41c94383c2eddf191ce04dc792e901487045640ff66614c55ae7fdb9c15bd037
+SIZE (rust/crates/zenoh-core-1.5.1.crate) = 8355
+SHA256 (rust/crates/zenoh-crypto-1.5.1.crate) = a1e7a9ab1b9b4d1735a9cd6a92049780f3d846be25c0f76a973e6fb2709db506
+SIZE (rust/crates/zenoh-crypto-1.5.1.crate) = 5317
+SHA256 (rust/crates/zenoh-keyexpr-1.5.1.crate) = 555447f0f7b3414511c829b238402ad08e0b03a9293c3251b0b01a0354b8d9e2
+SIZE (rust/crates/zenoh-keyexpr-1.5.1.crate) = 58970
+SHA256 (rust/crates/zenoh-link-1.5.1.crate) = 7f06ab3c0426b4a37ccf3b198f17f2e2fba6dac8d0946d96b8cbfc1983225ea9
+SIZE (rust/crates/zenoh-link-1.5.1.crate) = 23339
+SHA256 (rust/crates/zenoh-link-commons-1.5.1.crate) = ba5bc55882893ecdbf0de2effc1487f4d91efb21f2d5a1242cc8cae13f9f97ff
+SIZE (rust/crates/zenoh-link-commons-1.5.1.crate) = 30018
+SHA256 (rust/crates/zenoh-link-quic-1.5.1.crate) = 9d99d4d013a42733c82aefc67bdbb3199835f3c63659a8826baebf86567e1748
+SIZE (rust/crates/zenoh-link-quic-1.5.1.crate) = 26515
+SHA256 (rust/crates/zenoh-link-tcp-1.5.1.crate) = 15685d53a5364611cb22034c1a63d6ceb3be6d89b31f3d94c20e770c10627b1c
+SIZE (rust/crates/zenoh-link-tcp-1.5.1.crate) = 20164
+SHA256 (rust/crates/zenoh-link-tls-1.5.1.crate) = d1e59f64bd7c3257c710e05bddc695207f9261d66ad9c699346c8704f0298f3f
+SIZE (rust/crates/zenoh-link-tls-1.5.1.crate) = 26606
+SHA256 (rust/crates/zenoh-link-udp-1.5.1.crate) = f9542387f1c7846868917c46a49a804931a1b8505113c43b67a7ba1a951f1802
+SIZE (rust/crates/zenoh-link-udp-1.5.1.crate) = 24477
+SHA256 (rust/crates/zenoh-macros-1.5.1.crate) = c5f1aab2de6a19e91de22c0dc7e439158c677b1d44198d8a3e242d32b7f06d4b
+SIZE (rust/crates/zenoh-macros-1.5.1.crate) = 12891
+SHA256 (rust/crates/zenoh-plugin-trait-1.5.1.crate) = c922e9afe24e8b1722cd3eb1e1ca4d4d548dfe2356a49663a8fa41edd724bc35
+SIZE (rust/crates/zenoh-plugin-trait-1.5.1.crate) = 23990
+SHA256 (rust/crates/zenoh-protocol-1.5.1.crate) = b44f25959e11eb4f499abd4a771b6d9f1f4e7d5987937c38b8c67d86b01cb814
+SIZE (rust/crates/zenoh-protocol-1.5.1.crate) = 45998
+SHA256 (rust/crates/zenoh-result-1.5.1.crate) = b9ff9ee9d66b67134b7127ebbd974a75995a82b749e0eac1a9225f7b19ee5dc5
+SIZE (rust/crates/zenoh-result-1.5.1.crate) = 3509
+SHA256 (rust/crates/zenoh-runtime-1.5.1.crate) = d3a108f59311a215ce4c5e0dc0d172865c8856eb03148ee86933da3e15d05e5d
+SIZE (rust/crates/zenoh-runtime-1.5.1.crate) = 8525
+SHA256 (rust/crates/zenoh-sync-1.5.1.crate) = 66a8c05fb9228ff3398e0ac8c8d460abbbc5d53e4ee47c97c28ea33bc684e3f2
+SIZE (rust/crates/zenoh-sync-1.5.1.crate) = 14702
+SHA256 (rust/crates/zenoh-task-1.5.1.crate) = d037689edce4a17f91e0049a2050662419ae3f70678a30a759c92ede62450dc6
+SIZE (rust/crates/zenoh-task-1.5.1.crate) = 8356
+SHA256 (rust/crates/zenoh-transport-1.5.1.crate) = 574fd48eb855ec99523700d1411ef4aec5714f4bc19bbbb9aae6b641cd9a38fe
+SIZE (rust/crates/zenoh-transport-1.5.1.crate) = 169161
+SHA256 (rust/crates/zenoh-util-1.5.1.crate) = 558ffebb7e7d5249f45e8e3d006da64e44cf11913eec606e501ef2e22736dbc2
+SIZE (rust/crates/zenoh-util-1.5.1.crate) = 26774
+SHA256 (rust/crates/zerocopy-0.8.27.crate) = 0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c
+SIZE (rust/crates/zerocopy-0.8.27.crate) = 252663
+SHA256 (rust/crates/zerocopy-derive-0.8.27.crate) = 88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831
+SIZE (rust/crates/zerocopy-derive-0.8.27.crate) = 89827
+SHA256 (rust/crates/zerofrom-0.1.6.crate) = 50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5
+SIZE (rust/crates/zerofrom-0.1.6.crate) = 5669
+SHA256 (rust/crates/zerofrom-derive-0.1.6.crate) = d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502
+SIZE (rust/crates/zerofrom-derive-0.1.6.crate) = 8305
+SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde
+SIZE (rust/crates/zeroize-1.8.1.crate) = 20029
+SHA256 (rust/crates/zeroize_derive-1.4.2.crate) = ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69
+SIZE (rust/crates/zeroize_derive-1.4.2.crate) = 11141
+SHA256 (rust/crates/zerotrie-0.2.2.crate) = 36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595
+SIZE (rust/crates/zerotrie-0.2.2.crate) = 74423
+SHA256 (rust/crates/zerovec-0.11.4.crate) = e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b
+SIZE (rust/crates/zerovec-0.11.4.crate) = 125080
+SHA256 (rust/crates/zerovec-derive-0.11.1.crate) = 5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f
+SIZE (rust/crates/zerovec-derive-0.11.1.crate) = 21294
+SHA256 (rust/crates/zip-4.6.1.crate) = caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1
+SIZE (rust/crates/zip-4.6.1.crate) = 115842
+SHA256 (rust/crates/zip-5.1.1.crate) = 2f852905151ac8d4d06fdca66520a661c09730a74c6d4e2b0f27b436b382e532
+SIZE (rust/crates/zip-5.1.1.crate) = 127991
+SHA256 (rust/crates/zlib-rs-0.5.2.crate) = 2f06ae92f42f5e5c42443fd094f245eb656abf56dd7cce9b8b263236565e00f2
+SIZE (rust/crates/zlib-rs-0.5.2.crate) = 194342
+SHA256 (rust/crates/zopfli-0.8.2.crate) = edfc5ee405f504cd4984ecc6f14d02d55cfda60fa4b689434ef4102aae150cd7
+SIZE (rust/crates/zopfli-0.8.2.crate) = 51842
+SHA256 (rust/crates/zstd-0.13.3.crate) = e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a
+SIZE (rust/crates/zstd-0.13.3.crate) = 30514
+SHA256 (rust/crates/zstd-safe-7.2.4.crate) = 8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d
+SIZE (rust/crates/zstd-safe-7.2.4.crate) = 29350
+SHA256 (rust/crates/zstd-sys-2.0.16+zstd.1.5.7.crate) = 91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748
+SIZE (rust/crates/zstd-sys-2.0.16+zstd.1.5.7.crate) = 775620
+SHA256 (stalwartlabs-stalwart-v0.13.4_GH0.tar.gz) = 80dfb091374fae573e549ef1ae986abde63293bfbf8cab4e8d6c7b9547cbbac3
+SIZE (stalwartlabs-stalwart-v0.13.4_GH0.tar.gz) = 9695902
diff --git a/mail/stalwart/files/patch-crates_cli_Cargo.toml b/mail/stalwart/files/patch-crates_cli_Cargo.toml
new file mode 100644
index 000000000000..353d184aed13
--- /dev/null
+++ b/mail/stalwart/files/patch-crates_cli_Cargo.toml
@@ -0,0 +1,19 @@
+--- crates/cli/Cargo.toml.orig 2025-03-25 09:55:38 UTC
++++ crates/cli/Cargo.toml
+@@ -30,3 +30,16 @@ mail-auth = { version = "0.6" }
+ pwhash = "1.0.0"
+ rand = "0.9.0"
+ mail-auth = { version = "0.6" }
++
++[features]
++default = []
++sqlite = []
++foundationdb = []
++postgres = []
++mysql = []
++rocks = []
++elastic = []
++s3 = []
++redis = []
++azure = []
++enterprise = []
diff --git a/mail/stalwart/files/patch-crates_main_Cargo.toml b/mail/stalwart/files/patch-crates_main_Cargo.toml
new file mode 100644
index 000000000000..4f56d1534ebf
--- /dev/null
+++ b/mail/stalwart/files/patch-crates_main_Cargo.toml
@@ -0,0 +1,11 @@
+--- crates/main/Cargo.toml.orig 2025-01-28 10:08:11 UTC
++++ crates/main/Cargo.toml
+@@ -30,7 +30,7 @@ tokio = { version = "1.23", features = ["full"] }
+ utils = { path = "../utils" }
+ tokio = { version = "1.23", features = ["full"] }
+
+-[target.'cfg(not(target_env = "msvc"))'.dependencies]
++[target.'cfg(not(target_os = "freebsd"))'.dependencies]
+ jemallocator = "0.5.0"
+
+ [features]
diff --git a/mail/stalwart/files/patch-crates_main_src_main.rs b/mail/stalwart/files/patch-crates_main_src_main.rs
new file mode 100644
index 000000000000..c4d6b7224d27
--- /dev/null
+++ b/mail/stalwart/files/patch-crates_main_src_main.rs
@@ -0,0 +1,15 @@
+--- crates/main/src/main.rs.orig 2025-01-28 10:05:42 UTC
++++ crates/main/src/main.rs
+@@ -16,10 +16,10 @@ use utils::wait_for_shutdown;
+ use trc::Collector;
+ use utils::wait_for_shutdown;
+
+-#[cfg(not(target_env = "msvc"))]
++#[cfg(not(target_os = "freebsd"))]
+ use jemallocator::Jemalloc;
+
+-#[cfg(not(target_env = "msvc"))]
++#[cfg(not(target_os = "freebsd"))]
+ #[global_allocator]
+ static GLOBAL: Jemalloc = Jemalloc;
+
diff --git a/mail/stalwart/files/patch-tests_Cargo.toml b/mail/stalwart/files/patch-tests_Cargo.toml
new file mode 100644
index 000000000000..487a4e52c18b
--- /dev/null
+++ b/mail/stalwart/files/patch-tests_Cargo.toml
@@ -0,0 +1,9 @@
+--- tests/Cargo.toml.orig 2025-03-24 16:54:15 UTC
++++ tests/Cargo.toml
+@@ -67,5 +67,5 @@ form_urlencoded = "1.1.0"
+ biscuit = "0.7.0"
+ form_urlencoded = "1.1.0"
+
+-[target.'cfg(not(target_env = "msvc"))'.dependencies]
++[target.'cfg(not(target_os = "freebsd"))'.dependencies]
+ jemallocator = "0.5.0"
diff --git a/mail/stalwart/files/patch-tests_src_lib.rs b/mail/stalwart/files/patch-tests_src_lib.rs
new file mode 100644
index 000000000000..e75acaeaf2ad
--- /dev/null
+++ b/mail/stalwart/files/patch-tests_src_lib.rs
@@ -0,0 +1,17 @@
+--- tests/src/lib.rs.orig 2025-01-28 10:11:28 UTC
++++ tests/src/lib.rs
+@@ -6,12 +6,12 @@ use std::path::PathBuf;
+
+ use std::path::PathBuf;
+
+-#[cfg(not(target_env = "msvc"))]
++#[cfg(not(target_os = "freebsd"))]
+ use jemallocator::Jemalloc;
+ #[cfg(test)]
+ use trc::Collector;
+
+-#[cfg(not(target_env = "msvc"))]
++#[cfg(not(target_os = "freebsd"))]
+ #[global_allocator]
+ static GLOBAL: Jemalloc = Jemalloc;
+
diff --git a/mail/stalwart/files/stalwart.in b/mail/stalwart/files/stalwart.in
new file mode 100644
index 000000000000..7ecef0faf7f9
--- /dev/null
+++ b/mail/stalwart/files/stalwart.in
@@ -0,0 +1,70 @@
+#!/bin/sh
+#
+# PROVIDE: stalwart
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name="stalwart"
+rcvar="stalwart_enable"
+
+load_rc_config stalwart
+
+: ${stalwart_enable:="NO"}
+: ${stalwart_user:="%%USERS%%"}
+: ${stalwart_group:="%%GROUPS%%"}
+: ${stalwart_config:="%%ETCDIR%%/config.toml"}
+: ${stalwart_log:="/var/log/stalwart.log"}
+: ${stalwart_path:="/var/db/stalwart"}
+
+pidfile="/var/run/stalwart/server.pid"
+procname="%%LOCALBASE%%/bin/stalwart"
+start_cmd="stalwart_start"
+start_precmd="stalwart_prestart"
+
+stalwart_env="STALWART_PATH=${stalwart_path} RUN_AS_USER=${stalwart_user} RUN_AS_GROUP=${stalwart_group}"
+
+stalwart_prestart() {
+ if [ ! -f "${stalwart_log}" ]; then
+ install -o ${stalwart_user} -g ${stalwart_group} -m 0640 /dev/null ${stalwart_log}
+ fi
+
+ if [ ! -d "/var/run/stalwart" ] ; then
+ install -d -o ${stalwart_user} -g ${stalwart_group} "/var/run/stalwart"
+ fi
+
+ # if empty, RocksDB needs to be initialized
+ if [ ! -d "${stalwart_path}" ] || [ -z "$(ls -A "${stalwart_path}" 2>/dev/null)" ]; then
+ stalwart_init
+ fi
+
+}
+
+stalwart_start()
+{
+ echo -n "Starting Stalwart: "
+
+ /usr/sbin/daemon -p ${pidfile} \
+ -T ${name} \
+ -o ${stalwart_log} \
+ ${procname} --config ${stalwart_config} \
+ ${stalwart_flags}
+
+ echo "done."
+}
+
+stalwart_init()
+{
+ mkdir -p ${stalwart_path}
+ /usr/bin/install -d -o ${stalwart_user} -g ${stalwart_group} -m 0755 ${stalwart_path}
+ # will tell user of a password it generated in the config we are throwing away
+ /usr/bin/su -m ${stalwart_user} -c "${procname} -I ${stalwart_path}" 2> /dev/null
+
+ # clean up autogenerated etc and logs directories we didn't want
+ rm -f ${stalwart_path}/etc/config.toml
+ rmdir ${stalwart_path}/etc
+ rmdir ${stalwart_path}/logs
+}
+
+run_rc_command "$1"
diff --git a/mail/stalwart/pkg-descr b/mail/stalwart/pkg-descr
new file mode 100644
index 000000000000..b7f8f86f3d82
--- /dev/null
+++ b/mail/stalwart/pkg-descr
@@ -0,0 +1,4 @@
+Stalwart Mail Server is an open-source mail server solution with
+JMAP, IMAP4, POP3, and SMTP support and a wide range of modern
+features. It is written in Rust and designed to be secure, fast,
+robust and scalable.
diff --git a/mail/stalwart/pkg-message b/mail/stalwart/pkg-message
new file mode 100644
index 000000000000..64776b3f8f89
--- /dev/null
+++ b/mail/stalwart/pkg-message
@@ -0,0 +1,17 @@
+[
+{ type: install
+ message: <<EOM
+Note: You must define a fallback-admin manually in the configuration file
+at %%ETCDIR%%/config.toml to be able to login the first time.
+
+Edit the configuration for the fallback-admin:
+
+[authentication.fallback-admin]
+user = "admin"
+secret = "yourplaintextpasswordhere"
+
+The secret will be replaced with a hash if you change the fallback
+admin's password in the web admin panel. The secret value can also be a
+password hash documented here: https://stalw.art/docs/auth/authentication/password/
+}
+]
diff --git a/mail/stalwart/pkg-plist b/mail/stalwart/pkg-plist
new file mode 100644
index 000000000000..d7ed64275898
--- /dev/null
+++ b/mail/stalwart/pkg-plist
@@ -0,0 +1,6 @@
+bin/stalwart
+bin/stalwart-cli
+@dir(stalwart,stalwart,755) etc/stalwart
+@sample(stalwart,stalwart,640) etc/stalwart/config.toml.sample
+@dir(stalwart,stalwart,755) /var/db/stalwart
+@dir(stalwart,stalwart,755) /var/db/stalwart/data
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile
index 63a3a69daab3..4d88ded79df1 100644
--- a/mail/thunderbird-esr/Makefile
+++ b/mail/thunderbird-esr/Makefile
@@ -1,8 +1,9 @@
PORTNAME= thunderbird
-DISTVERSION= 140.3.1
+DISTVERSION= 140.5.0
+PORTREVISION= 1
CATEGORIES= mail news net-im wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
- MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build1/source
+ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build2/source
PKGNAMESUFFIX= -esr
DISTFILES= ${DISTNAME}esr.source${EXTRACT_SUFX}
diff --git a/mail/thunderbird-esr/distinfo b/mail/thunderbird-esr/distinfo
index bd6844c0723a..b6c7baf3ef98 100644
--- a/mail/thunderbird-esr/distinfo
+++ b/mail/thunderbird-esr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759504919
-SHA256 (thunderbird-140.3.1esr.source.tar.xz) = 5981260076790dae80c8190c2f4109e33843c70fd7d19ec64f1d3ec8a38ff2e6
-SIZE (thunderbird-140.3.1esr.source.tar.xz) = 758697864
+TIMESTAMP = 1762601889
+SHA256 (thunderbird-140.5.0esr.source.tar.xz) = cb8d10693bbc04c4bfc539c4560779fb436b40326bf70df4c0823ac125b815e5
+SIZE (thunderbird-140.5.0esr.source.tar.xz) = 747338592
diff --git a/mail/thunderbird-esr/files/patch-memory_mozalloc_throw__gcc.h b/mail/thunderbird-esr/files/patch-memory_mozalloc_throw__gcc.h
deleted file mode 100644
index 788b9cbf837a..000000000000
--- a/mail/thunderbird-esr/files/patch-memory_mozalloc_throw__gcc.h
+++ /dev/null
@@ -1,69 +0,0 @@
---- memory/mozalloc/throw_gcc.h.orig 2022-03-07 19:34:37 UTC
-+++ memory/mozalloc/throw_gcc.h
-@@ -74,50 +74,66 @@ __throw_bad_function_call(void) {
- mozalloc_abort("fatal: STL threw bad_function_call");
- }
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_logic_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_domain_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void
- __throw_invalid_argument(const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_length_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_out_of_range(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_runtime_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_range_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void
- __throw_overflow_error(const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void
- __throw_underflow_error(const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_ios_failure(
- const char* msg) {
diff --git a/mail/thunderbird-esr/files/patch-rust-1.89.0 b/mail/thunderbird-esr/files/patch-rust-1.89.0
deleted file mode 100644
index 91651c036c7c..000000000000
--- a/mail/thunderbird-esr/files/patch-rust-1.89.0
+++ /dev/null
@@ -1,18 +0,0 @@
-fix build with rust 1.89
-
-cf https://bugzilla.mozilla.org/show_bug.cgi?id=1982003
-
-taken from:
-https://github.com/openbsd/ports/commit/3ef8a2538893109bea8211ef13a870822264e096
-
---- third_party/rust/allocator-api2/src/stable/vec/mod.rs.orig 2025-08-13 22:43:24.000000000 +0200
-+++ third_party/rust/allocator-api2/src/stable/vec/mod.rs 2025-09-01 08:52:19.103780000 +0200
-@@ -51,6 +51,8 @@
- //!
- //! [`push`]: Vec::push
-
-+#![warn(dangerous_implicit_autorefs)]
-+
- #[cfg(not(no_global_oom_handling))]
- use core::cmp;
- use core::cmp::Ordering;
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index 0daa88df8aab..3d728eac648f 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -1,6 +1,6 @@
PORTNAME= thunderbird
-DISTVERSION= 143.0.1
-PORTREVISION= 1
+DISTVERSION= 145.0
+PORTREVISION= 2
CATEGORIES= mail news net-im wayland
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source
@@ -11,7 +11,7 @@ COMMENT= Mozilla Thunderbird is standalone mail and news that stands above
WWW= https://www.thunderbird.net/
BUILD_DEPENDS= nspr>=4.32:devel/nspr \
- nss>=3.115.1:security/nss \
+ nss>=3.117:security/nss \
libevent>=2.1.8:devel/libevent \
harfbuzz>=10.1.0:print/harfbuzz \
graphite2>=1.3.14:graphics/graphite2 \
diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo
index f13ed7c8f1e9..9d7c97edee62 100644
--- a/mail/thunderbird/distinfo
+++ b/mail/thunderbird/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758653366
-SHA256 (thunderbird-143.0.1.source.tar.xz) = 0e6da9f07d380fe00f03c45238a3b999a01e95d5af0910d023675fe9ac13a85a
-SIZE (thunderbird-143.0.1.source.tar.xz) = 771223064
+TIMESTAMP = 1763060464
+SHA256 (thunderbird-145.0.source.tar.xz) = 4c24f99c45ac909e79f71072549ffcc2866097a6f5fab1dfd41c51918978b9b1
+SIZE (thunderbird-145.0.source.tar.xz) = 782126204
diff --git a/mail/thunderbird/files/patch-libwebrtc-generated b/mail/thunderbird/files/patch-libwebrtc-generated
index 5621fe23cf21..c09d5d546918 100644
--- a/mail/thunderbird/files/patch-libwebrtc-generated
+++ b/mail/thunderbird/files/patch-libwebrtc-generated
@@ -1,13 +1,21 @@
-commit b9b52a94471b7d6930b5c295c16ccf1512e6c86b
+commit 2cc9257c2e654c532598271ed04efddda1e5f082
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
- regenerate FreeBSD libwebrtc patch for gecko 143
+ regenerate FreeBSD libwebrtc patch for gecko 145
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 536af3b634ce..8dd2dcdb638b 100644
+index 34349a80d52b..fa28d93f2ce7 100644
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -30,13 +38,17 @@ index 536af3b634ce..8dd2dcdb638b 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -55,6 +67,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -62,6 +78,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -77,6 +97,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -89,6 +113,10 @@ index 536af3b634ce..8dd2dcdb638b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -119,7 +147,7 @@ index 536af3b634ce..8dd2dcdb638b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -580,10 +608,18 @@ index 7071eaa2c55c..d06057bdb4c7 100644
-
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 f45b24581d13..8d009c9065e7 100644
+index 9d1275357cc4..63a660cb0be8 100644
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -606,13 +642,17 @@ index f45b24581d13..8d009c9065e7 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -631,6 +671,10 @@ index f45b24581d13..8d009c9065e7 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -638,6 +682,10 @@ index f45b24581d13..8d009c9065e7 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -653,6 +701,10 @@ index f45b24581d13..8d009c9065e7 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -665,6 +717,10 @@ index f45b24581d13..8d009c9065e7 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -695,7 +751,7 @@ index f45b24581d13..8d009c9065e7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -782,10 +838,18 @@ index f45b24581d13..8d009c9065e7 100644
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 876aa9af22a9..af845805eb4a 100644
+index 0da503561773..35a17e7b8dd2 100644
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -809,13 +873,17 @@ index 876aa9af22a9..af845805eb4a 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -834,6 +902,10 @@ index 876aa9af22a9..af845805eb4a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -841,6 +913,10 @@ index 876aa9af22a9..af845805eb4a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -854,12 +930,12 @@ index 876aa9af22a9..af845805eb4a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -872,6 +948,10 @@ index 876aa9af22a9..af845805eb4a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -909,7 +989,7 @@ index 876aa9af22a9..af845805eb4a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -967,10 +1047,10 @@ index 876aa9af22a9..af845805eb4a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -981,10 +1061,10 @@ index 876aa9af22a9..af845805eb4a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1179,10 +1259,18 @@ index 4adeb31f19ea..dcaf6e34ca7f 100644
-
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 b48e1554ff0c..4a0992b45863 100644
+index e3f1eeca0543..a66627db589f 100644
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -1205,13 +1293,17 @@ index b48e1554ff0c..4a0992b45863 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -1230,6 +1322,10 @@ index b48e1554ff0c..4a0992b45863 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -1237,6 +1333,10 @@ index b48e1554ff0c..4a0992b45863 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -1252,6 +1352,10 @@ index b48e1554ff0c..4a0992b45863 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -1264,6 +1368,10 @@ index b48e1554ff0c..4a0992b45863 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -1301,7 +1409,7 @@ index b48e1554ff0c..4a0992b45863 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1359,10 +1467,10 @@ index b48e1554ff0c..4a0992b45863 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -1373,10 +1481,10 @@ index b48e1554ff0c..4a0992b45863 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1757,10 +1865,18 @@ index e09b103e5937..e4f8ac284c15 100644
-
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 f4aae5e715d8..d7a94ce58f8f 100644
+index e051e02a6d30..a4acafe34678 100644
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -1783,13 +1899,17 @@ index f4aae5e715d8..d7a94ce58f8f 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -1808,6 +1928,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -1815,6 +1939,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -1828,12 +1956,12 @@ index f4aae5e715d8..d7a94ce58f8f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -1846,6 +1974,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -1883,7 +2015,7 @@ index f4aae5e715d8..d7a94ce58f8f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -1941,10 +2073,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -1955,10 +2087,10 @@ index f4aae5e715d8..d7a94ce58f8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -1970,10 +2102,18 @@ index f4aae5e715d8..d7a94ce58f8f 100644
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 7e5b71d14cb2..28ea7419731a 100644
+index 0914f0e18b89..a56412ac2f5a 100644
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -1996,13 +2136,17 @@ index 7e5b71d14cb2..28ea7419731a 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -2017,6 +2161,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -2024,6 +2172,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -2039,6 +2191,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -2051,6 +2207,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -2081,7 +2241,7 @@ index 7e5b71d14cb2..28ea7419731a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2139,10 +2299,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -2153,10 +2313,10 @@ index 7e5b71d14cb2..28ea7419731a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -2168,10 +2328,18 @@ index 7e5b71d14cb2..28ea7419731a 100644
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 dd674794a7ea..5cc994ae13d3 100644
+index 87b27f4ee9fd..08b604c3e8ad 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -2195,13 +2363,17 @@ index dd674794a7ea..5cc994ae13d3 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -2220,6 +2392,10 @@ index dd674794a7ea..5cc994ae13d3 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -2227,6 +2403,10 @@ index dd674794a7ea..5cc994ae13d3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -2240,12 +2420,12 @@ index dd674794a7ea..5cc994ae13d3 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -2258,6 +2438,10 @@ index dd674794a7ea..5cc994ae13d3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -2295,7 +2479,7 @@ index dd674794a7ea..5cc994ae13d3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2353,10 +2537,10 @@ index dd674794a7ea..5cc994ae13d3 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -2367,10 +2551,10 @@ index dd674794a7ea..5cc994ae13d3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -2382,7 +2566,7 @@ index dd674794a7ea..5cc994ae13d3 100644
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 106400ba7d20..d6be6247afbe 100644
+index 62ebaabf6d01..d6be6247afbe 100644
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -2408,7 +2592,7 @@ index 106400ba7d20..d6be6247afbe 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -2453,10 +2637,6 @@ index 106400ba7d20..d6be6247afbe 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -2508,7 +2688,7 @@ index 106400ba7d20..d6be6247afbe 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2534,7 +2714,7 @@ index 106400ba7d20..d6be6247afbe 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -2576,10 +2756,18 @@ index 106400ba7d20..d6be6247afbe 100644
-
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 3b39cbbb06a1..56d960820e9a 100644
+index eb476bf4e811..0ca908fc006c 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -2602,13 +2790,17 @@ index 3b39cbbb06a1..56d960820e9a 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -2627,6 +2819,10 @@ index 3b39cbbb06a1..56d960820e9a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -2634,6 +2830,10 @@ index 3b39cbbb06a1..56d960820e9a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -2647,12 +2847,12 @@ index 3b39cbbb06a1..56d960820e9a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -2665,6 +2865,10 @@ index 3b39cbbb06a1..56d960820e9a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -2702,7 +2906,7 @@ index 3b39cbbb06a1..56d960820e9a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2760,10 +2964,10 @@ index 3b39cbbb06a1..56d960820e9a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -2774,10 +2978,10 @@ index 3b39cbbb06a1..56d960820e9a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -2789,10 +2993,18 @@ index 3b39cbbb06a1..56d960820e9a 100644
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 7617d7f5292b..16437f45293b 100644
+index f8b716d152d9..128a13fa8b29 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -2815,13 +3027,17 @@ index 7617d7f5292b..16437f45293b 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -2840,6 +3056,10 @@ index 7617d7f5292b..16437f45293b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -2847,6 +3067,10 @@ index 7617d7f5292b..16437f45293b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -2860,12 +3084,12 @@ index 7617d7f5292b..16437f45293b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -2878,6 +3102,10 @@ index 7617d7f5292b..16437f45293b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -2915,7 +3143,7 @@ index 7617d7f5292b..16437f45293b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -2973,10 +3201,10 @@ index 7617d7f5292b..16437f45293b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -2987,10 +3215,10 @@ index 7617d7f5292b..16437f45293b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -3002,10 +3230,18 @@ index 7617d7f5292b..16437f45293b 100644
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 33ba61c29758..5d8a792fe980 100644
+index 2c0c1a0e424a..d12cf9bf2495 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -3028,13 +3264,17 @@ index 33ba61c29758..5d8a792fe980 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -3053,6 +3293,10 @@ index 33ba61c29758..5d8a792fe980 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -3060,6 +3304,10 @@ index 33ba61c29758..5d8a792fe980 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -3073,12 +3321,12 @@ index 33ba61c29758..5d8a792fe980 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -3091,6 +3339,10 @@ index 33ba61c29758..5d8a792fe980 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -3128,7 +3380,7 @@ index 33ba61c29758..5d8a792fe980 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3186,10 +3438,10 @@ index 33ba61c29758..5d8a792fe980 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -3200,10 +3452,10 @@ index 33ba61c29758..5d8a792fe980 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -3215,10 +3467,18 @@ index 33ba61c29758..5d8a792fe980 100644
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 2b6ee1be7a06..ba988ddb42a8 100644
+index b2bba8174897..9e44036f912e 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -3242,13 +3502,17 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -3267,6 +3531,10 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -3274,6 +3542,10 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -3287,12 +3559,12 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -3305,6 +3577,10 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -3342,7 +3618,7 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3400,10 +3676,10 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -3414,10 +3690,10 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -3429,10 +3705,18 @@ index 2b6ee1be7a06..ba988ddb42a8 100644
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 628c8fa7fdf8..5ca23f309ccd 100644
+index 9e966fa3dbaf..b6808557e2c3 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -3456,13 +3740,17 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -3481,6 +3769,10 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -3488,6 +3780,10 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -3501,12 +3797,12 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -3519,6 +3815,10 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -3556,7 +3856,7 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3614,10 +3914,10 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -3628,10 +3928,10 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -3643,10 +3943,18 @@ index 628c8fa7fdf8..5ca23f309ccd 100644
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 d043d987206f..a444480062b2 100644
+index 68b77f448a92..2d102909ed6b 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -3669,13 +3977,17 @@ index d043d987206f..a444480062b2 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -3694,6 +4006,10 @@ index d043d987206f..a444480062b2 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -3701,6 +4017,10 @@ index d043d987206f..a444480062b2 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -3714,12 +4034,12 @@ index d043d987206f..a444480062b2 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -3732,6 +4052,10 @@ index d043d987206f..a444480062b2 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -3769,7 +4093,7 @@ index d043d987206f..a444480062b2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -3827,10 +4151,10 @@ index d043d987206f..a444480062b2 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -3841,10 +4165,10 @@ index d043d987206f..a444480062b2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -3856,10 +4180,18 @@ index d043d987206f..a444480062b2 100644
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 7f2378a655e9..d566e9583f66 100644
+index 3a0b25758b6f..5ec75aab3132 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -3882,13 +4214,17 @@ index 7f2378a655e9..d566e9583f66 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -3907,6 +4243,10 @@ index 7f2378a655e9..d566e9583f66 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -3914,6 +4254,10 @@ index 7f2378a655e9..d566e9583f66 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -3927,12 +4271,12 @@ index 7f2378a655e9..d566e9583f66 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -3945,6 +4289,10 @@ index 7f2378a655e9..d566e9583f66 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -3982,7 +4330,7 @@ index 7f2378a655e9..d566e9583f66 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4040,10 +4388,10 @@ index 7f2378a655e9..d566e9583f66 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -4054,10 +4402,10 @@ index 7f2378a655e9..d566e9583f66 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -4069,10 +4417,18 @@ index 7f2378a655e9..d566e9583f66 100644
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 5896f29065e1..76234946c946 100644
+index a47d637406f2..052305452dcb 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -4095,13 +4451,17 @@ index 5896f29065e1..76234946c946 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -4120,6 +4480,10 @@ index 5896f29065e1..76234946c946 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -4127,6 +4491,10 @@ index 5896f29065e1..76234946c946 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -4140,12 +4508,12 @@ index 5896f29065e1..76234946c946 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -4158,6 +4526,10 @@ index 5896f29065e1..76234946c946 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -4195,7 +4567,7 @@ index 5896f29065e1..76234946c946 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4253,10 +4625,10 @@ index 5896f29065e1..76234946c946 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -4267,10 +4639,10 @@ index 5896f29065e1..76234946c946 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -4282,7 +4654,7 @@ index 5896f29065e1..76234946c946 100644
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 a1c6b85d2319..d6c5f698a095 100644
+index 3181edf5f88d..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -4308,7 +4680,7 @@ index a1c6b85d2319..d6c5f698a095 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -4353,10 +4725,6 @@ index a1c6b85d2319..d6c5f698a095 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -4408,7 +4776,7 @@ index a1c6b85d2319..d6c5f698a095 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4434,7 +4802,7 @@ index a1c6b85d2319..d6c5f698a095 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -4476,10 +4844,18 @@ index a1c6b85d2319..d6c5f698a095 100644
-
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 462adb64213a..d0e14032612c 100644
+index c737718ad303..2db1764b24d1 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -4502,13 +4878,17 @@ index 462adb64213a..d0e14032612c 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -4527,6 +4907,10 @@ index 462adb64213a..d0e14032612c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -4534,6 +4918,10 @@ index 462adb64213a..d0e14032612c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -4547,12 +4935,12 @@ index 462adb64213a..d0e14032612c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -4565,6 +4953,10 @@ index 462adb64213a..d0e14032612c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -4602,7 +4994,7 @@ index 462adb64213a..d0e14032612c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4660,10 +5052,10 @@ index 462adb64213a..d0e14032612c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -4674,10 +5066,10 @@ index 462adb64213a..d0e14032612c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -4689,10 +5081,18 @@ index 462adb64213a..d0e14032612c 100644
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 4e00beaa4415..f2d3cd506e8f 100644
+index 68a8151b7ab6..a4e9076fe70d 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -4715,13 +5115,17 @@ index 4e00beaa4415..f2d3cd506e8f 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -4740,6 +5144,10 @@ index 4e00beaa4415..f2d3cd506e8f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -4747,6 +5155,10 @@ index 4e00beaa4415..f2d3cd506e8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -4760,12 +5172,12 @@ index 4e00beaa4415..f2d3cd506e8f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -4778,6 +5190,10 @@ index 4e00beaa4415..f2d3cd506e8f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -4815,7 +5231,7 @@ index 4e00beaa4415..f2d3cd506e8f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -4873,10 +5289,10 @@ index 4e00beaa4415..f2d3cd506e8f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -4887,10 +5303,10 @@ index 4e00beaa4415..f2d3cd506e8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -4902,7 +5318,7 @@ index 4e00beaa4415..f2d3cd506e8f 100644
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 27ee924f238e..8d6c5a275846 100644
+index 79996d1a4f48..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -4928,7 +5344,7 @@ index 27ee924f238e..8d6c5a275846 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -4973,10 +5389,6 @@ index 27ee924f238e..8d6c5a275846 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -5028,7 +5440,7 @@ index 27ee924f238e..8d6c5a275846 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5054,7 +5466,7 @@ index 27ee924f238e..8d6c5a275846 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -5096,10 +5508,18 @@ index 27ee924f238e..8d6c5a275846 100644
-
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 53bc3478a40b..308709799635 100644
+index ac4cc821126a..ff493b5e5f6d 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -5122,13 +5542,17 @@ index 53bc3478a40b..308709799635 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -5147,6 +5571,10 @@ index 53bc3478a40b..308709799635 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -5154,6 +5582,10 @@ index 53bc3478a40b..308709799635 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -5167,12 +5599,12 @@ index 53bc3478a40b..308709799635 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -5185,6 +5617,10 @@ index 53bc3478a40b..308709799635 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -5222,7 +5658,7 @@ index 53bc3478a40b..308709799635 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5280,10 +5716,10 @@ index 53bc3478a40b..308709799635 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -5294,10 +5730,10 @@ index 53bc3478a40b..308709799635 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -5309,10 +5745,18 @@ index 53bc3478a40b..308709799635 100644
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 2925c9a25583..0dc3b552177f 100644
+index b60bfc62db0f..eadc54f8ebfd 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -5335,13 +5779,17 @@ index 2925c9a25583..0dc3b552177f 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -5360,6 +5808,10 @@ index 2925c9a25583..0dc3b552177f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -5367,6 +5819,10 @@ index 2925c9a25583..0dc3b552177f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -5380,12 +5836,12 @@ index 2925c9a25583..0dc3b552177f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -5398,6 +5854,10 @@ index 2925c9a25583..0dc3b552177f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -5435,7 +5895,7 @@ index 2925c9a25583..0dc3b552177f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5493,10 +5953,10 @@ index 2925c9a25583..0dc3b552177f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -5507,10 +5967,10 @@ index 2925c9a25583..0dc3b552177f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -5522,10 +5982,18 @@ index 2925c9a25583..0dc3b552177f 100644
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 e7cd0bcd8f5d..ccf44f091517 100644
+index 3cddc786816c..378dca435fce 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -5549,13 +6017,17 @@ index e7cd0bcd8f5d..ccf44f091517 100644
FINAL_LIBRARY = "xul"
-@@ -52,83 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,114 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -5568,8 +6040,16 @@ index e7cd0bcd8f5d..ccf44f091517 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
+- OS_LIBS += [
+- "log"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -5577,6 +6057,10 @@ index e7cd0bcd8f5d..ccf44f091517 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -5592,6 +6076,10 @@ index e7cd0bcd8f5d..ccf44f091517 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -5604,6 +6092,10 @@ index e7cd0bcd8f5d..ccf44f091517 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -5630,11 +6122,18 @@ index e7cd0bcd8f5d..ccf44f091517 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":
-@@ -136,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -167,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5721,10 +6220,18 @@ index e7cd0bcd8f5d..ccf44f091517 100644
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 05030b6b5a9d..bbe9861edb7b 100644
+index 070957b668ac..3b3e7074f3c7 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -5747,13 +6254,17 @@ index 05030b6b5a9d..bbe9861edb7b 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -5772,6 +6283,10 @@ index 05030b6b5a9d..bbe9861edb7b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -5779,6 +6294,10 @@ index 05030b6b5a9d..bbe9861edb7b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -5792,12 +6311,12 @@ index 05030b6b5a9d..bbe9861edb7b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -5810,6 +6329,10 @@ index 05030b6b5a9d..bbe9861edb7b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -5847,7 +6370,7 @@ index 05030b6b5a9d..bbe9861edb7b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -5905,10 +6428,10 @@ index 05030b6b5a9d..bbe9861edb7b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -5919,10 +6442,10 @@ index 05030b6b5a9d..bbe9861edb7b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -5934,10 +6457,18 @@ index 05030b6b5a9d..bbe9861edb7b 100644
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 1f23f978e95d..b1540a52dfae 100644
+index d782ceeaf897..1d36b711c53a 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -5960,13 +6491,17 @@ index 1f23f978e95d..b1540a52dfae 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -5985,6 +6520,10 @@ index 1f23f978e95d..b1540a52dfae 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -5992,6 +6531,10 @@ index 1f23f978e95d..b1540a52dfae 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -6005,12 +6548,12 @@ index 1f23f978e95d..b1540a52dfae 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -6023,6 +6566,10 @@ index 1f23f978e95d..b1540a52dfae 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -6060,7 +6607,7 @@ index 1f23f978e95d..b1540a52dfae 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -6118,10 +6665,10 @@ index 1f23f978e95d..b1540a52dfae 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -6132,10 +6679,10 @@ index 1f23f978e95d..b1540a52dfae 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -6147,10 +6694,18 @@ index 1f23f978e95d..b1540a52dfae 100644
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 d5f2fbaa23c2..576652c339f6 100644
+index 6493de098939..ecbadda009d4 100644
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -6173,13 +6728,17 @@ index d5f2fbaa23c2..576652c339f6 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -6198,6 +6757,10 @@ index d5f2fbaa23c2..576652c339f6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -6205,6 +6768,10 @@ index d5f2fbaa23c2..576652c339f6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -6220,6 +6787,10 @@ index d5f2fbaa23c2..576652c339f6 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -6232,6 +6803,10 @@ index d5f2fbaa23c2..576652c339f6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -6262,7 +6837,7 @@ index d5f2fbaa23c2..576652c339f6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7077,10 +7652,18 @@ index ce2ccba3ddd9..3424ea2600f3 100644
-
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 f4884cef3781..087517688a6e 100644
+index 0c1ee79945f7..1b675d26265c 100644
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -7103,13 +7686,17 @@ index f4884cef3781..087517688a6e 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -7128,6 +7715,10 @@ index f4884cef3781..087517688a6e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -7135,6 +7726,10 @@ index f4884cef3781..087517688a6e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -7150,6 +7745,10 @@ index f4884cef3781..087517688a6e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -7162,6 +7761,10 @@ index f4884cef3781..087517688a6e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -7192,7 +7795,7 @@ index f4884cef3781..087517688a6e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7279,10 +7882,18 @@ index f4884cef3781..087517688a6e 100644
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 7e6c65433342..84ed2cb20f4b 100644
+index 6fdd69b3e053..cb788428a901 100644
--- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
+++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -7305,13 +7916,17 @@ index 7e6c65433342..84ed2cb20f4b 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -7330,6 +7945,10 @@ index 7e6c65433342..84ed2cb20f4b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -7337,6 +7956,10 @@ index 7e6c65433342..84ed2cb20f4b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -7350,12 +7973,12 @@ index 7e6c65433342..84ed2cb20f4b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -7368,6 +7991,10 @@ index 7e6c65433342..84ed2cb20f4b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -7405,7 +8032,7 @@ index 7e6c65433342..84ed2cb20f4b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7463,10 +8090,10 @@ index 7e6c65433342..84ed2cb20f4b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -7477,10 +8104,10 @@ index 7e6c65433342..84ed2cb20f4b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7492,7 +8119,7 @@ index 7e6c65433342..84ed2cb20f4b 100644
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 218ae3ae9afa..8476399ec931 100644
+index d073eb81a021..8476399ec931 100644
--- third_party/libwebrtc/api/environment/environment_gn/moz.build
+++ third_party/libwebrtc/api/environment/environment_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -7518,7 +8145,7 @@ index 218ae3ae9afa..8476399ec931 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -7563,10 +8190,6 @@ index 218ae3ae9afa..8476399ec931 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -7618,7 +8241,7 @@ index 218ae3ae9afa..8476399ec931 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7644,7 +8267,7 @@ index 218ae3ae9afa..8476399ec931 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7686,7 +8309,7 @@ index 218ae3ae9afa..8476399ec931 100644
-
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 d5887f3d6587..4c1fa1a08737 100644
+index 9443f65da2bd..4c1fa1a08737 100644
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -7712,7 +8335,7 @@ index d5887f3d6587..4c1fa1a08737 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -7757,10 +8380,6 @@ index d5887f3d6587..4c1fa1a08737 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -7812,7 +8431,7 @@ index d5887f3d6587..4c1fa1a08737 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -7838,7 +8457,7 @@ index d5887f3d6587..4c1fa1a08737 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -7879,11 +8498,19 @@ index d5887f3d6587..4c1fa1a08737 100644
- 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 ad9c82b1bb7b..9fe42408ce7d 100644
---- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
-+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+diff --git third_party/libwebrtc/api/field_trials_gn/moz.build third_party/libwebrtc/api/field_trials_gn/moz.build
+index 56eff29aa8ba..74e49839eda6 100644
+--- third_party/libwebrtc/api/field_trials_gn/moz.build
++++ third_party/libwebrtc/api/field_trials_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -7906,13 +8533,17 @@ index ad9c82b1bb7b..9fe42408ce7d 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -7931,6 +8562,10 @@ index ad9c82b1bb7b..9fe42408ce7d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -7938,6 +8573,10 @@ index ad9c82b1bb7b..9fe42408ce7d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -7953,6 +8592,10 @@ index ad9c82b1bb7b..9fe42408ce7d 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -7965,6 +8608,10 @@ index ad9c82b1bb7b..9fe42408ce7d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -8002,7 +8649,7 @@ index ad9c82b1bb7b..9fe42408ce7d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8060,24 +8707,261 @@ index ad9c82b1bb7b..9fe42408ce7d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+-
CXXFLAGS += [
"-msse2"
]
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
++if CONFIG["TARGET_CPU"] == "x86_64":
+
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+ Library("field_trials_gn")
+diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
+index f9a651b5a8be..1d1836c2d8f5 100644
+--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
++++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
+ DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
+ DEFINES["RTC_ENABLE_VP9"] = True
++DEFINES["USE_GLIB"] = "1"
++DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
++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"
+
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+ if CONFIG["MOZ_DEBUG"] == "1":
+
+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
+-
+-if CONFIG["OS_TARGET"] == "Android":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
-
+- 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"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+- OS_LIBS += [
+- "log"
+- ]
+-
+-if CONFIG["OS_TARGET"] == "Darwin":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- DEFINES["WEBRTC_MAC"] = True
+- DEFINES["WEBRTC_POSIX"] = True
+- DEFINES["__STDC_CONSTANT_MACROS"] = True
+- DEFINES["__STDC_FORMAT_MACROS"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
+- 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
+-
+- OS_LIBS += [
+- "crypt32",
+- "iphlpapi",
+- "secur32",
+- "winmm"
+- ]
++ DEFINES["_DEBUG"] = True
+
+ if CONFIG["TARGET_CPU"] == "aarch64":
+
+@@ -162,82 +68,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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+ if CONFIG["TARGET_CPU"] == "mips32":
+
+ DEFINES["MIPS32_LE"] = True
+ DEFINES["MIPS_FPU_LE"] = True
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["TARGET_CPU"] == "mips64":
+-
+- 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["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+-
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -8267,11 +9151,19 @@ index 1e9a1e7a666a..3fa9f12b8585 100644
- 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 d472124f0a40..ac2df5b26adf 100644
---- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+diff --git third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build
+index 48fe9eeb863b..e307cfdecbe7 100644
+--- third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build
++++ third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -8294,7 +9186,7 @@ index d472124f0a40..ac2df5b26adf 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,95 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -8314,6 +9206,7 @@ index d472124f0a40..ac2df5b26adf 100644
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
- OS_LIBS += [
+- "GLESv2",
- "log"
- ]
-
@@ -8339,10 +9232,6 @@ index d472124f0a40..ac2df5b26adf 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -8394,7 +9283,7 @@ index d472124f0a40..ac2df5b26adf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -143,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -8479,6 +9368,243 @@ index d472124f0a40..ac2df5b26adf 100644
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+ Library("frame_transformer_factory_gn")
+diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
+index 2e696dd3f397..ff0a4984c39b 100644
+--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
++++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
+ DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
+ DEFINES["RTC_ENABLE_VP9"] = True
++DEFINES["USE_GLIB"] = "1"
++DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
++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"
+
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+ if CONFIG["MOZ_DEBUG"] == "1":
+
+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
+-
+-if CONFIG["OS_TARGET"] == "Android":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- DEFINES["WEBRTC_MAC"] = True
+- DEFINES["WEBRTC_POSIX"] = True
+- DEFINES["__STDC_CONSTANT_MACROS"] = True
+- DEFINES["__STDC_FORMAT_MACROS"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
+- 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
+-
+- OS_LIBS += [
+- "crypt32",
+- "iphlpapi",
+- "secur32",
+- "winmm"
+- ]
++ DEFINES["_DEBUG"] = True
+
+ if CONFIG["TARGET_CPU"] == "aarch64":
+
+@@ -162,82 +68,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["MIPS32_LE"] = True
+ DEFINES["MIPS_FPU_LE"] = True
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["TARGET_CPU"] == "mips64":
+-
+- 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["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+-
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
++if CONFIG["TARGET_CPU"] == "x86_64":
+
+- 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 dc26789ded68..de73bc9c5c6a 100644
@@ -9380,10 +10506,18 @@ index 5260714563c4..88e1ecb122bb 100644
-
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 8b22cc529d93..d4c009dfb08b 100644
+index fdfc7e4e7b12..bcffed7409bf 100644
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -9406,13 +10540,17 @@ index 8b22cc529d93..d4c009dfb08b 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -9431,6 +10569,10 @@ index 8b22cc529d93..d4c009dfb08b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -9438,6 +10580,10 @@ index 8b22cc529d93..d4c009dfb08b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -9453,6 +10599,10 @@ index 8b22cc529d93..d4c009dfb08b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -9465,6 +10615,10 @@ index 8b22cc529d93..d4c009dfb08b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -9502,7 +10656,7 @@ index 8b22cc529d93..d4c009dfb08b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9560,10 +10714,10 @@ index 8b22cc529d93..d4c009dfb08b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -9574,10 +10728,10 @@ index 8b22cc529d93..d4c009dfb08b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9772,10 +10926,18 @@ index ac0f4065814a..975fd554189e 100644
-
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 0b8670a958f1..e6e6261c6f1d 100644
+index a2205de61ac7..9bcf9a430262 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -9798,13 +10960,17 @@ index 0b8670a958f1..e6e6261c6f1d 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -9823,6 +10989,10 @@ index 0b8670a958f1..e6e6261c6f1d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -9830,6 +11000,10 @@ index 0b8670a958f1..e6e6261c6f1d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -9843,12 +11017,12 @@ index 0b8670a958f1..e6e6261c6f1d 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -9861,6 +11035,10 @@ index 0b8670a958f1..e6e6261c6f1d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -9898,7 +11076,7 @@ index 0b8670a958f1..e6e6261c6f1d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -9956,10 +11134,10 @@ index 0b8670a958f1..e6e6261c6f1d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -9970,10 +11148,10 @@ index 0b8670a958f1..e6e6261c6f1d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -9985,10 +11163,18 @@ index 0b8670a958f1..e6e6261c6f1d 100644
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 402f2a044163..bfeadc19c1f4 100644
+index f005615ae052..26b4d6d37ef0 100644
--- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
+++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -10011,13 +11197,17 @@ index 402f2a044163..bfeadc19c1f4 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -10036,6 +11226,10 @@ index 402f2a044163..bfeadc19c1f4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -10043,6 +11237,10 @@ index 402f2a044163..bfeadc19c1f4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -10056,12 +11254,12 @@ index 402f2a044163..bfeadc19c1f4 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -10074,6 +11272,10 @@ index 402f2a044163..bfeadc19c1f4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -10111,7 +11313,7 @@ index 402f2a044163..bfeadc19c1f4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10169,10 +11371,10 @@ index 402f2a044163..bfeadc19c1f4 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -10183,10 +11385,10 @@ index 402f2a044163..bfeadc19c1f4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -10198,10 +11400,18 @@ index 402f2a044163..bfeadc19c1f4 100644
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 3cffcf1fee68..634fe34c356b 100644
+index 04450c00d566..eea5127c7e1c 100644
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -10224,13 +11434,17 @@ index 3cffcf1fee68..634fe34c356b 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -10249,6 +11463,10 @@ index 3cffcf1fee68..634fe34c356b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -10256,6 +11474,10 @@ index 3cffcf1fee68..634fe34c356b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -10269,12 +11491,12 @@ index 3cffcf1fee68..634fe34c356b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -10287,6 +11509,10 @@ index 3cffcf1fee68..634fe34c356b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -10324,7 +11550,7 @@ index 3cffcf1fee68..634fe34c356b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10382,10 +11608,10 @@ index 3cffcf1fee68..634fe34c356b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -10396,10 +11622,10 @@ index 3cffcf1fee68..634fe34c356b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -10411,7 +11637,7 @@ index 3cffcf1fee68..634fe34c356b 100644
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 0c8c73eaf64e..0d9110cf2533 100644
+index 69a27422d4e9..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -10437,7 +11663,7 @@ index 0c8c73eaf64e..0d9110cf2533 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -10482,10 +11708,6 @@ index 0c8c73eaf64e..0d9110cf2533 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -10537,7 +11759,7 @@ index 0c8c73eaf64e..0d9110cf2533 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10563,7 +11785,7 @@ index 0c8c73eaf64e..0d9110cf2533 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -10605,10 +11827,18 @@ index 0c8c73eaf64e..0d9110cf2533 100644
-
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 6e62d4704907..5af2b7269dfa 100644
+index b5472e2813a6..4bb7073222ea 100644
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -10631,13 +11861,17 @@ index 6e62d4704907..5af2b7269dfa 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -10656,6 +11890,10 @@ index 6e62d4704907..5af2b7269dfa 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -10663,6 +11901,10 @@ index 6e62d4704907..5af2b7269dfa 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -10678,6 +11920,10 @@ index 6e62d4704907..5af2b7269dfa 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -10690,6 +11936,10 @@ index 6e62d4704907..5af2b7269dfa 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -10720,7 +11970,7 @@ index 6e62d4704907..5af2b7269dfa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -10986,10 +12236,18 @@ index 6d6d33ace75b..01573acc86d3 100644
-
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 76aeb17bde7f..5e74263cf88f 100644
+index 664522ae44fc..219a580c27fb 100644
--- third_party/libwebrtc/api/priority_gn/moz.build
+++ third_party/libwebrtc/api/priority_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -11012,13 +12270,17 @@ index 76aeb17bde7f..5e74263cf88f 100644
FINAL_LIBRARY = "xul"
-@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -11037,6 +12299,10 @@ index 76aeb17bde7f..5e74263cf88f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -11044,6 +12310,10 @@ index 76aeb17bde7f..5e74263cf88f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -11059,6 +12329,10 @@ index 76aeb17bde7f..5e74263cf88f 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -11071,6 +12345,10 @@ index 76aeb17bde7f..5e74263cf88f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -11101,12 +12379,16 @@ index 76aeb17bde7f..5e74263cf88f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,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
@@ -11127,10 +12409,12 @@ index 76aeb17bde7f..5e74263cf88f 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
-
- DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
+- 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
@@ -11151,6 +12435,12 @@ index 76aeb17bde7f..5e74263cf88f 100644
-
- 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["_GNU_SOURCE"] = True
@@ -11161,12 +12451,19 @@ index 76aeb17bde7f..5e74263cf88f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["_GNU_SOURCE"] = True
+- CXXFLAGS += [
+- "-msse2"
+- ]
-
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
--
++if CONFIG["TARGET_CPU"] == "x86_64":
+
- DEFINES["_GNU_SOURCE"] = True
--
++ DEFINES["WEBRTC_ENABLE_AVX2"] = 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 4d11702ac95b..098a60790f04 100644
@@ -11527,10 +12824,18 @@ index c2d93fe7f690..4cd1a1af8562 100644
-
Library("refcountedbase_gn")
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
-index 931ad8f10770..c86ad5eeb18f 100644
+index 2a4fdad0e854..23c7aa407ba7 100644
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -11553,13 +12858,17 @@ index 931ad8f10770..c86ad5eeb18f 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -11578,6 +12887,10 @@ index 931ad8f10770..c86ad5eeb18f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -11585,6 +12898,10 @@ index 931ad8f10770..c86ad5eeb18f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -11600,6 +12917,10 @@ index 931ad8f10770..c86ad5eeb18f 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -11612,6 +12933,10 @@ index 931ad8f10770..c86ad5eeb18f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -11649,7 +12974,7 @@ index 931ad8f10770..c86ad5eeb18f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11707,10 +13032,10 @@ index 931ad8f10770..c86ad5eeb18f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -11721,10 +13046,10 @@ index 931ad8f10770..c86ad5eeb18f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11736,10 +13061,18 @@ index 931ad8f10770..c86ad5eeb18f 100644
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 062fcf1c7e98..56ca85ac637d 100644
+index 31a4c48a4ff8..7d0fb6e2bcaa 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -11762,13 +13095,17 @@ index 062fcf1c7e98..56ca85ac637d 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -11787,6 +13124,10 @@ index 062fcf1c7e98..56ca85ac637d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -11794,6 +13135,10 @@ index 062fcf1c7e98..56ca85ac637d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -11809,6 +13154,10 @@ index 062fcf1c7e98..56ca85ac637d 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -11821,6 +13170,10 @@ index 062fcf1c7e98..56ca85ac637d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -11858,7 +13211,7 @@ index 062fcf1c7e98..56ca85ac637d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -11916,10 +13269,10 @@ index 062fcf1c7e98..56ca85ac637d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -11930,10 +13283,10 @@ index 062fcf1c7e98..56ca85ac637d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -11945,10 +13298,18 @@ index 062fcf1c7e98..56ca85ac637d 100644
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 a3962549d71a..f3230db2f74c 100644
+index fa90a0470b3d..9f6397b565a6 100644
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -11971,13 +13332,17 @@ index a3962549d71a..f3230db2f74c 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -11996,6 +13361,10 @@ index a3962549d71a..f3230db2f74c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -12003,6 +13372,10 @@ index a3962549d71a..f3230db2f74c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -12018,6 +13391,10 @@ index a3962549d71a..f3230db2f74c 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -12030,6 +13407,10 @@ index a3962549d71a..f3230db2f74c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -12067,7 +13448,7 @@ index a3962549d71a..f3230db2f74c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12125,10 +13506,10 @@ index a3962549d71a..f3230db2f74c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -12139,10 +13520,10 @@ index a3962549d71a..f3230db2f74c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -12154,10 +13535,18 @@ index a3962549d71a..f3230db2f74c 100644
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 52124e93c6e0..cf27ecf0ff64 100644
+index 2116187a5760..732de20bb7d1 100644
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -12180,13 +13569,17 @@ index 52124e93c6e0..cf27ecf0ff64 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -12205,6 +13598,10 @@ index 52124e93c6e0..cf27ecf0ff64 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -12212,6 +13609,10 @@ index 52124e93c6e0..cf27ecf0ff64 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -12227,6 +13628,10 @@ index 52124e93c6e0..cf27ecf0ff64 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -12239,6 +13644,10 @@ index 52124e93c6e0..cf27ecf0ff64 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -12276,7 +13685,7 @@ index 52124e93c6e0..cf27ecf0ff64 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12334,10 +13743,10 @@ index 52124e93c6e0..cf27ecf0ff64 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -12348,10 +13757,10 @@ index 52124e93c6e0..cf27ecf0ff64 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -12542,10 +13951,18 @@ index 4e690f286985..48513d98fdc2 100644
-
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 48d4257f8009..57f881d7cba9 100644
+index 7c2adb6224ac..4af76563fb1a 100644
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -12568,13 +13985,17 @@ index 48d4257f8009..57f881d7cba9 100644
FINAL_LIBRARY = "xul"
-@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,107 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -12593,6 +14014,10 @@ index 48d4257f8009..57f881d7cba9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -12600,6 +14025,10 @@ index 48d4257f8009..57f881d7cba9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -12615,6 +14044,10 @@ index 48d4257f8009..57f881d7cba9 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -12627,6 +14060,10 @@ index 48d4257f8009..57f881d7cba9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -12657,7 +14094,7 @@ index 48d4257f8009..57f881d7cba9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -156,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -12923,10 +14360,18 @@ index 58b6b9d4eced..b946ded20f7c 100644
-
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 19bd810c46cf..99ae632b35f5 100644
+index 6eb8421c264d..bbd3c955f1f2 100644
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -12949,13 +14394,17 @@ index 19bd810c46cf..99ae632b35f5 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -12974,6 +14423,10 @@ index 19bd810c46cf..99ae632b35f5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -12981,6 +14434,10 @@ index 19bd810c46cf..99ae632b35f5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -12996,6 +14453,10 @@ index 19bd810c46cf..99ae632b35f5 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -13008,6 +14469,10 @@ index 19bd810c46cf..99ae632b35f5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -13045,7 +14510,7 @@ index 19bd810c46cf..99ae632b35f5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -13103,10 +14568,10 @@ index 19bd810c46cf..99ae632b35f5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -13117,10 +14582,10 @@ index 19bd810c46cf..99ae632b35f5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -13852,10 +15317,18 @@ index caccfa576579..12b3b4429d9b 100644
-
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 f5bd2abd8edd..588ab9d37637 100644
+index ff8d3a76a7a9..96f87d7090a5 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -13878,13 +15351,17 @@ index f5bd2abd8edd..588ab9d37637 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -13903,6 +15380,10 @@ index f5bd2abd8edd..588ab9d37637 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -13910,6 +15391,10 @@ index f5bd2abd8edd..588ab9d37637 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -13925,6 +15410,10 @@ index f5bd2abd8edd..588ab9d37637 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -13937,6 +15426,10 @@ index f5bd2abd8edd..588ab9d37637 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -13967,7 +15460,7 @@ index f5bd2abd8edd..588ab9d37637 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14054,10 +15547,18 @@ index f5bd2abd8edd..588ab9d37637 100644
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 7802d514733e..b5069b664e65 100644
+index 8af8920c440e..0f923f69e8b9 100644
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -14080,13 +15581,17 @@ index 7802d514733e..b5069b664e65 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -14105,6 +15610,10 @@ index 7802d514733e..b5069b664e65 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -14112,6 +15621,10 @@ index 7802d514733e..b5069b664e65 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -14127,6 +15640,10 @@ index 7802d514733e..b5069b664e65 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -14139,6 +15656,10 @@ index 7802d514733e..b5069b664e65 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -14169,7 +15690,7 @@ index 7802d514733e..b5069b664e65 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14614,10 +16135,18 @@ index b4ffa83b92cd..26f1bb8546e7 100644
-
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 16a388656353..1149e653efad 100644
+index 7ea84aaa8a70..3dc831e8f4ec 100644
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -14640,13 +16169,17 @@ index 16a388656353..1149e653efad 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -14661,6 +16194,10 @@ index 16a388656353..1149e653efad 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -14668,6 +16205,10 @@ index 16a388656353..1149e653efad 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -14683,6 +16224,10 @@ index 16a388656353..1149e653efad 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -14695,6 +16240,10 @@ index 16a388656353..1149e653efad 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -14725,7 +16274,7 @@ index 16a388656353..1149e653efad 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -14783,10 +16332,10 @@ index 16a388656353..1149e653efad 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -14797,10 +16346,10 @@ index 16a388656353..1149e653efad 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -15181,10 +16730,18 @@ index 8ab0d1a1c443..00fbb2407fdc 100644
-
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 7cf2e942a98f..09723da7e690 100644
+index 8dd672452d7d..6f271615cd1c 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -15207,13 +16764,17 @@ index 7cf2e942a98f..09723da7e690 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -15232,6 +16793,10 @@ index 7cf2e942a98f..09723da7e690 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -15239,6 +16804,10 @@ index 7cf2e942a98f..09723da7e690 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -15254,6 +16823,10 @@ index 7cf2e942a98f..09723da7e690 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -15266,6 +16839,10 @@ index 7cf2e942a98f..09723da7e690 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -15303,7 +16880,7 @@ index 7cf2e942a98f..09723da7e690 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15361,10 +16938,10 @@ index 7cf2e942a98f..09723da7e690 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -15375,10 +16952,10 @@ index 7cf2e942a98f..09723da7e690 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -15390,10 +16967,18 @@ index 7cf2e942a98f..09723da7e690 100644
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 c30034a66355..c1e9773750c3 100644
+index 3f55b77e406a..624669cf8d61 100644
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -15416,13 +17001,17 @@ index c30034a66355..c1e9773750c3 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -15442,6 +17031,10 @@ index c30034a66355..c1e9773750c3 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -15449,6 +17042,10 @@ index c30034a66355..c1e9773750c3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -15462,12 +17059,12 @@ index c30034a66355..c1e9773750c3 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -15480,6 +17077,10 @@ index c30034a66355..c1e9773750c3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -15517,7 +17118,7 @@ index c30034a66355..c1e9773750c3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15575,10 +17176,10 @@ index c30034a66355..c1e9773750c3 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -15589,10 +17190,10 @@ index c30034a66355..c1e9773750c3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -15604,10 +17205,18 @@ index c30034a66355..c1e9773750c3 100644
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 1058102cc4a6..488cceb3baa9 100644
+index 395d249cfe68..761031fc3155 100644
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -15630,13 +17239,17 @@ index 1058102cc4a6..488cceb3baa9 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -15655,6 +17268,10 @@ index 1058102cc4a6..488cceb3baa9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -15662,6 +17279,10 @@ index 1058102cc4a6..488cceb3baa9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -15675,12 +17296,12 @@ index 1058102cc4a6..488cceb3baa9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -15693,6 +17314,10 @@ index 1058102cc4a6..488cceb3baa9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -15730,7 +17355,7 @@ index 1058102cc4a6..488cceb3baa9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -15788,10 +17413,10 @@ index 1058102cc4a6..488cceb3baa9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -15802,10 +17427,10 @@ index 1058102cc4a6..488cceb3baa9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -16000,10 +17625,18 @@ index 9b403b9d6955..376f7571e166 100644
-
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 8da7a80d3f94..319bffba5cd4 100644
+index a12d04338b63..e45f05637aab 100644
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -16026,13 +17659,17 @@ index 8da7a80d3f94..319bffba5cd4 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -16051,6 +17688,10 @@ index 8da7a80d3f94..319bffba5cd4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -16058,6 +17699,10 @@ index 8da7a80d3f94..319bffba5cd4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -16073,6 +17718,10 @@ index 8da7a80d3f94..319bffba5cd4 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -16085,6 +17734,10 @@ index 8da7a80d3f94..319bffba5cd4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -16115,7 +17768,7 @@ index 8da7a80d3f94..319bffba5cd4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16571,10 +18224,18 @@ index eccfcb9643bc..9cfc97dac8c0 100644
-
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 04d169646b6f..52abb46c3100 100644
+index e1b43d5aa4b0..1796ba2056fc 100644
--- third_party/libwebrtc/api/transport_api_gn/moz.build
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -16597,13 +18258,17 @@ index 04d169646b6f..52abb46c3100 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -16622,6 +18287,10 @@ index 04d169646b6f..52abb46c3100 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -16629,6 +18298,10 @@ index 04d169646b6f..52abb46c3100 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -16644,6 +18317,10 @@ index 04d169646b6f..52abb46c3100 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -16656,6 +18333,10 @@ index 04d169646b6f..52abb46c3100 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -16686,7 +18367,7 @@ index 04d169646b6f..52abb46c3100 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16773,10 +18454,18 @@ index 04d169646b6f..52abb46c3100 100644
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 29d3499e786d..eba0514e966b 100644
+index 53744a2683c8..1d1449b27b1b 100644
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -16799,13 +18488,17 @@ index 29d3499e786d..eba0514e966b 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -16824,6 +18517,10 @@ index 29d3499e786d..eba0514e966b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -16831,6 +18528,10 @@ index 29d3499e786d..eba0514e966b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -16846,6 +18547,10 @@ index 29d3499e786d..eba0514e966b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -16858,6 +18563,10 @@ index 29d3499e786d..eba0514e966b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -16888,7 +18597,7 @@ index 29d3499e786d..eba0514e966b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -16975,10 +18684,18 @@ index 29d3499e786d..eba0514e966b 100644
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 5c81ffd37b01..5fe81a997719 100644
+index 6578bb3c178e..b35832022553 100644
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -17001,13 +18718,17 @@ index 5c81ffd37b01..5fe81a997719 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -17026,6 +18747,10 @@ index 5c81ffd37b01..5fe81a997719 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -17033,6 +18758,10 @@ index 5c81ffd37b01..5fe81a997719 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -17048,6 +18777,10 @@ index 5c81ffd37b01..5fe81a997719 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -17060,6 +18793,10 @@ index 5c81ffd37b01..5fe81a997719 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -17090,7 +18827,7 @@ index 5c81ffd37b01..5fe81a997719 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17177,10 +18914,18 @@ index 5c81ffd37b01..5fe81a997719 100644
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 23861ba5e0b4..36b556f5aa98 100644
+index 3c8e38b3b417..c52bdb630c6e 100644
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -17203,13 +18948,17 @@ index 23861ba5e0b4..36b556f5aa98 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -17228,6 +18977,10 @@ index 23861ba5e0b4..36b556f5aa98 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -17235,6 +18988,10 @@ index 23861ba5e0b4..36b556f5aa98 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -17250,6 +19007,10 @@ index 23861ba5e0b4..36b556f5aa98 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -17262,6 +19023,10 @@ index 23861ba5e0b4..36b556f5aa98 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -17292,7 +19057,7 @@ index 23861ba5e0b4..36b556f5aa98 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17379,10 +19144,18 @@ index 23861ba5e0b4..36b556f5aa98 100644
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 c142c31f0050..108a8825095e 100644
+index 5664378f6ac4..8e0d3fe8129e 100644
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -17405,13 +19178,17 @@ index c142c31f0050..108a8825095e 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -17430,6 +19207,10 @@ index c142c31f0050..108a8825095e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -17437,6 +19218,10 @@ index c142c31f0050..108a8825095e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -17452,6 +19237,10 @@ index c142c31f0050..108a8825095e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -17464,6 +19253,10 @@ index c142c31f0050..108a8825095e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -17494,7 +19287,7 @@ index c142c31f0050..108a8825095e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17581,10 +19374,18 @@ index c142c31f0050..108a8825095e 100644
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 ec37917c0abf..bff6fda3a995 100644
+index 998c585fa2bd..e1bb4c5d2252 100644
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -17607,13 +19408,17 @@ index ec37917c0abf..bff6fda3a995 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -17632,6 +19437,10 @@ index ec37917c0abf..bff6fda3a995 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -17639,6 +19448,10 @@ index ec37917c0abf..bff6fda3a995 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -17654,6 +19467,10 @@ index ec37917c0abf..bff6fda3a995 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -17666,6 +19483,10 @@ index ec37917c0abf..bff6fda3a995 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -17696,7 +19517,7 @@ index ec37917c0abf..bff6fda3a995 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17783,10 +19604,18 @@ index ec37917c0abf..bff6fda3a995 100644
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 042c4cb0322f..6cac447b0305 100644
+index b2883d10c17c..6fc2ea95bfba 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -17809,13 +19638,17 @@ index 042c4cb0322f..6cac447b0305 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -17835,6 +19668,10 @@ index 042c4cb0322f..6cac447b0305 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -17842,6 +19679,10 @@ index 042c4cb0322f..6cac447b0305 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -17855,12 +19696,12 @@ index 042c4cb0322f..6cac447b0305 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -17873,6 +19714,10 @@ index 042c4cb0322f..6cac447b0305 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -17910,7 +19755,7 @@ index 042c4cb0322f..6cac447b0305 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -17968,10 +19813,10 @@ index 042c4cb0322f..6cac447b0305 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -17982,10 +19827,10 @@ index 042c4cb0322f..6cac447b0305 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -18176,10 +20021,18 @@ index 3fea2f9197be..843f8dafb50c 100644
-
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 a47a175fd8f6..f3464dc03728 100644
+index 02eff7bf46cc..3310104b80ec 100644
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -18202,13 +20055,17 @@ index a47a175fd8f6..f3464dc03728 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -18227,6 +20084,10 @@ index a47a175fd8f6..f3464dc03728 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -18234,6 +20095,10 @@ index a47a175fd8f6..f3464dc03728 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -18247,12 +20112,12 @@ index a47a175fd8f6..f3464dc03728 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -18265,6 +20130,10 @@ index a47a175fd8f6..f3464dc03728 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -18302,7 +20171,7 @@ index a47a175fd8f6..f3464dc03728 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18360,10 +20229,10 @@ index a47a175fd8f6..f3464dc03728 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -18374,10 +20243,10 @@ index a47a175fd8f6..f3464dc03728 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -18389,10 +20258,18 @@ index a47a175fd8f6..f3464dc03728 100644
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 884b76c4471c..436455709c49 100644
+index 460a18c63608..85a79c63fcc6 100644
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -18415,13 +20292,17 @@ index 884b76c4471c..436455709c49 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -18440,6 +20321,10 @@ index 884b76c4471c..436455709c49 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -18447,6 +20332,10 @@ index 884b76c4471c..436455709c49 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -18462,6 +20351,10 @@ index 884b76c4471c..436455709c49 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -18474,6 +20367,10 @@ index 884b76c4471c..436455709c49 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -18511,7 +20408,7 @@ index 884b76c4471c..436455709c49 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18569,10 +20466,10 @@ index 884b76c4471c..436455709c49 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -18583,10 +20480,10 @@ index 884b76c4471c..436455709c49 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -18598,10 +20495,18 @@ index 884b76c4471c..436455709c49 100644
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 c5f5d34a4e61..4af72222343b 100644
+index 61b1d44c616f..cd2ac96a9335 100644
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -18624,13 +20529,17 @@ index c5f5d34a4e61..4af72222343b 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -18650,6 +20559,10 @@ index c5f5d34a4e61..4af72222343b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -18657,6 +20570,10 @@ index c5f5d34a4e61..4af72222343b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -18670,12 +20587,12 @@ index c5f5d34a4e61..4af72222343b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -18688,6 +20605,10 @@ index c5f5d34a4e61..4af72222343b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -18725,7 +20646,7 @@ index c5f5d34a4e61..4af72222343b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -18783,10 +20704,10 @@ index c5f5d34a4e61..4af72222343b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -18797,10 +20718,10 @@ index c5f5d34a4e61..4af72222343b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19360,10 +21281,18 @@ index 2bdc20cfef27..bab75c04d836 100644
-
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 67f8e53f06df..56d3d234e6e3 100644
+index a15401b49e09..eb34e710758b 100644
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -19386,13 +21315,17 @@ index 67f8e53f06df..56d3d234e6e3 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -19411,6 +21344,10 @@ index 67f8e53f06df..56d3d234e6e3 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -19418,6 +21355,10 @@ index 67f8e53f06df..56d3d234e6e3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -19433,6 +21374,10 @@ index 67f8e53f06df..56d3d234e6e3 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -19445,6 +21390,10 @@ index 67f8e53f06df..56d3d234e6e3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -19475,7 +21424,7 @@ index 67f8e53f06df..56d3d234e6e3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19562,10 +21511,18 @@ index 67f8e53f06df..56d3d234e6e3 100644
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 ed2d2852f7c8..d695a8170d44 100644
+index 5b44bd14d566..ef838806b526 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -19588,13 +21545,17 @@ index ed2d2852f7c8..d695a8170d44 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -19613,6 +21574,10 @@ index ed2d2852f7c8..d695a8170d44 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -19620,6 +21585,10 @@ index ed2d2852f7c8..d695a8170d44 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -19635,6 +21604,10 @@ index ed2d2852f7c8..d695a8170d44 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -19647,6 +21620,10 @@ index ed2d2852f7c8..d695a8170d44 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -19677,7 +21654,7 @@ index ed2d2852f7c8..d695a8170d44 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19764,7 +21741,7 @@ index ed2d2852f7c8..d695a8170d44 100644
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 d89179c9d034..94bff6a3ed16 100644
+index c11a7e8be75b..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -19790,7 +21767,7 @@ index d89179c9d034..94bff6a3ed16 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -19835,10 +21812,6 @@ index d89179c9d034..94bff6a3ed16 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -19890,7 +21863,7 @@ index d89179c9d034..94bff6a3ed16 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -19916,7 +21889,7 @@ index d89179c9d034..94bff6a3ed16 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -19958,10 +21931,18 @@ index d89179c9d034..94bff6a3ed16 100644
-
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 f647df98e87a..5fee26a31e98 100644
+index 6732466a6ea7..8af59df11824 100644
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -19984,13 +21965,17 @@ index f647df98e87a..5fee26a31e98 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -20009,6 +21994,10 @@ index f647df98e87a..5fee26a31e98 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -20016,6 +22005,10 @@ index f647df98e87a..5fee26a31e98 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -20031,6 +22024,10 @@ index f647df98e87a..5fee26a31e98 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -20043,6 +22040,10 @@ index f647df98e87a..5fee26a31e98 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -20073,7 +22074,7 @@ index f647df98e87a..5fee26a31e98 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20339,10 +22340,18 @@ index 2c7b69b25447..d9d3757994c1 100644
-
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 696ff9193103..add3d8c1eae9 100644
+index 1c2f1993bb00..38e69e6fd4b6 100644
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -20365,13 +22374,17 @@ index 696ff9193103..add3d8c1eae9 100644
FINAL_LIBRARY = "xul"
-@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,114 +71,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -20390,6 +22403,10 @@ index 696ff9193103..add3d8c1eae9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -20397,6 +22414,10 @@ index 696ff9193103..add3d8c1eae9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -20412,6 +22433,10 @@ index 696ff9193103..add3d8c1eae9 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -20424,6 +22449,10 @@ index 696ff9193103..add3d8c1eae9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -20461,7 +22490,7 @@ index 696ff9193103..add3d8c1eae9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -173,82 +79,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20519,10 +22548,10 @@ index 696ff9193103..add3d8c1eae9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -20533,10 +22562,10 @@ index 696ff9193103..add3d8c1eae9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -20548,10 +22577,18 @@ index 696ff9193103..add3d8c1eae9 100644
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 701f704041d9..170207de4607 100644
+index 9e95b881c493..5a977949c4a4 100644
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -20574,13 +22611,17 @@ index 701f704041d9..170207de4607 100644
FINAL_LIBRARY = "xul"
-@@ -54,94 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,114 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -20599,6 +22640,10 @@ index 701f704041d9..170207de4607 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -20606,6 +22651,10 @@ index 701f704041d9..170207de4607 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -20621,6 +22670,10 @@ index 701f704041d9..170207de4607 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -20633,6 +22686,10 @@ index 701f704041d9..170207de4607 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -20670,7 +22727,7 @@ index 701f704041d9..170207de4607 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -169,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20728,10 +22785,10 @@ index 701f704041d9..170207de4607 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -20742,10 +22799,10 @@ index 701f704041d9..170207de4607 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -20757,10 +22814,18 @@ index 701f704041d9..170207de4607 100644
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 1385708188f8..e6d75386164a 100644
+index 9d326284b4e0..99e5e51740d7 100644
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -20783,13 +22848,17 @@ index 1385708188f8..e6d75386164a 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -20808,6 +22877,10 @@ index 1385708188f8..e6d75386164a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -20815,6 +22888,10 @@ index 1385708188f8..e6d75386164a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -20830,6 +22907,10 @@ index 1385708188f8..e6d75386164a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -20842,6 +22923,10 @@ index 1385708188f8..e6d75386164a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -20879,7 +22964,7 @@ index 1385708188f8..e6d75386164a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -20937,10 +23022,10 @@ index 1385708188f8..e6d75386164a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -20951,10 +23036,10 @@ index 1385708188f8..e6d75386164a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -21332,10 +23417,18 @@ index 453b22c40132..75d7ee7ebad3 100644
-
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 79a3143de82e..9985be046df8 100644
+index 5a5f6c5be542..06f1ac36df9f 100644
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -21358,13 +23451,17 @@ index 79a3143de82e..9985be046df8 100644
FINAL_LIBRARY = "xul"
-@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -21383,6 +23480,10 @@ index 79a3143de82e..9985be046df8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -21390,6 +23491,10 @@ index 79a3143de82e..9985be046df8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -21405,6 +23510,10 @@ index 79a3143de82e..9985be046df8 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -21417,6 +23526,10 @@ index 79a3143de82e..9985be046df8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -21454,7 +23567,7 @@ index 79a3143de82e..9985be046df8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21512,10 +23625,10 @@ index 79a3143de82e..9985be046df8 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -21526,10 +23639,10 @@ index 79a3143de82e..9985be046df8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -21541,7 +23654,7 @@ index 79a3143de82e..9985be046df8 100644
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 d12a2d2af66c..c64b22b66cd4 100644
+index f9eedb372ad5..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -21567,7 +23680,7 @@ index d12a2d2af66c..c64b22b66cd4 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -21612,10 +23725,6 @@ index d12a2d2af66c..c64b22b66cd4 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -21667,7 +23776,7 @@ index d12a2d2af66c..c64b22b66cd4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -21693,7 +23802,7 @@ index d12a2d2af66c..c64b22b66cd4 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -21918,10 +24027,18 @@ index fffc859f7e91..85c4a75b1d5e 100644
-
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 093dee7324ce..f6ebd363cae6 100644
+index a02883b898f9..bb5bbf580246 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -21944,13 +24061,17 @@ index 093dee7324ce..f6ebd363cae6 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -21970,6 +24091,10 @@ index 093dee7324ce..f6ebd363cae6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -21977,6 +24102,10 @@ index 093dee7324ce..f6ebd363cae6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -21990,12 +24119,12 @@ index 093dee7324ce..f6ebd363cae6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -22008,6 +24137,10 @@ index 093dee7324ce..f6ebd363cae6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -22045,7 +24178,7 @@ index 093dee7324ce..f6ebd363cae6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22103,10 +24236,10 @@ index 093dee7324ce..f6ebd363cae6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -22117,10 +24250,10 @@ index 093dee7324ce..f6ebd363cae6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22132,10 +24265,18 @@ index 093dee7324ce..f6ebd363cae6 100644
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 010aa6536cc7..f006fa8fd340 100644
+index ca4634e9d743..a8695ab163f6 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -22158,13 +24299,17 @@ index 010aa6536cc7..f006fa8fd340 100644
FINAL_LIBRARY = "xul"
-@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,115 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -22184,6 +24329,10 @@ index 010aa6536cc7..f006fa8fd340 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -22191,6 +24340,10 @@ index 010aa6536cc7..f006fa8fd340 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -22204,12 +24357,12 @@ index 010aa6536cc7..f006fa8fd340 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -22222,6 +24375,10 @@ index 010aa6536cc7..f006fa8fd340 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -22259,7 +24416,7 @@ index 010aa6536cc7..f006fa8fd340 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22317,10 +24474,10 @@ index 010aa6536cc7..f006fa8fd340 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -22331,10 +24488,10 @@ index 010aa6536cc7..f006fa8fd340 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22346,10 +24503,18 @@ index 010aa6536cc7..f006fa8fd340 100644
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 a4109078ad18..7d91ac4ebccb 100644
+index 125c11a379cf..a31fc63e5929 100644
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -22372,13 +24537,17 @@ index a4109078ad18..7d91ac4ebccb 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -22397,6 +24566,10 @@ index a4109078ad18..7d91ac4ebccb 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -22404,6 +24577,10 @@ index a4109078ad18..7d91ac4ebccb 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -22419,6 +24596,10 @@ index a4109078ad18..7d91ac4ebccb 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -22431,6 +24612,10 @@ index a4109078ad18..7d91ac4ebccb 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -22461,7 +24646,7 @@ index a4109078ad18..7d91ac4ebccb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22548,10 +24733,18 @@ index a4109078ad18..7d91ac4ebccb 100644
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 413d7c625981..ec54403372c6 100644
+index ed21d72aa530..2902844ab151 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -22574,13 +24767,17 @@ index 413d7c625981..ec54403372c6 100644
FINAL_LIBRARY = "xul"
-@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -57,114 +70,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -22599,6 +24796,10 @@ index 413d7c625981..ec54403372c6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -22606,6 +24807,10 @@ index 413d7c625981..ec54403372c6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -22619,12 +24824,12 @@ index 413d7c625981..ec54403372c6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -22637,6 +24842,10 @@ index 413d7c625981..ec54403372c6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -22674,7 +24883,7 @@ index 413d7c625981..ec54403372c6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -156,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -172,82 +78,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22732,10 +24941,10 @@ index 413d7c625981..ec54403372c6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -22746,10 +24955,10 @@ index 413d7c625981..ec54403372c6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22761,7 +24970,7 @@ index 413d7c625981..ec54403372c6 100644
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 4afbd15a2ede..4b1b30a2d0f6 100644
+index 333ce812ea8e..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -22787,7 +24996,7 @@ index 4afbd15a2ede..4b1b30a2d0f6 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -22832,10 +25041,6 @@ index 4afbd15a2ede..4b1b30a2d0f6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -22887,7 +25092,7 @@ index 4afbd15a2ede..4b1b30a2d0f6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -22913,7 +25118,7 @@ index 4afbd15a2ede..4b1b30a2d0f6 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -22955,7 +25160,7 @@ index 4afbd15a2ede..4b1b30a2d0f6 100644
-
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 8c0ce390c137..78cced434a30 100644
+index a2cd2de315ee..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -22981,7 +25186,7 @@ index 8c0ce390c137..78cced434a30 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -23026,10 +25231,6 @@ index 8c0ce390c137..78cced434a30 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -23081,7 +25282,7 @@ index 8c0ce390c137..78cced434a30 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23107,7 +25308,7 @@ index 8c0ce390c137..78cced434a30 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23149,7 +25350,7 @@ index 8c0ce390c137..78cced434a30 100644
-
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 ce8123fb6451..a664d72af4fd 100644
+index d0a50140cd77..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -23175,7 +25376,7 @@ index ce8123fb6451..a664d72af4fd 100644
FINAL_LIBRARY = "xul"
-@@ -43,99 +52,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"
@@ -23221,10 +25422,6 @@ index ce8123fb6451..a664d72af4fd 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -23276,7 +25473,7 @@ index ce8123fb6451..a664d72af4fd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23302,7 +25499,7 @@ index ce8123fb6451..a664d72af4fd 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23344,7 +25541,7 @@ index ce8123fb6451..a664d72af4fd 100644
-
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 49a98cd715ca..e25c605b56cf 100644
+index 97b7fda2e030..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -23370,7 +25567,7 @@ index 49a98cd715ca..e25c605b56cf 100644
FINAL_LIBRARY = "xul"
-@@ -43,99 +52,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"
@@ -23416,10 +25613,6 @@ index 49a98cd715ca..e25c605b56cf 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -23471,7 +25664,7 @@ index 49a98cd715ca..e25c605b56cf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23497,7 +25690,7 @@ index 49a98cd715ca..e25c605b56cf 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23539,7 +25732,7 @@ index 49a98cd715ca..e25c605b56cf 100644
-
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 eae3f9817f18..f079fa84bb50 100644
+index 93993aa49aa4..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -23565,7 +25758,7 @@ index eae3f9817f18..f079fa84bb50 100644
FINAL_LIBRARY = "xul"
-@@ -43,99 +52,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"
@@ -23611,10 +25804,6 @@ index eae3f9817f18..f079fa84bb50 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -23666,7 +25855,7 @@ index eae3f9817f18..f079fa84bb50 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23692,7 +25881,7 @@ index eae3f9817f18..f079fa84bb50 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -23734,10 +25923,18 @@ index eae3f9817f18..f079fa84bb50 100644
-
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 bb5a5b56e8fd..907dd961dc79 100644
+index 7f22476b7558..666766b1cfe3 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -23760,13 +25957,17 @@ index bb5a5b56e8fd..907dd961dc79 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -23786,6 +25987,10 @@ index bb5a5b56e8fd..907dd961dc79 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -23793,6 +25998,10 @@ index bb5a5b56e8fd..907dd961dc79 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -23806,12 +26015,12 @@ index bb5a5b56e8fd..907dd961dc79 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -23824,6 +26033,10 @@ index bb5a5b56e8fd..907dd961dc79 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -23861,7 +26074,7 @@ index bb5a5b56e8fd..907dd961dc79 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -23919,10 +26132,10 @@ index bb5a5b56e8fd..907dd961dc79 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -23933,10 +26146,10 @@ index bb5a5b56e8fd..907dd961dc79 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24127,10 +26340,18 @@ index e09e7bbfe6a7..04e07ea7827b 100644
-
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 1cbb2c1a06d7..739344689e8f 100644
+index 205e83a3214c..9c68f830aa6b 100644
--- third_party/libwebrtc/audio/audio_gn/moz.build
+++ third_party/libwebrtc/audio/audio_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -24153,13 +26374,17 @@ index 1cbb2c1a06d7..739344689e8f 100644
FINAL_LIBRARY = "xul"
-@@ -59,99 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,115 +72,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -24179,6 +26404,10 @@ index 1cbb2c1a06d7..739344689e8f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -24186,6 +26415,10 @@ index 1cbb2c1a06d7..739344689e8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -24199,12 +26432,12 @@ index 1cbb2c1a06d7..739344689e8f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -24217,6 +26450,10 @@ index 1cbb2c1a06d7..739344689e8f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -24254,7 +26491,7 @@ index 1cbb2c1a06d7..739344689e8f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -159,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -175,82 +80,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24312,10 +26549,10 @@ index 1cbb2c1a06d7..739344689e8f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -24326,10 +26563,10 @@ index 1cbb2c1a06d7..739344689e8f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24341,10 +26578,18 @@ index 1cbb2c1a06d7..739344689e8f 100644
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 92fbf1e0dede..74cd0b3926b2 100644
+index 8c07bd01af43..a68fd67dde38 100644
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -24367,13 +26612,17 @@ index 92fbf1e0dede..74cd0b3926b2 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -24392,6 +26641,10 @@ index 92fbf1e0dede..74cd0b3926b2 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -24399,6 +26652,10 @@ index 92fbf1e0dede..74cd0b3926b2 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -24412,12 +26669,12 @@ index 92fbf1e0dede..74cd0b3926b2 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -24430,6 +26687,10 @@ index 92fbf1e0dede..74cd0b3926b2 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -24467,7 +26728,7 @@ index 92fbf1e0dede..74cd0b3926b2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24525,10 +26786,10 @@ index 92fbf1e0dede..74cd0b3926b2 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -24539,10 +26800,10 @@ index 92fbf1e0dede..74cd0b3926b2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24554,10 +26815,18 @@ index 92fbf1e0dede..74cd0b3926b2 100644
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 c7a0b64d117e..d73d7f34b9c0 100644
+index d436bcfe5480..3961cf066b65 100644
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -24580,13 +26849,17 @@ index c7a0b64d117e..d73d7f34b9c0 100644
FINAL_LIBRARY = "xul"
-@@ -56,98 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -56,114 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -24605,6 +26878,10 @@ index c7a0b64d117e..d73d7f34b9c0 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -24612,6 +26889,10 @@ index c7a0b64d117e..d73d7f34b9c0 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -24625,12 +26906,12 @@ index c7a0b64d117e..d73d7f34b9c0 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -24643,6 +26924,10 @@ index c7a0b64d117e..d73d7f34b9c0 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -24680,7 +26965,7 @@ index c7a0b64d117e..d73d7f34b9c0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -155,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -171,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -24738,10 +27023,10 @@ index c7a0b64d117e..d73d7f34b9c0 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -24752,10 +27037,10 @@ index c7a0b64d117e..d73d7f34b9c0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -24957,10 +27242,18 @@ index 996e17f52c62..cb998aabc5b0 100644
-
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 94a7d297858f..e6aa6ea71441 100644
+index 8a661397bfd0..358a762a3200 100644
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -24983,13 +27276,17 @@ index 94a7d297858f..e6aa6ea71441 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -25008,6 +27305,10 @@ index 94a7d297858f..e6aa6ea71441 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -25015,6 +27316,10 @@ index 94a7d297858f..e6aa6ea71441 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -25028,12 +27333,12 @@ index 94a7d297858f..e6aa6ea71441 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -25046,6 +27351,10 @@ index 94a7d297858f..e6aa6ea71441 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -25083,7 +27392,7 @@ index 94a7d297858f..e6aa6ea71441 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25141,10 +27450,10 @@ index 94a7d297858f..e6aa6ea71441 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -25155,10 +27464,10 @@ index 94a7d297858f..e6aa6ea71441 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -25170,10 +27479,18 @@ index 94a7d297858f..e6aa6ea71441 100644
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 698c10c5dfca..ee2b3f2991b7 100644
+index 54f4a88bfd02..366519059d73 100644
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -25196,13 +27513,17 @@ index 698c10c5dfca..ee2b3f2991b7 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -25221,6 +27542,10 @@ index 698c10c5dfca..ee2b3f2991b7 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -25228,6 +27553,10 @@ index 698c10c5dfca..ee2b3f2991b7 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -25243,6 +27572,10 @@ index 698c10c5dfca..ee2b3f2991b7 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -25255,6 +27588,10 @@ index 698c10c5dfca..ee2b3f2991b7 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -25285,7 +27622,7 @@ index 698c10c5dfca..ee2b3f2991b7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25372,10 +27709,18 @@ index 698c10c5dfca..ee2b3f2991b7 100644
Library("bitrate_configurator_gn")
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
-index e9153eb454ce..d9f72a02b60c 100644
+index 4a8ab5b21af7..00c80663a74d 100644
--- third_party/libwebrtc/call/call_gn/moz.build
+++ third_party/libwebrtc/call/call_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -25398,13 +27743,17 @@ index e9153eb454ce..d9f72a02b60c 100644
FINAL_LIBRARY = "xul"
-@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,115 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -25424,6 +27773,10 @@ index e9153eb454ce..d9f72a02b60c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -25431,6 +27784,10 @@ index e9153eb454ce..d9f72a02b60c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -25444,12 +27801,12 @@ index e9153eb454ce..d9f72a02b60c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -25462,6 +27819,10 @@ index e9153eb454ce..d9f72a02b60c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -25499,7 +27860,7 @@ index e9153eb454ce..d9f72a02b60c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25557,10 +27918,10 @@ index e9153eb454ce..d9f72a02b60c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -25571,10 +27932,10 @@ index e9153eb454ce..d9f72a02b60c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -25586,10 +27947,18 @@ index e9153eb454ce..d9f72a02b60c 100644
Library("call_gn")
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
-index f1f1bb303843..d0ef9d525d5a 100644
+index 0f4aa1339ad3..245345b98a43 100644
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -25612,13 +27981,17 @@ index f1f1bb303843..d0ef9d525d5a 100644
FINAL_LIBRARY = "xul"
-@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,115 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -25638,6 +28011,10 @@ index f1f1bb303843..d0ef9d525d5a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -25645,6 +28022,10 @@ index f1f1bb303843..d0ef9d525d5a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -25658,12 +28039,12 @@ index f1f1bb303843..d0ef9d525d5a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -25676,6 +28057,10 @@ index f1f1bb303843..d0ef9d525d5a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -25713,7 +28098,7 @@ index f1f1bb303843..d0ef9d525d5a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -168,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25771,10 +28156,10 @@ index f1f1bb303843..d0ef9d525d5a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -25785,10 +28170,10 @@ index f1f1bb303843..d0ef9d525d5a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -25800,7 +28185,7 @@ index f1f1bb303843..d0ef9d525d5a 100644
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 85e28f429c7c..ca28e79f0b66 100644
+index 3531ddb82d1b..ca28e79f0b66 100644
--- third_party/libwebrtc/call/payload_type_gn/moz.build
+++ third_party/libwebrtc/call/payload_type_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -25826,7 +28211,7 @@ index 85e28f429c7c..ca28e79f0b66 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -25871,10 +28256,6 @@ index 85e28f429c7c..ca28e79f0b66 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -25926,7 +28307,7 @@ index 85e28f429c7c..ca28e79f0b66 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -25952,7 +28333,7 @@ index 85e28f429c7c..ca28e79f0b66 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -25994,10 +28375,18 @@ index 85e28f429c7c..ca28e79f0b66 100644
-
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 650d536de7d3..020555402df4 100644
+index fa6f16eea2b5..665d3671a54f 100644
--- third_party/libwebrtc/call/payload_type_picker_gn/moz.build
+++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -26020,13 +28409,17 @@ index 650d536de7d3..020555402df4 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -26045,6 +28438,10 @@ index 650d536de7d3..020555402df4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -26052,6 +28449,10 @@ index 650d536de7d3..020555402df4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -26065,12 +28466,12 @@ index 650d536de7d3..020555402df4 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -26083,6 +28484,10 @@ index 650d536de7d3..020555402df4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -26120,7 +28525,7 @@ index 650d536de7d3..020555402df4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26178,10 +28583,10 @@ index 650d536de7d3..020555402df4 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -26192,10 +28597,10 @@ index 650d536de7d3..020555402df4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -26207,7 +28612,7 @@ index 650d536de7d3..020555402df4 100644
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 a6c6001f74e2..8d549a7ab50f 100644
+index 6fc6e5ea533a..8d549a7ab50f 100644
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -26233,7 +28638,7 @@ index a6c6001f74e2..8d549a7ab50f 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -26278,10 +28683,6 @@ index a6c6001f74e2..8d549a7ab50f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -26333,7 +28734,7 @@ index a6c6001f74e2..8d549a7ab50f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26359,7 +28760,7 @@ index a6c6001f74e2..8d549a7ab50f 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -26401,10 +28802,18 @@ index a6c6001f74e2..8d549a7ab50f 100644
-
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 85873e674c14..24f88b79244a 100644
+index 07525d15ae0d..df22e47357de 100644
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -26427,13 +28836,17 @@ index 85873e674c14..24f88b79244a 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -26452,6 +28865,10 @@ index 85873e674c14..24f88b79244a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -26459,6 +28876,10 @@ index 85873e674c14..24f88b79244a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -26472,12 +28893,12 @@ index 85873e674c14..24f88b79244a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -26490,6 +28911,10 @@ index 85873e674c14..24f88b79244a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -26527,7 +28952,7 @@ index 85873e674c14..24f88b79244a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26585,10 +29010,10 @@ index 85873e674c14..24f88b79244a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -26599,10 +29024,10 @@ index 85873e674c14..24f88b79244a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -26614,10 +29039,18 @@ index 85873e674c14..24f88b79244a 100644
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 680b4c6faf4b..52c74494d5fe 100644
+index 5a7f02577007..f9573858c076 100644
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -26640,13 +29073,17 @@ index 680b4c6faf4b..52c74494d5fe 100644
FINAL_LIBRARY = "xul"
-@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,115 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -26666,6 +29103,10 @@ index 680b4c6faf4b..52c74494d5fe 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -26673,6 +29114,10 @@ index 680b4c6faf4b..52c74494d5fe 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -26686,12 +29131,12 @@ index 680b4c6faf4b..52c74494d5fe 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -26704,6 +29149,10 @@ index 680b4c6faf4b..52c74494d5fe 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -26741,7 +29190,7 @@ index 680b4c6faf4b..52c74494d5fe 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -26799,10 +29248,10 @@ index 680b4c6faf4b..52c74494d5fe 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -26813,10 +29262,10 @@ index 680b4c6faf4b..52c74494d5fe 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -26828,10 +29277,18 @@ index 680b4c6faf4b..52c74494d5fe 100644
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 c54282e5cead..483a0d764e21 100644
+index f8116a4cbaea..9c9240df8166 100644
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -26854,13 +29311,17 @@ index c54282e5cead..483a0d764e21 100644
FINAL_LIBRARY = "xul"
-@@ -49,99 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,115 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -26880,6 +29341,10 @@ index c54282e5cead..483a0d764e21 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -26887,6 +29352,10 @@ index c54282e5cead..483a0d764e21 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -26900,12 +29369,12 @@ index c54282e5cead..483a0d764e21 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -26918,6 +29387,10 @@ index c54282e5cead..483a0d764e21 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -26955,7 +29428,7 @@ index c54282e5cead..483a0d764e21 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27013,10 +29486,10 @@ index c54282e5cead..483a0d764e21 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -27027,10 +29500,10 @@ index c54282e5cead..483a0d764e21 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -27042,10 +29515,18 @@ index c54282e5cead..483a0d764e21 100644
Library("rtp_sender_gn")
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
-index 68e67fa3d88a..a2f2266e7dda 100644
+index 77b26af21e2f..1adeee139247 100644
--- third_party/libwebrtc/call/version_gn/moz.build
+++ third_party/libwebrtc/call/version_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -27068,13 +29549,17 @@ index 68e67fa3d88a..a2f2266e7dda 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -27089,6 +29574,10 @@ index 68e67fa3d88a..a2f2266e7dda 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -27096,6 +29585,10 @@ index 68e67fa3d88a..a2f2266e7dda 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -27111,6 +29604,10 @@ index 68e67fa3d88a..a2f2266e7dda 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -27123,6 +29620,10 @@ index 68e67fa3d88a..a2f2266e7dda 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -27153,7 +29654,7 @@ index 68e67fa3d88a..a2f2266e7dda 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27211,10 +29712,10 @@ index 68e67fa3d88a..a2f2266e7dda 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -27225,10 +29726,10 @@ index 68e67fa3d88a..a2f2266e7dda 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -27240,10 +29741,18 @@ index 68e67fa3d88a..a2f2266e7dda 100644
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 42919d9750d6..5c78f2ae7501 100644
+index 37a59c8514d8..8276da6e54b5 100644
--- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
+++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -27266,13 +29775,17 @@ index 42919d9750d6..5c78f2ae7501 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -27291,6 +29804,10 @@ index 42919d9750d6..5c78f2ae7501 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -27298,6 +29815,10 @@ index 42919d9750d6..5c78f2ae7501 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -27311,12 +29832,12 @@ index 42919d9750d6..5c78f2ae7501 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -27329,6 +29850,10 @@ index 42919d9750d6..5c78f2ae7501 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -27366,7 +29891,7 @@ index 42919d9750d6..5c78f2ae7501 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27424,10 +29949,10 @@ index 42919d9750d6..5c78f2ae7501 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -27438,10 +29963,10 @@ index 42919d9750d6..5c78f2ae7501 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -27453,10 +29978,18 @@ index 42919d9750d6..5c78f2ae7501 100644
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 313ac5a18542..9c2133892487 100644
+index 6b3794c0fc76..1e74ecdd4410 100644
--- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
+++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -27479,13 +30012,17 @@ index 313ac5a18542..9c2133892487 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -27504,6 +30041,10 @@ index 313ac5a18542..9c2133892487 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -27511,6 +30052,10 @@ index 313ac5a18542..9c2133892487 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -27524,12 +30069,12 @@ index 313ac5a18542..9c2133892487 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -27542,6 +30087,10 @@ index 313ac5a18542..9c2133892487 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -27579,7 +30128,7 @@ index 313ac5a18542..9c2133892487 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -27637,10 +30186,10 @@ index 313ac5a18542..9c2133892487 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -27651,10 +30200,10 @@ index 313ac5a18542..9c2133892487 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -27666,10 +30215,19 @@ index 313ac5a18542..9c2133892487 100644
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 9dc7f0d05cd6..f4c90763c1cf 100644
+index e60d36491f7f..640be74d01a8 100644
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
-@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -11,21 +11,31 @@ AllowCompilerWarnings()
+
+ CXXFLAGS += [
+ "-mavx2",
+- "-mfma"
++ "-mfma",
++ "-std=gnu++20"
+ ]
+
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -27693,13 +30251,17 @@ index 9dc7f0d05cd6..f4c90763c1cf 100644
FINAL_LIBRARY = "xul"
-@@ -54,127 +63,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,143 +64,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -27718,6 +30280,10 @@ index 9dc7f0d05cd6..f4c90763c1cf 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -27725,6 +30291,10 @@ index 9dc7f0d05cd6..f4c90763c1cf 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -27739,12 +30309,12 @@ index 9dc7f0d05cd6..f4c90763c1cf 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -27757,6 +30327,10 @@ index 9dc7f0d05cd6..f4c90763c1cf 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -28007,7 +30581,7 @@ index 2adc30b60cc3..7ffb62cc89f2 100644
-
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 92ead1350503..499e855a6429 100644
+index db105ee1e9c0..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -28033,7 +30607,7 @@ index 92ead1350503..499e855a6429 100644
FINAL_LIBRARY = "xul"
-@@ -84,120 +93,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -84,109 +93,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28088,10 +30662,6 @@ index 92ead1350503..499e855a6429 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -28139,13 +30709,6 @@ index 92ead1350503..499e855a6429 100644
- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
- DEFINES["__STD_C"] = True
-
-- OS_LIBS += [
-- "crypt32",
-- "iphlpapi",
-- "secur32",
-- "winmm"
-- ]
--
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
- "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
@@ -28155,7 +30718,7 @@ index 92ead1350503..499e855a6429 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -205,20 +101,14 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -194,20 +101,14 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28180,7 +30743,7 @@ index 92ead1350503..499e855a6429 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
-@@ -229,7 +119,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -218,7 +119,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
@@ -28188,7 +30751,7 @@ index 92ead1350503..499e855a6429 100644
SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c"
-@@ -246,8 +135,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -235,8 +135,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
@@ -28197,7 +30760,7 @@ index 92ead1350503..499e855a6429 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
"/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
-@@ -262,62 +149,7 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -251,78 +149,7 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
]
@@ -28257,14 +30820,13 @@ index 92ead1350503..499e855a6429 100644
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
-+if CONFIG["TARGET_CPU"] == "riscv64":
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-@@ -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"
- ]
-
+-
+- UNIFIED_SOURCES += [
+- "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
+- "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
+- "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -28274,13 +30836,14 @@ index 92ead1350503..499e855a6429 100644
- ]
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
--
-- UNIFIED_SOURCES += [
-- "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-- "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
-- "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
-- ]
--
++if CONFIG["TARGET_CPU"] == "riscv64":
+
+ UNIFIED_SOURCES += [
+ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
+@@ -330,13 +157,13 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
+ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+if CONFIG["TARGET_CPU"] == "x86":
@@ -28293,7 +30856,7 @@ index 92ead1350503..499e855a6429 100644
UNIFIED_SOURCES += [
"/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
-@@ -355,9 +171,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -344,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"
]
@@ -28306,10 +30869,18 @@ index 92ead1350503..499e855a6429 100644
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 1560a14f085d..6e45b9b381b6 100644
+index ba87f375c4ab..26bf27656058 100644
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -28332,13 +30903,17 @@ index 1560a14f085d..6e45b9b381b6 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -28357,6 +30932,10 @@ index 1560a14f085d..6e45b9b381b6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -28364,6 +30943,10 @@ index 1560a14f085d..6e45b9b381b6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -28377,12 +30960,12 @@ index 1560a14f085d..6e45b9b381b6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -28395,6 +30978,10 @@ index 1560a14f085d..6e45b9b381b6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -28421,18 +31008,11 @@ index 1560a14f085d..6e45b9b381b6 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":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28519,10 +31099,18 @@ index 1560a14f085d..6e45b9b381b6 100644
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 7ae87f142c97..898caf8d8737 100644
+index 40da830735da..fbbb389f34c2 100644
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -28545,13 +31133,17 @@ index 7ae87f142c97..898caf8d8737 100644
FINAL_LIBRARY = "xul"
-@@ -60,98 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,114 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -28570,6 +31162,10 @@ index 7ae87f142c97..898caf8d8737 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -28577,6 +31173,10 @@ index 7ae87f142c97..898caf8d8737 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -28590,12 +31190,12 @@ index 7ae87f142c97..898caf8d8737 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -28608,6 +31208,10 @@ index 7ae87f142c97..898caf8d8737 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -28645,7 +31249,7 @@ index 7ae87f142c97..898caf8d8737 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -159,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -175,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -28703,10 +31307,10 @@ index 7ae87f142c97..898caf8d8737 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -28717,10 +31321,10 @@ index 7ae87f142c97..898caf8d8737 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -28732,7 +31336,7 @@ index 7ae87f142c97..898caf8d8737 100644
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 b25cc26758a9..aa3c85edd842 100644
+index 8c5a80faae85..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,14 +13,25 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -28761,7 +31365,7 @@ index b25cc26758a9..aa3c85edd842 100644
FINAL_LIBRARY = "xul"
-@@ -50,143 +61,6 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,132 +61,6 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -28809,10 +31413,6 @@ index b25cc26758a9..aa3c85edd842 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -28858,13 +31458,6 @@ index b25cc26758a9..aa3c85edd842 100644
- DEFINES["__ARM_NEON__"] = "1"
- DEFINES["__STD_C"] = True
-
-- OS_LIBS += [
-- "crypt32",
-- "iphlpapi",
-- "secur32",
-- "winmm"
-- ]
--
-if CONFIG["TARGET_CPU"] == "arm":
-
- CFLAGS += [
@@ -28876,8 +31469,8 @@ index b25cc26758a9..aa3c85edd842 100644
-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
-
-- DEFINES["_DEBUG"] = True
--
+ DEFINES["_DEBUG"] = True
+
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
-
- DEFINES["_DEBUG"] = True
@@ -28888,8 +31481,8 @@ index b25cc26758a9..aa3c85edd842 100644
-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["_DEBUG"] = True
-
+- DEFINES["_DEBUG"] = True
+-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
@@ -28906,10 +31499,18 @@ index b25cc26758a9..aa3c85edd842 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 68c741dd1e4e..82e3c5baa6fa 100644
+index 28ef0bb77482..1b54c78125ec 100644
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
-@@ -13,14 +13,25 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,33 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -28935,13 +31536,17 @@ index 68c741dd1e4e..82e3c5baa6fa 100644
FINAL_LIBRARY = "xul"
-@@ -49,143 +60,6 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,159 +64,6 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -28960,6 +31565,10 @@ index 68c741dd1e4e..82e3c5baa6fa 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_ARCH_ARM64"] = True
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
@@ -28969,6 +31578,10 @@ index 68c741dd1e4e..82e3c5baa6fa 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -28983,12 +31596,12 @@ index 68c741dd1e4e..82e3c5baa6fa 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_ARCH_ARM64"] = True
@@ -29003,6 +31616,10 @@ index 68c741dd1e4e..82e3c5baa6fa 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -29058,12 +31675,12 @@ index 68c741dd1e4e..82e3c5baa6fa 100644
-
-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"] == "OpenBSD":
+-
+- DEFINES["_DEBUG"] = True
+-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
-
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
@@ -29080,10 +31697,18 @@ index 68c741dd1e4e..82e3c5baa6fa 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 5b461feec23b..29c9377cb4f9 100644
+index ccd141c734f4..e1661bd3169b 100644
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -29107,13 +31732,17 @@ index 5b461feec23b..29c9377cb4f9 100644
FINAL_LIBRARY = "xul"
-@@ -49,149 +58,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,159 +62,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -29133,7 +31762,8 @@ index 5b461feec23b..29c9377cb4f9 100644
-if CONFIG["OS_TARGET"] == "Darwin":
-
- CXXFLAGS += [
-- "-msse2"
+- "-msse2",
+- "-std=gnu++20"
- ]
-
- DEFINES["WEBRTC_MAC"] = True
@@ -29143,6 +31773,10 @@ index 5b461feec23b..29c9377cb4f9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29157,14 +31791,11 @@ index 5b461feec23b..29c9377cb4f9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- CXXFLAGS += [
-- "-msse2"
+- "-msse2",
+- "-std=gnu++20"
- ]
-
- DEFINES["USE_GLIB"] = "1"
@@ -29179,6 +31810,10 @@ index 5b461feec23b..29c9377cb4f9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -29260,10 +31895,18 @@ index 5b461feec23b..29c9377cb4f9 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 7f03b4b2e53f..bc11ece1d4d7 100644
+index 3ce6bd610f1f..5e77a915e125 100644
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -29286,13 +31929,17 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -29311,6 +31958,10 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -29318,6 +31969,10 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29331,12 +31986,12 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -29349,6 +32004,10 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -29386,7 +32045,7 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -29444,10 +32103,10 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -29458,10 +32117,10 @@ index 7f03b4b2e53f..bc11ece1d4d7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -29652,7 +32311,7 @@ index eb3c6df45839..0fcc226c6d9a 100644
-
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 22da9aa64e1f..8a65508b1542 100644
+index 5c813682cbb1..8a65508b1542 100644
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -29678,7 +32337,7 @@ index 22da9aa64e1f..8a65508b1542 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -29723,10 +32382,6 @@ index 22da9aa64e1f..8a65508b1542 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -29778,7 +32433,7 @@ index 22da9aa64e1f..8a65508b1542 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -29804,7 +32459,7 @@ index 22da9aa64e1f..8a65508b1542 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -29846,10 +32501,18 @@ index 22da9aa64e1f..8a65508b1542 100644
-
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 8b9bb4c81cad..3440d15b9e1c 100644
+index d1ea19bfdf26..2e617d3bd4df 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -29872,13 +32535,17 @@ index 8b9bb4c81cad..3440d15b9e1c 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -29897,6 +32564,10 @@ index 8b9bb4c81cad..3440d15b9e1c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -29904,6 +32575,10 @@ index 8b9bb4c81cad..3440d15b9e1c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -29917,12 +32592,12 @@ index 8b9bb4c81cad..3440d15b9e1c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -29935,6 +32610,10 @@ index 8b9bb4c81cad..3440d15b9e1c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -29972,7 +32651,7 @@ index 8b9bb4c81cad..3440d15b9e1c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,122 +68,38 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,122 +72,38 @@ if CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
]
@@ -30103,10 +32782,18 @@ index 8b9bb4c81cad..3440d15b9e1c 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 3e62c5c7f5d2..7541b01f163e 100644
+index 03a212909ad1..adbdb0e61bcd 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -30129,13 +32816,17 @@ index 3e62c5c7f5d2..7541b01f163e 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -30150,6 +32841,10 @@ index 3e62c5c7f5d2..7541b01f163e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -30157,6 +32852,10 @@ index 3e62c5c7f5d2..7541b01f163e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -30172,6 +32871,10 @@ index 3e62c5c7f5d2..7541b01f163e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -30184,6 +32887,10 @@ index 3e62c5c7f5d2..7541b01f163e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -30214,7 +32921,7 @@ index 3e62c5c7f5d2..7541b01f163e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30272,10 +32979,10 @@ index 3e62c5c7f5d2..7541b01f163e 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -30286,10 +32993,10 @@ index 3e62c5c7f5d2..7541b01f163e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -30560,10 +33267,18 @@ index 3fbf9e4e2fee..d14b47d5e338 100644
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 4594217ae7ea..ecade4065db8 100644
+index b82311819780..b842c57b8b6f 100644
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -30586,13 +33301,17 @@ index 4594217ae7ea..ecade4065db8 100644
FINAL_LIBRARY = "xul"
-@@ -59,98 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,114 +72,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -30611,6 +33330,10 @@ index 4594217ae7ea..ecade4065db8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -30618,6 +33341,10 @@ index 4594217ae7ea..ecade4065db8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -30631,12 +33358,12 @@ index 4594217ae7ea..ecade4065db8 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -30649,6 +33376,10 @@ index 4594217ae7ea..ecade4065db8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -30686,7 +33417,7 @@ index 4594217ae7ea..ecade4065db8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -158,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -174,82 +80,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -30744,10 +33475,10 @@ index 4594217ae7ea..ecade4065db8 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -30758,10 +33489,10 @@ index 4594217ae7ea..ecade4065db8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -30773,10 +33504,18 @@ index 4594217ae7ea..ecade4065db8 100644
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 7a12e1f80532..67975fb257fe 100644
+index 69db30818139..06eebbfd1cce 100644
--- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
+++ third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -30799,13 +33538,17 @@ index 7a12e1f80532..67975fb257fe 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -30824,6 +33567,10 @@ index 7a12e1f80532..67975fb257fe 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -30831,6 +33578,10 @@ index 7a12e1f80532..67975fb257fe 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -30846,6 +33597,10 @@ index 7a12e1f80532..67975fb257fe 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -30858,6 +33613,10 @@ index 7a12e1f80532..67975fb257fe 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -30888,7 +33647,7 @@ index 7a12e1f80532..67975fb257fe 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -31523,10 +34282,18 @@ index 704b8b08b41c..6a39ea1a1db6 100644
-
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 f6be73a2ee74..c2e2eb3a24e4 100644
+index f6db7222bcc0..a80076c6f377 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -31549,13 +34316,17 @@ index f6be73a2ee74..c2e2eb3a24e4 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -31574,6 +34345,10 @@ index f6be73a2ee74..c2e2eb3a24e4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -31581,6 +34356,10 @@ index f6be73a2ee74..c2e2eb3a24e4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -31596,6 +34375,10 @@ index f6be73a2ee74..c2e2eb3a24e4 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -31608,6 +34391,10 @@ index f6be73a2ee74..c2e2eb3a24e4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -31638,7 +34425,7 @@ index f6be73a2ee74..c2e2eb3a24e4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32108,10 +34895,18 @@ index edb8e084a33a..e2236e78c4a0 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 b1b3582e1608..7eb186a72b60 100644
+index bb0b5ebc9da5..55f9ef524abe 100644
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -32134,13 +34929,17 @@ index b1b3582e1608..7eb186a72b60 100644
FINAL_LIBRARY = "xul"
-@@ -51,94 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,114 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -32159,6 +34958,10 @@ index b1b3582e1608..7eb186a72b60 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -32166,6 +34969,10 @@ index b1b3582e1608..7eb186a72b60 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -32181,6 +34988,10 @@ index b1b3582e1608..7eb186a72b60 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -32193,6 +35004,10 @@ index b1b3582e1608..7eb186a72b60 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -32230,7 +35045,7 @@ index b1b3582e1608..7eb186a72b60 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32288,10 +35103,10 @@ index b1b3582e1608..7eb186a72b60 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -32302,10 +35117,10 @@ index b1b3582e1608..7eb186a72b60 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32317,10 +35132,18 @@ index b1b3582e1608..7eb186a72b60 100644
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 cf4cfcc07e11..423e1504c239 100644
+index 0fc9c107ecc2..2234f1a0db57 100644
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -32343,13 +35166,17 @@ index cf4cfcc07e11..423e1504c239 100644
FINAL_LIBRARY = "xul"
-@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,114 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -32368,6 +35195,10 @@ index cf4cfcc07e11..423e1504c239 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -32375,6 +35206,10 @@ index cf4cfcc07e11..423e1504c239 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -32390,6 +35225,10 @@ index cf4cfcc07e11..423e1504c239 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -32402,6 +35241,10 @@ index cf4cfcc07e11..423e1504c239 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -32439,7 +35282,7 @@ index cf4cfcc07e11..423e1504c239 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -167,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32497,10 +35340,10 @@ index cf4cfcc07e11..423e1504c239 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -32511,10 +35354,10 @@ index cf4cfcc07e11..423e1504c239 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32526,10 +35369,18 @@ index cf4cfcc07e11..423e1504c239 100644
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 1237d6915038..a1db7c7cf147 100644
+index 9582a074f459..93a7dd4571bf 100644
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -32552,13 +35403,17 @@ index 1237d6915038..a1db7c7cf147 100644
FINAL_LIBRARY = "xul"
-@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -32577,6 +35432,10 @@ index 1237d6915038..a1db7c7cf147 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -32584,6 +35443,10 @@ index 1237d6915038..a1db7c7cf147 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -32599,6 +35462,10 @@ index 1237d6915038..a1db7c7cf147 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -32611,6 +35478,10 @@ index 1237d6915038..a1db7c7cf147 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -32648,7 +35519,7 @@ index 1237d6915038..a1db7c7cf147 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -32706,10 +35577,10 @@ index 1237d6915038..a1db7c7cf147 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -32720,10 +35591,10 @@ index 1237d6915038..a1db7c7cf147 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -32918,10 +35789,18 @@ index a0b53a3dcf6b..23328c26c561 100644
-
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 b81ffc31f513..51d2fcb05f21 100644
+index 3207fd6d3667..dd8bc46a0452 100644
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -32944,13 +35823,17 @@ index b81ffc31f513..51d2fcb05f21 100644
FINAL_LIBRARY = "xul"
-@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,107 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -32969,6 +35852,10 @@ index b81ffc31f513..51d2fcb05f21 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -32976,6 +35863,10 @@ index b81ffc31f513..51d2fcb05f21 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -32991,6 +35882,10 @@ index b81ffc31f513..51d2fcb05f21 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -33003,6 +35898,10 @@ index b81ffc31f513..51d2fcb05f21 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -33033,7 +35932,7 @@ index b81ffc31f513..51d2fcb05f21 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -157,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33120,10 +36019,18 @@ index b81ffc31f513..51d2fcb05f21 100644
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 2d80e868d5e2..d80df18762aa 100644
+index cab65df23441..c3dcc77e4e91 100644
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -33146,13 +36053,17 @@ index 2d80e868d5e2..d80df18762aa 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -33171,6 +36082,10 @@ index 2d80e868d5e2..d80df18762aa 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -33178,6 +36093,10 @@ index 2d80e868d5e2..d80df18762aa 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -33193,6 +36112,10 @@ index 2d80e868d5e2..d80df18762aa 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -33205,6 +36128,10 @@ index 2d80e868d5e2..d80df18762aa 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -33242,7 +36169,7 @@ index 2d80e868d5e2..d80df18762aa 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33300,10 +36227,10 @@ index 2d80e868d5e2..d80df18762aa 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -33314,10 +36241,10 @@ index 2d80e868d5e2..d80df18762aa 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -33329,10 +36256,18 @@ index 2d80e868d5e2..d80df18762aa 100644
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 2673075055fb..3a5ac9ee85d6 100644
+index fe4bc1a280d3..5a0155831e12 100644
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -33355,13 +36290,17 @@ index 2673075055fb..3a5ac9ee85d6 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -33380,6 +36319,10 @@ index 2673075055fb..3a5ac9ee85d6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -33387,6 +36330,10 @@ index 2673075055fb..3a5ac9ee85d6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -33400,12 +36347,12 @@ index 2673075055fb..3a5ac9ee85d6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -33418,6 +36365,10 @@ index 2673075055fb..3a5ac9ee85d6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -33455,7 +36406,7 @@ index 2673075055fb..3a5ac9ee85d6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33513,10 +36464,10 @@ index 2673075055fb..3a5ac9ee85d6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -33527,10 +36478,10 @@ index 2673075055fb..3a5ac9ee85d6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -33542,10 +36493,18 @@ index 2673075055fb..3a5ac9ee85d6 100644
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 4eba826cac76..a2af28545932 100644
+index 56dd946c01d9..0e1138e58b4e 100644
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -33568,13 +36527,17 @@ index 4eba826cac76..a2af28545932 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -33593,6 +36556,10 @@ index 4eba826cac76..a2af28545932 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -33600,6 +36567,10 @@ index 4eba826cac76..a2af28545932 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -33615,6 +36586,10 @@ index 4eba826cac76..a2af28545932 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -33627,6 +36602,10 @@ index 4eba826cac76..a2af28545932 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -33664,7 +36643,7 @@ index 4eba826cac76..a2af28545932 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33722,10 +36701,10 @@ index 4eba826cac76..a2af28545932 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -33736,10 +36715,10 @@ index 4eba826cac76..a2af28545932 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -33751,10 +36730,18 @@ index 4eba826cac76..a2af28545932 100644
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 84cfad03cbad..c15c6b76c6ad 100644
+index fee4088679a5..643c370b49da 100644
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -33777,13 +36764,17 @@ index 84cfad03cbad..c15c6b76c6ad 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -33802,6 +36793,10 @@ index 84cfad03cbad..c15c6b76c6ad 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -33809,6 +36804,10 @@ index 84cfad03cbad..c15c6b76c6ad 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -33824,6 +36823,10 @@ index 84cfad03cbad..c15c6b76c6ad 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -33836,6 +36839,10 @@ index 84cfad03cbad..c15c6b76c6ad 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -33873,7 +36880,7 @@ index 84cfad03cbad..c15c6b76c6ad 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -33931,10 +36938,10 @@ index 84cfad03cbad..c15c6b76c6ad 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -33945,10 +36952,10 @@ index 84cfad03cbad..c15c6b76c6ad 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -33960,10 +36967,18 @@ index 84cfad03cbad..c15c6b76c6ad 100644
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 c50a3f48e50c..8f304e5179b0 100644
+index 6fa3f169fc08..eae7d9ea98a3 100644
--- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
+++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -33986,13 +37001,17 @@ index c50a3f48e50c..8f304e5179b0 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -34011,6 +37030,10 @@ index c50a3f48e50c..8f304e5179b0 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -34018,6 +37041,10 @@ index c50a3f48e50c..8f304e5179b0 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -34031,12 +37058,12 @@ index c50a3f48e50c..8f304e5179b0 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -34049,6 +37076,10 @@ index c50a3f48e50c..8f304e5179b0 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -34086,7 +37117,7 @@ index c50a3f48e50c..8f304e5179b0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34144,10 +37175,10 @@ index c50a3f48e50c..8f304e5179b0 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -34158,10 +37189,10 @@ index c50a3f48e50c..8f304e5179b0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -34352,10 +37383,18 @@ index a4593705f4d4..cf45ed1996b4 100644
-
Library("audio_source_gn")
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
-index 4ad0c6b4d4f1..a2e84b26f4b5 100644
+index f80cd3569dc4..7456c859c78b 100644
--- third_party/libwebrtc/media/codec_gn/moz.build
+++ third_party/libwebrtc/media/codec_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -34378,13 +37417,17 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -34403,6 +37446,10 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -34410,6 +37457,10 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -34423,12 +37474,12 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -34441,6 +37492,10 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -34478,7 +37533,7 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34536,10 +37591,10 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -34550,10 +37605,10 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -34565,7 +37620,7 @@ index 4ad0c6b4d4f1..a2e84b26f4b5 100644
Library("codec_gn")
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
-index 0123be9df1ba..9ba5846e1cce 100644
+index e5d50f57e4d9..9ba5846e1cce 100644
--- third_party/libwebrtc/media/media_channel_gn/moz.build
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -34591,7 +37646,7 @@ index 0123be9df1ba..9ba5846e1cce 100644
FINAL_LIBRARY = "xul"
-@@ -43,99 +52,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"
@@ -34637,10 +37692,6 @@ index 0123be9df1ba..9ba5846e1cce 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -34692,7 +37743,7 @@ index 0123be9df1ba..9ba5846e1cce 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -34718,7 +37769,7 @@ index 0123be9df1ba..9ba5846e1cce 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -34939,10 +37990,18 @@ index 314151b757d8..146ff9def9fe 100644
-
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 9ca79aabe233..56b3ea5ed006 100644
+index 8033f2dc36b9..a327fd43539d 100644
--- third_party/libwebrtc/media/media_constants_gn/moz.build
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -34965,13 +38024,17 @@ index 9ca79aabe233..56b3ea5ed006 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -34986,6 +38049,10 @@ index 9ca79aabe233..56b3ea5ed006 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -34993,6 +38060,10 @@ index 9ca79aabe233..56b3ea5ed006 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -35008,6 +38079,10 @@ index 9ca79aabe233..56b3ea5ed006 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -35020,6 +38095,10 @@ index 9ca79aabe233..56b3ea5ed006 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -35050,7 +38129,7 @@ index 9ca79aabe233..56b3ea5ed006 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35108,10 +38187,10 @@ index 9ca79aabe233..56b3ea5ed006 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -35122,10 +38201,10 @@ index 9ca79aabe233..56b3ea5ed006 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35137,7 +38216,7 @@ index 9ca79aabe233..56b3ea5ed006 100644
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 511ed8d0de3d..310b21190384 100644
+index 8e5e4a8eb88f..310b21190384 100644
--- third_party/libwebrtc/media/media_engine_gn/moz.build
+++ third_party/libwebrtc/media/media_engine_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -35163,7 +38242,7 @@ index 511ed8d0de3d..310b21190384 100644
FINAL_LIBRARY = "xul"
-@@ -43,99 +52,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"
@@ -35209,10 +38288,6 @@ index 511ed8d0de3d..310b21190384 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -35264,7 +38339,7 @@ index 511ed8d0de3d..310b21190384 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35290,7 +38365,7 @@ index 511ed8d0de3d..310b21190384 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35332,10 +38407,18 @@ index 511ed8d0de3d..310b21190384 100644
-
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 f90d99ec11d7..1e68c6ca8bd9 100644
+index 497a53bb7f34..0954895ab11e 100644
--- third_party/libwebrtc/media/rid_description_gn/moz.build
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -35358,13 +38441,17 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -35383,6 +38470,10 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -35390,6 +38481,10 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -35403,12 +38498,12 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -35421,6 +38516,10 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -35458,7 +38557,7 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35516,10 +38615,10 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -35530,10 +38629,10 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35545,10 +38644,19 @@ index f90d99ec11d7..1e68c6ca8bd9 100644
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 7074c8187174..fb37030f65f5 100644
+index ed9f0dfcfdc8..5698b5cf8283 100644
--- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
+++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
-@@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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
@@ -35571,13 +38679,17 @@ index 7074c8187174..fb37030f65f5 100644
FINAL_LIBRARY = "xul"
-@@ -49,103 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,119 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -35597,6 +38709,10 @@ index 7074c8187174..fb37030f65f5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -35604,6 +38720,10 @@ index 7074c8187174..fb37030f65f5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -35617,12 +38737,12 @@ index 7074c8187174..fb37030f65f5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -35635,6 +38755,10 @@ index 7074c8187174..fb37030f65f5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -35676,7 +38800,7 @@ index 7074c8187174..fb37030f65f5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -169,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35734,10 +38858,10 @@ index 7074c8187174..fb37030f65f5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -35748,10 +38872,10 @@ index 7074c8187174..fb37030f65f5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35763,10 +38887,19 @@ index 7074c8187174..fb37030f65f5 100644
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 57889f565303..bd831fddb2dc 100644
+index ebd5da0e4440..bd1521882ba0 100644
--- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
+++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
-@@ -14,13 +14,22 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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
@@ -35789,13 +38922,17 @@ index 57889f565303..bd831fddb2dc 100644
FINAL_LIBRARY = "xul"
-@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,115 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -35815,6 +38952,10 @@ index 57889f565303..bd831fddb2dc 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -35822,6 +38963,10 @@ index 57889f565303..bd831fddb2dc 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -35835,12 +38980,12 @@ index 57889f565303..bd831fddb2dc 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -35853,6 +38998,10 @@ index 57889f565303..bd831fddb2dc 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -35890,7 +39039,7 @@ index 57889f565303..bd831fddb2dc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -35948,10 +39097,10 @@ index 57889f565303..bd831fddb2dc 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -35962,10 +39111,10 @@ index 57889f565303..bd831fddb2dc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -35977,7 +39126,7 @@ index 57889f565303..bd831fddb2dc 100644
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 c18e870acb9a..fedda41e6ae3 100644
+index 3b54ec87106c..fedda41e6ae3 100644
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -36003,7 +39152,7 @@ index c18e870acb9a..fedda41e6ae3 100644
FINAL_LIBRARY = "xul"
-@@ -43,99 +52,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"
@@ -36049,10 +39198,6 @@ index c18e870acb9a..fedda41e6ae3 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -36104,7 +39249,7 @@ index c18e870acb9a..fedda41e6ae3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36130,7 +39275,7 @@ index c18e870acb9a..fedda41e6ae3 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -36351,7 +39496,7 @@ index 37cd82e2a682..972d06306f41 100644
-
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 95aff4fcc141..f1496c154221 100644
+index 0276f2a68d65..f1496c154221 100644
--- third_party/libwebrtc/media/rtc_media_gn/moz.build
+++ third_party/libwebrtc/media/rtc_media_gn/moz.build
@@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
@@ -36377,7 +39522,7 @@ index 95aff4fcc141..f1496c154221 100644
FINAL_LIBRARY = "xul"
-@@ -44,103 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -44,99 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -36423,10 +39568,6 @@ index 95aff4fcc141..f1496c154221 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -36482,7 +39623,7 @@ index 95aff4fcc141..f1496c154221 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -144,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36508,7 +39649,7 @@ index 95aff4fcc141..f1496c154221 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -176,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -172,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -36550,10 +39691,18 @@ index 95aff4fcc141..f1496c154221 100644
-
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 3903b5043c9c..f04602321b4b 100644
+index 2d39a280e6ac..01b1af374d95 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -36576,13 +39725,17 @@ index 3903b5043c9c..f04602321b4b 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -36601,6 +39754,10 @@ index 3903b5043c9c..f04602321b4b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -36608,6 +39765,10 @@ index 3903b5043c9c..f04602321b4b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -36621,12 +39782,12 @@ index 3903b5043c9c..f04602321b4b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -36639,6 +39800,10 @@ index 3903b5043c9c..f04602321b4b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -36676,7 +39841,7 @@ index 3903b5043c9c..f04602321b4b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36734,10 +39899,10 @@ index 3903b5043c9c..f04602321b4b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -36748,10 +39913,10 @@ index 3903b5043c9c..f04602321b4b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -36763,10 +39928,18 @@ index 3903b5043c9c..f04602321b4b 100644
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 a8632f24d148..12faca2c60ec 100644
+index 139263732d9f..9d50a5e7a3fe 100644
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -36789,13 +39962,17 @@ index a8632f24d148..12faca2c60ec 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -36815,6 +39992,10 @@ index a8632f24d148..12faca2c60ec 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -36822,6 +40003,10 @@ index a8632f24d148..12faca2c60ec 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -36835,12 +40020,12 @@ index a8632f24d148..12faca2c60ec 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -36853,6 +40038,10 @@ index a8632f24d148..12faca2c60ec 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -36890,7 +40079,7 @@ index a8632f24d148..12faca2c60ec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -36948,10 +40137,10 @@ index a8632f24d148..12faca2c60ec 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -36962,10 +40151,10 @@ index a8632f24d148..12faca2c60ec 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37335,10 +40524,18 @@ index 22c82b496a59..78fd4155d38b 100644
-
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 ce7a74872715..80d67950990d 100644
+index b5010f6d29bf..f18989a9f077 100644
--- third_party/libwebrtc/media/video_adapter_gn/moz.build
+++ third_party/libwebrtc/media/video_adapter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -37361,13 +40558,17 @@ index ce7a74872715..80d67950990d 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -37386,6 +40587,10 @@ index ce7a74872715..80d67950990d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -37393,6 +40598,10 @@ index ce7a74872715..80d67950990d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -37406,12 +40615,12 @@ index ce7a74872715..80d67950990d 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -37424,6 +40633,10 @@ index ce7a74872715..80d67950990d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -37461,7 +40674,7 @@ index ce7a74872715..80d67950990d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37519,10 +40732,10 @@ index ce7a74872715..80d67950990d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -37533,10 +40746,10 @@ index ce7a74872715..80d67950990d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37548,10 +40761,18 @@ index ce7a74872715..80d67950990d 100644
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 0bba5248d917..c85e8c95f8f6 100644
+index c20b473bf05d..d609173d0fe8 100644
--- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
+++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -37574,13 +40795,17 @@ index 0bba5248d917..c85e8c95f8f6 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -37599,6 +40824,10 @@ index 0bba5248d917..c85e8c95f8f6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -37606,6 +40835,10 @@ index 0bba5248d917..c85e8c95f8f6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -37621,6 +40854,10 @@ index 0bba5248d917..c85e8c95f8f6 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -37633,6 +40870,10 @@ index 0bba5248d917..c85e8c95f8f6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -37670,7 +40911,7 @@ index 0bba5248d917..c85e8c95f8f6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37728,10 +40969,10 @@ index 0bba5248d917..c85e8c95f8f6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -37742,10 +40983,10 @@ index 0bba5248d917..c85e8c95f8f6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37757,10 +40998,18 @@ index 0bba5248d917..c85e8c95f8f6 100644
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 fe09ce34a933..a764d15f802e 100644
+index 0f8e20754b3d..796e370375a2 100644
--- third_party/libwebrtc/media/video_common_gn/moz.build
+++ third_party/libwebrtc/media/video_common_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -37783,13 +41032,17 @@ index fe09ce34a933..a764d15f802e 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -37808,6 +41061,10 @@ index fe09ce34a933..a764d15f802e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -37815,6 +41072,10 @@ index fe09ce34a933..a764d15f802e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -37830,6 +41091,10 @@ index fe09ce34a933..a764d15f802e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -37842,6 +41107,10 @@ index fe09ce34a933..a764d15f802e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -37879,7 +41148,7 @@ index fe09ce34a933..a764d15f802e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -37937,10 +41206,10 @@ index fe09ce34a933..a764d15f802e 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -37951,10 +41220,10 @@ index fe09ce34a933..a764d15f802e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -37966,10 +41235,18 @@ index fe09ce34a933..a764d15f802e 100644
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 f8053045dc9f..a32461b2c660 100644
+index 0bd4fec2d0fc..ddc1d380952a 100644
--- third_party/libwebrtc/media/video_source_base_gn/moz.build
+++ third_party/libwebrtc/media/video_source_base_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -37992,13 +41269,17 @@ index f8053045dc9f..a32461b2c660 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -38017,6 +41298,10 @@ index f8053045dc9f..a32461b2c660 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -38024,6 +41309,10 @@ index f8053045dc9f..a32461b2c660 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -38039,6 +41328,10 @@ index f8053045dc9f..a32461b2c660 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -38051,6 +41344,10 @@ index f8053045dc9f..a32461b2c660 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -38088,7 +41385,7 @@ index f8053045dc9f..a32461b2c660 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38146,10 +41443,10 @@ index f8053045dc9f..a32461b2c660 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -38160,10 +41457,10 @@ index f8053045dc9f..a32461b2c660 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38175,10 +41472,18 @@ index f8053045dc9f..a32461b2c660 100644
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 91f2dac44ee2..71ed37ed1668 100644
+index 68da76dc6381..f3ff32ad5c7d 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -38201,13 +41506,17 @@ index 91f2dac44ee2..71ed37ed1668 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -38226,6 +41535,10 @@ index 91f2dac44ee2..71ed37ed1668 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -38233,6 +41546,10 @@ index 91f2dac44ee2..71ed37ed1668 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -38248,6 +41565,10 @@ index 91f2dac44ee2..71ed37ed1668 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -38260,6 +41581,10 @@ index 91f2dac44ee2..71ed37ed1668 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -38297,7 +41622,7 @@ index 91f2dac44ee2..71ed37ed1668 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38355,10 +41680,10 @@ index 91f2dac44ee2..71ed37ed1668 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -38369,10 +41694,10 @@ index 91f2dac44ee2..71ed37ed1668 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38384,10 +41709,18 @@ index 91f2dac44ee2..71ed37ed1668 100644
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 f78bef6c5863..4db9966a8cb1 100644
+index 4d2836a5e56d..5f3f7609a171 100644
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -38410,13 +41743,17 @@ index f78bef6c5863..4db9966a8cb1 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -38435,6 +41772,10 @@ index f78bef6c5863..4db9966a8cb1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -38442,6 +41783,10 @@ index f78bef6c5863..4db9966a8cb1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -38455,12 +41800,12 @@ index f78bef6c5863..4db9966a8cb1 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -38473,6 +41818,10 @@ index f78bef6c5863..4db9966a8cb1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -38510,7 +41859,7 @@ index f78bef6c5863..4db9966a8cb1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38568,10 +41917,10 @@ index f78bef6c5863..4db9966a8cb1 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -38582,10 +41931,10 @@ index f78bef6c5863..4db9966a8cb1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38776,10 +42125,18 @@ index 2c7ca80ec0ec..ebb25ef7e20d 100644
-
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 7bc2549166df..c14d768af4f1 100644
+index f7a6448f8838..9bdabe75183f 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -38802,13 +42159,17 @@ index 7bc2549166df..c14d768af4f1 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -38827,6 +42188,10 @@ index 7bc2549166df..c14d768af4f1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -38834,6 +42199,10 @@ index 7bc2549166df..c14d768af4f1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -38847,12 +42216,12 @@ index 7bc2549166df..c14d768af4f1 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -38865,6 +42234,10 @@ index 7bc2549166df..c14d768af4f1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -38902,7 +42275,7 @@ index 7bc2549166df..c14d768af4f1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -38960,10 +42333,10 @@ index 7bc2549166df..c14d768af4f1 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -38974,10 +42347,10 @@ index 7bc2549166df..c14d768af4f1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -38989,10 +42362,18 @@ index 7bc2549166df..c14d768af4f1 100644
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 0524d70044a1..2be902ad493c 100644
+index 7f88594c91e1..7ff17dd8f794 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -39015,13 +42396,17 @@ index 0524d70044a1..2be902ad493c 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -39040,6 +42425,10 @@ index 0524d70044a1..2be902ad493c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -39047,6 +42436,10 @@ index 0524d70044a1..2be902ad493c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -39060,12 +42453,12 @@ index 0524d70044a1..2be902ad493c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -39078,6 +42471,10 @@ index 0524d70044a1..2be902ad493c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -39115,7 +42512,7 @@ index 0524d70044a1..2be902ad493c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39173,10 +42570,10 @@ index 0524d70044a1..2be902ad493c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -39187,10 +42584,10 @@ index 0524d70044a1..2be902ad493c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -39202,10 +42599,18 @@ index 0524d70044a1..2be902ad493c 100644
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 0da571dfa094..4b99b74b454b 100644
+index bbbbc2139072..50b497f158ca 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -39228,13 +42633,17 @@ index 0da571dfa094..4b99b74b454b 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -39249,6 +42658,10 @@ index 0da571dfa094..4b99b74b454b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -39256,6 +42669,10 @@ index 0da571dfa094..4b99b74b454b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -39271,6 +42688,10 @@ index 0da571dfa094..4b99b74b454b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -39283,6 +42704,10 @@ index 0da571dfa094..4b99b74b454b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -39313,7 +42738,7 @@ index 0da571dfa094..4b99b74b454b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39371,10 +42796,10 @@ index 0da571dfa094..4b99b74b454b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -39385,10 +42810,10 @@ index 0da571dfa094..4b99b74b454b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -39400,10 +42825,18 @@ index 0da571dfa094..4b99b74b454b 100644
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 ca6f82e73acc..7201f9631eba 100644
+index ae668f7a135b..7b996838971d 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -39426,13 +42859,17 @@ index ca6f82e73acc..7201f9631eba 100644
FINAL_LIBRARY = "xul"
-@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -57,114 +70,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -39451,6 +42888,10 @@ index ca6f82e73acc..7201f9631eba 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -39458,6 +42899,10 @@ index ca6f82e73acc..7201f9631eba 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -39471,12 +42916,12 @@ index ca6f82e73acc..7201f9631eba 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -39489,6 +42934,10 @@ index ca6f82e73acc..7201f9631eba 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -39526,7 +42975,7 @@ index ca6f82e73acc..7201f9631eba 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -156,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -172,82 +78,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39584,10 +43033,10 @@ index ca6f82e73acc..7201f9631eba 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -39598,10 +43047,10 @@ index ca6f82e73acc..7201f9631eba 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -39811,10 +43260,18 @@ index 485b23578569..0296469454c8 100644
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 fd2075f729a4..10971d355fa4 100644
+index 94dc63c64d12..f3ff70796fb5 100644
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -39837,13 +43294,17 @@ index fd2075f729a4..10971d355fa4 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -39862,6 +43323,10 @@ index fd2075f729a4..10971d355fa4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -39869,6 +43334,10 @@ index fd2075f729a4..10971d355fa4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -39882,12 +43351,12 @@ index fd2075f729a4..10971d355fa4 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -39900,6 +43369,10 @@ index fd2075f729a4..10971d355fa4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -39937,7 +43410,7 @@ index fd2075f729a4..10971d355fa4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -39995,10 +43468,10 @@ index fd2075f729a4..10971d355fa4 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -40009,10 +43482,10 @@ index fd2075f729a4..10971d355fa4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -40222,10 +43695,18 @@ index f093a25e873e..8398cd7096a5 100644
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 870a0d2d6b0a..8b2bcf13466a 100644
+index fcc3c6850ec1..814a7957ea29 100644
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -40248,13 +43729,17 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -40273,6 +43758,10 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -40280,6 +43769,10 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -40293,12 +43786,12 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -40311,6 +43804,10 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -40348,7 +43845,7 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40406,10 +43903,10 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -40420,10 +43917,10 @@ index 870a0d2d6b0a..8b2bcf13466a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -40812,10 +44309,18 @@ index ca79e83e76a6..f2006f3a9c2c 100644
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 d9d629e63cb0..132b26983618 100644
+index beb7e09e8716..36cffe209eaa 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -40838,13 +44343,17 @@ index d9d629e63cb0..132b26983618 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -40863,6 +44372,10 @@ index d9d629e63cb0..132b26983618 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -40870,6 +44383,10 @@ index d9d629e63cb0..132b26983618 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -40883,12 +44400,12 @@ index d9d629e63cb0..132b26983618 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -40901,6 +44418,10 @@ index d9d629e63cb0..132b26983618 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -40938,7 +44459,7 @@ index d9d629e63cb0..132b26983618 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -40996,10 +44517,10 @@ index d9d629e63cb0..132b26983618 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -41010,10 +44531,10 @@ index d9d629e63cb0..132b26983618 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -41025,10 +44546,18 @@ index d9d629e63cb0..132b26983618 100644
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 915658ecd560..0d8192df783a 100644
+index 17a861d1eeab..f3308a3fe3e4 100644
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -41051,13 +44580,17 @@ index 915658ecd560..0d8192df783a 100644
FINAL_LIBRARY = "xul"
-@@ -82,98 +91,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -82,114 +95,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -41076,6 +44609,10 @@ index 915658ecd560..0d8192df783a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -41083,6 +44620,10 @@ index 915658ecd560..0d8192df783a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -41096,12 +44637,12 @@ index 915658ecd560..0d8192df783a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -41114,6 +44655,10 @@ index 915658ecd560..0d8192df783a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -41151,7 +44696,7 @@ index 915658ecd560..0d8192df783a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -181,82 +99,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -197,82 +103,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41209,10 +44754,10 @@ index 915658ecd560..0d8192df783a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -41223,10 +44768,10 @@ index 915658ecd560..0d8192df783a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -41436,10 +44981,18 @@ index 29b49af13c96..6a89c3181c8a 100644
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 2524b005d0a5..00abfed23ff5 100644
+index afa4ab64bd33..cfdb6266505a 100644
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -41462,13 +45015,17 @@ index 2524b005d0a5..00abfed23ff5 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -41487,6 +45044,10 @@ index 2524b005d0a5..00abfed23ff5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -41494,6 +45055,10 @@ index 2524b005d0a5..00abfed23ff5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -41507,12 +45072,12 @@ index 2524b005d0a5..00abfed23ff5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -41525,6 +45090,10 @@ index 2524b005d0a5..00abfed23ff5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -41562,7 +45131,7 @@ index 2524b005d0a5..00abfed23ff5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41620,10 +45189,10 @@ index 2524b005d0a5..00abfed23ff5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -41634,10 +45203,10 @@ index 2524b005d0a5..00abfed23ff5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -41649,10 +45218,18 @@ index 2524b005d0a5..00abfed23ff5 100644
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 d3f279577fa5..66b0c64c35b7 100644
+index 94dadce317f6..97f43f5fade8 100644
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -41675,13 +45252,17 @@ index d3f279577fa5..66b0c64c35b7 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -41700,6 +45281,10 @@ index d3f279577fa5..66b0c64c35b7 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -41707,6 +45292,10 @@ index d3f279577fa5..66b0c64c35b7 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -41720,12 +45309,12 @@ index d3f279577fa5..66b0c64c35b7 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -41738,6 +45327,10 @@ index d3f279577fa5..66b0c64c35b7 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -41775,7 +45368,7 @@ index d3f279577fa5..66b0c64c35b7 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -41833,10 +45426,10 @@ index d3f279577fa5..66b0c64c35b7 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -41847,10 +45440,10 @@ index d3f279577fa5..66b0c64c35b7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -41862,10 +45455,18 @@ index d3f279577fa5..66b0c64c35b7 100644
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 649fef5f47be..c8dfb2ef5dc3 100644
+index 2ff31b58003c..8ffa109de4e3 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -41888,13 +45489,17 @@ index 649fef5f47be..c8dfb2ef5dc3 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -41913,6 +45518,10 @@ index 649fef5f47be..c8dfb2ef5dc3 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -41920,6 +45529,10 @@ index 649fef5f47be..c8dfb2ef5dc3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -41933,12 +45546,12 @@ index 649fef5f47be..c8dfb2ef5dc3 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -41951,6 +45564,10 @@ index 649fef5f47be..c8dfb2ef5dc3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -41977,18 +45594,11 @@ index 649fef5f47be..c8dfb2ef5dc3 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":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42075,10 +45685,18 @@ index 649fef5f47be..c8dfb2ef5dc3 100644
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 60686e723e86..ca83edda0e81 100644
+index 83ff932cd45a..6d0ee98dd35e 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
-@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,19 +9,32 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -42103,13 +45721,17 @@ index 60686e723e86..ca83edda0e81 100644
FINAL_LIBRARY = "xul"
-@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,114 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -42128,6 +45750,10 @@ index 60686e723e86..ca83edda0e81 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -42135,6 +45761,10 @@ index 60686e723e86..ca83edda0e81 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -42148,12 +45778,12 @@ index 60686e723e86..ca83edda0e81 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -42166,6 +45796,10 @@ index 60686e723e86..ca83edda0e81 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -42203,7 +45837,7 @@ index 60686e723e86..ca83edda0e81 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42261,10 +45895,10 @@ index 60686e723e86..ca83edda0e81 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -42275,10 +45909,10 @@ index 60686e723e86..ca83edda0e81 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -42290,10 +45924,18 @@ index 60686e723e86..ca83edda0e81 100644
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 5c070db0b5cf..34a92e7abde0 100644
+index a69906c83fe0..923fd060aae4 100644
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
-@@ -13,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,19 +9,32 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -42318,13 +45960,17 @@ index 5c070db0b5cf..34a92e7abde0 100644
FINAL_LIBRARY = "xul"
-@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,114 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -42343,6 +45989,10 @@ index 5c070db0b5cf..34a92e7abde0 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -42350,6 +46000,10 @@ index 5c070db0b5cf..34a92e7abde0 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -42363,12 +46017,12 @@ index 5c070db0b5cf..34a92e7abde0 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -42381,6 +46035,10 @@ index 5c070db0b5cf..34a92e7abde0 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -42418,7 +46076,7 @@ index 5c070db0b5cf..34a92e7abde0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42476,10 +46134,10 @@ index 5c070db0b5cf..34a92e7abde0 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -42490,10 +46148,10 @@ index 5c070db0b5cf..34a92e7abde0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -42505,10 +46163,18 @@ index 5c070db0b5cf..34a92e7abde0 100644
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 a52ae8687347..c9277731583e 100644
+index a4bb4f1b1df5..159e3c5c7fa0 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,15 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,19 +9,32 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -42533,13 +46199,17 @@ index a52ae8687347..c9277731583e 100644
FINAL_LIBRARY = "xul"
-@@ -50,87 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,107 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -42558,6 +46228,10 @@ index a52ae8687347..c9277731583e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -42565,6 +46239,10 @@ index a52ae8687347..c9277731583e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -42580,6 +46258,10 @@ index a52ae8687347..c9277731583e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -42592,6 +46274,10 @@ index a52ae8687347..c9277731583e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -42622,7 +46308,7 @@ index a52ae8687347..c9277731583e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -138,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -158,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -42888,10 +46574,18 @@ index 4bce6bb07fdd..dcaf6e34ca7f 100644
-
Library("audio_device_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 9785374c7a77..862e284821d5 100644
+index a2de382fc2f6..72bb50be0b82 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -42914,13 +46608,17 @@ index 9785374c7a77..862e284821d5 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -42939,6 +46637,10 @@ index 9785374c7a77..862e284821d5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -42946,6 +46648,10 @@ index 9785374c7a77..862e284821d5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -42959,12 +46665,12 @@ index 9785374c7a77..862e284821d5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -42977,6 +46683,10 @@ index 9785374c7a77..862e284821d5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -43014,7 +46724,7 @@ index 9785374c7a77..862e284821d5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43072,10 +46782,10 @@ index 9785374c7a77..862e284821d5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -43086,10 +46796,10 @@ index 9785374c7a77..862e284821d5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -43101,10 +46811,18 @@ index 9785374c7a77..862e284821d5 100644
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 5e7263604f3f..472c0a3369e9 100644
+index 6de507a63fbf..51591d48720a 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -43128,13 +46846,17 @@ index 5e7263604f3f..472c0a3369e9 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -43153,6 +46875,10 @@ index 5e7263604f3f..472c0a3369e9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -43160,6 +46886,10 @@ index 5e7263604f3f..472c0a3369e9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -43173,12 +46903,12 @@ index 5e7263604f3f..472c0a3369e9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -43191,6 +46921,10 @@ index 5e7263604f3f..472c0a3369e9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -43228,7 +46962,7 @@ index 5e7263604f3f..472c0a3369e9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43286,10 +47020,10 @@ index 5e7263604f3f..472c0a3369e9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -43300,10 +47034,10 @@ index 5e7263604f3f..472c0a3369e9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -43498,7 +47232,7 @@ index bc8d58361929..1d50bf8de634 100644
-
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 870c269ee999..afb546c9665f 100644
+index 1da39dcab2d6..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -43524,7 +47258,7 @@ index 870c269ee999..afb546c9665f 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -43569,10 +47303,6 @@ index 870c269ee999..afb546c9665f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -43624,7 +47354,7 @@ index 870c269ee999..afb546c9665f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -43650,7 +47380,7 @@ index 870c269ee999..afb546c9665f 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -43692,10 +47422,19 @@ index 870c269ee999..afb546c9665f 100644
-
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 1060413c2fde..f2f6cc941cfc 100644
+index c3c25d95ca77..adc1729bb334 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,15 +18,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -11,22 +11,32 @@ AllowCompilerWarnings()
+
+ CXXFLAGS += [
+ "-mavx2",
+- "-mfma"
++ "-mfma",
++ "-std=gnu++20"
+ ]
+
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -43720,13 +47459,17 @@ index 1060413c2fde..f2f6cc941cfc 100644
FINAL_LIBRARY = "xul"
-@@ -58,127 +67,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,143 +68,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -43745,6 +47488,10 @@ index 1060413c2fde..f2f6cc941cfc 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -43752,6 +47499,10 @@ index 1060413c2fde..f2f6cc941cfc 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -43766,12 +47517,12 @@ index 1060413c2fde..f2f6cc941cfc 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -43784,6 +47535,10 @@ index 1060413c2fde..f2f6cc941cfc 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -44029,7 +47784,7 @@ index 653ec38ff0f8..dc18db0b8de9 100644
-
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 4967c45123d2..5a75b52ec1ea 100644
+index 694e220558c8..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -44055,7 +47810,7 @@ index 4967c45123d2..5a75b52ec1ea 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -44100,10 +47855,6 @@ index 4967c45123d2..5a75b52ec1ea 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -44155,7 +47906,7 @@ index 4967c45123d2..5a75b52ec1ea 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44181,7 +47932,7 @@ index 4967c45123d2..5a75b52ec1ea 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -44223,10 +47974,18 @@ index 4967c45123d2..5a75b52ec1ea 100644
-
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 d867766ad198..1c4951576a77 100644
+index dc051d190394..0dfc53c04058 100644
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -44250,13 +48009,17 @@ index d867766ad198..1c4951576a77 100644
FINAL_LIBRARY = "xul"
-@@ -104,98 +113,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -104,114 +117,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -44275,6 +48038,10 @@ index d867766ad198..1c4951576a77 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -44282,6 +48049,10 @@ index d867766ad198..1c4951576a77 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -44295,12 +48066,12 @@ index d867766ad198..1c4951576a77 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -44313,6 +48084,10 @@ index d867766ad198..1c4951576a77 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -44350,7 +48125,7 @@ index d867766ad198..1c4951576a77 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -203,82 +121,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -219,82 +125,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -44408,10 +48183,10 @@ index d867766ad198..1c4951576a77 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -44422,10 +48197,10 @@ index d867766ad198..1c4951576a77 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45169,7 +48944,7 @@ index d5e8985552cf..d34e64f796ef 100644
-
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 e39f71fddecb..d727e8503f24 100644
+index 0e694ea6e849..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -45195,7 +48970,7 @@ index e39f71fddecb..d727e8503f24 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -45240,10 +49015,6 @@ index e39f71fddecb..d727e8503f24 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -45295,7 +49066,7 @@ index e39f71fddecb..d727e8503f24 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45321,7 +49092,7 @@ index e39f71fddecb..d727e8503f24 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45363,10 +49134,18 @@ index e39f71fddecb..d727e8503f24 100644
-
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 6e4384af4248..0124e796e10d 100644
+index 2cc62ec504de..b5d27fe92f17 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -45389,13 +49168,17 @@ index 6e4384af4248..0124e796e10d 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -45414,6 +49197,10 @@ index 6e4384af4248..0124e796e10d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -45421,6 +49208,10 @@ index 6e4384af4248..0124e796e10d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -45434,12 +49225,12 @@ index 6e4384af4248..0124e796e10d 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -45452,6 +49243,10 @@ index 6e4384af4248..0124e796e10d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -45489,7 +49284,7 @@ index 6e4384af4248..0124e796e10d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45547,10 +49342,10 @@ index 6e4384af4248..0124e796e10d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -45561,10 +49356,10 @@ index 6e4384af4248..0124e796e10d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45576,10 +49371,18 @@ index 6e4384af4248..0124e796e10d 100644
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 ba9dc491198c..0d430b570eb5 100644
+index 666f2598f873..fd242454546d 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -45602,13 +49405,17 @@ index ba9dc491198c..0d430b570eb5 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -45627,6 +49434,10 @@ index ba9dc491198c..0d430b570eb5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -45634,6 +49445,10 @@ index ba9dc491198c..0d430b570eb5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -45647,12 +49462,12 @@ index ba9dc491198c..0d430b570eb5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -45665,6 +49480,10 @@ index ba9dc491198c..0d430b570eb5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -45702,7 +49521,7 @@ index ba9dc491198c..0d430b570eb5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -45760,10 +49579,10 @@ index ba9dc491198c..0d430b570eb5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -45774,10 +49593,10 @@ index ba9dc491198c..0d430b570eb5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -45789,10 +49608,18 @@ index ba9dc491198c..0d430b570eb5 100644
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 f2cf5c859485..f49648e3086e 100644
+index b0024d8dffdc..5f30b3e91061 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -45815,13 +49642,17 @@ index f2cf5c859485..f49648e3086e 100644
FINAL_LIBRARY = "xul"
-@@ -48,114 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,123 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -45844,6 +49675,10 @@ index f2cf5c859485..f49648e3086e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -45855,6 +49690,10 @@ index f2cf5c859485..f49648e3086e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -45868,12 +49707,12 @@ index f2cf5c859485..f49648e3086e 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -45890,6 +49729,10 @@ index f2cf5c859485..f49648e3086e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -45917,13 +49760,6 @@ index f2cf5c859485..f49648e3086e 100644
- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
- DEFINES["__STD_C"] = True
-
-- OS_LIBS += [
-- "crypt32",
-- "iphlpapi",
-- "secur32",
-- "winmm"
-- ]
--
- SOURCES += [
- "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
- ]
@@ -45931,7 +49767,7 @@ index f2cf5c859485..f49648e3086e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -164,27 +66,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -173,27 +70,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["__ARM_NEON__"] = "1"
SOURCES += [
@@ -45960,7 +49796,7 @@ index f2cf5c859485..f49648e3086e 100644
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
-@@ -193,7 +80,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -202,7 +84,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
@@ -45968,7 +49804,7 @@ index f2cf5c859485..f49648e3086e 100644
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc"
-@@ -201,8 +87,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -210,8 +91,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
if CONFIG["TARGET_CPU"] == "mips64":
@@ -45977,7 +49813,7 @@ index f2cf5c859485..f49648e3086e 100644
SOURCES += [
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
-@@ -213,77 +97,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
+@@ -222,77 +101,27 @@ if CONFIG["TARGET_CPU"] == "ppc64":
"/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
]
@@ -46061,10 +49897,18 @@ index f2cf5c859485..f49648e3086e 100644
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 4ae42eab2074..12e716eac789 100644
+index a09d42f59cd3..b2f01627c37c 100644
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -46088,13 +49932,17 @@ index 4ae42eab2074..12e716eac789 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -46113,6 +49961,10 @@ index 4ae42eab2074..12e716eac789 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -46120,6 +49972,10 @@ index 4ae42eab2074..12e716eac789 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -46133,12 +49989,12 @@ index 4ae42eab2074..12e716eac789 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -46151,6 +50007,10 @@ index 4ae42eab2074..12e716eac789 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -46188,7 +50048,7 @@ index 4ae42eab2074..12e716eac789 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46246,10 +50106,10 @@ index 4ae42eab2074..12e716eac789 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -46260,10 +50120,10 @@ index 4ae42eab2074..12e716eac789 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46454,10 +50314,18 @@ index 43ed251cd060..c2c90bfba826 100644
-
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 7528ebeac06c..9b8acfd3f582 100644
+index a4d874db43ff..f7a56d32231f 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -46480,13 +50348,17 @@ index 7528ebeac06c..9b8acfd3f582 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -46505,6 +50377,10 @@ index 7528ebeac06c..9b8acfd3f582 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -46512,6 +50388,10 @@ index 7528ebeac06c..9b8acfd3f582 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -46525,12 +50405,12 @@ index 7528ebeac06c..9b8acfd3f582 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -46543,6 +50423,10 @@ index 7528ebeac06c..9b8acfd3f582 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -46580,7 +50464,7 @@ index 7528ebeac06c..9b8acfd3f582 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46638,10 +50522,10 @@ index 7528ebeac06c..9b8acfd3f582 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -46652,10 +50536,10 @@ index 7528ebeac06c..9b8acfd3f582 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46667,10 +50551,18 @@ index 7528ebeac06c..9b8acfd3f582 100644
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 1cea105f40ec..6ef3e305946d 100644
+index 2a882398e00c..2ad6e1c03790 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -46693,13 +50585,17 @@ index 1cea105f40ec..6ef3e305946d 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -46718,6 +50614,10 @@ index 1cea105f40ec..6ef3e305946d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -46725,6 +50625,10 @@ index 1cea105f40ec..6ef3e305946d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -46738,12 +50642,12 @@ index 1cea105f40ec..6ef3e305946d 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -46756,6 +50660,10 @@ index 1cea105f40ec..6ef3e305946d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -46793,7 +50701,7 @@ index 1cea105f40ec..6ef3e305946d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -46851,10 +50759,10 @@ index 1cea105f40ec..6ef3e305946d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -46865,10 +50773,10 @@ index 1cea105f40ec..6ef3e305946d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -46880,10 +50788,18 @@ index 1cea105f40ec..6ef3e305946d 100644
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 9ea8d808a0b2..74ce00318e08 100644
+index ff94c134d95a..cead0ea7c6e7 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -46907,13 +50823,17 @@ index 9ea8d808a0b2..74ce00318e08 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -46932,6 +50852,10 @@ index 9ea8d808a0b2..74ce00318e08 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -46939,6 +50863,10 @@ index 9ea8d808a0b2..74ce00318e08 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -46952,12 +50880,12 @@ index 9ea8d808a0b2..74ce00318e08 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -46970,6 +50898,10 @@ index 9ea8d808a0b2..74ce00318e08 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -47007,7 +50939,7 @@ index 9ea8d808a0b2..74ce00318e08 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47065,10 +50997,10 @@ index 9ea8d808a0b2..74ce00318e08 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -47079,10 +51011,10 @@ index 9ea8d808a0b2..74ce00318e08 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -47094,10 +51026,18 @@ index 9ea8d808a0b2..74ce00318e08 100644
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 10c3b1a37504..14bbe9c06848 100644
+index bb5ecdbc0b98..41cc2dadba54 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -47120,13 +51060,17 @@ index 10c3b1a37504..14bbe9c06848 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -47145,6 +51089,10 @@ index 10c3b1a37504..14bbe9c06848 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -47152,6 +51100,10 @@ index 10c3b1a37504..14bbe9c06848 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -47167,6 +51119,10 @@ index 10c3b1a37504..14bbe9c06848 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -47179,6 +51135,10 @@ index 10c3b1a37504..14bbe9c06848 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -47209,7 +51169,7 @@ index 10c3b1a37504..14bbe9c06848 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47296,10 +51256,18 @@ index 10c3b1a37504..14bbe9c06848 100644
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 1853af5676aa..402d6757bd7a 100644
+index fb33fd338fbd..1a1a636908ea 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -47322,13 +51290,17 @@ index 1853af5676aa..402d6757bd7a 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -47347,6 +51319,10 @@ index 1853af5676aa..402d6757bd7a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -47354,6 +51330,10 @@ index 1853af5676aa..402d6757bd7a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -47367,12 +51347,12 @@ index 1853af5676aa..402d6757bd7a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -47385,6 +51365,10 @@ index 1853af5676aa..402d6757bd7a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -47422,7 +51406,7 @@ index 1853af5676aa..402d6757bd7a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47480,10 +51464,10 @@ index 1853af5676aa..402d6757bd7a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -47494,10 +51478,10 @@ index 1853af5676aa..402d6757bd7a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -47688,10 +51672,18 @@ index 6ef8c096e204..78f2953bbeaf 100644
-
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 accab782c164..48a7cf36bba9 100644
+index 9fb17f529a1a..ddaa5f85ea27 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -47714,13 +51706,17 @@ index accab782c164..48a7cf36bba9 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -47739,6 +51735,10 @@ index accab782c164..48a7cf36bba9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -47746,6 +51746,10 @@ index accab782c164..48a7cf36bba9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -47759,12 +51763,12 @@ index accab782c164..48a7cf36bba9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -47777,6 +51781,10 @@ index accab782c164..48a7cf36bba9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -47814,7 +51822,7 @@ index accab782c164..48a7cf36bba9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -47872,10 +51880,10 @@ index accab782c164..48a7cf36bba9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -47886,10 +51894,10 @@ index accab782c164..48a7cf36bba9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -47901,10 +51909,18 @@ index accab782c164..48a7cf36bba9 100644
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 bee6a39d3a73..bfbc8436e67f 100644
+index 3de76867a6ca..cc1916cd7995 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -47928,13 +51944,17 @@ index bee6a39d3a73..bfbc8436e67f 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -47953,6 +51973,10 @@ index bee6a39d3a73..bfbc8436e67f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -47960,6 +51984,10 @@ index bee6a39d3a73..bfbc8436e67f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -47973,12 +52001,12 @@ index bee6a39d3a73..bfbc8436e67f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -47991,6 +52019,10 @@ index bee6a39d3a73..bfbc8436e67f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -48028,7 +52060,7 @@ index bee6a39d3a73..bfbc8436e67f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48086,10 +52118,10 @@ index bee6a39d3a73..bfbc8436e67f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -48100,10 +52132,10 @@ index bee6a39d3a73..bfbc8436e67f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -48115,10 +52147,18 @@ index bee6a39d3a73..bfbc8436e67f 100644
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 3688111f0d92..9fe7808cd8b8 100644
+index 3cca98aee67e..ce197fa71e59 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -48141,13 +52181,17 @@ index 3688111f0d92..9fe7808cd8b8 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -48166,6 +52210,10 @@ index 3688111f0d92..9fe7808cd8b8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -48173,6 +52221,10 @@ index 3688111f0d92..9fe7808cd8b8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -48188,6 +52240,10 @@ index 3688111f0d92..9fe7808cd8b8 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -48200,6 +52256,10 @@ index 3688111f0d92..9fe7808cd8b8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -48237,7 +52297,7 @@ index 3688111f0d92..9fe7808cd8b8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48295,10 +52355,10 @@ index 3688111f0d92..9fe7808cd8b8 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -48309,10 +52369,10 @@ index 3688111f0d92..9fe7808cd8b8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -48503,10 +52563,18 @@ index cbf2f842b375..3fa9a1cbeea4 100644
-
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 0f885c0a9a17..b313f1c299a2 100644
+index 2c3811531efa..2f5a914322bb 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -48530,13 +52598,17 @@ index 0f885c0a9a17..b313f1c299a2 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -48555,6 +52627,10 @@ index 0f885c0a9a17..b313f1c299a2 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -48562,6 +52638,10 @@ index 0f885c0a9a17..b313f1c299a2 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -48575,12 +52655,12 @@ index 0f885c0a9a17..b313f1c299a2 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -48593,6 +52673,10 @@ index 0f885c0a9a17..b313f1c299a2 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -48630,7 +52714,7 @@ index 0f885c0a9a17..b313f1c299a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48688,10 +52772,10 @@ index 0f885c0a9a17..b313f1c299a2 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -48702,10 +52786,10 @@ index 0f885c0a9a17..b313f1c299a2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -48717,10 +52801,18 @@ index 0f885c0a9a17..b313f1c299a2 100644
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 96dd6d841212..b7344a7bb4e8 100644
+index f0550f223e49..7b1a16d0de21 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -48743,13 +52835,17 @@ index 96dd6d841212..b7344a7bb4e8 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -48768,6 +52864,10 @@ index 96dd6d841212..b7344a7bb4e8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -48775,6 +52875,10 @@ index 96dd6d841212..b7344a7bb4e8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -48790,6 +52894,10 @@ index 96dd6d841212..b7344a7bb4e8 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -48802,6 +52910,10 @@ index 96dd6d841212..b7344a7bb4e8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -48839,7 +52951,7 @@ index 96dd6d841212..b7344a7bb4e8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -48897,10 +53009,10 @@ index 96dd6d841212..b7344a7bb4e8 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -48911,10 +53023,10 @@ index 96dd6d841212..b7344a7bb4e8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -48926,10 +53038,18 @@ index 96dd6d841212..b7344a7bb4e8 100644
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 5e9b6db9859c..2f22b8d4b286 100644
+index 110dba20b75d..267a83fbfb3b 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -48953,13 +53073,17 @@ index 5e9b6db9859c..2f22b8d4b286 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -48978,6 +53102,10 @@ index 5e9b6db9859c..2f22b8d4b286 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -48985,6 +53113,10 @@ index 5e9b6db9859c..2f22b8d4b286 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -48998,12 +53130,12 @@ index 5e9b6db9859c..2f22b8d4b286 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -49016,6 +53148,10 @@ index 5e9b6db9859c..2f22b8d4b286 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -49053,7 +53189,7 @@ index 5e9b6db9859c..2f22b8d4b286 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49111,10 +53247,10 @@ index 5e9b6db9859c..2f22b8d4b286 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -49125,10 +53261,10 @@ index 5e9b6db9859c..2f22b8d4b286 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49140,10 +53276,18 @@ index 5e9b6db9859c..2f22b8d4b286 100644
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 b5e02e0356f1..66ec332889f4 100644
+index 6e0aeb2365de..196cf0ce0a55 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -49166,13 +53310,17 @@ index b5e02e0356f1..66ec332889f4 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -49191,6 +53339,10 @@ index b5e02e0356f1..66ec332889f4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -49198,6 +53350,10 @@ index b5e02e0356f1..66ec332889f4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -49211,12 +53367,12 @@ index b5e02e0356f1..66ec332889f4 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -49229,6 +53385,10 @@ index b5e02e0356f1..66ec332889f4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -49266,7 +53426,7 @@ index b5e02e0356f1..66ec332889f4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49324,10 +53484,10 @@ index b5e02e0356f1..66ec332889f4 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -49338,10 +53498,10 @@ index b5e02e0356f1..66ec332889f4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49353,7 +53513,7 @@ index b5e02e0356f1..66ec332889f4 100644
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 103b43ffafe6..935208f9620d 100644
+index 1010c1bbc1eb..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -49379,7 +53539,7 @@ index 103b43ffafe6..935208f9620d 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -49424,10 +53584,6 @@ index 103b43ffafe6..935208f9620d 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -49479,7 +53635,7 @@ index 103b43ffafe6..935208f9620d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49505,7 +53661,7 @@ index 103b43ffafe6..935208f9620d 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49547,10 +53703,18 @@ index 103b43ffafe6..935208f9620d 100644
-
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 4a28dcbf93e6..cee61fd497cb 100644
+index b5bedca75f02..b2795c415381 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -49573,13 +53737,17 @@ index 4a28dcbf93e6..cee61fd497cb 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -49598,6 +53766,10 @@ index 4a28dcbf93e6..cee61fd497cb 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -49605,6 +53777,10 @@ index 4a28dcbf93e6..cee61fd497cb 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -49618,12 +53794,12 @@ index 4a28dcbf93e6..cee61fd497cb 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -49636,6 +53812,10 @@ index 4a28dcbf93e6..cee61fd497cb 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -49673,7 +53853,7 @@ index 4a28dcbf93e6..cee61fd497cb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49731,10 +53911,10 @@ index 4a28dcbf93e6..cee61fd497cb 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -49745,10 +53925,10 @@ index 4a28dcbf93e6..cee61fd497cb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49760,10 +53940,18 @@ index 4a28dcbf93e6..cee61fd497cb 100644
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 8d1c079d983a..8e20003f0660 100644
+index d38353d07374..3579adff8551 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -49786,13 +53974,17 @@ index 8d1c079d983a..8e20003f0660 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -49811,6 +54003,10 @@ index 8d1c079d983a..8e20003f0660 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -49818,6 +54014,10 @@ index 8d1c079d983a..8e20003f0660 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -49831,12 +54031,12 @@ index 8d1c079d983a..8e20003f0660 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -49849,6 +54049,10 @@ index 8d1c079d983a..8e20003f0660 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -49886,7 +54090,7 @@ index 8d1c079d983a..8e20003f0660 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -49944,10 +54148,10 @@ index 8d1c079d983a..8e20003f0660 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -49958,10 +54162,10 @@ index 8d1c079d983a..8e20003f0660 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -49973,10 +54177,18 @@ index 8d1c079d983a..8e20003f0660 100644
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 891d4d6998bf..83d4268ade5f 100644
+index 1ffd40a944f8..854f6279656a 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -49999,13 +54211,17 @@ index 891d4d6998bf..83d4268ade5f 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -50024,6 +54240,10 @@ index 891d4d6998bf..83d4268ade5f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -50031,6 +54251,10 @@ index 891d4d6998bf..83d4268ade5f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -50046,6 +54270,10 @@ index 891d4d6998bf..83d4268ade5f 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -50058,6 +54286,10 @@ index 891d4d6998bf..83d4268ade5f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -50088,7 +54320,7 @@ index 891d4d6998bf..83d4268ade5f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50175,10 +54407,18 @@ index 891d4d6998bf..83d4268ade5f 100644
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 092a0988470b..8e7241ff0398 100644
+index d3d428fa2286..506cb50d4c7c 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -50201,13 +54441,17 @@ index 092a0988470b..8e7241ff0398 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -50226,6 +54470,10 @@ index 092a0988470b..8e7241ff0398 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -50233,6 +54481,10 @@ index 092a0988470b..8e7241ff0398 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -50246,12 +54498,12 @@ index 092a0988470b..8e7241ff0398 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -50264,6 +54516,10 @@ index 092a0988470b..8e7241ff0398 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -50301,7 +54557,7 @@ index 092a0988470b..8e7241ff0398 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50359,10 +54615,10 @@ index 092a0988470b..8e7241ff0398 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -50373,10 +54629,10 @@ index 092a0988470b..8e7241ff0398 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -50754,10 +55010,18 @@ index 01c4fadbd51d..fbb558e0f089 100644
-
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 aa4a8ba4023f..664715c17bed 100644
+index 2f2c495615ad..fd1fc07e3c45 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -50780,13 +55044,17 @@ index aa4a8ba4023f..664715c17bed 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -50805,6 +55073,10 @@ index aa4a8ba4023f..664715c17bed 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -50812,6 +55084,10 @@ index aa4a8ba4023f..664715c17bed 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -50825,12 +55101,12 @@ index aa4a8ba4023f..664715c17bed 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -50843,6 +55119,10 @@ index aa4a8ba4023f..664715c17bed 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -50880,7 +55160,7 @@ index aa4a8ba4023f..664715c17bed 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -50938,10 +55218,10 @@ index aa4a8ba4023f..664715c17bed 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -50952,10 +55232,10 @@ index aa4a8ba4023f..664715c17bed 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -51150,10 +55430,19 @@ index b15d83f31f52..46f52e81acee 100644
-
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 7933cd618b19..7f79ede28cb8 100644
+index 8ae57b6ec78b..436a0853c1f9 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,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -11,21 +11,31 @@ AllowCompilerWarnings()
+
+ CXXFLAGS += [
+ "-mavx2",
+- "-mfma"
++ "-mfma",
++ "-std=gnu++20"
+ ]
+
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -51177,13 +55466,17 @@ index 7933cd618b19..7f79ede28cb8 100644
FINAL_LIBRARY = "xul"
-@@ -53,127 +62,9 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,143 +63,9 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -51202,6 +55495,10 @@ index 7933cd618b19..7f79ede28cb8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -51209,6 +55506,10 @@ index 7933cd618b19..7f79ede28cb8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -51223,12 +55524,12 @@ index 7933cd618b19..7f79ede28cb8 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -51241,6 +55542,10 @@ index 7933cd618b19..7f79ede28cb8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -51307,7 +55612,7 @@ index 7933cd618b19..7f79ede28cb8 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 6aa396591931..d34e64f796ef 100644
+index 7cf3372dfec8..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -51333,7 +55638,7 @@ index 6aa396591931..d34e64f796ef 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -51378,10 +55683,6 @@ index 6aa396591931..d34e64f796ef 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -51433,7 +55734,7 @@ index 6aa396591931..d34e64f796ef 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51459,7 +55760,7 @@ index 6aa396591931..d34e64f796ef 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -51501,10 +55802,18 @@ index 6aa396591931..d34e64f796ef 100644
-
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 c23779c5058e..a9284fa8a632 100644
+index 978b9e63fd52..e0c9b62b818e 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -51528,13 +55837,17 @@ index c23779c5058e..a9284fa8a632 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -51553,6 +55866,10 @@ index c23779c5058e..a9284fa8a632 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -51560,6 +55877,10 @@ index c23779c5058e..a9284fa8a632 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -51573,12 +55894,12 @@ index c23779c5058e..a9284fa8a632 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -51591,6 +55912,10 @@ index c23779c5058e..a9284fa8a632 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -51628,7 +55953,7 @@ index c23779c5058e..a9284fa8a632 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51686,10 +56011,10 @@ index c23779c5058e..a9284fa8a632 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -51700,10 +56025,10 @@ index c23779c5058e..a9284fa8a632 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -51715,10 +56040,18 @@ index c23779c5058e..a9284fa8a632 100644
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 91fd3df4e594..a14b5015f3ab 100644
+index dccd70e23669..7f543a372557 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -51742,13 +56075,17 @@ index 91fd3df4e594..a14b5015f3ab 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -51767,6 +56104,10 @@ index 91fd3df4e594..a14b5015f3ab 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -51774,6 +56115,10 @@ index 91fd3df4e594..a14b5015f3ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -51787,12 +56132,12 @@ index 91fd3df4e594..a14b5015f3ab 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -51805,6 +56150,10 @@ index 91fd3df4e594..a14b5015f3ab 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -51842,7 +56191,7 @@ index 91fd3df4e594..a14b5015f3ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -51900,10 +56249,10 @@ index 91fd3df4e594..a14b5015f3ab 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -51914,10 +56263,10 @@ index 91fd3df4e594..a14b5015f3ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -51929,10 +56278,18 @@ index 91fd3df4e594..a14b5015f3ab 100644
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 8376409d5f1b..0a093dd57e19 100644
+index 305bfc0b445c..2784feb75065 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -51955,13 +56312,17 @@ index 8376409d5f1b..0a093dd57e19 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -51980,6 +56341,10 @@ index 8376409d5f1b..0a093dd57e19 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -51987,6 +56352,10 @@ index 8376409d5f1b..0a093dd57e19 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -52000,12 +56369,12 @@ index 8376409d5f1b..0a093dd57e19 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -52018,6 +56387,10 @@ index 8376409d5f1b..0a093dd57e19 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -52055,7 +56428,7 @@ index 8376409d5f1b..0a093dd57e19 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52113,10 +56486,10 @@ index 8376409d5f1b..0a093dd57e19 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -52127,10 +56500,10 @@ index 8376409d5f1b..0a093dd57e19 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52142,10 +56515,18 @@ index 8376409d5f1b..0a093dd57e19 100644
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 987b21db9b23..834169228e70 100644
+index 175392b8aeac..bf3ebdea5d5a 100644
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -52169,13 +56550,17 @@ index 987b21db9b23..834169228e70 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -52194,6 +56579,10 @@ index 987b21db9b23..834169228e70 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -52201,6 +56590,10 @@ index 987b21db9b23..834169228e70 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -52214,12 +56607,12 @@ index 987b21db9b23..834169228e70 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -52232,6 +56625,10 @@ index 987b21db9b23..834169228e70 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -52269,7 +56666,7 @@ index 987b21db9b23..834169228e70 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52327,10 +56724,10 @@ index 987b21db9b23..834169228e70 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -52341,10 +56738,10 @@ index 987b21db9b23..834169228e70 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52356,10 +56753,18 @@ index 987b21db9b23..834169228e70 100644
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 9c1e95972886..91f9bbd6ceb5 100644
+index e9a5119edfd3..ea363f8aa5b7 100644
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -52383,13 +56788,17 @@ index 9c1e95972886..91f9bbd6ceb5 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -52408,6 +56817,10 @@ index 9c1e95972886..91f9bbd6ceb5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -52415,6 +56828,10 @@ index 9c1e95972886..91f9bbd6ceb5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -52428,12 +56845,12 @@ index 9c1e95972886..91f9bbd6ceb5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -52446,6 +56863,10 @@ index 9c1e95972886..91f9bbd6ceb5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -52483,7 +56904,7 @@ index 9c1e95972886..91f9bbd6ceb5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52541,10 +56962,10 @@ index 9c1e95972886..91f9bbd6ceb5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -52555,10 +56976,10 @@ index 9c1e95972886..91f9bbd6ceb5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52570,10 +56991,18 @@ index 9c1e95972886..91f9bbd6ceb5 100644
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 ded45e12931c..8ce196f4f409 100644
+index 6e86210d536d..3d8ede1080e3 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -52596,13 +57025,17 @@ index ded45e12931c..8ce196f4f409 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -52621,6 +57054,10 @@ index ded45e12931c..8ce196f4f409 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -52628,6 +57065,10 @@ index ded45e12931c..8ce196f4f409 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -52641,12 +57082,12 @@ index ded45e12931c..8ce196f4f409 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -52659,6 +57100,10 @@ index ded45e12931c..8ce196f4f409 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -52696,7 +57141,7 @@ index ded45e12931c..8ce196f4f409 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -52754,10 +57199,10 @@ index ded45e12931c..8ce196f4f409 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -52768,10 +57213,10 @@ index ded45e12931c..8ce196f4f409 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -52973,10 +57418,18 @@ index 1a02a32479d1..d8be909f90d0 100644
-
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 39ceb97304bf..c0278d97cb97 100644
+index e4f9e168ee86..eb019e790fc6 100644
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -53000,13 +57453,17 @@ index 39ceb97304bf..c0278d97cb97 100644
FINAL_LIBRARY = "xul"
-@@ -53,98 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,114 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -53025,6 +57482,10 @@ index 39ceb97304bf..c0278d97cb97 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -53032,6 +57493,10 @@ index 39ceb97304bf..c0278d97cb97 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -53045,12 +57510,12 @@ index 39ceb97304bf..c0278d97cb97 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -53063,6 +57528,10 @@ index 39ceb97304bf..c0278d97cb97 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -53100,7 +57569,7 @@ index 39ceb97304bf..c0278d97cb97 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -152,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -168,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53158,10 +57627,10 @@ index 39ceb97304bf..c0278d97cb97 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -53172,10 +57641,10 @@ index 39ceb97304bf..c0278d97cb97 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -53187,10 +57656,18 @@ index 39ceb97304bf..c0278d97cb97 100644
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 21bd8f59c874..a3933d901f07 100644
+index 0d838411b7f9..a833f0d47b2c 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -53213,13 +57690,17 @@ index 21bd8f59c874..a3933d901f07 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -53238,6 +57719,10 @@ index 21bd8f59c874..a3933d901f07 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -53245,6 +57730,10 @@ index 21bd8f59c874..a3933d901f07 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -53258,12 +57747,12 @@ index 21bd8f59c874..a3933d901f07 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -53276,6 +57765,10 @@ index 21bd8f59c874..a3933d901f07 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -53313,7 +57806,7 @@ index 21bd8f59c874..a3933d901f07 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53371,10 +57864,10 @@ index 21bd8f59c874..a3933d901f07 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -53385,10 +57878,10 @@ index 21bd8f59c874..a3933d901f07 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -53400,10 +57893,18 @@ index 21bd8f59c874..a3933d901f07 100644
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 42784ec85682..8c878f3a3108 100644
+index d3acc2ec6bec..2f176fbfad70 100644
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -53427,13 +57928,17 @@ index 42784ec85682..8c878f3a3108 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -53452,6 +57957,10 @@ index 42784ec85682..8c878f3a3108 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -53459,6 +57968,10 @@ index 42784ec85682..8c878f3a3108 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -53472,12 +57985,12 @@ index 42784ec85682..8c878f3a3108 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -53490,6 +58003,10 @@ index 42784ec85682..8c878f3a3108 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -53527,7 +58044,7 @@ index 42784ec85682..8c878f3a3108 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53585,10 +58102,10 @@ index 42784ec85682..8c878f3a3108 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -53599,10 +58116,10 @@ index 42784ec85682..8c878f3a3108 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -53614,10 +58131,18 @@ index 42784ec85682..8c878f3a3108 100644
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 fd8ca7c8a141..67452f83cfeb 100644
+index 52e73f51f0e5..ea7cffa1aa55 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -53640,13 +58165,17 @@ index fd8ca7c8a141..67452f83cfeb 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -53665,6 +58194,10 @@ index fd8ca7c8a141..67452f83cfeb 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -53672,6 +58205,10 @@ index fd8ca7c8a141..67452f83cfeb 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -53685,12 +58222,12 @@ index fd8ca7c8a141..67452f83cfeb 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -53703,6 +58240,10 @@ index fd8ca7c8a141..67452f83cfeb 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -53740,7 +58281,7 @@ index fd8ca7c8a141..67452f83cfeb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -53798,10 +58339,10 @@ index fd8ca7c8a141..67452f83cfeb 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -53812,10 +58353,10 @@ index fd8ca7c8a141..67452f83cfeb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -53827,10 +58368,18 @@ index fd8ca7c8a141..67452f83cfeb 100644
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 f01e58d04ef2..7777cb881169 100644
+index 46305d71eea0..060ab3bec04f 100644
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -53854,13 +58403,17 @@ index f01e58d04ef2..7777cb881169 100644
FINAL_LIBRARY = "xul"
-@@ -60,98 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,114 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -53879,6 +58432,10 @@ index f01e58d04ef2..7777cb881169 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -53886,6 +58443,10 @@ index f01e58d04ef2..7777cb881169 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -53899,12 +58460,12 @@ index f01e58d04ef2..7777cb881169 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -53917,6 +58478,10 @@ index f01e58d04ef2..7777cb881169 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -53954,7 +58519,7 @@ index f01e58d04ef2..7777cb881169 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -159,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -175,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54012,10 +58577,10 @@ index f01e58d04ef2..7777cb881169 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -54026,10 +58591,10 @@ index f01e58d04ef2..7777cb881169 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -54040,11 +58605,19 @@ index f01e58d04ef2..7777cb881169 100644
+ 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+diff --git third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build
+index 43746d8b0ed8..f5cb9aa7af33 100644
+--- third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build
++++ third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -54067,13 +58640,17 @@ index cff5be834af7..21c086b8c9b0 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -54092,6 +58669,10 @@ index cff5be834af7..21c086b8c9b0 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -54099,6 +58680,10 @@ index cff5be834af7..21c086b8c9b0 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -54114,6 +58699,10 @@ index cff5be834af7..21c086b8c9b0 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -54126,6 +58715,10 @@ index cff5be834af7..21c086b8c9b0 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -54152,11 +58745,18 @@ index cff5be834af7..21c086b8c9b0 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":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54214,10 +58814,10 @@ index cff5be834af7..21c086b8c9b0 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -54228,10 +58828,10 @@ index cff5be834af7..21c086b8c9b0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -54241,12 +58841,20 @@ index cff5be834af7..21c086b8c9b0 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ Library("post_filter_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 5d840f91d382..9689fd1b01a4 100644
+--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
++++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -54269,13 +58877,17 @@ index cf79a4c26df6..dab700567aa5 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -54294,6 +58906,10 @@ index cf79a4c26df6..dab700567aa5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -54301,6 +58917,10 @@ index cf79a4c26df6..dab700567aa5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -54316,6 +58936,10 @@ index cf79a4c26df6..dab700567aa5 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -54328,6 +58952,10 @@ index cf79a4c26df6..dab700567aa5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -54358,7 +58986,7 @@ index cf79a4c26df6..dab700567aa5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54443,12 +59071,20 @@ index cf79a4c26df6..dab700567aa5 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 2c7d65de7ac7..e43eb63d258d 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -54471,13 +59107,17 @@ index acaf46bea398..d8c66bd630c6 100644
FINAL_LIBRARY = "xul"
-@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -54496,6 +59136,10 @@ index acaf46bea398..d8c66bd630c6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -54503,6 +59147,10 @@ index acaf46bea398..d8c66bd630c6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -54518,6 +59166,10 @@ index acaf46bea398..d8c66bd630c6 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -54530,6 +59182,10 @@ index acaf46bea398..d8c66bd630c6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -54560,7 +59216,7 @@ index acaf46bea398..d8c66bd630c6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -136,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54645,12 +59301,20 @@ index acaf46bea398..d8c66bd630c6 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 5a848af06d4c..00e94d88c718 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -54673,13 +59337,17 @@ index 7722cee73233..ef60e63ae63c 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,107 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -54698,6 +59366,10 @@ index 7722cee73233..ef60e63ae63c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -54705,6 +59377,10 @@ index 7722cee73233..ef60e63ae63c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -54720,6 +59396,10 @@ index 7722cee73233..ef60e63ae63c 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -54732,6 +59412,10 @@ index 7722cee73233..ef60e63ae63c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -54762,7 +59446,7 @@ index 7722cee73233..ef60e63ae63c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -156,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -54847,12 +59531,20 @@ index 7722cee73233..ef60e63ae63c 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 fc12e85731dc..0490100ccf71 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -54875,13 +59567,17 @@ index 31578408d725..9b0863007487 100644
FINAL_LIBRARY = "xul"
-@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -54900,6 +59596,10 @@ index 31578408d725..9b0863007487 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -54907,6 +59607,10 @@ index 31578408d725..9b0863007487 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -54920,12 +59624,12 @@ index 31578408d725..9b0863007487 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -54938,6 +59642,10 @@ index 31578408d725..9b0863007487 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -54964,18 +59672,11 @@ index 31578408d725..9b0863007487 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":
-@@ -153,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55060,12 +59761,20 @@ index 31578408d725..9b0863007487 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 786ed8b6e61f..3bed7d8008ea 100644
+--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
++++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -55088,13 +59797,17 @@ index e4fc3f7a57eb..d2c784dde24c 100644
FINAL_LIBRARY = "xul"
-@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,114 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -55108,12 +59821,15 @@ index e4fc3f7a57eb..d2c784dde24c 100644
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
- OS_LIBS += [
-- "GLESv2",
- "log"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -55121,6 +59837,10 @@ index e4fc3f7a57eb..d2c784dde24c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -55134,12 +59854,12 @@ index e4fc3f7a57eb..d2c784dde24c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -55152,6 +59872,10 @@ index e4fc3f7a57eb..d2c784dde24c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -55189,7 +59913,7 @@ index e4fc3f7a57eb..d2c784dde24c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -169,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55247,10 +59971,10 @@ index e4fc3f7a57eb..d2c784dde24c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -55261,10 +59985,10 @@ index e4fc3f7a57eb..d2c784dde24c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -55274,12 +59998,20 @@ index e4fc3f7a57eb..d2c784dde24c 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 d905d0d12206..529873000609 100644
+--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
++++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -55302,13 +60034,17 @@ index 56f80df06658..8217ef58b331 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,115 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -55322,11 +60058,16 @@ index 56f80df06658..8217ef58b331 100644
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
- OS_LIBS += [
+- "GLESv2",
- "log"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -55334,6 +60075,10 @@ index 56f80df06658..8217ef58b331 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -55349,6 +60094,10 @@ index 56f80df06658..8217ef58b331 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -55361,6 +60110,10 @@ index 56f80df06658..8217ef58b331 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -55398,7 +60151,7 @@ index 56f80df06658..8217ef58b331 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55456,10 +60209,10 @@ index 56f80df06658..8217ef58b331 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -55470,10 +60223,10 @@ index 56f80df06658..8217ef58b331 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -55483,12 +60236,20 @@ index 56f80df06658..8217ef58b331 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 0c7e5f7e1833..37b37bf5a674 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -55511,13 +60272,17 @@ index 753e47da2b61..7ff7a111dc72 100644
FINAL_LIBRARY = "xul"
-@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -55531,12 +60296,15 @@ index 753e47da2b61..7ff7a111dc72 100644
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
- OS_LIBS += [
-- "GLESv2",
- "log"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -55544,6 +60312,10 @@ index 753e47da2b61..7ff7a111dc72 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -55557,12 +60329,12 @@ index 753e47da2b61..7ff7a111dc72 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -55575,6 +60347,10 @@ index 753e47da2b61..7ff7a111dc72 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -55612,7 +60388,7 @@ index 753e47da2b61..7ff7a111dc72 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55670,10 +60446,10 @@ index 753e47da2b61..7ff7a111dc72 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -55684,10 +60460,10 @@ index 753e47da2b61..7ff7a111dc72 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -55697,12 +60473,20 @@ index 753e47da2b61..7ff7a111dc72 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 cd90017c878a..e7b891732a8a 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -55725,13 +60509,17 @@ index 1a7b79d12ff5..1c023f23de55 100644
FINAL_LIBRARY = "xul"
-@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,115 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -55745,11 +60533,16 @@ index 1a7b79d12ff5..1c023f23de55 100644
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
- OS_LIBS += [
+- "GLESv2",
- "log"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -55757,6 +60550,10 @@ index 1a7b79d12ff5..1c023f23de55 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -55770,12 +60567,12 @@ index 1a7b79d12ff5..1c023f23de55 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -55788,6 +60585,10 @@ index 1a7b79d12ff5..1c023f23de55 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -55825,7 +60626,7 @@ index 1a7b79d12ff5..1c023f23de55 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -151,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -55883,10 +60684,10 @@ index 1a7b79d12ff5..1c023f23de55 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -55897,10 +60698,10 @@ index 1a7b79d12ff5..1c023f23de55 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -55910,12 +60711,20 @@ index 1a7b79d12ff5..1c023f23de55 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 5ee66d5e8b71..461100c02a03 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -55938,13 +60747,17 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,114 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -55958,12 +60771,15 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
- OS_LIBS += [
-- "GLESv2",
- "log"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -55971,6 +60787,10 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -55984,12 +60804,12 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -56002,6 +60822,10 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -56039,7 +60863,7 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -167,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56097,10 +60921,10 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -56111,10 +60935,10 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -56124,12 +60948,20 @@ index b2e3acfcf5ab..ab0ee1d5f9b3 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 c1ace7a207a2..a9b7fca7c6d9 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -56152,13 +60984,17 @@ index c4561cb900cd..178ea9973d7e 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -56172,11 +61008,16 @@ index c4561cb900cd..178ea9973d7e 100644
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
- OS_LIBS += [
+- "GLESv2",
- "log"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -56184,6 +61025,10 @@ index c4561cb900cd..178ea9973d7e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -56199,6 +61044,10 @@ index c4561cb900cd..178ea9973d7e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -56211,6 +61060,10 @@ index c4561cb900cd..178ea9973d7e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -56237,11 +61090,18 @@ index c4561cb900cd..178ea9973d7e 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":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56299,10 +61159,10 @@ index c4561cb900cd..178ea9973d7e 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -56313,10 +61173,10 @@ index c4561cb900cd..178ea9973d7e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -56326,12 +61186,20 @@ index c4561cb900cd..178ea9973d7e 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 16a22e062faa..a3b80bad620e 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -56354,13 +61222,17 @@ index d231b8ce8d6d..d273a93b674c 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -56379,6 +61251,10 @@ index d231b8ce8d6d..d273a93b674c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -56386,6 +61262,10 @@ index d231b8ce8d6d..d273a93b674c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -56399,12 +61279,12 @@ index d231b8ce8d6d..d273a93b674c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -56417,6 +61297,10 @@ index d231b8ce8d6d..d273a93b674c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -56443,18 +61327,11 @@ index d231b8ce8d6d..d273a93b674c 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":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56539,12 +61416,20 @@ index d231b8ce8d6d..d273a93b674c 100644
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
- Library("loss_based_bwe_v1_gn")
+ Library("link_capacity_estimator_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 aeef260f896b..026d69c6ee2f 100644
+index 23fe85a12f81..8358927b7874 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -56567,13 +61452,17 @@ index aeef260f896b..026d69c6ee2f 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -56592,6 +61481,10 @@ index aeef260f896b..026d69c6ee2f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -56599,6 +61492,10 @@ index aeef260f896b..026d69c6ee2f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -56612,12 +61509,12 @@ index aeef260f896b..026d69c6ee2f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -56630,6 +61527,10 @@ index aeef260f896b..026d69c6ee2f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -56667,7 +61568,7 @@ index aeef260f896b..026d69c6ee2f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56725,10 +61626,10 @@ index aeef260f896b..026d69c6ee2f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -56739,10 +61640,10 @@ index aeef260f896b..026d69c6ee2f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -56754,10 +61655,18 @@ index aeef260f896b..026d69c6ee2f 100644
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 bead3df26019..b72b49849875 100644
+index ff6af2802bda..3c9d6ff35492 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -56780,13 +61689,17 @@ index bead3df26019..b72b49849875 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -56805,6 +61718,10 @@ index bead3df26019..b72b49849875 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -56812,6 +61729,10 @@ index bead3df26019..b72b49849875 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -56825,12 +61746,12 @@ index bead3df26019..b72b49849875 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -56843,6 +61764,10 @@ index bead3df26019..b72b49849875 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -56880,7 +61805,7 @@ index bead3df26019..b72b49849875 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -56938,10 +61863,10 @@ index bead3df26019..b72b49849875 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -56952,10 +61877,10 @@ index bead3df26019..b72b49849875 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -56967,10 +61892,18 @@ index bead3df26019..b72b49849875 100644
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 70f611b3a48e..89c3a99e4ea6 100644
+index 94114ddeeea2..7fbcc84f8c75 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -56993,13 +61926,17 @@ index 70f611b3a48e..89c3a99e4ea6 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -57018,6 +61955,10 @@ index 70f611b3a48e..89c3a99e4ea6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -57025,6 +61966,10 @@ index 70f611b3a48e..89c3a99e4ea6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -57038,12 +61983,12 @@ index 70f611b3a48e..89c3a99e4ea6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -57056,6 +62001,10 @@ index 70f611b3a48e..89c3a99e4ea6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -57093,7 +62042,7 @@ index 70f611b3a48e..89c3a99e4ea6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57151,10 +62100,10 @@ index 70f611b3a48e..89c3a99e4ea6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -57165,10 +62114,10 @@ index 70f611b3a48e..89c3a99e4ea6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -57180,10 +62129,18 @@ index 70f611b3a48e..89c3a99e4ea6 100644
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 f22524dd354b..6e24db4653a2 100644
+index a536af72fb65..46748e188c8c 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -57206,13 +62163,17 @@ index f22524dd354b..6e24db4653a2 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -57231,6 +62192,10 @@ index f22524dd354b..6e24db4653a2 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -57238,6 +62203,10 @@ index f22524dd354b..6e24db4653a2 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -57251,12 +62220,12 @@ index f22524dd354b..6e24db4653a2 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -57269,6 +62238,10 @@ index f22524dd354b..6e24db4653a2 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -57306,7 +62279,7 @@ index f22524dd354b..6e24db4653a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57364,10 +62337,10 @@ index f22524dd354b..6e24db4653a2 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -57378,10 +62351,10 @@ index f22524dd354b..6e24db4653a2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -57393,10 +62366,18 @@ index f22524dd354b..6e24db4653a2 100644
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 e650ac11466b..ea7669bdf2c9 100644
+index cf10bb72c78f..23eed0bbc413 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -57419,13 +62400,17 @@ index e650ac11466b..ea7669bdf2c9 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -57445,6 +62430,10 @@ index e650ac11466b..ea7669bdf2c9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -57452,6 +62441,10 @@ index e650ac11466b..ea7669bdf2c9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -57465,12 +62458,12 @@ index e650ac11466b..ea7669bdf2c9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -57483,6 +62476,10 @@ index e650ac11466b..ea7669bdf2c9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -57520,7 +62517,7 @@ index e650ac11466b..ea7669bdf2c9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57578,10 +62575,10 @@ index e650ac11466b..ea7669bdf2c9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -57592,10 +62589,10 @@ index e650ac11466b..ea7669bdf2c9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -57607,10 +62604,18 @@ index e650ac11466b..ea7669bdf2c9 100644
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 64598f28cfca..113ac5fad487 100644
+index 80120902c630..870e11e4c010 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -57633,13 +62638,17 @@ index 64598f28cfca..113ac5fad487 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -57658,6 +62667,10 @@ index 64598f28cfca..113ac5fad487 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -57665,6 +62678,10 @@ index 64598f28cfca..113ac5fad487 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -57678,12 +62695,12 @@ index 64598f28cfca..113ac5fad487 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -57696,6 +62713,10 @@ index 64598f28cfca..113ac5fad487 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -57733,7 +62754,7 @@ index 64598f28cfca..113ac5fad487 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -57791,10 +62812,10 @@ index 64598f28cfca..113ac5fad487 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -57805,10 +62826,10 @@ index 64598f28cfca..113ac5fad487 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -57820,10 +62841,18 @@ index 64598f28cfca..113ac5fad487 100644
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 598b738b3d98..2fcec71e4a8c 100644
+index 167a6af099bf..5447b4c4cc4a 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,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -57847,7 +62876,7 @@ index 598b738b3d98..2fcec71e4a8c 100644
FINAL_LIBRARY = "xul"
-@@ -48,103 +57,16 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,113 +61,16 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -57855,7 +62884,8 @@ index 598b738b3d98..2fcec71e4a8c 100644
-if CONFIG["OS_TARGET"] == "Darwin":
-
- CXXFLAGS += [
-- "-msse2"
+- "-msse2",
+- "-std=gnu++20"
- ]
-
- DEFINES["WEBRTC_MAC"] = True
@@ -57865,6 +62895,10 @@ index 598b738b3d98..2fcec71e4a8c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -57882,7 +62916,8 @@ index 598b738b3d98..2fcec71e4a8c 100644
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- CXXFLAGS += [
-- "-msse2"
+- "-msse2",
+- "-std=gnu++20"
- ]
-
- DEFINES["USE_GLIB"] = "1"
@@ -57897,6 +62932,10 @@ index 598b738b3d98..2fcec71e4a8c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -57926,12 +62965,12 @@ index 598b738b3d98..2fcec71e4a8c 100644
-
-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"] == "Linux":
+-
+- DEFINES["_DEBUG"] = True
+-
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["_DEBUG"] = True
@@ -57954,10 +62993,18 @@ index 598b738b3d98..2fcec71e4a8c 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 b32544897c73..99cd089c6892 100644
+index 0c7bc95d03d0..3b9503eb97ab 100644
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
-@@ -26,13 +26,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -22,17 +22,30 @@ if not CONFIG["MOZ_SYSTEM_PIPEWIRE"]:
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -57980,13 +63027,17 @@ index b32544897c73..99cd089c6892 100644
FINAL_LIBRARY = "xul"
-@@ -85,185 +94,14 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -85,197 +98,14 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -58001,6 +63052,10 @@ index b32544897c73..99cd089c6892 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -58014,10 +63069,6 @@ index b32544897c73..99cd089c6892 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
- SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc"
- ]
@@ -58029,6 +63080,10 @@ index b32544897c73..99cd089c6892 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -58070,6 +63125,10 @@ index b32544897c73..99cd089c6892 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -58168,7 +63227,7 @@ index b32544897c73..99cd089c6892 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -271,7 +109,8 @@ if CONFIG["TARGET_CPU"] == "arm":
+@@ -283,7 +113,8 @@ if CONFIG["TARGET_CPU"] == "arm":
]
SOURCES += [
@@ -58178,7 +63237,7 @@ index b32544897c73..99cd089c6892 100644
]
UNIFIED_SOURCES += [
-@@ -281,34 +120,9 @@ if CONFIG["TARGET_CPU"] == "arm":
+@@ -293,34 +124,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",
@@ -58216,7 +63275,7 @@ index b32544897c73..99cd089c6892 100644
]
if CONFIG["TARGET_CPU"] == "mips32":
-@@ -316,7 +130,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -328,7 +134,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
DEFINES["MIPS32_LE"] = True
DEFINES["MIPS_FPU_LE"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True
@@ -58224,7 +63283,7 @@ index b32544897c73..99cd089c6892 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -324,7 +137,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -336,7 +141,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
]
SOURCES += [
@@ -58234,7 +63293,7 @@ index b32544897c73..99cd089c6892 100644
]
UNIFIED_SOURCES += [
-@@ -334,13 +148,14 @@ if CONFIG["TARGET_CPU"] == "mips32":
+@@ -346,13 +152,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",
@@ -58251,7 +63310,7 @@ index b32544897c73..99cd089c6892 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -348,7 +163,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -360,7 +167,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
]
SOURCES += [
@@ -58261,7 +63320,7 @@ index b32544897c73..99cd089c6892 100644
]
UNIFIED_SOURCES += [
-@@ -358,117 +174,19 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -370,117 +178,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",
@@ -58383,7 +63442,7 @@ index b32544897c73..99cd089c6892 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -476,7 +194,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -488,7 +198,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
]
SOURCES += [
@@ -58393,7 +63452,7 @@ index b32544897c73..99cd089c6892 100644
]
UNIFIED_SOURCES += [
-@@ -486,13 +205,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -498,13 +209,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",
@@ -58412,7 +63471,7 @@ index b32544897c73..99cd089c6892 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -500,7 +221,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -512,7 +225,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
]
SOURCES += [
@@ -58422,7 +63481,7 @@ index b32544897c73..99cd089c6892 100644
]
UNIFIED_SOURCES += [
-@@ -510,10 +232,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -522,10 +236,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",
@@ -58437,7 +63496,7 @@ index b32544897c73..99cd089c6892 100644
DEFINES["WEBRTC_USE_X11"] = True
-@@ -539,134 +263,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE
+@@ -551,134 +267,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"
]
@@ -58691,10 +63750,18 @@ index 1a08376347cd..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 e8417c3d85c5..acecefe7be92 100644
+index 8d711aa810c3..1c32f30e40d8 100644
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -58717,13 +63784,17 @@ index e8417c3d85c5..acecefe7be92 100644
FINAL_LIBRARY = "xul"
-@@ -53,69 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,85 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -58731,6 +63802,10 @@ index e8417c3d85c5..acecefe7be92 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -58746,6 +63821,10 @@ index e8417c3d85c5..acecefe7be92 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -58758,6 +63837,10 @@ index e8417c3d85c5..acecefe7be92 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -58788,7 +63871,7 @@ index e8417c3d85c5..acecefe7be92 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -123,69 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,69 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59399,10 +64482,18 @@ index cc6d4595397e..b7fe96ba4609 100644
-
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 cc77d844868d..6b5865551362 100644
+index d3f273527dc4..0c376090d326 100644
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -59425,13 +64516,17 @@ index cc77d844868d..6b5865551362 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -59450,6 +64545,10 @@ index cc77d844868d..6b5865551362 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -59457,6 +64556,10 @@ index cc77d844868d..6b5865551362 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -59472,6 +64575,10 @@ index cc77d844868d..6b5865551362 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -59484,6 +64591,10 @@ index cc77d844868d..6b5865551362 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -59514,7 +64625,7 @@ index cc77d844868d..6b5865551362 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59601,10 +64712,18 @@ index cc77d844868d..6b5865551362 100644
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 d038755722bc..310397c3a8d0 100644
+index 04e69652bf60..8f26153907b3 100644
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -59627,13 +64746,17 @@ index d038755722bc..310397c3a8d0 100644
FINAL_LIBRARY = "xul"
-@@ -54,99 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,115 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -59653,6 +64776,10 @@ index d038755722bc..310397c3a8d0 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -59660,6 +64787,10 @@ index d038755722bc..310397c3a8d0 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -59673,12 +64804,12 @@ index d038755722bc..310397c3a8d0 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -59691,6 +64822,10 @@ index d038755722bc..310397c3a8d0 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -59728,7 +64863,7 @@ index d038755722bc..310397c3a8d0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -154,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -170,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59786,10 +64921,10 @@ index d038755722bc..310397c3a8d0 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -59800,10 +64935,10 @@ index d038755722bc..310397c3a8d0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -59815,10 +64950,10 @@ index d038755722bc..310397c3a8d0 100644
Library("pacing_gn")
diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build
-index 458d6eb3ad9a..e1abb12959d5 100644
+index 865469eb17be..81410f9e54f3 100644
--- third_party/libwebrtc/modules/portal/portal_gn/moz.build
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
-@@ -26,22 +26,18 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -30,22 +30,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
@@ -59842,7 +64977,7 @@ index 458d6eb3ad9a..e1abb12959d5 100644
DEFINES["_LARGEFILE64_SOURCE"] = True
DEFINES["_LARGEFILE_SOURCE"] = True
DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
-@@ -86,16 +82,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -90,16 +86,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -59860,10 +64995,18 @@ index 458d6eb3ad9a..e1abb12959d5 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 d7f5b2e2ed3c..552d79429483 100644
+index f7018226a214..9a811268f284 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -59886,13 +65029,17 @@ index d7f5b2e2ed3c..552d79429483 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -59911,6 +65058,10 @@ index d7f5b2e2ed3c..552d79429483 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -59918,6 +65069,10 @@ index d7f5b2e2ed3c..552d79429483 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -59931,12 +65086,12 @@ index d7f5b2e2ed3c..552d79429483 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -59949,6 +65104,10 @@ index d7f5b2e2ed3c..552d79429483 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -59986,7 +65145,7 @@ index d7f5b2e2ed3c..552d79429483 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60044,10 +65203,10 @@ index d7f5b2e2ed3c..552d79429483 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -60058,10 +65217,10 @@ index d7f5b2e2ed3c..552d79429483 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60073,10 +65232,18 @@ index d7f5b2e2ed3c..552d79429483 100644
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 634813072a4f..b9e866bb70ab 100644
+index 7fab0af4e91d..0098a23551c8 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -60099,13 +65266,17 @@ index 634813072a4f..b9e866bb70ab 100644
FINAL_LIBRARY = "xul"
-@@ -56,98 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -56,114 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -60124,6 +65295,10 @@ index 634813072a4f..b9e866bb70ab 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -60131,6 +65306,10 @@ index 634813072a4f..b9e866bb70ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -60144,12 +65323,12 @@ index 634813072a4f..b9e866bb70ab 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -60162,6 +65341,10 @@ index 634813072a4f..b9e866bb70ab 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -60199,7 +65382,7 @@ index 634813072a4f..b9e866bb70ab 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -155,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -171,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60257,10 +65440,10 @@ index 634813072a4f..b9e866bb70ab 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -60271,10 +65454,10 @@ index 634813072a4f..b9e866bb70ab 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60286,7 +65469,7 @@ index 634813072a4f..b9e866bb70ab 100644
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 12fb52e764cb..d248f7bccac2 100644
+index 464a65ce31af..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -60312,7 +65495,7 @@ index 12fb52e764cb..d248f7bccac2 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -60357,10 +65540,6 @@ index 12fb52e764cb..d248f7bccac2 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -60412,7 +65591,7 @@ index 12fb52e764cb..d248f7bccac2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60438,7 +65617,7 @@ index 12fb52e764cb..d248f7bccac2 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60480,10 +65659,18 @@ index 12fb52e764cb..d248f7bccac2 100644
-
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 2ae17422afdc..9475b9f04ea6 100644
+index e844e68c18e6..5457be4b2326 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -60506,13 +65693,17 @@ index 2ae17422afdc..9475b9f04ea6 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -60531,6 +65722,10 @@ index 2ae17422afdc..9475b9f04ea6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -60538,6 +65733,10 @@ index 2ae17422afdc..9475b9f04ea6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -60551,12 +65750,12 @@ index 2ae17422afdc..9475b9f04ea6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -60569,6 +65768,10 @@ index 2ae17422afdc..9475b9f04ea6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -60606,7 +65809,7 @@ index 2ae17422afdc..9475b9f04ea6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60664,10 +65867,10 @@ index 2ae17422afdc..9475b9f04ea6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -60678,10 +65881,10 @@ index 2ae17422afdc..9475b9f04ea6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60693,10 +65896,18 @@ index 2ae17422afdc..9475b9f04ea6 100644
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 67e21c08ed59..6637e2d5f701 100644
+index 06dcaa024a36..339fd7234e76 100644
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -60719,13 +65930,17 @@ index 67e21c08ed59..6637e2d5f701 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -60740,6 +65955,10 @@ index 67e21c08ed59..6637e2d5f701 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -60747,6 +65966,10 @@ index 67e21c08ed59..6637e2d5f701 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -60762,6 +65985,10 @@ index 67e21c08ed59..6637e2d5f701 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -60774,6 +66001,10 @@ index 67e21c08ed59..6637e2d5f701 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -60804,7 +66035,7 @@ index 67e21c08ed59..6637e2d5f701 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -60862,10 +66093,10 @@ index 67e21c08ed59..6637e2d5f701 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -60876,10 +66107,10 @@ index 67e21c08ed59..6637e2d5f701 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -60891,10 +66122,18 @@ index 67e21c08ed59..6637e2d5f701 100644
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 82c4ee3f447c..999d165efd7b 100644
+index 941914ef471a..5470d28e08b1 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -60917,13 +66156,17 @@ index 82c4ee3f447c..999d165efd7b 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -60942,6 +66185,10 @@ index 82c4ee3f447c..999d165efd7b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -60949,6 +66196,10 @@ index 82c4ee3f447c..999d165efd7b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -60962,12 +66213,12 @@ index 82c4ee3f447c..999d165efd7b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -60980,6 +66231,10 @@ index 82c4ee3f447c..999d165efd7b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -61017,7 +66272,7 @@ index 82c4ee3f447c..999d165efd7b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61075,10 +66330,10 @@ index 82c4ee3f447c..999d165efd7b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -61089,10 +66344,10 @@ index 82c4ee3f447c..999d165efd7b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -61104,10 +66359,18 @@ index 82c4ee3f447c..999d165efd7b 100644
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 7136b4733028..906e13fae23f 100644
+index eb911878a4ce..03ad79d14429 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -61130,13 +66393,17 @@ index 7136b4733028..906e13fae23f 100644
FINAL_LIBRARY = "xul"
-@@ -91,98 +100,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -91,114 +104,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -61155,6 +66422,10 @@ index 7136b4733028..906e13fae23f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -61162,6 +66433,10 @@ index 7136b4733028..906e13fae23f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -61175,12 +66450,12 @@ index 7136b4733028..906e13fae23f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -61193,6 +66468,10 @@ index 7136b4733028..906e13fae23f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -61230,7 +66509,7 @@ index 7136b4733028..906e13fae23f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -190,82 +108,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -206,82 +112,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61288,10 +66567,10 @@ index 7136b4733028..906e13fae23f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -61302,10 +66581,10 @@ index 7136b4733028..906e13fae23f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -61317,10 +66596,18 @@ index 7136b4733028..906e13fae23f 100644
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 84e6fc103d2f..7dbe759825f9 100644
+index b724a5d6040f..e4ca70012312 100644
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -61343,13 +66630,17 @@ index 84e6fc103d2f..7dbe759825f9 100644
FINAL_LIBRARY = "xul"
-@@ -101,99 +110,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -101,115 +114,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -61369,6 +66660,10 @@ index 84e6fc103d2f..7dbe759825f9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -61376,6 +66671,10 @@ index 84e6fc103d2f..7dbe759825f9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -61389,12 +66688,12 @@ index 84e6fc103d2f..7dbe759825f9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -61407,6 +66706,10 @@ index 84e6fc103d2f..7dbe759825f9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -61444,7 +66747,7 @@ index 84e6fc103d2f..7dbe759825f9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -201,82 +118,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -217,82 +122,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61502,10 +66805,10 @@ index 84e6fc103d2f..7dbe759825f9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -61516,10 +66819,10 @@ index 84e6fc103d2f..7dbe759825f9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -61531,10 +66834,18 @@ index 84e6fc103d2f..7dbe759825f9 100644
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 ad581840c124..506da77c1fd1 100644
+index bb9d34feca97..c6e36c1b6865 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -61557,13 +66868,17 @@ index ad581840c124..506da77c1fd1 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -61582,6 +66897,10 @@ index ad581840c124..506da77c1fd1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -61589,6 +66908,10 @@ index ad581840c124..506da77c1fd1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -61604,6 +66927,10 @@ index ad581840c124..506da77c1fd1 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -61616,6 +66943,10 @@ index ad581840c124..506da77c1fd1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -61653,7 +66984,7 @@ index ad581840c124..506da77c1fd1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -61711,10 +67042,10 @@ index ad581840c124..506da77c1fd1 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -61725,10 +67056,10 @@ index ad581840c124..506da77c1fd1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -62334,7 +67665,7 @@ index 74257a155693..c8fd6527cf97 100644
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 5ee4917da404..7d106d158a94 100644
+index 3198ecf214ea..7d106d158a94 100644
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -62360,13 +67691,17 @@ index 5ee4917da404..7d106d158a94 100644
FINAL_LIBRARY = "xul"
-@@ -43,91 +52,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"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -62453,7 +67788,7 @@ index 5ee4917da404..7d106d158a94 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -62479,7 +67814,7 @@ index 5ee4917da404..7d106d158a94 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -163,52 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,52 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -62533,10 +67868,18 @@ index 5ee4917da404..7d106d158a94 100644
-
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 28b6ac5f25c8..6a2450c7dacb 100644
+index 7220b2a5e2b1..d6d0d1337d8d 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,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -14,17 +14,30 @@ if not CONFIG["MOZ_SYSTEM_PIPEWIRE"]:
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -62559,7 +67902,7 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
FINAL_LIBRARY = "xul"
-@@ -40,6 +49,10 @@ LOCAL_INCLUDES += [
+@@ -40,6 +53,10 @@ LOCAL_INCLUDES += [
]
UNIFIED_SOURCES += [
@@ -62570,13 +67913,17 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
"/third_party/libwebrtc/modules/video_capture/video_capture_options.cc"
]
-@@ -52,171 +65,14 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,187 +69,14 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -62595,6 +67942,10 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -62602,6 +67953,10 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -62615,10 +67970,6 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_linux.cc",
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_v4l2.cc",
@@ -62628,6 +67979,10 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -62647,6 +68002,10 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -62721,7 +68080,7 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
-
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
+ DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
- LOCAL_INCLUDES += [
@@ -62738,13 +68097,13 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
+- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["__ARM_NEON__"] = "1"
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -230,44 +86,11 @@ if CONFIG["TARGET_CPU"] == "mips64":
+@@ -246,44 +90,11 @@ if CONFIG["TARGET_CPU"] == "mips64":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -62792,7 +68151,7 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -281,10 +104,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
+@@ -297,10 +108,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -62804,7 +68163,7 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -298,14 +120,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+@@ -314,14 +124,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -62821,7 +68180,7 @@ index 28b6ac5f25c8..6a2450c7dacb 100644
LOCAL_INCLUDES += [
"/third_party/libepoxy/libepoxy/include/",
-@@ -319,10 +141,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -335,10 +145,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
]
@@ -62835,10 +68194,18 @@ index 28b6ac5f25c8..6a2450c7dacb 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 de5bb188111b..c4db7dc59ecf 100644
+index 49b4438212c2..d4f954bbd96d 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -62861,13 +68228,17 @@ index de5bb188111b..c4db7dc59ecf 100644
FINAL_LIBRARY = "xul"
-@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,114 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -62886,6 +68257,10 @@ index de5bb188111b..c4db7dc59ecf 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -62893,6 +68268,10 @@ index de5bb188111b..c4db7dc59ecf 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -62906,12 +68285,12 @@ index de5bb188111b..c4db7dc59ecf 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -62924,6 +68303,10 @@ index de5bb188111b..c4db7dc59ecf 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -62961,7 +68344,7 @@ index de5bb188111b..c4db7dc59ecf 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -150,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -166,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63019,10 +68402,10 @@ index de5bb188111b..c4db7dc59ecf 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -63033,10 +68416,10 @@ index de5bb188111b..c4db7dc59ecf 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -63048,10 +68431,18 @@ index de5bb188111b..c4db7dc59ecf 100644
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 e0c966fb45be..23015c7646d6 100644
+index b095f6deab73..b76d196558b9 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -63074,13 +68465,17 @@ index e0c966fb45be..23015c7646d6 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -63099,6 +68494,10 @@ index e0c966fb45be..23015c7646d6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -63106,6 +68505,10 @@ index e0c966fb45be..23015c7646d6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -63121,6 +68524,10 @@ index e0c966fb45be..23015c7646d6 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -63133,6 +68540,10 @@ index e0c966fb45be..23015c7646d6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -63170,7 +68581,7 @@ index e0c966fb45be..23015c7646d6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63228,10 +68639,10 @@ index e0c966fb45be..23015c7646d6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -63242,10 +68653,10 @@ index e0c966fb45be..23015c7646d6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -63440,10 +68851,18 @@ index b26732ca8bb2..c6ec6d247c75 100644
-
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 2e4abf38bdd6..029587e1db2e 100644
+index 4c940e43716b..24af95d57331 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -63466,13 +68885,17 @@ index 2e4abf38bdd6..029587e1db2e 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -63491,6 +68914,10 @@ index 2e4abf38bdd6..029587e1db2e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -63498,6 +68925,10 @@ index 2e4abf38bdd6..029587e1db2e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -63511,12 +68942,12 @@ index 2e4abf38bdd6..029587e1db2e 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -63529,6 +68960,10 @@ index 2e4abf38bdd6..029587e1db2e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -63566,7 +69001,7 @@ index 2e4abf38bdd6..029587e1db2e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63624,10 +69059,10 @@ index 2e4abf38bdd6..029587e1db2e 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -63638,10 +69073,10 @@ index 2e4abf38bdd6..029587e1db2e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -63653,10 +69088,18 @@ index 2e4abf38bdd6..029587e1db2e 100644
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 3a1031ba04b6..bdedce7c4efd 100644
+index c16573f435bf..f10a1a4e3523 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,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -12,17 +12,30 @@ if CONFIG["MOZ_SYSTEM_AV1"]:
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -63679,13 +69122,17 @@ index 3a1031ba04b6..bdedce7c4efd 100644
FINAL_LIBRARY = "xul"
-@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,114 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -63704,6 +69151,10 @@ index 3a1031ba04b6..bdedce7c4efd 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -63711,6 +69162,10 @@ index 3a1031ba04b6..bdedce7c4efd 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -63724,12 +69179,12 @@ index 3a1031ba04b6..bdedce7c4efd 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -63742,6 +69197,10 @@ index 3a1031ba04b6..bdedce7c4efd 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -63779,7 +69238,7 @@ index 3a1031ba04b6..bdedce7c4efd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -169,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -63837,10 +69296,10 @@ index 3a1031ba04b6..bdedce7c4efd 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -63851,10 +69310,10 @@ index 3a1031ba04b6..bdedce7c4efd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -63866,10 +69325,18 @@ index 3a1031ba04b6..bdedce7c4efd 100644
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 d79e8d29a8c5..b432bbb71fec 100644
+index eb2247aed2f3..c00843b358ed 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,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -12,17 +12,30 @@ if CONFIG["MOZ_SYSTEM_AV1"]:
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -63892,13 +69359,17 @@ index d79e8d29a8c5..b432bbb71fec 100644
FINAL_LIBRARY = "xul"
-@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -63917,6 +69388,10 @@ index d79e8d29a8c5..b432bbb71fec 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -63924,6 +69399,10 @@ index d79e8d29a8c5..b432bbb71fec 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -63937,12 +69416,12 @@ index d79e8d29a8c5..b432bbb71fec 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -63955,6 +69434,10 @@ index d79e8d29a8c5..b432bbb71fec 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -63992,7 +69475,7 @@ index d79e8d29a8c5..b432bbb71fec 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64050,10 +69533,10 @@ index d79e8d29a8c5..b432bbb71fec 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -64064,10 +69547,10 @@ index d79e8d29a8c5..b432bbb71fec 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -64079,10 +69562,18 @@ index d79e8d29a8c5..b432bbb71fec 100644
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 a60787fc6449..f375bcdc2a8e 100644
+index f85ceaad3865..82f8b91aecbc 100644
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -64105,13 +69596,17 @@ index a60787fc6449..f375bcdc2a8e 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -64130,6 +69625,10 @@ index a60787fc6449..f375bcdc2a8e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -64137,6 +69636,10 @@ index a60787fc6449..f375bcdc2a8e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -64150,12 +69653,12 @@ index a60787fc6449..f375bcdc2a8e 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -64168,6 +69671,10 @@ index a60787fc6449..f375bcdc2a8e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -64205,7 +69712,7 @@ index a60787fc6449..f375bcdc2a8e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64263,10 +69770,10 @@ index a60787fc6449..f375bcdc2a8e 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -64277,10 +69784,10 @@ index a60787fc6449..f375bcdc2a8e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -64292,10 +69799,18 @@ index a60787fc6449..f375bcdc2a8e 100644
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 769517d3f365..8cbfbfd52d05 100644
+index c48a36f61ad2..7568358aade1 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -64318,13 +69833,17 @@ index 769517d3f365..8cbfbfd52d05 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -64343,6 +69862,10 @@ index 769517d3f365..8cbfbfd52d05 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -64350,6 +69873,10 @@ index 769517d3f365..8cbfbfd52d05 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -64365,6 +69892,10 @@ index 769517d3f365..8cbfbfd52d05 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -64377,6 +69908,10 @@ index 769517d3f365..8cbfbfd52d05 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -64414,7 +69949,7 @@ index 769517d3f365..8cbfbfd52d05 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64472,10 +70007,10 @@ index 769517d3f365..8cbfbfd52d05 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -64486,10 +70021,10 @@ index 769517d3f365..8cbfbfd52d05 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -64501,10 +70036,18 @@ index 769517d3f365..8cbfbfd52d05 100644
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 24380868efcb..cfbdceb4d6db 100644
+index d49bb89e84dd..98643be0eb92 100644
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -64527,13 +70070,17 @@ index 24380868efcb..cfbdceb4d6db 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -64552,6 +70099,10 @@ index 24380868efcb..cfbdceb4d6db 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -64559,6 +70110,10 @@ index 24380868efcb..cfbdceb4d6db 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -64572,12 +70127,12 @@ index 24380868efcb..cfbdceb4d6db 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -64590,6 +70145,10 @@ index 24380868efcb..cfbdceb4d6db 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -64627,7 +70186,7 @@ index 24380868efcb..cfbdceb4d6db 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64685,10 +70244,10 @@ index 24380868efcb..cfbdceb4d6db 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -64699,10 +70258,10 @@ index 24380868efcb..cfbdceb4d6db 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -64714,10 +70273,18 @@ index 24380868efcb..cfbdceb4d6db 100644
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 be74fea63164..53bdc368fe2b 100644
+index 1ee4a4ec316f..82665306f93e 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -64740,13 +70307,17 @@ index be74fea63164..53bdc368fe2b 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -64765,6 +70336,10 @@ index be74fea63164..53bdc368fe2b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -64772,6 +70347,10 @@ index be74fea63164..53bdc368fe2b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -64787,6 +70366,10 @@ index be74fea63164..53bdc368fe2b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -64799,6 +70382,10 @@ index be74fea63164..53bdc368fe2b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -64836,7 +70423,7 @@ index be74fea63164..53bdc368fe2b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -64894,10 +70481,10 @@ index be74fea63164..53bdc368fe2b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -64908,10 +70495,10 @@ index be74fea63164..53bdc368fe2b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -64923,10 +70510,18 @@ index be74fea63164..53bdc368fe2b 100644
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 41156a4966db..8cef7a07fa45 100644
+index 055ff5645dd0..b7f7c837cce8 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -64949,13 +70544,17 @@ index 41156a4966db..8cef7a07fa45 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -64974,6 +70573,10 @@ index 41156a4966db..8cef7a07fa45 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -64981,6 +70584,10 @@ index 41156a4966db..8cef7a07fa45 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -64994,12 +70601,12 @@ index 41156a4966db..8cef7a07fa45 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -65012,6 +70619,10 @@ index 41156a4966db..8cef7a07fa45 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -65049,7 +70660,7 @@ index 41156a4966db..8cef7a07fa45 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65107,10 +70718,10 @@ index 41156a4966db..8cef7a07fa45 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -65121,10 +70732,10 @@ index 41156a4966db..8cef7a07fa45 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -65136,10 +70747,18 @@ index 41156a4966db..8cef7a07fa45 100644
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 74d1824de3fe..9e09c9517c27 100644
+index e64d95b03849..81120a51b3e9 100644
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -65162,13 +70781,17 @@ index 74d1824de3fe..9e09c9517c27 100644
FINAL_LIBRARY = "xul"
-@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -65187,6 +70810,10 @@ index 74d1824de3fe..9e09c9517c27 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -65194,6 +70821,10 @@ index 74d1824de3fe..9e09c9517c27 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -65207,12 +70838,12 @@ index 74d1824de3fe..9e09c9517c27 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -65225,6 +70856,10 @@ index 74d1824de3fe..9e09c9517c27 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -65262,7 +70897,7 @@ index 74d1824de3fe..9e09c9517c27 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65320,10 +70955,10 @@ index 74d1824de3fe..9e09c9517c27 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -65334,10 +70969,10 @@ index 74d1824de3fe..9e09c9517c27 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -65349,10 +70984,18 @@ index 74d1824de3fe..9e09c9517c27 100644
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 e2f4fe9dfc59..e7ed8d372351 100644
+index a699e02b31f8..d599ed487fe4 100644
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -65375,13 +71018,17 @@ index e2f4fe9dfc59..e7ed8d372351 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -65400,6 +71047,10 @@ index e2f4fe9dfc59..e7ed8d372351 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -65407,6 +71058,10 @@ index e2f4fe9dfc59..e7ed8d372351 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -65420,12 +71075,12 @@ index e2f4fe9dfc59..e7ed8d372351 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -65438,6 +71093,10 @@ index e2f4fe9dfc59..e7ed8d372351 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -65475,7 +71134,7 @@ index e2f4fe9dfc59..e7ed8d372351 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65533,10 +71192,10 @@ index e2f4fe9dfc59..e7ed8d372351 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -65547,10 +71206,10 @@ index e2f4fe9dfc59..e7ed8d372351 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -65562,10 +71221,18 @@ index e2f4fe9dfc59..e7ed8d372351 100644
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 9830c749097d..153b21e66176 100644
+index 2f648b456dbc..f1bc1dc55d85 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -65588,13 +71255,17 @@ index 9830c749097d..153b21e66176 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -65613,6 +71284,10 @@ index 9830c749097d..153b21e66176 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -65620,6 +71295,10 @@ index 9830c749097d..153b21e66176 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -65633,12 +71312,12 @@ index 9830c749097d..153b21e66176 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -65651,6 +71330,10 @@ index 9830c749097d..153b21e66176 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -65688,7 +71371,7 @@ index 9830c749097d..153b21e66176 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65746,10 +71429,10 @@ index 9830c749097d..153b21e66176 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -65760,10 +71443,10 @@ index 9830c749097d..153b21e66176 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -65775,10 +71458,18 @@ index 9830c749097d..153b21e66176 100644
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 9df7c0dd8fba..e240df219e23 100644
+index 767cf7276ed5..a14a7d9003d2 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -65801,13 +71492,17 @@ index 9df7c0dd8fba..e240df219e23 100644
FINAL_LIBRARY = "xul"
-@@ -54,94 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -54,114 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -65826,6 +71521,10 @@ index 9df7c0dd8fba..e240df219e23 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -65833,6 +71532,10 @@ index 9df7c0dd8fba..e240df219e23 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -65848,6 +71551,10 @@ index 9df7c0dd8fba..e240df219e23 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -65860,6 +71567,10 @@ index 9df7c0dd8fba..e240df219e23 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -65897,7 +71608,7 @@ index 9df7c0dd8fba..e240df219e23 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -149,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -169,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -65955,10 +71666,10 @@ index 9df7c0dd8fba..e240df219e23 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -65969,10 +71680,10 @@ index 9df7c0dd8fba..e240df219e23 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -65984,10 +71695,18 @@ index 9df7c0dd8fba..e240df219e23 100644
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 dd6fa224c4e3..a2bd77e16b44 100644
+index 368fb5b9408d..3e837c4824ca 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -66010,13 +71729,17 @@ index dd6fa224c4e3..a2bd77e16b44 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -66035,6 +71758,10 @@ index dd6fa224c4e3..a2bd77e16b44 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -66042,6 +71769,10 @@ index dd6fa224c4e3..a2bd77e16b44 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -66057,6 +71788,10 @@ index dd6fa224c4e3..a2bd77e16b44 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -66069,6 +71804,10 @@ index dd6fa224c4e3..a2bd77e16b44 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -66099,7 +71838,7 @@ index dd6fa224c4e3..a2bd77e16b44 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66186,10 +71925,18 @@ index dd6fa224c4e3..a2bd77e16b44 100644
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 78d6a20d1c2b..1e572a5e24fb 100644
+index 1ee0aaf22c82..5697c97d9cd9 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -66212,13 +71959,17 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -66238,6 +71989,10 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -66245,6 +72000,10 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -66258,12 +72017,12 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -66276,6 +72035,10 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -66313,7 +72076,7 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66371,10 +72134,10 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -66385,10 +72148,10 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -66400,10 +72163,18 @@ index 78d6a20d1c2b..1e572a5e24fb 100644
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 b6fd02d1c670..6d501d35caa6 100644
+index de365960faa4..07f3b4a100ec 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -66426,13 +72197,17 @@ index b6fd02d1c670..6d501d35caa6 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -66451,6 +72226,10 @@ index b6fd02d1c670..6d501d35caa6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -66458,6 +72237,10 @@ index b6fd02d1c670..6d501d35caa6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -66471,12 +72254,12 @@ index b6fd02d1c670..6d501d35caa6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -66489,6 +72272,10 @@ index b6fd02d1c670..6d501d35caa6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -66526,7 +72313,7 @@ index b6fd02d1c670..6d501d35caa6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66584,10 +72371,10 @@ index b6fd02d1c670..6d501d35caa6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -66598,10 +72385,10 @@ index b6fd02d1c670..6d501d35caa6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -66613,10 +72400,18 @@ index b6fd02d1c670..6d501d35caa6 100644
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 35fa0ebc0367..71d75a0acc73 100644
+index b8f6c3d720f5..c878af46b3ba 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -66639,13 +72434,17 @@ index 35fa0ebc0367..71d75a0acc73 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -66664,6 +72463,10 @@ index 35fa0ebc0367..71d75a0acc73 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -66671,6 +72474,10 @@ index 35fa0ebc0367..71d75a0acc73 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -66686,6 +72493,10 @@ index 35fa0ebc0367..71d75a0acc73 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -66698,6 +72509,10 @@ index 35fa0ebc0367..71d75a0acc73 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -66728,7 +72543,7 @@ index 35fa0ebc0367..71d75a0acc73 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -66815,10 +72630,18 @@ index 35fa0ebc0367..71d75a0acc73 100644
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 72b91ff1d788..406a7566b36a 100644
+index 7a6ce9bed144..95d24871bc9e 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -66841,13 +72664,17 @@ index 72b91ff1d788..406a7566b36a 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -66866,6 +72693,10 @@ index 72b91ff1d788..406a7566b36a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -66873,6 +72704,10 @@ index 72b91ff1d788..406a7566b36a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -66888,6 +72723,10 @@ index 72b91ff1d788..406a7566b36a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -66900,6 +72739,10 @@ index 72b91ff1d788..406a7566b36a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -66930,7 +72773,7 @@ index 72b91ff1d788..406a7566b36a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67017,10 +72860,18 @@ index 72b91ff1d788..406a7566b36a 100644
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 519588e13727..583c005a9f99 100644
+index b87c483b8d65..73cfd2e0b355 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -67043,13 +72894,17 @@ index 519588e13727..583c005a9f99 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -67068,6 +72923,10 @@ index 519588e13727..583c005a9f99 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -67075,6 +72934,10 @@ index 519588e13727..583c005a9f99 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -67090,6 +72953,10 @@ index 519588e13727..583c005a9f99 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -67102,6 +72969,10 @@ index 519588e13727..583c005a9f99 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -67132,7 +73003,7 @@ index 519588e13727..583c005a9f99 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67219,10 +73090,18 @@ index 519588e13727..583c005a9f99 100644
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 0d8cf2901590..016bb4eb8149 100644
+index f49f8ba2e679..a4537c2a0efb 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -67245,13 +73124,17 @@ index 0d8cf2901590..016bb4eb8149 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -67270,6 +73153,10 @@ index 0d8cf2901590..016bb4eb8149 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -67277,6 +73164,10 @@ index 0d8cf2901590..016bb4eb8149 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -67290,12 +73181,12 @@ index 0d8cf2901590..016bb4eb8149 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -67308,6 +73199,10 @@ index 0d8cf2901590..016bb4eb8149 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -67345,7 +73240,7 @@ index 0d8cf2901590..016bb4eb8149 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67403,10 +73298,10 @@ index 0d8cf2901590..016bb4eb8149 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -67417,10 +73312,10 @@ index 0d8cf2901590..016bb4eb8149 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -67432,10 +73327,18 @@ index 0d8cf2901590..016bb4eb8149 100644
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 bf0e685451ed..ec18831f7ade 100644
+index bea968dd4251..55d0ba8b5567 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -67458,13 +73361,17 @@ index bf0e685451ed..ec18831f7ade 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -67483,6 +73390,10 @@ index bf0e685451ed..ec18831f7ade 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -67490,6 +73401,10 @@ index bf0e685451ed..ec18831f7ade 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -67505,6 +73420,10 @@ index bf0e685451ed..ec18831f7ade 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -67517,6 +73436,10 @@ index bf0e685451ed..ec18831f7ade 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -67547,7 +73470,7 @@ index bf0e685451ed..ec18831f7ade 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67634,10 +73557,18 @@ index bf0e685451ed..ec18831f7ade 100644
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 5813d216063b..021a276da6ad 100644
+index 569a38c3838d..6e96f7eafe1b 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -67660,13 +73591,17 @@ index 5813d216063b..021a276da6ad 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -67685,6 +73620,10 @@ index 5813d216063b..021a276da6ad 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -67692,6 +73631,10 @@ index 5813d216063b..021a276da6ad 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -67707,6 +73650,10 @@ index 5813d216063b..021a276da6ad 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -67719,6 +73666,10 @@ index 5813d216063b..021a276da6ad 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -67745,11 +73696,18 @@ index 5813d216063b..021a276da6ad 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":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -67807,10 +73765,10 @@ index 5813d216063b..021a276da6ad 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -67821,10 +73779,10 @@ index 5813d216063b..021a276da6ad 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -67836,10 +73794,18 @@ index 5813d216063b..021a276da6ad 100644
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 fcbc9c26ca61..b8e60636098b 100644
+index 5a4baa1102d0..a74de8e4a74f 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -67862,13 +73828,17 @@ index fcbc9c26ca61..b8e60636098b 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -67887,6 +73857,10 @@ index fcbc9c26ca61..b8e60636098b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -67894,6 +73868,10 @@ index fcbc9c26ca61..b8e60636098b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -67907,12 +73885,12 @@ index fcbc9c26ca61..b8e60636098b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -67925,6 +73903,10 @@ index fcbc9c26ca61..b8e60636098b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -67962,7 +73944,7 @@ index fcbc9c26ca61..b8e60636098b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68020,10 +74002,10 @@ index fcbc9c26ca61..b8e60636098b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -68034,10 +74016,10 @@ index fcbc9c26ca61..b8e60636098b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -68049,10 +74031,18 @@ index fcbc9c26ca61..b8e60636098b 100644
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 70ff7f1b9fb9..22dc0829c784 100644
+index 5f2b0c88fae5..1680170a9cab 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -68075,13 +74065,17 @@ index 70ff7f1b9fb9..22dc0829c784 100644
FINAL_LIBRARY = "xul"
-@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -68100,6 +74094,10 @@ index 70ff7f1b9fb9..22dc0829c784 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -68107,6 +74105,10 @@ index 70ff7f1b9fb9..22dc0829c784 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -68120,12 +74122,12 @@ index 70ff7f1b9fb9..22dc0829c784 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -68138,6 +74140,10 @@ index 70ff7f1b9fb9..22dc0829c784 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -68175,7 +74181,7 @@ index 70ff7f1b9fb9..22dc0829c784 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68233,10 +74239,10 @@ index 70ff7f1b9fb9..22dc0829c784 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -68247,10 +74253,10 @@ index 70ff7f1b9fb9..22dc0829c784 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -68262,10 +74268,18 @@ index 70ff7f1b9fb9..22dc0829c784 100644
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 3b9af9e935fa..2c0fb20de5de 100644
+index 3d4fc63ef266..9b0f85616575 100644
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -68288,13 +74302,17 @@ index 3b9af9e935fa..2c0fb20de5de 100644
FINAL_LIBRARY = "xul"
-@@ -60,99 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,115 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -68314,6 +74332,10 @@ index 3b9af9e935fa..2c0fb20de5de 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -68321,6 +74343,10 @@ index 3b9af9e935fa..2c0fb20de5de 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -68334,12 +74360,12 @@ index 3b9af9e935fa..2c0fb20de5de 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -68352,6 +74378,10 @@ index 3b9af9e935fa..2c0fb20de5de 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -68389,7 +74419,7 @@ index 3b9af9e935fa..2c0fb20de5de 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -160,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -176,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68447,10 +74477,10 @@ index 3b9af9e935fa..2c0fb20de5de 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -68461,10 +74491,10 @@ index 3b9af9e935fa..2c0fb20de5de 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -68476,10 +74506,18 @@ index 3b9af9e935fa..2c0fb20de5de 100644
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 372fbcc1fec9..63dc326cb39c 100644
+index f804f4f624b5..cd01f64840e1 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -68502,13 +74540,17 @@ index 372fbcc1fec9..63dc326cb39c 100644
FINAL_LIBRARY = "xul"
-@@ -59,99 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -59,115 +72,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -68528,6 +74570,10 @@ index 372fbcc1fec9..63dc326cb39c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -68535,6 +74581,10 @@ index 372fbcc1fec9..63dc326cb39c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -68548,12 +74598,12 @@ index 372fbcc1fec9..63dc326cb39c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -68566,6 +74616,10 @@ index 372fbcc1fec9..63dc326cb39c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -68603,7 +74657,7 @@ index 372fbcc1fec9..63dc326cb39c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -159,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -175,82 +80,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68661,10 +74715,10 @@ index 372fbcc1fec9..63dc326cb39c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -68675,10 +74729,10 @@ index 372fbcc1fec9..63dc326cb39c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -68690,10 +74744,18 @@ index 372fbcc1fec9..63dc326cb39c 100644
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 42fc86877d61..8aa23d3e602d 100644
+index bb2f2a122193..7b47d56b4d98 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -68716,13 +74778,17 @@ index 42fc86877d61..8aa23d3e602d 100644
FINAL_LIBRARY = "xul"
-@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,115 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -68742,6 +74808,10 @@ index 42fc86877d61..8aa23d3e602d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -68749,6 +74819,10 @@ index 42fc86877d61..8aa23d3e602d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -68762,12 +74836,12 @@ index 42fc86877d61..8aa23d3e602d 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -68780,6 +74854,10 @@ index 42fc86877d61..8aa23d3e602d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -68817,7 +74895,7 @@ index 42fc86877d61..8aa23d3e602d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -168,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -68875,10 +74953,10 @@ index 42fc86877d61..8aa23d3e602d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -68889,10 +74967,10 @@ index 42fc86877d61..8aa23d3e602d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -68904,10 +74982,18 @@ index 42fc86877d61..8aa23d3e602d 100644
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 a5be479fb5ef..33bf4869c3e1 100644
+index 53a9e6a2598d..aa5b1cf67935 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,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -12,17 +12,30 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -68930,13 +75016,17 @@ index a5be479fb5ef..33bf4869c3e1 100644
FINAL_LIBRARY = "xul"
-@@ -50,87 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,107 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -68955,6 +75045,10 @@ index a5be479fb5ef..33bf4869c3e1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -68962,6 +75056,10 @@ index a5be479fb5ef..33bf4869c3e1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -68977,6 +75075,10 @@ index a5be479fb5ef..33bf4869c3e1 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -68989,6 +75091,10 @@ index a5be479fb5ef..33bf4869c3e1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -69019,7 +75125,7 @@ index a5be479fb5ef..33bf4869c3e1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -138,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -158,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69106,10 +75212,18 @@ index a5be479fb5ef..33bf4869c3e1 100644
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 83497c58de59..59b9cf953887 100644
+index 18437f898f86..4932542c2c24 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
-@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -12,17 +12,30 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -69132,13 +75246,17 @@ index 83497c58de59..59b9cf953887 100644
FINAL_LIBRARY = "xul"
-@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -53,115 +66,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -69158,6 +75276,10 @@ index 83497c58de59..59b9cf953887 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -69165,6 +75287,10 @@ index 83497c58de59..59b9cf953887 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -69178,12 +75304,12 @@ index 83497c58de59..59b9cf953887 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -69196,6 +75322,10 @@ index 83497c58de59..59b9cf953887 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -69233,7 +75363,7 @@ index 83497c58de59..59b9cf953887 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -169,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69291,10 +75421,10 @@ index 83497c58de59..59b9cf953887 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -69305,10 +75435,10 @@ index 83497c58de59..59b9cf953887 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -69320,10 +75450,18 @@ index 83497c58de59..59b9cf953887 100644
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 f7123a48ff94..159d0f488cf5 100644
+index fafffeeec869..715c55871a36 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -69346,13 +75484,17 @@ index f7123a48ff94..159d0f488cf5 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -69371,6 +75513,10 @@ index f7123a48ff94..159d0f488cf5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -69378,6 +75524,10 @@ index f7123a48ff94..159d0f488cf5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -69393,6 +75543,10 @@ index f7123a48ff94..159d0f488cf5 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -69405,6 +75559,10 @@ index f7123a48ff94..159d0f488cf5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -69435,7 +75593,7 @@ index f7123a48ff94..159d0f488cf5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69522,10 +75680,18 @@ index f7123a48ff94..159d0f488cf5 100644
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 1eef00eaf9b7..38bf89857dd5 100644
+index f94076cf173e..38e796df1de7 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -69548,13 +75714,17 @@ index 1eef00eaf9b7..38bf89857dd5 100644
FINAL_LIBRARY = "xul"
-@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -52,115 +65,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -69574,6 +75744,10 @@ index 1eef00eaf9b7..38bf89857dd5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -69581,6 +75755,10 @@ index 1eef00eaf9b7..38bf89857dd5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -69594,12 +75772,12 @@ index 1eef00eaf9b7..38bf89857dd5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -69612,6 +75790,10 @@ index 1eef00eaf9b7..38bf89857dd5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -69649,7 +75831,7 @@ index 1eef00eaf9b7..38bf89857dd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -152,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -168,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69707,10 +75889,10 @@ index 1eef00eaf9b7..38bf89857dd5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -69721,10 +75903,10 @@ index 1eef00eaf9b7..38bf89857dd5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -69736,10 +75918,18 @@ index 1eef00eaf9b7..38bf89857dd5 100644
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 bbd8102cbd1a..8cca12c5caf8 100644
+index b153fbc1e6ae..18030f9b50c6 100644
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
-@@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -12,17 +12,30 @@ if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -69762,13 +75952,17 @@ index bbd8102cbd1a..8cca12c5caf8 100644
FINAL_LIBRARY = "xul"
-@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,115 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -69788,6 +75982,10 @@ index bbd8102cbd1a..8cca12c5caf8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -69795,6 +75993,10 @@ index bbd8102cbd1a..8cca12c5caf8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -69808,12 +76010,12 @@ index bbd8102cbd1a..8cca12c5caf8 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -69826,6 +76028,10 @@ index bbd8102cbd1a..8cca12c5caf8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -69863,7 +76069,7 @@ index bbd8102cbd1a..8cca12c5caf8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -171,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -69921,10 +76127,10 @@ index bbd8102cbd1a..8cca12c5caf8 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -69935,10 +76141,10 @@ index bbd8102cbd1a..8cca12c5caf8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -69950,10 +76156,18 @@ index bbd8102cbd1a..8cca12c5caf8 100644
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 f57a0a7e568b..9a78b83fbd8c 100644
+index 2d58f2f38337..9c40fc9de72f 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -69976,13 +76190,17 @@ index f57a0a7e568b..9a78b83fbd8c 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -70001,6 +76219,10 @@ index f57a0a7e568b..9a78b83fbd8c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -70008,6 +76230,10 @@ index f57a0a7e568b..9a78b83fbd8c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -70021,12 +76247,12 @@ index f57a0a7e568b..9a78b83fbd8c 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -70039,6 +76265,10 @@ index f57a0a7e568b..9a78b83fbd8c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -70076,7 +76306,7 @@ index f57a0a7e568b..9a78b83fbd8c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -70134,10 +76364,10 @@ index f57a0a7e568b..9a78b83fbd8c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -70148,10 +76378,10 @@ index f57a0a7e568b..9a78b83fbd8c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -70163,10 +76393,10 @@ index f57a0a7e568b..9a78b83fbd8c 100644
Library("webrtc_vp9_helpers_gn")
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
-index 84cfd37b7351..a14de2b579ed 100644
+index f5bc51d16728..250ce917d232 100644
--- third_party/libwebrtc/moz.build
+++ third_party/libwebrtc/moz.build
-@@ -289,6 +289,8 @@ DIRS += [
+@@ -291,6 +291,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",
@@ -70175,14 +76405,15 @@ index 84cfd37b7351..a14de2b579ed 100644
"/third_party/libwebrtc/modules/module_api_gn",
"/third_party/libwebrtc/modules/module_api_public_gn",
"/third_party/libwebrtc/modules/module_fec_api_gn",
-@@ -512,137 +514,30 @@ DIRS += [
+@@ -516,138 +518,30 @@ DIRS += [
"/third_party/libwebrtc/webrtc_gn"
]
-if CONFIG["OS_TARGET"] == "Android":
-
- DIRS += [
-- "/third_party/libwebrtc/rtc_base/ifaddrs_android_gn"
+- "/third_party/libwebrtc/rtc_base/ifaddrs_android_gn",
+- "/third_party/libwebrtc/third_party/cpu_features/ndk_compat_gn"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
@@ -70317,7 +76548,7 @@ index 84cfd37b7351..a14de2b579ed 100644
DIRS += [
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
-@@ -650,13 +545,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+@@ -655,13 +549,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",
@@ -70332,7 +76563,7 @@ index 84cfd37b7351..a14de2b579ed 100644
DIRS += [
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
-@@ -664,73 +557,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+@@ -669,73 +561,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",
@@ -71135,10 +77366,18 @@ index 3f2b5a02680f..55149d8fe27a 100644
-
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 353abfb3fb3d..872482ca3530 100644
+index a241356abba2..1dfa9f934556 100644
--- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -71161,13 +77400,17 @@ index 353abfb3fb3d..872482ca3530 100644
FINAL_LIBRARY = "xul"
-@@ -64,94 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -64,114 +77,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -71186,6 +77429,10 @@ index 353abfb3fb3d..872482ca3530 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -71193,6 +77440,10 @@ index 353abfb3fb3d..872482ca3530 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -71208,6 +77459,10 @@ index 353abfb3fb3d..872482ca3530 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -71220,6 +77475,10 @@ index 353abfb3fb3d..872482ca3530 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -71257,7 +77516,7 @@ index 353abfb3fb3d..872482ca3530 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -159,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -179,82 +85,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71315,10 +77574,10 @@ index 353abfb3fb3d..872482ca3530 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -71329,10 +77588,10 @@ index 353abfb3fb3d..872482ca3530 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -71344,10 +77603,18 @@ index 353abfb3fb3d..872482ca3530 100644
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 7b67df816ef9..3ffb653184ca 100644
+index fdf166315b64..2ed79efe15e0 100644
--- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -71370,13 +77637,17 @@ index 7b67df816ef9..3ffb653184ca 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -71395,6 +77666,10 @@ index 7b67df816ef9..3ffb653184ca 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -71402,6 +77677,10 @@ index 7b67df816ef9..3ffb653184ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -71417,6 +77696,10 @@ index 7b67df816ef9..3ffb653184ca 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -71429,6 +77712,10 @@ index 7b67df816ef9..3ffb653184ca 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -71466,7 +77753,7 @@ index 7b67df816ef9..3ffb653184ca 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71524,10 +77811,10 @@ index 7b67df816ef9..3ffb653184ca 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -71538,10 +77825,10 @@ index 7b67df816ef9..3ffb653184ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -71553,10 +77840,18 @@ index 7b67df816ef9..3ffb653184ca 100644
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 7cee175df41c..9b19d2ce9ae1 100644
+index c32366459765..d59ead808d10 100644
--- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -71579,13 +77874,17 @@ index 7cee175df41c..9b19d2ce9ae1 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -71604,6 +77903,10 @@ index 7cee175df41c..9b19d2ce9ae1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -71611,6 +77914,10 @@ index 7cee175df41c..9b19d2ce9ae1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -71626,6 +77933,10 @@ index 7cee175df41c..9b19d2ce9ae1 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -71638,6 +77949,10 @@ index 7cee175df41c..9b19d2ce9ae1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -71668,7 +77983,7 @@ index 7cee175df41c..9b19d2ce9ae1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -71938,10 +78253,18 @@ index 42fbfd5dd1f9..14d7570c9647 100644
-
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 abbfe919bab4..c4d0d6069fcd 100644
+index 180886952504..1cc1eb12e9ee 100644
--- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -71964,13 +78287,17 @@ index abbfe919bab4..c4d0d6069fcd 100644
FINAL_LIBRARY = "xul"
-@@ -60,94 +69,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -60,114 +73,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -71989,6 +78316,10 @@ index abbfe919bab4..c4d0d6069fcd 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -71996,6 +78327,10 @@ index abbfe919bab4..c4d0d6069fcd 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -72011,6 +78346,10 @@ index abbfe919bab4..c4d0d6069fcd 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -72023,6 +78362,10 @@ index abbfe919bab4..c4d0d6069fcd 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -72060,7 +78403,7 @@ index abbfe919bab4..c4d0d6069fcd 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -155,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -175,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72118,10 +78461,10 @@ index abbfe919bab4..c4d0d6069fcd 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -72132,10 +78475,10 @@ index abbfe919bab4..c4d0d6069fcd 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72147,10 +78490,18 @@ index abbfe919bab4..c4d0d6069fcd 100644
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 35547f27626c..ef2aa914823a 100644
+index 5b1bc3e2b9f8..ff0a69468247 100644
--- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -72173,13 +78524,17 @@ index 35547f27626c..ef2aa914823a 100644
FINAL_LIBRARY = "xul"
-@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -58,114 +71,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -72198,6 +78553,10 @@ index 35547f27626c..ef2aa914823a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -72205,6 +78564,10 @@ index 35547f27626c..ef2aa914823a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -72220,6 +78583,10 @@ index 35547f27626c..ef2aa914823a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -72232,6 +78599,10 @@ index 35547f27626c..ef2aa914823a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -72269,7 +78640,7 @@ index 35547f27626c..ef2aa914823a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -153,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -173,82 +79,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72327,10 +78698,10 @@ index 35547f27626c..ef2aa914823a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -72341,10 +78712,10 @@ index 35547f27626c..ef2aa914823a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72356,10 +78727,18 @@ index 35547f27626c..ef2aa914823a 100644
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 543236d4b64f..a1bd6d4f00ca 100644
+index 1e95840e9c4f..4680f9b27834 100644
--- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -72382,13 +78761,17 @@ index 543236d4b64f..a1bd6d4f00ca 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -72407,6 +78790,10 @@ index 543236d4b64f..a1bd6d4f00ca 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -72414,6 +78801,10 @@ index 543236d4b64f..a1bd6d4f00ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -72429,6 +78820,10 @@ index 543236d4b64f..a1bd6d4f00ca 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -72441,6 +78836,10 @@ index 543236d4b64f..a1bd6d4f00ca 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -72478,7 +78877,7 @@ index 543236d4b64f..a1bd6d4f00ca 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72536,10 +78935,10 @@ index 543236d4b64f..a1bd6d4f00ca 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -72550,10 +78949,10 @@ index 543236d4b64f..a1bd6d4f00ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72565,10 +78964,18 @@ index 543236d4b64f..a1bd6d4f00ca 100644
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 4f179f644afd..f3745d68b2a2 100644
+index 97f5989bea87..b95768221220 100644
--- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -72591,13 +78998,17 @@ index 4f179f644afd..f3745d68b2a2 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -72616,6 +79027,10 @@ index 4f179f644afd..f3745d68b2a2 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -72623,6 +79038,10 @@ index 4f179f644afd..f3745d68b2a2 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -72638,6 +79057,10 @@ index 4f179f644afd..f3745d68b2a2 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -72650,6 +79073,10 @@ index 4f179f644afd..f3745d68b2a2 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -72687,7 +79114,7 @@ index 4f179f644afd..f3745d68b2a2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72745,10 +79172,10 @@ index 4f179f644afd..f3745d68b2a2 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -72759,10 +79186,10 @@ index 4f179f644afd..f3745d68b2a2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72774,10 +79201,18 @@ index 4f179f644afd..f3745d68b2a2 100644
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 3c15f57a7e7c..b63147ae3a61 100644
+index cdaa1abe9ead..12a72f416f6f 100644
--- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -72800,13 +79235,17 @@ index 3c15f57a7e7c..b63147ae3a61 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -72825,6 +79264,10 @@ index 3c15f57a7e7c..b63147ae3a61 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -72832,6 +79275,10 @@ index 3c15f57a7e7c..b63147ae3a61 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -72847,6 +79294,10 @@ index 3c15f57a7e7c..b63147ae3a61 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -72859,6 +79310,10 @@ index 3c15f57a7e7c..b63147ae3a61 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -72896,7 +79351,7 @@ index 3c15f57a7e7c..b63147ae3a61 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -72954,10 +79409,10 @@ index 3c15f57a7e7c..b63147ae3a61 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -72968,10 +79423,10 @@ index 3c15f57a7e7c..b63147ae3a61 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -72983,10 +79438,18 @@ index 3c15f57a7e7c..b63147ae3a61 100644
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 25e24b187285..ccb418ece198 100644
+index 51f52ede2784..eee06b21c186 100644
--- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -73009,13 +79472,17 @@ index 25e24b187285..ccb418ece198 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -73034,6 +79501,10 @@ index 25e24b187285..ccb418ece198 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -73041,6 +79512,10 @@ index 25e24b187285..ccb418ece198 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -73056,6 +79531,10 @@ index 25e24b187285..ccb418ece198 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -73068,6 +79547,10 @@ index 25e24b187285..ccb418ece198 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -73098,7 +79581,7 @@ index 25e24b187285..ccb418ece198 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73368,10 +79851,18 @@ index 0443a29b77d4..4528b2721a7b 100644
-
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 70a0e2b772d1..ee1c7992d039 100644
+index 31df9a0ed4e3..a616197df863 100644
--- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -73394,13 +79885,17 @@ index 70a0e2b772d1..ee1c7992d039 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -73419,6 +79914,10 @@ index 70a0e2b772d1..ee1c7992d039 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -73426,6 +79925,10 @@ index 70a0e2b772d1..ee1c7992d039 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -73441,6 +79944,10 @@ index 70a0e2b772d1..ee1c7992d039 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -73453,6 +79960,10 @@ index 70a0e2b772d1..ee1c7992d039 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -73490,7 +80001,7 @@ index 70a0e2b772d1..ee1c7992d039 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73548,10 +80059,10 @@ index 70a0e2b772d1..ee1c7992d039 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -73562,10 +80073,10 @@ index 70a0e2b772d1..ee1c7992d039 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -73577,10 +80088,18 @@ index 70a0e2b772d1..ee1c7992d039 100644
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 f107fbd0ea75..4afed3eeafd1 100644
+index 6dcdc9ee1716..ef1b50ddac31 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -73603,13 +80122,17 @@ index f107fbd0ea75..4afed3eeafd1 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -73628,6 +80151,10 @@ index f107fbd0ea75..4afed3eeafd1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -73635,6 +80162,10 @@ index f107fbd0ea75..4afed3eeafd1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -73650,6 +80181,10 @@ index f107fbd0ea75..4afed3eeafd1 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -73662,6 +80197,10 @@ index f107fbd0ea75..4afed3eeafd1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -73699,7 +80238,7 @@ index f107fbd0ea75..4afed3eeafd1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73757,10 +80296,10 @@ index f107fbd0ea75..4afed3eeafd1 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -73771,10 +80310,10 @@ index f107fbd0ea75..4afed3eeafd1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -73786,10 +80325,18 @@ index f107fbd0ea75..4afed3eeafd1 100644
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 b5de81a0f0e3..ba62dcc0cc0a 100644
+index 3f5648a25774..2b17450a059a 100644
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -73812,13 +80359,17 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -73837,6 +80388,10 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -73844,6 +80399,10 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -73859,6 +80418,10 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -73871,6 +80434,10 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -73908,7 +80475,7 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -73966,10 +80533,10 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -73980,10 +80547,10 @@ index b5de81a0f0e3..ba62dcc0cc0a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -74185,10 +80752,18 @@ index 2fd7cf0908d9..b2c7a7b46ae0 100644
-
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 bd8e9eb36141..f86e4e49ef1e 100644
+index bc29f5ad644f..cba7d1c54be7 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -74211,13 +80786,17 @@ index bd8e9eb36141..f86e4e49ef1e 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -74236,6 +80815,10 @@ index bd8e9eb36141..f86e4e49ef1e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -74243,6 +80826,10 @@ index bd8e9eb36141..f86e4e49ef1e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -74258,6 +80845,10 @@ index bd8e9eb36141..f86e4e49ef1e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -74270,6 +80861,10 @@ index bd8e9eb36141..f86e4e49ef1e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -74307,7 +80902,7 @@ index bd8e9eb36141..f86e4e49ef1e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74365,10 +80960,10 @@ index bd8e9eb36141..f86e4e49ef1e 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -74379,10 +80974,10 @@ index bd8e9eb36141..f86e4e49ef1e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -74584,10 +81179,18 @@ index c57262d8ef49..ffa8a5cda3c8 100644
-
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 5120a15a6937..e2c9efaec29d 100644
+index 107e98ac63cc..9bb99c280f06 100644
--- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -74610,13 +81213,17 @@ index 5120a15a6937..e2c9efaec29d 100644
FINAL_LIBRARY = "xul"
-@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -74635,6 +81242,10 @@ index 5120a15a6937..e2c9efaec29d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -74642,6 +81253,10 @@ index 5120a15a6937..e2c9efaec29d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -74657,6 +81272,10 @@ index 5120a15a6937..e2c9efaec29d 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -74669,6 +81288,10 @@ index 5120a15a6937..e2c9efaec29d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -74706,7 +81329,7 @@ index 5120a15a6937..e2c9efaec29d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74764,10 +81387,10 @@ index 5120a15a6937..e2c9efaec29d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -74778,10 +81401,10 @@ index 5120a15a6937..e2c9efaec29d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -74793,10 +81416,18 @@ index 5120a15a6937..e2c9efaec29d 100644
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 eb861906769d..050ff51340a0 100644
+index 00262d100031..993f18bed0a9 100644
--- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -74819,13 +81450,17 @@ index eb861906769d..050ff51340a0 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -74844,6 +81479,10 @@ index eb861906769d..050ff51340a0 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -74851,6 +81490,10 @@ index eb861906769d..050ff51340a0 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -74866,6 +81509,10 @@ index eb861906769d..050ff51340a0 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -74878,6 +81525,10 @@ index eb861906769d..050ff51340a0 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -74915,7 +81566,7 @@ index eb861906769d..050ff51340a0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -74973,10 +81624,10 @@ index eb861906769d..050ff51340a0 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -74987,10 +81638,10 @@ index eb861906769d..050ff51340a0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -75002,10 +81653,18 @@ index eb861906769d..050ff51340a0 100644
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 052785897c7c..5c764530cba1 100644
+index 39ab473412b0..4d15277f738b 100644
--- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -75028,13 +81687,17 @@ index 052785897c7c..5c764530cba1 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -75053,6 +81716,10 @@ index 052785897c7c..5c764530cba1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -75060,6 +81727,10 @@ index 052785897c7c..5c764530cba1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -75075,6 +81746,10 @@ index 052785897c7c..5c764530cba1 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -75087,6 +81762,10 @@ index 052785897c7c..5c764530cba1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -75124,7 +81803,7 @@ index 052785897c7c..5c764530cba1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75182,10 +81861,10 @@ index 052785897c7c..5c764530cba1 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -75196,10 +81875,10 @@ index 052785897c7c..5c764530cba1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -75211,10 +81890,18 @@ index 052785897c7c..5c764530cba1 100644
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 421593aa97f2..659bf023c4a3 100644
+index ce3e44c4b629..19b364703a71 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -75237,13 +81924,17 @@ index 421593aa97f2..659bf023c4a3 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -75262,6 +81953,10 @@ index 421593aa97f2..659bf023c4a3 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -75269,6 +81964,10 @@ index 421593aa97f2..659bf023c4a3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -75284,6 +81983,10 @@ index 421593aa97f2..659bf023c4a3 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -75296,6 +81999,10 @@ index 421593aa97f2..659bf023c4a3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -75333,7 +82040,7 @@ index 421593aa97f2..659bf023c4a3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75391,10 +82098,10 @@ index 421593aa97f2..659bf023c4a3 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -75405,10 +82112,10 @@ index 421593aa97f2..659bf023c4a3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -75420,10 +82127,18 @@ index 421593aa97f2..659bf023c4a3 100644
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 7d29e6f235bc..bbe20788c261 100644
+index 6afd5f6bf137..bdf73352fc2c 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -75446,13 +82161,17 @@ index 7d29e6f235bc..bbe20788c261 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -75471,6 +82190,10 @@ index 7d29e6f235bc..bbe20788c261 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -75478,6 +82201,10 @@ index 7d29e6f235bc..bbe20788c261 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -75493,6 +82220,10 @@ index 7d29e6f235bc..bbe20788c261 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -75505,6 +82236,10 @@ index 7d29e6f235bc..bbe20788c261 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -75542,7 +82277,7 @@ index 7d29e6f235bc..bbe20788c261 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75600,10 +82335,10 @@ index 7d29e6f235bc..bbe20788c261 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -75614,10 +82349,10 @@ index 7d29e6f235bc..bbe20788c261 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -75629,10 +82364,18 @@ index 7d29e6f235bc..bbe20788c261 100644
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 63c797a30bdd..c75a4734ac3f 100644
+index a878a777f075..bc526829ccde 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -75655,13 +82398,17 @@ index 63c797a30bdd..c75a4734ac3f 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -75680,6 +82427,10 @@ index 63c797a30bdd..c75a4734ac3f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -75687,6 +82438,10 @@ index 63c797a30bdd..c75a4734ac3f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -75702,6 +82457,10 @@ index 63c797a30bdd..c75a4734ac3f 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -75714,6 +82473,10 @@ index 63c797a30bdd..c75a4734ac3f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -75751,7 +82514,7 @@ index 63c797a30bdd..c75a4734ac3f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -75809,10 +82572,10 @@ index 63c797a30bdd..c75a4734ac3f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -75823,10 +82586,10 @@ index 63c797a30bdd..c75a4734ac3f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -75838,10 +82601,18 @@ index 63c797a30bdd..c75a4734ac3f 100644
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 54e896eb35ab..51253edabb96 100644
+index 9135197b1a27..45e27cc0d699 100644
--- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -75864,13 +82635,17 @@ index 54e896eb35ab..51253edabb96 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -75889,6 +82664,10 @@ index 54e896eb35ab..51253edabb96 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -75896,6 +82675,10 @@ index 54e896eb35ab..51253edabb96 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -75911,6 +82694,10 @@ index 54e896eb35ab..51253edabb96 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -75923,6 +82710,10 @@ index 54e896eb35ab..51253edabb96 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -75953,7 +82744,7 @@ index 54e896eb35ab..51253edabb96 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76040,10 +82831,18 @@ index 54e896eb35ab..51253edabb96 100644
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 0548bf7afb2f..cdd387364988 100644
+index d3675c20e090..0484b7d9ee0b 100644
--- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -76066,13 +82865,17 @@ index 0548bf7afb2f..cdd387364988 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -76091,6 +82894,10 @@ index 0548bf7afb2f..cdd387364988 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -76098,6 +82905,10 @@ index 0548bf7afb2f..cdd387364988 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -76113,6 +82924,10 @@ index 0548bf7afb2f..cdd387364988 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -76125,6 +82940,10 @@ index 0548bf7afb2f..cdd387364988 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -76162,7 +82981,7 @@ index 0548bf7afb2f..cdd387364988 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76220,10 +83039,10 @@ index 0548bf7afb2f..cdd387364988 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -76234,10 +83053,10 @@ index 0548bf7afb2f..cdd387364988 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -76249,10 +83068,18 @@ index 0548bf7afb2f..cdd387364988 100644
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 95e9bc2679a5..2ebdf85adf8a 100644
+index 91eacefafc6e..4f2f4736d061 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -76275,13 +83102,17 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -76300,6 +83131,10 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -76307,6 +83142,10 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -76322,6 +83161,10 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -76334,6 +83177,10 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -76371,7 +83218,7 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76429,10 +83276,10 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -76443,10 +83290,10 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -76458,10 +83305,18 @@ index 95e9bc2679a5..2ebdf85adf8a 100644
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 aaaf15543dae..db73ce751e20 100644
+index 9f48ab274b3f..742805da2860 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -76484,13 +83339,17 @@ index aaaf15543dae..db73ce751e20 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -76509,6 +83368,10 @@ index aaaf15543dae..db73ce751e20 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -76516,6 +83379,10 @@ index aaaf15543dae..db73ce751e20 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -76531,6 +83398,10 @@ index aaaf15543dae..db73ce751e20 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -76543,6 +83414,10 @@ index aaaf15543dae..db73ce751e20 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -76580,7 +83455,7 @@ index aaaf15543dae..db73ce751e20 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76638,10 +83513,10 @@ index aaaf15543dae..db73ce751e20 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -76652,10 +83527,10 @@ index aaaf15543dae..db73ce751e20 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -76667,10 +83542,18 @@ index aaaf15543dae..db73ce751e20 100644
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 5c8b76f3df08..1c6b0b3c59c2 100644
+index 13644937a9ca..1e3266124e81 100644
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -76693,13 +83576,17 @@ index 5c8b76f3df08..1c6b0b3c59c2 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -76718,6 +83605,10 @@ index 5c8b76f3df08..1c6b0b3c59c2 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -76725,6 +83616,10 @@ index 5c8b76f3df08..1c6b0b3c59c2 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -76740,6 +83635,10 @@ index 5c8b76f3df08..1c6b0b3c59c2 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -76752,6 +83651,10 @@ index 5c8b76f3df08..1c6b0b3c59c2 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -76782,7 +83685,7 @@ index 5c8b76f3df08..1c6b0b3c59c2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -76869,10 +83772,18 @@ index 5c8b76f3df08..1c6b0b3c59c2 100644
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 32b453815025..38eff16e76ca 100644
+index c7f546cb18ee..23084f1b2834 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -76895,13 +83806,17 @@ index 32b453815025..38eff16e76ca 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -76920,6 +83835,10 @@ index 32b453815025..38eff16e76ca 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -76927,6 +83846,10 @@ index 32b453815025..38eff16e76ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -76942,6 +83865,10 @@ index 32b453815025..38eff16e76ca 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -76954,6 +83881,10 @@ index 32b453815025..38eff16e76ca 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -76991,7 +83922,7 @@ index 32b453815025..38eff16e76ca 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77049,10 +83980,10 @@ index 32b453815025..38eff16e76ca 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -77063,10 +83994,10 @@ index 32b453815025..38eff16e76ca 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -77268,10 +84199,18 @@ index ecd82d9dfcc4..de8b818042ce 100644
-
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 083e381121c5..5401aebf1609 100644
+index 37e62fcafe56..fc410f996a09 100644
--- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
+++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -77294,13 +84233,17 @@ index 083e381121c5..5401aebf1609 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -77319,6 +84262,10 @@ index 083e381121c5..5401aebf1609 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -77326,6 +84273,10 @@ index 083e381121c5..5401aebf1609 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -77341,6 +84292,10 @@ index 083e381121c5..5401aebf1609 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -77353,6 +84308,10 @@ index 083e381121c5..5401aebf1609 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -77390,7 +84349,7 @@ index 083e381121c5..5401aebf1609 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77448,10 +84407,10 @@ index 083e381121c5..5401aebf1609 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -77462,10 +84421,10 @@ index 083e381121c5..5401aebf1609 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -77477,10 +84436,18 @@ index 083e381121c5..5401aebf1609 100644
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 46a480860fe6..fe74f0c08984 100644
+index ce9ad3dc92c5..949afbe50bca 100644
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -77503,13 +84470,17 @@ index 46a480860fe6..fe74f0c08984 100644
FINAL_LIBRARY = "xul"
-@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -77529,6 +84500,10 @@ index 46a480860fe6..fe74f0c08984 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -77536,6 +84511,10 @@ index 46a480860fe6..fe74f0c08984 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -77551,6 +84530,10 @@ index 46a480860fe6..fe74f0c08984 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -77563,6 +84546,10 @@ index 46a480860fe6..fe74f0c08984 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -77600,7 +84587,7 @@ index 46a480860fe6..fe74f0c08984 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -77658,10 +84645,10 @@ index 46a480860fe6..fe74f0c08984 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -77672,10 +84659,10 @@ index 46a480860fe6..fe74f0c08984 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -77866,10 +84853,18 @@ index 07bb6443d9d6..91b568c42ae2 100644
-
Library("async_packet_socket_gn")
diff --git third_party/libwebrtc/rtc_base/base64_gn/moz.build third_party/libwebrtc/rtc_base/base64_gn/moz.build
-index 3de0b7560849..50ee6b06bc6a 100644
+index a25babbce8ae..0dc7adde5b52 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"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -77892,13 +84887,17 @@ index 3de0b7560849..50ee6b06bc6a 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -77917,6 +84916,10 @@ index 3de0b7560849..50ee6b06bc6a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -77924,6 +84927,10 @@ index 3de0b7560849..50ee6b06bc6a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -77939,6 +84946,10 @@ index 3de0b7560849..50ee6b06bc6a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -77951,6 +84962,10 @@ index 3de0b7560849..50ee6b06bc6a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -77981,7 +84996,7 @@ index 3de0b7560849..50ee6b06bc6a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78068,10 +85083,18 @@ index 3de0b7560849..50ee6b06bc6a 100644
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 ffff7692d155..4c211b919333 100644
+index 6b8286ce533e..223b2e1d6618 100644
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -78094,13 +85117,17 @@ index ffff7692d155..4c211b919333 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -78119,6 +85146,10 @@ index ffff7692d155..4c211b919333 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -78126,6 +85157,10 @@ index ffff7692d155..4c211b919333 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -78141,6 +85176,10 @@ index ffff7692d155..4c211b919333 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -78153,6 +85192,10 @@ index ffff7692d155..4c211b919333 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -78183,7 +85226,7 @@ index ffff7692d155..4c211b919333 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78270,10 +85313,18 @@ index ffff7692d155..4c211b919333 100644
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 5ac7d2799a21..bb005444b014 100644
+index 5cceeac367d7..f0d7be1b6bcc 100644
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -78296,13 +85347,17 @@ index 5ac7d2799a21..bb005444b014 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -78321,6 +85376,10 @@ index 5ac7d2799a21..bb005444b014 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -78328,6 +85387,10 @@ index 5ac7d2799a21..bb005444b014 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -78343,6 +85406,10 @@ index 5ac7d2799a21..bb005444b014 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -78355,6 +85422,10 @@ index 5ac7d2799a21..bb005444b014 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -78392,7 +85463,7 @@ index 5ac7d2799a21..bb005444b014 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78450,10 +85521,10 @@ index 5ac7d2799a21..bb005444b014 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -78464,10 +85535,10 @@ index 5ac7d2799a21..bb005444b014 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -78479,10 +85550,18 @@ index 5ac7d2799a21..bb005444b014 100644
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 eee5ccd81304..7d0af1877572 100644
+index c309a89359e0..d3361f99f01b 100644
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -78505,13 +85584,17 @@ index eee5ccd81304..7d0af1877572 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -78530,6 +85613,10 @@ index eee5ccd81304..7d0af1877572 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -78537,6 +85624,10 @@ index eee5ccd81304..7d0af1877572 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -78552,6 +85643,10 @@ index eee5ccd81304..7d0af1877572 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -78564,6 +85659,10 @@ index eee5ccd81304..7d0af1877572 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -78594,7 +85693,7 @@ index eee5ccd81304..7d0af1877572 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -78864,10 +85963,18 @@ index ef4cb47eab49..a43d4f89c6ba 100644
-
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 4d0296e2b9af..c5b976275752 100644
+index d369f151e1af..d02946fbaac5 100644
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -78890,13 +85997,17 @@ index 4d0296e2b9af..c5b976275752 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -78915,6 +86026,10 @@ index 4d0296e2b9af..c5b976275752 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -78922,6 +86037,10 @@ index 4d0296e2b9af..c5b976275752 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -78937,6 +86056,10 @@ index 4d0296e2b9af..c5b976275752 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -78949,6 +86072,10 @@ index 4d0296e2b9af..c5b976275752 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -78979,7 +86106,7 @@ index 4d0296e2b9af..c5b976275752 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79245,10 +86372,18 @@ index d357971ac11b..c936f00bf8ee 100644
-
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 dbd6fb44f059..119f166be716 100644
+index def68740cf81..43485510c8f6 100644
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -79271,13 +86406,17 @@ index dbd6fb44f059..119f166be716 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -79296,6 +86435,10 @@ index dbd6fb44f059..119f166be716 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -79303,6 +86446,10 @@ index dbd6fb44f059..119f166be716 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -79318,6 +86465,10 @@ index dbd6fb44f059..119f166be716 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -79330,6 +86481,10 @@ index dbd6fb44f059..119f166be716 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -79360,7 +86515,7 @@ index dbd6fb44f059..119f166be716 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -79626,10 +86781,18 @@ index 1b95fbaa6d76..6fcc88e2c397 100644
-
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 45f3542a1cf3..f5aede81a63d 100644
+index 8312c651783d..aff4637d3195 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -79652,13 +86815,17 @@ index 45f3542a1cf3..f5aede81a63d 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -79677,6 +86844,10 @@ index 45f3542a1cf3..f5aede81a63d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -79684,6 +86855,10 @@ index 45f3542a1cf3..f5aede81a63d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -79699,6 +86874,10 @@ index 45f3542a1cf3..f5aede81a63d 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -79711,6 +86890,10 @@ index 45f3542a1cf3..f5aede81a63d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -79741,7 +86924,7 @@ index 45f3542a1cf3..f5aede81a63d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80194,10 +87377,18 @@ index 94d72b0be826..9bf7b297f73d 100644
-
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 290fa237597c..95fee876429c 100644
+index e1acd341b068..dac6e2aca2ad 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -80220,13 +87411,17 @@ index 290fa237597c..95fee876429c 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -80245,6 +87440,10 @@ index 290fa237597c..95fee876429c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -80252,6 +87451,10 @@ index 290fa237597c..95fee876429c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -80267,6 +87470,10 @@ index 290fa237597c..95fee876429c 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -80279,6 +87486,10 @@ index 290fa237597c..95fee876429c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -80309,7 +87520,7 @@ index 290fa237597c..95fee876429c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80395,11 +87606,256 @@ index 290fa237597c..95fee876429c 100644
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("copy_on_write_buffer_gn")
+diff --git third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build
+index 238cb6c032ed..35811bc6d1bf 100644
+--- third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build
++++ third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
+ DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
+ DEFINES["RTC_ENABLE_VP9"] = True
++DEFINES["USE_GLIB"] = "1"
++DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
++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"
+
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+ if CONFIG["MOZ_DEBUG"] == "1":
+
+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
+-
+-if CONFIG["OS_TARGET"] == "Android":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- DEFINES["WEBRTC_MAC"] = True
+- DEFINES["WEBRTC_POSIX"] = True
+- DEFINES["__STDC_CONSTANT_MACROS"] = True
+- DEFINES["__STDC_FORMAT_MACROS"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
+- 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
+-
+- OS_LIBS += [
+- "crypt32",
+- "iphlpapi",
+- "secur32",
+- "winmm"
+- ]
++ DEFINES["_DEBUG"] = True
+
+ if CONFIG["TARGET_CPU"] == "aarch64":
+
+@@ -162,82 +68,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["MIPS32_LE"] = True
+ DEFINES["MIPS_FPU_LE"] = True
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["TARGET_CPU"] == "mips64":
+-
+- 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["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+-
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
++if CONFIG["TARGET_CPU"] == "x86_64":
+
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+ Library("cpu_info_gn")
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-index d19a77f5a18b..95b1a36564bc 100644
+index 16863186a717..f2ab4d6f1744 100644
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -80422,13 +87878,17 @@ index d19a77f5a18b..95b1a36564bc 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -80447,6 +87907,10 @@ index d19a77f5a18b..95b1a36564bc 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -80454,6 +87918,10 @@ index d19a77f5a18b..95b1a36564bc 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -80469,6 +87937,10 @@ index d19a77f5a18b..95b1a36564bc 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -80481,6 +87953,10 @@ index d19a77f5a18b..95b1a36564bc 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -80511,7 +87987,7 @@ index d19a77f5a18b..95b1a36564bc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80597,11 +88073,19 @@ index d19a77f5a18b..95b1a36564bc 100644
+ 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 6d17c8740b6c..4081536caf3a 100644
---- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+diff --git third_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build third_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build
+index 2221c4516bcd..895f33cd1a5b 100644
+--- third_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build
++++ third_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -80624,13 +88108,17 @@ index 6d17c8740b6c..4081536caf3a 100644
FINAL_LIBRARY = "xul"
-@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -80649,6 +88137,10 @@ index 6d17c8740b6c..4081536caf3a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -80656,6 +88148,10 @@ index 6d17c8740b6c..4081536caf3a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -80671,6 +88167,10 @@ index 6d17c8740b6c..4081536caf3a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -80683,6 +88183,10 @@ index 6d17c8740b6c..4081536caf3a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -80713,12 +88217,16 @@ index 6d17c8740b6c..4081536caf3a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,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
@@ -80739,10 +88247,12 @@ index 6d17c8740b6c..4081536caf3a 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
-
- DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
+- 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
@@ -80763,6 +88273,12 @@ index 6d17c8740b6c..4081536caf3a 100644
-
- 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["_GNU_SOURCE"] = True
@@ -80773,17 +88289,24 @@ index 6d17c8740b6c..4081536caf3a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- DEFINES["_GNU_SOURCE"] = True
+- CXXFLAGS += [
+- "-msse2"
+- ]
-
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
--
++if CONFIG["TARGET_CPU"] == "x86_64":
+
- 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 b11b9ea3a10f..7ff506e6f033 100644
---- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+ Library("denormal_disabler_gn")
+diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
+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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
@@ -80807,7 +88330,7 @@ index b11b9ea3a10f..7ff506e6f033 100644
FINAL_LIBRARY = "xul"
-@@ -43,83 +52,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"
@@ -80826,6 +88349,10 @@ index b11b9ea3a10f..7ff506e6f033 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
+- OS_LIBS += [
+- "log"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Darwin":
-
- DEFINES["WEBRTC_MAC"] = True
@@ -80892,7 +88419,7 @@ index b11b9ea3a10f..7ff506e6f033 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -80918,7 +88445,7 @@ index b11b9ea3a10f..7ff506e6f033 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -80958,11 +88485,11 @@ index b11b9ea3a10f..7ff506e6f033 100644
-
- 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 8e75ad113c46..7d3dce09ccf7 100644
---- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
-+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
+ 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 b11b9ea3a10f..7ff506e6f033 100644
+--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
++++ third_party/libwebrtc/rtc_base/dscp_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
@@ -80986,7 +88513,7 @@ index 8e75ad113c46..7d3dce09ccf7 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,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"
@@ -81005,10 +88532,6 @@ index 8e75ad113c46..7d3dce09ccf7 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "log"
-- ]
--
-if CONFIG["OS_TARGET"] == "Darwin":
-
- DEFINES["WEBRTC_MAC"] = True
@@ -81071,27 +88594,16 @@ index 8e75ad113c46..7d3dce09ccf7 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":
-@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -127,25 +60,10 @@ 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
@@ -81112,12 +88624,10 @@ index 8e75ad113c46..7d3dce09ccf7 100644
if CONFIG["TARGET_CPU"] == "x86":
-- DEFINES["WEBRTC_ENABLE_AVX2"] = True
--
--if CONFIG["TARGET_CPU"] == "x86_64":
--
-- DEFINES["WEBRTC_ENABLE_AVX2"] = True
--
+@@ -155,40 +73,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
@@ -81138,12 +88648,6 @@ index 8e75ad113c46..7d3dce09ccf7 100644
-
- 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["_GNU_SOURCE"] = True
@@ -81154,25 +88658,26 @@ index 8e75ad113c46..7d3dce09ccf7 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
- DEFINES["_GNU_SOURCE"] = True
-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-+if CONFIG["TARGET_CPU"] == "x86_64":
-
+-
- DEFINES["_GNU_SOURCE"] = True
-+ DEFINES["WEBRTC_ENABLE_AVX2"] = 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 f8f5a1578a65..1dd5e9cae110 100644
+--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
++++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -81195,13 +88700,17 @@ index 10f82d3ff81e..40fcc18fd804 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -81220,6 +88729,10 @@ index 10f82d3ff81e..40fcc18fd804 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -81227,6 +88740,10 @@ index 10f82d3ff81e..40fcc18fd804 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -81242,6 +88759,10 @@ index 10f82d3ff81e..40fcc18fd804 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -81254,6 +88775,10 @@ index 10f82d3ff81e..40fcc18fd804 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -81291,7 +88816,7 @@ index 10f82d3ff81e..40fcc18fd804 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81349,10 +88874,10 @@ index 10f82d3ff81e..40fcc18fd804 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -81363,10 +88888,10 @@ index 10f82d3ff81e..40fcc18fd804 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -81376,12 +88901,20 @@ index 10f82d3ff81e..40fcc18fd804 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 02462b01a41f..7b105572ca97 100644
+--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
++++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -81404,13 +88937,17 @@ index 4b8665b1b4d3..3186f94b957f 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -81429,6 +88966,10 @@ index 4b8665b1b4d3..3186f94b957f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -81436,6 +88977,10 @@ index 4b8665b1b4d3..3186f94b957f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -81449,12 +88994,12 @@ index 4b8665b1b4d3..3186f94b957f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -81467,6 +89012,10 @@ index 4b8665b1b4d3..3186f94b957f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -81504,7 +89053,7 @@ index 4b8665b1b4d3..3186f94b957f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81562,10 +89111,10 @@ index 4b8665b1b4d3..3186f94b957f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -81576,10 +89125,10 @@ index 4b8665b1b4d3..3186f94b957f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -81589,12 +89138,20 @@ index 4b8665b1b4d3..3186f94b957f 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 13219bd5072a..6516454a00c5 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -81617,13 +89174,17 @@ index c589d3227b8f..ca1de2ba5686 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -81642,6 +89203,10 @@ index c589d3227b8f..ca1de2ba5686 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -81649,6 +89214,10 @@ index c589d3227b8f..ca1de2ba5686 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -81662,12 +89231,12 @@ index c589d3227b8f..ca1de2ba5686 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -81680,6 +89249,10 @@ index c589d3227b8f..ca1de2ba5686 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -81717,7 +89290,7 @@ index c589d3227b8f..ca1de2ba5686 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81775,10 +89348,10 @@ index c589d3227b8f..ca1de2ba5686 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -81789,10 +89362,10 @@ index c589d3227b8f..ca1de2ba5686 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -81802,12 +89375,20 @@ index c589d3227b8f..ca1de2ba5686 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 a61b74592b43..4dbd966794df 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -81830,13 +89411,17 @@ index c20b2e2aa6d7..89b499bfa973 100644
FINAL_LIBRARY = "xul"
-@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -81855,6 +89440,10 @@ index c20b2e2aa6d7..89b499bfa973 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -81862,6 +89451,10 @@ index c20b2e2aa6d7..89b499bfa973 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -81877,6 +89470,10 @@ index c20b2e2aa6d7..89b499bfa973 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -81889,6 +89486,10 @@ index c20b2e2aa6d7..89b499bfa973 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -81926,7 +89527,7 @@ index c20b2e2aa6d7..89b499bfa973 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -145,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -81984,10 +89585,10 @@ index c20b2e2aa6d7..89b499bfa973 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -81998,10 +89599,10 @@ index c20b2e2aa6d7..89b499bfa973 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82011,12 +89612,20 @@ index c20b2e2aa6d7..89b499bfa973 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 1bfa2439a209..2b3b0b46ae5d 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -82039,13 +89648,17 @@ index a1cdc70739b0..593522344bb9 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,114 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -82064,6 +89677,10 @@ index a1cdc70739b0..593522344bb9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -82071,6 +89688,10 @@ index a1cdc70739b0..593522344bb9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -82086,6 +89707,10 @@ index a1cdc70739b0..593522344bb9 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -82098,6 +89723,10 @@ index a1cdc70739b0..593522344bb9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -82135,7 +89764,7 @@ index a1cdc70739b0..593522344bb9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -165,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82193,10 +89822,10 @@ index a1cdc70739b0..593522344bb9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -82207,10 +89836,10 @@ index a1cdc70739b0..593522344bb9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82220,12 +89849,20 @@ index a1cdc70739b0..593522344bb9 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 5dcd59791760..f701e1db2a07 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -82248,13 +89885,17 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -82273,6 +89914,10 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -82280,6 +89925,10 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -82295,6 +89944,10 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -82307,6 +89960,10 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -82344,7 +90001,7 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82402,10 +90059,10 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -82416,10 +90073,10 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82429,12 +90086,20 @@ index 4b3f27a4b3c3..d6b28a71bc0f 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 8262fe29876d..6eda4ec02686 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -82457,13 +90122,17 @@ index a826e388bec4..0db52e8261d9 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -82482,6 +90151,10 @@ index a826e388bec4..0db52e8261d9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -82489,6 +90162,10 @@ index a826e388bec4..0db52e8261d9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -82504,6 +90181,10 @@ index a826e388bec4..0db52e8261d9 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -82516,6 +90197,10 @@ index a826e388bec4..0db52e8261d9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -82553,7 +90238,7 @@ index a826e388bec4..0db52e8261d9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82611,10 +90296,10 @@ index a826e388bec4..0db52e8261d9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -82625,10 +90310,10 @@ index a826e388bec4..0db52e8261d9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82638,12 +90323,20 @@ index a826e388bec4..0db52e8261d9 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 3d4141038f75..7ce1cdc5b8f7 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -82666,13 +90359,17 @@ index a15b6a0f37fa..f6268077ed0d 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -82691,6 +90388,10 @@ index a15b6a0f37fa..f6268077ed0d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -82698,6 +90399,10 @@ index a15b6a0f37fa..f6268077ed0d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -82713,6 +90418,10 @@ index a15b6a0f37fa..f6268077ed0d 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -82725,6 +90434,10 @@ index a15b6a0f37fa..f6268077ed0d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -82762,7 +90475,7 @@ index a15b6a0f37fa..f6268077ed0d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -82820,10 +90533,10 @@ index a15b6a0f37fa..f6268077ed0d 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -82834,10 +90547,10 @@ index a15b6a0f37fa..f6268077ed0d 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -82847,12 +90560,20 @@ index a15b6a0f37fa..f6268077ed0d 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 bfd2b98c7a7b..335d72fa5613 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -82875,13 +90596,17 @@ index 6656011a3f73..9f3c461f759b 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -82900,6 +90625,10 @@ index 6656011a3f73..9f3c461f759b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -82907,6 +90636,10 @@ index 6656011a3f73..9f3c461f759b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -82920,12 +90653,12 @@ index 6656011a3f73..9f3c461f759b 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -82938,6 +90671,10 @@ index 6656011a3f73..9f3c461f759b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -82975,7 +90712,7 @@ index 6656011a3f73..9f3c461f759b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83033,10 +90770,10 @@ index 6656011a3f73..9f3c461f759b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -83047,10 +90784,10 @@ index 6656011a3f73..9f3c461f759b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -83060,12 +90797,20 @@ index 6656011a3f73..9f3c461f759b 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 590ea0696c8d..e3886eb62100 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -83088,13 +90833,17 @@ index 882e6c023720..af436eb83128 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -83113,6 +90862,10 @@ index 882e6c023720..af436eb83128 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -83120,6 +90873,10 @@ index 882e6c023720..af436eb83128 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -83133,12 +90890,12 @@ index 882e6c023720..af436eb83128 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -83151,6 +90908,10 @@ index 882e6c023720..af436eb83128 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -83188,7 +90949,7 @@ index 882e6c023720..af436eb83128 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83246,10 +91007,10 @@ index 882e6c023720..af436eb83128 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -83260,10 +91021,10 @@ index 882e6c023720..af436eb83128 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -83273,12 +91034,20 @@ index 882e6c023720..af436eb83128 100644
- 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 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ 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 bd7435a60e96..333de1887b05 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
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -83301,13 +91070,17 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -83326,6 +91099,10 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -83333,6 +91110,10 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -83348,6 +91129,10 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -83360,6 +91145,10 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -83397,7 +91186,7 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83455,10 +91244,10 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -83469,10 +91258,10 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -83482,12 +91271,20 @@ index 3329e9d7773e..b1f7e6b7b42c 100644
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
- Library("stable_target_rate_experiment_gn")
+ Library("rate_control_settings_gn")
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
-index 2dab806a0600..3811dae58fa1 100644
+index d4e3e8670945..eea635796ddf 100644
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -83510,13 +91307,17 @@ index 2dab806a0600..3811dae58fa1 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -83535,6 +91336,10 @@ index 2dab806a0600..3811dae58fa1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -83542,6 +91347,10 @@ index 2dab806a0600..3811dae58fa1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -83557,6 +91366,10 @@ index 2dab806a0600..3811dae58fa1 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -83569,6 +91382,10 @@ index 2dab806a0600..3811dae58fa1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -83606,7 +91423,7 @@ index 2dab806a0600..3811dae58fa1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -83664,10 +91481,10 @@ index 2dab806a0600..3811dae58fa1 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -83678,10 +91495,10 @@ index 2dab806a0600..3811dae58fa1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -83872,10 +91689,18 @@ index c551d6f8e7db..6afbfab03fe8 100644
-
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 633a84eb5698..945c0d939375 100644
+index 5484f2bc8476..cf891e0be40a 100644
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -83898,13 +91723,17 @@ index 633a84eb5698..945c0d939375 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -83923,6 +91752,10 @@ index 633a84eb5698..945c0d939375 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -83930,6 +91763,10 @@ index 633a84eb5698..945c0d939375 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -83945,6 +91782,10 @@ index 633a84eb5698..945c0d939375 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -83957,6 +91798,10 @@ index 633a84eb5698..945c0d939375 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -83987,7 +91832,7 @@ index 633a84eb5698..945c0d939375 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84075,10 +91920,10 @@ index 633a84eb5698..945c0d939375 100644
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 b6c099877828..000000000000
+index 0add5b061a15..000000000000
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
+++ /dev/null
-@@ -1,96 +0,0 @@
+@@ -1,100 +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/.
@@ -84090,6 +91935,10 @@ index b6c099877828..000000000000
-COMPILE_FLAGS["OS_INCLUDES"] = []
-AllowCompilerWarnings()
-
+-CXXFLAGS += [
+- "-std=gnu++20"
+-]
+-
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
-DEFINES["ANDROID"] = True
-DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
@@ -84355,10 +92204,18 @@ index 81956aa523cb..3898fa6a642b 100644
-
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 df4bfbe590f8..2e35650e0118 100644
+index 2dccf74b924f..f6b3e5950ba9 100644
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -84381,13 +92238,17 @@ index df4bfbe590f8..2e35650e0118 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -84407,6 +92268,10 @@ index df4bfbe590f8..2e35650e0118 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -84414,6 +92279,10 @@ index df4bfbe590f8..2e35650e0118 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -84429,6 +92298,10 @@ index df4bfbe590f8..2e35650e0118 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -84441,6 +92314,10 @@ index df4bfbe590f8..2e35650e0118 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -84477,7 +92354,7 @@ index df4bfbe590f8..2e35650e0118 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84535,10 +92412,10 @@ index df4bfbe590f8..2e35650e0118 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -84549,10 +92426,10 @@ index df4bfbe590f8..2e35650e0118 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -84564,10 +92441,18 @@ index df4bfbe590f8..2e35650e0118 100644
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 671657aa368d..25c4dcfeffd4 100644
+index 693febb71f1d..3bb173719fc9 100644
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -84591,13 +92476,17 @@ index 671657aa368d..25c4dcfeffd4 100644
FINAL_LIBRARY = "xul"
-@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -84616,6 +92505,10 @@ index 671657aa368d..25c4dcfeffd4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -84623,6 +92516,10 @@ index 671657aa368d..25c4dcfeffd4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -84638,6 +92535,10 @@ index 671657aa368d..25c4dcfeffd4 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -84650,6 +92551,10 @@ index 671657aa368d..25c4dcfeffd4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -84687,7 +92592,7 @@ index 671657aa368d..25c4dcfeffd4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -84745,10 +92650,10 @@ index 671657aa368d..25c4dcfeffd4 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -84759,10 +92664,10 @@ index 671657aa368d..25c4dcfeffd4 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -84953,10 +92858,18 @@ index ee7bf52578e1..8cf0cbacb8c7 100644
-
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 2dee6afe49e4..0d337d8cb039 100644
+index 6b63d05f4f99..b2586a6ddfb2 100644
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -84979,13 +92892,17 @@ index 2dee6afe49e4..0d337d8cb039 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -85004,6 +92921,10 @@ index 2dee6afe49e4..0d337d8cb039 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -85011,6 +92932,10 @@ index 2dee6afe49e4..0d337d8cb039 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -85026,6 +92951,10 @@ index 2dee6afe49e4..0d337d8cb039 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -85038,6 +92967,10 @@ index 2dee6afe49e4..0d337d8cb039 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -85068,7 +93001,7 @@ index 2dee6afe49e4..0d337d8cb039 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85521,10 +93454,18 @@ index 2e59566bed66..0ab732b24e2c 100644
-
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 b77950bc7127..fba1ed0c6b80 100644
+index 37197827d623..6c49a98b2b89 100644
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -85547,13 +93488,17 @@ index b77950bc7127..fba1ed0c6b80 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -85573,6 +93518,10 @@ index b77950bc7127..fba1ed0c6b80 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -85580,6 +93529,10 @@ index b77950bc7127..fba1ed0c6b80 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -85595,6 +93548,10 @@ index b77950bc7127..fba1ed0c6b80 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -85607,6 +93564,10 @@ index b77950bc7127..fba1ed0c6b80 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -85643,7 +93604,7 @@ index b77950bc7127..fba1ed0c6b80 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -85701,10 +93662,10 @@ index b77950bc7127..fba1ed0c6b80 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -85715,10 +93676,10 @@ index b77950bc7127..fba1ed0c6b80 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -85909,10 +93870,18 @@ index 8ab0d1a1c443..00fbb2407fdc 100644
-
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 81feecacf14b..f965c58c8b39 100644
+index a07df9c7bdce..dd74655da58d 100644
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -85935,13 +93904,17 @@ index 81feecacf14b..f965c58c8b39 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -85956,6 +93929,10 @@ index 81feecacf14b..f965c58c8b39 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -85963,6 +93940,10 @@ index 81feecacf14b..f965c58c8b39 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -85978,6 +93959,10 @@ index 81feecacf14b..f965c58c8b39 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -85990,6 +93975,10 @@ index 81feecacf14b..f965c58c8b39 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -86020,7 +94009,7 @@ index 81feecacf14b..f965c58c8b39 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86078,10 +94067,10 @@ index 81feecacf14b..f965c58c8b39 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -86092,10 +94081,10 @@ index 81feecacf14b..f965c58c8b39 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -86107,10 +94096,18 @@ index 81feecacf14b..f965c58c8b39 100644
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 b70c0869b9f4..cf164b3f193d 100644
+index ee55a2e228da..a1ad5d527e0e 100644
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -86133,13 +94130,17 @@ index b70c0869b9f4..cf164b3f193d 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -86158,6 +94159,10 @@ index b70c0869b9f4..cf164b3f193d 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -86165,6 +94170,10 @@ index b70c0869b9f4..cf164b3f193d 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -86180,6 +94189,10 @@ index b70c0869b9f4..cf164b3f193d 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -86192,6 +94205,10 @@ index b70c0869b9f4..cf164b3f193d 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -86222,7 +94239,7 @@ index b70c0869b9f4..cf164b3f193d 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86309,10 +94326,18 @@ index b70c0869b9f4..cf164b3f193d 100644
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 d796c3624894..a888f2abaa37 100644
+index 3f6ff2c31d0a..af256e4f52df 100644
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -86335,13 +94360,17 @@ index d796c3624894..a888f2abaa37 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -86360,6 +94389,10 @@ index d796c3624894..a888f2abaa37 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -86367,6 +94400,10 @@ index d796c3624894..a888f2abaa37 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -86382,6 +94419,10 @@ index d796c3624894..a888f2abaa37 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -86394,6 +94435,10 @@ index d796c3624894..a888f2abaa37 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -86424,7 +94469,7 @@ index d796c3624894..a888f2abaa37 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86511,10 +94556,18 @@ index d796c3624894..a888f2abaa37 100644
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 383af03f4b8a..ee0e9f2d522c 100644
+index 091b22847101..4547eba051a9 100644
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -86537,13 +94590,17 @@ index 383af03f4b8a..ee0e9f2d522c 100644
FINAL_LIBRARY = "xul"
-@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -86563,6 +94620,10 @@ index 383af03f4b8a..ee0e9f2d522c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -86570,6 +94631,10 @@ index 383af03f4b8a..ee0e9f2d522c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -86585,6 +94650,10 @@ index 383af03f4b8a..ee0e9f2d522c 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -86597,6 +94666,10 @@ index 383af03f4b8a..ee0e9f2d522c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -86634,7 +94707,7 @@ index 383af03f4b8a..ee0e9f2d522c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -86692,10 +94765,10 @@ index 383af03f4b8a..ee0e9f2d522c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -86706,10 +94779,10 @@ index 383af03f4b8a..ee0e9f2d522c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -86904,10 +94977,18 @@ index c1906fd2a387..613d27903932 100644
-
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 654b0f0b8824..cfd0a2978cdc 100644
+index ba5f0d279810..8858e6413f16 100644
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -86930,13 +95011,17 @@ index 654b0f0b8824..cfd0a2978cdc 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -86955,6 +95040,10 @@ index 654b0f0b8824..cfd0a2978cdc 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -86962,6 +95051,10 @@ index 654b0f0b8824..cfd0a2978cdc 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -86977,6 +95070,10 @@ index 654b0f0b8824..cfd0a2978cdc 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -86989,6 +95086,10 @@ index 654b0f0b8824..cfd0a2978cdc 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -87026,7 +95127,7 @@ index 654b0f0b8824..cfd0a2978cdc 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87084,10 +95185,10 @@ index 654b0f0b8824..cfd0a2978cdc 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -87098,10 +95199,10 @@ index 654b0f0b8824..cfd0a2978cdc 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -87113,10 +95214,18 @@ index 654b0f0b8824..cfd0a2978cdc 100644
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 327f3e200bb8..9242464f3a21 100644
+index ef7b740ef703..b027a5869b1a 100644
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -87139,13 +95248,17 @@ index 327f3e200bb8..9242464f3a21 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -87164,6 +95277,10 @@ index 327f3e200bb8..9242464f3a21 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -87171,6 +95288,10 @@ index 327f3e200bb8..9242464f3a21 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -87186,6 +95307,10 @@ index 327f3e200bb8..9242464f3a21 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -87198,6 +95323,10 @@ index 327f3e200bb8..9242464f3a21 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -87228,7 +95357,7 @@ index 327f3e200bb8..9242464f3a21 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87494,10 +95623,18 @@ index 0874b5aa6087..61bacf572dab 100644
-
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 4fa501393c5a..2977e41f6f93 100644
+index 8de48a32d20b..dde2c49ded4c 100644
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -87520,13 +95657,17 @@ index 4fa501393c5a..2977e41f6f93 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -87545,6 +95686,10 @@ index 4fa501393c5a..2977e41f6f93 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -87552,6 +95697,10 @@ index 4fa501393c5a..2977e41f6f93 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -87567,6 +95716,10 @@ index 4fa501393c5a..2977e41f6f93 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -87579,6 +95732,10 @@ index 4fa501393c5a..2977e41f6f93 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -87609,7 +95766,7 @@ index 4fa501393c5a..2977e41f6f93 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87696,10 +95853,18 @@ index 4fa501393c5a..2977e41f6f93 100644
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 42e9f4292969..ef9dd3cd001a 100644
+index 562cc62e6451..c613d6078f1b 100644
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -87722,13 +95887,17 @@ index 42e9f4292969..ef9dd3cd001a 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -87747,6 +95916,10 @@ index 42e9f4292969..ef9dd3cd001a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -87754,6 +95927,10 @@ index 42e9f4292969..ef9dd3cd001a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -87769,6 +95946,10 @@ index 42e9f4292969..ef9dd3cd001a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -87781,6 +95962,10 @@ index 42e9f4292969..ef9dd3cd001a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -87811,7 +95996,7 @@ index 42e9f4292969..ef9dd3cd001a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -87898,10 +96083,18 @@ index 42e9f4292969..ef9dd3cd001a 100644
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 608a490989a2..5b3d0be997df 100644
+index cb20b76d1167..5fa1cc9dd73d 100644
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -87924,13 +96117,17 @@ index 608a490989a2..5b3d0be997df 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -87949,6 +96146,10 @@ index 608a490989a2..5b3d0be997df 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -87956,6 +96157,10 @@ index 608a490989a2..5b3d0be997df 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -87969,12 +96174,12 @@ index 608a490989a2..5b3d0be997df 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -87987,6 +96192,10 @@ index 608a490989a2..5b3d0be997df 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -88024,7 +96233,7 @@ index 608a490989a2..5b3d0be997df 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88082,10 +96291,10 @@ index 608a490989a2..5b3d0be997df 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -88096,10 +96305,10 @@ index 608a490989a2..5b3d0be997df 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -88111,10 +96320,18 @@ index 608a490989a2..5b3d0be997df 100644
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 54839db68ac0..792d09980705 100644
+index 8c02922662ee..2e18d8d70916 100644
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -88137,13 +96354,17 @@ index 54839db68ac0..792d09980705 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -88162,6 +96383,10 @@ index 54839db68ac0..792d09980705 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -88169,6 +96394,10 @@ index 54839db68ac0..792d09980705 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -88184,6 +96413,10 @@ index 54839db68ac0..792d09980705 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -88196,6 +96429,10 @@ index 54839db68ac0..792d09980705 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -88233,7 +96470,7 @@ index 54839db68ac0..792d09980705 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88291,10 +96528,10 @@ index 54839db68ac0..792d09980705 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -88305,10 +96542,10 @@ index 54839db68ac0..792d09980705 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -88320,10 +96557,18 @@ index 54839db68ac0..792d09980705 100644
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 e10833b0a989..b1a63691df31 100644
+index a6d7fecfbcc1..89e957e53353 100644
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -88346,13 +96591,17 @@ index e10833b0a989..b1a63691df31 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -88371,6 +96620,10 @@ index e10833b0a989..b1a63691df31 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -88378,6 +96631,10 @@ index e10833b0a989..b1a63691df31 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -88393,6 +96650,10 @@ index e10833b0a989..b1a63691df31 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -88405,6 +96666,10 @@ index e10833b0a989..b1a63691df31 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -88442,7 +96707,7 @@ index e10833b0a989..b1a63691df31 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -88500,10 +96765,10 @@ index e10833b0a989..b1a63691df31 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -88514,10 +96779,10 @@ index e10833b0a989..b1a63691df31 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -88891,10 +97156,18 @@ index e3c38a7a8821..3602d93b1ca4 100644
-
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 77e3de024fa1..cf21e61558bb 100644
+index 6f75b125e8e8..efec530f2e4c 100644
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -88917,13 +97190,17 @@ index 77e3de024fa1..cf21e61558bb 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -88942,6 +97219,10 @@ index 77e3de024fa1..cf21e61558bb 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -88949,6 +97230,10 @@ index 77e3de024fa1..cf21e61558bb 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -88964,6 +97249,10 @@ index 77e3de024fa1..cf21e61558bb 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -88976,6 +97265,10 @@ index 77e3de024fa1..cf21e61558bb 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -89013,7 +97306,7 @@ index 77e3de024fa1..cf21e61558bb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89071,10 +97364,10 @@ index 77e3de024fa1..cf21e61558bb 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -89085,10 +97378,10 @@ index 77e3de024fa1..cf21e61558bb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -89100,10 +97393,18 @@ index 77e3de024fa1..cf21e61558bb 100644
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 0687c3138dae..8d218bfe7cff 100644
+index 3d26a73adc3d..53ce209db77c 100644
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -89126,13 +97427,17 @@ index 0687c3138dae..8d218bfe7cff 100644
FINAL_LIBRARY = "xul"
-@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,107 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -89151,6 +97456,10 @@ index 0687c3138dae..8d218bfe7cff 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -89158,6 +97467,10 @@ index 0687c3138dae..8d218bfe7cff 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -89173,6 +97486,10 @@ index 0687c3138dae..8d218bfe7cff 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -89185,6 +97502,10 @@ index 0687c3138dae..8d218bfe7cff 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -89215,7 +97536,7 @@ index 0687c3138dae..8d218bfe7cff 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -137,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -157,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -89301,6 +97622,243 @@ index 0687c3138dae..8d218bfe7cff 100644
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
Library("rtc_numerics_gn")
+diff --git third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build
+index f407cbf3754e..000fdbf91fd6 100644
+--- third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build
++++ third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
+ DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
+ DEFINES["RTC_ENABLE_VP9"] = True
++DEFINES["USE_GLIB"] = "1"
++DEFINES["USE_OZONE"] = "1"
+ DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True
++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"
+
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+ if CONFIG["MOZ_DEBUG"] == "1":
+
+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
+-
+-if CONFIG["OS_TARGET"] == "Android":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- DEFINES["WEBRTC_MAC"] = True
+- DEFINES["WEBRTC_POSIX"] = True
+- DEFINES["__STDC_CONSTANT_MACROS"] = True
+- DEFINES["__STDC_FORMAT_MACROS"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
+- 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":
+-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
+- 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
+-
+- OS_LIBS += [
+- "crypt32",
+- "iphlpapi",
+- "secur32",
+- "winmm"
+- ]
++ DEFINES["_DEBUG"] = True
+
+ if CONFIG["TARGET_CPU"] == "aarch64":
+
+@@ -162,82 +68,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["MIPS32_LE"] = True
+ DEFINES["MIPS_FPU_LE"] = True
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["TARGET_CPU"] == "mips64":
+-
+- 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["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+-
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
++if CONFIG["TARGET_CPU"] == "x86_64":
+
+- DEFINES["_GNU_SOURCE"] = True
++ DEFINES["WEBRTC_ENABLE_AVX2"] = True
+
+ Library("rtp_to_ntp_estimator_gn")
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
index c93abdb78469..bf32218de21a 100644
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
@@ -89847,10 +98405,18 @@ index 961f0bd72b1e..c576316e0fe9 100644
-
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 f6caca40a372..df2f524baf2b 100644
+index 0ea43f40fb27..1c4f353d2166 100644
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -89873,13 +98439,17 @@ index f6caca40a372..df2f524baf2b 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -89898,6 +98468,10 @@ index f6caca40a372..df2f524baf2b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -89905,6 +98479,10 @@ index f6caca40a372..df2f524baf2b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -89920,6 +98498,10 @@ index f6caca40a372..df2f524baf2b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -89932,6 +98514,10 @@ index f6caca40a372..df2f524baf2b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -89962,7 +98548,7 @@ index f6caca40a372..df2f524baf2b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90228,10 +98814,18 @@ index cbc6c4ce08a5..8a6f2ff9cdfe 100644
-
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 da0d411790df..3b7abf48ec23 100644
+index 1d2691e0432e..19b7694c4322 100644
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -90254,13 +98848,17 @@ index da0d411790df..3b7abf48ec23 100644
FINAL_LIBRARY = "xul"
-@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -90280,6 +98878,10 @@ index da0d411790df..3b7abf48ec23 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -90287,6 +98889,10 @@ index da0d411790df..3b7abf48ec23 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -90302,6 +98908,10 @@ index da0d411790df..3b7abf48ec23 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -90314,6 +98924,10 @@ index da0d411790df..3b7abf48ec23 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -90351,7 +98965,7 @@ index da0d411790df..3b7abf48ec23 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90409,10 +99023,10 @@ index da0d411790df..3b7abf48ec23 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -90423,10 +99037,10 @@ index da0d411790df..3b7abf48ec23 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -90629,10 +99243,18 @@ index dc7939c48277..b236be3572d2 100644
-
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 06b5a4bcb3ff..fcbb385f314f 100644
+index 7c62bf8b130d..4beac3e1c28f 100644
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -90655,13 +99277,17 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
FINAL_LIBRARY = "xul"
-@@ -47,95 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -90681,6 +99307,10 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -90688,6 +99318,10 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -90703,6 +99337,10 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -90715,6 +99353,10 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -90752,7 +99394,7 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -90810,10 +99452,10 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -90824,10 +99466,10 @@ index 06b5a4bcb3ff..fcbb385f314f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -91209,10 +99851,18 @@ index 2b58594242fa..cd78bce2c8a5 100644
-
Library("ssl_adapter_gn")
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-index ae515ab20433..d01938625840 100644
+index 5e002d04f471..639e512abd4a 100644
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -91235,13 +99885,17 @@ index ae515ab20433..d01938625840 100644
FINAL_LIBRARY = "xul"
-@@ -51,87 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -51,107 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -91260,6 +99914,10 @@ index ae515ab20433..d01938625840 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -91267,6 +99925,10 @@ index ae515ab20433..d01938625840 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -91282,6 +99944,10 @@ index ae515ab20433..d01938625840 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -91294,6 +99960,10 @@ index ae515ab20433..d01938625840 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -91324,7 +99994,7 @@ index ae515ab20433..d01938625840 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -139,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -159,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -91956,10 +100626,18 @@ index a88a968ac205..1fb7f52e323f 100644
-
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 167271deeb95..25fe0919eb51 100644
+index 7ddddf6ee338..ff97770a8a44 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -91982,13 +100660,17 @@ index 167271deeb95..25fe0919eb51 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -92007,6 +100689,10 @@ index 167271deeb95..25fe0919eb51 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -92014,6 +100700,10 @@ index 167271deeb95..25fe0919eb51 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -92029,6 +100719,10 @@ index 167271deeb95..25fe0919eb51 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -92041,6 +100735,10 @@ index 167271deeb95..25fe0919eb51 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -92071,7 +100769,7 @@ index 167271deeb95..25fe0919eb51 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92158,10 +100856,18 @@ index 167271deeb95..25fe0919eb51 100644
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 567da5f0b74b..799b8997d401 100644
+index fa64077e34cd..fbccbd32664e 100644
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -92184,13 +100890,17 @@ index 567da5f0b74b..799b8997d401 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -92205,6 +100915,10 @@ index 567da5f0b74b..799b8997d401 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -92212,6 +100926,10 @@ index 567da5f0b74b..799b8997d401 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -92227,6 +100945,10 @@ index 567da5f0b74b..799b8997d401 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -92239,6 +100961,10 @@ index 567da5f0b74b..799b8997d401 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -92269,7 +100995,7 @@ index 567da5f0b74b..799b8997d401 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92327,10 +101053,10 @@ index 567da5f0b74b..799b8997d401 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -92341,10 +101067,10 @@ index 567da5f0b74b..799b8997d401 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -92356,10 +101082,18 @@ index 567da5f0b74b..799b8997d401 100644
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 acf6a98373b7..04ae98653c29 100644
+index 0643e4bc5d18..627f1c97124b 100644
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -92382,13 +101116,17 @@ index acf6a98373b7..04ae98653c29 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -92407,6 +101145,10 @@ index acf6a98373b7..04ae98653c29 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -92414,6 +101156,10 @@ index acf6a98373b7..04ae98653c29 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -92429,6 +101175,10 @@ index acf6a98373b7..04ae98653c29 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -92441,6 +101191,10 @@ index acf6a98373b7..04ae98653c29 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -92471,7 +101225,7 @@ index acf6a98373b7..04ae98653c29 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -92895,10 +101649,18 @@ index 6ee1d92a09ab..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 2e3930335f16..e81233b291f3 100644
+index e9e0f5b40cb7..ec3b7dfdaf90 100644
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -92921,13 +101683,17 @@ index 2e3930335f16..e81233b291f3 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -92946,6 +101712,10 @@ index 2e3930335f16..e81233b291f3 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -92953,6 +101723,10 @@ index 2e3930335f16..e81233b291f3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -92968,6 +101742,10 @@ index 2e3930335f16..e81233b291f3 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -92980,6 +101758,10 @@ index 2e3930335f16..e81233b291f3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -93010,7 +101792,7 @@ index 2e3930335f16..e81233b291f3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94247,10 +103029,18 @@ index 7fc9b68c3766..114a58d422aa 100644
-
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 74f32de32c41..c3c83a3b5dac 100644
+index f49eae6cb112..622413810a46 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -94273,13 +103063,17 @@ index 74f32de32c41..c3c83a3b5dac 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -94298,6 +103092,10 @@ index 74f32de32c41..c3c83a3b5dac 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -94305,6 +103103,10 @@ index 74f32de32c41..c3c83a3b5dac 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -94318,12 +103120,12 @@ index 74f32de32c41..c3c83a3b5dac 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -94336,6 +103138,10 @@ index 74f32de32c41..c3c83a3b5dac 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -94373,7 +103179,7 @@ index 74f32de32c41..c3c83a3b5dac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94431,10 +103237,10 @@ index 74f32de32c41..c3c83a3b5dac 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -94445,10 +103251,10 @@ index 74f32de32c41..c3c83a3b5dac 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94460,10 +103266,18 @@ index 74f32de32c41..c3c83a3b5dac 100644
Library("repeating_task_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 98cc1865d964..9b13ea8cac90 100644
+index 7e598bc06ed8..660ad0351af5 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -94486,13 +103300,17 @@ index 98cc1865d964..9b13ea8cac90 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -94507,6 +103325,10 @@ index 98cc1865d964..9b13ea8cac90 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -94514,6 +103336,10 @@ index 98cc1865d964..9b13ea8cac90 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -94529,6 +103355,10 @@ index 98cc1865d964..9b13ea8cac90 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -94541,6 +103371,10 @@ index 98cc1865d964..9b13ea8cac90 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -94571,7 +103405,7 @@ index 98cc1865d964..9b13ea8cac90 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94629,10 +103463,10 @@ index 98cc1865d964..9b13ea8cac90 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -94643,10 +103477,10 @@ index 98cc1865d964..9b13ea8cac90 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -94658,10 +103492,18 @@ index 98cc1865d964..9b13ea8cac90 100644
Library("sigslot_gn")
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
-index 8ff81d5ef745..95b3fecb47ac 100644
+index 2dfb977622ad..ea358f2f86f0 100644
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -94684,13 +103526,17 @@ index 8ff81d5ef745..95b3fecb47ac 100644
FINAL_LIBRARY = "xul"
-@@ -50,111 +59,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -50,131 +63,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -94714,6 +103560,10 @@ index 8ff81d5ef745..95b3fecb47ac 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -94725,6 +103575,10 @@ index 8ff81d5ef745..95b3fecb47ac 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -94744,6 +103598,10 @@ index 8ff81d5ef745..95b3fecb47ac 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -94756,6 +103614,10 @@ index 8ff81d5ef745..95b3fecb47ac 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -94797,7 +103659,7 @@ index 8ff81d5ef745..95b3fecb47ac 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -162,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -182,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -94884,10 +103746,18 @@ index 8ff81d5ef745..95b3fecb47ac 100644
Library("threading_gn")
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-index 3db91db313c7..795267fa1e69 100644
+index b88078d86e3e..510f8897721d 100644
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
-@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,18 +9,31 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -94911,13 +103781,17 @@ index 3db91db313c7..795267fa1e69 100644
FINAL_LIBRARY = "xul"
-@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -49,114 +62,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -94936,6 +103810,10 @@ index 3db91db313c7..795267fa1e69 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -94943,6 +103821,10 @@ index 3db91db313c7..795267fa1e69 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -94958,6 +103840,10 @@ index 3db91db313c7..795267fa1e69 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -94970,6 +103856,10 @@ index 3db91db313c7..795267fa1e69 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -95007,7 +103897,7 @@ index 3db91db313c7..795267fa1e69 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95065,10 +103955,10 @@ index 3db91db313c7..795267fa1e69 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -95079,10 +103969,10 @@ index 3db91db313c7..795267fa1e69 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -95635,10 +104525,18 @@ index b55576d4555f..20374a951217 100644
-
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 2b3c126e49ab..3d606013c213 100644
+index f4fc51e4f317..9bd23499ca21 100644
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -95661,13 +104559,17 @@ index 2b3c126e49ab..3d606013c213 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -95686,6 +104588,10 @@ index 2b3c126e49ab..3d606013c213 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -95693,6 +104599,10 @@ index 2b3c126e49ab..3d606013c213 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -95708,6 +104618,10 @@ index 2b3c126e49ab..3d606013c213 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -95720,6 +104634,10 @@ index 2b3c126e49ab..3d606013c213 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -95750,7 +104668,7 @@ index 2b3c126e49ab..3d606013c213 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -95838,10 +104756,10 @@ index 2b3c126e49ab..3d606013c213 100644
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 4c5be7cc813d..000000000000
+index a5a416ffb7df..000000000000
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
+++ /dev/null
-@@ -1,92 +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/.
@@ -95853,6 +104771,10 @@ index 4c5be7cc813d..000000000000
-COMPILE_FLAGS["OS_INCLUDES"] = []
-AllowCompilerWarnings()
-
+-CXXFLAGS += [
+- "-std:c++20"
+-]
+-
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-DEFINES["NOMINMAX"] = True
@@ -95936,10 +104858,10 @@ index 4c5be7cc813d..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 04efd2321e4b..000000000000
+index 2071f159446e..000000000000
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
+++ /dev/null
-@@ -1,92 +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/.
@@ -95951,6 +104873,10 @@ index 04efd2321e4b..000000000000
-COMPILE_FLAGS["OS_INCLUDES"] = []
-AllowCompilerWarnings()
-
+-CXXFLAGS += [
+- "-std:c++20"
+-]
+-
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-DEFINES["NOMINMAX"] = True
@@ -96034,10 +104960,10 @@ index 04efd2321e4b..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 cf9ee07fb823..000000000000
+index 6d524bd3fae2..000000000000
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
+++ /dev/null
-@@ -1,92 +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/.
@@ -96049,6 +104975,10 @@ index cf9ee07fb823..000000000000
-COMPILE_FLAGS["OS_INCLUDES"] = []
-AllowCompilerWarnings()
-
+-CXXFLAGS += [
+- "-std:c++20"
+-]
+-
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-DEFINES["NOMINMAX"] = True
@@ -96132,10 +105062,10 @@ index cf9ee07fb823..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 39d803a2b7c1..000000000000
+index 5ea3828f8a63..000000000000
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
+++ /dev/null
-@@ -1,92 +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/.
@@ -96147,6 +105077,10 @@ index 39d803a2b7c1..000000000000
-COMPILE_FLAGS["OS_INCLUDES"] = []
-AllowCompilerWarnings()
-
+-CXXFLAGS += [
+- "-std:c++20"
+-]
+-
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-DEFINES["NOMINMAX"] = True
@@ -96230,10 +105164,10 @@ index 39d803a2b7c1..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 47af84b5f84f..000000000000
+index e5b964b8f5be..000000000000
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
+++ /dev/null
-@@ -1,99 +0,0 @@
+@@ -1,103 +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/.
@@ -96245,6 +105179,10 @@ index 47af84b5f84f..000000000000
-COMPILE_FLAGS["OS_INCLUDES"] = []
-AllowCompilerWarnings()
-
+-CXXFLAGS += [
+- "-std:c++20"
+-]
+-
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
-DEFINES["NOMINMAX"] = True
@@ -96334,10 +105272,18 @@ index 47af84b5f84f..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 cfada7305524..14ac7a7ae3f4 100644
+index 0f8de1d2fe57..1359ec9dc824 100644
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -96360,13 +105306,17 @@ index cfada7305524..14ac7a7ae3f4 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -96385,6 +105335,10 @@ index cfada7305524..14ac7a7ae3f4 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -96392,6 +105346,10 @@ index cfada7305524..14ac7a7ae3f4 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -96407,6 +105365,10 @@ index cfada7305524..14ac7a7ae3f4 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -96419,6 +105381,10 @@ index cfada7305524..14ac7a7ae3f4 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -96449,7 +105415,7 @@ index cfada7305524..14ac7a7ae3f4 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -96869,213 +105835,19 @@ index 74abd1c954a5..000000000000
- DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
-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 f830168572e6..2f90855b915f 100644
---- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
-+++ third_party/libwebrtc/system_wrappers/denormal_disabler_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
- 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"
-
-@@ -47,87 +56,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":
-
-@@ -135,82 +64,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["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["TARGET_CPU"] == "mips64":
--
-- 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["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
--
-- DEFINES["_GNU_SOURCE"] = True
--
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
--
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
-- DEFINES["_GNU_SOURCE"] = True
-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
-
--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-+if CONFIG["TARGET_CPU"] == "x86_64":
-
-- 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 42b21364766f..efc6c5ca191e 100644
+index e0f3e28708a4..69e66a267a1a 100644
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -97098,13 +105870,17 @@ index 42b21364766f..efc6c5ca191e 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -97123,6 +105899,10 @@ index 42b21364766f..efc6c5ca191e 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -97130,6 +105910,10 @@ index 42b21364766f..efc6c5ca191e 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -97145,6 +105929,10 @@ index 42b21364766f..efc6c5ca191e 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -97157,6 +105945,10 @@ index 42b21364766f..efc6c5ca191e 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -97194,7 +105986,7 @@ index 42b21364766f..efc6c5ca191e 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97252,10 +106044,10 @@ index 42b21364766f..efc6c5ca191e 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -97266,10 +106058,10 @@ index 42b21364766f..efc6c5ca191e 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -97281,10 +106073,18 @@ index 42b21364766f..efc6c5ca191e 100644
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 36c9baa62823..b243d3d58410 100644
+index 9a3553d90c75..e10bdc85c78e 100644
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -97307,13 +106107,17 @@ index 36c9baa62823..b243d3d58410 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -97332,6 +106136,10 @@ index 36c9baa62823..b243d3d58410 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -97339,6 +106147,10 @@ index 36c9baa62823..b243d3d58410 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -97354,6 +106166,10 @@ index 36c9baa62823..b243d3d58410 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -97366,6 +106182,10 @@ index 36c9baa62823..b243d3d58410 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -97396,7 +106216,7 @@ index 36c9baa62823..b243d3d58410 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97483,10 +106303,18 @@ index 36c9baa62823..b243d3d58410 100644
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 9587725536ca..538b68bd36cb 100644
+index b13b957fc160..bfc0298b91e4 100644
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -97509,13 +106337,17 @@ index 9587725536ca..538b68bd36cb 100644
FINAL_LIBRARY = "xul"
-@@ -51,108 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -97528,18 +106360,16 @@ index 9587725536ca..538b68bd36cb 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- LOCAL_INCLUDES += [
-- "/config/external/nspr/",
-- "/nsprpub/lib/ds/",
-- "/nsprpub/pr/include/"
-- ]
--
- OS_LIBS += [
- "log"
- ]
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -97547,6 +106377,10 @@ index 9587725536ca..538b68bd36cb 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -97560,16 +106394,12 @@ index 9587725536ca..538b68bd36cb 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
+-if CONFIG["OS_TARGET"] == "OpenBSD":
-
-- UNIFIED_SOURCES += [
-- "/third_party/libwebrtc/system_wrappers/source/cpu_features_linux.cc"
+- CXXFLAGS += [
+- "-std=gnu++20"
- ]
-
--if CONFIG["OS_TARGET"] == "OpenBSD":
--
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -97582,6 +106412,10 @@ index 9587725536ca..538b68bd36cb 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -97619,7 +106453,7 @@ index 9587725536ca..538b68bd36cb 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -160,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97677,10 +106511,10 @@ index 9587725536ca..538b68bd36cb 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -97691,10 +106525,10 @@ index 9587725536ca..538b68bd36cb 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -97706,7 +106540,7 @@ index 9587725536ca..538b68bd36cb 100644
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 8096fc9c96c2..052c0f84c668 100644
+index 430838022947..052c0f84c668 100644
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -97732,7 +106566,7 @@ index 8096fc9c96c2..052c0f84c668 100644
FINAL_LIBRARY = "xul"
-@@ -43,99 +52,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"
@@ -97778,10 +106612,6 @@ index 8096fc9c96c2..052c0f84c668 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -97833,7 +106663,7 @@ index 8096fc9c96c2..052c0f84c668 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -143,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -97859,7 +106689,7 @@ index 8096fc9c96c2..052c0f84c668 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -171,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -97900,6 +106730,60 @@ index 8096fc9c96c2..052c0f84c668 100644
- DEFINES["_GNU_SOURCE"] = True
-
Library("rtp_test_utils_gn")
+diff --git third_party/libwebrtc/third_party/cpu_features/ndk_compat_gn/moz.build third_party/libwebrtc/third_party/cpu_features/ndk_compat_gn/moz.build
+deleted file mode 100644
+index 75b2e8878e03..000000000000
+--- third_party/libwebrtc/third_party/cpu_features/ndk_compat_gn/moz.build
++++ /dev/null
+@@ -1,48 +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/.
+-
+-
+- ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
+- ### DO NOT edit it by hand. ###
+-
+-COMPILE_FLAGS["OS_INCLUDES"] = []
+-AllowCompilerWarnings()
+-
+-DEFINES["ANDROID"] = True
+-DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
+-DEFINES["HAVE_SYS_UIO_H"] = True
+-DEFINES["_GNU_SOURCE"] = True
+-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE"
+-DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True
+-DEFINES["__STDC_CONSTANT_MACROS"] = True
+-DEFINES["__STDC_FORMAT_MACROS"] = True
+-
+-FINAL_LIBRARY = "xul"
+-
+-
+-LOCAL_INCLUDES += [
+- "!/dist/include/libwebrtc_overrides",
+- "!/ipc/ipdl/_ipdlheaders",
+- "!/third_party/libwebrtc/gen",
+- "/ipc/chromium/src",
+- "/third_party/libwebrtc/",
+- "/tools/profiler/public"
+-]
+-
+-if not CONFIG["MOZ_DEBUG"]:
+-
+- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
+- DEFINES["NDEBUG"] = True
+- DEFINES["NVALGRIND"] = True
+-
+-if CONFIG["MOZ_DEBUG"] == "1":
+-
+- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
+- DEFINES["_DEBUG"] = True
+-
+-if CONFIG["TARGET_CPU"] == "aarch64":
+-
+- DEFINES["__ARM_NEON__"] = "1"
+-
+-Library("ndk_compat_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 2d36986a05c5..d4f34c6e8a54 100644
--- third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build
@@ -99192,6 +108076,148 @@ index bed86c31bdb2..776ccac7a804 100644
- DEFINES["_GNU_SOURCE"] = True
-
Library("yuv_gn")
+diff --git third_party/libwebrtc/third_party/opus/opus_gn/moz.build third_party/libwebrtc/third_party/opus/opus_gn/moz.build
+index 2540ef87e331..66d74b90d631 100644
+--- third_party/libwebrtc/third_party/opus/opus_gn/moz.build
++++ third_party/libwebrtc/third_party/opus/opus_gn/moz.build
+@@ -9,7 +9,14 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++DEFINES["USE_GLIB"] = "1"
++DEFINES["USE_OZONE"] = "1"
++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"
+
+@@ -32,121 +39,10 @@ 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["_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["__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["_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["_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["UNICODE"] = True
+- DEFINES["USE_AURA"] = "1"
+- 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["_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":
+
+ DEFINES["__ARM_NEON__"] = "1"
+
+-if CONFIG["TARGET_CPU"] == "loongarch64":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["TARGET_CPU"] == "mips32":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["TARGET_CPU"] == "mips64":
+-
+- DEFINES["_GNU_SOURCE"] = 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["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
+-
+- DEFINES["_GNU_SOURCE"] = True
+-
+ Library("opus_gn")
diff --git third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
index ad14c77a3fe2..fe9a03bdf63c 100644
--- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
@@ -99521,10 +108547,18 @@ index fc239a9d7eae..541de9c16824 100644
-
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 9e0421f6862f..bd7fb2f5ab67 100644
+index e25be53f6bfc..b7f097b31897 100644
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -99547,13 +108581,17 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
FINAL_LIBRARY = "xul"
-@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,115 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -99573,6 +108611,10 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -99580,6 +108622,10 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -99593,12 +108639,12 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -99611,6 +108657,10 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -99648,7 +108698,7 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -171,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -99706,10 +108756,10 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -99720,10 +108770,10 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -99735,10 +108785,18 @@ index 9e0421f6862f..bd7fb2f5ab67 100644
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 74e2cdbd67e4..0e966d100fe1 100644
+index 692389195331..5d32f108043d 100644
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -99761,13 +108819,17 @@ index 74e2cdbd67e4..0e966d100fe1 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -99786,6 +108848,10 @@ index 74e2cdbd67e4..0e966d100fe1 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -99793,6 +108859,10 @@ index 74e2cdbd67e4..0e966d100fe1 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -99806,12 +108876,12 @@ index 74e2cdbd67e4..0e966d100fe1 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -99824,6 +108894,10 @@ index 74e2cdbd67e4..0e966d100fe1 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -99861,7 +108935,7 @@ index 74e2cdbd67e4..0e966d100fe1 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -99919,10 +108993,10 @@ index 74e2cdbd67e4..0e966d100fe1 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -99933,10 +109007,10 @@ index 74e2cdbd67e4..0e966d100fe1 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -99948,10 +109022,18 @@ index 74e2cdbd67e4..0e966d100fe1 100644
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 5863ad52a6e8..bc2b39685fd5 100644
+index daf8a336c835..464fd3fc1a01 100644
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -99974,13 +109056,17 @@ index 5863ad52a6e8..bc2b39685fd5 100644
FINAL_LIBRARY = "xul"
-@@ -48,99 +57,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -48,115 +61,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -100000,6 +109086,10 @@ index 5863ad52a6e8..bc2b39685fd5 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -100007,6 +109097,10 @@ index 5863ad52a6e8..bc2b39685fd5 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -100020,12 +109114,12 @@ index 5863ad52a6e8..bc2b39685fd5 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -100038,6 +109132,10 @@ index 5863ad52a6e8..bc2b39685fd5 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -100075,7 +109173,7 @@ index 5863ad52a6e8..bc2b39685fd5 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -148,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -164,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100133,10 +109231,10 @@ index 5863ad52a6e8..bc2b39685fd5 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -100147,10 +109245,10 @@ index 5863ad52a6e8..bc2b39685fd5 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -100162,10 +109260,18 @@ index 5863ad52a6e8..bc2b39685fd5 100644
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 884638b06a1d..762cbea3858f 100644
+index 8bd7c0e48859..fa0f7b9ad8ca 100644
--- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -100188,13 +109294,17 @@ index 884638b06a1d..762cbea3858f 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -100213,6 +109323,10 @@ index 884638b06a1d..762cbea3858f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -100220,6 +109334,10 @@ index 884638b06a1d..762cbea3858f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -100235,6 +109353,10 @@ index 884638b06a1d..762cbea3858f 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -100247,6 +109369,10 @@ index 884638b06a1d..762cbea3858f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -100284,7 +109410,7 @@ index 884638b06a1d..762cbea3858f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100342,10 +109468,10 @@ index 884638b06a1d..762cbea3858f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -100356,10 +109482,10 @@ index 884638b06a1d..762cbea3858f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -100371,10 +109497,18 @@ index 884638b06a1d..762cbea3858f 100644
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 f160515f9c38..4eea6328a5d3 100644
+index 4f00b48146d5..e549d7971040 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -100397,13 +109531,17 @@ index f160515f9c38..4eea6328a5d3 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -100422,6 +109560,10 @@ index f160515f9c38..4eea6328a5d3 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -100429,6 +109571,10 @@ index f160515f9c38..4eea6328a5d3 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -100444,6 +109590,10 @@ index f160515f9c38..4eea6328a5d3 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -100456,6 +109606,10 @@ index f160515f9c38..4eea6328a5d3 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -100493,7 +109647,7 @@ index f160515f9c38..4eea6328a5d3 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100551,10 +109705,10 @@ index f160515f9c38..4eea6328a5d3 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -100565,10 +109719,10 @@ index f160515f9c38..4eea6328a5d3 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -100580,10 +109734,18 @@ index f160515f9c38..4eea6328a5d3 100644
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 0c60dc67b601..4865e3e9cdd2 100644
+index f494a2c7910c..6f7594891a1a 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -100606,13 +109768,17 @@ index 0c60dc67b601..4865e3e9cdd2 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -100632,6 +109798,10 @@ index 0c60dc67b601..4865e3e9cdd2 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -100639,6 +109809,10 @@ index 0c60dc67b601..4865e3e9cdd2 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -100652,12 +109826,12 @@ index 0c60dc67b601..4865e3e9cdd2 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -100670,6 +109844,10 @@ index 0c60dc67b601..4865e3e9cdd2 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -100707,7 +109885,7 @@ index 0c60dc67b601..4865e3e9cdd2 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100765,10 +109943,10 @@ index 0c60dc67b601..4865e3e9cdd2 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -100779,10 +109957,10 @@ index 0c60dc67b601..4865e3e9cdd2 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -100794,10 +109972,18 @@ index 0c60dc67b601..4865e3e9cdd2 100644
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 7fadc8ba5b07..87f05c46174f 100644
+index 7361b60af777..106a3dbebfd2 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -100820,13 +110006,17 @@ index 7fadc8ba5b07..87f05c46174f 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -100845,6 +110035,10 @@ index 7fadc8ba5b07..87f05c46174f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -100852,6 +110046,10 @@ index 7fadc8ba5b07..87f05c46174f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -100865,12 +110063,12 @@ index 7fadc8ba5b07..87f05c46174f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -100883,6 +110081,10 @@ index 7fadc8ba5b07..87f05c46174f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -100920,7 +110122,7 @@ index 7fadc8ba5b07..87f05c46174f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -100978,10 +110180,10 @@ index 7fadc8ba5b07..87f05c46174f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -100992,10 +110194,10 @@ index 7fadc8ba5b07..87f05c46174f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101007,10 +110209,18 @@ index 7fadc8ba5b07..87f05c46174f 100644
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 8160c5025775..8af9ba8b4f5b 100644
+index f93a9ffdf515..d1a2852444c2 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -101033,13 +110243,17 @@ index 8160c5025775..8af9ba8b4f5b 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -101058,6 +110272,10 @@ index 8160c5025775..8af9ba8b4f5b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -101065,6 +110283,10 @@ index 8160c5025775..8af9ba8b4f5b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -101080,6 +110302,10 @@ index 8160c5025775..8af9ba8b4f5b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -101092,6 +110318,10 @@ index 8160c5025775..8af9ba8b4f5b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -101129,7 +110359,7 @@ index 8160c5025775..8af9ba8b4f5b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101187,10 +110417,10 @@ index 8160c5025775..8af9ba8b4f5b 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -101201,10 +110431,10 @@ index 8160c5025775..8af9ba8b4f5b 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101216,10 +110446,18 @@ index 8160c5025775..8af9ba8b4f5b 100644
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 12b9872121b0..5e692452aa8b 100644
+index 931f12cea2d6..8e0c444bac7e 100644
--- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
+++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -101242,13 +110480,17 @@ index 12b9872121b0..5e692452aa8b 100644
FINAL_LIBRARY = "xul"
-@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -101267,6 +110509,10 @@ index 12b9872121b0..5e692452aa8b 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -101274,6 +110520,10 @@ index 12b9872121b0..5e692452aa8b 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -101289,6 +110539,10 @@ index 12b9872121b0..5e692452aa8b 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -101301,6 +110555,10 @@ index 12b9872121b0..5e692452aa8b 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -101331,7 +110589,7 @@ index 12b9872121b0..5e692452aa8b 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101418,10 +110676,18 @@ index 12b9872121b0..5e692452aa8b 100644
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 a10ed68bfc77..b9038bcd8af6 100644
+index 873221a08536..f94b8fad5f45 100644
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -101444,13 +110710,17 @@ index a10ed68bfc77..b9038bcd8af6 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -101469,6 +110739,10 @@ index a10ed68bfc77..b9038bcd8af6 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -101476,6 +110750,10 @@ index a10ed68bfc77..b9038bcd8af6 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -101489,12 +110767,12 @@ index a10ed68bfc77..b9038bcd8af6 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -101507,6 +110785,10 @@ index a10ed68bfc77..b9038bcd8af6 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -101544,7 +110826,7 @@ index a10ed68bfc77..b9038bcd8af6 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101602,10 +110884,10 @@ index a10ed68bfc77..b9038bcd8af6 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -101616,10 +110898,10 @@ index a10ed68bfc77..b9038bcd8af6 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101631,10 +110913,18 @@ index a10ed68bfc77..b9038bcd8af6 100644
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 9d4e277b38dd..b7be4412c741 100644
+index 67b74bf1a06b..f6b8c7d6dc0f 100644
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -101657,13 +110947,17 @@ index 9d4e277b38dd..b7be4412c741 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -101682,6 +110976,10 @@ index 9d4e277b38dd..b7be4412c741 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -101689,6 +110987,10 @@ index 9d4e277b38dd..b7be4412c741 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -101702,12 +111004,12 @@ index 9d4e277b38dd..b7be4412c741 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -101720,6 +111022,10 @@ index 9d4e277b38dd..b7be4412c741 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -101757,7 +111063,7 @@ index 9d4e277b38dd..b7be4412c741 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101815,10 +111121,10 @@ index 9d4e277b38dd..b7be4412c741 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -101829,10 +111135,10 @@ index 9d4e277b38dd..b7be4412c741 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -101844,7 +111150,7 @@ index 9d4e277b38dd..b7be4412c741 100644
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 24e0f71b39a0..3c4a565ff44a 100644
+index 5b29ccbe521c..3c4a565ff44a 100644
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -101870,7 +111176,7 @@ index 24e0f71b39a0..3c4a565ff44a 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -101915,10 +111221,6 @@ index 24e0f71b39a0..3c4a565ff44a 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -101970,7 +111272,7 @@ index 24e0f71b39a0..3c4a565ff44a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -101996,7 +111298,7 @@ index 24e0f71b39a0..3c4a565ff44a 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -102038,10 +111340,18 @@ index 24e0f71b39a0..3c4a565ff44a 100644
-
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 79c2df2abd6f..8f48257e34c8 100644
+index bbc66332f8db..565934d40785 100644
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -102064,13 +111374,17 @@ index 79c2df2abd6f..8f48257e34c8 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -102089,6 +111403,10 @@ index 79c2df2abd6f..8f48257e34c8 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -102096,6 +111414,10 @@ index 79c2df2abd6f..8f48257e34c8 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -102109,12 +111431,12 @@ index 79c2df2abd6f..8f48257e34c8 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -102127,6 +111449,10 @@ index 79c2df2abd6f..8f48257e34c8 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -102164,7 +111490,7 @@ index 79c2df2abd6f..8f48257e34c8 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102222,10 +111548,10 @@ index 79c2df2abd6f..8f48257e34c8 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -102236,10 +111562,10 @@ index 79c2df2abd6f..8f48257e34c8 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -102251,10 +111577,18 @@ index 79c2df2abd6f..8f48257e34c8 100644
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 974b59b917c6..d9f2c28b1fc0 100644
+index 1187f9bf5a5c..e809550dadec 100644
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -102277,13 +111611,17 @@ index 974b59b917c6..d9f2c28b1fc0 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -102303,6 +111641,10 @@ index 974b59b917c6..d9f2c28b1fc0 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -102310,6 +111652,10 @@ index 974b59b917c6..d9f2c28b1fc0 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -102323,12 +111669,12 @@ index 974b59b917c6..d9f2c28b1fc0 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -102341,6 +111687,10 @@ index 974b59b917c6..d9f2c28b1fc0 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -102378,7 +111728,7 @@ index 974b59b917c6..d9f2c28b1fc0 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102436,10 +111786,10 @@ index 974b59b917c6..d9f2c28b1fc0 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -102450,10 +111800,10 @@ index 974b59b917c6..d9f2c28b1fc0 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -102465,10 +111815,18 @@ index 974b59b917c6..d9f2c28b1fc0 100644
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 08669d63243f..2ee61d4c08a9 100644
+index 7e4d377fa7c8..54f367d540c6 100644
--- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
+++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -102491,13 +111849,17 @@ index 08669d63243f..2ee61d4c08a9 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -102517,6 +111879,10 @@ index 08669d63243f..2ee61d4c08a9 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -102524,6 +111890,10 @@ index 08669d63243f..2ee61d4c08a9 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -102537,12 +111907,12 @@ index 08669d63243f..2ee61d4c08a9 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -102555,6 +111925,10 @@ index 08669d63243f..2ee61d4c08a9 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -102592,7 +111966,7 @@ index 08669d63243f..2ee61d4c08a9 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102650,10 +112024,10 @@ index 08669d63243f..2ee61d4c08a9 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -102664,10 +112038,10 @@ index 08669d63243f..2ee61d4c08a9 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -102679,10 +112053,18 @@ index 08669d63243f..2ee61d4c08a9 100644
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 c5d5c2d71fd5..5f274171a19a 100644
+index f712b4b4eb00..6f286e6b1f75 100644
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -102705,13 +112087,17 @@ index c5d5c2d71fd5..5f274171a19a 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -102730,6 +112116,10 @@ index c5d5c2d71fd5..5f274171a19a 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -102737,6 +112127,10 @@ index c5d5c2d71fd5..5f274171a19a 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -102752,6 +112146,10 @@ index c5d5c2d71fd5..5f274171a19a 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -102764,6 +112162,10 @@ index c5d5c2d71fd5..5f274171a19a 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -102801,7 +112203,7 @@ index c5d5c2d71fd5..5f274171a19a 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -102859,10 +112261,10 @@ index c5d5c2d71fd5..5f274171a19a 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -102873,10 +112275,10 @@ index c5d5c2d71fd5..5f274171a19a 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -102888,10 +112290,18 @@ index c5d5c2d71fd5..5f274171a19a 100644
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 1d20930416c7..02b24524999c 100644
+index ed95392c91ba..6d5d3ac3d2a1 100644
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -102914,13 +112324,17 @@ index 1d20930416c7..02b24524999c 100644
FINAL_LIBRARY = "xul"
-@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -102939,6 +112353,10 @@ index 1d20930416c7..02b24524999c 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -102946,6 +112364,10 @@ index 1d20930416c7..02b24524999c 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -102961,6 +112383,10 @@ index 1d20930416c7..02b24524999c 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -102973,6 +112399,10 @@ index 1d20930416c7..02b24524999c 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -103010,7 +112440,7 @@ index 1d20930416c7..02b24524999c 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103068,10 +112498,10 @@ index 1d20930416c7..02b24524999c 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -103082,10 +112512,10 @@ index 1d20930416c7..02b24524999c 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -103097,10 +112527,18 @@ index 1d20930416c7..02b24524999c 100644
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 901da7d1bb97..f7972f671015 100644
+index 999e50dbb94f..50004b821930 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -103123,13 +112561,17 @@ index 901da7d1bb97..f7972f671015 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -103148,6 +112590,10 @@ index 901da7d1bb97..f7972f671015 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -103155,6 +112601,10 @@ index 901da7d1bb97..f7972f671015 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -103168,12 +112618,12 @@ index 901da7d1bb97..f7972f671015 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -103186,6 +112636,10 @@ index 901da7d1bb97..f7972f671015 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -103223,7 +112677,7 @@ index 901da7d1bb97..f7972f671015 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103281,10 +112735,10 @@ index 901da7d1bb97..f7972f671015 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -103295,10 +112749,10 @@ index 901da7d1bb97..f7972f671015 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -103310,10 +112764,18 @@ index 901da7d1bb97..f7972f671015 100644
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 30b3de21de19..cf6461e2fb06 100644
+index 619ba5f38e47..602457913d80 100644
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -103336,13 +112798,17 @@ index 30b3de21de19..cf6461e2fb06 100644
FINAL_LIBRARY = "xul"
-@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -103357,6 +112823,10 @@ index 30b3de21de19..cf6461e2fb06 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -103364,6 +112834,10 @@ index 30b3de21de19..cf6461e2fb06 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -103379,6 +112853,10 @@ index 30b3de21de19..cf6461e2fb06 100644
-
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -103391,6 +112869,10 @@ index 30b3de21de19..cf6461e2fb06 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -103421,7 +112903,7 @@ index 30b3de21de19..cf6461e2fb06 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103479,10 +112961,10 @@ index 30b3de21de19..cf6461e2fb06 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -103493,10 +112975,10 @@ index 30b3de21de19..cf6461e2fb06 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -103508,10 +112990,18 @@ index 30b3de21de19..cf6461e2fb06 100644
Library("unique_timestamp_counter_gn")
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
-index ec2bc7bdf704..43312f3e4850 100644
+index 8cb31fe70cc3..65d818978e10 100644
--- third_party/libwebrtc/video/video_gn/moz.build
+++ third_party/libwebrtc/video/video_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -103534,13 +113024,17 @@ index ec2bc7bdf704..43312f3e4850 100644
FINAL_LIBRARY = "xul"
-@@ -66,99 +75,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -66,115 +79,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -103560,6 +113054,10 @@ index ec2bc7bdf704..43312f3e4850 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -103567,6 +113065,10 @@ index ec2bc7bdf704..43312f3e4850 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -103580,12 +113082,12 @@ index ec2bc7bdf704..43312f3e4850 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -103598,6 +113100,10 @@ index ec2bc7bdf704..43312f3e4850 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -103635,7 +113141,7 @@ index ec2bc7bdf704..43312f3e4850 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -166,82 +83,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -182,82 +87,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103693,10 +113199,10 @@ index ec2bc7bdf704..43312f3e4850 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -103707,10 +113213,10 @@ index ec2bc7bdf704..43312f3e4850 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -103722,10 +113228,18 @@ index ec2bc7bdf704..43312f3e4850 100644
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 ca7fe91a98bd..3ede4e3c5441 100644
+index 67fa56e37e1b..3156db6b7c60 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -103748,13 +113262,17 @@ index ca7fe91a98bd..3ede4e3c5441 100644
FINAL_LIBRARY = "xul"
-@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -103773,6 +113291,10 @@ index ca7fe91a98bd..3ede4e3c5441 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -103780,6 +113302,10 @@ index ca7fe91a98bd..3ede4e3c5441 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -103793,12 +113319,12 @@ index ca7fe91a98bd..3ede4e3c5441 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -103811,6 +113337,10 @@ index ca7fe91a98bd..3ede4e3c5441 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -103848,7 +113378,7 @@ index ca7fe91a98bd..3ede4e3c5441 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -103906,10 +113436,10 @@ index ca7fe91a98bd..3ede4e3c5441 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -103920,10 +113450,10 @@ index ca7fe91a98bd..3ede4e3c5441 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -103935,10 +113465,18 @@ index ca7fe91a98bd..3ede4e3c5441 100644
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 bc36ab524a06..25af38a13548 100644
+index 6a92dd973139..0b38ee0ddfb8 100644
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -103961,13 +113499,17 @@ index bc36ab524a06..25af38a13548 100644
FINAL_LIBRARY = "xul"
-@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -47,115 +60,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -103987,6 +113529,10 @@ index bc36ab524a06..25af38a13548 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -103994,6 +113540,10 @@ index bc36ab524a06..25af38a13548 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -104007,12 +113557,12 @@ index bc36ab524a06..25af38a13548 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -104025,6 +113575,10 @@ index bc36ab524a06..25af38a13548 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -104062,7 +113616,7 @@ index bc36ab524a06..25af38a13548 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -147,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -163,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104120,10 +113674,10 @@ index bc36ab524a06..25af38a13548 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -104134,10 +113688,10 @@ index bc36ab524a06..25af38a13548 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -104149,10 +113703,18 @@ index bc36ab524a06..25af38a13548 100644
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 7869e76699a7..069bc56cba0f 100644
+index 7594bcdc4d21..ce74566d38fa 100644
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
-@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
+@@ -9,17 +9,30 @@
+ COMPILE_FLAGS["OS_INCLUDES"] = []
+ AllowCompilerWarnings()
+
++CXXFLAGS += [
++ "-std=gnu++20"
++]
++
+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
DEFINES["RTC_ENABLE_VP9"] = True
@@ -104175,13 +113737,17 @@ index 7869e76699a7..069bc56cba0f 100644
FINAL_LIBRARY = "xul"
-@@ -55,99 +64,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -55,115 +68,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
-
-if CONFIG["OS_TARGET"] == "Android":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["ANDROID"] = True
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1"
- DEFINES["HAVE_SYS_UIO_H"] = True
@@ -104201,6 +113767,10 @@ index 7869e76699a7..069bc56cba0f 100644
-
-if CONFIG["OS_TARGET"] == "Darwin":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["WEBRTC_MAC"] = True
- DEFINES["WEBRTC_POSIX"] = True
- DEFINES["__STDC_CONSTANT_MACROS"] = True
@@ -104208,6 +113778,10 @@ index 7869e76699a7..069bc56cba0f 100644
-
-if CONFIG["OS_TARGET"] == "Linux":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_AURA"] = "1"
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
@@ -104221,12 +113795,12 @@ index 7869e76699a7..069bc56cba0f 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
+- CXXFLAGS += [
+- "-std=gnu++20"
+- ]
+-
- DEFINES["USE_GLIB"] = "1"
- DEFINES["USE_OZONE"] = "1"
- DEFINES["WEBRTC_BSD"] = True
@@ -104239,6 +113813,10 @@ index 7869e76699a7..069bc56cba0f 100644
-
-if CONFIG["OS_TARGET"] == "WINNT":
-
+- CXXFLAGS += [
+- "-std:c++20"
+- ]
+-
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
- DEFINES["NOMINMAX"] = True
- DEFINES["NTDDI_VERSION"] = "0x0A000000"
@@ -104276,7 +113854,7 @@ index 7869e76699a7..069bc56cba0f 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -155,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -171,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104334,10 +113912,10 @@ index 7869e76699a7..069bc56cba0f 100644
-
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
+- CXXFLAGS += [
+- "-msse2"
+- ]
+-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["_GNU_SOURCE"] = True
@@ -104348,10 +113926,10 @@ index 7869e76699a7..069bc56cba0f 100644
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
-- CXXFLAGS += [
-- "-msse2"
-- ]
--
+ CXXFLAGS += [
+ "-msse2"
+ ]
+
- DEFINES["_GNU_SOURCE"] = True
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -104363,7 +113941,7 @@ index 7869e76699a7..069bc56cba0f 100644
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 2d846cdb56bf..e9b9e9ac4128 100644
+index a810f4aebacf..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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -104389,7 +113967,7 @@ index 2d846cdb56bf..e9b9e9ac4128 100644
FINAL_LIBRARY = "xul"
-@@ -43,98 +52,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"
@@ -104434,10 +114012,6 @@ index 2d846cdb56bf..e9b9e9ac4128 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -104489,7 +114063,7 @@ index 2d846cdb56bf..e9b9e9ac4128 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104515,7 +114089,7 @@ index 2d846cdb56bf..e9b9e9ac4128 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -104557,7 +114131,7 @@ index 2d846cdb56bf..e9b9e9ac4128 100644
-
Library("video_stream_encoder_interface_gn")
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
-index 964093865951..85a1b6287692 100644
+index 232972077592..85a1b6287692 100644
--- third_party/libwebrtc/webrtc_gn/moz.build
+++ third_party/libwebrtc/webrtc_gn/moz.build
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
@@ -104583,7 +114157,7 @@ index 964093865951..85a1b6287692 100644
FINAL_LIBRARY = "xul"
-@@ -43,122 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
+@@ -43,118 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
if CONFIG["MOZ_DEBUG"] == "1":
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
@@ -104634,10 +114208,6 @@ index 964093865951..85a1b6287692 100644
- DEFINES["__STDC_CONSTANT_MACROS"] = True
- DEFINES["__STDC_FORMAT_MACROS"] = True
-
-- OS_LIBS += [
-- "rt"
-- ]
--
-if CONFIG["OS_TARGET"] == "OpenBSD":
-
- DEFINES["USE_GLIB"] = "1"
@@ -104707,7 +114277,7 @@ index 964093865951..85a1b6287692 100644
if CONFIG["TARGET_CPU"] == "aarch64":
-@@ -166,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
+@@ -162,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_HAS_NEON"] = True
DEFINES["__ARM_NEON__"] = "1"
@@ -104733,7 +114303,7 @@ index 964093865951..85a1b6287692 100644
if CONFIG["TARGET_CPU"] == "x86":
-@@ -194,27 +73,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
+@@ -190,27 +73,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@@ -104762,7 +114332,7 @@ index 964093865951..85a1b6287692 100644
OS_LIBS += [
"X11",
-@@ -226,20 +85,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
+@@ -222,20 +85,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
"Xrender"
]
diff --git a/mail/thunderbird/files/patch-memory_mozalloc_throw__gcc.h b/mail/thunderbird/files/patch-memory_mozalloc_throw__gcc.h
deleted file mode 100644
index 788b9cbf837a..000000000000
--- a/mail/thunderbird/files/patch-memory_mozalloc_throw__gcc.h
+++ /dev/null
@@ -1,69 +0,0 @@
---- memory/mozalloc/throw_gcc.h.orig 2022-03-07 19:34:37 UTC
-+++ memory/mozalloc/throw_gcc.h
-@@ -74,50 +74,66 @@ __throw_bad_function_call(void) {
- mozalloc_abort("fatal: STL threw bad_function_call");
- }
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_logic_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_domain_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void
- __throw_invalid_argument(const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_length_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_out_of_range(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_runtime_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_range_error(
- const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void
- __throw_overflow_error(const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
-+#if !defined(_LIBCPP_VERSION)
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void
- __throw_underflow_error(const char* msg) {
- mozalloc_abort(msg);
- }
-+#endif // _LIBCPP_VERSION
-
- MOZ_THROW_NORETURN MOZ_THROW_EXPORT MOZ_THROW_INLINE void __throw_ios_failure(
- const char* msg) {
diff --git a/mail/thunderbird/files/patch-python_sites_mach.txt b/mail/thunderbird/files/patch-python_sites_mach.txt
index dc2caf9bdfc6..706f285b0731 100644
--- a/mail/thunderbird/files/patch-python_sites_mach.txt
+++ b/mail/thunderbird/files/patch-python_sites_mach.txt
@@ -15,4 +15,4 @@ index 6e3db1c848f7..10ba12c2f13b 100644
# support down to the oldest locally-installed version (5.4.2).
-pypi-optional:psutil>=5.4.2,<=5.9.4:telemetry will be missing some data
+pypi-optional:psutil>=5.4.2,<=7.0.0:telemetry will be missing some data
- pypi-optional:zstandard>=0.11.1,<=0.23.0:zstd archives will not be possible to extract
+ pypi-optional:zstandard>=0.11.1,<=0.24.0:zstd archives will not be possible to extract
diff --git a/mail/thunderbird/files/patch-rust-1.89.0 b/mail/thunderbird/files/patch-rust-1.89.0
deleted file mode 100644
index 91651c036c7c..000000000000
--- a/mail/thunderbird/files/patch-rust-1.89.0
+++ /dev/null
@@ -1,18 +0,0 @@
-fix build with rust 1.89
-
-cf https://bugzilla.mozilla.org/show_bug.cgi?id=1982003
-
-taken from:
-https://github.com/openbsd/ports/commit/3ef8a2538893109bea8211ef13a870822264e096
-
---- third_party/rust/allocator-api2/src/stable/vec/mod.rs.orig 2025-08-13 22:43:24.000000000 +0200
-+++ third_party/rust/allocator-api2/src/stable/vec/mod.rs 2025-09-01 08:52:19.103780000 +0200
-@@ -51,6 +51,8 @@
- //!
- //! [`push`]: Vec::push
-
-+#![warn(dangerous_implicit_autorefs)]
-+
- #[cfg(not(no_global_oom_handling))]
- use core::cmp;
- use core::cmp::Ordering;
diff --git a/mail/thunderbird/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn b/mail/thunderbird/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn
index 4b1ff9f98604..7774855c7941 100644
--- a/mail/thunderbird/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn
+++ b/mail/thunderbird/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn
@@ -1,21 +1,21 @@
-commit 79334dba3e5be4a7bb17a22b2fde70933991d6f4
+commit e8a3b91abdc00edd7633aabbe5e63bfc0d0825e4
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
enable pipewire on bsd
diff --git third_party/chromium/build/config/BUILDCONFIG.gn third_party/chromium/build/config/BUILDCONFIG.gn
-index 889bdb9235..1566833175 100644
+index 4bb38fe31ff2..b10eb19f521a 100644
--- third_party/chromium/build/config/BUILDCONFIG.gn
+++ third_party/chromium/build/config/BUILDCONFIG.gn
-@@ -132,6 +132,7 @@ declare_args() {
+@@ -137,6 +137,7 @@ declare_args() {
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" || current_os == "openbsd" ||
-+ current_os != "freebsd" ||
++ current_os == "freebsd" ||
(current_cpu != "s390x" && current_cpu != "s390" &&
current_cpu != "ppc64" && current_cpu != "ppc" &&
current_cpu != "mips" && current_cpu != "mips64" &&
-@@ -184,7 +185,7 @@ if (host_toolchain == "") {
+@@ -206,7 +207,7 @@ if (host_toolchain == "") {
# TODO(dpranke): Add some sort of assert here that verifies that
# no toolchain omitted host_toolchain from its toolchain_args().
@@ -24,16 +24,16 @@ index 889bdb9235..1566833175 100644
if (target_os != "linux") {
host_toolchain = "//chromium/build/toolchain/linux:clang_$host_cpu"
} else if (is_clang) {
-@@ -222,7 +223,7 @@ if (target_os == "android") {
- assert(host_os == "linux" || host_os == "mac",
- "Android builds are only supported on Linux and Mac hosts.")
+@@ -246,7 +247,7 @@ if (target_os == "android") {
+ # Targeting android on Mac is best-effort and not guaranteed to work.
+ #assert(host_os == "linux", "Android builds are only supported on Linux.")
_default_toolchain = "//chromium/build/toolchain/android:android_clang_$target_cpu"
-} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd") {
+} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd" || target_os == "freebsd") {
# See comments in build/toolchain/cros/BUILD.gn about board compiles.
if (is_clang) {
_default_toolchain = "//chromium/build/toolchain/linux:clang_$target_cpu"
-@@ -288,7 +289,7 @@ is_chromeos = current_os == "chromeos"
+@@ -314,7 +315,7 @@ is_chromeos = current_os == "chromeos"
is_fuchsia = current_os == "fuchsia"
is_ios = current_os == "ios"
is_linux = current_os == "linux"
@@ -41,12 +41,12 @@ index 889bdb9235..1566833175 100644
+is_bsd = current_os == "openbsd" || current_os == "freebsd"
is_mac = current_os == "mac"
is_nacl = current_os == "nacl"
- is_win = current_os == "win" || current_os == "winuwp"
+ is_wasm = current_os == "emscripten"
diff --git third_party/libwebrtc/BUILD.gn third_party/libwebrtc/BUILD.gn
-index 14c47ef2be..31a86a41c0 100644
+index ac8569efaa40..5d6c5953491c 100644
--- third_party/libwebrtc/BUILD.gn
+++ third_party/libwebrtc/BUILD.gn
-@@ -110,7 +110,7 @@ if (!build_with_chromium && !build_with_mozilla) {
+@@ -111,7 +111,7 @@ if (!build_with_chromium && !build_with_mozilla) {
"tools_webrtc/perf:webrtc_dashboard_upload",
]
}
@@ -56,10 +56,10 @@ index 14c47ef2be..31a86a41c0 100644
}
}
diff --git third_party/libwebrtc/modules/desktop_capture/BUILD.gn third_party/libwebrtc/modules/desktop_capture/BUILD.gn
-index 2f99e3f75f..7dc6c36aab 100644
+index 5c843cfc2b6a..0ed9f98a964f 100644
--- third_party/libwebrtc/modules/desktop_capture/BUILD.gn
+++ third_party/libwebrtc/modules/desktop_capture/BUILD.gn
-@@ -74,7 +74,7 @@ if (rtc_include_tests) {
+@@ -76,7 +76,7 @@ if (rtc_include_tests) {
"window_finder_unittest.cc",
]
@@ -68,7 +68,7 @@ index 2f99e3f75f..7dc6c36aab 100644
configs += [ "../portal:gio" ]
}
-@@ -86,7 +86,7 @@ if (rtc_include_tests) {
+@@ -88,7 +88,7 @@ if (rtc_include_tests) {
}
}
@@ -77,7 +77,7 @@ index 2f99e3f75f..7dc6c36aab 100644
rtc_test("shared_screencast_stream_test") {
testonly = true
-@@ -145,7 +145,7 @@ if (rtc_include_tests) {
+@@ -148,7 +148,7 @@ if (rtc_include_tests) {
"test_utils_unittest.cc",
]
@@ -86,6 +86,24 @@ index 2f99e3f75f..7dc6c36aab 100644
configs += [ "../portal:gio" ]
}
+@@ -215,7 +215,7 @@ if (rtc_include_tests) {
+ "screen_drawer.h",
+ ]
+
+- if (is_linux || is_chromeos) {
++ if (is_linux || is_chromeos || is_bsd) {
+ sources += [ "screen_drawer_linux.cc" ]
+ libs = [ "X11" ]
+ }
+@@ -254,7 +254,7 @@ if (rtc_include_tests) {
+ "mock_desktop_capturer_callback.h",
+ ]
+
+- if ((is_linux || is_chromeos) && rtc_use_pipewire) {
++ if ((is_linux || is_chromeos || us_bsd) && rtc_use_pipewire) {
+ configs += [ "../portal:gio" ]
+ }
+
@@ -267,7 +267,7 @@ if (rtc_include_tests) {
}
@@ -95,17 +113,8 @@ index 2f99e3f75f..7dc6c36aab 100644
config("pipewire_config") {
configs = [ "../portal:pipewire_config" ]
}
-@@ -329,7 +329,7 @@ rtc_library("desktop_capture") {
- "window_finder.cc",
- "window_finder.h",
- ]
-- if (is_linux && !is_castos && rtc_use_pipewire) {
-+ if ((is_linux || is_bsd) && !is_castos && rtc_use_pipewire) {
- sources += [ "desktop_capture_metadata.h" ]
- }
- if (is_mac) {
diff --git third_party/libwebrtc/modules/portal/BUILD.gn third_party/libwebrtc/modules/portal/BUILD.gn
-index 6828388b31..7e1857d861 100644
+index 70b4739ad0c4..99ab95d441f3 100644
--- third_party/libwebrtc/modules/portal/BUILD.gn
+++ third_party/libwebrtc/modules/portal/BUILD.gn
@@ -10,7 +10,7 @@ import("//chromium/build/config/linux/pkg_config.gni")
@@ -118,7 +127,7 @@ index 6828388b31..7e1857d861 100644
pkg_config("gio") {
packages = [
diff --git third_party/libwebrtc/webrtc.gni third_party/libwebrtc/webrtc.gni
-index 7155b1db72..22ed06166a 100644
+index 1e87de20e545..77a8a55d8659 100644
--- third_party/libwebrtc/webrtc.gni
+++ third_party/libwebrtc/webrtc.gni
@@ -151,7 +151,7 @@ declare_args() {
diff --git a/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc b/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc
index dc51721edf06..13a23c835960 100644
--- a/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc
+++ b/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc
@@ -1,26 +1,19 @@
-commit 505b8f54ca7e3ee3230ed9c94e6553de504fda29
+commit f53507857647459d4a48935901f80f27a5ae58a9
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
avoid linux-only includes
diff --git third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc
-index 9f30378451fb..75381cd39e29 100644
+index 821fdfb487b7..e000c1c104fe 100644
--- third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc
+++ third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc
-@@ -11,12 +11,16 @@
- #include "modules/desktop_capture/linux/wayland/egl_dmabuf.h"
-
- #include <EGL/eglext.h>
+@@ -15,7 +15,9 @@
+ #include <EGL/eglplatform.h>
+ #include <GL/gl.h>
+ #include <GL/glext.h>
+#if !defined(__FreeBSD__)
#include <asm/ioctl.h>
+#endif
#include <dlfcn.h>
#include <fcntl.h>
- #include <gdk/gdk.h>
- #include <libdrm/drm_fourcc.h>
-+#if !defined(__FreeBSD__)
- #include <linux/types.h>
-+#endif
- #include <spa/param/video/format-utils.h>
- #include <unistd.h>
- #include <xf86drm.h>
+ #include <gbm.h>